Struct aws_sdk_quicksight::input::DescribeTemplateInput
source · #[non_exhaustive]pub struct DescribeTemplateInput { /* private fields */ }Implementations§
source§impl DescribeTemplateInput
impl DescribeTemplateInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeTemplate, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeTemplate, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeTemplate>
Examples found in repository?
src/client.rs (line 8300)
8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeTemplate,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeTemplateError>,
> {
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::DescribeTemplateOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeTemplateError>,
> {
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 DescribeTemplateInput.
source§impl DescribeTemplateInput
impl DescribeTemplateInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that contains the template that you're describing.
sourcepub fn template_id(&self) -> Option<&str>
pub fn template_id(&self) -> Option<&str>
The ID for the template.
sourcepub fn version_number(&self) -> Option<i64>
pub fn version_number(&self) -> Option<i64>
(Optional) The number for the version to describe. If a VersionNumber parameter value isn't provided, the latest version of the template is described.
sourcepub fn alias_name(&self) -> Option<&str>
pub fn alias_name(&self) -> Option<&str>
The alias of the template that you want to describe. If you name a specific alias, you describe the version that the alias points to. You can specify the latest version of the template by providing the keyword $LATEST in the AliasName parameter. The keyword $PUBLISHED doesn't apply to templates.
Trait Implementations§
source§impl Clone for DescribeTemplateInput
impl Clone for DescribeTemplateInput
source§fn clone(&self) -> DescribeTemplateInput
fn clone(&self) -> DescribeTemplateInput
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