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 |
Return a list of operations that occurred on an App Runner service.
The resulting list of OperationSummary objects is sorted in reverse chronological order. The first object on the list represents the last started operation.
Synopsis
- data ListOperations = ListOperations' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- serviceArn :: Text
- newListOperations :: Text -> ListOperations
- listOperations_nextToken :: Lens' ListOperations (Maybe Text)
- listOperations_maxResults :: Lens' ListOperations (Maybe Natural)
- listOperations_serviceArn :: Lens' ListOperations Text
- data ListOperationsResponse = ListOperationsResponse' {}
- newListOperationsResponse :: Int -> ListOperationsResponse
- listOperationsResponse_nextToken :: Lens' ListOperationsResponse (Maybe Text)
- listOperationsResponse_operationSummaryList :: Lens' ListOperationsResponse (Maybe [OperationSummary])
- listOperationsResponse_httpStatus :: Lens' ListOperationsResponse Int
Creating a Request
data ListOperations Source #
See: newListOperations
smart constructor.
ListOperations' | |
|
Instances
Create a value of ListOperations
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:ListOperations'
, listOperations_nextToken
- A token from a previous result page. It's used for a paginated request.
The request retrieves the next result page. All other parameter values
must be identical to the ones specified in the initial request.
If you don't specify NextToken
, the request retrieves the first
result page.
$sel:maxResults:ListOperations'
, listOperations_maxResults
- The maximum number of results to include in each response (result page).
It's used for a paginated request.
If you don't specify MaxResults
, the request retrieves all available
results in a single response.
$sel:serviceArn:ListOperations'
, listOperations_serviceArn
- The Amazon Resource Name (ARN) of the App Runner service that you want a
list of operations for.
Request Lenses
listOperations_nextToken :: Lens' ListOperations (Maybe Text) Source #
A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones specified in the initial request.
If you don't specify NextToken
, the request retrieves the first
result page.
listOperations_maxResults :: Lens' ListOperations (Maybe Natural) Source #
The maximum number of results to include in each response (result page). It's used for a paginated request.
If you don't specify MaxResults
, the request retrieves all available
results in a single response.
listOperations_serviceArn :: Lens' ListOperations Text Source #
The Amazon Resource Name (ARN) of the App Runner service that you want a list of operations for.
Destructuring the Response
data ListOperationsResponse Source #
See: newListOperationsResponse
smart constructor.
ListOperationsResponse' | |
|
Instances
newListOperationsResponse Source #
Create a value of ListOperationsResponse
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:ListOperations'
, listOperationsResponse_nextToken
- The token that you can pass in a subsequent request to get the next
result page. It's returned in a paginated request.
$sel:operationSummaryList:ListOperationsResponse'
, listOperationsResponse_operationSummaryList
- A list of operation summary information records. In a paginated request,
the request returns up to MaxResults
records for each call.
$sel:httpStatus:ListOperationsResponse'
, listOperationsResponse_httpStatus
- The response's http status code.
Response Lenses
listOperationsResponse_nextToken :: Lens' ListOperationsResponse (Maybe Text) Source #
The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
listOperationsResponse_operationSummaryList :: Lens' ListOperationsResponse (Maybe [OperationSummary]) Source #
A list of operation summary information records. In a paginated request,
the request returns up to MaxResults
records for each call.
listOperationsResponse_httpStatus :: Lens' ListOperationsResponse Int Source #
The response's http status code.