aws_sdk_observabilityadmin/client/
get_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 [`GetTelemetryRuleForOrganization`](crate::operation::get_telemetry_rule_for_organization::builders::GetTelemetryRuleForOrganizationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`rule_identifier(impl Into<String>)`](crate::operation::get_telemetry_rule_for_organization::builders::GetTelemetryRuleForOrganizationFluentBuilder::rule_identifier) / [`set_rule_identifier(Option<String>)`](crate::operation::get_telemetry_rule_for_organization::builders::GetTelemetryRuleForOrganizationFluentBuilder::set_rule_identifier):<br>required: **true**<br><p>The identifier (name or ARN) of the organization telemetry rule to retrieve.</p><br>
7    /// - On success, responds with [`GetTelemetryRuleForOrganizationOutput`](crate::operation::get_telemetry_rule_for_organization::GetTelemetryRuleForOrganizationOutput) with field(s):
8    ///   - [`rule_name(Option<String>)`](crate::operation::get_telemetry_rule_for_organization::GetTelemetryRuleForOrganizationOutput::rule_name): <p>The name of the organization telemetry rule.</p>
9    ///   - [`rule_arn(Option<String>)`](crate::operation::get_telemetry_rule_for_organization::GetTelemetryRuleForOrganizationOutput::rule_arn): <p>The Amazon Resource Name (ARN) of the organization telemetry rule.</p>
10    ///   - [`created_time_stamp(Option<i64>)`](crate::operation::get_telemetry_rule_for_organization::GetTelemetryRuleForOrganizationOutput::created_time_stamp): <p>The timestamp when the organization telemetry rule was created.</p>
11    ///   - [`last_update_time_stamp(Option<i64>)`](crate::operation::get_telemetry_rule_for_organization::GetTelemetryRuleForOrganizationOutput::last_update_time_stamp): <p>The timestamp when the organization telemetry rule was last updated.</p>
12    ///   - [`telemetry_rule(Option<TelemetryRule>)`](crate::operation::get_telemetry_rule_for_organization::GetTelemetryRuleForOrganizationOutput::telemetry_rule): <p>The configuration details of the organization telemetry rule.</p>
13    /// - On failure, responds with [`SdkError<GetTelemetryRuleForOrganizationError>`](crate::operation::get_telemetry_rule_for_organization::GetTelemetryRuleForOrganizationError)
14    pub fn get_telemetry_rule_for_organization(
15        &self,
16    ) -> crate::operation::get_telemetry_rule_for_organization::builders::GetTelemetryRuleForOrganizationFluentBuilder {
17        crate::operation::get_telemetry_rule_for_organization::builders::GetTelemetryRuleForOrganizationFluentBuilder::new(self.handle.clone())
18    }
19}