#[non_exhaustive]pub struct RecordHandlerProgressInput { /* private fields */ }Implementations§
source§impl RecordHandlerProgressInput
impl RecordHandlerProgressInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RecordHandlerProgress, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RecordHandlerProgress, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<RecordHandlerProgress>
Examples found in repository?
src/client.rs (line 7840)
7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::RecordHandlerProgress,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::RecordHandlerProgressError>,
> {
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::RecordHandlerProgressOutput,
aws_smithy_http::result::SdkError<crate::error::RecordHandlerProgressError>,
> {
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 RecordHandlerProgressInput.
source§impl RecordHandlerProgressInput
impl RecordHandlerProgressInput
sourcepub fn bearer_token(&self) -> Option<&str>
pub fn bearer_token(&self) -> Option<&str>
Reserved for use by the CloudFormation CLI.
sourcepub fn operation_status(&self) -> Option<&OperationStatus>
pub fn operation_status(&self) -> Option<&OperationStatus>
Reserved for use by the CloudFormation CLI.
sourcepub fn current_operation_status(&self) -> Option<&OperationStatus>
pub fn current_operation_status(&self) -> Option<&OperationStatus>
Reserved for use by the CloudFormation CLI.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
Reserved for use by the CloudFormation CLI.
sourcepub fn error_code(&self) -> Option<&HandlerErrorCode>
pub fn error_code(&self) -> Option<&HandlerErrorCode>
Reserved for use by the CloudFormation CLI.
sourcepub fn resource_model(&self) -> Option<&str>
pub fn resource_model(&self) -> Option<&str>
Reserved for use by the CloudFormation CLI.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
Reserved for use by the CloudFormation CLI.
Trait Implementations§
source§impl Clone for RecordHandlerProgressInput
impl Clone for RecordHandlerProgressInput
source§fn clone(&self) -> RecordHandlerProgressInput
fn clone(&self) -> RecordHandlerProgressInput
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