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 |
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 toCUSTOMER_MANAGED
. For more information, see Register and publish an environment template in the Proton User Guide.
Synopsis
- data CreateEnvironmentTemplate = CreateEnvironmentTemplate' {
- description :: Maybe (Sensitive Text)
- displayName :: Maybe (Sensitive Text)
- encryptionKey :: Maybe Text
- provisioning :: Maybe Provisioning
- tags :: Maybe [Tag]
- name :: Text
- newCreateEnvironmentTemplate :: Text -> CreateEnvironmentTemplate
- createEnvironmentTemplate_description :: Lens' CreateEnvironmentTemplate (Maybe Text)
- createEnvironmentTemplate_displayName :: Lens' CreateEnvironmentTemplate (Maybe Text)
- createEnvironmentTemplate_encryptionKey :: Lens' CreateEnvironmentTemplate (Maybe Text)
- createEnvironmentTemplate_provisioning :: Lens' CreateEnvironmentTemplate (Maybe Provisioning)
- 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:
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_description :: Lens' CreateEnvironmentTemplate (Maybe Text) Source #
A description of the environment template.
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.
createEnvironmentTemplate_name :: Lens' CreateEnvironmentTemplate Text Source #
The name of the environment template.
Destructuring the Response
data CreateEnvironmentTemplateResponse Source #
See: newCreateEnvironmentTemplateResponse
smart constructor.
CreateEnvironmentTemplateResponse' | |
|
Instances
Generic CreateEnvironmentTemplateResponse Source # | |
Show CreateEnvironmentTemplateResponse Source # | |
NFData CreateEnvironmentTemplateResponse Source # | |
Defined in Amazonka.Proton.CreateEnvironmentTemplate rnf :: CreateEnvironmentTemplateResponse -> () # | |
Eq CreateEnvironmentTemplateResponse Source # | |
type Rep CreateEnvironmentTemplateResponse Source # | |
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
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 Proton.