Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

get_sink

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