#[non_exhaustive]pub struct ConfirmTopicRuleDestinationInput { /* private fields */ }
Implementations§
source§impl ConfirmTopicRuleDestinationInput
impl ConfirmTopicRuleDestinationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ConfirmTopicRuleDestination, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ConfirmTopicRuleDestination, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ConfirmTopicRuleDestination
>
Examples found in repository?
src/client.rs (line 4799)
4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ConfirmTopicRuleDestination,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ConfirmTopicRuleDestinationError>,
> {
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::ConfirmTopicRuleDestinationOutput,
aws_smithy_http::result::SdkError<crate::error::ConfirmTopicRuleDestinationError>,
> {
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 ConfirmTopicRuleDestinationInput
.
source§impl ConfirmTopicRuleDestinationInput
impl ConfirmTopicRuleDestinationInput
sourcepub fn confirmation_token(&self) -> Option<&str>
pub fn confirmation_token(&self) -> Option<&str>
The token used to confirm ownership or access to the topic rule confirmation URL.
Trait Implementations§
source§impl Clone for ConfirmTopicRuleDestinationInput
impl Clone for ConfirmTopicRuleDestinationInput
source§fn clone(&self) -> ConfirmTopicRuleDestinationInput
fn clone(&self) -> ConfirmTopicRuleDestinationInput
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