Lists the environments for an application.
get/applications/{ApplicationId}/environments
Path parameters
ApplicationIdstring required
The application ID.
Query parameters
max_resultsinteger
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
next_tokenstring
A token to start the list. Use this token to get the next set of results.
MaxResultsstring
Pagination limit
NextTokenstring
Pagination token
Response
Success
Example response
{
"Items": [
{
"ApplicationId": "339ohji",
"Id": "54j1r29",
"Name": "Example-Environment",
"State": "READY_FOR_DEPLOYMENT"
}
]
}