Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data UpdateCluster = UpdateCluster' {}
- newUpdateCluster :: Text -> UpdateCluster
- updateCluster_notification :: Lens' UpdateCluster (Maybe Notification)
- updateCluster_forwardingAddressId :: Lens' UpdateCluster (Maybe Text)
- updateCluster_addressId :: Lens' UpdateCluster (Maybe Text)
- updateCluster_shippingOption :: Lens' UpdateCluster (Maybe ShippingOption)
- updateCluster_resources :: Lens' UpdateCluster (Maybe JobResource)
- updateCluster_onDeviceServiceConfiguration :: Lens' UpdateCluster (Maybe OnDeviceServiceConfiguration)
- updateCluster_description :: Lens' UpdateCluster (Maybe Text)
- updateCluster_roleARN :: Lens' UpdateCluster (Maybe Text)
- updateCluster_clusterId :: Lens' UpdateCluster Text
- data UpdateClusterResponse = UpdateClusterResponse' {
- httpStatus :: Int
- newUpdateClusterResponse :: Int -> UpdateClusterResponse
- updateClusterResponse_httpStatus :: Lens' UpdateClusterResponse Int
Creating a Request
data UpdateCluster Source #
See: newUpdateCluster
smart constructor.
UpdateCluster' | |
|
Instances
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.
UpdateClusterResponse' | |
|
Instances
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
updateClusterResponse_httpStatus :: Lens' UpdateClusterResponse Int Source #
The response's http status code.