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 the SimSpace Weaver simulations in the Amazon Web Services account used to make the API call.
Synopsis
- data ListSimulations = ListSimulations' {}
- newListSimulations :: ListSimulations
- listSimulations_maxResults :: Lens' ListSimulations (Maybe Natural)
- listSimulations_nextToken :: Lens' ListSimulations (Maybe Text)
- data ListSimulationsResponse = ListSimulationsResponse' {}
- newListSimulationsResponse :: Int -> ListSimulationsResponse
- listSimulationsResponse_nextToken :: Lens' ListSimulationsResponse (Maybe Text)
- listSimulationsResponse_simulations :: Lens' ListSimulationsResponse (Maybe [SimulationMetadata])
- listSimulationsResponse_httpStatus :: Lens' ListSimulationsResponse Int
Creating a Request
data ListSimulations Source #
See: newListSimulations
smart constructor.
ListSimulations' | |
|
Instances
newListSimulations :: ListSimulations Source #
Create a value of ListSimulations
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:ListSimulations'
, listSimulations_maxResults
- The maximum number of simulations to list.
ListSimulations
, listSimulations_nextToken
- If SimSpace Weaver returns nextToken
, there are more results
available. The value of nextToken
is a unique pagination token for
each page. To retrieve the next page, call the operation again using the
returned token. Keep all other arguments unchanged. If no results
remain, nextToken
is set to null
. Each pagination token expires
after 24 hours. If you provide a token that isn't valid, you receive an
HTTP 400 ValidationException error.
Request Lenses
listSimulations_maxResults :: Lens' ListSimulations (Maybe Natural) Source #
The maximum number of simulations to list.
listSimulations_nextToken :: Lens' ListSimulations (Maybe Text) Source #
If SimSpace Weaver returns nextToken
, there are more results
available. The value of nextToken
is a unique pagination token for
each page. To retrieve the next page, call the operation again using the
returned token. Keep all other arguments unchanged. If no results
remain, nextToken
is set to null
. Each pagination token expires
after 24 hours. If you provide a token that isn't valid, you receive an
HTTP 400 ValidationException error.
Destructuring the Response
data ListSimulationsResponse Source #
See: newListSimulationsResponse
smart constructor.
ListSimulationsResponse' | |
|
Instances
newListSimulationsResponse Source #
Create a value of ListSimulationsResponse
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:
ListSimulations
, listSimulationsResponse_nextToken
- If SimSpace Weaver returns nextToken
, there are more results
available. The value of nextToken
is a unique pagination token for
each page. To retrieve the next page, call the operation again using the
returned token. Keep all other arguments unchanged. If no results
remain, nextToken
is set to null
. Each pagination token expires
after 24 hours. If you provide a token that isn't valid, you receive an
HTTP 400 ValidationException error.
$sel:simulations:ListSimulationsResponse'
, listSimulationsResponse_simulations
- The list of simulations.
$sel:httpStatus:ListSimulationsResponse'
, listSimulationsResponse_httpStatus
- The response's http status code.
Response Lenses
listSimulationsResponse_nextToken :: Lens' ListSimulationsResponse (Maybe Text) Source #
If SimSpace Weaver returns nextToken
, there are more results
available. The value of nextToken
is a unique pagination token for
each page. To retrieve the next page, call the operation again using the
returned token. Keep all other arguments unchanged. If no results
remain, nextToken
is set to null
. Each pagination token expires
after 24 hours. If you provide a token that isn't valid, you receive an
HTTP 400 ValidationException error.
listSimulationsResponse_simulations :: Lens' ListSimulationsResponse (Maybe [SimulationMetadata]) Source #
The list of simulations.
listSimulationsResponse_httpStatus :: Lens' ListSimulationsResponse Int Source #
The response's http status code.