1
2
3
4
5
6
7
8
9
10
11
12
13
// 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 source type, such as cluster or parameter group, to which the described event categories apply.</p> <p>Valid values: cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, and scheduled-action.</p><br>
    /// - On success, responds with [`DescribeEventCategoriesOutput`](crate::operation::describe_event_categories::DescribeEventCategoriesOutput) with field(s):
    ///   - [`event_categories_map_list(Option<Vec::<EventCategoriesMap>>)`](crate::operation::describe_event_categories::DescribeEventCategoriesOutput::event_categories_map_list): <p>A list of event categories descriptions.</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())
    }
}