#[non_exhaustive]pub struct GetMaintenanceWindowExecutionTaskInput { /* private fields */ }
Implementations§
source§impl GetMaintenanceWindowExecutionTaskInput
impl GetMaintenanceWindowExecutionTaskInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetMaintenanceWindowExecutionTask, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetMaintenanceWindowExecutionTask, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetMaintenanceWindowExecutionTask
>
Examples found in repository?
src/client.rs (line 10839)
10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetMaintenanceWindowExecutionTask,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GetMaintenanceWindowExecutionTaskError>,
> {
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::GetMaintenanceWindowExecutionTaskOutput,
aws_smithy_http::result::SdkError<crate::error::GetMaintenanceWindowExecutionTaskError>,
> {
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 GetMaintenanceWindowExecutionTaskInput
.
Trait Implementations§
source§impl Clone for GetMaintenanceWindowExecutionTaskInput
impl Clone for GetMaintenanceWindowExecutionTaskInput
source§fn clone(&self) -> GetMaintenanceWindowExecutionTaskInput
fn clone(&self) -> GetMaintenanceWindowExecutionTaskInput
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