| 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.GetBackendEnvironment
Description
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.
Constructors
| GetBackendEnvironment' | |
Fields
| |
Instances
newGetBackendEnvironment Source #
Arguments
| :: 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:
GetBackendEnvironment, getBackendEnvironment_appId - The unique id for an Amplify app.
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.
Constructors
| GetBackendEnvironmentResponse' | |
Fields
| |
Instances
newGetBackendEnvironmentResponse Source #
Arguments
| :: Int | |
| -> BackendEnvironment | |
| -> GetBackendEnvironmentResponse |
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.