Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- describeStackResource :: Text -> Text -> DescribeStackResource
- data DescribeStackResource
- dsrsStackName :: Lens' DescribeStackResource Text
- dsrsLogicalResourceId :: Lens' DescribeStackResource Text
- describeStackResourceResponse :: Int -> DescribeStackResourceResponse
- data DescribeStackResourceResponse
- dsrrsStackResourceDetail :: Lens' DescribeStackResourceResponse (Maybe StackResourceDetail)
- dsrrsResponseStatus :: Lens' DescribeStackResourceResponse Int
Creating a Request
describeStackResource Source #
Creates a value of DescribeStackResource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeStackResource Source #
The input for DescribeStackResource action.
See: describeStackResource
smart constructor.
Request Lenses
dsrsStackName :: 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.
dsrsLogicalResourceId :: Lens' DescribeStackResource Text Source #
The logical name of the resource as specified in the template.
Default: There is no default value.
Destructuring the Response
describeStackResourceResponse Source #
Creates a value of DescribeStackResourceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeStackResourceResponse Source #
The output for a DescribeStackResource action.
See: describeStackResourceResponse
smart constructor.
Response Lenses
dsrrsStackResourceDetail :: Lens' DescribeStackResourceResponse (Maybe StackResourceDetail) Source #
A StackResourceDetail
structure containing the description of the
specified resource in the specified stack.
dsrrsResponseStatus :: Lens' DescribeStackResourceResponse Int Source #
The response status code.