:doc:`CloudWatchLogs <../../logs>` / Client / get_delivery_source

*******************
get_delivery_source
*******************



.. py:method:: CloudWatchLogs.Client.get_delivery_source(**kwargs)

  

  Retrieves complete information about one delivery source.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetDeliverySource>`_  


  **Request Syntax**
  ::

    response = client.get_delivery_source(
        name='string'
    )
    
  :type name: string
  :param name: **[REQUIRED]** 

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

    

  
  
  :rtype: 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**
  
  *   :py:class:`CloudWatchLogs.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`CloudWatchLogs.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`CloudWatchLogs.Client.exceptions.ValidationException`

  
  *   :py:class:`CloudWatchLogs.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`CloudWatchLogs.Client.exceptions.ThrottlingException`

  