// Called by an SaaS partner to create a partner event source. This operation is
// not used by AWS customers. Each partner event source can be used by one AWS
// account to create a matching partner event bus in that AWS account. A SaaS
// partner must create one partner event source for each AWS 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 AWS 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 AWS
// 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 AWS 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 AWS customers decide
// whether to create an event bus to receive these events.
Called by an SaaS partner to create a partner event source. This operation is
not used by AWS customers. Each partner event source can be used by one AWS
account to create a matching partner event bus in that AWS account. A SaaS
partner must create one partner event source for each AWS 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 AWS 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 AWS
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 AWS 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 AWS customers decide
whether to create an event bus to receive these events.
// Called by an SaaS partner to create a partner event source . This operation is // not used by AWS customers . Each partner event source can be used by one AWS // account to create a matching partner event bus in that AWS account . A SaaS // partner must create one partner event source for each AWS 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 AWS 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 AWS // 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 AWS 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 AWS customers decide // whether to create an event bus to receive these events .
func (c *Client) CreatePartnerEventSource(ctx context.Context, params *CreatePartnerEventSourceInput, optFns ...func(*Options)) (*CreatePartnerEventSourceOutput, error) {
	if params == nil {
		params = &CreatePartnerEventSourceInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "CreatePartnerEventSource", params, optFns, addOperationCreatePartnerEventSourceMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*CreatePartnerEventSourceOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) CreatePartnerEventSource ( ctx context . Context , params * CreatePartnerEventSourceInput , optFns ... func ( * Options ) ) ( * CreatePartnerEventSourceOutput , error ) { if params == nil { params = & CreatePartnerEventSourceInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationCreatePartnerEventSourceMiddlewares ) if err != nil { return nil , err } out := result . ( * CreatePartnerEventSourceOutput ) out . ResultMetadata = metadata return out , nil }
Called by an SaaS partner to create a partner event source.
Called by an SaaS partner to create a partner event source .