AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the UpdateJob operation. While a job's JobState value is New, you can update some of the information associated with a job. Once the job changes to a different job state, usually within 60 minutes of the job being created, this action is no longer available.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Snowball.AmazonSnowballRequest
      Amazon.Snowball.Model.UpdateJobRequest

Namespace: Amazon.Snowball.Model
Assembly: AWSSDK.Snowball.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateJobRequest : AmazonSnowballRequest
         IAmazonWebServiceRequest

The UpdateJobRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateJobRequest()

Properties

NameTypeDescription
Public Property AddressId System.String

Gets and sets the property AddressId.

The ID of the updated Address object.

Public Property Description System.String

Gets and sets the property Description.

The updated description of this job's JobMetadata object.

Public Property ForwardingAddressId System.String

Gets and sets the property ForwardingAddressId.

The updated ID for the forwarding address for a job. This field is not supported in most regions.

Public Property JobId System.String

Gets and sets the property JobId.

The job ID of the job that you want to update, for example JID123e4567-e89b-12d3-a456-426655440000.

Public Property Notification Amazon.Snowball.Model.Notification

Gets and sets the property Notification.

The new or updated Notification object.

Public Property Resources Amazon.Snowball.Model.JobResource

Gets and sets the property Resources.

The updated S3Resource object (for a single Amazon S3 bucket or key range), or the updated JobResource object (for multiple buckets or key ranges).

Public Property RoleARN System.String

Gets and sets the property RoleARN.

The new role Amazon Resource Name (ARN) that you want to associate with this job. To create a role ARN, use the CreateRoleAWS Identity and Access Management (IAM) API action.

Public Property ShippingOption Amazon.Snowball.ShippingOption

Gets and sets the property ShippingOption.

The updated shipping option value of this job's ShippingDetails object.

Public Property SnowballCapacityPreference Amazon.Snowball.SnowballCapacity

Gets and sets the property SnowballCapacityPreference.

The updated SnowballCapacityPreference of this job's JobMetadata object. The 50 TB Snowballs are only available in the US regions.

Examples

This action allows you to update certain parameters for a job. Once the job changes to a different job state, usually within 60 minutes of the job being created, this action is no longer available.

To update a job


var response = client.UpdateJob(new UpdateJobRequest 
{
    AddressId = "ADID1234ab12-3eec-4eb3-9be6-9374c10eb51b",
    Description = "Upgraded to Edge, shipped to Finance Dept, and requested faster shipping speed - TS.",
    JobId = "JID123e4567-e89b-12d3-a456-426655440000",
    ShippingOption = "NEXT_DAY",
    SnowballCapacityPreference = "T100"
});


            

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms