#[non_exhaustive]pub struct DeleteSpotDatafeedSubscriptionInput { /* private fields */ }
Expand description
Contains the parameters for DeleteSpotDatafeedSubscription.
Implementations§
source§impl DeleteSpotDatafeedSubscriptionInput
impl DeleteSpotDatafeedSubscriptionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteSpotDatafeedSubscription, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteSpotDatafeedSubscription, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteSpotDatafeedSubscription
>
Examples found in repository?
src/client.rs (line 29446)
29432 29433 29434 29435 29436 29437 29438 29439 29440 29441 29442 29443 29444 29445 29446 29447 29448 29449 29450 29451 29452 29453 29454 29455 29456 29457 29458 29459 29460 29461 29462 29463 29464 29465 29466 29467 29468 29469 29470 29471 29472 29473 29474
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteSpotDatafeedSubscription,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteSpotDatafeedSubscriptionError>,
> {
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::DeleteSpotDatafeedSubscriptionOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteSpotDatafeedSubscriptionError>,
> {
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 DeleteSpotDatafeedSubscriptionInput
.
Trait Implementations§
source§impl Clone for DeleteSpotDatafeedSubscriptionInput
impl Clone for DeleteSpotDatafeedSubscriptionInput
source§fn clone(&self) -> DeleteSpotDatafeedSubscriptionInput
fn clone(&self) -> DeleteSpotDatafeedSubscriptionInput
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