#[non_exhaustive]pub struct DescribeProvisioningTemplateVersionInput { /* private fields */ }
Implementations§
source§impl DescribeProvisioningTemplateVersionInput
impl DescribeProvisioningTemplateVersionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeProvisioningTemplateVersion, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeProvisioningTemplateVersion, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeProvisioningTemplateVersion
>
Examples found in repository?
src/client.rs (line 13320)
13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeProvisioningTemplateVersion,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::DescribeProvisioningTemplateVersionError,
>,
> {
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::DescribeProvisioningTemplateVersionOutput,
aws_smithy_http::result::SdkError<
crate::error::DescribeProvisioningTemplateVersionError,
>,
> {
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 DescribeProvisioningTemplateVersionInput
.
source§impl DescribeProvisioningTemplateVersionInput
impl DescribeProvisioningTemplateVersionInput
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The template name.
sourcepub fn version_id(&self) -> Option<i32>
pub fn version_id(&self) -> Option<i32>
The provisioning template version ID.
Trait Implementations§
source§impl Clone for DescribeProvisioningTemplateVersionInput
impl Clone for DescribeProvisioningTemplateVersionInput
source§fn clone(&self) -> DescribeProvisioningTemplateVersionInput
fn clone(&self) -> DescribeProvisioningTemplateVersionInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more