#[non_exhaustive]pub struct DescribeManagedJobTemplateInput { /* private fields */ }
Implementations§
source§impl DescribeManagedJobTemplateInput
impl DescribeManagedJobTemplateInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeManagedJobTemplate, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeManagedJobTemplate, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeManagedJobTemplate
>
Examples found in repository?
src/client.rs (line 13077)
13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeManagedJobTemplate,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeManagedJobTemplateError>,
> {
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::DescribeManagedJobTemplateOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeManagedJobTemplateError>,
> {
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 DescribeManagedJobTemplateInput
.
source§impl DescribeManagedJobTemplateInput
impl DescribeManagedJobTemplateInput
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The unique name of a managed job template, which is required.
sourcepub fn template_version(&self) -> Option<&str>
pub fn template_version(&self) -> Option<&str>
An optional parameter to specify version of a managed template. If not specified, the pre-defined default version is returned.
Trait Implementations§
source§impl Clone for DescribeManagedJobTemplateInput
impl Clone for DescribeManagedJobTemplateInput
source§fn clone(&self) -> DescribeManagedJobTemplateInput
fn clone(&self) -> DescribeManagedJobTemplateInput
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