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 |
Provides details about all active and terminated Automation executions.
This operation returns paginated results.
Synopsis
- data DescribeAutomationExecutions = DescribeAutomationExecutions' {}
- newDescribeAutomationExecutions :: DescribeAutomationExecutions
- describeAutomationExecutions_filters :: Lens' DescribeAutomationExecutions (Maybe (NonEmpty AutomationExecutionFilter))
- describeAutomationExecutions_nextToken :: Lens' DescribeAutomationExecutions (Maybe Text)
- describeAutomationExecutions_maxResults :: Lens' DescribeAutomationExecutions (Maybe Natural)
- data DescribeAutomationExecutionsResponse = DescribeAutomationExecutionsResponse' {}
- newDescribeAutomationExecutionsResponse :: Int -> DescribeAutomationExecutionsResponse
- describeAutomationExecutionsResponse_nextToken :: Lens' DescribeAutomationExecutionsResponse (Maybe Text)
- describeAutomationExecutionsResponse_automationExecutionMetadataList :: Lens' DescribeAutomationExecutionsResponse (Maybe [AutomationExecutionMetadata])
- describeAutomationExecutionsResponse_httpStatus :: Lens' DescribeAutomationExecutionsResponse Int
Creating a Request
data DescribeAutomationExecutions Source #
See: newDescribeAutomationExecutions
smart constructor.
DescribeAutomationExecutions' | |
|
Instances
newDescribeAutomationExecutions :: DescribeAutomationExecutions Source #
Create a value of DescribeAutomationExecutions
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:filters:DescribeAutomationExecutions'
, describeAutomationExecutions_filters
- Filters used to limit the scope of executions that are requested.
$sel:nextToken:DescribeAutomationExecutions'
, describeAutomationExecutions_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:maxResults:DescribeAutomationExecutions'
, describeAutomationExecutions_maxResults
- The maximum number of items to return for this call. The call also
returns a token that you can specify in a subsequent call to get the
next set of results.
Request Lenses
describeAutomationExecutions_filters :: Lens' DescribeAutomationExecutions (Maybe (NonEmpty AutomationExecutionFilter)) Source #
Filters used to limit the scope of executions that are requested.
describeAutomationExecutions_nextToken :: Lens' DescribeAutomationExecutions (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describeAutomationExecutions_maxResults :: Lens' DescribeAutomationExecutions (Maybe Natural) Source #
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
Destructuring the Response
data DescribeAutomationExecutionsResponse Source #
See: newDescribeAutomationExecutionsResponse
smart constructor.
DescribeAutomationExecutionsResponse' | |
|
Instances
newDescribeAutomationExecutionsResponse Source #
Create a value of DescribeAutomationExecutionsResponse
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:DescribeAutomationExecutions'
, describeAutomationExecutionsResponse_nextToken
- The token to use when requesting the next set of items. If there are no
additional items to return, the string is empty.
$sel:automationExecutionMetadataList:DescribeAutomationExecutionsResponse'
, describeAutomationExecutionsResponse_automationExecutionMetadataList
- The list of details about each automation execution which has occurred
which matches the filter specification, if any.
$sel:httpStatus:DescribeAutomationExecutionsResponse'
, describeAutomationExecutionsResponse_httpStatus
- The response's http status code.
Response Lenses
describeAutomationExecutionsResponse_nextToken :: Lens' DescribeAutomationExecutionsResponse (Maybe Text) Source #
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
describeAutomationExecutionsResponse_automationExecutionMetadataList :: Lens' DescribeAutomationExecutionsResponse (Maybe [AutomationExecutionMetadata]) Source #
The list of details about each automation execution which has occurred which matches the filter specification, if any.
describeAutomationExecutionsResponse_httpStatus :: Lens' DescribeAutomationExecutionsResponse Int Source #
The response's http status code.