libZSservicesZSamazonka-snowballZSamazonka-snowball
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Snowball.UpdateJob

Description

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.

Synopsis

Creating a Request

data UpdateJob Source #

See: newUpdateJob smart constructor.

Constructors

UpdateJob' 

Fields

  • notification :: Maybe Notification

    The new or updated Notification object.

  • forwardingAddressId :: Maybe Text

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

  • addressId :: Maybe Text

    The ID of the updated Address object.

  • shippingOption :: Maybe ShippingOption

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

  • resources :: Maybe JobResource

    The updated JobResource object, or the updated JobResource object.

  • onDeviceServiceConfiguration :: Maybe OnDeviceServiceConfiguration

    Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. AWS Snow Family supports Amazon S3 and NFS (Network File System).

  • description :: Maybe Text

    The updated description of this job's JobMetadata object.

  • roleARN :: Maybe Text

    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.

  • snowballCapacityPreference :: Maybe SnowballCapacity

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

    For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide.

  • jobId :: Text

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

Instances

Instances details
Eq UpdateJob Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJob

Read UpdateJob Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJob

Show UpdateJob Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJob

Generic UpdateJob Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJob

Associated Types

type Rep UpdateJob :: Type -> Type #

NFData UpdateJob Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJob

Methods

rnf :: UpdateJob -> () #

Hashable UpdateJob Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJob

ToJSON UpdateJob Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJob

AWSRequest UpdateJob Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJob

Associated Types

type AWSResponse UpdateJob #

ToHeaders UpdateJob Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJob

Methods

toHeaders :: UpdateJob -> [Header] #

ToPath UpdateJob Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJob

ToQuery UpdateJob Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJob

type Rep UpdateJob Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJob

type AWSResponse UpdateJob Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJob

newUpdateJob Source #

Create a value of UpdateJob with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:notification:UpdateJob', updateJob_notification - The new or updated Notification object.

$sel:forwardingAddressId:UpdateJob', updateJob_forwardingAddressId - The updated ID for the forwarding address for a job. This field is not supported in most regions.

$sel:addressId:UpdateJob', updateJob_addressId - The ID of the updated Address object.

$sel:shippingOption:UpdateJob', updateJob_shippingOption - The updated shipping option value of this job's ShippingDetails object.

$sel:resources:UpdateJob', updateJob_resources - The updated JobResource object, or the updated JobResource object.

$sel:onDeviceServiceConfiguration:UpdateJob', updateJob_onDeviceServiceConfiguration - Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. AWS Snow Family supports Amazon S3 and NFS (Network File System).

$sel:description:UpdateJob', updateJob_description - The updated description of this job's JobMetadata object.

$sel:roleARN:UpdateJob', updateJob_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.

$sel:snowballCapacityPreference:UpdateJob', updateJob_snowballCapacityPreference - The updated SnowballCapacityPreference of this job's JobMetadata object. The 50 TB Snowballs are only available in the US regions.

For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide.

$sel:jobId:UpdateJob', updateJob_jobId - The job ID of the job that you want to update, for example JID123e4567-e89b-12d3-a456-426655440000.

Request Lenses

updateJob_notification :: Lens' UpdateJob (Maybe Notification) Source #

The new or updated Notification object.

updateJob_forwardingAddressId :: Lens' UpdateJob (Maybe Text) Source #

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

updateJob_addressId :: Lens' UpdateJob (Maybe Text) Source #

The ID of the updated Address object.

updateJob_shippingOption :: Lens' UpdateJob (Maybe ShippingOption) Source #

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

updateJob_resources :: Lens' UpdateJob (Maybe JobResource) Source #

The updated JobResource object, or the updated JobResource object.

updateJob_onDeviceServiceConfiguration :: Lens' UpdateJob (Maybe OnDeviceServiceConfiguration) Source #

Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. AWS Snow Family supports Amazon S3 and NFS (Network File System).

updateJob_description :: Lens' UpdateJob (Maybe Text) Source #

The updated description of this job's JobMetadata object.

updateJob_roleARN :: Lens' UpdateJob (Maybe Text) Source #

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.

updateJob_snowballCapacityPreference :: Lens' UpdateJob (Maybe SnowballCapacity) Source #

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

For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide.

updateJob_jobId :: Lens' UpdateJob Text Source #

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

Destructuring the Response

data UpdateJobResponse Source #

See: newUpdateJobResponse smart constructor.

Constructors

UpdateJobResponse' 

Fields

Instances

Instances details
Eq UpdateJobResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJob

Read UpdateJobResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJob

Show UpdateJobResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJob

Generic UpdateJobResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJob

Associated Types

type Rep UpdateJobResponse :: Type -> Type #

NFData UpdateJobResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJob

Methods

rnf :: UpdateJobResponse -> () #

type Rep UpdateJobResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateJob

type Rep UpdateJobResponse = D1 ('MetaData "UpdateJobResponse" "Amazonka.Snowball.UpdateJob" "libZSservicesZSamazonka-snowballZSamazonka-snowball" 'False) (C1 ('MetaCons "UpdateJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateJobResponse Source #

Create a value of UpdateJobResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UpdateJobResponse', updateJobResponse_httpStatus - The response's http status code.

Response Lenses

updateJobResponse_httpStatus :: Lens' UpdateJobResponse Int Source #

The response's http status code.