AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Called by an SaaS partner to create a partner event source. This operation is not used by Amazon Web Services customers.

Each partner event source can be used by one Amazon Web Services account to create a matching partner event bus in that Amazon Web Services account. A SaaS partner must create one partner event source for each Amazon Web Services account that wants to receive those event types.

A partner event source creates events based on resources within the SaaS partner's service or application.

An Amazon Web Services account that creates a partner event bus that matches the partner event source can use that event bus to receive events from the partner, and then process them using Amazon Web Services Events rules and targets.

Partner event source names follow this format:

partner_name/event_namespace/event_name

partner_name is determined during partner registration and identifies the partner to Amazon Web Services customers. event_namespace is determined by the partner and is a way for the partner to categorize their events. event_name is determined by the partner, and should uniquely identify an event-generating resource within the partner system. The combination of event_namespace and event_name should help Amazon Web Services customers decide whether to create an event bus to receive these events.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreatePartnerEventSourceAsync.

Namespace: Amazon.CloudWatchEvents
Assembly: AWSSDK.CloudWatchEvents.dll
Version: 3.x.y.z

Syntax

C#
public virtual CreatePartnerEventSourceResponse CreatePartnerEventSource(
         CreatePartnerEventSourceRequest request
)

Parameters

request
Type: Amazon.CloudWatchEvents.Model.CreatePartnerEventSourceRequest

Container for the necessary parameters to execute the CreatePartnerEventSource service method.

Return Value


The response from the CreatePartnerEventSource service method, as returned by CloudWatchEvents.

Exceptions

ExceptionCondition
ConcurrentModificationException There is concurrent modification on a rule, target, archive, or replay.
InternalException This exception occurs due to unexpected causes.
LimitExceededException The request failed because it attempted to create resource beyond the allowed service quota.
OperationDisabledException The operation you are attempting is not available in this region.
ResourceAlreadyExistsException The resource you are trying to create already exists.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also