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 for the specified stack; if no stack name was specified, then it returns the description for all the stacks created.
If the stack does not exist, an ValidationError
is returned.
This operation returns paginated results.
Synopsis
- data DescribeStacks = DescribeStacks' {}
- newDescribeStacks :: DescribeStacks
- describeStacks_nextToken :: Lens' DescribeStacks (Maybe Text)
- describeStacks_stackName :: Lens' DescribeStacks (Maybe Text)
- data DescribeStacksResponse = DescribeStacksResponse' {}
- newDescribeStacksResponse :: Int -> DescribeStacksResponse
- describeStacksResponse_nextToken :: Lens' DescribeStacksResponse (Maybe Text)
- describeStacksResponse_stacks :: Lens' DescribeStacksResponse (Maybe [Stack])
- describeStacksResponse_httpStatus :: Lens' DescribeStacksResponse Int
Creating a Request
data DescribeStacks Source #
The input for DescribeStacks action.
See: newDescribeStacks
smart constructor.
DescribeStacks' | |
|
Instances
newDescribeStacks :: DescribeStacks Source #
Create a value of DescribeStacks
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:nextToken:DescribeStacks'
, describeStacks_nextToken
- A string that identifies the next page of stacks that you want to
retrieve.
$sel:stackName:DescribeStacks'
, describeStacks_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.
Request Lenses
describeStacks_nextToken :: Lens' DescribeStacks (Maybe Text) Source #
A string that identifies the next page of stacks that you want to retrieve.
describeStacks_stackName :: Lens' DescribeStacks (Maybe 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
data DescribeStacksResponse Source #
The output for a DescribeStacks action.
See: newDescribeStacksResponse
smart constructor.
Instances
newDescribeStacksResponse Source #
Create a value of DescribeStacksResponse
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:nextToken:DescribeStacks'
, describeStacksResponse_nextToken
- If the output exceeds 1 MB in size, a string that identifies the next
page of stacks. If no additional page exists, this value is null.
$sel:stacks:DescribeStacksResponse'
, describeStacksResponse_stacks
- A list of stack structures.
$sel:httpStatus:DescribeStacksResponse'
, describeStacksResponse_httpStatus
- The response's http status code.
Response Lenses
describeStacksResponse_nextToken :: Lens' DescribeStacksResponse (Maybe Text) Source #
If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.
describeStacksResponse_stacks :: Lens' DescribeStacksResponse (Maybe [Stack]) Source #
A list of stack structures.
describeStacksResponse_httpStatus :: Lens' DescribeStacksResponse Int Source #
The response's http status code.