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 |
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.
This operation returns paginated results.
Synopsis
- data ListStackResources = ListStackResources' {}
- newListStackResources :: Text -> ListStackResources
- listStackResources_nextToken :: Lens' ListStackResources (Maybe Text)
- listStackResources_stackName :: Lens' ListStackResources Text
- data ListStackResourcesResponse = ListStackResourcesResponse' {}
- newListStackResourcesResponse :: Int -> ListStackResourcesResponse
- listStackResourcesResponse_nextToken :: Lens' ListStackResourcesResponse (Maybe Text)
- listStackResourcesResponse_stackResourceSummaries :: Lens' ListStackResourcesResponse (Maybe [StackResourceSummary])
- listStackResourcesResponse_httpStatus :: Lens' ListStackResourcesResponse Int
Creating a Request
data ListStackResources Source #
The input for the ListStackResource action.
See: newListStackResources
smart constructor.
ListStackResources' | |
|
Instances
newListStackResources Source #
Create a value of ListStackResources
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:
ListStackResources
, listStackResources_nextToken
- A string that identifies the next page of stack resources that you want
to retrieve.
ListStackResources
, listStackResources_stackName
- The name or the unique stack ID that is associated with the stack, which
aren't 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.
Request Lenses
listStackResources_nextToken :: Lens' ListStackResources (Maybe Text) Source #
A string that identifies the next page of stack resources that you want to retrieve.
listStackResources_stackName :: Lens' ListStackResources Text Source #
The name or the unique stack ID that is associated with the stack, which aren't 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
data ListStackResourcesResponse Source #
The output for a ListStackResources action.
See: newListStackResourcesResponse
smart constructor.
ListStackResourcesResponse' | |
|
Instances
newListStackResourcesResponse Source #
Create a value of ListStackResourcesResponse
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:
ListStackResources
, listStackResourcesResponse_nextToken
- If the output exceeds 1 MB, a string that identifies the next page of
stack resources. If no additional page exists, this value is null.
$sel:stackResourceSummaries:ListStackResourcesResponse'
, listStackResourcesResponse_stackResourceSummaries
- A list of StackResourceSummary
structures.
$sel:httpStatus:ListStackResourcesResponse'
, listStackResourcesResponse_httpStatus
- The response's http status code.
Response Lenses
listStackResourcesResponse_nextToken :: Lens' ListStackResourcesResponse (Maybe Text) Source #
If the output exceeds 1 MB, a string that identifies the next page of stack resources. If no additional page exists, this value is null.
listStackResourcesResponse_stackResourceSummaries :: Lens' ListStackResourcesResponse (Maybe [StackResourceSummary]) Source #
A list of StackResourceSummary
structures.
listStackResourcesResponse_httpStatus :: Lens' ListStackResourcesResponse Int Source #
The response's http status code.