CloudWatchObservabilityAdminService / Client / start_third_party_telemetry_enrichment

start_third_party_telemetry_enrichment

CloudWatchObservabilityAdminService.Client.start_third_party_telemetry_enrichment(**kwargs)

Starts a third-party telemetry enrichment. An enrichment adds resource metadata, such as tags, from a third-party telemetry source to the telemetry that CloudWatch receives from the resources of that source.

You specify an Amazon Web Services Config connector for your third-party environment, such as a Microsoft Azure tenant. You can use each connector for only one enrichment.

To use this operation, you must have the config:PutThirdPartyServiceLinkedConfigurationRecorder permission. If the Amazon Web Services Config service-linked role does not exist in your account, you must also have the iam:CreateServiceLinkedRole permission.

See also: AWS API Documentation

Request Syntax

response = client.start_third_party_telemetry_enrichment(
    Name='string',
    TelemetrySourceConfiguration={
        'Azure': {
            'AwsConfigConnectorArn': 'string'
        }
    },
    Tags={
        'string': 'string'
    }
)
Parameters:
  • Name (string) –

    [REQUIRED]

    A name for the enrichment. The name must be unique in your account and Region. You can use the name instead of the ARN to identify the enrichment in other operations.

  • TelemetrySourceConfiguration (dict) –

    [REQUIRED]

    The third-party telemetry source to collect resource metadata from. Specify exactly one telemetry source.

    Note

    This is a Tagged Union structure. Only one of the following top level keys can be set: Azure.

    • Azure (dict) –

      The configuration for a Microsoft Azure source.

      • AwsConfigConnectorArn (string) – [REQUIRED]

        The Amazon Resource Name (ARN) of the Amazon Web Services Config connector for the Microsoft Azure tenant to collect resource metadata from.

  • Tags (dict) –

    The tags to associate with the enrichment resource.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'Arn': 'string',
    'Name': 'string',
    'Status': 'Initializing'|'Running'|'Stopped'|'Impaired',
    'StatusReason': 'string',
    'TelemetrySourceConfiguration': {
        'Azure': {
            'AwsConfigConnectorArn': 'string',
            'ServiceLinkedRecorderArn': 'string'
        }
    },
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • Arn (string) –

      The Amazon Resource Name (ARN) of the enrichment.

    • Name (string) –

      The name of the enrichment.

    • Status (string) –

      The status of the enrichment after the start operation. Valid values:

      • Initializing - CloudWatch is setting up the enrichment. Some telemetry can be enriched before setup completes.

      • Running - The enrichment is active.

      • Stopped - The enrichment is stopped.

      • Impaired - The enrichment has a problem. StatusReason describes the problem.

    • StatusReason (string) –

      The reason for the current status. This field is present when the status is Impaired.

    • TelemetrySourceConfiguration (dict) –

      The source configuration of the enrichment.

      Note

      This is a Tagged Union structure. Only one of the following top level keys will be set: Azure. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

      'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
      
      • Azure (dict) –

        The configuration of the Microsoft Azure source.

        • AwsConfigConnectorArn (string) –

          The Amazon Resource Name (ARN) of the Amazon Web Services Config connector that the enrichment uses.

        • ServiceLinkedRecorderArn (string) –

          The Amazon Resource Name (ARN) of the service-linked configuration recorder that CloudWatch created in your account for the enrichment.

    • Tags (dict) –

      The tags associated with the enrichment.

      • (string) –

        • (string) –

Exceptions