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 |
A list of all of your FinSpace environments.
Synopsis
- data ListEnvironments = ListEnvironments' {}
- newListEnvironments :: ListEnvironments
- listEnvironments_maxResults :: Lens' ListEnvironments (Maybe Natural)
- listEnvironments_nextToken :: Lens' ListEnvironments (Maybe Text)
- data ListEnvironmentsResponse = ListEnvironmentsResponse' {
- environments :: Maybe [Environment]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListEnvironmentsResponse :: Int -> ListEnvironmentsResponse
- listEnvironmentsResponse_environments :: Lens' ListEnvironmentsResponse (Maybe [Environment])
- listEnvironmentsResponse_nextToken :: Lens' ListEnvironmentsResponse (Maybe Text)
- 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:maxResults:ListEnvironments'
, listEnvironments_maxResults
- The maximum number of results to return in this request.
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.
Request Lenses
listEnvironments_maxResults :: Lens' ListEnvironments (Maybe Natural) Source #
The maximum number of results to return in this request.
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.
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:environments:ListEnvironmentsResponse'
, listEnvironmentsResponse_environments
- A list of all of your FinSpace environments.
ListEnvironments
, listEnvironmentsResponse_nextToken
- A token that you can use in a subsequent call to retrieve the next set
of results.
$sel:httpStatus:ListEnvironmentsResponse'
, listEnvironmentsResponse_httpStatus
- The response's http status code.
Response Lenses
listEnvironmentsResponse_environments :: Lens' ListEnvironmentsResponse (Maybe [Environment]) Source #
A list of all of your FinSpace environments.
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_httpStatus :: Lens' ListEnvironmentsResponse Int Source #
The response's http status code.