#[non_exhaustive]pub struct GetMaintenanceWindowExecutionTaskInvocationInput { /* private fields */ }
Implementations§
source§impl GetMaintenanceWindowExecutionTaskInvocationInput
impl GetMaintenanceWindowExecutionTaskInvocationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetMaintenanceWindowExecutionTaskInvocation, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetMaintenanceWindowExecutionTaskInvocation, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetMaintenanceWindowExecutionTaskInvocation
>
Examples found in repository?
src/client.rs (line 10927)
10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetMaintenanceWindowExecutionTaskInvocation,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::GetMaintenanceWindowExecutionTaskInvocationError,
>,
> {
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::GetMaintenanceWindowExecutionTaskInvocationOutput,
aws_smithy_http::result::SdkError<
crate::error::GetMaintenanceWindowExecutionTaskInvocationError,
>,
> {
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 GetMaintenanceWindowExecutionTaskInvocationInput
.
source§impl GetMaintenanceWindowExecutionTaskInvocationInput
impl GetMaintenanceWindowExecutionTaskInvocationInput
sourcepub fn window_execution_id(&self) -> Option<&str>
pub fn window_execution_id(&self) -> Option<&str>
The ID of the maintenance window execution for which the task is a part.
sourcepub fn task_id(&self) -> Option<&str>
pub fn task_id(&self) -> Option<&str>
The ID of the specific task in the maintenance window task that should be retrieved.
sourcepub fn invocation_id(&self) -> Option<&str>
pub fn invocation_id(&self) -> Option<&str>
The invocation ID to retrieve.
Trait Implementations§
source§impl Clone for GetMaintenanceWindowExecutionTaskInvocationInput
impl Clone for GetMaintenanceWindowExecutionTaskInvocationInput
source§fn clone(&self) -> GetMaintenanceWindowExecutionTaskInvocationInput
fn clone(&self) -> GetMaintenanceWindowExecutionTaskInvocationInput
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