Documentation ¶
Overview ¶
Package pinpoint provides the client and types for making API requests to Amazon Pinpoint.
See https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01 for more information on this service.
See pinpoint package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/pinpoint/
Using the Client ¶
To Amazon Pinpoint with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon Pinpoint client Pinpoint for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/pinpoint/#New
Index ¶
- Constants
- type ADMChannelRequest
- type ADMChannelResponse
- func (s ADMChannelResponse) GoString() string
- func (s *ADMChannelResponse) SetApplicationId(v string) *ADMChannelResponse
- func (s *ADMChannelResponse) SetCreationDate(v string) *ADMChannelResponse
- func (s *ADMChannelResponse) SetEnabled(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
- func (s ADMChannelResponse) String() string
- type ADMMessage
- func (s ADMMessage) GoString() string
- func (s *ADMMessage) SetAction(v Action) *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) SetJsonData(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
- func (s ADMMessage) String() string
- type APNSChannelRequest
- func (s APNSChannelRequest) GoString() string
- 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
- func (s APNSChannelRequest) String() string
- type APNSChannelResponse
- func (s APNSChannelResponse) GoString() string
- func (s *APNSChannelResponse) SetApplicationId(v string) *APNSChannelResponse
- func (s *APNSChannelResponse) SetCreationDate(v string) *APNSChannelResponse
- func (s *APNSChannelResponse) SetEnabled(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
- func (s APNSChannelResponse) String() string
- type APNSMessage
- func (s APNSMessage) GoString() string
- func (s *APNSMessage) SetAction(v Action) *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) SetData(v map[string]string) *APNSMessage
- func (s *APNSMessage) SetJsonData(v string) *APNSMessage
- func (s *APNSMessage) SetMediaUrl(v string) *APNSMessage
- func (s *APNSMessage) SetPreferredAuthenticationMethod(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) SetTitle(v string) *APNSMessage
- func (s *APNSMessage) SetUrl(v string) *APNSMessage
- func (s APNSMessage) String() string
- type APNSSandboxChannelRequest
- func (s APNSSandboxChannelRequest) GoString() string
- 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
- func (s APNSSandboxChannelRequest) String() string
- type APNSSandboxChannelResponse
- func (s APNSSandboxChannelResponse) GoString() string
- func (s *APNSSandboxChannelResponse) SetApplicationId(v string) *APNSSandboxChannelResponse
- func (s *APNSSandboxChannelResponse) SetCreationDate(v string) *APNSSandboxChannelResponse
- func (s *APNSSandboxChannelResponse) SetEnabled(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
- func (s APNSSandboxChannelResponse) String() string
- type Action
- type ActivitiesResponse
- type ActivityResponse
- func (s ActivityResponse) GoString() string
- 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
- func (s ActivityResponse) String() string
- type AddressConfiguration
- func (s AddressConfiguration) GoString() string
- func (s *AddressConfiguration) SetBodyOverride(v string) *AddressConfiguration
- func (s *AddressConfiguration) SetChannelType(v ChannelType) *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
- func (s AddressConfiguration) String() string
- type ApplicationResponse
- type ApplicationSettingsResource
- func (s ApplicationSettingsResource) GoString() string
- func (s *ApplicationSettingsResource) SetApplicationId(v string) *ApplicationSettingsResource
- func (s *ApplicationSettingsResource) SetLastModifiedDate(v string) *ApplicationSettingsResource
- func (s *ApplicationSettingsResource) SetLimits(v *CampaignLimits) *ApplicationSettingsResource
- func (s *ApplicationSettingsResource) SetQuietTime(v *QuietTime) *ApplicationSettingsResource
- func (s ApplicationSettingsResource) String() string
- type ApplicationsResponse
- type AttributeDimension
- type AttributeType
- type BaiduChannelRequest
- func (s BaiduChannelRequest) GoString() string
- func (s *BaiduChannelRequest) SetApiKey(v string) *BaiduChannelRequest
- func (s *BaiduChannelRequest) SetEnabled(v bool) *BaiduChannelRequest
- func (s *BaiduChannelRequest) SetSecretKey(v string) *BaiduChannelRequest
- func (s BaiduChannelRequest) String() string
- type BaiduChannelResponse
- func (s BaiduChannelResponse) GoString() string
- 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) 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
- func (s BaiduChannelResponse) String() string
- type BaiduMessage
- func (s BaiduMessage) GoString() string
- func (s *BaiduMessage) SetAction(v Action) *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) SetJsonData(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) SetTitle(v string) *BaiduMessage
- func (s *BaiduMessage) SetUrl(v string) *BaiduMessage
- func (s BaiduMessage) String() string
- type CampaignEmailMessage
- func (s CampaignEmailMessage) GoString() string
- 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
- func (s CampaignEmailMessage) String() string
- type CampaignLimits
- func (s CampaignLimits) GoString() string
- 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
- func (s CampaignLimits) String() string
- type CampaignResponse
- func (s CampaignResponse) GoString() string
- func (s *CampaignResponse) SetAdditionalTreatments(v []TreatmentResource) *CampaignResponse
- func (s *CampaignResponse) SetApplicationId(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) 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) SetTreatmentDescription(v string) *CampaignResponse
- func (s *CampaignResponse) SetTreatmentName(v string) *CampaignResponse
- func (s *CampaignResponse) SetVersion(v int64) *CampaignResponse
- func (s CampaignResponse) String() string
- type CampaignSmsMessage
- func (s CampaignSmsMessage) GoString() string
- func (s *CampaignSmsMessage) SetBody(v string) *CampaignSmsMessage
- func (s *CampaignSmsMessage) SetMessageType(v MessageType) *CampaignSmsMessage
- func (s *CampaignSmsMessage) SetSenderId(v string) *CampaignSmsMessage
- func (s CampaignSmsMessage) String() string
- type CampaignState
- type CampaignStatus
- type CampaignsResponse
- type ChannelType
- type CreateAppInput
- type CreateAppOutput
- type CreateAppRequest
- type CreateApplicationRequest
- type CreateCampaignInput
- func (s CreateCampaignInput) GoString() string
- func (s *CreateCampaignInput) SetApplicationId(v string) *CreateCampaignInput
- func (s *CreateCampaignInput) SetWriteCampaignRequest(v *WriteCampaignRequest) *CreateCampaignInput
- func (s CreateCampaignInput) String() string
- func (s *CreateCampaignInput) Validate() error
- type CreateCampaignOutput
- type CreateCampaignRequest
- type CreateImportJobInput
- func (s CreateImportJobInput) GoString() string
- func (s *CreateImportJobInput) SetApplicationId(v string) *CreateImportJobInput
- func (s *CreateImportJobInput) SetImportJobRequest(v *ImportJobRequest) *CreateImportJobInput
- func (s CreateImportJobInput) String() string
- func (s *CreateImportJobInput) Validate() error
- type CreateImportJobOutput
- type CreateImportJobRequest
- type CreateSegmentInput
- func (s CreateSegmentInput) GoString() string
- func (s *CreateSegmentInput) SetApplicationId(v string) *CreateSegmentInput
- func (s *CreateSegmentInput) SetWriteSegmentRequest(v *WriteSegmentRequest) *CreateSegmentInput
- func (s CreateSegmentInput) String() string
- func (s *CreateSegmentInput) Validate() error
- type CreateSegmentOutput
- type CreateSegmentRequest
- type DefaultMessage
- type DefaultPushNotificationMessage
- func (s DefaultPushNotificationMessage) GoString() string
- func (s *DefaultPushNotificationMessage) SetAction(v Action) *DefaultPushNotificationMessage
- func (s *DefaultPushNotificationMessage) SetBody(v string) *DefaultPushNotificationMessage
- func (s *DefaultPushNotificationMessage) SetData(v map[string]string) *DefaultPushNotificationMessage
- func (s *DefaultPushNotificationMessage) SetJsonData(v 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
- func (s DefaultPushNotificationMessage) String() string
- type DeleteAdmChannelInput
- type DeleteAdmChannelOutput
- type DeleteAdmChannelRequest
- type DeleteApnsChannelInput
- type DeleteApnsChannelOutput
- type DeleteApnsChannelRequest
- type DeleteApnsSandboxChannelInput
- type DeleteApnsSandboxChannelOutput
- func (s DeleteApnsSandboxChannelOutput) GoString() string
- func (s DeleteApnsSandboxChannelOutput) SDKResponseMetadata() aws.Response
- func (s *DeleteApnsSandboxChannelOutput) SetAPNSSandboxChannelResponse(v *APNSSandboxChannelResponse) *DeleteApnsSandboxChannelOutput
- func (s DeleteApnsSandboxChannelOutput) String() string
- type DeleteApnsSandboxChannelRequest
- type DeleteAppInput
- type DeleteAppOutput
- type DeleteAppRequest
- type DeleteBaiduChannelInput
- type DeleteBaiduChannelOutput
- type DeleteBaiduChannelRequest
- type DeleteCampaignInput
- type DeleteCampaignOutput
- type DeleteCampaignRequest
- type DeleteEmailChannelInput
- type DeleteEmailChannelOutput
- type DeleteEmailChannelRequest
- type DeleteEventStreamInput
- type DeleteEventStreamOutput
- type DeleteEventStreamRequest
- type DeleteGcmChannelInput
- type DeleteGcmChannelOutput
- type DeleteGcmChannelRequest
- type DeleteSegmentInput
- type DeleteSegmentOutput
- type DeleteSegmentRequest
- type DeleteSmsChannelInput
- type DeleteSmsChannelOutput
- type DeleteSmsChannelRequest
- type DeliveryStatus
- type DimensionType
- type DirectMessageConfiguration
- func (s DirectMessageConfiguration) GoString() string
- 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) String() string
- type Duration
- type EmailChannelRequest
- func (s EmailChannelRequest) GoString() string
- 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
- func (s EmailChannelRequest) String() string
- type EmailChannelResponse
- func (s EmailChannelResponse) GoString() string
- func (s *EmailChannelResponse) SetApplicationId(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) 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) SetPlatform(v string) *EmailChannelResponse
- func (s *EmailChannelResponse) SetRoleArn(v string) *EmailChannelResponse
- func (s *EmailChannelResponse) SetVersion(v int64) *EmailChannelResponse
- func (s EmailChannelResponse) String() string
- type EmailMessage
- func (s EmailMessage) GoString() string
- func (s *EmailMessage) SetBody(v string) *EmailMessage
- func (s *EmailMessage) SetFromAddress(v string) *EmailMessage
- func (s *EmailMessage) SetHtmlBody(v string) *EmailMessage
- func (s *EmailMessage) SetSubstitutions(v map[string][]string) *EmailMessage
- func (s *EmailMessage) SetTemplateArn(v string) *EmailMessage
- func (s *EmailMessage) SetTitle(v string) *EmailMessage
- func (s EmailMessage) String() string
- type EndpointBatchItem
- func (s EndpointBatchItem) GoString() string
- func (s *EndpointBatchItem) SetAddress(v string) *EndpointBatchItem
- func (s *EndpointBatchItem) SetAttributes(v map[string][]string) *EndpointBatchItem
- func (s *EndpointBatchItem) SetChannelType(v ChannelType) *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
- func (s EndpointBatchItem) String() string
- type EndpointBatchRequest
- type EndpointDemographic
- func (s EndpointDemographic) GoString() string
- 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
- func (s EndpointDemographic) String() string
- type EndpointLocation
- func (s EndpointLocation) GoString() string
- 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
- func (s EndpointLocation) String() string
- type EndpointMessageResult
- func (s EndpointMessageResult) GoString() string
- func (s *EndpointMessageResult) SetAddress(v string) *EndpointMessageResult
- func (s *EndpointMessageResult) SetDeliveryStatus(v DeliveryStatus) *EndpointMessageResult
- func (s *EndpointMessageResult) SetStatusCode(v int64) *EndpointMessageResult
- func (s *EndpointMessageResult) SetStatusMessage(v string) *EndpointMessageResult
- func (s *EndpointMessageResult) SetUpdatedToken(v string) *EndpointMessageResult
- func (s EndpointMessageResult) String() string
- type EndpointRequest
- func (s EndpointRequest) GoString() string
- func (s *EndpointRequest) SetAddress(v string) *EndpointRequest
- func (s *EndpointRequest) SetAttributes(v map[string][]string) *EndpointRequest
- func (s *EndpointRequest) SetChannelType(v ChannelType) *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
- func (s EndpointRequest) String() string
- type EndpointResponse
- func (s EndpointResponse) GoString() string
- 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 ChannelType) *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) SetShardId(v string) *EndpointResponse
- func (s *EndpointResponse) SetUser(v *EndpointUser) *EndpointResponse
- func (s EndpointResponse) String() string
- type EndpointSendConfiguration
- func (s EndpointSendConfiguration) GoString() string
- 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
- func (s EndpointSendConfiguration) String() string
- type EndpointUser
- type EventStream
- func (s EventStream) GoString() string
- 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
- func (s EventStream) String() string
- type Format
- type Frequency
- type GCMChannelRequest
- type GCMChannelResponse
- func (s GCMChannelResponse) GoString() string
- 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) 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
- func (s GCMChannelResponse) String() string
- type GCMMessage
- func (s GCMMessage) GoString() string
- func (s *GCMMessage) SetAction(v Action) *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) SetJsonData(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) SetTitle(v string) *GCMMessage
- func (s *GCMMessage) SetUrl(v string) *GCMMessage
- func (s GCMMessage) String() string
- type GetAdmChannelInput
- type GetAdmChannelOutput
- type GetAdmChannelRequest
- type GetApnsChannelInput
- type GetApnsChannelOutput
- type GetApnsChannelRequest
- type GetApnsSandboxChannelInput
- type GetApnsSandboxChannelOutput
- func (s GetApnsSandboxChannelOutput) GoString() string
- func (s GetApnsSandboxChannelOutput) SDKResponseMetadata() aws.Response
- func (s *GetApnsSandboxChannelOutput) SetAPNSSandboxChannelResponse(v *APNSSandboxChannelResponse) *GetApnsSandboxChannelOutput
- func (s GetApnsSandboxChannelOutput) String() string
- type GetApnsSandboxChannelRequest
- type GetAppInput
- type GetAppOutput
- type GetAppRequest
- type GetApplicationSettingsInput
- type GetApplicationSettingsOutput
- func (s GetApplicationSettingsOutput) GoString() string
- func (s GetApplicationSettingsOutput) SDKResponseMetadata() aws.Response
- func (s *GetApplicationSettingsOutput) SetApplicationSettingsResource(v *ApplicationSettingsResource) *GetApplicationSettingsOutput
- func (s GetApplicationSettingsOutput) String() string
- type GetApplicationSettingsRequest
- type GetAppsInput
- type GetAppsOutput
- type GetAppsRequest
- type GetBaiduChannelInput
- type GetBaiduChannelOutput
- type GetBaiduChannelRequest
- type GetCampaignActivitiesInput
- func (s GetCampaignActivitiesInput) GoString() string
- 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
- func (s GetCampaignActivitiesInput) String() string
- func (s *GetCampaignActivitiesInput) Validate() error
- type GetCampaignActivitiesOutput
- type GetCampaignActivitiesRequest
- type GetCampaignInput
- type GetCampaignOutput
- type GetCampaignRequest
- type GetCampaignVersionInput
- func (s GetCampaignVersionInput) GoString() string
- func (s *GetCampaignVersionInput) SetApplicationId(v string) *GetCampaignVersionInput
- func (s *GetCampaignVersionInput) SetCampaignId(v string) *GetCampaignVersionInput
- func (s *GetCampaignVersionInput) SetVersion(v string) *GetCampaignVersionInput
- func (s GetCampaignVersionInput) String() string
- func (s *GetCampaignVersionInput) Validate() error
- type GetCampaignVersionOutput
- type GetCampaignVersionRequest
- type GetCampaignVersionsInput
- func (s GetCampaignVersionsInput) GoString() string
- 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
- func (s GetCampaignVersionsInput) String() string
- func (s *GetCampaignVersionsInput) Validate() error
- type GetCampaignVersionsOutput
- type GetCampaignVersionsRequest
- type GetCampaignsInput
- func (s GetCampaignsInput) GoString() string
- func (s *GetCampaignsInput) SetApplicationId(v string) *GetCampaignsInput
- func (s *GetCampaignsInput) SetPageSize(v string) *GetCampaignsInput
- func (s *GetCampaignsInput) SetToken(v string) *GetCampaignsInput
- func (s GetCampaignsInput) String() string
- func (s *GetCampaignsInput) Validate() error
- type GetCampaignsOutput
- type GetCampaignsRequest
- type GetEmailChannelInput
- type GetEmailChannelOutput
- type GetEmailChannelRequest
- type GetEndpointInput
- type GetEndpointOutput
- type GetEndpointRequest
- type GetEventStreamInput
- type GetEventStreamOutput
- type GetEventStreamRequest
- type GetGcmChannelInput
- type GetGcmChannelOutput
- type GetGcmChannelRequest
- type GetImportJobInput
- type GetImportJobOutput
- type GetImportJobRequest
- type GetImportJobsInput
- func (s GetImportJobsInput) GoString() string
- func (s *GetImportJobsInput) SetApplicationId(v string) *GetImportJobsInput
- func (s *GetImportJobsInput) SetPageSize(v string) *GetImportJobsInput
- func (s *GetImportJobsInput) SetToken(v string) *GetImportJobsInput
- func (s GetImportJobsInput) String() string
- func (s *GetImportJobsInput) Validate() error
- type GetImportJobsOutput
- type GetImportJobsRequest
- type GetSegmentImportJobsInput
- func (s GetSegmentImportJobsInput) GoString() string
- 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
- func (s GetSegmentImportJobsInput) String() string
- func (s *GetSegmentImportJobsInput) Validate() error
- type GetSegmentImportJobsOutput
- type GetSegmentImportJobsRequest
- type GetSegmentInput
- type GetSegmentOutput
- type GetSegmentRequest
- type GetSegmentVersionInput
- func (s GetSegmentVersionInput) GoString() string
- func (s *GetSegmentVersionInput) SetApplicationId(v string) *GetSegmentVersionInput
- func (s *GetSegmentVersionInput) SetSegmentId(v string) *GetSegmentVersionInput
- func (s *GetSegmentVersionInput) SetVersion(v string) *GetSegmentVersionInput
- func (s GetSegmentVersionInput) String() string
- func (s *GetSegmentVersionInput) Validate() error
- type GetSegmentVersionOutput
- type GetSegmentVersionRequest
- type GetSegmentVersionsInput
- func (s GetSegmentVersionsInput) GoString() string
- 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
- func (s GetSegmentVersionsInput) String() string
- func (s *GetSegmentVersionsInput) Validate() error
- type GetSegmentVersionsOutput
- type GetSegmentVersionsRequest
- type GetSegmentsInput
- func (s GetSegmentsInput) GoString() string
- func (s *GetSegmentsInput) SetApplicationId(v string) *GetSegmentsInput
- func (s *GetSegmentsInput) SetPageSize(v string) *GetSegmentsInput
- func (s *GetSegmentsInput) SetToken(v string) *GetSegmentsInput
- func (s GetSegmentsInput) String() string
- func (s *GetSegmentsInput) Validate() error
- type GetSegmentsOutput
- type GetSegmentsRequest
- type GetSmsChannelInput
- type GetSmsChannelOutput
- type GetSmsChannelRequest
- type ImportJobRequest
- func (s ImportJobRequest) GoString() string
- func (s *ImportJobRequest) SetDefineSegment(v bool) *ImportJobRequest
- func (s *ImportJobRequest) SetExternalId(v string) *ImportJobRequest
- func (s *ImportJobRequest) SetFormat(v Format) *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
- func (s ImportJobRequest) String() string
- type ImportJobResource
- func (s ImportJobResource) GoString() string
- func (s *ImportJobResource) SetDefineSegment(v bool) *ImportJobResource
- func (s *ImportJobResource) SetExternalId(v string) *ImportJobResource
- func (s *ImportJobResource) SetFormat(v Format) *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
- func (s ImportJobResource) String() string
- type ImportJobResponse
- func (s ImportJobResponse) GoString() string
- 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 JobStatus) *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
- func (s ImportJobResponse) String() string
- type ImportJobsResponse
- type JobStatus
- type Message
- func (s Message) GoString() string
- func (s *Message) SetAction(v Action) *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) SetTitle(v string) *Message
- func (s *Message) SetUrl(v string) *Message
- func (s Message) String() string
- type MessageBody
- type MessageConfiguration
- func (s MessageConfiguration) GoString() string
- func (s *MessageConfiguration) SetAPNSMessage(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
- func (s MessageConfiguration) String() string
- type MessageRequest
- func (s MessageRequest) GoString() string
- func (s *MessageRequest) SetAddresses(v map[string]AddressConfiguration) *MessageRequest
- func (s *MessageRequest) SetCampaign(v map[string]string) *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) SetRequestId(v string) *MessageRequest
- func (s MessageRequest) String() string
- type MessageResponse
- func (s MessageResponse) GoString() string
- 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
- func (s MessageResponse) String() string
- type MessageResult
- func (s MessageResult) GoString() string
- func (s *MessageResult) SetDeliveryStatus(v DeliveryStatus) *MessageResult
- func (s *MessageResult) SetStatusCode(v int64) *MessageResult
- func (s *MessageResult) SetStatusMessage(v string) *MessageResult
- func (s *MessageResult) SetUpdatedToken(v string) *MessageResult
- func (s MessageResult) String() string
- type MessageType
- type Pinpoint
- func (c *Pinpoint) CreateAppRequest(input *CreateAppInput) CreateAppRequest
- func (c *Pinpoint) CreateCampaignRequest(input *CreateCampaignInput) CreateCampaignRequest
- func (c *Pinpoint) CreateImportJobRequest(input *CreateImportJobInput) CreateImportJobRequest
- func (c *Pinpoint) CreateSegmentRequest(input *CreateSegmentInput) CreateSegmentRequest
- func (c *Pinpoint) DeleteAdmChannelRequest(input *DeleteAdmChannelInput) DeleteAdmChannelRequest
- func (c *Pinpoint) DeleteApnsChannelRequest(input *DeleteApnsChannelInput) DeleteApnsChannelRequest
- func (c *Pinpoint) DeleteApnsSandboxChannelRequest(input *DeleteApnsSandboxChannelInput) DeleteApnsSandboxChannelRequest
- func (c *Pinpoint) DeleteAppRequest(input *DeleteAppInput) DeleteAppRequest
- func (c *Pinpoint) DeleteBaiduChannelRequest(input *DeleteBaiduChannelInput) DeleteBaiduChannelRequest
- func (c *Pinpoint) DeleteCampaignRequest(input *DeleteCampaignInput) DeleteCampaignRequest
- func (c *Pinpoint) DeleteEmailChannelRequest(input *DeleteEmailChannelInput) DeleteEmailChannelRequest
- func (c *Pinpoint) DeleteEventStreamRequest(input *DeleteEventStreamInput) DeleteEventStreamRequest
- func (c *Pinpoint) DeleteGcmChannelRequest(input *DeleteGcmChannelInput) DeleteGcmChannelRequest
- func (c *Pinpoint) DeleteSegmentRequest(input *DeleteSegmentInput) DeleteSegmentRequest
- func (c *Pinpoint) DeleteSmsChannelRequest(input *DeleteSmsChannelInput) DeleteSmsChannelRequest
- func (c *Pinpoint) GetAdmChannelRequest(input *GetAdmChannelInput) GetAdmChannelRequest
- func (c *Pinpoint) GetApnsChannelRequest(input *GetApnsChannelInput) GetApnsChannelRequest
- func (c *Pinpoint) GetApnsSandboxChannelRequest(input *GetApnsSandboxChannelInput) GetApnsSandboxChannelRequest
- func (c *Pinpoint) GetAppRequest(input *GetAppInput) GetAppRequest
- func (c *Pinpoint) GetApplicationSettingsRequest(input *GetApplicationSettingsInput) GetApplicationSettingsRequest
- func (c *Pinpoint) GetAppsRequest(input *GetAppsInput) GetAppsRequest
- func (c *Pinpoint) GetBaiduChannelRequest(input *GetBaiduChannelInput) GetBaiduChannelRequest
- func (c *Pinpoint) GetCampaignActivitiesRequest(input *GetCampaignActivitiesInput) GetCampaignActivitiesRequest
- func (c *Pinpoint) GetCampaignRequest(input *GetCampaignInput) GetCampaignRequest
- func (c *Pinpoint) GetCampaignVersionRequest(input *GetCampaignVersionInput) GetCampaignVersionRequest
- func (c *Pinpoint) GetCampaignVersionsRequest(input *GetCampaignVersionsInput) GetCampaignVersionsRequest
- func (c *Pinpoint) GetCampaignsRequest(input *GetCampaignsInput) GetCampaignsRequest
- func (c *Pinpoint) GetEmailChannelRequest(input *GetEmailChannelInput) GetEmailChannelRequest
- func (c *Pinpoint) GetEndpointRequest(input *GetEndpointInput) GetEndpointRequest
- func (c *Pinpoint) GetEventStreamRequest(input *GetEventStreamInput) GetEventStreamRequest
- func (c *Pinpoint) GetGcmChannelRequest(input *GetGcmChannelInput) GetGcmChannelRequest
- func (c *Pinpoint) GetImportJobRequest(input *GetImportJobInput) GetImportJobRequest
- func (c *Pinpoint) GetImportJobsRequest(input *GetImportJobsInput) GetImportJobsRequest
- func (c *Pinpoint) GetSegmentImportJobsRequest(input *GetSegmentImportJobsInput) GetSegmentImportJobsRequest
- func (c *Pinpoint) GetSegmentRequest(input *GetSegmentInput) GetSegmentRequest
- func (c *Pinpoint) GetSegmentVersionRequest(input *GetSegmentVersionInput) GetSegmentVersionRequest
- func (c *Pinpoint) GetSegmentVersionsRequest(input *GetSegmentVersionsInput) GetSegmentVersionsRequest
- func (c *Pinpoint) GetSegmentsRequest(input *GetSegmentsInput) GetSegmentsRequest
- func (c *Pinpoint) GetSmsChannelRequest(input *GetSmsChannelInput) GetSmsChannelRequest
- func (c *Pinpoint) PutEventStreamRequest(input *PutEventStreamInput) PutEventStreamRequest
- func (c *Pinpoint) SendMessagesRequest(input *SendMessagesInput) SendMessagesRequest
- func (c *Pinpoint) SendUsersMessagesRequest(input *SendUsersMessagesInput) SendUsersMessagesRequest
- func (c *Pinpoint) UpdateAdmChannelRequest(input *UpdateAdmChannelInput) UpdateAdmChannelRequest
- func (c *Pinpoint) UpdateApnsChannelRequest(input *UpdateApnsChannelInput) UpdateApnsChannelRequest
- func (c *Pinpoint) UpdateApnsSandboxChannelRequest(input *UpdateApnsSandboxChannelInput) UpdateApnsSandboxChannelRequest
- func (c *Pinpoint) UpdateApplicationSettingsRequest(input *UpdateApplicationSettingsInput) UpdateApplicationSettingsRequest
- func (c *Pinpoint) UpdateBaiduChannelRequest(input *UpdateBaiduChannelInput) UpdateBaiduChannelRequest
- func (c *Pinpoint) UpdateCampaignRequest(input *UpdateCampaignInput) UpdateCampaignRequest
- func (c *Pinpoint) UpdateEmailChannelRequest(input *UpdateEmailChannelInput) UpdateEmailChannelRequest
- func (c *Pinpoint) UpdateEndpointRequest(input *UpdateEndpointInput) UpdateEndpointRequest
- func (c *Pinpoint) UpdateEndpointsBatchRequest(input *UpdateEndpointsBatchInput) UpdateEndpointsBatchRequest
- func (c *Pinpoint) UpdateGcmChannelRequest(input *UpdateGcmChannelInput) UpdateGcmChannelRequest
- func (c *Pinpoint) UpdateSegmentRequest(input *UpdateSegmentInput) UpdateSegmentRequest
- func (c *Pinpoint) UpdateSmsChannelRequest(input *UpdateSmsChannelInput) UpdateSmsChannelRequest
- type PutEventStreamInput
- func (s PutEventStreamInput) GoString() string
- func (s *PutEventStreamInput) SetApplicationId(v string) *PutEventStreamInput
- func (s *PutEventStreamInput) SetWriteEventStream(v *WriteEventStream) *PutEventStreamInput
- func (s PutEventStreamInput) String() string
- func (s *PutEventStreamInput) Validate() error
- type PutEventStreamOutput
- type PutEventStreamRequest
- type QuietTime
- type RecencyDimension
- type RecencyType
- type SMSChannelRequest
- type SMSChannelResponse
- func (s SMSChannelResponse) GoString() string
- func (s *SMSChannelResponse) SetApplicationId(v string) *SMSChannelResponse
- func (s *SMSChannelResponse) SetCreationDate(v string) *SMSChannelResponse
- func (s *SMSChannelResponse) SetEnabled(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) SetSenderId(v string) *SMSChannelResponse
- func (s *SMSChannelResponse) SetShortCode(v string) *SMSChannelResponse
- func (s *SMSChannelResponse) SetVersion(v int64) *SMSChannelResponse
- func (s SMSChannelResponse) String() string
- type SMSMessage
- func (s SMSMessage) GoString() string
- func (s *SMSMessage) SetBody(v string) *SMSMessage
- func (s *SMSMessage) SetMessageType(v MessageType) *SMSMessage
- func (s *SMSMessage) SetSenderId(v string) *SMSMessage
- func (s *SMSMessage) SetSubstitutions(v map[string][]string) *SMSMessage
- func (s SMSMessage) String() string
- type Schedule
- func (s Schedule) GoString() string
- func (s *Schedule) SetEndTime(v string) *Schedule
- func (s *Schedule) SetFrequency(v Frequency) *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
- func (s Schedule) String() string
- type SegmentBehaviors
- type SegmentDemographics
- func (s SegmentDemographics) GoString() string
- 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
- func (s SegmentDemographics) String() string
- type SegmentDimensions
- func (s SegmentDimensions) GoString() string
- 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) SetUserAttributes(v map[string]AttributeDimension) *SegmentDimensions
- func (s SegmentDimensions) String() string
- type SegmentImportResource
- func (s SegmentImportResource) GoString() string
- func (s *SegmentImportResource) SetChannelCounts(v map[string]int64) *SegmentImportResource
- func (s *SegmentImportResource) SetExternalId(v string) *SegmentImportResource
- func (s *SegmentImportResource) SetFormat(v Format) *SegmentImportResource
- func (s *SegmentImportResource) SetRoleArn(v string) *SegmentImportResource
- func (s *SegmentImportResource) SetS3Url(v string) *SegmentImportResource
- func (s *SegmentImportResource) SetSize(v int64) *SegmentImportResource
- func (s SegmentImportResource) String() string
- type SegmentLocation
- type SegmentResponse
- func (s SegmentResponse) GoString() string
- func (s *SegmentResponse) SetApplicationId(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) SetSegmentType(v SegmentType) *SegmentResponse
- func (s *SegmentResponse) SetVersion(v int64) *SegmentResponse
- func (s SegmentResponse) String() string
- type SegmentType
- type SegmentsResponse
- type SendMessagesInput
- type SendMessagesOutput
- type SendMessagesRequest
- type SendUsersMessageRequest
- func (s SendUsersMessageRequest) GoString() string
- func (s *SendUsersMessageRequest) SetContext(v map[string]string) *SendUsersMessageRequest
- func (s *SendUsersMessageRequest) SetMessageConfiguration(v *DirectMessageConfiguration) *SendUsersMessageRequest
- func (s *SendUsersMessageRequest) SetRequestId(v string) *SendUsersMessageRequest
- func (s *SendUsersMessageRequest) SetUsers(v map[string]EndpointSendConfiguration) *SendUsersMessageRequest
- func (s SendUsersMessageRequest) String() string
- type SendUsersMessageResponse
- func (s SendUsersMessageResponse) GoString() string
- 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
- func (s SendUsersMessageResponse) String() string
- type SendUsersMessagesInput
- func (s SendUsersMessagesInput) GoString() string
- func (s *SendUsersMessagesInput) SetApplicationId(v string) *SendUsersMessagesInput
- func (s *SendUsersMessagesInput) SetSendUsersMessageRequest(v *SendUsersMessageRequest) *SendUsersMessagesInput
- func (s SendUsersMessagesInput) String() string
- func (s *SendUsersMessagesInput) Validate() error
- type SendUsersMessagesOutput
- type SendUsersMessagesRequest
- type SetDimension
- type TreatmentResource
- func (s TreatmentResource) GoString() string
- 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
- func (s TreatmentResource) String() string
- type UpdateAdmChannelInput
- func (s UpdateAdmChannelInput) GoString() string
- func (s *UpdateAdmChannelInput) SetADMChannelRequest(v *ADMChannelRequest) *UpdateAdmChannelInput
- func (s *UpdateAdmChannelInput) SetApplicationId(v string) *UpdateAdmChannelInput
- func (s UpdateAdmChannelInput) String() string
- func (s *UpdateAdmChannelInput) Validate() error
- type UpdateAdmChannelOutput
- type UpdateAdmChannelRequest
- type UpdateApnsChannelInput
- func (s UpdateApnsChannelInput) GoString() string
- func (s *UpdateApnsChannelInput) SetAPNSChannelRequest(v *APNSChannelRequest) *UpdateApnsChannelInput
- func (s *UpdateApnsChannelInput) SetApplicationId(v string) *UpdateApnsChannelInput
- func (s UpdateApnsChannelInput) String() string
- func (s *UpdateApnsChannelInput) Validate() error
- type UpdateApnsChannelOutput
- type UpdateApnsChannelRequest
- type UpdateApnsSandboxChannelInput
- func (s UpdateApnsSandboxChannelInput) GoString() string
- func (s *UpdateApnsSandboxChannelInput) SetAPNSSandboxChannelRequest(v *APNSSandboxChannelRequest) *UpdateApnsSandboxChannelInput
- func (s *UpdateApnsSandboxChannelInput) SetApplicationId(v string) *UpdateApnsSandboxChannelInput
- func (s UpdateApnsSandboxChannelInput) String() string
- func (s *UpdateApnsSandboxChannelInput) Validate() error
- type UpdateApnsSandboxChannelOutput
- func (s UpdateApnsSandboxChannelOutput) GoString() string
- func (s UpdateApnsSandboxChannelOutput) SDKResponseMetadata() aws.Response
- func (s *UpdateApnsSandboxChannelOutput) SetAPNSSandboxChannelResponse(v *APNSSandboxChannelResponse) *UpdateApnsSandboxChannelOutput
- func (s UpdateApnsSandboxChannelOutput) String() string
- type UpdateApnsSandboxChannelRequest
- type UpdateApplicationSettingsInput
- func (s UpdateApplicationSettingsInput) GoString() string
- func (s *UpdateApplicationSettingsInput) SetApplicationId(v string) *UpdateApplicationSettingsInput
- func (s *UpdateApplicationSettingsInput) SetWriteApplicationSettingsRequest(v *WriteApplicationSettingsRequest) *UpdateApplicationSettingsInput
- func (s UpdateApplicationSettingsInput) String() string
- func (s *UpdateApplicationSettingsInput) Validate() error
- type UpdateApplicationSettingsOutput
- func (s UpdateApplicationSettingsOutput) GoString() string
- func (s UpdateApplicationSettingsOutput) SDKResponseMetadata() aws.Response
- func (s *UpdateApplicationSettingsOutput) SetApplicationSettingsResource(v *ApplicationSettingsResource) *UpdateApplicationSettingsOutput
- func (s UpdateApplicationSettingsOutput) String() string
- type UpdateApplicationSettingsRequest
- type UpdateBaiduChannelInput
- func (s UpdateBaiduChannelInput) GoString() string
- func (s *UpdateBaiduChannelInput) SetApplicationId(v string) *UpdateBaiduChannelInput
- func (s *UpdateBaiduChannelInput) SetBaiduChannelRequest(v *BaiduChannelRequest) *UpdateBaiduChannelInput
- func (s UpdateBaiduChannelInput) String() string
- func (s *UpdateBaiduChannelInput) Validate() error
- type UpdateBaiduChannelOutput
- type UpdateBaiduChannelRequest
- type UpdateCampaignInput
- func (s UpdateCampaignInput) GoString() string
- func (s *UpdateCampaignInput) SetApplicationId(v string) *UpdateCampaignInput
- func (s *UpdateCampaignInput) SetCampaignId(v string) *UpdateCampaignInput
- func (s *UpdateCampaignInput) SetWriteCampaignRequest(v *WriteCampaignRequest) *UpdateCampaignInput
- func (s UpdateCampaignInput) String() string
- func (s *UpdateCampaignInput) Validate() error
- type UpdateCampaignOutput
- type UpdateCampaignRequest
- type UpdateEmailChannelInput
- func (s UpdateEmailChannelInput) GoString() string
- func (s *UpdateEmailChannelInput) SetApplicationId(v string) *UpdateEmailChannelInput
- func (s *UpdateEmailChannelInput) SetEmailChannelRequest(v *EmailChannelRequest) *UpdateEmailChannelInput
- func (s UpdateEmailChannelInput) String() string
- func (s *UpdateEmailChannelInput) Validate() error
- type UpdateEmailChannelOutput
- type UpdateEmailChannelRequest
- type UpdateEndpointInput
- func (s UpdateEndpointInput) GoString() string
- func (s *UpdateEndpointInput) SetApplicationId(v string) *UpdateEndpointInput
- func (s *UpdateEndpointInput) SetEndpointId(v string) *UpdateEndpointInput
- func (s *UpdateEndpointInput) SetEndpointRequest(v *EndpointRequest) *UpdateEndpointInput
- func (s UpdateEndpointInput) String() string
- func (s *UpdateEndpointInput) Validate() error
- type UpdateEndpointOutput
- type UpdateEndpointRequest
- type UpdateEndpointsBatchInput
- func (s UpdateEndpointsBatchInput) GoString() string
- func (s *UpdateEndpointsBatchInput) SetApplicationId(v string) *UpdateEndpointsBatchInput
- func (s *UpdateEndpointsBatchInput) SetEndpointBatchRequest(v *EndpointBatchRequest) *UpdateEndpointsBatchInput
- func (s UpdateEndpointsBatchInput) String() string
- func (s *UpdateEndpointsBatchInput) Validate() error
- type UpdateEndpointsBatchOutput
- type UpdateEndpointsBatchRequest
- type UpdateGcmChannelInput
- func (s UpdateGcmChannelInput) GoString() string
- func (s *UpdateGcmChannelInput) SetApplicationId(v string) *UpdateGcmChannelInput
- func (s *UpdateGcmChannelInput) SetGCMChannelRequest(v *GCMChannelRequest) *UpdateGcmChannelInput
- func (s UpdateGcmChannelInput) String() string
- func (s *UpdateGcmChannelInput) Validate() error
- type UpdateGcmChannelOutput
- type UpdateGcmChannelRequest
- type UpdateSegmentInput
- func (s UpdateSegmentInput) GoString() string
- func (s *UpdateSegmentInput) SetApplicationId(v string) *UpdateSegmentInput
- func (s *UpdateSegmentInput) SetSegmentId(v string) *UpdateSegmentInput
- func (s *UpdateSegmentInput) SetWriteSegmentRequest(v *WriteSegmentRequest) *UpdateSegmentInput
- func (s UpdateSegmentInput) String() string
- func (s *UpdateSegmentInput) Validate() error
- type UpdateSegmentOutput
- type UpdateSegmentRequest
- type UpdateSmsChannelInput
- func (s UpdateSmsChannelInput) GoString() string
- func (s *UpdateSmsChannelInput) SetApplicationId(v string) *UpdateSmsChannelInput
- func (s *UpdateSmsChannelInput) SetSMSChannelRequest(v *SMSChannelRequest) *UpdateSmsChannelInput
- func (s UpdateSmsChannelInput) String() string
- func (s *UpdateSmsChannelInput) Validate() error
- type UpdateSmsChannelOutput
- type UpdateSmsChannelRequest
- type WriteApplicationSettingsRequest
- func (s WriteApplicationSettingsRequest) GoString() string
- func (s *WriteApplicationSettingsRequest) SetLimits(v *CampaignLimits) *WriteApplicationSettingsRequest
- func (s *WriteApplicationSettingsRequest) SetQuietTime(v *QuietTime) *WriteApplicationSettingsRequest
- func (s WriteApplicationSettingsRequest) String() string
- type WriteCampaignRequest
- func (s WriteCampaignRequest) GoString() string
- func (s *WriteCampaignRequest) SetAdditionalTreatments(v []WriteTreatmentResource) *WriteCampaignRequest
- func (s *WriteCampaignRequest) SetDescription(v string) *WriteCampaignRequest
- func (s *WriteCampaignRequest) SetHoldoutPercent(v int64) *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) SetTrace(v bool) *WriteCampaignRequest
- func (s *WriteCampaignRequest) SetTreatmentDescription(v string) *WriteCampaignRequest
- func (s *WriteCampaignRequest) SetTreatmentName(v string) *WriteCampaignRequest
- func (s WriteCampaignRequest) String() string
- type WriteEventStream
- type WriteSegmentRequest
- type WriteTreatmentResource
- func (s WriteTreatmentResource) GoString() string
- 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
- func (s WriteTreatmentResource) String() string
Constants ¶
const ( // ErrCodeBadRequestException for service response error code // "BadRequestException". ErrCodeBadRequestException = "BadRequestException" // ErrCodeForbiddenException for service response error code // "ForbiddenException". ErrCodeForbiddenException = "ForbiddenException" // ErrCodeInternalServerErrorException for service response error code // "InternalServerErrorException". ErrCodeInternalServerErrorException = "InternalServerErrorException" // ErrCodeMethodNotAllowedException for service response error code // "MethodNotAllowedException". ErrCodeMethodNotAllowedException = "MethodNotAllowedException" // ErrCodeNotFoundException for service response error code // "NotFoundException". ErrCodeNotFoundException = "NotFoundException" // ErrCodeTooManyRequestsException for service response error code // "TooManyRequestsException". ErrCodeTooManyRequestsException = "TooManyRequestsException" )
const ( ServiceName = "pinpoint" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ADMChannelRequest ¶
type ADMChannelRequest struct { // Client ID as gotten from Amazon ClientId *string `type:"string"` // Client secret as gotten from Amazon ClientSecret *string `type:"string"` // If the channel is enabled for sending messages. Enabled *bool `type:"boolean"` // contains filtered or unexported fields }
Amazon Device Messaging channel definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ADMChannelRequest
func (ADMChannelRequest) GoString ¶
func (s ADMChannelRequest) GoString() string
GoString returns the string representation
func (*ADMChannelRequest) 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
type ADMChannelResponse ¶
type ADMChannelResponse struct { // Application id ApplicationId *string `type:"string"` // When was this segment created CreationDate *string `type:"string"` // If the channel is enabled for sending messages. Enabled *bool `type:"boolean"` // Channel ID. Not used, only for backwards compatibility. Id *string `type:"string"` // Is this channel archived IsArchived *bool `type:"boolean"` // Who last updated this entry LastModifiedBy *string `type:"string"` // Last date this was updated LastModifiedDate *string `type:"string"` // Platform type. Will be "ADM" Platform *string `type:"string"` // Version of channel Version *int64 `type:"integer"` // contains filtered or unexported fields }
Amazon Device Messaging channel definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ADMChannelResponse
func (ADMChannelResponse) GoString ¶
func (s ADMChannelResponse) GoString() string
GoString returns the string representation
func (*ADMChannelResponse) 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) 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 that occurs if the user taps a push notification delivered by // the campaign: OPEN_APP - Your app launches, or it becomes the foreground // app if it has been sent to the background. This is the default action. DEEP_LINK // - Uses deep linking features in iOS and Android to open your app and display // a designated user interface within the app. URL - The default mobile browser // on the user's device launches and opens a web page at the URL you specify. // Possible values include: OPEN_APP | DEEP_LINK | URL Action Action `type:"string" enum:"true"` // The message body of the notification, the email body or the text message. Body *string `type:"string"` // Optional. Arbitrary string used to indicate multiple messages are logically // the same and that ADM is allowed to drop previously enqueued messages in // favor of this one. ConsolidationKey *string `type:"string"` Data map[string]string `type:"map"` // Optional. Number of seconds ADM should retain the message if the device is // offline ExpiresAfter *string `type:"string"` // The icon image name of the asset saved in your application. IconReference *string `type:"string"` // The URL that points to an image used as the large icon to the notification // content view. ImageIconUrl *string `type:"string"` // The URL that points to an image used in the push notification. ImageUrl *string `type:"string"` // The data payload used for a silent push. This payload is added to the notifications' // data.pinpoint.jsonBody' object JsonData *string `type:"string"` // Optional. Base-64-encoded MD5 checksum of the data parameter. Used to verify // data integrity MD5 *string `type:"string"` // The Raw JSON formatted string to be used as the payload. This value overrides // the message. RawContent *string `type:"string"` // Indicates if the message should display on the users device. Silent pushes // can be used for Remote Configuration and Phone Home use cases. SilentPush *bool `type:"boolean"` // The URL that points to an image used as the small icon for the notification // which will be used to represent the notification in the status bar and content // view SmallImageIconUrl *string `type:"string"` // Indicates a sound to play when the device receives the notification. Supports // default, or the filename of a sound resource bundled in the app. Android // sound files must reside in /res/raw/ Sound *string `type:"string"` Substitutions map[string][]string `type:"map"` // The message title that displays above the message on the user's device. Title *string `type:"string"` // The URL to open in the user's mobile browser. Used if the value for Action // is URL. Url *string `type:"string"` // contains filtered or unexported fields }
ADM Message. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ADMMessage
func (ADMMessage) GoString ¶
func (s ADMMessage) GoString() string
GoString returns the string representation
func (*ADMMessage) SetAction ¶
func (s *ADMMessage) SetAction(v Action) *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) SetJsonData ¶
func (s *ADMMessage) SetJsonData(v string) *ADMMessage
SetJsonData sets the JsonData 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 id used for APNs Tokens. BundleId *string `type:"string"` // The distribution certificate from Apple. Certificate *string `type:"string"` // The default authentication method used for APNs. DefaultAuthenticationMethod *string `type:"string"` // If the channel is enabled for sending messages. Enabled *bool `type:"boolean"` // The certificate private key. PrivateKey *string `type:"string"` // The team id used for APNs Tokens. TeamId *string `type:"string"` // The token key used for APNs Tokens. TokenKey *string `type:"string"` // The token key used for APNs Tokens. TokenKeyId *string `type:"string"` // contains filtered or unexported fields }
Apple Push Notification Service channel definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSChannelRequest
func (APNSChannelRequest) GoString ¶
func (s APNSChannelRequest) GoString() string
GoString returns the string representation
func (*APNSChannelRequest) 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 ID of the application to which the channel applies. ApplicationId *string `type:"string"` // When was this segment created CreationDate *string `type:"string"` // If the channel is enabled for sending messages. Enabled *bool `type:"boolean"` // Channel ID. Not used. Present only for backwards compatibility. Id *string `type:"string"` // Is this channel archived IsArchived *bool `type:"boolean"` // Who last updated this entry LastModifiedBy *string `type:"string"` // Last date this was updated LastModifiedDate *string `type:"string"` // The platform type. Will be APNS. Platform *string `type:"string"` // Version of channel Version *int64 `type:"integer"` // contains filtered or unexported fields }
Apple Distribution Push Notification Service channel definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSChannelResponse
func (APNSChannelResponse) GoString ¶
func (s APNSChannelResponse) GoString() string
GoString returns the string representation
func (*APNSChannelResponse) 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) SetEnabled ¶
func (s *APNSChannelResponse) SetEnabled(v bool) *APNSChannelResponse
SetEnabled sets the Enabled 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 that occurs if the user taps a push notification delivered by // the campaign: OPEN_APP - Your app launches, or it becomes the foreground // app if it has been sent to the background. This is the default action. DEEP_LINK // - Uses deep linking features in iOS and Android to open your app and display // a designated user interface within the app. URL - The default mobile browser // on the user's device launches and opens a web page at the URL you specify. // Possible values include: OPEN_APP | DEEP_LINK | URL Action Action `type:"string" enum:"true"` // Include this key when you want the system to modify the badge of your app // icon. If this key is not included in the dictionary, the badge is not changed. // To remove the badge, set the value of this key to 0. Badge *int64 `type:"integer"` // The message body of the notification, the email body or the text message. Body *string `type:"string"` // Provide this key with a string value that represents the notification's type. // This value corresponds to the value in the identifier property of one of // your app's registered categories. Category *string `type:"string"` Data map[string]string `type:"map"` // The data payload used for a silent push. This payload is added to the notifications' // data.pinpoint.jsonBody' object JsonData *string `type:"string"` // The URL that points to a video used in the push notification. MediaUrl *string `type:"string"` // The preferred authentication method, either "CERTIFICATE" or "TOKEN" PreferredAuthenticationMethod *string `type:"string"` // The Raw JSON formatted string to be used as the payload. This value overrides // the message. RawContent *string `type:"string"` // Indicates if the message should display on the users device. Silent pushes // can be used for Remote Configuration and Phone Home use cases. SilentPush *bool `type:"boolean"` // Include this key when you want the system to play a sound. The value of this // key is the name of a sound file in your app's main bundle or in the Library/Sounds // folder of your app's data container. If the sound file cannot be found, or // if you specify defaultfor the value, the system plays the default alert sound. Sound *string `type:"string"` Substitutions map[string][]string `type:"map"` // Provide this key with a string value that represents the app-specific identifier // for grouping notifications. If you provide a Notification Content app extension, // you can use this value to group your notifications together. ThreadId *string `type:"string"` // The message title that displays above the message on the user's device. Title *string `type:"string"` // The URL to open in the user's mobile browser. Used if the value for Action // is URL. Url *string `type:"string"` // contains filtered or unexported fields }
APNS Message. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSMessage
func (APNSMessage) GoString ¶
func (s APNSMessage) GoString() string
GoString returns the string representation
func (*APNSMessage) SetAction ¶
func (s *APNSMessage) SetAction(v Action) *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) SetData ¶
func (s *APNSMessage) SetData(v map[string]string) *APNSMessage
SetData sets the Data field's value.
func (*APNSMessage) SetJsonData ¶
func (s *APNSMessage) SetJsonData(v string) *APNSMessage
SetJsonData sets the JsonData 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) 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) 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 id used for APNs Tokens. BundleId *string `type:"string"` // The distribution certificate from Apple. Certificate *string `type:"string"` // The default authentication method used for APNs. DefaultAuthenticationMethod *string `type:"string"` // If the channel is enabled for sending messages. Enabled *bool `type:"boolean"` // The certificate private key. PrivateKey *string `type:"string"` // The team id used for APNs Tokens. TeamId *string `type:"string"` // The token key used for APNs Tokens. TokenKey *string `type:"string"` // The token key used for APNs Tokens. TokenKeyId *string `type:"string"` // contains filtered or unexported fields }
Apple Development Push Notification Service channel definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSSandboxChannelRequest
func (APNSSandboxChannelRequest) GoString ¶
func (s APNSSandboxChannelRequest) GoString() string
GoString returns the string representation
func (*APNSSandboxChannelRequest) 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 { // Application id ApplicationId *string `type:"string"` // When was this segment created CreationDate *string `type:"string"` // If the channel is enabled for sending messages. Enabled *bool `type:"boolean"` // Channel ID. Not used, only for backwards compatibility. Id *string `type:"string"` // Is this channel archived IsArchived *bool `type:"boolean"` // Who last updated this entry LastModifiedBy *string `type:"string"` // Last date this was updated LastModifiedDate *string `type:"string"` // The platform type. Will be APNS_SANDBOX. Platform *string `type:"string"` // Version of channel Version *int64 `type:"integer"` // contains filtered or unexported fields }
Apple Development Push Notification Service channel definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSSandboxChannelResponse
func (APNSSandboxChannelResponse) GoString ¶
func (s APNSSandboxChannelResponse) GoString() string
GoString returns the string representation
func (*APNSSandboxChannelResponse) 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) SetEnabled ¶
func (s *APNSSandboxChannelResponse) SetEnabled(v bool) *APNSSandboxChannelResponse
SetEnabled sets the Enabled 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 ActivitiesResponse ¶
type ActivitiesResponse struct { // List of campaign activities Item []ActivityResponse `type:"list"` // contains filtered or unexported fields }
Activities for campaign. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ActivitiesResponse
func (ActivitiesResponse) GoString ¶
func (s ActivitiesResponse) GoString() string
GoString returns the string representation
func (*ActivitiesResponse) SetItem ¶
func (s *ActivitiesResponse) SetItem(v []ActivityResponse) *ActivitiesResponse
SetItem sets the Item field's value.
func (ActivitiesResponse) String ¶
func (s ActivitiesResponse) String() string
String returns the string representation
type ActivityResponse ¶
type ActivityResponse struct { // The ID of the application to which the campaign applies. ApplicationId *string `type:"string"` // The ID of the campaign to which the activity applies. CampaignId *string `type:"string"` // The actual time the activity was marked CANCELLED or COMPLETED. Provided // in ISO 8601 format. End *string `type:"string"` // The unique activity ID. Id *string `type:"string"` // Indicates whether the activity succeeded.Valid values: SUCCESS, FAIL Result *string `type:"string"` // The scheduled start time for the activity in ISO 8601 format. ScheduledStart *string `type:"string"` // The actual start time of the activity in ISO 8601 format. Start *string `type:"string"` // The state of the activity.Valid values: PENDING, INITIALIZING, RUNNING, PAUSED, // CANCELLED, COMPLETED State *string `type:"string"` // The total number of endpoints to which the campaign successfully delivered // messages. SuccessfulEndpointCount *int64 `type:"integer"` // The total number of timezones completed. TimezonesCompletedCount *int64 `type:"integer"` // The total number of unique timezones present in the segment. TimezonesTotalCount *int64 `type:"integer"` // The total number of endpoints to which the campaign attempts to deliver messages. TotalEndpointCount *int64 `type:"integer"` // The ID of a variation of the campaign used for A/B testing. TreatmentId *string `type:"string"` // contains filtered or unexported fields }
Activity definition Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ActivityResponse
func (ActivityResponse) GoString ¶
func (s ActivityResponse) GoString() string
GoString returns the string representation
func (*ActivityResponse) 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 { // Body override. If specified will override default body. BodyOverride *string `type:"string"` // The channel type.Valid values: GCM | APNS | SMS | EMAIL ChannelType ChannelType `type:"string" enum:"true"` Context map[string]string `type:"map"` // The Raw JSON formatted string to be used as the payload. This value overrides // the message. RawContent *string `type:"string"` Substitutions map[string][]string `type:"map"` // Title override. If specified will override default title if applicable. TitleOverride *string `type:"string"` // contains filtered or unexported fields }
Address configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/AddressConfiguration
func (AddressConfiguration) GoString ¶
func (s AddressConfiguration) GoString() string
GoString returns the string representation
func (*AddressConfiguration) SetBodyOverride ¶
func (s *AddressConfiguration) SetBodyOverride(v string) *AddressConfiguration
SetBodyOverride sets the BodyOverride field's value.
func (*AddressConfiguration) SetChannelType ¶
func (s *AddressConfiguration) SetChannelType(v ChannelType) *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 ApplicationResponse ¶
type ApplicationResponse struct { // The unique application ID. Id *string `type:"string"` // The display name of the application. Name *string `type:"string"` // contains filtered or unexported fields }
Application Response. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ApplicationResponse
func (ApplicationResponse) GoString ¶
func (s ApplicationResponse) GoString() string
GoString returns the string representation
func (*ApplicationResponse) 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) String ¶
func (s ApplicationResponse) String() string
String returns the string representation
type ApplicationSettingsResource ¶
type ApplicationSettingsResource struct { // The unique ID for the application. ApplicationId *string `type:"string"` // The date that the settings were last updated in ISO 8601 format. LastModifiedDate *string `type:"string"` // The default campaign limits for the app. These limits apply to each campaign // for the app, unless the campaign overrides the default with limits of its // own. Limits *CampaignLimits `type:"structure"` // The default quiet time for the app. Each campaign for this app sends no messages // during this time unless the campaign overrides the default with a quiet time // of its own. QuietTime *QuietTime `type:"structure"` // contains filtered or unexported fields }
Application settings. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ApplicationSettingsResource
func (ApplicationSettingsResource) GoString ¶
func (s ApplicationSettingsResource) GoString() string
GoString returns the string representation
func (*ApplicationSettingsResource) SetApplicationId ¶
func (s *ApplicationSettingsResource) SetApplicationId(v string) *ApplicationSettingsResource
SetApplicationId sets the ApplicationId 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 { // List of applications returned in this page. Item []ApplicationResponse `type:"list"` // The string that you use in a subsequent request to get the next page of results // in a paginated response. NextToken *string `type:"string"` // contains filtered or unexported fields }
Get Applications Result. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ApplicationsResponse
func (ApplicationsResponse) GoString ¶
func (s ApplicationsResponse) GoString() string
GoString returns the string representation
func (*ApplicationsResponse) 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 dimension:INCLUSIVE - Endpoints that match the criteria are included // in the segment.EXCLUSIVE - Endpoints that match the criteria are excluded // from the segment. AttributeType AttributeType `type:"string" enum:"true"` Values []string `type:"list"` // contains filtered or unexported fields }
Custom attibute dimension Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/AttributeDimension
func (AttributeDimension) GoString ¶
func (s AttributeDimension) GoString() string
GoString returns the string representation
func (*AttributeDimension) SetAttributeType ¶
func (s *AttributeDimension) SetAttributeType(v AttributeType) *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
type AttributeType ¶
type AttributeType string
const ( AttributeTypeInclusive AttributeType = "INCLUSIVE" AttributeTypeExclusive AttributeType = "EXCLUSIVE" )
Enum values for AttributeType
type BaiduChannelRequest ¶
type BaiduChannelRequest struct { // Platform credential API key from Baidu. ApiKey *string `type:"string"` // If the channel is enabled for sending messages. Enabled *bool `type:"boolean"` // Platform credential Secret key from Baidu. SecretKey *string `type:"string"` // contains filtered or unexported fields }
Baidu Cloud Push credentials Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/BaiduChannelRequest
func (BaiduChannelRequest) GoString ¶
func (s BaiduChannelRequest) GoString() string
GoString returns the string representation
func (*BaiduChannelRequest) 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
type BaiduChannelResponse ¶
type BaiduChannelResponse struct { // Application id ApplicationId *string `type:"string"` // When was this segment created CreationDate *string `type:"string"` // The Baidu API key from Baidu. Credential *string `type:"string"` // If the channel is enabled for sending messages. Enabled *bool `type:"boolean"` // Channel ID. Not used, only for backwards compatibility. Id *string `type:"string"` // Is this channel archived IsArchived *bool `type:"boolean"` // Who made the last change LastModifiedBy *string `type:"string"` // Last date this was updated LastModifiedDate *string `type:"string"` // The platform type. Will be BAIDU Platform *string `type:"string"` // Version of channel Version *int64 `type:"integer"` // contains filtered or unexported fields }
Baidu Cloud Messaging channel definition Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/BaiduChannelResponse
func (BaiduChannelResponse) GoString ¶
func (s BaiduChannelResponse) GoString() string
GoString returns the string representation
func (*BaiduChannelResponse) 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) 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 that occurs if the user taps a push notification delivered by // the campaign: OPEN_APP - Your app launches, or it becomes the foreground // app if it has been sent to the background. This is the default action. DEEP_LINK // - Uses deep linking features in iOS and Android to open your app and display // a designated user interface within the app. URL - The default mobile browser // on the user's device launches and opens a web page at the URL you specify. // Possible values include: OPEN_APP | DEEP_LINK | URL Action Action `type:"string" enum:"true"` // The message body of the notification, the email body or the text message. Body *string `type:"string"` Data map[string]string `type:"map"` // The icon image name of the asset saved in your application. IconReference *string `type:"string"` // The URL that points to an image used as the large icon to the notification // content view. ImageIconUrl *string `type:"string"` // The URL that points to an image used in the push notification. ImageUrl *string `type:"string"` // The data payload used for a silent push. This payload is added to the notifications' // data.pinpoint.jsonBody' object JsonData *string `type:"string"` // The Raw JSON formatted string to be used as the payload. This value overrides // the message. RawContent *string `type:"string"` // Indicates if the message should display on the users device. Silent pushes // can be used for Remote Configuration and Phone Home use cases. SilentPush *bool `type:"boolean"` // The URL that points to an image used as the small icon for the notification // which will be used to represent the notification in the status bar and content // view SmallImageIconUrl *string `type:"string"` // Indicates a sound to play when the device receives the notification. Supports // default, or the filename of a sound resource bundled in the app. Android // sound files must reside in /res/raw/ Sound *string `type:"string"` Substitutions map[string][]string `type:"map"` // The message title that displays above the message on the user's device. Title *string `type:"string"` // The URL to open in the user's mobile browser. Used if the value for Action // is URL. Url *string `type:"string"` // contains filtered or unexported fields }
Baidu Message. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/BaiduMessage
func (BaiduMessage) GoString ¶
func (s BaiduMessage) GoString() string
GoString returns the string representation
func (*BaiduMessage) SetAction ¶
func (s *BaiduMessage) SetAction(v Action) *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) SetJsonData ¶
func (s *BaiduMessage) SetJsonData(v string) *BaiduMessage
SetJsonData sets the JsonData 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) 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 CampaignEmailMessage ¶
type CampaignEmailMessage struct { // The email text body. Body *string `type:"string"` // The email address used to send the email from. Defaults to use FromAddress // specified in the Email Channel. FromAddress *string `type:"string"` // The email html body. HtmlBody *string `type:"string"` // The email title (Or subject). Title *string `type:"string"` // contains filtered or unexported fields }
The email message configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignEmailMessage
func (CampaignEmailMessage) GoString ¶
func (s CampaignEmailMessage) GoString() string
GoString returns the string representation
func (*CampaignEmailMessage) 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
type CampaignLimits ¶
type CampaignLimits struct { // The maximum number of messages that the campaign can send daily. Daily *int64 `type:"integer"` // The maximum duration of a campaign from the scheduled start. Must be a minimum // of 60 seconds. MaximumDuration *int64 `type:"integer"` // The maximum number of messages per second that the campaign will send. This // is a best effort maximum cap and can go as high as 20000 and as low as 50 MessagesPerSecond *int64 `type:"integer"` // The maximum total number of messages that the campaign can send. Total *int64 `type:"integer"` // contains filtered or unexported fields }
Campaign Limits are used to limit the number of messages that can be sent to a user. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignLimits
func (CampaignLimits) GoString ¶
func (s CampaignLimits) GoString() string
GoString returns the string representation
func (*CampaignLimits) 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 { // Treatments that are defined in addition to the default treatment. AdditionalTreatments []TreatmentResource `type:"list"` // The ID of the application to which the campaign applies. ApplicationId *string `type:"string"` // The date the campaign was created in ISO 8601 format. CreationDate *string `type:"string"` // The status of the campaign's default treatment. Only present for A/B test // campaigns. DefaultState *CampaignState `type:"structure"` // A description of the campaign. Description *string `type:"string"` // The allocated percentage of end users who will not receive messages from // this campaign. HoldoutPercent *int64 `type:"integer"` // The unique campaign ID. Id *string `type:"string"` // Indicates whether the campaign is paused. A paused campaign does not send // messages unless you resume it by setting IsPaused to false. IsPaused *bool `type:"boolean"` // The date the campaign was last updated in ISO 8601 format. LastModifiedDate *string `type:"string"` // The campaign limits settings. Limits *CampaignLimits `type:"structure"` // The message configuration settings. MessageConfiguration *MessageConfiguration `type:"structure"` // The custom name of the campaign. Name *string `type:"string"` // The campaign schedule. Schedule *Schedule `type:"structure"` // The ID of the segment to which the campaign sends messages. SegmentId *string `type:"string"` // The version of the segment to which the campaign sends messages. SegmentVersion *int64 `type:"integer"` // The campaign status.An A/B test campaign will have a status of COMPLETED // only when all treatments have a status of COMPLETED. State *CampaignState `type:"structure"` // A custom description for the treatment. TreatmentDescription *string `type:"string"` // The custom name of a variation of the campaign used for A/B testing. TreatmentName *string `type:"string"` // The campaign version number. Version *int64 `type:"integer"` // contains filtered or unexported fields }
Campaign definition Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignResponse
func (CampaignResponse) GoString ¶
func (s CampaignResponse) GoString() string
GoString returns the string representation
func (*CampaignResponse) 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) 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) 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) 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 SMS text body. Body *string `type:"string"` // Is this is a transactional SMS message, otherwise a promotional message. MessageType MessageType `type:"string" enum:"true"` // Sender ID of sent message. SenderId *string `type:"string"` // contains filtered or unexported fields }
SMS message configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignSmsMessage
func (CampaignSmsMessage) GoString ¶
func (s CampaignSmsMessage) GoString() string
GoString returns the string representation
func (*CampaignSmsMessage) SetBody ¶
func (s *CampaignSmsMessage) SetBody(v string) *CampaignSmsMessage
SetBody sets the Body field's value.
func (*CampaignSmsMessage) SetMessageType ¶
func (s *CampaignSmsMessage) SetMessageType(v MessageType) *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.Valid values: SCHEDULED, EXECUTING, PENDING_NEXT_RUN, // COMPLETED, PAUSED CampaignStatus CampaignStatus `type:"string" enum:"true"` // contains filtered or unexported fields }
State of the Campaign Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignState
func (CampaignState) GoString ¶
func (s CampaignState) GoString() string
GoString returns the string representation
func (*CampaignState) SetCampaignStatus ¶
func (s *CampaignState) SetCampaignStatus(v CampaignStatus) *CampaignState
SetCampaignStatus sets the CampaignStatus field's value.
func (CampaignState) String ¶
func (s CampaignState) String() string
String returns the string representation
type CampaignStatus ¶
type CampaignStatus string
const ( CampaignStatusScheduled CampaignStatus = "SCHEDULED" CampaignStatusExecuting CampaignStatus = "EXECUTING" CampaignStatusPendingNextRun CampaignStatus = "PENDING_NEXT_RUN" CampaignStatusCompleted CampaignStatus = "COMPLETED" CampaignStatusPaused CampaignStatus = "PAUSED" )
Enum values for CampaignStatus
type CampaignsResponse ¶
type CampaignsResponse struct { // A list of campaigns. Item []CampaignResponse `type:"list"` // The string that you use in a subsequent request to get the next page of results // in a paginated response. NextToken *string `type:"string"` // contains filtered or unexported fields }
List of available campaigns. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignsResponse
func (CampaignsResponse) GoString ¶
func (s CampaignsResponse) GoString() string
GoString returns the string representation
func (*CampaignsResponse) 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 ChannelType ¶
type ChannelType string
const ( ChannelTypeGcm ChannelType = "GCM" ChannelTypeApns ChannelType = "APNS" ChannelTypeApnsSandbox ChannelType = "APNS_SANDBOX" ChannelTypeAdm ChannelType = "ADM" ChannelTypeSms ChannelType = "SMS" ChannelTypeEmail ChannelType = "EMAIL" ChannelTypeBaidu ChannelType = "BAIDU" )
Enum values for ChannelType
type CreateAppInput ¶
type CreateAppInput struct { // Application Request. // // CreateApplicationRequest is a required field CreateApplicationRequest *CreateApplicationRequest `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateAppRequest
func (CreateAppInput) GoString ¶
func (s CreateAppInput) GoString() string
GoString returns the string representation
func (*CreateAppInput) 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 { // Application Response. // // ApplicationResponse is a required field ApplicationResponse *ApplicationResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateAppResponse
func (CreateAppOutput) GoString ¶
func (s CreateAppOutput) GoString() string
GoString returns the string representation
func (CreateAppOutput) SDKResponseMetadata ¶
func (s CreateAppOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 CreateAppRequest ¶
type CreateAppRequest struct { *aws.Request Input *CreateAppInput }
CreateAppRequest is a API request type for the CreateApp API operation.
func (CreateAppRequest) Send ¶
func (r CreateAppRequest) Send() (*CreateAppOutput, error)
Send marshals and sends the CreateApp API request.
type CreateApplicationRequest ¶
type CreateApplicationRequest struct { // The display name of the application. Used in the Amazon Pinpoint console. Name *string `type:"string"` // contains filtered or unexported fields }
Application Request. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateApplicationRequest
func (CreateApplicationRequest) GoString ¶
func (s CreateApplicationRequest) GoString() string
GoString returns the string representation
func (*CreateApplicationRequest) SetName ¶
func (s *CreateApplicationRequest) SetName(v string) *CreateApplicationRequest
SetName sets the Name field's value.
func (CreateApplicationRequest) String ¶
func (s CreateApplicationRequest) String() string
String returns the string representation
type CreateCampaignInput ¶
type CreateCampaignInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // Used to create a campaign. // // WriteCampaignRequest is a required field WriteCampaignRequest *WriteCampaignRequest `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateCampaignRequest
func (CreateCampaignInput) GoString ¶
func (s CreateCampaignInput) GoString() string
GoString returns the string representation
func (*CreateCampaignInput) 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 { // Campaign definition // // CampaignResponse is a required field CampaignResponse *CampaignResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateCampaignResponse
func (CreateCampaignOutput) GoString ¶
func (s CreateCampaignOutput) GoString() string
GoString returns the string representation
func (CreateCampaignOutput) SDKResponseMetadata ¶
func (s CreateCampaignOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 CreateCampaignRequest ¶
type CreateCampaignRequest struct { *aws.Request Input *CreateCampaignInput }
CreateCampaignRequest is a API request type for the CreateCampaign API operation.
func (CreateCampaignRequest) Send ¶
func (r CreateCampaignRequest) Send() (*CreateCampaignOutput, error)
Send marshals and sends the CreateCampaign API request.
type CreateImportJobInput ¶
type CreateImportJobInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // ImportJobRequest is a required field ImportJobRequest *ImportJobRequest `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateImportJobRequest
func (CreateImportJobInput) GoString ¶
func (s CreateImportJobInput) GoString() string
GoString returns the string representation
func (*CreateImportJobInput) 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 { // ImportJobResponse is a required field ImportJobResponse *ImportJobResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateImportJobResponse
func (CreateImportJobOutput) GoString ¶
func (s CreateImportJobOutput) GoString() string
GoString returns the string representation
func (CreateImportJobOutput) SDKResponseMetadata ¶
func (s CreateImportJobOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 CreateImportJobRequest ¶
type CreateImportJobRequest struct { *aws.Request Input *CreateImportJobInput }
CreateImportJobRequest is a API request type for the CreateImportJob API operation.
func (CreateImportJobRequest) Send ¶
func (r CreateImportJobRequest) Send() (*CreateImportJobOutput, error)
Send marshals and sends the CreateImportJob API request.
type CreateSegmentInput ¶
type CreateSegmentInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // Segment definition. // // WriteSegmentRequest is a required field WriteSegmentRequest *WriteSegmentRequest `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateSegmentRequest
func (CreateSegmentInput) GoString ¶
func (s CreateSegmentInput) GoString() string
GoString returns the string representation
func (*CreateSegmentInput) 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 { // Segment definition. // // SegmentResponse is a required field SegmentResponse *SegmentResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateSegmentResponse
func (CreateSegmentOutput) GoString ¶
func (s CreateSegmentOutput) GoString() string
GoString returns the string representation
func (CreateSegmentOutput) SDKResponseMetadata ¶
func (s CreateSegmentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 CreateSegmentRequest ¶
type CreateSegmentRequest struct { *aws.Request Input *CreateSegmentInput }
CreateSegmentRequest is a API request type for the CreateSegment API operation.
func (CreateSegmentRequest) Send ¶
func (r CreateSegmentRequest) Send() (*CreateSegmentOutput, error)
Send marshals and sends the CreateSegment API request.
type DefaultMessage ¶
type DefaultMessage struct { // The message body of the notification, the email body or the text message. Body *string `type:"string"` Substitutions map[string][]string `type:"map"` // contains filtered or unexported fields }
Default Message across push notification, email, and sms. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DefaultMessage
func (DefaultMessage) GoString ¶
func (s DefaultMessage) GoString() string
GoString returns the string representation
func (*DefaultMessage) 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 action that occurs if the user taps a push notification delivered by // the campaign: OPEN_APP - Your app launches, or it becomes the foreground // app if it has been sent to the background. This is the default action. DEEP_LINK // - Uses deep linking features in iOS and Android to open your app and display // a designated user interface within the app. URL - The default mobile browser // on the user's device launches and opens a web page at the URL you specify. // Possible values include: OPEN_APP | DEEP_LINK | URL Action Action `type:"string" enum:"true"` // The message body of the notification, the email body or the text message. Body *string `type:"string"` Data map[string]string `type:"map"` // The data payload used for a silent push. This payload is added to the notifications' // data.pinpoint.jsonBody' object JsonData *string `type:"string"` // Indicates if the message should display on the users device. Silent pushes // can be used for Remote Configuration and Phone Home use cases. SilentPush *bool `type:"boolean"` Substitutions map[string][]string `type:"map"` // The message title that displays above the message on the user's device. Title *string `type:"string"` // The URL to open in the user's mobile browser. Used if the value for Action // is URL. Url *string `type:"string"` // contains filtered or unexported fields }
Default Push Notification Message. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DefaultPushNotificationMessage
func (DefaultPushNotificationMessage) GoString ¶
func (s DefaultPushNotificationMessage) GoString() string
GoString returns the string representation
func (*DefaultPushNotificationMessage) SetAction ¶
func (s *DefaultPushNotificationMessage) SetAction(v Action) *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) SetJsonData ¶
func (s *DefaultPushNotificationMessage) SetJsonData(v string) *DefaultPushNotificationMessage
SetJsonData sets the JsonData 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteAdmChannelRequest
func (DeleteAdmChannelInput) GoString ¶
func (s DeleteAdmChannelInput) GoString() string
GoString returns the string representation
func (*DeleteAdmChannelInput) 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 { // Amazon Device Messaging channel definition. // // ADMChannelResponse is a required field ADMChannelResponse *ADMChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteAdmChannelResponse
func (DeleteAdmChannelOutput) GoString ¶
func (s DeleteAdmChannelOutput) GoString() string
GoString returns the string representation
func (DeleteAdmChannelOutput) SDKResponseMetadata ¶
func (s DeleteAdmChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 DeleteAdmChannelRequest ¶
type DeleteAdmChannelRequest struct { *aws.Request Input *DeleteAdmChannelInput }
DeleteAdmChannelRequest is a API request type for the DeleteAdmChannel API operation.
func (DeleteAdmChannelRequest) Send ¶
func (r DeleteAdmChannelRequest) Send() (*DeleteAdmChannelOutput, error)
Send marshals and sends the DeleteAdmChannel API request.
type DeleteApnsChannelInput ¶
type DeleteApnsChannelInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsChannelRequest
func (DeleteApnsChannelInput) GoString ¶
func (s DeleteApnsChannelInput) GoString() string
GoString returns the string representation
func (*DeleteApnsChannelInput) 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 { // Apple Distribution Push Notification Service channel definition. // // APNSChannelResponse is a required field APNSChannelResponse *APNSChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsChannelResponse
func (DeleteApnsChannelOutput) GoString ¶
func (s DeleteApnsChannelOutput) GoString() string
GoString returns the string representation
func (DeleteApnsChannelOutput) SDKResponseMetadata ¶
func (s DeleteApnsChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 DeleteApnsChannelRequest ¶
type DeleteApnsChannelRequest struct { *aws.Request Input *DeleteApnsChannelInput }
DeleteApnsChannelRequest is a API request type for the DeleteApnsChannel API operation.
func (DeleteApnsChannelRequest) Send ¶
func (r DeleteApnsChannelRequest) Send() (*DeleteApnsChannelOutput, error)
Send marshals and sends the DeleteApnsChannel API request.
type DeleteApnsSandboxChannelInput ¶
type DeleteApnsSandboxChannelInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsSandboxChannelRequest
func (DeleteApnsSandboxChannelInput) GoString ¶
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 { // Apple Development Push Notification Service channel definition. // // APNSSandboxChannelResponse is a required field APNSSandboxChannelResponse *APNSSandboxChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsSandboxChannelResponse
func (DeleteApnsSandboxChannelOutput) GoString ¶
func (s DeleteApnsSandboxChannelOutput) GoString() string
GoString returns the string representation
func (DeleteApnsSandboxChannelOutput) SDKResponseMetadata ¶
func (s DeleteApnsSandboxChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 DeleteApnsSandboxChannelRequest ¶
type DeleteApnsSandboxChannelRequest struct { *aws.Request Input *DeleteApnsSandboxChannelInput }
DeleteApnsSandboxChannelRequest is a API request type for the DeleteApnsSandboxChannel API operation.
func (DeleteApnsSandboxChannelRequest) Send ¶
func (r DeleteApnsSandboxChannelRequest) Send() (*DeleteApnsSandboxChannelOutput, error)
Send marshals and sends the DeleteApnsSandboxChannel API request.
type DeleteAppInput ¶
type DeleteAppInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteAppRequest
func (DeleteAppInput) GoString ¶
func (s DeleteAppInput) GoString() string
GoString returns the string representation
func (*DeleteAppInput) 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 { // Application Response. // // ApplicationResponse is a required field ApplicationResponse *ApplicationResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteAppResponse
func (DeleteAppOutput) GoString ¶
func (s DeleteAppOutput) GoString() string
GoString returns the string representation
func (DeleteAppOutput) SDKResponseMetadata ¶
func (s DeleteAppOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 DeleteAppRequest ¶
type DeleteAppRequest struct { *aws.Request Input *DeleteAppInput }
DeleteAppRequest is a API request type for the DeleteApp API operation.
func (DeleteAppRequest) Send ¶
func (r DeleteAppRequest) Send() (*DeleteAppOutput, error)
Send marshals and sends the DeleteApp API request.
type DeleteBaiduChannelInput ¶
type DeleteBaiduChannelInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteBaiduChannelRequest
func (DeleteBaiduChannelInput) GoString ¶
func (s DeleteBaiduChannelInput) GoString() string
GoString returns the string representation
func (*DeleteBaiduChannelInput) 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 { // Baidu Cloud Messaging channel definition // // BaiduChannelResponse is a required field BaiduChannelResponse *BaiduChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteBaiduChannelResponse
func (DeleteBaiduChannelOutput) GoString ¶
func (s DeleteBaiduChannelOutput) GoString() string
GoString returns the string representation
func (DeleteBaiduChannelOutput) SDKResponseMetadata ¶
func (s DeleteBaiduChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 DeleteBaiduChannelRequest ¶
type DeleteBaiduChannelRequest struct { *aws.Request Input *DeleteBaiduChannelInput }
DeleteBaiduChannelRequest is a API request type for the DeleteBaiduChannel API operation.
func (DeleteBaiduChannelRequest) Send ¶
func (r DeleteBaiduChannelRequest) Send() (*DeleteBaiduChannelOutput, error)
Send marshals and sends the DeleteBaiduChannel API request.
type DeleteCampaignInput ¶
type DeleteCampaignInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // CampaignId is a required field CampaignId *string `location:"uri" locationName:"campaign-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteCampaignRequest
func (DeleteCampaignInput) GoString ¶
func (s DeleteCampaignInput) GoString() string
GoString returns the string representation
func (*DeleteCampaignInput) 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 { // Campaign definition // // CampaignResponse is a required field CampaignResponse *CampaignResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteCampaignResponse
func (DeleteCampaignOutput) GoString ¶
func (s DeleteCampaignOutput) GoString() string
GoString returns the string representation
func (DeleteCampaignOutput) SDKResponseMetadata ¶
func (s DeleteCampaignOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 DeleteCampaignRequest ¶
type DeleteCampaignRequest struct { *aws.Request Input *DeleteCampaignInput }
DeleteCampaignRequest is a API request type for the DeleteCampaign API operation.
func (DeleteCampaignRequest) Send ¶
func (r DeleteCampaignRequest) Send() (*DeleteCampaignOutput, error)
Send marshals and sends the DeleteCampaign API request.
type DeleteEmailChannelInput ¶
type DeleteEmailChannelInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEmailChannelRequest
func (DeleteEmailChannelInput) GoString ¶
func (s DeleteEmailChannelInput) GoString() string
GoString returns the string representation
func (*DeleteEmailChannelInput) 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 { // Email Channel Response. // // EmailChannelResponse is a required field EmailChannelResponse *EmailChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEmailChannelResponse
func (DeleteEmailChannelOutput) GoString ¶
func (s DeleteEmailChannelOutput) GoString() string
GoString returns the string representation
func (DeleteEmailChannelOutput) SDKResponseMetadata ¶
func (s DeleteEmailChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 DeleteEmailChannelRequest ¶
type DeleteEmailChannelRequest struct { *aws.Request Input *DeleteEmailChannelInput }
DeleteEmailChannelRequest is a API request type for the DeleteEmailChannel API operation.
func (DeleteEmailChannelRequest) Send ¶
func (r DeleteEmailChannelRequest) Send() (*DeleteEmailChannelOutput, error)
Send marshals and sends the DeleteEmailChannel API request.
type DeleteEventStreamInput ¶
type DeleteEventStreamInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEventStreamRequest
func (DeleteEventStreamInput) GoString ¶
func (s DeleteEventStreamInput) GoString() string
GoString returns the string representation
func (*DeleteEventStreamInput) 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 { // Model for an event publishing subscription export. // // EventStream is a required field EventStream *EventStream `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEventStreamResponse
func (DeleteEventStreamOutput) GoString ¶
func (s DeleteEventStreamOutput) GoString() string
GoString returns the string representation
func (DeleteEventStreamOutput) SDKResponseMetadata ¶
func (s DeleteEventStreamOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 DeleteEventStreamRequest ¶
type DeleteEventStreamRequest struct { *aws.Request Input *DeleteEventStreamInput }
DeleteEventStreamRequest is a API request type for the DeleteEventStream API operation.
func (DeleteEventStreamRequest) Send ¶
func (r DeleteEventStreamRequest) Send() (*DeleteEventStreamOutput, error)
Send marshals and sends the DeleteEventStream API request.
type DeleteGcmChannelInput ¶
type DeleteGcmChannelInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteGcmChannelRequest
func (DeleteGcmChannelInput) GoString ¶
func (s DeleteGcmChannelInput) GoString() string
GoString returns the string representation
func (*DeleteGcmChannelInput) 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 { // Google Cloud Messaging channel definition // // GCMChannelResponse is a required field GCMChannelResponse *GCMChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteGcmChannelResponse
func (DeleteGcmChannelOutput) GoString ¶
func (s DeleteGcmChannelOutput) GoString() string
GoString returns the string representation
func (DeleteGcmChannelOutput) SDKResponseMetadata ¶
func (s DeleteGcmChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 DeleteGcmChannelRequest ¶
type DeleteGcmChannelRequest struct { *aws.Request Input *DeleteGcmChannelInput }
DeleteGcmChannelRequest is a API request type for the DeleteGcmChannel API operation.
func (DeleteGcmChannelRequest) Send ¶
func (r DeleteGcmChannelRequest) Send() (*DeleteGcmChannelOutput, error)
Send marshals and sends the DeleteGcmChannel API request.
type DeleteSegmentInput ¶
type DeleteSegmentInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // SegmentId is a required field SegmentId *string `location:"uri" locationName:"segment-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSegmentRequest
func (DeleteSegmentInput) GoString ¶
func (s DeleteSegmentInput) GoString() string
GoString returns the string representation
func (*DeleteSegmentInput) 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 { // Segment definition. // // SegmentResponse is a required field SegmentResponse *SegmentResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSegmentResponse
func (DeleteSegmentOutput) GoString ¶
func (s DeleteSegmentOutput) GoString() string
GoString returns the string representation
func (DeleteSegmentOutput) SDKResponseMetadata ¶
func (s DeleteSegmentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 DeleteSegmentRequest ¶
type DeleteSegmentRequest struct { *aws.Request Input *DeleteSegmentInput }
DeleteSegmentRequest is a API request type for the DeleteSegment API operation.
func (DeleteSegmentRequest) Send ¶
func (r DeleteSegmentRequest) Send() (*DeleteSegmentOutput, error)
Send marshals and sends the DeleteSegment API request.
type DeleteSmsChannelInput ¶
type DeleteSmsChannelInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSmsChannelRequest
func (DeleteSmsChannelInput) GoString ¶
func (s DeleteSmsChannelInput) GoString() string
GoString returns the string representation
func (*DeleteSmsChannelInput) 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 { // SMS Channel Response. // // SMSChannelResponse is a required field SMSChannelResponse *SMSChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSmsChannelResponse
func (DeleteSmsChannelOutput) GoString ¶
func (s DeleteSmsChannelOutput) GoString() string
GoString returns the string representation
func (DeleteSmsChannelOutput) SDKResponseMetadata ¶
func (s DeleteSmsChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 DeleteSmsChannelRequest ¶
type DeleteSmsChannelRequest struct { *aws.Request Input *DeleteSmsChannelInput }
DeleteSmsChannelRequest is a API request type for the DeleteSmsChannel API operation.
func (DeleteSmsChannelRequest) Send ¶
func (r DeleteSmsChannelRequest) Send() (*DeleteSmsChannelOutput, error)
Send marshals and sends the DeleteSmsChannel API request.
type DeliveryStatus ¶
type DeliveryStatus string
const ( DeliveryStatusSuccessful DeliveryStatus = "SUCCESSFUL" DeliveryStatusThrottled DeliveryStatus = "THROTTLED" DeliveryStatusTemporaryFailure DeliveryStatus = "TEMPORARY_FAILURE" DeliveryStatusPermanentFailure DeliveryStatus = "PERMANENT_FAILURE" DeliveryStatusUnknownFailure DeliveryStatus = "UNKNOWN_FAILURE" DeliveryStatusOptOut DeliveryStatus = "OPT_OUT" DeliveryStatusDuplicate DeliveryStatus = "DUPLICATE" )
Enum values for DeliveryStatus
type DimensionType ¶
type DimensionType string
const ( DimensionTypeInclusive DimensionType = "INCLUSIVE" DimensionTypeExclusive DimensionType = "EXCLUSIVE" )
Enum values for DimensionType
type DirectMessageConfiguration ¶
type DirectMessageConfiguration struct { // The message to ADM channels. Overrides the default push notification message. ADMMessage *ADMMessage `type:"structure"` // The message to APNS channels. Overrides the default push notification message. APNSMessage *APNSMessage `type:"structure"` // The message to Baidu GCM channels. Overrides the default push notification // message. BaiduMessage *BaiduMessage `type:"structure"` // The default message for all channels. DefaultMessage *DefaultMessage `type:"structure"` // The default push notification message for all push channels. DefaultPushNotificationMessage *DefaultPushNotificationMessage `type:"structure"` // The message to Email channels. Overrides the default message. EmailMessage *EmailMessage `type:"structure"` // The message to GCM channels. Overrides the default push notification message. GCMMessage *GCMMessage `type:"structure"` // The message to SMS channels. Overrides the default message. SMSMessage *SMSMessage `type:"structure"` // contains filtered or unexported fields }
The message configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DirectMessageConfiguration
func (DirectMessageConfiguration) GoString ¶
func (s DirectMessageConfiguration) GoString() string
GoString returns the string representation
func (*DirectMessageConfiguration) 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) String ¶
func (s DirectMessageConfiguration) String() string
String returns the string representation
type EmailChannelRequest ¶
type EmailChannelRequest struct { // If the channel is enabled for sending messages. Enabled *bool `type:"boolean"` // The email address used to send emails from. FromAddress *string `type:"string"` // The ARN of an identity verified with SES. Identity *string `type:"string"` // The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion // service RoleArn *string `type:"string"` // contains filtered or unexported fields }
Email Channel Request Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EmailChannelRequest
func (EmailChannelRequest) GoString ¶
func (s EmailChannelRequest) GoString() string
GoString returns the string representation
func (*EmailChannelRequest) 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
type EmailChannelResponse ¶
type EmailChannelResponse struct { // The unique ID of the application to which the email channel belongs. ApplicationId *string `type:"string"` // The date that the settings were last updated in ISO 8601 format. CreationDate *string `type:"string"` // If the channel is enabled for sending messages. Enabled *bool `type:"boolean"` // The email address used to send emails from. FromAddress *string `type:"string"` // Channel ID. Not used, only for backwards compatibility. Id *string `type:"string"` // The ARN of an identity verified with SES. Identity *string `type:"string"` // Is this channel archived IsArchived *bool `type:"boolean"` // Who last updated this entry LastModifiedBy *string `type:"string"` // Last date this was updated LastModifiedDate *string `type:"string"` // Platform type. Will be "EMAIL" Platform *string `type:"string"` // The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion // service RoleArn *string `type:"string"` // Version of channel Version *int64 `type:"integer"` // contains filtered or unexported fields }
Email Channel Response. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EmailChannelResponse
func (EmailChannelResponse) GoString ¶
func (s EmailChannelResponse) GoString() string
GoString returns the string representation
func (*EmailChannelResponse) SetApplicationId ¶
func (s *EmailChannelResponse) SetApplicationId(v string) *EmailChannelResponse
SetApplicationId sets the ApplicationId 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) 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) 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 message body of the notification, the email body or the text message. Body *string `type:"string"` // The email address used to send the email from. Defaults to use FromAddress // specified in the Email Channel. FromAddress *string `type:"string"` // The HTML part of the email. HtmlBody *string `type:"string"` Substitutions map[string][]string `type:"map"` // The ARN of the template to use for the email. TemplateArn *string `type:"string"` // The subject of the email. Title *string `type:"string"` // contains filtered or unexported fields }
Email Message. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EmailMessage
func (EmailMessage) GoString ¶
func (s EmailMessage) GoString() string
GoString returns the string representation
func (*EmailMessage) SetBody ¶
func (s *EmailMessage) SetBody(v string) *EmailMessage
SetBody sets the Body field's value.
func (*EmailMessage) SetFromAddress ¶
func (s *EmailMessage) SetFromAddress(v string) *EmailMessage
SetFromAddress sets the FromAddress field's value.
func (*EmailMessage) SetHtmlBody ¶
func (s *EmailMessage) SetHtmlBody(v string) *EmailMessage
SetHtmlBody sets the HtmlBody field's value.
func (*EmailMessage) SetSubstitutions ¶
func (s *EmailMessage) SetSubstitutions(v map[string][]string) *EmailMessage
SetSubstitutions sets the Substitutions field's value.
func (*EmailMessage) SetTemplateArn ¶
func (s *EmailMessage) SetTemplateArn(v string) *EmailMessage
SetTemplateArn sets the TemplateArn field's value.
func (*EmailMessage) SetTitle ¶
func (s *EmailMessage) SetTitle(v string) *EmailMessage
SetTitle sets the Title field's value.
func (EmailMessage) String ¶
func (s EmailMessage) String() string
String returns the string representation
type EndpointBatchItem ¶
type EndpointBatchItem struct { // The address or token of the endpoint as provided by your push provider (e.g. // DeviceToken or RegistrationId). Address *string `type:"string"` Attributes map[string][]string `type:"map"` // The channel type.Valid values: GCM | APNS | SMS | EMAIL ChannelType ChannelType `type:"string" enum:"true"` // The endpoint demographic attributes. Demographic *EndpointDemographic `type:"structure"` // The last time the endpoint was updated. Provided in ISO 8601 format. EffectiveDate *string `type:"string"` // The endpoint status. Can be either ACTIVE or INACTIVE. Will be set to INACTIVE // if a delivery fails. Will be set to ACTIVE if the address is updated. EndpointStatus *string `type:"string"` // The unique Id for the Endpoint in the batch. Id *string `type:"string"` // The endpoint location attributes. Location *EndpointLocation `type:"structure"` Metrics map[string]float64 `type:"map"` // Indicates whether a user has opted out of receiving messages with one of // the following values:ALL - User has opted out of all messages.NONE - Users // has not opted out and receives all messages. OptOut *string `type:"string"` // The unique ID for the most recent request to update the endpoint. RequestId *string `type:"string"` // Custom user-specific attributes that your app reports to Amazon Pinpoint. User *EndpointUser `type:"structure"` // contains filtered or unexported fields }
Endpoint update request Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointBatchItem
func (EndpointBatchItem) GoString ¶
func (s EndpointBatchItem) GoString() string
GoString returns the string representation
func (*EndpointBatchItem) 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 ChannelType) *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 { // List of items to update. Maximum 100 items Item []EndpointBatchItem `type:"list"` // contains filtered or unexported fields }
Endpoint batch update request. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointBatchRequest
func (EndpointBatchRequest) GoString ¶
func (s EndpointBatchRequest) GoString() string
GoString returns the string representation
func (*EndpointBatchRequest) 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
type EndpointDemographic ¶
type EndpointDemographic struct { // The version of the application associated with the endpoint. AppVersion *string `type:"string"` // The endpoint locale in the following format: The ISO 639-1 alpha-2 code, // followed by an underscore, followed by an ISO 3166-1 alpha-2 value. Locale *string `type:"string"` // The endpoint make, such as such as Apple or Samsung. Make *string `type:"string"` // The endpoint model, such as iPhone. Model *string `type:"string"` // The endpoint model version. ModelVersion *string `type:"string"` // The endpoint platform, such as ios or android. Platform *string `type:"string"` // The endpoint platform version. PlatformVersion *string `type:"string"` // The timezone of the endpoint. Specified as a tz database value, such as Americas/Los_Angeles. Timezone *string `type:"string"` // contains filtered or unexported fields }
Endpoint demographic data Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointDemographic
func (EndpointDemographic) GoString ¶
func (s EndpointDemographic) GoString() string
GoString returns the string representation
func (*EndpointDemographic) 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 EndpointLocation ¶
type EndpointLocation struct { // The city where the endpoint is located. City *string `type:"string"` // Country according to ISO 3166-1 Alpha-2 codes. For example, US. Country *string `type:"string"` // The latitude of the endpoint location. Rounded to one decimal (Roughly corresponding // to a mile). Latitude *float64 `type:"double"` // The longitude of the endpoint location. Rounded to one decimal (Roughly corresponding // to a mile). Longitude *float64 `type:"double"` // The postal code or zip code of the endpoint. PostalCode *string `type:"string"` // The region of the endpoint location. For example, corresponds to a state // in US. Region *string `type:"string"` // contains filtered or unexported fields }
Endpoint location data Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointLocation
func (EndpointLocation) GoString ¶
func (s EndpointLocation) GoString() string
GoString returns the string representation
func (*EndpointLocation) 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 { // Address that endpoint message was delivered to. Address *string `type:"string"` // Delivery status of message. DeliveryStatus DeliveryStatus `type:"string" enum:"true"` // Downstream service status code. StatusCode *int64 `type:"integer"` // Status message for message delivery. StatusMessage *string `type:"string"` // If token was updated as part of delivery. (This is GCM Specific) UpdatedToken *string `type:"string"` // contains filtered or unexported fields }
The result from sending a message to an endpoint. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointMessageResult
func (EndpointMessageResult) GoString ¶
func (s EndpointMessageResult) GoString() string
GoString returns the string representation
func (*EndpointMessageResult) SetAddress ¶
func (s *EndpointMessageResult) SetAddress(v string) *EndpointMessageResult
SetAddress sets the Address field's value.
func (*EndpointMessageResult) SetDeliveryStatus ¶
func (s *EndpointMessageResult) SetDeliveryStatus(v DeliveryStatus) *EndpointMessageResult
SetDeliveryStatus sets the DeliveryStatus 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 address or token of the endpoint as provided by your push provider (e.g. // DeviceToken or RegistrationId). Address *string `type:"string"` Attributes map[string][]string `type:"map"` // The channel type.Valid values: GCM | APNS | SMS | EMAIL ChannelType ChannelType `type:"string" enum:"true"` // The endpoint demographic attributes. Demographic *EndpointDemographic `type:"structure"` // The last time the endpoint was updated. Provided in ISO 8601 format. EffectiveDate *string `type:"string"` // The endpoint status. Can be either ACTIVE or INACTIVE. Will be set to INACTIVE // if a delivery fails. Will be set to ACTIVE if the address is updated. EndpointStatus *string `type:"string"` // The endpoint location attributes. Location *EndpointLocation `type:"structure"` Metrics map[string]float64 `type:"map"` // Indicates whether a user has opted out of receiving messages with one of // the following values:ALL - User has opted out of all messages.NONE - Users // has not opted out and receives all messages. OptOut *string `type:"string"` // The unique ID for the most recent request to update the endpoint. RequestId *string `type:"string"` // Custom user-specific attributes that your app reports to Amazon Pinpoint. User *EndpointUser `type:"structure"` // contains filtered or unexported fields }
Endpoint update request Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointRequest
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 ChannelType) *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 address or token of the endpoint as provided by your push provider (e.g. // DeviceToken or RegistrationId). Address *string `type:"string"` // The ID of the application associated with the endpoint. ApplicationId *string `type:"string"` Attributes map[string][]string `type:"map"` // The channel type.Valid values: GCM | APNS | SMS | EMAIL ChannelType ChannelType `type:"string" enum:"true"` // A number from 0 - 99 that represents the cohort the endpoint is assigned // to. Endpoints are grouped into cohorts randomly, and each cohort contains // approximately 1 percent of the endpoints for an app. Amazon Pinpoint assigns // cohorts to the holdout or treatment allocations for a campaign. CohortId *string `type:"string"` // The last time the endpoint was created. Provided in ISO 8601 format. CreationDate *string `type:"string"` // The endpoint demographic attributes. Demographic *EndpointDemographic `type:"structure"` // The last time the endpoint was updated. Provided in ISO 8601 format. EffectiveDate *string `type:"string"` // The endpoint status. Can be either ACTIVE or INACTIVE. Will be set to INACTIVE // if a delivery fails. Will be set to ACTIVE if the address is updated. EndpointStatus *string `type:"string"` // The unique ID that you assigned to the endpoint. The ID should be a globally // unique identifier (GUID) to ensure that it is unique compared to all other // endpoints for the application. Id *string `type:"string"` // The endpoint location attributes. Location *EndpointLocation `type:"structure"` Metrics map[string]float64 `type:"map"` // Indicates whether a user has opted out of receiving messages with one of // the following values:ALL - User has opted out of all messages.NONE - Users // has not opted out and receives all messages. OptOut *string `type:"string"` // The unique ID for the most recent request to update the endpoint. RequestId *string `type:"string"` // The ShardId of endpoint. ShardId *string `type:"string"` // Custom user-specific attributes that your app reports to Amazon Pinpoint. User *EndpointUser `type:"structure"` // contains filtered or unexported fields }
Endpoint response Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointResponse
func (EndpointResponse) GoString ¶
func (s EndpointResponse) GoString() string
GoString returns the string representation
func (*EndpointResponse) 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 ChannelType) *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) SetShardId ¶
func (s *EndpointResponse) SetShardId(v string) *EndpointResponse
SetShardId sets the ShardId 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 { // Body override. If specified will override default body. BodyOverride *string `type:"string"` Context map[string]string `type:"map"` // The Raw JSON formatted string to be used as the payload. This value overrides // the message. RawContent *string `type:"string"` Substitutions map[string][]string `type:"map"` // Title override. If specified will override default title if applicable. TitleOverride *string `type:"string"` // contains filtered or unexported fields }
Endpoint send configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointSendConfiguration
func (EndpointSendConfiguration) GoString ¶
func (s EndpointSendConfiguration) GoString() string
GoString returns the string representation
func (*EndpointSendConfiguration) 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 { UserAttributes map[string][]string `type:"map"` // The unique ID of the user. UserId *string `type:"string"` // contains filtered or unexported fields }
Endpoint user specific custom userAttributes Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointUser
func (EndpointUser) GoString ¶
func (s EndpointUser) GoString() string
GoString returns the string representation
func (*EndpointUser) 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 EventStream ¶
type EventStream struct { // The ID of the application from which events should be published. ApplicationId *string `type:"string"` // The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery // stream to which you want to publish events. Firehose ARN: arn:aws:firehose:REGION:ACCOUNT_ID:deliverystream/STREAM_NAME // Kinesis ARN: arn:aws:kinesis:REGION:ACCOUNT_ID:stream/STREAM_NAME DestinationStreamArn *string `type:"string"` // The external ID assigned the IAM role that authorizes Amazon Pinpoint to // publish to the stream. ExternalId *string `type:"string"` // The date the event stream was last updated in ISO 8601 format. LastModifiedDate *string `type:"string"` // The IAM user who last modified the event stream. LastUpdatedBy *string `type:"string"` // The IAM role that authorizes Amazon Pinpoint to publish events to the stream // in your account. RoleArn *string `type:"string"` // contains filtered or unexported fields }
Model for an event publishing subscription export. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EventStream
func (EventStream) GoString ¶
func (s EventStream) GoString() string
GoString returns the string representation
func (*EventStream) 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 GCMChannelRequest ¶
type GCMChannelRequest struct { // Platform credential API key from Google. ApiKey *string `type:"string"` // If the channel is enabled for sending messages. Enabled *bool `type:"boolean"` // contains filtered or unexported fields }
Google Cloud Messaging credentials Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GCMChannelRequest
func (GCMChannelRequest) GoString ¶
func (s GCMChannelRequest) GoString() string
GoString returns the string representation
func (*GCMChannelRequest) 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
type GCMChannelResponse ¶
type GCMChannelResponse struct { // The ID of the application to which the channel applies. ApplicationId *string `type:"string"` // When was this segment created CreationDate *string `type:"string"` // The GCM API key from Google. Credential *string `type:"string"` // If the channel is enabled for sending messages. Enabled *bool `type:"boolean"` // Channel ID. Not used. Present only for backwards compatibility. Id *string `type:"string"` // Is this channel archived IsArchived *bool `type:"boolean"` // Who last updated this entry LastModifiedBy *string `type:"string"` // Last date this was updated LastModifiedDate *string `type:"string"` // The platform type. Will be GCM Platform *string `type:"string"` // Version of channel Version *int64 `type:"integer"` // contains filtered or unexported fields }
Google Cloud Messaging channel definition Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GCMChannelResponse
func (GCMChannelResponse) GoString ¶
func (s GCMChannelResponse) GoString() string
GoString returns the string representation
func (*GCMChannelResponse) 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) 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 that occurs if the user taps a push notification delivered by // the campaign: OPEN_APP - Your app launches, or it becomes the foreground // app if it has been sent to the background. This is the default action. DEEP_LINK // - Uses deep linking features in iOS and Android to open your app and display // a designated user interface within the app. URL - The default mobile browser // on the user's device launches and opens a web page at the URL you specify. // Possible values include: OPEN_APP | DEEP_LINK | URL Action Action `type:"string" enum:"true"` // The message body of the notification, the email body or the text message. Body *string `type:"string"` // This parameter identifies a group of messages (e.g., with collapse_key: "Updates // Available") that can be collapsed, so that only the last message gets sent // when delivery can be resumed. This is intended to avoid sending too many // of the same messages when the device comes back online or becomes active. CollapseKey *string `type:"string"` Data map[string]string `type:"map"` // The icon image name of the asset saved in your application. IconReference *string `type:"string"` // The URL that points to an image used as the large icon to the notification // content view. ImageIconUrl *string `type:"string"` // The URL that points to an image used in the push notification. ImageUrl *string `type:"string"` // The data payload used for a silent push. This payload is added to the notifications' // data.pinpoint.jsonBody' object JsonData *string `type:"string"` // The Raw JSON formatted string to be used as the payload. This value overrides // the message. RawContent *string `type:"string"` // This parameter specifies the package name of the application where the registration // tokens must match in order to receive the message. RestrictedPackageName *string `type:"string"` // Indicates if the message should display on the users device. Silent pushes // can be used for Remote Configuration and Phone Home use cases. SilentPush *bool `type:"boolean"` // The URL that points to an image used as the small icon for the notification // which will be used to represent the notification in the status bar and content // view SmallImageIconUrl *string `type:"string"` // Indicates a sound to play when the device receives the notification. Supports // default, or the filename of a sound resource bundled in the app. Android // sound files must reside in /res/raw/ Sound *string `type:"string"` Substitutions map[string][]string `type:"map"` // The message title that displays above the message on the user's device. Title *string `type:"string"` // The URL to open in the user's mobile browser. Used if the value for Action // is URL. Url *string `type:"string"` // contains filtered or unexported fields }
GCM Message. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GCMMessage
func (GCMMessage) GoString ¶
func (s GCMMessage) GoString() string
GoString returns the string representation
func (*GCMMessage) SetAction ¶
func (s *GCMMessage) SetAction(v Action) *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) SetJsonData ¶
func (s *GCMMessage) SetJsonData(v string) *GCMMessage
SetJsonData sets the JsonData 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) 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 GetAdmChannelInput ¶
type GetAdmChannelInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAdmChannelRequest
func (GetAdmChannelInput) GoString ¶
func (s GetAdmChannelInput) GoString() string
GoString returns the string representation
func (*GetAdmChannelInput) 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 { // Amazon Device Messaging channel definition. // // ADMChannelResponse is a required field ADMChannelResponse *ADMChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAdmChannelResponse
func (GetAdmChannelOutput) GoString ¶
func (s GetAdmChannelOutput) GoString() string
GoString returns the string representation
func (GetAdmChannelOutput) SDKResponseMetadata ¶
func (s GetAdmChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetAdmChannelRequest ¶
type GetAdmChannelRequest struct { *aws.Request Input *GetAdmChannelInput }
GetAdmChannelRequest is a API request type for the GetAdmChannel API operation.
func (GetAdmChannelRequest) Send ¶
func (r GetAdmChannelRequest) Send() (*GetAdmChannelOutput, error)
Send marshals and sends the GetAdmChannel API request.
type GetApnsChannelInput ¶
type GetApnsChannelInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsChannelRequest
func (GetApnsChannelInput) GoString ¶
func (s GetApnsChannelInput) GoString() string
GoString returns the string representation
func (*GetApnsChannelInput) 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 { // Apple Distribution Push Notification Service channel definition. // // APNSChannelResponse is a required field APNSChannelResponse *APNSChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsChannelResponse
func (GetApnsChannelOutput) GoString ¶
func (s GetApnsChannelOutput) GoString() string
GoString returns the string representation
func (GetApnsChannelOutput) SDKResponseMetadata ¶
func (s GetApnsChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetApnsChannelRequest ¶
type GetApnsChannelRequest struct { *aws.Request Input *GetApnsChannelInput }
GetApnsChannelRequest is a API request type for the GetApnsChannel API operation.
func (GetApnsChannelRequest) Send ¶
func (r GetApnsChannelRequest) Send() (*GetApnsChannelOutput, error)
Send marshals and sends the GetApnsChannel API request.
type GetApnsSandboxChannelInput ¶
type GetApnsSandboxChannelInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsSandboxChannelRequest
func (GetApnsSandboxChannelInput) GoString ¶
func (s GetApnsSandboxChannelInput) GoString() string
GoString returns the string representation
func (*GetApnsSandboxChannelInput) 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 { // Apple Development Push Notification Service channel definition. // // APNSSandboxChannelResponse is a required field APNSSandboxChannelResponse *APNSSandboxChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsSandboxChannelResponse
func (GetApnsSandboxChannelOutput) GoString ¶
func (s GetApnsSandboxChannelOutput) GoString() string
GoString returns the string representation
func (GetApnsSandboxChannelOutput) SDKResponseMetadata ¶
func (s GetApnsSandboxChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetApnsSandboxChannelRequest ¶
type GetApnsSandboxChannelRequest struct { *aws.Request Input *GetApnsSandboxChannelInput }
GetApnsSandboxChannelRequest is a API request type for the GetApnsSandboxChannel API operation.
func (GetApnsSandboxChannelRequest) Send ¶
func (r GetApnsSandboxChannelRequest) Send() (*GetApnsSandboxChannelOutput, error)
Send marshals and sends the GetApnsSandboxChannel API request.
type GetAppInput ¶
type GetAppInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAppRequest
func (GetAppInput) GoString ¶
func (s GetAppInput) GoString() string
GoString returns the string representation
func (*GetAppInput) 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 { // Application Response. // // ApplicationResponse is a required field ApplicationResponse *ApplicationResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAppResponse
func (GetAppOutput) GoString ¶
func (s GetAppOutput) GoString() string
GoString returns the string representation
func (GetAppOutput) SDKResponseMetadata ¶
func (s GetAppOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetAppRequest ¶
type GetAppRequest struct { *aws.Request Input *GetAppInput }
GetAppRequest is a API request type for the GetApp API operation.
func (GetAppRequest) Send ¶
func (r GetAppRequest) Send() (*GetAppOutput, error)
Send marshals and sends the GetApp API request.
type GetApplicationSettingsInput ¶
type GetApplicationSettingsInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationSettingsRequest
func (GetApplicationSettingsInput) GoString ¶
func (s GetApplicationSettingsInput) GoString() string
GoString returns the string representation
func (*GetApplicationSettingsInput) 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 { // Application settings. // // ApplicationSettingsResource is a required field ApplicationSettingsResource *ApplicationSettingsResource `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationSettingsResponse
func (GetApplicationSettingsOutput) GoString ¶
func (s GetApplicationSettingsOutput) GoString() string
GoString returns the string representation
func (GetApplicationSettingsOutput) SDKResponseMetadata ¶
func (s GetApplicationSettingsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetApplicationSettingsRequest ¶
type GetApplicationSettingsRequest struct { *aws.Request Input *GetApplicationSettingsInput }
GetApplicationSettingsRequest is a API request type for the GetApplicationSettings API operation.
func (GetApplicationSettingsRequest) Send ¶
func (r GetApplicationSettingsRequest) Send() (*GetApplicationSettingsOutput, error)
Send marshals and sends the GetApplicationSettings API request.
type GetAppsInput ¶
type GetAppsInput struct { PageSize *string `location:"querystring" locationName:"page-size" type:"string"` Token *string `location:"querystring" locationName:"token" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAppsRequest
func (GetAppsInput) GoString ¶
func (s GetAppsInput) GoString() string
GoString returns the string representation
func (*GetAppsInput) 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 { // Get Applications Result. // // ApplicationsResponse is a required field ApplicationsResponse *ApplicationsResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAppsResponse
func (GetAppsOutput) GoString ¶
func (s GetAppsOutput) GoString() string
GoString returns the string representation
func (GetAppsOutput) SDKResponseMetadata ¶
func (s GetAppsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetAppsRequest ¶
type GetAppsRequest struct { *aws.Request Input *GetAppsInput }
GetAppsRequest is a API request type for the GetApps API operation.
func (GetAppsRequest) Send ¶
func (r GetAppsRequest) Send() (*GetAppsOutput, error)
Send marshals and sends the GetApps API request.
type GetBaiduChannelInput ¶
type GetBaiduChannelInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetBaiduChannelRequest
func (GetBaiduChannelInput) GoString ¶
func (s GetBaiduChannelInput) GoString() string
GoString returns the string representation
func (*GetBaiduChannelInput) 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 { // Baidu Cloud Messaging channel definition // // BaiduChannelResponse is a required field BaiduChannelResponse *BaiduChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetBaiduChannelResponse
func (GetBaiduChannelOutput) GoString ¶
func (s GetBaiduChannelOutput) GoString() string
GoString returns the string representation
func (GetBaiduChannelOutput) SDKResponseMetadata ¶
func (s GetBaiduChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetBaiduChannelRequest ¶
type GetBaiduChannelRequest struct { *aws.Request Input *GetBaiduChannelInput }
GetBaiduChannelRequest is a API request type for the GetBaiduChannel API operation.
func (GetBaiduChannelRequest) Send ¶
func (r GetBaiduChannelRequest) Send() (*GetBaiduChannelOutput, error)
Send marshals and sends the GetBaiduChannel API request.
type GetCampaignActivitiesInput ¶
type GetCampaignActivitiesInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // CampaignId is a required field CampaignId *string `location:"uri" locationName:"campaign-id" type:"string" required:"true"` PageSize *string `location:"querystring" locationName:"page-size" type:"string"` Token *string `location:"querystring" locationName:"token" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignActivitiesRequest
func (GetCampaignActivitiesInput) GoString ¶
func (s GetCampaignActivitiesInput) GoString() string
GoString returns the string representation
func (*GetCampaignActivitiesInput) 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 { // Activities for campaign. // // ActivitiesResponse is a required field ActivitiesResponse *ActivitiesResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignActivitiesResponse
func (GetCampaignActivitiesOutput) GoString ¶
func (s GetCampaignActivitiesOutput) GoString() string
GoString returns the string representation
func (GetCampaignActivitiesOutput) SDKResponseMetadata ¶
func (s GetCampaignActivitiesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetCampaignActivitiesRequest ¶
type GetCampaignActivitiesRequest struct { *aws.Request Input *GetCampaignActivitiesInput }
GetCampaignActivitiesRequest is a API request type for the GetCampaignActivities API operation.
func (GetCampaignActivitiesRequest) Send ¶
func (r GetCampaignActivitiesRequest) Send() (*GetCampaignActivitiesOutput, error)
Send marshals and sends the GetCampaignActivities API request.
type GetCampaignInput ¶
type GetCampaignInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // CampaignId is a required field CampaignId *string `location:"uri" locationName:"campaign-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignRequest
func (GetCampaignInput) GoString ¶
func (s GetCampaignInput) GoString() string
GoString returns the string representation
func (*GetCampaignInput) 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 { // Campaign definition // // CampaignResponse is a required field CampaignResponse *CampaignResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignResponse
func (GetCampaignOutput) GoString ¶
func (s GetCampaignOutput) GoString() string
GoString returns the string representation
func (GetCampaignOutput) SDKResponseMetadata ¶
func (s GetCampaignOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetCampaignRequest ¶
type GetCampaignRequest struct { *aws.Request Input *GetCampaignInput }
GetCampaignRequest is a API request type for the GetCampaign API operation.
func (GetCampaignRequest) Send ¶
func (r GetCampaignRequest) Send() (*GetCampaignOutput, error)
Send marshals and sends the GetCampaign API request.
type GetCampaignVersionInput ¶
type GetCampaignVersionInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // CampaignId is a required field CampaignId *string `location:"uri" locationName:"campaign-id" type:"string" required:"true"` // Version is a required field Version *string `location:"uri" locationName:"version" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersionRequest
func (GetCampaignVersionInput) GoString ¶
func (s GetCampaignVersionInput) GoString() string
GoString returns the string representation
func (*GetCampaignVersionInput) 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 { // Campaign definition // // CampaignResponse is a required field CampaignResponse *CampaignResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersionResponse
func (GetCampaignVersionOutput) GoString ¶
func (s GetCampaignVersionOutput) GoString() string
GoString returns the string representation
func (GetCampaignVersionOutput) SDKResponseMetadata ¶
func (s GetCampaignVersionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetCampaignVersionRequest ¶
type GetCampaignVersionRequest struct { *aws.Request Input *GetCampaignVersionInput }
GetCampaignVersionRequest is a API request type for the GetCampaignVersion API operation.
func (GetCampaignVersionRequest) Send ¶
func (r GetCampaignVersionRequest) Send() (*GetCampaignVersionOutput, error)
Send marshals and sends the GetCampaignVersion API request.
type GetCampaignVersionsInput ¶
type GetCampaignVersionsInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // CampaignId is a required field CampaignId *string `location:"uri" locationName:"campaign-id" type:"string" required:"true"` PageSize *string `location:"querystring" locationName:"page-size" type:"string"` Token *string `location:"querystring" locationName:"token" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersionsRequest
func (GetCampaignVersionsInput) GoString ¶
func (s GetCampaignVersionsInput) GoString() string
GoString returns the string representation
func (*GetCampaignVersionsInput) 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 { // List of available campaigns. // // CampaignsResponse is a required field CampaignsResponse *CampaignsResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersionsResponse
func (GetCampaignVersionsOutput) GoString ¶
func (s GetCampaignVersionsOutput) GoString() string
GoString returns the string representation
func (GetCampaignVersionsOutput) SDKResponseMetadata ¶
func (s GetCampaignVersionsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetCampaignVersionsRequest ¶
type GetCampaignVersionsRequest struct { *aws.Request Input *GetCampaignVersionsInput }
GetCampaignVersionsRequest is a API request type for the GetCampaignVersions API operation.
func (GetCampaignVersionsRequest) Send ¶
func (r GetCampaignVersionsRequest) Send() (*GetCampaignVersionsOutput, error)
Send marshals and sends the GetCampaignVersions API request.
type GetCampaignsInput ¶
type GetCampaignsInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` PageSize *string `location:"querystring" locationName:"page-size" type:"string"` Token *string `location:"querystring" locationName:"token" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignsRequest
func (GetCampaignsInput) GoString ¶
func (s GetCampaignsInput) GoString() string
GoString returns the string representation
func (*GetCampaignsInput) 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 { // List of available campaigns. // // CampaignsResponse is a required field CampaignsResponse *CampaignsResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignsResponse
func (GetCampaignsOutput) GoString ¶
func (s GetCampaignsOutput) GoString() string
GoString returns the string representation
func (GetCampaignsOutput) SDKResponseMetadata ¶
func (s GetCampaignsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetCampaignsRequest ¶
type GetCampaignsRequest struct { *aws.Request Input *GetCampaignsInput }
GetCampaignsRequest is a API request type for the GetCampaigns API operation.
func (GetCampaignsRequest) Send ¶
func (r GetCampaignsRequest) Send() (*GetCampaignsOutput, error)
Send marshals and sends the GetCampaigns API request.
type GetEmailChannelInput ¶
type GetEmailChannelInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEmailChannelRequest
func (GetEmailChannelInput) GoString ¶
func (s GetEmailChannelInput) GoString() string
GoString returns the string representation
func (*GetEmailChannelInput) 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 { // Email Channel Response. // // EmailChannelResponse is a required field EmailChannelResponse *EmailChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEmailChannelResponse
func (GetEmailChannelOutput) GoString ¶
func (s GetEmailChannelOutput) GoString() string
GoString returns the string representation
func (GetEmailChannelOutput) SDKResponseMetadata ¶
func (s GetEmailChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetEmailChannelRequest ¶
type GetEmailChannelRequest struct { *aws.Request Input *GetEmailChannelInput }
GetEmailChannelRequest is a API request type for the GetEmailChannel API operation.
func (GetEmailChannelRequest) Send ¶
func (r GetEmailChannelRequest) Send() (*GetEmailChannelOutput, error)
Send marshals and sends the GetEmailChannel API request.
type GetEndpointInput ¶
type GetEndpointInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // EndpointId is a required field EndpointId *string `location:"uri" locationName:"endpoint-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEndpointRequest
func (GetEndpointInput) GoString ¶
func (s GetEndpointInput) GoString() string
GoString returns the string representation
func (*GetEndpointInput) 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 { // Endpoint response // // EndpointResponse is a required field EndpointResponse *EndpointResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEndpointResponse
func (GetEndpointOutput) GoString ¶
func (s GetEndpointOutput) GoString() string
GoString returns the string representation
func (GetEndpointOutput) SDKResponseMetadata ¶
func (s GetEndpointOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetEndpointRequest ¶
type GetEndpointRequest struct { *aws.Request Input *GetEndpointInput }
GetEndpointRequest is a API request type for the GetEndpoint API operation.
func (GetEndpointRequest) Send ¶
func (r GetEndpointRequest) Send() (*GetEndpointOutput, error)
Send marshals and sends the GetEndpoint API request.
type GetEventStreamInput ¶
type GetEventStreamInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEventStreamRequest
func (GetEventStreamInput) GoString ¶
func (s GetEventStreamInput) GoString() string
GoString returns the string representation
func (*GetEventStreamInput) 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 { // Model for an event publishing subscription export. // // EventStream is a required field EventStream *EventStream `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEventStreamResponse
func (GetEventStreamOutput) GoString ¶
func (s GetEventStreamOutput) GoString() string
GoString returns the string representation
func (GetEventStreamOutput) SDKResponseMetadata ¶
func (s GetEventStreamOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetEventStreamRequest ¶
type GetEventStreamRequest struct { *aws.Request Input *GetEventStreamInput }
GetEventStreamRequest is a API request type for the GetEventStream API operation.
func (GetEventStreamRequest) Send ¶
func (r GetEventStreamRequest) Send() (*GetEventStreamOutput, error)
Send marshals and sends the GetEventStream API request.
type GetGcmChannelInput ¶
type GetGcmChannelInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetGcmChannelRequest
func (GetGcmChannelInput) GoString ¶
func (s GetGcmChannelInput) GoString() string
GoString returns the string representation
func (*GetGcmChannelInput) 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 { // Google Cloud Messaging channel definition // // GCMChannelResponse is a required field GCMChannelResponse *GCMChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetGcmChannelResponse
func (GetGcmChannelOutput) GoString ¶
func (s GetGcmChannelOutput) GoString() string
GoString returns the string representation
func (GetGcmChannelOutput) SDKResponseMetadata ¶
func (s GetGcmChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetGcmChannelRequest ¶
type GetGcmChannelRequest struct { *aws.Request Input *GetGcmChannelInput }
GetGcmChannelRequest is a API request type for the GetGcmChannel API operation.
func (GetGcmChannelRequest) Send ¶
func (r GetGcmChannelRequest) Send() (*GetGcmChannelOutput, error)
Send marshals and sends the GetGcmChannel API request.
type GetImportJobInput ¶
type GetImportJobInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // JobId is a required field JobId *string `location:"uri" locationName:"job-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJobRequest
func (GetImportJobInput) GoString ¶
func (s GetImportJobInput) GoString() string
GoString returns the string representation
func (*GetImportJobInput) 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 { // ImportJobResponse is a required field ImportJobResponse *ImportJobResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJobResponse
func (GetImportJobOutput) GoString ¶
func (s GetImportJobOutput) GoString() string
GoString returns the string representation
func (GetImportJobOutput) SDKResponseMetadata ¶
func (s GetImportJobOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetImportJobRequest ¶
type GetImportJobRequest struct { *aws.Request Input *GetImportJobInput }
GetImportJobRequest is a API request type for the GetImportJob API operation.
func (GetImportJobRequest) Send ¶
func (r GetImportJobRequest) Send() (*GetImportJobOutput, error)
Send marshals and sends the GetImportJob API request.
type GetImportJobsInput ¶
type GetImportJobsInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` PageSize *string `location:"querystring" locationName:"page-size" type:"string"` Token *string `location:"querystring" locationName:"token" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJobsRequest
func (GetImportJobsInput) GoString ¶
func (s GetImportJobsInput) GoString() string
GoString returns the string representation
func (*GetImportJobsInput) 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 { // Import job list. // // ImportJobsResponse is a required field ImportJobsResponse *ImportJobsResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJobsResponse
func (GetImportJobsOutput) GoString ¶
func (s GetImportJobsOutput) GoString() string
GoString returns the string representation
func (GetImportJobsOutput) SDKResponseMetadata ¶
func (s GetImportJobsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetImportJobsRequest ¶
type GetImportJobsRequest struct { *aws.Request Input *GetImportJobsInput }
GetImportJobsRequest is a API request type for the GetImportJobs API operation.
func (GetImportJobsRequest) Send ¶
func (r GetImportJobsRequest) Send() (*GetImportJobsOutput, error)
Send marshals and sends the GetImportJobs API request.
type GetSegmentImportJobsInput ¶
type GetSegmentImportJobsInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` PageSize *string `location:"querystring" locationName:"page-size" type:"string"` // SegmentId is a required field SegmentId *string `location:"uri" locationName:"segment-id" type:"string" required:"true"` Token *string `location:"querystring" locationName:"token" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentImportJobsRequest
func (GetSegmentImportJobsInput) GoString ¶
func (s GetSegmentImportJobsInput) GoString() string
GoString returns the string representation
func (*GetSegmentImportJobsInput) 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 { // Import job list. // // ImportJobsResponse is a required field ImportJobsResponse *ImportJobsResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentImportJobsResponse
func (GetSegmentImportJobsOutput) GoString ¶
func (s GetSegmentImportJobsOutput) GoString() string
GoString returns the string representation
func (GetSegmentImportJobsOutput) SDKResponseMetadata ¶
func (s GetSegmentImportJobsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetSegmentImportJobsRequest ¶
type GetSegmentImportJobsRequest struct { *aws.Request Input *GetSegmentImportJobsInput }
GetSegmentImportJobsRequest is a API request type for the GetSegmentImportJobs API operation.
func (GetSegmentImportJobsRequest) Send ¶
func (r GetSegmentImportJobsRequest) Send() (*GetSegmentImportJobsOutput, error)
Send marshals and sends the GetSegmentImportJobs API request.
type GetSegmentInput ¶
type GetSegmentInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // SegmentId is a required field SegmentId *string `location:"uri" locationName:"segment-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentRequest
func (GetSegmentInput) GoString ¶
func (s GetSegmentInput) GoString() string
GoString returns the string representation
func (*GetSegmentInput) 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 { // Segment definition. // // SegmentResponse is a required field SegmentResponse *SegmentResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentResponse
func (GetSegmentOutput) GoString ¶
func (s GetSegmentOutput) GoString() string
GoString returns the string representation
func (GetSegmentOutput) SDKResponseMetadata ¶
func (s GetSegmentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetSegmentRequest ¶
type GetSegmentRequest struct { *aws.Request Input *GetSegmentInput }
GetSegmentRequest is a API request type for the GetSegment API operation.
func (GetSegmentRequest) Send ¶
func (r GetSegmentRequest) Send() (*GetSegmentOutput, error)
Send marshals and sends the GetSegment API request.
type GetSegmentVersionInput ¶
type GetSegmentVersionInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // SegmentId is a required field SegmentId *string `location:"uri" locationName:"segment-id" type:"string" required:"true"` // Version is a required field Version *string `location:"uri" locationName:"version" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersionRequest
func (GetSegmentVersionInput) GoString ¶
func (s GetSegmentVersionInput) GoString() string
GoString returns the string representation
func (*GetSegmentVersionInput) 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 { // Segment definition. // // SegmentResponse is a required field SegmentResponse *SegmentResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersionResponse
func (GetSegmentVersionOutput) GoString ¶
func (s GetSegmentVersionOutput) GoString() string
GoString returns the string representation
func (GetSegmentVersionOutput) SDKResponseMetadata ¶
func (s GetSegmentVersionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetSegmentVersionRequest ¶
type GetSegmentVersionRequest struct { *aws.Request Input *GetSegmentVersionInput }
GetSegmentVersionRequest is a API request type for the GetSegmentVersion API operation.
func (GetSegmentVersionRequest) Send ¶
func (r GetSegmentVersionRequest) Send() (*GetSegmentVersionOutput, error)
Send marshals and sends the GetSegmentVersion API request.
type GetSegmentVersionsInput ¶
type GetSegmentVersionsInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` PageSize *string `location:"querystring" locationName:"page-size" type:"string"` // SegmentId is a required field SegmentId *string `location:"uri" locationName:"segment-id" type:"string" required:"true"` Token *string `location:"querystring" locationName:"token" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersionsRequest
func (GetSegmentVersionsInput) GoString ¶
func (s GetSegmentVersionsInput) GoString() string
GoString returns the string representation
func (*GetSegmentVersionsInput) 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 { // Segments in your account. // // SegmentsResponse is a required field SegmentsResponse *SegmentsResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersionsResponse
func (GetSegmentVersionsOutput) GoString ¶
func (s GetSegmentVersionsOutput) GoString() string
GoString returns the string representation
func (GetSegmentVersionsOutput) SDKResponseMetadata ¶
func (s GetSegmentVersionsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetSegmentVersionsRequest ¶
type GetSegmentVersionsRequest struct { *aws.Request Input *GetSegmentVersionsInput }
GetSegmentVersionsRequest is a API request type for the GetSegmentVersions API operation.
func (GetSegmentVersionsRequest) Send ¶
func (r GetSegmentVersionsRequest) Send() (*GetSegmentVersionsOutput, error)
Send marshals and sends the GetSegmentVersions API request.
type GetSegmentsInput ¶
type GetSegmentsInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` PageSize *string `location:"querystring" locationName:"page-size" type:"string"` Token *string `location:"querystring" locationName:"token" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentsRequest
func (GetSegmentsInput) GoString ¶
func (s GetSegmentsInput) GoString() string
GoString returns the string representation
func (*GetSegmentsInput) 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 { // Segments in your account. // // SegmentsResponse is a required field SegmentsResponse *SegmentsResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentsResponse
func (GetSegmentsOutput) GoString ¶
func (s GetSegmentsOutput) GoString() string
GoString returns the string representation
func (GetSegmentsOutput) SDKResponseMetadata ¶
func (s GetSegmentsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetSegmentsRequest ¶
type GetSegmentsRequest struct { *aws.Request Input *GetSegmentsInput }
GetSegmentsRequest is a API request type for the GetSegments API operation.
func (GetSegmentsRequest) Send ¶
func (r GetSegmentsRequest) Send() (*GetSegmentsOutput, error)
Send marshals and sends the GetSegments API request.
type GetSmsChannelInput ¶
type GetSmsChannelInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSmsChannelRequest
func (GetSmsChannelInput) GoString ¶
func (s GetSmsChannelInput) GoString() string
GoString returns the string representation
func (*GetSmsChannelInput) 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 { // SMS Channel Response. // // SMSChannelResponse is a required field SMSChannelResponse *SMSChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSmsChannelResponse
func (GetSmsChannelOutput) GoString ¶
func (s GetSmsChannelOutput) GoString() string
GoString returns the string representation
func (GetSmsChannelOutput) SDKResponseMetadata ¶
func (s GetSmsChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
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 GetSmsChannelRequest ¶
type GetSmsChannelRequest struct { *aws.Request Input *GetSmsChannelInput }
GetSmsChannelRequest is a API request type for the GetSmsChannel API operation.
func (GetSmsChannelRequest) Send ¶
func (r GetSmsChannelRequest) Send() (*GetSmsChannelOutput, error)
Send marshals and sends the GetSmsChannel API request.
type ImportJobRequest ¶
type ImportJobRequest struct { // Sets whether the endpoints create a segment when they are imported. DefineSegment *bool `type:"boolean"` // A unique, custom ID assigned to the IAM role that restricts who can assume // the role. ExternalId *string `type:"string"` // The format of the files that contain the endpoint definitions.Valid values: // CSV, JSON Format Format `type:"string" enum:"true"` // Sets whether the endpoints are registered with Amazon Pinpoint when they // are imported. RegisterEndpoints *bool `type:"boolean"` // The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint // access to the Amazon S3 location that contains the endpoints to import. RoleArn *string `type:"string"` // A URL that points to the location within an Amazon S3 bucket that contains // the endpoints to import. The location can be a folder or a single file.The // URL should follow this format: s3://bucket-name/folder-name/file-nameAmazon // Pinpoint will import endpoints from this location and any subfolders it contains. S3Url *string `type:"string"` // The ID of the segment to update if the import job is meant to update an existing // segment. SegmentId *string `type:"string"` // A custom name for the segment created by the import job. Use if DefineSegment // is true. SegmentName *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ImportJobRequest
func (ImportJobRequest) GoString ¶
func (s ImportJobRequest) GoString() string
GoString returns the string representation
func (*ImportJobRequest) 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 Format) *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
type ImportJobResource ¶
type ImportJobResource struct { // Sets whether the endpoints create a segment when they are imported. DefineSegment *bool `type:"boolean"` // A unique, custom ID assigned to the IAM role that restricts who can assume // the role. ExternalId *string `type:"string"` // The format of the files that contain the endpoint definitions.Valid values: // CSV, JSON Format Format `type:"string" enum:"true"` // Sets whether the endpoints are registered with Amazon Pinpoint when they // are imported. RegisterEndpoints *bool `type:"boolean"` // The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint // access to the Amazon S3 location that contains the endpoints to import. RoleArn *string `type:"string"` // A URL that points to the location within an Amazon S3 bucket that contains // the endpoints to import. The location can be a folder or a single file.The // URL should follow this format: s3://bucket-name/folder-name/file-nameAmazon // Pinpoint will import endpoints from this location and any subfolders it contains. S3Url *string `type:"string"` // The ID of the segment to update if the import job is meant to update an existing // segment. SegmentId *string `type:"string"` // A custom name for the segment created by the import job. Use if DefineSegment // is true. SegmentName *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ImportJobResource
func (ImportJobResource) GoString ¶
func (s ImportJobResource) GoString() string
GoString returns the string representation
func (*ImportJobResource) 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 Format) *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 ID of the application to which the import job applies. ApplicationId *string `type:"string"` // The number of pieces that have successfully imported as of the time of the // request. CompletedPieces *int64 `type:"integer"` // The date the import job completed in ISO 8601 format. CompletionDate *string `type:"string"` // The date the import job was created in ISO 8601 format. CreationDate *string `type:"string"` // The import job settings. Definition *ImportJobResource `type:"structure"` // The number of pieces that have failed to import as of the time of the request. FailedPieces *int64 `type:"integer"` Failures []string `type:"list"` // The unique ID of the import job. Id *string `type:"string"` // The status of the import job.Valid values: CREATED, INITIALIZING, PROCESSING, // COMPLETING, COMPLETED, FAILING, FAILEDThe job status is FAILED if one or // more pieces failed to import. JobStatus JobStatus `type:"string" enum:"true"` // The number of endpoints that failed to import; for example, because of syntax // errors. TotalFailures *int64 `type:"integer"` // The total number of pieces that must be imported to finish the job. Each // piece is an approximately equal portion of the endpoints to import. TotalPieces *int64 `type:"integer"` // The number of endpoints that were processed by the import job. TotalProcessed *int64 `type:"integer"` // The job type. Will be Import. Type *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ImportJobResponse
func (ImportJobResponse) GoString ¶
func (s ImportJobResponse) GoString() string
GoString returns the string representation
func (*ImportJobResponse) 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 JobStatus) *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 { // A list of import jobs for the application. Item []ImportJobResponse `type:"list"` // The string that you use in a subsequent request to get the next page of results // in a paginated response. NextToken *string `type:"string"` // contains filtered or unexported fields }
Import job list. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ImportJobsResponse
func (ImportJobsResponse) GoString ¶
func (s ImportJobsResponse) GoString() string
GoString returns the string representation
func (*ImportJobsResponse) 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 JobStatus ¶
type JobStatus string
const ( JobStatusCreated JobStatus = "CREATED" JobStatusInitializing JobStatus = "INITIALIZING" JobStatusProcessing JobStatus = "PROCESSING" JobStatusCompleting JobStatus = "COMPLETING" JobStatusCompleted JobStatus = "COMPLETED" JobStatusFailing JobStatus = "FAILING" JobStatusFailed JobStatus = "FAILED" )
Enum values for JobStatus
type Message ¶
type Message struct { // The action that occurs if the user taps a push notification delivered by // the campaign:OPEN_APP - Your app launches, or it becomes the foreground app // if it has been sent to the background. This is the default action.DEEP_LINK // - Uses deep linking features in iOS and Android to open your app and display // a designated user interface within the app.URL - The default mobile browser // on the user's device launches and opens a web page at the URL you specify. Action Action `type:"string" enum:"true"` // The message body. Can include up to 140 characters. Body *string `type:"string"` // The URL that points to the icon image for the push notification icon, for // example, the app icon. ImageIconUrl *string `type:"string"` // The URL that points to the small icon image for the push notification icon, // for example, the app icon. ImageSmallIconUrl *string `type:"string"` // The URL that points to an image used in the push notification. ImageUrl *string `type:"string"` // The JSON payload used for a silent push. JsonBody *string `type:"string"` // The URL that points to the media resource, for example a .mp4 or .gif file. MediaUrl *string `type:"string"` // The Raw JSON formatted string to be used as the payload. This value overrides // the message. RawContent *string `type:"string"` // Indicates if the message should display on the users device.Silent pushes // can be used for Remote Configuration and Phone Home use cases. SilentPush *bool `type:"boolean"` // The message title that displays above the message on the user's device. Title *string `type:"string"` // The URL to open in the user's mobile browser. Used if the value for Action // is URL. Url *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/Message
func (*Message) SetImageIconUrl ¶
SetImageIconUrl sets the ImageIconUrl field's value.
func (*Message) SetImageSmallIconUrl ¶
SetImageSmallIconUrl sets the ImageSmallIconUrl field's value.
func (*Message) SetImageUrl ¶
SetImageUrl sets the ImageUrl field's value.
func (*Message) SetJsonBody ¶
SetJsonBody sets the JsonBody field's value.
func (*Message) SetMediaUrl ¶
SetMediaUrl sets the MediaUrl field's value.
func (*Message) SetRawContent ¶
SetRawContent sets the RawContent field's value.
func (*Message) SetSilentPush ¶
SetSilentPush sets the SilentPush field's value.
type MessageBody ¶
type MessageBody struct { // The error message returned from the API. Message *string `type:"string"` // The unique message body ID. RequestID *string `type:"string"` // contains filtered or unexported fields }
Simple message object. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageBody
func (MessageBody) GoString ¶
func (s MessageBody) GoString() string
GoString returns the string representation
func (*MessageBody) 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 delivers to APNS channels. Overrides the default // message. APNSMessage *Message `type:"structure"` // The default message for all channels. DefaultMessage *Message `type:"structure"` // The email message configuration. EmailMessage *CampaignEmailMessage `type:"structure"` // The message that the campaign delivers to GCM channels. Overrides the default // message. GCMMessage *Message `type:"structure"` // The SMS message configuration. SMSMessage *CampaignSmsMessage `type:"structure"` // contains filtered or unexported fields }
Message configuration for a campaign. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageConfiguration
func (MessageConfiguration) GoString ¶
func (s MessageConfiguration) GoString() string
GoString returns the string representation
func (*MessageConfiguration) SetAPNSMessage ¶
func (s *MessageConfiguration) SetAPNSMessage(v *Message) *MessageConfiguration
SetAPNSMessage sets the APNSMessage 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
type MessageRequest ¶
type MessageRequest struct { // A map of destination addresses, with the address as the key(Email address, // phone number or push token) and the Address Configuration as the value. Addresses map[string]AddressConfiguration `type:"map"` Campaign map[string]string `type:"map"` Context map[string]string `type:"map"` // A map of destination addresses, with the address as the key(Email address, // phone number or push token) and the Address Configuration as the value. Endpoints map[string]EndpointSendConfiguration `type:"map"` // Message configuration. MessageConfiguration *DirectMessageConfiguration `type:"structure"` // Original request Id for which this message is delivered. RequestId *string `type:"string"` // contains filtered or unexported fields }
Send message request. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageRequest
func (MessageRequest) GoString ¶
func (s MessageRequest) GoString() string
GoString returns the string representation
func (*MessageRequest) SetAddresses ¶
func (s *MessageRequest) SetAddresses(v map[string]AddressConfiguration) *MessageRequest
SetAddresses sets the Addresses field's value.
func (*MessageRequest) SetCampaign ¶
func (s *MessageRequest) SetCampaign(v map[string]string) *MessageRequest
SetCampaign sets the Campaign 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) SetRequestId ¶
func (s *MessageRequest) SetRequestId(v string) *MessageRequest
SetRequestId sets the RequestId field's value.
func (MessageRequest) String ¶
func (s MessageRequest) String() string
String returns the string representation
type MessageResponse ¶
type MessageResponse struct { // Application id of the message. ApplicationId *string `type:"string"` // A map containing a multi part response for each address, with the endpointId // as the key and the result as the value. EndpointResult map[string]EndpointMessageResult `type:"map"` // Original request Id for which this message was delivered. RequestId *string `type:"string"` // A map containing a multi part response for each address, with the address // as the key(Email address, phone number or push token) and the result as the // value. Result map[string]MessageResult `type:"map"` // contains filtered or unexported fields }
Send message response. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageResponse
func (MessageResponse) GoString ¶
func (s MessageResponse) GoString() string
GoString returns the string representation
func (*MessageResponse) 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 { // Delivery status of message. DeliveryStatus DeliveryStatus `type:"string" enum:"true"` // Downstream service status code. StatusCode *int64 `type:"integer"` // Status message for message delivery. StatusMessage *string `type:"string"` // If token was updated as part of delivery. (This is GCM Specific) UpdatedToken *string `type:"string"` // contains filtered or unexported fields }
The result from sending a message to an address. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageResult
func (MessageResult) GoString ¶
func (s MessageResult) GoString() string
GoString returns the string representation
func (*MessageResult) SetDeliveryStatus ¶
func (s *MessageResult) SetDeliveryStatus(v DeliveryStatus) *MessageResult
SetDeliveryStatus sets the DeliveryStatus 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 MessageType ¶
type MessageType string
const ( MessageTypeTransactional MessageType = "TRANSACTIONAL" MessageTypePromotional MessageType = "PROMOTIONAL" )
Enum values for MessageType
type Pinpoint ¶
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 ¶
New creates a new instance of the Pinpoint client with a config. 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 config. svc := pinpoint.New(myConfig) // Create a Pinpoint client with additional configuration svc := pinpoint.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func (*Pinpoint) CreateAppRequest ¶
func (c *Pinpoint) CreateAppRequest(input *CreateAppInput) CreateAppRequest
CreateAppRequest returns a request value for making API operation for Amazon Pinpoint.
Creates or updates an app.
// Example sending a request using the CreateAppRequest method. req := client.CreateAppRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateApp
func (*Pinpoint) CreateCampaignRequest ¶
func (c *Pinpoint) CreateCampaignRequest(input *CreateCampaignInput) CreateCampaignRequest
CreateCampaignRequest returns a request value for making API operation for Amazon Pinpoint.
Creates or updates a campaign.
// Example sending a request using the CreateCampaignRequest method. req := client.CreateCampaignRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateCampaign
func (*Pinpoint) CreateImportJobRequest ¶
func (c *Pinpoint) CreateImportJobRequest(input *CreateImportJobInput) CreateImportJobRequest
CreateImportJobRequest returns a request value for making API operation for Amazon Pinpoint.
Creates or updates an import job.
// Example sending a request using the CreateImportJobRequest method. req := client.CreateImportJobRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateImportJob
func (*Pinpoint) CreateSegmentRequest ¶
func (c *Pinpoint) CreateSegmentRequest(input *CreateSegmentInput) CreateSegmentRequest
CreateSegmentRequest returns a request value for making API operation for Amazon Pinpoint.
Used to create or update a segment.
// Example sending a request using the CreateSegmentRequest method. req := client.CreateSegmentRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateSegment
func (*Pinpoint) DeleteAdmChannelRequest ¶
func (c *Pinpoint) DeleteAdmChannelRequest(input *DeleteAdmChannelInput) DeleteAdmChannelRequest
DeleteAdmChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Delete an ADM channel
// Example sending a request using the DeleteAdmChannelRequest method. req := client.DeleteAdmChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteAdmChannel
func (*Pinpoint) DeleteApnsChannelRequest ¶
func (c *Pinpoint) DeleteApnsChannelRequest(input *DeleteApnsChannelInput) DeleteApnsChannelRequest
DeleteApnsChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Deletes the APNs channel for an app.
// Example sending a request using the DeleteApnsChannelRequest method. req := client.DeleteApnsChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsChannel
func (*Pinpoint) DeleteApnsSandboxChannelRequest ¶
func (c *Pinpoint) DeleteApnsSandboxChannelRequest(input *DeleteApnsSandboxChannelInput) DeleteApnsSandboxChannelRequest
DeleteApnsSandboxChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Delete an APNS sandbox channel
// Example sending a request using the DeleteApnsSandboxChannelRequest method. req := client.DeleteApnsSandboxChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsSandboxChannel
func (*Pinpoint) DeleteAppRequest ¶
func (c *Pinpoint) DeleteAppRequest(input *DeleteAppInput) DeleteAppRequest
DeleteAppRequest returns a request value for making API operation for Amazon Pinpoint.
Deletes an app.
// Example sending a request using the DeleteAppRequest method. req := client.DeleteAppRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApp
func (*Pinpoint) DeleteBaiduChannelRequest ¶
func (c *Pinpoint) DeleteBaiduChannelRequest(input *DeleteBaiduChannelInput) DeleteBaiduChannelRequest
DeleteBaiduChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Delete a BAIDU GCM channel
// Example sending a request using the DeleteBaiduChannelRequest method. req := client.DeleteBaiduChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteBaiduChannel
func (*Pinpoint) DeleteCampaignRequest ¶
func (c *Pinpoint) DeleteCampaignRequest(input *DeleteCampaignInput) DeleteCampaignRequest
DeleteCampaignRequest returns a request value for making API operation for Amazon Pinpoint.
Deletes a campaign.
// Example sending a request using the DeleteCampaignRequest method. req := client.DeleteCampaignRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteCampaign
func (*Pinpoint) DeleteEmailChannelRequest ¶
func (c *Pinpoint) DeleteEmailChannelRequest(input *DeleteEmailChannelInput) DeleteEmailChannelRequest
DeleteEmailChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Delete an email channel
// Example sending a request using the DeleteEmailChannelRequest method. req := client.DeleteEmailChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEmailChannel
func (*Pinpoint) DeleteEventStreamRequest ¶
func (c *Pinpoint) DeleteEventStreamRequest(input *DeleteEventStreamInput) DeleteEventStreamRequest
DeleteEventStreamRequest returns a request value for making API operation for Amazon Pinpoint.
Deletes the event stream for an app.
// Example sending a request using the DeleteEventStreamRequest method. req := client.DeleteEventStreamRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEventStream
func (*Pinpoint) DeleteGcmChannelRequest ¶
func (c *Pinpoint) DeleteGcmChannelRequest(input *DeleteGcmChannelInput) DeleteGcmChannelRequest
DeleteGcmChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Deletes the GCM channel for an app.
// Example sending a request using the DeleteGcmChannelRequest method. req := client.DeleteGcmChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteGcmChannel
func (*Pinpoint) DeleteSegmentRequest ¶
func (c *Pinpoint) DeleteSegmentRequest(input *DeleteSegmentInput) DeleteSegmentRequest
DeleteSegmentRequest returns a request value for making API operation for Amazon Pinpoint.
Deletes a segment.
// Example sending a request using the DeleteSegmentRequest method. req := client.DeleteSegmentRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSegment
func (*Pinpoint) DeleteSmsChannelRequest ¶
func (c *Pinpoint) DeleteSmsChannelRequest(input *DeleteSmsChannelInput) DeleteSmsChannelRequest
DeleteSmsChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Delete an SMS channel
// Example sending a request using the DeleteSmsChannelRequest method. req := client.DeleteSmsChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSmsChannel
func (*Pinpoint) GetAdmChannelRequest ¶
func (c *Pinpoint) GetAdmChannelRequest(input *GetAdmChannelInput) GetAdmChannelRequest
GetAdmChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Get an ADM channel
// Example sending a request using the GetAdmChannelRequest method. req := client.GetAdmChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAdmChannel
func (*Pinpoint) GetApnsChannelRequest ¶
func (c *Pinpoint) GetApnsChannelRequest(input *GetApnsChannelInput) GetApnsChannelRequest
GetApnsChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Returns information about the APNs channel for an app.
// Example sending a request using the GetApnsChannelRequest method. req := client.GetApnsChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsChannel
func (*Pinpoint) GetApnsSandboxChannelRequest ¶
func (c *Pinpoint) GetApnsSandboxChannelRequest(input *GetApnsSandboxChannelInput) GetApnsSandboxChannelRequest
GetApnsSandboxChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Get an APNS sandbox channel
// Example sending a request using the GetApnsSandboxChannelRequest method. req := client.GetApnsSandboxChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsSandboxChannel
func (*Pinpoint) GetAppRequest ¶
func (c *Pinpoint) GetAppRequest(input *GetAppInput) GetAppRequest
GetAppRequest returns a request value for making API operation for Amazon Pinpoint.
Returns information about an app.
// Example sending a request using the GetAppRequest method. req := client.GetAppRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApp
func (*Pinpoint) GetApplicationSettingsRequest ¶
func (c *Pinpoint) GetApplicationSettingsRequest(input *GetApplicationSettingsInput) GetApplicationSettingsRequest
GetApplicationSettingsRequest returns a request value for making API operation for Amazon Pinpoint.
Used to request the settings for an app.
// Example sending a request using the GetApplicationSettingsRequest method. req := client.GetApplicationSettingsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationSettings
func (*Pinpoint) GetAppsRequest ¶
func (c *Pinpoint) GetAppsRequest(input *GetAppsInput) GetAppsRequest
GetAppsRequest returns a request value for making API operation for Amazon Pinpoint.
Returns information about your apps.
// Example sending a request using the GetAppsRequest method. req := client.GetAppsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApps
func (*Pinpoint) GetBaiduChannelRequest ¶
func (c *Pinpoint) GetBaiduChannelRequest(input *GetBaiduChannelInput) GetBaiduChannelRequest
GetBaiduChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Get a BAIDU GCM channel
// Example sending a request using the GetBaiduChannelRequest method. req := client.GetBaiduChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetBaiduChannel
func (*Pinpoint) GetCampaignActivitiesRequest ¶
func (c *Pinpoint) GetCampaignActivitiesRequest(input *GetCampaignActivitiesInput) GetCampaignActivitiesRequest
GetCampaignActivitiesRequest returns a request value for making API operation for Amazon Pinpoint.
Returns information about the activity performed by a campaign.
// Example sending a request using the GetCampaignActivitiesRequest method. req := client.GetCampaignActivitiesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignActivities
func (*Pinpoint) GetCampaignRequest ¶
func (c *Pinpoint) GetCampaignRequest(input *GetCampaignInput) GetCampaignRequest
GetCampaignRequest returns a request value for making API operation for Amazon Pinpoint.
Returns information about a campaign.
// Example sending a request using the GetCampaignRequest method. req := client.GetCampaignRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaign
func (*Pinpoint) GetCampaignVersionRequest ¶
func (c *Pinpoint) GetCampaignVersionRequest(input *GetCampaignVersionInput) GetCampaignVersionRequest
GetCampaignVersionRequest returns a request value for making API operation for Amazon Pinpoint.
Returns information about a specific version of a campaign.
// Example sending a request using the GetCampaignVersionRequest method. req := client.GetCampaignVersionRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersion
func (*Pinpoint) GetCampaignVersionsRequest ¶
func (c *Pinpoint) GetCampaignVersionsRequest(input *GetCampaignVersionsInput) GetCampaignVersionsRequest
GetCampaignVersionsRequest returns a request value for making API operation for Amazon Pinpoint.
Returns information about your campaign versions.
// Example sending a request using the GetCampaignVersionsRequest method. req := client.GetCampaignVersionsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersions
func (*Pinpoint) GetCampaignsRequest ¶
func (c *Pinpoint) GetCampaignsRequest(input *GetCampaignsInput) GetCampaignsRequest
GetCampaignsRequest returns a request value for making API operation for Amazon Pinpoint.
Returns information about your campaigns.
// Example sending a request using the GetCampaignsRequest method. req := client.GetCampaignsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaigns
func (*Pinpoint) GetEmailChannelRequest ¶
func (c *Pinpoint) GetEmailChannelRequest(input *GetEmailChannelInput) GetEmailChannelRequest
GetEmailChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Get an email channel
// Example sending a request using the GetEmailChannelRequest method. req := client.GetEmailChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEmailChannel
func (*Pinpoint) GetEndpointRequest ¶
func (c *Pinpoint) GetEndpointRequest(input *GetEndpointInput) GetEndpointRequest
GetEndpointRequest returns a request value for making API operation for Amazon Pinpoint.
Returns information about an endpoint.
// Example sending a request using the GetEndpointRequest method. req := client.GetEndpointRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEndpoint
func (*Pinpoint) GetEventStreamRequest ¶
func (c *Pinpoint) GetEventStreamRequest(input *GetEventStreamInput) GetEventStreamRequest
GetEventStreamRequest returns a request value for making API operation for Amazon Pinpoint.
Returns the event stream for an app.
// Example sending a request using the GetEventStreamRequest method. req := client.GetEventStreamRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEventStream
func (*Pinpoint) GetGcmChannelRequest ¶
func (c *Pinpoint) GetGcmChannelRequest(input *GetGcmChannelInput) GetGcmChannelRequest
GetGcmChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Returns information about the GCM channel for an app.
// Example sending a request using the GetGcmChannelRequest method. req := client.GetGcmChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetGcmChannel
func (*Pinpoint) GetImportJobRequest ¶
func (c *Pinpoint) GetImportJobRequest(input *GetImportJobInput) GetImportJobRequest
GetImportJobRequest returns a request value for making API operation for Amazon Pinpoint.
Returns information about an import job.
// Example sending a request using the GetImportJobRequest method. req := client.GetImportJobRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJob
func (*Pinpoint) GetImportJobsRequest ¶
func (c *Pinpoint) GetImportJobsRequest(input *GetImportJobsInput) GetImportJobsRequest
GetImportJobsRequest returns a request value for making API operation for Amazon Pinpoint.
Returns information about your import jobs.
// Example sending a request using the GetImportJobsRequest method. req := client.GetImportJobsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJobs
func (*Pinpoint) GetSegmentImportJobsRequest ¶
func (c *Pinpoint) GetSegmentImportJobsRequest(input *GetSegmentImportJobsInput) GetSegmentImportJobsRequest
GetSegmentImportJobsRequest returns a request value for making API operation for Amazon Pinpoint.
Returns a list of import jobs for a specific segment.
// Example sending a request using the GetSegmentImportJobsRequest method. req := client.GetSegmentImportJobsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentImportJobs
func (*Pinpoint) GetSegmentRequest ¶
func (c *Pinpoint) GetSegmentRequest(input *GetSegmentInput) GetSegmentRequest
GetSegmentRequest returns a request value for making API operation for Amazon Pinpoint.
Returns information about a segment.
// Example sending a request using the GetSegmentRequest method. req := client.GetSegmentRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegment
func (*Pinpoint) GetSegmentVersionRequest ¶
func (c *Pinpoint) GetSegmentVersionRequest(input *GetSegmentVersionInput) GetSegmentVersionRequest
GetSegmentVersionRequest returns a request value for making API operation for Amazon Pinpoint.
Returns information about a segment version.
// Example sending a request using the GetSegmentVersionRequest method. req := client.GetSegmentVersionRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersion
func (*Pinpoint) GetSegmentVersionsRequest ¶
func (c *Pinpoint) GetSegmentVersionsRequest(input *GetSegmentVersionsInput) GetSegmentVersionsRequest
GetSegmentVersionsRequest returns a request value for making API operation for Amazon Pinpoint.
Returns information about your segment versions.
// Example sending a request using the GetSegmentVersionsRequest method. req := client.GetSegmentVersionsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersions
func (*Pinpoint) GetSegmentsRequest ¶
func (c *Pinpoint) GetSegmentsRequest(input *GetSegmentsInput) GetSegmentsRequest
GetSegmentsRequest returns a request value for making API operation for Amazon Pinpoint.
Used to get information about your segments.
// Example sending a request using the GetSegmentsRequest method. req := client.GetSegmentsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegments
func (*Pinpoint) GetSmsChannelRequest ¶
func (c *Pinpoint) GetSmsChannelRequest(input *GetSmsChannelInput) GetSmsChannelRequest
GetSmsChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Get an SMS channel
// Example sending a request using the GetSmsChannelRequest method. req := client.GetSmsChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSmsChannel
func (*Pinpoint) PutEventStreamRequest ¶
func (c *Pinpoint) PutEventStreamRequest(input *PutEventStreamInput) PutEventStreamRequest
PutEventStreamRequest returns a request value for making API operation for Amazon Pinpoint.
Use to create or update the event stream for an app.
// Example sending a request using the PutEventStreamRequest method. req := client.PutEventStreamRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEventStream
func (*Pinpoint) SendMessagesRequest ¶
func (c *Pinpoint) SendMessagesRequest(input *SendMessagesInput) SendMessagesRequest
SendMessagesRequest returns a request value for making API operation for Amazon Pinpoint.
Send a batch of messages
// Example sending a request using the SendMessagesRequest method. req := client.SendMessagesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendMessages
func (*Pinpoint) SendUsersMessagesRequest ¶
func (c *Pinpoint) SendUsersMessagesRequest(input *SendUsersMessagesInput) SendUsersMessagesRequest
SendUsersMessagesRequest returns a request value for making API operation for Amazon Pinpoint.
Send a batch of messages to users
// Example sending a request using the SendUsersMessagesRequest method. req := client.SendUsersMessagesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessages
func (*Pinpoint) UpdateAdmChannelRequest ¶
func (c *Pinpoint) UpdateAdmChannelRequest(input *UpdateAdmChannelInput) UpdateAdmChannelRequest
UpdateAdmChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Update an ADM channel
// Example sending a request using the UpdateAdmChannelRequest method. req := client.UpdateAdmChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateAdmChannel
func (*Pinpoint) UpdateApnsChannelRequest ¶
func (c *Pinpoint) UpdateApnsChannelRequest(input *UpdateApnsChannelInput) UpdateApnsChannelRequest
UpdateApnsChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Use to update the APNs channel for an app.
// Example sending a request using the UpdateApnsChannelRequest method. req := client.UpdateApnsChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsChannel
func (*Pinpoint) UpdateApnsSandboxChannelRequest ¶
func (c *Pinpoint) UpdateApnsSandboxChannelRequest(input *UpdateApnsSandboxChannelInput) UpdateApnsSandboxChannelRequest
UpdateApnsSandboxChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Update an APNS sandbox channel
// Example sending a request using the UpdateApnsSandboxChannelRequest method. req := client.UpdateApnsSandboxChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsSandboxChannel
func (*Pinpoint) UpdateApplicationSettingsRequest ¶
func (c *Pinpoint) UpdateApplicationSettingsRequest(input *UpdateApplicationSettingsInput) UpdateApplicationSettingsRequest
UpdateApplicationSettingsRequest returns a request value for making API operation for Amazon Pinpoint.
Used to update the settings for an app.
// Example sending a request using the UpdateApplicationSettingsRequest method. req := client.UpdateApplicationSettingsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApplicationSettings
func (*Pinpoint) UpdateBaiduChannelRequest ¶
func (c *Pinpoint) UpdateBaiduChannelRequest(input *UpdateBaiduChannelInput) UpdateBaiduChannelRequest
UpdateBaiduChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Update a BAIDU GCM channel
// Example sending a request using the UpdateBaiduChannelRequest method. req := client.UpdateBaiduChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateBaiduChannel
func (*Pinpoint) UpdateCampaignRequest ¶
func (c *Pinpoint) UpdateCampaignRequest(input *UpdateCampaignInput) UpdateCampaignRequest
UpdateCampaignRequest returns a request value for making API operation for Amazon Pinpoint.
Use to update a campaign.
// Example sending a request using the UpdateCampaignRequest method. req := client.UpdateCampaignRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateCampaign
func (*Pinpoint) UpdateEmailChannelRequest ¶
func (c *Pinpoint) UpdateEmailChannelRequest(input *UpdateEmailChannelInput) UpdateEmailChannelRequest
UpdateEmailChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Update an email channel
// Example sending a request using the UpdateEmailChannelRequest method. req := client.UpdateEmailChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEmailChannel
func (*Pinpoint) UpdateEndpointRequest ¶
func (c *Pinpoint) UpdateEndpointRequest(input *UpdateEndpointInput) UpdateEndpointRequest
UpdateEndpointRequest returns a request value for making API operation for Amazon Pinpoint.
Use to update an endpoint.
// Example sending a request using the UpdateEndpointRequest method. req := client.UpdateEndpointRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpoint
func (*Pinpoint) UpdateEndpointsBatchRequest ¶
func (c *Pinpoint) UpdateEndpointsBatchRequest(input *UpdateEndpointsBatchInput) UpdateEndpointsBatchRequest
UpdateEndpointsBatchRequest returns a request value for making API operation for Amazon Pinpoint.
Use to update a batch of endpoints.
// Example sending a request using the UpdateEndpointsBatchRequest method. req := client.UpdateEndpointsBatchRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpointsBatch
func (*Pinpoint) UpdateGcmChannelRequest ¶
func (c *Pinpoint) UpdateGcmChannelRequest(input *UpdateGcmChannelInput) UpdateGcmChannelRequest
UpdateGcmChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Use to update the GCM channel for an app.
// Example sending a request using the UpdateGcmChannelRequest method. req := client.UpdateGcmChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateGcmChannel
func (*Pinpoint) UpdateSegmentRequest ¶
func (c *Pinpoint) UpdateSegmentRequest(input *UpdateSegmentInput) UpdateSegmentRequest
UpdateSegmentRequest returns a request value for making API operation for Amazon Pinpoint.
Use to update a segment.
// Example sending a request using the UpdateSegmentRequest method. req := client.UpdateSegmentRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSegment
func (*Pinpoint) UpdateSmsChannelRequest ¶
func (c *Pinpoint) UpdateSmsChannelRequest(input *UpdateSmsChannelInput) UpdateSmsChannelRequest
UpdateSmsChannelRequest returns a request value for making API operation for Amazon Pinpoint.
Update an SMS channel
// Example sending a request using the UpdateSmsChannelRequest method. req := client.UpdateSmsChannelRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSmsChannel
type PutEventStreamInput ¶
type PutEventStreamInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // Request to save an EventStream. // // WriteEventStream is a required field WriteEventStream *WriteEventStream `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEventStreamRequest
func (PutEventStreamInput) GoString ¶
func (s PutEventStreamInput) GoString() string
GoString returns the string representation
func (*PutEventStreamInput) SetApplicationId ¶
func (s *PutEventStreamInput) SetApplicationId(v string) *PutEventStreamInput
SetApplicationId sets the ApplicationId field's value.
func (*PutEventStreamInput) SetWriteEventStream ¶
func (s *PutEventStreamInput) SetWriteEventStream(v *WriteEventStream) *PutEventStreamInput
SetWriteEventStream sets the WriteEventStream field's value.
func (PutEventStreamInput) String ¶
func (s PutEventStreamInput) String() string
String returns the string representation
func (*PutEventStreamInput) Validate ¶
func (s *PutEventStreamInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutEventStreamOutput ¶
type PutEventStreamOutput struct { // Model for an event publishing subscription export. // // EventStream is a required field EventStream *EventStream `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEventStreamResponse
func (PutEventStreamOutput) GoString ¶
func (s PutEventStreamOutput) GoString() string
GoString returns the string representation
func (PutEventStreamOutput) SDKResponseMetadata ¶
func (s PutEventStreamOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*PutEventStreamOutput) SetEventStream ¶
func (s *PutEventStreamOutput) SetEventStream(v *EventStream) *PutEventStreamOutput
SetEventStream sets the EventStream field's value.
func (PutEventStreamOutput) String ¶
func (s PutEventStreamOutput) String() string
String returns the string representation
type PutEventStreamRequest ¶
type PutEventStreamRequest struct { *aws.Request Input *PutEventStreamInput }
PutEventStreamRequest is a API request type for the PutEventStream API operation.
func (PutEventStreamRequest) Send ¶
func (r PutEventStreamRequest) Send() (*PutEventStreamOutput, error)
Send marshals and sends the PutEventStream API request.
type QuietTime ¶
type QuietTime struct { // The default end time for quiet time in ISO 8601 format. End *string `type:"string"` // The default start time for quiet time in ISO 8601 format. Start *string `type:"string"` // contains filtered or unexported fields }
Quiet Time Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/QuietTime
type RecencyDimension ¶
type RecencyDimension struct { // The length of time during which users have been active or inactive with your // app.Valid values: HR_24, DAY_7, DAY_14, DAY_30 Duration Duration `type:"string" enum:"true"` // The recency dimension type:ACTIVE - Users who have used your app within the // specified duration are included in the segment.INACTIVE - Users who have // not used your app within the specified duration are included in the segment. RecencyType RecencyType `type:"string" enum:"true"` // contains filtered or unexported fields }
Define how a segment based on recency of use. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/RecencyDimension
func (RecencyDimension) GoString ¶
func (s RecencyDimension) GoString() string
GoString returns the string representation
func (*RecencyDimension) SetDuration ¶
func (s *RecencyDimension) SetDuration(v Duration) *RecencyDimension
SetDuration sets the Duration field's value.
func (*RecencyDimension) SetRecencyType ¶
func (s *RecencyDimension) SetRecencyType(v RecencyType) *RecencyDimension
SetRecencyType sets the RecencyType field's value.
func (RecencyDimension) String ¶
func (s RecencyDimension) String() string
String returns the string representation
type RecencyType ¶
type RecencyType string
const ( RecencyTypeActive RecencyType = "ACTIVE" RecencyTypeInactive RecencyType = "INACTIVE" )
Enum values for RecencyType
type SMSChannelRequest ¶
type SMSChannelRequest struct { // If the channel is enabled for sending messages. Enabled *bool `type:"boolean"` // Sender identifier of your messages. SenderId *string `type:"string"` // ShortCode registered with phone provider. ShortCode *string `type:"string"` // contains filtered or unexported fields }
SMS Channel Request Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SMSChannelRequest
func (SMSChannelRequest) GoString ¶
func (s SMSChannelRequest) GoString() string
GoString returns the string representation
func (*SMSChannelRequest) SetEnabled ¶
func (s *SMSChannelRequest) SetEnabled(v bool) *SMSChannelRequest
SetEnabled sets the Enabled field's value.
func (*SMSChannelRequest) SetSenderId ¶
func (s *SMSChannelRequest) SetSenderId(v string) *SMSChannelRequest
SetSenderId sets the SenderId field's value.
func (*SMSChannelRequest) SetShortCode ¶
func (s *SMSChannelRequest) SetShortCode(v string) *SMSChannelRequest
SetShortCode sets the ShortCode field's value.
func (SMSChannelRequest) String ¶
func (s SMSChannelRequest) String() string
String returns the string representation
type SMSChannelResponse ¶
type SMSChannelResponse struct { // The unique ID of the application to which the SMS channel belongs. ApplicationId *string `type:"string"` // The date that the settings were last updated in ISO 8601 format. CreationDate *string `type:"string"` // If the channel is enabled for sending messages. Enabled *bool `type:"boolean"` // Channel ID. Not used, only for backwards compatibility. Id *string `type:"string"` // Is this channel archived IsArchived *bool `type:"boolean"` // Who last updated this entry LastModifiedBy *string `type:"string"` // Last date this was updated LastModifiedDate *string `type:"string"` // Platform type. Will be "SMS" Platform *string `type:"string"` // Sender identifier of your messages. SenderId *string `type:"string"` // The short code registered with the phone provider. ShortCode *string `type:"string"` // Version of channel Version *int64 `type:"integer"` // contains filtered or unexported fields }
SMS Channel Response. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SMSChannelResponse
func (SMSChannelResponse) GoString ¶
func (s SMSChannelResponse) GoString() string
GoString returns the string representation
func (*SMSChannelResponse) SetApplicationId ¶
func (s *SMSChannelResponse) SetApplicationId(v string) *SMSChannelResponse
SetApplicationId sets the ApplicationId field's value.
func (*SMSChannelResponse) SetCreationDate ¶
func (s *SMSChannelResponse) SetCreationDate(v string) *SMSChannelResponse
SetCreationDate sets the CreationDate field's value.
func (*SMSChannelResponse) SetEnabled ¶
func (s *SMSChannelResponse) SetEnabled(v bool) *SMSChannelResponse
SetEnabled sets the Enabled field's value.
func (*SMSChannelResponse) SetId ¶
func (s *SMSChannelResponse) SetId(v string) *SMSChannelResponse
SetId sets the Id field's value.
func (*SMSChannelResponse) SetIsArchived ¶
func (s *SMSChannelResponse) SetIsArchived(v bool) *SMSChannelResponse
SetIsArchived sets the IsArchived field's value.
func (*SMSChannelResponse) SetLastModifiedBy ¶
func (s *SMSChannelResponse) SetLastModifiedBy(v string) *SMSChannelResponse
SetLastModifiedBy sets the LastModifiedBy field's value.
func (*SMSChannelResponse) SetLastModifiedDate ¶
func (s *SMSChannelResponse) SetLastModifiedDate(v string) *SMSChannelResponse
SetLastModifiedDate sets the LastModifiedDate field's value.
func (*SMSChannelResponse) SetPlatform ¶
func (s *SMSChannelResponse) SetPlatform(v string) *SMSChannelResponse
SetPlatform sets the Platform field's value.
func (*SMSChannelResponse) SetSenderId ¶
func (s *SMSChannelResponse) SetSenderId(v string) *SMSChannelResponse
SetSenderId sets the SenderId field's value.
func (*SMSChannelResponse) SetShortCode ¶
func (s *SMSChannelResponse) SetShortCode(v string) *SMSChannelResponse
SetShortCode sets the ShortCode field's value.
func (*SMSChannelResponse) SetVersion ¶
func (s *SMSChannelResponse) SetVersion(v int64) *SMSChannelResponse
SetVersion sets the Version field's value.
func (SMSChannelResponse) String ¶
func (s SMSChannelResponse) String() string
String returns the string representation
type SMSMessage ¶
type SMSMessage struct { // The message body of the notification, the email body or the text message. Body *string `type:"string"` // Is this a transaction priority message or lower priority. MessageType MessageType `type:"string" enum:"true"` // Sender ID of sent message. SenderId *string `type:"string"` Substitutions map[string][]string `type:"map"` // contains filtered or unexported fields }
SMS Message. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SMSMessage
func (SMSMessage) GoString ¶
func (s SMSMessage) GoString() string
GoString returns the string representation
func (*SMSMessage) SetBody ¶
func (s *SMSMessage) SetBody(v string) *SMSMessage
SetBody sets the Body field's value.
func (*SMSMessage) SetMessageType ¶
func (s *SMSMessage) SetMessageType(v MessageType) *SMSMessage
SetMessageType sets the MessageType field's value.
func (*SMSMessage) SetSenderId ¶
func (s *SMSMessage) SetSenderId(v string) *SMSMessage
SetSenderId sets the SenderId field's value.
func (*SMSMessage) SetSubstitutions ¶
func (s *SMSMessage) SetSubstitutions(v map[string][]string) *SMSMessage
SetSubstitutions sets the Substitutions field's value.
func (SMSMessage) String ¶
func (s SMSMessage) String() string
String returns the string representation
type Schedule ¶
type Schedule struct { // The scheduled time that the campaign ends in ISO 8601 format. EndTime *string `type:"string"` // How often the campaign delivers messages.Valid values: ONCE, HOURLY, DAILY, // WEEKLY, MONTHLY Frequency Frequency `type:"string" enum:"true"` // Indicates whether the campaign schedule takes effect according to each user's // local time. IsLocalTime *bool `type:"boolean"` // The time during which the campaign sends no messages. QuietTime *QuietTime `type:"structure"` // The scheduled time that the campaign begins in ISO 8601 format. StartTime *string `type:"string"` // The starting UTC offset for the schedule if the value for isLocalTime is // trueValid values: UTCUTC+01UTC+02UTC+03UTC+03:30UTC+04UTC+04:30UTC+05UTC+05:30UTC+05:45UTC+06UTC+06:30UTC+07UTC+08UTC+09UTC+09:30UTC+10UTC+10:30UTC+11UTC+12UTC+13UTC-02UTC-03UTC-04UTC-05UTC-06UTC-07UTC-08UTC-09UTC-10UTC-11 Timezone *string `type:"string"` // contains filtered or unexported fields }
Shcedule that defines when a campaign is run. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/Schedule
func (*Schedule) SetEndTime ¶
SetEndTime sets the EndTime field's value.
func (*Schedule) SetFrequency ¶
SetFrequency sets the Frequency field's value.
func (*Schedule) SetIsLocalTime ¶
SetIsLocalTime sets the IsLocalTime field's value.
func (*Schedule) SetQuietTime ¶
SetQuietTime sets the QuietTime field's value.
func (*Schedule) SetStartTime ¶
SetStartTime sets the StartTime field's value.
func (*Schedule) SetTimezone ¶
SetTimezone sets the Timezone field's value.
type SegmentBehaviors ¶
type SegmentBehaviors struct { // The recency of use. Recency *RecencyDimension `type:"structure"` // contains filtered or unexported fields }
Segment behavior dimensions Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentBehaviors
func (SegmentBehaviors) GoString ¶
func (s SegmentBehaviors) GoString() string
GoString returns the string representation
func (*SegmentBehaviors) SetRecency ¶
func (s *SegmentBehaviors) SetRecency(v *RecencyDimension) *SegmentBehaviors
SetRecency sets the Recency field's value.
func (SegmentBehaviors) String ¶
func (s SegmentBehaviors) String() string
String returns the string representation
type SegmentDemographics ¶
type SegmentDemographics struct { // The app version criteria for the segment. AppVersion *SetDimension `type:"structure"` // The channel criteria for the segment. Channel *SetDimension `type:"structure"` // The device type criteria for the segment. DeviceType *SetDimension `type:"structure"` // The device make criteria for the segment. Make *SetDimension `type:"structure"` // The device model criteria for the segment. Model *SetDimension `type:"structure"` // The device platform criteria for the segment. Platform *SetDimension `type:"structure"` // contains filtered or unexported fields }
Segment demographic dimensions Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentDemographics
func (SegmentDemographics) GoString ¶
func (s SegmentDemographics) GoString() string
GoString returns the string representation
func (*SegmentDemographics) SetAppVersion ¶
func (s *SegmentDemographics) SetAppVersion(v *SetDimension) *SegmentDemographics
SetAppVersion sets the AppVersion field's value.
func (*SegmentDemographics) SetChannel ¶
func (s *SegmentDemographics) SetChannel(v *SetDimension) *SegmentDemographics
SetChannel sets the Channel field's value.
func (*SegmentDemographics) SetDeviceType ¶
func (s *SegmentDemographics) SetDeviceType(v *SetDimension) *SegmentDemographics
SetDeviceType sets the DeviceType field's value.
func (*SegmentDemographics) SetMake ¶
func (s *SegmentDemographics) SetMake(v *SetDimension) *SegmentDemographics
SetMake sets the Make field's value.
func (*SegmentDemographics) SetModel ¶
func (s *SegmentDemographics) SetModel(v *SetDimension) *SegmentDemographics
SetModel sets the Model field's value.
func (*SegmentDemographics) SetPlatform ¶
func (s *SegmentDemographics) SetPlatform(v *SetDimension) *SegmentDemographics
SetPlatform sets the Platform field's value.
func (SegmentDemographics) String ¶
func (s SegmentDemographics) String() string
String returns the string representation
type SegmentDimensions ¶
type SegmentDimensions struct { // Custom segment attributes. Attributes map[string]AttributeDimension `type:"map"` // The segment behaviors attributes. Behavior *SegmentBehaviors `type:"structure"` // The segment demographics attributes. Demographic *SegmentDemographics `type:"structure"` // The segment location attributes. Location *SegmentLocation `type:"structure"` // Custom segment user attributes. UserAttributes map[string]AttributeDimension `type:"map"` // contains filtered or unexported fields }
Segment dimensions Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentDimensions
func (SegmentDimensions) GoString ¶
func (s SegmentDimensions) GoString() string
GoString returns the string representation
func (*SegmentDimensions) SetAttributes ¶
func (s *SegmentDimensions) SetAttributes(v map[string]AttributeDimension) *SegmentDimensions
SetAttributes sets the Attributes field's value.
func (*SegmentDimensions) SetBehavior ¶
func (s *SegmentDimensions) SetBehavior(v *SegmentBehaviors) *SegmentDimensions
SetBehavior sets the Behavior field's value.
func (*SegmentDimensions) SetDemographic ¶
func (s *SegmentDimensions) SetDemographic(v *SegmentDemographics) *SegmentDimensions
SetDemographic sets the Demographic field's value.
func (*SegmentDimensions) SetLocation ¶
func (s *SegmentDimensions) SetLocation(v *SegmentLocation) *SegmentDimensions
SetLocation sets the Location field's value.
func (*SegmentDimensions) SetUserAttributes ¶
func (s *SegmentDimensions) SetUserAttributes(v map[string]AttributeDimension) *SegmentDimensions
SetUserAttributes sets the UserAttributes field's value.
func (SegmentDimensions) String ¶
func (s SegmentDimensions) String() string
String returns the string representation
type SegmentImportResource ¶
type SegmentImportResource struct { ChannelCounts map[string]int64 `type:"map"` // A unique, custom ID assigned to the IAM role that restricts who can assume // the role. ExternalId *string `type:"string"` // The format of the endpoint files that were imported to create this segment.Valid // values: CSV, JSON Format Format `type:"string" enum:"true"` // The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint // access to the endpoints in Amazon S3. RoleArn *string `type:"string"` // A URL that points to the Amazon S3 location from which the endpoints for // this segment were imported. S3Url *string `type:"string"` // The number of endpoints that were successfully imported to create this segment. Size *int64 `type:"integer"` // contains filtered or unexported fields }
Segment import definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentImportResource
func (SegmentImportResource) GoString ¶
func (s SegmentImportResource) GoString() string
GoString returns the string representation
func (*SegmentImportResource) SetChannelCounts ¶
func (s *SegmentImportResource) SetChannelCounts(v map[string]int64) *SegmentImportResource
SetChannelCounts sets the ChannelCounts field's value.
func (*SegmentImportResource) SetExternalId ¶
func (s *SegmentImportResource) SetExternalId(v string) *SegmentImportResource
SetExternalId sets the ExternalId field's value.
func (*SegmentImportResource) SetFormat ¶
func (s *SegmentImportResource) SetFormat(v Format) *SegmentImportResource
SetFormat sets the Format field's value.
func (*SegmentImportResource) SetRoleArn ¶
func (s *SegmentImportResource) SetRoleArn(v string) *SegmentImportResource
SetRoleArn sets the RoleArn field's value.
func (*SegmentImportResource) SetS3Url ¶
func (s *SegmentImportResource) SetS3Url(v string) *SegmentImportResource
SetS3Url sets the S3Url field's value.
func (*SegmentImportResource) SetSize ¶
func (s *SegmentImportResource) SetSize(v int64) *SegmentImportResource
SetSize sets the Size field's value.
func (SegmentImportResource) String ¶
func (s SegmentImportResource) String() string
String returns the string representation
type SegmentLocation ¶
type SegmentLocation struct { // The country filter according to ISO 3166-1 Alpha-2 codes. Country *SetDimension `type:"structure"` // contains filtered or unexported fields }
Segment location dimensions Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentLocation
func (SegmentLocation) GoString ¶
func (s SegmentLocation) GoString() string
GoString returns the string representation
func (*SegmentLocation) SetCountry ¶
func (s *SegmentLocation) SetCountry(v *SetDimension) *SegmentLocation
SetCountry sets the Country field's value.
func (SegmentLocation) String ¶
func (s SegmentLocation) String() string
String returns the string representation
type SegmentResponse ¶
type SegmentResponse struct { // The ID of the application to which the segment applies. ApplicationId *string `type:"string"` // The date the segment was created in ISO 8601 format. CreationDate *string `type:"string"` // The segment dimensions attributes. Dimensions *SegmentDimensions `type:"structure"` // The unique segment ID. Id *string `type:"string"` // The import job settings. ImportDefinition *SegmentImportResource `type:"structure"` // The date the segment was last updated in ISO 8601 format. LastModifiedDate *string `type:"string"` // The name of segment Name *string `type:"string"` // The segment type:DIMENSIONAL - A dynamic segment built from selection criteria // based on endpoint data reported by your app. You create this type of segment // by using the segment builder in the Amazon Pinpoint console or by making // a POST request to the segments resource.IMPORT - A static segment built from // an imported set of endpoint definitions. You create this type of segment // by importing a segment in the Amazon Pinpoint console or by making a POST // request to the jobs/import resource. SegmentType SegmentType `type:"string" enum:"true"` // The segment version number. Version *int64 `type:"integer"` // contains filtered or unexported fields }
Segment definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentResponse
func (SegmentResponse) GoString ¶
func (s SegmentResponse) GoString() string
GoString returns the string representation
func (*SegmentResponse) SetApplicationId ¶
func (s *SegmentResponse) SetApplicationId(v string) *SegmentResponse
SetApplicationId sets the ApplicationId field's value.
func (*SegmentResponse) SetCreationDate ¶
func (s *SegmentResponse) SetCreationDate(v string) *SegmentResponse
SetCreationDate sets the CreationDate field's value.
func (*SegmentResponse) SetDimensions ¶
func (s *SegmentResponse) SetDimensions(v *SegmentDimensions) *SegmentResponse
SetDimensions sets the Dimensions field's value.
func (*SegmentResponse) SetId ¶
func (s *SegmentResponse) SetId(v string) *SegmentResponse
SetId sets the Id field's value.
func (*SegmentResponse) SetImportDefinition ¶
func (s *SegmentResponse) SetImportDefinition(v *SegmentImportResource) *SegmentResponse
SetImportDefinition sets the ImportDefinition field's value.
func (*SegmentResponse) SetLastModifiedDate ¶
func (s *SegmentResponse) SetLastModifiedDate(v string) *SegmentResponse
SetLastModifiedDate sets the LastModifiedDate field's value.
func (*SegmentResponse) SetName ¶
func (s *SegmentResponse) SetName(v string) *SegmentResponse
SetName sets the Name field's value.
func (*SegmentResponse) SetSegmentType ¶
func (s *SegmentResponse) SetSegmentType(v SegmentType) *SegmentResponse
SetSegmentType sets the SegmentType field's value.
func (*SegmentResponse) SetVersion ¶
func (s *SegmentResponse) SetVersion(v int64) *SegmentResponse
SetVersion sets the Version field's value.
func (SegmentResponse) String ¶
func (s SegmentResponse) String() string
String returns the string representation
type SegmentType ¶
type SegmentType string
const ( SegmentTypeDimensional SegmentType = "DIMENSIONAL" SegmentTypeImport SegmentType = "IMPORT" )
Enum values for SegmentType
type SegmentsResponse ¶
type SegmentsResponse struct { // The list of segments. Item []SegmentResponse `type:"list"` // An identifier used to retrieve the next page of results. The token is null // if no additional pages exist. NextToken *string `type:"string"` // contains filtered or unexported fields }
Segments in your account. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentsResponse
func (SegmentsResponse) GoString ¶
func (s SegmentsResponse) GoString() string
GoString returns the string representation
func (*SegmentsResponse) SetItem ¶
func (s *SegmentsResponse) SetItem(v []SegmentResponse) *SegmentsResponse
SetItem sets the Item field's value.
func (*SegmentsResponse) SetNextToken ¶
func (s *SegmentsResponse) SetNextToken(v string) *SegmentsResponse
SetNextToken sets the NextToken field's value.
func (SegmentsResponse) String ¶
func (s SegmentsResponse) String() string
String returns the string representation
type SendMessagesInput ¶
type SendMessagesInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // Send message request. // // MessageRequest is a required field MessageRequest *MessageRequest `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendMessagesRequest
func (SendMessagesInput) GoString ¶
func (s SendMessagesInput) GoString() string
GoString returns the string representation
func (*SendMessagesInput) SetApplicationId ¶
func (s *SendMessagesInput) SetApplicationId(v string) *SendMessagesInput
SetApplicationId sets the ApplicationId field's value.
func (*SendMessagesInput) SetMessageRequest ¶
func (s *SendMessagesInput) SetMessageRequest(v *MessageRequest) *SendMessagesInput
SetMessageRequest sets the MessageRequest field's value.
func (SendMessagesInput) String ¶
func (s SendMessagesInput) String() string
String returns the string representation
func (*SendMessagesInput) Validate ¶
func (s *SendMessagesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SendMessagesOutput ¶
type SendMessagesOutput struct { // Send message response. // // MessageResponse is a required field MessageResponse *MessageResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendMessagesResponse
func (SendMessagesOutput) GoString ¶
func (s SendMessagesOutput) GoString() string
GoString returns the string representation
func (SendMessagesOutput) SDKResponseMetadata ¶
func (s SendMessagesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*SendMessagesOutput) SetMessageResponse ¶
func (s *SendMessagesOutput) SetMessageResponse(v *MessageResponse) *SendMessagesOutput
SetMessageResponse sets the MessageResponse field's value.
func (SendMessagesOutput) String ¶
func (s SendMessagesOutput) String() string
String returns the string representation
type SendMessagesRequest ¶
type SendMessagesRequest struct { *aws.Request Input *SendMessagesInput }
SendMessagesRequest is a API request type for the SendMessages API operation.
func (SendMessagesRequest) Send ¶
func (r SendMessagesRequest) Send() (*SendMessagesOutput, error)
Send marshals and sends the SendMessages API request.
type SendUsersMessageRequest ¶
type SendUsersMessageRequest struct { Context map[string]string `type:"map"` // Message configuration. MessageConfiguration *DirectMessageConfiguration `type:"structure"` // Original request Id for which this message is delivered. RequestId *string `type:"string"` // A map of destination endpoints, with the EndpointId as the key Endpoint Message // Configuration as the value. Users map[string]EndpointSendConfiguration `type:"map"` // contains filtered or unexported fields }
Send message request. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessageRequest
func (SendUsersMessageRequest) GoString ¶
func (s SendUsersMessageRequest) GoString() string
GoString returns the string representation
func (*SendUsersMessageRequest) SetContext ¶
func (s *SendUsersMessageRequest) SetContext(v map[string]string) *SendUsersMessageRequest
SetContext sets the Context field's value.
func (*SendUsersMessageRequest) SetMessageConfiguration ¶
func (s *SendUsersMessageRequest) SetMessageConfiguration(v *DirectMessageConfiguration) *SendUsersMessageRequest
SetMessageConfiguration sets the MessageConfiguration field's value.
func (*SendUsersMessageRequest) SetRequestId ¶
func (s *SendUsersMessageRequest) SetRequestId(v string) *SendUsersMessageRequest
SetRequestId sets the RequestId field's value.
func (*SendUsersMessageRequest) SetUsers ¶
func (s *SendUsersMessageRequest) SetUsers(v map[string]EndpointSendConfiguration) *SendUsersMessageRequest
SetUsers sets the Users field's value.
func (SendUsersMessageRequest) String ¶
func (s SendUsersMessageRequest) String() string
String returns the string representation
type SendUsersMessageResponse ¶
type SendUsersMessageResponse struct { // Application id of the message. ApplicationId *string `type:"string"` // Original request Id for which this message was delivered. RequestId *string `type:"string"` // A map containing of UserId to Map of EndpointId to Endpoint Message Result. Result map[string]map[string]EndpointMessageResult `type:"map"` // contains filtered or unexported fields }
User send message response. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessageResponse
func (SendUsersMessageResponse) GoString ¶
func (s SendUsersMessageResponse) GoString() string
GoString returns the string representation
func (*SendUsersMessageResponse) SetApplicationId ¶
func (s *SendUsersMessageResponse) SetApplicationId(v string) *SendUsersMessageResponse
SetApplicationId sets the ApplicationId field's value.
func (*SendUsersMessageResponse) SetRequestId ¶
func (s *SendUsersMessageResponse) SetRequestId(v string) *SendUsersMessageResponse
SetRequestId sets the RequestId field's value.
func (*SendUsersMessageResponse) SetResult ¶
func (s *SendUsersMessageResponse) SetResult(v map[string]map[string]EndpointMessageResult) *SendUsersMessageResponse
SetResult sets the Result field's value.
func (SendUsersMessageResponse) String ¶
func (s SendUsersMessageResponse) String() string
String returns the string representation
type SendUsersMessagesInput ¶
type SendUsersMessagesInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // Send message request. // // SendUsersMessageRequest is a required field SendUsersMessageRequest *SendUsersMessageRequest `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessagesRequest
func (SendUsersMessagesInput) GoString ¶
func (s SendUsersMessagesInput) GoString() string
GoString returns the string representation
func (*SendUsersMessagesInput) SetApplicationId ¶
func (s *SendUsersMessagesInput) SetApplicationId(v string) *SendUsersMessagesInput
SetApplicationId sets the ApplicationId field's value.
func (*SendUsersMessagesInput) SetSendUsersMessageRequest ¶
func (s *SendUsersMessagesInput) SetSendUsersMessageRequest(v *SendUsersMessageRequest) *SendUsersMessagesInput
SetSendUsersMessageRequest sets the SendUsersMessageRequest field's value.
func (SendUsersMessagesInput) String ¶
func (s SendUsersMessagesInput) String() string
String returns the string representation
func (*SendUsersMessagesInput) Validate ¶
func (s *SendUsersMessagesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SendUsersMessagesOutput ¶
type SendUsersMessagesOutput struct { // User send message response. // // SendUsersMessageResponse is a required field SendUsersMessageResponse *SendUsersMessageResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessagesResponse
func (SendUsersMessagesOutput) GoString ¶
func (s SendUsersMessagesOutput) GoString() string
GoString returns the string representation
func (SendUsersMessagesOutput) SDKResponseMetadata ¶
func (s SendUsersMessagesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*SendUsersMessagesOutput) SetSendUsersMessageResponse ¶
func (s *SendUsersMessagesOutput) SetSendUsersMessageResponse(v *SendUsersMessageResponse) *SendUsersMessagesOutput
SetSendUsersMessageResponse sets the SendUsersMessageResponse field's value.
func (SendUsersMessagesOutput) String ¶
func (s SendUsersMessagesOutput) String() string
String returns the string representation
type SendUsersMessagesRequest ¶
type SendUsersMessagesRequest struct { *aws.Request Input *SendUsersMessagesInput }
SendUsersMessagesRequest is a API request type for the SendUsersMessages API operation.
func (SendUsersMessagesRequest) Send ¶
func (r SendUsersMessagesRequest) Send() (*SendUsersMessagesOutput, error)
Send marshals and sends the SendUsersMessages API request.
type SetDimension ¶
type SetDimension struct { // The type of dimension:INCLUSIVE - Endpoints that match the criteria are included // in the segment.EXCLUSIVE - Endpoints that match the criteria are excluded // from the segment. DimensionType DimensionType `type:"string" enum:"true"` Values []string `type:"list"` // contains filtered or unexported fields }
Dimension specification of a segment. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SetDimension
func (SetDimension) GoString ¶
func (s SetDimension) GoString() string
GoString returns the string representation
func (*SetDimension) SetDimensionType ¶
func (s *SetDimension) SetDimensionType(v DimensionType) *SetDimension
SetDimensionType sets the DimensionType field's value.
func (*SetDimension) SetValues ¶
func (s *SetDimension) SetValues(v []string) *SetDimension
SetValues sets the Values field's value.
func (SetDimension) String ¶
func (s SetDimension) String() string
String returns the string representation
type TreatmentResource ¶
type TreatmentResource struct { // The unique treatment ID. Id *string `type:"string"` // The message configuration settings. MessageConfiguration *MessageConfiguration `type:"structure"` // The campaign schedule. Schedule *Schedule `type:"structure"` // The allocated percentage of users for this treatment. SizePercent *int64 `type:"integer"` // The treatment status. State *CampaignState `type:"structure"` // A custom description for the treatment. TreatmentDescription *string `type:"string"` // The custom name of a variation of the campaign used for A/B testing. TreatmentName *string `type:"string"` // contains filtered or unexported fields }
Treatment resource Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/TreatmentResource
func (TreatmentResource) GoString ¶
func (s TreatmentResource) GoString() string
GoString returns the string representation
func (*TreatmentResource) SetId ¶
func (s *TreatmentResource) SetId(v string) *TreatmentResource
SetId sets the Id field's value.
func (*TreatmentResource) SetMessageConfiguration ¶
func (s *TreatmentResource) SetMessageConfiguration(v *MessageConfiguration) *TreatmentResource
SetMessageConfiguration sets the MessageConfiguration field's value.
func (*TreatmentResource) SetSchedule ¶
func (s *TreatmentResource) SetSchedule(v *Schedule) *TreatmentResource
SetSchedule sets the Schedule field's value.
func (*TreatmentResource) SetSizePercent ¶
func (s *TreatmentResource) SetSizePercent(v int64) *TreatmentResource
SetSizePercent sets the SizePercent field's value.
func (*TreatmentResource) SetState ¶
func (s *TreatmentResource) SetState(v *CampaignState) *TreatmentResource
SetState sets the State field's value.
func (*TreatmentResource) SetTreatmentDescription ¶
func (s *TreatmentResource) SetTreatmentDescription(v string) *TreatmentResource
SetTreatmentDescription sets the TreatmentDescription field's value.
func (*TreatmentResource) SetTreatmentName ¶
func (s *TreatmentResource) SetTreatmentName(v string) *TreatmentResource
SetTreatmentName sets the TreatmentName field's value.
func (TreatmentResource) String ¶
func (s TreatmentResource) String() string
String returns the string representation
type UpdateAdmChannelInput ¶
type UpdateAdmChannelInput struct { // Amazon Device Messaging channel definition. // // ADMChannelRequest is a required field ADMChannelRequest *ADMChannelRequest `type:"structure" required:"true"` // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateAdmChannelRequest
func (UpdateAdmChannelInput) GoString ¶
func (s UpdateAdmChannelInput) GoString() string
GoString returns the string representation
func (*UpdateAdmChannelInput) SetADMChannelRequest ¶
func (s *UpdateAdmChannelInput) SetADMChannelRequest(v *ADMChannelRequest) *UpdateAdmChannelInput
SetADMChannelRequest sets the ADMChannelRequest field's value.
func (*UpdateAdmChannelInput) SetApplicationId ¶
func (s *UpdateAdmChannelInput) SetApplicationId(v string) *UpdateAdmChannelInput
SetApplicationId sets the ApplicationId field's value.
func (UpdateAdmChannelInput) String ¶
func (s UpdateAdmChannelInput) String() string
String returns the string representation
func (*UpdateAdmChannelInput) Validate ¶
func (s *UpdateAdmChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateAdmChannelOutput ¶
type UpdateAdmChannelOutput struct { // Amazon Device Messaging channel definition. // // ADMChannelResponse is a required field ADMChannelResponse *ADMChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateAdmChannelResponse
func (UpdateAdmChannelOutput) GoString ¶
func (s UpdateAdmChannelOutput) GoString() string
GoString returns the string representation
func (UpdateAdmChannelOutput) SDKResponseMetadata ¶
func (s UpdateAdmChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateAdmChannelOutput) SetADMChannelResponse ¶
func (s *UpdateAdmChannelOutput) SetADMChannelResponse(v *ADMChannelResponse) *UpdateAdmChannelOutput
SetADMChannelResponse sets the ADMChannelResponse field's value.
func (UpdateAdmChannelOutput) String ¶
func (s UpdateAdmChannelOutput) String() string
String returns the string representation
type UpdateAdmChannelRequest ¶
type UpdateAdmChannelRequest struct { *aws.Request Input *UpdateAdmChannelInput }
UpdateAdmChannelRequest is a API request type for the UpdateAdmChannel API operation.
func (UpdateAdmChannelRequest) Send ¶
func (r UpdateAdmChannelRequest) Send() (*UpdateAdmChannelOutput, error)
Send marshals and sends the UpdateAdmChannel API request.
type UpdateApnsChannelInput ¶
type UpdateApnsChannelInput struct { // Apple Push Notification Service channel definition. // // APNSChannelRequest is a required field APNSChannelRequest *APNSChannelRequest `type:"structure" required:"true"` // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsChannelRequest
func (UpdateApnsChannelInput) GoString ¶
func (s UpdateApnsChannelInput) GoString() string
GoString returns the string representation
func (*UpdateApnsChannelInput) SetAPNSChannelRequest ¶
func (s *UpdateApnsChannelInput) SetAPNSChannelRequest(v *APNSChannelRequest) *UpdateApnsChannelInput
SetAPNSChannelRequest sets the APNSChannelRequest field's value.
func (*UpdateApnsChannelInput) SetApplicationId ¶
func (s *UpdateApnsChannelInput) SetApplicationId(v string) *UpdateApnsChannelInput
SetApplicationId sets the ApplicationId field's value.
func (UpdateApnsChannelInput) String ¶
func (s UpdateApnsChannelInput) String() string
String returns the string representation
func (*UpdateApnsChannelInput) Validate ¶
func (s *UpdateApnsChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateApnsChannelOutput ¶
type UpdateApnsChannelOutput struct { // Apple Distribution Push Notification Service channel definition. // // APNSChannelResponse is a required field APNSChannelResponse *APNSChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsChannelResponse
func (UpdateApnsChannelOutput) GoString ¶
func (s UpdateApnsChannelOutput) GoString() string
GoString returns the string representation
func (UpdateApnsChannelOutput) SDKResponseMetadata ¶
func (s UpdateApnsChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateApnsChannelOutput) SetAPNSChannelResponse ¶
func (s *UpdateApnsChannelOutput) SetAPNSChannelResponse(v *APNSChannelResponse) *UpdateApnsChannelOutput
SetAPNSChannelResponse sets the APNSChannelResponse field's value.
func (UpdateApnsChannelOutput) String ¶
func (s UpdateApnsChannelOutput) String() string
String returns the string representation
type UpdateApnsChannelRequest ¶
type UpdateApnsChannelRequest struct { *aws.Request Input *UpdateApnsChannelInput }
UpdateApnsChannelRequest is a API request type for the UpdateApnsChannel API operation.
func (UpdateApnsChannelRequest) Send ¶
func (r UpdateApnsChannelRequest) Send() (*UpdateApnsChannelOutput, error)
Send marshals and sends the UpdateApnsChannel API request.
type UpdateApnsSandboxChannelInput ¶
type UpdateApnsSandboxChannelInput struct { // Apple Development Push Notification Service channel definition. // // APNSSandboxChannelRequest is a required field APNSSandboxChannelRequest *APNSSandboxChannelRequest `type:"structure" required:"true"` // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsSandboxChannelRequest
func (UpdateApnsSandboxChannelInput) GoString ¶
func (s UpdateApnsSandboxChannelInput) GoString() string
GoString returns the string representation
func (*UpdateApnsSandboxChannelInput) SetAPNSSandboxChannelRequest ¶
func (s *UpdateApnsSandboxChannelInput) SetAPNSSandboxChannelRequest(v *APNSSandboxChannelRequest) *UpdateApnsSandboxChannelInput
SetAPNSSandboxChannelRequest sets the APNSSandboxChannelRequest field's value.
func (*UpdateApnsSandboxChannelInput) SetApplicationId ¶
func (s *UpdateApnsSandboxChannelInput) SetApplicationId(v string) *UpdateApnsSandboxChannelInput
SetApplicationId sets the ApplicationId field's value.
func (UpdateApnsSandboxChannelInput) String ¶
func (s UpdateApnsSandboxChannelInput) String() string
String returns the string representation
func (*UpdateApnsSandboxChannelInput) Validate ¶
func (s *UpdateApnsSandboxChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateApnsSandboxChannelOutput ¶
type UpdateApnsSandboxChannelOutput struct { // Apple Development Push Notification Service channel definition. // // APNSSandboxChannelResponse is a required field APNSSandboxChannelResponse *APNSSandboxChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsSandboxChannelResponse
func (UpdateApnsSandboxChannelOutput) GoString ¶
func (s UpdateApnsSandboxChannelOutput) GoString() string
GoString returns the string representation
func (UpdateApnsSandboxChannelOutput) SDKResponseMetadata ¶
func (s UpdateApnsSandboxChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateApnsSandboxChannelOutput) SetAPNSSandboxChannelResponse ¶
func (s *UpdateApnsSandboxChannelOutput) SetAPNSSandboxChannelResponse(v *APNSSandboxChannelResponse) *UpdateApnsSandboxChannelOutput
SetAPNSSandboxChannelResponse sets the APNSSandboxChannelResponse field's value.
func (UpdateApnsSandboxChannelOutput) String ¶
func (s UpdateApnsSandboxChannelOutput) String() string
String returns the string representation
type UpdateApnsSandboxChannelRequest ¶
type UpdateApnsSandboxChannelRequest struct { *aws.Request Input *UpdateApnsSandboxChannelInput }
UpdateApnsSandboxChannelRequest is a API request type for the UpdateApnsSandboxChannel API operation.
func (UpdateApnsSandboxChannelRequest) Send ¶
func (r UpdateApnsSandboxChannelRequest) Send() (*UpdateApnsSandboxChannelOutput, error)
Send marshals and sends the UpdateApnsSandboxChannel API request.
type UpdateApplicationSettingsInput ¶
type UpdateApplicationSettingsInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // Creating application setting request // // WriteApplicationSettingsRequest is a required field WriteApplicationSettingsRequest *WriteApplicationSettingsRequest `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApplicationSettingsRequest
func (UpdateApplicationSettingsInput) GoString ¶
func (s UpdateApplicationSettingsInput) GoString() string
GoString returns the string representation
func (*UpdateApplicationSettingsInput) SetApplicationId ¶
func (s *UpdateApplicationSettingsInput) SetApplicationId(v string) *UpdateApplicationSettingsInput
SetApplicationId sets the ApplicationId field's value.
func (*UpdateApplicationSettingsInput) SetWriteApplicationSettingsRequest ¶
func (s *UpdateApplicationSettingsInput) SetWriteApplicationSettingsRequest(v *WriteApplicationSettingsRequest) *UpdateApplicationSettingsInput
SetWriteApplicationSettingsRequest sets the WriteApplicationSettingsRequest field's value.
func (UpdateApplicationSettingsInput) String ¶
func (s UpdateApplicationSettingsInput) String() string
String returns the string representation
func (*UpdateApplicationSettingsInput) Validate ¶
func (s *UpdateApplicationSettingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateApplicationSettingsOutput ¶
type UpdateApplicationSettingsOutput struct { // Application settings. // // ApplicationSettingsResource is a required field ApplicationSettingsResource *ApplicationSettingsResource `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApplicationSettingsResponse
func (UpdateApplicationSettingsOutput) GoString ¶
func (s UpdateApplicationSettingsOutput) GoString() string
GoString returns the string representation
func (UpdateApplicationSettingsOutput) SDKResponseMetadata ¶
func (s UpdateApplicationSettingsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateApplicationSettingsOutput) SetApplicationSettingsResource ¶
func (s *UpdateApplicationSettingsOutput) SetApplicationSettingsResource(v *ApplicationSettingsResource) *UpdateApplicationSettingsOutput
SetApplicationSettingsResource sets the ApplicationSettingsResource field's value.
func (UpdateApplicationSettingsOutput) String ¶
func (s UpdateApplicationSettingsOutput) String() string
String returns the string representation
type UpdateApplicationSettingsRequest ¶
type UpdateApplicationSettingsRequest struct { *aws.Request Input *UpdateApplicationSettingsInput }
UpdateApplicationSettingsRequest is a API request type for the UpdateApplicationSettings API operation.
func (UpdateApplicationSettingsRequest) Send ¶
func (r UpdateApplicationSettingsRequest) Send() (*UpdateApplicationSettingsOutput, error)
Send marshals and sends the UpdateApplicationSettings API request.
type UpdateBaiduChannelInput ¶
type UpdateBaiduChannelInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // Baidu Cloud Push credentials // // BaiduChannelRequest is a required field BaiduChannelRequest *BaiduChannelRequest `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateBaiduChannelRequest
func (UpdateBaiduChannelInput) GoString ¶
func (s UpdateBaiduChannelInput) GoString() string
GoString returns the string representation
func (*UpdateBaiduChannelInput) SetApplicationId ¶
func (s *UpdateBaiduChannelInput) SetApplicationId(v string) *UpdateBaiduChannelInput
SetApplicationId sets the ApplicationId field's value.
func (*UpdateBaiduChannelInput) SetBaiduChannelRequest ¶
func (s *UpdateBaiduChannelInput) SetBaiduChannelRequest(v *BaiduChannelRequest) *UpdateBaiduChannelInput
SetBaiduChannelRequest sets the BaiduChannelRequest field's value.
func (UpdateBaiduChannelInput) String ¶
func (s UpdateBaiduChannelInput) String() string
String returns the string representation
func (*UpdateBaiduChannelInput) Validate ¶
func (s *UpdateBaiduChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateBaiduChannelOutput ¶
type UpdateBaiduChannelOutput struct { // Baidu Cloud Messaging channel definition // // BaiduChannelResponse is a required field BaiduChannelResponse *BaiduChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateBaiduChannelResponse
func (UpdateBaiduChannelOutput) GoString ¶
func (s UpdateBaiduChannelOutput) GoString() string
GoString returns the string representation
func (UpdateBaiduChannelOutput) SDKResponseMetadata ¶
func (s UpdateBaiduChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateBaiduChannelOutput) SetBaiduChannelResponse ¶
func (s *UpdateBaiduChannelOutput) SetBaiduChannelResponse(v *BaiduChannelResponse) *UpdateBaiduChannelOutput
SetBaiduChannelResponse sets the BaiduChannelResponse field's value.
func (UpdateBaiduChannelOutput) String ¶
func (s UpdateBaiduChannelOutput) String() string
String returns the string representation
type UpdateBaiduChannelRequest ¶
type UpdateBaiduChannelRequest struct { *aws.Request Input *UpdateBaiduChannelInput }
UpdateBaiduChannelRequest is a API request type for the UpdateBaiduChannel API operation.
func (UpdateBaiduChannelRequest) Send ¶
func (r UpdateBaiduChannelRequest) Send() (*UpdateBaiduChannelOutput, error)
Send marshals and sends the UpdateBaiduChannel API request.
type UpdateCampaignInput ¶
type UpdateCampaignInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // CampaignId is a required field CampaignId *string `location:"uri" locationName:"campaign-id" type:"string" required:"true"` // Used to create a campaign. // // WriteCampaignRequest is a required field WriteCampaignRequest *WriteCampaignRequest `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateCampaignRequest
func (UpdateCampaignInput) GoString ¶
func (s UpdateCampaignInput) GoString() string
GoString returns the string representation
func (*UpdateCampaignInput) SetApplicationId ¶
func (s *UpdateCampaignInput) SetApplicationId(v string) *UpdateCampaignInput
SetApplicationId sets the ApplicationId field's value.
func (*UpdateCampaignInput) SetCampaignId ¶
func (s *UpdateCampaignInput) SetCampaignId(v string) *UpdateCampaignInput
SetCampaignId sets the CampaignId field's value.
func (*UpdateCampaignInput) SetWriteCampaignRequest ¶
func (s *UpdateCampaignInput) SetWriteCampaignRequest(v *WriteCampaignRequest) *UpdateCampaignInput
SetWriteCampaignRequest sets the WriteCampaignRequest field's value.
func (UpdateCampaignInput) String ¶
func (s UpdateCampaignInput) String() string
String returns the string representation
func (*UpdateCampaignInput) Validate ¶
func (s *UpdateCampaignInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateCampaignOutput ¶
type UpdateCampaignOutput struct { // Campaign definition // // CampaignResponse is a required field CampaignResponse *CampaignResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateCampaignResponse
func (UpdateCampaignOutput) GoString ¶
func (s UpdateCampaignOutput) GoString() string
GoString returns the string representation
func (UpdateCampaignOutput) SDKResponseMetadata ¶
func (s UpdateCampaignOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateCampaignOutput) SetCampaignResponse ¶
func (s *UpdateCampaignOutput) SetCampaignResponse(v *CampaignResponse) *UpdateCampaignOutput
SetCampaignResponse sets the CampaignResponse field's value.
func (UpdateCampaignOutput) String ¶
func (s UpdateCampaignOutput) String() string
String returns the string representation
type UpdateCampaignRequest ¶
type UpdateCampaignRequest struct { *aws.Request Input *UpdateCampaignInput }
UpdateCampaignRequest is a API request type for the UpdateCampaign API operation.
func (UpdateCampaignRequest) Send ¶
func (r UpdateCampaignRequest) Send() (*UpdateCampaignOutput, error)
Send marshals and sends the UpdateCampaign API request.
type UpdateEmailChannelInput ¶
type UpdateEmailChannelInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // Email Channel Request // // EmailChannelRequest is a required field EmailChannelRequest *EmailChannelRequest `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEmailChannelRequest
func (UpdateEmailChannelInput) GoString ¶
func (s UpdateEmailChannelInput) GoString() string
GoString returns the string representation
func (*UpdateEmailChannelInput) SetApplicationId ¶
func (s *UpdateEmailChannelInput) SetApplicationId(v string) *UpdateEmailChannelInput
SetApplicationId sets the ApplicationId field's value.
func (*UpdateEmailChannelInput) SetEmailChannelRequest ¶
func (s *UpdateEmailChannelInput) SetEmailChannelRequest(v *EmailChannelRequest) *UpdateEmailChannelInput
SetEmailChannelRequest sets the EmailChannelRequest field's value.
func (UpdateEmailChannelInput) String ¶
func (s UpdateEmailChannelInput) String() string
String returns the string representation
func (*UpdateEmailChannelInput) Validate ¶
func (s *UpdateEmailChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateEmailChannelOutput ¶
type UpdateEmailChannelOutput struct { // Email Channel Response. // // EmailChannelResponse is a required field EmailChannelResponse *EmailChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEmailChannelResponse
func (UpdateEmailChannelOutput) GoString ¶
func (s UpdateEmailChannelOutput) GoString() string
GoString returns the string representation
func (UpdateEmailChannelOutput) SDKResponseMetadata ¶
func (s UpdateEmailChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateEmailChannelOutput) SetEmailChannelResponse ¶
func (s *UpdateEmailChannelOutput) SetEmailChannelResponse(v *EmailChannelResponse) *UpdateEmailChannelOutput
SetEmailChannelResponse sets the EmailChannelResponse field's value.
func (UpdateEmailChannelOutput) String ¶
func (s UpdateEmailChannelOutput) String() string
String returns the string representation
type UpdateEmailChannelRequest ¶
type UpdateEmailChannelRequest struct { *aws.Request Input *UpdateEmailChannelInput }
UpdateEmailChannelRequest is a API request type for the UpdateEmailChannel API operation.
func (UpdateEmailChannelRequest) Send ¶
func (r UpdateEmailChannelRequest) Send() (*UpdateEmailChannelOutput, error)
Send marshals and sends the UpdateEmailChannel API request.
type UpdateEndpointInput ¶
type UpdateEndpointInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // EndpointId is a required field EndpointId *string `location:"uri" locationName:"endpoint-id" type:"string" required:"true"` // Endpoint update request // // EndpointRequest is a required field EndpointRequest *EndpointRequest `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpointRequest
func (UpdateEndpointInput) GoString ¶
func (s UpdateEndpointInput) GoString() string
GoString returns the string representation
func (*UpdateEndpointInput) SetApplicationId ¶
func (s *UpdateEndpointInput) SetApplicationId(v string) *UpdateEndpointInput
SetApplicationId sets the ApplicationId field's value.
func (*UpdateEndpointInput) SetEndpointId ¶
func (s *UpdateEndpointInput) SetEndpointId(v string) *UpdateEndpointInput
SetEndpointId sets the EndpointId field's value.
func (*UpdateEndpointInput) SetEndpointRequest ¶
func (s *UpdateEndpointInput) SetEndpointRequest(v *EndpointRequest) *UpdateEndpointInput
SetEndpointRequest sets the EndpointRequest field's value.
func (UpdateEndpointInput) String ¶
func (s UpdateEndpointInput) String() string
String returns the string representation
func (*UpdateEndpointInput) Validate ¶
func (s *UpdateEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateEndpointOutput ¶
type UpdateEndpointOutput struct { // Simple message object. // // MessageBody is a required field MessageBody *MessageBody `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpointResponse
func (UpdateEndpointOutput) GoString ¶
func (s UpdateEndpointOutput) GoString() string
GoString returns the string representation
func (UpdateEndpointOutput) SDKResponseMetadata ¶
func (s UpdateEndpointOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateEndpointOutput) SetMessageBody ¶
func (s *UpdateEndpointOutput) SetMessageBody(v *MessageBody) *UpdateEndpointOutput
SetMessageBody sets the MessageBody field's value.
func (UpdateEndpointOutput) String ¶
func (s UpdateEndpointOutput) String() string
String returns the string representation
type UpdateEndpointRequest ¶
type UpdateEndpointRequest struct { *aws.Request Input *UpdateEndpointInput }
UpdateEndpointRequest is a API request type for the UpdateEndpoint API operation.
func (UpdateEndpointRequest) Send ¶
func (r UpdateEndpointRequest) Send() (*UpdateEndpointOutput, error)
Send marshals and sends the UpdateEndpoint API request.
type UpdateEndpointsBatchInput ¶
type UpdateEndpointsBatchInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // Endpoint batch update request. // // EndpointBatchRequest is a required field EndpointBatchRequest *EndpointBatchRequest `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpointsBatchRequest
func (UpdateEndpointsBatchInput) GoString ¶
func (s UpdateEndpointsBatchInput) GoString() string
GoString returns the string representation
func (*UpdateEndpointsBatchInput) SetApplicationId ¶
func (s *UpdateEndpointsBatchInput) SetApplicationId(v string) *UpdateEndpointsBatchInput
SetApplicationId sets the ApplicationId field's value.
func (*UpdateEndpointsBatchInput) SetEndpointBatchRequest ¶
func (s *UpdateEndpointsBatchInput) SetEndpointBatchRequest(v *EndpointBatchRequest) *UpdateEndpointsBatchInput
SetEndpointBatchRequest sets the EndpointBatchRequest field's value.
func (UpdateEndpointsBatchInput) String ¶
func (s UpdateEndpointsBatchInput) String() string
String returns the string representation
func (*UpdateEndpointsBatchInput) Validate ¶
func (s *UpdateEndpointsBatchInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateEndpointsBatchOutput ¶
type UpdateEndpointsBatchOutput struct { // Simple message object. // // MessageBody is a required field MessageBody *MessageBody `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpointsBatchResponse
func (UpdateEndpointsBatchOutput) GoString ¶
func (s UpdateEndpointsBatchOutput) GoString() string
GoString returns the string representation
func (UpdateEndpointsBatchOutput) SDKResponseMetadata ¶
func (s UpdateEndpointsBatchOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateEndpointsBatchOutput) SetMessageBody ¶
func (s *UpdateEndpointsBatchOutput) SetMessageBody(v *MessageBody) *UpdateEndpointsBatchOutput
SetMessageBody sets the MessageBody field's value.
func (UpdateEndpointsBatchOutput) String ¶
func (s UpdateEndpointsBatchOutput) String() string
String returns the string representation
type UpdateEndpointsBatchRequest ¶
type UpdateEndpointsBatchRequest struct { *aws.Request Input *UpdateEndpointsBatchInput }
UpdateEndpointsBatchRequest is a API request type for the UpdateEndpointsBatch API operation.
func (UpdateEndpointsBatchRequest) Send ¶
func (r UpdateEndpointsBatchRequest) Send() (*UpdateEndpointsBatchOutput, error)
Send marshals and sends the UpdateEndpointsBatch API request.
type UpdateGcmChannelInput ¶
type UpdateGcmChannelInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // Google Cloud Messaging credentials // // GCMChannelRequest is a required field GCMChannelRequest *GCMChannelRequest `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateGcmChannelRequest
func (UpdateGcmChannelInput) GoString ¶
func (s UpdateGcmChannelInput) GoString() string
GoString returns the string representation
func (*UpdateGcmChannelInput) SetApplicationId ¶
func (s *UpdateGcmChannelInput) SetApplicationId(v string) *UpdateGcmChannelInput
SetApplicationId sets the ApplicationId field's value.
func (*UpdateGcmChannelInput) SetGCMChannelRequest ¶
func (s *UpdateGcmChannelInput) SetGCMChannelRequest(v *GCMChannelRequest) *UpdateGcmChannelInput
SetGCMChannelRequest sets the GCMChannelRequest field's value.
func (UpdateGcmChannelInput) String ¶
func (s UpdateGcmChannelInput) String() string
String returns the string representation
func (*UpdateGcmChannelInput) Validate ¶
func (s *UpdateGcmChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateGcmChannelOutput ¶
type UpdateGcmChannelOutput struct { // Google Cloud Messaging channel definition // // GCMChannelResponse is a required field GCMChannelResponse *GCMChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateGcmChannelResponse
func (UpdateGcmChannelOutput) GoString ¶
func (s UpdateGcmChannelOutput) GoString() string
GoString returns the string representation
func (UpdateGcmChannelOutput) SDKResponseMetadata ¶
func (s UpdateGcmChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateGcmChannelOutput) SetGCMChannelResponse ¶
func (s *UpdateGcmChannelOutput) SetGCMChannelResponse(v *GCMChannelResponse) *UpdateGcmChannelOutput
SetGCMChannelResponse sets the GCMChannelResponse field's value.
func (UpdateGcmChannelOutput) String ¶
func (s UpdateGcmChannelOutput) String() string
String returns the string representation
type UpdateGcmChannelRequest ¶
type UpdateGcmChannelRequest struct { *aws.Request Input *UpdateGcmChannelInput }
UpdateGcmChannelRequest is a API request type for the UpdateGcmChannel API operation.
func (UpdateGcmChannelRequest) Send ¶
func (r UpdateGcmChannelRequest) Send() (*UpdateGcmChannelOutput, error)
Send marshals and sends the UpdateGcmChannel API request.
type UpdateSegmentInput ¶
type UpdateSegmentInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // SegmentId is a required field SegmentId *string `location:"uri" locationName:"segment-id" type:"string" required:"true"` // Segment definition. // // WriteSegmentRequest is a required field WriteSegmentRequest *WriteSegmentRequest `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSegmentRequest
func (UpdateSegmentInput) GoString ¶
func (s UpdateSegmentInput) GoString() string
GoString returns the string representation
func (*UpdateSegmentInput) SetApplicationId ¶
func (s *UpdateSegmentInput) SetApplicationId(v string) *UpdateSegmentInput
SetApplicationId sets the ApplicationId field's value.
func (*UpdateSegmentInput) SetSegmentId ¶
func (s *UpdateSegmentInput) SetSegmentId(v string) *UpdateSegmentInput
SetSegmentId sets the SegmentId field's value.
func (*UpdateSegmentInput) SetWriteSegmentRequest ¶
func (s *UpdateSegmentInput) SetWriteSegmentRequest(v *WriteSegmentRequest) *UpdateSegmentInput
SetWriteSegmentRequest sets the WriteSegmentRequest field's value.
func (UpdateSegmentInput) String ¶
func (s UpdateSegmentInput) String() string
String returns the string representation
func (*UpdateSegmentInput) Validate ¶
func (s *UpdateSegmentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateSegmentOutput ¶
type UpdateSegmentOutput struct { // Segment definition. // // SegmentResponse is a required field SegmentResponse *SegmentResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSegmentResponse
func (UpdateSegmentOutput) GoString ¶
func (s UpdateSegmentOutput) GoString() string
GoString returns the string representation
func (UpdateSegmentOutput) SDKResponseMetadata ¶
func (s UpdateSegmentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateSegmentOutput) SetSegmentResponse ¶
func (s *UpdateSegmentOutput) SetSegmentResponse(v *SegmentResponse) *UpdateSegmentOutput
SetSegmentResponse sets the SegmentResponse field's value.
func (UpdateSegmentOutput) String ¶
func (s UpdateSegmentOutput) String() string
String returns the string representation
type UpdateSegmentRequest ¶
type UpdateSegmentRequest struct { *aws.Request Input *UpdateSegmentInput }
UpdateSegmentRequest is a API request type for the UpdateSegment API operation.
func (UpdateSegmentRequest) Send ¶
func (r UpdateSegmentRequest) Send() (*UpdateSegmentOutput, error)
Send marshals and sends the UpdateSegment API request.
type UpdateSmsChannelInput ¶
type UpdateSmsChannelInput struct { // ApplicationId is a required field ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` // SMS Channel Request // // SMSChannelRequest is a required field SMSChannelRequest *SMSChannelRequest `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSmsChannelRequest
func (UpdateSmsChannelInput) GoString ¶
func (s UpdateSmsChannelInput) GoString() string
GoString returns the string representation
func (*UpdateSmsChannelInput) SetApplicationId ¶
func (s *UpdateSmsChannelInput) SetApplicationId(v string) *UpdateSmsChannelInput
SetApplicationId sets the ApplicationId field's value.
func (*UpdateSmsChannelInput) SetSMSChannelRequest ¶
func (s *UpdateSmsChannelInput) SetSMSChannelRequest(v *SMSChannelRequest) *UpdateSmsChannelInput
SetSMSChannelRequest sets the SMSChannelRequest field's value.
func (UpdateSmsChannelInput) String ¶
func (s UpdateSmsChannelInput) String() string
String returns the string representation
func (*UpdateSmsChannelInput) Validate ¶
func (s *UpdateSmsChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateSmsChannelOutput ¶
type UpdateSmsChannelOutput struct { // SMS Channel Response. // // SMSChannelResponse is a required field SMSChannelResponse *SMSChannelResponse `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSmsChannelResponse
func (UpdateSmsChannelOutput) GoString ¶
func (s UpdateSmsChannelOutput) GoString() string
GoString returns the string representation
func (UpdateSmsChannelOutput) SDKResponseMetadata ¶
func (s UpdateSmsChannelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*UpdateSmsChannelOutput) SetSMSChannelResponse ¶
func (s *UpdateSmsChannelOutput) SetSMSChannelResponse(v *SMSChannelResponse) *UpdateSmsChannelOutput
SetSMSChannelResponse sets the SMSChannelResponse field's value.
func (UpdateSmsChannelOutput) String ¶
func (s UpdateSmsChannelOutput) String() string
String returns the string representation
type UpdateSmsChannelRequest ¶
type UpdateSmsChannelRequest struct { *aws.Request Input *UpdateSmsChannelInput }
UpdateSmsChannelRequest is a API request type for the UpdateSmsChannel API operation.
func (UpdateSmsChannelRequest) Send ¶
func (r UpdateSmsChannelRequest) Send() (*UpdateSmsChannelOutput, error)
Send marshals and sends the UpdateSmsChannel API request.
type WriteApplicationSettingsRequest ¶
type WriteApplicationSettingsRequest struct { // The default campaign limits for the app. These limits apply to each campaign // for the app, unless the campaign overrides the default with limits of its // own. Limits *CampaignLimits `type:"structure"` // The default quiet time for the app. Each campaign for this app sends no messages // during this time unless the campaign overrides the default with a quiet time // of its own. QuietTime *QuietTime `type:"structure"` // contains filtered or unexported fields }
Creating application setting request Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteApplicationSettingsRequest
func (WriteApplicationSettingsRequest) GoString ¶
func (s WriteApplicationSettingsRequest) GoString() string
GoString returns the string representation
func (*WriteApplicationSettingsRequest) SetLimits ¶
func (s *WriteApplicationSettingsRequest) SetLimits(v *CampaignLimits) *WriteApplicationSettingsRequest
SetLimits sets the Limits field's value.
func (*WriteApplicationSettingsRequest) SetQuietTime ¶
func (s *WriteApplicationSettingsRequest) SetQuietTime(v *QuietTime) *WriteApplicationSettingsRequest
SetQuietTime sets the QuietTime field's value.
func (WriteApplicationSettingsRequest) String ¶
func (s WriteApplicationSettingsRequest) String() string
String returns the string representation
type WriteCampaignRequest ¶
type WriteCampaignRequest struct { // Treatments that are defined in addition to the default treatment. AdditionalTreatments []WriteTreatmentResource `type:"list"` // A description of the campaign. Description *string `type:"string"` // The allocated percentage of end users who will not receive messages from // this campaign. HoldoutPercent *int64 `type:"integer"` // Indicates whether the campaign is paused. A paused campaign does not send // messages unless you resume it by setting IsPaused to false. IsPaused *bool `type:"boolean"` // The campaign limits settings. Limits *CampaignLimits `type:"structure"` // The message configuration settings. MessageConfiguration *MessageConfiguration `type:"structure"` // The custom name of the campaign. Name *string `type:"string"` // The campaign schedule. Schedule *Schedule `type:"structure"` // The ID of the segment to which the campaign sends messages. SegmentId *string `type:"string"` // The version of the segment to which the campaign sends messages. SegmentVersion *int64 `type:"integer"` // Whether or not to enable trace logging for the campaign. Undocumented Trace *bool `type:"boolean"` // A custom description for the treatment. TreatmentDescription *string `type:"string"` // The custom name of a variation of the campaign used for A/B testing. TreatmentName *string `type:"string"` // contains filtered or unexported fields }
Used to create a campaign. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteCampaignRequest
func (WriteCampaignRequest) GoString ¶
func (s WriteCampaignRequest) GoString() string
GoString returns the string representation
func (*WriteCampaignRequest) SetAdditionalTreatments ¶
func (s *WriteCampaignRequest) SetAdditionalTreatments(v []WriteTreatmentResource) *WriteCampaignRequest
SetAdditionalTreatments sets the AdditionalTreatments field's value.
func (*WriteCampaignRequest) SetDescription ¶
func (s *WriteCampaignRequest) SetDescription(v string) *WriteCampaignRequest
SetDescription sets the Description field's value.
func (*WriteCampaignRequest) SetHoldoutPercent ¶
func (s *WriteCampaignRequest) SetHoldoutPercent(v int64) *WriteCampaignRequest
SetHoldoutPercent sets the HoldoutPercent field's value.
func (*WriteCampaignRequest) SetIsPaused ¶
func (s *WriteCampaignRequest) SetIsPaused(v bool) *WriteCampaignRequest
SetIsPaused sets the IsPaused field's value.
func (*WriteCampaignRequest) SetLimits ¶
func (s *WriteCampaignRequest) SetLimits(v *CampaignLimits) *WriteCampaignRequest
SetLimits sets the Limits field's value.
func (*WriteCampaignRequest) SetMessageConfiguration ¶
func (s *WriteCampaignRequest) SetMessageConfiguration(v *MessageConfiguration) *WriteCampaignRequest
SetMessageConfiguration sets the MessageConfiguration field's value.
func (*WriteCampaignRequest) SetName ¶
func (s *WriteCampaignRequest) SetName(v string) *WriteCampaignRequest
SetName sets the Name field's value.
func (*WriteCampaignRequest) SetSchedule ¶
func (s *WriteCampaignRequest) SetSchedule(v *Schedule) *WriteCampaignRequest
SetSchedule sets the Schedule field's value.
func (*WriteCampaignRequest) SetSegmentId ¶
func (s *WriteCampaignRequest) SetSegmentId(v string) *WriteCampaignRequest
SetSegmentId sets the SegmentId field's value.
func (*WriteCampaignRequest) SetSegmentVersion ¶
func (s *WriteCampaignRequest) SetSegmentVersion(v int64) *WriteCampaignRequest
SetSegmentVersion sets the SegmentVersion field's value.
func (*WriteCampaignRequest) SetTrace ¶
func (s *WriteCampaignRequest) SetTrace(v bool) *WriteCampaignRequest
SetTrace sets the Trace field's value.
func (*WriteCampaignRequest) SetTreatmentDescription ¶
func (s *WriteCampaignRequest) SetTreatmentDescription(v string) *WriteCampaignRequest
SetTreatmentDescription sets the TreatmentDescription field's value.
func (*WriteCampaignRequest) SetTreatmentName ¶
func (s *WriteCampaignRequest) SetTreatmentName(v string) *WriteCampaignRequest
SetTreatmentName sets the TreatmentName field's value.
func (WriteCampaignRequest) String ¶
func (s WriteCampaignRequest) String() string
String returns the string representation
type WriteEventStream ¶
type WriteEventStream struct { // The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery // stream to which you want to publish events. Firehose ARN: arn:aws:firehose:REGION:ACCOUNT_ID:deliverystream/STREAM_NAME // Kinesis ARN: arn:aws:kinesis:REGION:ACCOUNT_ID:stream/STREAM_NAME DestinationStreamArn *string `type:"string"` // The external ID assigned the IAM role that authorizes Amazon Pinpoint to // publish to the stream. ExternalId *string `type:"string"` // The IAM role that authorizes Amazon Pinpoint to publish events to the stream // in your account. RoleArn *string `type:"string"` // contains filtered or unexported fields }
Request to save an EventStream. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteEventStream
func (WriteEventStream) GoString ¶
func (s WriteEventStream) GoString() string
GoString returns the string representation
func (*WriteEventStream) SetDestinationStreamArn ¶
func (s *WriteEventStream) SetDestinationStreamArn(v string) *WriteEventStream
SetDestinationStreamArn sets the DestinationStreamArn field's value.
func (*WriteEventStream) SetExternalId ¶
func (s *WriteEventStream) SetExternalId(v string) *WriteEventStream
SetExternalId sets the ExternalId field's value.
func (*WriteEventStream) SetRoleArn ¶
func (s *WriteEventStream) SetRoleArn(v string) *WriteEventStream
SetRoleArn sets the RoleArn field's value.
func (WriteEventStream) String ¶
func (s WriteEventStream) String() string
String returns the string representation
type WriteSegmentRequest ¶
type WriteSegmentRequest struct { // The segment dimensions attributes. Dimensions *SegmentDimensions `type:"structure"` // The name of segment Name *string `type:"string"` // contains filtered or unexported fields }
Segment definition. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteSegmentRequest
func (WriteSegmentRequest) GoString ¶
func (s WriteSegmentRequest) GoString() string
GoString returns the string representation
func (*WriteSegmentRequest) SetDimensions ¶
func (s *WriteSegmentRequest) SetDimensions(v *SegmentDimensions) *WriteSegmentRequest
SetDimensions sets the Dimensions field's value.
func (*WriteSegmentRequest) SetName ¶
func (s *WriteSegmentRequest) SetName(v string) *WriteSegmentRequest
SetName sets the Name field's value.
func (WriteSegmentRequest) String ¶
func (s WriteSegmentRequest) String() string
String returns the string representation
type WriteTreatmentResource ¶
type WriteTreatmentResource struct { // The message configuration settings. MessageConfiguration *MessageConfiguration `type:"structure"` // The campaign schedule. Schedule *Schedule `type:"structure"` // The allocated percentage of users for this treatment. SizePercent *int64 `type:"integer"` // A custom description for the treatment. TreatmentDescription *string `type:"string"` // The custom name of a variation of the campaign used for A/B testing. TreatmentName *string `type:"string"` // contains filtered or unexported fields }
Used to create a campaign treatment. Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteTreatmentResource
func (WriteTreatmentResource) GoString ¶
func (s WriteTreatmentResource) GoString() string
GoString returns the string representation
func (*WriteTreatmentResource) SetMessageConfiguration ¶
func (s *WriteTreatmentResource) SetMessageConfiguration(v *MessageConfiguration) *WriteTreatmentResource
SetMessageConfiguration sets the MessageConfiguration field's value.
func (*WriteTreatmentResource) SetSchedule ¶
func (s *WriteTreatmentResource) SetSchedule(v *Schedule) *WriteTreatmentResource
SetSchedule sets the Schedule field's value.
func (*WriteTreatmentResource) SetSizePercent ¶
func (s *WriteTreatmentResource) SetSizePercent(v int64) *WriteTreatmentResource
SetSizePercent sets the SizePercent field's value.
func (*WriteTreatmentResource) SetTreatmentDescription ¶
func (s *WriteTreatmentResource) SetTreatmentDescription(v string) *WriteTreatmentResource
SetTreatmentDescription sets the TreatmentDescription field's value.
func (*WriteTreatmentResource) SetTreatmentName ¶
func (s *WriteTreatmentResource) SetTreatmentName(v string) *WriteTreatmentResource
SetTreatmentName sets the TreatmentName field's value.
func (WriteTreatmentResource) String ¶
func (s WriteTreatmentResource) String() string
String returns the string representation
Directories ¶
Path | Synopsis |
---|---|
Package pinpointiface provides an interface to enable mocking the Amazon Pinpoint service client for testing your code.
|
Package pinpointiface provides an interface to enable mocking the Amazon Pinpoint service client for testing your code. |