...
AWS SDK for Go API Reference
import "github.com/aws/aws-sdk-go/service/pinpoint"
Overview
Constants

Overview ▾

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

Doc Engage API - Amazon Pinpoint API

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 contact 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

The stub package, pinpointiface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.

Operations ▾

func New(p client.ConfigProvider, cfgs ...*aws.Config) *Pinpoint
    CreateApp
    CreateAppRequest
    CreateAppWithContext
    CreateCampaign
    CreateCampaignRequest
    CreateCampaignWithContext
    CreateExportJob
    CreateExportJobRequest
    CreateExportJobWithContext
    CreateImportJob
    CreateImportJobRequest
    CreateImportJobWithContext
    CreateSegment
    CreateSegmentRequest
    CreateSegmentWithContext
    DeleteAdmChannel
    DeleteAdmChannelRequest
    DeleteAdmChannelWithContext
    DeleteApnsChannel
    DeleteApnsChannelRequest
    DeleteApnsChannelWithContext
    DeleteApnsSandboxChannel
    DeleteApnsSandboxChannelRequest
    DeleteApnsSandboxChannelWithContext
    DeleteApnsVoipChannel
    DeleteApnsVoipChannelRequest
    DeleteApnsVoipChannelWithContext
    DeleteApnsVoipSandboxChannel
    DeleteApnsVoipSandboxChannelRequest
    DeleteApnsVoipSandboxChannelWithContext
    DeleteApp
    DeleteAppRequest
    DeleteAppWithContext
    DeleteBaiduChannel
    DeleteBaiduChannelRequest
    DeleteBaiduChannelWithContext
    DeleteCampaign
    DeleteCampaignRequest
    DeleteCampaignWithContext
    DeleteEmailChannel
    DeleteEmailChannelRequest
    DeleteEmailChannelWithContext
    DeleteEndpoint
    DeleteEndpointRequest
    DeleteEndpointWithContext
    DeleteEventStream
    DeleteEventStreamRequest
    DeleteEventStreamWithContext
    DeleteGcmChannel
    DeleteGcmChannelRequest
    DeleteGcmChannelWithContext
    DeleteSegment
    DeleteSegmentRequest
    DeleteSegmentWithContext
    DeleteSmsChannel
    DeleteSmsChannelRequest
    DeleteSmsChannelWithContext
    DeleteUserEndpoints
    DeleteUserEndpointsRequest
    DeleteUserEndpointsWithContext
    DeleteVoiceChannel
    DeleteVoiceChannelRequest
    DeleteVoiceChannelWithContext
    GetAdmChannel
    GetAdmChannelRequest
    GetAdmChannelWithContext
    GetApnsChannel
    GetApnsChannelRequest
    GetApnsChannelWithContext
    GetApnsSandboxChannel
    GetApnsSandboxChannelRequest
    GetApnsSandboxChannelWithContext
    GetApnsVoipChannel
    GetApnsVoipChannelRequest
    GetApnsVoipChannelWithContext
    GetApnsVoipSandboxChannel
    GetApnsVoipSandboxChannelRequest
    GetApnsVoipSandboxChannelWithContext
    GetApp
    GetAppRequest
    GetAppWithContext
    GetApplicationDateRangeKpi
    GetApplicationDateRangeKpiRequest
    GetApplicationDateRangeKpiWithContext
    GetApplicationSettings
    GetApplicationSettingsRequest
    GetApplicationSettingsWithContext
    GetApps
    GetAppsRequest
    GetAppsWithContext
    GetBaiduChannel
    GetBaiduChannelRequest
    GetBaiduChannelWithContext
    GetCampaign
    GetCampaignActivities
    GetCampaignActivitiesRequest
    GetCampaignActivitiesWithContext
    GetCampaignDateRangeKpi
    GetCampaignDateRangeKpiRequest
    GetCampaignDateRangeKpiWithContext
    GetCampaignRequest
    GetCampaignVersion
    GetCampaignVersionRequest
    GetCampaignVersionWithContext
    GetCampaignVersions
    GetCampaignVersionsRequest
    GetCampaignVersionsWithContext
    GetCampaignWithContext
    GetCampaigns
    GetCampaignsRequest
    GetCampaignsWithContext
    GetChannels
    GetChannelsRequest
    GetChannelsWithContext
    GetEmailChannel
    GetEmailChannelRequest
    GetEmailChannelWithContext
    GetEndpoint
    GetEndpointRequest
    GetEndpointWithContext
    GetEventStream
    GetEventStreamRequest
    GetEventStreamWithContext
    GetExportJob
    GetExportJobRequest
    GetExportJobWithContext
    GetExportJobs
    GetExportJobsRequest
    GetExportJobsWithContext
    GetGcmChannel
    GetGcmChannelRequest
    GetGcmChannelWithContext
    GetImportJob
    GetImportJobRequest
    GetImportJobWithContext
    GetImportJobs
    GetImportJobsRequest
    GetImportJobsWithContext
    GetSegment
    GetSegmentExportJobs
    GetSegmentExportJobsRequest
    GetSegmentExportJobsWithContext
    GetSegmentImportJobs
    GetSegmentImportJobsRequest
    GetSegmentImportJobsWithContext
    GetSegmentRequest
    GetSegmentVersion
    GetSegmentVersionRequest
    GetSegmentVersionWithContext
    GetSegmentVersions
    GetSegmentVersionsRequest
    GetSegmentVersionsWithContext
    GetSegmentWithContext
    GetSegments
    GetSegmentsRequest
    GetSegmentsWithContext
    GetSmsChannel
    GetSmsChannelRequest
    GetSmsChannelWithContext
    GetUserEndpoints
    GetUserEndpointsRequest
    GetUserEndpointsWithContext
    GetVoiceChannel
    GetVoiceChannelRequest
    GetVoiceChannelWithContext
    ListTagsForResource
    ListTagsForResourceRequest
    ListTagsForResourceWithContext
    PhoneNumberValidate
    PhoneNumberValidateRequest
    PhoneNumberValidateWithContext
    PutEventStream
    PutEventStreamRequest
    PutEventStreamWithContext
    PutEvents
    PutEventsRequest
    PutEventsWithContext
    RemoveAttributes
    RemoveAttributesRequest
    RemoveAttributesWithContext
    SendMessages
    SendMessagesRequest
    SendMessagesWithContext
    SendUsersMessages
    SendUsersMessagesRequest
    SendUsersMessagesWithContext
    TagResource
    TagResourceRequest
    TagResourceWithContext
    UntagResource
    UntagResourceRequest
    UntagResourceWithContext
    UpdateAdmChannel
    UpdateAdmChannelRequest
    UpdateAdmChannelWithContext
    UpdateApnsChannel
    UpdateApnsChannelRequest
    UpdateApnsChannelWithContext
    UpdateApnsSandboxChannel
    UpdateApnsSandboxChannelRequest
    UpdateApnsSandboxChannelWithContext
    UpdateApnsVoipChannel
    UpdateApnsVoipChannelRequest
    UpdateApnsVoipChannelWithContext
    UpdateApnsVoipSandboxChannel
    UpdateApnsVoipSandboxChannelRequest
    UpdateApnsVoipSandboxChannelWithContext
    UpdateApplicationSettings
    UpdateApplicationSettingsRequest
    UpdateApplicationSettingsWithContext
    UpdateBaiduChannel
    UpdateBaiduChannelRequest
    UpdateBaiduChannelWithContext
    UpdateCampaign
    UpdateCampaignRequest
    UpdateCampaignWithContext
    UpdateEmailChannel
    UpdateEmailChannelRequest
    UpdateEmailChannelWithContext
    UpdateEndpoint
    UpdateEndpointRequest
    UpdateEndpointWithContext
    UpdateEndpointsBatch
    UpdateEndpointsBatchRequest
    UpdateEndpointsBatchWithContext
    UpdateGcmChannel
    UpdateGcmChannelRequest
    UpdateGcmChannelWithContext
    UpdateSegment
    UpdateSegmentRequest
    UpdateSegmentWithContext
    UpdateSmsChannel
    UpdateSmsChannelRequest
    UpdateSmsChannelWithContext
    UpdateVoiceChannel
    UpdateVoiceChannelRequest
    UpdateVoiceChannelWithContext

Types ▾

type ADMChannelRequest
func (s *ADMChannelRequest) SetClientId(v string) *ADMChannelRequest
func (s *ADMChannelRequest) SetClientSecret(v string) *ADMChannelRequest
func (s *ADMChannelRequest) SetEnabled(v bool) *ADMChannelRequest
type ADMChannelResponse
func (s *ADMChannelResponse) SetApplicationId(v string) *ADMChannelResponse
func (s *ADMChannelResponse) SetCreationDate(v string) *ADMChannelResponse
func (s *ADMChannelResponse) SetEnabled(v bool) *ADMChannelResponse
func (s *ADMChannelResponse) SetHasCredential(v bool) *ADMChannelResponse
func (s *ADMChannelResponse) SetId(v string) *ADMChannelResponse
func (s *ADMChannelResponse) SetIsArchived(v bool) *ADMChannelResponse
func (s *ADMChannelResponse) SetLastModifiedBy(v string) *ADMChannelResponse
func (s *ADMChannelResponse) SetLastModifiedDate(v string) *ADMChannelResponse
func (s *ADMChannelResponse) SetPlatform(v string) *ADMChannelResponse
func (s *ADMChannelResponse) SetVersion(v int64) *ADMChannelResponse
type ADMMessage
func (s *ADMMessage) SetAction(v string) *ADMMessage
func (s *ADMMessage) SetBody(v string) *ADMMessage
func (s *ADMMessage) SetConsolidationKey(v string) *ADMMessage
func (s *ADMMessage) SetData(v map[string]*string) *ADMMessage
func (s *ADMMessage) SetExpiresAfter(v string) *ADMMessage
func (s *ADMMessage) SetIconReference(v string) *ADMMessage
func (s *ADMMessage) SetImageIconUrl(v string) *ADMMessage
func (s *ADMMessage) SetImageUrl(v string) *ADMMessage
func (s *ADMMessage) SetMD5(v string) *ADMMessage
func (s *ADMMessage) SetRawContent(v string) *ADMMessage
func (s *ADMMessage) SetSilentPush(v bool) *ADMMessage
func (s *ADMMessage) SetSmallImageIconUrl(v string) *ADMMessage
func (s *ADMMessage) SetSound(v string) *ADMMessage
func (s *ADMMessage) SetSubstitutions(v map[string][]*string) *ADMMessage
func (s *ADMMessage) SetTitle(v string) *ADMMessage
func (s *ADMMessage) SetUrl(v string) *ADMMessage
type APNSChannelRequest
func (s *APNSChannelRequest) SetBundleId(v string) *APNSChannelRequest
func (s *APNSChannelRequest) SetCertificate(v string) *APNSChannelRequest
func (s *APNSChannelRequest) SetDefaultAuthenticationMethod(v string) *APNSChannelRequest
func (s *APNSChannelRequest) SetEnabled(v bool) *APNSChannelRequest
func (s *APNSChannelRequest) SetPrivateKey(v string) *APNSChannelRequest
func (s *APNSChannelRequest) SetTeamId(v string) *APNSChannelRequest
func (s *APNSChannelRequest) SetTokenKey(v string) *APNSChannelRequest
func (s *APNSChannelRequest) SetTokenKeyId(v string) *APNSChannelRequest
type APNSChannelResponse
func (s *APNSChannelResponse) SetApplicationId(v string) *APNSChannelResponse
func (s *APNSChannelResponse) SetCreationDate(v string) *APNSChannelResponse
func (s *APNSChannelResponse) SetDefaultAuthenticationMethod(v string) *APNSChannelResponse
func (s *APNSChannelResponse) SetEnabled(v bool) *APNSChannelResponse
func (s *APNSChannelResponse) SetHasCredential(v bool) *APNSChannelResponse
func (s *APNSChannelResponse) SetHasTokenKey(v bool) *APNSChannelResponse
func (s *APNSChannelResponse) SetId(v string) *APNSChannelResponse
func (s *APNSChannelResponse) SetIsArchived(v bool) *APNSChannelResponse
func (s *APNSChannelResponse) SetLastModifiedBy(v string) *APNSChannelResponse
func (s *APNSChannelResponse) SetLastModifiedDate(v string) *APNSChannelResponse
func (s *APNSChannelResponse) SetPlatform(v string) *APNSChannelResponse
func (s *APNSChannelResponse) SetVersion(v int64) *APNSChannelResponse
type APNSMessage
func (s *APNSMessage) SetAction(v string) *APNSMessage
func (s *APNSMessage) SetBadge(v int64) *APNSMessage
func (s *APNSMessage) SetBody(v string) *APNSMessage
func (s *APNSMessage) SetCategory(v string) *APNSMessage
func (s *APNSMessage) SetCollapseId(v string) *APNSMessage
func (s *APNSMessage) SetData(v map[string]*string) *APNSMessage
func (s *APNSMessage) SetMediaUrl(v string) *APNSMessage
func (s *APNSMessage) SetPreferredAuthenticationMethod(v string) *APNSMessage
func (s *APNSMessage) SetPriority(v string) *APNSMessage
func (s *APNSMessage) SetRawContent(v string) *APNSMessage
func (s *APNSMessage) SetSilentPush(v bool) *APNSMessage
func (s *APNSMessage) SetSound(v string) *APNSMessage
func (s *APNSMessage) SetSubstitutions(v map[string][]*string) *APNSMessage
func (s *APNSMessage) SetThreadId(v string) *APNSMessage
func (s *APNSMessage) SetTimeToLive(v int64) *APNSMessage
func (s *APNSMessage) SetTitle(v string) *APNSMessage
func (s *APNSMessage) SetUrl(v string) *APNSMessage
type APNSSandboxChannelRequest
func (s *APNSSandboxChannelRequest) SetBundleId(v string) *APNSSandboxChannelRequest
func (s *APNSSandboxChannelRequest) SetCertificate(v string) *APNSSandboxChannelRequest
func (s *APNSSandboxChannelRequest) SetDefaultAuthenticationMethod(v string) *APNSSandboxChannelRequest
func (s *APNSSandboxChannelRequest) SetEnabled(v bool) *APNSSandboxChannelRequest
func (s *APNSSandboxChannelRequest) SetPrivateKey(v string) *APNSSandboxChannelRequest
func (s *APNSSandboxChannelRequest) SetTeamId(v string) *APNSSandboxChannelRequest
func (s *APNSSandboxChannelRequest) SetTokenKey(v string) *APNSSandboxChannelRequest
func (s *APNSSandboxChannelRequest) SetTokenKeyId(v string) *APNSSandboxChannelRequest
type APNSSandboxChannelResponse
func (s *APNSSandboxChannelResponse) SetApplicationId(v string) *APNSSandboxChannelResponse
func (s *APNSSandboxChannelResponse) SetCreationDate(v string) *APNSSandboxChannelResponse
func (s *APNSSandboxChannelResponse) SetDefaultAuthenticationMethod(v string) *APNSSandboxChannelResponse
func (s *APNSSandboxChannelResponse) SetEnabled(v bool) *APNSSandboxChannelResponse
func (s *APNSSandboxChannelResponse) SetHasCredential(v bool) *APNSSandboxChannelResponse
func (s *APNSSandboxChannelResponse) SetHasTokenKey(v bool) *APNSSandboxChannelResponse
func (s *APNSSandboxChannelResponse) SetId(v string) *APNSSandboxChannelResponse
func (s *APNSSandboxChannelResponse) SetIsArchived(v bool) *APNSSandboxChannelResponse
func (s *APNSSandboxChannelResponse) SetLastModifiedBy(v string) *APNSSandboxChannelResponse
func (s *APNSSandboxChannelResponse) SetLastModifiedDate(v string) *APNSSandboxChannelResponse
func (s *APNSSandboxChannelResponse) SetPlatform(v string) *APNSSandboxChannelResponse
func (s *APNSSandboxChannelResponse) SetVersion(v int64) *APNSSandboxChannelResponse
type APNSVoipChannelRequest
func (s *APNSVoipChannelRequest) SetBundleId(v string) *APNSVoipChannelRequest
func (s *APNSVoipChannelRequest) SetCertificate(v string) *APNSVoipChannelRequest
func (s *APNSVoipChannelRequest) SetDefaultAuthenticationMethod(v string) *APNSVoipChannelRequest
func (s *APNSVoipChannelRequest) SetEnabled(v bool) *APNSVoipChannelRequest
func (s *APNSVoipChannelRequest) SetPrivateKey(v string) *APNSVoipChannelRequest
func (s *APNSVoipChannelRequest) SetTeamId(v string) *APNSVoipChannelRequest
func (s *APNSVoipChannelRequest) SetTokenKey(v string) *APNSVoipChannelRequest
func (s *APNSVoipChannelRequest) SetTokenKeyId(v string) *APNSVoipChannelRequest
type APNSVoipChannelResponse
func (s *APNSVoipChannelResponse) SetApplicationId(v string) *APNSVoipChannelResponse
func (s *APNSVoipChannelResponse) SetCreationDate(v string) *APNSVoipChannelResponse
func (s *APNSVoipChannelResponse) SetDefaultAuthenticationMethod(v string) *APNSVoipChannelResponse
func (s *APNSVoipChannelResponse) SetEnabled(v bool) *APNSVoipChannelResponse
func (s *APNSVoipChannelResponse) SetHasCredential(v bool) *APNSVoipChannelResponse
func (s *APNSVoipChannelResponse) SetHasTokenKey(v bool) *APNSVoipChannelResponse
func (s *APNSVoipChannelResponse) SetId(v string) *APNSVoipChannelResponse
func (s *APNSVoipChannelResponse) SetIsArchived(v bool) *APNSVoipChannelResponse
func (s *APNSVoipChannelResponse) SetLastModifiedBy(v string) *APNSVoipChannelResponse
func (s *APNSVoipChannelResponse) SetLastModifiedDate(v string) *APNSVoipChannelResponse
func (s *APNSVoipChannelResponse) SetPlatform(v string) *APNSVoipChannelResponse
func (s *APNSVoipChannelResponse) SetVersion(v int64) *APNSVoipChannelResponse
type APNSVoipSandboxChannelRequest
func (s *APNSVoipSandboxChannelRequest) SetBundleId(v string) *APNSVoipSandboxChannelRequest
func (s *APNSVoipSandboxChannelRequest) SetCertificate(v string) *APNSVoipSandboxChannelRequest
func (s *APNSVoipSandboxChannelRequest) SetDefaultAuthenticationMethod(v string) *APNSVoipSandboxChannelRequest
func (s *APNSVoipSandboxChannelRequest) SetEnabled(v bool) *APNSVoipSandboxChannelRequest
func (s *APNSVoipSandboxChannelRequest) SetPrivateKey(v string) *APNSVoipSandboxChannelRequest
func (s *APNSVoipSandboxChannelRequest) SetTeamId(v string) *APNSVoipSandboxChannelRequest
func (s *APNSVoipSandboxChannelRequest) SetTokenKey(v string) *APNSVoipSandboxChannelRequest
func (s *APNSVoipSandboxChannelRequest) SetTokenKeyId(v string) *APNSVoipSandboxChannelRequest
type APNSVoipSandboxChannelResponse
func (s *APNSVoipSandboxChannelResponse) SetApplicationId(v string) *APNSVoipSandboxChannelResponse
func (s *APNSVoipSandboxChannelResponse) SetCreationDate(v string) *APNSVoipSandboxChannelResponse
func (s *APNSVoipSandboxChannelResponse) SetDefaultAuthenticationMethod(v string) *APNSVoipSandboxChannelResponse
func (s *APNSVoipSandboxChannelResponse) SetEnabled(v bool) *APNSVoipSandboxChannelResponse
func (s *APNSVoipSandboxChannelResponse) SetHasCredential(v bool) *APNSVoipSandboxChannelResponse
func (s *APNSVoipSandboxChannelResponse) SetHasTokenKey(v bool) *APNSVoipSandboxChannelResponse
func (s *APNSVoipSandboxChannelResponse) SetId(v string) *APNSVoipSandboxChannelResponse
func (s *APNSVoipSandboxChannelResponse) SetIsArchived(v bool) *APNSVoipSandboxChannelResponse
func (s *APNSVoipSandboxChannelResponse) SetLastModifiedBy(v string) *APNSVoipSandboxChannelResponse
func (s *APNSVoipSandboxChannelResponse) SetLastModifiedDate(v string) *APNSVoipSandboxChannelResponse
func (s *APNSVoipSandboxChannelResponse) SetPlatform(v string) *APNSVoipSandboxChannelResponse
func (s *APNSVoipSandboxChannelResponse) SetVersion(v int64) *APNSVoipSandboxChannelResponse
type ActivitiesResponse
func (s *ActivitiesResponse) SetItem(v []*ActivityResponse) *ActivitiesResponse
func (s *ActivitiesResponse) SetNextToken(v string) *ActivitiesResponse
type ActivityResponse
func (s *ActivityResponse) SetApplicationId(v string) *ActivityResponse
func (s *ActivityResponse) SetCampaignId(v string) *ActivityResponse
func (s *ActivityResponse) SetEnd(v string) *ActivityResponse
func (s *ActivityResponse) SetId(v string) *ActivityResponse
func (s *ActivityResponse) SetResult(v string) *ActivityResponse
func (s *ActivityResponse) SetScheduledStart(v string) *ActivityResponse
func (s *ActivityResponse) SetStart(v string) *ActivityResponse
func (s *ActivityResponse) SetState(v string) *ActivityResponse
func (s *ActivityResponse) SetSuccessfulEndpointCount(v int64) *ActivityResponse
func (s *ActivityResponse) SetTimezonesCompletedCount(v int64) *ActivityResponse
func (s *ActivityResponse) SetTimezonesTotalCount(v int64) *ActivityResponse
func (s *ActivityResponse) SetTotalEndpointCount(v int64) *ActivityResponse
func (s *ActivityResponse) SetTreatmentId(v string) *ActivityResponse
type AddressConfiguration
func (s *AddressConfiguration) SetBodyOverride(v string) *AddressConfiguration
func (s *AddressConfiguration) SetChannelType(v string) *AddressConfiguration
func (s *AddressConfiguration) SetContext(v map[string]*string) *AddressConfiguration
func (s *AddressConfiguration) SetRawContent(v string) *AddressConfiguration
func (s *AddressConfiguration) SetSubstitutions(v map[string][]*string) *AddressConfiguration
func (s *AddressConfiguration) SetTitleOverride(v string) *AddressConfiguration
type ApplicationDateRangeKpiResponse
func (s *ApplicationDateRangeKpiResponse) SetApplicationId(v string) *ApplicationDateRangeKpiResponse
func (s *ApplicationDateRangeKpiResponse) SetEndTime(v time.Time) *ApplicationDateRangeKpiResponse
func (s *ApplicationDateRangeKpiResponse) SetKpiName(v string) *ApplicationDateRangeKpiResponse
func (s *ApplicationDateRangeKpiResponse) SetKpiResult(v *BaseKpiResult) *ApplicationDateRangeKpiResponse
func (s *ApplicationDateRangeKpiResponse) SetNextToken(v string) *ApplicationDateRangeKpiResponse
func (s *ApplicationDateRangeKpiResponse) SetStartTime(v time.Time) *ApplicationDateRangeKpiResponse
type ApplicationResponse
func (s *ApplicationResponse) SetArn(v string) *ApplicationResponse
func (s *ApplicationResponse) SetId(v string) *ApplicationResponse
func (s *ApplicationResponse) SetName(v string) *ApplicationResponse
func (s *ApplicationResponse) SetTags(v map[string]*string) *ApplicationResponse
type ApplicationSettingsResource
func (s *ApplicationSettingsResource) SetApplicationId(v string) *ApplicationSettingsResource
func (s *ApplicationSettingsResource) SetCampaignHook(v *CampaignHook) *ApplicationSettingsResource
func (s *ApplicationSettingsResource) SetLastModifiedDate(v string) *ApplicationSettingsResource
func (s *ApplicationSettingsResource) SetLimits(v *CampaignLimits) *ApplicationSettingsResource
func (s *ApplicationSettingsResource) SetQuietTime(v *QuietTime) *ApplicationSettingsResource
type ApplicationsResponse
func (s *ApplicationsResponse) SetItem(v []*ApplicationResponse) *ApplicationsResponse
func (s *ApplicationsResponse) SetNextToken(v string) *ApplicationsResponse
type AttributeDimension
func (s *AttributeDimension) SetAttributeType(v string) *AttributeDimension
func (s *AttributeDimension) SetValues(v []*string) *AttributeDimension
type AttributesResource
func (s *AttributesResource) SetApplicationId(v string) *AttributesResource
func (s *AttributesResource) SetAttributeType(v string) *AttributesResource
func (s *AttributesResource) SetAttributes(v []*string) *AttributesResource
type BaiduChannelRequest
func (s *BaiduChannelRequest) SetApiKey(v string) *BaiduChannelRequest
func (s *BaiduChannelRequest) SetEnabled(v bool) *BaiduChannelRequest
func (s *BaiduChannelRequest) SetSecretKey(v string) *BaiduChannelRequest
type BaiduChannelResponse
func (s *BaiduChannelResponse) SetApplicationId(v string) *BaiduChannelResponse
func (s *BaiduChannelResponse) SetCreationDate(v string) *BaiduChannelResponse
func (s *BaiduChannelResponse) SetCredential(v string) *BaiduChannelResponse
func (s *BaiduChannelResponse) SetEnabled(v bool) *BaiduChannelResponse
func (s *BaiduChannelResponse) SetHasCredential(v bool) *BaiduChannelResponse
func (s *BaiduChannelResponse) SetId(v string) *BaiduChannelResponse
func (s *BaiduChannelResponse) SetIsArchived(v bool) *BaiduChannelResponse
func (s *BaiduChannelResponse) SetLastModifiedBy(v string) *BaiduChannelResponse
func (s *BaiduChannelResponse) SetLastModifiedDate(v string) *BaiduChannelResponse
func (s *BaiduChannelResponse) SetPlatform(v string) *BaiduChannelResponse
func (s *BaiduChannelResponse) SetVersion(v int64) *BaiduChannelResponse
type BaiduMessage
func (s *BaiduMessage) SetAction(v string) *BaiduMessage
func (s *BaiduMessage) SetBody(v string) *BaiduMessage
func (s *BaiduMessage) SetData(v map[string]*string) *BaiduMessage
func (s *BaiduMessage) SetIconReference(v string) *BaiduMessage
func (s *BaiduMessage) SetImageIconUrl(v string) *BaiduMessage
func (s *BaiduMessage) SetImageUrl(v string) *BaiduMessage
func (s *BaiduMessage) SetRawContent(v string) *BaiduMessage
func (s *BaiduMessage) SetSilentPush(v bool) *BaiduMessage
func (s *BaiduMessage) SetSmallImageIconUrl(v string) *BaiduMessage
func (s *BaiduMessage) SetSound(v string) *BaiduMessage
func (s *BaiduMessage) SetSubstitutions(v map[string][]*string) *BaiduMessage
func (s *BaiduMessage) SetTimeToLive(v int64) *BaiduMessage
func (s *BaiduMessage) SetTitle(v string) *BaiduMessage
func (s *BaiduMessage) SetUrl(v string) *BaiduMessage
type BaseKpiResult
func (s *BaseKpiResult) SetRows(v []*ResultRow) *BaseKpiResult
type CampaignDateRangeKpiResponse
func (s *CampaignDateRangeKpiResponse) SetApplicationId(v string) *CampaignDateRangeKpiResponse
func (s *CampaignDateRangeKpiResponse) SetCampaignId(v string) *CampaignDateRangeKpiResponse
func (s *CampaignDateRangeKpiResponse) SetEndTime(v time.Time) *CampaignDateRangeKpiResponse
func (s *CampaignDateRangeKpiResponse) SetKpiName(v string) *CampaignDateRangeKpiResponse
func (s *CampaignDateRangeKpiResponse) SetKpiResult(v *BaseKpiResult) *CampaignDateRangeKpiResponse
func (s *CampaignDateRangeKpiResponse) SetNextToken(v string) *CampaignDateRangeKpiResponse
func (s *CampaignDateRangeKpiResponse) SetStartTime(v time.Time) *CampaignDateRangeKpiResponse
type CampaignEmailMessage
func (s *CampaignEmailMessage) SetBody(v string) *CampaignEmailMessage
func (s *CampaignEmailMessage) SetFromAddress(v string) *CampaignEmailMessage
func (s *CampaignEmailMessage) SetHtmlBody(v string) *CampaignEmailMessage
func (s *CampaignEmailMessage) SetTitle(v string) *CampaignEmailMessage
type CampaignEventFilter
func (s *CampaignEventFilter) SetDimensions(v *EventDimensions) *CampaignEventFilter
func (s *CampaignEventFilter) SetFilterType(v string) *CampaignEventFilter
type CampaignHook
func (s *CampaignHook) SetLambdaFunctionName(v string) *CampaignHook
func (s *CampaignHook) SetMode(v string) *CampaignHook
func (s *CampaignHook) SetWebUrl(v string) *CampaignHook
type CampaignLimits
func (s *CampaignLimits) SetDaily(v int64) *CampaignLimits
func (s *CampaignLimits) SetMaximumDuration(v int64) *CampaignLimits
func (s *CampaignLimits) SetMessagesPerSecond(v int64) *CampaignLimits
func (s *CampaignLimits) SetTotal(v int64) *CampaignLimits
type CampaignResponse
func (s *CampaignResponse) SetAdditionalTreatments(v []*TreatmentResource) *CampaignResponse
func (s *CampaignResponse) SetApplicationId(v string) *CampaignResponse
func (s *CampaignResponse) SetArn(v string) *CampaignResponse
func (s *CampaignResponse) SetCreationDate(v string) *CampaignResponse
func (s *CampaignResponse) SetDefaultState(v *CampaignState) *CampaignResponse
func (s *CampaignResponse) SetDescription(v string) *CampaignResponse
func (s *CampaignResponse) SetHoldoutPercent(v int64) *CampaignResponse
func (s *CampaignResponse) SetHook(v *CampaignHook) *CampaignResponse
func (s *CampaignResponse) SetId(v string) *CampaignResponse
func (s *CampaignResponse) SetIsPaused(v bool) *CampaignResponse
func (s *CampaignResponse) SetLastModifiedDate(v string) *CampaignResponse
func (s *CampaignResponse) SetLimits(v *CampaignLimits) *CampaignResponse
func (s *CampaignResponse) SetMessageConfiguration(v *MessageConfiguration) *CampaignResponse
func (s *CampaignResponse) SetName(v string) *CampaignResponse
func (s *CampaignResponse) SetSchedule(v *Schedule) *CampaignResponse
func (s *CampaignResponse) SetSegmentId(v string) *CampaignResponse
func (s *CampaignResponse) SetSegmentVersion(v int64) *CampaignResponse
func (s *CampaignResponse) SetState(v *CampaignState) *CampaignResponse
func (s *CampaignResponse) SetTags(v map[string]*string) *CampaignResponse
func (s *CampaignResponse) SetTreatmentDescription(v string) *CampaignResponse
func (s *CampaignResponse) SetTreatmentName(v string) *CampaignResponse
func (s *CampaignResponse) SetVersion(v int64) *CampaignResponse
type CampaignSmsMessage
func (s *CampaignSmsMessage) SetBody(v string) *CampaignSmsMessage
func (s *CampaignSmsMessage) SetMessageType(v string) *CampaignSmsMessage
func (s *CampaignSmsMessage) SetSenderId(v string) *CampaignSmsMessage
type CampaignState
func (s *CampaignState) SetCampaignStatus(v string) *CampaignState
type CampaignsResponse
func (s *CampaignsResponse) SetItem(v []*CampaignResponse) *CampaignsResponse
func (s *CampaignsResponse) SetNextToken(v string) *CampaignsResponse
type ChannelResponse
func (s *ChannelResponse) SetApplicationId(v string) *ChannelResponse
func (s *ChannelResponse) SetCreationDate(v string) *ChannelResponse
func (s *ChannelResponse) SetEnabled(v bool) *ChannelResponse
func (s *ChannelResponse) SetHasCredential(v bool) *ChannelResponse
func (s *ChannelResponse) SetId(v string) *ChannelResponse
func (s *ChannelResponse) SetIsArchived(v bool) *ChannelResponse
func (s *ChannelResponse) SetLastModifiedBy(v string) *ChannelResponse
func (s *ChannelResponse) SetLastModifiedDate(v string) *ChannelResponse
func (s *ChannelResponse) SetVersion(v int64) *ChannelResponse
type ChannelsResponse
func (s *ChannelsResponse) SetChannels(v map[string]*ChannelResponse) *ChannelsResponse
type CreateAppInput
func (s *CreateAppInput) SetCreateApplicationRequest(v *CreateApplicationRequest) *CreateAppInput
type CreateAppOutput
func (s *CreateAppOutput) SetApplicationResponse(v *ApplicationResponse) *CreateAppOutput
type CreateApplicationRequest
func (s *CreateApplicationRequest) SetName(v string) *CreateApplicationRequest
func (s *CreateApplicationRequest) SetTags(v map[string]*string) *CreateApplicationRequest
type CreateCampaignInput
func (s *CreateCampaignInput) SetApplicationId(v string) *CreateCampaignInput
func (s *CreateCampaignInput) SetWriteCampaignRequest(v *WriteCampaignRequest) *CreateCampaignInput
type CreateCampaignOutput
func (s *CreateCampaignOutput) SetCampaignResponse(v *CampaignResponse) *CreateCampaignOutput
type CreateExportJobInput
func (s *CreateExportJobInput) SetApplicationId(v string) *CreateExportJobInput
func (s *CreateExportJobInput) SetExportJobRequest(v *ExportJobRequest) *CreateExportJobInput
type CreateExportJobOutput
func (s *CreateExportJobOutput) SetExportJobResponse(v *ExportJobResponse) *CreateExportJobOutput
type CreateImportJobInput
func (s *CreateImportJobInput) SetApplicationId(v string) *CreateImportJobInput
func (s *CreateImportJobInput) SetImportJobRequest(v *ImportJobRequest) *CreateImportJobInput
type CreateImportJobOutput
func (s *CreateImportJobOutput) SetImportJobResponse(v *ImportJobResponse) *CreateImportJobOutput
type CreateSegmentInput
func (s *CreateSegmentInput) SetApplicationId(v string) *CreateSegmentInput
func (s *CreateSegmentInput) SetWriteSegmentRequest(v *WriteSegmentRequest) *CreateSegmentInput
type CreateSegmentOutput
func (s *CreateSegmentOutput) SetSegmentResponse(v *SegmentResponse) *CreateSegmentOutput
type DefaultMessage
func (s *DefaultMessage) SetBody(v string) *DefaultMessage
func (s *DefaultMessage) SetSubstitutions(v map[string][]*string) *DefaultMessage
type DefaultPushNotificationMessage
func (s *DefaultPushNotificationMessage) SetAction(v string) *DefaultPushNotificationMessage
func (s *DefaultPushNotificationMessage) SetBody(v string) *DefaultPushNotificationMessage
func (s *DefaultPushNotificationMessage) SetData(v map[string]*string) *DefaultPushNotificationMessage
func (s *DefaultPushNotificationMessage) SetSilentPush(v bool) *DefaultPushNotificationMessage
func (s *DefaultPushNotificationMessage) SetSubstitutions(v map[string][]*string) *DefaultPushNotificationMessage
func (s *DefaultPushNotificationMessage) SetTitle(v string) *DefaultPushNotificationMessage
func (s *DefaultPushNotificationMessage) SetUrl(v string) *DefaultPushNotificationMessage
type DeleteAdmChannelInput
func (s *DeleteAdmChannelInput) SetApplicationId(v string) *DeleteAdmChannelInput
type DeleteAdmChannelOutput
func (s *DeleteAdmChannelOutput) SetADMChannelResponse(v *ADMChannelResponse) *DeleteAdmChannelOutput
type DeleteApnsChannelInput
func (s *DeleteApnsChannelInput) SetApplicationId(v string) *DeleteApnsChannelInput
type DeleteApnsChannelOutput
func (s *DeleteApnsChannelOutput) SetAPNSChannelResponse(v *APNSChannelResponse) *DeleteApnsChannelOutput
type DeleteApnsSandboxChannelInput
func (s *DeleteApnsSandboxChannelInput) SetApplicationId(v string) *DeleteApnsSandboxChannelInput
type DeleteApnsSandboxChannelOutput
func (s *DeleteApnsSandboxChannelOutput) SetAPNSSandboxChannelResponse(v *APNSSandboxChannelResponse) *DeleteApnsSandboxChannelOutput
type DeleteApnsVoipChannelInput
func (s *DeleteApnsVoipChannelInput) SetApplicationId(v string) *DeleteApnsVoipChannelInput
type DeleteApnsVoipChannelOutput
func (s *DeleteApnsVoipChannelOutput) SetAPNSVoipChannelResponse(v *APNSVoipChannelResponse) *DeleteApnsVoipChannelOutput
type DeleteApnsVoipSandboxChannelInput
func (s *DeleteApnsVoipSandboxChannelInput) SetApplicationId(v string) *DeleteApnsVoipSandboxChannelInput
type DeleteApnsVoipSandboxChannelOutput
func (s *DeleteApnsVoipSandboxChannelOutput) SetAPNSVoipSandboxChannelResponse(v *APNSVoipSandboxChannelResponse) *DeleteApnsVoipSandboxChannelOutput
type DeleteAppInput
func (s *DeleteAppInput) SetApplicationId(v string) *DeleteAppInput
type DeleteAppOutput
func (s *DeleteAppOutput) SetApplicationResponse(v *ApplicationResponse) *DeleteAppOutput
type DeleteBaiduChannelInput
func (s *DeleteBaiduChannelInput) SetApplicationId(v string) *DeleteBaiduChannelInput
type DeleteBaiduChannelOutput
func (s *DeleteBaiduChannelOutput) SetBaiduChannelResponse(v *BaiduChannelResponse) *DeleteBaiduChannelOutput
type DeleteCampaignInput
func (s *DeleteCampaignInput) SetApplicationId(v string) *DeleteCampaignInput
func (s *DeleteCampaignInput) SetCampaignId(v string) *DeleteCampaignInput
type DeleteCampaignOutput
func (s *DeleteCampaignOutput) SetCampaignResponse(v *CampaignResponse) *DeleteCampaignOutput
type DeleteEmailChannelInput
func (s *DeleteEmailChannelInput) SetApplicationId(v string) *DeleteEmailChannelInput
type DeleteEmailChannelOutput
func (s *DeleteEmailChannelOutput) SetEmailChannelResponse(v *EmailChannelResponse) *DeleteEmailChannelOutput
type DeleteEndpointInput
func (s *DeleteEndpointInput) SetApplicationId(v string) *DeleteEndpointInput
func (s *DeleteEndpointInput) SetEndpointId(v string) *DeleteEndpointInput
type DeleteEndpointOutput
func (s *DeleteEndpointOutput) SetEndpointResponse(v *EndpointResponse) *DeleteEndpointOutput
type DeleteEventStreamInput
func (s *DeleteEventStreamInput) SetApplicationId(v string) *DeleteEventStreamInput
type DeleteEventStreamOutput
func (s *DeleteEventStreamOutput) SetEventStream(v *EventStream) *DeleteEventStreamOutput
type DeleteGcmChannelInput
func (s *DeleteGcmChannelInput) SetApplicationId(v string) *DeleteGcmChannelInput
type DeleteGcmChannelOutput
func (s *DeleteGcmChannelOutput) SetGCMChannelResponse(v *GCMChannelResponse) *DeleteGcmChannelOutput
type DeleteSegmentInput
func (s *DeleteSegmentInput) SetApplicationId(v string) *DeleteSegmentInput
func (s *DeleteSegmentInput) SetSegmentId(v string) *DeleteSegmentInput
type DeleteSegmentOutput
func (s *DeleteSegmentOutput) SetSegmentResponse(v *SegmentResponse) *DeleteSegmentOutput
type DeleteSmsChannelInput
func (s *DeleteSmsChannelInput) SetApplicationId(v string) *DeleteSmsChannelInput
type DeleteSmsChannelOutput
func (s *DeleteSmsChannelOutput) SetSMSChannelResponse(v *SMSChannelResponse) *DeleteSmsChannelOutput
type DeleteUserEndpointsInput
func (s *DeleteUserEndpointsInput) SetApplicationId(v string) *DeleteUserEndpointsInput
func (s *DeleteUserEndpointsInput) SetUserId(v string) *DeleteUserEndpointsInput
type DeleteUserEndpointsOutput
func (s *DeleteUserEndpointsOutput) SetEndpointsResponse(v *EndpointsResponse) *DeleteUserEndpointsOutput
type DeleteVoiceChannelInput
func (s *DeleteVoiceChannelInput) SetApplicationId(v string) *DeleteVoiceChannelInput
type DeleteVoiceChannelOutput
func (s *DeleteVoiceChannelOutput) SetVoiceChannelResponse(v *VoiceChannelResponse) *DeleteVoiceChannelOutput
type DirectMessageConfiguration
func (s *DirectMessageConfiguration) SetADMMessage(v *ADMMessage) *DirectMessageConfiguration
func (s *DirectMessageConfiguration) SetAPNSMessage(v *APNSMessage) *DirectMessageConfiguration
func (s *DirectMessageConfiguration) SetBaiduMessage(v *BaiduMessage) *DirectMessageConfiguration
func (s *DirectMessageConfiguration) SetDefaultMessage(v *DefaultMessage) *DirectMessageConfiguration
func (s *DirectMessageConfiguration) SetDefaultPushNotificationMessage(v *DefaultPushNotificationMessage) *DirectMessageConfiguration
func (s *DirectMessageConfiguration) SetEmailMessage(v *EmailMessage) *DirectMessageConfiguration
func (s *DirectMessageConfiguration) SetGCMMessage(v *GCMMessage) *DirectMessageConfiguration
func (s *DirectMessageConfiguration) SetSMSMessage(v *SMSMessage) *DirectMessageConfiguration
func (s *DirectMessageConfiguration) SetVoiceMessage(v *VoiceMessage) *DirectMessageConfiguration
type EmailChannelRequest
func (s *EmailChannelRequest) SetConfigurationSet(v string) *EmailChannelRequest
func (s *EmailChannelRequest) SetEnabled(v bool) *EmailChannelRequest
func (s *EmailChannelRequest) SetFromAddress(v string) *EmailChannelRequest
func (s *EmailChannelRequest) SetIdentity(v string) *EmailChannelRequest
func (s *EmailChannelRequest) SetRoleArn(v string) *EmailChannelRequest
type EmailChannelResponse
func (s *EmailChannelResponse) SetApplicationId(v string) *EmailChannelResponse
func (s *EmailChannelResponse) SetConfigurationSet(v string) *EmailChannelResponse
func (s *EmailChannelResponse) SetCreationDate(v string) *EmailChannelResponse
func (s *EmailChannelResponse) SetEnabled(v bool) *EmailChannelResponse
func (s *EmailChannelResponse) SetFromAddress(v string) *EmailChannelResponse
func (s *EmailChannelResponse) SetHasCredential(v bool) *EmailChannelResponse
func (s *EmailChannelResponse) SetId(v string) *EmailChannelResponse
func (s *EmailChannelResponse) SetIdentity(v string) *EmailChannelResponse
func (s *EmailChannelResponse) SetIsArchived(v bool) *EmailChannelResponse
func (s *EmailChannelResponse) SetLastModifiedBy(v string) *EmailChannelResponse
func (s *EmailChannelResponse) SetLastModifiedDate(v string) *EmailChannelResponse
func (s *EmailChannelResponse) SetMessagesPerSecond(v int64) *EmailChannelResponse
func (s *EmailChannelResponse) SetPlatform(v string) *EmailChannelResponse
func (s *EmailChannelResponse) SetRoleArn(v string) *EmailChannelResponse
func (s *EmailChannelResponse) SetVersion(v int64) *EmailChannelResponse
type EmailMessage
func (s *EmailMessage) SetBody(v string) *EmailMessage
func (s *EmailMessage) SetFeedbackForwardingAddress(v string) *EmailMessage
func (s *EmailMessage) SetFromAddress(v string) *EmailMessage
func (s *EmailMessage) SetRawEmail(v *RawEmail) *EmailMessage
func (s *EmailMessage) SetReplyToAddresses(v []*string) *EmailMessage
func (s *EmailMessage) SetSimpleEmail(v *SimpleEmail) *EmailMessage
func (s *EmailMessage) SetSubstitutions(v map[string][]*string) *EmailMessage
type EndpointBatchItem
func (s *EndpointBatchItem) SetAddress(v string) *EndpointBatchItem
func (s *EndpointBatchItem) SetAttributes(v map[string][]*string) *EndpointBatchItem
func (s *EndpointBatchItem) SetChannelType(v string) *EndpointBatchItem
func (s *EndpointBatchItem) SetDemographic(v *EndpointDemographic) *EndpointBatchItem
func (s *EndpointBatchItem) SetEffectiveDate(v string) *EndpointBatchItem
func (s *EndpointBatchItem) SetEndpointStatus(v string) *EndpointBatchItem
func (s *EndpointBatchItem) SetId(v string) *EndpointBatchItem
func (s *EndpointBatchItem) SetLocation(v *EndpointLocation) *EndpointBatchItem
func (s *EndpointBatchItem) SetMetrics(v map[string]*float64) *EndpointBatchItem
func (s *EndpointBatchItem) SetOptOut(v string) *EndpointBatchItem
func (s *EndpointBatchItem) SetRequestId(v string) *EndpointBatchItem
func (s *EndpointBatchItem) SetUser(v *EndpointUser) *EndpointBatchItem
type EndpointBatchRequest
func (s *EndpointBatchRequest) SetItem(v []*EndpointBatchItem) *EndpointBatchRequest
type EndpointDemographic
func (s *EndpointDemographic) SetAppVersion(v string) *EndpointDemographic
func (s *EndpointDemographic) SetLocale(v string) *EndpointDemographic
func (s *EndpointDemographic) SetMake(v string) *EndpointDemographic
func (s *EndpointDemographic) SetModel(v string) *EndpointDemographic
func (s *EndpointDemographic) SetModelVersion(v string) *EndpointDemographic
func (s *EndpointDemographic) SetPlatform(v string) *EndpointDemographic
func (s *EndpointDemographic) SetPlatformVersion(v string) *EndpointDemographic
func (s *EndpointDemographic) SetTimezone(v string) *EndpointDemographic
type EndpointItemResponse
func (s *EndpointItemResponse) SetMessage(v string) *EndpointItemResponse
func (s *EndpointItemResponse) SetStatusCode(v int64) *EndpointItemResponse
type EndpointLocation
func (s *EndpointLocation) SetCity(v string) *EndpointLocation
func (s *EndpointLocation) SetCountry(v string) *EndpointLocation
func (s *EndpointLocation) SetLatitude(v float64) *EndpointLocation
func (s *EndpointLocation) SetLongitude(v float64) *EndpointLocation
func (s *EndpointLocation) SetPostalCode(v string) *EndpointLocation
func (s *EndpointLocation) SetRegion(v string) *EndpointLocation
type EndpointMessageResult
func (s *EndpointMessageResult) SetAddress(v string) *EndpointMessageResult
func (s *EndpointMessageResult) SetDeliveryStatus(v string) *EndpointMessageResult
func (s *EndpointMessageResult) SetMessageId(v string) *EndpointMessageResult
func (s *EndpointMessageResult) SetStatusCode(v int64) *EndpointMessageResult
func (s *EndpointMessageResult) SetStatusMessage(v string) *EndpointMessageResult
func (s *EndpointMessageResult) SetUpdatedToken(v string) *EndpointMessageResult
type EndpointRequest
func (s *EndpointRequest) SetAddress(v string) *EndpointRequest
func (s *EndpointRequest) SetAttributes(v map[string][]*string) *EndpointRequest
func (s *EndpointRequest) SetChannelType(v string) *EndpointRequest
func (s *EndpointRequest) SetDemographic(v *EndpointDemographic) *EndpointRequest
func (s *EndpointRequest) SetEffectiveDate(v string) *EndpointRequest
func (s *EndpointRequest) SetEndpointStatus(v string) *EndpointRequest
func (s *EndpointRequest) SetLocation(v *EndpointLocation) *EndpointRequest
func (s *EndpointRequest) SetMetrics(v map[string]*float64) *EndpointRequest
func (s *EndpointRequest) SetOptOut(v string) *EndpointRequest
func (s *EndpointRequest) SetRequestId(v string) *EndpointRequest
func (s *EndpointRequest) SetUser(v *EndpointUser) *EndpointRequest
type EndpointResponse
func (s *EndpointResponse) SetAddress(v string) *EndpointResponse
func (s *EndpointResponse) SetApplicationId(v string) *EndpointResponse
func (s *EndpointResponse) SetAttributes(v map[string][]*string) *EndpointResponse
func (s *EndpointResponse) SetChannelType(v string) *EndpointResponse
func (s *EndpointResponse) SetCohortId(v string) *EndpointResponse
func (s *EndpointResponse) SetCreationDate(v string) *EndpointResponse
func (s *EndpointResponse) SetDemographic(v *EndpointDemographic) *EndpointResponse
func (s *EndpointResponse) SetEffectiveDate(v string) *EndpointResponse
func (s *EndpointResponse) SetEndpointStatus(v string) *EndpointResponse
func (s *EndpointResponse) SetId(v string) *EndpointResponse
func (s *EndpointResponse) SetLocation(v *EndpointLocation) *EndpointResponse
func (s *EndpointResponse) SetMetrics(v map[string]*float64) *EndpointResponse
func (s *EndpointResponse) SetOptOut(v string) *EndpointResponse
func (s *EndpointResponse) SetRequestId(v string) *EndpointResponse
func (s *EndpointResponse) SetUser(v *EndpointUser) *EndpointResponse
type EndpointSendConfiguration
func (s *EndpointSendConfiguration) SetBodyOverride(v string) *EndpointSendConfiguration
func (s *EndpointSendConfiguration) SetContext(v map[string]*string) *EndpointSendConfiguration
func (s *EndpointSendConfiguration) SetRawContent(v string) *EndpointSendConfiguration
func (s *EndpointSendConfiguration) SetSubstitutions(v map[string][]*string) *EndpointSendConfiguration
func (s *EndpointSendConfiguration) SetTitleOverride(v string) *EndpointSendConfiguration
type EndpointUser
func (s *EndpointUser) SetUserAttributes(v map[string][]*string) *EndpointUser
func (s *EndpointUser) SetUserId(v string) *EndpointUser
type EndpointsResponse
func (s *EndpointsResponse) SetItem(v []*EndpointResponse) *EndpointsResponse
type Event
func (s *Event) SetAppPackageName(v string) *Event
func (s *Event) SetAppTitle(v string) *Event
func (s *Event) SetAppVersionCode(v string) *Event
func (s *Event) SetAttributes(v map[string]*string) *Event
func (s *Event) SetClientSdkVersion(v string) *Event
func (s *Event) SetEventType(v string) *Event
func (s *Event) SetMetrics(v map[string]*float64) *Event
func (s *Event) SetSdkName(v string) *Event
func (s *Event) SetSession(v *Session) *Event
func (s *Event) SetTimestamp(v string) *Event
type EventDimensions
func (s *EventDimensions) SetAttributes(v map[string]*AttributeDimension) *EventDimensions
func (s *EventDimensions) SetEventType(v *SetDimension) *EventDimensions
func (s *EventDimensions) SetMetrics(v map[string]*MetricDimension) *EventDimensions
type EventItemResponse
func (s *EventItemResponse) SetMessage(v string) *EventItemResponse
func (s *EventItemResponse) SetStatusCode(v int64) *EventItemResponse
type EventStream
func (s *EventStream) SetApplicationId(v string) *EventStream
func (s *EventStream) SetDestinationStreamArn(v string) *EventStream
func (s *EventStream) SetExternalId(v string) *EventStream
func (s *EventStream) SetLastModifiedDate(v string) *EventStream
func (s *EventStream) SetLastUpdatedBy(v string) *EventStream
func (s *EventStream) SetRoleArn(v string) *EventStream
type EventsBatch
func (s *EventsBatch) SetEndpoint(v *PublicEndpoint) *EventsBatch
func (s *EventsBatch) SetEvents(v map[string]*Event) *EventsBatch
type EventsRequest
func (s *EventsRequest) SetBatchItem(v map[string]*EventsBatch) *EventsRequest
type EventsResponse
func (s *EventsResponse) SetResults(v map[string]*ItemResponse) *EventsResponse
type ExportJobRequest
func (s *ExportJobRequest) SetRoleArn(v string) *ExportJobRequest
func (s *ExportJobRequest) SetS3UrlPrefix(v string) *ExportJobRequest
func (s *ExportJobRequest) SetSegmentId(v string) *ExportJobRequest
func (s *ExportJobRequest) SetSegmentVersion(v int64) *ExportJobRequest
type ExportJobResource
func (s *ExportJobResource) SetRoleArn(v string) *ExportJobResource
func (s *ExportJobResource) SetS3UrlPrefix(v string) *ExportJobResource
func (s *ExportJobResource) SetSegmentId(v string) *ExportJobResource
func (s *ExportJobResource) SetSegmentVersion(v int64) *ExportJobResource
type ExportJobResponse
func (s *ExportJobResponse) SetApplicationId(v string) *ExportJobResponse
func (s *ExportJobResponse) SetCompletedPieces(v int64) *ExportJobResponse
func (s *ExportJobResponse) SetCompletionDate(v string) *ExportJobResponse
func (s *ExportJobResponse) SetCreationDate(v string) *ExportJobResponse
func (s *ExportJobResponse) SetDefinition(v *ExportJobResource) *ExportJobResponse
func (s *ExportJobResponse) SetFailedPieces(v int64) *ExportJobResponse
func (s *ExportJobResponse) SetFailures(v []*string) *ExportJobResponse
func (s *ExportJobResponse) SetId(v string) *ExportJobResponse
func (s *ExportJobResponse) SetJobStatus(v string) *ExportJobResponse
func (s *ExportJobResponse) SetTotalFailures(v int64) *ExportJobResponse
func (s *ExportJobResponse) SetTotalPieces(v int64) *ExportJobResponse
func (s *ExportJobResponse) SetTotalProcessed(v int64) *ExportJobResponse
func (s *ExportJobResponse) SetType(v string) *ExportJobResponse
type ExportJobsResponse
func (s *ExportJobsResponse) SetItem(v []*ExportJobResponse) *ExportJobsResponse
func (s *ExportJobsResponse) SetNextToken(v string) *ExportJobsResponse
type GCMChannelRequest
func (s *GCMChannelRequest) SetApiKey(v string) *GCMChannelRequest
func (s *GCMChannelRequest) SetEnabled(v bool) *GCMChannelRequest
type GCMChannelResponse
func (s *GCMChannelResponse) SetApplicationId(v string) *GCMChannelResponse
func (s *GCMChannelResponse) SetCreationDate(v string) *GCMChannelResponse
func (s *GCMChannelResponse) SetCredential(v string) *GCMChannelResponse
func (s *GCMChannelResponse) SetEnabled(v bool) *GCMChannelResponse
func (s *GCMChannelResponse) SetHasCredential(v bool) *GCMChannelResponse
func (s *GCMChannelResponse) SetId(v string) *GCMChannelResponse
func (s *GCMChannelResponse) SetIsArchived(v bool) *GCMChannelResponse
func (s *GCMChannelResponse) SetLastModifiedBy(v string) *GCMChannelResponse
func (s *GCMChannelResponse) SetLastModifiedDate(v string) *GCMChannelResponse
func (s *GCMChannelResponse) SetPlatform(v string) *GCMChannelResponse
func (s *GCMChannelResponse) SetVersion(v int64) *GCMChannelResponse
type GCMMessage
func (s *GCMMessage) SetAction(v string) *GCMMessage
func (s *GCMMessage) SetBody(v string) *GCMMessage
func (s *GCMMessage) SetCollapseKey(v string) *GCMMessage
func (s *GCMMessage) SetData(v map[string]*string) *GCMMessage
func (s *GCMMessage) SetIconReference(v string) *GCMMessage
func (s *GCMMessage) SetImageIconUrl(v string) *GCMMessage
func (s *GCMMessage) SetImageUrl(v string) *GCMMessage
func (s *GCMMessage) SetPriority(v string) *GCMMessage
func (s *GCMMessage) SetRawContent(v string) *GCMMessage
func (s *GCMMessage) SetRestrictedPackageName(v string) *GCMMessage
func (s *GCMMessage) SetSilentPush(v bool) *GCMMessage
func (s *GCMMessage) SetSmallImageIconUrl(v string) *GCMMessage
func (s *GCMMessage) SetSound(v string) *GCMMessage
func (s *GCMMessage) SetSubstitutions(v map[string][]*string) *GCMMessage
func (s *GCMMessage) SetTimeToLive(v int64) *GCMMessage
func (s *GCMMessage) SetTitle(v string) *GCMMessage
func (s *GCMMessage) SetUrl(v string) *GCMMessage
type GPSCoordinates
func (s *GPSCoordinates) SetLatitude(v float64) *GPSCoordinates
func (s *GPSCoordinates) SetLongitude(v float64) *GPSCoordinates
type GPSPointDimension
func (s *GPSPointDimension) SetCoordinates(v *GPSCoordinates) *GPSPointDimension
func (s *GPSPointDimension) SetRangeInKilometers(v float64) *GPSPointDimension
type GetAdmChannelInput
func (s *GetAdmChannelInput) SetApplicationId(v string) *GetAdmChannelInput
type GetAdmChannelOutput
func (s *GetAdmChannelOutput) SetADMChannelResponse(v *ADMChannelResponse) *GetAdmChannelOutput
type GetApnsChannelInput
func (s *GetApnsChannelInput) SetApplicationId(v string) *GetApnsChannelInput
type GetApnsChannelOutput
func (s *GetApnsChannelOutput) SetAPNSChannelResponse(v *APNSChannelResponse) *GetApnsChannelOutput
type GetApnsSandboxChannelInput
func (s *GetApnsSandboxChannelInput) SetApplicationId(v string) *GetApnsSandboxChannelInput
type GetApnsSandboxChannelOutput
func (s *GetApnsSandboxChannelOutput) SetAPNSSandboxChannelResponse(v *APNSSandboxChannelResponse) *GetApnsSandboxChannelOutput
type GetApnsVoipChannelInput
func (s *GetApnsVoipChannelInput) SetApplicationId(v string) *GetApnsVoipChannelInput
type GetApnsVoipChannelOutput
func (s *GetApnsVoipChannelOutput) SetAPNSVoipChannelResponse(v *APNSVoipChannelResponse) *GetApnsVoipChannelOutput
type GetApnsVoipSandboxChannelInput
func (s *GetApnsVoipSandboxChannelInput) SetApplicationId(v string) *GetApnsVoipSandboxChannelInput
type GetApnsVoipSandboxChannelOutput
func (s *GetApnsVoipSandboxChannelOutput) SetAPNSVoipSandboxChannelResponse(v *APNSVoipSandboxChannelResponse) *GetApnsVoipSandboxChannelOutput
type GetAppInput
func (s *GetAppInput) SetApplicationId(v string) *GetAppInput
type GetAppOutput
func (s *GetAppOutput) SetApplicationResponse(v *ApplicationResponse) *GetAppOutput
type GetApplicationDateRangeKpiInput
func (s *GetApplicationDateRangeKpiInput) SetApplicationId(v string) *GetApplicationDateRangeKpiInput
func (s *GetApplicationDateRangeKpiInput) SetEndTime(v time.Time) *GetApplicationDateRangeKpiInput
func (s *GetApplicationDateRangeKpiInput) SetKpiName(v string) *GetApplicationDateRangeKpiInput
func (s *GetApplicationDateRangeKpiInput) SetNextToken(v string) *GetApplicationDateRangeKpiInput
func (s *GetApplicationDateRangeKpiInput) SetPageSize(v string) *GetApplicationDateRangeKpiInput
func (s *GetApplicationDateRangeKpiInput) SetStartTime(v time.Time) *GetApplicationDateRangeKpiInput
type GetApplicationDateRangeKpiOutput
func (s *GetApplicationDateRangeKpiOutput) SetApplicationDateRangeKpiResponse(v *ApplicationDateRangeKpiResponse) *GetApplicationDateRangeKpiOutput
type GetApplicationSettingsInput
func (s *GetApplicationSettingsInput) SetApplicationId(v string) *GetApplicationSettingsInput
type GetApplicationSettingsOutput
func (s *GetApplicationSettingsOutput) SetApplicationSettingsResource(v *ApplicationSettingsResource) *GetApplicationSettingsOutput
type GetAppsInput
func (s *GetAppsInput) SetPageSize(v string) *GetAppsInput
func (s *GetAppsInput) SetToken(v string) *GetAppsInput
type GetAppsOutput
func (s *GetAppsOutput) SetApplicationsResponse(v *ApplicationsResponse) *GetAppsOutput
type GetBaiduChannelInput
func (s *GetBaiduChannelInput) SetApplicationId(v string) *GetBaiduChannelInput
type GetBaiduChannelOutput
func (s *GetBaiduChannelOutput) SetBaiduChannelResponse(v *BaiduChannelResponse) *GetBaiduChannelOutput
type GetCampaignActivitiesInput
func (s *GetCampaignActivitiesInput) SetApplicationId(v string) *GetCampaignActivitiesInput
func (s *GetCampaignActivitiesInput) SetCampaignId(v string) *GetCampaignActivitiesInput
func (s *GetCampaignActivitiesInput) SetPageSize(v string) *GetCampaignActivitiesInput
func (s *GetCampaignActivitiesInput) SetToken(v string) *GetCampaignActivitiesInput
type GetCampaignActivitiesOutput
func (s *GetCampaignActivitiesOutput) SetActivitiesResponse(v *ActivitiesResponse) *GetCampaignActivitiesOutput
type GetCampaignDateRangeKpiInput
func (s *GetCampaignDateRangeKpiInput) SetApplicationId(v string) *GetCampaignDateRangeKpiInput
func (s *GetCampaignDateRangeKpiInput) SetCampaignId(v string) *GetCampaignDateRangeKpiInput
func (s *GetCampaignDateRangeKpiInput) SetEndTime(v time.Time) *GetCampaignDateRangeKpiInput
func (s *GetCampaignDateRangeKpiInput) SetKpiName(v string) *GetCampaignDateRangeKpiInput
func (s *GetCampaignDateRangeKpiInput) SetNextToken(v string) *GetCampaignDateRangeKpiInput
func (s *GetCampaignDateRangeKpiInput) SetPageSize(v string) *GetCampaignDateRangeKpiInput
func (s *GetCampaignDateRangeKpiInput) SetStartTime(v time.Time) *GetCampaignDateRangeKpiInput
type GetCampaignDateRangeKpiOutput
func (s *GetCampaignDateRangeKpiOutput) SetCampaignDateRangeKpiResponse(v *CampaignDateRangeKpiResponse) *GetCampaignDateRangeKpiOutput
type GetCampaignInput
func (s *GetCampaignInput) SetApplicationId(v string) *GetCampaignInput
func (s *GetCampaignInput) SetCampaignId(v string) *GetCampaignInput
type GetCampaignOutput
func (s *GetCampaignOutput) SetCampaignResponse(v *CampaignResponse) *GetCampaignOutput
type GetCampaignVersionInput
func (s *GetCampaignVersionInput) SetApplicationId(v string) *GetCampaignVersionInput
func (s *GetCampaignVersionInput) SetCampaignId(v string) *GetCampaignVersionInput
func (s *GetCampaignVersionInput) SetVersion(v string) *GetCampaignVersionInput
type GetCampaignVersionOutput
func (s *GetCampaignVersionOutput) SetCampaignResponse(v *CampaignResponse) *GetCampaignVersionOutput
type GetCampaignVersionsInput
func (s *GetCampaignVersionsInput) SetApplicationId(v string) *GetCampaignVersionsInput
func (s *GetCampaignVersionsInput) SetCampaignId(v string) *GetCampaignVersionsInput
func (s *GetCampaignVersionsInput) SetPageSize(v string) *GetCampaignVersionsInput
func (s *GetCampaignVersionsInput) SetToken(v string) *GetCampaignVersionsInput
type GetCampaignVersionsOutput
func (s *GetCampaignVersionsOutput) SetCampaignsResponse(v *CampaignsResponse) *GetCampaignVersionsOutput
type GetCampaignsInput
func (s *GetCampaignsInput) SetApplicationId(v string) *GetCampaignsInput
func (s *GetCampaignsInput) SetPageSize(v string) *GetCampaignsInput
func (s *GetCampaignsInput) SetToken(v string) *GetCampaignsInput
type GetCampaignsOutput
func (s *GetCampaignsOutput) SetCampaignsResponse(v *CampaignsResponse) *GetCampaignsOutput
type GetChannelsInput
func (s *GetChannelsInput) SetApplicationId(v string) *GetChannelsInput
type GetChannelsOutput
func (s *GetChannelsOutput) SetChannelsResponse(v *ChannelsResponse) *GetChannelsOutput
type GetEmailChannelInput
func (s *GetEmailChannelInput) SetApplicationId(v string) *GetEmailChannelInput
type GetEmailChannelOutput
func (s *GetEmailChannelOutput) SetEmailChannelResponse(v *EmailChannelResponse) *GetEmailChannelOutput
type GetEndpointInput
func (s *GetEndpointInput) SetApplicationId(v string) *GetEndpointInput
func (s *GetEndpointInput) SetEndpointId(v string) *GetEndpointInput
type GetEndpointOutput
func (s *GetEndpointOutput) SetEndpointResponse(v *EndpointResponse) *GetEndpointOutput
type GetEventStreamInput
func (s *GetEventStreamInput) SetApplicationId(v string) *GetEventStreamInput
type GetEventStreamOutput
func (s *GetEventStreamOutput) SetEventStream(v *EventStream) *GetEventStreamOutput
type GetExportJobInput
func (s *GetExportJobInput) SetApplicationId(v string) *GetExportJobInput
func (s *GetExportJobInput) SetJobId(v string) *GetExportJobInput
type GetExportJobOutput
func (s *GetExportJobOutput) SetExportJobResponse(v *ExportJobResponse) *GetExportJobOutput
type GetExportJobsInput
func (s *GetExportJobsInput) SetApplicationId(v string) *GetExportJobsInput
func (s *GetExportJobsInput) SetPageSize(v string) *GetExportJobsInput
func (s *GetExportJobsInput) SetToken(v string) *GetExportJobsInput
type GetExportJobsOutput
func (s *GetExportJobsOutput) SetExportJobsResponse(v *ExportJobsResponse) *GetExportJobsOutput
type GetGcmChannelInput
func (s *GetGcmChannelInput) SetApplicationId(v string) *GetGcmChannelInput
type GetGcmChannelOutput
func (s *GetGcmChannelOutput) SetGCMChannelResponse(v *GCMChannelResponse) *GetGcmChannelOutput
type GetImportJobInput
func (s *GetImportJobInput) SetApplicationId(v string) *GetImportJobInput
func (s *GetImportJobInput) SetJobId(v string) *GetImportJobInput
type GetImportJobOutput
func (s *GetImportJobOutput) SetImportJobResponse(v *ImportJobResponse) *GetImportJobOutput
type GetImportJobsInput
func (s *GetImportJobsInput) SetApplicationId(v string) *GetImportJobsInput
func (s *GetImportJobsInput) SetPageSize(v string) *GetImportJobsInput
func (s *GetImportJobsInput) SetToken(v string) *GetImportJobsInput
type GetImportJobsOutput
func (s *GetImportJobsOutput) SetImportJobsResponse(v *ImportJobsResponse) *GetImportJobsOutput
type GetSegmentExportJobsInput
func (s *GetSegmentExportJobsInput) SetApplicationId(v string) *GetSegmentExportJobsInput
func (s *GetSegmentExportJobsInput) SetPageSize(v string) *GetSegmentExportJobsInput
func (s *GetSegmentExportJobsInput) SetSegmentId(v string) *GetSegmentExportJobsInput
func (s *GetSegmentExportJobsInput) SetToken(v string) *GetSegmentExportJobsInput
type GetSegmentExportJobsOutput
func (s *GetSegmentExportJobsOutput) SetExportJobsResponse(v *ExportJobsResponse) *GetSegmentExportJobsOutput
type GetSegmentImportJobsInput
func (s *GetSegmentImportJobsInput) SetApplicationId(v string) *GetSegmentImportJobsInput
func (s *GetSegmentImportJobsInput) SetPageSize(v string) *GetSegmentImportJobsInput
func (s *GetSegmentImportJobsInput) SetSegmentId(v string) *GetSegmentImportJobsInput
func (s *GetSegmentImportJobsInput) SetToken(v string) *GetSegmentImportJobsInput
type GetSegmentImportJobsOutput
func (s *GetSegmentImportJobsOutput) SetImportJobsResponse(v *ImportJobsResponse) *GetSegmentImportJobsOutput
type GetSegmentInput
func (s *GetSegmentInput) SetApplicationId(v string) *GetSegmentInput
func (s *GetSegmentInput) SetSegmentId(v string) *GetSegmentInput
type GetSegmentOutput
func (s *GetSegmentOutput) SetSegmentResponse(v *SegmentResponse) *GetSegmentOutput
type GetSegmentVersionInput
func (s *GetSegmentVersionInput) SetApplicationId(v string) *GetSegmentVersionInput
func (s *GetSegmentVersionInput) SetSegmentId(v string) *GetSegmentVersionInput
func (s *GetSegmentVersionInput) SetVersion(v string) *GetSegmentVersionInput
type GetSegmentVersionOutput
func (s *GetSegmentVersionOutput) SetSegmentResponse(v *SegmentResponse) *GetSegmentVersionOutput
type GetSegmentVersionsInput
func (s *GetSegmentVersionsInput) SetApplicationId(v string) *GetSegmentVersionsInput
func (s *GetSegmentVersionsInput) SetPageSize(v string) *GetSegmentVersionsInput
func (s *GetSegmentVersionsInput) SetSegmentId(v string) *GetSegmentVersionsInput
func (s *GetSegmentVersionsInput) SetToken(v string) *GetSegmentVersionsInput
type GetSegmentVersionsOutput
func (s *GetSegmentVersionsOutput) SetSegmentsResponse(v *SegmentsResponse) *GetSegmentVersionsOutput
type GetSegmentsInput
func (s *GetSegmentsInput) SetApplicationId(v string) *GetSegmentsInput
func (s *GetSegmentsInput) SetPageSize(v string) *GetSegmentsInput
func (s *GetSegmentsInput) SetToken(v string) *GetSegmentsInput
type GetSegmentsOutput
func (s *GetSegmentsOutput) SetSegmentsResponse(v *SegmentsResponse) *GetSegmentsOutput
type GetSmsChannelInput
func (s *GetSmsChannelInput) SetApplicationId(v string) *GetSmsChannelInput
type GetSmsChannelOutput
func (s *GetSmsChannelOutput) SetSMSChannelResponse(v *SMSChannelResponse) *GetSmsChannelOutput
type GetUserEndpointsInput
func (s *GetUserEndpointsInput) SetApplicationId(v string) *GetUserEndpointsInput
func (s *GetUserEndpointsInput) SetUserId(v string) *GetUserEndpointsInput
type GetUserEndpointsOutput
func (s *GetUserEndpointsOutput) SetEndpointsResponse(v *EndpointsResponse) *GetUserEndpointsOutput
type GetVoiceChannelInput
func (s *GetVoiceChannelInput) SetApplicationId(v string) *GetVoiceChannelInput
type GetVoiceChannelOutput
func (s *GetVoiceChannelOutput) SetVoiceChannelResponse(v *VoiceChannelResponse) *GetVoiceChannelOutput
type ImportJobRequest
func (s *ImportJobRequest) SetDefineSegment(v bool) *ImportJobRequest
func (s *ImportJobRequest) SetExternalId(v string) *ImportJobRequest
func (s *ImportJobRequest) SetFormat(v string) *ImportJobRequest
func (s *ImportJobRequest) SetRegisterEndpoints(v bool) *ImportJobRequest
func (s *ImportJobRequest) SetRoleArn(v string) *ImportJobRequest
func (s *ImportJobRequest) SetS3Url(v string) *ImportJobRequest
func (s *ImportJobRequest) SetSegmentId(v string) *ImportJobRequest
func (s *ImportJobRequest) SetSegmentName(v string) *ImportJobRequest
type ImportJobResource
func (s *ImportJobResource) SetDefineSegment(v bool) *ImportJobResource
func (s *ImportJobResource) SetExternalId(v string) *ImportJobResource
func (s *ImportJobResource) SetFormat(v string) *ImportJobResource
func (s *ImportJobResource) SetRegisterEndpoints(v bool) *ImportJobResource
func (s *ImportJobResource) SetRoleArn(v string) *ImportJobResource
func (s *ImportJobResource) SetS3Url(v string) *ImportJobResource
func (s *ImportJobResource) SetSegmentId(v string) *ImportJobResource
func (s *ImportJobResource) SetSegmentName(v string) *ImportJobResource
type ImportJobResponse
func (s *ImportJobResponse) SetApplicationId(v string) *ImportJobResponse
func (s *ImportJobResponse) SetCompletedPieces(v int64) *ImportJobResponse
func (s *ImportJobResponse) SetCompletionDate(v string) *ImportJobResponse
func (s *ImportJobResponse) SetCreationDate(v string) *ImportJobResponse
func (s *ImportJobResponse) SetDefinition(v *ImportJobResource) *ImportJobResponse
func (s *ImportJobResponse) SetFailedPieces(v int64) *ImportJobResponse
func (s *ImportJobResponse) SetFailures(v []*string) *ImportJobResponse
func (s *ImportJobResponse) SetId(v string) *ImportJobResponse
func (s *ImportJobResponse) SetJobStatus(v string) *ImportJobResponse
func (s *ImportJobResponse) SetTotalFailures(v int64) *ImportJobResponse
func (s *ImportJobResponse) SetTotalPieces(v int64) *ImportJobResponse
func (s *ImportJobResponse) SetTotalProcessed(v int64) *ImportJobResponse
func (s *ImportJobResponse) SetType(v string) *ImportJobResponse
type ImportJobsResponse
func (s *ImportJobsResponse) SetItem(v []*ImportJobResponse) *ImportJobsResponse
func (s *ImportJobsResponse) SetNextToken(v string) *ImportJobsResponse
type ItemResponse
func (s *ItemResponse) SetEndpointItemResponse(v *EndpointItemResponse) *ItemResponse
func (s *ItemResponse) SetEventsItemResponse(v map[string]*EventItemResponse) *ItemResponse
type ListTagsForResourceInput
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
type ListTagsForResourceOutput
func (s *ListTagsForResourceOutput) SetTagsModel(v *TagsModel) *ListTagsForResourceOutput
type Message
func (s *Message) SetAction(v string) *Message
func (s *Message) SetBody(v string) *Message
func (s *Message) SetImageIconUrl(v string) *Message
func (s *Message) SetImageSmallIconUrl(v string) *Message
func (s *Message) SetImageUrl(v string) *Message
func (s *Message) SetJsonBody(v string) *Message
func (s *Message) SetMediaUrl(v string) *Message
func (s *Message) SetRawContent(v string) *Message
func (s *Message) SetSilentPush(v bool) *Message
func (s *Message) SetTimeToLive(v int64) *Message
func (s *Message) SetTitle(v string) *Message
func (s *Message) SetUrl(v string) *Message
type MessageBody
func (s *MessageBody) SetMessage(v string) *MessageBody
func (s *MessageBody) SetRequestID(v string) *MessageBody
type MessageConfiguration
func (s *MessageConfiguration) SetADMMessage(v *Message) *MessageConfiguration
func (s *MessageConfiguration) SetAPNSMessage(v *Message) *MessageConfiguration
func (s *MessageConfiguration) SetBaiduMessage(v *Message) *MessageConfiguration
func (s *MessageConfiguration) SetDefaultMessage(v *Message) *MessageConfiguration
func (s *MessageConfiguration) SetEmailMessage(v *CampaignEmailMessage) *MessageConfiguration
func (s *MessageConfiguration) SetGCMMessage(v *Message) *MessageConfiguration
func (s *MessageConfiguration) SetSMSMessage(v *CampaignSmsMessage) *MessageConfiguration
type MessageRequest
func (s *MessageRequest) SetAddresses(v map[string]*AddressConfiguration) *MessageRequest
func (s *MessageRequest) SetContext(v map[string]*string) *MessageRequest
func (s *MessageRequest) SetEndpoints(v map[string]*EndpointSendConfiguration) *MessageRequest
func (s *MessageRequest) SetMessageConfiguration(v *DirectMessageConfiguration) *MessageRequest
func (s *MessageRequest) SetTraceId(v string) *MessageRequest
type MessageResponse
func (s *MessageResponse) SetApplicationId(v string) *MessageResponse
func (s *MessageResponse) SetEndpointResult(v map[string]*EndpointMessageResult) *MessageResponse
func (s *MessageResponse) SetRequestId(v string) *MessageResponse
func (s *MessageResponse) SetResult(v map[string]*MessageResult) *MessageResponse
type MessageResult
func (s *MessageResult) SetDeliveryStatus(v string) *MessageResult
func (s *MessageResult) SetMessageId(v string) *MessageResult
func (s *MessageResult) SetStatusCode(v int64) *MessageResult
func (s *MessageResult) SetStatusMessage(v string) *MessageResult
func (s *MessageResult) SetUpdatedToken(v string) *MessageResult
type MetricDimension
func (s *MetricDimension) SetComparisonOperator(v string) *MetricDimension
func (s *MetricDimension) SetValue(v float64) *MetricDimension
type NumberValidateRequest
func (s *NumberValidateRequest) SetIsoCountryCode(v string) *NumberValidateRequest
func (s *NumberValidateRequest) SetPhoneNumber(v string) *NumberValidateRequest
type NumberValidateResponse
func (s *NumberValidateResponse) SetCarrier(v string) *NumberValidateResponse
func (s *NumberValidateResponse) SetCity(v string) *NumberValidateResponse
func (s *NumberValidateResponse) SetCleansedPhoneNumberE164(v string) *NumberValidateResponse
func (s *NumberValidateResponse) SetCleansedPhoneNumberNational(v string) *NumberValidateResponse
func (s *NumberValidateResponse) SetCountry(v string) *NumberValidateResponse
func (s *NumberValidateResponse) SetCountryCodeIso2(v string) *NumberValidateResponse
func (s *NumberValidateResponse) SetCountryCodeNumeric(v string) *NumberValidateResponse
func (s *NumberValidateResponse) SetCounty(v string) *NumberValidateResponse
func (s *NumberValidateResponse) SetOriginalCountryCodeIso2(v string) *NumberValidateResponse
func (s *NumberValidateResponse) SetOriginalPhoneNumber(v string) *NumberValidateResponse
func (s *NumberValidateResponse) SetPhoneType(v string) *NumberValidateResponse
func (s *NumberValidateResponse) SetPhoneTypeCode(v int64) *NumberValidateResponse
func (s *NumberValidateResponse) SetTimezone(v string) *NumberValidateResponse
func (s *NumberValidateResponse) SetZipCode(v string) *NumberValidateResponse
type PhoneNumberValidateInput
func (s *PhoneNumberValidateInput) SetNumberValidateRequest(v *NumberValidateRequest) *PhoneNumberValidateInput
type PhoneNumberValidateOutput
func (s *PhoneNumberValidateOutput) SetNumberValidateResponse(v *NumberValidateResponse) *PhoneNumberValidateOutput
type Pinpoint
type PublicEndpoint
func (s *PublicEndpoint) SetAddress(v string) *PublicEndpoint
func (s *PublicEndpoint) SetAttributes(v map[string][]*string) *PublicEndpoint
func (s *PublicEndpoint) SetChannelType(v string) *PublicEndpoint
func (s *PublicEndpoint) SetDemographic(v *EndpointDemographic) *PublicEndpoint
func (s *PublicEndpoint) SetEffectiveDate(v string) *PublicEndpoint
func (s *PublicEndpoint) SetEndpointStatus(v string) *PublicEndpoint
func (s *PublicEndpoint) SetLocation(v *EndpointLocation) *PublicEndpoint
func (s *PublicEndpoint) SetMetrics(v map[string]*float64) *PublicEndpoint
func (s *PublicEndpoint) SetOptOut(v string) *PublicEndpoint
func (s *PublicEndpoint) SetRequestId(v string) *PublicEndpoint
func (s *PublicEndpoint) SetUser(v *EndpointUser) *PublicEndpoint
type PutEventStreamInput
func (s *PutEventStreamInput) SetApplicationId(v string) *PutEventStreamInput
func (s *PutEventStreamInput) SetWriteEventStream(v *WriteEventStream) *PutEventStreamInput
type PutEventStreamOutput
func (s *PutEventStreamOutput) SetEventStream(v *EventStream) *PutEventStreamOutput
type PutEventsInput
func (s *PutEventsInput) SetApplicationId(v string) *PutEventsInput
func (s *PutEventsInput) SetEventsRequest(v *EventsRequest) *PutEventsInput
type PutEventsOutput
func (s *PutEventsOutput) SetEventsResponse(v *EventsResponse) *PutEventsOutput
type QuietTime
func (s *QuietTime) SetEnd(v string) *QuietTime
func (s *QuietTime) SetStart(v string) *QuietTime
type RawEmail
func (s *RawEmail) SetData(v []byte) *RawEmail
type RecencyDimension
func (s *RecencyDimension) SetDuration(v string) *RecencyDimension
func (s *RecencyDimension) SetRecencyType(v string) *RecencyDimension
type RemoveAttributesInput
func (s *RemoveAttributesInput) SetApplicationId(v string) *RemoveAttributesInput
func (s *RemoveAttributesInput) SetAttributeType(v string) *RemoveAttributesInput
func (s *RemoveAttributesInput) SetUpdateAttributesRequest(v *UpdateAttributesRequest) *RemoveAttributesInput
type RemoveAttributesOutput
func (s *RemoveAttributesOutput) SetAttributesResource(v *AttributesResource) *RemoveAttributesOutput
type ResultRow
func (s *ResultRow) SetGroupedBys(v []*ResultRowValue) *ResultRow
func (s *ResultRow) SetValues(v []*ResultRowValue) *ResultRow
type ResultRowValue
func (s *ResultRowValue) SetKey(v string) *ResultRowValue
func (s *ResultRowValue) SetType(v string) *ResultRowValue
func (s *ResultRowValue) SetValue(v string) *ResultRowValue
type SMSChannelRequest
func (s *SMSChannelRequest) SetEnabled(v bool) *SMSChannelRequest
func (s *SMSChannelRequest) SetSenderId(v string) *SMSChannelRequest
func (s *SMSChannelRequest) SetShortCode(v string) *SMSChannelRequest
type SMSChannelResponse
func (s *SMSChannelResponse) SetApplicationId(v string) *SMSChannelResponse
func (s *SMSChannelResponse) SetCreationDate(v string) *SMSChannelResponse
func (s *SMSChannelResponse) SetEnabled(v bool) *SMSChannelResponse
func (s *SMSChannelResponse) SetHasCredential(v bool) *SMSChannelResponse
func (s *SMSChannelResponse) SetId(v string) *SMSChannelResponse
func (s *SMSChannelResponse) SetIsArchived(v bool) *SMSChannelResponse
func (s *SMSChannelResponse) SetLastModifiedBy(v string) *SMSChannelResponse
func (s *SMSChannelResponse) SetLastModifiedDate(v string) *SMSChannelResponse
func (s *SMSChannelResponse) SetPlatform(v string) *SMSChannelResponse
func (s *SMSChannelResponse) SetPromotionalMessagesPerSecond(v int64) *SMSChannelResponse
func (s *SMSChannelResponse) SetSenderId(v string) *SMSChannelResponse
func (s *SMSChannelResponse) SetShortCode(v string) *SMSChannelResponse
func (s *SMSChannelResponse) SetTransactionalMessagesPerSecond(v int64) *SMSChannelResponse
func (s *SMSChannelResponse) SetVersion(v int64) *SMSChannelResponse
type SMSMessage
func (s *SMSMessage) SetBody(v string) *SMSMessage
func (s *SMSMessage) SetKeyword(v string) *SMSMessage
func (s *SMSMessage) SetMessageType(v string) *SMSMessage
func (s *SMSMessage) SetOriginationNumber(v string) *SMSMessage
func (s *SMSMessage) SetSenderId(v string) *SMSMessage
func (s *SMSMessage) SetSubstitutions(v map[string][]*string) *SMSMessage
type Schedule
func (s *Schedule) SetEndTime(v string) *Schedule
func (s *Schedule) SetEventFilter(v *CampaignEventFilter) *Schedule
func (s *Schedule) SetFrequency(v string) *Schedule
func (s *Schedule) SetIsLocalTime(v bool) *Schedule
func (s *Schedule) SetQuietTime(v *QuietTime) *Schedule
func (s *Schedule) SetStartTime(v string) *Schedule
func (s *Schedule) SetTimezone(v string) *Schedule
type SegmentBehaviors
func (s *SegmentBehaviors) SetRecency(v *RecencyDimension) *SegmentBehaviors
type SegmentDemographics
func (s *SegmentDemographics) SetAppVersion(v *SetDimension) *SegmentDemographics
func (s *SegmentDemographics) SetChannel(v *SetDimension) *SegmentDemographics
func (s *SegmentDemographics) SetDeviceType(v *SetDimension) *SegmentDemographics
func (s *SegmentDemographics) SetMake(v *SetDimension) *SegmentDemographics
func (s *SegmentDemographics) SetModel(v *SetDimension) *SegmentDemographics
func (s *SegmentDemographics) SetPlatform(v *SetDimension) *SegmentDemographics
type SegmentDimensions
func (s *SegmentDimensions) SetAttributes(v map[string]*AttributeDimension) *SegmentDimensions
func (s *SegmentDimensions) SetBehavior(v *SegmentBehaviors) *SegmentDimensions
func (s *SegmentDimensions) SetDemographic(v *SegmentDemographics) *SegmentDimensions
func (s *SegmentDimensions) SetLocation(v *SegmentLocation) *SegmentDimensions
func (s *SegmentDimensions) SetMetrics(v map[string]*MetricDimension) *SegmentDimensions
func (s *SegmentDimensions) SetUserAttributes(v map[string]*AttributeDimension) *SegmentDimensions
type SegmentGroup
func (s *SegmentGroup) SetDimensions(v []*SegmentDimensions) *SegmentGroup
func (s *SegmentGroup) SetSourceSegments(v []*SegmentReference) *SegmentGroup
func (s *SegmentGroup) SetSourceType(v string) *SegmentGroup
func (s *SegmentGroup) SetType(v string) *SegmentGroup
type SegmentGroupList
func (s *SegmentGroupList) SetGroups(v []*SegmentGroup) *SegmentGroupList
func (s *SegmentGroupList) SetInclude(v string) *SegmentGroupList
type SegmentImportResource
func (s *SegmentImportResource) SetChannelCounts(v map[string]*int64) *SegmentImportResource
func (s *SegmentImportResource) SetExternalId(v string) *SegmentImportResource
func (s *SegmentImportResource) SetFormat(v string) *SegmentImportResource
func (s *SegmentImportResource) SetRoleArn(v string) *SegmentImportResource
func (s *SegmentImportResource) SetS3Url(v string) *SegmentImportResource
func (s *SegmentImportResource) SetSize(v int64) *SegmentImportResource
type SegmentLocation
func (s *SegmentLocation) SetCountry(v *SetDimension) *SegmentLocation
func (s *SegmentLocation) SetGPSPoint(v *GPSPointDimension) *SegmentLocation
type SegmentReference
func (s *SegmentReference) SetId(v string) *SegmentReference
func (s *SegmentReference) SetVersion(v int64) *SegmentReference
type SegmentResponse
func (s *SegmentResponse) SetApplicationId(v string) *SegmentResponse
func (s *SegmentResponse) SetArn(v string) *SegmentResponse
func (s *SegmentResponse) SetCreationDate(v string) *SegmentResponse
func (s *SegmentResponse) SetDimensions(v *SegmentDimensions) *SegmentResponse
func (s *SegmentResponse) SetId(v string) *SegmentResponse
func (s *SegmentResponse) SetImportDefinition(v *SegmentImportResource) *SegmentResponse
func (s *SegmentResponse) SetLastModifiedDate(v string) *SegmentResponse
func (s *SegmentResponse) SetName(v string) *SegmentResponse
func (s *SegmentResponse) SetSegmentGroups(v *SegmentGroupList) *SegmentResponse
func (s *SegmentResponse) SetSegmentType(v string) *SegmentResponse
func (s *SegmentResponse) SetTags(v map[string]*string) *SegmentResponse
func (s *SegmentResponse) SetVersion(v int64) *SegmentResponse
type SegmentsResponse
func (s *SegmentsResponse) SetItem(v []*SegmentResponse) *SegmentsResponse
func (s *SegmentsResponse) SetNextToken(v string) *SegmentsResponse
type SendMessagesInput
func (s *SendMessagesInput) SetApplicationId(v string) *SendMessagesInput
func (s *SendMessagesInput) SetMessageRequest(v *MessageRequest) *SendMessagesInput
type SendMessagesOutput
func (s *SendMessagesOutput) SetMessageResponse(v *MessageResponse) *SendMessagesOutput
type SendUsersMessageRequest
func (s *SendUsersMessageRequest) SetContext(v map[string]*string) *SendUsersMessageRequest
func (s *SendUsersMessageRequest) SetMessageConfiguration(v *DirectMessageConfiguration) *SendUsersMessageRequest
func (s *SendUsersMessageRequest) SetTraceId(v string) *SendUsersMessageRequest
func (s *SendUsersMessageRequest) SetUsers(v map[string]*EndpointSendConfiguration) *SendUsersMessageRequest
type SendUsersMessageResponse
func (s *SendUsersMessageResponse) SetApplicationId(v string) *SendUsersMessageResponse
func (s *SendUsersMessageResponse) SetRequestId(v string) *SendUsersMessageResponse
func (s *SendUsersMessageResponse) SetResult(v map[string]map[string]*EndpointMessageResult) *SendUsersMessageResponse
type SendUsersMessagesInput
func (s *SendUsersMessagesInput) SetApplicationId(v string) *SendUsersMessagesInput
func (s *SendUsersMessagesInput) SetSendUsersMessageRequest(v *SendUsersMessageRequest) *SendUsersMessagesInput
type SendUsersMessagesOutput
func (s *SendUsersMessagesOutput) SetSendUsersMessageResponse(v *SendUsersMessageResponse) *SendUsersMessagesOutput
type Session
func (s *Session) SetDuration(v int64) *Session
func (s *Session) SetId(v string) *Session
func (s *Session) SetStartTimestamp(v string) *Session
func (s *Session) SetStopTimestamp(v string) *Session
type SetDimension
func (s *SetDimension) SetDimensionType(v string) *SetDimension
func (s *SetDimension) SetValues(v []*string) *SetDimension
type SimpleEmail
func (s *SimpleEmail) SetHtmlPart(v *SimpleEmailPart) *SimpleEmail
func (s *SimpleEmail) SetSubject(v *SimpleEmailPart) *SimpleEmail
func (s *SimpleEmail) SetTextPart(v *SimpleEmailPart) *SimpleEmail
type SimpleEmailPart
func (s *SimpleEmailPart) SetCharset(v string) *SimpleEmailPart
func (s *SimpleEmailPart) SetData(v string) *SimpleEmailPart
type TagResourceInput
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
func (s *TagResourceInput) SetTagsModel(v *TagsModel) *TagResourceInput
type TagResourceOutput
type TagsModel
func (s *TagsModel) SetTags(v map[string]*string) *TagsModel
type TreatmentResource
func (s *TreatmentResource) SetId(v string) *TreatmentResource
func (s *TreatmentResource) SetMessageConfiguration(v *MessageConfiguration) *TreatmentResource
func (s *TreatmentResource) SetSchedule(v *Schedule) *TreatmentResource
func (s *TreatmentResource) SetSizePercent(v int64) *TreatmentResource
func (s *TreatmentResource) SetState(v *CampaignState) *TreatmentResource
func (s *TreatmentResource) SetTreatmentDescription(v string) *TreatmentResource
func (s *TreatmentResource) SetTreatmentName(v string) *TreatmentResource
type UntagResourceInput
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
type UntagResourceOutput
type UpdateAdmChannelInput
func (s *UpdateAdmChannelInput) SetADMChannelRequest(v *ADMChannelRequest) *UpdateAdmChannelInput
func (s *UpdateAdmChannelInput) SetApplicationId(v string) *UpdateAdmChannelInput
type UpdateAdmChannelOutput
func (s *UpdateAdmChannelOutput) SetADMChannelResponse(v *ADMChannelResponse) *UpdateAdmChannelOutput
type UpdateApnsChannelInput
func (s *UpdateApnsChannelInput) SetAPNSChannelRequest(v *APNSChannelRequest) *UpdateApnsChannelInput
func (s *UpdateApnsChannelInput) SetApplicationId(v string) *UpdateApnsChannelInput
type UpdateApnsChannelOutput
func (s *UpdateApnsChannelOutput) SetAPNSChannelResponse(v *APNSChannelResponse) *UpdateApnsChannelOutput
type UpdateApnsSandboxChannelInput
func (s *UpdateApnsSandboxChannelInput) SetAPNSSandboxChannelRequest(v *APNSSandboxChannelRequest) *UpdateApnsSandboxChannelInput
func (s *UpdateApnsSandboxChannelInput) SetApplicationId(v string) *UpdateApnsSandboxChannelInput
type UpdateApnsSandboxChannelOutput
func (s *UpdateApnsSandboxChannelOutput) SetAPNSSandboxChannelResponse(v *APNSSandboxChannelResponse) *UpdateApnsSandboxChannelOutput
type UpdateApnsVoipChannelInput
func (s *UpdateApnsVoipChannelInput) SetAPNSVoipChannelRequest(v *APNSVoipChannelRequest) *UpdateApnsVoipChannelInput
func (s *UpdateApnsVoipChannelInput) SetApplicationId(v string) *UpdateApnsVoipChannelInput
type UpdateApnsVoipChannelOutput
func (s *UpdateApnsVoipChannelOutput) SetAPNSVoipChannelResponse(v *APNSVoipChannelResponse) *UpdateApnsVoipChannelOutput
type UpdateApnsVoipSandboxChannelInput
func (s *UpdateApnsVoipSandboxChannelInput) SetAPNSVoipSandboxChannelRequest(v *APNSVoipSandboxChannelRequest) *UpdateApnsVoipSandboxChannelInput
func (s *UpdateApnsVoipSandboxChannelInput) SetApplicationId(v string) *UpdateApnsVoipSandboxChannelInput
type UpdateApnsVoipSandboxChannelOutput
func (s *UpdateApnsVoipSandboxChannelOutput) SetAPNSVoipSandboxChannelResponse(v *APNSVoipSandboxChannelResponse) *UpdateApnsVoipSandboxChannelOutput
type UpdateApplicationSettingsInput
func (s *UpdateApplicationSettingsInput) SetApplicationId(v string) *UpdateApplicationSettingsInput
func (s *UpdateApplicationSettingsInput) SetWriteApplicationSettingsRequest(v *WriteApplicationSettingsRequest) *UpdateApplicationSettingsInput
type UpdateApplicationSettingsOutput
func (s *UpdateApplicationSettingsOutput) SetApplicationSettingsResource(v *ApplicationSettingsResource) *UpdateApplicationSettingsOutput
type UpdateAttributesRequest
func (s *UpdateAttributesRequest) SetBlacklist(v []*string) *UpdateAttributesRequest
type UpdateBaiduChannelInput
func (s *UpdateBaiduChannelInput) SetApplicationId(v string) *UpdateBaiduChannelInput
func (s *UpdateBaiduChannelInput) SetBaiduChannelRequest(v *BaiduChannelRequest) *UpdateBaiduChannelInput
type UpdateBaiduChannelOutput
func (s *UpdateBaiduChannelOutput) SetBaiduChannelResponse(v *BaiduChannelResponse) *UpdateBaiduChannelOutput
type UpdateCampaignInput
func (s *UpdateCampaignInput) SetApplicationId(v string) *UpdateCampaignInput
func (s *UpdateCampaignInput) SetCampaignId(v string) *UpdateCampaignInput
func (s *UpdateCampaignInput) SetWriteCampaignRequest(v *WriteCampaignRequest) *UpdateCampaignInput
type UpdateCampaignOutput
func (s *UpdateCampaignOutput) SetCampaignResponse(v *CampaignResponse) *UpdateCampaignOutput
type UpdateEmailChannelInput
func (s *UpdateEmailChannelInput) SetApplicationId(v string) *UpdateEmailChannelInput
func (s *UpdateEmailChannelInput) SetEmailChannelRequest(v *EmailChannelRequest) *UpdateEmailChannelInput
type UpdateEmailChannelOutput
func (s *UpdateEmailChannelOutput) SetEmailChannelResponse(v *EmailChannelResponse) *UpdateEmailChannelOutput
type UpdateEndpointInput
func (s *UpdateEndpointInput) SetApplicationId(v string) *UpdateEndpointInput
func (s *UpdateEndpointInput) SetEndpointId(v string) *UpdateEndpointInput
func (s *UpdateEndpointInput) SetEndpointRequest(v *EndpointRequest) *UpdateEndpointInput
type UpdateEndpointOutput
func (s *UpdateEndpointOutput) SetMessageBody(v *MessageBody) *UpdateEndpointOutput
type UpdateEndpointsBatchInput
func (s *UpdateEndpointsBatchInput) SetApplicationId(v string) *UpdateEndpointsBatchInput
func (s *UpdateEndpointsBatchInput) SetEndpointBatchRequest(v *EndpointBatchRequest) *UpdateEndpointsBatchInput
type UpdateEndpointsBatchOutput
func (s *UpdateEndpointsBatchOutput) SetMessageBody(v *MessageBody) *UpdateEndpointsBatchOutput
type UpdateGcmChannelInput
func (s *UpdateGcmChannelInput) SetApplicationId(v string) *UpdateGcmChannelInput
func (s *UpdateGcmChannelInput) SetGCMChannelRequest(v *GCMChannelRequest) *UpdateGcmChannelInput
type UpdateGcmChannelOutput
func (s *UpdateGcmChannelOutput) SetGCMChannelResponse(v *GCMChannelResponse) *UpdateGcmChannelOutput
type UpdateSegmentInput
func (s *UpdateSegmentInput) SetApplicationId(v string) *UpdateSegmentInput
func (s *UpdateSegmentInput) SetSegmentId(v string) *UpdateSegmentInput
func (s *UpdateSegmentInput) SetWriteSegmentRequest(v *WriteSegmentRequest) *UpdateSegmentInput
type UpdateSegmentOutput
func (s *UpdateSegmentOutput) SetSegmentResponse(v *SegmentResponse) *UpdateSegmentOutput
type UpdateSmsChannelInput
func (s *UpdateSmsChannelInput) SetApplicationId(v string) *UpdateSmsChannelInput
func (s *UpdateSmsChannelInput) SetSMSChannelRequest(v *SMSChannelRequest) *UpdateSmsChannelInput
type UpdateSmsChannelOutput
func (s *UpdateSmsChannelOutput) SetSMSChannelResponse(v *SMSChannelResponse) *UpdateSmsChannelOutput
type UpdateVoiceChannelInput
func (s *UpdateVoiceChannelInput) SetApplicationId(v string) *UpdateVoiceChannelInput
func (s *UpdateVoiceChannelInput) SetVoiceChannelRequest(v *VoiceChannelRequest) *UpdateVoiceChannelInput
type UpdateVoiceChannelOutput
func (s *UpdateVoiceChannelOutput) SetVoiceChannelResponse(v *VoiceChannelResponse) *UpdateVoiceChannelOutput
type VoiceChannelRequest
func (s *VoiceChannelRequest) SetEnabled(v bool) *VoiceChannelRequest
type VoiceChannelResponse
func (s *VoiceChannelResponse) SetApplicationId(v string) *VoiceChannelResponse
func (s *VoiceChannelResponse) SetCreationDate(v string) *VoiceChannelResponse
func (s *VoiceChannelResponse) SetEnabled(v bool) *VoiceChannelResponse
func (s *VoiceChannelResponse) SetHasCredential(v bool) *VoiceChannelResponse
func (s *VoiceChannelResponse) SetId(v string) *VoiceChannelResponse
func (s *VoiceChannelResponse) SetIsArchived(v bool) *VoiceChannelResponse
func (s *VoiceChannelResponse) SetLastModifiedBy(v string) *VoiceChannelResponse
func (s *VoiceChannelResponse) SetLastModifiedDate(v string) *VoiceChannelResponse
func (s *VoiceChannelResponse) SetOriginationNumber(v string) *VoiceChannelResponse
func (s *VoiceChannelResponse) SetPlatform(v string) *VoiceChannelResponse
func (s *VoiceChannelResponse) SetVersion(v int64) *VoiceChannelResponse
type VoiceMessage
func (s *VoiceMessage) SetBody(v string) *VoiceMessage
func (s *VoiceMessage) SetLanguageCode(v string) *VoiceMessage
func (s *VoiceMessage) SetOriginationNumber(v string) *VoiceMessage
func (s *VoiceMessage) SetSubstitutions(v map[string][]*string) *VoiceMessage
func (s *VoiceMessage) SetVoiceId(v string) *VoiceMessage
type WriteApplicationSettingsRequest
func (s *WriteApplicationSettingsRequest) SetCampaignHook(v *CampaignHook) *WriteApplicationSettingsRequest
func (s *WriteApplicationSettingsRequest) SetCloudWatchMetricsEnabled(v bool) *WriteApplicationSettingsRequest
func (s *WriteApplicationSettingsRequest) SetLimits(v *CampaignLimits) *WriteApplicationSettingsRequest
func (s *WriteApplicationSettingsRequest) SetQuietTime(v *QuietTime) *WriteApplicationSettingsRequest
type WriteCampaignRequest
func (s *WriteCampaignRequest) SetAdditionalTreatments(v []*WriteTreatmentResource) *WriteCampaignRequest
func (s *WriteCampaignRequest) SetDescription(v string) *WriteCampaignRequest
func (s *WriteCampaignRequest) SetHoldoutPercent(v int64) *WriteCampaignRequest
func (s *WriteCampaignRequest) SetHook(v *CampaignHook) *WriteCampaignRequest
func (s *WriteCampaignRequest) SetIsPaused(v bool) *WriteCampaignRequest
func (s *WriteCampaignRequest) SetLimits(v *CampaignLimits) *WriteCampaignRequest
func (s *WriteCampaignRequest) SetMessageConfiguration(v *MessageConfiguration) *WriteCampaignRequest
func (s *WriteCampaignRequest) SetName(v string) *WriteCampaignRequest
func (s *WriteCampaignRequest) SetSchedule(v *Schedule) *WriteCampaignRequest
func (s *WriteCampaignRequest) SetSegmentId(v string) *WriteCampaignRequest
func (s *WriteCampaignRequest) SetSegmentVersion(v int64) *WriteCampaignRequest
func (s *WriteCampaignRequest) SetTags(v map[string]*string) *WriteCampaignRequest
func (s *WriteCampaignRequest) SetTreatmentDescription(v string) *WriteCampaignRequest
func (s *WriteCampaignRequest) SetTreatmentName(v string) *WriteCampaignRequest
type WriteEventStream
func (s *WriteEventStream) SetDestinationStreamArn(v string) *WriteEventStream
func (s *WriteEventStream) SetRoleArn(v string) *WriteEventStream
type WriteSegmentRequest
func (s *WriteSegmentRequest) SetDimensions(v *SegmentDimensions) *WriteSegmentRequest
func (s *WriteSegmentRequest) SetName(v string) *WriteSegmentRequest
func (s *WriteSegmentRequest) SetSegmentGroups(v *SegmentGroupList) *WriteSegmentRequest
func (s *WriteSegmentRequest) SetTags(v map[string]*string) *WriteSegmentRequest
type WriteTreatmentResource
func (s *WriteTreatmentResource) SetMessageConfiguration(v *MessageConfiguration) *WriteTreatmentResource
func (s *WriteTreatmentResource) SetSchedule(v *Schedule) *WriteTreatmentResource
func (s *WriteTreatmentResource) SetSizePercent(v int64) *WriteTreatmentResource
func (s *WriteTreatmentResource) SetTreatmentDescription(v string) *WriteTreatmentResource
func (s *WriteTreatmentResource) SetTreatmentName(v string) *WriteTreatmentResource

Constants ▾

const (
    // ActionOpenApp is a Action enum value
    ActionOpenApp = "OPEN_APP"

    // ActionDeepLink is a Action enum value
    ActionDeepLink = "DEEP_LINK"

    // ActionUrl is a Action enum value
    ActionUrl = "URL"
)
const (
    // AttributeTypeInclusive is a AttributeType enum value
    AttributeTypeInclusive = "INCLUSIVE"

    // AttributeTypeExclusive is a AttributeType enum value
    AttributeTypeExclusive = "EXCLUSIVE"
)
const (
    // CampaignStatusScheduled is a CampaignStatus enum value
    CampaignStatusScheduled = "SCHEDULED"

    // CampaignStatusExecuting is a CampaignStatus enum value
    CampaignStatusExecuting = "EXECUTING"

    // CampaignStatusPendingNextRun is a CampaignStatus enum value
    CampaignStatusPendingNextRun = "PENDING_NEXT_RUN"

    // CampaignStatusCompleted is a CampaignStatus enum value
    CampaignStatusCompleted = "COMPLETED"

    // CampaignStatusPaused is a CampaignStatus enum value
    CampaignStatusPaused = "PAUSED"

    // CampaignStatusDeleted is a CampaignStatus enum value
    CampaignStatusDeleted = "DELETED"
)
const (
    // ChannelTypeGcm is a ChannelType enum value
    ChannelTypeGcm = "GCM"

    // ChannelTypeApns is a ChannelType enum value
    ChannelTypeApns = "APNS"

    // ChannelTypeApnsSandbox is a ChannelType enum value
    ChannelTypeApnsSandbox = "APNS_SANDBOX"

    // ChannelTypeApnsVoip is a ChannelType enum value
    ChannelTypeApnsVoip = "APNS_VOIP"

    // ChannelTypeApnsVoipSandbox is a ChannelType enum value
    ChannelTypeApnsVoipSandbox = "APNS_VOIP_SANDBOX"

    // ChannelTypeAdm is a ChannelType enum value
    ChannelTypeAdm = "ADM"

    // ChannelTypeSms is a ChannelType enum value
    ChannelTypeSms = "SMS"

    // ChannelTypeVoice is a ChannelType enum value
    ChannelTypeVoice = "VOICE"

    // ChannelTypeEmail is a ChannelType enum value
    ChannelTypeEmail = "EMAIL"

    // ChannelTypeBaidu is a ChannelType enum value
    ChannelTypeBaidu = "BAIDU"

    // ChannelTypeCustom is a ChannelType enum value
    ChannelTypeCustom = "CUSTOM"
)
const (
    // DeliveryStatusSuccessful is a DeliveryStatus enum value
    DeliveryStatusSuccessful = "SUCCESSFUL"

    // DeliveryStatusThrottled is a DeliveryStatus enum value
    DeliveryStatusThrottled = "THROTTLED"

    // DeliveryStatusTemporaryFailure is a DeliveryStatus enum value
    DeliveryStatusTemporaryFailure = "TEMPORARY_FAILURE"

    // DeliveryStatusPermanentFailure is a DeliveryStatus enum value
    DeliveryStatusPermanentFailure = "PERMANENT_FAILURE"

    // DeliveryStatusUnknownFailure is a DeliveryStatus enum value
    DeliveryStatusUnknownFailure = "UNKNOWN_FAILURE"

    // DeliveryStatusOptOut is a DeliveryStatus enum value
    DeliveryStatusOptOut = "OPT_OUT"

    // DeliveryStatusDuplicate is a DeliveryStatus enum value
    DeliveryStatusDuplicate = "DUPLICATE"
)
const (
    // DimensionTypeInclusive is a DimensionType enum value
    DimensionTypeInclusive = "INCLUSIVE"

    // DimensionTypeExclusive is a DimensionType enum value
    DimensionTypeExclusive = "EXCLUSIVE"
)
const (
    // DurationHr24 is a Duration enum value
    DurationHr24 = "HR_24"

    // DurationDay7 is a Duration enum value
    DurationDay7 = "DAY_7"

    // DurationDay14 is a Duration enum value
    DurationDay14 = "DAY_14"

    // DurationDay30 is a Duration enum value
    DurationDay30 = "DAY_30"
)
const (
    // FilterTypeSystem is a FilterType enum value
    FilterTypeSystem = "SYSTEM"

    // FilterTypeEndpoint is a FilterType enum value
    FilterTypeEndpoint = "ENDPOINT"
)
const (
    // FormatCsv is a Format enum value
    FormatCsv = "CSV"

    // FormatJson is a Format enum value
    FormatJson = "JSON"
)
const (
    // FrequencyOnce is a Frequency enum value
    FrequencyOnce = "ONCE"

    // FrequencyHourly is a Frequency enum value
    FrequencyHourly = "HOURLY"

    // FrequencyDaily is a Frequency enum value
    FrequencyDaily = "DAILY"

    // FrequencyWeekly is a Frequency enum value
    FrequencyWeekly = "WEEKLY"

    // FrequencyMonthly is a Frequency enum value
    FrequencyMonthly = "MONTHLY"

    // FrequencyEvent is a Frequency enum value
    FrequencyEvent = "EVENT"
)
const (
    // IncludeAll is a Include enum value
    IncludeAll = "ALL"

    // IncludeAny is a Include enum value
    IncludeAny = "ANY"

    // IncludeNone is a Include enum value
    IncludeNone = "NONE"
)
const (
    // JobStatusCreated is a JobStatus enum value
    JobStatusCreated = "CREATED"

    // JobStatusInitializing is a JobStatus enum value
    JobStatusInitializing = "INITIALIZING"

    // JobStatusProcessing is a JobStatus enum value
    JobStatusProcessing = "PROCESSING"

    // JobStatusCompleting is a JobStatus enum value
    JobStatusCompleting = "COMPLETING"

    // JobStatusCompleted is a JobStatus enum value
    JobStatusCompleted = "COMPLETED"

    // JobStatusFailing is a JobStatus enum value
    JobStatusFailing = "FAILING"

    // JobStatusFailed is a JobStatus enum value
    JobStatusFailed = "FAILED"
)
const (
    // MessageTypeTransactional is a MessageType enum value
    MessageTypeTransactional = "TRANSACTIONAL"

    // MessageTypePromotional is a MessageType enum value
    MessageTypePromotional = "PROMOTIONAL"
)
const (
    // ModeDelivery is a Mode enum value
    ModeDelivery = "DELIVERY"

    // ModeFilter is a Mode enum value
    ModeFilter = "FILTER"
)
const (
    // RecencyTypeActive is a RecencyType enum value
    RecencyTypeActive = "ACTIVE"

    // RecencyTypeInactive is a RecencyType enum value
    RecencyTypeInactive = "INACTIVE"
)
const (
    // SegmentTypeDimensional is a SegmentType enum value
    SegmentTypeDimensional = "DIMENSIONAL"

    // SegmentTypeImport is a SegmentType enum value
    SegmentTypeImport = "IMPORT"
)
const (
    // SourceTypeAll is a SourceType enum value
    SourceTypeAll = "ALL"

    // SourceTypeAny is a SourceType enum value
    SourceTypeAny = "ANY"

    // SourceTypeNone is a SourceType enum value
    SourceTypeNone = "NONE"
)
const (
    // TypeAll is a Type enum value
    TypeAll = "ALL"

    // TypeAny is a Type enum value
    TypeAny = "ANY"

    // TypeNone is a Type enum value
    TypeNone = "NONE"
)
const (

    // ErrCodeBadRequestException for service response error code
    // "BadRequestException".
    //
    // Provides information about an API request or response.
    ErrCodeBadRequestException = "BadRequestException"

    // ErrCodeForbiddenException for service response error code
    // "ForbiddenException".
    //
    // Provides information about an API request or response.
    ErrCodeForbiddenException = "ForbiddenException"

    // ErrCodeInternalServerErrorException for service response error code
    // "InternalServerErrorException".
    //
    // Provides information about an API request or response.
    ErrCodeInternalServerErrorException = "InternalServerErrorException"

    // ErrCodeMethodNotAllowedException for service response error code
    // "MethodNotAllowedException".
    //
    // Provides information about an API request or response.
    ErrCodeMethodNotAllowedException = "MethodNotAllowedException"

    // ErrCodeNotFoundException for service response error code
    // "NotFoundException".
    //
    // Provides information about an API request or response.
    ErrCodeNotFoundException = "NotFoundException"

    // ErrCodeTooManyRequestsException for service response error code
    // "TooManyRequestsException".
    //
    // Provides information about an API request or response.
    ErrCodeTooManyRequestsException = "TooManyRequestsException"
)
const (
    ServiceName = "pinpoint"  // Name of service.
    EndpointsID = ServiceName // ID to lookup a service endpoint with.
    ServiceID   = "Pinpoint"  // ServiceID is a unique identifer of a specific service.
)

Service information constants

type ADMChannelRequest

type ADMChannelRequest struct {

    // The Client ID that you received from Amazon to send messages by using ADM.
    //
    // ClientId is a required field
    ClientId *string `type:"string" required:"true"`

    // The Client Secret that you received from Amazon to send messages by using
    // ADM.
    //
    // ClientSecret is a required field
    ClientSecret *string `type:"string" required:"true"`

    // Specifies whether to enable the ADM channel for the application.
    Enabled *bool `type:"boolean"`
    // contains filtered or unexported fields
}

Specifies the status and settings of the ADM (Amazon Device Messaging) channel for an application.

func (ADMChannelRequest) GoString

func (s ADMChannelRequest) GoString() string

GoString returns the string representation

func (*ADMChannelRequest) SetClientId

func (s *ADMChannelRequest) SetClientId(v string) *ADMChannelRequest

SetClientId sets the ClientId field's value.

func (*ADMChannelRequest) SetClientSecret

func (s *ADMChannelRequest) SetClientSecret(v string) *ADMChannelRequest

SetClientSecret sets the ClientSecret field's value.

func (*ADMChannelRequest) SetEnabled

func (s *ADMChannelRequest) SetEnabled(v bool) *ADMChannelRequest

SetEnabled sets the Enabled field's value.

func (ADMChannelRequest) String

func (s ADMChannelRequest) String() string

String returns the string representation

func (*ADMChannelRequest) Validate

func (s *ADMChannelRequest) Validate() error

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

type ADMChannelResponse

type ADMChannelResponse struct {

    // The unique identifier for the application that the ADM channel applies to.
    ApplicationId *string `type:"string"`

    // The date and time when the ADM channel was enabled.
    CreationDate *string `type:"string"`

    // Specifies whether the ADM channel is enabled for the application.
    Enabled *bool `type:"boolean"`

    // (Not used) This property is retained only for backward compatibility.
    HasCredential *bool `type:"boolean"`

    // (Deprecated) An identifier for the ADM channel. This property is retained
    // only for backward compatibility.
    Id *string `type:"string"`

    // Specifies whether the ADM channel is archived.
    IsArchived *bool `type:"boolean"`

    // The user who last modified the ADM channel.
    LastModifiedBy *string `type:"string"`

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

    // The type of messaging or notification platform for the channel. For the ADM
    // channel, this value is ADM.
    //
    // Platform is a required field
    Platform *string `type:"string" required:"true"`

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

Provides information about the status and settings of the ADM (Amazon Device Messaging) channel for an application.

func (ADMChannelResponse) GoString

func (s ADMChannelResponse) GoString() string

GoString returns the string representation

func (*ADMChannelResponse) SetApplicationId

func (s *ADMChannelResponse) SetApplicationId(v string) *ADMChannelResponse

SetApplicationId sets the ApplicationId field's value.

func (*ADMChannelResponse) SetCreationDate

func (s *ADMChannelResponse) SetCreationDate(v string) *ADMChannelResponse

SetCreationDate sets the CreationDate field's value.

func (*ADMChannelResponse) SetEnabled

func (s *ADMChannelResponse) SetEnabled(v bool) *ADMChannelResponse

SetEnabled sets the Enabled field's value.

func (*ADMChannelResponse) SetHasCredential

func (s *ADMChannelResponse) SetHasCredential(v bool) *ADMChannelResponse

SetHasCredential sets the HasCredential field's value.

func (*ADMChannelResponse) SetId

func (s *ADMChannelResponse) SetId(v string) *ADMChannelResponse

SetId sets the Id field's value.

func (*ADMChannelResponse) SetIsArchived

func (s *ADMChannelResponse) SetIsArchived(v bool) *ADMChannelResponse

SetIsArchived sets the IsArchived field's value.

func (*ADMChannelResponse) SetLastModifiedBy

func (s *ADMChannelResponse) SetLastModifiedBy(v string) *ADMChannelResponse

SetLastModifiedBy sets the LastModifiedBy field's value.

func (*ADMChannelResponse) SetLastModifiedDate

func (s *ADMChannelResponse) SetLastModifiedDate(v string) *ADMChannelResponse

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*ADMChannelResponse) SetPlatform

func (s *ADMChannelResponse) SetPlatform(v string) *ADMChannelResponse

SetPlatform sets the Platform field's value.

func (*ADMChannelResponse) SetVersion

func (s *ADMChannelResponse) SetVersion(v int64) *ADMChannelResponse

SetVersion sets the Version field's value.

func (ADMChannelResponse) String

func (s ADMChannelResponse) String() string

String returns the string representation

type ADMMessage

type ADMMessage struct {

    // The action to occur if the recipient taps the push notification. Valid values
    // are:
    //
    //    * OPEN_APP - Your app opens or it becomes the foreground app if it was
    //    sent to the background. This is the default action.
    //
    //    * DEEP_LINK - Your app opens and displays a designated user interface
    //    in the app. This action uses the deep-linking features of the Android
    //    platform.
    //
    //    * URL - The default mobile browser on the recipient's device opens and
    //    loads the web page at a URL that you specify.
    Action *string `type:"string" enum:"Action"`

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

    // An arbitrary string that indicates that multiple messages are logically the
    // same and that Amazon Device Messaging (ADM) can drop previously enqueued
    // messages in favor of this message.
    ConsolidationKey *string `type:"string"`

    // The JSON data payload to use for the push notification, if the notification
    // is a silent push notification. This payload is added to the data.pinpoint.jsonBody
    // object of the notification.
    Data map[string]*string `type:"map"`

    // The amount of time, in seconds, that ADM should store the message if the
    // recipient's device is offline. Amazon Pinpoint specifies this value in the
    // expiresAfter parameter when it sends the notification message to ADM.
    ExpiresAfter *string `type:"string"`

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

    // The URL of the large icon image to display in the content view of the push
    // notification.
    ImageIconUrl *string `type:"string"`

    // The URL of an image to display in the push notification.
    ImageUrl *string `type:"string"`

    // The base64-encoded, MD5 checksum of the value specified by the Data property.
    // ADM uses the MD5 value to verify the integrity of the data.
    MD5 *string `type:"string"`

    // The raw, JSON-formatted string to use as the payload for the notification
    // message. This value overrides the message.
    RawContent *string `type:"string"`

    // Specifies whether the notification is a silent push notification, which is
    // a push notification that doesn't display on a recipient's device. Silent
    // push notifications can be used for cases such as updating an app's configuration
    // or supporting phone home functionality.
    SilentPush *bool `type:"boolean"`

    // The URL of the small icon image to display in the status bar and the content
    // view of the push notification.
    SmallImageIconUrl *string `type:"string"`

    // The sound to play when the recipient receives the push notification. You
    // can use the default stream or specify the file name of a sound resource that's
    // bundled in your app. On an Android platform, the sound file must reside in
    // /res/raw/.
    Sound *string `type:"string"`

    // The default message variables to use in the notification message. You can
    // override the default variables with individual address variables.
    Substitutions map[string][]*string `type:"map"`

    // The title to display above the notification message on the recipient's device.
    Title *string `type:"string"`

    // The URL to open in the recipient's default mobile browser, if a recipient
    // taps the push notification and the value of the Action property is URL.
    Url *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies the settings for a one-time message that's sent directly to an endpoint through the ADM (Amazon Device Messaging) channel.

func (ADMMessage) GoString

func (s ADMMessage) GoString() string

GoString returns the string representation

func (*ADMMessage) SetAction

func (s *ADMMessage) SetAction(v string) *ADMMessage

SetAction sets the Action field's value.

func (*ADMMessage) SetBody

func (s *ADMMessage) SetBody(v string) *ADMMessage

SetBody sets the Body field's value.

func (*ADMMessage) SetConsolidationKey

func (s *ADMMessage) SetConsolidationKey(v string) *ADMMessage

SetConsolidationKey sets the ConsolidationKey field's value.

func (*ADMMessage) SetData

func (s *ADMMessage) SetData(v map[string]*string) *ADMMessage

SetData sets the Data field's value.

func (*ADMMessage) SetExpiresAfter

func (s *ADMMessage) SetExpiresAfter(v string) *ADMMessage

SetExpiresAfter sets the ExpiresAfter field's value.

func (*ADMMessage) SetIconReference

func (s *ADMMessage) SetIconReference(v string) *ADMMessage

SetIconReference sets the IconReference field's value.

func (*ADMMessage) SetImageIconUrl

func (s *ADMMessage) SetImageIconUrl(v string) *ADMMessage

SetImageIconUrl sets the ImageIconUrl field's value.

func (*ADMMessage) SetImageUrl

func (s *ADMMessage) SetImageUrl(v string) *ADMMessage

SetImageUrl sets the ImageUrl field's value.

func (*ADMMessage) SetMD5

func (s *ADMMessage) SetMD5(v string) *ADMMessage

SetMD5 sets the MD5 field's value.

func (*ADMMessage) SetRawContent

func (s *ADMMessage) SetRawContent(v string) *ADMMessage

SetRawContent sets the RawContent field's value.

func (*ADMMessage) SetSilentPush

func (s *ADMMessage) SetSilentPush(v bool) *ADMMessage

SetSilentPush sets the SilentPush field's value.

func (*ADMMessage) SetSmallImageIconUrl

func (s *ADMMessage) SetSmallImageIconUrl(v string) *ADMMessage

SetSmallImageIconUrl sets the SmallImageIconUrl field's value.

func (*ADMMessage) SetSound

func (s *ADMMessage) SetSound(v string) *ADMMessage

SetSound sets the Sound field's value.

func (*ADMMessage) SetSubstitutions

func (s *ADMMessage) SetSubstitutions(v map[string][]*string) *ADMMessage

SetSubstitutions sets the Substitutions field's value.

func (*ADMMessage) SetTitle

func (s *ADMMessage) SetTitle(v string) *ADMMessage

SetTitle sets the Title field's value.

func (*ADMMessage) SetUrl

func (s *ADMMessage) SetUrl(v string) *ADMMessage

SetUrl sets the Url field's value.

func (ADMMessage) String

func (s ADMMessage) String() string

String returns the string representation

type APNSChannelRequest

type APNSChannelRequest struct {

    // The bundle identifier that's assigned to your iOS app. This identifier is
    // used for APNs tokens.
    BundleId *string `type:"string"`

    // The APNs client certificate that you received from Apple, if you want Amazon
    // Pinpoint to communicate with APNs by using an APNs certificate.
    Certificate *string `type:"string"`

    // The default authentication method that you want Amazon Pinpoint to use when
    // authenticating with APNs, key or certificate.
    DefaultAuthenticationMethod *string `type:"string"`

    // Specifies whether to enable the APNs channel for the application.
    Enabled *bool `type:"boolean"`

    // The private key for the APNs client certificate that you want Amazon Pinpoint
    // to use to communicate with APNs.
    PrivateKey *string `type:"string"`

    // The identifier that's assigned to your Apple developer account team. This
    // identifier is used for APNs tokens.
    TeamId *string `type:"string"`

    // The authentication key to use for APNs tokens.
    TokenKey *string `type:"string"`

    // The key identifier that's assigned to your APNs signing key, if you want
    // Amazon Pinpoint to communicate with APNs by using APNs tokens.
    TokenKeyId *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies the status and settings of the APNs (Apple Push Notification service) channel for an application.

func (APNSChannelRequest) GoString

func (s APNSChannelRequest) GoString() string

GoString returns the string representation

func (*APNSChannelRequest) SetBundleId

func (s *APNSChannelRequest) SetBundleId(v string) *APNSChannelRequest

SetBundleId sets the BundleId field's value.

func (*APNSChannelRequest) SetCertificate

func (s *APNSChannelRequest) SetCertificate(v string) *APNSChannelRequest

SetCertificate sets the Certificate field's value.

func (*APNSChannelRequest) SetDefaultAuthenticationMethod

func (s *APNSChannelRequest) SetDefaultAuthenticationMethod(v string) *APNSChannelRequest

SetDefaultAuthenticationMethod sets the DefaultAuthenticationMethod field's value.

func (*APNSChannelRequest) SetEnabled

func (s *APNSChannelRequest) SetEnabled(v bool) *APNSChannelRequest

SetEnabled sets the Enabled field's value.

func (*APNSChannelRequest) SetPrivateKey

func (s *APNSChannelRequest) SetPrivateKey(v string) *APNSChannelRequest

SetPrivateKey sets the PrivateKey field's value.

func (*APNSChannelRequest) SetTeamId

func (s *APNSChannelRequest) SetTeamId(v string) *APNSChannelRequest

SetTeamId sets the TeamId field's value.

func (*APNSChannelRequest) SetTokenKey

func (s *APNSChannelRequest) SetTokenKey(v string) *APNSChannelRequest

SetTokenKey sets the TokenKey field's value.

func (*APNSChannelRequest) SetTokenKeyId

func (s *APNSChannelRequest) SetTokenKeyId(v string) *APNSChannelRequest

SetTokenKeyId sets the TokenKeyId field's value.

func (APNSChannelRequest) String

func (s APNSChannelRequest) String() string

String returns the string representation

type APNSChannelResponse

type APNSChannelResponse struct {

    // The unique identifier for the application that the APNs channel applies to.
    ApplicationId *string `type:"string"`

    // The date and time when the APNs channel was enabled.
    CreationDate *string `type:"string"`

    // The default authentication method that Amazon Pinpoint uses to authenticate
    // with APNs for this channel, key or certificate.
    DefaultAuthenticationMethod *string `type:"string"`

    // Specifies whether the APNs channel is enabled for the application.
    Enabled *bool `type:"boolean"`

    // (Not used) This property is retained only for backward compatibility.
    HasCredential *bool `type:"boolean"`

    // Specifies whether the APNs channel is configured to communicate with APNs
    // by using APNs tokens. To provide an authentication key for APNs tokens, set
    // the TokenKey property of the channel.
    HasTokenKey *bool `type:"boolean"`

    // (Deprecated) An identifier for the APNs channel. This property is retained
    // only for backward compatibility.
    Id *string `type:"string"`

    // Specifies whether the APNs channel is archived.
    IsArchived *bool `type:"boolean"`

    // The user who last modified the APNs channel.
    LastModifiedBy *string `type:"string"`

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

    // The type of messaging or notification platform for the channel. For the APNs
    // channel, this value is APNS.
    //
    // Platform is a required field
    Platform *string `type:"string" required:"true"`

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

Provides information about the status and settings of the APNs (Apple Push Notification service) channel for an application.

func (APNSChannelResponse) GoString

func (s APNSChannelResponse) GoString() string

GoString returns the string representation

func (*APNSChannelResponse) SetApplicationId

func (s *APNSChannelResponse) SetApplicationId(v string) *APNSChannelResponse

SetApplicationId sets the ApplicationId field's value.

func (*APNSChannelResponse) SetCreationDate

func (s *APNSChannelResponse) SetCreationDate(v string) *APNSChannelResponse

SetCreationDate sets the CreationDate field's value.

func (*APNSChannelResponse) SetDefaultAuthenticationMethod

func (s *APNSChannelResponse) SetDefaultAuthenticationMethod(v string) *APNSChannelResponse

SetDefaultAuthenticationMethod sets the DefaultAuthenticationMethod field's value.

func (*APNSChannelResponse) SetEnabled

func (s *APNSChannelResponse) SetEnabled(v bool) *APNSChannelResponse

SetEnabled sets the Enabled field's value.

func (*APNSChannelResponse) SetHasCredential

func (s *APNSChannelResponse) SetHasCredential(v bool) *APNSChannelResponse

SetHasCredential sets the HasCredential field's value.

func (*APNSChannelResponse) SetHasTokenKey

func (s *APNSChannelResponse) SetHasTokenKey(v bool) *APNSChannelResponse

SetHasTokenKey sets the HasTokenKey field's value.

func (*APNSChannelResponse) SetId

func (s *APNSChannelResponse) SetId(v string) *APNSChannelResponse

SetId sets the Id field's value.

func (*APNSChannelResponse) SetIsArchived

func (s *APNSChannelResponse) SetIsArchived(v bool) *APNSChannelResponse

SetIsArchived sets the IsArchived field's value.

func (*APNSChannelResponse) SetLastModifiedBy

func (s *APNSChannelResponse) SetLastModifiedBy(v string) *APNSChannelResponse

SetLastModifiedBy sets the LastModifiedBy field's value.

func (*APNSChannelResponse) SetLastModifiedDate

func (s *APNSChannelResponse) SetLastModifiedDate(v string) *APNSChannelResponse

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*APNSChannelResponse) SetPlatform

func (s *APNSChannelResponse) SetPlatform(v string) *APNSChannelResponse

SetPlatform sets the Platform field's value.

func (*APNSChannelResponse) SetVersion

func (s *APNSChannelResponse) SetVersion(v int64) *APNSChannelResponse

SetVersion sets the Version field's value.

func (APNSChannelResponse) String

func (s APNSChannelResponse) String() string

String returns the string representation

type APNSMessage

type APNSMessage struct {

    // The action to occur if the recipient taps the push notification. Valid values
    // are:
    //
    //    * OPEN_APP - Your app opens or it becomes the foreground app if it was
    //    sent to the background. This is the default action.
    //
    //    * DEEP_LINK - Your app opens and displays a designated user interface
    //    in the app. This setting uses the deep-linking features of the iOS platform.
    //
    //    * URL - The default mobile browser on the recipient's device opens and
    //    loads the web page at a URL that you specify.
    Action *string `type:"string" enum:"Action"`

    // The key that indicates whether and how to modify the badge of your app's
    // icon when the recipient receives the push notification. If this key isn't
    // included in the dictionary, the badge doesn't change. To remove the badge,
    // set this value to 0.
    Badge *int64 `type:"integer"`

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

    // The key that indicates the notification type for the push notification. This
    // key is a value that's defined by the identifier property of one of your app's
    // registered categories.
    Category *string `type:"string"`

    // An arbitrary identifier that, if assigned to multiple messages, APNs uses
    // to coalesce the messages into a single push notification instead of delivering
    // each message individually. This value can't exceed 64 bytes.
    //
    // Amazon Pinpoint specifies this value in the apns-collapse-id request header
    // when it sends the notification message to APNs.
    CollapseId *string `type:"string"`

    // The JSON payload to use for a silent push notification. This payload is added
    // to the data.pinpoint.jsonBody object of the notification.
    Data map[string]*string `type:"map"`

    // The URL of an image or video to display in the push notification.
    MediaUrl *string `type:"string"`

    // The authentication method that you want Amazon Pinpoint to use when authenticating
    // with Apple Push Notification service (APNs), CERTIFICATE or TOKEN.
    PreferredAuthenticationMethod *string `type:"string"`

    // para>5 - Low priority, the notification might be delayed, delivered as part
    // of a group, or throttled.
    // /listitem>
    // 10 - High priority, the notification is sent immediately. This is the default
    // value. A high priority notification should trigger an alert, play a sound,
    // or badge your app's icon on the recipient's device.
    // /para>
    // Amazon Pinpoint specifies this value in the apns-priority request header
    // when it sends the notification message to APNs.
    //
    // The equivalent values for Firebase Cloud Messaging (FCM), formerly Google
    // Cloud Messaging (GCM), are normal, for 5, and high, for 10. If you specify
    // an FCM value for this property, Amazon Pinpoint accepts and converts the
    // value to the corresponding APNs value.
    Priority *string `type:"string"`

    // The raw, JSON-formatted string to use as the payload for the notification
    // message. This value overrides the message.
    RawContent *string `type:"string"`

    // Specifies whether the notification is a silent push notification, which is
    // a push notification that doesn't display on a recipient's device. Silent
    // push notifications can be used for cases such as updating an app's configuration,
    // displaying messages in an in-app message center, or supporting phone home
    // functionality.
    SilentPush *bool `type:"boolean"`

    // The key for the sound to play when the recipient receives the push notification.
    // The value of this key is the name of a sound file in your app's main bundle
    // or the Library/Sounds folder in your app's data container. If the sound file
    // can't be found or you specify default for the value, the system plays the
    // default alert sound.
    Sound *string `type:"string"`

    // The default message variables to use in the notification message. You can
    // override these default variables with individual address variables.
    Substitutions map[string][]*string `type:"map"`

    // The key that represents your 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 amount of time, in seconds, that APNs should store and attempt to deliver
    // the push notification, if the service is unable to deliver the notification
    // the first time. If this value is 0, APNs treats the notification as if it
    // expires immediately and the service doesn't store or try to deliver the notification
    // again.
    //
    // Amazon Pinpoint specifies this value in the apns-expiration request header
    // when it sends the notification message to APNs.
    TimeToLive *int64 `type:"integer"`

    // The title to display above the notification message on the recipient's device.
    Title *string `type:"string"`

    // The URL to open in the recipient's default mobile browser, if a recipient
    // taps the push notification and the value of the Action property is URL.
    Url *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies the settings for a one-time message that's sent directly to an endpoint through the APNs (Apple Push Notification service) channel.

func (APNSMessage) GoString

func (s APNSMessage) GoString() string

GoString returns the string representation

func (*APNSMessage) SetAction

func (s *APNSMessage) SetAction(v string) *APNSMessage

SetAction sets the Action field's value.

func (*APNSMessage) SetBadge

func (s *APNSMessage) SetBadge(v int64) *APNSMessage

SetBadge sets the Badge field's value.

func (*APNSMessage) SetBody

func (s *APNSMessage) SetBody(v string) *APNSMessage

SetBody sets the Body field's value.

func (*APNSMessage) SetCategory

func (s *APNSMessage) SetCategory(v string) *APNSMessage

SetCategory sets the Category field's value.

func (*APNSMessage) SetCollapseId

func (s *APNSMessage) SetCollapseId(v string) *APNSMessage

SetCollapseId sets the CollapseId field's value.

func (*APNSMessage) SetData

func (s *APNSMessage) SetData(v map[string]*string) *APNSMessage

SetData sets the Data field's value.

func (*APNSMessage) SetMediaUrl

func (s *APNSMessage) SetMediaUrl(v string) *APNSMessage

SetMediaUrl sets the MediaUrl field's value.

func (*APNSMessage) SetPreferredAuthenticationMethod

func (s *APNSMessage) SetPreferredAuthenticationMethod(v string) *APNSMessage

SetPreferredAuthenticationMethod sets the PreferredAuthenticationMethod field's value.

func (*APNSMessage) SetPriority

func (s *APNSMessage) SetPriority(v string) *APNSMessage

SetPriority sets the Priority field's value.

func (*APNSMessage) SetRawContent

func (s *APNSMessage) SetRawContent(v string) *APNSMessage

SetRawContent sets the RawContent field's value.

func (*APNSMessage) SetSilentPush

func (s *APNSMessage) SetSilentPush(v bool) *APNSMessage

SetSilentPush sets the SilentPush field's value.

func (*APNSMessage) SetSound

func (s *APNSMessage) SetSound(v string) *APNSMessage

SetSound sets the Sound field's value.

func (*APNSMessage) SetSubstitutions

func (s *APNSMessage) SetSubstitutions(v map[string][]*string) *APNSMessage

SetSubstitutions sets the Substitutions field's value.

func (*APNSMessage) SetThreadId

func (s *APNSMessage) SetThreadId(v string) *APNSMessage

SetThreadId sets the ThreadId field's value.

func (*APNSMessage) SetTimeToLive

func (s *APNSMessage) SetTimeToLive(v int64) *APNSMessage

SetTimeToLive sets the TimeToLive field's value.

func (*APNSMessage) SetTitle

func (s *APNSMessage) SetTitle(v string) *APNSMessage

SetTitle sets the Title field's value.

func (*APNSMessage) SetUrl

func (s *APNSMessage) SetUrl(v string) *APNSMessage

SetUrl sets the Url field's value.

func (APNSMessage) String

func (s APNSMessage) String() string

String returns the string representation

type APNSSandboxChannelRequest

type APNSSandboxChannelRequest struct {

    // The bundle identifier that's assigned to your iOS app. This identifier is
    // used for APNs tokens.
    BundleId *string `type:"string"`

    // The APNs client certificate that you received from Apple, if you want Amazon
    // Pinpoint to communicate with the APNs sandbox environment by using an APNs
    // certificate.
    Certificate *string `type:"string"`

    // The default authentication method that you want Amazon Pinpoint to use when
    // authenticating with the APNs sandbox environment, key or certificate.
    DefaultAuthenticationMethod *string `type:"string"`

    // Specifies whether to enable the APNs sandbox channel for the application.
    Enabled *bool `type:"boolean"`

    // The private key for the APNs client certificate that you want Amazon Pinpoint
    // to use to communicate with the APNs sandbox environment.
    PrivateKey *string `type:"string"`

    // The identifier that's assigned to your Apple developer account team. This
    // identifier is used for APNs tokens.
    TeamId *string `type:"string"`

    // The authentication key to use for APNs tokens.
    TokenKey *string `type:"string"`

    // The key identifier that's assigned to your APNs signing key, if you want
    // Amazon Pinpoint to communicate with the APNs sandbox environment by using
    // APNs tokens.
    TokenKeyId *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies the status and settings of the APNs (Apple Push Notification service) sandbox channel for an application.

func (APNSSandboxChannelRequest) GoString

func (s APNSSandboxChannelRequest) GoString() string

GoString returns the string representation

func (*APNSSandboxChannelRequest) SetBundleId

func (s *APNSSandboxChannelRequest) SetBundleId(v string) *APNSSandboxChannelRequest

SetBundleId sets the BundleId field's value.

func (*APNSSandboxChannelRequest) SetCertificate

func (s *APNSSandboxChannelRequest) SetCertificate(v string) *APNSSandboxChannelRequest

SetCertificate sets the Certificate field's value.

func (*APNSSandboxChannelRequest) SetDefaultAuthenticationMethod

func (s *APNSSandboxChannelRequest) SetDefaultAuthenticationMethod(v string) *APNSSandboxChannelRequest

SetDefaultAuthenticationMethod sets the DefaultAuthenticationMethod field's value.

func (*APNSSandboxChannelRequest) SetEnabled

func (s *APNSSandboxChannelRequest) SetEnabled(v bool) *APNSSandboxChannelRequest

SetEnabled sets the Enabled field's value.

func (*APNSSandboxChannelRequest) SetPrivateKey

func (s *APNSSandboxChannelRequest) SetPrivateKey(v string) *APNSSandboxChannelRequest

SetPrivateKey sets the PrivateKey field's value.

func (*APNSSandboxChannelRequest) SetTeamId

func (s *APNSSandboxChannelRequest) SetTeamId(v string) *APNSSandboxChannelRequest

SetTeamId sets the TeamId field's value.

func (*APNSSandboxChannelRequest) SetTokenKey

func (s *APNSSandboxChannelRequest) SetTokenKey(v string) *APNSSandboxChannelRequest

SetTokenKey sets the TokenKey field's value.

func (*APNSSandboxChannelRequest) SetTokenKeyId

func (s *APNSSandboxChannelRequest) SetTokenKeyId(v string) *APNSSandboxChannelRequest

SetTokenKeyId sets the TokenKeyId field's value.

func (APNSSandboxChannelRequest) String

func (s APNSSandboxChannelRequest) String() string

String returns the string representation

type APNSSandboxChannelResponse

type APNSSandboxChannelResponse struct {

    // The unique identifier for the application that the APNs sandbox channel applies
    // to.
    ApplicationId *string `type:"string"`

    // The date and time when the APNs sandbox channel was enabled.
    CreationDate *string `type:"string"`

    // The default authentication method that Amazon Pinpoint uses to authenticate
    // with the APNs sandbox environment for this channel, key or certificate.
    DefaultAuthenticationMethod *string `type:"string"`

    // Specifies whether the APNs sandbox channel is enabled for the application.
    Enabled *bool `type:"boolean"`

    // (Not used) This property is retained only for backward compatibility.
    HasCredential *bool `type:"boolean"`

    // Specifies whether the APNs sandbox channel is configured to communicate with
    // APNs by using APNs tokens. To provide an authentication key for APNs tokens,
    // set the TokenKey property of the channel.
    HasTokenKey *bool `type:"boolean"`

    // (Deprecated) An identifier for the APNs sandbox channel. This property is
    // retained only for backward compatibility.
    Id *string `type:"string"`

    // Specifies whether the APNs sandbox channel is archived.
    IsArchived *bool `type:"boolean"`

    // The user who last modified the APNs sandbox channel.
    LastModifiedBy *string `type:"string"`

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

    // The type of messaging or notification platform for the channel. For the APNs
    // sandbox channel, this value is APNS_SANDBOX.
    //
    // Platform is a required field
    Platform *string `type:"string" required:"true"`

    // The current version of the APNs sandbox channel.
    Version *int64 `type:"integer"`
    // contains filtered or unexported fields
}

Provides information about the status and settings of the APNs (Apple Push Notification service) sandbox channel for an application.

func (APNSSandboxChannelResponse) GoString

func (s APNSSandboxChannelResponse) GoString() string

GoString returns the string representation

func (*APNSSandboxChannelResponse) SetApplicationId

func (s *APNSSandboxChannelResponse) SetApplicationId(v string) *APNSSandboxChannelResponse

SetApplicationId sets the ApplicationId field's value.

func (*APNSSandboxChannelResponse) SetCreationDate

func (s *APNSSandboxChannelResponse) SetCreationDate(v string) *APNSSandboxChannelResponse

SetCreationDate sets the CreationDate field's value.

func (*APNSSandboxChannelResponse) SetDefaultAuthenticationMethod

func (s *APNSSandboxChannelResponse) SetDefaultAuthenticationMethod(v string) *APNSSandboxChannelResponse

SetDefaultAuthenticationMethod sets the DefaultAuthenticationMethod field's value.

func (*APNSSandboxChannelResponse) SetEnabled

func (s *APNSSandboxChannelResponse) SetEnabled(v bool) *APNSSandboxChannelResponse

SetEnabled sets the Enabled field's value.

func (*APNSSandboxChannelResponse) SetHasCredential

func (s *APNSSandboxChannelResponse) SetHasCredential(v bool) *APNSSandboxChannelResponse

SetHasCredential sets the HasCredential field's value.

func (*APNSSandboxChannelResponse) SetHasTokenKey

func (s *APNSSandboxChannelResponse) SetHasTokenKey(v bool) *APNSSandboxChannelResponse

SetHasTokenKey sets the HasTokenKey field's value.

func (*APNSSandboxChannelResponse) SetId

func (s *APNSSandboxChannelResponse) SetId(v string) *APNSSandboxChannelResponse

SetId sets the Id field's value.

func (*APNSSandboxChannelResponse) SetIsArchived

func (s *APNSSandboxChannelResponse) SetIsArchived(v bool) *APNSSandboxChannelResponse

SetIsArchived sets the IsArchived field's value.

func (*APNSSandboxChannelResponse) SetLastModifiedBy

func (s *APNSSandboxChannelResponse) SetLastModifiedBy(v string) *APNSSandboxChannelResponse

SetLastModifiedBy sets the LastModifiedBy field's value.

func (*APNSSandboxChannelResponse) SetLastModifiedDate

func (s *APNSSandboxChannelResponse) SetLastModifiedDate(v string) *APNSSandboxChannelResponse

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*APNSSandboxChannelResponse) SetPlatform

func (s *APNSSandboxChannelResponse) SetPlatform(v string) *APNSSandboxChannelResponse

SetPlatform sets the Platform field's value.

func (*APNSSandboxChannelResponse) SetVersion

func (s *APNSSandboxChannelResponse) SetVersion(v int64) *APNSSandboxChannelResponse

SetVersion sets the Version field's value.

func (APNSSandboxChannelResponse) String

func (s APNSSandboxChannelResponse) String() string

String returns the string representation

type APNSVoipChannelRequest

type APNSVoipChannelRequest struct {

    // The bundle identifier that's assigned to your iOS app. This identifier is
    // used for APNs tokens.
    BundleId *string `type:"string"`

    // The APNs client certificate that you received from Apple, if you want Amazon
    // Pinpoint to communicate with APNs by using an APNs certificate.
    Certificate *string `type:"string"`

    // The default authentication method that you want Amazon Pinpoint to use when
    // authenticating with APNs, key or certificate.
    DefaultAuthenticationMethod *string `type:"string"`

    // Specifies whether to enable the APNs VoIP channel for the application.
    Enabled *bool `type:"boolean"`

    // The private key for the APNs client certificate that you want Amazon Pinpoint
    // to use to communicate with APNs.
    PrivateKey *string `type:"string"`

    // The identifier that's assigned to your Apple developer account team. This
    // identifier is used for APNs tokens.
    TeamId *string `type:"string"`

    // The authentication key to use for APNs tokens.
    TokenKey *string `type:"string"`

    // The key identifier that's assigned to your APNs signing key, if you want
    // Amazon Pinpoint to communicate with APNs by using APNs tokens.
    TokenKeyId *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies the status and settings of the APNs (Apple Push Notification service) VoIP channel for an application.

func (APNSVoipChannelRequest) GoString

func (s APNSVoipChannelRequest) GoString() string

GoString returns the string representation

func (*APNSVoipChannelRequest) SetBundleId

func (s *APNSVoipChannelRequest) SetBundleId(v string) *APNSVoipChannelRequest

SetBundleId sets the BundleId field's value.

func (*APNSVoipChannelRequest) SetCertificate

func (s *APNSVoipChannelRequest) SetCertificate(v string) *APNSVoipChannelRequest

SetCertificate sets the Certificate field's value.

func (*APNSVoipChannelRequest) SetDefaultAuthenticationMethod

func (s *APNSVoipChannelRequest) SetDefaultAuthenticationMethod(v string) *APNSVoipChannelRequest

SetDefaultAuthenticationMethod sets the DefaultAuthenticationMethod field's value.

func (*APNSVoipChannelRequest) SetEnabled

func (s *APNSVoipChannelRequest) SetEnabled(v bool) *APNSVoipChannelRequest

SetEnabled sets the Enabled field's value.

func (*APNSVoipChannelRequest) SetPrivateKey

func (s *APNSVoipChannelRequest) SetPrivateKey(v string) *APNSVoipChannelRequest

SetPrivateKey sets the PrivateKey field's value.

func (*APNSVoipChannelRequest) SetTeamId

func (s *APNSVoipChannelRequest) SetTeamId(v string) *APNSVoipChannelRequest

SetTeamId sets the TeamId field's value.

func (*APNSVoipChannelRequest) SetTokenKey

func (s *APNSVoipChannelRequest) SetTokenKey(v string) *APNSVoipChannelRequest

SetTokenKey sets the TokenKey field's value.

func (*APNSVoipChannelRequest) SetTokenKeyId

func (s *APNSVoipChannelRequest) SetTokenKeyId(v string) *APNSVoipChannelRequest

SetTokenKeyId sets the TokenKeyId field's value.

func (APNSVoipChannelRequest) String

func (s APNSVoipChannelRequest) String() string

String returns the string representation

type APNSVoipChannelResponse

type APNSVoipChannelResponse struct {

    // The unique identifier for the application that the APNs VoIP channel applies
    // to.
    ApplicationId *string `type:"string"`

    // The date and time when the APNs VoIP channel was enabled.
    CreationDate *string `type:"string"`

    // The default authentication method that Amazon Pinpoint uses to authenticate
    // with APNs for this channel, key or certificate.
    DefaultAuthenticationMethod *string `type:"string"`

    // Specifies whether the APNs VoIP channel is enabled for the application.
    Enabled *bool `type:"boolean"`

    // (Not used) This property is retained only for backward compatibility.
    HasCredential *bool `type:"boolean"`

    // Specifies whether the APNs VoIP channel is configured to communicate with
    // APNs by using APNs tokens. To provide an authentication key for APNs tokens,
    // set the TokenKey property of the channel.
    HasTokenKey *bool `type:"boolean"`

    // (Deprecated) An identifier for the APNs VoIP channel. This property is retained
    // only for backward compatibility.
    Id *string `type:"string"`

    // Specifies whether the APNs VoIP channel is archived.
    IsArchived *bool `type:"boolean"`

    // The user who last modified the APNs VoIP channel.
    LastModifiedBy *string `type:"string"`

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

    // The type of messaging or notification platform for the channel. For the APNs
    // VoIP channel, this value is APNS_VOIP.
    //
    // Platform is a required field
    Platform *string `type:"string" required:"true"`

    // The current version of the APNs VoIP channel.
    Version *int64 `type:"integer"`
    // contains filtered or unexported fields
}

Provides information about the status and settings of the APNs (Apple Push Notification service) VoIP channel for an application.

func (APNSVoipChannelResponse) GoString

func (s APNSVoipChannelResponse) GoString() string

GoString returns the string representation

func (*APNSVoipChannelResponse) SetApplicationId

func (s *APNSVoipChannelResponse) SetApplicationId(v string) *APNSVoipChannelResponse

SetApplicationId sets the ApplicationId field's value.

func (*APNSVoipChannelResponse) SetCreationDate

func (s *APNSVoipChannelResponse) SetCreationDate(v string) *APNSVoipChannelResponse

SetCreationDate sets the CreationDate field's value.

func (*APNSVoipChannelResponse) SetDefaultAuthenticationMethod

func (s *APNSVoipChannelResponse) SetDefaultAuthenticationMethod(v string) *APNSVoipChannelResponse

SetDefaultAuthenticationMethod sets the DefaultAuthenticationMethod field's value.

func (*APNSVoipChannelResponse) SetEnabled

func (s *APNSVoipChannelResponse) SetEnabled(v bool) *APNSVoipChannelResponse

SetEnabled sets the Enabled field's value.

func (*APNSVoipChannelResponse) SetHasCredential

func (s *APNSVoipChannelResponse) SetHasCredential(v bool) *APNSVoipChannelResponse

SetHasCredential sets the HasCredential field's value.

func (*APNSVoipChannelResponse) SetHasTokenKey

func (s *APNSVoipChannelResponse) SetHasTokenKey(v bool) *APNSVoipChannelResponse

SetHasTokenKey sets the HasTokenKey field's value.

func (*APNSVoipChannelResponse) SetId

func (s *APNSVoipChannelResponse) SetId(v string) *APNSVoipChannelResponse

SetId sets the Id field's value.

func (*APNSVoipChannelResponse) SetIsArchived

func (s *APNSVoipChannelResponse) SetIsArchived(v bool) *APNSVoipChannelResponse

SetIsArchived sets the IsArchived field's value.

func (*APNSVoipChannelResponse) SetLastModifiedBy

func (s *APNSVoipChannelResponse) SetLastModifiedBy(v string) *APNSVoipChannelResponse

SetLastModifiedBy sets the LastModifiedBy field's value.

func (*APNSVoipChannelResponse) SetLastModifiedDate

func (s *APNSVoipChannelResponse) SetLastModifiedDate(v string) *APNSVoipChannelResponse

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*APNSVoipChannelResponse) SetPlatform

func (s *APNSVoipChannelResponse) SetPlatform(v string) *APNSVoipChannelResponse

SetPlatform sets the Platform field's value.

func (*APNSVoipChannelResponse) SetVersion

func (s *APNSVoipChannelResponse) SetVersion(v int64) *APNSVoipChannelResponse

SetVersion sets the Version field's value.

func (APNSVoipChannelResponse) String

func (s APNSVoipChannelResponse) String() string

String returns the string representation

type APNSVoipSandboxChannelRequest

type APNSVoipSandboxChannelRequest struct {

    // The bundle identifier that's assigned to your iOS app. This identifier is
    // used for APNs tokens.
    BundleId *string `type:"string"`

    // The APNs client certificate that you received from Apple, if you want Amazon
    // Pinpoint to communicate with the APNs sandbox environment by using an APNs
    // certificate.
    Certificate *string `type:"string"`

    // The default authentication method that you want Amazon Pinpoint to use when
    // authenticating with the APNs sandbox environment for this channel, key or
    // certificate.
    DefaultAuthenticationMethod *string `type:"string"`

    // Specifies whether the APNs VoIP sandbox channel is enabled for the application.
    Enabled *bool `type:"boolean"`

    // The private key for the APNs client certificate that you want Amazon Pinpoint
    // to use to communicate with the APNs sandbox environment.
    PrivateKey *string `type:"string"`

    // The identifier that's assigned to your Apple developer account team. This
    // identifier is used for APNs tokens.
    TeamId *string `type:"string"`

    // The authentication key to use for APNs tokens.
    TokenKey *string `type:"string"`

    // The key identifier that's assigned to your APNs signing key, if you want
    // Amazon Pinpoint to communicate with the APNs sandbox environment by using
    // APNs tokens.
    TokenKeyId *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies the status and settings of the APNs (Apple Push Notification service) VoIP sandbox channel for an application.

func (APNSVoipSandboxChannelRequest) GoString

func (s APNSVoipSandboxChannelRequest) GoString() string

GoString returns the string representation

func (*APNSVoipSandboxChannelRequest) SetBundleId

func (s *APNSVoipSandboxChannelRequest) SetBundleId(v string) *APNSVoipSandboxChannelRequest

SetBundleId sets the BundleId field's value.

func (*APNSVoipSandboxChannelRequest) SetCertificate

func (s *APNSVoipSandboxChannelRequest) SetCertificate(v string) *APNSVoipSandboxChannelRequest

SetCertificate sets the Certificate field's value.

func (*APNSVoipSandboxChannelRequest) SetDefaultAuthenticationMethod

func (s *APNSVoipSandboxChannelRequest) SetDefaultAuthenticationMethod(v string) *APNSVoipSandboxChannelRequest

SetDefaultAuthenticationMethod sets the DefaultAuthenticationMethod field's value.

func (*APNSVoipSandboxChannelRequest) SetEnabled

func (s *APNSVoipSandboxChannelRequest) SetEnabled(v bool) *APNSVoipSandboxChannelRequest

SetEnabled sets the Enabled field's value.

func (*APNSVoipSandboxChannelRequest) SetPrivateKey

func (s *APNSVoipSandboxChannelRequest) SetPrivateKey(v string) *APNSVoipSandboxChannelRequest

SetPrivateKey sets the PrivateKey field's value.

func (*APNSVoipSandboxChannelRequest) SetTeamId

func (s *APNSVoipSandboxChannelRequest) SetTeamId(v string) *APNSVoipSandboxChannelRequest

SetTeamId sets the TeamId field's value.

func (*APNSVoipSandboxChannelRequest) SetTokenKey

func (s *APNSVoipSandboxChannelRequest) SetTokenKey(v string) *APNSVoipSandboxChannelRequest

SetTokenKey sets the TokenKey field's value.

func (*APNSVoipSandboxChannelRequest) SetTokenKeyId

func (s *APNSVoipSandboxChannelRequest) SetTokenKeyId(v string) *APNSVoipSandboxChannelRequest

SetTokenKeyId sets the TokenKeyId field's value.

func (APNSVoipSandboxChannelRequest) String

func (s APNSVoipSandboxChannelRequest) String() string

String returns the string representation

type APNSVoipSandboxChannelResponse

type APNSVoipSandboxChannelResponse struct {

    // The unique identifier for the application that the APNs VoIP sandbox channel
    // applies to.
    ApplicationId *string `type:"string"`

    // The date and time when the APNs VoIP sandbox channel was enabled.
    CreationDate *string `type:"string"`

    // The default authentication method that Amazon Pinpoint uses to authenticate
    // with the APNs sandbox environment for this channel, key or certificate.
    DefaultAuthenticationMethod *string `type:"string"`

    // Specifies whether the APNs VoIP sandbox channel is enabled for the application.
    Enabled *bool `type:"boolean"`

    // (Not used) This property is retained only for backward compatibility.
    HasCredential *bool `type:"boolean"`

    // Specifies whether the APNs VoIP sandbox channel is configured to communicate
    // with APNs by using APNs tokens. To provide an authentication key for APNs
    // tokens, set the TokenKey property of the channel.
    HasTokenKey *bool `type:"boolean"`

    // (Deprecated) An identifier for the APNs VoIP sandbox channel. This property
    // is retained only for backward compatibility.
    Id *string `type:"string"`

    // Specifies whether the APNs VoIP sandbox channel is archived.
    IsArchived *bool `type:"boolean"`

    // The user who last modified the APNs VoIP sandbox channel.
    LastModifiedBy *string `type:"string"`

    // The date and time when the APNs VoIP sandbox channel was last modified.
    LastModifiedDate *string `type:"string"`

    // The type of messaging or notification platform for the channel. For the APNs
    // VoIP sandbox channel, this value is APNS_VOIP_SANDBOX.
    //
    // Platform is a required field
    Platform *string `type:"string" required:"true"`

    // The current version of the APNs VoIP sandbox channel.
    Version *int64 `type:"integer"`
    // contains filtered or unexported fields
}

Provides information about the status and settings of the APNs (Apple Push Notification service) VoIP sandbox channel for an application.

func (APNSVoipSandboxChannelResponse) GoString

func (s APNSVoipSandboxChannelResponse) GoString() string

GoString returns the string representation

func (*APNSVoipSandboxChannelResponse) SetApplicationId

func (s *APNSVoipSandboxChannelResponse) SetApplicationId(v string) *APNSVoipSandboxChannelResponse

SetApplicationId sets the ApplicationId field's value.

func (*APNSVoipSandboxChannelResponse) SetCreationDate

func (s *APNSVoipSandboxChannelResponse) SetCreationDate(v string) *APNSVoipSandboxChannelResponse

SetCreationDate sets the CreationDate field's value.

func (*APNSVoipSandboxChannelResponse) SetDefaultAuthenticationMethod

func (s *APNSVoipSandboxChannelResponse) SetDefaultAuthenticationMethod(v string) *APNSVoipSandboxChannelResponse

SetDefaultAuthenticationMethod sets the DefaultAuthenticationMethod field's value.

func (*APNSVoipSandboxChannelResponse) SetEnabled

func (s *APNSVoipSandboxChannelResponse) SetEnabled(v bool) *APNSVoipSandboxChannelResponse

SetEnabled sets the Enabled field's value.

func (*APNSVoipSandboxChannelResponse) SetHasCredential

func (s *APNSVoipSandboxChannelResponse) SetHasCredential(v bool) *APNSVoipSandboxChannelResponse

SetHasCredential sets the HasCredential field's value.

func (*APNSVoipSandboxChannelResponse) SetHasTokenKey

func (s *APNSVoipSandboxChannelResponse) SetHasTokenKey(v bool) *APNSVoipSandboxChannelResponse

SetHasTokenKey sets the HasTokenKey field's value.

func (*APNSVoipSandboxChannelResponse) SetId

func (s *APNSVoipSandboxChannelResponse) SetId(v string) *APNSVoipSandboxChannelResponse

SetId sets the Id field's value.

func (*APNSVoipSandboxChannelResponse) SetIsArchived

func (s *APNSVoipSandboxChannelResponse) SetIsArchived(v bool) *APNSVoipSandboxChannelResponse

SetIsArchived sets the IsArchived field's value.

func (*APNSVoipSandboxChannelResponse) SetLastModifiedBy

func (s *APNSVoipSandboxChannelResponse) SetLastModifiedBy(v string) *APNSVoipSandboxChannelResponse

SetLastModifiedBy sets the LastModifiedBy field's value.

func (*APNSVoipSandboxChannelResponse) SetLastModifiedDate

func (s *APNSVoipSandboxChannelResponse) SetLastModifiedDate(v string) *APNSVoipSandboxChannelResponse

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*APNSVoipSandboxChannelResponse) SetPlatform

func (s *APNSVoipSandboxChannelResponse) SetPlatform(v string) *APNSVoipSandboxChannelResponse

SetPlatform sets the Platform field's value.

func (*APNSVoipSandboxChannelResponse) SetVersion

func (s *APNSVoipSandboxChannelResponse) SetVersion(v int64) *APNSVoipSandboxChannelResponse

SetVersion sets the Version field's value.

func (APNSVoipSandboxChannelResponse) String

func (s APNSVoipSandboxChannelResponse) String() string

String returns the string representation

type ActivitiesResponse

type ActivitiesResponse struct {

    // An array of responses, one for each activity that was performed by the campaign.
    //
    // Item is a required field
    Item []*ActivityResponse `type:"list" required:"true"`

    // The string to use in a subsequent request to get the next page of results
    // in a paginated response. This value is null if there are no additional pages.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

Provides information about the activities that were performed by a campaign.

func (ActivitiesResponse) GoString

func (s ActivitiesResponse) GoString() string

GoString returns the string representation

func (*ActivitiesResponse) SetItem

func (s *ActivitiesResponse) SetItem(v []*ActivityResponse) *ActivitiesResponse

SetItem sets the Item field's value.

func (*ActivitiesResponse) SetNextToken

func (s *ActivitiesResponse) SetNextToken(v string) *ActivitiesResponse

SetNextToken sets the NextToken field's value.

func (ActivitiesResponse) String

func (s ActivitiesResponse) String() string

String returns the string representation

type ActivityResponse

type ActivityResponse struct {

    // The unique identifier for the application that the campaign applies to.
    //
    // ApplicationId is a required field
    ApplicationId *string `type:"string" required:"true"`

    // The unique identifier for the campaign that the activity applies to.
    //
    // CampaignId is a required field
    CampaignId *string `type:"string" required:"true"`

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

    // The unique identifier for the activity.
    //
    // Id is a required field
    Id *string `type:"string" required:"true"`

    // Specifies whether the activity succeeded. Possible values are SUCCESS and
    // FAIL.
    Result *string `type:"string"`

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

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

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

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

    // The total number of time zones that were completed.
    TimezonesCompletedCount *int64 `type:"integer"`

    // The total number of unique time zones that are in the segment for the campaign.
    TimezonesTotalCount *int64 `type:"integer"`

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

    // The unique identifier for the campaign treatment that the activity applies
    // to. A treatment is a variation of a campaign that's used for A/B testing
    // of a campaign.
    TreatmentId *string `type:"string"`
    // contains filtered or unexported fields
}

Provides information about an activity that was performed by a campaign.

func (ActivityResponse) GoString

func (s ActivityResponse) GoString() string

GoString returns the string representation

func (*ActivityResponse) SetApplicationId

func (s *ActivityResponse) SetApplicationId(v string) *ActivityResponse

SetApplicationId sets the ApplicationId field's value.

func (*ActivityResponse) SetCampaignId

func (s *ActivityResponse) SetCampaignId(v string) *ActivityResponse

SetCampaignId sets the CampaignId field's value.

func (*ActivityResponse) SetEnd

func (s *ActivityResponse) SetEnd(v string) *ActivityResponse

SetEnd sets the End field's value.

func (*ActivityResponse) SetId

func (s *ActivityResponse) SetId(v string) *ActivityResponse

SetId sets the Id field's value.

func (*ActivityResponse) SetResult

func (s *ActivityResponse) SetResult(v string) *ActivityResponse

SetResult sets the Result field's value.

func (*ActivityResponse) SetScheduledStart

func (s *ActivityResponse) SetScheduledStart(v string) *ActivityResponse

SetScheduledStart sets the ScheduledStart field's value.

func (*ActivityResponse) SetStart

func (s *ActivityResponse) SetStart(v string) *ActivityResponse

SetStart sets the Start field's value.

func (*ActivityResponse) SetState

func (s *ActivityResponse) SetState(v string) *ActivityResponse

SetState sets the State field's value.

func (*ActivityResponse) SetSuccessfulEndpointCount

func (s *ActivityResponse) SetSuccessfulEndpointCount(v int64) *ActivityResponse

SetSuccessfulEndpointCount sets the SuccessfulEndpointCount field's value.

func (*ActivityResponse) SetTimezonesCompletedCount

func (s *ActivityResponse) SetTimezonesCompletedCount(v int64) *ActivityResponse

SetTimezonesCompletedCount sets the TimezonesCompletedCount field's value.

func (*ActivityResponse) SetTimezonesTotalCount

func (s *ActivityResponse) SetTimezonesTotalCount(v int64) *ActivityResponse

SetTimezonesTotalCount sets the TimezonesTotalCount field's value.

func (*ActivityResponse) SetTotalEndpointCount

func (s *ActivityResponse) SetTotalEndpointCount(v int64) *ActivityResponse

SetTotalEndpointCount sets the TotalEndpointCount field's value.

func (*ActivityResponse) SetTreatmentId

func (s *ActivityResponse) SetTreatmentId(v string) *ActivityResponse

SetTreatmentId sets the TreatmentId field's value.

func (ActivityResponse) String

func (s ActivityResponse) String() string

String returns the string representation

type AddressConfiguration

type AddressConfiguration struct {

    // The message body to use instead of the default message body. This value overrides
    // the default message body.
    BodyOverride *string `type:"string"`

    // The channel to use when sending the message.
    ChannelType *string `type:"string" enum:"ChannelType"`

    // An object that maps custom attributes to attributes for the address and is
    // attached to the message. For a push notification, this payload is added to
    // the data.pinpoint object. For an email or text message, this payload is added
    // to email/SMS delivery receipt event attributes.
    Context map[string]*string `type:"map"`

    // The raw, JSON-formatted string to use as the payload for the notification
    // message. This value overrides the message.
    RawContent *string `type:"string"`

    // An object that maps variable values for the message. Amazon Pinpoint merges
    // these values with the variable values specified by properties of the DefaultMessage
    // object. The substitutions in this map take precedence over all other substitutions.
    Substitutions map[string][]*string `type:"map"`

    // The message title to use instead of the default message title. This value
    // overrides the default message title.
    TitleOverride *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies address-based configuration settings for a message that's sent directly to an endpoint.

func (AddressConfiguration) GoString

func (s AddressConfiguration) GoString() string

GoString returns the string representation

func (*AddressConfiguration) SetBodyOverride

func (s *AddressConfiguration) SetBodyOverride(v string) *AddressConfiguration

SetBodyOverride sets the BodyOverride field's value.

func (*AddressConfiguration) SetChannelType

func (s *AddressConfiguration) SetChannelType(v string) *AddressConfiguration

SetChannelType sets the ChannelType field's value.

func (*AddressConfiguration) SetContext

func (s *AddressConfiguration) SetContext(v map[string]*string) *AddressConfiguration

SetContext sets the Context field's value.

func (*AddressConfiguration) SetRawContent

func (s *AddressConfiguration) SetRawContent(v string) *AddressConfiguration

SetRawContent sets the RawContent field's value.

func (*AddressConfiguration) SetSubstitutions

func (s *AddressConfiguration) SetSubstitutions(v map[string][]*string) *AddressConfiguration

SetSubstitutions sets the Substitutions field's value.

func (*AddressConfiguration) SetTitleOverride

func (s *AddressConfiguration) SetTitleOverride(v string) *AddressConfiguration

SetTitleOverride sets the TitleOverride field's value.

func (AddressConfiguration) String

func (s AddressConfiguration) String() string

String returns the string representation

type ApplicationDateRangeKpiResponse

type ApplicationDateRangeKpiResponse struct {

    // The unique identifier for the application that the metric applies to.
    //
    // ApplicationId is a required field
    ApplicationId *string `type:"string" required:"true"`

    // EndTime is a required field
    EndTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

    // The name of the metric, also referred to as a key performance indicator (KPI),
    // that the data was retrieved for. This value describes the associated metric
    // and consists of two or more terms, which are comprised of lowercase alphanumeric
    // characters, separated by a hyphen. For a list of valid values, see the Amazon
    // Pinpoint Developer Guide (developerguide.html).
    //
    // KpiName is a required field
    KpiName *string `type:"string" required:"true"`

    // An array of objects that contains the results of the query. Each object contains
    // the value for the metric and metadata about that value.
    //
    // KpiResult is a required field
    KpiResult *BaseKpiResult `type:"structure" required:"true"`

    // The string to use in a subsequent request to get the next page of results
    // in a paginated response. This value is null for the App Metrics resource.
    // The App Metrics resource returns all results in a single page.
    NextToken *string `type:"string"`

    // StartTime is a required field
    StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
    // contains filtered or unexported fields
}

Provides the results of a query that retrieved the data for a standard metric that applies to an application, and provides information about that query.

func (ApplicationDateRangeKpiResponse) GoString

func (s ApplicationDateRangeKpiResponse) GoString() string

GoString returns the string representation

func (*ApplicationDateRangeKpiResponse) SetApplicationId

func (s *ApplicationDateRangeKpiResponse) SetApplicationId(v string) *ApplicationDateRangeKpiResponse

SetApplicationId sets the ApplicationId field's value.

func (*ApplicationDateRangeKpiResponse) SetEndTime

func (s *ApplicationDateRangeKpiResponse) SetEndTime(v time.Time) *ApplicationDateRangeKpiResponse

SetEndTime sets the EndTime field's value.

func (*ApplicationDateRangeKpiResponse) SetKpiName

func (s *ApplicationDateRangeKpiResponse) SetKpiName(v string) *ApplicationDateRangeKpiResponse

SetKpiName sets the KpiName field's value.

func (*ApplicationDateRangeKpiResponse) SetKpiResult

func (s *ApplicationDateRangeKpiResponse) SetKpiResult(v *BaseKpiResult) *ApplicationDateRangeKpiResponse

SetKpiResult sets the KpiResult field's value.

func (*ApplicationDateRangeKpiResponse) SetNextToken

func (s *ApplicationDateRangeKpiResponse) SetNextToken(v string) *ApplicationDateRangeKpiResponse

SetNextToken sets the NextToken field's value.

func (*ApplicationDateRangeKpiResponse) SetStartTime

func (s *ApplicationDateRangeKpiResponse) SetStartTime(v time.Time) *ApplicationDateRangeKpiResponse

SetStartTime sets the StartTime field's value.

func (ApplicationDateRangeKpiResponse) String

func (s ApplicationDateRangeKpiResponse) String() string

String returns the string representation

type ApplicationResponse

type ApplicationResponse struct {

    // The Amazon Resource Name (ARN) of the application.
    //
    // Arn is a required field
    Arn *string `type:"string" required:"true"`

    // The unique identifier for the application. This identifier is displayed as
    // the Project ID on the Amazon Pinpoint console.
    //
    // Id is a required field
    Id *string `type:"string" required:"true"`

    // The display name of the application. This name is displayed as the Project
    // name on the Amazon Pinpoint console.
    //
    // Name is a required field
    Name *string `type:"string" required:"true"`

    // A string-to-string map of key-value pairs that identifies the tags that are
    // associated with the application. Each tag consists of a required tag key
    // and an associated tag value.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

Provides information about an application.

func (ApplicationResponse) GoString

func (s ApplicationResponse) GoString() string

GoString returns the string representation

func (*ApplicationResponse) SetArn

func (s *ApplicationResponse) SetArn(v string) *ApplicationResponse

SetArn sets the Arn field's value.

func (*ApplicationResponse) SetId

func (s *ApplicationResponse) SetId(v string) *ApplicationResponse

SetId sets the Id field's value.

func (*ApplicationResponse) SetName

func (s *ApplicationResponse) SetName(v string) *ApplicationResponse

SetName sets the Name field's value.

func (*ApplicationResponse) SetTags

func (s *ApplicationResponse) SetTags(v map[string]*string) *ApplicationResponse

SetTags sets the Tags field's value.

func (ApplicationResponse) String

func (s ApplicationResponse) String() string

String returns the string representation

type ApplicationSettingsResource

type ApplicationSettingsResource struct {

    // The unique identifier for the application. This identifier is displayed as
    // the Project ID on the Amazon Pinpoint console.
    //
    // ApplicationId is a required field
    ApplicationId *string `type:"string" required:"true"`

    // The settings for the AWS Lambda function to use by default as a code hook
    // for campaigns in the application.
    CampaignHook *CampaignHook `type:"structure"`

    // The date and time, in ISO 8601 format, when the application's settings were
    // last modified.
    LastModifiedDate *string `type:"string"`

    // The default sending limits for campaigns in the application.
    Limits *CampaignLimits `type:"structure"`

    // The default quiet time for campaigns in the application. Quiet time is a
    // specific time range when campaigns don't send messages to endpoints, if all
    // the following conditions are met:
    //
    //    * The EndpointDemographic.Timezone property of the endpoint is set to
    //    a valid value.
    //
    //    * The current time in the endpoint's time zone is later than or equal
    //    to the time specified by the QuietTime.Start property for the application
    //    (or a campaign that has custom quiet time settings).
    //
    //    * The current time in the endpoint's time zone is earlier than or equal
    //    to the time specified by the QuietTime.End property for the application
    //    (or a campaign that has custom quiet time settings).
    //
    // If any of the preceding conditions isn't met, the endpoint will receive messages
    // from a campaign, even if quiet time is enabled.
    QuietTime *QuietTime `type:"structure"`
    // contains filtered or unexported fields
}

Provides information about an application, including the default settings for an application.

func (ApplicationSettingsResource) GoString

func (s ApplicationSettingsResource) GoString() string

GoString returns the string representation

func (*ApplicationSettingsResource) SetApplicationId

func (s *ApplicationSettingsResource) SetApplicationId(v string) *ApplicationSettingsResource

SetApplicationId sets the ApplicationId field's value.

func (*ApplicationSettingsResource) SetCampaignHook

func (s *ApplicationSettingsResource) SetCampaignHook(v *CampaignHook) *ApplicationSettingsResource

SetCampaignHook sets the CampaignHook field's value.

func (*ApplicationSettingsResource) SetLastModifiedDate

func (s *ApplicationSettingsResource) SetLastModifiedDate(v string) *ApplicationSettingsResource

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*ApplicationSettingsResource) SetLimits

func (s *ApplicationSettingsResource) SetLimits(v *CampaignLimits) *ApplicationSettingsResource

SetLimits sets the Limits field's value.

func (*ApplicationSettingsResource) SetQuietTime

func (s *ApplicationSettingsResource) SetQuietTime(v *QuietTime) *ApplicationSettingsResource

SetQuietTime sets the QuietTime field's value.

func (ApplicationSettingsResource) String

func (s ApplicationSettingsResource) String() string

String returns the string representation

type ApplicationsResponse

type ApplicationsResponse struct {

    // An array of responses, one for each application that was returned.
    Item []*ApplicationResponse `type:"list"`

    // The string to use in a subsequent request to get the next page of results
    // in a paginated response. This value is null if there are no additional pages.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

Provides information about all of your applications.

func (ApplicationsResponse) GoString

func (s ApplicationsResponse) GoString() string

GoString returns the string representation

func (*ApplicationsResponse) SetItem

func (s *ApplicationsResponse) SetItem(v []*ApplicationResponse) *ApplicationsResponse

SetItem sets the Item field's value.

func (*ApplicationsResponse) SetNextToken

func (s *ApplicationsResponse) SetNextToken(v string) *ApplicationsResponse

SetNextToken sets the NextToken field's value.

func (ApplicationsResponse) String

func (s ApplicationsResponse) String() string

String returns the string representation

type AttributeDimension

type AttributeDimension struct {

    // The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints
    // that match the criteria are included in the segment; and, EXCLUSIVE, endpoints
    // that match the criteria are excluded from the segment.
    AttributeType *string `type:"string" enum:"AttributeType"`

    // The criteria values to use for the segment dimension. Depending on the value
    // of the AttributeType property, endpoints are included or excluded from the
    // segment if their attribute values match the criteria values.
    //
    // Values is a required field
    Values []*string `type:"list" required:"true"`
    // contains filtered or unexported fields
}

Specifies attribute-based criteria for including or excluding endpoints from a segment.

func (AttributeDimension) GoString

func (s AttributeDimension) GoString() string

GoString returns the string representation

func (*AttributeDimension) SetAttributeType

func (s *AttributeDimension) SetAttributeType(v string) *AttributeDimension

SetAttributeType sets the AttributeType field's value.

func (*AttributeDimension) SetValues

func (s *AttributeDimension) SetValues(v []*string) *AttributeDimension

SetValues sets the Values field's value.

func (AttributeDimension) String

func (s AttributeDimension) String() string

String returns the string representation

func (*AttributeDimension) Validate

func (s *AttributeDimension) Validate() error

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

type AttributesResource

type AttributesResource struct {

    // The unique identifier for the application.
    //
    // ApplicationId is a required field
    ApplicationId *string `type:"string" required:"true"`

    // The type of attribute or attributes that were removed from the endpoints.
    // Valid values are:
    //
    //    * endpoint-custom-attributes - Custom attributes that describe endpoints
    //
    //    * endpoint-custom-metrics - Custom metrics that your app reports to Amazon
    //    Pinpoint for endpoints
    //
    //    * endpoint-user-attributes - Custom attributes that describe users
    //
    // AttributeType is a required field
    AttributeType *string `type:"string" required:"true"`

    // An array that specifies the names of the attributes that were removed from
    // the endpoints.
    Attributes []*string `type:"list"`
    // contains filtered or unexported fields
}

Provides information about the type and the names of attributes that were removed from all the endpoints that are associated with an application.

func (AttributesResource) GoString

func (s AttributesResource) GoString() string

GoString returns the string representation

func (*AttributesResource) SetApplicationId

func (s *AttributesResource) SetApplicationId(v string) *AttributesResource

SetApplicationId sets the ApplicationId field's value.

func (*AttributesResource) SetAttributeType

func (s *AttributesResource) SetAttributeType(v string) *AttributesResource

SetAttributeType sets the AttributeType field's value.

func (*AttributesResource) SetAttributes

func (s *AttributesResource) SetAttributes(v []*string) *AttributesResource

SetAttributes sets the Attributes field's value.

func (AttributesResource) String

func (s AttributesResource) String() string

String returns the string representation

type BaiduChannelRequest

type BaiduChannelRequest struct {

    // The API key that you received from the Baidu Cloud Push service to communicate
    // with the service.
    //
    // ApiKey is a required field
    ApiKey *string `type:"string" required:"true"`

    // Specifies whether to enable the Baidu channel for the application.
    Enabled *bool `type:"boolean"`

    // The secret key that you received from the Baidu Cloud Push service to communicate
    // with the service.
    //
    // SecretKey is a required field
    SecretKey *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Specifies the status and settings of the Baidu (Baidu Cloud Push) channel for an application.

func (BaiduChannelRequest) GoString

func (s BaiduChannelRequest) GoString() string

GoString returns the string representation

func (*BaiduChannelRequest) SetApiKey

func (s *BaiduChannelRequest) SetApiKey(v string) *BaiduChannelRequest

SetApiKey sets the ApiKey field's value.

func (*BaiduChannelRequest) SetEnabled

func (s *BaiduChannelRequest) SetEnabled(v bool) *BaiduChannelRequest

SetEnabled sets the Enabled field's value.

func (*BaiduChannelRequest) SetSecretKey

func (s *BaiduChannelRequest) SetSecretKey(v string) *BaiduChannelRequest

SetSecretKey sets the SecretKey field's value.

func (BaiduChannelRequest) String

func (s BaiduChannelRequest) String() string

String returns the string representation

func (*BaiduChannelRequest) Validate

func (s *BaiduChannelRequest) Validate() error

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

type BaiduChannelResponse

type BaiduChannelResponse struct {

    // The unique identifier for the application that the Baidu channel applies
    // to.
    ApplicationId *string `type:"string"`

    // The date and time when the Baidu channel was enabled.
    CreationDate *string `type:"string"`

    // The API key that you received from the Baidu Cloud Push service to communicate
    // with the service.
    //
    // Credential is a required field
    Credential *string `type:"string" required:"true"`

    // Specifies whether the Baidu channel is enabled for the application.
    Enabled *bool `type:"boolean"`

    // (Not used) This property is retained only for backward compatibility.
    HasCredential *bool `type:"boolean"`

    // (Deprecated) An identifier for the Baidu channel. This property is retained
    // only for backward compatibility.
    Id *string `type:"string"`

    // Specifies whether the Baidu channel is archived.
    IsArchived *bool `type:"boolean"`

    // The user who last modified the Baidu channel.
    LastModifiedBy *string `type:"string"`

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

    // The type of messaging or notification platform for the channel. For the Baidu
    // channel, this value is BAIDU.
    //
    // Platform is a required field
    Platform *string `type:"string" required:"true"`

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

Provides information about the status and settings of the Baidu (Baidu Cloud Push) channel for an application.

func (BaiduChannelResponse) GoString

func (s BaiduChannelResponse) GoString() string

GoString returns the string representation

func (*BaiduChannelResponse) SetApplicationId

func (s *BaiduChannelResponse) SetApplicationId(v string) *BaiduChannelResponse

SetApplicationId sets the ApplicationId field's value.

func (*BaiduChannelResponse) SetCreationDate

func (s *BaiduChannelResponse) SetCreationDate(v string) *BaiduChannelResponse

SetCreationDate sets the CreationDate field's value.

func (*BaiduChannelResponse) SetCredential

func (s *BaiduChannelResponse) SetCredential(v string) *BaiduChannelResponse

SetCredential sets the Credential field's value.

func (*BaiduChannelResponse) SetEnabled

func (s *BaiduChannelResponse) SetEnabled(v bool) *BaiduChannelResponse

SetEnabled sets the Enabled field's value.

func (*BaiduChannelResponse) SetHasCredential

func (s *BaiduChannelResponse) SetHasCredential(v bool) *BaiduChannelResponse

SetHasCredential sets the HasCredential field's value.

func (*BaiduChannelResponse) SetId

func (s *BaiduChannelResponse) SetId(v string) *BaiduChannelResponse

SetId sets the Id field's value.

func (*BaiduChannelResponse) SetIsArchived

func (s *BaiduChannelResponse) SetIsArchived(v bool) *BaiduChannelResponse

SetIsArchived sets the IsArchived field's value.

func (*BaiduChannelResponse) SetLastModifiedBy

func (s *BaiduChannelResponse) SetLastModifiedBy(v string) *BaiduChannelResponse

SetLastModifiedBy sets the LastModifiedBy field's value.

func (*BaiduChannelResponse) SetLastModifiedDate

func (s *BaiduChannelResponse) SetLastModifiedDate(v string) *BaiduChannelResponse

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*BaiduChannelResponse) SetPlatform

func (s *BaiduChannelResponse) SetPlatform(v string) *BaiduChannelResponse

SetPlatform sets the Platform field's value.

func (*BaiduChannelResponse) SetVersion

func (s *BaiduChannelResponse) SetVersion(v int64) *BaiduChannelResponse

SetVersion sets the Version field's value.

func (BaiduChannelResponse) String

func (s BaiduChannelResponse) String() string

String returns the string representation

type BaiduMessage

type BaiduMessage struct {

    // The action to occur if the recipient taps the push notification. Valid values
    // are:
    //
    //    * OPEN_APP - Your app opens or it becomes the foreground app if it was
    //    sent to the background. This is the default action.
    //
    //    * DEEP_LINK - Your app opens and displays a designated user interface
    //    in the app. This action uses the deep-linking features of the Android
    //    platform.
    //
    //    * URL - The default mobile browser on the recipient's device opens and
    //    loads the web page at a URL that you specify.
    Action *string `type:"string" enum:"Action"`

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

    // The JSON data payload to use for the push notification, if the notification
    // is a silent push notification. This payload is added to the data.pinpoint.jsonBody
    // object of the notification.
    Data map[string]*string `type:"map"`

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

    // The URL of the large icon image to display in the content view of the push
    // notification.
    ImageIconUrl *string `type:"string"`

    // The URL of an image to display in the push notification.
    ImageUrl *string `type:"string"`

    // The raw, JSON-formatted string to use as the payload for the notification
    // message. This value overrides the message.
    RawContent *string `type:"string"`

    // Specifies whether the notification is a silent push notification, which is
    // a push notification that doesn't display on a recipient's device. Silent
    // push notifications can be used for cases such as updating an app's configuration
    // or supporting phone home functionality.
    SilentPush *bool `type:"boolean"`

    // The URL of the small icon image to display in the status bar and the content
    // view of the push notification.
    SmallImageIconUrl *string `type:"string"`

    // The sound to play when the recipient receives the push notification. You
    // can use the default stream or specify the file name of a sound resource that's
    // bundled in your app. On an Android platform, the sound file must reside in
    // /res/raw/.
    Sound *string `type:"string"`

    // The default message variables to use in the notification message. You can
    // override the default variables with individual address variables.
    Substitutions map[string][]*string `type:"map"`

    // The amount of time, in seconds, that the Baidu Cloud Push service should
    // store the message if the recipient's device is offline. The default value
    // and maximum supported time is 604,800 seconds (7 days).
    TimeToLive *int64 `type:"integer"`

    // The title to display above the notification message on the recipient's device.
    Title *string `type:"string"`

    // The URL to open in the recipient's default mobile browser, if a recipient
    // taps the push notification and the value of the Action property is URL.
    Url *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies the settings for a one-time message that's sent directly to an endpoint through the Baidu (Baidu Cloud Push) channel.

func (BaiduMessage) GoString

func (s BaiduMessage) GoString() string

GoString returns the string representation

func (*BaiduMessage) SetAction

func (s *BaiduMessage) SetAction(v string) *BaiduMessage

SetAction sets the Action field's value.

func (*BaiduMessage) SetBody

func (s *BaiduMessage) SetBody(v string) *BaiduMessage

SetBody sets the Body field's value.

func (*BaiduMessage) SetData

func (s *BaiduMessage) SetData(v map[string]*string) *BaiduMessage

SetData sets the Data field's value.

func (*BaiduMessage) SetIconReference

func (s *BaiduMessage) SetIconReference(v string) *BaiduMessage

SetIconReference sets the IconReference field's value.

func (*BaiduMessage) SetImageIconUrl

func (s *BaiduMessage) SetImageIconUrl(v string) *BaiduMessage

SetImageIconUrl sets the ImageIconUrl field's value.

func (*BaiduMessage) SetImageUrl

func (s *BaiduMessage) SetImageUrl(v string) *BaiduMessage

SetImageUrl sets the ImageUrl field's value.

func (*BaiduMessage) SetRawContent

func (s *BaiduMessage) SetRawContent(v string) *BaiduMessage

SetRawContent sets the RawContent field's value.

func (*BaiduMessage) SetSilentPush

func (s *BaiduMessage) SetSilentPush(v bool) *BaiduMessage

SetSilentPush sets the SilentPush field's value.

func (*BaiduMessage) SetSmallImageIconUrl

func (s *BaiduMessage) SetSmallImageIconUrl(v string) *BaiduMessage

SetSmallImageIconUrl sets the SmallImageIconUrl field's value.

func (*BaiduMessage) SetSound

func (s *BaiduMessage) SetSound(v string) *BaiduMessage

SetSound sets the Sound field's value.

func (*BaiduMessage) SetSubstitutions

func (s *BaiduMessage) SetSubstitutions(v map[string][]*string) *BaiduMessage

SetSubstitutions sets the Substitutions field's value.

func (*BaiduMessage) SetTimeToLive

func (s *BaiduMessage) SetTimeToLive(v int64) *BaiduMessage

SetTimeToLive sets the TimeToLive field's value.

func (*BaiduMessage) SetTitle

func (s *BaiduMessage) SetTitle(v string) *BaiduMessage

SetTitle sets the Title field's value.

func (*BaiduMessage) SetUrl

func (s *BaiduMessage) SetUrl(v string) *BaiduMessage

SetUrl sets the Url field's value.

func (BaiduMessage) String

func (s BaiduMessage) String() string

String returns the string representation

type BaseKpiResult

type BaseKpiResult struct {

    // An array of objects that provides the results of a query that retrieved the
    // data for a standard metric that applies to an application or campaign.
    //
    // Rows is a required field
    Rows []*ResultRow `type:"list" required:"true"`
    // contains filtered or unexported fields
}

Provides the results of a query that retrieved the data for a standard metric that applies to an application or campaign.

func (BaseKpiResult) GoString

func (s BaseKpiResult) GoString() string

GoString returns the string representation

func (*BaseKpiResult) SetRows

func (s *BaseKpiResult) SetRows(v []*ResultRow) *BaseKpiResult

SetRows sets the Rows field's value.

func (BaseKpiResult) String

func (s BaseKpiResult) String() string

String returns the string representation

type CampaignDateRangeKpiResponse

type CampaignDateRangeKpiResponse struct {

    // The unique identifier for the application that the metric applies to.
    //
    // ApplicationId is a required field
    ApplicationId *string `type:"string" required:"true"`

    // The unique identifier for the campaign that the metric applies to.
    //
    // CampaignId is a required field
    CampaignId *string `type:"string" required:"true"`

    // EndTime is a required field
    EndTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

    // The name of the metric, also referred to as a key performance indicator (KPI),
    // that the data was retrieved for. This value describes the associated metric
    // and consists of two or more terms, which are comprised of lowercase alphanumeric
    // characters, separated by a hyphen. For a list of valid values, see the Amazon
    // Pinpoint Developer Guide (developerguide.html).
    //
    // KpiName is a required field
    KpiName *string `type:"string" required:"true"`

    // An array of objects that contains the results of the query. Each object contains
    // the value for the metric and metadata about that value.
    //
    // KpiResult is a required field
    KpiResult *BaseKpiResult `type:"structure" required:"true"`

    // The string to use in a subsequent request to get the next page of results
    // in a paginated response. This value is null for the Campaign Metrics resource.
    // The Campaign Metrics resource returns all results in a single page.
    NextToken *string `type:"string"`

    // StartTime is a required field
    StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
    // contains filtered or unexported fields
}

Provides the results of a query that retrieved the data for a standard metric that applies to a campaign, and provides information about that query.

func (CampaignDateRangeKpiResponse) GoString

func (s CampaignDateRangeKpiResponse) GoString() string

GoString returns the string representation

func (*CampaignDateRangeKpiResponse) SetApplicationId

func (s *CampaignDateRangeKpiResponse) SetApplicationId(v string) *CampaignDateRangeKpiResponse

SetApplicationId sets the ApplicationId field's value.

func (*CampaignDateRangeKpiResponse) SetCampaignId

func (s *CampaignDateRangeKpiResponse) SetCampaignId(v string) *CampaignDateRangeKpiResponse

SetCampaignId sets the CampaignId field's value.

func (*CampaignDateRangeKpiResponse) SetEndTime

func (s *CampaignDateRangeKpiResponse) SetEndTime(v time.Time) *CampaignDateRangeKpiResponse

SetEndTime sets the EndTime field's value.

func (*CampaignDateRangeKpiResponse) SetKpiName

func (s *CampaignDateRangeKpiResponse) SetKpiName(v string) *CampaignDateRangeKpiResponse

SetKpiName sets the KpiName field's value.

func (*CampaignDateRangeKpiResponse) SetKpiResult

func (s *CampaignDateRangeKpiResponse) SetKpiResult(v *BaseKpiResult) *CampaignDateRangeKpiResponse

SetKpiResult sets the KpiResult field's value.

func (*CampaignDateRangeKpiResponse) SetNextToken

func (s *CampaignDateRangeKpiResponse) SetNextToken(v string) *CampaignDateRangeKpiResponse

SetNextToken sets the NextToken field's value.

func (*CampaignDateRangeKpiResponse) SetStartTime

func (s *CampaignDateRangeKpiResponse) SetStartTime(v time.Time) *CampaignDateRangeKpiResponse

SetStartTime sets the StartTime field's value.

func (CampaignDateRangeKpiResponse) String

func (s CampaignDateRangeKpiResponse) String() string

String returns the string representation

type CampaignEmailMessage

type CampaignEmailMessage struct {

    // The body of the email for recipients whose email clients don't support HTML
    // content.
    Body *string `type:"string"`

    // The verified email address to send the email from. The default address is
    // the FromAddress specified for the email channel for the application.
    FromAddress *string `type:"string"`

    // The body of the email, in HTML format, for recipients whose email clients
    // support HTML content.
    HtmlBody *string `type:"string"`

    // The subject line, or title, of the email.
    //
    // Title is a required field
    Title *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Specifies the content and "From" address for an email message that's sent to recipients of a campaign.

func (CampaignEmailMessage) GoString

func (s CampaignEmailMessage) GoString() string

GoString returns the string representation

func (*CampaignEmailMessage) SetBody

func (s *CampaignEmailMessage) SetBody(v string) *CampaignEmailMessage

SetBody sets the Body field's value.

func (*CampaignEmailMessage) SetFromAddress

func (s *CampaignEmailMessage) SetFromAddress(v string) *CampaignEmailMessage

SetFromAddress sets the FromAddress field's value.

func (*CampaignEmailMessage) SetHtmlBody

func (s *CampaignEmailMessage) SetHtmlBody(v string) *CampaignEmailMessage

SetHtmlBody sets the HtmlBody field's value.

func (*CampaignEmailMessage) SetTitle

func (s *CampaignEmailMessage) SetTitle(v string) *CampaignEmailMessage

SetTitle sets the Title field's value.

func (CampaignEmailMessage) String

func (s CampaignEmailMessage) String() string

String returns the string representation

func (*CampaignEmailMessage) Validate

func (s *CampaignEmailMessage) Validate() error

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

type CampaignEventFilter

type CampaignEventFilter struct {

    // The dimension settings of the event filter for the campaign.
    //
    // Dimensions is a required field
    Dimensions *EventDimensions `type:"structure" required:"true"`

    // The type of event that causes the campaign to be sent. Valid values are:
    // SYSTEM, sends the campaign when a system event occurs; and, ENDPOINT, sends
    // the campaign when an endpoint event (Events resource) occurs.
    //
    // FilterType is a required field
    FilterType *string `type:"string" required:"true" enum:"FilterType"`
    // contains filtered or unexported fields
}

Specifies the settings for events that cause a campaign to be sent.

func (CampaignEventFilter) GoString

func (s CampaignEventFilter) GoString() string

GoString returns the string representation

func (*CampaignEventFilter) SetDimensions

func (s *CampaignEventFilter) SetDimensions(v *EventDimensions) *CampaignEventFilter

SetDimensions sets the Dimensions field's value.

func (*CampaignEventFilter) SetFilterType

func (s *CampaignEventFilter) SetFilterType(v string) *CampaignEventFilter

SetFilterType sets the FilterType field's value.

func (CampaignEventFilter) String

func (s CampaignEventFilter) String() string

String returns the string representation

func (*CampaignEventFilter) Validate

func (s *CampaignEventFilter) Validate() error

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

type CampaignHook

type CampaignHook struct {

    // The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon
    // Pinpoint invokes to send messages for a campaign.
    LambdaFunctionName *string `type:"string"`

    // Specifies which Lambda mode to use when invoking the AWS Lambda function.
    Mode *string `type:"string" enum:"Mode"`

    // The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function
    // over HTTPS.
    WebUrl *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies the AWS Lambda function to use as a code hook for a campaign.

func (CampaignHook) GoString

func (s CampaignHook) GoString() string

GoString returns the string representation

func (*CampaignHook) SetLambdaFunctionName

func (s *CampaignHook) SetLambdaFunctionName(v string) *CampaignHook

SetLambdaFunctionName sets the LambdaFunctionName field's value.

func (*CampaignHook) SetMode

func (s *CampaignHook) SetMode(v string) *CampaignHook

SetMode sets the Mode field's value.

func (*CampaignHook) SetWebUrl

func (s *CampaignHook) SetWebUrl(v string) *CampaignHook

SetWebUrl sets the WebUrl field's value.

func (CampaignHook) String

func (s CampaignHook) String() string

String returns the string representation

type CampaignLimits

type CampaignLimits struct {

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

    // The maximum amount of time, in seconds, that a campaign can attempt to deliver
    // a message after the scheduled start time for the campaign. The minimum value
    // is 60 seconds.
    MaximumDuration *int64 `type:"integer"`

    // The maximum number of messages that a campaign can send each second. The
    // minimum value is 50. The maximum value is 20,000.
    MessagesPerSecond *int64 `type:"integer"`

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

Specifies limits on the messages that a campaign can send.

func (CampaignLimits) GoString

func (s CampaignLimits) GoString() string

GoString returns the string representation

func (*CampaignLimits) SetDaily

func (s *CampaignLimits) SetDaily(v int64) *CampaignLimits

SetDaily sets the Daily field's value.

func (*CampaignLimits) SetMaximumDuration

func (s *CampaignLimits) SetMaximumDuration(v int64) *CampaignLimits

SetMaximumDuration sets the MaximumDuration field's value.

func (*CampaignLimits) SetMessagesPerSecond

func (s *CampaignLimits) SetMessagesPerSecond(v int64) *CampaignLimits

SetMessagesPerSecond sets the MessagesPerSecond field's value.

func (*CampaignLimits) SetTotal

func (s *CampaignLimits) SetTotal(v int64) *CampaignLimits

SetTotal sets the Total field's value.

func (CampaignLimits) String

func (s CampaignLimits) String() string

String returns the string representation

type CampaignResponse

type CampaignResponse struct {

    // An array of responses, one for each treatment that you defined for the campaign,
    // in addition to the default treatment.
    AdditionalTreatments []*TreatmentResource `type:"list"`

    // The unique identifier for the application that the campaign applies to.
    //
    // ApplicationId is a required field
    ApplicationId *string `type:"string" required:"true"`

    // The Amazon Resource Name (ARN) of the campaign.
    //
    // Arn is a required field
    Arn *string `type:"string" required:"true"`

    // The date, ISO 8601 format, when the campaign was created.
    //
    // CreationDate is a required field
    CreationDate *string `type:"string" required:"true"`

    // The current status of the campaign's default treatment. This value exists
    // only for campaigns that have more than one treatment, to support A/B testing.
    DefaultState *CampaignState `type:"structure"`

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

    // The allocated percentage of users (segment members) who shouldn't receive
    // messages from the campaign.
    HoldoutPercent *int64 `type:"integer"`

    // The settings for the AWS Lambda function to use as a code hook for the campaign.
    Hook *CampaignHook `type:"structure"`

    // The unique identifier for the campaign.
    //
    // Id is a required field
    Id *string `type:"string" required:"true"`

    // Specifies whether the campaign is paused. A paused campaign doesn't run unless
    // you resume it by changing this value to false.
    IsPaused *bool `type:"boolean"`

    // The date, in ISO 8601 format, when the campaign was last modified.
    //
    // LastModifiedDate is a required field
    LastModifiedDate *string `type:"string" required:"true"`

    // The messaging limits for the campaign.
    Limits *CampaignLimits `type:"structure"`

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

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

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

    // The unique identifier for the segment that's associated with the campaign.
    //
    // SegmentId is a required field
    SegmentId *string `type:"string" required:"true"`

    // The version number of the segment that's associated with the campaign.
    //
    // SegmentVersion is a required field
    SegmentVersion *int64 `type:"integer" required:"true"`

    // The current status of the campaign.
    State *CampaignState `type:"structure"`

    // A string-to-string map of key-value pairs that identifies the tags that are
    // associated with the campaign. Each tag consists of a required tag key and
    // an associated tag value.
    Tags map[string]*string `locationName:"tags" type:"map"`

    // The custom description of a variation of the campaign that's used for A/B
    // testing.
    TreatmentDescription *string `type:"string"`

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

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

Provides information about the status, configuration, and other settings for a campaign.

func (CampaignResponse) GoString

func (s CampaignResponse) GoString() string

GoString returns the string representation

func (*CampaignResponse) SetAdditionalTreatments

func (s *CampaignResponse) SetAdditionalTreatments(v []*TreatmentResource) *CampaignResponse

SetAdditionalTreatments sets the AdditionalTreatments field's value.

func (*CampaignResponse) SetApplicationId

func (s *CampaignResponse) SetApplicationId(v string) *CampaignResponse

SetApplicationId sets the ApplicationId field's value.

func (*CampaignResponse) SetArn

func (s *CampaignResponse) SetArn(v string) *CampaignResponse

SetArn sets the Arn field's value.

func (*CampaignResponse) SetCreationDate

func (s *CampaignResponse) SetCreationDate(v string) *CampaignResponse

SetCreationDate sets the CreationDate field's value.

func (*CampaignResponse) SetDefaultState

func (s *CampaignResponse) SetDefaultState(v *CampaignState) *CampaignResponse

SetDefaultState sets the DefaultState field's value.

func (*CampaignResponse) SetDescription

func (s *CampaignResponse) SetDescription(v string) *CampaignResponse

SetDescription sets the Description field's value.

func (*CampaignResponse) SetHoldoutPercent

func (s *CampaignResponse) SetHoldoutPercent(v int64) *CampaignResponse

SetHoldoutPercent sets the HoldoutPercent field's value.

func (*CampaignResponse) SetHook

func (s *CampaignResponse) SetHook(v *CampaignHook) *CampaignResponse

SetHook sets the Hook field's value.

func (*CampaignResponse) SetId

func (s *CampaignResponse) SetId(v string) *CampaignResponse

SetId sets the Id field's value.

func (*CampaignResponse) SetIsPaused

func (s *CampaignResponse) SetIsPaused(v bool) *CampaignResponse

SetIsPaused sets the IsPaused field's value.

func (*CampaignResponse) SetLastModifiedDate

func (s *CampaignResponse) SetLastModifiedDate(v string) *CampaignResponse

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*CampaignResponse) SetLimits

func (s *CampaignResponse) SetLimits(v *CampaignLimits) *CampaignResponse

SetLimits sets the Limits field's value.

func (*CampaignResponse) SetMessageConfiguration

func (s *CampaignResponse) SetMessageConfiguration(v *MessageConfiguration) *CampaignResponse

SetMessageConfiguration sets the MessageConfiguration field's value.

func (*CampaignResponse) SetName

func (s *CampaignResponse) SetName(v string) *CampaignResponse

SetName sets the Name field's value.

func (*CampaignResponse) SetSchedule

func (s *CampaignResponse) SetSchedule(v *Schedule) *CampaignResponse

SetSchedule sets the Schedule field's value.

func (*CampaignResponse) SetSegmentId

func (s *CampaignResponse) SetSegmentId(v string) *CampaignResponse

SetSegmentId sets the SegmentId field's value.

func (*CampaignResponse) SetSegmentVersion

func (s *CampaignResponse) SetSegmentVersion(v int64) *CampaignResponse

SetSegmentVersion sets the SegmentVersion field's value.

func (*CampaignResponse) SetState

func (s *CampaignResponse) SetState(v *CampaignState) *CampaignResponse

SetState sets the State field's value.

func (*CampaignResponse) SetTags

func (s *CampaignResponse) SetTags(v map[string]*string) *CampaignResponse

SetTags sets the Tags field's value.

func (*CampaignResponse) SetTreatmentDescription

func (s *CampaignResponse) SetTreatmentDescription(v string) *CampaignResponse

SetTreatmentDescription sets the TreatmentDescription field's value.

func (*CampaignResponse) SetTreatmentName

func (s *CampaignResponse) SetTreatmentName(v string) *CampaignResponse

SetTreatmentName sets the TreatmentName field's value.

func (*CampaignResponse) SetVersion

func (s *CampaignResponse) SetVersion(v int64) *CampaignResponse

SetVersion sets the Version field's value.

func (CampaignResponse) String

func (s CampaignResponse) String() string

String returns the string representation

type CampaignSmsMessage

type CampaignSmsMessage struct {

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

    // The type of SMS message. Valid values are: TRANSACTIONAL, the message is
    // critical or time-sensitive, such as a one-time password that supports a customer
    // transaction; and, PROMOTIONAL, the message isn't critical or time-sensitive,
    // such as a marketing message.
    MessageType *string `type:"string" enum:"MessageType"`

    // The sender ID to display on recipients' devices when they receive the SMS
    // message.
    SenderId *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies the content and settings for an SMS message that's sent to recipients of a campaign.

func (CampaignSmsMessage) GoString

func (s CampaignSmsMessage) GoString() string

GoString returns the string representation

func (*CampaignSmsMessage) SetBody

func (s *CampaignSmsMessage) SetBody(v string) *CampaignSmsMessage

SetBody sets the Body field's value.

func (*CampaignSmsMessage) SetMessageType

func (s *CampaignSmsMessage) SetMessageType(v string) *CampaignSmsMessage

SetMessageType sets the MessageType field's value.

func (*CampaignSmsMessage) SetSenderId

func (s *CampaignSmsMessage) SetSenderId(v string) *CampaignSmsMessage

SetSenderId sets the SenderId field's value.

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. If a campaign uses A/B testing, the campaign has a
    // status of COMPLETED only when all campaign treatments have a status of COMPLETED.
    CampaignStatus *string `type:"string" enum:"CampaignStatus"`
    // contains filtered or unexported fields
}

Provides information about the status of a campaign.

func (CampaignState) GoString

func (s CampaignState) GoString() string

GoString returns the string representation

func (*CampaignState) SetCampaignStatus

func (s *CampaignState) SetCampaignStatus(v string) *CampaignState

SetCampaignStatus sets the CampaignStatus field's value.

func (CampaignState) String

func (s CampaignState) String() string

String returns the string representation

type CampaignsResponse

type CampaignsResponse struct {

    // An array of responses, one for each campaign that's associated with the application.
    //
    // Item is a required field
    Item []*CampaignResponse `type:"list" required:"true"`

    // The string to use in a subsequent request to get the next page of results
    // in a paginated response. This value is null if there are no additional pages.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

Provides information about the configuration and other settings for all the campaigns that are associated with an application.

func (CampaignsResponse) GoString

func (s CampaignsResponse) GoString() string

GoString returns the string representation

func (*CampaignsResponse) SetItem

func (s *CampaignsResponse) SetItem(v []*CampaignResponse) *CampaignsResponse

SetItem sets the Item field's value.

func (*CampaignsResponse) SetNextToken

func (s *CampaignsResponse) SetNextToken(v string) *CampaignsResponse

SetNextToken sets the NextToken field's value.

func (CampaignsResponse) String

func (s CampaignsResponse) String() string

String returns the string representation

type ChannelResponse

type ChannelResponse struct {

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

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

    // Specifies whether the channel is enabled for the application.
    Enabled *bool `type:"boolean"`

    // (Not used) This property is retained only for backward compatibility.
    HasCredential *bool `type:"boolean"`

    // (Deprecated) An identifier for the channel. This property is retained only
    // for backward compatibility.
    Id *string `type:"string"`

    // Specifies whether the channel is archived.
    IsArchived *bool `type:"boolean"`

    // The user who last modified the channel.
    LastModifiedBy *string `type:"string"`

    // The date and time, in ISO 8601 format, when the channel was last modified.
    LastModifiedDate *string `type:"string"`

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

Provides information about the general settings and status of a channel for an application.

func (ChannelResponse) GoString

func (s ChannelResponse) GoString() string

GoString returns the string representation

func (*ChannelResponse) SetApplicationId

func (s *ChannelResponse) SetApplicationId(v string) *ChannelResponse

SetApplicationId sets the ApplicationId field's value.

func (*ChannelResponse) SetCreationDate

func (s *ChannelResponse) SetCreationDate(v string) *ChannelResponse

SetCreationDate sets the CreationDate field's value.

func (*ChannelResponse) SetEnabled

func (s *ChannelResponse) SetEnabled(v bool) *ChannelResponse

SetEnabled sets the Enabled field's value.

func (*ChannelResponse) SetHasCredential

func (s *ChannelResponse) SetHasCredential(v bool) *ChannelResponse

SetHasCredential sets the HasCredential field's value.

func (*ChannelResponse) SetId

func (s *ChannelResponse) SetId(v string) *ChannelResponse

SetId sets the Id field's value.

func (*ChannelResponse) SetIsArchived

func (s *ChannelResponse) SetIsArchived(v bool) *ChannelResponse

SetIsArchived sets the IsArchived field's value.

func (*ChannelResponse) SetLastModifiedBy

func (s *ChannelResponse) SetLastModifiedBy(v string) *ChannelResponse

SetLastModifiedBy sets the LastModifiedBy field's value.

func (*ChannelResponse) SetLastModifiedDate

func (s *ChannelResponse) SetLastModifiedDate(v string) *ChannelResponse

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*ChannelResponse) SetVersion

func (s *ChannelResponse) SetVersion(v int64) *ChannelResponse

SetVersion sets the Version field's value.

func (ChannelResponse) String

func (s ChannelResponse) String() string

String returns the string representation

type ChannelsResponse

type ChannelsResponse struct {

    // A map that contains a multipart response for each channel. For each item
    // in this object, the ChannelType is the key and the Channel is the value.
    //
    // Channels is a required field
    Channels map[string]*ChannelResponse `type:"map" required:"true"`
    // contains filtered or unexported fields
}

Provides information about the general settings and status of all channels for an application, including channels that aren't enabled for the application.

func (ChannelsResponse) GoString

func (s ChannelsResponse) GoString() string

GoString returns the string representation

func (*ChannelsResponse) SetChannels

func (s *ChannelsResponse) SetChannels(v map[string]*ChannelResponse) *ChannelsResponse

SetChannels sets the Channels field's value.

func (ChannelsResponse) String

func (s ChannelsResponse) String() string

String returns the string representation

type CreateAppInput

type CreateAppInput struct {

    // Specifies the display name of an application and the tags to associate with
    // the application.
    //
    // CreateApplicationRequest is a required field
    CreateApplicationRequest *CreateApplicationRequest `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (CreateAppInput) GoString

func (s CreateAppInput) GoString() string

GoString returns the string representation

func (*CreateAppInput) SetCreateApplicationRequest

func (s *CreateAppInput) SetCreateApplicationRequest(v *CreateApplicationRequest) *CreateAppInput

SetCreateApplicationRequest sets the CreateApplicationRequest field's value.

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 {

    // Provides information about an application.
    //
    // ApplicationResponse is a required field
    ApplicationResponse *ApplicationResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (CreateAppOutput) GoString

func (s CreateAppOutput) GoString() string

GoString returns the string representation

func (*CreateAppOutput) SetApplicationResponse

func (s *CreateAppOutput) SetApplicationResponse(v *ApplicationResponse) *CreateAppOutput

SetApplicationResponse sets the ApplicationResponse field's value.

func (CreateAppOutput) String

func (s CreateAppOutput) String() string

String returns the string representation

type CreateApplicationRequest

type CreateApplicationRequest struct {

    // The display name of the application. This name is displayed as the Project
    // name on the Amazon Pinpoint console.
    //
    // Name is a required field
    Name *string `type:"string" required:"true"`

    // A string-to-string map of key-value pairs that defines the tags to associate
    // with the application. Each tag consists of a required tag key and an associated
    // tag value.
    Tags map[string]*string `locationName:"tags" type:"map"`
    // contains filtered or unexported fields
}

Specifies the display name of an application and the tags to associate with the application.

func (CreateApplicationRequest) GoString

func (s CreateApplicationRequest) GoString() string

GoString returns the string representation

func (*CreateApplicationRequest) SetName

func (s *CreateApplicationRequest) SetName(v string) *CreateApplicationRequest

SetName sets the Name field's value.

func (*CreateApplicationRequest) SetTags

func (s *CreateApplicationRequest) SetTags(v map[string]*string) *CreateApplicationRequest

SetTags sets the Tags field's value.

func (CreateApplicationRequest) String

func (s CreateApplicationRequest) String() string

String returns the string representation

func (*CreateApplicationRequest) Validate

func (s *CreateApplicationRequest) Validate() error

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

type CreateCampaignInput

type CreateCampaignInput struct {

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

    // Specifies the configuration and other settings for a campaign.
    //
    // WriteCampaignRequest is a required field
    WriteCampaignRequest *WriteCampaignRequest `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (CreateCampaignInput) GoString

func (s CreateCampaignInput) GoString() string

GoString returns the string representation

func (*CreateCampaignInput) SetApplicationId

func (s *CreateCampaignInput) SetApplicationId(v string) *CreateCampaignInput

SetApplicationId sets the ApplicationId field's value.

func (*CreateCampaignInput) SetWriteCampaignRequest

func (s *CreateCampaignInput) SetWriteCampaignRequest(v *WriteCampaignRequest) *CreateCampaignInput

SetWriteCampaignRequest sets the WriteCampaignRequest field's value.

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 {

    // Provides information about the status, configuration, and other settings
    // for a campaign.
    //
    // CampaignResponse is a required field
    CampaignResponse *CampaignResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (CreateCampaignOutput) GoString

func (s CreateCampaignOutput) GoString() string

GoString returns the string representation

func (*CreateCampaignOutput) SetCampaignResponse

func (s *CreateCampaignOutput) SetCampaignResponse(v *CampaignResponse) *CreateCampaignOutput

SetCampaignResponse sets the CampaignResponse field's value.

func (CreateCampaignOutput) String

func (s CreateCampaignOutput) String() string

String returns the string representation

type CreateExportJobInput

type CreateExportJobInput struct {

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

    // Specifies the settings for a job that exports endpoint definitions to an
    // Amazon Simple Storage Service (Amazon S3) bucket.
    //
    // ExportJobRequest is a required field
    ExportJobRequest *ExportJobRequest `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (CreateExportJobInput) GoString

func (s CreateExportJobInput) GoString() string

GoString returns the string representation

func (*CreateExportJobInput) SetApplicationId

func (s *CreateExportJobInput) SetApplicationId(v string) *CreateExportJobInput

SetApplicationId sets the ApplicationId field's value.

func (*CreateExportJobInput) SetExportJobRequest

func (s *CreateExportJobInput) SetExportJobRequest(v *ExportJobRequest) *CreateExportJobInput

SetExportJobRequest sets the ExportJobRequest field's value.

func (CreateExportJobInput) String

func (s CreateExportJobInput) String() string

String returns the string representation

func (*CreateExportJobInput) Validate

func (s *CreateExportJobInput) Validate() error

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

type CreateExportJobOutput

type CreateExportJobOutput struct {

    // Provides information about the status and settings of a job that exports
    // endpoint definitions to a file. The file can be added directly to an Amazon
    // Simple Storage Service (Amazon S3) bucket by using the Amazon Pinpoint API
    // or downloaded directly to a computer by using the Amazon Pinpoint console.
    //
    // ExportJobResponse is a required field
    ExportJobResponse *ExportJobResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (CreateExportJobOutput) GoString

func (s CreateExportJobOutput) GoString() string

GoString returns the string representation

func (*CreateExportJobOutput) SetExportJobResponse

func (s *CreateExportJobOutput) SetExportJobResponse(v *ExportJobResponse) *CreateExportJobOutput

SetExportJobResponse sets the ExportJobResponse field's value.

func (CreateExportJobOutput) String

func (s CreateExportJobOutput) String() string

String returns the string representation

type CreateImportJobInput

type CreateImportJobInput struct {

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

    // Specifies the settings for a job that imports endpoint definitions from an
    // Amazon Simple Storage Service (Amazon S3) bucket.
    //
    // ImportJobRequest is a required field
    ImportJobRequest *ImportJobRequest `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (CreateImportJobInput) GoString

func (s CreateImportJobInput) GoString() string

GoString returns the string representation

func (*CreateImportJobInput) SetApplicationId

func (s *CreateImportJobInput) SetApplicationId(v string) *CreateImportJobInput

SetApplicationId sets the ApplicationId field's value.

func (*CreateImportJobInput) SetImportJobRequest

func (s *CreateImportJobInput) SetImportJobRequest(v *ImportJobRequest) *CreateImportJobInput

SetImportJobRequest sets the ImportJobRequest field's value.

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 {

    // Provides information about the status and settings of a job that imports
    // endpoint definitions from one or more files. The files can be stored in an
    // Amazon Simple Storage Service (Amazon S3) bucket or uploaded directly from
    // a computer by using the Amazon Pinpoint console.
    //
    // ImportJobResponse is a required field
    ImportJobResponse *ImportJobResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (CreateImportJobOutput) GoString

func (s CreateImportJobOutput) GoString() string

GoString returns the string representation

func (*CreateImportJobOutput) SetImportJobResponse

func (s *CreateImportJobOutput) SetImportJobResponse(v *ImportJobResponse) *CreateImportJobOutput

SetImportJobResponse sets the ImportJobResponse field's value.

func (CreateImportJobOutput) String

func (s CreateImportJobOutput) String() string

String returns the string representation

type CreateSegmentInput

type CreateSegmentInput struct {

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

    // Specifies the configuration, dimension, and other settings for a segment.
    // A WriteSegmentRequest object can include a Dimensions object or a SegmentGroups
    // object, but not both.
    //
    // WriteSegmentRequest is a required field
    WriteSegmentRequest *WriteSegmentRequest `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (CreateSegmentInput) GoString

func (s CreateSegmentInput) GoString() string

GoString returns the string representation

func (*CreateSegmentInput) SetApplicationId

func (s *CreateSegmentInput) SetApplicationId(v string) *CreateSegmentInput

SetApplicationId sets the ApplicationId field's value.

func (*CreateSegmentInput) SetWriteSegmentRequest

func (s *CreateSegmentInput) SetWriteSegmentRequest(v *WriteSegmentRequest) *CreateSegmentInput

SetWriteSegmentRequest sets the WriteSegmentRequest field's value.

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 {

    // Provides information about the configuration, dimension, and other settings
    // for a segment.
    //
    // SegmentResponse is a required field
    SegmentResponse *SegmentResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (CreateSegmentOutput) GoString

func (s CreateSegmentOutput) GoString() string

GoString returns the string representation

func (*CreateSegmentOutput) SetSegmentResponse

func (s *CreateSegmentOutput) SetSegmentResponse(v *SegmentResponse) *CreateSegmentOutput

SetSegmentResponse sets the SegmentResponse field's value.

func (CreateSegmentOutput) String

func (s CreateSegmentOutput) String() string

String returns the string representation

type DefaultMessage

type DefaultMessage struct {

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

    // The default message variables to use in the push notification, email, or
    // SMS message. You can override these default variables with individual address
    // variables.
    Substitutions map[string][]*string `type:"map"`
    // contains filtered or unexported fields
}

Specifies the default message to use for all channels.

func (DefaultMessage) GoString

func (s DefaultMessage) GoString() string

GoString returns the string representation

func (*DefaultMessage) SetBody

func (s *DefaultMessage) SetBody(v string) *DefaultMessage

SetBody sets the Body field's value.

func (*DefaultMessage) SetSubstitutions

func (s *DefaultMessage) SetSubstitutions(v map[string][]*string) *DefaultMessage

SetSubstitutions sets the Substitutions field's value.

func (DefaultMessage) String

func (s DefaultMessage) String() string

String returns the string representation

type DefaultPushNotificationMessage

type DefaultPushNotificationMessage struct {

    // The default action to occur if a recipient taps the push notification. Valid
    // values are:
    //
    //    * OPEN_APP - Your app opens or it becomes the foreground app if it was
    //    sent to the background. This is the default action.
    //
    //    * DEEP_LINK - Your app opens and displays a designated user interface
    //    in the app. This setting uses the deep-linking features of the iOS and
    //    Android platforms.
    //
    //    * URL - The default mobile browser on the recipient's device opens and
    //    loads the web page at a URL that you specify.
    Action *string `type:"string" enum:"Action"`

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

    // The JSON data payload to use for the default push notification, if the notification
    // is a silent push notification. This payload is added to the data.pinpoint.jsonBody
    // object of the notification.
    Data map[string]*string `type:"map"`

    // Specifies whether the default notification is a silent push notification,
    // which is a push notification that doesn't display on a recipient's device.
    // Silent push notifications can be used for cases such as updating an app's
    // configuration or delivering messages to an in-app notification center.
    SilentPush *bool `type:"boolean"`

    // The default message variables to use in the notification message. You can
    // override the default variables with individual address variables.
    Substitutions map[string][]*string `type:"map"`

    // The default title to display above the notification message on a recipient's
    // device.
    Title *string `type:"string"`

    // The default URL to open in a recipient's default mobile browser, if a recipient
    // taps the push notification and the value of the Action property is URL.
    Url *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies the default settings and content for a push notification that's sent directly to an endpoint.

func (DefaultPushNotificationMessage) GoString

func (s DefaultPushNotificationMessage) GoString() string

GoString returns the string representation

func (*DefaultPushNotificationMessage) SetAction

func (s *DefaultPushNotificationMessage) SetAction(v string) *DefaultPushNotificationMessage

SetAction sets the Action field's value.

func (*DefaultPushNotificationMessage) SetBody

func (s *DefaultPushNotificationMessage) SetBody(v string) *DefaultPushNotificationMessage

SetBody sets the Body field's value.

func (*DefaultPushNotificationMessage) SetData

func (s *DefaultPushNotificationMessage) SetData(v map[string]*string) *DefaultPushNotificationMessage

SetData sets the Data field's value.

func (*DefaultPushNotificationMessage) SetSilentPush

func (s *DefaultPushNotificationMessage) SetSilentPush(v bool) *DefaultPushNotificationMessage

SetSilentPush sets the SilentPush field's value.

func (*DefaultPushNotificationMessage) SetSubstitutions

func (s *DefaultPushNotificationMessage) SetSubstitutions(v map[string][]*string) *DefaultPushNotificationMessage

SetSubstitutions sets the Substitutions field's value.

func (*DefaultPushNotificationMessage) SetTitle

func (s *DefaultPushNotificationMessage) SetTitle(v string) *DefaultPushNotificationMessage

SetTitle sets the Title field's value.

func (*DefaultPushNotificationMessage) SetUrl

func (s *DefaultPushNotificationMessage) SetUrl(v string) *DefaultPushNotificationMessage

SetUrl sets the Url field's value.

func (DefaultPushNotificationMessage) String

func (s DefaultPushNotificationMessage) String() 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
}

func (DeleteAdmChannelInput) GoString

func (s DeleteAdmChannelInput) GoString() string

GoString returns the string representation

func (*DeleteAdmChannelInput) SetApplicationId

func (s *DeleteAdmChannelInput) SetApplicationId(v string) *DeleteAdmChannelInput

SetApplicationId sets the ApplicationId field's value.

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 {

    // Provides information about the status and settings of the ADM (Amazon Device
    // Messaging) channel for an application.
    //
    // ADMChannelResponse is a required field
    ADMChannelResponse *ADMChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteAdmChannelOutput) GoString

func (s DeleteAdmChannelOutput) GoString() string

GoString returns the string representation

func (*DeleteAdmChannelOutput) SetADMChannelResponse

func (s *DeleteAdmChannelOutput) SetADMChannelResponse(v *ADMChannelResponse) *DeleteAdmChannelOutput

SetADMChannelResponse sets the ADMChannelResponse field's value.

func (DeleteAdmChannelOutput) String

func (s DeleteAdmChannelOutput) String() string

String returns the string representation

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
}

func (DeleteApnsChannelInput) GoString

func (s DeleteApnsChannelInput) GoString() string

GoString returns the string representation

func (*DeleteApnsChannelInput) SetApplicationId

func (s *DeleteApnsChannelInput) SetApplicationId(v string) *DeleteApnsChannelInput

SetApplicationId sets the ApplicationId field's value.

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 {

    // Provides information about the status and settings of the APNs (Apple Push
    // Notification service) channel for an application.
    //
    // APNSChannelResponse is a required field
    APNSChannelResponse *APNSChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteApnsChannelOutput) GoString

func (s DeleteApnsChannelOutput) GoString() string

GoString returns the string representation

func (*DeleteApnsChannelOutput) SetAPNSChannelResponse

func (s *DeleteApnsChannelOutput) SetAPNSChannelResponse(v *APNSChannelResponse) *DeleteApnsChannelOutput

SetAPNSChannelResponse sets the APNSChannelResponse field's value.

func (DeleteApnsChannelOutput) String

func (s DeleteApnsChannelOutput) String() string

String returns the string representation

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
}

func (DeleteApnsSandboxChannelInput) GoString

func (s DeleteApnsSandboxChannelInput) GoString() string

GoString returns the string representation

func (*DeleteApnsSandboxChannelInput) SetApplicationId

func (s *DeleteApnsSandboxChannelInput) SetApplicationId(v string) *DeleteApnsSandboxChannelInput

SetApplicationId sets the ApplicationId field's value.

func (DeleteApnsSandboxChannelInput) String

func (s DeleteApnsSandboxChannelInput) String() 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 {

    // Provides information about the status and settings of the APNs (Apple Push
    // Notification service) sandbox channel for an application.
    //
    // APNSSandboxChannelResponse is a required field
    APNSSandboxChannelResponse *APNSSandboxChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteApnsSandboxChannelOutput) GoString

func (s DeleteApnsSandboxChannelOutput) GoString() string

GoString returns the string representation

func (*DeleteApnsSandboxChannelOutput) SetAPNSSandboxChannelResponse

func (s *DeleteApnsSandboxChannelOutput) SetAPNSSandboxChannelResponse(v *APNSSandboxChannelResponse) *DeleteApnsSandboxChannelOutput

SetAPNSSandboxChannelResponse sets the APNSSandboxChannelResponse field's value.

func (DeleteApnsSandboxChannelOutput) String

func (s DeleteApnsSandboxChannelOutput) String() string

String returns the string representation

type DeleteApnsVoipChannelInput

type DeleteApnsVoipChannelInput struct {

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

func (DeleteApnsVoipChannelInput) GoString

func (s DeleteApnsVoipChannelInput) GoString() string

GoString returns the string representation

func (*DeleteApnsVoipChannelInput) SetApplicationId

func (s *DeleteApnsVoipChannelInput) SetApplicationId(v string) *DeleteApnsVoipChannelInput

SetApplicationId sets the ApplicationId field's value.

func (DeleteApnsVoipChannelInput) String

func (s DeleteApnsVoipChannelInput) String() string

String returns the string representation

func (*DeleteApnsVoipChannelInput) Validate

func (s *DeleteApnsVoipChannelInput) Validate() error

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

type DeleteApnsVoipChannelOutput

type DeleteApnsVoipChannelOutput struct {

    // Provides information about the status and settings of the APNs (Apple Push
    // Notification service) VoIP channel for an application.
    //
    // APNSVoipChannelResponse is a required field
    APNSVoipChannelResponse *APNSVoipChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteApnsVoipChannelOutput) GoString

func (s DeleteApnsVoipChannelOutput) GoString() string

GoString returns the string representation

func (*DeleteApnsVoipChannelOutput) SetAPNSVoipChannelResponse

func (s *DeleteApnsVoipChannelOutput) SetAPNSVoipChannelResponse(v *APNSVoipChannelResponse) *DeleteApnsVoipChannelOutput

SetAPNSVoipChannelResponse sets the APNSVoipChannelResponse field's value.

func (DeleteApnsVoipChannelOutput) String

func (s DeleteApnsVoipChannelOutput) String() string

String returns the string representation

type DeleteApnsVoipSandboxChannelInput

type DeleteApnsVoipSandboxChannelInput struct {

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

func (DeleteApnsVoipSandboxChannelInput) GoString

func (s DeleteApnsVoipSandboxChannelInput) GoString() string

GoString returns the string representation

func (*DeleteApnsVoipSandboxChannelInput) SetApplicationId

func (s *DeleteApnsVoipSandboxChannelInput) SetApplicationId(v string) *DeleteApnsVoipSandboxChannelInput

SetApplicationId sets the ApplicationId field's value.

func (DeleteApnsVoipSandboxChannelInput) String

func (s DeleteApnsVoipSandboxChannelInput) String() string

String returns the string representation

func (*DeleteApnsVoipSandboxChannelInput) Validate

func (s *DeleteApnsVoipSandboxChannelInput) Validate() error

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

type DeleteApnsVoipSandboxChannelOutput

type DeleteApnsVoipSandboxChannelOutput struct {

    // Provides information about the status and settings of the APNs (Apple Push
    // Notification service) VoIP sandbox channel for an application.
    //
    // APNSVoipSandboxChannelResponse is a required field
    APNSVoipSandboxChannelResponse *APNSVoipSandboxChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteApnsVoipSandboxChannelOutput) GoString

func (s DeleteApnsVoipSandboxChannelOutput) GoString() string

GoString returns the string representation

func (*DeleteApnsVoipSandboxChannelOutput) SetAPNSVoipSandboxChannelResponse

func (s *DeleteApnsVoipSandboxChannelOutput) SetAPNSVoipSandboxChannelResponse(v *APNSVoipSandboxChannelResponse) *DeleteApnsVoipSandboxChannelOutput

SetAPNSVoipSandboxChannelResponse sets the APNSVoipSandboxChannelResponse field's value.

func (DeleteApnsVoipSandboxChannelOutput) String

func (s DeleteApnsVoipSandboxChannelOutput) String() string

String returns the string representation

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
}

func (DeleteAppInput) GoString

func (s DeleteAppInput) GoString() string

GoString returns the string representation

func (*DeleteAppInput) SetApplicationId

func (s *DeleteAppInput) SetApplicationId(v string) *DeleteAppInput

SetApplicationId sets the ApplicationId field's value.

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 {

    // Provides information about an application.
    //
    // ApplicationResponse is a required field
    ApplicationResponse *ApplicationResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteAppOutput) GoString

func (s DeleteAppOutput) GoString() string

GoString returns the string representation

func (*DeleteAppOutput) SetApplicationResponse

func (s *DeleteAppOutput) SetApplicationResponse(v *ApplicationResponse) *DeleteAppOutput

SetApplicationResponse sets the ApplicationResponse field's value.

func (DeleteAppOutput) String

func (s DeleteAppOutput) String() string

String returns the string representation

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
}

func (DeleteBaiduChannelInput) GoString

func (s DeleteBaiduChannelInput) GoString() string

GoString returns the string representation

func (*DeleteBaiduChannelInput) SetApplicationId

func (s *DeleteBaiduChannelInput) SetApplicationId(v string) *DeleteBaiduChannelInput

SetApplicationId sets the ApplicationId field's value.

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 {

    // Provides information about the status and settings of the Baidu (Baidu Cloud
    // Push) channel for an application.
    //
    // BaiduChannelResponse is a required field
    BaiduChannelResponse *BaiduChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteBaiduChannelOutput) GoString

func (s DeleteBaiduChannelOutput) GoString() string

GoString returns the string representation

func (*DeleteBaiduChannelOutput) SetBaiduChannelResponse

func (s *DeleteBaiduChannelOutput) SetBaiduChannelResponse(v *BaiduChannelResponse) *DeleteBaiduChannelOutput

SetBaiduChannelResponse sets the BaiduChannelResponse field's value.

func (DeleteBaiduChannelOutput) String

func (s DeleteBaiduChannelOutput) String() string

String returns the string representation

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
}

func (DeleteCampaignInput) GoString

func (s DeleteCampaignInput) GoString() string

GoString returns the string representation

func (*DeleteCampaignInput) SetApplicationId

func (s *DeleteCampaignInput) SetApplicationId(v string) *DeleteCampaignInput

SetApplicationId sets the ApplicationId field's value.

func (*DeleteCampaignInput) SetCampaignId

func (s *DeleteCampaignInput) SetCampaignId(v string) *DeleteCampaignInput

SetCampaignId sets the CampaignId field's value.

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 {

    // Provides information about the status, configuration, and other settings
    // for a campaign.
    //
    // CampaignResponse is a required field
    CampaignResponse *CampaignResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteCampaignOutput) GoString

func (s DeleteCampaignOutput) GoString() string

GoString returns the string representation

func (*DeleteCampaignOutput) SetCampaignResponse

func (s *DeleteCampaignOutput) SetCampaignResponse(v *CampaignResponse) *DeleteCampaignOutput

SetCampaignResponse sets the CampaignResponse field's value.

func (DeleteCampaignOutput) String

func (s DeleteCampaignOutput) String() string

String returns the string representation

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
}

func (DeleteEmailChannelInput) GoString

func (s DeleteEmailChannelInput) GoString() string

GoString returns the string representation

func (*DeleteEmailChannelInput) SetApplicationId

func (s *DeleteEmailChannelInput) SetApplicationId(v string) *DeleteEmailChannelInput

SetApplicationId sets the ApplicationId field's value.

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 {

    // Provides information about the status and settings of the email channel for
    // an application.
    //
    // EmailChannelResponse is a required field
    EmailChannelResponse *EmailChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteEmailChannelOutput) GoString

func (s DeleteEmailChannelOutput) GoString() string

GoString returns the string representation

func (*DeleteEmailChannelOutput) SetEmailChannelResponse

func (s *DeleteEmailChannelOutput) SetEmailChannelResponse(v *EmailChannelResponse) *DeleteEmailChannelOutput

SetEmailChannelResponse sets the EmailChannelResponse field's value.

func (DeleteEmailChannelOutput) String

func (s DeleteEmailChannelOutput) String() string

String returns the string representation

type DeleteEndpointInput

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
}

func (DeleteEndpointInput) GoString

func (s DeleteEndpointInput) GoString() string

GoString returns the string representation

func (*DeleteEndpointInput) SetApplicationId

func (s *DeleteEndpointInput) SetApplicationId(v string) *DeleteEndpointInput

SetApplicationId sets the ApplicationId field's value.

func (*DeleteEndpointInput) SetEndpointId

func (s *DeleteEndpointInput) SetEndpointId(v string) *DeleteEndpointInput

SetEndpointId sets the EndpointId field's value.

func (DeleteEndpointInput) String

func (s DeleteEndpointInput) String() string

String returns the string representation

func (*DeleteEndpointInput) Validate

func (s *DeleteEndpointInput) Validate() error

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

type DeleteEndpointOutput

type DeleteEndpointOutput struct {

    // Provides information about the channel type and other settings for an endpoint.
    //
    // EndpointResponse is a required field
    EndpointResponse *EndpointResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteEndpointOutput) GoString

func (s DeleteEndpointOutput) GoString() string

GoString returns the string representation

func (*DeleteEndpointOutput) SetEndpointResponse

func (s *DeleteEndpointOutput) SetEndpointResponse(v *EndpointResponse) *DeleteEndpointOutput

SetEndpointResponse sets the EndpointResponse field's value.

func (DeleteEndpointOutput) String

func (s DeleteEndpointOutput) String() string

String returns the string representation

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
}

func (DeleteEventStreamInput) GoString

func (s DeleteEventStreamInput) GoString() string

GoString returns the string representation

func (*DeleteEventStreamInput) SetApplicationId

func (s *DeleteEventStreamInput) SetApplicationId(v string) *DeleteEventStreamInput

SetApplicationId sets the ApplicationId field's value.

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 {

    // Specifies settings for publishing event data to an Amazon Kinesis data stream
    // or an Amazon Kinesis Data Firehose delivery stream.
    //
    // EventStream is a required field
    EventStream *EventStream `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteEventStreamOutput) GoString

func (s DeleteEventStreamOutput) GoString() string

GoString returns the string representation

func (*DeleteEventStreamOutput) SetEventStream

func (s *DeleteEventStreamOutput) SetEventStream(v *EventStream) *DeleteEventStreamOutput

SetEventStream sets the EventStream field's value.

func (DeleteEventStreamOutput) String

func (s DeleteEventStreamOutput) String() string

String returns the string representation

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
}

func (DeleteGcmChannelInput) GoString

func (s DeleteGcmChannelInput) GoString() string

GoString returns the string representation

func (*DeleteGcmChannelInput) SetApplicationId

func (s *DeleteGcmChannelInput) SetApplicationId(v string) *DeleteGcmChannelInput

SetApplicationId sets the ApplicationId field's value.

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 {

    // Provides information about the status and settings of the GCM channel for
    // an application. The GCM channel enables Amazon Pinpoint to send push notifications
    // through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging
    // (GCM), service.
    //
    // GCMChannelResponse is a required field
    GCMChannelResponse *GCMChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteGcmChannelOutput) GoString

func (s DeleteGcmChannelOutput) GoString() string

GoString returns the string representation

func (*DeleteGcmChannelOutput) SetGCMChannelResponse

func (s *DeleteGcmChannelOutput) SetGCMChannelResponse(v *GCMChannelResponse) *DeleteGcmChannelOutput

SetGCMChannelResponse sets the GCMChannelResponse field's value.

func (DeleteGcmChannelOutput) String

func (s DeleteGcmChannelOutput) String() string

String returns the string representation

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
}

func (DeleteSegmentInput) GoString

func (s DeleteSegmentInput) GoString() string

GoString returns the string representation

func (*DeleteSegmentInput) SetApplicationId

func (s *DeleteSegmentInput) SetApplicationId(v string) *DeleteSegmentInput

SetApplicationId sets the ApplicationId field's value.

func (*DeleteSegmentInput) SetSegmentId

func (s *DeleteSegmentInput) SetSegmentId(v string) *DeleteSegmentInput

SetSegmentId sets the SegmentId field's value.

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 {

    // Provides information about the configuration, dimension, and other settings
    // for a segment.
    //
    // SegmentResponse is a required field
    SegmentResponse *SegmentResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteSegmentOutput) GoString

func (s DeleteSegmentOutput) GoString() string

GoString returns the string representation

func (*DeleteSegmentOutput) SetSegmentResponse

func (s *DeleteSegmentOutput) SetSegmentResponse(v *SegmentResponse) *DeleteSegmentOutput

SetSegmentResponse sets the SegmentResponse field's value.

func (DeleteSegmentOutput) String

func (s DeleteSegmentOutput) String() string

String returns the string representation

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
}

func (DeleteSmsChannelInput) GoString

func (s DeleteSmsChannelInput) GoString() string

GoString returns the string representation

func (*DeleteSmsChannelInput) SetApplicationId

func (s *DeleteSmsChannelInput) SetApplicationId(v string) *DeleteSmsChannelInput

SetApplicationId sets the ApplicationId field's value.

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 {

    // Provides information about the status and settings of the SMS channel for
    // an application.
    //
    // SMSChannelResponse is a required field
    SMSChannelResponse *SMSChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteSmsChannelOutput) GoString

func (s DeleteSmsChannelOutput) GoString() string

GoString returns the string representation

func (*DeleteSmsChannelOutput) SetSMSChannelResponse

func (s *DeleteSmsChannelOutput) SetSMSChannelResponse(v *SMSChannelResponse) *DeleteSmsChannelOutput

SetSMSChannelResponse sets the SMSChannelResponse field's value.

func (DeleteSmsChannelOutput) String

func (s DeleteSmsChannelOutput) String() string

String returns the string representation

type DeleteUserEndpointsInput

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
}

func (DeleteUserEndpointsInput) GoString

func (s DeleteUserEndpointsInput) GoString() string

GoString returns the string representation

func (*DeleteUserEndpointsInput) SetApplicationId

func (s *DeleteUserEndpointsInput) SetApplicationId(v string) *DeleteUserEndpointsInput

SetApplicationId sets the ApplicationId field's value.

func (*DeleteUserEndpointsInput) SetUserId

func (s *DeleteUserEndpointsInput) SetUserId(v string) *DeleteUserEndpointsInput

SetUserId sets the UserId field's value.

func (DeleteUserEndpointsInput) String

func (s DeleteUserEndpointsInput) String() string

String returns the string representation

func (*DeleteUserEndpointsInput) Validate

func (s *DeleteUserEndpointsInput) Validate() error

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

type DeleteUserEndpointsOutput

type DeleteUserEndpointsOutput struct {

    // Provides information about all the endpoints that are associated with a user
    // ID.
    //
    // EndpointsResponse is a required field
    EndpointsResponse *EndpointsResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteUserEndpointsOutput) GoString

func (s DeleteUserEndpointsOutput) GoString() string

GoString returns the string representation

func (*DeleteUserEndpointsOutput) SetEndpointsResponse

func (s *DeleteUserEndpointsOutput) SetEndpointsResponse(v *EndpointsResponse) *DeleteUserEndpointsOutput

SetEndpointsResponse sets the EndpointsResponse field's value.

func (DeleteUserEndpointsOutput) String

func (s DeleteUserEndpointsOutput) String() string

String returns the string representation

type DeleteVoiceChannelInput

type DeleteVoiceChannelInput struct {

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

func (DeleteVoiceChannelInput) GoString

func (s DeleteVoiceChannelInput) GoString() string

GoString returns the string representation

func (*DeleteVoiceChannelInput) SetApplicationId

func (s *DeleteVoiceChannelInput) SetApplicationId(v string) *DeleteVoiceChannelInput

SetApplicationId sets the ApplicationId field's value.

func (DeleteVoiceChannelInput) String

func (s DeleteVoiceChannelInput) String() string

String returns the string representation

func (*DeleteVoiceChannelInput) Validate

func (s *DeleteVoiceChannelInput) Validate() error

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

type DeleteVoiceChannelOutput

type DeleteVoiceChannelOutput struct {

    // Provides information about the status and settings of the voice channel for
    // an application.
    //
    // VoiceChannelResponse is a required field
    VoiceChannelResponse *VoiceChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteVoiceChannelOutput) GoString

func (s DeleteVoiceChannelOutput) GoString() string

GoString returns the string representation

func (*DeleteVoiceChannelOutput) SetVoiceChannelResponse

func (s *DeleteVoiceChannelOutput) SetVoiceChannelResponse(v *VoiceChannelResponse) *DeleteVoiceChannelOutput

SetVoiceChannelResponse sets the VoiceChannelResponse field's value.

func (DeleteVoiceChannelOutput) String

func (s DeleteVoiceChannelOutput) String() string

String returns the string representation

type DirectMessageConfiguration

type DirectMessageConfiguration struct {

    // The default push notification message for the ADM (Amazon Device Messaging)
    // channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
    ADMMessage *ADMMessage `type:"structure"`

    // The default push notification message for the APNs (Apple Push Notification
    // service) channel. This message overrides the default push notification message
    // (DefaultPushNotificationMessage).
    APNSMessage *APNSMessage `type:"structure"`

    // The default push notification message for the Baidu (Baidu Cloud Push) channel.
    // This message overrides the default push notification message (DefaultPushNotificationMessage).
    BaiduMessage *BaiduMessage `type:"structure"`

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

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

    // The default message for the email channel. This message overrides the default
    // message (DefaultMessage).
    EmailMessage *EmailMessage `type:"structure"`

    // The default push notification message for the GCM channel, which is used
    // to send notifications through the Firebase Cloud Messaging (FCM), formerly
    // Google Cloud Messaging (GCM), service. This message overrides the default
    // push notification message (DefaultPushNotificationMessage).
    GCMMessage *GCMMessage `type:"structure"`

    // The default message for the SMS channel. This message overrides the default
    // message (DefaultMessage).
    SMSMessage *SMSMessage `type:"structure"`

    // The default message for the voice channel. This message overrides the default
    // message (DefaultMessage).
    VoiceMessage *VoiceMessage `type:"structure"`
    // contains filtered or unexported fields
}

Specifies the settings and content for the default message and any default messages that you tailored for specific channels.

func (DirectMessageConfiguration) GoString

func (s DirectMessageConfiguration) GoString() string

GoString returns the string representation

func (*DirectMessageConfiguration) SetADMMessage

func (s *DirectMessageConfiguration) SetADMMessage(v *ADMMessage) *DirectMessageConfiguration

SetADMMessage sets the ADMMessage field's value.

func (*DirectMessageConfiguration) SetAPNSMessage

func (s *DirectMessageConfiguration) SetAPNSMessage(v *APNSMessage) *DirectMessageConfiguration

SetAPNSMessage sets the APNSMessage field's value.

func (*DirectMessageConfiguration) SetBaiduMessage

func (s *DirectMessageConfiguration) SetBaiduMessage(v *BaiduMessage) *DirectMessageConfiguration

SetBaiduMessage sets the BaiduMessage field's value.

func (*DirectMessageConfiguration) SetDefaultMessage

func (s *DirectMessageConfiguration) SetDefaultMessage(v *DefaultMessage) *DirectMessageConfiguration

SetDefaultMessage sets the DefaultMessage field's value.

func (*DirectMessageConfiguration) SetDefaultPushNotificationMessage

func (s *DirectMessageConfiguration) SetDefaultPushNotificationMessage(v *DefaultPushNotificationMessage) *DirectMessageConfiguration

SetDefaultPushNotificationMessage sets the DefaultPushNotificationMessage field's value.

func (*DirectMessageConfiguration) SetEmailMessage

func (s *DirectMessageConfiguration) SetEmailMessage(v *EmailMessage) *DirectMessageConfiguration

SetEmailMessage sets the EmailMessage field's value.

func (*DirectMessageConfiguration) SetGCMMessage

func (s *DirectMessageConfiguration) SetGCMMessage(v *GCMMessage) *DirectMessageConfiguration

SetGCMMessage sets the GCMMessage field's value.

func (*DirectMessageConfiguration) SetSMSMessage

func (s *DirectMessageConfiguration) SetSMSMessage(v *SMSMessage) *DirectMessageConfiguration

SetSMSMessage sets the SMSMessage field's value.

func (*DirectMessageConfiguration) SetVoiceMessage

func (s *DirectMessageConfiguration) SetVoiceMessage(v *VoiceMessage) *DirectMessageConfiguration

SetVoiceMessage sets the VoiceMessage field's value.

func (DirectMessageConfiguration) String

func (s DirectMessageConfiguration) String() string

String returns the string representation

type EmailChannelRequest

type EmailChannelRequest struct {

    // The configuration set that you want to apply to email that you send through
    // the channel by using the Amazon Pinpoint Email API (emailAPIreference.html).
    ConfigurationSet *string `type:"string"`

    // Specifies whether to enable the email channel for the application.
    Enabled *bool `type:"boolean"`

    // The verified email address that you want to send email from when you send
    // email through the channel.
    //
    // FromAddress is a required field
    FromAddress *string `type:"string" required:"true"`

    // The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple
    // Email Service (Amazon SES), that you want to use when you send email through
    // the channel.
    //
    // Identity is a required field
    Identity *string `type:"string" required:"true"`

    // The ARN of the AWS Identity and Access Management (IAM) role that you want
    // Amazon Pinpoint to use when it submits email-related event data for the channel.
    RoleArn *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies the status and settings of the email channel for an application.

func (EmailChannelRequest) GoString

func (s EmailChannelRequest) GoString() string

GoString returns the string representation

func (*EmailChannelRequest) SetConfigurationSet

func (s *EmailChannelRequest) SetConfigurationSet(v string) *EmailChannelRequest

SetConfigurationSet sets the ConfigurationSet field's value.

func (*EmailChannelRequest) SetEnabled

func (s *EmailChannelRequest) SetEnabled(v bool) *EmailChannelRequest

SetEnabled sets the Enabled field's value.

func (*EmailChannelRequest) SetFromAddress

func (s *EmailChannelRequest) SetFromAddress(v string) *EmailChannelRequest

SetFromAddress sets the FromAddress field's value.

func (*EmailChannelRequest) SetIdentity

func (s *EmailChannelRequest) SetIdentity(v string) *EmailChannelRequest

SetIdentity sets the Identity field's value.

func (*EmailChannelRequest) SetRoleArn

func (s *EmailChannelRequest) SetRoleArn(v string) *EmailChannelRequest

SetRoleArn sets the RoleArn field's value.

func (EmailChannelRequest) String

func (s EmailChannelRequest) String() string

String returns the string representation

func (*EmailChannelRequest) Validate

func (s *EmailChannelRequest) Validate() error

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

type EmailChannelResponse

type EmailChannelResponse struct {

    // The unique identifier for the application that the email channel applies
    // to.
    ApplicationId *string `type:"string"`

    // The configuration set that's applied to email that's sent through the channel
    // by using the Amazon Pinpoint Email API (emailAPIreference.html).
    ConfigurationSet *string `type:"string"`

    // The date and time, in ISO 8601 format, when the email channel was enabled.
    CreationDate *string `type:"string"`

    // Specifies whether the email channel is enabled for the application.
    Enabled *bool `type:"boolean"`

    // The verified email address that you send email from when you send email through
    // the channel.
    FromAddress *string `type:"string"`

    // (Not used) This property is retained only for backward compatibility.
    HasCredential *bool `type:"boolean"`

    // (Deprecated) An identifier for the email channel. This property is retained
    // only for backward compatibility.
    Id *string `type:"string"`

    // The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple
    // Email Service (Amazon SES), that you use when you send email through the
    // channel.
    Identity *string `type:"string"`

    // Specifies whether the email channel is archived.
    IsArchived *bool `type:"boolean"`

    // The user who last modified the email channel.
    LastModifiedBy *string `type:"string"`

    // The date and time, in ISO 8601 format, when the email channel was last modified.
    LastModifiedDate *string `type:"string"`

    // The maximum number of emails that you can send through the channel each second.
    MessagesPerSecond *int64 `type:"integer"`

    // The type of messaging or notification platform for the channel. For the email
    // channel, this value is EMAIL.
    //
    // Platform is a required field
    Platform *string `type:"string" required:"true"`

    // The ARN of the AWS Identity and Access Management (IAM) role that Amazon
    // Pinpoint uses to submit email-related event data for the channel.
    RoleArn *string `type:"string"`

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

Provides information about the status and settings of the email channel for an application.

func (EmailChannelResponse) GoString

func (s EmailChannelResponse) GoString() string

GoString returns the string representation

func (*EmailChannelResponse) SetApplicationId

func (s *EmailChannelResponse) SetApplicationId(v string) *EmailChannelResponse

SetApplicationId sets the ApplicationId field's value.

func (*EmailChannelResponse) SetConfigurationSet

func (s *EmailChannelResponse) SetConfigurationSet(v string) *EmailChannelResponse

SetConfigurationSet sets the ConfigurationSet field's value.

func (*EmailChannelResponse) SetCreationDate

func (s *EmailChannelResponse) SetCreationDate(v string) *EmailChannelResponse

SetCreationDate sets the CreationDate field's value.

func (*EmailChannelResponse) SetEnabled

func (s *EmailChannelResponse) SetEnabled(v bool) *EmailChannelResponse

SetEnabled sets the Enabled field's value.

func (*EmailChannelResponse) SetFromAddress

func (s *EmailChannelResponse) SetFromAddress(v string) *EmailChannelResponse

SetFromAddress sets the FromAddress field's value.

func (*EmailChannelResponse) SetHasCredential

func (s *EmailChannelResponse) SetHasCredential(v bool) *EmailChannelResponse

SetHasCredential sets the HasCredential field's value.

func (*EmailChannelResponse) SetId

func (s *EmailChannelResponse) SetId(v string) *EmailChannelResponse

SetId sets the Id field's value.

func (*EmailChannelResponse) SetIdentity

func (s *EmailChannelResponse) SetIdentity(v string) *EmailChannelResponse

SetIdentity sets the Identity field's value.

func (*EmailChannelResponse) SetIsArchived

func (s *EmailChannelResponse) SetIsArchived(v bool) *EmailChannelResponse

SetIsArchived sets the IsArchived field's value.

func (*EmailChannelResponse) SetLastModifiedBy

func (s *EmailChannelResponse) SetLastModifiedBy(v string) *EmailChannelResponse

SetLastModifiedBy sets the LastModifiedBy field's value.

func (*EmailChannelResponse) SetLastModifiedDate

func (s *EmailChannelResponse) SetLastModifiedDate(v string) *EmailChannelResponse

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*EmailChannelResponse) SetMessagesPerSecond

func (s *EmailChannelResponse) SetMessagesPerSecond(v int64) *EmailChannelResponse

SetMessagesPerSecond sets the MessagesPerSecond field's value.

func (*EmailChannelResponse) SetPlatform

func (s *EmailChannelResponse) SetPlatform(v string) *EmailChannelResponse

SetPlatform sets the Platform field's value.

func (*EmailChannelResponse) SetRoleArn

func (s *EmailChannelResponse) SetRoleArn(v string) *EmailChannelResponse

SetRoleArn sets the RoleArn field's value.

func (*EmailChannelResponse) SetVersion

func (s *EmailChannelResponse) SetVersion(v int64) *EmailChannelResponse

SetVersion sets the Version field's value.

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 to forward bounces and complaints to, if feedback forwarding
    // is enabled.
    FeedbackForwardingAddress *string `type:"string"`

    // The verified email address to send the email message from. The default value
    // is the FromAddress specified for the email channel.
    FromAddress *string `type:"string"`

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

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

    // The email message, composed of a subject, a text part, and an HTML part.
    SimpleEmail *SimpleEmail `type:"structure"`

    // The default message variables to use in the email message. You can override
    // the default variables with individual address variables.
    Substitutions map[string][]*string `type:"map"`
    // contains filtered or unexported fields
}

Specifies the default settings and content for a one-time email message that's sent directly to an endpoint.

func (EmailMessage) GoString

func (s EmailMessage) GoString() string

GoString returns the string representation

func (*EmailMessage) SetBody

func (s *EmailMessage) SetBody(v string) *EmailMessage

SetBody sets the Body field's value.

func (*EmailMessage) SetFeedbackForwardingAddress

func (s *EmailMessage) SetFeedbackForwardingAddress(v string) *EmailMessage

SetFeedbackForwardingAddress sets the FeedbackForwardingAddress field's value.

func (*EmailMessage) SetFromAddress

func (s *EmailMessage) SetFromAddress(v string) *EmailMessage

SetFromAddress sets the FromAddress field's value.

func (*EmailMessage) SetRawEmail

func (s *EmailMessage) SetRawEmail(v *RawEmail) *EmailMessage

SetRawEmail sets the RawEmail field's value.

func (*EmailMessage) SetReplyToAddresses

func (s *EmailMessage) SetReplyToAddresses(v []*string) *EmailMessage

SetReplyToAddresses sets the ReplyToAddresses field's value.

func (*EmailMessage) SetSimpleEmail

func (s *EmailMessage) SetSimpleEmail(v *SimpleEmail) *EmailMessage

SetSimpleEmail sets the SimpleEmail field's value.

func (*EmailMessage) SetSubstitutions

func (s *EmailMessage) SetSubstitutions(v map[string][]*string) *EmailMessage

SetSubstitutions sets the Substitutions field's value.

func (EmailMessage) String

func (s EmailMessage) String() string

String returns the string representation

type EndpointBatchItem

type EndpointBatchItem struct {

    // The destination address for messages or push notifications that you send
    // to the endpoint. The address varies by channel. For a push-notification channel,
    // use the token provided by the push notification service, such as an Apple
    // Push Notification service (APNs) device token or a Firebase Cloud Messaging
    // (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"`

    // One or more custom attributes that describe the endpoint by associating a
    // name with an array of values. For example, the value of a custom attribute
    // named Interests might be: ["science", "music", "travel"]. You can use these
    // attributes as filter criteria when you create segments.
    //
    // When you define the name of a custom attribute, avoid using the following
    // characters: number sign (#), colon (:), question mark (?), backslash (\),
    // and slash (/). The Amazon Pinpoint console can't display attribute names
    // that contain these characters. This limitation doesn't apply to attribute
    // values.
    Attributes map[string][]*string `type:"map"`

    // The channel to use when sending messages or push notifications to the endpoint.
    ChannelType *string `type:"string" enum:"ChannelType"`

    // The demographic information for the endpoint, such as the time zone and platform.
    Demographic *EndpointDemographic `type:"structure"`

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

    // Not used.
    EndpointStatus *string `type:"string"`

    // The unique identifier for the endpoint in the context of the batch.
    Id *string `type:"string"`

    // The geographic information for the endpoint.
    Location *EndpointLocation `type:"structure"`

    // One or more custom metrics that your app reports to Amazon Pinpoint for the
    // endpoint.
    Metrics map[string]*float64 `type:"map"`

    // Specifies whether the user who's associated with the endpoint has opted out
    // of receiving messages and push notifications from you. Possible values are:
    // ALL, the user has opted out and doesn't want to receive any messages or push
    // notifications; and, NONE, the user hasn't opted out and wants to receive
    // all messages and push notifications.
    OptOut *string `type:"string"`

    // The unique identifier for the request to create or update the endpoint.
    RequestId *string `type:"string"`

    // One or more custom user attributes that your app reports to Amazon Pinpoint
    // for the user who's associated with the endpoint.
    User *EndpointUser `type:"structure"`
    // contains filtered or unexported fields
}

Specifies an endpoint to create or update and the settings and attributes to set or change for the endpoint.

func (EndpointBatchItem) GoString

func (s EndpointBatchItem) GoString() string

GoString returns the string representation

func (*EndpointBatchItem) SetAddress

func (s *EndpointBatchItem) SetAddress(v string) *EndpointBatchItem

SetAddress sets the Address field's value.

func (*EndpointBatchItem) SetAttributes

func (s *EndpointBatchItem) SetAttributes(v map[string][]*string) *EndpointBatchItem

SetAttributes sets the Attributes field's value.

func (*EndpointBatchItem) SetChannelType

func (s *EndpointBatchItem) SetChannelType(v string) *EndpointBatchItem

SetChannelType sets the ChannelType field's value.

func (*EndpointBatchItem) SetDemographic

func (s *EndpointBatchItem) SetDemographic(v *EndpointDemographic) *EndpointBatchItem

SetDemographic sets the Demographic field's value.

func (*EndpointBatchItem) SetEffectiveDate

func (s *EndpointBatchItem) SetEffectiveDate(v string) *EndpointBatchItem

SetEffectiveDate sets the EffectiveDate field's value.

func (*EndpointBatchItem) SetEndpointStatus

func (s *EndpointBatchItem) SetEndpointStatus(v string) *EndpointBatchItem

SetEndpointStatus sets the EndpointStatus field's value.

func (*EndpointBatchItem) SetId

func (s *EndpointBatchItem) SetId(v string) *EndpointBatchItem

SetId sets the Id field's value.

func (*EndpointBatchItem) SetLocation

func (s *EndpointBatchItem) SetLocation(v *EndpointLocation) *EndpointBatchItem

SetLocation sets the Location field's value.

func (*EndpointBatchItem) SetMetrics

func (s *EndpointBatchItem) SetMetrics(v map[string]*float64) *EndpointBatchItem

SetMetrics sets the Metrics field's value.

func (*EndpointBatchItem) SetOptOut

func (s *EndpointBatchItem) SetOptOut(v string) *EndpointBatchItem

SetOptOut sets the OptOut field's value.

func (*EndpointBatchItem) SetRequestId

func (s *EndpointBatchItem) SetRequestId(v string) *EndpointBatchItem

SetRequestId sets the RequestId field's value.

func (*EndpointBatchItem) SetUser

func (s *EndpointBatchItem) SetUser(v *EndpointUser) *EndpointBatchItem

SetUser sets the User field's value.

func (EndpointBatchItem) String

func (s EndpointBatchItem) String() string

String returns the string representation

type EndpointBatchRequest

type EndpointBatchRequest struct {

    // An array that defines the endpoints to create or update and, for each endpoint,
    // the property values to set or change. An array can contain a maximum of 100
    // items.
    //
    // Item is a required field
    Item []*EndpointBatchItem `type:"list" required:"true"`
    // contains filtered or unexported fields
}

Specifies a batch of endpoints to create or update and the settings and attributes to set or change for each endpoint.

func (EndpointBatchRequest) GoString

func (s EndpointBatchRequest) GoString() string

GoString returns the string representation

func (*EndpointBatchRequest) SetItem

func (s *EndpointBatchRequest) SetItem(v []*EndpointBatchItem) *EndpointBatchRequest

SetItem sets the Item field's value.

func (EndpointBatchRequest) String

func (s EndpointBatchRequest) String() string

String returns the string representation

func (*EndpointBatchRequest) Validate

func (s *EndpointBatchRequest) Validate() error

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

type EndpointDemographic

type EndpointDemographic struct {

    // The version of the app that's associated with the endpoint.
    AppVersion *string `type:"string"`

    // The locale of the endpoint, 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 time zone of the endpoint, specified as a tz database name value, such
    // as America/Los_Angeles.
    Timezone *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies demographic information about an endpoint, such as the applicable time zone and platform.

func (EndpointDemographic) GoString

func (s EndpointDemographic) GoString() string

GoString returns the string representation

func (*EndpointDemographic) SetAppVersion

func (s *EndpointDemographic) SetAppVersion(v string) *EndpointDemographic

SetAppVersion sets the AppVersion field's value.

func (*EndpointDemographic) SetLocale

func (s *EndpointDemographic) SetLocale(v string) *EndpointDemographic

SetLocale sets the Locale field's value.

func (*EndpointDemographic) SetMake

func (s *EndpointDemographic) SetMake(v string) *EndpointDemographic

SetMake sets the Make field's value.

func (*EndpointDemographic) SetModel

func (s *EndpointDemographic) SetModel(v string) *EndpointDemographic

SetModel sets the Model field's value.

func (*EndpointDemographic) SetModelVersion

func (s *EndpointDemographic) SetModelVersion(v string) *EndpointDemographic

SetModelVersion sets the ModelVersion field's value.

func (*EndpointDemographic) SetPlatform

func (s *EndpointDemographic) SetPlatform(v string) *EndpointDemographic

SetPlatform sets the Platform field's value.

func (*EndpointDemographic) SetPlatformVersion

func (s *EndpointDemographic) SetPlatformVersion(v string) *EndpointDemographic

SetPlatformVersion sets the PlatformVersion field's value.

func (*EndpointDemographic) SetTimezone

func (s *EndpointDemographic) SetTimezone(v string) *EndpointDemographic

SetTimezone sets the Timezone field's value.

func (EndpointDemographic) String

func (s EndpointDemographic) String() string

String returns the string representation

type EndpointItemResponse

type EndpointItemResponse struct {

    // The custom message that's returned in the response as a result of processing
    // the endpoint data.
    Message *string `type:"string"`

    // The status code that's returned in the response as a result of processing
    // the endpoint data.
    StatusCode *int64 `type:"integer"`
    // contains filtered or unexported fields
}

Provides the status code and message that result from processing data for an endpoint.

func (EndpointItemResponse) GoString

func (s EndpointItemResponse) GoString() string

GoString returns the string representation

func (*EndpointItemResponse) SetMessage

func (s *EndpointItemResponse) SetMessage(v string) *EndpointItemResponse

SetMessage sets the Message field's value.

func (*EndpointItemResponse) SetStatusCode

func (s *EndpointItemResponse) SetStatusCode(v int64) *EndpointItemResponse

SetStatusCode sets the StatusCode field's value.

func (EndpointItemResponse) String

func (s EndpointItemResponse) String() string

String returns the string representation

type EndpointLocation

type EndpointLocation struct {

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

    // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
    // region where the endpoint is located. For example, US for the United States.
    Country *string `type:"string"`

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

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

    // The postal or ZIP code for the area where the endpoint is located.
    PostalCode *string `type:"string"`

    // The name of the region where the endpoint is located. For locations in the
    // United States, this value is the name of a state.
    Region *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies geographic information about an endpoint.

func (EndpointLocation) GoString

func (s EndpointLocation) GoString() string

GoString returns the string representation

func (*EndpointLocation) SetCity

func (s *EndpointLocation) SetCity(v string) *EndpointLocation

SetCity sets the City field's value.

func (*EndpointLocation) SetCountry

func (s *EndpointLocation) SetCountry(v string) *EndpointLocation

SetCountry sets the Country field's value.

func (*EndpointLocation) SetLatitude

func (s *EndpointLocation) SetLatitude(v float64) *EndpointLocation

SetLatitude sets the Latitude field's value.

func (*EndpointLocation) SetLongitude

func (s *EndpointLocation) SetLongitude(v float64) *EndpointLocation

SetLongitude sets the Longitude field's value.

func (*EndpointLocation) SetPostalCode

func (s *EndpointLocation) SetPostalCode(v string) *EndpointLocation

SetPostalCode sets the PostalCode field's value.

func (*EndpointLocation) SetRegion

func (s *EndpointLocation) SetRegion(v string) *EndpointLocation

SetRegion sets the Region field's value.

func (EndpointLocation) String

func (s EndpointLocation) String() string

String returns the string representation

type EndpointMessageResult

type EndpointMessageResult struct {

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

    // The delivery status of the message. Possible values are:
    //
    //    * DUPLICATE - The endpoint address is a duplicate of another endpoint
    //    address. Amazon Pinpoint won't attempt to send the message again.
    //
    //    * OPT_OUT - The user who's associated with the endpoint has opted out
    //    of receiving messages from you. Amazon Pinpoint won't attempt to send
    //    the message again.
    //
    //    * PERMANENT_FAILURE - An error occurred when delivering the message to
    //    the endpoint. Amazon Pinpoint won't attempt to send the message again.
    //
    //    * SUCCESSFUL - The message was successfully delivered to the endpoint.
    //
    //    * TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint will
    //    attempt to deliver the message again later.
    //
    //    * THROTTLED - Amazon Pinpoint throttled the operation to send the message
    //    to the endpoint.
    //
    //    * TIMEOUT - The message couldn't be sent within the timeout period.
    //
    //    * UNKNOWN_FAILURE - An unknown error occurred.
    //
    // DeliveryStatus is a required field
    DeliveryStatus *string `type:"string" required:"true" enum:"DeliveryStatus"`

    // The unique identifier for the message that was sent.
    MessageId *string `type:"string"`

    // The downstream service status code for delivering the message.
    //
    // StatusCode is a required field
    StatusCode *int64 `type:"integer" required:"true"`

    // The status message for delivering the message.
    StatusMessage *string `type:"string"`

    // For push notifications that are sent through the GCM channel, specifies whether
    // the token was updated as part of delivering the message.
    UpdatedToken *string `type:"string"`
    // contains filtered or unexported fields
}

Provides information about the delivery status and results of sending a message directly to an endpoint.

func (EndpointMessageResult) GoString

func (s EndpointMessageResult) GoString() string

GoString returns the string representation

func (*EndpointMessageResult) SetAddress

func (s *EndpointMessageResult) SetAddress(v string) *EndpointMessageResult

SetAddress sets the Address field's value.

func (*EndpointMessageResult) SetDeliveryStatus

func (s *EndpointMessageResult) SetDeliveryStatus(v string) *EndpointMessageResult

SetDeliveryStatus sets the DeliveryStatus field's value.

func (*EndpointMessageResult) SetMessageId

func (s *EndpointMessageResult) SetMessageId(v string) *EndpointMessageResult

SetMessageId sets the MessageId field's value.

func (*EndpointMessageResult) SetStatusCode

func (s *EndpointMessageResult) SetStatusCode(v int64) *EndpointMessageResult

SetStatusCode sets the StatusCode field's value.

func (*EndpointMessageResult) SetStatusMessage

func (s *EndpointMessageResult) SetStatusMessage(v string) *EndpointMessageResult

SetStatusMessage sets the StatusMessage field's value.

func (*EndpointMessageResult) SetUpdatedToken

func (s *EndpointMessageResult) SetUpdatedToken(v string) *EndpointMessageResult

SetUpdatedToken sets the UpdatedToken field's value.

func (EndpointMessageResult) String

func (s EndpointMessageResult) String() string

String returns the string representation

type EndpointRequest

type EndpointRequest struct {

    // The destination address for messages or push notifications that you send
    // to the endpoint. The address varies by channel. For a push-notification channel,
    // use the token provided by the push notification service, such as an Apple
    // Push Notification service (APNs) device token or a Firebase Cloud Messaging
    // (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"`

    // One or more custom attributes that describe the endpoint by associating a
    // name with an array of values. For example, the value of a custom attribute
    // named Interests might be: ["science", "music", "travel"]. You can use these
    // attributes as filter criteria when you create segments.
    //
    // When you define the name of a custom attribute, avoid using the following
    // characters: number sign (#), colon (:), question mark (?), backslash (\),
    // and slash (/). The Amazon Pinpoint console can't display attribute names
    // that contain these characters. This limitation doesn't apply to attribute
    // values.
    Attributes map[string][]*string `type:"map"`

    // The channel to use when sending messages or push notifications to the endpoint.
    ChannelType *string `type:"string" enum:"ChannelType"`

    // The demographic information for the endpoint, such as the time zone and platform.
    Demographic *EndpointDemographic `type:"structure"`

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

    // Not used.
    EndpointStatus *string `type:"string"`

    // The geographic information for the endpoint.
    Location *EndpointLocation `type:"structure"`

    // One or more custom metrics that your app reports to Amazon Pinpoint for the
    // endpoint.
    Metrics map[string]*float64 `type:"map"`

    // Specifies whether the user who's associated with the endpoint has opted out
    // of receiving messages and push notifications from you. Possible values are:
    // ALL, the user has opted out and doesn't want to receive any messages or push
    // notifications; and, NONE, the user hasn't opted out and wants to receive
    // all messages and push notifications.
    OptOut *string `type:"string"`

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

    // One or more custom user attributes that describe the user who's associated
    // with the endpoint.
    User *EndpointUser `type:"structure"`
    // contains filtered or unexported fields
}

Specifies the channel type and other settings for an endpoint.

func (EndpointRequest) GoString

func (s EndpointRequest) GoString() string

GoString returns the string representation

func (*EndpointRequest) SetAddress

func (s *EndpointRequest) SetAddress(v string) *EndpointRequest

SetAddress sets the Address field's value.

func (*EndpointRequest) SetAttributes

func (s *EndpointRequest) SetAttributes(v map[string][]*string) *EndpointRequest

SetAttributes sets the Attributes field's value.

func (*EndpointRequest) SetChannelType

func (s *EndpointRequest) SetChannelType(v string) *EndpointRequest

SetChannelType sets the ChannelType field's value.

func (*EndpointRequest) SetDemographic

func (s *EndpointRequest) SetDemographic(v *EndpointDemographic) *EndpointRequest

SetDemographic sets the Demographic field's value.

func (*EndpointRequest) SetEffectiveDate

func (s *EndpointRequest) SetEffectiveDate(v string) *EndpointRequest

SetEffectiveDate sets the EffectiveDate field's value.

func (*EndpointRequest) SetEndpointStatus

func (s *EndpointRequest) SetEndpointStatus(v string) *EndpointRequest

SetEndpointStatus sets the EndpointStatus field's value.

func (*EndpointRequest) SetLocation

func (s *EndpointRequest) SetLocation(v *EndpointLocation) *EndpointRequest

SetLocation sets the Location field's value.

func (*EndpointRequest) SetMetrics

func (s *EndpointRequest) SetMetrics(v map[string]*float64) *EndpointRequest

SetMetrics sets the Metrics field's value.

func (*EndpointRequest) SetOptOut

func (s *EndpointRequest) SetOptOut(v string) *EndpointRequest

SetOptOut sets the OptOut field's value.

func (*EndpointRequest) SetRequestId

func (s *EndpointRequest) SetRequestId(v string) *EndpointRequest

SetRequestId sets the RequestId field's value.

func (*EndpointRequest) SetUser

func (s *EndpointRequest) SetUser(v *EndpointUser) *EndpointRequest

SetUser sets the User field's value.

func (EndpointRequest) String

func (s EndpointRequest) String() string

String returns the string representation

type EndpointResponse

type EndpointResponse struct {

    // The destination address for messages or push notifications that you send
    // to the endpoint. The address varies by channel. For example, the address
    // for a push-notification channel is typically the token provided by a push
    // notification service, such as an Apple Push Notification service (APNs) device
    // token or a Firebase Cloud Messaging (FCM) registration token. The address
    // for the SMS channel is a phone number in E.164 format, such as +12065550100.
    // The address for the email channel is an email address.
    Address *string `type:"string"`

    // The unique identifier for the application that's associated with the endpoint.
    ApplicationId *string `type:"string"`

    // One or more custom attributes that describe the endpoint by associating a
    // name with an array of values. For example, the value of a custom attribute
    // named Interests might be: ["science", "music", "travel"]. You can use these
    // attributes as filter criteria when you create segments.
    Attributes map[string][]*string `type:"map"`

    // The channel that's used when sending messages or push notifications to the
    // endpoint.
    ChannelType *string `type:"string" enum:"ChannelType"`

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

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

    // The demographic information for the endpoint, such as the time zone and platform.
    Demographic *EndpointDemographic `type:"structure"`

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

    // Not used.
    EndpointStatus *string `type:"string"`

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

    // The geographic information for the endpoint.
    Location *EndpointLocation `type:"structure"`

    // One or more custom metrics that your app reports to Amazon Pinpoint for the
    // endpoint.
    Metrics map[string]*float64 `type:"map"`

    // Specifies whether the user who's associated with the endpoint has opted out
    // of receiving messages and push notifications from you. Possible values are:
    // ALL, the user has opted out and doesn't want to receive any messages or push
    // notifications; and, NONE, the user hasn't opted out and wants to receive
    // all messages and push notifications.
    OptOut *string `type:"string"`

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

    // One or more custom user attributes that your app reports to Amazon Pinpoint
    // for the user who's associated with the endpoint.
    User *EndpointUser `type:"structure"`
    // contains filtered or unexported fields
}

Provides information about the channel type and other settings for an endpoint.

func (EndpointResponse) GoString

func (s EndpointResponse) GoString() string

GoString returns the string representation

func (*EndpointResponse) SetAddress

func (s *EndpointResponse) SetAddress(v string) *EndpointResponse

SetAddress sets the Address field's value.

func (*EndpointResponse) SetApplicationId

func (s *EndpointResponse) SetApplicationId(v string) *EndpointResponse

SetApplicationId sets the ApplicationId field's value.

func (*EndpointResponse) SetAttributes

func (s *EndpointResponse) SetAttributes(v map[string][]*string) *EndpointResponse

SetAttributes sets the Attributes field's value.

func (*EndpointResponse) SetChannelType

func (s *EndpointResponse) SetChannelType(v string) *EndpointResponse

SetChannelType sets the ChannelType field's value.

func (*EndpointResponse) SetCohortId

func (s *EndpointResponse) SetCohortId(v string) *EndpointResponse

SetCohortId sets the CohortId field's value.

func (*EndpointResponse) SetCreationDate

func (s *EndpointResponse) SetCreationDate(v string) *EndpointResponse

SetCreationDate sets the CreationDate field's value.

func (*EndpointResponse) SetDemographic

func (s *EndpointResponse) SetDemographic(v *EndpointDemographic) *EndpointResponse

SetDemographic sets the Demographic field's value.

func (*EndpointResponse) SetEffectiveDate

func (s *EndpointResponse) SetEffectiveDate(v string) *EndpointResponse

SetEffectiveDate sets the EffectiveDate field's value.

func (*EndpointResponse) SetEndpointStatus

func (s *EndpointResponse) SetEndpointStatus(v string) *EndpointResponse

SetEndpointStatus sets the EndpointStatus field's value.

func (*EndpointResponse) SetId

func (s *EndpointResponse) SetId(v string) *EndpointResponse

SetId sets the Id field's value.

func (*EndpointResponse) SetLocation

func (s *EndpointResponse) SetLocation(v *EndpointLocation) *EndpointResponse

SetLocation sets the Location field's value.

func (*EndpointResponse) SetMetrics

func (s *EndpointResponse) SetMetrics(v map[string]*float64) *EndpointResponse

SetMetrics sets the Metrics field's value.

func (*EndpointResponse) SetOptOut

func (s *EndpointResponse) SetOptOut(v string) *EndpointResponse

SetOptOut sets the OptOut field's value.

func (*EndpointResponse) SetRequestId

func (s *EndpointResponse) SetRequestId(v string) *EndpointResponse

SetRequestId sets the RequestId field's value.

func (*EndpointResponse) SetUser

func (s *EndpointResponse) SetUser(v *EndpointUser) *EndpointResponse

SetUser sets the User field's value.

func (EndpointResponse) String

func (s EndpointResponse) String() string

String returns the string representation

type EndpointSendConfiguration

type EndpointSendConfiguration struct {

    // The body of the message. If specified, this value overrides the default message
    // body.
    BodyOverride *string `type:"string"`

    // A map of custom attributes to attach to the message for the address. For
    // a push notification, this payload is added to the data.pinpoint object. For
    // an email or text message, this payload is added to email/SMS delivery receipt
    // event attributes.
    Context map[string]*string `type:"map"`

    // The raw, JSON-formatted string to use as the payload for the message. If
    // specified, this value overrides the message.
    RawContent *string `type:"string"`

    // A map of the message variables to merge with the variables specified for
    // the default message (DefaultMessage.Substitutions). The variables specified
    // in this map take precedence over all other variables.
    Substitutions map[string][]*string `type:"map"`

    // The title or subject line of the message. If specified, this value overrides
    // the default message title or subject line.
    TitleOverride *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies the content, including message variables and attributes, to use in a message that's sent directly to an endpoint.

func (EndpointSendConfiguration) GoString

func (s EndpointSendConfiguration) GoString() string

GoString returns the string representation

func (*EndpointSendConfiguration) SetBodyOverride

func (s *EndpointSendConfiguration) SetBodyOverride(v string) *EndpointSendConfiguration

SetBodyOverride sets the BodyOverride field's value.

func (*EndpointSendConfiguration) SetContext

func (s *EndpointSendConfiguration) SetContext(v map[string]*string) *EndpointSendConfiguration

SetContext sets the Context field's value.

func (*EndpointSendConfiguration) SetRawContent

func (s *EndpointSendConfiguration) SetRawContent(v string) *EndpointSendConfiguration

SetRawContent sets the RawContent field's value.

func (*EndpointSendConfiguration) SetSubstitutions

func (s *EndpointSendConfiguration) SetSubstitutions(v map[string][]*string) *EndpointSendConfiguration

SetSubstitutions sets the Substitutions field's value.

func (*EndpointSendConfiguration) SetTitleOverride

func (s *EndpointSendConfiguration) SetTitleOverride(v string) *EndpointSendConfiguration

SetTitleOverride sets the TitleOverride field's value.

func (EndpointSendConfiguration) String

func (s EndpointSendConfiguration) String() string

String returns the string representation

type EndpointUser

type EndpointUser struct {

    // One or more custom attributes that describe the user by associating a name
    // with an array of values. For example, the value of an attribute named Interests
    // might be: ["science", "music", "travel"]. You can use these attributes as
    // filter criteria when you create segments.
    //
    // When you define the name of a custom attribute, avoid using the following
    // characters: number sign (#), colon (:), question mark (?), backslash (\),
    // and slash (/). The Amazon Pinpoint console can't display attribute names
    // that contain these characters. This limitation doesn't apply to attribute
    // values.
    UserAttributes map[string][]*string `type:"map"`

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

Specifies data for one or more attributes that describe the user who's associated with an endpoint.

func (EndpointUser) GoString

func (s EndpointUser) GoString() string

GoString returns the string representation

func (*EndpointUser) SetUserAttributes

func (s *EndpointUser) SetUserAttributes(v map[string][]*string) *EndpointUser

SetUserAttributes sets the UserAttributes field's value.

func (*EndpointUser) SetUserId

func (s *EndpointUser) SetUserId(v string) *EndpointUser

SetUserId sets the UserId field's value.

func (EndpointUser) String

func (s EndpointUser) String() string

String returns the string representation

type EndpointsResponse

type EndpointsResponse struct {

    // An array of responses, one for each endpoint that's associated with the user
    // ID.
    //
    // Item is a required field
    Item []*EndpointResponse `type:"list" required:"true"`
    // contains filtered or unexported fields
}

Provides information about all the endpoints that are associated with a user ID.

func (EndpointsResponse) GoString

func (s EndpointsResponse) GoString() string

GoString returns the string representation

func (*EndpointsResponse) SetItem

func (s *EndpointsResponse) SetItem(v []*EndpointResponse) *EndpointsResponse

SetItem sets the Item field's value.

func (EndpointsResponse) String

func (s EndpointsResponse) String() string

String returns the string representation

type Event

type Event struct {

    // The package name of the app that's recording the event.
    AppPackageName *string `type:"string"`

    // The title of the app that's recording the event.
    AppTitle *string `type:"string"`

    // The version number of the app that's recording the event.
    AppVersionCode *string `type:"string"`

    // One or more custom attributes that are associated with the event.
    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 event.
    //
    // EventType is a required field
    EventType *string `type:"string" required:"true"`

    // One or more custom metrics that are associated with the event.
    Metrics map[string]*float64 `type:"map"`

    // The name of the SDK that's being used to record the event.
    SdkName *string `type:"string"`

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

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

Specifies information about an event that reports data to Amazon Pinpoint.

func (Event) GoString

func (s Event) GoString() string

GoString returns the string representation

func (*Event) SetAppPackageName

func (s *Event) SetAppPackageName(v string) *Event

SetAppPackageName sets the AppPackageName field's value.

func (*Event) SetAppTitle

func (s *Event) SetAppTitle(v string) *Event

SetAppTitle sets the AppTitle field's value.

func (*Event) SetAppVersionCode

func (s *Event) SetAppVersionCode(v string) *Event

SetAppVersionCode sets the AppVersionCode field's value.

func (*Event) SetAttributes

func (s *Event) SetAttributes(v map[string]*string) *Event

SetAttributes sets the Attributes field's value.

func (*Event) SetClientSdkVersion

func (s *Event) SetClientSdkVersion(v string) *Event

SetClientSdkVersion sets the ClientSdkVersion field's value.

func (*Event) SetEventType

func (s *Event) SetEventType(v string) *Event

SetEventType sets the EventType field's value.

func (*Event) SetMetrics

func (s *Event) SetMetrics(v map[string]*float64) *Event

SetMetrics sets the Metrics field's value.

func (*Event) SetSdkName

func (s *Event) SetSdkName(v string) *Event

SetSdkName sets the SdkName field's value.

func (*Event) SetSession

func (s *Event) SetSession(v *Session) *Event

SetSession sets the Session field's value.

func (*Event) SetTimestamp

func (s *Event) SetTimestamp(v string) *Event

SetTimestamp sets the Timestamp field's value.

func (Event) String

func (s Event) String() string

String returns the string representation

func (*Event) Validate

func (s *Event) Validate() error

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

type EventDimensions

type EventDimensions struct {

    // One or more 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 type of event that Amazon Pinpoint generates, such as _session.start,
    // or a custom event that's specific to your app.
    EventType *SetDimension `type:"structure"`

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

Specifies the dimensions for an event filter that determines when a campaign is sent.

func (EventDimensions) GoString

func (s EventDimensions) GoString() string

GoString returns the string representation

func (*EventDimensions) SetAttributes

func (s *EventDimensions) SetAttributes(v map[string]*AttributeDimension) *EventDimensions

SetAttributes sets the Attributes field's value.

func (*EventDimensions) SetEventType

func (s *EventDimensions) SetEventType(v *SetDimension) *EventDimensions

SetEventType sets the EventType field's value.

func (*EventDimensions) SetMetrics

func (s *EventDimensions) SetMetrics(v map[string]*MetricDimension) *EventDimensions

SetMetrics sets the Metrics field's value.

func (EventDimensions) String

func (s EventDimensions) String() string

String returns the string representation

func (*EventDimensions) Validate

func (s *EventDimensions) Validate() error

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

type EventItemResponse

type EventItemResponse struct {

    // A custom message that's returned in the response as a result of processing
    // the event.
    Message *string `type:"string"`

    // The status code that's returned in the response as a result of processing
    // the event. Possible values are: 202, for events that were accepted; and,
    // 400, for events that weren't valid.
    StatusCode *int64 `type:"integer"`
    // contains filtered or unexported fields
}

Provides the status code and message that result from processing an event.

func (EventItemResponse) GoString

func (s EventItemResponse) GoString() string

GoString returns the string representation

func (*EventItemResponse) SetMessage

func (s *EventItemResponse) SetMessage(v string) *EventItemResponse

SetMessage sets the Message field's value.

func (*EventItemResponse) SetStatusCode

func (s *EventItemResponse) SetStatusCode(v int64) *EventItemResponse

SetStatusCode sets the StatusCode field's value.

func (EventItemResponse) String

func (s EventItemResponse) String() string

String returns the string representation

type EventStream

type EventStream struct {

    // The unique identifier for the application to publish event data for.
    //
    // ApplicationId is a required field
    ApplicationId *string `type:"string" required:"true"`

    // The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon
    // Kinesis Data Firehose delivery stream to publish event data to.
    //
    // For a Kinesis data stream, the ARN format is: arn:aws:kinesis:region:account-id:stream/stream_name
    //
    // For a Kinesis Data Firehose delivery stream, the ARN format is: arn:aws:firehose:region:account-id:deliverystream/stream_name
    //
    // DestinationStreamArn is a required field
    DestinationStreamArn *string `type:"string" required:"true"`

    // (Deprecated) Your AWS account ID, which you assigned to an external ID key
    // in an IAM trust policy. Amazon Pinpoint previously used this value to assume
    // an IAM role when publishing event data, but we removed this requirement.
    // We don't recommend use of external IDs for IAM roles that are assumed by
    // Amazon Pinpoint.
    ExternalId *string `type:"string"`

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

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

    // The AWS Identity and Access Management (IAM) role that authorizes Amazon
    // Pinpoint to publish event data to the stream in your AWS account.
    //
    // RoleArn is a required field
    RoleArn *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Specifies settings for publishing event data to an Amazon Kinesis data stream or an Amazon Kinesis Data Firehose delivery stream.

func (EventStream) GoString

func (s EventStream) GoString() string

GoString returns the string representation

func (*EventStream) SetApplicationId

func (s *EventStream) SetApplicationId(v string) *EventStream

SetApplicationId sets the ApplicationId field's value.

func (*EventStream) SetDestinationStreamArn

func (s *EventStream) SetDestinationStreamArn(v string) *EventStream

SetDestinationStreamArn sets the DestinationStreamArn field's value.

func (*EventStream) SetExternalId

func (s *EventStream) SetExternalId(v string) *EventStream

SetExternalId sets the ExternalId field's value.

func (*EventStream) SetLastModifiedDate

func (s *EventStream) SetLastModifiedDate(v string) *EventStream

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*EventStream) SetLastUpdatedBy

func (s *EventStream) SetLastUpdatedBy(v string) *EventStream

SetLastUpdatedBy sets the LastUpdatedBy field's value.

func (*EventStream) SetRoleArn

func (s *EventStream) SetRoleArn(v string) *EventStream

SetRoleArn sets the RoleArn field's value.

func (EventStream) String

func (s EventStream) String() string

String returns the string representation

type EventsBatch

type EventsBatch struct {

    // A set of properties and attributes that are associated with the endpoint.
    //
    // Endpoint is a required field
    Endpoint *PublicEndpoint `type:"structure" required:"true"`

    // A set of properties that are associated with the event.
    //
    // Events is a required field
    Events map[string]*Event `type:"map" required:"true"`
    // contains filtered or unexported fields
}

Specifies a batch of endpoints and events to process.

func (EventsBatch) GoString

func (s EventsBatch) GoString() string

GoString returns the string representation

func (*EventsBatch) SetEndpoint

func (s *EventsBatch) SetEndpoint(v *PublicEndpoint) *EventsBatch

SetEndpoint sets the Endpoint field's value.

func (*EventsBatch) SetEvents

func (s *EventsBatch) SetEvents(v map[string]*Event) *EventsBatch

SetEvents sets the Events field's value.

func (EventsBatch) String

func (s EventsBatch) String() string

String returns the string representation

func (*EventsBatch) Validate

func (s *EventsBatch) Validate() error

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

type EventsRequest

type EventsRequest struct {

    // The batch of events to process. For each item in a batch, the endpoint ID
    // acts as a key that has an EventsBatch object as its value.
    //
    // BatchItem is a required field
    BatchItem map[string]*EventsBatch `type:"map" required:"true"`
    // contains filtered or unexported fields
}

Specifies a batch of events to process.

func (EventsRequest) GoString

func (s EventsRequest) GoString() string

GoString returns the string representation

func (*EventsRequest) SetBatchItem

func (s *EventsRequest) SetBatchItem(v map[string]*EventsBatch) *EventsRequest

SetBatchItem sets the BatchItem field's value.

func (EventsRequest) String

func (s EventsRequest) String() string

String returns the string representation

func (*EventsRequest) Validate

func (s *EventsRequest) Validate() error

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

type EventsResponse

type EventsResponse struct {

    // A map that contains a multipart response for each endpoint. For each item
    // in this object, the endpoint ID is the key and the item response is the value.
    // If no item response exists, the value can also be one of the following: 202,
    // the request was processed successfully; or 400, the payload wasn't valid
    // or required fields were missing.
    Results map[string]*ItemResponse `type:"map"`
    // contains filtered or unexported fields
}

Provides information about endpoints and the events that they're associated with.

func (EventsResponse) GoString

func (s EventsResponse) GoString() string

GoString returns the string representation

func (*EventsResponse) SetResults

func (s *EventsResponse) SetResults(v map[string]*ItemResponse) *EventsResponse

SetResults sets the Results field's value.

func (EventsResponse) String

func (s EventsResponse) String() string

String returns the string representation

type ExportJobRequest

type ExportJobRequest struct {

    // The Amazon Resource Name (ARN) of the AWS Identity and Access Management
    // (IAM) role that authorizes Amazon Pinpoint to access the Amazon S3 location
    // where you want to export endpoint definitions to.
    //
    // RoleArn is a required field
    RoleArn *string `type:"string" required:"true"`

    // The URL of the location in an Amazon Simple Storage Service (Amazon S3) bucket
    // where you want to export endpoint definitions to. This location is typically
    // a folder that contains multiple files. The URL should be in the following
    // format: s3://bucket-name/folder-name/.
    //
    // S3UrlPrefix is a required field
    S3UrlPrefix *string `type:"string" required:"true"`

    // The identifier for the segment to export endpoint definitions from. If you
    // don't specify this value, Amazon Pinpoint exports definitions for all the
    // endpoints that are associated with the application.
    SegmentId *string `type:"string"`

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

Specifies the settings for a job that exports endpoint definitions to an Amazon Simple Storage Service (Amazon S3) bucket.

func (ExportJobRequest) GoString

func (s ExportJobRequest) GoString() string

GoString returns the string representation

func (*ExportJobRequest) SetRoleArn

func (s *ExportJobRequest) SetRoleArn(v string) *ExportJobRequest

SetRoleArn sets the RoleArn field's value.

func (*ExportJobRequest) SetS3UrlPrefix

func (s *ExportJobRequest) SetS3UrlPrefix(v string) *ExportJobRequest

SetS3UrlPrefix sets the S3UrlPrefix field's value.

func (*ExportJobRequest) SetSegmentId

func (s *ExportJobRequest) SetSegmentId(v string) *ExportJobRequest

SetSegmentId sets the SegmentId field's value.

func (*ExportJobRequest) SetSegmentVersion

func (s *ExportJobRequest) SetSegmentVersion(v int64) *ExportJobRequest

SetSegmentVersion sets the SegmentVersion field's value.

func (ExportJobRequest) String

func (s ExportJobRequest) String() string

String returns the string representation

func (*ExportJobRequest) Validate

func (s *ExportJobRequest) Validate() error

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

type ExportJobResource

type ExportJobResource struct {

    // The Amazon Resource Name (ARN) of the AWS Identity and Access Management
    // (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location
    // where the endpoint definitions were exported to.
    //
    // RoleArn is a required field
    RoleArn *string `type:"string" required:"true"`

    // The URL of the location in an Amazon Simple Storage Service (Amazon S3) bucket
    // where the endpoint definitions were exported to. This location is typically
    // a folder that contains multiple files. The URL should be in the following
    // format: s3://bucket-name/folder-name/.
    //
    // S3UrlPrefix is a required field
    S3UrlPrefix *string `type:"string" required:"true"`

    // The identifier for the segment that the endpoint definitions were exported
    // from. If this value isn't present, Amazon Pinpoint exported definitions for
    // all the endpoints that are associated with the application.
    SegmentId *string `type:"string"`

    // The version of the segment that the endpoint definitions were exported from.
    SegmentVersion *int64 `type:"integer"`
    // contains filtered or unexported fields
}

Provides information about the resource settings for a job that exports endpoint definitions to a file. The file can be added directly to an Amazon Simple Storage Service (Amazon S3) bucket by using the Amazon Pinpoint API or downloaded directly to a computer by using the Amazon Pinpoint console.

func (ExportJobResource) GoString

func (s ExportJobResource) GoString() string

GoString returns the string representation

func (*ExportJobResource) SetRoleArn

func (s *ExportJobResource) SetRoleArn(v string) *ExportJobResource

SetRoleArn sets the RoleArn field's value.

func (*ExportJobResource) SetS3UrlPrefix

func (s *ExportJobResource) SetS3UrlPrefix(v string) *ExportJobResource

SetS3UrlPrefix sets the S3UrlPrefix field's value.

func (*ExportJobResource) SetSegmentId

func (s *ExportJobResource) SetSegmentId(v string) *ExportJobResource

SetSegmentId sets the SegmentId field's value.

func (*ExportJobResource) SetSegmentVersion

func (s *ExportJobResource) SetSegmentVersion(v int64) *ExportJobResource

SetSegmentVersion sets the SegmentVersion field's value.

func (ExportJobResource) String

func (s ExportJobResource) String() string

String returns the string representation

type ExportJobResponse

type ExportJobResponse struct {

    // The unique identifier for the application that's associated with the export
    // job.
    //
    // ApplicationId is a required field
    ApplicationId *string `type:"string" required:"true"`

    // The number of pieces that were processed successfully (completed) by the
    // export job, as of the time of the request.
    CompletedPieces *int64 `type:"integer"`

    // The date, in ISO 8601 format, when the export job was completed.
    CompletionDate *string `type:"string"`

    // The date, in ISO 8601 format, when the export job was created.
    //
    // CreationDate is a required field
    CreationDate *string `type:"string" required:"true"`

    // The resource settings that apply to the export job.
    //
    // Definition is a required field
    Definition *ExportJobResource `type:"structure" required:"true"`

    // The number of pieces that weren't processed successfully (failed) by the
    // export job, as of the time of the request.
    FailedPieces *int64 `type:"integer"`

    // An array of entries, one for each of the first 100 entries that weren't processed
    // successfully (failed) by the export job, if any.
    Failures []*string `type:"list"`

    // The unique identifier for the export job.
    //
    // Id is a required field
    Id *string `type:"string" required:"true"`

    // The status of the export job. The job status is FAILED if Amazon Pinpoint
    // wasn't able to process one or more pieces in the job.
    //
    // JobStatus is a required field
    JobStatus *string `type:"string" required:"true" enum:"JobStatus"`

    // The total number of endpoint definitions that weren't processed successfully
    // (failed) by the export job, typically because an error, such as a syntax
    // error, occurred.
    TotalFailures *int64 `type:"integer"`

    // The total number of pieces that must be processed to complete the export
    // job. Each piece consists of an approximately equal portion of the endpoint
    // definitions that are part of the export job.
    TotalPieces *int64 `type:"integer"`

    // The total number of endpoint definitions that were processed by the export
    // job.
    TotalProcessed *int64 `type:"integer"`

    // The job type. This value is EXPORT for export jobs.
    //
    // Type is a required field
    Type *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Provides information about the status and settings of a job that exports endpoint definitions to a file. The file can be added directly to an Amazon Simple Storage Service (Amazon S3) bucket by using the Amazon Pinpoint API or downloaded directly to a computer by using the Amazon Pinpoint console.

func (ExportJobResponse) GoString

func (s ExportJobResponse) GoString() string

GoString returns the string representation

func (*ExportJobResponse) SetApplicationId

func (s *ExportJobResponse) SetApplicationId(v string) *ExportJobResponse

SetApplicationId sets the ApplicationId field's value.

func (*ExportJobResponse) SetCompletedPieces

func (s *ExportJobResponse) SetCompletedPieces(v int64) *ExportJobResponse

SetCompletedPieces sets the CompletedPieces field's value.

func (*ExportJobResponse) SetCompletionDate

func (s *ExportJobResponse) SetCompletionDate(v string) *ExportJobResponse

SetCompletionDate sets the CompletionDate field's value.

func (*ExportJobResponse) SetCreationDate

func (s *ExportJobResponse) SetCreationDate(v string) *ExportJobResponse

SetCreationDate sets the CreationDate field's value.

func (*ExportJobResponse) SetDefinition

func (s *ExportJobResponse) SetDefinition(v *ExportJobResource) *ExportJobResponse

SetDefinition sets the Definition field's value.

func (*ExportJobResponse) SetFailedPieces

func (s *ExportJobResponse) SetFailedPieces(v int64) *ExportJobResponse

SetFailedPieces sets the FailedPieces field's value.

func (*ExportJobResponse) SetFailures

func (s *ExportJobResponse) SetFailures(v []*string) *ExportJobResponse

SetFailures sets the Failures field's value.

func (*ExportJobResponse) SetId

func (s *ExportJobResponse) SetId(v string) *ExportJobResponse

SetId sets the Id field's value.

func (*ExportJobResponse) SetJobStatus

func (s *ExportJobResponse) SetJobStatus(v string) *ExportJobResponse

SetJobStatus sets the JobStatus field's value.

func (*ExportJobResponse) SetTotalFailures

func (s *ExportJobResponse) SetTotalFailures(v int64) *ExportJobResponse

SetTotalFailures sets the TotalFailures field's value.

func (*ExportJobResponse) SetTotalPieces

func (s *ExportJobResponse) SetTotalPieces(v int64) *ExportJobResponse

SetTotalPieces sets the TotalPieces field's value.

func (*ExportJobResponse) SetTotalProcessed

func (s *ExportJobResponse) SetTotalProcessed(v int64) *ExportJobResponse

SetTotalProcessed sets the TotalProcessed field's value.

func (*ExportJobResponse) SetType

func (s *ExportJobResponse) SetType(v string) *ExportJobResponse

SetType sets the Type field's value.

func (ExportJobResponse) String

func (s ExportJobResponse) String() string

String returns the string representation

type ExportJobsResponse

type ExportJobsResponse struct {

    // An array of responses, one for each export job that's associated with the
    // application (Export Jobs resource) or segment (Segment Export Jobs resource).
    //
    // Item is a required field
    Item []*ExportJobResponse `type:"list" required:"true"`

    // The string to use in a subsequent request to get the next page of results
    // in a paginated response. This value is null if there are no additional pages.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

Provides information about all the export jobs that are associated with an application or segment. An export job is a job that exports endpoint definitions to a file.

func (ExportJobsResponse) GoString

func (s ExportJobsResponse) GoString() string

GoString returns the string representation

func (*ExportJobsResponse) SetItem

func (s *ExportJobsResponse) SetItem(v []*ExportJobResponse) *ExportJobsResponse

SetItem sets the Item field's value.

func (*ExportJobsResponse) SetNextToken

func (s *ExportJobsResponse) SetNextToken(v string) *ExportJobsResponse

SetNextToken sets the NextToken field's value.

func (ExportJobsResponse) String

func (s ExportJobsResponse) String() string

String returns the string representation

type GCMChannelRequest

type GCMChannelRequest struct {

    // The API key, also referred to as a server key, that you received from Google
    // to communicate with Google services.
    //
    // ApiKey is a required field
    ApiKey *string `type:"string" required:"true"`

    // Specifies whether to enable the GCM channel for the application.
    Enabled *bool `type:"boolean"`
    // contains filtered or unexported fields
}

Specifies the status and settings of the GCM channel for an application. This channel enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.

func (GCMChannelRequest) GoString

func (s GCMChannelRequest) GoString() string

GoString returns the string representation

func (*GCMChannelRequest) SetApiKey

func (s *GCMChannelRequest) SetApiKey(v string) *GCMChannelRequest

SetApiKey sets the ApiKey field's value.

func (*GCMChannelRequest) SetEnabled

func (s *GCMChannelRequest) SetEnabled(v bool) *GCMChannelRequest

SetEnabled sets the Enabled field's value.

func (GCMChannelRequest) String

func (s GCMChannelRequest) String() string

String returns the string representation

func (*GCMChannelRequest) Validate

func (s *GCMChannelRequest) Validate() error

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

type GCMChannelResponse

type GCMChannelResponse struct {

    // The unique identifier for the application that the GCM channel applies to.
    ApplicationId *string `type:"string"`

    // The date and time when the GCM channel was enabled.
    CreationDate *string `type:"string"`

    // The API key, also referred to as a server key, that you received from Google
    // to communicate with Google services.
    //
    // Credential is a required field
    Credential *string `type:"string" required:"true"`

    // Specifies whether the GCM channel is enabled for the application.
    Enabled *bool `type:"boolean"`

    // (Not used) This property is retained only for backward compatibility.
    HasCredential *bool `type:"boolean"`

    // (Deprecated) An identifier for the GCM channel. This property is retained
    // only for backward compatibility.
    Id *string `type:"string"`

    // Specifies whether the GCM channel is archived.
    IsArchived *bool `type:"boolean"`

    // The user who last modified the GCM channel.
    LastModifiedBy *string `type:"string"`

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

    // The type of messaging or notification platform for the channel. For the GCM
    // channel, this value is GCM.
    //
    // Platform is a required field
    Platform *string `type:"string" required:"true"`

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

Provides information about the status and settings of the GCM channel for an application. The GCM channel enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.

func (GCMChannelResponse) GoString

func (s GCMChannelResponse) GoString() string

GoString returns the string representation

func (*GCMChannelResponse) SetApplicationId

func (s *GCMChannelResponse) SetApplicationId(v string) *GCMChannelResponse

SetApplicationId sets the ApplicationId field's value.

func (*GCMChannelResponse) SetCreationDate

func (s *GCMChannelResponse) SetCreationDate(v string) *GCMChannelResponse

SetCreationDate sets the CreationDate field's value.

func (*GCMChannelResponse) SetCredential

func (s *GCMChannelResponse) SetCredential(v string) *GCMChannelResponse

SetCredential sets the Credential field's value.

func (*GCMChannelResponse) SetEnabled

func (s *GCMChannelResponse) SetEnabled(v bool) *GCMChannelResponse

SetEnabled sets the Enabled field's value.

func (*GCMChannelResponse) SetHasCredential

func (s *GCMChannelResponse) SetHasCredential(v bool) *GCMChannelResponse

SetHasCredential sets the HasCredential field's value.

func (*GCMChannelResponse) SetId

func (s *GCMChannelResponse) SetId(v string) *GCMChannelResponse

SetId sets the Id field's value.

func (*GCMChannelResponse) SetIsArchived

func (s *GCMChannelResponse) SetIsArchived(v bool) *GCMChannelResponse

SetIsArchived sets the IsArchived field's value.

func (*GCMChannelResponse) SetLastModifiedBy

func (s *GCMChannelResponse) SetLastModifiedBy(v string) *GCMChannelResponse

SetLastModifiedBy sets the LastModifiedBy field's value.

func (*GCMChannelResponse) SetLastModifiedDate

func (s *GCMChannelResponse) SetLastModifiedDate(v string) *GCMChannelResponse

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*GCMChannelResponse) SetPlatform

func (s *GCMChannelResponse) SetPlatform(v string) *GCMChannelResponse

SetPlatform sets the Platform field's value.

func (*GCMChannelResponse) SetVersion

func (s *GCMChannelResponse) SetVersion(v int64) *GCMChannelResponse

SetVersion sets the Version field's value.

func (GCMChannelResponse) String

func (s GCMChannelResponse) String() string

String returns the string representation

type GCMMessage

type GCMMessage struct {

    // The action to occur if the recipient taps the push notification. Valid values
    // are:
    //
    //    * OPEN_APP - Your app opens or it becomes the foreground app if it was
    //    sent to the background. This is the default action.
    //
    //    * DEEP_LINK - Your app opens and displays a designated user interface
    //    in the app. This action uses the deep-linking features of the Android
    //    platform.
    //
    //    * URL - The default mobile browser on the recipient's device opens and
    //    loads the web page at a URL that you specify.
    Action *string `type:"string" enum:"Action"`

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

    // An arbitrary string that identifies a group of messages that can be collapsed
    // to ensure that only the last message is sent when delivery can resume. This
    // helps avoid sending too many instances of the same messages when the recipient's
    // device comes online again or becomes active.
    //
    // Amazon Pinpoint specifies this value in the Firebase Cloud Messaging (FCM)
    // collapse_key parameter when it sends the notification message to FCM.
    CollapseKey *string `type:"string"`

    // The JSON data payload to use for the push notification, if the notification
    // is a silent push notification. This payload is added to the data.pinpoint.jsonBody
    // object of the notification.
    Data map[string]*string `type:"map"`

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

    // The URL of the large icon image to display in the content view of the push
    // notification.
    ImageIconUrl *string `type:"string"`

    // The URL of an image to display in the push notification.
    ImageUrl *string `type:"string"`

    // para>normal - The notification might be delayed. Delivery is optimized for
    // battery usage on the recipient's device. Use this value unless immediate
    // delivery is required.
    // /listitem>
    // high - The notification is sent immediately and might wake a sleeping device.
    // /para>
    // Amazon Pinpoint specifies this value in the FCM priority parameter when it
    // sends the notification message to FCM.
    //
    // The equivalent values for Apple Push Notification service (APNs) are 5, for
    // normal, and 10, for high. If you specify an APNs value for this property,
    // Amazon Pinpoint accepts and converts the value to the corresponding FCM value.
    Priority *string `type:"string"`

    // The raw, JSON-formatted string to use as the payload for the notification
    // message. This value overrides the message.
    RawContent *string `type:"string"`

    // The package name of the application where registration tokens must match
    // in order for the recipient to receive the message.
    RestrictedPackageName *string `type:"string"`

    // Specifies whether the notification is a silent push notification, which is
    // a push notification that doesn't display on a recipient's device. Silent
    // push notifications can be used for cases such as updating an app's configuration
    // or supporting phone home functionality.
    SilentPush *bool `type:"boolean"`

    // The URL of the small icon image to display in the status bar and the content
    // view of the push notification.
    SmallImageIconUrl *string `type:"string"`

    // The sound to play when the recipient receives the push notification. You
    // can use the default stream or specify the file name of a sound resource that's
    // bundled in your app. On an Android platform, the sound file must reside in
    // /res/raw/.
    Sound *string `type:"string"`

    // The default message variables to use in the notification message. You can
    // override the default variables with individual address variables.
    Substitutions map[string][]*string `type:"map"`

    // The amount of time, in seconds, that FCM should store and attempt to deliver
    // the push notification, if the service is unable to deliver the notification
    // the first time. If you don't specify this value, FCM defaults to the maximum
    // value, which is 2,419,200 seconds (28 days).
    //
    // Amazon Pinpoint specifies this value in the FCM time_to_live parameter when
    // it sends the notification message to FCM.
    TimeToLive *int64 `type:"integer"`

    // The title to display above the notification message on the recipient's device.
    Title *string `type:"string"`

    // The URL to open in the recipient's default mobile browser, if a recipient
    // taps the push notification and the value of the Action property is URL.
    Url *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies the settings for a one-time message that's sent directly to an endpoint through the GCM channel. The GCM channel enables Amazon Pinpoint to send messages to the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.

func (GCMMessage) GoString

func (s GCMMessage) GoString() string

GoString returns the string representation

func (*GCMMessage) SetAction

func (s *GCMMessage) SetAction(v string) *GCMMessage

SetAction sets the Action field's value.

func (*GCMMessage) SetBody

func (s *GCMMessage) SetBody(v string) *GCMMessage

SetBody sets the Body field's value.

func (*GCMMessage) SetCollapseKey

func (s *GCMMessage) SetCollapseKey(v string) *GCMMessage

SetCollapseKey sets the CollapseKey field's value.

func (*GCMMessage) SetData

func (s *GCMMessage) SetData(v map[string]*string) *GCMMessage

SetData sets the Data field's value.

func (*GCMMessage) SetIconReference

func (s *GCMMessage) SetIconReference(v string) *GCMMessage

SetIconReference sets the IconReference field's value.

func (*GCMMessage) SetImageIconUrl

func (s *GCMMessage) SetImageIconUrl(v string) *GCMMessage

SetImageIconUrl sets the ImageIconUrl field's value.

func (*GCMMessage) SetImageUrl

func (s *GCMMessage) SetImageUrl(v string) *GCMMessage

SetImageUrl sets the ImageUrl field's value.

func (*GCMMessage) SetPriority

func (s *GCMMessage) SetPriority(v string) *GCMMessage

SetPriority sets the Priority field's value.

func (*GCMMessage) SetRawContent

func (s *GCMMessage) SetRawContent(v string) *GCMMessage

SetRawContent sets the RawContent field's value.

func (*GCMMessage) SetRestrictedPackageName

func (s *GCMMessage) SetRestrictedPackageName(v string) *GCMMessage

SetRestrictedPackageName sets the RestrictedPackageName field's value.

func (*GCMMessage) SetSilentPush

func (s *GCMMessage) SetSilentPush(v bool) *GCMMessage

SetSilentPush sets the SilentPush field's value.

func (*GCMMessage) SetSmallImageIconUrl

func (s *GCMMessage) SetSmallImageIconUrl(v string) *GCMMessage

SetSmallImageIconUrl sets the SmallImageIconUrl field's value.

func (*GCMMessage) SetSound

func (s *GCMMessage) SetSound(v string) *GCMMessage

SetSound sets the Sound field's value.

func (*GCMMessage) SetSubstitutions

func (s *GCMMessage) SetSubstitutions(v map[string][]*string) *GCMMessage

SetSubstitutions sets the Substitutions field's value.

func (*GCMMessage) SetTimeToLive

func (s *GCMMessage) SetTimeToLive(v int64) *GCMMessage

SetTimeToLive sets the TimeToLive field's value.

func (*GCMMessage) SetTitle

func (s *GCMMessage) SetTitle(v string) *GCMMessage

SetTitle sets the Title field's value.

func (*GCMMessage) SetUrl

func (s *GCMMessage) SetUrl(v string) *GCMMessage

SetUrl sets the Url field's value.

func (GCMMessage) String

func (s GCMMessage) String() string

String returns the string representation

type GPSCoordinates

type GPSCoordinates struct {

    // The latitude coordinate of the location.
    //
    // Latitude is a required field
    Latitude *float64 `type:"double" required:"true"`

    // The longitude coordinate of the location.
    //
    // Longitude is a required field
    Longitude *float64 `type:"double" required:"true"`
    // contains filtered or unexported fields
}

Specifies the GPS coordinates of a location.

func (GPSCoordinates) GoString

func (s GPSCoordinates) GoString() string

GoString returns the string representation

func (*GPSCoordinates) SetLatitude

func (s *GPSCoordinates) SetLatitude(v float64) *GPSCoordinates

SetLatitude sets the Latitude field's value.

func (*GPSCoordinates) SetLongitude

func (s *GPSCoordinates) SetLongitude(v float64) *GPSCoordinates

SetLongitude sets the Longitude field's value.

func (GPSCoordinates) String

func (s GPSCoordinates) String() string

String returns the string representation

func (*GPSCoordinates) Validate

func (s *GPSCoordinates) Validate() error

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

type GPSPointDimension

type GPSPointDimension struct {

    // The GPS coordinates to measure distance from.
    //
    // Coordinates is a required field
    Coordinates *GPSCoordinates `type:"structure" required:"true"`

    // The range, in kilometers, from the GPS coordinates.
    RangeInKilometers *float64 `type:"double"`
    // contains filtered or unexported fields
}

Specifies GPS-based criteria for including or excluding endpoints from a segment.

func (GPSPointDimension) GoString

func (s GPSPointDimension) GoString() string

GoString returns the string representation

func (*GPSPointDimension) SetCoordinates

func (s *GPSPointDimension) SetCoordinates(v *GPSCoordinates) *GPSPointDimension

SetCoordinates sets the Coordinates field's value.

func (*GPSPointDimension) SetRangeInKilometers

func (s *GPSPointDimension) SetRangeInKilometers(v float64) *GPSPointDimension

SetRangeInKilometers sets the RangeInKilometers field's value.

func (GPSPointDimension) String

func (s GPSPointDimension) String() string

String returns the string representation

func (*GPSPointDimension) Validate

func (s *GPSPointDimension) Validate() error

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

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
}

func (GetAdmChannelInput) GoString

func (s GetAdmChannelInput) GoString() string

GoString returns the string representation

func (*GetAdmChannelInput) SetApplicationId

func (s *GetAdmChannelInput) SetApplicationId(v string) *GetAdmChannelInput

SetApplicationId sets the ApplicationId field's value.

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 {

    // Provides information about the status and settings of the ADM (Amazon Device
    // Messaging) channel for an application.
    //
    // ADMChannelResponse is a required field
    ADMChannelResponse *ADMChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetAdmChannelOutput) GoString

func (s GetAdmChannelOutput) GoString() string

GoString returns the string representation

func (*GetAdmChannelOutput) SetADMChannelResponse

func (s *GetAdmChannelOutput) SetADMChannelResponse(v *ADMChannelResponse) *GetAdmChannelOutput

SetADMChannelResponse sets the ADMChannelResponse field's value.

func (GetAdmChannelOutput) String

func (s GetAdmChannelOutput) String() string

String returns the string representation

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
}

func (GetApnsChannelInput) GoString

func (s GetApnsChannelInput) GoString() string

GoString returns the string representation

func (*GetApnsChannelInput) SetApplicationId

func (s *GetApnsChannelInput) SetApplicationId(v string) *GetApnsChannelInput

SetApplicationId sets the ApplicationId field's value.

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 {

    // Provides information about the status and settings of the APNs (Apple Push
    // Notification service) channel for an application.
    //
    // APNSChannelResponse is a required field
    APNSChannelResponse *APNSChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetApnsChannelOutput) GoString

func (s GetApnsChannelOutput) GoString() string

GoString returns the string representation

func (*GetApnsChannelOutput) SetAPNSChannelResponse

func (s *GetApnsChannelOutput) SetAPNSChannelResponse(v *APNSChannelResponse) *GetApnsChannelOutput

SetAPNSChannelResponse sets the APNSChannelResponse field's value.

func (GetApnsChannelOutput) String

func (s GetApnsChannelOutput) String() string

String returns the string representation

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
}

func (GetApnsSandboxChannelInput) GoString

func (s GetApnsSandboxChannelInput) GoString() string

GoString returns the string representation

func (*GetApnsSandboxChannelInput) SetApplicationId

func (s *GetApnsSandboxChannelInput) SetApplicationId(v string) *GetApnsSandboxChannelInput

SetApplicationId sets the ApplicationId field's value.

func (GetApnsSandboxChannelInput) String

func (s GetApnsSandboxChannelInput) String() 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 {

    // Provides information about the status and settings of the APNs (Apple Push
    // Notification service) sandbox channel for an application.
    //
    // APNSSandboxChannelResponse is a required field
    APNSSandboxChannelResponse *APNSSandboxChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetApnsSandboxChannelOutput) GoString

func (s GetApnsSandboxChannelOutput) GoString() string

GoString returns the string representation

func (*GetApnsSandboxChannelOutput) SetAPNSSandboxChannelResponse

func (s *GetApnsSandboxChannelOutput) SetAPNSSandboxChannelResponse(v *APNSSandboxChannelResponse) *GetApnsSandboxChannelOutput

SetAPNSSandboxChannelResponse sets the APNSSandboxChannelResponse field's value.

func (GetApnsSandboxChannelOutput) String

func (s GetApnsSandboxChannelOutput) String() string

String returns the string representation

type GetApnsVoipChannelInput

type GetApnsVoipChannelInput struct {

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

func (GetApnsVoipChannelInput) GoString

func (s GetApnsVoipChannelInput) GoString() string

GoString returns the string representation

func (*GetApnsVoipChannelInput) SetApplicationId

func (s *GetApnsVoipChannelInput) SetApplicationId(v string) *GetApnsVoipChannelInput

SetApplicationId sets the ApplicationId field's value.

func (GetApnsVoipChannelInput) String

func (s GetApnsVoipChannelInput) String() string

String returns the string representation

func (*GetApnsVoipChannelInput) Validate

func (s *GetApnsVoipChannelInput) Validate() error

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

type GetApnsVoipChannelOutput

type GetApnsVoipChannelOutput struct {

    // Provides information about the status and settings of the APNs (Apple Push
    // Notification service) VoIP channel for an application.
    //
    // APNSVoipChannelResponse is a required field
    APNSVoipChannelResponse *APNSVoipChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetApnsVoipChannelOutput) GoString

func (s GetApnsVoipChannelOutput) GoString() string

GoString returns the string representation

func (*GetApnsVoipChannelOutput) SetAPNSVoipChannelResponse

func (s *GetApnsVoipChannelOutput) SetAPNSVoipChannelResponse(v *APNSVoipChannelResponse) *GetApnsVoipChannelOutput

SetAPNSVoipChannelResponse sets the APNSVoipChannelResponse field's value.

func (GetApnsVoipChannelOutput) String

func (s GetApnsVoipChannelOutput) String() string

String returns the string representation

type GetApnsVoipSandboxChannelInput

type GetApnsVoipSandboxChannelInput struct {

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

func (GetApnsVoipSandboxChannelInput) GoString

func (s GetApnsVoipSandboxChannelInput) GoString() string

GoString returns the string representation

func (*GetApnsVoipSandboxChannelInput) SetApplicationId

func (s *GetApnsVoipSandboxChannelInput) SetApplicationId(v string) *GetApnsVoipSandboxChannelInput

SetApplicationId sets the ApplicationId field's value.

func (GetApnsVoipSandboxChannelInput) String

func (s GetApnsVoipSandboxChannelInput) String() string

String returns the string representation

func (*GetApnsVoipSandboxChannelInput) Validate

func (s *GetApnsVoipSandboxChannelInput) Validate() error

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

type GetApnsVoipSandboxChannelOutput

type GetApnsVoipSandboxChannelOutput struct {

    // Provides information about the status and settings of the APNs (Apple Push
    // Notification service) VoIP sandbox channel for an application.
    //
    // APNSVoipSandboxChannelResponse is a required field
    APNSVoipSandboxChannelResponse *APNSVoipSandboxChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetApnsVoipSandboxChannelOutput) GoString

func (s GetApnsVoipSandboxChannelOutput) GoString() string

GoString returns the string representation

func (*GetApnsVoipSandboxChannelOutput) SetAPNSVoipSandboxChannelResponse

func (s *GetApnsVoipSandboxChannelOutput) SetAPNSVoipSandboxChannelResponse(v *APNSVoipSandboxChannelResponse) *GetApnsVoipSandboxChannelOutput

SetAPNSVoipSandboxChannelResponse sets the APNSVoipSandboxChannelResponse field's value.

func (GetApnsVoipSandboxChannelOutput) String

func (s GetApnsVoipSandboxChannelOutput) String() string

String returns the string representation

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
}

func (GetAppInput) GoString

func (s GetAppInput) GoString() string

GoString returns the string representation

func (*GetAppInput) SetApplicationId

func (s *GetAppInput) SetApplicationId(v string) *GetAppInput

SetApplicationId sets the ApplicationId field's value.

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 {

    // Provides information about an application.
    //
    // ApplicationResponse is a required field
    ApplicationResponse *ApplicationResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetAppOutput) GoString

func (s GetAppOutput) GoString() string

GoString returns the string representation

func (*GetAppOutput) SetApplicationResponse

func (s *GetAppOutput) SetApplicationResponse(v *ApplicationResponse) *GetAppOutput

SetApplicationResponse sets the ApplicationResponse field's value.

func (GetAppOutput) String

func (s GetAppOutput) String() string

String returns the string representation

type GetApplicationDateRangeKpiInput

type GetApplicationDateRangeKpiInput struct {

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

    EndTime *time.Time `location:"querystring" locationName:"end-time" type:"timestamp" timestampFormat:"iso8601"`

    // KpiName is a required field
    KpiName *string `location:"uri" locationName:"kpi-name" type:"string" required:"true"`

    NextToken *string `location:"querystring" locationName:"next-token" type:"string"`

    PageSize *string `location:"querystring" locationName:"page-size" type:"string"`

    StartTime *time.Time `location:"querystring" locationName:"start-time" type:"timestamp" timestampFormat:"iso8601"`
    // contains filtered or unexported fields
}

func (GetApplicationDateRangeKpiInput) GoString

func (s GetApplicationDateRangeKpiInput) GoString() string

GoString returns the string representation

func (*GetApplicationDateRangeKpiInput) SetApplicationId

func (s *GetApplicationDateRangeKpiInput) SetApplicationId(v string) *GetApplicationDateRangeKpiInput

SetApplicationId sets the ApplicationId field's value.

func (*GetApplicationDateRangeKpiInput) SetEndTime

func (s *GetApplicationDateRangeKpiInput) SetEndTime(v time.Time) *GetApplicationDateRangeKpiInput

SetEndTime sets the EndTime field's value.

func (*GetApplicationDateRangeKpiInput) SetKpiName

func (s *GetApplicationDateRangeKpiInput) SetKpiName(v string) *GetApplicationDateRangeKpiInput

SetKpiName sets the KpiName field's value.

func (*GetApplicationDateRangeKpiInput) SetNextToken

func (s *GetApplicationDateRangeKpiInput) SetNextToken(v string) *GetApplicationDateRangeKpiInput

SetNextToken sets the NextToken field's value.

func (*GetApplicationDateRangeKpiInput) SetPageSize

func (s *GetApplicationDateRangeKpiInput) SetPageSize(v string) *GetApplicationDateRangeKpiInput

SetPageSize sets the PageSize field's value.

func (*GetApplicationDateRangeKpiInput) SetStartTime

func (s *GetApplicationDateRangeKpiInput) SetStartTime(v time.Time) *GetApplicationDateRangeKpiInput

SetStartTime sets the StartTime field's value.

func (GetApplicationDateRangeKpiInput) String

func (s GetApplicationDateRangeKpiInput) String() string

String returns the string representation

func (*GetApplicationDateRangeKpiInput) Validate

func (s *GetApplicationDateRangeKpiInput) Validate() error

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

type GetApplicationDateRangeKpiOutput

type GetApplicationDateRangeKpiOutput struct {

    // Provides the results of a query that retrieved the data for a standard metric
    // that applies to an application, and provides information about that query.
    //
    // ApplicationDateRangeKpiResponse is a required field
    ApplicationDateRangeKpiResponse *ApplicationDateRangeKpiResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetApplicationDateRangeKpiOutput) GoString

func (s GetApplicationDateRangeKpiOutput) GoString() string

GoString returns the string representation

func (*GetApplicationDateRangeKpiOutput) SetApplicationDateRangeKpiResponse

func (s *GetApplicationDateRangeKpiOutput) SetApplicationDateRangeKpiResponse(v *ApplicationDateRangeKpiResponse) *GetApplicationDateRangeKpiOutput

SetApplicationDateRangeKpiResponse sets the ApplicationDateRangeKpiResponse field's value.

func (GetApplicationDateRangeKpiOutput) String

func (s GetApplicationDateRangeKpiOutput) String() string

String returns the string representation

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
}

func (GetApplicationSettingsInput) GoString

func (s GetApplicationSettingsInput) GoString() string

GoString returns the string representation

func (*GetApplicationSettingsInput) SetApplicationId

func (s *GetApplicationSettingsInput) SetApplicationId(v string) *GetApplicationSettingsInput

SetApplicationId sets the ApplicationId field's value.

func (GetApplicationSettingsInput) String

func (s GetApplicationSettingsInput) String() 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 {

    // Provides information about an application, including the default settings
    // for an application.
    //
    // ApplicationSettingsResource is a required field
    ApplicationSettingsResource *ApplicationSettingsResource `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetApplicationSettingsOutput) GoString

func (s GetApplicationSettingsOutput) GoString() string

GoString returns the string representation

func (*GetApplicationSettingsOutput) SetApplicationSettingsResource

func (s *GetApplicationSettingsOutput) SetApplicationSettingsResource(v *ApplicationSettingsResource) *GetApplicationSettingsOutput

SetApplicationSettingsResource sets the ApplicationSettingsResource field's value.

func (GetApplicationSettingsOutput) String

func (s GetApplicationSettingsOutput) String() string

String returns the string representation

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
}

func (GetAppsInput) GoString

func (s GetAppsInput) GoString() string

GoString returns the string representation

func (*GetAppsInput) SetPageSize

func (s *GetAppsInput) SetPageSize(v string) *GetAppsInput

SetPageSize sets the PageSize field's value.

func (*GetAppsInput) SetToken

func (s *GetAppsInput) SetToken(v string) *GetAppsInput

SetToken sets the Token field's value.

func (GetAppsInput) String

func (s GetAppsInput) String() string

String returns the string representation

type GetAppsOutput

type GetAppsOutput struct {

    // Provides information about all of your applications.
    //
    // ApplicationsResponse is a required field
    ApplicationsResponse *ApplicationsResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetAppsOutput) GoString

func (s GetAppsOutput) GoString() string

GoString returns the string representation

func (*GetAppsOutput) SetApplicationsResponse

func (s *GetAppsOutput) SetApplicationsResponse(v *ApplicationsResponse) *GetAppsOutput

SetApplicationsResponse sets the ApplicationsResponse field's value.

func (GetAppsOutput) String

func (s GetAppsOutput) String() string

String returns the string representation

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
}

func (GetBaiduChannelInput) GoString

func (s GetBaiduChannelInput) GoString() string

GoString returns the string representation

func (*GetBaiduChannelInput) SetApplicationId

func (s *GetBaiduChannelInput) SetApplicationId(v string) *GetBaiduChannelInput

SetApplicationId sets the ApplicationId field's value.

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 {

    // Provides information about the status and settings of the Baidu (Baidu Cloud
    // Push) channel for an application.
    //
    // BaiduChannelResponse is a required field
    BaiduChannelResponse *BaiduChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetBaiduChannelOutput) GoString

func (s GetBaiduChannelOutput) GoString() string

GoString returns the string representation

func (*GetBaiduChannelOutput) SetBaiduChannelResponse

func (s *GetBaiduChannelOutput) SetBaiduChannelResponse(v *BaiduChannelResponse) *GetBaiduChannelOutput

SetBaiduChannelResponse sets the BaiduChannelResponse field's value.

func (GetBaiduChannelOutput) String

func (s GetBaiduChannelOutput) String() string

String returns the string representation

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
}

func (GetCampaignActivitiesInput) GoString

func (s GetCampaignActivitiesInput) GoString() string

GoString returns the string representation

func (*GetCampaignActivitiesInput) SetApplicationId

func (s *GetCampaignActivitiesInput) SetApplicationId(v string) *GetCampaignActivitiesInput

SetApplicationId sets the ApplicationId field's value.

func (*GetCampaignActivitiesInput) SetCampaignId

func (s *GetCampaignActivitiesInput) SetCampaignId(v string) *GetCampaignActivitiesInput

SetCampaignId sets the CampaignId field's value.

func (*GetCampaignActivitiesInput) SetPageSize

func (s *GetCampaignActivitiesInput) SetPageSize(v string) *GetCampaignActivitiesInput

SetPageSize sets the PageSize field's value.

func (*GetCampaignActivitiesInput) SetToken

func (s *GetCampaignActivitiesInput) SetToken(v string) *GetCampaignActivitiesInput

SetToken sets the Token field's value.

func (GetCampaignActivitiesInput) String

func (s GetCampaignActivitiesInput) String() 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 {

    // Provides information about the activities that were performed by a campaign.
    //
    // ActivitiesResponse is a required field
    ActivitiesResponse *ActivitiesResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetCampaignActivitiesOutput) GoString

func (s GetCampaignActivitiesOutput) GoString() string

GoString returns the string representation

func (*GetCampaignActivitiesOutput) SetActivitiesResponse

func (s *GetCampaignActivitiesOutput) SetActivitiesResponse(v *ActivitiesResponse) *GetCampaignActivitiesOutput

SetActivitiesResponse sets the ActivitiesResponse field's value.

func (GetCampaignActivitiesOutput) String

func (s GetCampaignActivitiesOutput) String() string

String returns the string representation

type GetCampaignDateRangeKpiInput

type GetCampaignDateRangeKpiInput 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"`

    EndTime *time.Time `location:"querystring" locationName:"end-time" type:"timestamp" timestampFormat:"iso8601"`

    // KpiName is a required field
    KpiName *string `location:"uri" locationName:"kpi-name" type:"string" required:"true"`

    NextToken *string `location:"querystring" locationName:"next-token" type:"string"`

    PageSize *string `location:"querystring" locationName:"page-size" type:"string"`

    StartTime *time.Time `location:"querystring" locationName:"start-time" type:"timestamp" timestampFormat:"iso8601"`
    // contains filtered or unexported fields
}

func (GetCampaignDateRangeKpiInput) GoString

func (s GetCampaignDateRangeKpiInput) GoString() string

GoString returns the string representation

func (*GetCampaignDateRangeKpiInput) SetApplicationId

func (s *GetCampaignDateRangeKpiInput) SetApplicationId(v string) *GetCampaignDateRangeKpiInput

SetApplicationId sets the ApplicationId field's value.

func (*GetCampaignDateRangeKpiInput) SetCampaignId

func (s *GetCampaignDateRangeKpiInput) SetCampaignId(v string) *GetCampaignDateRangeKpiInput

SetCampaignId sets the CampaignId field's value.

func (*GetCampaignDateRangeKpiInput) SetEndTime

func (s *GetCampaignDateRangeKpiInput) SetEndTime(v time.Time) *GetCampaignDateRangeKpiInput

SetEndTime sets the EndTime field's value.

func (*GetCampaignDateRangeKpiInput) SetKpiName

func (s *GetCampaignDateRangeKpiInput) SetKpiName(v string) *GetCampaignDateRangeKpiInput

SetKpiName sets the KpiName field's value.

func (*GetCampaignDateRangeKpiInput) SetNextToken

func (s *GetCampaignDateRangeKpiInput) SetNextToken(v string) *GetCampaignDateRangeKpiInput

SetNextToken sets the NextToken field's value.

func (*GetCampaignDateRangeKpiInput) SetPageSize

func (s *GetCampaignDateRangeKpiInput) SetPageSize(v string) *GetCampaignDateRangeKpiInput

SetPageSize sets the PageSize field's value.

func (*GetCampaignDateRangeKpiInput) SetStartTime

func (s *GetCampaignDateRangeKpiInput) SetStartTime(v time.Time) *GetCampaignDateRangeKpiInput

SetStartTime sets the StartTime field's value.

func (GetCampaignDateRangeKpiInput) String

func (s GetCampaignDateRangeKpiInput) String() string

String returns the string representation

func (*GetCampaignDateRangeKpiInput) Validate

func (s *GetCampaignDateRangeKpiInput) Validate() error

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

type GetCampaignDateRangeKpiOutput

type GetCampaignDateRangeKpiOutput struct {

    // Provides the results of a query that retrieved the data for a standard metric
    // that applies to a campaign, and provides information about that query.
    //
    // CampaignDateRangeKpiResponse is a required field
    CampaignDateRangeKpiResponse *CampaignDateRangeKpiResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetCampaignDateRangeKpiOutput) GoString

func (s GetCampaignDateRangeKpiOutput) GoString() string

GoString returns the string representation

func (*GetCampaignDateRangeKpiOutput) SetCampaignDateRangeKpiResponse

func (s *GetCampaignDateRangeKpiOutput) SetCampaignDateRangeKpiResponse(v *CampaignDateRangeKpiResponse) *GetCampaignDateRangeKpiOutput

SetCampaignDateRangeKpiResponse sets the CampaignDateRangeKpiResponse field's value.

func (GetCampaignDateRangeKpiOutput) String

func (s GetCampaignDateRangeKpiOutput) String() string

String returns the string representation

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
}

func (GetCampaignInput) GoString

func (s GetCampaignInput) GoString() string

GoString returns the string representation

func (*GetCampaignInput) SetApplicationId

func (s *GetCampaignInput) SetApplicationId(v string) *GetCampaignInput

SetApplicationId sets the ApplicationId field's value.

func (*GetCampaignInput) SetCampaignId

func (s *GetCampaignInput) SetCampaignId(v string) *GetCampaignInput

SetCampaignId sets the CampaignId field's value.

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 {

    // Provides information about the status, configuration, and other settings
    // for a campaign.
    //
    // CampaignResponse is a required field
    CampaignResponse *CampaignResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetCampaignOutput) GoString

func (s GetCampaignOutput) GoString() string

GoString returns the string representation

func (*GetCampaignOutput) SetCampaignResponse

func (s *GetCampaignOutput) SetCampaignResponse(v *CampaignResponse) *GetCampaignOutput

SetCampaignResponse sets the CampaignResponse field's value.

func (GetCampaignOutput) String

func (s GetCampaignOutput) String() string

String returns the string representation

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
}

func (GetCampaignVersionInput) GoString

func (s GetCampaignVersionInput) GoString() string

GoString returns the string representation

func (*GetCampaignVersionInput) SetApplicationId

func (s *GetCampaignVersionInput) SetApplicationId(v string) *GetCampaignVersionInput

SetApplicationId sets the ApplicationId field's value.

func (*GetCampaignVersionInput) SetCampaignId

func (s *GetCampaignVersionInput) SetCampaignId(v string) *GetCampaignVersionInput

SetCampaignId sets the CampaignId field's value.

func (*GetCampaignVersionInput) SetVersion

func (s *GetCampaignVersionInput) SetVersion(v string) *GetCampaignVersionInput

SetVersion sets the Version field's value.

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 {

    // Provides information about the status, configuration, and other settings
    // for a campaign.
    //
    // CampaignResponse is a required field
    CampaignResponse *CampaignResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetCampaignVersionOutput) GoString

func (s GetCampaignVersionOutput) GoString() string

GoString returns the string representation

func (*GetCampaignVersionOutput) SetCampaignResponse

func (s *GetCampaignVersionOutput) SetCampaignResponse(v *CampaignResponse) *GetCampaignVersionOutput

SetCampaignResponse sets the CampaignResponse field's value.

func (GetCampaignVersionOutput) String

func (s GetCampaignVersionOutput) String() string

String returns the string representation

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
}

func (GetCampaignVersionsInput) GoString

func (s GetCampaignVersionsInput) GoString() string

GoString returns the string representation

func (*GetCampaignVersionsInput) SetApplicationId

func (s *GetCampaignVersionsInput) SetApplicationId(v string) *GetCampaignVersionsInput

SetApplicationId sets the ApplicationId field's value.

func (*GetCampaignVersionsInput) SetCampaignId

func (s *GetCampaignVersionsInput) SetCampaignId(v string) *GetCampaignVersionsInput

SetCampaignId sets the CampaignId field's value.

func (*GetCampaignVersionsInput) SetPageSize

func (s *GetCampaignVersionsInput) SetPageSize(v string) *GetCampaignVersionsInput

SetPageSize sets the PageSize field's value.

func (*GetCampaignVersionsInput) SetToken

func (s *GetCampaignVersionsInput) SetToken(v string) *GetCampaignVersionsInput

SetToken sets the Token field's value.

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 {

    // Provides information about the configuration and other settings for all the
    // campaigns that are associated with an application.
    //
    // CampaignsResponse is a required field
    CampaignsResponse *CampaignsResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetCampaignVersionsOutput) GoString

func (s GetCampaignVersionsOutput) GoString() string

GoString returns the string representation

func (*GetCampaignVersionsOutput) SetCampaignsResponse

func (s *GetCampaignVersionsOutput) SetCampaignsResponse(v *CampaignsResponse) *GetCampaignVersionsOutput

SetCampaignsResponse sets the CampaignsResponse field's value.

func (GetCampaignVersionsOutput) String

func (s GetCampaignVersionsOutput) String() string

String returns the string representation

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
}

func (GetCampaignsInput) GoString

func (s GetCampaignsInput) GoString() string

GoString returns the string representation

func (*GetCampaignsInput) SetApplicationId

func (s *GetCampaignsInput) SetApplicationId(v string) *GetCampaignsInput

SetApplicationId sets the ApplicationId field's value.

func (*GetCampaignsInput) SetPageSize

func (s *GetCampaignsInput) SetPageSize(v string) *GetCampaignsInput

SetPageSize sets the PageSize field's value.

func (*GetCampaignsInput) SetToken

func (s *GetCampaignsInput) SetToken(v string) *GetCampaignsInput

SetToken sets the Token field's value.

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 {

    // Provides information about the configuration and other settings for all the
    // campaigns that are associated with an application.
    //
    // CampaignsResponse is a required field
    CampaignsResponse *CampaignsResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetCampaignsOutput) GoString

func (s GetCampaignsOutput) GoString() string

GoString returns the string representation

func (*GetCampaignsOutput) SetCampaignsResponse

func (s *GetCampaignsOutput) SetCampaignsResponse(v *CampaignsResponse) *GetCampaignsOutput

SetCampaignsResponse sets the CampaignsResponse field's value.

func (GetCampaignsOutput) String

func (s GetCampaignsOutput) String() string

String returns the string representation

type GetChannelsInput

type GetChannelsInput struct {

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

func (GetChannelsInput) GoString

func (s GetChannelsInput) GoString() string

GoString returns the string representation

func (*GetChannelsInput) SetApplicationId

func (s *GetChannelsInput) SetApplicationId(v string) *GetChannelsInput

SetApplicationId sets the ApplicationId field's value.

func (GetChannelsInput) String

func (s GetChannelsInput) String() string

String returns the string representation

func (*GetChannelsInput) Validate

func (s *GetChannelsInput) Validate() error

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

type GetChannelsOutput

type GetChannelsOutput struct {

    // Provides information about the general settings and status of all channels
    // for an application, including channels that aren't enabled for the application.
    //
    // ChannelsResponse is a required field
    ChannelsResponse *ChannelsResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetChannelsOutput) GoString

func (s GetChannelsOutput) GoString() string

GoString returns the string representation

func (*GetChannelsOutput) SetChannelsResponse

func (s *GetChannelsOutput) SetChannelsResponse(v *ChannelsResponse) *GetChannelsOutput

SetChannelsResponse sets the ChannelsResponse field's value.

func (GetChannelsOutput) String

func (s GetChannelsOutput) String() string

String returns the string representation

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
}

func (GetEmailChannelInput) GoString

func (s GetEmailChannelInput) GoString() string

GoString returns the string representation

func (*GetEmailChannelInput) SetApplicationId

func (s *GetEmailChannelInput) SetApplicationId(v string) *GetEmailChannelInput

SetApplicationId sets the ApplicationId field's value.

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 {

    // Provides information about the status and settings of the email channel for
    // an application.
    //
    // EmailChannelResponse is a required field
    EmailChannelResponse *EmailChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetEmailChannelOutput) GoString

func (s GetEmailChannelOutput) GoString() string

GoString returns the string representation

func (*GetEmailChannelOutput) SetEmailChannelResponse

func (s *GetEmailChannelOutput) SetEmailChannelResponse(v *EmailChannelResponse) *GetEmailChannelOutput

SetEmailChannelResponse sets the EmailChannelResponse field's value.

func (GetEmailChannelOutput) String

func (s GetEmailChannelOutput) String() string

String returns the string representation

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
}

func (GetEndpointInput) GoString

func (s GetEndpointInput) GoString() string

GoString returns the string representation

func (*GetEndpointInput) SetApplicationId

func (s *GetEndpointInput) SetApplicationId(v string) *GetEndpointInput

SetApplicationId sets the ApplicationId field's value.

func (*GetEndpointInput) SetEndpointId

func (s *GetEndpointInput) SetEndpointId(v string) *GetEndpointInput

SetEndpointId sets the EndpointId field's value.

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 {

    // Provides information about the channel type and other settings for an endpoint.
    //
    // EndpointResponse is a required field
    EndpointResponse *EndpointResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetEndpointOutput) GoString

func (s GetEndpointOutput) GoString() string

GoString returns the string representation

func (*GetEndpointOutput) SetEndpointResponse

func (s *GetEndpointOutput) SetEndpointResponse(v *EndpointResponse) *GetEndpointOutput

SetEndpointResponse sets the EndpointResponse field's value.

func (GetEndpointOutput) String

func (s GetEndpointOutput) String() string

String returns the string representation

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
}

func (GetEventStreamInput) GoString

func (s GetEventStreamInput) GoString() string

GoString returns the string representation

func (*GetEventStreamInput) SetApplicationId

func (s *GetEventStreamInput) SetApplicationId(v string) *GetEventStreamInput

SetApplicationId sets the ApplicationId field's value.

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 {

    // Specifies settings for publishing event data to an Amazon Kinesis data stream
    // or an Amazon Kinesis Data Firehose delivery stream.
    //
    // EventStream is a required field
    EventStream *EventStream `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetEventStreamOutput) GoString

func (s GetEventStreamOutput) GoString() string

GoString returns the string representation

func (*GetEventStreamOutput) SetEventStream

func (s *GetEventStreamOutput) SetEventStream(v *EventStream) *GetEventStreamOutput

SetEventStream sets the EventStream field's value.

func (GetEventStreamOutput) String

func (s GetEventStreamOutput) String() string

String returns the string representation

type GetExportJobInput

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
}

func (GetExportJobInput) GoString

func (s GetExportJobInput) GoString() string

GoString returns the string representation

func (*GetExportJobInput) SetApplicationId

func (s *GetExportJobInput) SetApplicationId(v string) *GetExportJobInput

SetApplicationId sets the ApplicationId field's value.

func (*GetExportJobInput) SetJobId

func (s *GetExportJobInput) SetJobId(v string) *GetExportJobInput

SetJobId sets the JobId field's value.

func (GetExportJobInput) String

func (s GetExportJobInput) String() string

String returns the string representation

func (*GetExportJobInput) Validate

func (s *GetExportJobInput) Validate() error

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

type GetExportJobOutput

type GetExportJobOutput struct {

    // Provides information about the status and settings of a job that exports
    // endpoint definitions to a file. The file can be added directly to an Amazon
    // Simple Storage Service (Amazon S3) bucket by using the Amazon Pinpoint API
    // or downloaded directly to a computer by using the Amazon Pinpoint console.
    //
    // ExportJobResponse is a required field
    ExportJobResponse *ExportJobResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetExportJobOutput) GoString

func (s GetExportJobOutput) GoString() string

GoString returns the string representation

func (*GetExportJobOutput) SetExportJobResponse

func (s *GetExportJobOutput) SetExportJobResponse(v *ExportJobResponse) *GetExportJobOutput

SetExportJobResponse sets the ExportJobResponse field's value.

func (GetExportJobOutput) String

func (s GetExportJobOutput) String() string

String returns the string representation

type GetExportJobsInput

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
}

func (GetExportJobsInput) GoString

func (s GetExportJobsInput) GoString() string

GoString returns the string representation

func (*GetExportJobsInput) SetApplicationId

func (s *GetExportJobsInput) SetApplicationId(v string) *GetExportJobsInput

SetApplicationId sets the ApplicationId field's value.

func (*GetExportJobsInput) SetPageSize

func (s *GetExportJobsInput) SetPageSize(v string) *GetExportJobsInput

SetPageSize sets the PageSize field's value.

func (*GetExportJobsInput) SetToken

func (s *GetExportJobsInput) SetToken(v string) *GetExportJobsInput

SetToken sets the Token field's value.

func (GetExportJobsInput) String

func (s GetExportJobsInput) String() string

String returns the string representation

func (*GetExportJobsInput) Validate

func (s *GetExportJobsInput) Validate() error

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

type GetExportJobsOutput

type GetExportJobsOutput struct {

    // Provides information about all the export jobs that are associated with an
    // application or segment. An export job is a job that exports endpoint definitions
    // to a file.
    //
    // ExportJobsResponse is a required field
    ExportJobsResponse *ExportJobsResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetExportJobsOutput) GoString

func (s GetExportJobsOutput) GoString() string

GoString returns the string representation

func (*GetExportJobsOutput) SetExportJobsResponse

func (s *GetExportJobsOutput) SetExportJobsResponse(v *ExportJobsResponse) *GetExportJobsOutput

SetExportJobsResponse sets the ExportJobsResponse field's value.

func (GetExportJobsOutput) String

func (s GetExportJobsOutput) String() string

String returns the string representation

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
}

func (GetGcmChannelInput) GoString

func (s GetGcmChannelInput) GoString() string

GoString returns the string representation

func (*GetGcmChannelInput) SetApplicationId

func (s *GetGcmChannelInput) SetApplicationId(v string) *GetGcmChannelInput

SetApplicationId sets the ApplicationId field's value.

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 {

    // Provides information about the status and settings of the GCM channel for
    // an application. The GCM channel enables Amazon Pinpoint to send push notifications
    // through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging
    // (GCM), service.
    //
    // GCMChannelResponse is a required field
    GCMChannelResponse *GCMChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetGcmChannelOutput) GoString

func (s GetGcmChannelOutput) GoString() string

GoString returns the string representation

func (*GetGcmChannelOutput) SetGCMChannelResponse

func (s *GetGcmChannelOutput) SetGCMChannelResponse(v *GCMChannelResponse) *GetGcmChannelOutput

SetGCMChannelResponse sets the GCMChannelResponse field's value.

func (GetGcmChannelOutput) String

func (s GetGcmChannelOutput) String() string

String returns the string representation

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
}

func (GetImportJobInput) GoString

func (s GetImportJobInput) GoString() string

GoString returns the string representation

func (*GetImportJobInput) SetApplicationId

func (s *GetImportJobInput) SetApplicationId(v string) *GetImportJobInput

SetApplicationId sets the ApplicationId field's value.

func (*GetImportJobInput) SetJobId

func (s *GetImportJobInput) SetJobId(v string) *GetImportJobInput

SetJobId sets the JobId field's value.

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 {

    // Provides information about the status and settings of a job that imports
    // endpoint definitions from one or more files. The files can be stored in an
    // Amazon Simple Storage Service (Amazon S3) bucket or uploaded directly from
    // a computer by using the Amazon Pinpoint console.
    //
    // ImportJobResponse is a required field
    ImportJobResponse *ImportJobResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetImportJobOutput) GoString

func (s GetImportJobOutput) GoString() string

GoString returns the string representation

func (*GetImportJobOutput) SetImportJobResponse

func (s *GetImportJobOutput) SetImportJobResponse(v *ImportJobResponse) *GetImportJobOutput

SetImportJobResponse sets the ImportJobResponse field's value.

func (GetImportJobOutput) String

func (s GetImportJobOutput) String() string

String returns the string representation

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
}

func (GetImportJobsInput) GoString

func (s GetImportJobsInput) GoString() string

GoString returns the string representation

func (*GetImportJobsInput) SetApplicationId

func (s *GetImportJobsInput) SetApplicationId(v string) *GetImportJobsInput

SetApplicationId sets the ApplicationId field's value.

func (*GetImportJobsInput) SetPageSize

func (s *GetImportJobsInput) SetPageSize(v string) *GetImportJobsInput

SetPageSize sets the PageSize field's value.

func (*GetImportJobsInput) SetToken

func (s *GetImportJobsInput) SetToken(v string) *GetImportJobsInput

SetToken sets the Token field's value.

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 {

    // Provides information about the status and settings of all the import jobs
    // that are associated with an application or segment. An import job is a job
    // that imports endpoint definitions from one or more files.
    //
    // ImportJobsResponse is a required field
    ImportJobsResponse *ImportJobsResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetImportJobsOutput) GoString

func (s GetImportJobsOutput) GoString() string

GoString returns the string representation

func (*GetImportJobsOutput) SetImportJobsResponse

func (s *GetImportJobsOutput) SetImportJobsResponse(v *ImportJobsResponse) *GetImportJobsOutput

SetImportJobsResponse sets the ImportJobsResponse field's value.

func (GetImportJobsOutput) String

func (s GetImportJobsOutput) String() string

String returns the string representation

type GetSegmentExportJobsInput

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
}

func (GetSegmentExportJobsInput) GoString

func (s GetSegmentExportJobsInput) GoString() string

GoString returns the string representation

func (*GetSegmentExportJobsInput) SetApplicationId

func (s *GetSegmentExportJobsInput) SetApplicationId(v string) *GetSegmentExportJobsInput

SetApplicationId sets the ApplicationId field's value.

func (*GetSegmentExportJobsInput) SetPageSize

func (s *GetSegmentExportJobsInput) SetPageSize(v string) *GetSegmentExportJobsInput

SetPageSize sets the PageSize field's value.

func (*GetSegmentExportJobsInput) SetSegmentId

func (s *GetSegmentExportJobsInput) SetSegmentId(v string) *GetSegmentExportJobsInput

SetSegmentId sets the SegmentId field's value.

func (*GetSegmentExportJobsInput) SetToken

func (s *GetSegmentExportJobsInput) SetToken(v string) *GetSegmentExportJobsInput

SetToken sets the Token field's value.

func (GetSegmentExportJobsInput) String

func (s GetSegmentExportJobsInput) String() string

String returns the string representation

func (*GetSegmentExportJobsInput) Validate

func (s *GetSegmentExportJobsInput) Validate() error

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

type GetSegmentExportJobsOutput

type GetSegmentExportJobsOutput struct {

    // Provides information about all the export jobs that are associated with an
    // application or segment. An export job is a job that exports endpoint definitions
    // to a file.
    //
    // ExportJobsResponse is a required field
    ExportJobsResponse *ExportJobsResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetSegmentExportJobsOutput) GoString

func (s GetSegmentExportJobsOutput) GoString() string

GoString returns the string representation

func (*GetSegmentExportJobsOutput) SetExportJobsResponse

func (s *GetSegmentExportJobsOutput) SetExportJobsResponse(v *ExportJobsResponse) *GetSegmentExportJobsOutput

SetExportJobsResponse sets the ExportJobsResponse field's value.

func (GetSegmentExportJobsOutput) String

func (s GetSegmentExportJobsOutput) String() string

String returns the string representation

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
}

func (GetSegmentImportJobsInput) GoString

func (s GetSegmentImportJobsInput) GoString() string

GoString returns the string representation

func (*GetSegmentImportJobsInput) SetApplicationId

func (s *GetSegmentImportJobsInput) SetApplicationId(v string) *GetSegmentImportJobsInput

SetApplicationId sets the ApplicationId field's value.

func (*GetSegmentImportJobsInput) SetPageSize

func (s *GetSegmentImportJobsInput) SetPageSize(v string) *GetSegmentImportJobsInput

SetPageSize sets the PageSize field's value.

func (*GetSegmentImportJobsInput) SetSegmentId

func (s *GetSegmentImportJobsInput) SetSegmentId(v string) *GetSegmentImportJobsInput

SetSegmentId sets the SegmentId field's value.

func (*GetSegmentImportJobsInput) SetToken

func (s *GetSegmentImportJobsInput) SetToken(v string) *GetSegmentImportJobsInput

SetToken sets the Token field's value.

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 {

    // Provides information about the status and settings of all the import jobs
    // that are associated with an application or segment. An import job is a job
    // that imports endpoint definitions from one or more files.
    //
    // ImportJobsResponse is a required field
    ImportJobsResponse *ImportJobsResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetSegmentImportJobsOutput) GoString

func (s GetSegmentImportJobsOutput) GoString() string

GoString returns the string representation

func (*GetSegmentImportJobsOutput) SetImportJobsResponse

func (s *GetSegmentImportJobsOutput) SetImportJobsResponse(v *ImportJobsResponse) *GetSegmentImportJobsOutput

SetImportJobsResponse sets the ImportJobsResponse field's value.

func (GetSegmentImportJobsOutput) String

func (s GetSegmentImportJobsOutput) String() string

String returns the string representation

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
}

func (GetSegmentInput) GoString

func (s GetSegmentInput) GoString() string

GoString returns the string representation

func (*GetSegmentInput) SetApplicationId

func (s *GetSegmentInput) SetApplicationId(v string) *GetSegmentInput

SetApplicationId sets the ApplicationId field's value.

func (*GetSegmentInput) SetSegmentId

func (s *GetSegmentInput) SetSegmentId(v string) *GetSegmentInput

SetSegmentId sets the SegmentId field's value.

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 {

    // Provides information about the configuration, dimension, and other settings
    // for a segment.
    //
    // SegmentResponse is a required field
    SegmentResponse *SegmentResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetSegmentOutput) GoString

func (s GetSegmentOutput) GoString() string

GoString returns the string representation

func (*GetSegmentOutput) SetSegmentResponse

func (s *GetSegmentOutput) SetSegmentResponse(v *SegmentResponse) *GetSegmentOutput

SetSegmentResponse sets the SegmentResponse field's value.

func (GetSegmentOutput) String

func (s GetSegmentOutput) String() string

String returns the string representation

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
}

func (GetSegmentVersionInput) GoString

func (s GetSegmentVersionInput) GoString() string

GoString returns the string representation

func (*GetSegmentVersionInput) SetApplicationId

func (s *GetSegmentVersionInput) SetApplicationId(v string) *GetSegmentVersionInput

SetApplicationId sets the ApplicationId field's value.

func (*GetSegmentVersionInput) SetSegmentId

func (s *GetSegmentVersionInput) SetSegmentId(v string) *GetSegmentVersionInput

SetSegmentId sets the SegmentId field's value.

func (*GetSegmentVersionInput) SetVersion

func (s *GetSegmentVersionInput) SetVersion(v string) *GetSegmentVersionInput

SetVersion sets the Version field's value.

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 {

    // Provides information about the configuration, dimension, and other settings
    // for a segment.
    //
    // SegmentResponse is a required field
    SegmentResponse *SegmentResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetSegmentVersionOutput) GoString

func (s GetSegmentVersionOutput) GoString() string

GoString returns the string representation

func (*GetSegmentVersionOutput) SetSegmentResponse

func (s *GetSegmentVersionOutput) SetSegmentResponse(v *SegmentResponse) *GetSegmentVersionOutput

SetSegmentResponse sets the SegmentResponse field's value.

func (GetSegmentVersionOutput) String

func (s GetSegmentVersionOutput) String() string

String returns the string representation

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
}

func (GetSegmentVersionsInput) GoString

func (s GetSegmentVersionsInput) GoString() string

GoString returns the string representation

func (*GetSegmentVersionsInput) SetApplicationId

func (s *GetSegmentVersionsInput) SetApplicationId(v string) *GetSegmentVersionsInput

SetApplicationId sets the ApplicationId field's value.

func (*GetSegmentVersionsInput) SetPageSize

func (s *GetSegmentVersionsInput) SetPageSize(v string) *GetSegmentVersionsInput

SetPageSize sets the PageSize field's value.

func (*GetSegmentVersionsInput) SetSegmentId

func (s *GetSegmentVersionsInput) SetSegmentId(v string) *GetSegmentVersionsInput

SetSegmentId sets the SegmentId field's value.

func (*GetSegmentVersionsInput) SetToken

func (s *GetSegmentVersionsInput) SetToken(v string) *GetSegmentVersionsInput

SetToken sets the Token field's value.

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 {

    // Provides information about all the segments that are associated with an application.
    //
    // SegmentsResponse is a required field
    SegmentsResponse *SegmentsResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetSegmentVersionsOutput) GoString

func (s GetSegmentVersionsOutput) GoString() string

GoString returns the string representation

func (*GetSegmentVersionsOutput) SetSegmentsResponse

func (s *GetSegmentVersionsOutput) SetSegmentsResponse(v *SegmentsResponse) *GetSegmentVersionsOutput

SetSegmentsResponse sets the SegmentsResponse field's value.

func (GetSegmentVersionsOutput) String

func (s GetSegmentVersionsOutput) String() string

String returns the string representation

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
}

func (GetSegmentsInput) GoString

func (s GetSegmentsInput) GoString() string

GoString returns the string representation

func (*GetSegmentsInput) SetApplicationId

func (s *GetSegmentsInput) SetApplicationId(v string) *GetSegmentsInput

SetApplicationId sets the ApplicationId field's value.

func (*GetSegmentsInput) SetPageSize

func (s *GetSegmentsInput) SetPageSize(v string) *GetSegmentsInput

SetPageSize sets the PageSize field's value.

func (*GetSegmentsInput) SetToken

func (s *GetSegmentsInput) SetToken(v string) *GetSegmentsInput

SetToken sets the Token field's value.

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 {

    // Provides information about all the segments that are associated with an application.
    //
    // SegmentsResponse is a required field
    SegmentsResponse *SegmentsResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetSegmentsOutput) GoString

func (s GetSegmentsOutput) GoString() string

GoString returns the string representation

func (*GetSegmentsOutput) SetSegmentsResponse

func (s *GetSegmentsOutput) SetSegmentsResponse(v *SegmentsResponse) *GetSegmentsOutput

SetSegmentsResponse sets the SegmentsResponse field's value.

func (GetSegmentsOutput) String

func (s GetSegmentsOutput) String() string

String returns the string representation

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
}

func (GetSmsChannelInput) GoString

func (s GetSmsChannelInput) GoString() string

GoString returns the string representation

func (*GetSmsChannelInput) SetApplicationId

func (s *GetSmsChannelInput) SetApplicationId(v string) *GetSmsChannelInput

SetApplicationId sets the ApplicationId field's value.

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 {

    // Provides information about the status and settings of the SMS channel for
    // an application.
    //
    // SMSChannelResponse is a required field
    SMSChannelResponse *SMSChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetSmsChannelOutput) GoString

func (s GetSmsChannelOutput) GoString() string

GoString returns the string representation

func (*GetSmsChannelOutput) SetSMSChannelResponse

func (s *GetSmsChannelOutput) SetSMSChannelResponse(v *SMSChannelResponse) *GetSmsChannelOutput

SetSMSChannelResponse sets the SMSChannelResponse field's value.

func (GetSmsChannelOutput) String

func (s GetSmsChannelOutput) String() string

String returns the string representation

type GetUserEndpointsInput

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
}

func (GetUserEndpointsInput) GoString

func (s GetUserEndpointsInput) GoString() string

GoString returns the string representation

func (*GetUserEndpointsInput) SetApplicationId

func (s *GetUserEndpointsInput) SetApplicationId(v string) *GetUserEndpointsInput

SetApplicationId sets the ApplicationId field's value.

func (*GetUserEndpointsInput) SetUserId

func (s *GetUserEndpointsInput) SetUserId(v string) *GetUserEndpointsInput

SetUserId sets the UserId field's value.

func (GetUserEndpointsInput) String

func (s GetUserEndpointsInput) String() string

String returns the string representation

func (*GetUserEndpointsInput) Validate

func (s *GetUserEndpointsInput) Validate() error

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

type GetUserEndpointsOutput

type GetUserEndpointsOutput struct {

    // Provides information about all the endpoints that are associated with a user
    // ID.
    //
    // EndpointsResponse is a required field
    EndpointsResponse *EndpointsResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetUserEndpointsOutput) GoString

func (s GetUserEndpointsOutput) GoString() string

GoString returns the string representation

func (*GetUserEndpointsOutput) SetEndpointsResponse

func (s *GetUserEndpointsOutput) SetEndpointsResponse(v *EndpointsResponse) *GetUserEndpointsOutput

SetEndpointsResponse sets the EndpointsResponse field's value.

func (GetUserEndpointsOutput) String

func (s GetUserEndpointsOutput) String() string

String returns the string representation

type GetVoiceChannelInput

type GetVoiceChannelInput struct {

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

func (GetVoiceChannelInput) GoString

func (s GetVoiceChannelInput) GoString() string

GoString returns the string representation

func (*GetVoiceChannelInput) SetApplicationId

func (s *GetVoiceChannelInput) SetApplicationId(v string) *GetVoiceChannelInput

SetApplicationId sets the ApplicationId field's value.

func (GetVoiceChannelInput) String

func (s GetVoiceChannelInput) String() string

String returns the string representation

func (*GetVoiceChannelInput) Validate

func (s *GetVoiceChannelInput) Validate() error

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

type GetVoiceChannelOutput

type GetVoiceChannelOutput struct {

    // Provides information about the status and settings of the voice channel for
    // an application.
    //
    // VoiceChannelResponse is a required field
    VoiceChannelResponse *VoiceChannelResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (GetVoiceChannelOutput) GoString

func (s GetVoiceChannelOutput) GoString() string

GoString returns the string representation

func (*GetVoiceChannelOutput) SetVoiceChannelResponse

func (s *GetVoiceChannelOutput) SetVoiceChannelResponse(v *VoiceChannelResponse) *GetVoiceChannelOutput

SetVoiceChannelResponse sets the VoiceChannelResponse field's value.

func (GetVoiceChannelOutput) String

func (s GetVoiceChannelOutput) String() string

String returns the string representation

type ImportJobRequest

type ImportJobRequest struct {

    // Specifies whether to create a segment that contains the endpoints, when the
    // endpoint definitions are imported.
    DefineSegment *bool `type:"boolean"`

    // (Deprecated) Your AWS account ID, which you assigned to an external ID key
    // in an IAM trust policy. Amazon Pinpoint previously used this value to assume
    // an IAM role when importing endpoint definitions, but we removed this requirement.
    // We don't recommend use of external IDs for IAM roles that are assumed by
    // Amazon Pinpoint.
    ExternalId *string `type:"string"`

    // The format of the files that contain the endpoint definitions to import.
    // Valid values are: CSV, for comma-separated values format; and, JSON, for
    // newline-delimited JSON format. If the Amazon S3 location stores multiple
    // files that use different formats, Amazon Pinpoint imports data only from
    // the files that use the specified format.
    //
    // Format is a required field
    Format *string `type:"string" required:"true" enum:"Format"`

    // Specifies whether to register the endpoints with Amazon Pinpoint, when the
    // endpoint definitions are imported.
    RegisterEndpoints *bool `type:"boolean"`

    // The Amazon Resource Name (ARN) of the AWS Identity and Access Management
    // (IAM) role that authorizes Amazon Pinpoint to access the Amazon S3 location
    // to import endpoint definitions from.
    //
    // RoleArn is a required field
    RoleArn *string `type:"string" required:"true"`

    // The URL of the Amazon Simple Storage Service (Amazon S3) bucket that contains
    // the endpoint definitions to import. This location can be a folder or a single
    // file. If the location is a folder, Amazon Pinpoint imports endpoint definitions
    // from the files in this location, including any subfolders that the folder
    // contains.
    //
    // The URL should be in the following format: s3://bucket-name/folder-name/file-name.
    // The location can end with the key for an individual object or a prefix that
    // qualifies multiple objects.
    //
    // S3Url is a required field
    S3Url *string `type:"string" required:"true"`

    // The identifier for the segment to update or add the imported endpoint definitions
    // to, if the import job is meant to update an existing segment.
    SegmentId *string `type:"string"`

    // The custom name for the segment that's created by the import job, if the
    // value of the DefineSegment property is true.
    SegmentName *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies the settings for a job that imports endpoint definitions from an Amazon Simple Storage Service (Amazon S3) bucket.

func (ImportJobRequest) GoString

func (s ImportJobRequest) GoString() string

GoString returns the string representation

func (*ImportJobRequest) SetDefineSegment

func (s *ImportJobRequest) SetDefineSegment(v bool) *ImportJobRequest

SetDefineSegment sets the DefineSegment field's value.

func (*ImportJobRequest) SetExternalId

func (s *ImportJobRequest) SetExternalId(v string) *ImportJobRequest

SetExternalId sets the ExternalId field's value.

func (*ImportJobRequest) SetFormat

func (s *ImportJobRequest) SetFormat(v string) *ImportJobRequest

SetFormat sets the Format field's value.

func (*ImportJobRequest) SetRegisterEndpoints

func (s *ImportJobRequest) SetRegisterEndpoints(v bool) *ImportJobRequest

SetRegisterEndpoints sets the RegisterEndpoints field's value.

func (*ImportJobRequest) SetRoleArn

func (s *ImportJobRequest) SetRoleArn(v string) *ImportJobRequest

SetRoleArn sets the RoleArn field's value.

func (*ImportJobRequest) SetS3Url

func (s *ImportJobRequest) SetS3Url(v string) *ImportJobRequest

SetS3Url sets the S3Url field's value.

func (*ImportJobRequest) SetSegmentId

func (s *ImportJobRequest) SetSegmentId(v string) *ImportJobRequest

SetSegmentId sets the SegmentId field's value.

func (*ImportJobRequest) SetSegmentName

func (s *ImportJobRequest) SetSegmentName(v string) *ImportJobRequest

SetSegmentName sets the SegmentName field's value.

func (ImportJobRequest) String

func (s ImportJobRequest) String() string

String returns the string representation

func (*ImportJobRequest) Validate

func (s *ImportJobRequest) Validate() error

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

type ImportJobResource

type ImportJobResource struct {

    // Specifies whether the import job creates a segment that contains the endpoints,
    // when the endpoint definitions are imported.
    DefineSegment *bool `type:"boolean"`

    // (Deprecated) Your AWS account ID, which you assigned to an external ID key
    // in an IAM trust policy. Amazon Pinpoint previously used this value to assume
    // an IAM role when importing endpoint definitions, but we removed this requirement.
    // We don't recommend use of external IDs for IAM roles that are assumed by
    // Amazon Pinpoint.
    ExternalId *string `type:"string"`

    // The format of the files that contain the endpoint definitions to import.
    // Valid values are: CSV, for comma-separated values format; and, JSON, for
    // newline-delimited JSON format.
    //
    // If the files are stored in an Amazon S3 location and that location contains
    // multiple files that use different formats, Amazon Pinpoint imports data only
    // from the files that use the specified format.
    //
    // Format is a required field
    Format *string `type:"string" required:"true" enum:"Format"`

    // Specifies whether the import job registers the endpoints with Amazon Pinpoint,
    // when the endpoint definitions are imported.
    RegisterEndpoints *bool `type:"boolean"`

    // The Amazon Resource Name (ARN) of the AWS Identity and Access Management
    // (IAM) role that authorizes Amazon Pinpoint to access the Amazon S3 location
    // to import endpoint definitions from.
    //
    // RoleArn is a required field
    RoleArn *string `type:"string" required:"true"`

    // The URL of the Amazon Simple Storage Service (Amazon S3) bucket that contains
    // the endpoint definitions to import. This location can be a folder or a single
    // file. If the location is a folder, Amazon Pinpoint imports endpoint definitions
    // from the files in this location, including any subfolders that the folder
    // contains.
    //
    // The URL should be in the following format: s3://bucket-name/folder-name/file-name.
    // The location can end with the key for an individual object or a prefix that
    // qualifies multiple objects.
    //
    // S3Url is a required field
    S3Url *string `type:"string" required:"true"`

    // The identifier for the segment that the import job updates or adds endpoint
    // definitions to, if the import job updates an existing segment.
    SegmentId *string `type:"string"`

    // The custom name for the segment that's created by the import job, if the
    // value of the DefineSegment property is true.
    SegmentName *string `type:"string"`
    // contains filtered or unexported fields
}

Provides information about the resource settings for a job that imports endpoint definitions from one or more files. The files can be stored in an Amazon Simple Storage Service (Amazon S3) bucket or uploaded directly from a computer by using the Amazon Pinpoint console.

func (ImportJobResource) GoString

func (s ImportJobResource) GoString() string

GoString returns the string representation

func (*ImportJobResource) SetDefineSegment

func (s *ImportJobResource) SetDefineSegment(v bool) *ImportJobResource

SetDefineSegment sets the DefineSegment field's value.

func (*ImportJobResource) SetExternalId

func (s *ImportJobResource) SetExternalId(v string) *ImportJobResource

SetExternalId sets the ExternalId field's value.

func (*ImportJobResource) SetFormat

func (s *ImportJobResource) SetFormat(v string) *ImportJobResource

SetFormat sets the Format field's value.

func (*ImportJobResource) SetRegisterEndpoints

func (s *ImportJobResource) SetRegisterEndpoints(v bool) *ImportJobResource

SetRegisterEndpoints sets the RegisterEndpoints field's value.

func (*ImportJobResource) SetRoleArn

func (s *ImportJobResource) SetRoleArn(v string) *ImportJobResource

SetRoleArn sets the RoleArn field's value.

func (*ImportJobResource) SetS3Url

func (s *ImportJobResource) SetS3Url(v string) *ImportJobResource

SetS3Url sets the S3Url field's value.

func (*ImportJobResource) SetSegmentId

func (s *ImportJobResource) SetSegmentId(v string) *ImportJobResource

SetSegmentId sets the SegmentId field's value.

func (*ImportJobResource) SetSegmentName

func (s *ImportJobResource) SetSegmentName(v string) *ImportJobResource

SetSegmentName sets the SegmentName field's value.

func (ImportJobResource) String

func (s ImportJobResource) String() string

String returns the string representation

type ImportJobResponse

type ImportJobResponse struct {

    // The unique identifier for the application that's associated with the import
    // job.
    //
    // ApplicationId is a required field
    ApplicationId *string `type:"string" required:"true"`

    // The number of pieces that were processed successfully (completed) by the
    // import job, as of the time of the request.
    CompletedPieces *int64 `type:"integer"`

    // The date, in ISO 8601 format, when the import job was completed.
    CompletionDate *string `type:"string"`

    // The date, in ISO 8601 format, when the import job was created.
    //
    // CreationDate is a required field
    CreationDate *string `type:"string" required:"true"`

    // The resource settings that apply to the import job.
    //
    // Definition is a required field
    Definition *ImportJobResource `type:"structure" required:"true"`

    // The number of pieces that weren't processed successfully (failed) by the
    // import job, as of the time of the request.
    FailedPieces *int64 `type:"integer"`

    // An array of entries, one for each of the first 100 entries that weren't processed
    // successfully (failed) by the import job, if any.
    Failures []*string `type:"list"`

    // The unique identifier for the import job.
    //
    // Id is a required field
    Id *string `type:"string" required:"true"`

    // The status of the import job. The job status is FAILED if Amazon Pinpoint
    // wasn't able to process one or more pieces in the job.
    //
    // JobStatus is a required field
    JobStatus *string `type:"string" required:"true" enum:"JobStatus"`

    // The total number of endpoint definitions that weren't processed successfully
    // (failed) by the import job, typically because an error, such as a syntax
    // error, occurred.
    TotalFailures *int64 `type:"integer"`

    // The total number of pieces that must be processed to complete the import
    // job. Each piece consists of an approximately equal portion of the endpoint
    // definitions that are part of the import job.
    TotalPieces *int64 `type:"integer"`

    // The total number of endpoint definitions that were processed by the import
    // job.
    TotalProcessed *int64 `type:"integer"`

    // The job type. This value is IMPORT for import jobs.
    //
    // Type is a required field
    Type *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Provides information about the status and settings of a job that imports endpoint definitions from one or more files. The files can be stored in an Amazon Simple Storage Service (Amazon S3) bucket or uploaded directly from a computer by using the Amazon Pinpoint console.

func (ImportJobResponse) GoString

func (s ImportJobResponse) GoString() string

GoString returns the string representation

func (*ImportJobResponse) SetApplicationId

func (s *ImportJobResponse) SetApplicationId(v string) *ImportJobResponse

SetApplicationId sets the ApplicationId field's value.

func (*ImportJobResponse) SetCompletedPieces

func (s *ImportJobResponse) SetCompletedPieces(v int64) *ImportJobResponse

SetCompletedPieces sets the CompletedPieces field's value.

func (*ImportJobResponse) SetCompletionDate

func (s *ImportJobResponse) SetCompletionDate(v string) *ImportJobResponse

SetCompletionDate sets the CompletionDate field's value.

func (*ImportJobResponse) SetCreationDate

func (s *ImportJobResponse) SetCreationDate(v string) *ImportJobResponse

SetCreationDate sets the CreationDate field's value.

func (*ImportJobResponse) SetDefinition

func (s *ImportJobResponse) SetDefinition(v *ImportJobResource) *ImportJobResponse

SetDefinition sets the Definition field's value.

func (*ImportJobResponse) SetFailedPieces

func (s *ImportJobResponse) SetFailedPieces(v int64) *ImportJobResponse

SetFailedPieces sets the FailedPieces field's value.

func (*ImportJobResponse) SetFailures

func (s *ImportJobResponse) SetFailures(v []*string) *ImportJobResponse

SetFailures sets the Failures field's value.

func (*ImportJobResponse) SetId

func (s *ImportJobResponse) SetId(v string) *ImportJobResponse

SetId sets the Id field's value.

func (*ImportJobResponse) SetJobStatus

func (s *ImportJobResponse) SetJobStatus(v string) *ImportJobResponse

SetJobStatus sets the JobStatus field's value.

func (*ImportJobResponse) SetTotalFailures

func (s *ImportJobResponse) SetTotalFailures(v int64) *ImportJobResponse

SetTotalFailures sets the TotalFailures field's value.

func (*ImportJobResponse) SetTotalPieces

func (s *ImportJobResponse) SetTotalPieces(v int64) *ImportJobResponse

SetTotalPieces sets the TotalPieces field's value.

func (*ImportJobResponse) SetTotalProcessed

func (s *ImportJobResponse) SetTotalProcessed(v int64) *ImportJobResponse

SetTotalProcessed sets the TotalProcessed field's value.

func (*ImportJobResponse) SetType

func (s *ImportJobResponse) SetType(v string) *ImportJobResponse

SetType sets the Type field's value.

func (ImportJobResponse) String

func (s ImportJobResponse) String() string

String returns the string representation

type ImportJobsResponse

type ImportJobsResponse struct {

    // An array of responses, one for each import job that's associated with the
    // application (Import Jobs resource) or segment (Segment Import Jobs resource).
    //
    // Item is a required field
    Item []*ImportJobResponse `type:"list" required:"true"`

    // The string to use in a subsequent request to get the next page of results
    // in a paginated response. This value is null if there are no additional pages.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

Provides information about the status and settings of all the import jobs that are associated with an application or segment. An import job is a job that imports endpoint definitions from one or more files.

func (ImportJobsResponse) GoString

func (s ImportJobsResponse) GoString() string

GoString returns the string representation

func (*ImportJobsResponse) SetItem

func (s *ImportJobsResponse) SetItem(v []*ImportJobResponse) *ImportJobsResponse

SetItem sets the Item field's value.

func (*ImportJobsResponse) SetNextToken

func (s *ImportJobsResponse) SetNextToken(v string) *ImportJobsResponse

SetNextToken sets the NextToken field's value.

func (ImportJobsResponse) String

func (s ImportJobsResponse) String() string

String returns the string representation

type ItemResponse

type ItemResponse struct {

    // The response that was received after the endpoint data was accepted.
    EndpointItemResponse *EndpointItemResponse `type:"structure"`

    // A multipart response object that contains a key and a value for each event
    // 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
}

Provides information about the results of a request to create or update an endpoint that's associated with an event.

func (ItemResponse) GoString

func (s ItemResponse) GoString() string

GoString returns the string representation

func (*ItemResponse) SetEndpointItemResponse

func (s *ItemResponse) SetEndpointItemResponse(v *EndpointItemResponse) *ItemResponse

SetEndpointItemResponse sets the EndpointItemResponse field's value.

func (*ItemResponse) SetEventsItemResponse

func (s *ItemResponse) SetEventsItemResponse(v map[string]*EventItemResponse) *ItemResponse

SetEventsItemResponse sets the EventsItemResponse field's value.

func (ItemResponse) String

func (s ItemResponse) String() string

String returns the string representation

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn

func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

    // Specifies the tags (keys and values) for an application, campaign, or segment.
    //
    // TagsModel is a required field
    TagsModel *TagsModel `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTagsModel

func (s *ListTagsForResourceOutput) SetTagsModel(v *TagsModel) *ListTagsForResourceOutput

SetTagsModel sets the TagsModel field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type Message

type Message struct {

    // The action to occur if a recipient taps the push notification. Valid values
    // are:
    //
    //    * OPEN_APP - Your app opens or it becomes the foreground app if it was
    //    sent to the background. This is the default action.
    //
    //    * DEEP_LINK - Your app opens and displays a designated user interface
    //    in the app. This setting uses the deep-linking features of iOS and Android.
    //
    //    * URL - The default mobile browser on the recipient's device opens and
    //    loads the web page at a URL that you specify.
    Action *string `type:"string" enum:"Action"`

    // The body of the notification message. The maximum number of characters is
    // 200.
    Body *string `type:"string"`

    // The URL of the image to display as the push-notification icon, such as the
    // icon for the app.
    ImageIconUrl *string `type:"string"`

    // The URL of the image to display as the small, push-notification icon, such
    // as a small version of the icon for the app.
    ImageSmallIconUrl *string `type:"string"`

    // The URL of an image to display in the push notification.
    ImageUrl *string `type:"string"`

    // The JSON payload to use for a silent push notification.
    JsonBody *string `type:"string"`

    // The URL of the image or video to display in the push notification.
    MediaUrl *string `type:"string"`

    // The raw, JSON-formatted string to use as the payload for the notification
    // message. This value overrides other values for the message.
    RawContent *string `type:"string"`

    // Specifies whether the notification is a silent push notification, which is
    // a push notification that doesn't display on a recipient's device. Silent
    // push notifications can be used for cases such as updating an app's configuration,
    // displaying messages in an in-app message center, or supporting phone home
    // functionality.
    SilentPush *bool `type:"boolean"`

    // The number of seconds that the push-notification service should keep the
    // message, if the service is unable to deliver the notification the first time.
    // This value is converted to an expiration value when it's sent to a push-notification
    // service. If this value is 0, the service treats the notification as if it
    // expires immediately and the service doesn't store or try to deliver the notification
    // again.
    //
    // This value doesn't apply to messages that are sent through the Amazon Device
    // Messaging (ADM) service.
    TimeToLive *int64 `type:"integer"`

    // The title to display above the notification message on a recipient's device.
    Title *string `type:"string"`

    // The URL to open in a recipient's default mobile browser, if a recipient taps
    // the push notification and the value of the Action property is URL.
    Url *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies the content and settings for a push notification that's sent to recipients of a campaign.

func (Message) GoString

func (s Message) GoString() string

GoString returns the string representation

func (*Message) SetAction

func (s *Message) SetAction(v string) *Message

SetAction sets the Action field's value.

func (*Message) SetBody

func (s *Message) SetBody(v string) *Message

SetBody sets the Body field's value.

func (*Message) SetImageIconUrl

func (s *Message) SetImageIconUrl(v string) *Message

SetImageIconUrl sets the ImageIconUrl field's value.

func (*Message) SetImageSmallIconUrl

func (s *Message) SetImageSmallIconUrl(v string) *Message

SetImageSmallIconUrl sets the ImageSmallIconUrl field's value.

func (*Message) SetImageUrl

func (s *Message) SetImageUrl(v string) *Message

SetImageUrl sets the ImageUrl field's value.

func (*Message) SetJsonBody

func (s *Message) SetJsonBody(v string) *Message

SetJsonBody sets the JsonBody field's value.

func (*Message) SetMediaUrl

func (s *Message) SetMediaUrl(v string) *Message

SetMediaUrl sets the MediaUrl field's value.

func (*Message) SetRawContent

func (s *Message) SetRawContent(v string) *Message

SetRawContent sets the RawContent field's value.

func (*Message) SetSilentPush

func (s *Message) SetSilentPush(v bool) *Message

SetSilentPush sets the SilentPush field's value.

func (*Message) SetTimeToLive

func (s *Message) SetTimeToLive(v int64) *Message

SetTimeToLive sets the TimeToLive field's value.

func (*Message) SetTitle

func (s *Message) SetTitle(v string) *Message

SetTitle sets the Title field's value.

func (*Message) SetUrl

func (s *Message) SetUrl(v string) *Message

SetUrl sets the Url field's value.

func (Message) String

func (s Message) String() string

String returns the string representation

type MessageBody

type MessageBody struct {

    // The message that's returned from the API.
    Message *string `type:"string"`

    // The unique identifier for the request or response.
    RequestID *string `type:"string"`
    // contains filtered or unexported fields
}

Provides information about an API request or response.

func (MessageBody) GoString

func (s MessageBody) GoString() string

GoString returns the string representation

func (*MessageBody) SetMessage

func (s *MessageBody) SetMessage(v string) *MessageBody

SetMessage sets the Message field's value.

func (*MessageBody) SetRequestID

func (s *MessageBody) SetRequestID(v string) *MessageBody

SetRequestID sets the RequestID field's value.

func (MessageBody) String

func (s MessageBody) String() string

String returns the string representation

type MessageConfiguration

type MessageConfiguration struct {

    // The message that the campaign sends through the ADM (Amazon Device Messaging)
    // channel. This message overrides the default message.
    ADMMessage *Message `type:"structure"`

    // The message that the campaign sends through the APNs (Apple Push Notification
    // service) channel. This message overrides the default message.
    APNSMessage *Message `type:"structure"`

    // The message that the campaign sends through the Baidu (Baidu Cloud Push)
    // channel. This message overrides the default message.
    BaiduMessage *Message `type:"structure"`

    // The default message that the campaign sends through all the channels that
    // are configured for the campaign.
    DefaultMessage *Message `type:"structure"`

    // The message that the campaign sends through the email channel.
    EmailMessage *CampaignEmailMessage `type:"structure"`

    // The message that the campaign sends through the GCM channel, which enables
    // Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging
    // (FCM), formerly Google Cloud Messaging (GCM), service. This message overrides
    // the default message.
    GCMMessage *Message `type:"structure"`

    // The message that the campaign sends through the SMS channel.
    SMSMessage *CampaignSmsMessage `type:"structure"`
    // contains filtered or unexported fields
}

Specifies the message configuration settings for a campaign.

func (MessageConfiguration) GoString

func (s MessageConfiguration) GoString() string

GoString returns the string representation

func (*MessageConfiguration) SetADMMessage

func (s *MessageConfiguration) SetADMMessage(v *Message) *MessageConfiguration

SetADMMessage sets the ADMMessage field's value.

func (*MessageConfiguration) SetAPNSMessage

func (s *MessageConfiguration) SetAPNSMessage(v *Message) *MessageConfiguration

SetAPNSMessage sets the APNSMessage field's value.

func (*MessageConfiguration) SetBaiduMessage

func (s *MessageConfiguration) SetBaiduMessage(v *Message) *MessageConfiguration

SetBaiduMessage sets the BaiduMessage field's value.

func (*MessageConfiguration) SetDefaultMessage

func (s *MessageConfiguration) SetDefaultMessage(v *Message) *MessageConfiguration

SetDefaultMessage sets the DefaultMessage field's value.

func (*MessageConfiguration) SetEmailMessage

func (s *MessageConfiguration) SetEmailMessage(v *CampaignEmailMessage) *MessageConfiguration

SetEmailMessage sets the EmailMessage field's value.

func (*MessageConfiguration) SetGCMMessage

func (s *MessageConfiguration) SetGCMMessage(v *Message) *MessageConfiguration

SetGCMMessage sets the GCMMessage field's value.

func (*MessageConfiguration) SetSMSMessage

func (s *MessageConfiguration) SetSMSMessage(v *CampaignSmsMessage) *MessageConfiguration

SetSMSMessage sets the SMSMessage field's value.

func (MessageConfiguration) String

func (s MessageConfiguration) String() string

String returns the string representation

func (*MessageConfiguration) Validate

func (s *MessageConfiguration) Validate() error

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

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. You can use an AddressConfiguration
    // object to tailor the message for an address by specifying settings such as
    // content overrides and message variables.
    Addresses map[string]*AddressConfiguration `type:"map"`

    // A map of custom attributes to attach to the message. For a push notification,
    // this payload is added to the data.pinpoint object. For an email or text message,
    // this payload is added to 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. You can use an EndpointSendConfiguration
    // object to tailor the message for an endpoint by specifying settings such
    // as content overrides and message variables.
    Endpoints map[string]*EndpointSendConfiguration `type:"map"`

    // The set of properties that defines the configuration settings for the message.
    //
    // MessageConfiguration is a required field
    MessageConfiguration *DirectMessageConfiguration `type:"structure" required:"true"`

    // The unique identifier for tracing the message. This identifier is visible
    // to message recipients.
    TraceId *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies the objects that define configuration and other settings for a message.

func (MessageRequest) GoString

func (s MessageRequest) GoString() string

GoString returns the string representation

func (*MessageRequest) SetAddresses

func (s *MessageRequest) SetAddresses(v map[string]*AddressConfiguration) *MessageRequest

SetAddresses sets the Addresses field's value.

func (*MessageRequest) SetContext

func (s *MessageRequest) SetContext(v map[string]*string) *MessageRequest

SetContext sets the Context field's value.

func (*MessageRequest) SetEndpoints

func (s *MessageRequest) SetEndpoints(v map[string]*EndpointSendConfiguration) *MessageRequest

SetEndpoints sets the Endpoints field's value.

func (*MessageRequest) SetMessageConfiguration

func (s *MessageRequest) SetMessageConfiguration(v *DirectMessageConfiguration) *MessageRequest

SetMessageConfiguration sets the MessageConfiguration field's value.

func (*MessageRequest) SetTraceId

func (s *MessageRequest) SetTraceId(v string) *MessageRequest

SetTraceId sets the TraceId field's value.

func (MessageRequest) String

func (s MessageRequest) String() string

String returns the string representation

func (*MessageRequest) Validate

func (s *MessageRequest) Validate() error

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

type MessageResponse

type MessageResponse struct {

    // The unique identifier for the application that was used to send the message.
    //
    // ApplicationId is a required field
    ApplicationId *string `type:"string" required:"true"`

    // A map that contains a multipart response for each address that the message
    // was sent to. In the map, the endpoint ID is the key and the result is the
    // value.
    EndpointResult map[string]*EndpointMessageResult `type:"map"`

    // The identifier for the original request that the message was delivered for.
    RequestId *string `type:"string"`

    // A map that contains a multipart response for each address (email address,
    // phone number, or push notification token) that the message was sent to. In
    // the map, the address is the key and the result is the value.
    Result map[string]*MessageResult `type:"map"`
    // contains filtered or unexported fields
}

Provides information about the results of a request to send a message to an endpoint address.

func (MessageResponse) GoString

func (s MessageResponse) GoString() string

GoString returns the string representation

func (*MessageResponse) SetApplicationId

func (s *MessageResponse) SetApplicationId(v string) *MessageResponse

SetApplicationId sets the ApplicationId field's value.

func (*MessageResponse) SetEndpointResult

func (s *MessageResponse) SetEndpointResult(v map[string]*EndpointMessageResult) *MessageResponse

SetEndpointResult sets the EndpointResult field's value.

func (*MessageResponse) SetRequestId

func (s *MessageResponse) SetRequestId(v string) *MessageResponse

SetRequestId sets the RequestId field's value.

func (*MessageResponse) SetResult

func (s *MessageResponse) SetResult(v map[string]*MessageResult) *MessageResponse

SetResult sets the Result field's value.

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 are:
    //
    //    * DUPLICATE - The endpoint address is a duplicate of another endpoint
    //    address. Amazon Pinpoint won't attempt to send the message again.
    //
    //    * OPT_OUT - The user who's associated with the endpoint address has opted
    //    out of receiving messages from you. Amazon Pinpoint won't attempt to send
    //    the message again.
    //
    //    * PERMANENT_FAILURE - An error occurred when delivering the message to
    //    the endpoint address. Amazon Pinpoint won't attempt to send the message
    //    again.
    //
    //    * SUCCESSFUL - The message was successfully delivered to the endpoint
    //    address.
    //
    //    * TEMPORARY_FAILURE - A temporary error occurred. Amazon Pinpoint will
    //    attempt to deliver the message again later.
    //
    //    * THROTTLED - Amazon Pinpoint throttled the operation to send the message
    //    to the endpoint address.
    //
    //    * TIMEOUT - The message couldn't be sent within the timeout period.
    //
    //    * UNKNOWN_FAILURE - An unknown error occurred.
    //
    // DeliveryStatus is a required field
    DeliveryStatus *string `type:"string" required:"true" enum:"DeliveryStatus"`

    // The unique identifier for the message that was sent.
    MessageId *string `type:"string"`

    // The downstream service status code for delivering the message.
    //
    // StatusCode is a required field
    StatusCode *int64 `type:"integer" required:"true"`

    // The status message for delivering the message.
    StatusMessage *string `type:"string"`

    // For push notifications that are sent through the GCM channel, specifies whether
    // the token was updated as part of delivering the message.
    UpdatedToken *string `type:"string"`
    // contains filtered or unexported fields
}

Provides information about the results of sending a message directly to an endpoint address.

func (MessageResult) GoString

func (s MessageResult) GoString() string

GoString returns the string representation

func (*MessageResult) SetDeliveryStatus

func (s *MessageResult) SetDeliveryStatus(v string) *MessageResult

SetDeliveryStatus sets the DeliveryStatus field's value.

func (*MessageResult) SetMessageId

func (s *MessageResult) SetMessageId(v string) *MessageResult

SetMessageId sets the MessageId field's value.

func (*MessageResult) SetStatusCode

func (s *MessageResult) SetStatusCode(v int64) *MessageResult

SetStatusCode sets the StatusCode field's value.

func (*MessageResult) SetStatusMessage

func (s *MessageResult) SetStatusMessage(v string) *MessageResult

SetStatusMessage sets the StatusMessage field's value.

func (*MessageResult) SetUpdatedToken

func (s *MessageResult) SetUpdatedToken(v string) *MessageResult

SetUpdatedToken sets the UpdatedToken field's value.

func (MessageResult) String

func (s MessageResult) String() string

String returns the string representation

type MetricDimension

type MetricDimension struct {

    // The operator to use when comparing metric values. Valid values are: GREATER_THAN,
    // LESS_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, and EQUAL.
    //
    // ComparisonOperator is a required field
    ComparisonOperator *string `type:"string" required:"true"`

    // The value to compare.
    //
    // Value is a required field
    Value *float64 `type:"double" required:"true"`
    // contains filtered or unexported fields
}

Specifies metric-based criteria for including or excluding endpoints from a segment. These criteria derive from custom metrics that you define for endpoints.

func (MetricDimension) GoString

func (s MetricDimension) GoString() string

GoString returns the string representation

func (*MetricDimension) SetComparisonOperator

func (s *MetricDimension) SetComparisonOperator(v string) *MetricDimension

SetComparisonOperator sets the ComparisonOperator field's value.

func (*MetricDimension) SetValue

func (s *MetricDimension) SetValue(v float64) *MetricDimension

SetValue sets the Value field's value.

func (MetricDimension) String

func (s MetricDimension) String() string

String returns the string representation

func (*MetricDimension) Validate

func (s *MetricDimension) Validate() error

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

type NumberValidateRequest

type NumberValidateRequest struct {

    // The two-character code, in ISO 3166-1 alpha-2 format, for the country or
    // region where the phone number was originally registered.
    IsoCountryCode *string `type:"string"`

    // The phone number to retrieve information about. The phone number that you
    // provide should include a valid numeric country code. Otherwise, the operation
    // might result in an error.
    PhoneNumber *string `type:"string"`
    // contains filtered or unexported fields
}

Specifies a phone number to validate and retrieve information about.

func (NumberValidateRequest) GoString

func (s NumberValidateRequest) GoString() string

GoString returns the string representation

func (*NumberValidateRequest) SetIsoCountryCode

func (s *NumberValidateRequest) SetIsoCountryCode(v string) *NumberValidateRequest

SetIsoCountryCode sets the IsoCountryCode field's value.

func (*NumberValidateRequest) SetPhoneNumber

func (s *NumberValidateRequest) SetPhoneNumber(v string) *NumberValidateRequest

SetPhoneNumber sets the PhoneNumber field's value.

func (NumberValidateRequest) String

func (s NumberValidateRequest) String() string

String returns the string representation

type NumberValidateResponse

type NumberValidateResponse struct {

    // The carrier or service provider that the phone number is currently registered
    // with. In some countries and regions, this value may be the carrier or service
    // provider that the phone number was originally registered with.
    Carrier *string `type:"string"`

    // The name of the city where the phone number was originally registered.
    City *string `type:"string"`

    // The cleansed phone number, in E.164 format, for the location where the phone
    // number was originally registered.
    CleansedPhoneNumberE164 *string `type:"string"`

    // The cleansed phone number, in the format for the location where the phone
    // number was originally registered.
    CleansedPhoneNumberNational *string `type:"string"`

    // The name of the country or region where the phone number was originally registered.
    Country *string `type:"string"`

    // The two-character code, in ISO 3166-1 alpha-2 format, 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 name of the county where the phone number was originally registered.
    County *string `type:"string"`

    // The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the
    // request body.
    OriginalCountryCodeIso2 *string `type:"string"`

    // The phone number that was sent in the request body.
    OriginalPhoneNumber *string `type:"string"`

    // The description of the phone type. Valid values are: MOBILE, LANDLINE, VOIP,
    // INVALID, PREPAID, and OTHER.
    PhoneType *string `type:"string"`

    // The phone type, represented by an integer. Valid values are: 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 or ZIP code for the location where the phone number was originally
    // registered.
    ZipCode *string `type:"string"`
    // contains filtered or unexported fields
}

Provides information about a phone number.

func (NumberValidateResponse) GoString

func (s NumberValidateResponse) GoString() string

GoString returns the string representation

func (*NumberValidateResponse) SetCarrier

func (s *NumberValidateResponse) SetCarrier(v string) *NumberValidateResponse

SetCarrier sets the Carrier field's value.

func (*NumberValidateResponse) SetCity

func (s *NumberValidateResponse) SetCity(v string) *NumberValidateResponse

SetCity sets the City field's value.

func (*NumberValidateResponse) SetCleansedPhoneNumberE164

func (s *NumberValidateResponse) SetCleansedPhoneNumberE164(v string) *NumberValidateResponse

SetCleansedPhoneNumberE164 sets the CleansedPhoneNumberE164 field's value.

func (*NumberValidateResponse) SetCleansedPhoneNumberNational

func (s *NumberValidateResponse) SetCleansedPhoneNumberNational(v string) *NumberValidateResponse

SetCleansedPhoneNumberNational sets the CleansedPhoneNumberNational field's value.

func (*NumberValidateResponse) SetCountry

func (s *NumberValidateResponse) SetCountry(v string) *NumberValidateResponse

SetCountry sets the Country field's value.

func (*NumberValidateResponse) SetCountryCodeIso2

func (s *NumberValidateResponse) SetCountryCodeIso2(v string) *NumberValidateResponse

SetCountryCodeIso2 sets the CountryCodeIso2 field's value.

func (*NumberValidateResponse) SetCountryCodeNumeric

func (s *NumberValidateResponse) SetCountryCodeNumeric(v string) *NumberValidateResponse

SetCountryCodeNumeric sets the CountryCodeNumeric field's value.

func (*NumberValidateResponse) SetCounty

func (s *NumberValidateResponse) SetCounty(v string) *NumberValidateResponse

SetCounty sets the County field's value.

func (*NumberValidateResponse) SetOriginalCountryCodeIso2

func (s *NumberValidateResponse) SetOriginalCountryCodeIso2(v string) *NumberValidateResponse

SetOriginalCountryCodeIso2 sets the OriginalCountryCodeIso2 field's value.

func (*NumberValidateResponse) SetOriginalPhoneNumber

func (s *NumberValidateResponse) SetOriginalPhoneNumber(v string) *NumberValidateResponse

SetOriginalPhoneNumber sets the OriginalPhoneNumber field's value.

func (*NumberValidateResponse) SetPhoneType

func (s *NumberValidateResponse) SetPhoneType(v string) *NumberValidateResponse

SetPhoneType sets the PhoneType field's value.

func (*NumberValidateResponse) SetPhoneTypeCode

func (s *NumberValidateResponse) SetPhoneTypeCode(v int64) *NumberValidateResponse

SetPhoneTypeCode sets the PhoneTypeCode field's value.

func (*NumberValidateResponse) SetTimezone

func (s *NumberValidateResponse) SetTimezone(v string) *NumberValidateResponse

SetTimezone sets the Timezone field's value.

func (*NumberValidateResponse) SetZipCode

func (s *NumberValidateResponse) SetZipCode(v string) *NumberValidateResponse

SetZipCode sets the ZipCode field's value.

func (NumberValidateResponse) String

func (s NumberValidateResponse) String() string

String returns the string representation

type PhoneNumberValidateInput

type PhoneNumberValidateInput struct {

    // Specifies a phone number to validate and retrieve information about.
    //
    // NumberValidateRequest is a required field
    NumberValidateRequest *NumberValidateRequest `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (PhoneNumberValidateInput) GoString

func (s PhoneNumberValidateInput) GoString() string

GoString returns the string representation

func (*PhoneNumberValidateInput) SetNumberValidateRequest

func (s *PhoneNumberValidateInput) SetNumberValidateRequest(v *NumberValidateRequest) *PhoneNumberValidateInput

SetNumberValidateRequest sets the NumberValidateRequest field's value.

func (PhoneNumberValidateInput) String

func (s PhoneNumberValidateInput) String() string

String returns the string representation

func (*PhoneNumberValidateInput) Validate

func (s *PhoneNumberValidateInput) Validate() error

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

type PhoneNumberValidateOutput

type PhoneNumberValidateOutput struct {

    // Provides information about a phone number.
    //
    // NumberValidateResponse is a required field
    NumberValidateResponse *NumberValidateResponse `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (PhoneNumberValidateOutput) GoString

func (s PhoneNumberValidateOutput) GoString() string

GoString returns the string representation

func (*PhoneNumberValidateOutput) SetNumberValidateResponse

func (s *PhoneNumberValidateOutput) SetNumberValidateResponse(v *NumberValidateResponse) *PhoneNumberValidateOutput

SetNumberValidateResponse sets the NumberValidateResponse field's value.

func (PhoneNumberValidateOutput) String

func (s PhoneNumberValidateOutput) String() string

String returns the string representation

type Pinpoint

type Pinpoint struct {
    *client.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(p client.ConfigProvider, cfgs ...*aws.Config) *Pinpoint

New creates a new instance of the Pinpoint client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a Pinpoint client from just a session.
svc := pinpoint.New(mySession)

// Create a Pinpoint client with additional configuration
svc := pinpoint.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*Pinpoint) CreateApp

func (c *Pinpoint) CreateApp(input *CreateAppInput) (*CreateAppOutput, error)

CreateApp API operation for Amazon Pinpoint.

Creates an application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint's API operation CreateApp for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Provides information about an API request or response.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Provides information about an API request or response.

* ErrCodeForbiddenException "ForbiddenException"
Provides information about an API request or response.

* ErrCodeNotFoundException "NotFoundException"
Provides information about an API request or response.

* ErrCodeMethodNotAllowedException "MethodNotAllowedException"
Provides information about an API request or response.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
Provides information about an API request or response.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateApp

func (*Pinpoint) CreateAppRequest

func (c *Pinpoint) CreateAppRequest(input *CreateAppInput) (req *request.Request, output *CreateAppOutput)

CreateAppRequest generates a "aws/request.Request" representing the client's request for the CreateApp operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateApp for more information on using the CreateApp API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateAppRequest method.
req, resp := client.CreateAppRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateApp

func (*Pinpoint) CreateAppWithContext

func (c *Pinpoint) CreateAppWithContext(ctx aws.Context, input *CreateAppInput, opts ...request.Option) (*CreateAppOutput, error)

CreateAppWithContext is the same as CreateApp with the addition of the ability to pass a context and additional request options.

See CreateApp for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Pinpoint) CreateCampaign

func (c *Pinpoint) CreateCampaign(input *CreateCampaignInput) (*CreateCampaignOutput, error)

CreateCampaign API operation for Amazon Pinpoint.

Creates a new campaign for an application or updates the settings of an existing campaign for an application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint's API operation CreateCampaign for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Provides information about an API request or response.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Provides information about an API request or response.

* ErrCodeForbiddenException "ForbiddenException"
Provides information about an API request or response.

* ErrCodeNotFoundException "NotFoundException"
Provides information about an API request or response.

* ErrCodeMethodNotAllowedException "MethodNotAllowedException"
Provides information about an API request or response.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
Provides information about an API request or response.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateCampaign

func (*Pinpoint) CreateCampaignRequest

func (c *Pinpoint) CreateCampaignRequest(input *CreateCampaignInput) (req *request.Request, output *CreateCampaignOutput)

CreateCampaignRequest generates a "aws/request.Request" representing the client's request for the CreateCampaign operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateCampaign for more information on using the CreateCampaign API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateCampaignRequest method.
req, resp := client.CreateCampaignRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateCampaign

func (*Pinpoint) CreateCampaignWithContext

func (c *Pinpoint) CreateCampaignWithContext(ctx aws.Context, input *CreateCampaignInput, opts ...request.Option) (*CreateCampaignOutput, error)

CreateCampaignWithContext is the same as CreateCampaign with the addition of the ability to pass a context and additional request options.

See CreateCampaign for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Pinpoint) CreateExportJob

func (c *Pinpoint) CreateExportJob(input *CreateExportJobInput) (*CreateExportJobOutput, error)

CreateExportJob API operation for Amazon Pinpoint.

Creates a new export job for an application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint's API operation CreateExportJob for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Provides information about an API request or response.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Provides information about an API request or response.

* ErrCodeForbiddenException "ForbiddenException"
Provides information about an API request or response.

* ErrCodeNotFoundException "NotFoundException"
Provides information about an API request or response.

* ErrCodeMethodNotAllowedException "MethodNotAllowedException"
Provides information about an API request or response.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
Provides information about an API request or response.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateExportJob

func (*Pinpoint) CreateExportJobRequest

func (c *Pinpoint) CreateExportJobRequest(input *CreateExportJobInput) (req *request.Request, output *CreateExportJobOutput)

CreateExportJobRequest generates a "aws/request.Request" representing the client's request for the CreateExportJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateExportJob for more information on using the CreateExportJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateExportJobRequest method.
req, resp := client.CreateExportJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateExportJob

func (*Pinpoint) CreateExportJobWithContext

func (c *Pinpoint) CreateExportJobWithContext(ctx aws.Context, input *CreateExportJobInput, opts ...request.Option) (*CreateExportJobOutput, error)

CreateExportJobWithContext is the same as CreateExportJob with the addition of the ability to pass a context and additional request options.

See CreateExportJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Pinpoint) CreateImportJob

func (c *Pinpoint) CreateImportJob(input *CreateImportJobInput) (*CreateImportJobOutput, error)

CreateImportJob API operation for Amazon Pinpoint.

Creates a new import job for an application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint's API operation CreateImportJob for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Provides information about an API request or response.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Provides information about an API request or response.

* ErrCodeForbiddenException "ForbiddenException"
Provides information about an API request or response.

* ErrCodeNotFoundException "NotFoundException"
Provides information about an API request or response.

* ErrCodeMethodNotAllowedException "MethodNotAllowedException"
Provides information about an API request or response.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
Provides information about an API request or response.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateImportJob

func (*Pinpoint) CreateImportJobRequest

func (c *Pinpoint) CreateImportJobRequest(input *CreateImportJobInput) (req *request.Request, output *CreateImportJobOutput)

CreateImportJobRequest generates a "aws/request.Request" representing the client's request for the CreateImportJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateImportJob for more information on using the CreateImportJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateImportJobRequest method.
req, resp := client.CreateImportJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateImportJob

func (*Pinpoint) CreateImportJobWithContext

func (c *Pinpoint) CreateImportJobWithContext(ctx aws.Context, input *CreateImportJobInput, opts ...request.Option) (*CreateImportJobOutput, error)

CreateImportJobWithContext is the same as CreateImportJob with the addition of the ability to pass a context and additional request options.

See CreateImportJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Pinpoint) CreateSegment

func (c *Pinpoint) CreateSegment(input *CreateSegmentInput) (*CreateSegmentOutput, error)

CreateSegment API operation for Amazon Pinpoint.

Creates a new segment for an application or updates the configuration, dimension, and other settings for an existing segment that's associated with an application.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint's API operation CreateSegment for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Provides information about an API request or response.

* ErrCodeInternalServerErrorException "InternalServerErrorException"
Provides information about an API request or response.

* ErrCodeForbiddenException "ForbiddenException"
Provides information about an API request or response.

* ErrCodeNotFoundException "NotFoundException"
Provides information about an API request or response.

* ErrCodeMethodNotAllowedException "MethodNotAllowedException"
Provides information about an API request or response.

* ErrCodeTooManyRequestsException "TooManyRequestsException"
Provides information about an API request or response.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateSegment

func (*Pinpoint) CreateSegmentRequest

func (c *Pinpoint) CreateSegmentRequest(input *CreateSegmentInput) (req *request.Request, output *CreateSegmentOutput)

CreateSegmentRequest generates a "aws/request.Request" representing the client's request for the CreateSegment operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateSegment for more information on using the CreateSegment API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateSegmentRequest method.
req, resp := client.CreateSegmentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateSegment

func (*Pinpoint) CreateSegmentWithContext

func (c *Pinpoint) CreateSegmentWithContext(ctx aws.Context, input *CreateSegmentInput, opts ...request.Option) (*CreateSegmentOutput, error)

CreateSegmentWithContext is the same as CreateSegment with the addition of the ability to pass a context and additional request options.

See CreateSegment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Pinpoint) DeleteAdmChannel

func (c *Pinpoint) DeleteAdmChannel(input *DeleteAdmChannelInput) (*DeleteAdmChannelOutput, error)

DeleteAdmChannel API operation for Amazon Pinpoint.

Disables the ADM channel for an application and deletes any existing settings for the channel.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Pinpoint's API operation DeleteAdmChannel for usage and error information.

Returned Error Codes:

* ErrCodeBadRequestException "BadRequestException"
Provides information about an API request or response.

* ErrCodeInternalServerErrorExcep