start_telemetry_evaluation
async
¶
start_telemetry_evaluation(
*,
config_overrides: Optional[AsyncObservabilityAdminClientConfig] = None,
regions: Optional[Regions] = None,
all_regions: Optional[AllRegions] = None,
) -> None
This action begins onboarding the caller Amazon Web Services account to the telemetry config feature.
Parameters:
-
regions(Optional[Regions], default:None) –An optional list of Amazon Web Services Regions to include in multi-region telemetry evaluation. The current region is always implicitly included and must not be specified in this list. When provided, telemetry evaluation starts in the current region and propagates to all specified regions. Mutually exclusive with
AllRegions. If neitherRegionsnorAllRegionsis provided, the operation applies only to the current region. -
all_regions(Optional[AllRegions], default:None) –If set to
true, telemetry evaluation starts in all Amazon Web Services Regions where Amazon CloudWatch Observability Admin is available in the current partition. The current region becomes the home region for managing multi-region evaluation. When new regions become available, evaluation automatically expands to include them. Mutually exclusive withRegions.
Raises:
-
AccessDeniedException–Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
-
InternalServerException–Indicates the request has failed to process because of an unknown server error, exception, or failure.
-
TooManyRequestsException–The request throughput limit was exceeded.
-
ValidationException–Indicates input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.