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 |
Gets a list of Cloud9 development environment identifiers.
This operation returns paginated results.
Synopsis
- data ListEnvironments = ListEnvironments' {}
- newListEnvironments :: ListEnvironments
- listEnvironments_nextToken :: Lens' ListEnvironments (Maybe Text)
- listEnvironments_maxResults :: Lens' ListEnvironments (Maybe Natural)
- data ListEnvironmentsResponse = ListEnvironmentsResponse' {
- environmentIds :: Maybe [Text]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListEnvironmentsResponse :: Int -> ListEnvironmentsResponse
- listEnvironmentsResponse_environmentIds :: Lens' ListEnvironmentsResponse (Maybe [Text])
- 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:nextToken:ListEnvironments'
, listEnvironments_nextToken
- During a previous call, if there are more than 25 items in the list,
only the first 25 items are returned, along with a unique string called
a next token. To get the next batch of items in the list, call this
operation again, adding the next token to the call. To get all of the
items in the list, keep calling this operation with each subsequent next
token that is returned, until no more next tokens are returned.
$sel:maxResults:ListEnvironments'
, listEnvironments_maxResults
- The maximum number of environments to get identifiers for.
Request Lenses
listEnvironments_nextToken :: Lens' ListEnvironments (Maybe Text) Source #
During a previous call, if there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
listEnvironments_maxResults :: Lens' ListEnvironments (Maybe Natural) Source #
The maximum number of environments to get identifiers for.
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:environmentIds:ListEnvironmentsResponse'
, listEnvironmentsResponse_environmentIds
- The list of environment identifiers.
$sel:nextToken:ListEnvironments'
, listEnvironmentsResponse_nextToken
- If there are more than 25 items in the list, only the first 25 items are
returned, along with a unique string called a next token. To get the
next batch of items in the list, call this operation again, adding the
next token to the call.
$sel:httpStatus:ListEnvironmentsResponse'
, listEnvironmentsResponse_httpStatus
- The response's http status code.
Response Lenses
listEnvironmentsResponse_environmentIds :: Lens' ListEnvironmentsResponse (Maybe [Text]) Source #
The list of environment identifiers.
listEnvironmentsResponse_nextToken :: Lens' ListEnvironmentsResponse (Maybe Text) Source #
If there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call.
listEnvironmentsResponse_httpStatus :: Lens' ListEnvironmentsResponse Int Source #
The response's http status code.