amazonka-cloudformation-1.5.0: Amazon CloudFormation SDK.

Copyright(c) 2013-2017 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.CloudFormation.DeleteStackInstances

Contents

Description

Deletes stack instances for the specified accounts, in the specified regions.

Synopsis

Creating a Request

deleteStackInstances Source #

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

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

  • dsiOperationPreferences - Preferences for how AWS CloudFormation performs this stack set operation.
  • dsiOperationId - The unique identifier for this stack set operation. If you don't specify an operation ID, the SDK generates one automatically. The operation ID also functions as an idempotency token, to ensure that AWS CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You can retry stack set operation requests to ensure that AWS CloudFormation successfully received them. Repeating this stack set operation with a new operation ID retries all stack instances whose status is OUTDATED .
  • dsiStackSetName - The name or unique ID of the stack set that you want to delete stack instances for.
  • dsiAccounts - The names of the AWS accounts that you want to delete stack instances for.
  • dsiRegions - The regions where you want to delete stack set instances.
  • dsiRetainStacks - Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set. For more information, see Stack set operation options .

data DeleteStackInstances Source #

See: deleteStackInstances smart constructor.

Instances

Eq DeleteStackInstances Source # 
Data DeleteStackInstances Source # 

Methods

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

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

toConstr :: DeleteStackInstances -> Constr #

dataTypeOf :: DeleteStackInstances -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteStackInstances Source # 
Show DeleteStackInstances Source # 
Generic DeleteStackInstances Source # 
Hashable DeleteStackInstances Source # 
NFData DeleteStackInstances Source # 

Methods

rnf :: DeleteStackInstances -> () #

AWSRequest DeleteStackInstances Source # 
ToQuery DeleteStackInstances Source # 
ToPath DeleteStackInstances Source # 
ToHeaders DeleteStackInstances Source # 
type Rep DeleteStackInstances Source # 
type Rep DeleteStackInstances = D1 (MetaData "DeleteStackInstances" "Network.AWS.CloudFormation.DeleteStackInstances" "amazonka-cloudformation-1.5.0-KJ8fU86x75V4EoPee9jClQ" False) (C1 (MetaCons "DeleteStackInstances'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dsiOperationPreferences") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StackSetOperationPreferences))) ((:*:) (S1 (MetaSel (Just Symbol "_dsiOperationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dsiStackSetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dsiAccounts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])) ((:*:) (S1 (MetaSel (Just Symbol "_dsiRegions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])) (S1 (MetaSel (Just Symbol "_dsiRetainStacks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))))))
type Rs DeleteStackInstances Source # 

Request Lenses

dsiOperationPreferences :: Lens' DeleteStackInstances (Maybe StackSetOperationPreferences) Source #

Preferences for how AWS CloudFormation performs this stack set operation.

dsiOperationId :: Lens' DeleteStackInstances (Maybe Text) Source #

The unique identifier for this stack set operation. If you don't specify an operation ID, the SDK generates one automatically. The operation ID also functions as an idempotency token, to ensure that AWS CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You can retry stack set operation requests to ensure that AWS CloudFormation successfully received them. Repeating this stack set operation with a new operation ID retries all stack instances whose status is OUTDATED .

dsiStackSetName :: Lens' DeleteStackInstances Text Source #

The name or unique ID of the stack set that you want to delete stack instances for.

dsiAccounts :: Lens' DeleteStackInstances [Text] Source #

The names of the AWS accounts that you want to delete stack instances for.

dsiRegions :: Lens' DeleteStackInstances [Text] Source #

The regions where you want to delete stack set instances.

dsiRetainStacks :: Lens' DeleteStackInstances Bool Source #

Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set. For more information, see Stack set operation options .

Destructuring the Response

deleteStackInstancesResponse Source #

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

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

data DeleteStackInstancesResponse Source #

See: deleteStackInstancesResponse smart constructor.

Instances

Eq DeleteStackInstancesResponse Source # 
Data DeleteStackInstancesResponse Source # 

Methods

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

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

toConstr :: DeleteStackInstancesResponse -> Constr #

dataTypeOf :: DeleteStackInstancesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteStackInstancesResponse Source # 
Show DeleteStackInstancesResponse Source # 
Generic DeleteStackInstancesResponse Source # 
NFData DeleteStackInstancesResponse Source # 
type Rep DeleteStackInstancesResponse Source # 
type Rep DeleteStackInstancesResponse = D1 (MetaData "DeleteStackInstancesResponse" "Network.AWS.CloudFormation.DeleteStackInstances" "amazonka-cloudformation-1.5.0-KJ8fU86x75V4EoPee9jClQ" False) (C1 (MetaCons "DeleteStackInstancesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsirsOperationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dsirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dsirsOperationId :: Lens' DeleteStackInstancesResponse (Maybe Text) Source #

The unique identifier for this stack set operation.