amazonka-snowball-1.6.0: Amazon Import/Export Snowball SDK.

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

Network.AWS.Snowball.UpdateCluster

Contents

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

updateCluster Source #

Creates a value of UpdateCluster with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateCluster Source #

See: updateCluster smart constructor.

Instances

Eq UpdateCluster Source # 
Data UpdateCluster Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateCluster -> c UpdateCluster #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateCluster #

toConstr :: UpdateCluster -> Constr #

dataTypeOf :: UpdateCluster -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateCluster) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateCluster) #

gmapT :: (forall b. Data b => b -> b) -> UpdateCluster -> UpdateCluster #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateCluster -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateCluster -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateCluster -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateCluster -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateCluster -> m UpdateCluster #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateCluster -> m UpdateCluster #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateCluster -> m UpdateCluster #

Read UpdateCluster Source # 
Show UpdateCluster Source # 
Generic UpdateCluster Source # 

Associated Types

type Rep UpdateCluster :: * -> * #

Hashable UpdateCluster Source # 
ToJSON UpdateCluster Source # 
NFData UpdateCluster Source # 

Methods

rnf :: UpdateCluster -> () #

AWSRequest UpdateCluster Source # 
ToHeaders UpdateCluster Source # 
ToPath UpdateCluster Source # 
ToQuery UpdateCluster Source # 
type Rep UpdateCluster Source # 
type Rs UpdateCluster Source # 

Request Lenses

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

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

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

The ID of the updated Address object.

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

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

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

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

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

The updated description of this cluster.

ucRoleARN :: 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).

ucClusterId :: 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

updateClusterResponse Source #

Creates a value of UpdateClusterResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateClusterResponse Source #

See: updateClusterResponse smart constructor.

Instances

Eq UpdateClusterResponse Source # 
Data UpdateClusterResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateClusterResponse -> c UpdateClusterResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateClusterResponse #

toConstr :: UpdateClusterResponse -> Constr #

dataTypeOf :: UpdateClusterResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateClusterResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateClusterResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateClusterResponse -> UpdateClusterResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateClusterResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateClusterResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateClusterResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateClusterResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateClusterResponse -> m UpdateClusterResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateClusterResponse -> m UpdateClusterResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateClusterResponse -> m UpdateClusterResponse #

Read UpdateClusterResponse Source # 
Show UpdateClusterResponse Source # 
Generic UpdateClusterResponse Source # 
NFData UpdateClusterResponse Source # 

Methods

rnf :: UpdateClusterResponse -> () #

type Rep UpdateClusterResponse Source # 
type Rep UpdateClusterResponse = D1 * (MetaData "UpdateClusterResponse" "Network.AWS.Snowball.UpdateCluster" "amazonka-snowball-1.6.0-EVw2rNABl7usxqGiRGMj3" True) (C1 * (MetaCons "UpdateClusterResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_ucrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses

ucrsResponseStatus :: Lens' UpdateClusterResponse Int Source #

  • - | The response status code.