pub struct CreateTopicRuleDestination { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateTopicRuleDestination
.
Creates a topic rule destination. The destination must be confirmed prior to use.
Requires permission to access the CreateTopicRuleDestination action.
Implementations§
source§impl CreateTopicRuleDestination
impl CreateTopicRuleDestination
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateTopicRuleDestination, AwsResponseRetryClassifier>, SdkError<CreateTopicRuleDestinationError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateTopicRuleDestination, AwsResponseRetryClassifier>, SdkError<CreateTopicRuleDestinationError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateTopicRuleDestinationOutput, SdkError<CreateTopicRuleDestinationError>>
pub async fn send(
self
) -> Result<CreateTopicRuleDestinationOutput, SdkError<CreateTopicRuleDestinationError>>
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, which can be set when configuring the client.
sourcepub fn destination_configuration(
self,
input: TopicRuleDestinationConfiguration
) -> Self
pub fn destination_configuration(
self,
input: TopicRuleDestinationConfiguration
) -> Self
The topic rule destination configuration.
sourcepub fn set_destination_configuration(
self,
input: Option<TopicRuleDestinationConfiguration>
) -> Self
pub fn set_destination_configuration(
self,
input: Option<TopicRuleDestinationConfiguration>
) -> Self
The topic rule destination configuration.
Trait Implementations§
source§impl Clone for CreateTopicRuleDestination
impl Clone for CreateTopicRuleDestination
source§fn clone(&self) -> CreateTopicRuleDestination
fn clone(&self) -> CreateTopicRuleDestination
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more