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 all stack related events for a specified stack in reverse chronological order. For more information about a stack's event history, go to Stacks in the CloudFormation User Guide.
You can list events for stacks that have failed to create or have been deleted by specifying the unique stack identifier (stack ID).
This operation returns paginated results.
Synopsis
- data DescribeStackEvents = DescribeStackEvents' {}
- newDescribeStackEvents :: DescribeStackEvents
- describeStackEvents_nextToken :: Lens' DescribeStackEvents (Maybe Text)
- describeStackEvents_stackName :: Lens' DescribeStackEvents (Maybe Text)
- data DescribeStackEventsResponse = DescribeStackEventsResponse' {
- nextToken :: Maybe Text
- stackEvents :: Maybe [StackEvent]
- httpStatus :: Int
- newDescribeStackEventsResponse :: Int -> DescribeStackEventsResponse
- describeStackEventsResponse_nextToken :: Lens' DescribeStackEventsResponse (Maybe Text)
- describeStackEventsResponse_stackEvents :: Lens' DescribeStackEventsResponse (Maybe [StackEvent])
- describeStackEventsResponse_httpStatus :: Lens' DescribeStackEventsResponse Int
Creating a Request
data DescribeStackEvents Source #
The input for DescribeStackEvents action.
See: newDescribeStackEvents
smart constructor.
DescribeStackEvents' | |
|
Instances
newDescribeStackEvents :: DescribeStackEvents Source #
Create a value of DescribeStackEvents
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:
DescribeStackEvents
, describeStackEvents_nextToken
- A string that identifies the next page of events that you want to
retrieve.
DescribeStackEvents
, describeStackEvents_stackName
- The name or the unique stack ID that's 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
describeStackEvents_nextToken :: Lens' DescribeStackEvents (Maybe Text) Source #
A string that identifies the next page of events that you want to retrieve.
describeStackEvents_stackName :: Lens' DescribeStackEvents (Maybe Text) Source #
The name or the unique stack ID that's 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 DescribeStackEventsResponse Source #
The output for a DescribeStackEvents action.
See: newDescribeStackEventsResponse
smart constructor.
DescribeStackEventsResponse' | |
|
Instances
newDescribeStackEventsResponse Source #
Create a value of DescribeStackEventsResponse
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:
DescribeStackEvents
, describeStackEventsResponse_nextToken
- If the output exceeds 1 MB in size, a string that identifies the next
page of events. If no additional page exists, this value is null.
$sel:stackEvents:DescribeStackEventsResponse'
, describeStackEventsResponse_stackEvents
- A list of StackEvents
structures.
$sel:httpStatus:DescribeStackEventsResponse'
, describeStackEventsResponse_httpStatus
- The response's http status code.
Response Lenses
describeStackEventsResponse_nextToken :: Lens' DescribeStackEventsResponse (Maybe Text) Source #
If the output exceeds 1 MB in size, a string that identifies the next page of events. If no additional page exists, this value is null.
describeStackEventsResponse_stackEvents :: Lens' DescribeStackEventsResponse (Maybe [StackEvent]) Source #
A list of StackEvents
structures.
describeStackEventsResponse_httpStatus :: Lens' DescribeStackEventsResponse Int Source #
The response's http status code.