Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Update a service template.
Synopsis
- data UpdateServiceTemplate = UpdateServiceTemplate' {
- description :: Maybe (Sensitive Text)
- displayName :: Maybe (Sensitive Text)
- name :: Text
- newUpdateServiceTemplate :: Text -> UpdateServiceTemplate
- updateServiceTemplate_description :: Lens' UpdateServiceTemplate (Maybe Text)
- updateServiceTemplate_displayName :: 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:
UpdateServiceTemplate
, updateServiceTemplate_description
- A description of the service template update.
UpdateServiceTemplate
, updateServiceTemplate_displayName
- The name of the service template to update that's displayed in the
developer interface.
UpdateServiceTemplate
, updateServiceTemplate_name
- The name of the service template to update.
Request Lenses
updateServiceTemplate_description :: Lens' UpdateServiceTemplate (Maybe Text) Source #
A description of the service template update.
updateServiceTemplate_displayName :: Lens' UpdateServiceTemplate (Maybe Text) Source #
The name of the service template to update that's displayed in the developer interface.
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 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 Proton.