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 |
A list of all of your FinSpace environments.
Synopsis
- data ListEnvironments = ListEnvironments' {}
- newListEnvironments :: ListEnvironments
- listEnvironments_nextToken :: Lens' ListEnvironments (Maybe Text)
- listEnvironments_maxResults :: Lens' ListEnvironments (Maybe Natural)
- data ListEnvironmentsResponse = ListEnvironmentsResponse' {
- nextToken :: Maybe Text
- environments :: Maybe [Environment]
- httpStatus :: Int
- newListEnvironmentsResponse :: Int -> ListEnvironmentsResponse
- listEnvironmentsResponse_nextToken :: Lens' ListEnvironmentsResponse (Maybe Text)
- listEnvironmentsResponse_environments :: Lens' ListEnvironmentsResponse (Maybe [Environment])
- listEnvironmentsResponse_httpStatus :: Lens' ListEnvironmentsResponse Int
Creating a Request
data ListEnvironments Source #
See: newListEnvironments
smart constructor.
ListEnvironments' | |
|
Instances
newListEnvironments :: ListEnvironments Source #
Create a value of ListEnvironments
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:ListEnvironments'
, listEnvironments_nextToken
- A token generated by FinSpace that specifies where to continue
pagination if a previous request was truncated. To get the next set of
pages, pass in the nextToken value from the response object of the
previous page call.
$sel:maxResults:ListEnvironments'
, listEnvironments_maxResults
- The maximum number of results to return in this request.
Request Lenses
listEnvironments_nextToken :: Lens' ListEnvironments (Maybe Text) Source #
A token generated by FinSpace that specifies where to continue pagination if a previous request was truncated. To get the next set of pages, pass in the nextToken value from the response object of the previous page call.
listEnvironments_maxResults :: Lens' ListEnvironments (Maybe Natural) Source #
The maximum number of results to return in this request.
Destructuring the Response
data ListEnvironmentsResponse Source #
See: newListEnvironmentsResponse
smart constructor.
ListEnvironmentsResponse' | |
|
Instances
newListEnvironmentsResponse Source #
Create a value of ListEnvironmentsResponse
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:ListEnvironments'
, listEnvironmentsResponse_nextToken
- A token that you can use in a subsequent call to retrieve the next set
of results.
$sel:environments:ListEnvironmentsResponse'
, listEnvironmentsResponse_environments
- A list of all of your FinSpace environments.
$sel:httpStatus:ListEnvironmentsResponse'
, listEnvironmentsResponse_httpStatus
- The response's http status code.
Response Lenses
listEnvironmentsResponse_nextToken :: Lens' ListEnvironmentsResponse (Maybe Text) Source #
A token that you can use in a subsequent call to retrieve the next set of results.
listEnvironmentsResponse_environments :: Lens' ListEnvironmentsResponse (Maybe [Environment]) Source #
A list of all of your FinSpace environments.
listEnvironmentsResponse_httpStatus :: Lens' ListEnvironmentsResponse Int Source #
The response's http status code.