Struct aws_sdk_proton::client::fluent_builders::CreateServiceTemplate [−][src]
pub struct CreateServiceTemplate<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to CreateServiceTemplate.
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 Proton. If the selected service template includes a service pipeline definition, they provide a link to their source code repository. Proton then deploys and manages the infrastructure defined by the selected service template. For more information, see Service Templates in the Proton Administrator Guide.
Implementations
impl<C, M, R> CreateServiceTemplate<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateServiceTemplate<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateServiceTemplateOutput, SdkError<CreateServiceTemplateError>> where
R::Policy: SmithyRetryPolicy<CreateServiceTemplateInputOperationOutputAlias, CreateServiceTemplateOutput, CreateServiceTemplateError, CreateServiceTemplateInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateServiceTemplateOutput, SdkError<CreateServiceTemplateError>> where
R::Policy: SmithyRetryPolicy<CreateServiceTemplateInputOperationOutputAlias, CreateServiceTemplateOutput, CreateServiceTemplateError, CreateServiceTemplateInputOperationRetryAlias>,
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 name of the service template as displayed in the developer interface.
The name of the service template as displayed in the developer interface.
A description of the service template.
A description of the service template.
A customer provided encryption key that's used to encrypt data.
A customer provided encryption key that's used to encrypt data.
Proton includes a service pipeline for your service by default. When included, this parameter indicates that an 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 Proton Administrator Guide.
Proton includes a service pipeline for your service by default. When included, this parameter indicates that an 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 Proton Administrator Guide.
Appends an item to tags.
To override the contents of this collection use set_tags.
Create tags for your service template. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
Create tags for your service 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 CreateServiceTemplate<C, M, R>
impl<C, M, R> Send for CreateServiceTemplate<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateServiceTemplate<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateServiceTemplate<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateServiceTemplate<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
