pub struct RegisterEventTopic<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to RegisterEventTopic
.
Associates a directory with an Amazon SNS topic. This establishes the directory as a publisher to the specified Amazon SNS topic. You can then receive email or text (SMS) messages when the status of your directory changes. You get notified if your directory goes from an Active status to an Impaired or Inoperable status. You also receive a notification when the directory returns to an Active status.
Implementations
impl<C, M, R> RegisterEventTopic<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> RegisterEventTopic<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<RegisterEventTopicOutput, SdkError<RegisterEventTopicError>> where
R::Policy: SmithyRetryPolicy<RegisterEventTopicInputOperationOutputAlias, RegisterEventTopicOutput, RegisterEventTopicError, RegisterEventTopicInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<RegisterEventTopicOutput, SdkError<RegisterEventTopicError>> where
R::Policy: SmithyRetryPolicy<RegisterEventTopicInputOperationOutputAlias, RegisterEventTopicOutput, RegisterEventTopicError, RegisterEventTopicInputOperationRetryAlias>,
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.
The Directory ID that will publish status messages to the Amazon SNS topic.
The Directory ID that will publish status messages to the Amazon SNS topic.
The Amazon SNS topic name to which the directory will publish status messages. This Amazon SNS topic must be in the same region as the specified Directory ID.
The Amazon SNS topic name to which the directory will publish status messages. This Amazon SNS topic must be in the same region as the specified Directory ID.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for RegisterEventTopic<C, M, R>
impl<C, M, R> Send for RegisterEventTopic<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for RegisterEventTopic<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for RegisterEventTopic<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for RegisterEventTopic<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more