CloudWatchLogs / Client / get_delivery_source

get_delivery_source#

CloudWatchLogs.Client.get_delivery_source(**kwargs)#

Retrieves complete information about one delivery source.

See also: AWS API Documentation

Request Syntax

response = client.get_delivery_source(
    name='string'
)
Parameters:

name (string) –

[REQUIRED]

The name of the delivery source that you want to retrieve.

Return type:

dict

Returns:

Response Syntax

{
    'deliverySource': {
        'name': 'string',
        'arn': 'string',
        'resourceArns': [
            'string',
        ],
        'service': 'string',
        'logType': 'string',
        'tags': {
            'string': 'string'
        }
    }
}

Response Structure

  • (dict) –

    • deliverySource (dict) –

      A structure containing information about the delivery source.

      • name (string) –

        The unique name of the delivery source.

      • arn (string) –

        The Amazon Resource Name (ARN) that uniquely identifies this delivery source.

      • resourceArns (list) –

        This array contains the ARN of the Amazon Web Services resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.

        • (string) –

      • service (string) –

        The Amazon Web Services service that is sending logs.

      • logType (string) –

        The type of log that the source is sending. For valid values for this parameter, see the documentation for the source service.

      • tags (dict) –

        The tags that have been assigned to this delivery source.

        • (string) –

          • (string) –

Exceptions