| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudFormation.DeleteStackSet
Description
Deletes a stack set. Before you can delete a stack set, all its member stack instances must be deleted. For more information about how to complete this, see DeleteStackInstances.
Synopsis
- data DeleteStackSet = DeleteStackSet' {
- callAs :: Maybe CallAs
- stackSetName :: Text
- newDeleteStackSet :: Text -> DeleteStackSet
- deleteStackSet_callAs :: Lens' DeleteStackSet (Maybe CallAs)
- deleteStackSet_stackSetName :: Lens' DeleteStackSet Text
- data DeleteStackSetResponse = DeleteStackSetResponse' {
- httpStatus :: Int
- newDeleteStackSetResponse :: Int -> DeleteStackSetResponse
- deleteStackSetResponse_httpStatus :: Lens' DeleteStackSetResponse Int
Creating a Request
data DeleteStackSet Source #
See: newDeleteStackSet smart constructor.
Constructors
| DeleteStackSet' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteStackSet |
Create a value of DeleteStackSet 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:callAs:DeleteStackSet', deleteStackSet_callAs - [Service-managed permissions] Specifies whether you are acting as an
account administrator in the organization's management account or as a
delegated administrator in a member account.
By default, SELF is specified. Use SELF for stack sets with
self-managed permissions.
- If you are signed in to the management account, specify
SELF. If you are signed in to a delegated administrator account, specify
DELEGATED_ADMIN.Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.
DeleteStackSet, deleteStackSet_stackSetName - The name or unique ID of the stack set that you're deleting. You can
obtain this value by running ListStackSets.
Request Lenses
deleteStackSet_callAs :: Lens' DeleteStackSet (Maybe CallAs) Source #
- Service-managed permissions
- Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.
By default, SELF is specified. Use SELF for stack sets with
self-managed permissions.
- If you are signed in to the management account, specify
SELF. If you are signed in to a delegated administrator account, specify
DELEGATED_ADMIN.Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.
deleteStackSet_stackSetName :: Lens' DeleteStackSet Text Source #
The name or unique ID of the stack set that you're deleting. You can obtain this value by running ListStackSets.
Destructuring the Response
data DeleteStackSetResponse Source #
See: newDeleteStackSetResponse smart constructor.
Constructors
| DeleteStackSetResponse' | |
Fields
| |
Instances
newDeleteStackSetResponse Source #
Create a value of DeleteStackSetResponse 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:DeleteStackSetResponse', deleteStackSetResponse_httpStatus - The response's http status code.
Response Lenses
deleteStackSetResponse_httpStatus :: Lens' DeleteStackSetResponse Int Source #
The response's http status code.