:doc:`AppIntegrationsService <../../appintegrations>` / Client / create_event_integration

************************
create_event_integration
************************



.. py:method:: AppIntegrationsService.Client.create_event_integration(**kwargs)

  

  Creates an EventIntegration, given a specified name, description, and a reference to an Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No objects are created in the your account, only metadata that is persisted on the EventIntegration control plane.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/CreateEventIntegration>`_  


  **Request Syntax**
  ::

    response = client.create_event_integration(
        Name='string',
        Description='string',
        EventFilter={
            'Source': 'string'
        },
        EventBridgeBus='string',
        ClientToken='string',
        Tags={
            'string': 'string'
        }
    )
    
  :type Name: string
  :param Name: **[REQUIRED]** 

    The name of the event integration.

    

  
  :type Description: string
  :param Description: 

    The description of the event integration.

    

  
  :type EventFilter: dict
  :param EventFilter: **[REQUIRED]** 

    The event filter.

    

  
    - **Source** *(string) --* **[REQUIRED]** 

      The source of the events.

      

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

    The EventBridge bus.

    

  
  :type ClientToken: string
  :param ClientToken: 

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see `Making retries safe with idempotent APIs <https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/>`__.

    This field is autopopulated if not provided.

  
  :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**

    
    ::

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

    

    - *(dict) --* 
      

      - **EventIntegrationArn** *(string) --* 

        The Amazon Resource Name (ARN) of the event integration.

        
  
  **Exceptions**
  
  *   :py:class:`AppIntegrationsService.Client.exceptions.InternalServiceError`

  
  *   :py:class:`AppIntegrationsService.Client.exceptions.ResourceQuotaExceededException`

  
  *   :py:class:`AppIntegrationsService.Client.exceptions.DuplicateResourceException`

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

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

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

  