GetTelemetryRule
Source:
src/AWS/ObservabilityAdmin/GetTelemetryRule.ts
Runtime binding for observabilityadmin:GetTelemetryRule — reads the full
configuration and per-region status of the bound
TelemetryRule. The rule’s name is injected automatically and the
IAM grant is scoped to the rule’s ARN.
Provide AWS.ObservabilityAdmin.GetTelemetryRuleHttp on the hosting
Lambda Function to satisfy the requirement.
Reading a Telemetry Rule
Section titled “Reading a Telemetry Rule”// init — grants observabilityadmin:GetTelemetryRule on the ruleconst getTelemetryRule = yield* AWS.ObservabilityAdmin.GetTelemetryRule(rule);
// runtimeconst { TelemetryRule: config, RegionStatuses } = yield* getTelemetryRule();