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 |
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.
CreateBackendEnvironment' | |
|
Instances
newCreateBackendEnvironment Source #
:: Text | |
-> Text | |
-> CreateBackendEnvironment |
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:
$sel:deploymentArtifacts:CreateBackendEnvironment'
, createBackendEnvironment_deploymentArtifacts
- The name of deployment artifacts.
$sel:stackName:CreateBackendEnvironment'
, createBackendEnvironment_stackName
- The AWS CloudFormation stack name of a backend environment.
$sel:appId:CreateBackendEnvironment'
, createBackendEnvironment_appId
- The unique ID for an Amplify app.
$sel:environmentName: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.
CreateBackendEnvironmentResponse' | |
|
Instances
Eq CreateBackendEnvironmentResponse Source # | |
Read CreateBackendEnvironmentResponse Source # | |
Show CreateBackendEnvironmentResponse Source # | |
Defined in Amazonka.Amplify.CreateBackendEnvironment | |
Generic CreateBackendEnvironmentResponse Source # | |
NFData CreateBackendEnvironmentResponse Source # | |
Defined in Amazonka.Amplify.CreateBackendEnvironment rnf :: CreateBackendEnvironmentResponse -> () # | |
type Rep CreateBackendEnvironmentResponse Source # | |
Defined in Amazonka.Amplify.CreateBackendEnvironment type Rep CreateBackendEnvironmentResponse = D1 ('MetaData "CreateBackendEnvironmentResponse" "Amazonka.Amplify.CreateBackendEnvironment" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "CreateBackendEnvironmentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "backendEnvironment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BackendEnvironment))) |
newCreateBackendEnvironmentResponse Source #
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.