code: func (c *PinpointEmail) CreateConfigurationSetEventDestination(input *CreateConfigurationSetEventDestinationInput) (*CreateConfigurationSetEventDestinationOutput, error) {
  	req, out := c.CreateConfigurationSetEventDestinationRequest(input)
  	return out, req.Send()
  }
docs: // CreateConfigurationSetEventDestination API operation for Amazon Pinpoint Email Service.
  //
  // 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.
  //
  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  // with awserr.Error's Code and Message methods to get detailed information about
  // the error.
  //
  // See the AWS API reference guide for Amazon Pinpoint Email Service's
  // API operation CreateConfigurationSetEventDestination for usage and error information.
  //
  // Returned Error Codes:
  //   * ErrCodeNotFoundException "NotFoundException"
  //   The resource you attempted to access doesn't exist.
  //
  //   * ErrCodeAlreadyExistsException "AlreadyExistsException"
  //   The resource specified in your request already exists.
  //
  //   * ErrCodeLimitExceededException "LimitExceededException"
  //   There are too many instances of the specified resource type.
  //
  //   * ErrCodeTooManyRequestsException "TooManyRequestsException"
  //   Too many requests have been made to the operation.
  //
  //   * ErrCodeBadRequestException "BadRequestException"
  //   The input you provided is invalid.
  //
  // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateConfigurationSetEventDestination