pub struct CreateServiceTemplate { /* private fields */ }
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 CI/CD 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 Proton templates in the Proton User Guide.
Implementations§
source§impl CreateServiceTemplate
impl CreateServiceTemplate
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateServiceTemplate, AwsResponseRetryClassifier>, SdkError<CreateServiceTemplateError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateServiceTemplate, AwsResponseRetryClassifier>, SdkError<CreateServiceTemplateError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateServiceTemplateOutput, SdkError<CreateServiceTemplateError>>
pub async fn send(
self
) -> Result<CreateServiceTemplateOutput, SdkError<CreateServiceTemplateError>>
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.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The name of the service template as displayed in the developer interface.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The name of the service template as displayed in the developer interface.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the service template.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the service template.
sourcepub fn encryption_key(self, input: impl Into<String>) -> Self
pub fn encryption_key(self, input: impl Into<String>) -> Self
A customer provided encryption key that's used to encrypt data.
sourcepub fn set_encryption_key(self, input: Option<String>) -> Self
pub fn set_encryption_key(self, input: Option<String>) -> Self
A customer provided encryption key that's used to encrypt data.
sourcepub fn pipeline_provisioning(self, input: Provisioning) -> Self
pub fn pipeline_provisioning(self, input: Provisioning) -> Self
By default, Proton provides a service pipeline for your service. When this parameter is included, it indicates that an Proton service pipeline isn't provided for your service. After it's included, it can't be changed. For more information, see Template bundles in the Proton User Guide.
sourcepub fn set_pipeline_provisioning(self, input: Option<Provisioning>) -> Self
pub fn set_pipeline_provisioning(self, input: Option<Provisioning>) -> Self
By default, Proton provides a service pipeline for your service. When this parameter is included, it indicates that an Proton service pipeline isn't provided for your service. After it's included, it can't be changed. For more information, see Template bundles in the Proton User Guide.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
Trait Implementations§
source§impl Clone for CreateServiceTemplate
impl Clone for CreateServiceTemplate
source§fn clone(&self) -> CreateServiceTemplate
fn clone(&self) -> CreateServiceTemplate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more