Skip to content

start_telemetry_enrichment

start_telemetry_enrichment(
    *, config_overrides: Optional[ObservabilityAdminClientConfig] = None
) -> StartTelemetryEnrichmentOutput

Enables the resource tags for telemetry feature for your account, which enhances telemetry data with additional resource metadata from Resource Explorer to provide richer context for monitoring and observability.

Raises:

Source code in docs_src/capo_observabilityadmin/_services/observability_admin.py
def start_telemetry_enrichment(
    self, *, config_overrides: Optional[ObservabilityAdminClientConfig] = None
) -> "capo_observabilityadmin.types.start_telemetry_enrichment_output.StartTelemetryEnrichmentOutput":
    """<p> Enables the resource tags for telemetry feature for your account, which enhances telemetry data with additional resource metadata from Resource Explorer to provide richer context for monitoring and observability. </p>

    Raises:
        capo_observabilityadmin.errors.access_denied_exception.AccessDeniedException: <p> 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 <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access management for Amazon Web Services resources</a> in the IAM user guide. </p>
        capo_observabilityadmin.errors.conflict_exception.ConflictException: <p> The requested operation conflicts with the current state of the specified resource or with another request. </p>
        capo_observabilityadmin.errors.internal_server_exception.InternalServerException: <p> Indicates the request has failed to process because of an unknown server error, exception, or failure. </p>
        capo_observabilityadmin.errors.too_many_requests_exception.TooManyRequestsException: <p> The request throughput limit was exceeded. </p>
        capo_observabilityadmin.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    def _handler(
        req: "OperationRequest[None]",
    ) -> OperationResponse[
        "capo_observabilityadmin.types.start_telemetry_enrichment_output.StartTelemetryEnrichmentOutput"
    ]:
        import capo_observabilityadmin._operations.observability_admin.start_telemetry_enrichment

        output, http_response = (
            capo_observabilityadmin._operations.observability_admin.start_telemetry_enrichment.start_telemetry_enrichment(
                req.options
            )
        )
        return OperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("StartTelemetryEnrichment")
    )

    response = execute_pipeline(
        OperationRequest(input=None, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    response.response.close()
    return response.output