AppIntegrationsService / Client / create_event_integration

create_event_integration#

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

Request Syntax

response = client.create_event_integration(
    Name='string',
    Description='string',
    EventFilter={
        'Source': 'string'
    },
    EventBridgeBus='string',
    ClientToken='string',
    Tags={
        'string': 'string'
    }
)
Parameters:
  • Name (string) –

    [REQUIRED]

    The name of the event integration.

  • Description (string) – The description of the event integration.

  • EventFilter (dict) –

    [REQUIRED]

    The event filter.

    • Source (string) – [REQUIRED]

      The source of the events.

  • EventBridgeBus (string) –

    [REQUIRED]

    The EventBridge bus.

  • ClientToken (string) –

    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.

    This field is autopopulated if not provided.

  • Tags (dict) –

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

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'EventIntegrationArn': 'string'
}

Response Structure

  • (dict) –

    • EventIntegrationArn (string) –

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

Exceptions

  • AppIntegrationsService.Client.exceptions.InternalServiceError

  • AppIntegrationsService.Client.exceptions.ResourceQuotaExceededException

  • AppIntegrationsService.Client.exceptions.DuplicateResourceException

  • AppIntegrationsService.Client.exceptions.ThrottlingException

  • AppIntegrationsService.Client.exceptions.InvalidRequestException

  • AppIntegrationsService.Client.exceptions.AccessDeniedException