:doc:`Connect <../../connect>` / Client / create_integration_association

******************************
create_integration_association
******************************



.. py:method:: Connect.Client.create_integration_association(**kwargs)

  

  Creates an Amazon Web Services resource association with an Amazon Connect instance.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateIntegrationAssociation>`_  


  **Request Syntax**
  ::

    response = client.create_integration_association(
        InstanceId='string',
        IntegrationType='EVENT'|'VOICE_ID'|'PINPOINT_APP'|'WISDOM_ASSISTANT'|'WISDOM_KNOWLEDGE_BASE'|'WISDOM_QUICK_RESPONSES'|'Q_MESSAGE_TEMPLATES'|'CASES_DOMAIN'|'APPLICATION'|'FILE_SCANNER'|'SES_IDENTITY'|'ANALYTICS_CONNECTOR'|'CALL_TRANSFER_CONNECTOR'|'COGNITO_USER_POOL'|'MESSAGE_PROCESSOR',
        IntegrationArn='string',
        SourceApplicationUrl='string',
        SourceApplicationName='string',
        SourceType='SALESFORCE'|'ZENDESK'|'CASES',
        Tags={
            'string': 'string'
        }
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

    The identifier of the Amazon Connect instance. You can `find the instance ID <https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html>`__ in the Amazon Resource Name (ARN) of the instance.

    

  
  :type IntegrationType: string
  :param IntegrationType: **[REQUIRED]** 

    The type of information to be ingested.

    

  
  :type IntegrationArn: string
  :param IntegrationArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the integration.

     

    .. note::

      

      When integrating with Amazon Web Services End User Messaging, the Amazon Connect and Amazon Web Services End User Messaging instances must be in the same account.

      

    

  
  :type SourceApplicationUrl: string
  :param SourceApplicationUrl: 

    The URL for the external application. This field is only required for the EVENT integration type.

    

  
  :type SourceApplicationName: string
  :param SourceApplicationName: 

    The name of the external application. This field is only required for the EVENT integration type.

    

  
  :type SourceType: string
  :param SourceType: 

    The type of the data source. This field is only required for the EVENT integration type.

    

  
  :type Tags: dict
  :param Tags: 

    The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {
          'IntegrationAssociationId': 'string',
          'IntegrationAssociationArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **IntegrationAssociationId** *(string) --* 

        The identifier for the integration association.

        
      

      - **IntegrationAssociationArn** *(string) --* 

        The Amazon Resource Name (ARN) for the association.

        
  
  **Exceptions**
  
  *   :py:class:`Connect.Client.exceptions.DuplicateResourceException`

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

  
  *   :py:class:`Connect.Client.exceptions.InternalServiceException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidRequestException`

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

  