Struct aws_sdk_proton::input::CreateServiceTemplateInput
source · #[non_exhaustive]pub struct CreateServiceTemplateInput { /* private fields */ }
Implementations§
source§impl CreateServiceTemplateInput
impl CreateServiceTemplateInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateServiceTemplate, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateServiceTemplate, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateServiceTemplate
>
Examples found in repository?
2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateServiceTemplate,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateServiceTemplateError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::CreateServiceTemplateOutput,
aws_smithy_http::result::SdkError<crate::error::CreateServiceTemplateError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateServiceTemplateInput
.
source§impl CreateServiceTemplateInput
impl CreateServiceTemplateInput
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The name of the service template as displayed in the developer interface.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the service template.
sourcepub fn encryption_key(&self) -> Option<&str>
pub fn encryption_key(&self) -> Option<&str>
A customer provided encryption key that's used to encrypt data.
sourcepub fn pipeline_provisioning(&self) -> Option<&Provisioning>
pub fn pipeline_provisioning(&self) -> Option<&Provisioning>
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.
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 CreateServiceTemplateInput
impl Clone for CreateServiceTemplateInput
source§fn clone(&self) -> CreateServiceTemplateInput
fn clone(&self) -> CreateServiceTemplateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more