Struct aws_sdk_proton::client::fluent_builders::CreateEnvironmentTemplate [−][src]
pub struct CreateEnvironmentTemplate<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to CreateEnvironmentTemplate.
Create an environment template for Proton. For more information, see Environment Templates in the 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 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
provisioningparameter and set the value toCUSTOMER_MANAGED. For more information, see Register and publish an environment template in the Proton Administrator Guide.
Implementations
impl<C, M, R> CreateEnvironmentTemplate<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateEnvironmentTemplate<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateEnvironmentTemplateOutput, SdkError<CreateEnvironmentTemplateError>> where
R::Policy: SmithyRetryPolicy<CreateEnvironmentTemplateInputOperationOutputAlias, CreateEnvironmentTemplateOutput, CreateEnvironmentTemplateError, CreateEnvironmentTemplateInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateEnvironmentTemplateOutput, SdkError<CreateEnvironmentTemplateError>> where
R::Policy: SmithyRetryPolicy<CreateEnvironmentTemplateInputOperationOutputAlias, CreateEnvironmentTemplateOutput, CreateEnvironmentTemplateError, CreateEnvironmentTemplateInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The environment template name as displayed in the developer interface.
The environment template name as displayed in the developer interface.
A description of the environment template.
A description of the environment template.
A customer provided encryption key that Proton uses to encrypt data.
A customer provided encryption key that Proton uses to encrypt data.
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
Appends an item to tags.
To override the contents of this collection use set_tags.
Create tags for your environment template. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
Create tags for your environment template. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateEnvironmentTemplate<C, M, R>
impl<C, M, R> Send for CreateEnvironmentTemplate<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateEnvironmentTemplate<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateEnvironmentTemplate<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateEnvironmentTemplate<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
