| 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 |
Amazonka.OpsWorks.DescribeStackSummary
Description
Describes the number of layers and apps in a specified stack, and the
number of instances in each state, such as running_setup or online.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
Synopsis
- data DescribeStackSummary = DescribeStackSummary' {}
- newDescribeStackSummary :: Text -> DescribeStackSummary
- describeStackSummary_stackId :: Lens' DescribeStackSummary Text
- data DescribeStackSummaryResponse = DescribeStackSummaryResponse' {}
- newDescribeStackSummaryResponse :: Int -> DescribeStackSummaryResponse
- describeStackSummaryResponse_stackSummary :: Lens' DescribeStackSummaryResponse (Maybe StackSummary)
- describeStackSummaryResponse_httpStatus :: Lens' DescribeStackSummaryResponse Int
Creating a Request
data DescribeStackSummary Source #
See: newDescribeStackSummary smart constructor.
Constructors
| DescribeStackSummary' | |
Instances
newDescribeStackSummary Source #
Arguments
| :: Text | |
| -> DescribeStackSummary |
Create a value of DescribeStackSummary 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:
DescribeStackSummary, describeStackSummary_stackId - The stack ID.
Request Lenses
describeStackSummary_stackId :: Lens' DescribeStackSummary Text Source #
The stack ID.
Destructuring the Response
data DescribeStackSummaryResponse Source #
Contains the response to a DescribeStackSummary request.
See: newDescribeStackSummaryResponse smart constructor.
Constructors
| DescribeStackSummaryResponse' | |
Fields
| |
Instances
newDescribeStackSummaryResponse Source #
Create a value of DescribeStackSummaryResponse 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:stackSummary:DescribeStackSummaryResponse', describeStackSummaryResponse_stackSummary - A StackSummary object that contains the results.
$sel:httpStatus:DescribeStackSummaryResponse', describeStackSummaryResponse_httpStatus - The response's http status code.
Response Lenses
describeStackSummaryResponse_stackSummary :: Lens' DescribeStackSummaryResponse (Maybe StackSummary) Source #
A StackSummary object that contains the results.
describeStackSummaryResponse_httpStatus :: Lens' DescribeStackSummaryResponse Int Source #
The response's http status code.