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 a service template.
Synopsis
- data UpdateServiceTemplate = UpdateServiceTemplate' {
- displayName :: Maybe (Sensitive Text)
- description :: Maybe (Sensitive Text)
- name :: Text
- newUpdateServiceTemplate :: Text -> UpdateServiceTemplate
- updateServiceTemplate_displayName :: Lens' UpdateServiceTemplate (Maybe Text)
- updateServiceTemplate_description :: Lens' UpdateServiceTemplate (Maybe Text)
- updateServiceTemplate_name :: Lens' UpdateServiceTemplate Text
- data UpdateServiceTemplateResponse = UpdateServiceTemplateResponse' {}
- newUpdateServiceTemplateResponse :: Int -> ServiceTemplate -> UpdateServiceTemplateResponse
- updateServiceTemplateResponse_httpStatus :: Lens' UpdateServiceTemplateResponse Int
- updateServiceTemplateResponse_serviceTemplate :: Lens' UpdateServiceTemplateResponse ServiceTemplate
Creating a Request
data UpdateServiceTemplate Source #
See: newUpdateServiceTemplate
smart constructor.
UpdateServiceTemplate' | |
|
Instances
newUpdateServiceTemplate Source #
Create a value of UpdateServiceTemplate
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:UpdateServiceTemplate'
, updateServiceTemplate_displayName
- The name of the service template to update as displayed in the developer
interface.
$sel:description:UpdateServiceTemplate'
, updateServiceTemplate_description
- A description of the service template update.
$sel:name:UpdateServiceTemplate'
, updateServiceTemplate_name
- The name of the service template to update.
Request Lenses
updateServiceTemplate_displayName :: Lens' UpdateServiceTemplate (Maybe Text) Source #
The name of the service template to update as displayed in the developer interface.
updateServiceTemplate_description :: Lens' UpdateServiceTemplate (Maybe Text) Source #
A description of the service template update.
updateServiceTemplate_name :: Lens' UpdateServiceTemplate Text Source #
The name of the service template to update.
Destructuring the Response
data UpdateServiceTemplateResponse Source #
See: newUpdateServiceTemplateResponse
smart constructor.
UpdateServiceTemplateResponse' | |
|
Instances
newUpdateServiceTemplateResponse Source #
Create a value of UpdateServiceTemplateResponse
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:UpdateServiceTemplateResponse'
, updateServiceTemplateResponse_httpStatus
- The response's http status code.
$sel:serviceTemplate:UpdateServiceTemplateResponse'
, updateServiceTemplateResponse_serviceTemplate
- The service template detail data that's returned by AWS Proton.
Response Lenses
updateServiceTemplateResponse_httpStatus :: Lens' UpdateServiceTemplateResponse Int Source #
The response's http status code.
updateServiceTemplateResponse_serviceTemplate :: Lens' UpdateServiceTemplateResponse ServiceTemplate Source #
The service template detail data that's returned by AWS Proton.