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 |
Lists all Map Runs that were started by a given state machine execution.
Use this API action to obtain Map Run ARNs, and then call
DescribeMapRun
to obtain more information, if needed.
This operation returns paginated results.
Synopsis
- data ListMapRuns = ListMapRuns' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- executionArn :: Text
- newListMapRuns :: Text -> ListMapRuns
- listMapRuns_maxResults :: Lens' ListMapRuns (Maybe Natural)
- listMapRuns_nextToken :: Lens' ListMapRuns (Maybe Text)
- listMapRuns_executionArn :: Lens' ListMapRuns Text
- data ListMapRunsResponse = ListMapRunsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- mapRuns :: [MapRunListItem]
- newListMapRunsResponse :: Int -> ListMapRunsResponse
- listMapRunsResponse_nextToken :: Lens' ListMapRunsResponse (Maybe Text)
- listMapRunsResponse_httpStatus :: Lens' ListMapRunsResponse Int
- listMapRunsResponse_mapRuns :: Lens' ListMapRunsResponse [MapRunListItem]
Creating a Request
data ListMapRuns Source #
See: newListMapRuns
smart constructor.
ListMapRuns' | |
|
Instances
Create a value of ListMapRuns
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:maxResults:ListMapRuns'
, listMapRuns_maxResults
- The maximum number of results that are returned per call. You can use
nextToken
to obtain further pages of results. The default is 100 and
the maximum allowed page size is 1000. A value of 0 uses the default.
This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
ListMapRuns
, listMapRuns_nextToken
- If nextToken
is returned, there are more results available. The value
of nextToken
is a unique pagination token for each page. Make the call
again using the returned token to retrieve the next page. Keep all other
arguments unchanged. Each pagination token expires after 24 hours. Using
an expired pagination token will return an HTTP 400 InvalidToken
error.
ListMapRuns
, listMapRuns_executionArn
- The Amazon Resource Name (ARN) of the execution for which the Map Runs
must be listed.
Request Lenses
listMapRuns_maxResults :: Lens' ListMapRuns (Maybe Natural) Source #
The maximum number of results that are returned per call. You can use
nextToken
to obtain further pages of results. The default is 100 and
the maximum allowed page size is 1000. A value of 0 uses the default.
This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
listMapRuns_nextToken :: Lens' ListMapRuns (Maybe Text) Source #
If nextToken
is returned, there are more results available. The value
of nextToken
is a unique pagination token for each page. Make the call
again using the returned token to retrieve the next page. Keep all other
arguments unchanged. Each pagination token expires after 24 hours. Using
an expired pagination token will return an HTTP 400 InvalidToken
error.
listMapRuns_executionArn :: Lens' ListMapRuns Text Source #
The Amazon Resource Name (ARN) of the execution for which the Map Runs must be listed.
Destructuring the Response
data ListMapRunsResponse Source #
See: newListMapRunsResponse
smart constructor.
ListMapRunsResponse' | |
|
Instances
newListMapRunsResponse Source #
Create a value of ListMapRunsResponse
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:
ListMapRuns
, listMapRunsResponse_nextToken
- If nextToken
is returned, there are more results available. The value
of nextToken
is a unique pagination token for each page. Make the call
again using the returned token to retrieve the next page. Keep all other
arguments unchanged. Each pagination token expires after 24 hours. Using
an expired pagination token will return an HTTP 400 InvalidToken
error.
$sel:httpStatus:ListMapRunsResponse'
, listMapRunsResponse_httpStatus
- The response's http status code.
$sel:mapRuns:ListMapRunsResponse'
, listMapRunsResponse_mapRuns
- An array that lists information related to a Map Run, such as the Amazon
Resource Name (ARN) of the Map Run and the ARN of the state machine that
started the Map Run.
Response Lenses
listMapRunsResponse_nextToken :: Lens' ListMapRunsResponse (Maybe Text) Source #
If nextToken
is returned, there are more results available. The value
of nextToken
is a unique pagination token for each page. Make the call
again using the returned token to retrieve the next page. Keep all other
arguments unchanged. Each pagination token expires after 24 hours. Using
an expired pagination token will return an HTTP 400 InvalidToken
error.
listMapRunsResponse_httpStatus :: Lens' ListMapRunsResponse Int Source #
The response's http status code.
listMapRunsResponse_mapRuns :: Lens' ListMapRunsResponse [MapRunListItem] Source #
An array that lists information related to a Map Run, such as the Amazon Resource Name (ARN) of the Map Run and the ARN of the state machine that started the Map Run.