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 |
If no other major or minor versions of an environment template exist, delete the environment template.
Synopsis
- data DeleteEnvironmentTemplate = DeleteEnvironmentTemplate' {}
- newDeleteEnvironmentTemplate :: Text -> DeleteEnvironmentTemplate
- deleteEnvironmentTemplate_name :: Lens' DeleteEnvironmentTemplate Text
- data DeleteEnvironmentTemplateResponse = DeleteEnvironmentTemplateResponse' {}
- newDeleteEnvironmentTemplateResponse :: Int -> DeleteEnvironmentTemplateResponse
- deleteEnvironmentTemplateResponse_environmentTemplate :: Lens' DeleteEnvironmentTemplateResponse (Maybe EnvironmentTemplate)
- deleteEnvironmentTemplateResponse_httpStatus :: Lens' DeleteEnvironmentTemplateResponse Int
Creating a Request
data DeleteEnvironmentTemplate Source #
See: newDeleteEnvironmentTemplate
smart constructor.
Instances
newDeleteEnvironmentTemplate Source #
Create a value of DeleteEnvironmentTemplate
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:name:DeleteEnvironmentTemplate'
, deleteEnvironmentTemplate_name
- The name of the environment template to delete.
Request Lenses
deleteEnvironmentTemplate_name :: Lens' DeleteEnvironmentTemplate Text Source #
The name of the environment template to delete.
Destructuring the Response
data DeleteEnvironmentTemplateResponse Source #
See: newDeleteEnvironmentTemplateResponse
smart constructor.
DeleteEnvironmentTemplateResponse' | |
|
Instances
Eq DeleteEnvironmentTemplateResponse Source # | |
Show DeleteEnvironmentTemplateResponse Source # | |
Generic DeleteEnvironmentTemplateResponse Source # | |
NFData DeleteEnvironmentTemplateResponse Source # | |
Defined in Amazonka.Proton.DeleteEnvironmentTemplate rnf :: DeleteEnvironmentTemplateResponse -> () # | |
type Rep DeleteEnvironmentTemplateResponse Source # | |
Defined in Amazonka.Proton.DeleteEnvironmentTemplate type Rep DeleteEnvironmentTemplateResponse = D1 ('MetaData "DeleteEnvironmentTemplateResponse" "Amazonka.Proton.DeleteEnvironmentTemplate" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "DeleteEnvironmentTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "environmentTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnvironmentTemplate)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteEnvironmentTemplateResponse Source #
Create a value of DeleteEnvironmentTemplateResponse
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:environmentTemplate:DeleteEnvironmentTemplateResponse'
, deleteEnvironmentTemplateResponse_environmentTemplate
- The environment template detail data that's returned by AWS Proton.
$sel:httpStatus:DeleteEnvironmentTemplateResponse'
, deleteEnvironmentTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
deleteEnvironmentTemplateResponse_environmentTemplate :: Lens' DeleteEnvironmentTemplateResponse (Maybe EnvironmentTemplate) Source #
The environment template detail data that's returned by AWS Proton.
deleteEnvironmentTemplateResponse_httpStatus :: Lens' DeleteEnvironmentTemplateResponse Int Source #
The response's http status code.