| 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 |
Amazonka.Amplify.ListBackendEnvironments
Description
Lists the backend environments for an Amplify app.
Synopsis
- data ListBackendEnvironments = ListBackendEnvironments' {}
- newListBackendEnvironments :: Text -> ListBackendEnvironments
- listBackendEnvironments_environmentName :: Lens' ListBackendEnvironments (Maybe Text)
- listBackendEnvironments_maxResults :: Lens' ListBackendEnvironments (Maybe Natural)
- listBackendEnvironments_nextToken :: Lens' ListBackendEnvironments (Maybe Text)
- 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.
Constructors
| ListBackendEnvironments' | |
Fields
| |
Instances
newListBackendEnvironments Source #
Arguments
| :: Text | |
| -> ListBackendEnvironments |
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:
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.
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.
ListBackendEnvironments, listBackendEnvironments_appId - The unique ID for an Amplify app.
Request Lenses
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_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_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.
Constructors
| ListBackendEnvironmentsResponse' | |
Fields
| |
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:
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.