create_event_integration
async
¶
create_event_integration(
name: Name,
event_filter: EventFilter,
event_bridge_bus: EventBridgeBus,
*,
config_overrides: Optional[AsyncAppIntegrationsClientConfig] = None,
description: Optional[Description] = None,
client_token: Optional[IdempotencyToken] = None,
tags: Optional[TagMap] = None,
) -> CreateEventIntegrationResponse
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.
Parameters:
-
name(Name) –The name of the event integration.
-
description(Optional[Description], default:None) –The description of the event integration.
-
event_filter(EventFilter) –The event filter.
-
event_bridge_bus(EventBridgeBus) –The EventBridge bus.
-
client_token(Optional[IdempotencyToken], default:None) –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.
-
tags(Optional[TagMap], default:None) –The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
DuplicateResourceException–A resource with the specified name already exists.
-
InternalServiceError–Request processing failed due to an error or failure with the service.
-
InvalidRequestException–The request is not valid.
-
ResourceQuotaExceededException–The allowed quota for the resource has been exceeded.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.