pub struct DescribeEventCategories { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeEventCategories
.
Lists categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in Working with Events and Notifications in the Database Migration Service User Guide.
Implementations§
source§impl DescribeEventCategories
impl DescribeEventCategories
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeEventCategories, AwsResponseRetryClassifier>, SdkError<DescribeEventCategoriesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeEventCategories, AwsResponseRetryClassifier>, SdkError<DescribeEventCategoriesError>>
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<DescribeEventCategoriesOutput, SdkError<DescribeEventCategoriesError>>
pub async fn send(
self
) -> Result<DescribeEventCategoriesOutput, SdkError<DescribeEventCategoriesError>>
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 source_type(self, input: impl Into<String>) -> Self
pub fn source_type(self, input: impl Into<String>) -> Self
The type of DMS resource that generates events.
Valid values: replication-instance | replication-task
sourcepub fn set_source_type(self, input: Option<String>) -> Self
pub fn set_source_type(self, input: Option<String>) -> Self
The type of DMS resource that generates events.
Valid values: replication-instance | replication-task
sourcepub fn filters(self, input: Filter) -> Self
pub fn filters(self, input: Filter) -> Self
Appends an item to Filters
.
To override the contents of this collection use set_filters
.
Filters applied to the event categories.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
Filters applied to the event categories.
Trait Implementations§
source§impl Clone for DescribeEventCategories
impl Clone for DescribeEventCategories
source§fn clone(&self) -> DescribeEventCategories
fn clone(&self) -> DescribeEventCategories
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more