// Create an event destination. In Amazon Pinpoint, events include message sends,
// deliveries, opens, clicks, bounces, and complaints. Event destinations are
// places that you can send information about these events to. For example, you can
// send event data to Amazon SNS to receive notifications when you receive bounces
// or complaints, or you can use Amazon Kinesis Data Firehose to stream data to
// Amazon S3 for long-term storage. A single configuration set can include more
// than one event destination.
Create an event destination. In Amazon Pinpoint, events include message sends,
deliveries, opens, clicks, bounces, and complaints. Event destinations are
places that you can send information about these events to. For example, you can
send event data to Amazon SNS to receive notifications when you receive bounces
or complaints, or you can use Amazon Kinesis Data Firehose to stream data to
Amazon S3 for long-term storage. A single configuration set can include more
than one event destination.
// Create an event destination . In Amazon Pinpoint events include message sends // deliveries opens clicks bounces and complaints . Event destinations are // places that you can send information about these events to . For example you can // send event data to Amazon SNS to receive notifications when you receive bounces // or complaints or you can use Amazon Kinesis Data Firehose to stream data to // Amazon S3 for long - term storage . A single configuration set can include more // than one event destination .
func (c *Client) CreateConfigurationSetEventDestination(ctx context.Context, params *CreateConfigurationSetEventDestinationInput, optFns ...func(*Options)) (*CreateConfigurationSetEventDestinationOutput, error) {
	if params == nil {
		params = &CreateConfigurationSetEventDestinationInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "CreateConfigurationSetEventDestination", params, optFns, addOperationCreateConfigurationSetEventDestinationMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*CreateConfigurationSetEventDestinationOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) CreateConfigurationSetEventDestination ( ctx context . Context , params * CreateConfigurationSetEventDestinationInput , optFns ... func ( * Options ) ) ( * CreateConfigurationSetEventDestinationOutput , error ) { if params == nil { params = & CreateConfigurationSetEventDestinationInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationCreateConfigurationSetEventDestinationMiddlewares ) if err != nil { return nil , err } out := result . ( * CreateConfigurationSetEventDestinationOutput ) out . ResultMetadata = metadata return out , nil }
Create an event destination.
Create an event destination .