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 |
Returns a backend environment for an Amplify app.
Synopsis
- data GetBackendEnvironment = GetBackendEnvironment' {
- appId :: Text
- environmentName :: Text
- newGetBackendEnvironment :: Text -> Text -> GetBackendEnvironment
- getBackendEnvironment_appId :: Lens' GetBackendEnvironment Text
- getBackendEnvironment_environmentName :: Lens' GetBackendEnvironment Text
- data GetBackendEnvironmentResponse = GetBackendEnvironmentResponse' {}
- newGetBackendEnvironmentResponse :: Int -> BackendEnvironment -> GetBackendEnvironmentResponse
- getBackendEnvironmentResponse_httpStatus :: Lens' GetBackendEnvironmentResponse Int
- getBackendEnvironmentResponse_backendEnvironment :: Lens' GetBackendEnvironmentResponse BackendEnvironment
Creating a Request
data GetBackendEnvironment Source #
The request structure for the get backend environment request.
See: newGetBackendEnvironment
smart constructor.
GetBackendEnvironment' | |
|
Instances
newGetBackendEnvironment Source #
:: Text | |
-> Text | |
-> GetBackendEnvironment |
Create a value of GetBackendEnvironment
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:appId:GetBackendEnvironment'
, getBackendEnvironment_appId
- The unique id for an Amplify app.
$sel:environmentName:GetBackendEnvironment'
, getBackendEnvironment_environmentName
- The name for the backend environment.
Request Lenses
getBackendEnvironment_appId :: Lens' GetBackendEnvironment Text Source #
The unique id for an Amplify app.
getBackendEnvironment_environmentName :: Lens' GetBackendEnvironment Text Source #
The name for the backend environment.
Destructuring the Response
data GetBackendEnvironmentResponse Source #
The result structure for the get backend environment result.
See: newGetBackendEnvironmentResponse
smart constructor.
GetBackendEnvironmentResponse' | |
|
Instances
newGetBackendEnvironmentResponse Source #
Create a value of GetBackendEnvironmentResponse
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:httpStatus:GetBackendEnvironmentResponse'
, getBackendEnvironmentResponse_httpStatus
- The response's http status code.
$sel:backendEnvironment:GetBackendEnvironmentResponse'
, getBackendEnvironmentResponse_backendEnvironment
- Describes the backend environment for an Amplify app.
Response Lenses
getBackendEnvironmentResponse_httpStatus :: Lens' GetBackendEnvironmentResponse Int Source #
The response's http status code.
getBackendEnvironmentResponse_backendEnvironment :: Lens' GetBackendEnvironmentResponse BackendEnvironment Source #
Describes the backend environment for an Amplify app.