Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Deletes stack instances for the specified accounts, in the specified regions.
Synopsis
- deleteStackInstances :: Text -> Bool -> DeleteStackInstances
- data DeleteStackInstances
- dsiOperationPreferences :: Lens' DeleteStackInstances (Maybe StackSetOperationPreferences)
- dsiOperationId :: Lens' DeleteStackInstances (Maybe Text)
- dsiStackSetName :: Lens' DeleteStackInstances Text
- dsiAccounts :: Lens' DeleteStackInstances [Text]
- dsiRegions :: Lens' DeleteStackInstances [Text]
- dsiRetainStacks :: Lens' DeleteStackInstances Bool
- deleteStackInstancesResponse :: Int -> DeleteStackInstancesResponse
- data DeleteStackInstancesResponse
- dsirsOperationId :: Lens' DeleteStackInstancesResponse (Maybe Text)
- dsirsResponseStatus :: Lens' DeleteStackInstancesResponse Int
Creating a Request
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 isOUTDATED
.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
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:
dsirsOperationId
- The unique identifier for this stack set operation.dsirsResponseStatus
- -- | The response status code.
data DeleteStackInstancesResponse Source #
See: deleteStackInstancesResponse
smart constructor.
Instances
Response Lenses
dsirsOperationId :: Lens' DeleteStackInstancesResponse (Maybe Text) Source #
The unique identifier for this stack set operation.
dsirsResponseStatus :: Lens' DeleteStackInstancesResponse Int Source #
- - | The response status code.