aws-sdk-observabilityadmin 1.55.0

AWS SDK for CloudWatch Observability Admin Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateTelemetryRuleForOrganization`](crate::operation::update_telemetry_rule_for_organization::builders::UpdateTelemetryRuleForOrganizationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`UpdateTelemetryRuleForOrganizationOutput`](crate::operation::update_telemetry_rule_for_organization::UpdateTelemetryRuleForOrganizationOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<UpdateTelemetryRuleForOrganizationError>`](crate::operation::update_telemetry_rule_for_organization::UpdateTelemetryRuleForOrganizationError)
    pub fn update_telemetry_rule_for_organization(
        &self,
    ) -> crate::operation::update_telemetry_rule_for_organization::builders::UpdateTelemetryRuleForOrganizationFluentBuilder {
        crate::operation::update_telemetry_rule_for_organization::builders::UpdateTelemetryRuleForOrganizationFluentBuilder::new(self.handle.clone())
    }
}