#[non_exhaustive]pub struct DescribeSpotDatafeedSubscriptionInput { /* private fields */ }
Expand description
Contains the parameters for DescribeSpotDatafeedSubscription.
Implementations§
source§impl DescribeSpotDatafeedSubscriptionInput
impl DescribeSpotDatafeedSubscriptionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeSpotDatafeedSubscription, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeSpotDatafeedSubscription, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeSpotDatafeedSubscription
>
Examples found in repository?
src/client.rs (line 46895)
46881 46882 46883 46884 46885 46886 46887 46888 46889 46890 46891 46892 46893 46894 46895 46896 46897 46898 46899 46900 46901 46902 46903 46904 46905 46906 46907 46908 46909 46910 46911 46912 46913 46914 46915 46916 46917 46918 46919 46920 46921 46922 46923
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeSpotDatafeedSubscription,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeSpotDatafeedSubscriptionError>,
> {
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::DescribeSpotDatafeedSubscriptionOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeSpotDatafeedSubscriptionError>,
> {
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 DescribeSpotDatafeedSubscriptionInput
.
Trait Implementations§
source§impl Clone for DescribeSpotDatafeedSubscriptionInput
impl Clone for DescribeSpotDatafeedSubscriptionInput
source§fn clone(&self) -> DescribeSpotDatafeedSubscriptionInput
fn clone(&self) -> DescribeSpotDatafeedSubscriptionInput
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