put_raw_events
async
¶
put_raw_events(
event_bus_arn: EventBusArn,
entries: PutRawEventsRequestEntryList,
*,
config_overrides: Optional[AsyncEventBridgeV2ClientConfig] = None,
schema_registry_configuration: Optional[SchemaRegistryConfiguration] = None,
deduplication_configuration: Optional[DeduplicationConfiguration] = None,
) -> PutRawEventsResponse
Publishes pre-shaped events to an event bus.
Parameters:
-
schema_registry_configuration(Optional[SchemaRegistryConfiguration], default:None) –Schema-registry settings for encoding open-format (Avro/Protobuf) events. Required for open-format entries; ignored for JSON entries. The registry is read with the caller's credentials, so the caller needs read access to the registry it references.
-
deduplication_configuration(Optional[DeduplicationConfiguration], default:None) –Request-level deduplication settings, applied to every entry in the batch.
Raises:
-
AccessDeniedException–The caller does not have the permissions required to perform the operation. This error is also returned when the operation cannot use the AWS KMS key for the event bus.
-
InternalException–The request failed because of an internal service error. Retry the request.
-
InvalidInputException–A request parameter is missing or not valid.
-
ThrottlingException–The request was throttled because it exceeds a request rate limit. Retry the request with backoff.
-
InvalidStateException–The resource is not in a state that allows the operation. For example, an event bus that is still being created cannot accept events.
-
ResourceNotFoundException–The resource does not exist.
-
SchemaRegistryUnavailableException–The configured schema registry could not be reached. Retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_eventbridgev2/_services/async_event_bridge_v2.py
1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 | |