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 |
Lists the backend environments for an Amplify app.
Synopsis
- data ListBackendEnvironments = ListBackendEnvironments' {}
- newListBackendEnvironments :: Text -> ListBackendEnvironments
- listBackendEnvironments_nextToken :: Lens' ListBackendEnvironments (Maybe Text)
- listBackendEnvironments_environmentName :: Lens' ListBackendEnvironments (Maybe Text)
- listBackendEnvironments_maxResults :: Lens' ListBackendEnvironments (Maybe Natural)
- listBackendEnvironments_appId :: Lens' ListBackendEnvironments Text
- data ListBackendEnvironmentsResponse = ListBackendEnvironmentsResponse' {}
- newListBackendEnvironmentsResponse :: Int -> ListBackendEnvironmentsResponse
- listBackendEnvironmentsResponse_nextToken :: Lens' ListBackendEnvironmentsResponse (Maybe Text)
- listBackendEnvironmentsResponse_httpStatus :: Lens' ListBackendEnvironmentsResponse Int
- listBackendEnvironmentsResponse_backendEnvironments :: Lens' ListBackendEnvironmentsResponse [BackendEnvironment]
Creating a Request
data ListBackendEnvironments Source #
The request structure for the list backend environments request.
See: newListBackendEnvironments
smart constructor.
ListBackendEnvironments' | |
|
Instances
newListBackendEnvironments Source #
Create a value of ListBackendEnvironments
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:ListBackendEnvironments'
, listBackendEnvironments_nextToken
- A pagination token. Set to null to start listing backend environments
from the start. If a non-null pagination token is returned in a result,
pass its value in here to list more backend environments.
$sel:environmentName:ListBackendEnvironments'
, listBackendEnvironments_environmentName
- The name of the backend environment
$sel:maxResults:ListBackendEnvironments'
, listBackendEnvironments_maxResults
- The maximum number of records to list in a single response.
$sel:appId:ListBackendEnvironments'
, listBackendEnvironments_appId
- The unique ID for an Amplify app.
Request Lenses
listBackendEnvironments_nextToken :: Lens' ListBackendEnvironments (Maybe Text) Source #
A pagination token. Set to null to start listing backend environments from the start. If a non-null pagination token is returned in a result, pass its value in here to list more backend environments.
listBackendEnvironments_environmentName :: Lens' ListBackendEnvironments (Maybe Text) Source #
The name of the backend environment
listBackendEnvironments_maxResults :: Lens' ListBackendEnvironments (Maybe Natural) Source #
The maximum number of records to list in a single response.
listBackendEnvironments_appId :: Lens' ListBackendEnvironments Text Source #
The unique ID for an Amplify app.
Destructuring the Response
data ListBackendEnvironmentsResponse Source #
The result structure for the list backend environments result.
See: newListBackendEnvironmentsResponse
smart constructor.
ListBackendEnvironmentsResponse' | |
|
Instances
newListBackendEnvironmentsResponse Source #
Create a value of ListBackendEnvironmentsResponse
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:ListBackendEnvironments'
, listBackendEnvironmentsResponse_nextToken
- A pagination token. If a non-null pagination token is returned in a
result, pass its value in another request to retrieve more entries.
$sel:httpStatus:ListBackendEnvironmentsResponse'
, listBackendEnvironmentsResponse_httpStatus
- The response's http status code.
$sel:backendEnvironments:ListBackendEnvironmentsResponse'
, listBackendEnvironmentsResponse_backendEnvironments
- The list of backend environments for an Amplify app.
Response Lenses
listBackendEnvironmentsResponse_nextToken :: Lens' ListBackendEnvironmentsResponse (Maybe Text) Source #
A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.
listBackendEnvironmentsResponse_httpStatus :: Lens' ListBackendEnvironmentsResponse Int Source #
The response's http status code.
listBackendEnvironmentsResponse_backendEnvironments :: Lens' ListBackendEnvironmentsResponse [BackendEnvironment] Source #
The list of backend environments for an Amplify app.