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 |
Update an environment template.
Synopsis
- data UpdateEnvironmentTemplate = UpdateEnvironmentTemplate' {
- displayName :: Maybe (Sensitive Text)
- description :: Maybe (Sensitive Text)
- name :: Text
- newUpdateEnvironmentTemplate :: Text -> UpdateEnvironmentTemplate
- updateEnvironmentTemplate_displayName :: Lens' UpdateEnvironmentTemplate (Maybe Text)
- updateEnvironmentTemplate_description :: Lens' UpdateEnvironmentTemplate (Maybe Text)
- updateEnvironmentTemplate_name :: Lens' UpdateEnvironmentTemplate Text
- data UpdateEnvironmentTemplateResponse = UpdateEnvironmentTemplateResponse' {}
- newUpdateEnvironmentTemplateResponse :: Int -> EnvironmentTemplate -> UpdateEnvironmentTemplateResponse
- updateEnvironmentTemplateResponse_httpStatus :: Lens' UpdateEnvironmentTemplateResponse Int
- updateEnvironmentTemplateResponse_environmentTemplate :: Lens' UpdateEnvironmentTemplateResponse EnvironmentTemplate
Creating a Request
data UpdateEnvironmentTemplate Source #
See: newUpdateEnvironmentTemplate
smart constructor.
UpdateEnvironmentTemplate' | |
|
Instances
newUpdateEnvironmentTemplate Source #
Create a value of UpdateEnvironmentTemplate
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:displayName:UpdateEnvironmentTemplate'
, updateEnvironmentTemplate_displayName
- The name of the environment template to update as displayed in the
developer interface.
$sel:description:UpdateEnvironmentTemplate'
, updateEnvironmentTemplate_description
- A description of the environment template update.
$sel:name:UpdateEnvironmentTemplate'
, updateEnvironmentTemplate_name
- The name of the environment template to update.
Request Lenses
updateEnvironmentTemplate_displayName :: Lens' UpdateEnvironmentTemplate (Maybe Text) Source #
The name of the environment template to update as displayed in the developer interface.
updateEnvironmentTemplate_description :: Lens' UpdateEnvironmentTemplate (Maybe Text) Source #
A description of the environment template update.
updateEnvironmentTemplate_name :: Lens' UpdateEnvironmentTemplate Text Source #
The name of the environment template to update.
Destructuring the Response
data UpdateEnvironmentTemplateResponse Source #
See: newUpdateEnvironmentTemplateResponse
smart constructor.
UpdateEnvironmentTemplateResponse' | |
|
Instances
Eq UpdateEnvironmentTemplateResponse Source # | |
Show UpdateEnvironmentTemplateResponse Source # | |
Generic UpdateEnvironmentTemplateResponse Source # | |
NFData UpdateEnvironmentTemplateResponse Source # | |
Defined in Amazonka.Proton.UpdateEnvironmentTemplate rnf :: UpdateEnvironmentTemplateResponse -> () # | |
type Rep UpdateEnvironmentTemplateResponse Source # | |
Defined in Amazonka.Proton.UpdateEnvironmentTemplate type Rep UpdateEnvironmentTemplateResponse = D1 ('MetaData "UpdateEnvironmentTemplateResponse" "Amazonka.Proton.UpdateEnvironmentTemplate" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "UpdateEnvironmentTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "environmentTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EnvironmentTemplate))) |
newUpdateEnvironmentTemplateResponse Source #
Create a value of UpdateEnvironmentTemplateResponse
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:UpdateEnvironmentTemplateResponse'
, updateEnvironmentTemplateResponse_httpStatus
- The response's http status code.
$sel:environmentTemplate:UpdateEnvironmentTemplateResponse'
, updateEnvironmentTemplateResponse_environmentTemplate
- The environment template detail data that's returned by AWS Proton.
Response Lenses
updateEnvironmentTemplateResponse_httpStatus :: Lens' UpdateEnvironmentTemplateResponse Int Source #
The response's http status code.
updateEnvironmentTemplateResponse_environmentTemplate :: Lens' UpdateEnvironmentTemplateResponse EnvironmentTemplate Source #
The environment template detail data that's returned by AWS Proton.