pinpoint

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2019 License: Apache-2.0 Imports: 5 Imported by: 25

Documentation

Overview

Package pinpoint provides the client and types for making API requests to Amazon Pinpoint.

See https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01 for more information on this service.

See pinpoint package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/pinpoint/

Using the Client

To Amazon Pinpoint with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Pinpoint client Pinpoint for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/pinpoint/#New

Index

Constants

View Source
const (

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// Simple message object.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeForbiddenException for service response error code
	// "ForbiddenException".
	//
	// Simple message object.
	ErrCodeForbiddenException = "ForbiddenException"

	// ErrCodeInternalServerErrorException for service response error code
	// "InternalServerErrorException".
	//
	// Simple message object.
	ErrCodeInternalServerErrorException = "InternalServerErrorException"

	// ErrCodeMethodNotAllowedException for service response error code
	// "MethodNotAllowedException".
	//
	// Simple message object.
	ErrCodeMethodNotAllowedException = "MethodNotAllowedException"

	// ErrCodeNotFoundException for service response error code
	// "NotFoundException".
	//
	// Simple message object.
	ErrCodeNotFoundException = "NotFoundException"

	// ErrCodeTooManyRequestsException for service response error code
	// "TooManyRequestsException".
	//
	// Simple message object.
	ErrCodeTooManyRequestsException = "TooManyRequestsException"
)
View Source
const (
	ServiceName = "pinpoint"  // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type ADMChannelRequest

type ADMChannelRequest struct {

	// The Client ID that you obtained from the Amazon App Distribution Portal.
	ClientId *string `type:"string"`

	// The Client Secret that you obtained from the Amazon App Distribution Portal.
	ClientSecret *string `type:"string"`

	// Indicates whether or not the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Amazon Device Messaging channel definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ADMChannelRequest

func (ADMChannelRequest) GoString

func (s ADMChannelRequest) GoString() string

GoString returns the string representation

func (ADMChannelRequest) MarshalFields added in v0.3.0

func (s ADMChannelRequest) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ADMChannelRequest) String

func (s ADMChannelRequest) String() string

String returns the string representation

type ADMChannelResponse

type ADMChannelResponse struct {

	// The ID of the application to which the channel applies.
	ApplicationId *string `type:"string"`

	// The date and time when this channel was created.
	CreationDate *string `type:"string"`

	// Indicates whether or not the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`

	// Not used. Retained for backwards compatibility.
	HasCredential *bool `type:"boolean"`

	// (Deprecated) An identifier for the channel. Retained for backwards compatibility.
	Id *string `type:"string"`

	// Indicates whether or not the channel is archived.
	IsArchived *bool `type:"boolean"`

	// The user who last updated this channel.
	LastModifiedBy *string `type:"string"`

	// The date and time when this channel was last modified.
	LastModifiedDate *string `type:"string"`

	// The platform type. For this channel, the value is always "ADM."
	Platform *string `type:"string"`

	// The channel version.
	Version *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Amazon Device Messaging channel definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ADMChannelResponse

func (ADMChannelResponse) GoString

func (s ADMChannelResponse) GoString() string

GoString returns the string representation

func (ADMChannelResponse) MarshalFields added in v0.3.0

func (s ADMChannelResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ADMChannelResponse) String

func (s ADMChannelResponse) String() string

String returns the string representation

type ADMMessage

type ADMMessage struct {

	// The action that occurs if the user taps a push notification delivered by
	// the campaign: OPEN_APP - Your app launches, or it becomes the foreground
	// app if it has been sent to the background. This is the default action. DEEP_LINK
	// - Uses deep linking features in iOS and Android to open your app and display
	// a designated user interface within the app. URL - The default mobile browser
	// on the user's device launches and opens a web page at the URL you specify.
	// Possible values include: OPEN_APP | DEEP_LINK | URL
	Action Action `type:"string" enum:"true"`

	// The message body of the notification.
	Body *string `type:"string"`

	// Optional. Arbitrary string used to indicate multiple messages are logically
	// the same and that ADM is allowed to drop previously enqueued messages in
	// favor of this one.
	ConsolidationKey *string `type:"string"`

	// The data payload used for a silent push. This payload is added to the notifications'
	// data.pinpoint.jsonBody' object
	Data map[string]string `type:"map"`

	// Optional. Number of seconds ADM should retain the message if the device is
	// offline
	ExpiresAfter *string `type:"string"`

	// The icon image name of the asset saved in your application.
	IconReference *string `type:"string"`

	// The URL that points to an image used as the large icon to the notification
	// content view.
	ImageIconUrl *string `type:"string"`

	// The URL that points to an image used in the push notification.
	ImageUrl *string `type:"string"`

	// Optional. Base-64-encoded MD5 checksum of the data parameter. Used to verify
	// data integrity
	MD5 *string `type:"string"`

	// The Raw JSON formatted string to be used as the payload. This value overrides
	// the message.
	RawContent *string `type:"string"`

	// Indicates if the message should display on the users device. Silent pushes
	// can be used for Remote Configuration and Phone Home use cases.
	SilentPush *bool `type:"boolean"`

	// The URL that points to an image used as the small icon for the notification
	// which will be used to represent the notification in the status bar and content
	// view
	SmallImageIconUrl *string `type:"string"`

	// Indicates a sound to play when the device receives the notification. Supports
	// default, or the filename of a sound resource bundled in the app. Android
	// sound files must reside in /res/raw/
	Sound *string `type:"string"`

	// Default message substitutions. Can be overridden by individual address substitutions.
	Substitutions map[string][]string `type:"map"`

	// The message title that displays above the message on the user's device.
	Title *string `type:"string"`

	// The URL to open in the user's mobile browser. Used if the value for Action
	// is URL.
	Url *string `type:"string"`
	// contains filtered or unexported fields
}

ADM Message. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ADMMessage

func (ADMMessage) GoString

func (s ADMMessage) GoString() string

GoString returns the string representation

func (ADMMessage) MarshalFields added in v0.3.0

func (s ADMMessage) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ADMMessage) String

func (s ADMMessage) String() string

String returns the string representation

type APNSChannelRequest

type APNSChannelRequest struct {

	// The bundle id used for APNs Tokens.
	BundleId *string `type:"string"`

	// The distribution certificate from Apple.
	Certificate *string `type:"string"`

	// The default authentication method used for APNs.
	DefaultAuthenticationMethod *string `type:"string"`

	// If the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`

	// The certificate private key.
	PrivateKey *string `type:"string"`

	// The team id used for APNs Tokens.
	TeamId *string `type:"string"`

	// The token key used for APNs Tokens.
	TokenKey *string `type:"string"`

	// The token key used for APNs Tokens.
	TokenKeyId *string `type:"string"`
	// contains filtered or unexported fields
}

Apple Push Notification Service channel definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSChannelRequest

func (APNSChannelRequest) GoString

func (s APNSChannelRequest) GoString() string

GoString returns the string representation

func (APNSChannelRequest) MarshalFields added in v0.3.0

func (s APNSChannelRequest) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (APNSChannelRequest) String

func (s APNSChannelRequest) String() string

String returns the string representation

type APNSChannelResponse

type APNSChannelResponse struct {

	// The ID of the application that the channel applies to.
	ApplicationId *string `type:"string"`

	// The date and time when this channel was created.
	CreationDate *string `type:"string"`

	// The default authentication method used for APNs.
	DefaultAuthenticationMethod *string `type:"string"`

	// If the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`

	// Not used. Retained for backwards compatibility.
	HasCredential *bool `type:"boolean"`

	// Indicates whether the channel is configured with a key for APNs token authentication.
	// Provide a token key by setting the TokenKey attribute.
	HasTokenKey *bool `type:"boolean"`

	// (Deprecated) An identifier for the channel. Retained for backwards compatibility.
	Id *string `type:"string"`

	// Indicates whether or not the channel is archived.
	IsArchived *bool `type:"boolean"`

	// The user who last updated this channel.
	LastModifiedBy *string `type:"string"`

	// The date and time when this channel was last modified.
	LastModifiedDate *string `type:"string"`

	// The platform type. For this channel, the value is always "ADM."
	Platform *string `type:"string"`

	// The channel version.
	Version *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Apple Distribution Push Notification Service channel definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSChannelResponse

func (APNSChannelResponse) GoString

func (s APNSChannelResponse) GoString() string

GoString returns the string representation

func (APNSChannelResponse) MarshalFields added in v0.3.0

func (s APNSChannelResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (APNSChannelResponse) String

func (s APNSChannelResponse) String() string

String returns the string representation

type APNSMessage

type APNSMessage struct {

	// The action that occurs if the user taps a push notification delivered by
	// the campaign: OPEN_APP - Your app launches, or it becomes the foreground
	// app if it has been sent to the background. This is the default action. DEEP_LINK
	// - Uses deep linking features in iOS and Android to open your app and display
	// a designated user interface within the app. URL - The default mobile browser
	// on the user's device launches and opens a web page at the URL you specify.
	// Possible values include: OPEN_APP | DEEP_LINK | URL
	Action Action `type:"string" enum:"true"`

	// Include this key when you want the system to modify the badge of your app
	// icon. If this key is not included in the dictionary, the badge is not changed.
	// To remove the badge, set the value of this key to 0.
	Badge *int64 `type:"integer"`

	// The message body of the notification.
	Body *string `type:"string"`

	// Provide this key with a string value that represents the notification's type.
	// This value corresponds to the value in the identifier property of one of
	// your app's registered categories.
	Category *string `type:"string"`

	// An ID that, if assigned to multiple messages, causes APNs to coalesce the
	// messages into a single push notification instead of delivering each message
	// individually. The value must not exceed 64 bytes. Amazon Pinpoint uses this
	// value to set the apns-collapse-id request header when it sends the message
	// to APNs.
	CollapseId *string `type:"string"`

	// The data payload used for a silent push. This payload is added to the notifications'
	// data.pinpoint.jsonBody' object
	Data map[string]string `type:"map"`

	// A URL that refers to the location of an image or video that you want to display
	// in the push notification.
	MediaUrl *string `type:"string"`

	// The preferred authentication method, either "CERTIFICATE" or "TOKEN"
	PreferredAuthenticationMethod *string `type:"string"`

	// The message priority. Amazon Pinpoint uses this value to set the apns-priority
	// request header when it sends the message to APNs. Accepts the following values:"5"
	// - Low priority. Messages might be delayed, delivered in groups, and throttled."10"
	// - High priority. Messages are sent immediately. High priority messages must
	// cause an alert, sound, or badge on the receiving device.The default value
	// is "10".The equivalent values for FCM or GCM messages are "normal" and "high".
	// Amazon Pinpoint accepts these values for APNs messages and converts them.For
	// more information about the apns-priority parameter, see Communicating with
	// APNs in the APNs Local and Remote Notification Programming Guide.
	Priority *string `type:"string"`

	// The Raw JSON formatted string to be used as the payload. This value overrides
	// the message.
	RawContent *string `type:"string"`

	// Indicates if the message should display on the users device. Silent pushes
	// can be used for Remote Configuration and Phone Home use cases.
	SilentPush *bool `type:"boolean"`

	// Include this key when you want the system to play a sound. The value of this
	// key is the name of a sound file in your app's main bundle or in the Library/Sounds
	// folder of your app's data container. If the sound file cannot be found, or
	// if you specify defaultfor the value, the system plays the default alert sound.
	Sound *string `type:"string"`

	// Default message substitutions. Can be overridden by individual address substitutions.
	Substitutions map[string][]string `type:"map"`

	// Provide this key with a string value that represents the app-specific identifier
	// for grouping notifications. If you provide a Notification Content app extension,
	// you can use this value to group your notifications together.
	ThreadId *string `type:"string"`

	// The length of time (in seconds) that APNs stores and attempts to deliver
	// the message. If the value is 0, APNs does not store the message or attempt
	// to deliver it more than once. Amazon Pinpoint uses this value to set the
	// apns-expiration request header when it sends the message to APNs.
	TimeToLive *int64 `type:"integer"`

	// The message title that displays above the message on the user's device.
	Title *string `type:"string"`

	// The URL to open in the user's mobile browser. Used if the value for Action
	// is URL.
	Url *string `type:"string"`
	// contains filtered or unexported fields
}

APNS Message. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSMessage

func (APNSMessage) GoString

func (s APNSMessage) GoString() string

GoString returns the string representation

func (APNSMessage) MarshalFields added in v0.3.0

func (s APNSMessage) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (APNSMessage) String

func (s APNSMessage) String() string

String returns the string representation

type APNSSandboxChannelRequest

type APNSSandboxChannelRequest struct {

	// The bundle id used for APNs Tokens.
	BundleId *string `type:"string"`

	// The distribution certificate from Apple.
	Certificate *string `type:"string"`

	// The default authentication method used for APNs.
	DefaultAuthenticationMethod *string `type:"string"`

	// If the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`

	// The certificate private key.
	PrivateKey *string `type:"string"`

	// The team id used for APNs Tokens.
	TeamId *string `type:"string"`

	// The token key used for APNs Tokens.
	TokenKey *string `type:"string"`

	// The token key used for APNs Tokens.
	TokenKeyId *string `type:"string"`
	// contains filtered or unexported fields
}

Apple Development Push Notification Service channel definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSSandboxChannelRequest

func (APNSSandboxChannelRequest) GoString

func (s APNSSandboxChannelRequest) GoString() string

GoString returns the string representation

func (APNSSandboxChannelRequest) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (APNSSandboxChannelRequest) String

func (s APNSSandboxChannelRequest) String() string

String returns the string representation

type APNSSandboxChannelResponse

type APNSSandboxChannelResponse struct {

	// The ID of the application to which the channel applies.
	ApplicationId *string `type:"string"`

	// When was this segment created
	CreationDate *string `type:"string"`

	// The default authentication method used for APNs.
	DefaultAuthenticationMethod *string `type:"string"`

	// If the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`

	// Not used. Retained for backwards compatibility.
	HasCredential *bool `type:"boolean"`

	// Indicates whether the channel is configured with a key for APNs token authentication.
	// Provide a token key by setting the TokenKey attribute.
	HasTokenKey *bool `type:"boolean"`

	// Channel ID. Not used, only for backwards compatibility.
	Id *string `type:"string"`

	// Is this channel archived
	IsArchived *bool `type:"boolean"`

	// Who last updated this entry
	LastModifiedBy *string `type:"string"`

	// Last date this was updated
	LastModifiedDate *string `type:"string"`

	// The platform type. Will be APNS_SANDBOX.
	Platform *string `type:"string"`

	// Version of channel
	Version *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Apple Development Push Notification Service channel definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSSandboxChannelResponse

func (APNSSandboxChannelResponse) GoString

func (s APNSSandboxChannelResponse) GoString() string

GoString returns the string representation

func (APNSSandboxChannelResponse) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (APNSSandboxChannelResponse) String

String returns the string representation

type APNSVoipChannelRequest added in v0.2.0

type APNSVoipChannelRequest struct {

	// The bundle id used for APNs Tokens.
	BundleId *string `type:"string"`

	// The distribution certificate from Apple.
	Certificate *string `type:"string"`

	// The default authentication method used for APNs.
	DefaultAuthenticationMethod *string `type:"string"`

	// If the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`

	// The certificate private key.
	PrivateKey *string `type:"string"`

	// The team id used for APNs Tokens.
	TeamId *string `type:"string"`

	// The token key used for APNs Tokens.
	TokenKey *string `type:"string"`

	// The token key used for APNs Tokens.
	TokenKeyId *string `type:"string"`
	// contains filtered or unexported fields
}

Apple VoIP Push Notification Service channel definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSVoipChannelRequest

func (APNSVoipChannelRequest) GoString added in v0.2.0

func (s APNSVoipChannelRequest) GoString() string

GoString returns the string representation

func (APNSVoipChannelRequest) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (APNSVoipChannelRequest) String added in v0.2.0

func (s APNSVoipChannelRequest) String() string

String returns the string representation

type APNSVoipChannelResponse added in v0.2.0

type APNSVoipChannelResponse struct {

	// Application id
	ApplicationId *string `type:"string"`

	// When was this segment created
	CreationDate *string `type:"string"`

	// The default authentication method used for APNs.
	DefaultAuthenticationMethod *string `type:"string"`

	// If the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`

	// Not used. Retained for backwards compatibility.
	HasCredential *bool `type:"boolean"`

	// If the channel is registered with a token key for authentication.
	HasTokenKey *bool `type:"boolean"`

	// Channel ID. Not used, only for backwards compatibility.
	Id *string `type:"string"`

	// Is this channel archived
	IsArchived *bool `type:"boolean"`

	// Who made the last change
	LastModifiedBy *string `type:"string"`

	// Last date this was updated
	LastModifiedDate *string `type:"string"`

	// The platform type. Will be APNS.
	Platform *string `type:"string"`

	// Version of channel
	Version *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Apple VoIP Push Notification Service channel definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSVoipChannelResponse

func (APNSVoipChannelResponse) GoString added in v0.2.0

func (s APNSVoipChannelResponse) GoString() string

GoString returns the string representation

func (APNSVoipChannelResponse) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (APNSVoipChannelResponse) String added in v0.2.0

func (s APNSVoipChannelResponse) String() string

String returns the string representation

type APNSVoipSandboxChannelRequest added in v0.2.0

type APNSVoipSandboxChannelRequest struct {

	// The bundle id used for APNs Tokens.
	BundleId *string `type:"string"`

	// The distribution certificate from Apple.
	Certificate *string `type:"string"`

	// The default authentication method used for APNs.
	DefaultAuthenticationMethod *string `type:"string"`

	// If the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`

	// The certificate private key.
	PrivateKey *string `type:"string"`

	// The team id used for APNs Tokens.
	TeamId *string `type:"string"`

	// The token key used for APNs Tokens.
	TokenKey *string `type:"string"`

	// The token key used for APNs Tokens.
	TokenKeyId *string `type:"string"`
	// contains filtered or unexported fields
}

Apple VoIP Developer Push Notification Service channel definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSVoipSandboxChannelRequest

func (APNSVoipSandboxChannelRequest) GoString added in v0.2.0

GoString returns the string representation

func (APNSVoipSandboxChannelRequest) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (APNSVoipSandboxChannelRequest) String added in v0.2.0

String returns the string representation

type APNSVoipSandboxChannelResponse added in v0.2.0

type APNSVoipSandboxChannelResponse struct {

	// Application id
	ApplicationId *string `type:"string"`

	// When was this segment created
	CreationDate *string `type:"string"`

	// The default authentication method used for APNs.
	DefaultAuthenticationMethod *string `type:"string"`

	// If the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`

	// Not used. Retained for backwards compatibility.
	HasCredential *bool `type:"boolean"`

	// If the channel is registered with a token key for authentication.
	HasTokenKey *bool `type:"boolean"`

	// Channel ID. Not used, only for backwards compatibility.
	Id *string `type:"string"`

	// Is this channel archived
	IsArchived *bool `type:"boolean"`

	// Who made the last change
	LastModifiedBy *string `type:"string"`

	// Last date this was updated
	LastModifiedDate *string `type:"string"`

	// The platform type. Will be APNS.
	Platform *string `type:"string"`

	// Version of channel
	Version *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Apple VoIP Developer Push Notification Service channel definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSVoipSandboxChannelResponse

func (APNSVoipSandboxChannelResponse) GoString added in v0.2.0

GoString returns the string representation

func (APNSVoipSandboxChannelResponse) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (APNSVoipSandboxChannelResponse) String added in v0.2.0

String returns the string representation

type Action

type Action string
const (
	ActionOpenApp  Action = "OPEN_APP"
	ActionDeepLink Action = "DEEP_LINK"
	ActionUrl      Action = "URL"
)

Enum values for Action

func (Action) MarshalValue added in v0.3.0

func (enum Action) MarshalValue() (string, error)

func (Action) MarshalValueBuf added in v0.3.0

func (enum Action) MarshalValueBuf(b []byte) ([]byte, error)

type ActivitiesResponse

type ActivitiesResponse struct {

	// List of campaign activities
	Item []ActivityResponse `type:"list"`

	// The string that you use in a subsequent request to get the next page of results
	// in a paginated response.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Activities for campaign. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ActivitiesResponse

func (ActivitiesResponse) GoString

func (s ActivitiesResponse) GoString() string

GoString returns the string representation

func (ActivitiesResponse) MarshalFields added in v0.3.0

func (s ActivitiesResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ActivitiesResponse) String

func (s ActivitiesResponse) String() string

String returns the string representation

type ActivityResponse

type ActivityResponse struct {

	// The ID of the application to which the campaign applies.
	ApplicationId *string `type:"string"`

	// The ID of the campaign to which the activity applies.
	CampaignId *string `type:"string"`

	// The actual time the activity was marked CANCELLED or COMPLETED. Provided
	// in ISO 8601 format.
	End *string `type:"string"`

	// The unique activity ID.
	Id *string `type:"string"`

	// Indicates whether the activity succeeded.Valid values: SUCCESS, FAIL
	Result *string `type:"string"`

	// The scheduled start time for the activity in ISO 8601 format.
	ScheduledStart *string `type:"string"`

	// The actual start time of the activity in ISO 8601 format.
	Start *string `type:"string"`

	// The state of the activity.Valid values: PENDING, INITIALIZING, RUNNING, PAUSED,
	// CANCELLED, COMPLETED
	State *string `type:"string"`

	// The total number of endpoints to which the campaign successfully delivered
	// messages.
	SuccessfulEndpointCount *int64 `type:"integer"`

	// The total number of timezones completed.
	TimezonesCompletedCount *int64 `type:"integer"`

	// The total number of unique timezones present in the segment.
	TimezonesTotalCount *int64 `type:"integer"`

	// The total number of endpoints to which the campaign attempts to deliver messages.
	TotalEndpointCount *int64 `type:"integer"`

	// The ID of a variation of the campaign used for A/B testing.
	TreatmentId *string `type:"string"`
	// contains filtered or unexported fields
}

Activity definition Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ActivityResponse

func (ActivityResponse) GoString

func (s ActivityResponse) GoString() string

GoString returns the string representation

func (ActivityResponse) MarshalFields added in v0.3.0

func (s ActivityResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ActivityResponse) String

func (s ActivityResponse) String() string

String returns the string representation

type AddressConfiguration

type AddressConfiguration struct {

	// Body override. If specified will override default body.
	BodyOverride *string `type:"string"`

	// The channel type.Valid values: GCM | APNS | APNS_SANDBOX | APNS_VOIP | APNS_VOIP_SANDBOX
	// | ADM | SMS | EMAIL | BAIDU
	ChannelType ChannelType `type:"string" enum:"true"`

	// A map of custom attributes to attributes to be attached to the message for
	// this address. This payload is added to the push notification's 'data.pinpoint'
	// object or added to the email/sms delivery receipt event attributes.
	Context map[string]string `type:"map"`

	// The Raw JSON formatted string to be used as the payload. This value overrides
	// the message.
	RawContent *string `type:"string"`

	// A map of substitution values for the message to be merged with the DefaultMessage's
	// substitutions. Substitutions on this map take precedence over the all other
	// substitutions.
	Substitutions map[string][]string `type:"map"`

	// Title override. If specified will override default title if applicable.
	TitleOverride *string `type:"string"`
	// contains filtered or unexported fields
}

Address configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/AddressConfiguration

func (AddressConfiguration) GoString

func (s AddressConfiguration) GoString() string

GoString returns the string representation

func (AddressConfiguration) MarshalFields added in v0.3.0

func (s AddressConfiguration) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AddressConfiguration) String

func (s AddressConfiguration) String() string

String returns the string representation

type ApplicationResponse

type ApplicationResponse struct {

	// The unique application ID.
	Id *string `type:"string"`

	// The display name of the application.
	Name *string `type:"string"`
	// contains filtered or unexported fields
}

Application Response. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ApplicationResponse

func (ApplicationResponse) GoString

func (s ApplicationResponse) GoString() string

GoString returns the string representation

func (ApplicationResponse) MarshalFields added in v0.3.0

func (s ApplicationResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ApplicationResponse) String

func (s ApplicationResponse) String() string

String returns the string representation

type ApplicationSettingsResource

type ApplicationSettingsResource struct {

	// The unique ID for the application.
	ApplicationId *string `type:"string"`

	// Default campaign hook.
	CampaignHook *CampaignHook `type:"structure"`

	// The date that the settings were last updated in ISO 8601 format.
	LastModifiedDate *string `type:"string"`

	// The default campaign limits for the app. These limits apply to each campaign
	// for the app, unless the campaign overrides the default with limits of its
	// own.
	Limits *CampaignLimits `type:"structure"`

	// The default quiet time for the app. Campaigns in the app don't send messages
	// to endpoints during the quiet time.Note: Make sure that your endpoints include
	// the Demographics.Timezone attribute if you plan to enable a quiet time for
	// your app. If your endpoints don't include this attribute, they'll receive
	// the messages that you send them, even if quiet time is enabled.When you set
	// up an app to use quiet time, campaigns in that app don't send messages during
	// the time range you specified, as long as all of the following are true:-
	// The endpoint includes a valid Demographic.Timezone attribute.- The current
	// time in the endpoint's time zone is later than or equal to the time specified
	// in the QuietTime.Start attribute for the app (or campaign, if applicable).-
	// The current time in the endpoint's time zone is earlier than or equal to
	// the time specified in the QuietTime.End attribute for the app (or campaign,
	// if applicable).Individual campaigns within the app can have their own quiet
	// time settings, which override the quiet time settings at the app level.
	QuietTime *QuietTime `type:"structure"`
	// contains filtered or unexported fields
}

Application settings. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ApplicationSettingsResource

func (ApplicationSettingsResource) GoString

func (s ApplicationSettingsResource) GoString() string

GoString returns the string representation

func (ApplicationSettingsResource) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ApplicationSettingsResource) String

String returns the string representation

type ApplicationsResponse

type ApplicationsResponse struct {

	// List of applications returned in this page.
	Item []ApplicationResponse `type:"list"`

	// The string that you use in a subsequent request to get the next page of results
	// in a paginated response.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Get Applications Result. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ApplicationsResponse

func (ApplicationsResponse) GoString

func (s ApplicationsResponse) GoString() string

GoString returns the string representation

func (ApplicationsResponse) MarshalFields added in v0.3.0

func (s ApplicationsResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ApplicationsResponse) String

func (s ApplicationsResponse) String() string

String returns the string representation

type AttributeDimension

type AttributeDimension struct {

	// The type of dimension:INCLUSIVE - Endpoints that match the criteria are included
	// in the segment.EXCLUSIVE - Endpoints that match the criteria are excluded
	// from the segment.
	AttributeType AttributeType `type:"string" enum:"true"`

	// The criteria values for the segment dimension. Endpoints with matching attribute
	// values are included or excluded from the segment, depending on the setting
	// for Type.
	Values []string `type:"list"`
	// contains filtered or unexported fields
}

Custom attibute dimension Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/AttributeDimension

func (AttributeDimension) GoString

func (s AttributeDimension) GoString() string

GoString returns the string representation

func (AttributeDimension) MarshalFields added in v0.3.0

func (s AttributeDimension) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AttributeDimension) String

func (s AttributeDimension) String() string

String returns the string representation

type AttributeType

type AttributeType string
const (
	AttributeTypeInclusive AttributeType = "INCLUSIVE"
	AttributeTypeExclusive AttributeType = "EXCLUSIVE"
)

Enum values for AttributeType

func (AttributeType) MarshalValue added in v0.3.0

func (enum AttributeType) MarshalValue() (string, error)

func (AttributeType) MarshalValueBuf added in v0.3.0

func (enum AttributeType) MarshalValueBuf(b []byte) ([]byte, error)

type AttributesResource added in v0.5.0

type AttributesResource struct {

	// The unique ID for the application.
	ApplicationId *string `type:"string"`

	// The attribute type for the application.
	AttributeType *string `type:"string"`

	// The attributes for the application.
	Attributes []string `type:"list"`
	// contains filtered or unexported fields
}

Attributes. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/AttributesResource

func (AttributesResource) GoString added in v0.5.0

func (s AttributesResource) GoString() string

GoString returns the string representation

func (AttributesResource) MarshalFields added in v0.5.0

func (s AttributesResource) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AttributesResource) String added in v0.5.0

func (s AttributesResource) String() string

String returns the string representation

type BaiduChannelRequest

type BaiduChannelRequest struct {

	// Platform credential API key from Baidu.
	ApiKey *string `type:"string"`

	// If the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`

	// Platform credential Secret key from Baidu.
	SecretKey *string `type:"string"`
	// contains filtered or unexported fields
}

Baidu Cloud Push credentials Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/BaiduChannelRequest

func (BaiduChannelRequest) GoString

func (s BaiduChannelRequest) GoString() string

GoString returns the string representation

func (BaiduChannelRequest) MarshalFields added in v0.3.0

func (s BaiduChannelRequest) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BaiduChannelRequest) String

func (s BaiduChannelRequest) String() string

String returns the string representation

type BaiduChannelResponse

type BaiduChannelResponse struct {

	// Application id
	ApplicationId *string `type:"string"`

	// When was this segment created
	CreationDate *string `type:"string"`

	// The Baidu API key from Baidu.
	Credential *string `type:"string"`

	// If the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`

	// Not used. Retained for backwards compatibility.
	HasCredential *bool `type:"boolean"`

	// Channel ID. Not used, only for backwards compatibility.
	Id *string `type:"string"`

	// Is this channel archived
	IsArchived *bool `type:"boolean"`

	// Who made the last change
	LastModifiedBy *string `type:"string"`

	// Last date this was updated
	LastModifiedDate *string `type:"string"`

	// The platform type. Will be BAIDU
	Platform *string `type:"string"`

	// Version of channel
	Version *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Baidu Cloud Messaging channel definition Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/BaiduChannelResponse

func (BaiduChannelResponse) GoString

func (s BaiduChannelResponse) GoString() string

GoString returns the string representation

func (BaiduChannelResponse) MarshalFields added in v0.3.0

func (s BaiduChannelResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BaiduChannelResponse) String

func (s BaiduChannelResponse) String() string

String returns the string representation

type BaiduMessage

type BaiduMessage struct {

	// The action that occurs if the user taps a push notification delivered by
	// the campaign: OPEN_APP - Your app launches, or it becomes the foreground
	// app if it has been sent to the background. This is the default action. DEEP_LINK
	// - Uses deep linking features in iOS and Android to open your app and display
	// a designated user interface within the app. URL - The default mobile browser
	// on the user's device launches and opens a web page at the URL you specify.
	// Possible values include: OPEN_APP | DEEP_LINK | URL
	Action Action `type:"string" enum:"true"`

	// The message body of the notification.
	Body *string `type:"string"`

	// The data payload used for a silent push. This payload is added to the notifications'
	// data.pinpoint.jsonBody' object
	Data map[string]string `type:"map"`

	// The icon image name of the asset saved in your application.
	IconReference *string `type:"string"`

	// The URL that points to an image used as the large icon to the notification
	// content view.
	ImageIconUrl *string `type:"string"`

	// The URL that points to an image used in the push notification.
	ImageUrl *string `type:"string"`

	// The Raw JSON formatted string to be used as the payload. This value overrides
	// the message.
	RawContent *string `type:"string"`

	// Indicates if the message should display on the users device. Silent pushes
	// can be used for Remote Configuration and Phone Home use cases.
	SilentPush *bool `type:"boolean"`

	// The URL that points to an image used as the small icon for the notification
	// which will be used to represent the notification in the status bar and content
	// view
	SmallImageIconUrl *string `type:"string"`

	// Indicates a sound to play when the device receives the notification. Supports
	// default, or the filename of a sound resource bundled in the app. Android
	// sound files must reside in /res/raw/
	Sound *string `type:"string"`

	// Default message substitutions. Can be overridden by individual address substitutions.
	Substitutions map[string][]string `type:"map"`

	// This parameter specifies how long (in seconds) the message should be kept
	// in Baidu storage if the device is offline. The and the default value and
	// the maximum time to live supported is 7 days (604800 seconds)
	TimeToLive *int64 `type:"integer"`

	// The message title that displays above the message on the user's device.
	Title *string `type:"string"`

	// The URL to open in the user's mobile browser. Used if the value for Action
	// is URL.
	Url *string `type:"string"`
	// contains filtered or unexported fields
}

Baidu Message. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/BaiduMessage

func (BaiduMessage) GoString

func (s BaiduMessage) GoString() string

GoString returns the string representation

func (BaiduMessage) MarshalFields added in v0.3.0

func (s BaiduMessage) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BaiduMessage) String

func (s BaiduMessage) String() string

String returns the string representation

type CampaignEmailMessage

type CampaignEmailMessage struct {

	// The email text body.
	Body *string `type:"string"`

	// The email address used to send the email from. Defaults to use FromAddress
	// specified in the Email Channel.
	FromAddress *string `type:"string"`

	// The email html body.
	HtmlBody *string `type:"string"`

	// The email title (Or subject).
	Title *string `type:"string"`
	// contains filtered or unexported fields
}

The email message configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignEmailMessage

func (CampaignEmailMessage) GoString

func (s CampaignEmailMessage) GoString() string

GoString returns the string representation

func (CampaignEmailMessage) MarshalFields added in v0.3.0

func (s CampaignEmailMessage) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CampaignEmailMessage) String

func (s CampaignEmailMessage) String() string

String returns the string representation

type CampaignEventFilter added in v0.6.0

type CampaignEventFilter struct {

	// An object that defines the dimensions for the event filter.
	Dimensions *EventDimensions `type:"structure"`

	// The type of event that causes the campaign to be sent. Possible values:SYSTEM
	// - Send the campaign when a system event occurs. See the System resource for
	// more information.ENDPOINT - Send the campaign when an endpoint event occurs.
	// See the Event resource for more information.
	FilterType FilterType `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

An object that defines the events that cause the campaign to be sent. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignEventFilter

func (CampaignEventFilter) GoString added in v0.6.0

func (s CampaignEventFilter) GoString() string

GoString returns the string representation

func (CampaignEventFilter) MarshalFields added in v0.6.0

func (s CampaignEventFilter) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CampaignEventFilter) String added in v0.6.0

func (s CampaignEventFilter) String() string

String returns the string representation

type CampaignHook added in v0.4.0

type CampaignHook struct {

	// Lambda function name or arn to be called for delivery
	LambdaFunctionName *string `type:"string"`

	// What mode Lambda should be invoked in.
	Mode Mode `type:"string" enum:"true"`

	// Web URL to call for hook. If the URL has authentication specified it will
	// be added as authentication to the request
	WebUrl *string `type:"string"`
	// contains filtered or unexported fields
}

Campaign hook information. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignHook

func (CampaignHook) GoString added in v0.4.0

func (s CampaignHook) GoString() string

GoString returns the string representation

func (CampaignHook) MarshalFields added in v0.4.0

func (s CampaignHook) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CampaignHook) String added in v0.4.0

func (s CampaignHook) String() string

String returns the string representation

type CampaignLimits

type CampaignLimits struct {

	// The maximum number of messages that each campaign can send to a single endpoint
	// in a 24-hour period.
	Daily *int64 `type:"integer"`

	// The length of time (in seconds) that the campaign can run before it ends
	// and message deliveries stop. This duration begins at the scheduled start
	// time for the campaign. The minimum value is 60.
	MaximumDuration *int64 `type:"integer"`

	// The number of messages that the campaign can send per second. The minimum
	// value is 50, and the maximum is 20000.
	MessagesPerSecond *int64 `type:"integer"`

	// The maximum number of messages that an individual campaign can send to a
	// single endpoint over the course of the campaign.
	Total *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Campaign Limits are used to limit the number of messages that can be sent to a single endpoint. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignLimits

func (CampaignLimits) GoString

func (s CampaignLimits) GoString() string

GoString returns the string representation

func (CampaignLimits) MarshalFields added in v0.3.0

func (s CampaignLimits) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CampaignLimits) String

func (s CampaignLimits) String() string

String returns the string representation

type CampaignResponse

type CampaignResponse struct {

	// Treatments that are defined in addition to the default treatment.
	AdditionalTreatments []TreatmentResource `type:"list"`

	// The ID of the application to which the campaign applies.
	ApplicationId *string `type:"string"`

	// The date the campaign was created in ISO 8601 format.
	CreationDate *string `type:"string"`

	// The status of the campaign's default treatment. Only present for A/B test
	// campaigns.
	DefaultState *CampaignState `type:"structure"`

	// A description of the campaign.
	Description *string `type:"string"`

	// The allocated percentage of end users who will not receive messages from
	// this campaign.
	HoldoutPercent *int64 `type:"integer"`

	// Campaign hook information.
	Hook *CampaignHook `type:"structure"`

	// The unique campaign ID.
	Id *string `type:"string"`

	// Indicates whether the campaign is paused. A paused campaign does not send
	// messages unless you resume it by setting IsPaused to false.
	IsPaused *bool `type:"boolean"`

	// The date the campaign was last updated in ISO 8601 format.
	LastModifiedDate *string `type:"string"`

	// The campaign limits settings.
	Limits *CampaignLimits `type:"structure"`

	// The message configuration settings.
	MessageConfiguration *MessageConfiguration `type:"structure"`

	// The custom name of the campaign.
	Name *string `type:"string"`

	// The campaign schedule.
	Schedule *Schedule `type:"structure"`

	// The ID of the segment to which the campaign sends messages.
	SegmentId *string `type:"string"`

	// The version of the segment to which the campaign sends messages.
	SegmentVersion *int64 `type:"integer"`

	// The campaign status.An A/B test campaign will have a status of COMPLETED
	// only when all treatments have a status of COMPLETED.
	State *CampaignState `type:"structure"`

	// A custom description for the treatment.
	TreatmentDescription *string `type:"string"`

	// The custom name of a variation of the campaign used for A/B testing.
	TreatmentName *string `type:"string"`

	// The campaign version number.
	Version *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Campaign definition Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignResponse

func (CampaignResponse) GoString

func (s CampaignResponse) GoString() string

GoString returns the string representation

func (CampaignResponse) MarshalFields added in v0.3.0

func (s CampaignResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CampaignResponse) String

func (s CampaignResponse) String() string

String returns the string representation

type CampaignSmsMessage

type CampaignSmsMessage struct {

	// The SMS text body.
	Body *string `type:"string"`

	// Is this is a transactional SMS message, otherwise a promotional message.
	MessageType MessageType `type:"string" enum:"true"`

	// Sender ID of sent message.
	SenderId *string `type:"string"`
	// contains filtered or unexported fields
}

SMS message configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignSmsMessage

func (CampaignSmsMessage) GoString

func (s CampaignSmsMessage) GoString() string

GoString returns the string representation

func (CampaignSmsMessage) MarshalFields added in v0.3.0

func (s CampaignSmsMessage) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CampaignSmsMessage) String

func (s CampaignSmsMessage) String() string

String returns the string representation

type CampaignState

type CampaignState struct {

	// The status of the campaign, or the status of a treatment that belongs to
	// an A/B test campaign.Valid values: SCHEDULED, EXECUTING, PENDING_NEXT_RUN,
	// COMPLETED, PAUSED
	CampaignStatus CampaignStatus `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

State of the Campaign Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignState

func (CampaignState) GoString

func (s CampaignState) GoString() string

GoString returns the string representation

func (CampaignState) MarshalFields added in v0.3.0

func (s CampaignState) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CampaignState) String

func (s CampaignState) String() string

String returns the string representation

type CampaignStatus

type CampaignStatus string
const (
	CampaignStatusScheduled      CampaignStatus = "SCHEDULED"
	CampaignStatusExecuting      CampaignStatus = "EXECUTING"
	CampaignStatusPendingNextRun CampaignStatus = "PENDING_NEXT_RUN"
	CampaignStatusCompleted      CampaignStatus = "COMPLETED"
	CampaignStatusPaused         CampaignStatus = "PAUSED"
	CampaignStatusDeleted        CampaignStatus = "DELETED"
)

Enum values for CampaignStatus

func (CampaignStatus) MarshalValue added in v0.3.0

func (enum CampaignStatus) MarshalValue() (string, error)

func (CampaignStatus) MarshalValueBuf added in v0.3.0

func (enum CampaignStatus) MarshalValueBuf(b []byte) ([]byte, error)

type CampaignsResponse

type CampaignsResponse struct {

	// A list of campaigns.
	Item []CampaignResponse `type:"list"`

	// The string that you use in a subsequent request to get the next page of results
	// in a paginated response.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

List of available campaigns. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignsResponse

func (CampaignsResponse) GoString

func (s CampaignsResponse) GoString() string

GoString returns the string representation

func (CampaignsResponse) MarshalFields added in v0.3.0

func (s CampaignsResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CampaignsResponse) String

func (s CampaignsResponse) String() string

String returns the string representation

type ChannelResponse added in v0.5.0

type ChannelResponse struct {

	// Application id
	ApplicationId *string `type:"string"`

	// When was this segment created
	CreationDate *string `type:"string"`

	// If the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`

	// Not used. Retained for backwards compatibility.
	HasCredential *bool `type:"boolean"`

	// Channel ID. Not used, only for backwards compatibility.
	Id *string `type:"string"`

	// Is this channel archived
	IsArchived *bool `type:"boolean"`

	// Who made the last change
	LastModifiedBy *string `type:"string"`

	// Last date this was updated
	LastModifiedDate *string `type:"string"`

	// Version of channel
	Version *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Base definition for channel response. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ChannelResponse

func (ChannelResponse) GoString added in v0.5.0

func (s ChannelResponse) GoString() string

GoString returns the string representation

func (ChannelResponse) MarshalFields added in v0.5.0

func (s ChannelResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ChannelResponse) String added in v0.5.0

func (s ChannelResponse) String() string

String returns the string representation

type ChannelType

type ChannelType string
const (
	ChannelTypeGcm             ChannelType = "GCM"
	ChannelTypeApns            ChannelType = "APNS"
	ChannelTypeApnsSandbox     ChannelType = "APNS_SANDBOX"
	ChannelTypeApnsVoip        ChannelType = "APNS_VOIP"
	ChannelTypeApnsVoipSandbox ChannelType = "APNS_VOIP_SANDBOX"
	ChannelTypeAdm             ChannelType = "ADM"
	ChannelTypeSms             ChannelType = "SMS"
	ChannelTypeVoice           ChannelType = "VOICE"
	ChannelTypeEmail           ChannelType = "EMAIL"
	ChannelTypeBaidu           ChannelType = "BAIDU"
	ChannelTypeCustom          ChannelType = "CUSTOM"
)

Enum values for ChannelType

func (ChannelType) MarshalValue added in v0.3.0

func (enum ChannelType) MarshalValue() (string, error)

func (ChannelType) MarshalValueBuf added in v0.3.0

func (enum ChannelType) MarshalValueBuf(b []byte) ([]byte, error)

type ChannelsResponse added in v0.5.0

type ChannelsResponse struct {

	// A map of channels, with the ChannelType as the key and the Channel as the
	// value.
	Channels map[string]ChannelResponse `type:"map"`
	// contains filtered or unexported fields
}

Get channels definition Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ChannelsResponse

func (ChannelsResponse) GoString added in v0.5.0

func (s ChannelsResponse) GoString() string

GoString returns the string representation

func (ChannelsResponse) MarshalFields added in v0.5.0

func (s ChannelsResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ChannelsResponse) String added in v0.5.0

func (s ChannelsResponse) String() string

String returns the string representation

type CreateAppInput

type CreateAppInput struct {

	// Application Request.
	//
	// CreateApplicationRequest is a required field
	CreateApplicationRequest *CreateApplicationRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateAppRequest

func (CreateAppInput) GoString

func (s CreateAppInput) GoString() string

GoString returns the string representation

func (CreateAppInput) MarshalFields added in v0.3.0

func (s CreateAppInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateAppInput) String

func (s CreateAppInput) String() string

String returns the string representation

func (*CreateAppInput) Validate

func (s *CreateAppInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateAppOutput

type CreateAppOutput struct {

	// Application Response.
	//
	// ApplicationResponse is a required field
	ApplicationResponse *ApplicationResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateAppResponse

func (CreateAppOutput) GoString

func (s CreateAppOutput) GoString() string

GoString returns the string representation

func (CreateAppOutput) MarshalFields added in v0.3.0

func (s CreateAppOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateAppOutput) SDKResponseMetadata

func (s CreateAppOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateAppOutput) String

func (s CreateAppOutput) String() string

String returns the string representation

type CreateAppRequest

type CreateAppRequest struct {
	*aws.Request
	Input *CreateAppInput
	Copy  func(*CreateAppInput) CreateAppRequest
}

CreateAppRequest is a API request type for the CreateApp API operation.

func (CreateAppRequest) Send

func (r CreateAppRequest) Send() (*CreateAppOutput, error)

Send marshals and sends the CreateApp API request.

type CreateApplicationRequest

type CreateApplicationRequest struct {

	// The display name of the application. Used in the Amazon Pinpoint console.
	Name *string `type:"string"`
	// contains filtered or unexported fields
}

Application Request. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateApplicationRequest

func (CreateApplicationRequest) GoString

func (s CreateApplicationRequest) GoString() string

GoString returns the string representation

func (CreateApplicationRequest) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateApplicationRequest) String

func (s CreateApplicationRequest) String() string

String returns the string representation

type CreateCampaignInput

type CreateCampaignInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// Used to create a campaign.
	//
	// WriteCampaignRequest is a required field
	WriteCampaignRequest *WriteCampaignRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateCampaignRequest

func (CreateCampaignInput) GoString

func (s CreateCampaignInput) GoString() string

GoString returns the string representation

func (CreateCampaignInput) MarshalFields added in v0.3.0

func (s CreateCampaignInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateCampaignInput) String

func (s CreateCampaignInput) String() string

String returns the string representation

func (*CreateCampaignInput) Validate

func (s *CreateCampaignInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateCampaignOutput

type CreateCampaignOutput struct {

	// Campaign definition
	//
	// CampaignResponse is a required field
	CampaignResponse *CampaignResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateCampaignResponse

func (CreateCampaignOutput) GoString

func (s CreateCampaignOutput) GoString() string

GoString returns the string representation

func (CreateCampaignOutput) MarshalFields added in v0.3.0

func (s CreateCampaignOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateCampaignOutput) SDKResponseMetadata

func (s CreateCampaignOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateCampaignOutput) String

func (s CreateCampaignOutput) String() string

String returns the string representation

type CreateCampaignRequest

type CreateCampaignRequest struct {
	*aws.Request
	Input *CreateCampaignInput
	Copy  func(*CreateCampaignInput) CreateCampaignRequest
}

CreateCampaignRequest is a API request type for the CreateCampaign API operation.

func (CreateCampaignRequest) Send

Send marshals and sends the CreateCampaign API request.

type CreateExportJobInput added in v0.4.0

type CreateExportJobInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// Export job request.
	//
	// ExportJobRequest is a required field
	ExportJobRequest *ExportJobRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateExportJobRequest

func (CreateExportJobInput) GoString added in v0.4.0

func (s CreateExportJobInput) GoString() string

GoString returns the string representation

func (CreateExportJobInput) MarshalFields added in v0.4.0

func (s CreateExportJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateExportJobInput) String added in v0.4.0

func (s CreateExportJobInput) String() string

String returns the string representation

func (*CreateExportJobInput) Validate added in v0.4.0

func (s *CreateExportJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateExportJobOutput added in v0.4.0

type CreateExportJobOutput struct {

	// Export job response.
	//
	// ExportJobResponse is a required field
	ExportJobResponse *ExportJobResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateExportJobResponse

func (CreateExportJobOutput) GoString added in v0.4.0

func (s CreateExportJobOutput) GoString() string

GoString returns the string representation

func (CreateExportJobOutput) MarshalFields added in v0.4.0

func (s CreateExportJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateExportJobOutput) SDKResponseMetadata added in v0.4.0

func (s CreateExportJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateExportJobOutput) String added in v0.4.0

func (s CreateExportJobOutput) String() string

String returns the string representation

type CreateExportJobRequest added in v0.4.0

type CreateExportJobRequest struct {
	*aws.Request
	Input *CreateExportJobInput
	Copy  func(*CreateExportJobInput) CreateExportJobRequest
}

CreateExportJobRequest is a API request type for the CreateExportJob API operation.

func (CreateExportJobRequest) Send added in v0.4.0

Send marshals and sends the CreateExportJob API request.

type CreateImportJobInput

type CreateImportJobInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// Import job request.
	//
	// ImportJobRequest is a required field
	ImportJobRequest *ImportJobRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateImportJobRequest

func (CreateImportJobInput) GoString

func (s CreateImportJobInput) GoString() string

GoString returns the string representation

func (CreateImportJobInput) MarshalFields added in v0.3.0

func (s CreateImportJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateImportJobInput) String

func (s CreateImportJobInput) String() string

String returns the string representation

func (*CreateImportJobInput) Validate

func (s *CreateImportJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateImportJobOutput

type CreateImportJobOutput struct {

	// Import job response.
	//
	// ImportJobResponse is a required field
	ImportJobResponse *ImportJobResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateImportJobResponse

func (CreateImportJobOutput) GoString

func (s CreateImportJobOutput) GoString() string

GoString returns the string representation

func (CreateImportJobOutput) MarshalFields added in v0.3.0

func (s CreateImportJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateImportJobOutput) SDKResponseMetadata

func (s CreateImportJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateImportJobOutput) String

func (s CreateImportJobOutput) String() string

String returns the string representation

type CreateImportJobRequest

type CreateImportJobRequest struct {
	*aws.Request
	Input *CreateImportJobInput
	Copy  func(*CreateImportJobInput) CreateImportJobRequest
}

CreateImportJobRequest is a API request type for the CreateImportJob API operation.

func (CreateImportJobRequest) Send

Send marshals and sends the CreateImportJob API request.

type CreateSegmentInput

type CreateSegmentInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// Segment definition.
	//
	// WriteSegmentRequest is a required field
	WriteSegmentRequest *WriteSegmentRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateSegmentRequest

func (CreateSegmentInput) GoString

func (s CreateSegmentInput) GoString() string

GoString returns the string representation

func (CreateSegmentInput) MarshalFields added in v0.3.0

func (s CreateSegmentInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateSegmentInput) String

func (s CreateSegmentInput) String() string

String returns the string representation

func (*CreateSegmentInput) Validate

func (s *CreateSegmentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateSegmentOutput

type CreateSegmentOutput struct {

	// Segment definition.
	//
	// SegmentResponse is a required field
	SegmentResponse *SegmentResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateSegmentResponse

func (CreateSegmentOutput) GoString

func (s CreateSegmentOutput) GoString() string

GoString returns the string representation

func (CreateSegmentOutput) MarshalFields added in v0.3.0

func (s CreateSegmentOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateSegmentOutput) SDKResponseMetadata

func (s CreateSegmentOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateSegmentOutput) String

func (s CreateSegmentOutput) String() string

String returns the string representation

type CreateSegmentRequest

type CreateSegmentRequest struct {
	*aws.Request
	Input *CreateSegmentInput
	Copy  func(*CreateSegmentInput) CreateSegmentRequest
}

CreateSegmentRequest is a API request type for the CreateSegment API operation.

func (CreateSegmentRequest) Send

Send marshals and sends the CreateSegment API request.

type DefaultMessage

type DefaultMessage struct {

	// The message body of the notification, the email body or the text message.
	Body *string `type:"string"`

	// Default message substitutions. Can be overridden by individual address substitutions.
	Substitutions map[string][]string `type:"map"`
	// contains filtered or unexported fields
}

The default message to use across all channels. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DefaultMessage

func (DefaultMessage) GoString

func (s DefaultMessage) GoString() string

GoString returns the string representation

func (DefaultMessage) MarshalFields added in v0.3.0

func (s DefaultMessage) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DefaultMessage) String

func (s DefaultMessage) String() string

String returns the string representation

type DefaultPushNotificationMessage

type DefaultPushNotificationMessage struct {

	// The action that occurs if the user taps a push notification delivered by
	// the campaign: OPEN_APP - Your app launches, or it becomes the foreground
	// app if it has been sent to the background. This is the default action. DEEP_LINK
	// - Uses deep linking features in iOS and Android to open your app and display
	// a designated user interface within the app. URL - The default mobile browser
	// on the user's device launches and opens a web page at the URL you specify.
	// Possible values include: OPEN_APP | DEEP_LINK | URL
	Action Action `type:"string" enum:"true"`

	// The message body of the notification.
	Body *string `type:"string"`

	// The data payload used for a silent push. This payload is added to the notifications'
	// data.pinpoint.jsonBody' object
	Data map[string]string `type:"map"`

	// Indicates if the message should display on the recipient's device. You can
	// use silent pushes for remote configuration or to deliver messages to in-app
	// notification centers.
	SilentPush *bool `type:"boolean"`

	// Default message substitutions. Can be overridden by individual address substitutions.
	Substitutions map[string][]string `type:"map"`

	// The message title that displays above the message on the user's device.
	Title *string `type:"string"`

	// The URL to open in the user's mobile browser. Used if the value for Action
	// is URL.
	Url *string `type:"string"`
	// contains filtered or unexported fields
}

Default Push Notification Message. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DefaultPushNotificationMessage

func (DefaultPushNotificationMessage) GoString

GoString returns the string representation

func (DefaultPushNotificationMessage) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DefaultPushNotificationMessage) String

String returns the string representation

type DeleteAdmChannelInput

type DeleteAdmChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteAdmChannelRequest

func (DeleteAdmChannelInput) GoString

func (s DeleteAdmChannelInput) GoString() string

GoString returns the string representation

func (DeleteAdmChannelInput) MarshalFields added in v0.3.0

func (s DeleteAdmChannelInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteAdmChannelInput) String

func (s DeleteAdmChannelInput) String() string

String returns the string representation

func (*DeleteAdmChannelInput) Validate

func (s *DeleteAdmChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteAdmChannelOutput

type DeleteAdmChannelOutput struct {

	// Amazon Device Messaging channel definition.
	//
	// ADMChannelResponse is a required field
	ADMChannelResponse *ADMChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteAdmChannelResponse

func (DeleteAdmChannelOutput) GoString

func (s DeleteAdmChannelOutput) GoString() string

GoString returns the string representation

func (DeleteAdmChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteAdmChannelOutput) SDKResponseMetadata

func (s DeleteAdmChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteAdmChannelOutput) String

func (s DeleteAdmChannelOutput) String() string

String returns the string representation

type DeleteAdmChannelRequest

type DeleteAdmChannelRequest struct {
	*aws.Request
	Input *DeleteAdmChannelInput
	Copy  func(*DeleteAdmChannelInput) DeleteAdmChannelRequest
}

DeleteAdmChannelRequest is a API request type for the DeleteAdmChannel API operation.

func (DeleteAdmChannelRequest) Send

Send marshals and sends the DeleteAdmChannel API request.

type DeleteApnsChannelInput

type DeleteApnsChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsChannelRequest

func (DeleteApnsChannelInput) GoString

func (s DeleteApnsChannelInput) GoString() string

GoString returns the string representation

func (DeleteApnsChannelInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApnsChannelInput) String

func (s DeleteApnsChannelInput) String() string

String returns the string representation

func (*DeleteApnsChannelInput) Validate

func (s *DeleteApnsChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteApnsChannelOutput

type DeleteApnsChannelOutput struct {

	// Apple Distribution Push Notification Service channel definition.
	//
	// APNSChannelResponse is a required field
	APNSChannelResponse *APNSChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsChannelResponse

func (DeleteApnsChannelOutput) GoString

func (s DeleteApnsChannelOutput) GoString() string

GoString returns the string representation

func (DeleteApnsChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApnsChannelOutput) SDKResponseMetadata

func (s DeleteApnsChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteApnsChannelOutput) String

func (s DeleteApnsChannelOutput) String() string

String returns the string representation

type DeleteApnsChannelRequest

type DeleteApnsChannelRequest struct {
	*aws.Request
	Input *DeleteApnsChannelInput
	Copy  func(*DeleteApnsChannelInput) DeleteApnsChannelRequest
}

DeleteApnsChannelRequest is a API request type for the DeleteApnsChannel API operation.

func (DeleteApnsChannelRequest) Send

Send marshals and sends the DeleteApnsChannel API request.

type DeleteApnsSandboxChannelInput

type DeleteApnsSandboxChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsSandboxChannelRequest

func (DeleteApnsSandboxChannelInput) GoString

GoString returns the string representation

func (DeleteApnsSandboxChannelInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApnsSandboxChannelInput) String

String returns the string representation

func (*DeleteApnsSandboxChannelInput) Validate

func (s *DeleteApnsSandboxChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteApnsSandboxChannelOutput

type DeleteApnsSandboxChannelOutput struct {

	// Apple Development Push Notification Service channel definition.
	//
	// APNSSandboxChannelResponse is a required field
	APNSSandboxChannelResponse *APNSSandboxChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsSandboxChannelResponse

func (DeleteApnsSandboxChannelOutput) GoString

GoString returns the string representation

func (DeleteApnsSandboxChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApnsSandboxChannelOutput) SDKResponseMetadata

func (s DeleteApnsSandboxChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteApnsSandboxChannelOutput) String

String returns the string representation

type DeleteApnsSandboxChannelRequest

type DeleteApnsSandboxChannelRequest struct {
	*aws.Request
	Input *DeleteApnsSandboxChannelInput
	Copy  func(*DeleteApnsSandboxChannelInput) DeleteApnsSandboxChannelRequest
}

DeleteApnsSandboxChannelRequest is a API request type for the DeleteApnsSandboxChannel API operation.

func (DeleteApnsSandboxChannelRequest) Send

Send marshals and sends the DeleteApnsSandboxChannel API request.

type DeleteApnsVoipChannelInput added in v0.2.0

type DeleteApnsVoipChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipChannelRequest

func (DeleteApnsVoipChannelInput) GoString added in v0.2.0

func (s DeleteApnsVoipChannelInput) GoString() string

GoString returns the string representation

func (DeleteApnsVoipChannelInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApnsVoipChannelInput) String added in v0.2.0

String returns the string representation

func (*DeleteApnsVoipChannelInput) Validate added in v0.2.0

func (s *DeleteApnsVoipChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteApnsVoipChannelOutput added in v0.2.0

type DeleteApnsVoipChannelOutput struct {

	// Apple VoIP Push Notification Service channel definition.
	//
	// APNSVoipChannelResponse is a required field
	APNSVoipChannelResponse *APNSVoipChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipChannelResponse

func (DeleteApnsVoipChannelOutput) GoString added in v0.2.0

func (s DeleteApnsVoipChannelOutput) GoString() string

GoString returns the string representation

func (DeleteApnsVoipChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApnsVoipChannelOutput) SDKResponseMetadata added in v0.2.0

func (s DeleteApnsVoipChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteApnsVoipChannelOutput) String added in v0.2.0

String returns the string representation

type DeleteApnsVoipChannelRequest added in v0.2.0

type DeleteApnsVoipChannelRequest struct {
	*aws.Request
	Input *DeleteApnsVoipChannelInput
	Copy  func(*DeleteApnsVoipChannelInput) DeleteApnsVoipChannelRequest
}

DeleteApnsVoipChannelRequest is a API request type for the DeleteApnsVoipChannel API operation.

func (DeleteApnsVoipChannelRequest) Send added in v0.2.0

Send marshals and sends the DeleteApnsVoipChannel API request.

type DeleteApnsVoipSandboxChannelInput added in v0.2.0

type DeleteApnsVoipSandboxChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipSandboxChannelRequest

func (DeleteApnsVoipSandboxChannelInput) GoString added in v0.2.0

GoString returns the string representation

func (DeleteApnsVoipSandboxChannelInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApnsVoipSandboxChannelInput) String added in v0.2.0

String returns the string representation

func (*DeleteApnsVoipSandboxChannelInput) Validate added in v0.2.0

Validate inspects the fields of the type to determine if they are valid.

type DeleteApnsVoipSandboxChannelOutput added in v0.2.0

type DeleteApnsVoipSandboxChannelOutput struct {

	// Apple VoIP Developer Push Notification Service channel definition.
	//
	// APNSVoipSandboxChannelResponse is a required field
	APNSVoipSandboxChannelResponse *APNSVoipSandboxChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipSandboxChannelResponse

func (DeleteApnsVoipSandboxChannelOutput) GoString added in v0.2.0

GoString returns the string representation

func (DeleteApnsVoipSandboxChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApnsVoipSandboxChannelOutput) SDKResponseMetadata added in v0.2.0

func (s DeleteApnsVoipSandboxChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteApnsVoipSandboxChannelOutput) String added in v0.2.0

String returns the string representation

type DeleteApnsVoipSandboxChannelRequest added in v0.2.0

type DeleteApnsVoipSandboxChannelRequest struct {
	*aws.Request
	Input *DeleteApnsVoipSandboxChannelInput
	Copy  func(*DeleteApnsVoipSandboxChannelInput) DeleteApnsVoipSandboxChannelRequest
}

DeleteApnsVoipSandboxChannelRequest is a API request type for the DeleteApnsVoipSandboxChannel API operation.

func (DeleteApnsVoipSandboxChannelRequest) Send added in v0.2.0

Send marshals and sends the DeleteApnsVoipSandboxChannel API request.

type DeleteAppInput

type DeleteAppInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteAppRequest

func (DeleteAppInput) GoString

func (s DeleteAppInput) GoString() string

GoString returns the string representation

func (DeleteAppInput) MarshalFields added in v0.3.0

func (s DeleteAppInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteAppInput) String

func (s DeleteAppInput) String() string

String returns the string representation

func (*DeleteAppInput) Validate

func (s *DeleteAppInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteAppOutput

type DeleteAppOutput struct {

	// Application Response.
	//
	// ApplicationResponse is a required field
	ApplicationResponse *ApplicationResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteAppResponse

func (DeleteAppOutput) GoString

func (s DeleteAppOutput) GoString() string

GoString returns the string representation

func (DeleteAppOutput) MarshalFields added in v0.3.0

func (s DeleteAppOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteAppOutput) SDKResponseMetadata

func (s DeleteAppOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteAppOutput) String

func (s DeleteAppOutput) String() string

String returns the string representation

type DeleteAppRequest

type DeleteAppRequest struct {
	*aws.Request
	Input *DeleteAppInput
	Copy  func(*DeleteAppInput) DeleteAppRequest
}

DeleteAppRequest is a API request type for the DeleteApp API operation.

func (DeleteAppRequest) Send

func (r DeleteAppRequest) Send() (*DeleteAppOutput, error)

Send marshals and sends the DeleteApp API request.

type DeleteBaiduChannelInput

type DeleteBaiduChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteBaiduChannelRequest

func (DeleteBaiduChannelInput) GoString

func (s DeleteBaiduChannelInput) GoString() string

GoString returns the string representation

func (DeleteBaiduChannelInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBaiduChannelInput) String

func (s DeleteBaiduChannelInput) String() string

String returns the string representation

func (*DeleteBaiduChannelInput) Validate

func (s *DeleteBaiduChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBaiduChannelOutput

type DeleteBaiduChannelOutput struct {

	// Baidu Cloud Messaging channel definition
	//
	// BaiduChannelResponse is a required field
	BaiduChannelResponse *BaiduChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteBaiduChannelResponse

func (DeleteBaiduChannelOutput) GoString

func (s DeleteBaiduChannelOutput) GoString() string

GoString returns the string representation

func (DeleteBaiduChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBaiduChannelOutput) SDKResponseMetadata

func (s DeleteBaiduChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteBaiduChannelOutput) String

func (s DeleteBaiduChannelOutput) String() string

String returns the string representation

type DeleteBaiduChannelRequest

type DeleteBaiduChannelRequest struct {
	*aws.Request
	Input *DeleteBaiduChannelInput
	Copy  func(*DeleteBaiduChannelInput) DeleteBaiduChannelRequest
}

DeleteBaiduChannelRequest is a API request type for the DeleteBaiduChannel API operation.

func (DeleteBaiduChannelRequest) Send

Send marshals and sends the DeleteBaiduChannel API request.

type DeleteCampaignInput

type DeleteCampaignInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// CampaignId is a required field
	CampaignId *string `location:"uri" locationName:"campaign-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteCampaignRequest

func (DeleteCampaignInput) GoString

func (s DeleteCampaignInput) GoString() string

GoString returns the string representation

func (DeleteCampaignInput) MarshalFields added in v0.3.0

func (s DeleteCampaignInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteCampaignInput) String

func (s DeleteCampaignInput) String() string

String returns the string representation

func (*DeleteCampaignInput) Validate

func (s *DeleteCampaignInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteCampaignOutput

type DeleteCampaignOutput struct {

	// Campaign definition
	//
	// CampaignResponse is a required field
	CampaignResponse *CampaignResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteCampaignResponse

func (DeleteCampaignOutput) GoString

func (s DeleteCampaignOutput) GoString() string

GoString returns the string representation

func (DeleteCampaignOutput) MarshalFields added in v0.3.0

func (s DeleteCampaignOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteCampaignOutput) SDKResponseMetadata

func (s DeleteCampaignOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteCampaignOutput) String

func (s DeleteCampaignOutput) String() string

String returns the string representation

type DeleteCampaignRequest

type DeleteCampaignRequest struct {
	*aws.Request
	Input *DeleteCampaignInput
	Copy  func(*DeleteCampaignInput) DeleteCampaignRequest
}

DeleteCampaignRequest is a API request type for the DeleteCampaign API operation.

func (DeleteCampaignRequest) Send

Send marshals and sends the DeleteCampaign API request.

type DeleteEmailChannelInput

type DeleteEmailChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEmailChannelRequest

func (DeleteEmailChannelInput) GoString

func (s DeleteEmailChannelInput) GoString() string

GoString returns the string representation

func (DeleteEmailChannelInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteEmailChannelInput) String

func (s DeleteEmailChannelInput) String() string

String returns the string representation

func (*DeleteEmailChannelInput) Validate

func (s *DeleteEmailChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteEmailChannelOutput

type DeleteEmailChannelOutput struct {

	// Email Channel Response.
	//
	// EmailChannelResponse is a required field
	EmailChannelResponse *EmailChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEmailChannelResponse

func (DeleteEmailChannelOutput) GoString

func (s DeleteEmailChannelOutput) GoString() string

GoString returns the string representation

func (DeleteEmailChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteEmailChannelOutput) SDKResponseMetadata

func (s DeleteEmailChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteEmailChannelOutput) String

func (s DeleteEmailChannelOutput) String() string

String returns the string representation

type DeleteEmailChannelRequest

type DeleteEmailChannelRequest struct {
	*aws.Request
	Input *DeleteEmailChannelInput
	Copy  func(*DeleteEmailChannelInput) DeleteEmailChannelRequest
}

DeleteEmailChannelRequest is a API request type for the DeleteEmailChannel API operation.

func (DeleteEmailChannelRequest) Send

Send marshals and sends the DeleteEmailChannel API request.

type DeleteEndpointInput added in v0.4.0

type DeleteEndpointInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// EndpointId is a required field
	EndpointId *string `location:"uri" locationName:"endpoint-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEndpointRequest

func (DeleteEndpointInput) GoString added in v0.4.0

func (s DeleteEndpointInput) GoString() string

GoString returns the string representation

func (DeleteEndpointInput) MarshalFields added in v0.4.0

func (s DeleteEndpointInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteEndpointInput) String added in v0.4.0

func (s DeleteEndpointInput) String() string

String returns the string representation

func (*DeleteEndpointInput) Validate added in v0.4.0

func (s *DeleteEndpointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteEndpointOutput added in v0.4.0

type DeleteEndpointOutput struct {

	// Endpoint response
	//
	// EndpointResponse is a required field
	EndpointResponse *EndpointResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEndpointResponse

func (DeleteEndpointOutput) GoString added in v0.4.0

func (s DeleteEndpointOutput) GoString() string

GoString returns the string representation

func (DeleteEndpointOutput) MarshalFields added in v0.4.0

func (s DeleteEndpointOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteEndpointOutput) SDKResponseMetadata added in v0.4.0

func (s DeleteEndpointOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteEndpointOutput) String added in v0.4.0

func (s DeleteEndpointOutput) String() string

String returns the string representation

type DeleteEndpointRequest added in v0.4.0

type DeleteEndpointRequest struct {
	*aws.Request
	Input *DeleteEndpointInput
	Copy  func(*DeleteEndpointInput) DeleteEndpointRequest
}

DeleteEndpointRequest is a API request type for the DeleteEndpoint API operation.

func (DeleteEndpointRequest) Send added in v0.4.0

Send marshals and sends the DeleteEndpoint API request.

type DeleteEventStreamInput

type DeleteEventStreamInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEventStreamRequest

func (DeleteEventStreamInput) GoString

func (s DeleteEventStreamInput) GoString() string

GoString returns the string representation

func (DeleteEventStreamInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteEventStreamInput) String

func (s DeleteEventStreamInput) String() string

String returns the string representation

func (*DeleteEventStreamInput) Validate

func (s *DeleteEventStreamInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteEventStreamOutput

type DeleteEventStreamOutput struct {

	// Model for an event publishing subscription export.
	//
	// EventStream is a required field
	EventStream *EventStream `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEventStreamResponse

func (DeleteEventStreamOutput) GoString

func (s DeleteEventStreamOutput) GoString() string

GoString returns the string representation

func (DeleteEventStreamOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteEventStreamOutput) SDKResponseMetadata

func (s DeleteEventStreamOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteEventStreamOutput) String

func (s DeleteEventStreamOutput) String() string

String returns the string representation

type DeleteEventStreamRequest

type DeleteEventStreamRequest struct {
	*aws.Request
	Input *DeleteEventStreamInput
	Copy  func(*DeleteEventStreamInput) DeleteEventStreamRequest
}

DeleteEventStreamRequest is a API request type for the DeleteEventStream API operation.

func (DeleteEventStreamRequest) Send

Send marshals and sends the DeleteEventStream API request.

type DeleteGcmChannelInput

type DeleteGcmChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteGcmChannelRequest

func (DeleteGcmChannelInput) GoString

func (s DeleteGcmChannelInput) GoString() string

GoString returns the string representation

func (DeleteGcmChannelInput) MarshalFields added in v0.3.0

func (s DeleteGcmChannelInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteGcmChannelInput) String

func (s DeleteGcmChannelInput) String() string

String returns the string representation

func (*DeleteGcmChannelInput) Validate

func (s *DeleteGcmChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteGcmChannelOutput

type DeleteGcmChannelOutput struct {

	// Google Cloud Messaging channel definition
	//
	// GCMChannelResponse is a required field
	GCMChannelResponse *GCMChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteGcmChannelResponse

func (DeleteGcmChannelOutput) GoString

func (s DeleteGcmChannelOutput) GoString() string

GoString returns the string representation

func (DeleteGcmChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteGcmChannelOutput) SDKResponseMetadata

func (s DeleteGcmChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteGcmChannelOutput) String

func (s DeleteGcmChannelOutput) String() string

String returns the string representation

type DeleteGcmChannelRequest

type DeleteGcmChannelRequest struct {
	*aws.Request
	Input *DeleteGcmChannelInput
	Copy  func(*DeleteGcmChannelInput) DeleteGcmChannelRequest
}

DeleteGcmChannelRequest is a API request type for the DeleteGcmChannel API operation.

func (DeleteGcmChannelRequest) Send

Send marshals and sends the DeleteGcmChannel API request.

type DeleteSegmentInput

type DeleteSegmentInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// SegmentId is a required field
	SegmentId *string `location:"uri" locationName:"segment-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSegmentRequest

func (DeleteSegmentInput) GoString

func (s DeleteSegmentInput) GoString() string

GoString returns the string representation

func (DeleteSegmentInput) MarshalFields added in v0.3.0

func (s DeleteSegmentInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteSegmentInput) String

func (s DeleteSegmentInput) String() string

String returns the string representation

func (*DeleteSegmentInput) Validate

func (s *DeleteSegmentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteSegmentOutput

type DeleteSegmentOutput struct {

	// Segment definition.
	//
	// SegmentResponse is a required field
	SegmentResponse *SegmentResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSegmentResponse

func (DeleteSegmentOutput) GoString

func (s DeleteSegmentOutput) GoString() string

GoString returns the string representation

func (DeleteSegmentOutput) MarshalFields added in v0.3.0

func (s DeleteSegmentOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteSegmentOutput) SDKResponseMetadata

func (s DeleteSegmentOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteSegmentOutput) String

func (s DeleteSegmentOutput) String() string

String returns the string representation

type DeleteSegmentRequest

type DeleteSegmentRequest struct {
	*aws.Request
	Input *DeleteSegmentInput
	Copy  func(*DeleteSegmentInput) DeleteSegmentRequest
}

DeleteSegmentRequest is a API request type for the DeleteSegment API operation.

func (DeleteSegmentRequest) Send

Send marshals and sends the DeleteSegment API request.

type DeleteSmsChannelInput

type DeleteSmsChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSmsChannelRequest

func (DeleteSmsChannelInput) GoString

func (s DeleteSmsChannelInput) GoString() string

GoString returns the string representation

func (DeleteSmsChannelInput) MarshalFields added in v0.3.0

func (s DeleteSmsChannelInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteSmsChannelInput) String

func (s DeleteSmsChannelInput) String() string

String returns the string representation

func (*DeleteSmsChannelInput) Validate

func (s *DeleteSmsChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteSmsChannelOutput

type DeleteSmsChannelOutput struct {

	// SMS Channel Response.
	//
	// SMSChannelResponse is a required field
	SMSChannelResponse *SMSChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSmsChannelResponse

func (DeleteSmsChannelOutput) GoString

func (s DeleteSmsChannelOutput) GoString() string

GoString returns the string representation

func (DeleteSmsChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteSmsChannelOutput) SDKResponseMetadata

func (s DeleteSmsChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteSmsChannelOutput) String

func (s DeleteSmsChannelOutput) String() string

String returns the string representation

type DeleteSmsChannelRequest

type DeleteSmsChannelRequest struct {
	*aws.Request
	Input *DeleteSmsChannelInput
	Copy  func(*DeleteSmsChannelInput) DeleteSmsChannelRequest
}

DeleteSmsChannelRequest is a API request type for the DeleteSmsChannel API operation.

func (DeleteSmsChannelRequest) Send

Send marshals and sends the DeleteSmsChannel API request.

type DeleteUserEndpointsInput added in v0.5.0

type DeleteUserEndpointsInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// UserId is a required field
	UserId *string `location:"uri" locationName:"user-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteUserEndpointsRequest

func (DeleteUserEndpointsInput) GoString added in v0.5.0

func (s DeleteUserEndpointsInput) GoString() string

GoString returns the string representation

func (DeleteUserEndpointsInput) MarshalFields added in v0.5.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteUserEndpointsInput) String added in v0.5.0

func (s DeleteUserEndpointsInput) String() string

String returns the string representation

func (*DeleteUserEndpointsInput) Validate added in v0.5.0

func (s *DeleteUserEndpointsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteUserEndpointsOutput added in v0.5.0

type DeleteUserEndpointsOutput struct {

	// List of endpoints
	//
	// EndpointsResponse is a required field
	EndpointsResponse *EndpointsResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteUserEndpointsResponse

func (DeleteUserEndpointsOutput) GoString added in v0.5.0

func (s DeleteUserEndpointsOutput) GoString() string

GoString returns the string representation

func (DeleteUserEndpointsOutput) MarshalFields added in v0.5.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteUserEndpointsOutput) SDKResponseMetadata added in v0.5.0

func (s DeleteUserEndpointsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteUserEndpointsOutput) String added in v0.5.0

func (s DeleteUserEndpointsOutput) String() string

String returns the string representation

type DeleteUserEndpointsRequest added in v0.5.0

type DeleteUserEndpointsRequest struct {
	*aws.Request
	Input *DeleteUserEndpointsInput
	Copy  func(*DeleteUserEndpointsInput) DeleteUserEndpointsRequest
}

DeleteUserEndpointsRequest is a API request type for the DeleteUserEndpoints API operation.

func (DeleteUserEndpointsRequest) Send added in v0.5.0

Send marshals and sends the DeleteUserEndpoints API request.

type DeleteVoiceChannelInput added in v0.6.0

type DeleteVoiceChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteVoiceChannelRequest

func (DeleteVoiceChannelInput) GoString added in v0.6.0

func (s DeleteVoiceChannelInput) GoString() string

GoString returns the string representation

func (DeleteVoiceChannelInput) MarshalFields added in v0.6.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteVoiceChannelInput) String added in v0.6.0

func (s DeleteVoiceChannelInput) String() string

String returns the string representation

func (*DeleteVoiceChannelInput) Validate added in v0.6.0

func (s *DeleteVoiceChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteVoiceChannelOutput added in v0.6.0

type DeleteVoiceChannelOutput struct {

	// Voice Channel Response.
	//
	// VoiceChannelResponse is a required field
	VoiceChannelResponse *VoiceChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteVoiceChannelResponse

func (DeleteVoiceChannelOutput) GoString added in v0.6.0

func (s DeleteVoiceChannelOutput) GoString() string

GoString returns the string representation

func (DeleteVoiceChannelOutput) MarshalFields added in v0.6.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteVoiceChannelOutput) SDKResponseMetadata added in v0.6.0

func (s DeleteVoiceChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteVoiceChannelOutput) String added in v0.6.0

func (s DeleteVoiceChannelOutput) String() string

String returns the string representation

type DeleteVoiceChannelRequest added in v0.6.0

type DeleteVoiceChannelRequest struct {
	*aws.Request
	Input *DeleteVoiceChannelInput
	Copy  func(*DeleteVoiceChannelInput) DeleteVoiceChannelRequest
}

DeleteVoiceChannelRequest is a API request type for the DeleteVoiceChannel API operation.

func (DeleteVoiceChannelRequest) Send added in v0.6.0

Send marshals and sends the DeleteVoiceChannel API request.

type DeliveryStatus

type DeliveryStatus string
const (
	DeliveryStatusSuccessful       DeliveryStatus = "SUCCESSFUL"
	DeliveryStatusThrottled        DeliveryStatus = "THROTTLED"
	DeliveryStatusTemporaryFailure DeliveryStatus = "TEMPORARY_FAILURE"
	DeliveryStatusPermanentFailure DeliveryStatus = "PERMANENT_FAILURE"
	DeliveryStatusUnknownFailure   DeliveryStatus = "UNKNOWN_FAILURE"
	DeliveryStatusOptOut           DeliveryStatus = "OPT_OUT"
	DeliveryStatusDuplicate        DeliveryStatus = "DUPLICATE"
)

Enum values for DeliveryStatus

func (DeliveryStatus) MarshalValue added in v0.3.0

func (enum DeliveryStatus) MarshalValue() (string, error)

func (DeliveryStatus) MarshalValueBuf added in v0.3.0

func (enum DeliveryStatus) MarshalValueBuf(b []byte) ([]byte, error)

type DimensionType

type DimensionType string
const (
	DimensionTypeInclusive DimensionType = "INCLUSIVE"
	DimensionTypeExclusive DimensionType = "EXCLUSIVE"
)

Enum values for DimensionType

func (DimensionType) MarshalValue added in v0.3.0

func (enum DimensionType) MarshalValue() (string, error)

func (DimensionType) MarshalValueBuf added in v0.3.0

func (enum DimensionType) MarshalValueBuf(b []byte) ([]byte, error)

type DirectMessageConfiguration

type DirectMessageConfiguration struct {

	// The message to ADM channels. Overrides the default push notification message.
	ADMMessage *ADMMessage `type:"structure"`

	// The message to APNS channels. Overrides the default push notification message.
	APNSMessage *APNSMessage `type:"structure"`

	// The message to Baidu GCM channels. Overrides the default push notification
	// message.
	BaiduMessage *BaiduMessage `type:"structure"`

	// The default message for all channels.
	DefaultMessage *DefaultMessage `type:"structure"`

	// The default push notification message for all push channels.
	DefaultPushNotificationMessage *DefaultPushNotificationMessage `type:"structure"`

	// The message to Email channels. Overrides the default message.
	EmailMessage *EmailMessage `type:"structure"`

	// The message to GCM channels. Overrides the default push notification message.
	GCMMessage *GCMMessage `type:"structure"`

	// The message to SMS channels. Overrides the default message.
	SMSMessage *SMSMessage `type:"structure"`

	// The message to Voice channels. Overrides the default message.
	VoiceMessage *VoiceMessage `type:"structure"`
	// contains filtered or unexported fields
}

Message definitions for the default message and any messages that are tailored for specific channels. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DirectMessageConfiguration

func (DirectMessageConfiguration) GoString

func (s DirectMessageConfiguration) GoString() string

GoString returns the string representation

func (DirectMessageConfiguration) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DirectMessageConfiguration) String

String returns the string representation

type Duration

type Duration string
const (
	DurationHr24  Duration = "HR_24"
	DurationDay7  Duration = "DAY_7"
	DurationDay14 Duration = "DAY_14"
	DurationDay30 Duration = "DAY_30"
)

Enum values for Duration

func (Duration) MarshalValue added in v0.3.0

func (enum Duration) MarshalValue() (string, error)

func (Duration) MarshalValueBuf added in v0.3.0

func (enum Duration) MarshalValueBuf(b []byte) ([]byte, error)

type EmailChannelRequest

type EmailChannelRequest struct {

	// The configuration set that you want to use when you send email using the
	// Pinpoint Email API.
	ConfigurationSet *string `type:"string"`

	// If the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`

	// The email address used to send emails from.
	FromAddress *string `type:"string"`

	// The ARN of an identity verified with SES.
	Identity *string `type:"string"`

	// The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion
	// service
	RoleArn *string `type:"string"`
	// contains filtered or unexported fields
}

Email Channel Request Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EmailChannelRequest

func (EmailChannelRequest) GoString

func (s EmailChannelRequest) GoString() string

GoString returns the string representation

func (EmailChannelRequest) MarshalFields added in v0.3.0

func (s EmailChannelRequest) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EmailChannelRequest) String

func (s EmailChannelRequest) String() string

String returns the string representation

type EmailChannelResponse

type EmailChannelResponse struct {

	// The unique ID of the application to which the email channel belongs.
	ApplicationId *string `type:"string"`

	// The configuration set that you want to use when you send email using the
	// Pinpoint Email API.
	ConfigurationSet *string `type:"string"`

	// The date that the settings were last updated in ISO 8601 format.
	CreationDate *string `type:"string"`

	// If the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`

	// The email address used to send emails from.
	FromAddress *string `type:"string"`

	// Not used. Retained for backwards compatibility.
	HasCredential *bool `type:"boolean"`

	// Channel ID. Not used, only for backwards compatibility.
	Id *string `type:"string"`

	// The ARN of an identity verified with SES.
	Identity *string `type:"string"`

	// Is this channel archived
	IsArchived *bool `type:"boolean"`

	// Who last updated this entry
	LastModifiedBy *string `type:"string"`

	// Last date this was updated
	LastModifiedDate *string `type:"string"`

	// Messages per second that can be sent
	MessagesPerSecond *int64 `type:"integer"`

	// Platform type. Will be "EMAIL"
	Platform *string `type:"string"`

	// The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion
	// service
	RoleArn *string `type:"string"`

	// Version of channel
	Version *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Email Channel Response. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EmailChannelResponse

func (EmailChannelResponse) GoString

func (s EmailChannelResponse) GoString() string

GoString returns the string representation

func (EmailChannelResponse) MarshalFields added in v0.3.0

func (s EmailChannelResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EmailChannelResponse) String

func (s EmailChannelResponse) String() string

String returns the string representation

type EmailMessage

type EmailMessage struct {

	// The body of the email message.
	Body *string `type:"string"`

	// The email address that bounces and complaints will be forwarded to when feedback
	// forwarding is enabled.
	FeedbackForwardingAddress *string `type:"string"`

	// The email address used to send the email from. Defaults to use FromAddress
	// specified in the Email Channel.
	FromAddress *string `type:"string"`

	// An email represented as a raw MIME message.
	RawEmail *RawEmail `type:"structure"`

	// The reply-to email address(es) for the email. If the recipient replies to
	// the email, each reply-to address will receive the reply.
	ReplyToAddresses []string `type:"list"`

	// An email composed of a subject, a text part and a html part.
	SimpleEmail *SimpleEmail `type:"structure"`

	// Default message substitutions. Can be overridden by individual address substitutions.
	Substitutions map[string][]string `type:"map"`
	// contains filtered or unexported fields
}

Email Message. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EmailMessage

func (EmailMessage) GoString

func (s EmailMessage) GoString() string

GoString returns the string representation

func (EmailMessage) MarshalFields added in v0.6.0

func (s EmailMessage) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EmailMessage) String

func (s EmailMessage) String() string

String returns the string representation

type EndpointBatchItem

type EndpointBatchItem struct {

	// The destination for messages that you send to this endpoint. The address
	// varies by channel. For mobile push channels, use the token provided by the
	// push notification service, such as the APNs device token or the FCM registration
	// token. For the SMS channel, use a phone number in E.164 format, such as +12065550100.
	// For the email channel, use an email address.
	Address *string `type:"string"`

	// Custom attributes that describe the endpoint by associating a name with an
	// array of values. For example, an attribute named "interests" might have the
	// values ["science", "politics", "travel"]. You can use these attributes as
	// selection criteria when you create a segment of users to engage with a messaging
	// campaign.The following characters are not recommended in attribute names:
	// # : ? \ /. The Amazon Pinpoint console does not display attributes that include
	// these characters in the name. This limitation does not apply to attribute
	// values.
	Attributes map[string][]string `type:"map"`

	// The channel type.Valid values: GCM | APNS | APNS_SANDBOX | APNS_VOIP | APNS_VOIP_SANDBOX
	// | ADM | SMS | EMAIL | BAIDU
	ChannelType ChannelType `type:"string" enum:"true"`

	// The endpoint demographic attributes.
	Demographic *EndpointDemographic `type:"structure"`

	// The last time the endpoint was updated. Provided in ISO 8601 format.
	EffectiveDate *string `type:"string"`

	// Unused.
	EndpointStatus *string `type:"string"`

	// The unique Id for the Endpoint in the batch.
	Id *string `type:"string"`

	// The endpoint location attributes.
	Location *EndpointLocation `type:"structure"`

	// Custom metrics that your app reports to Amazon Pinpoint.
	Metrics map[string]float64 `type:"map"`

	// Indicates whether a user has opted out of receiving messages with one of
	// the following values:ALL - User has opted out of all messages.NONE - Users
	// has not opted out and receives all messages.
	OptOut *string `type:"string"`

	// The unique ID for the most recent request to update the endpoint.
	RequestId *string `type:"string"`

	// Custom user-specific attributes that your app reports to Amazon Pinpoint.
	User *EndpointUser `type:"structure"`
	// contains filtered or unexported fields
}

Endpoint update request Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointBatchItem

func (EndpointBatchItem) GoString

func (s EndpointBatchItem) GoString() string

GoString returns the string representation

func (EndpointBatchItem) MarshalFields added in v0.3.0

func (s EndpointBatchItem) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EndpointBatchItem) String

func (s EndpointBatchItem) String() string

String returns the string representation

type EndpointBatchRequest

type EndpointBatchRequest struct {

	// List of items to update. Maximum 100 items
	Item []EndpointBatchItem `type:"list"`
	// contains filtered or unexported fields
}

Endpoint batch update request. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointBatchRequest

func (EndpointBatchRequest) GoString

func (s EndpointBatchRequest) GoString() string

GoString returns the string representation

func (EndpointBatchRequest) MarshalFields added in v0.3.0

func (s EndpointBatchRequest) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EndpointBatchRequest) String

func (s EndpointBatchRequest) String() string

String returns the string representation

type EndpointDemographic

type EndpointDemographic struct {

	// The version of the application associated with the endpoint.
	AppVersion *string `type:"string"`

	// The endpoint locale in the following format: The ISO 639-1 alpha-2 code,
	// followed by an underscore, followed by an ISO 3166-1 alpha-2 value.
	Locale *string `type:"string"`

	// The manufacturer of the endpoint device, such as Apple or Samsung.
	Make *string `type:"string"`

	// The model name or number of the endpoint device, such as iPhone.
	Model *string `type:"string"`

	// The model version of the endpoint device.
	ModelVersion *string `type:"string"`

	// The platform of the endpoint device, such as iOS or Android.
	Platform *string `type:"string"`

	// The platform version of the endpoint device.
	PlatformVersion *string `type:"string"`

	// The timezone of the endpoint. Specified as a tz database value, such as Americas/Los_Angeles.
	Timezone *string `type:"string"`
	// contains filtered or unexported fields
}

Demographic information about the endpoint. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointDemographic

func (EndpointDemographic) GoString

func (s EndpointDemographic) GoString() string

GoString returns the string representation

func (EndpointDemographic) MarshalFields added in v0.3.0

func (s EndpointDemographic) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EndpointDemographic) String

func (s EndpointDemographic) String() string

String returns the string representation

type EndpointItemResponse added in v0.5.0

type EndpointItemResponse struct {

	// A custom message associated with the registration of an endpoint when issuing
	// a response.
	Message *string `type:"string"`

	// The status code associated with the merging of an endpoint when issuing a
	// response.
	StatusCode *int64 `type:"integer"`
	// contains filtered or unexported fields
}

A complex object that holds the status code and message as a result of processing an endpoint. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointItemResponse

func (EndpointItemResponse) GoString added in v0.5.0

func (s EndpointItemResponse) GoString() string

GoString returns the string representation

func (EndpointItemResponse) MarshalFields added in v0.5.0

func (s EndpointItemResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EndpointItemResponse) String added in v0.5.0

func (s EndpointItemResponse) String() string

String returns the string representation

type EndpointLocation

type EndpointLocation struct {

	// The city where the endpoint is located.
	City *string `type:"string"`

	// The two-letter code for the country or region of the endpoint. Specified
	// as an ISO 3166-1 alpha-2 code, such as "US" for the United States.
	Country *string `type:"string"`

	// The latitude of the endpoint location, rounded to one decimal place.
	Latitude *float64 `type:"double"`

	// The longitude of the endpoint location, rounded to one decimal place.
	Longitude *float64 `type:"double"`

	// The postal code or zip code of the endpoint.
	PostalCode *string `type:"string"`

	// The region of the endpoint location. For example, in the United States, this
	// corresponds to a state.
	Region *string `type:"string"`
	// contains filtered or unexported fields
}

Location data for the endpoint. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointLocation

func (EndpointLocation) GoString

func (s EndpointLocation) GoString() string

GoString returns the string representation

func (EndpointLocation) MarshalFields added in v0.3.0

func (s EndpointLocation) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EndpointLocation) String

func (s EndpointLocation) String() string

String returns the string representation

type EndpointMessageResult

type EndpointMessageResult struct {

	// Address that endpoint message was delivered to.
	Address *string `type:"string"`

	// The delivery status of the message. Possible values:SUCCESS - The message
	// was successfully delivered to the endpoint.TRANSIENT_FAILURE - A temporary
	// error occurred. Amazon Pinpoint will attempt to deliver the message again
	// later.FAILURE_PERMANENT - An error occurred when delivering the message to
	// the endpoint. Amazon Pinpoint won't attempt to send the message again.TIMEOUT
	// - The message couldn't be sent within the timeout period.QUIET_TIME - The
	// local time for the endpoint was within the QuietTime for the campaign or
	// app.DAILY_CAP - The endpoint has received the maximum number of messages
	// it can receive within a 24-hour period.HOLDOUT - The endpoint was in a hold
	// out treatment for the campaign.THROTTLED - Amazon Pinpoint throttled sending
	// to this endpoint.EXPIRED - The endpoint address is expired.CAMPAIGN_CAP -
	// The endpoint received the maximum number of messages allowed by the campaign.SERVICE_FAILURE
	// - A service-level failure prevented Amazon Pinpoint from delivering the message.UNKNOWN
	// - An unknown error occurred.
	DeliveryStatus DeliveryStatus `type:"string" enum:"true"`

	// Unique message identifier associated with the message that was sent.
	MessageId *string `type:"string"`

	// Downstream service status code.
	StatusCode *int64 `type:"integer"`

	// Status message for message delivery.
	StatusMessage *string `type:"string"`

	// If token was updated as part of delivery. (This is GCM Specific)
	UpdatedToken *string `type:"string"`
	// contains filtered or unexported fields
}

The result from sending a message to an endpoint. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointMessageResult

func (EndpointMessageResult) GoString

func (s EndpointMessageResult) GoString() string

GoString returns the string representation

func (EndpointMessageResult) MarshalFields added in v0.3.0

func (s EndpointMessageResult) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EndpointMessageResult) String

func (s EndpointMessageResult) String() string

String returns the string representation

type EndpointRequest

type EndpointRequest struct {

	// The destination for messages that you send to this endpoint. The address
	// varies by channel. For mobile push channels, use the token provided by the
	// push notification service, such as the APNs device token or the FCM registration
	// token. For the SMS channel, use a phone number in E.164 format, such as +12065550100.
	// For the email channel, use an email address.
	Address *string `type:"string"`

	// Custom attributes that describe the endpoint by associating a name with an
	// array of values. For example, an attribute named "interests" might have the
	// values ["science", "politics", "travel"]. You can use these attributes as
	// selection criteria when you create a segment of users to engage with a messaging
	// campaign.The following characters are not recommended in attribute names:
	// # : ? \ /. The Amazon Pinpoint console does not display attributes that include
	// these characters in the name. This limitation does not apply to attribute
	// values.
	Attributes map[string][]string `type:"map"`

	// The channel type.Valid values: GCM | APNS | APNS_SANDBOX | APNS_VOIP | APNS_VOIP_SANDBOX
	// | ADM | SMS | EMAIL | BAIDU
	ChannelType ChannelType `type:"string" enum:"true"`

	// Demographic attributes for the endpoint.
	Demographic *EndpointDemographic `type:"structure"`

	// The date and time when the endpoint was updated, shown in ISO 8601 format.
	EffectiveDate *string `type:"string"`

	// Unused.
	EndpointStatus *string `type:"string"`

	// The endpoint location attributes.
	Location *EndpointLocation `type:"structure"`

	// Custom metrics that your app reports to Amazon Pinpoint.
	Metrics map[string]float64 `type:"map"`

	// Indicates whether a user has opted out of receiving messages with one of
	// the following values:ALL - User has opted out of all messages.NONE - Users
	// has not opted out and receives all messages.
	OptOut *string `type:"string"`

	// The unique ID for the most recent request to update the endpoint.
	RequestId *string `type:"string"`

	// Custom user-specific attributes that your app reports to Amazon Pinpoint.
	User *EndpointUser `type:"structure"`
	// contains filtered or unexported fields
}

An endpoint update request. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointRequest

func (EndpointRequest) GoString

func (s EndpointRequest) GoString() string

GoString returns the string representation

func (EndpointRequest) MarshalFields added in v0.3.0

func (s EndpointRequest) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EndpointRequest) String

func (s EndpointRequest) String() string

String returns the string representation

type EndpointResponse

type EndpointResponse struct {

	// The address of the endpoint as provided by your push provider. For example,
	// the DeviceToken or RegistrationId.
	Address *string `type:"string"`

	// The ID of the application that is associated with the endpoint.
	ApplicationId *string `type:"string"`

	// Custom attributes that describe the endpoint by associating a name with an
	// array of values. For example, an attribute named "interests" might have the
	// following values: ["science", "politics", "travel"]. You can use these attributes
	// as selection criteria when you create segments.The Amazon Pinpoint console
	// can't display attribute names that include the following characters: hash/pound
	// sign (#), colon (:), question mark (?), backslash (\), and forward slash
	// (/). For this reason, you should avoid using these characters in the names
	// of custom attributes.
	Attributes map[string][]string `type:"map"`

	// The channel type.Valid values: GCM | APNS | APNS_SANDBOX | APNS_VOIP | APNS_VOIP_SANDBOX
	// | ADM | SMS | EMAIL | BAIDU
	ChannelType ChannelType `type:"string" enum:"true"`

	// A number from 0-99 that represents the cohort the endpoint is assigned to.
	// Endpoints are grouped into cohorts randomly, and each cohort contains approximately
	// 1 percent of the endpoints for an app. Amazon Pinpoint assigns cohorts to
	// the holdout or treatment allocations for a campaign.
	CohortId *string `type:"string"`

	// The date and time when the endpoint was created, shown in ISO 8601 format.
	CreationDate *string `type:"string"`

	// The endpoint demographic attributes.
	Demographic *EndpointDemographic `type:"structure"`

	// The date and time when the endpoint was last updated, shown in ISO 8601 format.
	EffectiveDate *string `type:"string"`

	// Unused.
	EndpointStatus *string `type:"string"`

	// The unique ID that you assigned to the endpoint. The ID should be a globally
	// unique identifier (GUID) to ensure that it doesn't conflict with other endpoint
	// IDs associated with the application.
	Id *string `type:"string"`

	// The endpoint location attributes.
	Location *EndpointLocation `type:"structure"`

	// Custom metrics that your app reports to Amazon Pinpoint.
	Metrics map[string]float64 `type:"map"`

	// Indicates whether a user has opted out of receiving messages with one of
	// the following values:ALL - User has opted out of all messages.NONE - Users
	// has not opted out and receives all messages.
	OptOut *string `type:"string"`

	// The unique ID for the most recent request to update the endpoint.
	RequestId *string `type:"string"`

	// Custom user-specific attributes that your app reports to Amazon Pinpoint.
	User *EndpointUser `type:"structure"`
	// contains filtered or unexported fields
}

Endpoint response Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointResponse

func (EndpointResponse) GoString

func (s EndpointResponse) GoString() string

GoString returns the string representation

func (EndpointResponse) MarshalFields added in v0.3.0

func (s EndpointResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EndpointResponse) String

func (s EndpointResponse) String() string

String returns the string representation

type EndpointSendConfiguration

type EndpointSendConfiguration struct {

	// Body override. If specified will override default body.
	BodyOverride *string `type:"string"`

	// A map of custom attributes to attributes to be attached to the message for
	// this address. This payload is added to the push notification's 'data.pinpoint'
	// object or added to the email/sms delivery receipt event attributes.
	Context map[string]string `type:"map"`

	// The Raw JSON formatted string to be used as the payload. This value overrides
	// the message.
	RawContent *string `type:"string"`

	// A map of substitution values for the message to be merged with the DefaultMessage's
	// substitutions. Substitutions on this map take precedence over the all other
	// substitutions.
	Substitutions map[string][]string `type:"map"`

	// Title override. If specified will override default title if applicable.
	TitleOverride *string `type:"string"`
	// contains filtered or unexported fields
}

Endpoint send configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointSendConfiguration

func (EndpointSendConfiguration) GoString

func (s EndpointSendConfiguration) GoString() string

GoString returns the string representation

func (EndpointSendConfiguration) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EndpointSendConfiguration) String

func (s EndpointSendConfiguration) String() string

String returns the string representation

type EndpointUser

type EndpointUser struct {

	// Custom attributes that describe the user by associating a name with an array
	// of values. For example, an attribute named "interests" might have the following
	// values: ["science", "politics", "travel"]. You can use these attributes as
	// selection criteria when you create segments.The Amazon Pinpoint console can't
	// display attribute names that include the following characters: hash/pound
	// sign (#), colon (:), question mark (?), backslash (\), and forward slash
	// (/). For this reason, you should avoid using these characters in the names
	// of custom attributes.
	UserAttributes map[string][]string `type:"map"`

	// The unique ID of the user.
	UserId *string `type:"string"`
	// contains filtered or unexported fields
}

Endpoint user specific custom userAttributes Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointUser

func (EndpointUser) GoString

func (s EndpointUser) GoString() string

GoString returns the string representation

func (EndpointUser) MarshalFields added in v0.3.0

func (s EndpointUser) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EndpointUser) String

func (s EndpointUser) String() string

String returns the string representation

type EndpointsResponse added in v0.5.0

type EndpointsResponse struct {

	// The list of endpoints.
	Item []EndpointResponse `type:"list"`
	// contains filtered or unexported fields
}

List of endpoints Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointsResponse

func (EndpointsResponse) GoString added in v0.5.0

func (s EndpointsResponse) GoString() string

GoString returns the string representation

func (EndpointsResponse) MarshalFields added in v0.5.0

func (s EndpointsResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EndpointsResponse) String added in v0.5.0

func (s EndpointsResponse) String() string

String returns the string representation

type Event added in v0.5.0

type Event struct {

	// Custom attributes that are associated with the event you're adding or updating.
	Attributes map[string]string `type:"map"`

	// The version of the SDK that's running on the client device.
	ClientSdkVersion *string `type:"string"`

	// The name of the custom event that you're recording.
	EventType *string `type:"string"`

	// Custom metrics related to the event.
	Metrics map[string]float64 `type:"map"`

	// Information about the session in which the event occurred.
	Session *Session `type:"structure"`

	// The date and time when the event occurred, in ISO 8601 format.
	Timestamp *string `type:"string"`
	// contains filtered or unexported fields
}

Model for creating or updating events. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/Event

func (Event) GoString added in v0.5.0

func (s Event) GoString() string

GoString returns the string representation

func (Event) MarshalFields added in v0.5.0

func (s Event) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Event) String added in v0.5.0

func (s Event) String() string

String returns the string representation

type EventDimensions added in v0.6.0

type EventDimensions struct {

	// Custom attributes that your app reports to Amazon Pinpoint. You can use these
	// attributes as selection criteria when you create an event filter.
	Attributes map[string]AttributeDimension `type:"map"`

	// The name of the event that causes the campaign to be sent. This can be a
	// standard event type that Amazon Pinpoint generates, such as _session.start,
	// or a custom event that's specific to your app.
	EventType *SetDimension `type:"structure"`

	// Custom metrics that your app reports to Amazon Pinpoint. You can use these
	// attributes as selection criteria when you create an event filter.
	Metrics map[string]MetricDimension `type:"map"`
	// contains filtered or unexported fields
}

Event dimensions. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EventDimensions

func (EventDimensions) GoString added in v0.6.0

func (s EventDimensions) GoString() string

GoString returns the string representation

func (EventDimensions) MarshalFields added in v0.6.0

func (s EventDimensions) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EventDimensions) String added in v0.6.0

func (s EventDimensions) String() string

String returns the string representation

type EventItemResponse added in v0.5.0

type EventItemResponse struct {

	// A custom message that is associated with the processing of an event.
	Message *string `type:"string"`

	// The status returned in the response as a result of processing the event.Possible
	// values: 400 (for invalid events) and 202 (for events that were accepted).
	StatusCode *int64 `type:"integer"`
	// contains filtered or unexported fields
}

A complex object that holds the status code and message as a result of processing an event. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EventItemResponse

func (EventItemResponse) GoString added in v0.5.0

func (s EventItemResponse) GoString() string

GoString returns the string representation

func (EventItemResponse) MarshalFields added in v0.5.0

func (s EventItemResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EventItemResponse) String added in v0.5.0

func (s EventItemResponse) String() string

String returns the string representation

type EventStream

type EventStream struct {

	// The ID of the application from which events should be published.
	ApplicationId *string `type:"string"`

	// The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery
	// stream to which you want to publish events. Firehose ARN: arn:aws:firehose:REGION:ACCOUNT_ID:deliverystream/STREAM_NAME
	// Kinesis ARN: arn:aws:kinesis:REGION:ACCOUNT_ID:stream/STREAM_NAME
	DestinationStreamArn *string `type:"string"`

	// (Deprecated) Your AWS account ID, which you assigned to the ExternalID key
	// in an IAM trust policy. Used by Amazon Pinpoint to assume an IAM role. This
	// requirement is removed, and external IDs are not recommended for IAM roles
	// assumed by Amazon Pinpoint.
	ExternalId *string `type:"string"`

	// The date the event stream was last updated in ISO 8601 format.
	LastModifiedDate *string `type:"string"`

	// The IAM user who last modified the event stream.
	LastUpdatedBy *string `type:"string"`

	// The IAM role that authorizes Amazon Pinpoint to publish events to the stream
	// in your account.
	RoleArn *string `type:"string"`
	// contains filtered or unexported fields
}

Model for an event publishing subscription export. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EventStream

func (EventStream) GoString

func (s EventStream) GoString() string

GoString returns the string representation

func (EventStream) MarshalFields added in v0.3.0

func (s EventStream) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EventStream) String

func (s EventStream) String() string

String returns the string representation

type EventsBatch added in v0.5.0

type EventsBatch struct {

	// The PublicEndpoint attached to the EndpointId from the request.
	Endpoint *PublicEndpoint `type:"structure"`

	// An object that contains a set of events associated with the endpoint.
	Events map[string]Event `type:"map"`
	// contains filtered or unexported fields
}

A batch of PublicEndpoints and Events to process. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EventsBatch

func (EventsBatch) GoString added in v0.5.0

func (s EventsBatch) GoString() string

GoString returns the string representation

func (EventsBatch) MarshalFields added in v0.5.0

func (s EventsBatch) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EventsBatch) String added in v0.5.0

func (s EventsBatch) String() string

String returns the string representation

type EventsRequest added in v0.5.0

type EventsRequest struct {

	// A batch of events to process. Each BatchItem consists of an endpoint ID as
	// the key, and an EventsBatch object as the value.
	BatchItem map[string]EventsBatch `type:"map"`
	// contains filtered or unexported fields
}

A set of events to process. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EventsRequest

func (EventsRequest) GoString added in v0.5.0

func (s EventsRequest) GoString() string

GoString returns the string representation

func (EventsRequest) MarshalFields added in v0.5.0

func (s EventsRequest) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EventsRequest) String added in v0.5.0

func (s EventsRequest) String() string

String returns the string representation

type EventsResponse added in v0.5.0

type EventsResponse struct {

	// A map that contains a multipart response for each endpoint. Each item in
	// this object uses the endpoint ID as the key, and the item response as the
	// value.If no item response exists, the value can also be one of the following:
	// 202 (if the request was processed successfully) or 400 (if the payload was
	// invalid, or required fields were missing).
	Results map[string]ItemResponse `type:"map"`
	// contains filtered or unexported fields
}

Custom messages associated with events. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EventsResponse

func (EventsResponse) GoString added in v0.5.0

func (s EventsResponse) GoString() string

GoString returns the string representation

func (EventsResponse) MarshalFields added in v0.5.0

func (s EventsResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EventsResponse) String added in v0.5.0

func (s EventsResponse) String() string

String returns the string representation

type ExportJobRequest added in v0.4.0

type ExportJobRequest struct {

	// The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint
	// access to the Amazon S3 location that endpoints will be exported to.
	RoleArn *string `type:"string"`

	// A URL that points to the location within an Amazon S3 bucket that will receive
	// the export. The location is typically a folder with multiple files.The URL
	// should follow this format: s3://bucket-name/folder-name/Amazon Pinpoint will
	// export endpoints to this location.
	S3UrlPrefix *string `type:"string"`

	// The ID of the segment to export endpoints from. If not present, Amazon Pinpoint
	// exports all of the endpoints that belong to the application.
	SegmentId *string `type:"string"`

	// The version of the segment to export if specified.
	SegmentVersion *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Export job request. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ExportJobRequest

func (ExportJobRequest) GoString added in v0.4.0

func (s ExportJobRequest) GoString() string

GoString returns the string representation

func (ExportJobRequest) MarshalFields added in v0.4.0

func (s ExportJobRequest) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ExportJobRequest) String added in v0.4.0

func (s ExportJobRequest) String() string

String returns the string representation

type ExportJobResource added in v0.4.0

type ExportJobResource struct {

	// The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint
	// access to the Amazon S3 location that endpoints will be exported to.
	RoleArn *string `type:"string"`

	// A URL that points to the location within an Amazon S3 bucket that will receive
	// the export. The location is typically a folder with multiple files.The URL
	// should follow this format: s3://bucket-name/folder-name/Amazon Pinpoint will
	// export endpoints to this location.
	S3UrlPrefix *string `type:"string"`

	// The ID of the segment to export endpoints from. If not present, Amazon Pinpoint
	// exports all of the endpoints that belong to the application.
	SegmentId *string `type:"string"`

	// The version of the segment to export if specified.
	SegmentVersion *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Export job resource. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ExportJobResource

func (ExportJobResource) GoString added in v0.4.0

func (s ExportJobResource) GoString() string

GoString returns the string representation

func (ExportJobResource) MarshalFields added in v0.4.0

func (s ExportJobResource) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ExportJobResource) String added in v0.4.0

func (s ExportJobResource) String() string

String returns the string representation

type ExportJobResponse added in v0.4.0

type ExportJobResponse struct {

	// The unique ID of the application associated with the export job.
	ApplicationId *string `type:"string"`

	// The number of pieces that have successfully completed as of the time of the
	// request.
	CompletedPieces *int64 `type:"integer"`

	// The date the job completed in ISO 8601 format.
	CompletionDate *string `type:"string"`

	// The date the job was created in ISO 8601 format.
	CreationDate *string `type:"string"`

	// The export job settings.
	Definition *ExportJobResource `type:"structure"`

	// The number of pieces that failed to be processed as of the time of the request.
	FailedPieces *int64 `type:"integer"`

	// Provides up to 100 of the first failed entries for the job, if any exist.
	Failures []string `type:"list"`

	// The unique ID of the job.
	Id *string `type:"string"`

	// The status of the job.Valid values: CREATED, INITIALIZING, PROCESSING, COMPLETING,
	// COMPLETED, FAILING, FAILEDThe job status is FAILED if one or more pieces
	// failed.
	JobStatus JobStatus `type:"string" enum:"true"`

	// The number of endpoints that were not processed; for example, because of
	// syntax errors.
	TotalFailures *int64 `type:"integer"`

	// The total number of pieces that must be processed to finish the job. Each
	// piece is an approximately equal portion of the endpoints.
	TotalPieces *int64 `type:"integer"`

	// The number of endpoints that were processed by the job.
	TotalProcessed *int64 `type:"integer"`

	// The job type. Will be 'EXPORT'.
	Type *string `type:"string"`
	// contains filtered or unexported fields
}

Export job response. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ExportJobResponse

func (ExportJobResponse) GoString added in v0.4.0

func (s ExportJobResponse) GoString() string

GoString returns the string representation

func (ExportJobResponse) MarshalFields added in v0.4.0

func (s ExportJobResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ExportJobResponse) String added in v0.4.0

func (s ExportJobResponse) String() string

String returns the string representation

type ExportJobsResponse added in v0.4.0

type ExportJobsResponse struct {

	// A list of export jobs for the application.
	Item []ExportJobResponse `type:"list"`

	// The string that you use in a subsequent request to get the next page of results
	// in a paginated response.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Export job list. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ExportJobsResponse

func (ExportJobsResponse) GoString added in v0.4.0

func (s ExportJobsResponse) GoString() string

GoString returns the string representation

func (ExportJobsResponse) MarshalFields added in v0.4.0

func (s ExportJobsResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ExportJobsResponse) String added in v0.4.0

func (s ExportJobsResponse) String() string

String returns the string representation

type FilterType added in v0.6.0

type FilterType string
const (
	FilterTypeSystem   FilterType = "SYSTEM"
	FilterTypeEndpoint FilterType = "ENDPOINT"
)

Enum values for FilterType

func (FilterType) MarshalValue added in v0.6.0

func (enum FilterType) MarshalValue() (string, error)

func (FilterType) MarshalValueBuf added in v0.6.0

func (enum FilterType) MarshalValueBuf(b []byte) ([]byte, error)

type Format

type Format string
const (
	FormatCsv  Format = "CSV"
	FormatJson Format = "JSON"
)

Enum values for Format

func (Format) MarshalValue added in v0.3.0

func (enum Format) MarshalValue() (string, error)

func (Format) MarshalValueBuf added in v0.3.0

func (enum Format) MarshalValueBuf(b []byte) ([]byte, error)

type Frequency

type Frequency string
const (
	FrequencyOnce    Frequency = "ONCE"
	FrequencyHourly  Frequency = "HOURLY"
	FrequencyDaily   Frequency = "DAILY"
	FrequencyWeekly  Frequency = "WEEKLY"
	FrequencyMonthly Frequency = "MONTHLY"
	FrequencyEvent   Frequency = "EVENT"
)

Enum values for Frequency

func (Frequency) MarshalValue added in v0.3.0

func (enum Frequency) MarshalValue() (string, error)

func (Frequency) MarshalValueBuf added in v0.3.0

func (enum Frequency) MarshalValueBuf(b []byte) ([]byte, error)

type GCMChannelRequest

type GCMChannelRequest struct {

	// Platform credential API key from Google.
	ApiKey *string `type:"string"`

	// If the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Google Cloud Messaging credentials Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GCMChannelRequest

func (GCMChannelRequest) GoString

func (s GCMChannelRequest) GoString() string

GoString returns the string representation

func (GCMChannelRequest) MarshalFields added in v0.3.0

func (s GCMChannelRequest) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GCMChannelRequest) String

func (s GCMChannelRequest) String() string

String returns the string representation

type GCMChannelResponse

type GCMChannelResponse struct {

	// The ID of the application to which the channel applies.
	ApplicationId *string `type:"string"`

	// When was this segment created
	CreationDate *string `type:"string"`

	// The GCM API key from Google.
	Credential *string `type:"string"`

	// If the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`

	// Not used. Retained for backwards compatibility.
	HasCredential *bool `type:"boolean"`

	// Channel ID. Not used. Present only for backwards compatibility.
	Id *string `type:"string"`

	// Is this channel archived
	IsArchived *bool `type:"boolean"`

	// Who last updated this entry
	LastModifiedBy *string `type:"string"`

	// Last date this was updated
	LastModifiedDate *string `type:"string"`

	// The platform type. Will be GCM
	Platform *string `type:"string"`

	// Version of channel
	Version *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Google Cloud Messaging channel definition Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GCMChannelResponse

func (GCMChannelResponse) GoString

func (s GCMChannelResponse) GoString() string

GoString returns the string representation

func (GCMChannelResponse) MarshalFields added in v0.3.0

func (s GCMChannelResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GCMChannelResponse) String

func (s GCMChannelResponse) String() string

String returns the string representation

type GCMMessage

type GCMMessage struct {

	// The action that occurs if the user taps a push notification delivered by
	// the campaign: OPEN_APP - Your app launches, or it becomes the foreground
	// app if it has been sent to the background. This is the default action. DEEP_LINK
	// - Uses deep linking features in iOS and Android to open your app and display
	// a designated user interface within the app. URL - The default mobile browser
	// on the user's device launches and opens a web page at the URL you specify.
	// Possible values include: OPEN_APP | DEEP_LINK | URL
	Action Action `type:"string" enum:"true"`

	// The message body of the notification.
	Body *string `type:"string"`

	// This parameter identifies a group of messages (e.g., with collapse_key: "Updates
	// Available") that can be collapsed, so that only the last message gets sent
	// when delivery can be resumed. This is intended to avoid sending too many
	// of the same messages when the device comes back online or becomes active.
	CollapseKey *string `type:"string"`

	// The data payload used for a silent push. This payload is added to the notifications'
	// data.pinpoint.jsonBody' object
	Data map[string]string `type:"map"`

	// The icon image name of the asset saved in your application.
	IconReference *string `type:"string"`

	// The URL that points to an image used as the large icon to the notification
	// content view.
	ImageIconUrl *string `type:"string"`

	// The URL that points to an image used in the push notification.
	ImageUrl *string `type:"string"`

	// The message priority. Amazon Pinpoint uses this value to set the FCM or GCM
	// priority parameter when it sends the message. Accepts the following values:"Normal"
	// - Messages might be delayed. Delivery is optimized for battery usage on the
	// receiving device. Use normal priority unless immediate delivery is required."High"
	// - Messages are sent immediately and might wake a sleeping device.The equivalent
	// values for APNs messages are "5" and "10". Amazon Pinpoint accepts these
	// values here and converts them.For more information, see About FCM Messages
	// in the Firebase documentation.
	Priority *string `type:"string"`

	// The Raw JSON formatted string to be used as the payload. This value overrides
	// the message.
	RawContent *string `type:"string"`

	// This parameter specifies the package name of the application where the registration
	// tokens must match in order to receive the message.
	RestrictedPackageName *string `type:"string"`

	// Indicates if the message should display on the users device. Silent pushes
	// can be used for Remote Configuration and Phone Home use cases.
	SilentPush *bool `type:"boolean"`

	// The URL that points to an image used as the small icon for the notification
	// which will be used to represent the notification in the status bar and content
	// view
	SmallImageIconUrl *string `type:"string"`

	// Indicates a sound to play when the device receives the notification. Supports
	// default, or the filename of a sound resource bundled in the app. Android
	// sound files must reside in /res/raw/
	Sound *string `type:"string"`

	// Default message substitutions. Can be overridden by individual address substitutions.
	Substitutions map[string][]string `type:"map"`

	// The length of time (in seconds) that FCM or GCM stores and attempts to deliver
	// the message. If unspecified, the value defaults to the maximum, which is
	// 2,419,200 seconds (28 days). Amazon Pinpoint uses this value to set the FCM
	// or GCM time_to_live parameter.
	TimeToLive *int64 `type:"integer"`

	// The message title that displays above the message on the user's device.
	Title *string `type:"string"`

	// The URL to open in the user's mobile browser. Used if the value for Action
	// is URL.
	Url *string `type:"string"`
	// contains filtered or unexported fields
}

GCM Message. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GCMMessage

func (GCMMessage) GoString

func (s GCMMessage) GoString() string

GoString returns the string representation

func (GCMMessage) MarshalFields added in v0.3.0

func (s GCMMessage) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GCMMessage) String

func (s GCMMessage) String() string

String returns the string representation

type GPSCoordinates added in v0.5.0

type GPSCoordinates struct {

	// Latitude
	Latitude *float64 `type:"double"`

	// Longitude
	Longitude *float64 `type:"double"`
	// contains filtered or unexported fields
}

GPS coordinates Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GPSCoordinates

func (GPSCoordinates) GoString added in v0.5.0

func (s GPSCoordinates) GoString() string

GoString returns the string representation

func (GPSCoordinates) MarshalFields added in v0.5.0

func (s GPSCoordinates) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GPSCoordinates) String added in v0.5.0

func (s GPSCoordinates) String() string

String returns the string representation

type GPSPointDimension added in v0.5.0

type GPSPointDimension struct {

	// Coordinate to measure distance from.
	Coordinates *GPSCoordinates `type:"structure"`

	// Range in kilometers from the coordinate.
	RangeInKilometers *float64 `type:"double"`
	// contains filtered or unexported fields
}

GPS point location dimension Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GPSPointDimension

func (GPSPointDimension) GoString added in v0.5.0

func (s GPSPointDimension) GoString() string

GoString returns the string representation

func (GPSPointDimension) MarshalFields added in v0.5.0

func (s GPSPointDimension) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GPSPointDimension) String added in v0.5.0

func (s GPSPointDimension) String() string

String returns the string representation

type GetAdmChannelInput

type GetAdmChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAdmChannelRequest

func (GetAdmChannelInput) GoString

func (s GetAdmChannelInput) GoString() string

GoString returns the string representation

func (GetAdmChannelInput) MarshalFields added in v0.3.0

func (s GetAdmChannelInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetAdmChannelInput) String

func (s GetAdmChannelInput) String() string

String returns the string representation

func (*GetAdmChannelInput) Validate

func (s *GetAdmChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAdmChannelOutput

type GetAdmChannelOutput struct {

	// Amazon Device Messaging channel definition.
	//
	// ADMChannelResponse is a required field
	ADMChannelResponse *ADMChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAdmChannelResponse

func (GetAdmChannelOutput) GoString

func (s GetAdmChannelOutput) GoString() string

GoString returns the string representation

func (GetAdmChannelOutput) MarshalFields added in v0.3.0

func (s GetAdmChannelOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetAdmChannelOutput) SDKResponseMetadata

func (s GetAdmChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetAdmChannelOutput) String

func (s GetAdmChannelOutput) String() string

String returns the string representation

type GetAdmChannelRequest

type GetAdmChannelRequest struct {
	*aws.Request
	Input *GetAdmChannelInput
	Copy  func(*GetAdmChannelInput) GetAdmChannelRequest
}

GetAdmChannelRequest is a API request type for the GetAdmChannel API operation.

func (GetAdmChannelRequest) Send

Send marshals and sends the GetAdmChannel API request.

type GetApnsChannelInput

type GetApnsChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsChannelRequest

func (GetApnsChannelInput) GoString

func (s GetApnsChannelInput) GoString() string

GoString returns the string representation

func (GetApnsChannelInput) MarshalFields added in v0.3.0

func (s GetApnsChannelInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApnsChannelInput) String

func (s GetApnsChannelInput) String() string

String returns the string representation

func (*GetApnsChannelInput) Validate

func (s *GetApnsChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetApnsChannelOutput

type GetApnsChannelOutput struct {

	// Apple Distribution Push Notification Service channel definition.
	//
	// APNSChannelResponse is a required field
	APNSChannelResponse *APNSChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsChannelResponse

func (GetApnsChannelOutput) GoString

func (s GetApnsChannelOutput) GoString() string

GoString returns the string representation

func (GetApnsChannelOutput) MarshalFields added in v0.3.0

func (s GetApnsChannelOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApnsChannelOutput) SDKResponseMetadata

func (s GetApnsChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetApnsChannelOutput) String

func (s GetApnsChannelOutput) String() string

String returns the string representation

type GetApnsChannelRequest

type GetApnsChannelRequest struct {
	*aws.Request
	Input *GetApnsChannelInput
	Copy  func(*GetApnsChannelInput) GetApnsChannelRequest
}

GetApnsChannelRequest is a API request type for the GetApnsChannel API operation.

func (GetApnsChannelRequest) Send

Send marshals and sends the GetApnsChannel API request.

type GetApnsSandboxChannelInput

type GetApnsSandboxChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsSandboxChannelRequest

func (GetApnsSandboxChannelInput) GoString

func (s GetApnsSandboxChannelInput) GoString() string

GoString returns the string representation

func (GetApnsSandboxChannelInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApnsSandboxChannelInput) String

String returns the string representation

func (*GetApnsSandboxChannelInput) Validate

func (s *GetApnsSandboxChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetApnsSandboxChannelOutput

type GetApnsSandboxChannelOutput struct {

	// Apple Development Push Notification Service channel definition.
	//
	// APNSSandboxChannelResponse is a required field
	APNSSandboxChannelResponse *APNSSandboxChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsSandboxChannelResponse

func (GetApnsSandboxChannelOutput) GoString

func (s GetApnsSandboxChannelOutput) GoString() string

GoString returns the string representation

func (GetApnsSandboxChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApnsSandboxChannelOutput) SDKResponseMetadata

func (s GetApnsSandboxChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetApnsSandboxChannelOutput) String

String returns the string representation

type GetApnsSandboxChannelRequest

type GetApnsSandboxChannelRequest struct {
	*aws.Request
	Input *GetApnsSandboxChannelInput
	Copy  func(*GetApnsSandboxChannelInput) GetApnsSandboxChannelRequest
}

GetApnsSandboxChannelRequest is a API request type for the GetApnsSandboxChannel API operation.

func (GetApnsSandboxChannelRequest) Send

Send marshals and sends the GetApnsSandboxChannel API request.

type GetApnsVoipChannelInput added in v0.2.0

type GetApnsVoipChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipChannelRequest

func (GetApnsVoipChannelInput) GoString added in v0.2.0

func (s GetApnsVoipChannelInput) GoString() string

GoString returns the string representation

func (GetApnsVoipChannelInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApnsVoipChannelInput) String added in v0.2.0

func (s GetApnsVoipChannelInput) String() string

String returns the string representation

func (*GetApnsVoipChannelInput) Validate added in v0.2.0

func (s *GetApnsVoipChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetApnsVoipChannelOutput added in v0.2.0

type GetApnsVoipChannelOutput struct {

	// Apple VoIP Push Notification Service channel definition.
	//
	// APNSVoipChannelResponse is a required field
	APNSVoipChannelResponse *APNSVoipChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipChannelResponse

func (GetApnsVoipChannelOutput) GoString added in v0.2.0

func (s GetApnsVoipChannelOutput) GoString() string

GoString returns the string representation

func (GetApnsVoipChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApnsVoipChannelOutput) SDKResponseMetadata added in v0.2.0

func (s GetApnsVoipChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetApnsVoipChannelOutput) String added in v0.2.0

func (s GetApnsVoipChannelOutput) String() string

String returns the string representation

type GetApnsVoipChannelRequest added in v0.2.0

type GetApnsVoipChannelRequest struct {
	*aws.Request
	Input *GetApnsVoipChannelInput
	Copy  func(*GetApnsVoipChannelInput) GetApnsVoipChannelRequest
}

GetApnsVoipChannelRequest is a API request type for the GetApnsVoipChannel API operation.

func (GetApnsVoipChannelRequest) Send added in v0.2.0

Send marshals and sends the GetApnsVoipChannel API request.

type GetApnsVoipSandboxChannelInput added in v0.2.0

type GetApnsVoipSandboxChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipSandboxChannelRequest

func (GetApnsVoipSandboxChannelInput) GoString added in v0.2.0

GoString returns the string representation

func (GetApnsVoipSandboxChannelInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApnsVoipSandboxChannelInput) String added in v0.2.0

String returns the string representation

func (*GetApnsVoipSandboxChannelInput) Validate added in v0.2.0

func (s *GetApnsVoipSandboxChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetApnsVoipSandboxChannelOutput added in v0.2.0

type GetApnsVoipSandboxChannelOutput struct {

	// Apple VoIP Developer Push Notification Service channel definition.
	//
	// APNSVoipSandboxChannelResponse is a required field
	APNSVoipSandboxChannelResponse *APNSVoipSandboxChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipSandboxChannelResponse

func (GetApnsVoipSandboxChannelOutput) GoString added in v0.2.0

GoString returns the string representation

func (GetApnsVoipSandboxChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApnsVoipSandboxChannelOutput) SDKResponseMetadata added in v0.2.0

func (s GetApnsVoipSandboxChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetApnsVoipSandboxChannelOutput) String added in v0.2.0

String returns the string representation

type GetApnsVoipSandboxChannelRequest added in v0.2.0

type GetApnsVoipSandboxChannelRequest struct {
	*aws.Request
	Input *GetApnsVoipSandboxChannelInput
	Copy  func(*GetApnsVoipSandboxChannelInput) GetApnsVoipSandboxChannelRequest
}

GetApnsVoipSandboxChannelRequest is a API request type for the GetApnsVoipSandboxChannel API operation.

func (GetApnsVoipSandboxChannelRequest) Send added in v0.2.0

Send marshals and sends the GetApnsVoipSandboxChannel API request.

type GetAppInput

type GetAppInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAppRequest

func (GetAppInput) GoString

func (s GetAppInput) GoString() string

GoString returns the string representation

func (GetAppInput) MarshalFields added in v0.3.0

func (s GetAppInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetAppInput) String

func (s GetAppInput) String() string

String returns the string representation

func (*GetAppInput) Validate

func (s *GetAppInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAppOutput

type GetAppOutput struct {

	// Application Response.
	//
	// ApplicationResponse is a required field
	ApplicationResponse *ApplicationResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAppResponse

func (GetAppOutput) GoString

func (s GetAppOutput) GoString() string

GoString returns the string representation

func (GetAppOutput) MarshalFields added in v0.3.0

func (s GetAppOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetAppOutput) SDKResponseMetadata

func (s GetAppOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetAppOutput) String

func (s GetAppOutput) String() string

String returns the string representation

type GetAppRequest

type GetAppRequest struct {
	*aws.Request
	Input *GetAppInput
	Copy  func(*GetAppInput) GetAppRequest
}

GetAppRequest is a API request type for the GetApp API operation.

func (GetAppRequest) Send

func (r GetAppRequest) Send() (*GetAppOutput, error)

Send marshals and sends the GetApp API request.

type GetApplicationSettingsInput

type GetApplicationSettingsInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationSettingsRequest

func (GetApplicationSettingsInput) GoString

func (s GetApplicationSettingsInput) GoString() string

GoString returns the string representation

func (GetApplicationSettingsInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApplicationSettingsInput) String

String returns the string representation

func (*GetApplicationSettingsInput) Validate

func (s *GetApplicationSettingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetApplicationSettingsOutput

type GetApplicationSettingsOutput struct {

	// Application settings.
	//
	// ApplicationSettingsResource is a required field
	ApplicationSettingsResource *ApplicationSettingsResource `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationSettingsResponse

func (GetApplicationSettingsOutput) GoString

func (s GetApplicationSettingsOutput) GoString() string

GoString returns the string representation

func (GetApplicationSettingsOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApplicationSettingsOutput) SDKResponseMetadata

func (s GetApplicationSettingsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetApplicationSettingsOutput) String

String returns the string representation

type GetApplicationSettingsRequest

type GetApplicationSettingsRequest struct {
	*aws.Request
	Input *GetApplicationSettingsInput
	Copy  func(*GetApplicationSettingsInput) GetApplicationSettingsRequest
}

GetApplicationSettingsRequest is a API request type for the GetApplicationSettings API operation.

func (GetApplicationSettingsRequest) Send

Send marshals and sends the GetApplicationSettings API request.

type GetAppsInput

type GetAppsInput struct {
	PageSize *string `location:"querystring" locationName:"page-size" type:"string"`

	Token *string `location:"querystring" locationName:"token" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAppsRequest

func (GetAppsInput) GoString

func (s GetAppsInput) GoString() string

GoString returns the string representation

func (GetAppsInput) MarshalFields added in v0.3.0

func (s GetAppsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetAppsInput) String

func (s GetAppsInput) String() string

String returns the string representation

type GetAppsOutput

type GetAppsOutput struct {

	// Get Applications Result.
	//
	// ApplicationsResponse is a required field
	ApplicationsResponse *ApplicationsResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAppsResponse

func (GetAppsOutput) GoString

func (s GetAppsOutput) GoString() string

GoString returns the string representation

func (GetAppsOutput) MarshalFields added in v0.3.0

func (s GetAppsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetAppsOutput) SDKResponseMetadata

func (s GetAppsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetAppsOutput) String

func (s GetAppsOutput) String() string

String returns the string representation

type GetAppsRequest

type GetAppsRequest struct {
	*aws.Request
	Input *GetAppsInput
	Copy  func(*GetAppsInput) GetAppsRequest
}

GetAppsRequest is a API request type for the GetApps API operation.

func (GetAppsRequest) Send

func (r GetAppsRequest) Send() (*GetAppsOutput, error)

Send marshals and sends the GetApps API request.

type GetBaiduChannelInput

type GetBaiduChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetBaiduChannelRequest

func (GetBaiduChannelInput) GoString

func (s GetBaiduChannelInput) GoString() string

GoString returns the string representation

func (GetBaiduChannelInput) MarshalFields added in v0.3.0

func (s GetBaiduChannelInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBaiduChannelInput) String

func (s GetBaiduChannelInput) String() string

String returns the string representation

func (*GetBaiduChannelInput) Validate

func (s *GetBaiduChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetBaiduChannelOutput

type GetBaiduChannelOutput struct {

	// Baidu Cloud Messaging channel definition
	//
	// BaiduChannelResponse is a required field
	BaiduChannelResponse *BaiduChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetBaiduChannelResponse

func (GetBaiduChannelOutput) GoString

func (s GetBaiduChannelOutput) GoString() string

GoString returns the string representation

func (GetBaiduChannelOutput) MarshalFields added in v0.3.0

func (s GetBaiduChannelOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetBaiduChannelOutput) SDKResponseMetadata

func (s GetBaiduChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetBaiduChannelOutput) String

func (s GetBaiduChannelOutput) String() string

String returns the string representation

type GetBaiduChannelRequest

type GetBaiduChannelRequest struct {
	*aws.Request
	Input *GetBaiduChannelInput
	Copy  func(*GetBaiduChannelInput) GetBaiduChannelRequest
}

GetBaiduChannelRequest is a API request type for the GetBaiduChannel API operation.

func (GetBaiduChannelRequest) Send

Send marshals and sends the GetBaiduChannel API request.

type GetCampaignActivitiesInput

type GetCampaignActivitiesInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// CampaignId is a required field
	CampaignId *string `location:"uri" locationName:"campaign-id" type:"string" required:"true"`

	PageSize *string `location:"querystring" locationName:"page-size" type:"string"`

	Token *string `location:"querystring" locationName:"token" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignActivitiesRequest

func (GetCampaignActivitiesInput) GoString

func (s GetCampaignActivitiesInput) GoString() string

GoString returns the string representation

func (GetCampaignActivitiesInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetCampaignActivitiesInput) String

String returns the string representation

func (*GetCampaignActivitiesInput) Validate

func (s *GetCampaignActivitiesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetCampaignActivitiesOutput

type GetCampaignActivitiesOutput struct {

	// Activities for campaign.
	//
	// ActivitiesResponse is a required field
	ActivitiesResponse *ActivitiesResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignActivitiesResponse

func (GetCampaignActivitiesOutput) GoString

func (s GetCampaignActivitiesOutput) GoString() string

GoString returns the string representation

func (GetCampaignActivitiesOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetCampaignActivitiesOutput) SDKResponseMetadata

func (s GetCampaignActivitiesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetCampaignActivitiesOutput) String

String returns the string representation

type GetCampaignActivitiesRequest

type GetCampaignActivitiesRequest struct {
	*aws.Request
	Input *GetCampaignActivitiesInput
	Copy  func(*GetCampaignActivitiesInput) GetCampaignActivitiesRequest
}

GetCampaignActivitiesRequest is a API request type for the GetCampaignActivities API operation.

func (GetCampaignActivitiesRequest) Send

Send marshals and sends the GetCampaignActivities API request.

type GetCampaignInput

type GetCampaignInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// CampaignId is a required field
	CampaignId *string `location:"uri" locationName:"campaign-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignRequest

func (GetCampaignInput) GoString

func (s GetCampaignInput) GoString() string

GoString returns the string representation

func (GetCampaignInput) MarshalFields added in v0.3.0

func (s GetCampaignInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetCampaignInput) String

func (s GetCampaignInput) String() string

String returns the string representation

func (*GetCampaignInput) Validate

func (s *GetCampaignInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetCampaignOutput

type GetCampaignOutput struct {

	// Campaign definition
	//
	// CampaignResponse is a required field
	CampaignResponse *CampaignResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignResponse

func (GetCampaignOutput) GoString

func (s GetCampaignOutput) GoString() string

GoString returns the string representation

func (GetCampaignOutput) MarshalFields added in v0.3.0

func (s GetCampaignOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetCampaignOutput) SDKResponseMetadata

func (s GetCampaignOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetCampaignOutput) String

func (s GetCampaignOutput) String() string

String returns the string representation

type GetCampaignRequest

type GetCampaignRequest struct {
	*aws.Request
	Input *GetCampaignInput
	Copy  func(*GetCampaignInput) GetCampaignRequest
}

GetCampaignRequest is a API request type for the GetCampaign API operation.

func (GetCampaignRequest) Send

Send marshals and sends the GetCampaign API request.

type GetCampaignVersionInput

type GetCampaignVersionInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// CampaignId is a required field
	CampaignId *string `location:"uri" locationName:"campaign-id" type:"string" required:"true"`

	// Version is a required field
	Version *string `location:"uri" locationName:"version" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersionRequest

func (GetCampaignVersionInput) GoString

func (s GetCampaignVersionInput) GoString() string

GoString returns the string representation

func (GetCampaignVersionInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetCampaignVersionInput) String

func (s GetCampaignVersionInput) String() string

String returns the string representation

func (*GetCampaignVersionInput) Validate

func (s *GetCampaignVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetCampaignVersionOutput

type GetCampaignVersionOutput struct {

	// Campaign definition
	//
	// CampaignResponse is a required field
	CampaignResponse *CampaignResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersionResponse

func (GetCampaignVersionOutput) GoString

func (s GetCampaignVersionOutput) GoString() string

GoString returns the string representation

func (GetCampaignVersionOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetCampaignVersionOutput) SDKResponseMetadata

func (s GetCampaignVersionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetCampaignVersionOutput) String

func (s GetCampaignVersionOutput) String() string

String returns the string representation

type GetCampaignVersionRequest

type GetCampaignVersionRequest struct {
	*aws.Request
	Input *GetCampaignVersionInput
	Copy  func(*GetCampaignVersionInput) GetCampaignVersionRequest
}

GetCampaignVersionRequest is a API request type for the GetCampaignVersion API operation.

func (GetCampaignVersionRequest) Send

Send marshals and sends the GetCampaignVersion API request.

type GetCampaignVersionsInput

type GetCampaignVersionsInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// CampaignId is a required field
	CampaignId *string `location:"uri" locationName:"campaign-id" type:"string" required:"true"`

	PageSize *string `location:"querystring" locationName:"page-size" type:"string"`

	Token *string `location:"querystring" locationName:"token" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersionsRequest

func (GetCampaignVersionsInput) GoString

func (s GetCampaignVersionsInput) GoString() string

GoString returns the string representation

func (GetCampaignVersionsInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetCampaignVersionsInput) String

func (s GetCampaignVersionsInput) String() string

String returns the string representation

func (*GetCampaignVersionsInput) Validate

func (s *GetCampaignVersionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetCampaignVersionsOutput

type GetCampaignVersionsOutput struct {

	// List of available campaigns.
	//
	// CampaignsResponse is a required field
	CampaignsResponse *CampaignsResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersionsResponse

func (GetCampaignVersionsOutput) GoString

func (s GetCampaignVersionsOutput) GoString() string

GoString returns the string representation

func (GetCampaignVersionsOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetCampaignVersionsOutput) SDKResponseMetadata

func (s GetCampaignVersionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetCampaignVersionsOutput) String

func (s GetCampaignVersionsOutput) String() string

String returns the string representation

type GetCampaignVersionsRequest

type GetCampaignVersionsRequest struct {
	*aws.Request
	Input *GetCampaignVersionsInput
	Copy  func(*GetCampaignVersionsInput) GetCampaignVersionsRequest
}

GetCampaignVersionsRequest is a API request type for the GetCampaignVersions API operation.

func (GetCampaignVersionsRequest) Send

Send marshals and sends the GetCampaignVersions API request.

type GetCampaignsInput

type GetCampaignsInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	PageSize *string `location:"querystring" locationName:"page-size" type:"string"`

	Token *string `location:"querystring" locationName:"token" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignsRequest

func (GetCampaignsInput) GoString

func (s GetCampaignsInput) GoString() string

GoString returns the string representation

func (GetCampaignsInput) MarshalFields added in v0.3.0

func (s GetCampaignsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetCampaignsInput) String

func (s GetCampaignsInput) String() string

String returns the string representation

func (*GetCampaignsInput) Validate

func (s *GetCampaignsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetCampaignsOutput

type GetCampaignsOutput struct {

	// List of available campaigns.
	//
	// CampaignsResponse is a required field
	CampaignsResponse *CampaignsResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignsResponse

func (GetCampaignsOutput) GoString

func (s GetCampaignsOutput) GoString() string

GoString returns the string representation

func (GetCampaignsOutput) MarshalFields added in v0.3.0

func (s GetCampaignsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetCampaignsOutput) SDKResponseMetadata

func (s GetCampaignsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetCampaignsOutput) String

func (s GetCampaignsOutput) String() string

String returns the string representation

type GetCampaignsRequest

type GetCampaignsRequest struct {
	*aws.Request
	Input *GetCampaignsInput
	Copy  func(*GetCampaignsInput) GetCampaignsRequest
}

GetCampaignsRequest is a API request type for the GetCampaigns API operation.

func (GetCampaignsRequest) Send

Send marshals and sends the GetCampaigns API request.

type GetChannelsInput added in v0.5.0

type GetChannelsInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetChannelsRequest

func (GetChannelsInput) GoString added in v0.5.0

func (s GetChannelsInput) GoString() string

GoString returns the string representation

func (GetChannelsInput) MarshalFields added in v0.5.0

func (s GetChannelsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetChannelsInput) String added in v0.5.0

func (s GetChannelsInput) String() string

String returns the string representation

func (*GetChannelsInput) Validate added in v0.5.0

func (s *GetChannelsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetChannelsOutput added in v0.5.0

type GetChannelsOutput struct {

	// Get channels definition
	//
	// ChannelsResponse is a required field
	ChannelsResponse *ChannelsResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetChannelsResponse

func (GetChannelsOutput) GoString added in v0.5.0

func (s GetChannelsOutput) GoString() string

GoString returns the string representation

func (GetChannelsOutput) MarshalFields added in v0.5.0

func (s GetChannelsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetChannelsOutput) SDKResponseMetadata added in v0.5.0

func (s GetChannelsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetChannelsOutput) String added in v0.5.0

func (s GetChannelsOutput) String() string

String returns the string representation

type GetChannelsRequest added in v0.5.0

type GetChannelsRequest struct {
	*aws.Request
	Input *GetChannelsInput
	Copy  func(*GetChannelsInput) GetChannelsRequest
}

GetChannelsRequest is a API request type for the GetChannels API operation.

func (GetChannelsRequest) Send added in v0.5.0

Send marshals and sends the GetChannels API request.

type GetEmailChannelInput

type GetEmailChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEmailChannelRequest

func (GetEmailChannelInput) GoString

func (s GetEmailChannelInput) GoString() string

GoString returns the string representation

func (GetEmailChannelInput) MarshalFields added in v0.3.0

func (s GetEmailChannelInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetEmailChannelInput) String

func (s GetEmailChannelInput) String() string

String returns the string representation

func (*GetEmailChannelInput) Validate

func (s *GetEmailChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetEmailChannelOutput

type GetEmailChannelOutput struct {

	// Email Channel Response.
	//
	// EmailChannelResponse is a required field
	EmailChannelResponse *EmailChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEmailChannelResponse

func (GetEmailChannelOutput) GoString

func (s GetEmailChannelOutput) GoString() string

GoString returns the string representation

func (GetEmailChannelOutput) MarshalFields added in v0.3.0

func (s GetEmailChannelOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetEmailChannelOutput) SDKResponseMetadata

func (s GetEmailChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetEmailChannelOutput) String

func (s GetEmailChannelOutput) String() string

String returns the string representation

type GetEmailChannelRequest

type GetEmailChannelRequest struct {
	*aws.Request
	Input *GetEmailChannelInput
	Copy  func(*GetEmailChannelInput) GetEmailChannelRequest
}

GetEmailChannelRequest is a API request type for the GetEmailChannel API operation.

func (GetEmailChannelRequest) Send

Send marshals and sends the GetEmailChannel API request.

type GetEndpointInput

type GetEndpointInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// EndpointId is a required field
	EndpointId *string `location:"uri" locationName:"endpoint-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEndpointRequest

func (GetEndpointInput) GoString

func (s GetEndpointInput) GoString() string

GoString returns the string representation

func (GetEndpointInput) MarshalFields added in v0.3.0

func (s GetEndpointInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetEndpointInput) String

func (s GetEndpointInput) String() string

String returns the string representation

func (*GetEndpointInput) Validate

func (s *GetEndpointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetEndpointOutput

type GetEndpointOutput struct {

	// Endpoint response
	//
	// EndpointResponse is a required field
	EndpointResponse *EndpointResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEndpointResponse

func (GetEndpointOutput) GoString

func (s GetEndpointOutput) GoString() string

GoString returns the string representation

func (GetEndpointOutput) MarshalFields added in v0.3.0

func (s GetEndpointOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetEndpointOutput) SDKResponseMetadata

func (s GetEndpointOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetEndpointOutput) String

func (s GetEndpointOutput) String() string

String returns the string representation

type GetEndpointRequest

type GetEndpointRequest struct {
	*aws.Request
	Input *GetEndpointInput
	Copy  func(*GetEndpointInput) GetEndpointRequest
}

GetEndpointRequest is a API request type for the GetEndpoint API operation.

func (GetEndpointRequest) Send

Send marshals and sends the GetEndpoint API request.

type GetEventStreamInput

type GetEventStreamInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEventStreamRequest

func (GetEventStreamInput) GoString

func (s GetEventStreamInput) GoString() string

GoString returns the string representation

func (GetEventStreamInput) MarshalFields added in v0.3.0

func (s GetEventStreamInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetEventStreamInput) String

func (s GetEventStreamInput) String() string

String returns the string representation

func (*GetEventStreamInput) Validate

func (s *GetEventStreamInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetEventStreamOutput

type GetEventStreamOutput struct {

	// Model for an event publishing subscription export.
	//
	// EventStream is a required field
	EventStream *EventStream `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEventStreamResponse

func (GetEventStreamOutput) GoString

func (s GetEventStreamOutput) GoString() string

GoString returns the string representation

func (GetEventStreamOutput) MarshalFields added in v0.3.0

func (s GetEventStreamOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetEventStreamOutput) SDKResponseMetadata

func (s GetEventStreamOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetEventStreamOutput) String

func (s GetEventStreamOutput) String() string

String returns the string representation

type GetEventStreamRequest

type GetEventStreamRequest struct {
	*aws.Request
	Input *GetEventStreamInput
	Copy  func(*GetEventStreamInput) GetEventStreamRequest
}

GetEventStreamRequest is a API request type for the GetEventStream API operation.

func (GetEventStreamRequest) Send

Send marshals and sends the GetEventStream API request.

type GetExportJobInput added in v0.4.0

type GetExportJobInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// JobId is a required field
	JobId *string `location:"uri" locationName:"job-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetExportJobRequest

func (GetExportJobInput) GoString added in v0.4.0

func (s GetExportJobInput) GoString() string

GoString returns the string representation

func (GetExportJobInput) MarshalFields added in v0.4.0

func (s GetExportJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetExportJobInput) String added in v0.4.0

func (s GetExportJobInput) String() string

String returns the string representation

func (*GetExportJobInput) Validate added in v0.4.0

func (s *GetExportJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetExportJobOutput added in v0.4.0

type GetExportJobOutput struct {

	// Export job response.
	//
	// ExportJobResponse is a required field
	ExportJobResponse *ExportJobResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetExportJobResponse

func (GetExportJobOutput) GoString added in v0.4.0

func (s GetExportJobOutput) GoString() string

GoString returns the string representation

func (GetExportJobOutput) MarshalFields added in v0.4.0

func (s GetExportJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetExportJobOutput) SDKResponseMetadata added in v0.4.0

func (s GetExportJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetExportJobOutput) String added in v0.4.0

func (s GetExportJobOutput) String() string

String returns the string representation

type GetExportJobRequest added in v0.4.0

type GetExportJobRequest struct {
	*aws.Request
	Input *GetExportJobInput
	Copy  func(*GetExportJobInput) GetExportJobRequest
}

GetExportJobRequest is a API request type for the GetExportJob API operation.

func (GetExportJobRequest) Send added in v0.4.0

Send marshals and sends the GetExportJob API request.

type GetExportJobsInput added in v0.4.0

type GetExportJobsInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	PageSize *string `location:"querystring" locationName:"page-size" type:"string"`

	Token *string `location:"querystring" locationName:"token" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetExportJobsRequest

func (GetExportJobsInput) GoString added in v0.4.0

func (s GetExportJobsInput) GoString() string

GoString returns the string representation

func (GetExportJobsInput) MarshalFields added in v0.4.0

func (s GetExportJobsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetExportJobsInput) String added in v0.4.0

func (s GetExportJobsInput) String() string

String returns the string representation

func (*GetExportJobsInput) Validate added in v0.4.0

func (s *GetExportJobsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetExportJobsOutput added in v0.4.0

type GetExportJobsOutput struct {

	// Export job list.
	//
	// ExportJobsResponse is a required field
	ExportJobsResponse *ExportJobsResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetExportJobsResponse

func (GetExportJobsOutput) GoString added in v0.4.0

func (s GetExportJobsOutput) GoString() string

GoString returns the string representation

func (GetExportJobsOutput) MarshalFields added in v0.4.0

func (s GetExportJobsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetExportJobsOutput) SDKResponseMetadata added in v0.4.0

func (s GetExportJobsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetExportJobsOutput) String added in v0.4.0

func (s GetExportJobsOutput) String() string

String returns the string representation

type GetExportJobsRequest added in v0.4.0

type GetExportJobsRequest struct {
	*aws.Request
	Input *GetExportJobsInput
	Copy  func(*GetExportJobsInput) GetExportJobsRequest
}

GetExportJobsRequest is a API request type for the GetExportJobs API operation.

func (GetExportJobsRequest) Send added in v0.4.0

Send marshals and sends the GetExportJobs API request.

type GetGcmChannelInput

type GetGcmChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetGcmChannelRequest

func (GetGcmChannelInput) GoString

func (s GetGcmChannelInput) GoString() string

GoString returns the string representation

func (GetGcmChannelInput) MarshalFields added in v0.3.0

func (s GetGcmChannelInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetGcmChannelInput) String

func (s GetGcmChannelInput) String() string

String returns the string representation

func (*GetGcmChannelInput) Validate

func (s *GetGcmChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetGcmChannelOutput

type GetGcmChannelOutput struct {

	// Google Cloud Messaging channel definition
	//
	// GCMChannelResponse is a required field
	GCMChannelResponse *GCMChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetGcmChannelResponse

func (GetGcmChannelOutput) GoString

func (s GetGcmChannelOutput) GoString() string

GoString returns the string representation

func (GetGcmChannelOutput) MarshalFields added in v0.3.0

func (s GetGcmChannelOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetGcmChannelOutput) SDKResponseMetadata

func (s GetGcmChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetGcmChannelOutput) String

func (s GetGcmChannelOutput) String() string

String returns the string representation

type GetGcmChannelRequest

type GetGcmChannelRequest struct {
	*aws.Request
	Input *GetGcmChannelInput
	Copy  func(*GetGcmChannelInput) GetGcmChannelRequest
}

GetGcmChannelRequest is a API request type for the GetGcmChannel API operation.

func (GetGcmChannelRequest) Send

Send marshals and sends the GetGcmChannel API request.

type GetImportJobInput

type GetImportJobInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// JobId is a required field
	JobId *string `location:"uri" locationName:"job-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJobRequest

func (GetImportJobInput) GoString

func (s GetImportJobInput) GoString() string

GoString returns the string representation

func (GetImportJobInput) MarshalFields added in v0.3.0

func (s GetImportJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetImportJobInput) String

func (s GetImportJobInput) String() string

String returns the string representation

func (*GetImportJobInput) Validate

func (s *GetImportJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetImportJobOutput

type GetImportJobOutput struct {

	// Import job response.
	//
	// ImportJobResponse is a required field
	ImportJobResponse *ImportJobResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJobResponse

func (GetImportJobOutput) GoString

func (s GetImportJobOutput) GoString() string

GoString returns the string representation

func (GetImportJobOutput) MarshalFields added in v0.3.0

func (s GetImportJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetImportJobOutput) SDKResponseMetadata

func (s GetImportJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetImportJobOutput) String

func (s GetImportJobOutput) String() string

String returns the string representation

type GetImportJobRequest

type GetImportJobRequest struct {
	*aws.Request
	Input *GetImportJobInput
	Copy  func(*GetImportJobInput) GetImportJobRequest
}

GetImportJobRequest is a API request type for the GetImportJob API operation.

func (GetImportJobRequest) Send

Send marshals and sends the GetImportJob API request.

type GetImportJobsInput

type GetImportJobsInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	PageSize *string `location:"querystring" locationName:"page-size" type:"string"`

	Token *string `location:"querystring" locationName:"token" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJobsRequest

func (GetImportJobsInput) GoString

func (s GetImportJobsInput) GoString() string

GoString returns the string representation

func (GetImportJobsInput) MarshalFields added in v0.3.0

func (s GetImportJobsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetImportJobsInput) String

func (s GetImportJobsInput) String() string

String returns the string representation

func (*GetImportJobsInput) Validate

func (s *GetImportJobsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetImportJobsOutput

type GetImportJobsOutput struct {

	// Import job list.
	//
	// ImportJobsResponse is a required field
	ImportJobsResponse *ImportJobsResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJobsResponse

func (GetImportJobsOutput) GoString

func (s GetImportJobsOutput) GoString() string

GoString returns the string representation

func (GetImportJobsOutput) MarshalFields added in v0.3.0

func (s GetImportJobsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetImportJobsOutput) SDKResponseMetadata

func (s GetImportJobsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetImportJobsOutput) String

func (s GetImportJobsOutput) String() string

String returns the string representation

type GetImportJobsRequest

type GetImportJobsRequest struct {
	*aws.Request
	Input *GetImportJobsInput
	Copy  func(*GetImportJobsInput) GetImportJobsRequest
}

GetImportJobsRequest is a API request type for the GetImportJobs API operation.

func (GetImportJobsRequest) Send

Send marshals and sends the GetImportJobs API request.

type GetSegmentExportJobsInput added in v0.4.0

type GetSegmentExportJobsInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	PageSize *string `location:"querystring" locationName:"page-size" type:"string"`

	// SegmentId is a required field
	SegmentId *string `location:"uri" locationName:"segment-id" type:"string" required:"true"`

	Token *string `location:"querystring" locationName:"token" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentExportJobsRequest

func (GetSegmentExportJobsInput) GoString added in v0.4.0

func (s GetSegmentExportJobsInput) GoString() string

GoString returns the string representation

func (GetSegmentExportJobsInput) MarshalFields added in v0.4.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetSegmentExportJobsInput) String added in v0.4.0

func (s GetSegmentExportJobsInput) String() string

String returns the string representation

func (*GetSegmentExportJobsInput) Validate added in v0.4.0

func (s *GetSegmentExportJobsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetSegmentExportJobsOutput added in v0.4.0

type GetSegmentExportJobsOutput struct {

	// Export job list.
	//
	// ExportJobsResponse is a required field
	ExportJobsResponse *ExportJobsResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentExportJobsResponse

func (GetSegmentExportJobsOutput) GoString added in v0.4.0

func (s GetSegmentExportJobsOutput) GoString() string

GoString returns the string representation

func (GetSegmentExportJobsOutput) MarshalFields added in v0.4.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetSegmentExportJobsOutput) SDKResponseMetadata added in v0.4.0

func (s GetSegmentExportJobsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetSegmentExportJobsOutput) String added in v0.4.0

String returns the string representation

type GetSegmentExportJobsRequest added in v0.4.0

type GetSegmentExportJobsRequest struct {
	*aws.Request
	Input *GetSegmentExportJobsInput
	Copy  func(*GetSegmentExportJobsInput) GetSegmentExportJobsRequest
}

GetSegmentExportJobsRequest is a API request type for the GetSegmentExportJobs API operation.

func (GetSegmentExportJobsRequest) Send added in v0.4.0

Send marshals and sends the GetSegmentExportJobs API request.

type GetSegmentImportJobsInput

type GetSegmentImportJobsInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	PageSize *string `location:"querystring" locationName:"page-size" type:"string"`

	// SegmentId is a required field
	SegmentId *string `location:"uri" locationName:"segment-id" type:"string" required:"true"`

	Token *string `location:"querystring" locationName:"token" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentImportJobsRequest

func (GetSegmentImportJobsInput) GoString

func (s GetSegmentImportJobsInput) GoString() string

GoString returns the string representation

func (GetSegmentImportJobsInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetSegmentImportJobsInput) String

func (s GetSegmentImportJobsInput) String() string

String returns the string representation

func (*GetSegmentImportJobsInput) Validate

func (s *GetSegmentImportJobsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetSegmentImportJobsOutput

type GetSegmentImportJobsOutput struct {

	// Import job list.
	//
	// ImportJobsResponse is a required field
	ImportJobsResponse *ImportJobsResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentImportJobsResponse

func (GetSegmentImportJobsOutput) GoString

func (s GetSegmentImportJobsOutput) GoString() string

GoString returns the string representation

func (GetSegmentImportJobsOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetSegmentImportJobsOutput) SDKResponseMetadata

func (s GetSegmentImportJobsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetSegmentImportJobsOutput) String

String returns the string representation

type GetSegmentImportJobsRequest

type GetSegmentImportJobsRequest struct {
	*aws.Request
	Input *GetSegmentImportJobsInput
	Copy  func(*GetSegmentImportJobsInput) GetSegmentImportJobsRequest
}

GetSegmentImportJobsRequest is a API request type for the GetSegmentImportJobs API operation.

func (GetSegmentImportJobsRequest) Send

Send marshals and sends the GetSegmentImportJobs API request.

type GetSegmentInput

type GetSegmentInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// SegmentId is a required field
	SegmentId *string `location:"uri" locationName:"segment-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentRequest

func (GetSegmentInput) GoString

func (s GetSegmentInput) GoString() string

GoString returns the string representation

func (GetSegmentInput) MarshalFields added in v0.3.0

func (s GetSegmentInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetSegmentInput) String

func (s GetSegmentInput) String() string

String returns the string representation

func (*GetSegmentInput) Validate

func (s *GetSegmentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetSegmentOutput

type GetSegmentOutput struct {

	// Segment definition.
	//
	// SegmentResponse is a required field
	SegmentResponse *SegmentResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentResponse

func (GetSegmentOutput) GoString

func (s GetSegmentOutput) GoString() string

GoString returns the string representation

func (GetSegmentOutput) MarshalFields added in v0.3.0

func (s GetSegmentOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetSegmentOutput) SDKResponseMetadata

func (s GetSegmentOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetSegmentOutput) String

func (s GetSegmentOutput) String() string

String returns the string representation

type GetSegmentRequest

type GetSegmentRequest struct {
	*aws.Request
	Input *GetSegmentInput
	Copy  func(*GetSegmentInput) GetSegmentRequest
}

GetSegmentRequest is a API request type for the GetSegment API operation.

func (GetSegmentRequest) Send

Send marshals and sends the GetSegment API request.

type GetSegmentVersionInput

type GetSegmentVersionInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// SegmentId is a required field
	SegmentId *string `location:"uri" locationName:"segment-id" type:"string" required:"true"`

	// Version is a required field
	Version *string `location:"uri" locationName:"version" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersionRequest

func (GetSegmentVersionInput) GoString

func (s GetSegmentVersionInput) GoString() string

GoString returns the string representation

func (GetSegmentVersionInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetSegmentVersionInput) String

func (s GetSegmentVersionInput) String() string

String returns the string representation

func (*GetSegmentVersionInput) Validate

func (s *GetSegmentVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetSegmentVersionOutput

type GetSegmentVersionOutput struct {

	// Segment definition.
	//
	// SegmentResponse is a required field
	SegmentResponse *SegmentResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersionResponse

func (GetSegmentVersionOutput) GoString

func (s GetSegmentVersionOutput) GoString() string

GoString returns the string representation

func (GetSegmentVersionOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetSegmentVersionOutput) SDKResponseMetadata

func (s GetSegmentVersionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetSegmentVersionOutput) String

func (s GetSegmentVersionOutput) String() string

String returns the string representation

type GetSegmentVersionRequest

type GetSegmentVersionRequest struct {
	*aws.Request
	Input *GetSegmentVersionInput
	Copy  func(*GetSegmentVersionInput) GetSegmentVersionRequest
}

GetSegmentVersionRequest is a API request type for the GetSegmentVersion API operation.

func (GetSegmentVersionRequest) Send

Send marshals and sends the GetSegmentVersion API request.

type GetSegmentVersionsInput

type GetSegmentVersionsInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	PageSize *string `location:"querystring" locationName:"page-size" type:"string"`

	// SegmentId is a required field
	SegmentId *string `location:"uri" locationName:"segment-id" type:"string" required:"true"`

	Token *string `location:"querystring" locationName:"token" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersionsRequest

func (GetSegmentVersionsInput) GoString

func (s GetSegmentVersionsInput) GoString() string

GoString returns the string representation

func (GetSegmentVersionsInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetSegmentVersionsInput) String

func (s GetSegmentVersionsInput) String() string

String returns the string representation

func (*GetSegmentVersionsInput) Validate

func (s *GetSegmentVersionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetSegmentVersionsOutput

type GetSegmentVersionsOutput struct {

	// Segments in your account.
	//
	// SegmentsResponse is a required field
	SegmentsResponse *SegmentsResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersionsResponse

func (GetSegmentVersionsOutput) GoString

func (s GetSegmentVersionsOutput) GoString() string

GoString returns the string representation

func (GetSegmentVersionsOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetSegmentVersionsOutput) SDKResponseMetadata

func (s GetSegmentVersionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetSegmentVersionsOutput) String

func (s GetSegmentVersionsOutput) String() string

String returns the string representation

type GetSegmentVersionsRequest

type GetSegmentVersionsRequest struct {
	*aws.Request
	Input *GetSegmentVersionsInput
	Copy  func(*GetSegmentVersionsInput) GetSegmentVersionsRequest
}

GetSegmentVersionsRequest is a API request type for the GetSegmentVersions API operation.

func (GetSegmentVersionsRequest) Send

Send marshals and sends the GetSegmentVersions API request.

type GetSegmentsInput

type GetSegmentsInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	PageSize *string `location:"querystring" locationName:"page-size" type:"string"`

	Token *string `location:"querystring" locationName:"token" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentsRequest

func (GetSegmentsInput) GoString

func (s GetSegmentsInput) GoString() string

GoString returns the string representation

func (GetSegmentsInput) MarshalFields added in v0.3.0

func (s GetSegmentsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetSegmentsInput) String

func (s GetSegmentsInput) String() string

String returns the string representation

func (*GetSegmentsInput) Validate

func (s *GetSegmentsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetSegmentsOutput

type GetSegmentsOutput struct {

	// Segments in your account.
	//
	// SegmentsResponse is a required field
	SegmentsResponse *SegmentsResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentsResponse

func (GetSegmentsOutput) GoString

func (s GetSegmentsOutput) GoString() string

GoString returns the string representation

func (GetSegmentsOutput) MarshalFields added in v0.3.0

func (s GetSegmentsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetSegmentsOutput) SDKResponseMetadata

func (s GetSegmentsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetSegmentsOutput) String

func (s GetSegmentsOutput) String() string

String returns the string representation

type GetSegmentsRequest

type GetSegmentsRequest struct {
	*aws.Request
	Input *GetSegmentsInput
	Copy  func(*GetSegmentsInput) GetSegmentsRequest
}

GetSegmentsRequest is a API request type for the GetSegments API operation.

func (GetSegmentsRequest) Send

Send marshals and sends the GetSegments API request.

type GetSmsChannelInput

type GetSmsChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSmsChannelRequest

func (GetSmsChannelInput) GoString

func (s GetSmsChannelInput) GoString() string

GoString returns the string representation

func (GetSmsChannelInput) MarshalFields added in v0.3.0

func (s GetSmsChannelInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetSmsChannelInput) String

func (s GetSmsChannelInput) String() string

String returns the string representation

func (*GetSmsChannelInput) Validate

func (s *GetSmsChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetSmsChannelOutput

type GetSmsChannelOutput struct {

	// SMS Channel Response.
	//
	// SMSChannelResponse is a required field
	SMSChannelResponse *SMSChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSmsChannelResponse

func (GetSmsChannelOutput) GoString

func (s GetSmsChannelOutput) GoString() string

GoString returns the string representation

func (GetSmsChannelOutput) MarshalFields added in v0.3.0

func (s GetSmsChannelOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetSmsChannelOutput) SDKResponseMetadata

func (s GetSmsChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetSmsChannelOutput) String

func (s GetSmsChannelOutput) String() string

String returns the string representation

type GetSmsChannelRequest

type GetSmsChannelRequest struct {
	*aws.Request
	Input *GetSmsChannelInput
	Copy  func(*GetSmsChannelInput) GetSmsChannelRequest
}

GetSmsChannelRequest is a API request type for the GetSmsChannel API operation.

func (GetSmsChannelRequest) Send

Send marshals and sends the GetSmsChannel API request.

type GetUserEndpointsInput added in v0.5.0

type GetUserEndpointsInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// UserId is a required field
	UserId *string `location:"uri" locationName:"user-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetUserEndpointsRequest

func (GetUserEndpointsInput) GoString added in v0.5.0

func (s GetUserEndpointsInput) GoString() string

GoString returns the string representation

func (GetUserEndpointsInput) MarshalFields added in v0.5.0

func (s GetUserEndpointsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetUserEndpointsInput) String added in v0.5.0

func (s GetUserEndpointsInput) String() string

String returns the string representation

func (*GetUserEndpointsInput) Validate added in v0.5.0

func (s *GetUserEndpointsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetUserEndpointsOutput added in v0.5.0

type GetUserEndpointsOutput struct {

	// List of endpoints
	//
	// EndpointsResponse is a required field
	EndpointsResponse *EndpointsResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetUserEndpointsResponse

func (GetUserEndpointsOutput) GoString added in v0.5.0

func (s GetUserEndpointsOutput) GoString() string

GoString returns the string representation

func (GetUserEndpointsOutput) MarshalFields added in v0.5.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetUserEndpointsOutput) SDKResponseMetadata added in v0.5.0

func (s GetUserEndpointsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetUserEndpointsOutput) String added in v0.5.0

func (s GetUserEndpointsOutput) String() string

String returns the string representation

type GetUserEndpointsRequest added in v0.5.0

type GetUserEndpointsRequest struct {
	*aws.Request
	Input *GetUserEndpointsInput
	Copy  func(*GetUserEndpointsInput) GetUserEndpointsRequest
}

GetUserEndpointsRequest is a API request type for the GetUserEndpoints API operation.

func (GetUserEndpointsRequest) Send added in v0.5.0

Send marshals and sends the GetUserEndpoints API request.

type GetVoiceChannelInput added in v0.6.0

type GetVoiceChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetVoiceChannelRequest

func (GetVoiceChannelInput) GoString added in v0.6.0

func (s GetVoiceChannelInput) GoString() string

GoString returns the string representation

func (GetVoiceChannelInput) MarshalFields added in v0.6.0

func (s GetVoiceChannelInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetVoiceChannelInput) String added in v0.6.0

func (s GetVoiceChannelInput) String() string

String returns the string representation

func (*GetVoiceChannelInput) Validate added in v0.6.0

func (s *GetVoiceChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetVoiceChannelOutput added in v0.6.0

type GetVoiceChannelOutput struct {

	// Voice Channel Response.
	//
	// VoiceChannelResponse is a required field
	VoiceChannelResponse *VoiceChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetVoiceChannelResponse

func (GetVoiceChannelOutput) GoString added in v0.6.0

func (s GetVoiceChannelOutput) GoString() string

GoString returns the string representation

func (GetVoiceChannelOutput) MarshalFields added in v0.6.0

func (s GetVoiceChannelOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetVoiceChannelOutput) SDKResponseMetadata added in v0.6.0

func (s GetVoiceChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetVoiceChannelOutput) String added in v0.6.0

func (s GetVoiceChannelOutput) String() string

String returns the string representation

type GetVoiceChannelRequest added in v0.6.0

type GetVoiceChannelRequest struct {
	*aws.Request
	Input *GetVoiceChannelInput
	Copy  func(*GetVoiceChannelInput) GetVoiceChannelRequest
}

GetVoiceChannelRequest is a API request type for the GetVoiceChannel API operation.

func (GetVoiceChannelRequest) Send added in v0.6.0

Send marshals and sends the GetVoiceChannel API request.

type ImportJobRequest

type ImportJobRequest struct {

	// Sets whether the endpoints create a segment when they are imported.
	DefineSegment *bool `type:"boolean"`

	// (Deprecated) Your AWS account ID, which you assigned to the ExternalID key
	// in an IAM trust policy. Used by Amazon Pinpoint to assume an IAM role. This
	// requirement is removed, and external IDs are not recommended for IAM roles
	// assumed by Amazon Pinpoint.
	ExternalId *string `type:"string"`

	// The format of the files that contain the endpoint definitions.Valid values:
	// CSV, JSON
	Format Format `type:"string" enum:"true"`

	// Sets whether the endpoints are registered with Amazon Pinpoint when they
	// are imported.
	RegisterEndpoints *bool `type:"boolean"`

	// The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint
	// access to the Amazon S3 location that contains the endpoints to import.
	RoleArn *string `type:"string"`

	// The URL of the S3 bucket that contains the segment information to import.
	// The location can be a folder or a single file. The URL should use the following
	// format: s3://bucket-name/folder-name/file-nameAmazon Pinpoint imports endpoints
	// from this location and any subfolders it contains.
	S3Url *string `type:"string"`

	// The ID of the segment to update if the import job is meant to update an existing
	// segment.
	SegmentId *string `type:"string"`

	// A custom name for the segment created by the import job. Use if DefineSegment
	// is true.
	SegmentName *string `type:"string"`
	// contains filtered or unexported fields
}

Import job request. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ImportJobRequest

func (ImportJobRequest) GoString

func (s ImportJobRequest) GoString() string

GoString returns the string representation

func (ImportJobRequest) MarshalFields added in v0.3.0

func (s ImportJobRequest) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ImportJobRequest) String

func (s ImportJobRequest) String() string

String returns the string representation

type ImportJobResource

type ImportJobResource struct {

	// Sets whether the endpoints create a segment when they are imported.
	DefineSegment *bool `type:"boolean"`

	// (Deprecated) Your AWS account ID, which you assigned to the ExternalID key
	// in an IAM trust policy. Used by Amazon Pinpoint to assume an IAM role. This
	// requirement is removed, and external IDs are not recommended for IAM roles
	// assumed by Amazon Pinpoint.
	ExternalId *string `type:"string"`

	// The format of the files that contain the endpoint definitions.Valid values:
	// CSV, JSON
	Format Format `type:"string" enum:"true"`

	// Sets whether the endpoints are registered with Amazon Pinpoint when they
	// are imported.
	RegisterEndpoints *bool `type:"boolean"`

	// The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint
	// access to the Amazon S3 location that contains the endpoints to import.
	RoleArn *string `type:"string"`

	// The URL of the S3 bucket that contains the segment information to import.
	// The location can be a folder or a single file. The URL should use the following
	// format: s3://bucket-name/folder-name/file-nameAmazon Pinpoint imports endpoints
	// from this location and any subfolders it contains.
	S3Url *string `type:"string"`

	// The ID of the segment to update if the import job is meant to update an existing
	// segment.
	SegmentId *string `type:"string"`

	// A custom name for the segment created by the import job. Use if DefineSegment
	// is true.
	SegmentName *string `type:"string"`
	// contains filtered or unexported fields
}

Import job resource Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ImportJobResource

func (ImportJobResource) GoString

func (s ImportJobResource) GoString() string

GoString returns the string representation

func (ImportJobResource) MarshalFields added in v0.3.0

func (s ImportJobResource) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ImportJobResource) String

func (s ImportJobResource) String() string

String returns the string representation

type ImportJobResponse

type ImportJobResponse struct {

	// The unique ID of the application to which the import job applies.
	ApplicationId *string `type:"string"`

	// The number of pieces that have successfully imported as of the time of the
	// request.
	CompletedPieces *int64 `type:"integer"`

	// The date the import job completed in ISO 8601 format.
	CompletionDate *string `type:"string"`

	// The date the import job was created in ISO 8601 format.
	CreationDate *string `type:"string"`

	// The import job settings.
	Definition *ImportJobResource `type:"structure"`

	// The number of pieces that have failed to import as of the time of the request.
	FailedPieces *int64 `type:"integer"`

	// Provides up to 100 of the first failed entries for the job, if any exist.
	Failures []string `type:"list"`

	// The unique ID of the import job.
	Id *string `type:"string"`

	// The status of the import job.Valid values: CREATED, INITIALIZING, PROCESSING,
	// COMPLETING, COMPLETED, FAILING, FAILEDThe job status is FAILED if one or
	// more pieces failed to import.
	JobStatus JobStatus `type:"string" enum:"true"`

	// The number of endpoints that failed to import; for example, because of syntax
	// errors.
	TotalFailures *int64 `type:"integer"`

	// The total number of pieces that must be imported to finish the job. Each
	// piece is an approximately equal portion of the endpoints to import.
	TotalPieces *int64 `type:"integer"`

	// The number of endpoints that were processed by the import job.
	TotalProcessed *int64 `type:"integer"`

	// The job type. Will be Import.
	Type *string `type:"string"`
	// contains filtered or unexported fields
}

Import job response. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ImportJobResponse

func (ImportJobResponse) GoString

func (s ImportJobResponse) GoString() string

GoString returns the string representation

func (ImportJobResponse) MarshalFields added in v0.3.0

func (s ImportJobResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ImportJobResponse) String

func (s ImportJobResponse) String() string

String returns the string representation

type ImportJobsResponse

type ImportJobsResponse struct {

	// A list of import jobs for the application.
	Item []ImportJobResponse `type:"list"`

	// The string that you use in a subsequent request to get the next page of results
	// in a paginated response.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Import job list. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ImportJobsResponse

func (ImportJobsResponse) GoString

func (s ImportJobsResponse) GoString() string

GoString returns the string representation

func (ImportJobsResponse) MarshalFields added in v0.3.0

func (s ImportJobsResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ImportJobsResponse) String

func (s ImportJobsResponse) String() string

String returns the string representation

type Include added in v0.5.0

type Include string
const (
	IncludeAll  Include = "ALL"
	IncludeAny  Include = "ANY"
	IncludeNone Include = "NONE"
)

Enum values for Include

func (Include) MarshalValue added in v0.5.0

func (enum Include) MarshalValue() (string, error)

func (Include) MarshalValueBuf added in v0.5.0

func (enum Include) MarshalValueBuf(b []byte) ([]byte, error)

type ItemResponse added in v0.5.0

type ItemResponse struct {

	// The response received after the endpoint was accepted.
	EndpointItemResponse *EndpointItemResponse `type:"structure"`

	// A multipart response object that contains a key and value for each event
	// ID in the request. In each object, the event ID is the key, and an EventItemResponse
	// object is the value.
	EventsItemResponse map[string]EventItemResponse `type:"map"`
	// contains filtered or unexported fields
}

The response that's provided after registering the endpoint. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ItemResponse

func (ItemResponse) GoString added in v0.5.0

func (s ItemResponse) GoString() string

GoString returns the string representation

func (ItemResponse) MarshalFields added in v0.5.0

func (s ItemResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ItemResponse) String added in v0.5.0

func (s ItemResponse) String() string

String returns the string representation

type JobStatus

type JobStatus string
const (
	JobStatusCreated      JobStatus = "CREATED"
	JobStatusInitializing JobStatus = "INITIALIZING"
	JobStatusProcessing   JobStatus = "PROCESSING"
	JobStatusCompleting   JobStatus = "COMPLETING"
	JobStatusCompleted    JobStatus = "COMPLETED"
	JobStatusFailing      JobStatus = "FAILING"
	JobStatusFailed       JobStatus = "FAILED"
)

Enum values for JobStatus

func (JobStatus) MarshalValue added in v0.3.0

func (enum JobStatus) MarshalValue() (string, error)

func (JobStatus) MarshalValueBuf added in v0.3.0

func (enum JobStatus) MarshalValueBuf(b []byte) ([]byte, error)

type Message

type Message struct {

	// The action that occurs if the user taps a push notification delivered by
	// the campaign:OPEN_APP - Your app launches, or it becomes the foreground app
	// if it has been sent to the background. This is the default action.DEEP_LINK
	// - Uses deep linking features in iOS and Android to open your app and display
	// a designated user interface within the app.URL - The default mobile browser
	// on the user's device launches and opens a web page at the URL you specify.
	Action Action `type:"string" enum:"true"`

	// The message body. Can include up to 140 characters.
	Body *string `type:"string"`

	// The URL that points to the icon image for the push notification icon, for
	// example, the app icon.
	ImageIconUrl *string `type:"string"`

	// The URL that points to the small icon image for the push notification icon,
	// for example, the app icon.
	ImageSmallIconUrl *string `type:"string"`

	// The URL that points to an image used in the push notification.
	ImageUrl *string `type:"string"`

	// The JSON payload used for a silent push.
	JsonBody *string `type:"string"`

	// A URL that refers to the location of an image or video that you want to display
	// in the push notification.
	MediaUrl *string `type:"string"`

	// The Raw JSON formatted string to be used as the payload. This value overrides
	// the message.
	RawContent *string `type:"string"`

	// Indicates if the message should display on the users device.Silent pushes
	// can be used for Remote Configuration and Phone Home use cases.
	SilentPush *bool `type:"boolean"`

	// This parameter specifies how long (in seconds) the message should be kept
	// if the service is unable to deliver the notification the first time. If the
	// value is 0, it treats the notification as if it expires immediately and does
	// not store the notification or attempt to redeliver it. This value is converted
	// to the expiration field when sent to the service. It only applies to APNs
	// and GCM
	TimeToLive *int64 `type:"integer"`

	// The message title that displays above the message on the user's device.
	Title *string `type:"string"`

	// The URL to open in the user's mobile browser. Used if the value for Action
	// is URL.
	Url *string `type:"string"`
	// contains filtered or unexported fields
}

Message to send Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/Message

func (Message) GoString

func (s Message) GoString() string

GoString returns the string representation

func (Message) MarshalFields added in v0.3.0

func (s Message) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Message) String

func (s Message) String() string

String returns the string representation

type MessageBody

type MessageBody struct {

	// The error message that's returned from the API.
	Message *string `type:"string"`

	// The unique message body ID.
	RequestID *string `type:"string"`
	// contains filtered or unexported fields
}

Simple message object. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageBody

func (MessageBody) GoString

func (s MessageBody) GoString() string

GoString returns the string representation

func (MessageBody) MarshalFields added in v0.3.0

func (s MessageBody) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MessageBody) String

func (s MessageBody) String() string

String returns the string representation

type MessageConfiguration

type MessageConfiguration struct {

	// The message that the campaign delivers to ADM channels. Overrides the default
	// message.
	ADMMessage *Message `type:"structure"`

	// The message that the campaign delivers to APNS channels. Overrides the default
	// message.
	APNSMessage *Message `type:"structure"`

	// The message that the campaign delivers to Baidu channels. Overrides the default
	// message.
	BaiduMessage *Message `type:"structure"`

	// The default message for all channels.
	DefaultMessage *Message `type:"structure"`

	// The email message configuration.
	EmailMessage *CampaignEmailMessage `type:"structure"`

	// The message that the campaign delivers to GCM channels. Overrides the default
	// message.
	GCMMessage *Message `type:"structure"`

	// The SMS message configuration.
	SMSMessage *CampaignSmsMessage `type:"structure"`
	// contains filtered or unexported fields
}

Message configuration for a campaign. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageConfiguration

func (MessageConfiguration) GoString

func (s MessageConfiguration) GoString() string

GoString returns the string representation

func (MessageConfiguration) MarshalFields added in v0.3.0

func (s MessageConfiguration) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MessageConfiguration) String

func (s MessageConfiguration) String() string

String returns the string representation

type MessageRequest

type MessageRequest struct {

	// A map of key-value pairs, where each key is an address and each value is
	// an AddressConfiguration object. An address can be a push notification token,
	// a phone number, or an email address.
	Addresses map[string]AddressConfiguration `type:"map"`

	// A map of custom attributes to attributes to be attached to the message. This
	// payload is added to the push notification's 'data.pinpoint' object or added
	// to the email/sms delivery receipt event attributes.
	Context map[string]string `type:"map"`

	// A map of key-value pairs, where each key is an endpoint ID and each value
	// is an EndpointSendConfiguration object. Within an EndpointSendConfiguration
	// object, you can tailor the message for an endpoint by specifying message
	// overrides or substitutions.
	Endpoints map[string]EndpointSendConfiguration `type:"map"`

	// Message configuration.
	MessageConfiguration *DirectMessageConfiguration `type:"structure"`

	// A unique ID that you can use to trace a message. This ID is visible to recipients.
	TraceId *string `type:"string"`
	// contains filtered or unexported fields
}

Send message request. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageRequest

func (MessageRequest) GoString

func (s MessageRequest) GoString() string

GoString returns the string representation

func (MessageRequest) MarshalFields added in v0.3.0

func (s MessageRequest) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MessageRequest) String

func (s MessageRequest) String() string

String returns the string representation

type MessageResponse

type MessageResponse struct {

	// Application id of the message.
	ApplicationId *string `type:"string"`

	// A map containing a multi part response for each address, with the endpointId
	// as the key and the result as the value.
	EndpointResult map[string]EndpointMessageResult `type:"map"`

	// Original request Id for which this message was delivered.
	RequestId *string `type:"string"`

	// A map containing a multi part response for each address, with the address
	// as the key(Email address, phone number or push token) and the result as the
	// value.
	Result map[string]MessageResult `type:"map"`
	// contains filtered or unexported fields
}

Send message response. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageResponse

func (MessageResponse) GoString

func (s MessageResponse) GoString() string

GoString returns the string representation

func (MessageResponse) MarshalFields added in v0.3.0

func (s MessageResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MessageResponse) String

func (s MessageResponse) String() string

String returns the string representation

type MessageResult

type MessageResult struct {

	// The delivery status of the message. Possible values:SUCCESS - The message
	// was successfully delivered to the endpoint.TRANSIENT_FAILURE - A temporary
	// error occurred. Amazon Pinpoint will attempt to deliver the message again
	// later.FAILURE_PERMANENT - An error occurred when delivering the message to
	// the endpoint. Amazon Pinpoint won't attempt to send the message again.TIMEOUT
	// - The message couldn't be sent within the timeout period.QUIET_TIME - The
	// local time for the endpoint was within the QuietTime for the campaign or
	// app.DAILY_CAP - The endpoint has received the maximum number of messages
	// it can receive within a 24-hour period.HOLDOUT - The endpoint was in a hold
	// out treatment for the campaign.THROTTLED - Amazon Pinpoint throttled sending
	// to this endpoint.EXPIRED - The endpoint address is expired.CAMPAIGN_CAP -
	// The endpoint received the maximum number of messages allowed by the campaign.SERVICE_FAILURE
	// - A service-level failure prevented Amazon Pinpoint from delivering the message.UNKNOWN
	// - An unknown error occurred.
	DeliveryStatus DeliveryStatus `type:"string" enum:"true"`

	// Unique message identifier associated with the message that was sent.
	MessageId *string `type:"string"`

	// Downstream service status code.
	StatusCode *int64 `type:"integer"`

	// Status message for message delivery.
	StatusMessage *string `type:"string"`

	// If token was updated as part of delivery. (This is GCM Specific)
	UpdatedToken *string `type:"string"`
	// contains filtered or unexported fields
}

The result from sending a message to an address. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageResult

func (MessageResult) GoString

func (s MessageResult) GoString() string

GoString returns the string representation

func (MessageResult) MarshalFields added in v0.3.0

func (s MessageResult) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MessageResult) String

func (s MessageResult) String() string

String returns the string representation

type MessageType

type MessageType string
const (
	MessageTypeTransactional MessageType = "TRANSACTIONAL"
	MessageTypePromotional   MessageType = "PROMOTIONAL"
)

Enum values for MessageType

func (MessageType) MarshalValue added in v0.3.0

func (enum MessageType) MarshalValue() (string, error)

func (MessageType) MarshalValueBuf added in v0.3.0

func (enum MessageType) MarshalValueBuf(b []byte) ([]byte, error)

type MetricDimension added in v0.5.0

type MetricDimension struct {

	// The operator that you're using to compare metric values. Possible values:
	// GREATER_THAN, LESS_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, or EQUAL
	ComparisonOperator *string `type:"string"`

	// The value to be compared.
	Value *float64 `type:"double"`
	// contains filtered or unexported fields
}

Custom metric dimension Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MetricDimension

func (MetricDimension) GoString added in v0.5.0

func (s MetricDimension) GoString() string

GoString returns the string representation

func (MetricDimension) MarshalFields added in v0.5.0

func (s MetricDimension) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MetricDimension) String added in v0.5.0

func (s MetricDimension) String() string

String returns the string representation

type Mode added in v0.4.0

type Mode string
const (
	ModeDelivery Mode = "DELIVERY"
	ModeFilter   Mode = "FILTER"
)

Enum values for Mode

func (Mode) MarshalValue added in v0.4.0

func (enum Mode) MarshalValue() (string, error)

func (Mode) MarshalValueBuf added in v0.4.0

func (enum Mode) MarshalValueBuf(b []byte) ([]byte, error)

type NumberValidateRequest added in v0.5.0

type NumberValidateRequest struct {

	// (Optional) The two-character ISO country code for the country or region where
	// the phone number was originally registered.
	IsoCountryCode *string `type:"string"`

	// The phone number to get information about. The phone number that you provide
	// should include a country code. If the number doesn't include a valid country
	// code, the operation might result in an error.
	PhoneNumber *string `type:"string"`
	// contains filtered or unexported fields
}

Phone Number Validate request. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/NumberValidateRequest

func (NumberValidateRequest) GoString added in v0.5.0

func (s NumberValidateRequest) GoString() string

GoString returns the string representation

func (NumberValidateRequest) MarshalFields added in v0.5.0

func (s NumberValidateRequest) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (NumberValidateRequest) String added in v0.5.0

func (s NumberValidateRequest) String() string

String returns the string representation

type NumberValidateResponse added in v0.5.0

type NumberValidateResponse struct {

	// The carrier or servive provider that the phone number is currently registered
	// with.
	Carrier *string `type:"string"`

	// The city where the phone number was originally registered.
	City *string `type:"string"`

	// The cleansed phone number, shown in E.164 format.
	CleansedPhoneNumberE164 *string `type:"string"`

	// The cleansed phone number, shown in the local phone number format.
	CleansedPhoneNumberNational *string `type:"string"`

	// The country or region where the phone number was originally registered.
	Country *string `type:"string"`

	// The two-character ISO code for the country or region where the phone number
	// was originally registered.
	CountryCodeIso2 *string `type:"string"`

	// The numeric code for the country or region where the phone number was originally
	// registered.
	CountryCodeNumeric *string `type:"string"`

	// The county where the phone number was originally registered.
	County *string `type:"string"`

	// The two-character code (in ISO 3166-1 alpha-2 format) for the country or
	// region in the request body.
	OriginalCountryCodeIso2 *string `type:"string"`

	// The phone number that you included in the request body.
	OriginalPhoneNumber *string `type:"string"`

	// A description of the phone type. Possible values are MOBILE, LANDLINE, VOIP,
	// INVALID, PREPAID, and OTHER.
	PhoneType *string `type:"string"`

	// The phone type, represented by an integer. Possible values include 0 (MOBILE),
	// 1 (LANDLINE), 2 (VOIP), 3 (INVALID), 4 (OTHER), and 5 (PREPAID).
	PhoneTypeCode *int64 `type:"integer"`

	// The time zone for the location where the phone number was originally registered.
	Timezone *string `type:"string"`

	// The postal code for the location where the phone number was originally registered.
	ZipCode *string `type:"string"`
	// contains filtered or unexported fields
}

Phone Number Validate response. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/NumberValidateResponse

func (NumberValidateResponse) GoString added in v0.5.0

func (s NumberValidateResponse) GoString() string

GoString returns the string representation

func (NumberValidateResponse) MarshalFields added in v0.5.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (NumberValidateResponse) String added in v0.5.0

func (s NumberValidateResponse) String() string

String returns the string representation

type PhoneNumberValidateInput added in v0.5.0

type PhoneNumberValidateInput struct {

	// Phone Number Validate request.
	//
	// NumberValidateRequest is a required field
	NumberValidateRequest *NumberValidateRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PhoneNumberValidateRequest

func (PhoneNumberValidateInput) GoString added in v0.5.0

func (s PhoneNumberValidateInput) GoString() string

GoString returns the string representation

func (PhoneNumberValidateInput) MarshalFields added in v0.5.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PhoneNumberValidateInput) String added in v0.5.0

func (s PhoneNumberValidateInput) String() string

String returns the string representation

func (*PhoneNumberValidateInput) Validate added in v0.5.0

func (s *PhoneNumberValidateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PhoneNumberValidateOutput added in v0.5.0

type PhoneNumberValidateOutput struct {

	// Phone Number Validate response.
	//
	// NumberValidateResponse is a required field
	NumberValidateResponse *NumberValidateResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PhoneNumberValidateResponse

func (PhoneNumberValidateOutput) GoString added in v0.5.0

func (s PhoneNumberValidateOutput) GoString() string

GoString returns the string representation

func (PhoneNumberValidateOutput) MarshalFields added in v0.5.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PhoneNumberValidateOutput) SDKResponseMetadata added in v0.5.0

func (s PhoneNumberValidateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PhoneNumberValidateOutput) String added in v0.5.0

func (s PhoneNumberValidateOutput) String() string

String returns the string representation

type PhoneNumberValidateRequest added in v0.5.0

type PhoneNumberValidateRequest struct {
	*aws.Request
	Input *PhoneNumberValidateInput
	Copy  func(*PhoneNumberValidateInput) PhoneNumberValidateRequest
}

PhoneNumberValidateRequest is a API request type for the PhoneNumberValidate API operation.

func (PhoneNumberValidateRequest) Send added in v0.5.0

Send marshals and sends the PhoneNumberValidate API request.

type Pinpoint

type Pinpoint struct {
	*aws.Client
}

Pinpoint provides the API operation methods for making requests to Amazon Pinpoint. See this package's package overview docs for details on the service.

Pinpoint methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *Pinpoint

New creates a new instance of the Pinpoint client with a config.

Example:

// Create a Pinpoint client from just a config.
svc := pinpoint.New(myConfig)

func (*Pinpoint) CreateAppRequest

func (c *Pinpoint) CreateAppRequest(input *CreateAppInput) CreateAppRequest

CreateAppRequest returns a request value for making API operation for Amazon Pinpoint.

Creates or updates an app.

// Example sending a request using the CreateAppRequest method.
req := client.CreateAppRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateApp

func (*Pinpoint) CreateCampaignRequest

func (c *Pinpoint) CreateCampaignRequest(input *CreateCampaignInput) CreateCampaignRequest

CreateCampaignRequest returns a request value for making API operation for Amazon Pinpoint.

Creates or updates a campaign.

// Example sending a request using the CreateCampaignRequest method.
req := client.CreateCampaignRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateCampaign

func (*Pinpoint) CreateExportJobRequest added in v0.4.0

func (c *Pinpoint) CreateExportJobRequest(input *CreateExportJobInput) CreateExportJobRequest

CreateExportJobRequest returns a request value for making API operation for Amazon Pinpoint.

Creates an export job.

// Example sending a request using the CreateExportJobRequest method.
req := client.CreateExportJobRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateExportJob

func (*Pinpoint) CreateImportJobRequest

func (c *Pinpoint) CreateImportJobRequest(input *CreateImportJobInput) CreateImportJobRequest

CreateImportJobRequest returns a request value for making API operation for Amazon Pinpoint.

Creates or updates an import job.

// Example sending a request using the CreateImportJobRequest method.
req := client.CreateImportJobRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateImportJob

func (*Pinpoint) CreateSegmentRequest

func (c *Pinpoint) CreateSegmentRequest(input *CreateSegmentInput) CreateSegmentRequest

CreateSegmentRequest returns a request value for making API operation for Amazon Pinpoint.

Used to create or update a segment.

// Example sending a request using the CreateSegmentRequest method.
req := client.CreateSegmentRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateSegment

func (*Pinpoint) DeleteAdmChannelRequest

func (c *Pinpoint) DeleteAdmChannelRequest(input *DeleteAdmChannelInput) DeleteAdmChannelRequest

DeleteAdmChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Delete an ADM channel.

// Example sending a request using the DeleteAdmChannelRequest method.
req := client.DeleteAdmChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteAdmChannel

func (*Pinpoint) DeleteApnsChannelRequest

func (c *Pinpoint) DeleteApnsChannelRequest(input *DeleteApnsChannelInput) DeleteApnsChannelRequest

DeleteApnsChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Deletes the APNs channel for an app.

// Example sending a request using the DeleteApnsChannelRequest method.
req := client.DeleteApnsChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsChannel

func (*Pinpoint) DeleteApnsSandboxChannelRequest

func (c *Pinpoint) DeleteApnsSandboxChannelRequest(input *DeleteApnsSandboxChannelInput) DeleteApnsSandboxChannelRequest

DeleteApnsSandboxChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Delete an APNS sandbox channel.

// Example sending a request using the DeleteApnsSandboxChannelRequest method.
req := client.DeleteApnsSandboxChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsSandboxChannel

func (*Pinpoint) DeleteApnsVoipChannelRequest added in v0.2.0

func (c *Pinpoint) DeleteApnsVoipChannelRequest(input *DeleteApnsVoipChannelInput) DeleteApnsVoipChannelRequest

DeleteApnsVoipChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Delete an APNS VoIP channel

// Example sending a request using the DeleteApnsVoipChannelRequest method.
req := client.DeleteApnsVoipChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipChannel

func (*Pinpoint) DeleteApnsVoipSandboxChannelRequest added in v0.2.0

func (c *Pinpoint) DeleteApnsVoipSandboxChannelRequest(input *DeleteApnsVoipSandboxChannelInput) DeleteApnsVoipSandboxChannelRequest

DeleteApnsVoipSandboxChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Delete an APNS VoIP sandbox channel

// Example sending a request using the DeleteApnsVoipSandboxChannelRequest method.
req := client.DeleteApnsVoipSandboxChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipSandboxChannel

func (*Pinpoint) DeleteAppRequest

func (c *Pinpoint) DeleteAppRequest(input *DeleteAppInput) DeleteAppRequest

DeleteAppRequest returns a request value for making API operation for Amazon Pinpoint.

Deletes an app.

// Example sending a request using the DeleteAppRequest method.
req := client.DeleteAppRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApp

func (*Pinpoint) DeleteBaiduChannelRequest

func (c *Pinpoint) DeleteBaiduChannelRequest(input *DeleteBaiduChannelInput) DeleteBaiduChannelRequest

DeleteBaiduChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Delete a BAIDU GCM channel

// Example sending a request using the DeleteBaiduChannelRequest method.
req := client.DeleteBaiduChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteBaiduChannel

func (*Pinpoint) DeleteCampaignRequest

func (c *Pinpoint) DeleteCampaignRequest(input *DeleteCampaignInput) DeleteCampaignRequest

DeleteCampaignRequest returns a request value for making API operation for Amazon Pinpoint.

Deletes a campaign.

// Example sending a request using the DeleteCampaignRequest method.
req := client.DeleteCampaignRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteCampaign

func (*Pinpoint) DeleteEmailChannelRequest

func (c *Pinpoint) DeleteEmailChannelRequest(input *DeleteEmailChannelInput) DeleteEmailChannelRequest

DeleteEmailChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Delete an email channel.

// Example sending a request using the DeleteEmailChannelRequest method.
req := client.DeleteEmailChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEmailChannel

func (*Pinpoint) DeleteEndpointRequest added in v0.4.0

func (c *Pinpoint) DeleteEndpointRequest(input *DeleteEndpointInput) DeleteEndpointRequest

DeleteEndpointRequest returns a request value for making API operation for Amazon Pinpoint.

Deletes an endpoint.

// Example sending a request using the DeleteEndpointRequest method.
req := client.DeleteEndpointRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEndpoint

func (*Pinpoint) DeleteEventStreamRequest

func (c *Pinpoint) DeleteEventStreamRequest(input *DeleteEventStreamInput) DeleteEventStreamRequest

DeleteEventStreamRequest returns a request value for making API operation for Amazon Pinpoint.

Deletes the event stream for an app.

// Example sending a request using the DeleteEventStreamRequest method.
req := client.DeleteEventStreamRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEventStream

func (*Pinpoint) DeleteGcmChannelRequest

func (c *Pinpoint) DeleteGcmChannelRequest(input *DeleteGcmChannelInput) DeleteGcmChannelRequest

DeleteGcmChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Deletes the GCM channel for an app.

// Example sending a request using the DeleteGcmChannelRequest method.
req := client.DeleteGcmChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteGcmChannel

func (*Pinpoint) DeleteSegmentRequest

func (c *Pinpoint) DeleteSegmentRequest(input *DeleteSegmentInput) DeleteSegmentRequest

DeleteSegmentRequest returns a request value for making API operation for Amazon Pinpoint.

Deletes a segment.

// Example sending a request using the DeleteSegmentRequest method.
req := client.DeleteSegmentRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSegment

func (*Pinpoint) DeleteSmsChannelRequest

func (c *Pinpoint) DeleteSmsChannelRequest(input *DeleteSmsChannelInput) DeleteSmsChannelRequest

DeleteSmsChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Delete an SMS channel.

// Example sending a request using the DeleteSmsChannelRequest method.
req := client.DeleteSmsChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSmsChannel

func (*Pinpoint) DeleteUserEndpointsRequest added in v0.5.0

func (c *Pinpoint) DeleteUserEndpointsRequest(input *DeleteUserEndpointsInput) DeleteUserEndpointsRequest

DeleteUserEndpointsRequest returns a request value for making API operation for Amazon Pinpoint.

Deletes endpoints that are associated with a User ID.

// Example sending a request using the DeleteUserEndpointsRequest method.
req := client.DeleteUserEndpointsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteUserEndpoints

func (*Pinpoint) DeleteVoiceChannelRequest added in v0.6.0

func (c *Pinpoint) DeleteVoiceChannelRequest(input *DeleteVoiceChannelInput) DeleteVoiceChannelRequest

DeleteVoiceChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Delete an Voice channel

// Example sending a request using the DeleteVoiceChannelRequest method.
req := client.DeleteVoiceChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteVoiceChannel

func (*Pinpoint) GetAdmChannelRequest

func (c *Pinpoint) GetAdmChannelRequest(input *GetAdmChannelInput) GetAdmChannelRequest

GetAdmChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Get an ADM channel.

// Example sending a request using the GetAdmChannelRequest method.
req := client.GetAdmChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAdmChannel

func (*Pinpoint) GetApnsChannelRequest

func (c *Pinpoint) GetApnsChannelRequest(input *GetApnsChannelInput) GetApnsChannelRequest

GetApnsChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Returns information about the APNs channel for an app.

// Example sending a request using the GetApnsChannelRequest method.
req := client.GetApnsChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsChannel

func (*Pinpoint) GetApnsSandboxChannelRequest

func (c *Pinpoint) GetApnsSandboxChannelRequest(input *GetApnsSandboxChannelInput) GetApnsSandboxChannelRequest

GetApnsSandboxChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Get an APNS sandbox channel.

// Example sending a request using the GetApnsSandboxChannelRequest method.
req := client.GetApnsSandboxChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsSandboxChannel

func (*Pinpoint) GetApnsVoipChannelRequest added in v0.2.0

func (c *Pinpoint) GetApnsVoipChannelRequest(input *GetApnsVoipChannelInput) GetApnsVoipChannelRequest

GetApnsVoipChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Get an APNS VoIP channel

// Example sending a request using the GetApnsVoipChannelRequest method.
req := client.GetApnsVoipChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipChannel

func (*Pinpoint) GetApnsVoipSandboxChannelRequest added in v0.2.0

func (c *Pinpoint) GetApnsVoipSandboxChannelRequest(input *GetApnsVoipSandboxChannelInput) GetApnsVoipSandboxChannelRequest

GetApnsVoipSandboxChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Get an APNS VoIPSandbox channel

// Example sending a request using the GetApnsVoipSandboxChannelRequest method.
req := client.GetApnsVoipSandboxChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipSandboxChannel

func (*Pinpoint) GetAppRequest

func (c *Pinpoint) GetAppRequest(input *GetAppInput) GetAppRequest

GetAppRequest returns a request value for making API operation for Amazon Pinpoint.

Returns information about an app.

// Example sending a request using the GetAppRequest method.
req := client.GetAppRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApp

func (*Pinpoint) GetApplicationSettingsRequest

func (c *Pinpoint) GetApplicationSettingsRequest(input *GetApplicationSettingsInput) GetApplicationSettingsRequest

GetApplicationSettingsRequest returns a request value for making API operation for Amazon Pinpoint.

Used to request the settings for an app.

// Example sending a request using the GetApplicationSettingsRequest method.
req := client.GetApplicationSettingsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationSettings

func (*Pinpoint) GetAppsRequest

func (c *Pinpoint) GetAppsRequest(input *GetAppsInput) GetAppsRequest

GetAppsRequest returns a request value for making API operation for Amazon Pinpoint.

Returns information about your apps.

// Example sending a request using the GetAppsRequest method.
req := client.GetAppsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApps

func (*Pinpoint) GetBaiduChannelRequest

func (c *Pinpoint) GetBaiduChannelRequest(input *GetBaiduChannelInput) GetBaiduChannelRequest

GetBaiduChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Get a BAIDU GCM channel

// Example sending a request using the GetBaiduChannelRequest method.
req := client.GetBaiduChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetBaiduChannel

func (*Pinpoint) GetCampaignActivitiesRequest

func (c *Pinpoint) GetCampaignActivitiesRequest(input *GetCampaignActivitiesInput) GetCampaignActivitiesRequest

GetCampaignActivitiesRequest returns a request value for making API operation for Amazon Pinpoint.

Returns information about the activity performed by a campaign.

// Example sending a request using the GetCampaignActivitiesRequest method.
req := client.GetCampaignActivitiesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignActivities

func (*Pinpoint) GetCampaignRequest

func (c *Pinpoint) GetCampaignRequest(input *GetCampaignInput) GetCampaignRequest

GetCampaignRequest returns a request value for making API operation for Amazon Pinpoint.

Returns information about a campaign.

// Example sending a request using the GetCampaignRequest method.
req := client.GetCampaignRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaign

func (*Pinpoint) GetCampaignVersionRequest

func (c *Pinpoint) GetCampaignVersionRequest(input *GetCampaignVersionInput) GetCampaignVersionRequest

GetCampaignVersionRequest returns a request value for making API operation for Amazon Pinpoint.

Returns information about a specific version of a campaign.

// Example sending a request using the GetCampaignVersionRequest method.
req := client.GetCampaignVersionRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersion

func (*Pinpoint) GetCampaignVersionsRequest

func (c *Pinpoint) GetCampaignVersionsRequest(input *GetCampaignVersionsInput) GetCampaignVersionsRequest

GetCampaignVersionsRequest returns a request value for making API operation for Amazon Pinpoint.

Returns information about your campaign versions.

// Example sending a request using the GetCampaignVersionsRequest method.
req := client.GetCampaignVersionsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersions

func (*Pinpoint) GetCampaignsRequest

func (c *Pinpoint) GetCampaignsRequest(input *GetCampaignsInput) GetCampaignsRequest

GetCampaignsRequest returns a request value for making API operation for Amazon Pinpoint.

Returns information about your campaigns.

// Example sending a request using the GetCampaignsRequest method.
req := client.GetCampaignsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaigns

func (*Pinpoint) GetChannelsRequest added in v0.5.0

func (c *Pinpoint) GetChannelsRequest(input *GetChannelsInput) GetChannelsRequest

GetChannelsRequest returns a request value for making API operation for Amazon Pinpoint.

Get all channels.

// Example sending a request using the GetChannelsRequest method.
req := client.GetChannelsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetChannels

func (*Pinpoint) GetEmailChannelRequest

func (c *Pinpoint) GetEmailChannelRequest(input *GetEmailChannelInput) GetEmailChannelRequest

GetEmailChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Get an email channel.

// Example sending a request using the GetEmailChannelRequest method.
req := client.GetEmailChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEmailChannel

func (*Pinpoint) GetEndpointRequest

func (c *Pinpoint) GetEndpointRequest(input *GetEndpointInput) GetEndpointRequest

GetEndpointRequest returns a request value for making API operation for Amazon Pinpoint.

Returns information about an endpoint.

// Example sending a request using the GetEndpointRequest method.
req := client.GetEndpointRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEndpoint

func (*Pinpoint) GetEventStreamRequest

func (c *Pinpoint) GetEventStreamRequest(input *GetEventStreamInput) GetEventStreamRequest

GetEventStreamRequest returns a request value for making API operation for Amazon Pinpoint.

Returns the event stream for an app.

// Example sending a request using the GetEventStreamRequest method.
req := client.GetEventStreamRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEventStream

func (*Pinpoint) GetExportJobRequest added in v0.4.0

func (c *Pinpoint) GetExportJobRequest(input *GetExportJobInput) GetExportJobRequest

GetExportJobRequest returns a request value for making API operation for Amazon Pinpoint.

Returns information about an export job.

// Example sending a request using the GetExportJobRequest method.
req := client.GetExportJobRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetExportJob

func (*Pinpoint) GetExportJobsRequest added in v0.4.0

func (c *Pinpoint) GetExportJobsRequest(input *GetExportJobsInput) GetExportJobsRequest

GetExportJobsRequest returns a request value for making API operation for Amazon Pinpoint.

Returns information about your export jobs.

// Example sending a request using the GetExportJobsRequest method.
req := client.GetExportJobsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetExportJobs

func (*Pinpoint) GetGcmChannelRequest

func (c *Pinpoint) GetGcmChannelRequest(input *GetGcmChannelInput) GetGcmChannelRequest

GetGcmChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Returns information about the GCM channel for an app.

// Example sending a request using the GetGcmChannelRequest method.
req := client.GetGcmChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetGcmChannel

func (*Pinpoint) GetImportJobRequest

func (c *Pinpoint) GetImportJobRequest(input *GetImportJobInput) GetImportJobRequest

GetImportJobRequest returns a request value for making API operation for Amazon Pinpoint.

Returns information about an import job.

// Example sending a request using the GetImportJobRequest method.
req := client.GetImportJobRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJob

func (*Pinpoint) GetImportJobsRequest

func (c *Pinpoint) GetImportJobsRequest(input *GetImportJobsInput) GetImportJobsRequest

GetImportJobsRequest returns a request value for making API operation for Amazon Pinpoint.

Returns information about your import jobs.

// Example sending a request using the GetImportJobsRequest method.
req := client.GetImportJobsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJobs

func (*Pinpoint) GetSegmentExportJobsRequest added in v0.4.0

func (c *Pinpoint) GetSegmentExportJobsRequest(input *GetSegmentExportJobsInput) GetSegmentExportJobsRequest

GetSegmentExportJobsRequest returns a request value for making API operation for Amazon Pinpoint.

Returns a list of export jobs for a specific segment.

// Example sending a request using the GetSegmentExportJobsRequest method.
req := client.GetSegmentExportJobsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentExportJobs

func (*Pinpoint) GetSegmentImportJobsRequest

func (c *Pinpoint) GetSegmentImportJobsRequest(input *GetSegmentImportJobsInput) GetSegmentImportJobsRequest

GetSegmentImportJobsRequest returns a request value for making API operation for Amazon Pinpoint.

Returns a list of import jobs for a specific segment.

// Example sending a request using the GetSegmentImportJobsRequest method.
req := client.GetSegmentImportJobsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentImportJobs

func (*Pinpoint) GetSegmentRequest

func (c *Pinpoint) GetSegmentRequest(input *GetSegmentInput) GetSegmentRequest

GetSegmentRequest returns a request value for making API operation for Amazon Pinpoint.

Returns information about a segment.

// Example sending a request using the GetSegmentRequest method.
req := client.GetSegmentRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegment

func (*Pinpoint) GetSegmentVersionRequest

func (c *Pinpoint) GetSegmentVersionRequest(input *GetSegmentVersionInput) GetSegmentVersionRequest

GetSegmentVersionRequest returns a request value for making API operation for Amazon Pinpoint.

Returns information about a segment version.

// Example sending a request using the GetSegmentVersionRequest method.
req := client.GetSegmentVersionRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersion

func (*Pinpoint) GetSegmentVersionsRequest

func (c *Pinpoint) GetSegmentVersionsRequest(input *GetSegmentVersionsInput) GetSegmentVersionsRequest

GetSegmentVersionsRequest returns a request value for making API operation for Amazon Pinpoint.

Returns information about your segment versions.

// Example sending a request using the GetSegmentVersionsRequest method.
req := client.GetSegmentVersionsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersions

func (*Pinpoint) GetSegmentsRequest

func (c *Pinpoint) GetSegmentsRequest(input *GetSegmentsInput) GetSegmentsRequest

GetSegmentsRequest returns a request value for making API operation for Amazon Pinpoint.

Used to get information about your segments.

// Example sending a request using the GetSegmentsRequest method.
req := client.GetSegmentsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegments

func (*Pinpoint) GetSmsChannelRequest

func (c *Pinpoint) GetSmsChannelRequest(input *GetSmsChannelInput) GetSmsChannelRequest

GetSmsChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Get an SMS channel.

// Example sending a request using the GetSmsChannelRequest method.
req := client.GetSmsChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSmsChannel

func (*Pinpoint) GetUserEndpointsRequest added in v0.5.0

func (c *Pinpoint) GetUserEndpointsRequest(input *GetUserEndpointsInput) GetUserEndpointsRequest

GetUserEndpointsRequest returns a request value for making API operation for Amazon Pinpoint.

Returns information about the endpoints that are associated with a User ID.

// Example sending a request using the GetUserEndpointsRequest method.
req := client.GetUserEndpointsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetUserEndpoints

func (*Pinpoint) GetVoiceChannelRequest added in v0.6.0

func (c *Pinpoint) GetVoiceChannelRequest(input *GetVoiceChannelInput) GetVoiceChannelRequest

GetVoiceChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Get a Voice Channel

// Example sending a request using the GetVoiceChannelRequest method.
req := client.GetVoiceChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetVoiceChannel

func (*Pinpoint) PhoneNumberValidateRequest added in v0.5.0

func (c *Pinpoint) PhoneNumberValidateRequest(input *PhoneNumberValidateInput) PhoneNumberValidateRequest

PhoneNumberValidateRequest returns a request value for making API operation for Amazon Pinpoint.

Returns information about the specified phone number.

// Example sending a request using the PhoneNumberValidateRequest method.
req := client.PhoneNumberValidateRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PhoneNumberValidate

func (*Pinpoint) PutEventStreamRequest

func (c *Pinpoint) PutEventStreamRequest(input *PutEventStreamInput) PutEventStreamRequest

PutEventStreamRequest returns a request value for making API operation for Amazon Pinpoint.

Use to create or update the event stream for an app.

// Example sending a request using the PutEventStreamRequest method.
req := client.PutEventStreamRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEventStream

func (*Pinpoint) PutEventsRequest added in v0.5.0

func (c *Pinpoint) PutEventsRequest(input *PutEventsInput) PutEventsRequest

PutEventsRequest returns a request value for making API operation for Amazon Pinpoint.

Use to record events for endpoints. This method creates events and creates or updates the endpoints that those events are associated with.

// Example sending a request using the PutEventsRequest method.
req := client.PutEventsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEvents

func (*Pinpoint) RemoveAttributesRequest added in v0.5.0

func (c *Pinpoint) RemoveAttributesRequest(input *RemoveAttributesInput) RemoveAttributesRequest

RemoveAttributesRequest returns a request value for making API operation for Amazon Pinpoint.

Used to remove the attributes for an app

// Example sending a request using the RemoveAttributesRequest method.
req := client.RemoveAttributesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/RemoveAttributes

func (*Pinpoint) SendMessagesRequest

func (c *Pinpoint) SendMessagesRequest(input *SendMessagesInput) SendMessagesRequest

SendMessagesRequest returns a request value for making API operation for Amazon Pinpoint.

Used to send a direct message.

// Example sending a request using the SendMessagesRequest method.
req := client.SendMessagesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendMessages

func (*Pinpoint) SendUsersMessagesRequest

func (c *Pinpoint) SendUsersMessagesRequest(input *SendUsersMessagesInput) SendUsersMessagesRequest

SendUsersMessagesRequest returns a request value for making API operation for Amazon Pinpoint.

Used to send a message to a list of users.

// Example sending a request using the SendUsersMessagesRequest method.
req := client.SendUsersMessagesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessages

func (*Pinpoint) UpdateAdmChannelRequest

func (c *Pinpoint) UpdateAdmChannelRequest(input *UpdateAdmChannelInput) UpdateAdmChannelRequest

UpdateAdmChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Update an ADM channel.

// Example sending a request using the UpdateAdmChannelRequest method.
req := client.UpdateAdmChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateAdmChannel

func (*Pinpoint) UpdateApnsChannelRequest

func (c *Pinpoint) UpdateApnsChannelRequest(input *UpdateApnsChannelInput) UpdateApnsChannelRequest

UpdateApnsChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Use to update the APNs channel for an app.

// Example sending a request using the UpdateApnsChannelRequest method.
req := client.UpdateApnsChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsChannel

func (*Pinpoint) UpdateApnsSandboxChannelRequest

func (c *Pinpoint) UpdateApnsSandboxChannelRequest(input *UpdateApnsSandboxChannelInput) UpdateApnsSandboxChannelRequest

UpdateApnsSandboxChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Update an APNS sandbox channel.

// Example sending a request using the UpdateApnsSandboxChannelRequest method.
req := client.UpdateApnsSandboxChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsSandboxChannel

func (*Pinpoint) UpdateApnsVoipChannelRequest added in v0.2.0

func (c *Pinpoint) UpdateApnsVoipChannelRequest(input *UpdateApnsVoipChannelInput) UpdateApnsVoipChannelRequest

UpdateApnsVoipChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Update an APNS VoIP channel

// Example sending a request using the UpdateApnsVoipChannelRequest method.
req := client.UpdateApnsVoipChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipChannel

func (*Pinpoint) UpdateApnsVoipSandboxChannelRequest added in v0.2.0

func (c *Pinpoint) UpdateApnsVoipSandboxChannelRequest(input *UpdateApnsVoipSandboxChannelInput) UpdateApnsVoipSandboxChannelRequest

UpdateApnsVoipSandboxChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Update an APNS VoIP sandbox channel

// Example sending a request using the UpdateApnsVoipSandboxChannelRequest method.
req := client.UpdateApnsVoipSandboxChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipSandboxChannel

func (*Pinpoint) UpdateApplicationSettingsRequest

func (c *Pinpoint) UpdateApplicationSettingsRequest(input *UpdateApplicationSettingsInput) UpdateApplicationSettingsRequest

UpdateApplicationSettingsRequest returns a request value for making API operation for Amazon Pinpoint.

Used to update the settings for an app.

// Example sending a request using the UpdateApplicationSettingsRequest method.
req := client.UpdateApplicationSettingsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApplicationSettings

func (*Pinpoint) UpdateBaiduChannelRequest

func (c *Pinpoint) UpdateBaiduChannelRequest(input *UpdateBaiduChannelInput) UpdateBaiduChannelRequest

UpdateBaiduChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Update a BAIDU GCM channel

// Example sending a request using the UpdateBaiduChannelRequest method.
req := client.UpdateBaiduChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateBaiduChannel

func (*Pinpoint) UpdateCampaignRequest

func (c *Pinpoint) UpdateCampaignRequest(input *UpdateCampaignInput) UpdateCampaignRequest

UpdateCampaignRequest returns a request value for making API operation for Amazon Pinpoint.

Use to update a campaign.

// Example sending a request using the UpdateCampaignRequest method.
req := client.UpdateCampaignRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateCampaign

func (*Pinpoint) UpdateEmailChannelRequest

func (c *Pinpoint) UpdateEmailChannelRequest(input *UpdateEmailChannelInput) UpdateEmailChannelRequest

UpdateEmailChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Update an email channel.

// Example sending a request using the UpdateEmailChannelRequest method.
req := client.UpdateEmailChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEmailChannel

func (*Pinpoint) UpdateEndpointRequest

func (c *Pinpoint) UpdateEndpointRequest(input *UpdateEndpointInput) UpdateEndpointRequest

UpdateEndpointRequest returns a request value for making API operation for Amazon Pinpoint.

Creates or updates an endpoint.

// Example sending a request using the UpdateEndpointRequest method.
req := client.UpdateEndpointRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpoint

func (*Pinpoint) UpdateEndpointsBatchRequest

func (c *Pinpoint) UpdateEndpointsBatchRequest(input *UpdateEndpointsBatchInput) UpdateEndpointsBatchRequest

UpdateEndpointsBatchRequest returns a request value for making API operation for Amazon Pinpoint.

Use to update a batch of endpoints.

// Example sending a request using the UpdateEndpointsBatchRequest method.
req := client.UpdateEndpointsBatchRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpointsBatch

func (*Pinpoint) UpdateGcmChannelRequest

func (c *Pinpoint) UpdateGcmChannelRequest(input *UpdateGcmChannelInput) UpdateGcmChannelRequest

UpdateGcmChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Use to update the GCM channel for an app.

// Example sending a request using the UpdateGcmChannelRequest method.
req := client.UpdateGcmChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateGcmChannel

func (*Pinpoint) UpdateSegmentRequest

func (c *Pinpoint) UpdateSegmentRequest(input *UpdateSegmentInput) UpdateSegmentRequest

UpdateSegmentRequest returns a request value for making API operation for Amazon Pinpoint.

Used to update a segment.

// Example sending a request using the UpdateSegmentRequest method.
req := client.UpdateSegmentRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSegment

func (*Pinpoint) UpdateSmsChannelRequest

func (c *Pinpoint) UpdateSmsChannelRequest(input *UpdateSmsChannelInput) UpdateSmsChannelRequest

UpdateSmsChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Update an SMS channel.

// Example sending a request using the UpdateSmsChannelRequest method.
req := client.UpdateSmsChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSmsChannel

func (*Pinpoint) UpdateVoiceChannelRequest added in v0.6.0

func (c *Pinpoint) UpdateVoiceChannelRequest(input *UpdateVoiceChannelInput) UpdateVoiceChannelRequest

UpdateVoiceChannelRequest returns a request value for making API operation for Amazon Pinpoint.

Update an Voice channel

// Example sending a request using the UpdateVoiceChannelRequest method.
req := client.UpdateVoiceChannelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateVoiceChannel

type PublicEndpoint added in v0.5.0

type PublicEndpoint struct {

	// The unique identifier for the recipient. For example, an address could be
	// a device token, email address, or mobile phone number.
	Address *string `type:"string"`

	// Custom attributes that your app reports to Amazon Pinpoint. You can use these
	// attributes as selection criteria when you create a segment.
	Attributes map[string][]string `type:"map"`

	// The channel type.Valid values: APNS, GCM
	ChannelType ChannelType `type:"string" enum:"true"`

	// The endpoint demographic attributes.
	Demographic *EndpointDemographic `type:"structure"`

	// The date and time when the endpoint was last updated, in ISO 8601 format.
	EffectiveDate *string `type:"string"`

	// The status of the endpoint. If the update fails, the value is INACTIVE. If
	// the endpoint is updated successfully, the value is ACTIVE.
	EndpointStatus *string `type:"string"`

	// The endpoint location attributes.
	Location *EndpointLocation `type:"structure"`

	// Custom metrics that your app reports to Amazon Pinpoint.
	Metrics map[string]float64 `type:"map"`

	// Indicates whether a user has opted out of receiving messages with one of
	// the following values:ALL - User has opted out of all messages.NONE - Users
	// has not opted out and receives all messages.
	OptOut *string `type:"string"`

	// A unique identifier that is generated each time the endpoint is updated.
	RequestId *string `type:"string"`

	// Custom user-specific attributes that your app reports to Amazon Pinpoint.
	User *EndpointUser `type:"structure"`
	// contains filtered or unexported fields
}

Public endpoint attributes. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PublicEndpoint

func (PublicEndpoint) GoString added in v0.5.0

func (s PublicEndpoint) GoString() string

GoString returns the string representation

func (PublicEndpoint) MarshalFields added in v0.5.0

func (s PublicEndpoint) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PublicEndpoint) String added in v0.5.0

func (s PublicEndpoint) String() string

String returns the string representation

type PutEventStreamInput

type PutEventStreamInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// Request to save an EventStream.
	//
	// WriteEventStream is a required field
	WriteEventStream *WriteEventStream `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEventStreamRequest

func (PutEventStreamInput) GoString

func (s PutEventStreamInput) GoString() string

GoString returns the string representation

func (PutEventStreamInput) MarshalFields added in v0.3.0

func (s PutEventStreamInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutEventStreamInput) String

func (s PutEventStreamInput) String() string

String returns the string representation

func (*PutEventStreamInput) Validate

func (s *PutEventStreamInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutEventStreamOutput

type PutEventStreamOutput struct {

	// Model for an event publishing subscription export.
	//
	// EventStream is a required field
	EventStream *EventStream `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEventStreamResponse

func (PutEventStreamOutput) GoString

func (s PutEventStreamOutput) GoString() string

GoString returns the string representation

func (PutEventStreamOutput) MarshalFields added in v0.3.0

func (s PutEventStreamOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutEventStreamOutput) SDKResponseMetadata

func (s PutEventStreamOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PutEventStreamOutput) String

func (s PutEventStreamOutput) String() string

String returns the string representation

type PutEventStreamRequest

type PutEventStreamRequest struct {
	*aws.Request
	Input *PutEventStreamInput
	Copy  func(*PutEventStreamInput) PutEventStreamRequest
}

PutEventStreamRequest is a API request type for the PutEventStream API operation.

func (PutEventStreamRequest) Send

Send marshals and sends the PutEventStream API request.

type PutEventsInput added in v0.5.0

type PutEventsInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// A set of events to process.
	//
	// EventsRequest is a required field
	EventsRequest *EventsRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEventsRequest

func (PutEventsInput) GoString added in v0.5.0

func (s PutEventsInput) GoString() string

GoString returns the string representation

func (PutEventsInput) MarshalFields added in v0.5.0

func (s PutEventsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutEventsInput) String added in v0.5.0

func (s PutEventsInput) String() string

String returns the string representation

func (*PutEventsInput) Validate added in v0.5.0

func (s *PutEventsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutEventsOutput added in v0.5.0

type PutEventsOutput struct {

	// Custom messages associated with events.
	//
	// EventsResponse is a required field
	EventsResponse *EventsResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEventsResponse

func (PutEventsOutput) GoString added in v0.5.0

func (s PutEventsOutput) GoString() string

GoString returns the string representation

func (PutEventsOutput) MarshalFields added in v0.5.0

func (s PutEventsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutEventsOutput) SDKResponseMetadata added in v0.5.0

func (s PutEventsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PutEventsOutput) String added in v0.5.0

func (s PutEventsOutput) String() string

String returns the string representation

type PutEventsRequest added in v0.5.0

type PutEventsRequest struct {
	*aws.Request
	Input *PutEventsInput
	Copy  func(*PutEventsInput) PutEventsRequest
}

PutEventsRequest is a API request type for the PutEvents API operation.

func (PutEventsRequest) Send added in v0.5.0

func (r PutEventsRequest) Send() (*PutEventsOutput, error)

Send marshals and sends the PutEvents API request.

type QuietTime

type QuietTime struct {

	// The time at which quiet time should end. The value that you specify has to
	// be in HH:mm format, where HH is the hour in 24-hour format (with a leading
	// zero, if applicable), and mm is the minutes. For example, use 02:30 to represent
	// 2:30 AM, or 14:30 to represent 2:30 PM.
	End *string `type:"string"`

	// The time at which quiet time should begin. The value that you specify has
	// to be in HH:mm format, where HH is the hour in 24-hour format (with a leading
	// zero, if applicable), and mm is the minutes. For example, use 02:30 to represent
	// 2:30 AM, or 14:30 to represent 2:30 PM.
	Start *string `type:"string"`
	// contains filtered or unexported fields
}

Quiet Time Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/QuietTime

func (QuietTime) GoString

func (s QuietTime) GoString() string

GoString returns the string representation

func (QuietTime) MarshalFields added in v0.3.0

func (s QuietTime) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (QuietTime) String

func (s QuietTime) String() string

String returns the string representation

type RawEmail added in v0.6.0

type RawEmail struct {

	// The raw email message itself. Then entire message must be base64-encoded.
	//
	// Data is automatically base64 encoded/decoded by the SDK.
	Data []byte `type:"blob"`
	// contains filtered or unexported fields
}

An email represented as a raw MIME message. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/RawEmail

func (RawEmail) GoString added in v0.6.0

func (s RawEmail) GoString() string

GoString returns the string representation

func (RawEmail) MarshalFields added in v0.6.0

func (s RawEmail) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RawEmail) String added in v0.6.0

func (s RawEmail) String() string

String returns the string representation

type RecencyDimension

type RecencyDimension struct {

	// The length of time during which users have been active or inactive with your
	// app.Valid values: HR_24, DAY_7, DAY_14, DAY_30
	Duration Duration `type:"string" enum:"true"`

	// The recency dimension type:ACTIVE - Users who have used your app within the
	// specified duration are included in the segment.INACTIVE - Users who have
	// not used your app within the specified duration are included in the segment.
	RecencyType RecencyType `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Define how a segment based on recency of use. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/RecencyDimension

func (RecencyDimension) GoString

func (s RecencyDimension) GoString() string

GoString returns the string representation

func (RecencyDimension) MarshalFields added in v0.3.0

func (s RecencyDimension) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RecencyDimension) String

func (s RecencyDimension) String() string

String returns the string representation

type RecencyType

type RecencyType string
const (
	RecencyTypeActive   RecencyType = "ACTIVE"
	RecencyTypeInactive RecencyType = "INACTIVE"
)

Enum values for RecencyType

func (RecencyType) MarshalValue added in v0.3.0

func (enum RecencyType) MarshalValue() (string, error)

func (RecencyType) MarshalValueBuf added in v0.3.0

func (enum RecencyType) MarshalValueBuf(b []byte) ([]byte, error)

type RemoveAttributesInput added in v0.5.0

type RemoveAttributesInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// AttributeType is a required field
	AttributeType *string `location:"uri" locationName:"attribute-type" type:"string" required:"true"`

	// Update attributes request
	//
	// UpdateAttributesRequest is a required field
	UpdateAttributesRequest *UpdateAttributesRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/RemoveAttributesRequest

func (RemoveAttributesInput) GoString added in v0.5.0

func (s RemoveAttributesInput) GoString() string

GoString returns the string representation

func (RemoveAttributesInput) MarshalFields added in v0.5.0

func (s RemoveAttributesInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RemoveAttributesInput) String added in v0.5.0

func (s RemoveAttributesInput) String() string

String returns the string representation

func (*RemoveAttributesInput) Validate added in v0.5.0

func (s *RemoveAttributesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RemoveAttributesOutput added in v0.5.0

type RemoveAttributesOutput struct {

	// Attributes.
	//
	// AttributesResource is a required field
	AttributesResource *AttributesResource `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/RemoveAttributesResponse

func (RemoveAttributesOutput) GoString added in v0.5.0

func (s RemoveAttributesOutput) GoString() string

GoString returns the string representation

func (RemoveAttributesOutput) MarshalFields added in v0.5.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RemoveAttributesOutput) SDKResponseMetadata added in v0.5.0

func (s RemoveAttributesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (RemoveAttributesOutput) String added in v0.5.0

func (s RemoveAttributesOutput) String() string

String returns the string representation

type RemoveAttributesRequest added in v0.5.0

type RemoveAttributesRequest struct {
	*aws.Request
	Input *RemoveAttributesInput
	Copy  func(*RemoveAttributesInput) RemoveAttributesRequest
}

RemoveAttributesRequest is a API request type for the RemoveAttributes API operation.

func (RemoveAttributesRequest) Send added in v0.5.0

Send marshals and sends the RemoveAttributes API request.

type SMSChannelRequest

type SMSChannelRequest struct {

	// If the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`

	// Sender identifier of your messages.
	SenderId *string `type:"string"`

	// ShortCode registered with phone provider.
	ShortCode *string `type:"string"`
	// contains filtered or unexported fields
}

SMS Channel Request Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SMSChannelRequest

func (SMSChannelRequest) GoString

func (s SMSChannelRequest) GoString() string

GoString returns the string representation

func (SMSChannelRequest) MarshalFields added in v0.3.0

func (s SMSChannelRequest) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SMSChannelRequest) String

func (s SMSChannelRequest) String() string

String returns the string representation

type SMSChannelResponse

type SMSChannelResponse struct {

	// The unique ID of the application to which the SMS channel belongs.
	ApplicationId *string `type:"string"`

	// The date that the settings were last updated in ISO 8601 format.
	CreationDate *string `type:"string"`

	// If the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`

	// Not used. Retained for backwards compatibility.
	HasCredential *bool `type:"boolean"`

	// Channel ID. Not used, only for backwards compatibility.
	Id *string `type:"string"`

	// Is this channel archived
	IsArchived *bool `type:"boolean"`

	// Who last updated this entry
	LastModifiedBy *string `type:"string"`

	// Last date this was updated
	LastModifiedDate *string `type:"string"`

	// Platform type. Will be "SMS"
	Platform *string `type:"string"`

	// Promotional messages per second that can be sent
	PromotionalMessagesPerSecond *int64 `type:"integer"`

	// Sender identifier of your messages.
	SenderId *string `type:"string"`

	// The short code registered with the phone provider.
	ShortCode *string `type:"string"`

	// Transactional messages per second that can be sent
	TransactionalMessagesPerSecond *int64 `type:"integer"`

	// Version of channel
	Version *int64 `type:"integer"`
	// contains filtered or unexported fields
}

SMS Channel Response. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SMSChannelResponse

func (SMSChannelResponse) GoString

func (s SMSChannelResponse) GoString() string

GoString returns the string representation

func (SMSChannelResponse) MarshalFields added in v0.3.0

func (s SMSChannelResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SMSChannelResponse) String

func (s SMSChannelResponse) String() string

String returns the string representation

type SMSMessage

type SMSMessage struct {

	// The body of the SMS message.
	Body *string `type:"string"`

	// The SMS program name that you provided to AWS Support when you requested
	// your dedicated number.
	Keyword *string `type:"string"`

	// Is this a transaction priority message or lower priority.
	MessageType MessageType `type:"string" enum:"true"`

	// The phone number that the SMS message originates from. Specify one of the
	// dedicated long codes or short codes that you requested from AWS Support and
	// that is assigned to your account. If this attribute is not specified, Amazon
	// Pinpoint randomly assigns a long code.
	OriginationNumber *string `type:"string"`

	// The sender ID that is shown as the message sender on the recipient's device.
	// Support for sender IDs varies by country or region.
	SenderId *string `type:"string"`

	// Default message substitutions. Can be overridden by individual address substitutions.
	Substitutions map[string][]string `type:"map"`
	// contains filtered or unexported fields
}

SMS Message. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SMSMessage

func (SMSMessage) GoString

func (s SMSMessage) GoString() string

GoString returns the string representation

func (SMSMessage) MarshalFields added in v0.3.0

func (s SMSMessage) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SMSMessage) String

func (s SMSMessage) String() string

String returns the string representation

type Schedule

type Schedule struct {

	// The scheduled time that the campaign ends in ISO 8601 format.
	EndTime *string `type:"string"`

	// Defines the type of events that can trigger the campaign. Used when the Frequency
	// is set to EVENT.
	EventFilter *CampaignEventFilter `type:"structure"`

	// How often the campaign delivers messages.Valid values:ONCEHOURLYDAILYWEEKLYMONTHLYEVENT
	Frequency Frequency `type:"string" enum:"true"`

	// Indicates whether the campaign schedule takes effect according to each user's
	// local time.
	IsLocalTime *bool `type:"boolean"`

	// The default quiet time for the campaign. The campaign doesn't send messages
	// to endpoints during the quiet time.Note: Make sure that your endpoints include
	// the Demographics.Timezone attribute if you plan to enable a quiet time for
	// your campaign. If your endpoints don't include this attribute, they'll receive
	// the messages that you send them, even if quiet time is enabled.When you set
	// up a campaign to use quiet time, the campaign doesn't send messages during
	// the time range you specified, as long as all of the following are true:-
	// The endpoint includes a valid Demographic.Timezone attribute.- The current
	// time in the endpoint's time zone is later than or equal to the time specified
	// in the QuietTime.Start attribute for the campaign.- The current time in the
	// endpoint's time zone is earlier than or equal to the time specified in the
	// QuietTime.End attribute for the campaign.
	QuietTime *QuietTime `type:"structure"`

	// The scheduled time that the campaign begins in ISO 8601 format.
	StartTime *string `type:"string"`

	// The starting UTC offset for the schedule if the value for isLocalTime is
	// trueValid values: UTCUTC+01UTC+02UTC+03UTC+03:30UTC+04UTC+04:30UTC+05UTC+05:30UTC+05:45UTC+06UTC+06:30UTC+07UTC+08UTC+09UTC+09:30UTC+10UTC+10:30UTC+11UTC+12UTC+13UTC-02UTC-03UTC-04UTC-05UTC-06UTC-07UTC-08UTC-09UTC-10UTC-11
	Timezone *string `type:"string"`
	// contains filtered or unexported fields
}

Shcedule that defines when a campaign is run. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/Schedule

func (Schedule) GoString

func (s Schedule) GoString() string

GoString returns the string representation

func (Schedule) MarshalFields added in v0.3.0

func (s Schedule) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Schedule) String

func (s Schedule) String() string

String returns the string representation

type SegmentBehaviors

type SegmentBehaviors struct {

	// The recency of use.
	Recency *RecencyDimension `type:"structure"`
	// contains filtered or unexported fields
}

Segment behavior dimensions Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentBehaviors

func (SegmentBehaviors) GoString

func (s SegmentBehaviors) GoString() string

GoString returns the string representation

func (SegmentBehaviors) MarshalFields added in v0.3.0

func (s SegmentBehaviors) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SegmentBehaviors) String

func (s SegmentBehaviors) String() string

String returns the string representation

type SegmentDemographics

type SegmentDemographics struct {

	// The app version criteria for the segment.
	AppVersion *SetDimension `type:"structure"`

	// The channel criteria for the segment.
	Channel *SetDimension `type:"structure"`

	// The device type criteria for the segment.
	DeviceType *SetDimension `type:"structure"`

	// The device make criteria for the segment.
	Make *SetDimension `type:"structure"`

	// The device model criteria for the segment.
	Model *SetDimension `type:"structure"`

	// The device platform criteria for the segment.
	Platform *SetDimension `type:"structure"`
	// contains filtered or unexported fields
}

Segment demographic dimensions Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentDemographics

func (SegmentDemographics) GoString

func (s SegmentDemographics) GoString() string

GoString returns the string representation

func (SegmentDemographics) MarshalFields added in v0.3.0

func (s SegmentDemographics) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SegmentDemographics) String

func (s SegmentDemographics) String() string

String returns the string representation

type SegmentDimensions

type SegmentDimensions struct {

	// Custom segment attributes.
	Attributes map[string]AttributeDimension `type:"map"`

	// The segment behaviors attributes.
	Behavior *SegmentBehaviors `type:"structure"`

	// The segment demographics attributes.
	Demographic *SegmentDemographics `type:"structure"`

	// The segment location attributes.
	Location *SegmentLocation `type:"structure"`

	// Custom segment metrics.
	Metrics map[string]MetricDimension `type:"map"`

	// Custom segment user attributes.
	UserAttributes map[string]AttributeDimension `type:"map"`
	// contains filtered or unexported fields
}

Segment dimensions Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentDimensions

func (SegmentDimensions) GoString

func (s SegmentDimensions) GoString() string

GoString returns the string representation

func (SegmentDimensions) MarshalFields added in v0.3.0

func (s SegmentDimensions) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SegmentDimensions) String

func (s SegmentDimensions) String() string

String returns the string representation

type SegmentGroup added in v0.5.0

type SegmentGroup struct {

	// List of dimensions to include or exclude.
	Dimensions []SegmentDimensions `type:"list"`

	// The base segment that you build your segment on. The source segment defines
	// the starting "universe" of endpoints. When you add dimensions to the segment,
	// it filters the source segment based on the dimensions that you specify. You
	// can specify more than one dimensional segment. You can only specify one imported
	// segment.NOTE: If you specify an imported segment for this attribute, the
	// segment size estimate that appears in the Amazon Pinpoint console shows the
	// size of the imported segment, without any filters applied to it.
	SourceSegments []SegmentReference `type:"list"`

	// Specify how to handle multiple source segments. For example, if you specify
	// three source segments, should the resulting segment be based on any or all
	// of the segments? Acceptable values: ANY or ALL.
	SourceType SourceType `type:"string" enum:"true"`

	// Specify how to handle multiple segment dimensions. For example, if you specify
	// three dimensions, should the resulting segment include endpoints that are
	// matched by all, any, or none of the dimensions? Acceptable values: ALL, ANY,
	// or NONE.
	Type Type `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Segment group definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentGroup

func (SegmentGroup) GoString added in v0.5.0

func (s SegmentGroup) GoString() string

GoString returns the string representation

func (SegmentGroup) MarshalFields added in v0.5.0

func (s SegmentGroup) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SegmentGroup) String added in v0.5.0

func (s SegmentGroup) String() string

String returns the string representation

type SegmentGroupList added in v0.5.0

type SegmentGroupList struct {

	// A set of segment criteria to evaluate.
	Groups []SegmentGroup `type:"list"`

	// Specify how to handle multiple segment groups. For example, if the segment
	// includes three segment groups, should the resulting segment include endpoints
	// that are matched by all, any, or none of the segment groups you created.
	// Acceptable values: ALL, ANY, or NONE.
	Include Include `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Segment group definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentGroupList

func (SegmentGroupList) GoString added in v0.5.0

func (s SegmentGroupList) GoString() string

GoString returns the string representation

func (SegmentGroupList) MarshalFields added in v0.5.0

func (s SegmentGroupList) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SegmentGroupList) String added in v0.5.0

func (s SegmentGroupList) String() string

String returns the string representation

type SegmentImportResource

type SegmentImportResource struct {

	// The number of channel types in the imported segment.
	ChannelCounts map[string]int64 `type:"map"`

	// (Deprecated) Your AWS account ID, which you assigned to the ExternalID key
	// in an IAM trust policy. Used by Amazon Pinpoint to assume an IAM role. This
	// requirement is removed, and external IDs are not recommended for IAM roles
	// assumed by Amazon Pinpoint.
	ExternalId *string `type:"string"`

	// The format of the endpoint files that were imported to create this segment.Valid
	// values: CSV, JSON
	Format Format `type:"string" enum:"true"`

	// The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint
	// access to the endpoints in Amazon S3.
	RoleArn *string `type:"string"`

	// The URL of the S3 bucket that the segment was imported from.
	S3Url *string `type:"string"`

	// The number of endpoints that were successfully imported to create this segment.
	Size *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Segment import definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentImportResource

func (SegmentImportResource) GoString

func (s SegmentImportResource) GoString() string

GoString returns the string representation

func (SegmentImportResource) MarshalFields added in v0.3.0

func (s SegmentImportResource) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SegmentImportResource) String

func (s SegmentImportResource) String() string

String returns the string representation

type SegmentLocation

type SegmentLocation struct {

	// The country or region, in ISO 3166-1 alpha-2 format.
	Country *SetDimension `type:"structure"`

	// The GPS Point dimension.
	GPSPoint *GPSPointDimension `type:"structure"`
	// contains filtered or unexported fields
}

Segment location dimensions Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentLocation

func (SegmentLocation) GoString

func (s SegmentLocation) GoString() string

GoString returns the string representation

func (SegmentLocation) MarshalFields added in v0.3.0

func (s SegmentLocation) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SegmentLocation) String

func (s SegmentLocation) String() string

String returns the string representation

type SegmentReference added in v0.5.0

type SegmentReference struct {

	// A unique identifier for the segment.
	Id *string `type:"string"`

	// If specified contains a specific version of the segment included.
	Version *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Segment reference. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentReference

func (SegmentReference) GoString added in v0.5.0

func (s SegmentReference) GoString() string

GoString returns the string representation

func (SegmentReference) MarshalFields added in v0.5.0

func (s SegmentReference) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SegmentReference) String added in v0.5.0

func (s SegmentReference) String() string

String returns the string representation

type SegmentResponse

type SegmentResponse struct {

	// The ID of the application that the segment applies to.
	ApplicationId *string `type:"string"`

	// The date and time when the segment was created.
	CreationDate *string `type:"string"`

	// The segment dimensions attributes.
	Dimensions *SegmentDimensions `type:"structure"`

	// The unique segment ID.
	Id *string `type:"string"`

	// The import job settings.
	ImportDefinition *SegmentImportResource `type:"structure"`

	// The date and time when the segment was last modified.
	LastModifiedDate *string `type:"string"`

	// The name of the segment.
	Name *string `type:"string"`

	// A segment group, which consists of zero or more source segments, plus dimensions
	// that are applied to those source segments.
	SegmentGroups *SegmentGroupList `type:"structure"`

	// The segment type:DIMENSIONAL - A dynamic segment built from selection criteria
	// based on endpoint data reported by your app. You create this type of segment
	// by using the segment builder in the Amazon Pinpoint console or by making
	// a POST request to the segments resource.IMPORT - A static segment built from
	// an imported set of endpoint definitions. You create this type of segment
	// by importing a segment in the Amazon Pinpoint console or by making a POST
	// request to the jobs/import resource.
	SegmentType SegmentType `type:"string" enum:"true"`

	// The segment version number.
	Version *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Segment definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentResponse

func (SegmentResponse) GoString

func (s SegmentResponse) GoString() string

GoString returns the string representation

func (SegmentResponse) MarshalFields added in v0.3.0

func (s SegmentResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SegmentResponse) String

func (s SegmentResponse) String() string

String returns the string representation

type SegmentType

type SegmentType string
const (
	SegmentTypeDimensional SegmentType = "DIMENSIONAL"
	SegmentTypeImport      SegmentType = "IMPORT"
)

Enum values for SegmentType

func (SegmentType) MarshalValue added in v0.3.0

func (enum SegmentType) MarshalValue() (string, error)

func (SegmentType) MarshalValueBuf added in v0.3.0

func (enum SegmentType) MarshalValueBuf(b []byte) ([]byte, error)

type SegmentsResponse

type SegmentsResponse struct {

	// The list of segments.
	Item []SegmentResponse `type:"list"`

	// An identifier used to retrieve the next page of results. The token is null
	// if no additional pages exist.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Segments in your account. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentsResponse

func (SegmentsResponse) GoString

func (s SegmentsResponse) GoString() string

GoString returns the string representation

func (SegmentsResponse) MarshalFields added in v0.3.0

func (s SegmentsResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SegmentsResponse) String

func (s SegmentsResponse) String() string

String returns the string representation

type SendMessagesInput

type SendMessagesInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// Send message request.
	//
	// MessageRequest is a required field
	MessageRequest *MessageRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendMessagesRequest

func (SendMessagesInput) GoString

func (s SendMessagesInput) GoString() string

GoString returns the string representation

func (SendMessagesInput) MarshalFields added in v0.3.0

func (s SendMessagesInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SendMessagesInput) String

func (s SendMessagesInput) String() string

String returns the string representation

func (*SendMessagesInput) Validate

func (s *SendMessagesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SendMessagesOutput

type SendMessagesOutput struct {

	// Send message response.
	//
	// MessageResponse is a required field
	MessageResponse *MessageResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendMessagesResponse

func (SendMessagesOutput) GoString

func (s SendMessagesOutput) GoString() string

GoString returns the string representation

func (SendMessagesOutput) MarshalFields added in v0.3.0

func (s SendMessagesOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SendMessagesOutput) SDKResponseMetadata

func (s SendMessagesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (SendMessagesOutput) String

func (s SendMessagesOutput) String() string

String returns the string representation

type SendMessagesRequest

type SendMessagesRequest struct {
	*aws.Request
	Input *SendMessagesInput
	Copy  func(*SendMessagesInput) SendMessagesRequest
}

SendMessagesRequest is a API request type for the SendMessages API operation.

func (SendMessagesRequest) Send

Send marshals and sends the SendMessages API request.

type SendUsersMessageRequest

type SendUsersMessageRequest struct {

	// A map of custom attribute-value pairs. Amazon Pinpoint adds these attributes
	// to the data.pinpoint object in the body of the push notification payload.
	// Amazon Pinpoint also provides these attributes in the events that it generates
	// for users-messages deliveries.
	Context map[string]string `type:"map"`

	// Message definitions for the default message and any messages that are tailored
	// for specific channels.
	MessageConfiguration *DirectMessageConfiguration `type:"structure"`

	// A unique ID that you can use to trace a message. This ID is visible to recipients.
	TraceId *string `type:"string"`

	// A map that associates user IDs with EndpointSendConfiguration objects. Within
	// an EndpointSendConfiguration object, you can tailor the message for a user
	// by specifying message overrides or substitutions.
	Users map[string]EndpointSendConfiguration `type:"map"`
	// contains filtered or unexported fields
}

Send message request. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessageRequest

func (SendUsersMessageRequest) GoString

func (s SendUsersMessageRequest) GoString() string

GoString returns the string representation

func (SendUsersMessageRequest) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SendUsersMessageRequest) String

func (s SendUsersMessageRequest) String() string

String returns the string representation

type SendUsersMessageResponse

type SendUsersMessageResponse struct {

	// The unique ID of the Amazon Pinpoint project used to send the message.
	ApplicationId *string `type:"string"`

	// The unique ID assigned to the users-messages request.
	RequestId *string `type:"string"`

	// An object that shows the endpoints that were messaged for each user. The
	// object provides a list of user IDs. For each user ID, it provides the endpoint
	// IDs that were messaged. For each endpoint ID, it provides an EndpointMessageResult
	// object.
	Result map[string]map[string]EndpointMessageResult `type:"map"`
	// contains filtered or unexported fields
}

User send message response. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessageResponse

func (SendUsersMessageResponse) GoString

func (s SendUsersMessageResponse) GoString() string

GoString returns the string representation

func (SendUsersMessageResponse) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SendUsersMessageResponse) String

func (s SendUsersMessageResponse) String() string

String returns the string representation

type SendUsersMessagesInput

type SendUsersMessagesInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// Send message request.
	//
	// SendUsersMessageRequest is a required field
	SendUsersMessageRequest *SendUsersMessageRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessagesRequest

func (SendUsersMessagesInput) GoString

func (s SendUsersMessagesInput) GoString() string

GoString returns the string representation

func (SendUsersMessagesInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SendUsersMessagesInput) String

func (s SendUsersMessagesInput) String() string

String returns the string representation

func (*SendUsersMessagesInput) Validate

func (s *SendUsersMessagesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SendUsersMessagesOutput

type SendUsersMessagesOutput struct {

	// User send message response.
	//
	// SendUsersMessageResponse is a required field
	SendUsersMessageResponse *SendUsersMessageResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessagesResponse

func (SendUsersMessagesOutput) GoString

func (s SendUsersMessagesOutput) GoString() string

GoString returns the string representation

func (SendUsersMessagesOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SendUsersMessagesOutput) SDKResponseMetadata

func (s SendUsersMessagesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (SendUsersMessagesOutput) String

func (s SendUsersMessagesOutput) String() string

String returns the string representation

type SendUsersMessagesRequest

type SendUsersMessagesRequest struct {
	*aws.Request
	Input *SendUsersMessagesInput
	Copy  func(*SendUsersMessagesInput) SendUsersMessagesRequest
}

SendUsersMessagesRequest is a API request type for the SendUsersMessages API operation.

func (SendUsersMessagesRequest) Send

Send marshals and sends the SendUsersMessages API request.

type Session added in v0.5.0

type Session struct {

	// The duration of the session, in milliseconds.
	Duration *int64 `type:"integer"`

	// A unique identifier for the session.
	Id *string `type:"string"`

	// The date and time when the session began.
	StartTimestamp *string `type:"string"`

	// The date and time when the session ended.
	StopTimestamp *string `type:"string"`
	// contains filtered or unexported fields
}

Information about a session. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/Session

func (Session) GoString added in v0.5.0

func (s Session) GoString() string

GoString returns the string representation

func (Session) MarshalFields added in v0.5.0

func (s Session) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Session) String added in v0.5.0

func (s Session) String() string

String returns the string representation

type SetDimension

type SetDimension struct {

	// The type of dimension:INCLUSIVE - Endpoints that match the criteria are included
	// in the segment.EXCLUSIVE - Endpoints that match the criteria are excluded
	// from the segment.
	DimensionType DimensionType `type:"string" enum:"true"`

	// The criteria values for the segment dimension. Endpoints with matching attribute
	// values are included or excluded from the segment, depending on the setting
	// for Type.
	Values []string `type:"list"`
	// contains filtered or unexported fields
}

Dimension specification of a segment. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SetDimension

func (SetDimension) GoString

func (s SetDimension) GoString() string

GoString returns the string representation

func (SetDimension) MarshalFields added in v0.3.0

func (s SetDimension) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SetDimension) String

func (s SetDimension) String() string

String returns the string representation

type SimpleEmail added in v0.6.0

type SimpleEmail struct {

	// The content of the message, in HTML format. Use this for email clients that
	// can process HTML. You can include clickable links, formatted text, and much
	// more in an HTML message.
	HtmlPart *SimpleEmailPart `type:"structure"`

	// The subject of the message: A short summary of the content, which will appear
	// in the recipient's inbox.
	Subject *SimpleEmailPart `type:"structure"`

	// The content of the message, in text format. Use this for text-based email
	// clients, or clients on high-latency networks (such as mobile devices).
	TextPart *SimpleEmailPart `type:"structure"`
	// contains filtered or unexported fields
}

An email composed of a subject, a text part and a html part. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SimpleEmail

func (SimpleEmail) GoString added in v0.6.0

func (s SimpleEmail) GoString() string

GoString returns the string representation

func (SimpleEmail) MarshalFields added in v0.6.0

func (s SimpleEmail) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SimpleEmail) String added in v0.6.0

func (s SimpleEmail) String() string

String returns the string representation

type SimpleEmailPart added in v0.6.0

type SimpleEmailPart struct {

	// The character set of the content.
	Charset *string `type:"string"`

	// The textual data of the content.
	Data *string `type:"string"`
	// contains filtered or unexported fields
}

Textual email data, plus an optional character set specification. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SimpleEmailPart

func (SimpleEmailPart) GoString added in v0.6.0

func (s SimpleEmailPart) GoString() string

GoString returns the string representation

func (SimpleEmailPart) MarshalFields added in v0.6.0

func (s SimpleEmailPart) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SimpleEmailPart) String added in v0.6.0

func (s SimpleEmailPart) String() string

String returns the string representation

type SourceType added in v0.5.0

type SourceType string
const (
	SourceTypeAll  SourceType = "ALL"
	SourceTypeAny  SourceType = "ANY"
	SourceTypeNone SourceType = "NONE"
)

Enum values for SourceType

func (SourceType) MarshalValue added in v0.5.0

func (enum SourceType) MarshalValue() (string, error)

func (SourceType) MarshalValueBuf added in v0.5.0

func (enum SourceType) MarshalValueBuf(b []byte) ([]byte, error)

type TreatmentResource

type TreatmentResource struct {

	// The unique treatment ID.
	Id *string `type:"string"`

	// The message configuration settings.
	MessageConfiguration *MessageConfiguration `type:"structure"`

	// The campaign schedule.
	Schedule *Schedule `type:"structure"`

	// The allocated percentage of users for this treatment.
	SizePercent *int64 `type:"integer"`

	// The treatment status.
	State *CampaignState `type:"structure"`

	// A custom description for the treatment.
	TreatmentDescription *string `type:"string"`

	// The custom name of a variation of the campaign used for A/B testing.
	TreatmentName *string `type:"string"`
	// contains filtered or unexported fields
}

Treatment resource Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/TreatmentResource

func (TreatmentResource) GoString

func (s TreatmentResource) GoString() string

GoString returns the string representation

func (TreatmentResource) MarshalFields added in v0.3.0

func (s TreatmentResource) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TreatmentResource) String

func (s TreatmentResource) String() string

String returns the string representation

type Type added in v0.5.0

type Type string
const (
	TypeAll  Type = "ALL"
	TypeAny  Type = "ANY"
	TypeNone Type = "NONE"
)

Enum values for Type

func (Type) MarshalValue added in v0.5.0

func (enum Type) MarshalValue() (string, error)

func (Type) MarshalValueBuf added in v0.5.0

func (enum Type) MarshalValueBuf(b []byte) ([]byte, error)

type UpdateAdmChannelInput

type UpdateAdmChannelInput struct {

	// Amazon Device Messaging channel definition.
	//
	// ADMChannelRequest is a required field
	ADMChannelRequest *ADMChannelRequest `type:"structure" required:"true"`

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateAdmChannelRequest

func (UpdateAdmChannelInput) GoString

func (s UpdateAdmChannelInput) GoString() string

GoString returns the string representation

func (UpdateAdmChannelInput) MarshalFields added in v0.3.0

func (s UpdateAdmChannelInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateAdmChannelInput) String

func (s UpdateAdmChannelInput) String() string

String returns the string representation

func (*UpdateAdmChannelInput) Validate

func (s *UpdateAdmChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateAdmChannelOutput

type UpdateAdmChannelOutput struct {

	// Amazon Device Messaging channel definition.
	//
	// ADMChannelResponse is a required field
	ADMChannelResponse *ADMChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateAdmChannelResponse

func (UpdateAdmChannelOutput) GoString

func (s UpdateAdmChannelOutput) GoString() string

GoString returns the string representation

func (UpdateAdmChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateAdmChannelOutput) SDKResponseMetadata

func (s UpdateAdmChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateAdmChannelOutput) String

func (s UpdateAdmChannelOutput) String() string

String returns the string representation

type UpdateAdmChannelRequest

type UpdateAdmChannelRequest struct {
	*aws.Request
	Input *UpdateAdmChannelInput
	Copy  func(*UpdateAdmChannelInput) UpdateAdmChannelRequest
}

UpdateAdmChannelRequest is a API request type for the UpdateAdmChannel API operation.

func (UpdateAdmChannelRequest) Send

Send marshals and sends the UpdateAdmChannel API request.

type UpdateApnsChannelInput

type UpdateApnsChannelInput struct {

	// Apple Push Notification Service channel definition.
	//
	// APNSChannelRequest is a required field
	APNSChannelRequest *APNSChannelRequest `type:"structure" required:"true"`

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsChannelRequest

func (UpdateApnsChannelInput) GoString

func (s UpdateApnsChannelInput) GoString() string

GoString returns the string representation

func (UpdateApnsChannelInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApnsChannelInput) String

func (s UpdateApnsChannelInput) String() string

String returns the string representation

func (*UpdateApnsChannelInput) Validate

func (s *UpdateApnsChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateApnsChannelOutput

type UpdateApnsChannelOutput struct {

	// Apple Distribution Push Notification Service channel definition.
	//
	// APNSChannelResponse is a required field
	APNSChannelResponse *APNSChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsChannelResponse

func (UpdateApnsChannelOutput) GoString

func (s UpdateApnsChannelOutput) GoString() string

GoString returns the string representation

func (UpdateApnsChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApnsChannelOutput) SDKResponseMetadata

func (s UpdateApnsChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateApnsChannelOutput) String

func (s UpdateApnsChannelOutput) String() string

String returns the string representation

type UpdateApnsChannelRequest

type UpdateApnsChannelRequest struct {
	*aws.Request
	Input *UpdateApnsChannelInput
	Copy  func(*UpdateApnsChannelInput) UpdateApnsChannelRequest
}

UpdateApnsChannelRequest is a API request type for the UpdateApnsChannel API operation.

func (UpdateApnsChannelRequest) Send

Send marshals and sends the UpdateApnsChannel API request.

type UpdateApnsSandboxChannelInput

type UpdateApnsSandboxChannelInput struct {

	// Apple Development Push Notification Service channel definition.
	//
	// APNSSandboxChannelRequest is a required field
	APNSSandboxChannelRequest *APNSSandboxChannelRequest `type:"structure" required:"true"`

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsSandboxChannelRequest

func (UpdateApnsSandboxChannelInput) GoString

GoString returns the string representation

func (UpdateApnsSandboxChannelInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApnsSandboxChannelInput) String

String returns the string representation

func (*UpdateApnsSandboxChannelInput) Validate

func (s *UpdateApnsSandboxChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateApnsSandboxChannelOutput

type UpdateApnsSandboxChannelOutput struct {

	// Apple Development Push Notification Service channel definition.
	//
	// APNSSandboxChannelResponse is a required field
	APNSSandboxChannelResponse *APNSSandboxChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsSandboxChannelResponse

func (UpdateApnsSandboxChannelOutput) GoString

GoString returns the string representation

func (UpdateApnsSandboxChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApnsSandboxChannelOutput) SDKResponseMetadata

func (s UpdateApnsSandboxChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateApnsSandboxChannelOutput) String

String returns the string representation

type UpdateApnsSandboxChannelRequest

type UpdateApnsSandboxChannelRequest struct {
	*aws.Request
	Input *UpdateApnsSandboxChannelInput
	Copy  func(*UpdateApnsSandboxChannelInput) UpdateApnsSandboxChannelRequest
}

UpdateApnsSandboxChannelRequest is a API request type for the UpdateApnsSandboxChannel API operation.

func (UpdateApnsSandboxChannelRequest) Send

Send marshals and sends the UpdateApnsSandboxChannel API request.

type UpdateApnsVoipChannelInput added in v0.2.0

type UpdateApnsVoipChannelInput struct {

	// Apple VoIP Push Notification Service channel definition.
	//
	// APNSVoipChannelRequest is a required field
	APNSVoipChannelRequest *APNSVoipChannelRequest `type:"structure" required:"true"`

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipChannelRequest

func (UpdateApnsVoipChannelInput) GoString added in v0.2.0

func (s UpdateApnsVoipChannelInput) GoString() string

GoString returns the string representation

func (UpdateApnsVoipChannelInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApnsVoipChannelInput) String added in v0.2.0

String returns the string representation

func (*UpdateApnsVoipChannelInput) Validate added in v0.2.0

func (s *UpdateApnsVoipChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateApnsVoipChannelOutput added in v0.2.0

type UpdateApnsVoipChannelOutput struct {

	// Apple VoIP Push Notification Service channel definition.
	//
	// APNSVoipChannelResponse is a required field
	APNSVoipChannelResponse *APNSVoipChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipChannelResponse

func (UpdateApnsVoipChannelOutput) GoString added in v0.2.0

func (s UpdateApnsVoipChannelOutput) GoString() string

GoString returns the string representation

func (UpdateApnsVoipChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApnsVoipChannelOutput) SDKResponseMetadata added in v0.2.0

func (s UpdateApnsVoipChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateApnsVoipChannelOutput) String added in v0.2.0

String returns the string representation

type UpdateApnsVoipChannelRequest added in v0.2.0

type UpdateApnsVoipChannelRequest struct {
	*aws.Request
	Input *UpdateApnsVoipChannelInput
	Copy  func(*UpdateApnsVoipChannelInput) UpdateApnsVoipChannelRequest
}

UpdateApnsVoipChannelRequest is a API request type for the UpdateApnsVoipChannel API operation.

func (UpdateApnsVoipChannelRequest) Send added in v0.2.0

Send marshals and sends the UpdateApnsVoipChannel API request.

type UpdateApnsVoipSandboxChannelInput added in v0.2.0

type UpdateApnsVoipSandboxChannelInput struct {

	// Apple VoIP Developer Push Notification Service channel definition.
	//
	// APNSVoipSandboxChannelRequest is a required field
	APNSVoipSandboxChannelRequest *APNSVoipSandboxChannelRequest `type:"structure" required:"true"`

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipSandboxChannelRequest

func (UpdateApnsVoipSandboxChannelInput) GoString added in v0.2.0

GoString returns the string representation

func (UpdateApnsVoipSandboxChannelInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApnsVoipSandboxChannelInput) String added in v0.2.0

String returns the string representation

func (*UpdateApnsVoipSandboxChannelInput) Validate added in v0.2.0

Validate inspects the fields of the type to determine if they are valid.

type UpdateApnsVoipSandboxChannelOutput added in v0.2.0

type UpdateApnsVoipSandboxChannelOutput struct {

	// Apple VoIP Developer Push Notification Service channel definition.
	//
	// APNSVoipSandboxChannelResponse is a required field
	APNSVoipSandboxChannelResponse *APNSVoipSandboxChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipSandboxChannelResponse

func (UpdateApnsVoipSandboxChannelOutput) GoString added in v0.2.0

GoString returns the string representation

func (UpdateApnsVoipSandboxChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApnsVoipSandboxChannelOutput) SDKResponseMetadata added in v0.2.0

func (s UpdateApnsVoipSandboxChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateApnsVoipSandboxChannelOutput) String added in v0.2.0

String returns the string representation

type UpdateApnsVoipSandboxChannelRequest added in v0.2.0

type UpdateApnsVoipSandboxChannelRequest struct {
	*aws.Request
	Input *UpdateApnsVoipSandboxChannelInput
	Copy  func(*UpdateApnsVoipSandboxChannelInput) UpdateApnsVoipSandboxChannelRequest
}

UpdateApnsVoipSandboxChannelRequest is a API request type for the UpdateApnsVoipSandboxChannel API operation.

func (UpdateApnsVoipSandboxChannelRequest) Send added in v0.2.0

Send marshals and sends the UpdateApnsVoipSandboxChannel API request.

type UpdateApplicationSettingsInput

type UpdateApplicationSettingsInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// Creating application setting request
	//
	// WriteApplicationSettingsRequest is a required field
	WriteApplicationSettingsRequest *WriteApplicationSettingsRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApplicationSettingsRequest

func (UpdateApplicationSettingsInput) GoString

GoString returns the string representation

func (UpdateApplicationSettingsInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApplicationSettingsInput) String

String returns the string representation

func (*UpdateApplicationSettingsInput) Validate

func (s *UpdateApplicationSettingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateApplicationSettingsOutput

type UpdateApplicationSettingsOutput struct {

	// Application settings.
	//
	// ApplicationSettingsResource is a required field
	ApplicationSettingsResource *ApplicationSettingsResource `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApplicationSettingsResponse

func (UpdateApplicationSettingsOutput) GoString

GoString returns the string representation

func (UpdateApplicationSettingsOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApplicationSettingsOutput) SDKResponseMetadata

func (s UpdateApplicationSettingsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateApplicationSettingsOutput) String

String returns the string representation

type UpdateApplicationSettingsRequest

type UpdateApplicationSettingsRequest struct {
	*aws.Request
	Input *UpdateApplicationSettingsInput
	Copy  func(*UpdateApplicationSettingsInput) UpdateApplicationSettingsRequest
}

UpdateApplicationSettingsRequest is a API request type for the UpdateApplicationSettings API operation.

func (UpdateApplicationSettingsRequest) Send

Send marshals and sends the UpdateApplicationSettings API request.

type UpdateAttributesRequest added in v0.5.0

type UpdateAttributesRequest struct {

	// The GLOB wildcard for removing the attributes in the application
	Blacklist []string `type:"list"`
	// contains filtered or unexported fields
}

Update attributes request Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateAttributesRequest

func (UpdateAttributesRequest) GoString added in v0.5.0

func (s UpdateAttributesRequest) GoString() string

GoString returns the string representation

func (UpdateAttributesRequest) MarshalFields added in v0.5.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateAttributesRequest) String added in v0.5.0

func (s UpdateAttributesRequest) String() string

String returns the string representation

type UpdateBaiduChannelInput

type UpdateBaiduChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// Baidu Cloud Push credentials
	//
	// BaiduChannelRequest is a required field
	BaiduChannelRequest *BaiduChannelRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateBaiduChannelRequest

func (UpdateBaiduChannelInput) GoString

func (s UpdateBaiduChannelInput) GoString() string

GoString returns the string representation

func (UpdateBaiduChannelInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateBaiduChannelInput) String

func (s UpdateBaiduChannelInput) String() string

String returns the string representation

func (*UpdateBaiduChannelInput) Validate

func (s *UpdateBaiduChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateBaiduChannelOutput

type UpdateBaiduChannelOutput struct {

	// Baidu Cloud Messaging channel definition
	//
	// BaiduChannelResponse is a required field
	BaiduChannelResponse *BaiduChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateBaiduChannelResponse

func (UpdateBaiduChannelOutput) GoString

func (s UpdateBaiduChannelOutput) GoString() string

GoString returns the string representation

func (UpdateBaiduChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateBaiduChannelOutput) SDKResponseMetadata

func (s UpdateBaiduChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateBaiduChannelOutput) String

func (s UpdateBaiduChannelOutput) String() string

String returns the string representation

type UpdateBaiduChannelRequest

type UpdateBaiduChannelRequest struct {
	*aws.Request
	Input *UpdateBaiduChannelInput
	Copy  func(*UpdateBaiduChannelInput) UpdateBaiduChannelRequest
}

UpdateBaiduChannelRequest is a API request type for the UpdateBaiduChannel API operation.

func (UpdateBaiduChannelRequest) Send

Send marshals and sends the UpdateBaiduChannel API request.

type UpdateCampaignInput

type UpdateCampaignInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// CampaignId is a required field
	CampaignId *string `location:"uri" locationName:"campaign-id" type:"string" required:"true"`

	// Used to create a campaign.
	//
	// WriteCampaignRequest is a required field
	WriteCampaignRequest *WriteCampaignRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateCampaignRequest

func (UpdateCampaignInput) GoString

func (s UpdateCampaignInput) GoString() string

GoString returns the string representation

func (UpdateCampaignInput) MarshalFields added in v0.3.0

func (s UpdateCampaignInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateCampaignInput) String

func (s UpdateCampaignInput) String() string

String returns the string representation

func (*UpdateCampaignInput) Validate

func (s *UpdateCampaignInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateCampaignOutput

type UpdateCampaignOutput struct {

	// Campaign definition
	//
	// CampaignResponse is a required field
	CampaignResponse *CampaignResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateCampaignResponse

func (UpdateCampaignOutput) GoString

func (s UpdateCampaignOutput) GoString() string

GoString returns the string representation

func (UpdateCampaignOutput) MarshalFields added in v0.3.0

func (s UpdateCampaignOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateCampaignOutput) SDKResponseMetadata

func (s UpdateCampaignOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateCampaignOutput) String

func (s UpdateCampaignOutput) String() string

String returns the string representation

type UpdateCampaignRequest

type UpdateCampaignRequest struct {
	*aws.Request
	Input *UpdateCampaignInput
	Copy  func(*UpdateCampaignInput) UpdateCampaignRequest
}

UpdateCampaignRequest is a API request type for the UpdateCampaign API operation.

func (UpdateCampaignRequest) Send

Send marshals and sends the UpdateCampaign API request.

type UpdateEmailChannelInput

type UpdateEmailChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// Email Channel Request
	//
	// EmailChannelRequest is a required field
	EmailChannelRequest *EmailChannelRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEmailChannelRequest

func (UpdateEmailChannelInput) GoString

func (s UpdateEmailChannelInput) GoString() string

GoString returns the string representation

func (UpdateEmailChannelInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateEmailChannelInput) String

func (s UpdateEmailChannelInput) String() string

String returns the string representation

func (*UpdateEmailChannelInput) Validate

func (s *UpdateEmailChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateEmailChannelOutput

type UpdateEmailChannelOutput struct {

	// Email Channel Response.
	//
	// EmailChannelResponse is a required field
	EmailChannelResponse *EmailChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEmailChannelResponse

func (UpdateEmailChannelOutput) GoString

func (s UpdateEmailChannelOutput) GoString() string

GoString returns the string representation

func (UpdateEmailChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateEmailChannelOutput) SDKResponseMetadata

func (s UpdateEmailChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateEmailChannelOutput) String

func (s UpdateEmailChannelOutput) String() string

String returns the string representation

type UpdateEmailChannelRequest

type UpdateEmailChannelRequest struct {
	*aws.Request
	Input *UpdateEmailChannelInput
	Copy  func(*UpdateEmailChannelInput) UpdateEmailChannelRequest
}

UpdateEmailChannelRequest is a API request type for the UpdateEmailChannel API operation.

func (UpdateEmailChannelRequest) Send

Send marshals and sends the UpdateEmailChannel API request.

type UpdateEndpointInput

type UpdateEndpointInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// EndpointId is a required field
	EndpointId *string `location:"uri" locationName:"endpoint-id" type:"string" required:"true"`

	// An endpoint update request.
	//
	// EndpointRequest is a required field
	EndpointRequest *EndpointRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpointRequest

func (UpdateEndpointInput) GoString

func (s UpdateEndpointInput) GoString() string

GoString returns the string representation

func (UpdateEndpointInput) MarshalFields added in v0.3.0

func (s UpdateEndpointInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateEndpointInput) String

func (s UpdateEndpointInput) String() string

String returns the string representation

func (*UpdateEndpointInput) Validate

func (s *UpdateEndpointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateEndpointOutput

type UpdateEndpointOutput struct {

	// Simple message object.
	//
	// MessageBody is a required field
	MessageBody *MessageBody `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpointResponse

func (UpdateEndpointOutput) GoString

func (s UpdateEndpointOutput) GoString() string

GoString returns the string representation

func (UpdateEndpointOutput) MarshalFields added in v0.3.0

func (s UpdateEndpointOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateEndpointOutput) SDKResponseMetadata

func (s UpdateEndpointOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateEndpointOutput) String

func (s UpdateEndpointOutput) String() string

String returns the string representation

type UpdateEndpointRequest

type UpdateEndpointRequest struct {
	*aws.Request
	Input *UpdateEndpointInput
	Copy  func(*UpdateEndpointInput) UpdateEndpointRequest
}

UpdateEndpointRequest is a API request type for the UpdateEndpoint API operation.

func (UpdateEndpointRequest) Send

Send marshals and sends the UpdateEndpoint API request.

type UpdateEndpointsBatchInput

type UpdateEndpointsBatchInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// Endpoint batch update request.
	//
	// EndpointBatchRequest is a required field
	EndpointBatchRequest *EndpointBatchRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpointsBatchRequest

func (UpdateEndpointsBatchInput) GoString

func (s UpdateEndpointsBatchInput) GoString() string

GoString returns the string representation

func (UpdateEndpointsBatchInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateEndpointsBatchInput) String

func (s UpdateEndpointsBatchInput) String() string

String returns the string representation

func (*UpdateEndpointsBatchInput) Validate

func (s *UpdateEndpointsBatchInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateEndpointsBatchOutput

type UpdateEndpointsBatchOutput struct {

	// Simple message object.
	//
	// MessageBody is a required field
	MessageBody *MessageBody `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpointsBatchResponse

func (UpdateEndpointsBatchOutput) GoString

func (s UpdateEndpointsBatchOutput) GoString() string

GoString returns the string representation

func (UpdateEndpointsBatchOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateEndpointsBatchOutput) SDKResponseMetadata

func (s UpdateEndpointsBatchOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateEndpointsBatchOutput) String

String returns the string representation

type UpdateEndpointsBatchRequest

type UpdateEndpointsBatchRequest struct {
	*aws.Request
	Input *UpdateEndpointsBatchInput
	Copy  func(*UpdateEndpointsBatchInput) UpdateEndpointsBatchRequest
}

UpdateEndpointsBatchRequest is a API request type for the UpdateEndpointsBatch API operation.

func (UpdateEndpointsBatchRequest) Send

Send marshals and sends the UpdateEndpointsBatch API request.

type UpdateGcmChannelInput

type UpdateGcmChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// Google Cloud Messaging credentials
	//
	// GCMChannelRequest is a required field
	GCMChannelRequest *GCMChannelRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateGcmChannelRequest

func (UpdateGcmChannelInput) GoString

func (s UpdateGcmChannelInput) GoString() string

GoString returns the string representation

func (UpdateGcmChannelInput) MarshalFields added in v0.3.0

func (s UpdateGcmChannelInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateGcmChannelInput) String

func (s UpdateGcmChannelInput) String() string

String returns the string representation

func (*UpdateGcmChannelInput) Validate

func (s *UpdateGcmChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateGcmChannelOutput

type UpdateGcmChannelOutput struct {

	// Google Cloud Messaging channel definition
	//
	// GCMChannelResponse is a required field
	GCMChannelResponse *GCMChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateGcmChannelResponse

func (UpdateGcmChannelOutput) GoString

func (s UpdateGcmChannelOutput) GoString() string

GoString returns the string representation

func (UpdateGcmChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateGcmChannelOutput) SDKResponseMetadata

func (s UpdateGcmChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateGcmChannelOutput) String

func (s UpdateGcmChannelOutput) String() string

String returns the string representation

type UpdateGcmChannelRequest

type UpdateGcmChannelRequest struct {
	*aws.Request
	Input *UpdateGcmChannelInput
	Copy  func(*UpdateGcmChannelInput) UpdateGcmChannelRequest
}

UpdateGcmChannelRequest is a API request type for the UpdateGcmChannel API operation.

func (UpdateGcmChannelRequest) Send

Send marshals and sends the UpdateGcmChannel API request.

type UpdateSegmentInput

type UpdateSegmentInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// SegmentId is a required field
	SegmentId *string `location:"uri" locationName:"segment-id" type:"string" required:"true"`

	// Segment definition.
	//
	// WriteSegmentRequest is a required field
	WriteSegmentRequest *WriteSegmentRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSegmentRequest

func (UpdateSegmentInput) GoString

func (s UpdateSegmentInput) GoString() string

GoString returns the string representation

func (UpdateSegmentInput) MarshalFields added in v0.3.0

func (s UpdateSegmentInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateSegmentInput) String

func (s UpdateSegmentInput) String() string

String returns the string representation

func (*UpdateSegmentInput) Validate

func (s *UpdateSegmentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateSegmentOutput

type UpdateSegmentOutput struct {

	// Segment definition.
	//
	// SegmentResponse is a required field
	SegmentResponse *SegmentResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSegmentResponse

func (UpdateSegmentOutput) GoString

func (s UpdateSegmentOutput) GoString() string

GoString returns the string representation

func (UpdateSegmentOutput) MarshalFields added in v0.3.0

func (s UpdateSegmentOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateSegmentOutput) SDKResponseMetadata

func (s UpdateSegmentOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateSegmentOutput) String

func (s UpdateSegmentOutput) String() string

String returns the string representation

type UpdateSegmentRequest

type UpdateSegmentRequest struct {
	*aws.Request
	Input *UpdateSegmentInput
	Copy  func(*UpdateSegmentInput) UpdateSegmentRequest
}

UpdateSegmentRequest is a API request type for the UpdateSegment API operation.

func (UpdateSegmentRequest) Send

Send marshals and sends the UpdateSegment API request.

type UpdateSmsChannelInput

type UpdateSmsChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// SMS Channel Request
	//
	// SMSChannelRequest is a required field
	SMSChannelRequest *SMSChannelRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSmsChannelRequest

func (UpdateSmsChannelInput) GoString

func (s UpdateSmsChannelInput) GoString() string

GoString returns the string representation

func (UpdateSmsChannelInput) MarshalFields added in v0.3.0

func (s UpdateSmsChannelInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateSmsChannelInput) String

func (s UpdateSmsChannelInput) String() string

String returns the string representation

func (*UpdateSmsChannelInput) Validate

func (s *UpdateSmsChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateSmsChannelOutput

type UpdateSmsChannelOutput struct {

	// SMS Channel Response.
	//
	// SMSChannelResponse is a required field
	SMSChannelResponse *SMSChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSmsChannelResponse

func (UpdateSmsChannelOutput) GoString

func (s UpdateSmsChannelOutput) GoString() string

GoString returns the string representation

func (UpdateSmsChannelOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateSmsChannelOutput) SDKResponseMetadata

func (s UpdateSmsChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateSmsChannelOutput) String

func (s UpdateSmsChannelOutput) String() string

String returns the string representation

type UpdateSmsChannelRequest

type UpdateSmsChannelRequest struct {
	*aws.Request
	Input *UpdateSmsChannelInput
	Copy  func(*UpdateSmsChannelInput) UpdateSmsChannelRequest
}

UpdateSmsChannelRequest is a API request type for the UpdateSmsChannel API operation.

func (UpdateSmsChannelRequest) Send

Send marshals and sends the UpdateSmsChannel API request.

type UpdateVoiceChannelInput added in v0.6.0

type UpdateVoiceChannelInput struct {

	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"`

	// Voice Channel Request
	//
	// VoiceChannelRequest is a required field
	VoiceChannelRequest *VoiceChannelRequest `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateVoiceChannelRequest

func (UpdateVoiceChannelInput) GoString added in v0.6.0

func (s UpdateVoiceChannelInput) GoString() string

GoString returns the string representation

func (UpdateVoiceChannelInput) MarshalFields added in v0.6.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateVoiceChannelInput) String added in v0.6.0

func (s UpdateVoiceChannelInput) String() string

String returns the string representation

func (*UpdateVoiceChannelInput) Validate added in v0.6.0

func (s *UpdateVoiceChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateVoiceChannelOutput added in v0.6.0

type UpdateVoiceChannelOutput struct {

	// Voice Channel Response.
	//
	// VoiceChannelResponse is a required field
	VoiceChannelResponse *VoiceChannelResponse `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateVoiceChannelResponse

func (UpdateVoiceChannelOutput) GoString added in v0.6.0

func (s UpdateVoiceChannelOutput) GoString() string

GoString returns the string representation

func (UpdateVoiceChannelOutput) MarshalFields added in v0.6.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateVoiceChannelOutput) SDKResponseMetadata added in v0.6.0

func (s UpdateVoiceChannelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateVoiceChannelOutput) String added in v0.6.0

func (s UpdateVoiceChannelOutput) String() string

String returns the string representation

type UpdateVoiceChannelRequest added in v0.6.0

type UpdateVoiceChannelRequest struct {
	*aws.Request
	Input *UpdateVoiceChannelInput
	Copy  func(*UpdateVoiceChannelInput) UpdateVoiceChannelRequest
}

UpdateVoiceChannelRequest is a API request type for the UpdateVoiceChannel API operation.

func (UpdateVoiceChannelRequest) Send added in v0.6.0

Send marshals and sends the UpdateVoiceChannel API request.

type VoiceChannelRequest added in v0.6.0

type VoiceChannelRequest struct {

	// If the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Voice Channel Request Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/VoiceChannelRequest

func (VoiceChannelRequest) GoString added in v0.6.0

func (s VoiceChannelRequest) GoString() string

GoString returns the string representation

func (VoiceChannelRequest) MarshalFields added in v0.6.0

func (s VoiceChannelRequest) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (VoiceChannelRequest) String added in v0.6.0

func (s VoiceChannelRequest) String() string

String returns the string representation

type VoiceChannelResponse added in v0.6.0

type VoiceChannelResponse struct {

	// Application id
	ApplicationId *string `type:"string"`

	// The date that the settings were last updated in ISO 8601 format.
	CreationDate *string `type:"string"`

	// If the channel is enabled for sending messages.
	Enabled *bool `type:"boolean"`

	HasCredential *bool `type:"boolean"`

	// Channel ID. Not used, only for backwards compatibility.
	Id *string `type:"string"`

	// Is this channel archived
	IsArchived *bool `type:"boolean"`

	// Who made the last change
	LastModifiedBy *string `type:"string"`

	// Last date this was updated
	LastModifiedDate *string `type:"string"`

	// Platform type. Will be "Voice"
	Platform *string `type:"string"`

	// Version of channel
	Version *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Voice Channel Response. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/VoiceChannelResponse

func (VoiceChannelResponse) GoString added in v0.6.0

func (s VoiceChannelResponse) GoString() string

GoString returns the string representation

func (VoiceChannelResponse) MarshalFields added in v0.6.0

func (s VoiceChannelResponse) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (VoiceChannelResponse) String added in v0.6.0

func (s VoiceChannelResponse) String() string

String returns the string representation

type VoiceMessage added in v0.6.0

type VoiceMessage struct {

	// The message body of the notification, the email body or the text message.
	Body *string `type:"string"`

	// Language of sent message
	LanguageCode *string `type:"string"`

	// Is the number from the pool or messaging service to send from.
	OriginationNumber *string `type:"string"`

	// Default message substitutions. Can be overridden by individual address substitutions.
	Substitutions map[string][]string `type:"map"`

	// Voice ID of sent message.
	VoiceId *string `type:"string"`
	// contains filtered or unexported fields
}

Voice Message. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/VoiceMessage

func (VoiceMessage) GoString added in v0.6.0

func (s VoiceMessage) GoString() string

GoString returns the string representation

func (VoiceMessage) MarshalFields added in v0.6.0

func (s VoiceMessage) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (VoiceMessage) String added in v0.6.0

func (s VoiceMessage) String() string

String returns the string representation

type WriteApplicationSettingsRequest

type WriteApplicationSettingsRequest struct {

	// Default campaign hook information.
	CampaignHook *CampaignHook `type:"structure"`

	// The CloudWatchMetrics settings for the app.
	CloudWatchMetricsEnabled *bool `type:"boolean"`

	// The limits that apply to each campaign in the project by default. Campaigns
	// can also have their own limits, which override the settings at the project
	// level.
	Limits *CampaignLimits `type:"structure"`

	// The default quiet time for the app. Campaigns in the app don't send messages
	// to endpoints during the quiet time.Note: Make sure that your endpoints include
	// the Demographics.Timezone attribute if you plan to enable a quiet time for
	// your app. If your endpoints don't include this attribute, they'll receive
	// the messages that you send them, even if quiet time is enabled.When you set
	// up an app to use quiet time, campaigns in that app don't send messages during
	// the time range you specified, as long as all of the following are true:-
	// The endpoint includes a valid Demographic.Timezone attribute.- The current
	// time in the endpoint's time zone is later than or equal to the time specified
	// in the QuietTime.Start attribute for the app (or campaign, if applicable).-
	// The current time in the endpoint's time zone is earlier than or equal to
	// the time specified in the QuietTime.End attribute for the app (or campaign,
	// if applicable).Individual campaigns within the app can have their own quiet
	// time settings, which override the quiet time settings at the app level.
	QuietTime *QuietTime `type:"structure"`
	// contains filtered or unexported fields
}

Creating application setting request Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteApplicationSettingsRequest

func (WriteApplicationSettingsRequest) GoString

GoString returns the string representation

func (WriteApplicationSettingsRequest) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (WriteApplicationSettingsRequest) String

String returns the string representation

type WriteCampaignRequest

type WriteCampaignRequest struct {

	// Treatments that are defined in addition to the default treatment.
	AdditionalTreatments []WriteTreatmentResource `type:"list"`

	// A description of the campaign.
	Description *string `type:"string"`

	// The allocated percentage of end users who will not receive messages from
	// this campaign.
	HoldoutPercent *int64 `type:"integer"`

	// Campaign hook information.
	Hook *CampaignHook `type:"structure"`

	// Indicates whether the campaign is paused. A paused campaign does not send
	// messages unless you resume it by setting IsPaused to false.
	IsPaused *bool `type:"boolean"`

	// The campaign limits settings.
	Limits *CampaignLimits `type:"structure"`

	// The message configuration settings.
	MessageConfiguration *MessageConfiguration `type:"structure"`

	// The custom name of the campaign.
	Name *string `type:"string"`

	// The campaign schedule.
	Schedule *Schedule `type:"structure"`

	// The ID of the segment to which the campaign sends messages.
	SegmentId *string `type:"string"`

	// The version of the segment to which the campaign sends messages.
	SegmentVersion *int64 `type:"integer"`

	// A custom description for the treatment.
	TreatmentDescription *string `type:"string"`

	// The custom name of a variation of the campaign used for A/B testing.
	TreatmentName *string `type:"string"`
	// contains filtered or unexported fields
}

Used to create a campaign. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteCampaignRequest

func (WriteCampaignRequest) GoString

func (s WriteCampaignRequest) GoString() string

GoString returns the string representation

func (WriteCampaignRequest) MarshalFields added in v0.3.0

func (s WriteCampaignRequest) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (WriteCampaignRequest) String

func (s WriteCampaignRequest) String() string

String returns the string representation

type WriteEventStream

type WriteEventStream struct {

	// The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery
	// stream to which you want to publish events. Firehose ARN: arn:aws:firehose:REGION:ACCOUNT_ID:deliverystream/STREAM_NAME
	// Kinesis ARN: arn:aws:kinesis:REGION:ACCOUNT_ID:stream/STREAM_NAME
	DestinationStreamArn *string `type:"string"`

	// The IAM role that authorizes Amazon Pinpoint to publish events to the stream
	// in your account.
	RoleArn *string `type:"string"`
	// contains filtered or unexported fields
}

Request to save an EventStream. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteEventStream

func (WriteEventStream) GoString

func (s WriteEventStream) GoString() string

GoString returns the string representation

func (WriteEventStream) MarshalFields added in v0.3.0

func (s WriteEventStream) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (WriteEventStream) String

func (s WriteEventStream) String() string

String returns the string representation

type WriteSegmentRequest

type WriteSegmentRequest struct {

	// The segment dimensions attributes.
	Dimensions *SegmentDimensions `type:"structure"`

	// The name of segment
	Name *string `type:"string"`

	// A segment group, which consists of zero or more source segments, plus dimensions
	// that are applied to those source segments. Your request can only include
	// one segment group. Your request can include either a SegmentGroups object
	// or a Dimensions object, but not both.
	SegmentGroups *SegmentGroupList `type:"structure"`
	// contains filtered or unexported fields
}

Segment definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteSegmentRequest

func (WriteSegmentRequest) GoString

func (s WriteSegmentRequest) GoString() string

GoString returns the string representation

func (WriteSegmentRequest) MarshalFields added in v0.3.0

func (s WriteSegmentRequest) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (WriteSegmentRequest) String

func (s WriteSegmentRequest) String() string

String returns the string representation

type WriteTreatmentResource

type WriteTreatmentResource struct {

	// The message configuration settings.
	MessageConfiguration *MessageConfiguration `type:"structure"`

	// The campaign schedule.
	Schedule *Schedule `type:"structure"`

	// The allocated percentage of users for this treatment.
	SizePercent *int64 `type:"integer"`

	// A custom description for the treatment.
	TreatmentDescription *string `type:"string"`

	// The custom name of a variation of the campaign used for A/B testing.
	TreatmentName *string `type:"string"`
	// contains filtered or unexported fields
}

Used to create a campaign treatment. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteTreatmentResource

func (WriteTreatmentResource) GoString

func (s WriteTreatmentResource) GoString() string

GoString returns the string representation

func (WriteTreatmentResource) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (WriteTreatmentResource) String

func (s WriteTreatmentResource) String() string

String returns the string representation

Directories

Path Synopsis
Package pinpointiface provides an interface to enable mocking the Amazon Pinpoint service client for testing your code.
Package pinpointiface provides an interface to enable mocking the Amazon Pinpoint service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL