get_sink

CloudWatchObservabilityAccessManager.Client.get_sink(**kwargs)

Returns complete information about one monitoring account sink.

To use this operation, provide the sink ARN. To retrieve a list of sink ARNs, use ListSinks.

See also: AWS API Documentation

Request Syntax

response = client.get_sink(
    Identifier='string'
)
Parameters
Identifier (string) --

[REQUIRED]

The ARN of the sink to retrieve information for.

Return type
dict
Returns
Response Syntax
{
    'Arn': 'string',
    'Id': 'string',
    'Name': 'string',
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --
    • Arn (string) --

      The ARN of the sink.

    • Id (string) --

      The random ID string that Amazon Web Services generated as part of the sink ARN.

    • Name (string) --

      The name of the sink.

    • Tags (dict) --

      The tags assigned to the sink.

      • (string) --
        • (string) --

Exceptions

  • CloudWatchObservabilityAccessManager.Client.exceptions.InternalServiceFault
  • CloudWatchObservabilityAccessManager.Client.exceptions.MissingRequiredParameterException
  • CloudWatchObservabilityAccessManager.Client.exceptions.InvalidParameterException
  • CloudWatchObservabilityAccessManager.Client.exceptions.ResourceNotFoundException