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 |
Returns the description of the specified stack set.
Synopsis
- data DescribeStackSet = DescribeStackSet' {
- callAs :: Maybe CallAs
- stackSetName :: Text
- newDescribeStackSet :: Text -> DescribeStackSet
- describeStackSet_callAs :: Lens' DescribeStackSet (Maybe CallAs)
- describeStackSet_stackSetName :: Lens' DescribeStackSet Text
- data DescribeStackSetResponse = DescribeStackSetResponse' {
- stackSet :: Maybe StackSet
- httpStatus :: Int
- newDescribeStackSetResponse :: Int -> DescribeStackSetResponse
- describeStackSetResponse_stackSet :: Lens' DescribeStackSetResponse (Maybe StackSet)
- describeStackSetResponse_httpStatus :: Lens' DescribeStackSetResponse Int
Creating a Request
data DescribeStackSet Source #
See: newDescribeStackSet
smart constructor.
DescribeStackSet' | |
|
Instances
Create a value of DescribeStackSet
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:DescribeStackSet'
, describeStackSet_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.
$sel:stackSetName:DescribeStackSet'
, describeStackSet_stackSetName
- The name or unique ID of the stack set whose description you want.
Request Lenses
describeStackSet_callAs :: Lens' DescribeStackSet (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.
describeStackSet_stackSetName :: Lens' DescribeStackSet Text Source #
The name or unique ID of the stack set whose description you want.
Destructuring the Response
data DescribeStackSetResponse Source #
See: newDescribeStackSetResponse
smart constructor.
DescribeStackSetResponse' | |
|
Instances
newDescribeStackSetResponse Source #
Create a value of DescribeStackSetResponse
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:stackSet:DescribeStackSetResponse'
, describeStackSetResponse_stackSet
- The specified stack set.
$sel:httpStatus:DescribeStackSetResponse'
, describeStackSetResponse_httpStatus
- The response's http status code.
Response Lenses
describeStackSetResponse_stackSet :: Lens' DescribeStackSetResponse (Maybe StackSet) Source #
The specified stack set.
describeStackSetResponse_httpStatus :: Lens' DescribeStackSetResponse Int Source #
The response's http status code.