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 |
Deletes a backend environment for an Amplify app.
Synopsis
- data DeleteBackendEnvironment = DeleteBackendEnvironment' {
- appId :: Text
- environmentName :: Text
- newDeleteBackendEnvironment :: Text -> Text -> DeleteBackendEnvironment
- deleteBackendEnvironment_appId :: Lens' DeleteBackendEnvironment Text
- deleteBackendEnvironment_environmentName :: Lens' DeleteBackendEnvironment Text
- data DeleteBackendEnvironmentResponse = DeleteBackendEnvironmentResponse' {}
- newDeleteBackendEnvironmentResponse :: Int -> BackendEnvironment -> DeleteBackendEnvironmentResponse
- deleteBackendEnvironmentResponse_httpStatus :: Lens' DeleteBackendEnvironmentResponse Int
- deleteBackendEnvironmentResponse_backendEnvironment :: Lens' DeleteBackendEnvironmentResponse BackendEnvironment
Creating a Request
data DeleteBackendEnvironment Source #
The request structure for the delete backend environment request.
See: newDeleteBackendEnvironment
smart constructor.
DeleteBackendEnvironment' | |
|
Instances
newDeleteBackendEnvironment Source #
:: Text | |
-> Text | |
-> DeleteBackendEnvironment |
Create a value of DeleteBackendEnvironment
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:DeleteBackendEnvironment'
, deleteBackendEnvironment_appId
- The unique ID of an Amplify app.
$sel:environmentName:DeleteBackendEnvironment'
, deleteBackendEnvironment_environmentName
- The name of a backend environment of an Amplify app.
Request Lenses
deleteBackendEnvironment_appId :: Lens' DeleteBackendEnvironment Text Source #
The unique ID of an Amplify app.
deleteBackendEnvironment_environmentName :: Lens' DeleteBackendEnvironment Text Source #
The name of a backend environment of an Amplify app.
Destructuring the Response
data DeleteBackendEnvironmentResponse Source #
The result structure of the delete backend environment result.
See: newDeleteBackendEnvironmentResponse
smart constructor.
DeleteBackendEnvironmentResponse' | |
|
Instances
Eq DeleteBackendEnvironmentResponse Source # | |
Read DeleteBackendEnvironmentResponse Source # | |
Show DeleteBackendEnvironmentResponse Source # | |
Defined in Amazonka.Amplify.DeleteBackendEnvironment | |
Generic DeleteBackendEnvironmentResponse Source # | |
NFData DeleteBackendEnvironmentResponse Source # | |
Defined in Amazonka.Amplify.DeleteBackendEnvironment rnf :: DeleteBackendEnvironmentResponse -> () # | |
type Rep DeleteBackendEnvironmentResponse Source # | |
Defined in Amazonka.Amplify.DeleteBackendEnvironment type Rep DeleteBackendEnvironmentResponse = D1 ('MetaData "DeleteBackendEnvironmentResponse" "Amazonka.Amplify.DeleteBackendEnvironment" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "DeleteBackendEnvironmentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "backendEnvironment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BackendEnvironment))) |
newDeleteBackendEnvironmentResponse Source #
Create a value of DeleteBackendEnvironmentResponse
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:DeleteBackendEnvironmentResponse'
, deleteBackendEnvironmentResponse_httpStatus
- The response's http status code.
$sel:backendEnvironment:DeleteBackendEnvironmentResponse'
, deleteBackendEnvironmentResponse_backendEnvironment
- Describes the backend environment for an Amplify app.
Response Lenses
deleteBackendEnvironmentResponse_httpStatus :: Lens' DeleteBackendEnvironmentResponse Int Source #
The response's http status code.
deleteBackendEnvironmentResponse_backendEnvironment :: Lens' DeleteBackendEnvironmentResponse BackendEnvironment Source #
Describes the backend environment for an Amplify app.