aws_sdk_observabilityadmin/client/
update_telemetry_rule_for_organization.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 [`UpdateTelemetryRuleForOrganization`](crate::operation::update_telemetry_rule_for_organization::builders::UpdateTelemetryRuleForOrganizationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`rule_identifier(impl Into<String>)`](crate::operation::update_telemetry_rule_for_organization::builders::UpdateTelemetryRuleForOrganizationFluentBuilder::rule_identifier) / [`set_rule_identifier(Option<String>)`](crate::operation::update_telemetry_rule_for_organization::builders::UpdateTelemetryRuleForOrganizationFluentBuilder::set_rule_identifier):<br>required: **true**<br><p>The identifier (name or ARN) of the organization telemetry rule to update.</p><br>
7    ///   - [`rule(TelemetryRule)`](crate::operation::update_telemetry_rule_for_organization::builders::UpdateTelemetryRuleForOrganizationFluentBuilder::rule) / [`set_rule(Option<TelemetryRule>)`](crate::operation::update_telemetry_rule_for_organization::builders::UpdateTelemetryRuleForOrganizationFluentBuilder::set_rule):<br>required: **true**<br><p>The new configuration details for the organization telemetry rule, including resource type, telemetry type, and destination configuration.</p><br>
8    /// - On success, responds with [`UpdateTelemetryRuleForOrganizationOutput`](crate::operation::update_telemetry_rule_for_organization::UpdateTelemetryRuleForOrganizationOutput) with field(s):
9    ///   - [`rule_arn(Option<String>)`](crate::operation::update_telemetry_rule_for_organization::UpdateTelemetryRuleForOrganizationOutput::rule_arn): <p>The Amazon Resource Name (ARN) of the updated organization telemetry rule.</p>
10    /// - On failure, responds with [`SdkError<UpdateTelemetryRuleForOrganizationError>`](crate::operation::update_telemetry_rule_for_organization::UpdateTelemetryRuleForOrganizationError)
11    pub fn update_telemetry_rule_for_organization(
12        &self,
13    ) -> crate::operation::update_telemetry_rule_for_organization::builders::UpdateTelemetryRuleForOrganizationFluentBuilder {
14        crate::operation::update_telemetry_rule_for_organization::builders::UpdateTelemetryRuleForOrganizationFluentBuilder::new(self.handle.clone())
15    }
16}