PutPartnerEvents - Amazon EventBridge

PutPartnerEvents

This is used by SaaS partners to write events to a customer's partner event bus. AWS customers do not use this operation.

Request Syntax

{ "Entries": [ { "Detail": "string", "DetailType": "string", "Resources": [ "string" ], "Source": "string", "Time": number } ] }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

Entries

The list of events to write to the event bus.

Type: Array of PutPartnerEventsRequestEntry objects

Array Members: Minimum number of 1 item. Maximum number of 20 items.

Required: Yes

Response Syntax

{ "Entries": [ { "ErrorCode": "string", "ErrorMessage": "string", "EventId": "string" } ], "FailedEntryCount": number }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

Entries

The list of events from this operation that were successfully written to the partner event bus.

Type: Array of PutPartnerEventsResultEntry objects

FailedEntryCount

The number of events from this operation that could not be written to the partner event bus.

Type: Integer

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalException

This exception occurs due to unexpected causes.

HTTP Status Code: 500

OperationDisabledException

The operation you are attempting is not available in this region.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: