| 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.CreateBackendEnvironment
Description
Creates a new backend environment for an Amplify app.
Synopsis
- data CreateBackendEnvironment = CreateBackendEnvironment' {}
- newCreateBackendEnvironment :: Text -> Text -> CreateBackendEnvironment
- createBackendEnvironment_deploymentArtifacts :: Lens' CreateBackendEnvironment (Maybe Text)
- createBackendEnvironment_stackName :: Lens' CreateBackendEnvironment (Maybe Text)
- createBackendEnvironment_appId :: Lens' CreateBackendEnvironment Text
- createBackendEnvironment_environmentName :: Lens' CreateBackendEnvironment Text
- data CreateBackendEnvironmentResponse = CreateBackendEnvironmentResponse' {}
- newCreateBackendEnvironmentResponse :: Int -> BackendEnvironment -> CreateBackendEnvironmentResponse
- createBackendEnvironmentResponse_httpStatus :: Lens' CreateBackendEnvironmentResponse Int
- createBackendEnvironmentResponse_backendEnvironment :: Lens' CreateBackendEnvironmentResponse BackendEnvironment
Creating a Request
data CreateBackendEnvironment Source #
The request structure for the backend environment create request.
See: newCreateBackendEnvironment smart constructor.
Constructors
| CreateBackendEnvironment' | |
Fields
| |
Instances
newCreateBackendEnvironment Source #
Create a value of CreateBackendEnvironment 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:
CreateBackendEnvironment, createBackendEnvironment_deploymentArtifacts - The name of deployment artifacts.
CreateBackendEnvironment, createBackendEnvironment_stackName - The AWS CloudFormation stack name of a backend environment.
CreateBackendEnvironment, createBackendEnvironment_appId - The unique ID for an Amplify app.
CreateBackendEnvironment, createBackendEnvironment_environmentName - The name for the backend environment.
Request Lenses
createBackendEnvironment_deploymentArtifacts :: Lens' CreateBackendEnvironment (Maybe Text) Source #
The name of deployment artifacts.
createBackendEnvironment_stackName :: Lens' CreateBackendEnvironment (Maybe Text) Source #
The AWS CloudFormation stack name of a backend environment.
createBackendEnvironment_appId :: Lens' CreateBackendEnvironment Text Source #
The unique ID for an Amplify app.
createBackendEnvironment_environmentName :: Lens' CreateBackendEnvironment Text Source #
The name for the backend environment.
Destructuring the Response
data CreateBackendEnvironmentResponse Source #
The result structure for the create backend environment request.
See: newCreateBackendEnvironmentResponse smart constructor.
Constructors
| CreateBackendEnvironmentResponse' | |
Fields
| |
Instances
newCreateBackendEnvironmentResponse Source #
Arguments
| :: Int | |
| -> BackendEnvironment | |
| -> CreateBackendEnvironmentResponse |
Create a value of CreateBackendEnvironmentResponse 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:CreateBackendEnvironmentResponse', createBackendEnvironmentResponse_httpStatus - The response's http status code.
$sel:backendEnvironment:CreateBackendEnvironmentResponse', createBackendEnvironmentResponse_backendEnvironment - Describes the backend environment for an Amplify app.
Response Lenses
createBackendEnvironmentResponse_httpStatus :: Lens' CreateBackendEnvironmentResponse Int Source #
The response's http status code.
createBackendEnvironmentResponse_backendEnvironment :: Lens' CreateBackendEnvironmentResponse BackendEnvironment Source #
Describes the backend environment for an Amplify app.