Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Gets a list of AWS Cloud9 development environment identifiers.
This operation returns paginated results.
- listEnvironments :: ListEnvironments
- data ListEnvironments
- leNextToken :: Lens' ListEnvironments (Maybe Text)
- leMaxResults :: Lens' ListEnvironments (Maybe Natural)
- listEnvironmentsResponse :: Int -> ListEnvironmentsResponse
- data ListEnvironmentsResponse
- lersEnvironmentIds :: Lens' ListEnvironmentsResponse [Text]
- lersNextToken :: Lens' ListEnvironmentsResponse (Maybe Text)
- lersResponseStatus :: Lens' ListEnvironmentsResponse Int
Creating a Request
listEnvironments :: ListEnvironments Source #
Creates a value of ListEnvironments
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
leNextToken
- 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.leMaxResults
- The maximum number of environments to get identifiers for.
data ListEnvironments Source #
See: listEnvironments
smart constructor.
Request Lenses
leNextToken :: 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.
leMaxResults :: Lens' ListEnvironments (Maybe Natural) Source #
The maximum number of environments to get identifiers for.
Destructuring the Response
listEnvironmentsResponse Source #
Creates a value of ListEnvironmentsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lersEnvironmentIds
- The list of environment identifiers.lersNextToken
- 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.lersResponseStatus
- -- | The response status code.
data ListEnvironmentsResponse Source #
See: listEnvironmentsResponse
smart constructor.
Response Lenses
lersEnvironmentIds :: Lens' ListEnvironmentsResponse [Text] Source #
The list of environment identifiers.
lersNextToken :: 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.
lersResponseStatus :: Lens' ListEnvironmentsResponse Int Source #
- - | The response status code.