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 |
Lists an environment's completed and failed managed actions.
This operation returns paginated results.
Synopsis
- data DescribeEnvironmentManagedActionHistory = DescribeEnvironmentManagedActionHistory' {}
- newDescribeEnvironmentManagedActionHistory :: DescribeEnvironmentManagedActionHistory
- describeEnvironmentManagedActionHistory_nextToken :: Lens' DescribeEnvironmentManagedActionHistory (Maybe Text)
- describeEnvironmentManagedActionHistory_environmentName :: Lens' DescribeEnvironmentManagedActionHistory (Maybe Text)
- describeEnvironmentManagedActionHistory_maxItems :: Lens' DescribeEnvironmentManagedActionHistory (Maybe Natural)
- describeEnvironmentManagedActionHistory_environmentId :: Lens' DescribeEnvironmentManagedActionHistory (Maybe Text)
- data DescribeEnvironmentManagedActionHistoryResponse = DescribeEnvironmentManagedActionHistoryResponse' {}
- newDescribeEnvironmentManagedActionHistoryResponse :: Int -> DescribeEnvironmentManagedActionHistoryResponse
- describeEnvironmentManagedActionHistoryResponse_managedActionHistoryItems :: Lens' DescribeEnvironmentManagedActionHistoryResponse (Maybe (NonEmpty ManagedActionHistoryItem))
- describeEnvironmentManagedActionHistoryResponse_nextToken :: Lens' DescribeEnvironmentManagedActionHistoryResponse (Maybe Text)
- describeEnvironmentManagedActionHistoryResponse_httpStatus :: Lens' DescribeEnvironmentManagedActionHistoryResponse Int
Creating a Request
data DescribeEnvironmentManagedActionHistory Source #
Request to list completed and failed managed actions.
See: newDescribeEnvironmentManagedActionHistory
smart constructor.
Instances
newDescribeEnvironmentManagedActionHistory :: DescribeEnvironmentManagedActionHistory Source #
Create a value of DescribeEnvironmentManagedActionHistory
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:DescribeEnvironmentManagedActionHistory'
, describeEnvironmentManagedActionHistory_nextToken
- The pagination token returned by a previous request.
$sel:environmentName:DescribeEnvironmentManagedActionHistory'
, describeEnvironmentManagedActionHistory_environmentName
- The name of the target environment.
$sel:maxItems:DescribeEnvironmentManagedActionHistory'
, describeEnvironmentManagedActionHistory_maxItems
- The maximum number of items to return for a single request.
$sel:environmentId:DescribeEnvironmentManagedActionHistory'
, describeEnvironmentManagedActionHistory_environmentId
- The environment ID of the target environment.
Request Lenses
describeEnvironmentManagedActionHistory_nextToken :: Lens' DescribeEnvironmentManagedActionHistory (Maybe Text) Source #
The pagination token returned by a previous request.
describeEnvironmentManagedActionHistory_environmentName :: Lens' DescribeEnvironmentManagedActionHistory (Maybe Text) Source #
The name of the target environment.
describeEnvironmentManagedActionHistory_maxItems :: Lens' DescribeEnvironmentManagedActionHistory (Maybe Natural) Source #
The maximum number of items to return for a single request.
describeEnvironmentManagedActionHistory_environmentId :: Lens' DescribeEnvironmentManagedActionHistory (Maybe Text) Source #
The environment ID of the target environment.
Destructuring the Response
data DescribeEnvironmentManagedActionHistoryResponse Source #
A result message containing a list of completed and failed managed actions.
See: newDescribeEnvironmentManagedActionHistoryResponse
smart constructor.
DescribeEnvironmentManagedActionHistoryResponse' | |
|
Instances
newDescribeEnvironmentManagedActionHistoryResponse Source #
:: Int |
|
-> DescribeEnvironmentManagedActionHistoryResponse |
Create a value of DescribeEnvironmentManagedActionHistoryResponse
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:managedActionHistoryItems:DescribeEnvironmentManagedActionHistoryResponse'
, describeEnvironmentManagedActionHistoryResponse_managedActionHistoryItems
- A list of completed and failed managed actions.
$sel:nextToken:DescribeEnvironmentManagedActionHistory'
, describeEnvironmentManagedActionHistoryResponse_nextToken
- A pagination token that you pass to
DescribeEnvironmentManagedActionHistory to get the next page of results.
$sel:httpStatus:DescribeEnvironmentManagedActionHistoryResponse'
, describeEnvironmentManagedActionHistoryResponse_httpStatus
- The response's http status code.
Response Lenses
describeEnvironmentManagedActionHistoryResponse_managedActionHistoryItems :: Lens' DescribeEnvironmentManagedActionHistoryResponse (Maybe (NonEmpty ManagedActionHistoryItem)) Source #
A list of completed and failed managed actions.
describeEnvironmentManagedActionHistoryResponse_nextToken :: Lens' DescribeEnvironmentManagedActionHistoryResponse (Maybe Text) Source #
A pagination token that you pass to DescribeEnvironmentManagedActionHistory to get the next page of results.
describeEnvironmentManagedActionHistoryResponse_httpStatus :: Lens' DescribeEnvironmentManagedActionHistoryResponse Int Source #
The response's http status code.