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 |
Create a service template. The administrator creates a service template to define standardized infrastructure and an optional CICD service pipeline. Developers, in turn, select the service template from AWS Proton. If the selected service template includes a service pipeline definition, they provide a link to their source code repository. AWS Proton then deploys and manages the infrastructure defined by the selected service template. For more information, see Service Templates in the AWS Proton Administrator Guide.
Synopsis
- data CreateServiceTemplate = CreateServiceTemplate' {
- displayName :: Maybe (Sensitive Text)
- encryptionKey :: Maybe Text
- pipelineProvisioning :: Maybe Provisioning
- description :: Maybe (Sensitive Text)
- tags :: Maybe [Tag]
- name :: Text
- newCreateServiceTemplate :: Text -> CreateServiceTemplate
- createServiceTemplate_displayName :: Lens' CreateServiceTemplate (Maybe Text)
- createServiceTemplate_encryptionKey :: Lens' CreateServiceTemplate (Maybe Text)
- createServiceTemplate_pipelineProvisioning :: Lens' CreateServiceTemplate (Maybe Provisioning)
- createServiceTemplate_description :: Lens' CreateServiceTemplate (Maybe Text)
- createServiceTemplate_tags :: Lens' CreateServiceTemplate (Maybe [Tag])
- createServiceTemplate_name :: Lens' CreateServiceTemplate Text
- data CreateServiceTemplateResponse = CreateServiceTemplateResponse' {}
- newCreateServiceTemplateResponse :: Int -> ServiceTemplate -> CreateServiceTemplateResponse
- createServiceTemplateResponse_httpStatus :: Lens' CreateServiceTemplateResponse Int
- createServiceTemplateResponse_serviceTemplate :: Lens' CreateServiceTemplateResponse ServiceTemplate
Creating a Request
data CreateServiceTemplate Source #
See: newCreateServiceTemplate
smart constructor.
CreateServiceTemplate' | |
|
Instances
newCreateServiceTemplate Source #
Create a value of CreateServiceTemplate
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:CreateServiceTemplate'
, createServiceTemplate_displayName
- The name of the service template as displayed in the developer
interface.
$sel:encryptionKey:CreateServiceTemplate'
, createServiceTemplate_encryptionKey
- A customer provided encryption key that's used to encrypt data.
$sel:pipelineProvisioning:CreateServiceTemplate'
, createServiceTemplate_pipelineProvisioning
- AWS Proton includes a service pipeline for your service by default. When
included, this parameter indicates that an AWS Proton service pipeline
won't be included for your service. Once specified, this parameter
can't be changed. For more information, see
Service template bundles
in the AWS Proton Administrator Guide.
$sel:description:CreateServiceTemplate'
, createServiceTemplate_description
- A description of the service template.
$sel:tags:CreateServiceTemplate'
, createServiceTemplate_tags
- Create tags for your service template. For more information, see /AWS
Proton resources and tagging/ in the
AWS Proton Administrator Guide
or
AWS Proton User Guide.
$sel:name:CreateServiceTemplate'
, createServiceTemplate_name
- The name of the service template.
Request Lenses
createServiceTemplate_displayName :: Lens' CreateServiceTemplate (Maybe Text) Source #
The name of the service template as displayed in the developer interface.
createServiceTemplate_encryptionKey :: Lens' CreateServiceTemplate (Maybe Text) Source #
A customer provided encryption key that's used to encrypt data.
createServiceTemplate_pipelineProvisioning :: Lens' CreateServiceTemplate (Maybe Provisioning) Source #
AWS Proton includes a service pipeline for your service by default. When included, this parameter indicates that an AWS Proton service pipeline won't be included for your service. Once specified, this parameter can't be changed. For more information, see Service template bundles in the AWS Proton Administrator Guide.
createServiceTemplate_description :: Lens' CreateServiceTemplate (Maybe Text) Source #
A description of the service template.
createServiceTemplate_tags :: Lens' CreateServiceTemplate (Maybe [Tag]) Source #
Create tags for your service template. For more information, see /AWS Proton resources and tagging/ in the AWS Proton Administrator Guide or AWS Proton User Guide.
createServiceTemplate_name :: Lens' CreateServiceTemplate Text Source #
The name of the service template.
Destructuring the Response
data CreateServiceTemplateResponse Source #
See: newCreateServiceTemplateResponse
smart constructor.
CreateServiceTemplateResponse' | |
|
Instances
newCreateServiceTemplateResponse Source #
Create a value of CreateServiceTemplateResponse
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:CreateServiceTemplateResponse'
, createServiceTemplateResponse_httpStatus
- The response's http status code.
$sel:serviceTemplate:CreateServiceTemplateResponse'
, createServiceTemplateResponse_serviceTemplate
- The service template detail data that's returned by AWS Proton.
Response Lenses
createServiceTemplateResponse_httpStatus :: Lens' CreateServiceTemplateResponse Int Source #
The response's http status code.
createServiceTemplateResponse_serviceTemplate :: Lens' CreateServiceTemplateResponse ServiceTemplate Source #
The service template detail data that's returned by AWS Proton.