EventBridge.Client.
put_partner_events
(**kwargs)¶This is used by SaaS partners to write events to a customer's partner event bus. Amazon Web Services customers do not use this operation.
See also: AWS API Documentation
Request Syntax
response = client.put_partner_events(
Entries=[
{
'Time': datetime(2015, 1, 1),
'Source': 'string',
'Resources': [
'string',
],
'DetailType': 'string',
'Detail': 'string'
},
]
)
[REQUIRED]
The list of events to write to the event bus.
The details about an event generated by an SaaS partner.
The date and time of the event.
The event source that is generating the entry.
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested subobjects.
{
'FailedEntryCount': 123,
'Entries': [
{
'EventId': 'string',
'ErrorCode': 'string',
'ErrorMessage': 'string'
},
]
}
Response Structure
The number of events from this operation that could not be written to the partner event bus.
The list of events from this operation that were successfully written to the partner event bus.
Represents an event that a partner tried to generate, but failed.
The ID of the event.
The error code that indicates why the event submission failed.
The error message that explains why the event submission failed.
Exceptions
EventBridge.Client.exceptions.InternalException
EventBridge.Client.exceptions.OperationDisabledException