Copyright | (c) 2013-2015 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 descriptions of all resources of the specified stack.
For deleted stacks, ListStackResources returns resource information for up to 90 days after the stack has been deleted.
See: AWS API Reference for ListStackResources.
This operation returns paginated results.
- listStackResources :: Text -> ListStackResources
- data ListStackResources
- lsrNextToken :: Lens' ListStackResources (Maybe Text)
- lsrStackName :: Lens' ListStackResources Text
- listStackResourcesResponse :: Int -> ListStackResourcesResponse
- data ListStackResourcesResponse
- lsrrsNextToken :: Lens' ListStackResourcesResponse (Maybe Text)
- lsrrsStackResourceSummaries :: Lens' ListStackResourcesResponse [StackResourceSummary]
- lsrrsResponseStatus :: Lens' ListStackResourcesResponse Int
Creating a Request
Creates a value of ListStackResources
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListStackResources Source
The input for the ListStackResource action.
See: listStackResources
smart constructor.
Request Lenses
lsrNextToken :: Lens' ListStackResources (Maybe Text) Source
String that identifies the start of the next list of stack resource summaries, if there is one.
Default: There is no default value.
lsrStackName :: Lens' ListStackResources 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.
Destructuring the Response
listStackResourcesResponse Source
Creates a value of ListStackResourcesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListStackResourcesResponse Source
The output for a ListStackResources action.
See: listStackResourcesResponse
smart constructor.
Response Lenses
lsrrsNextToken :: Lens' ListStackResourcesResponse (Maybe Text) Source
String that identifies the start of the next list of stack resources, if there is one.
lsrrsStackResourceSummaries :: Lens' ListStackResourcesResponse [StackResourceSummary] Source
A list of StackResourceSummary
structures.
lsrrsResponseStatus :: Lens' ListStackResourcesResponse Int Source
The response status code.