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.UpdateCluster

Description

While a cluster's ClusterState value is in the AwaitingQuorum state, you can update some of the information associated with a cluster. Once the cluster changes to a different job state, usually 60 minutes after the cluster being created, this action is no longer available.

Synopsis

Creating a Request

data UpdateCluster Source #

See: newUpdateCluster smart constructor.

Constructors

UpdateCluster' 

Fields

Instances

Instances details
Eq UpdateCluster Source # 
Instance details

Defined in Amazonka.Snowball.UpdateCluster

Read UpdateCluster Source # 
Instance details

Defined in Amazonka.Snowball.UpdateCluster

Show UpdateCluster Source # 
Instance details

Defined in Amazonka.Snowball.UpdateCluster

Generic UpdateCluster Source # 
Instance details

Defined in Amazonka.Snowball.UpdateCluster

Associated Types

type Rep UpdateCluster :: Type -> Type #

NFData UpdateCluster Source # 
Instance details

Defined in Amazonka.Snowball.UpdateCluster

Methods

rnf :: UpdateCluster -> () #

Hashable UpdateCluster Source # 
Instance details

Defined in Amazonka.Snowball.UpdateCluster

ToJSON UpdateCluster Source # 
Instance details

Defined in Amazonka.Snowball.UpdateCluster

AWSRequest UpdateCluster Source # 
Instance details

Defined in Amazonka.Snowball.UpdateCluster

Associated Types

type AWSResponse UpdateCluster #

ToHeaders UpdateCluster Source # 
Instance details

Defined in Amazonka.Snowball.UpdateCluster

ToPath UpdateCluster Source # 
Instance details

Defined in Amazonka.Snowball.UpdateCluster

ToQuery UpdateCluster Source # 
Instance details

Defined in Amazonka.Snowball.UpdateCluster

type Rep UpdateCluster Source # 
Instance details

Defined in Amazonka.Snowball.UpdateCluster

type AWSResponse UpdateCluster Source # 
Instance details

Defined in Amazonka.Snowball.UpdateCluster

newUpdateCluster Source #

Create a value of UpdateCluster 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:UpdateCluster', updateCluster_notification - The new or updated Notification object.

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

$sel:addressId:UpdateCluster', updateCluster_addressId - The ID of the updated Address object.

$sel:shippingOption:UpdateCluster', updateCluster_shippingOption - The updated shipping option value of this cluster's ShippingDetails object.

$sel:resources:UpdateCluster', updateCluster_resources - The updated arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects.

$sel:onDeviceServiceConfiguration:UpdateCluster', updateCluster_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:UpdateCluster', updateCluster_description - The updated description of this cluster.

$sel:roleARN:UpdateCluster', updateCluster_roleARN - The new role Amazon Resource Name (ARN) that you want to associate with this cluster. To create a role ARN, use the CreateRole API action in AWS Identity and Access Management (IAM).

$sel:clusterId:UpdateCluster', updateCluster_clusterId - The cluster ID of the cluster that you want to update, for example CID123e4567-e89b-12d3-a456-426655440000.

Request Lenses

updateCluster_notification :: Lens' UpdateCluster (Maybe Notification) Source #

The new or updated Notification object.

updateCluster_forwardingAddressId :: Lens' UpdateCluster (Maybe Text) Source #

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

updateCluster_addressId :: Lens' UpdateCluster (Maybe Text) Source #

The ID of the updated Address object.

updateCluster_shippingOption :: Lens' UpdateCluster (Maybe ShippingOption) Source #

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

updateCluster_resources :: Lens' UpdateCluster (Maybe JobResource) Source #

The updated arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects.

updateCluster_onDeviceServiceConfiguration :: Lens' UpdateCluster (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).

updateCluster_description :: Lens' UpdateCluster (Maybe Text) Source #

The updated description of this cluster.

updateCluster_roleARN :: Lens' UpdateCluster (Maybe Text) Source #

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

updateCluster_clusterId :: Lens' UpdateCluster Text Source #

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

Destructuring the Response

data UpdateClusterResponse Source #

See: newUpdateClusterResponse smart constructor.

Constructors

UpdateClusterResponse' 

Fields

Instances

Instances details
Eq UpdateClusterResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateCluster

Read UpdateClusterResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateCluster

Show UpdateClusterResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateCluster

Generic UpdateClusterResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateCluster

Associated Types

type Rep UpdateClusterResponse :: Type -> Type #

NFData UpdateClusterResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateCluster

Methods

rnf :: UpdateClusterResponse -> () #

type Rep UpdateClusterResponse Source # 
Instance details

Defined in Amazonka.Snowball.UpdateCluster

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

newUpdateClusterResponse Source #

Create a value of UpdateClusterResponse 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:UpdateClusterResponse', updateClusterResponse_httpStatus - The response's http status code.

Response Lenses