libZSservicesZSamazonka-protonZSamazonka-proton
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Proton.CreateServiceTemplate

Description

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

Creating a Request

data CreateServiceTemplate Source #

See: newCreateServiceTemplate smart constructor.

Constructors

CreateServiceTemplate' 

Fields

Instances

Instances details
Eq CreateServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplate

Show CreateServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplate

Generic CreateServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplate

Associated Types

type Rep CreateServiceTemplate :: Type -> Type #

NFData CreateServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplate

Methods

rnf :: CreateServiceTemplate -> () #

Hashable CreateServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplate

ToJSON CreateServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplate

AWSRequest CreateServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplate

Associated Types

type AWSResponse CreateServiceTemplate #

ToHeaders CreateServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplate

ToPath CreateServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplate

ToQuery CreateServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplate

type Rep CreateServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplate

type Rep CreateServiceTemplate = D1 ('MetaData "CreateServiceTemplate" "Amazonka.Proton.CreateServiceTemplate" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "CreateServiceTemplate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "encryptionKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pipelineProvisioning") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Provisioning)))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplate

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_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.

Destructuring the Response

data CreateServiceTemplateResponse Source #

See: newCreateServiceTemplateResponse smart constructor.

Constructors

CreateServiceTemplateResponse' 

Fields

Instances

Instances details
Eq CreateServiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplate

Show CreateServiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplate

Generic CreateServiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplate

Associated Types

type Rep CreateServiceTemplateResponse :: Type -> Type #

NFData CreateServiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplate

type Rep CreateServiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateServiceTemplate

type Rep CreateServiceTemplateResponse = D1 ('MetaData "CreateServiceTemplateResponse" "Amazonka.Proton.CreateServiceTemplate" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "CreateServiceTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "serviceTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ServiceTemplate)))

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_serviceTemplate :: Lens' CreateServiceTemplateResponse ServiceTemplate Source #

The service template detail data that's returned by AWS Proton.