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 a description of the specified resource in the specified stack.
For deleted stacks, DescribeStackResource returns resource information for up to 90 days after the stack has been deleted.
Synopsis
- data DescribeStackResource = DescribeStackResource' {}
- newDescribeStackResource :: Text -> Text -> DescribeStackResource
- describeStackResource_stackName :: Lens' DescribeStackResource Text
- describeStackResource_logicalResourceId :: Lens' DescribeStackResource Text
- data DescribeStackResourceResponse = DescribeStackResourceResponse' {}
- newDescribeStackResourceResponse :: Int -> DescribeStackResourceResponse
- describeStackResourceResponse_stackResourceDetail :: Lens' DescribeStackResourceResponse (Maybe StackResourceDetail)
- describeStackResourceResponse_httpStatus :: Lens' DescribeStackResourceResponse Int
Creating a Request
data DescribeStackResource Source #
The input for DescribeStackResource action.
See: newDescribeStackResource
smart constructor.
DescribeStackResource' | |
|
Instances
newDescribeStackResource Source #
:: Text | |
-> Text | |
-> DescribeStackResource |
Create a value of DescribeStackResource
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:stackName:DescribeStackResource'
, describeStackResource_stackName
- The name or the unique stack ID that is associated with the stack, which
are not always interchangeable:
- Running stacks: You can specify either the stack's name or its unique stack ID.
- Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
$sel:logicalResourceId:DescribeStackResource'
, describeStackResource_logicalResourceId
- The logical name of the resource as specified in the template.
Default: There is no default value.
Request Lenses
describeStackResource_stackName :: Lens' DescribeStackResource Text Source #
The name or the unique stack ID that is associated with the stack, which are not always interchangeable:
- Running stacks: You can specify either the stack's name or its unique stack ID.
- Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
describeStackResource_logicalResourceId :: Lens' DescribeStackResource Text Source #
The logical name of the resource as specified in the template.
Default: There is no default value.
Destructuring the Response
data DescribeStackResourceResponse Source #
The output for a DescribeStackResource action.
See: newDescribeStackResourceResponse
smart constructor.
DescribeStackResourceResponse' | |
|
Instances
newDescribeStackResourceResponse Source #
Create a value of DescribeStackResourceResponse
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:stackResourceDetail:DescribeStackResourceResponse'
, describeStackResourceResponse_stackResourceDetail
- A StackResourceDetail
structure containing the description of the
specified resource in the specified stack.
$sel:httpStatus:DescribeStackResourceResponse'
, describeStackResourceResponse_httpStatus
- The response's http status code.
Response Lenses
describeStackResourceResponse_stackResourceDetail :: Lens' DescribeStackResourceResponse (Maybe StackResourceDetail) Source #
A StackResourceDetail
structure containing the description of the
specified resource in the specified stack.
describeStackResourceResponse_httpStatus :: Lens' DescribeStackResourceResponse Int Source #
The response's http status code.