amazonka-proton-2.0: Amazon Proton SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Proton.CreateEnvironmentTemplate

Description

Create an environment template for Proton. For more information, see Environment Templates in the Proton User Guide.

You can create an environment template in one of the two following ways:

  • Register and publish a standard environment template that instructs Proton to deploy and manage environment infrastructure.
  • Register and publish a customer managed environment template that connects Proton to your existing provisioned infrastructure that you manage. Proton doesn't manage your existing provisioned infrastructure. To create an environment template for customer provisioned and managed infrastructure, include the provisioning parameter and set the value to CUSTOMER_MANAGED. For more information, see Register and publish an environment template in the Proton User Guide.
Synopsis

Creating a Request

data CreateEnvironmentTemplate Source #

See: newCreateEnvironmentTemplate smart constructor.

Constructors

CreateEnvironmentTemplate' 

Fields

Instances

Instances details
ToJSON CreateEnvironmentTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplate

ToHeaders CreateEnvironmentTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplate

ToPath CreateEnvironmentTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplate

ToQuery CreateEnvironmentTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplate

AWSRequest CreateEnvironmentTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplate

Generic CreateEnvironmentTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplate

Associated Types

type Rep CreateEnvironmentTemplate :: Type -> Type #

Show CreateEnvironmentTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplate

NFData CreateEnvironmentTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplate

Eq CreateEnvironmentTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplate

Hashable CreateEnvironmentTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplate

type AWSResponse CreateEnvironmentTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplate

type Rep CreateEnvironmentTemplate Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplate

type Rep CreateEnvironmentTemplate = D1 ('MetaData "CreateEnvironmentTemplate" "Amazonka.Proton.CreateEnvironmentTemplate" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "CreateEnvironmentTemplate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "encryptionKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "provisioning") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Provisioning)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateEnvironmentTemplate Source #

Create a value of CreateEnvironmentTemplate 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:

CreateEnvironmentTemplate, createEnvironmentTemplate_description - A description of the environment template.

CreateEnvironmentTemplate, createEnvironmentTemplate_displayName - The environment template name as displayed in the developer interface.

CreateEnvironmentTemplate, createEnvironmentTemplate_encryptionKey - A customer provided encryption key that Proton uses to encrypt data.

CreateEnvironmentTemplate, createEnvironmentTemplate_provisioning - When included, indicates that the environment template is for customer provisioned and managed infrastructure.

$sel:tags:CreateEnvironmentTemplate', createEnvironmentTemplate_tags - An optional list of metadata items that you can associate with the Proton environment template. A tag is a key-value pair.

For more information, see Proton resources and tagging in the Proton User Guide.

CreateEnvironmentTemplate, createEnvironmentTemplate_name - The name of the environment template.

Request Lenses

createEnvironmentTemplate_displayName :: Lens' CreateEnvironmentTemplate (Maybe Text) Source #

The environment template name as displayed in the developer interface.

createEnvironmentTemplate_encryptionKey :: Lens' CreateEnvironmentTemplate (Maybe Text) Source #

A customer provided encryption key that Proton uses to encrypt data.

createEnvironmentTemplate_provisioning :: Lens' CreateEnvironmentTemplate (Maybe Provisioning) Source #

When included, indicates that the environment template is for customer provisioned and managed infrastructure.

createEnvironmentTemplate_tags :: Lens' CreateEnvironmentTemplate (Maybe [Tag]) Source #

An optional list of metadata items that you can associate with the Proton environment template. A tag is a key-value pair.

For more information, see Proton resources and tagging in the Proton User Guide.

Destructuring the Response

data CreateEnvironmentTemplateResponse Source #

See: newCreateEnvironmentTemplateResponse smart constructor.

Constructors

CreateEnvironmentTemplateResponse' 

Fields

Instances

Instances details
Generic CreateEnvironmentTemplateResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplate

Associated Types

type Rep CreateEnvironmentTemplateResponse :: Type -> Type #

Show CreateEnvironmentTemplateResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplate

NFData CreateEnvironmentTemplateResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplate

Eq CreateEnvironmentTemplateResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplate

type Rep CreateEnvironmentTemplateResponse Source # 
Instance details

Defined in Amazonka.Proton.CreateEnvironmentTemplate

type Rep CreateEnvironmentTemplateResponse = D1 ('MetaData "CreateEnvironmentTemplateResponse" "Amazonka.Proton.CreateEnvironmentTemplate" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "CreateEnvironmentTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "environmentTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EnvironmentTemplate)))

newCreateEnvironmentTemplateResponse Source #

Create a value of CreateEnvironmentTemplateResponse 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:CreateEnvironmentTemplateResponse', createEnvironmentTemplateResponse_httpStatus - The response's http status code.

$sel:environmentTemplate:CreateEnvironmentTemplateResponse', createEnvironmentTemplateResponse_environmentTemplate - The environment template detail data that's returned by Proton.

Response Lenses