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 an environment template for AWS Proton. For more information, see Environment Templates in the AWS Proton Administrator Guide.
You can create an environment template in one of the two following ways:
- Register and publish a standard environment template that instructs AWS Proton to deploy and manage environment infrastructure.
- Register and publish a customer managed environment template that
connects AWS Proton to your existing provisioned infrastructure that
you manage. AWS 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 toCUSTOMER_MANAGED
. For more information, see Register and publish an environment template in the AWS Proton Administrator Guide.
Synopsis
- data CreateEnvironmentTemplate = CreateEnvironmentTemplate' {
- provisioning :: Maybe Provisioning
- displayName :: Maybe (Sensitive Text)
- encryptionKey :: Maybe Text
- description :: Maybe (Sensitive Text)
- tags :: Maybe [Tag]
- name :: Text
- newCreateEnvironmentTemplate :: Text -> CreateEnvironmentTemplate
- createEnvironmentTemplate_provisioning :: Lens' CreateEnvironmentTemplate (Maybe Provisioning)
- createEnvironmentTemplate_displayName :: Lens' CreateEnvironmentTemplate (Maybe Text)
- createEnvironmentTemplate_encryptionKey :: Lens' CreateEnvironmentTemplate (Maybe Text)
- createEnvironmentTemplate_description :: Lens' CreateEnvironmentTemplate (Maybe Text)
- createEnvironmentTemplate_tags :: Lens' CreateEnvironmentTemplate (Maybe [Tag])
- createEnvironmentTemplate_name :: Lens' CreateEnvironmentTemplate Text
- data CreateEnvironmentTemplateResponse = CreateEnvironmentTemplateResponse' {}
- newCreateEnvironmentTemplateResponse :: Int -> EnvironmentTemplate -> CreateEnvironmentTemplateResponse
- createEnvironmentTemplateResponse_httpStatus :: Lens' CreateEnvironmentTemplateResponse Int
- createEnvironmentTemplateResponse_environmentTemplate :: Lens' CreateEnvironmentTemplateResponse EnvironmentTemplate
Creating a Request
data CreateEnvironmentTemplate Source #
See: newCreateEnvironmentTemplate
smart constructor.
CreateEnvironmentTemplate' | |
|
Instances
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:
$sel:provisioning:CreateEnvironmentTemplate'
, createEnvironmentTemplate_provisioning
- When included, indicates that the environment template is for customer
provisioned and managed infrastructure.
$sel:displayName:CreateEnvironmentTemplate'
, createEnvironmentTemplate_displayName
- The environment template name as displayed in the developer interface.
$sel:encryptionKey:CreateEnvironmentTemplate'
, createEnvironmentTemplate_encryptionKey
- A customer provided encryption key that AWS Proton uses to encrypt data.
$sel:description:CreateEnvironmentTemplate'
, createEnvironmentTemplate_description
- A description of the environment template.
$sel:tags:CreateEnvironmentTemplate'
, createEnvironmentTemplate_tags
- Create tags for your environment template. For more information, see
AWS Proton resources and tagging in the
AWS Proton Administrator Guide
or
AWS Proton User Guide.
$sel:name:CreateEnvironmentTemplate'
, createEnvironmentTemplate_name
- The name of the environment template.
Request Lenses
createEnvironmentTemplate_provisioning :: Lens' CreateEnvironmentTemplate (Maybe Provisioning) Source #
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
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 AWS Proton uses to encrypt data.
createEnvironmentTemplate_description :: Lens' CreateEnvironmentTemplate (Maybe Text) Source #
A description of the environment template.
createEnvironmentTemplate_tags :: Lens' CreateEnvironmentTemplate (Maybe [Tag]) Source #
Create tags for your environment template. For more information, see AWS Proton resources and tagging in the AWS Proton Administrator Guide or AWS Proton User Guide.
createEnvironmentTemplate_name :: Lens' CreateEnvironmentTemplate Text Source #
The name of the environment template.
Destructuring the Response
data CreateEnvironmentTemplateResponse Source #
See: newCreateEnvironmentTemplateResponse
smart constructor.
CreateEnvironmentTemplateResponse' | |
|
Instances
Eq CreateEnvironmentTemplateResponse Source # | |
Show CreateEnvironmentTemplateResponse Source # | |
Generic CreateEnvironmentTemplateResponse Source # | |
NFData CreateEnvironmentTemplateResponse Source # | |
Defined in Amazonka.Proton.CreateEnvironmentTemplate rnf :: CreateEnvironmentTemplateResponse -> () # | |
type Rep CreateEnvironmentTemplateResponse Source # | |
Defined in Amazonka.Proton.CreateEnvironmentTemplate type Rep CreateEnvironmentTemplateResponse = D1 ('MetaData "CreateEnvironmentTemplateResponse" "Amazonka.Proton.CreateEnvironmentTemplate" "libZSservicesZSamazonka-protonZSamazonka-proton" '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 AWS Proton.
Response Lenses
createEnvironmentTemplateResponse_httpStatus :: Lens' CreateEnvironmentTemplateResponse Int Source #
The response's http status code.
createEnvironmentTemplateResponse_environmentTemplate :: Lens' CreateEnvironmentTemplateResponse EnvironmentTemplate Source #
The environment template detail data that's returned by AWS Proton.