aws_sdk_xray/client/update_group.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateGroup`](crate::operation::update_group::builders::UpdateGroupFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`group_name(impl Into<String>)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::group_name) / [`set_group_name(Option<String>)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::set_group_name):<br>required: **false**<br><p>The case-sensitive name of the group.</p><br>
/// - [`group_arn(impl Into<String>)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::group_arn) / [`set_group_arn(Option<String>)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::set_group_arn):<br>required: **false**<br><p>The ARN that was generated upon creation.</p><br>
/// - [`filter_expression(impl Into<String>)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::filter_expression) / [`set_filter_expression(Option<String>)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::set_filter_expression):<br>required: **false**<br><p>The updated filter expression defining criteria by which to group traces.</p><br>
/// - [`insights_configuration(InsightsConfiguration)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::insights_configuration) / [`set_insights_configuration(Option<InsightsConfiguration>)`](crate::operation::update_group::builders::UpdateGroupFluentBuilder::set_insights_configuration):<br>required: **false**<br><p>The structure containing configurations related to insights.</p> <ul> <li> <p>The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.</p></li> <li> <p>The NotificationsEnabled boolean can be set to true to enable insights notifications for the group. Notifications can only be enabled on a group with InsightsEnabled set to true.</p></li> </ul><br>
/// - On success, responds with [`UpdateGroupOutput`](crate::operation::update_group::UpdateGroupOutput) with field(s):
/// - [`group(Option<Group>)`](crate::operation::update_group::UpdateGroupOutput::group): <p>The group that was updated. Contains the name of the group that was updated, the ARN of the group that was updated, the updated filter expression, and the updated insight configuration assigned to the group.</p>
/// - On failure, responds with [`SdkError<UpdateGroupError>`](crate::operation::update_group::UpdateGroupError)
pub fn update_group(&self) -> crate::operation::update_group::builders::UpdateGroupFluentBuilder {
crate::operation::update_group::builders::UpdateGroupFluentBuilder::new(self.handle.clone())
}
}