aws_sdk_transcribe/client/
update_call_analytics_category.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateCallAnalyticsCategory`](crate::operation::update_call_analytics_category::builders::UpdateCallAnalyticsCategoryFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`category_name(impl Into<String>)`](crate::operation::update_call_analytics_category::builders::UpdateCallAnalyticsCategoryFluentBuilder::category_name) / [`set_category_name(Option<String>)`](crate::operation::update_call_analytics_category::builders::UpdateCallAnalyticsCategoryFluentBuilder::set_category_name):<br>required: **true**<br><p>The name of the Call Analytics category you want to update. Category names are case sensitive.</p><br>
7    ///   - [`rules(Rule)`](crate::operation::update_call_analytics_category::builders::UpdateCallAnalyticsCategoryFluentBuilder::rules) / [`set_rules(Option<Vec::<Rule>>)`](crate::operation::update_call_analytics_category::builders::UpdateCallAnalyticsCategoryFluentBuilder::set_rules):<br>required: **true**<br><p>The rules used for the updated Call Analytics category. The rules you provide in this field replace the ones that are currently being used in the specified category.</p><br>
8    ///   - [`input_type(InputType)`](crate::operation::update_call_analytics_category::builders::UpdateCallAnalyticsCategoryFluentBuilder::input_type) / [`set_input_type(Option<InputType>)`](crate::operation::update_call_analytics_category::builders::UpdateCallAnalyticsCategoryFluentBuilder::set_input_type):<br>required: **false**<br><p>Choose whether you want to update a real-time or a post-call category. The input type you specify must match the input type specified when the category was created. For example, if you created a category with the <code>POST_CALL</code> input type, you must use <code>POST_CALL</code> as the input type when updating this category.</p><br>
9    /// - On success, responds with [`UpdateCallAnalyticsCategoryOutput`](crate::operation::update_call_analytics_category::UpdateCallAnalyticsCategoryOutput) with field(s):
10    ///   - [`category_properties(Option<CategoryProperties>)`](crate::operation::update_call_analytics_category::UpdateCallAnalyticsCategoryOutput::category_properties): <p>Provides you with the properties of the Call Analytics category you specified in your <code>UpdateCallAnalyticsCategory</code> request.</p>
11    /// - On failure, responds with [`SdkError<UpdateCallAnalyticsCategoryError>`](crate::operation::update_call_analytics_category::UpdateCallAnalyticsCategoryError)
12    pub fn update_call_analytics_category(
13        &self,
14    ) -> crate::operation::update_call_analytics_category::builders::UpdateCallAnalyticsCategoryFluentBuilder {
15        crate::operation::update_call_analytics_category::builders::UpdateCallAnalyticsCategoryFluentBuilder::new(self.handle.clone())
16    }
17}