aws_sdk_databasemigration/client/
describe_event_categories.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeEventCategories`](crate::operation::describe_event_categories::builders::DescribeEventCategoriesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`source_type(impl Into<String>)`](crate::operation::describe_event_categories::builders::DescribeEventCategoriesFluentBuilder::source_type) / [`set_source_type(Option<String>)`](crate::operation::describe_event_categories::builders::DescribeEventCategoriesFluentBuilder::set_source_type):<br>required: **false**<br><p>The type of DMS resource that generates events.</p> <p>Valid values: replication-instance | replication-task</p><br>
    ///   - [`filters(Filter)`](crate::operation::describe_event_categories::builders::DescribeEventCategoriesFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_event_categories::builders::DescribeEventCategoriesFluentBuilder::set_filters):<br>required: **false**<br><p>Filters applied to the event categories.</p><br>
    /// - On success, responds with [`DescribeEventCategoriesOutput`](crate::operation::describe_event_categories::DescribeEventCategoriesOutput) with field(s):
    ///   - [`event_category_group_list(Option<Vec::<EventCategoryGroup>>)`](crate::operation::describe_event_categories::DescribeEventCategoriesOutput::event_category_group_list): <p>A list of event categories.</p>
    /// - On failure, responds with [`SdkError<DescribeEventCategoriesError>`](crate::operation::describe_event_categories::DescribeEventCategoriesError)
    pub fn describe_event_categories(&self) -> crate::operation::describe_event_categories::builders::DescribeEventCategoriesFluentBuilder {
        crate::operation::describe_event_categories::builders::DescribeEventCategoriesFluentBuilder::new(self.handle.clone())
    }
}