:doc:`Billing <../../billing>` / Client / associate_source_views

**********************
associate_source_views
**********************



.. py:method:: Billing.Client.associate_source_views(**kwargs)

  

  Associates one or more source billing views with an existing billing view. This allows creating aggregate billing views that combine data from multiple sources.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/billing-2023-09-07/AssociateSourceViews>`_  


  **Request Syntax**
  ::

    response = client.associate_source_views(
        arn='string',
        sourceViews=[
            'string',
        ]
    )
    
  :type arn: string
  :param arn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the billing view to associate source views with.

    

  
  :type sourceViews: list
  :param sourceViews: **[REQUIRED]** 

    A list of ARNs of the source billing views to associate.

    

  
    - *(string) --* 

    

  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'arn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **arn** *(string) --* 

        The ARN of the billing view that the source views were associated with.

        
  
  **Exceptions**
  
  *   :py:class:`Billing.Client.exceptions.BillingViewHealthStatusException`

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

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

  
  *   :py:class:`Billing.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Billing.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Billing.Client.exceptions.ConflictException`

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

  
  *   :py:class:`Billing.Client.exceptions.InternalServerException`

  