{ "metadata" : { "apiVersion" : "2016-12-01", "endpointPrefix" : "pinpoint", "signingName" : "mobiletargeting", "serviceFullName" : "Amazon Pinpoint", "protocol" : "rest-json", "jsonVersion" : "1.1", "uid" : "pinpoint-2016-12-01", "signatureVersion" : "v4" }, "operations" : { "CreateApp" : { "name" : "CreateApp", "http" : { "method" : "POST", "requestUri" : "/v1/apps", "responseCode" : 201 }, "input" : { "shape" : "CreateAppRequest" }, "output" : { "shape" : "CreateAppResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "CreateCampaign" : { "name" : "CreateCampaign", "http" : { "method" : "POST", "requestUri" : "/v1/apps/{application-id}/campaigns", "responseCode" : 201 }, "input" : { "shape" : "CreateCampaignRequest" }, "output" : { "shape" : "CreateCampaignResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "CreateImportJob" : { "name" : "CreateImportJob", "http" : { "method" : "POST", "requestUri" : "/v1/apps/{application-id}/jobs/import", "responseCode" : 201 }, "input" : { "shape" : "CreateImportJobRequest" }, "output" : { "shape" : "CreateImportJobResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "CreateSegment" : { "name" : "CreateSegment", "http" : { "method" : "POST", "requestUri" : "/v1/apps/{application-id}/segments", "responseCode" : 201 }, "input" : { "shape" : "CreateSegmentRequest" }, "output" : { "shape" : "CreateSegmentResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "DeleteAdmChannel" : { "name" : "DeleteAdmChannel", "http" : { "method" : "DELETE", "requestUri" : "/v1/apps/{application-id}/channels/adm", "responseCode" : 200 }, "input" : { "shape" : "DeleteAdmChannelRequest" }, "output" : { "shape" : "DeleteAdmChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "DeleteApnsChannel" : { "name" : "DeleteApnsChannel", "http" : { "method" : "DELETE", "requestUri" : "/v1/apps/{application-id}/channels/apns", "responseCode" : 200 }, "input" : { "shape" : "DeleteApnsChannelRequest" }, "output" : { "shape" : "DeleteApnsChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "DeleteApnsSandboxChannel" : { "name" : "DeleteApnsSandboxChannel", "http" : { "method" : "DELETE", "requestUri" : "/v1/apps/{application-id}/channels/apns_sandbox", "responseCode" : 200 }, "input" : { "shape" : "DeleteApnsSandboxChannelRequest" }, "output" : { "shape" : "DeleteApnsSandboxChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "DeleteApnsVoipChannel" : { "name" : "DeleteApnsVoipChannel", "http" : { "method" : "DELETE", "requestUri" : "/v1/apps/{application-id}/channels/apns_voip", "responseCode" : 200 }, "input" : { "shape" : "DeleteApnsVoipChannelRequest" }, "output" : { "shape" : "DeleteApnsVoipChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "DeleteApnsVoipSandboxChannel" : { "name" : "DeleteApnsVoipSandboxChannel", "http" : { "method" : "DELETE", "requestUri" : "/v1/apps/{application-id}/channels/apns_voip_sandbox", "responseCode" : 200 }, "input" : { "shape" : "DeleteApnsVoipSandboxChannelRequest" }, "output" : { "shape" : "DeleteApnsVoipSandboxChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "DeleteApp" : { "name" : "DeleteApp", "http" : { "method" : "DELETE", "requestUri" : "/v1/apps/{application-id}", "responseCode" : 200 }, "input" : { "shape" : "DeleteAppRequest" }, "output" : { "shape" : "DeleteAppResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "DeleteBaiduChannel" : { "name" : "DeleteBaiduChannel", "http" : { "method" : "DELETE", "requestUri" : "/v1/apps/{application-id}/channels/baidu", "responseCode" : 200 }, "input" : { "shape" : "DeleteBaiduChannelRequest" }, "output" : { "shape" : "DeleteBaiduChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "DeleteCampaign" : { "name" : "DeleteCampaign", "http" : { "method" : "DELETE", "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}", "responseCode" : 200 }, "input" : { "shape" : "DeleteCampaignRequest" }, "output" : { "shape" : "DeleteCampaignResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "DeleteEmailChannel" : { "name" : "DeleteEmailChannel", "http" : { "method" : "DELETE", "requestUri" : "/v1/apps/{application-id}/channels/email", "responseCode" : 200 }, "input" : { "shape" : "DeleteEmailChannelRequest" }, "output" : { "shape" : "DeleteEmailChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "DeleteEventStream" : { "name" : "DeleteEventStream", "http" : { "method" : "DELETE", "requestUri" : "/v1/apps/{application-id}/eventstream", "responseCode" : 200 }, "input" : { "shape" : "DeleteEventStreamRequest" }, "output" : { "shape" : "DeleteEventStreamResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "DeleteGcmChannel" : { "name" : "DeleteGcmChannel", "http" : { "method" : "DELETE", "requestUri" : "/v1/apps/{application-id}/channels/gcm", "responseCode" : 200 }, "input" : { "shape" : "DeleteGcmChannelRequest" }, "output" : { "shape" : "DeleteGcmChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "DeleteSegment" : { "name" : "DeleteSegment", "http" : { "method" : "DELETE", "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}", "responseCode" : 200 }, "input" : { "shape" : "DeleteSegmentRequest" }, "output" : { "shape" : "DeleteSegmentResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "DeleteSmsChannel" : { "name" : "DeleteSmsChannel", "http" : { "method" : "DELETE", "requestUri" : "/v1/apps/{application-id}/channels/sms", "responseCode" : 200 }, "input" : { "shape" : "DeleteSmsChannelRequest" }, "output" : { "shape" : "DeleteSmsChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetAdmChannel" : { "name" : "GetAdmChannel", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/channels/adm", "responseCode" : 200 }, "input" : { "shape" : "GetAdmChannelRequest" }, "output" : { "shape" : "GetAdmChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetApnsChannel" : { "name" : "GetApnsChannel", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/channels/apns", "responseCode" : 200 }, "input" : { "shape" : "GetApnsChannelRequest" }, "output" : { "shape" : "GetApnsChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetApnsSandboxChannel" : { "name" : "GetApnsSandboxChannel", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/channels/apns_sandbox", "responseCode" : 200 }, "input" : { "shape" : "GetApnsSandboxChannelRequest" }, "output" : { "shape" : "GetApnsSandboxChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetApnsVoipChannel" : { "name" : "GetApnsVoipChannel", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/channels/apns_voip", "responseCode" : 200 }, "input" : { "shape" : "GetApnsVoipChannelRequest" }, "output" : { "shape" : "GetApnsVoipChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetApnsVoipSandboxChannel" : { "name" : "GetApnsVoipSandboxChannel", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/channels/apns_voip_sandbox", "responseCode" : 200 }, "input" : { "shape" : "GetApnsVoipSandboxChannelRequest" }, "output" : { "shape" : "GetApnsVoipSandboxChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetApp" : { "name" : "GetApp", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}", "responseCode" : 200 }, "input" : { "shape" : "GetAppRequest" }, "output" : { "shape" : "GetAppResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetApplicationSettings" : { "name" : "GetApplicationSettings", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/settings", "responseCode" : 200 }, "input" : { "shape" : "GetApplicationSettingsRequest" }, "output" : { "shape" : "GetApplicationSettingsResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetApps" : { "name" : "GetApps", "http" : { "method" : "GET", "requestUri" : "/v1/apps", "responseCode" : 200 }, "input" : { "shape" : "GetAppsRequest" }, "output" : { "shape" : "GetAppsResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetBaiduChannel" : { "name" : "GetBaiduChannel", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/channels/baidu", "responseCode" : 200 }, "input" : { "shape" : "GetBaiduChannelRequest" }, "output" : { "shape" : "GetBaiduChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetCampaign" : { "name" : "GetCampaign", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}", "responseCode" : 200 }, "input" : { "shape" : "GetCampaignRequest" }, "output" : { "shape" : "GetCampaignResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetCampaignActivities" : { "name" : "GetCampaignActivities", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}/activities", "responseCode" : 200 }, "input" : { "shape" : "GetCampaignActivitiesRequest" }, "output" : { "shape" : "GetCampaignActivitiesResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetCampaignVersion" : { "name" : "GetCampaignVersion", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}/versions/{version}", "responseCode" : 200 }, "input" : { "shape" : "GetCampaignVersionRequest" }, "output" : { "shape" : "GetCampaignVersionResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetCampaignVersions" : { "name" : "GetCampaignVersions", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}/versions", "responseCode" : 200 }, "input" : { "shape" : "GetCampaignVersionsRequest" }, "output" : { "shape" : "GetCampaignVersionsResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetCampaigns" : { "name" : "GetCampaigns", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/campaigns", "responseCode" : 200 }, "input" : { "shape" : "GetCampaignsRequest" }, "output" : { "shape" : "GetCampaignsResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetEmailChannel" : { "name" : "GetEmailChannel", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/channels/email", "responseCode" : 200 }, "input" : { "shape" : "GetEmailChannelRequest" }, "output" : { "shape" : "GetEmailChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetEndpoint" : { "name" : "GetEndpoint", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/endpoints/{endpoint-id}", "responseCode" : 200 }, "input" : { "shape" : "GetEndpointRequest" }, "output" : { "shape" : "GetEndpointResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetEventStream" : { "name" : "GetEventStream", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/eventstream", "responseCode" : 200 }, "input" : { "shape" : "GetEventStreamRequest" }, "output" : { "shape" : "GetEventStreamResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetGcmChannel" : { "name" : "GetGcmChannel", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/channels/gcm", "responseCode" : 200 }, "input" : { "shape" : "GetGcmChannelRequest" }, "output" : { "shape" : "GetGcmChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetImportJob" : { "name" : "GetImportJob", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/jobs/import/{job-id}", "responseCode" : 200 }, "input" : { "shape" : "GetImportJobRequest" }, "output" : { "shape" : "GetImportJobResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetImportJobs" : { "name" : "GetImportJobs", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/jobs/import", "responseCode" : 200 }, "input" : { "shape" : "GetImportJobsRequest" }, "output" : { "shape" : "GetImportJobsResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetSegment" : { "name" : "GetSegment", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}", "responseCode" : 200 }, "input" : { "shape" : "GetSegmentRequest" }, "output" : { "shape" : "GetSegmentResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetSegmentImportJobs" : { "name" : "GetSegmentImportJobs", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}/jobs/import", "responseCode" : 200 }, "input" : { "shape" : "GetSegmentImportJobsRequest" }, "output" : { "shape" : "GetSegmentImportJobsResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetSegmentVersion" : { "name" : "GetSegmentVersion", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}/versions/{version}", "responseCode" : 200 }, "input" : { "shape" : "GetSegmentVersionRequest" }, "output" : { "shape" : "GetSegmentVersionResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetSegmentVersions" : { "name" : "GetSegmentVersions", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}/versions", "responseCode" : 200 }, "input" : { "shape" : "GetSegmentVersionsRequest" }, "output" : { "shape" : "GetSegmentVersionsResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetSegments" : { "name" : "GetSegments", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/segments", "responseCode" : 200 }, "input" : { "shape" : "GetSegmentsRequest" }, "output" : { "shape" : "GetSegmentsResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "GetSmsChannel" : { "name" : "GetSmsChannel", "http" : { "method" : "GET", "requestUri" : "/v1/apps/{application-id}/channels/sms", "responseCode" : 200 }, "input" : { "shape" : "GetSmsChannelRequest" }, "output" : { "shape" : "GetSmsChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "PutEventStream" : { "name" : "PutEventStream", "http" : { "method" : "POST", "requestUri" : "/v1/apps/{application-id}/eventstream", "responseCode" : 200 }, "input" : { "shape" : "PutEventStreamRequest" }, "output" : { "shape" : "PutEventStreamResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "SendMessages" : { "name" : "SendMessages", "http" : { "method" : "POST", "requestUri" : "/v1/apps/{application-id}/messages", "responseCode" : 200 }, "input" : { "shape" : "SendMessagesRequest" }, "output" : { "shape" : "SendMessagesResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "SendUsersMessages" : { "name" : "SendUsersMessages", "http" : { "method" : "POST", "requestUri" : "/v1/apps/{application-id}/users-messages", "responseCode" : 200 }, "input" : { "shape" : "SendUsersMessagesRequest" }, "output" : { "shape" : "SendUsersMessagesResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "UpdateAdmChannel" : { "name" : "UpdateAdmChannel", "http" : { "method" : "PUT", "requestUri" : "/v1/apps/{application-id}/channels/adm", "responseCode" : 200 }, "input" : { "shape" : "UpdateAdmChannelRequest" }, "output" : { "shape" : "UpdateAdmChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "UpdateApnsChannel" : { "name" : "UpdateApnsChannel", "http" : { "method" : "PUT", "requestUri" : "/v1/apps/{application-id}/channels/apns", "responseCode" : 200 }, "input" : { "shape" : "UpdateApnsChannelRequest" }, "output" : { "shape" : "UpdateApnsChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "UpdateApnsSandboxChannel" : { "name" : "UpdateApnsSandboxChannel", "http" : { "method" : "PUT", "requestUri" : "/v1/apps/{application-id}/channels/apns_sandbox", "responseCode" : 200 }, "input" : { "shape" : "UpdateApnsSandboxChannelRequest" }, "output" : { "shape" : "UpdateApnsSandboxChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "UpdateApnsVoipChannel" : { "name" : "UpdateApnsVoipChannel", "http" : { "method" : "PUT", "requestUri" : "/v1/apps/{application-id}/channels/apns_voip", "responseCode" : 200 }, "input" : { "shape" : "UpdateApnsVoipChannelRequest" }, "output" : { "shape" : "UpdateApnsVoipChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "UpdateApnsVoipSandboxChannel" : { "name" : "UpdateApnsVoipSandboxChannel", "http" : { "method" : "PUT", "requestUri" : "/v1/apps/{application-id}/channels/apns_voip_sandbox", "responseCode" : 200 }, "input" : { "shape" : "UpdateApnsVoipSandboxChannelRequest" }, "output" : { "shape" : "UpdateApnsVoipSandboxChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "UpdateApplicationSettings" : { "name" : "UpdateApplicationSettings", "http" : { "method" : "PUT", "requestUri" : "/v1/apps/{application-id}/settings", "responseCode" : 200 }, "input" : { "shape" : "UpdateApplicationSettingsRequest" }, "output" : { "shape" : "UpdateApplicationSettingsResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "UpdateBaiduChannel" : { "name" : "UpdateBaiduChannel", "http" : { "method" : "PUT", "requestUri" : "/v1/apps/{application-id}/channels/baidu", "responseCode" : 200 }, "input" : { "shape" : "UpdateBaiduChannelRequest" }, "output" : { "shape" : "UpdateBaiduChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "UpdateCampaign" : { "name" : "UpdateCampaign", "http" : { "method" : "PUT", "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}", "responseCode" : 200 }, "input" : { "shape" : "UpdateCampaignRequest" }, "output" : { "shape" : "UpdateCampaignResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "UpdateEmailChannel" : { "name" : "UpdateEmailChannel", "http" : { "method" : "PUT", "requestUri" : "/v1/apps/{application-id}/channels/email", "responseCode" : 200 }, "input" : { "shape" : "UpdateEmailChannelRequest" }, "output" : { "shape" : "UpdateEmailChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "UpdateEndpoint" : { "name" : "UpdateEndpoint", "http" : { "method" : "PUT", "requestUri" : "/v1/apps/{application-id}/endpoints/{endpoint-id}", "responseCode" : 202 }, "input" : { "shape" : "UpdateEndpointRequest" }, "output" : { "shape" : "UpdateEndpointResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "UpdateEndpointsBatch" : { "name" : "UpdateEndpointsBatch", "http" : { "method" : "PUT", "requestUri" : "/v1/apps/{application-id}/endpoints", "responseCode" : 202 }, "input" : { "shape" : "UpdateEndpointsBatchRequest" }, "output" : { "shape" : "UpdateEndpointsBatchResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "UpdateGcmChannel" : { "name" : "UpdateGcmChannel", "http" : { "method" : "PUT", "requestUri" : "/v1/apps/{application-id}/channels/gcm", "responseCode" : 200 }, "input" : { "shape" : "UpdateGcmChannelRequest" }, "output" : { "shape" : "UpdateGcmChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "UpdateSegment" : { "name" : "UpdateSegment", "http" : { "method" : "PUT", "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}", "responseCode" : 200 }, "input" : { "shape" : "UpdateSegmentRequest" }, "output" : { "shape" : "UpdateSegmentResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] }, "UpdateSmsChannel" : { "name" : "UpdateSmsChannel", "http" : { "method" : "PUT", "requestUri" : "/v1/apps/{application-id}/channels/sms", "responseCode" : 200 }, "input" : { "shape" : "UpdateSmsChannelRequest" }, "output" : { "shape" : "UpdateSmsChannelResponse" }, "errors" : [ { "shape" : "BadRequestException" }, { "shape" : "InternalServerErrorException" }, { "shape" : "ForbiddenException" }, { "shape" : "NotFoundException" }, { "shape" : "MethodNotAllowedException" }, { "shape" : "TooManyRequestsException" } ] } }, "shapes" : { "ADMChannelRequest" : { "type" : "structure", "members" : { "ClientId" : { "shape" : "__string" }, "ClientSecret" : { "shape" : "__string" }, "Enabled" : { "shape" : "__boolean" } } }, "ADMChannelResponse" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string" }, "CreationDate" : { "shape" : "__string" }, "Enabled" : { "shape" : "__boolean" }, "HasCredential" : { "shape" : "__boolean" }, "Id" : { "shape" : "__string" }, "IsArchived" : { "shape" : "__boolean" }, "LastModifiedBy" : { "shape" : "__string" }, "LastModifiedDate" : { "shape" : "__string" }, "Platform" : { "shape" : "__string" }, "Version" : { "shape" : "__integer" } } }, "ADMMessage" : { "type" : "structure", "members" : { "Action" : { "shape" : "Action" }, "Body" : { "shape" : "__string" }, "ConsolidationKey" : { "shape" : "__string" }, "Data" : { "shape" : "MapOf__string" }, "ExpiresAfter" : { "shape" : "__string" }, "IconReference" : { "shape" : "__string" }, "ImageIconUrl" : { "shape" : "__string" }, "ImageUrl" : { "shape" : "__string" }, "MD5" : { "shape" : "__string" }, "RawContent" : { "shape" : "__string" }, "SilentPush" : { "shape" : "__boolean" }, "SmallImageIconUrl" : { "shape" : "__string" }, "Sound" : { "shape" : "__string" }, "Substitutions" : { "shape" : "MapOfListOf__string" }, "Title" : { "shape" : "__string" }, "Url" : { "shape" : "__string" } } }, "APNSChannelRequest" : { "type" : "structure", "members" : { "BundleId" : { "shape" : "__string" }, "Certificate" : { "shape" : "__string" }, "DefaultAuthenticationMethod" : { "shape" : "__string" }, "Enabled" : { "shape" : "__boolean" }, "PrivateKey" : { "shape" : "__string" }, "TeamId" : { "shape" : "__string" }, "TokenKey" : { "shape" : "__string" }, "TokenKeyId" : { "shape" : "__string" } } }, "APNSChannelResponse" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string" }, "CreationDate" : { "shape" : "__string" }, "DefaultAuthenticationMethod" : { "shape" : "__string" }, "Enabled" : { "shape" : "__boolean" }, "HasCredential" : { "shape" : "__boolean" }, "HasTokenKey" : { "shape" : "__boolean" }, "Id" : { "shape" : "__string" }, "IsArchived" : { "shape" : "__boolean" }, "LastModifiedBy" : { "shape" : "__string" }, "LastModifiedDate" : { "shape" : "__string" }, "Platform" : { "shape" : "__string" }, "Version" : { "shape" : "__integer" } } }, "APNSMessage" : { "type" : "structure", "members" : { "Action" : { "shape" : "Action" }, "Badge" : { "shape" : "__integer" }, "Body" : { "shape" : "__string" }, "Category" : { "shape" : "__string" }, "CollapseId" : { "shape" : "__string" }, "Data" : { "shape" : "MapOf__string" }, "MediaUrl" : { "shape" : "__string" }, "PreferredAuthenticationMethod" : { "shape" : "__string" }, "Priority" : { "shape" : "__string" }, "RawContent" : { "shape" : "__string" }, "SilentPush" : { "shape" : "__boolean" }, "Sound" : { "shape" : "__string" }, "Substitutions" : { "shape" : "MapOfListOf__string" }, "ThreadId" : { "shape" : "__string" }, "TimeToLive" : { "shape" : "__integer" }, "Title" : { "shape" : "__string" }, "Url" : { "shape" : "__string" } } }, "APNSSandboxChannelRequest" : { "type" : "structure", "members" : { "BundleId" : { "shape" : "__string" }, "Certificate" : { "shape" : "__string" }, "DefaultAuthenticationMethod" : { "shape" : "__string" }, "Enabled" : { "shape" : "__boolean" }, "PrivateKey" : { "shape" : "__string" }, "TeamId" : { "shape" : "__string" }, "TokenKey" : { "shape" : "__string" }, "TokenKeyId" : { "shape" : "__string" } } }, "APNSSandboxChannelResponse" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string" }, "CreationDate" : { "shape" : "__string" }, "DefaultAuthenticationMethod" : { "shape" : "__string" }, "Enabled" : { "shape" : "__boolean" }, "HasCredential" : { "shape" : "__boolean" }, "HasTokenKey" : { "shape" : "__boolean" }, "Id" : { "shape" : "__string" }, "IsArchived" : { "shape" : "__boolean" }, "LastModifiedBy" : { "shape" : "__string" }, "LastModifiedDate" : { "shape" : "__string" }, "Platform" : { "shape" : "__string" }, "Version" : { "shape" : "__integer" } } }, "APNSVoipChannelRequest" : { "type" : "structure", "members" : { "BundleId" : { "shape" : "__string" }, "Certificate" : { "shape" : "__string" }, "DefaultAuthenticationMethod" : { "shape" : "__string" }, "Enabled" : { "shape" : "__boolean" }, "PrivateKey" : { "shape" : "__string" }, "TeamId" : { "shape" : "__string" }, "TokenKey" : { "shape" : "__string" }, "TokenKeyId" : { "shape" : "__string" } } }, "APNSVoipChannelResponse" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string" }, "CreationDate" : { "shape" : "__string" }, "DefaultAuthenticationMethod" : { "shape" : "__string" }, "Enabled" : { "shape" : "__boolean" }, "HasCredential" : { "shape" : "__boolean" }, "HasTokenKey" : { "shape" : "__boolean" }, "Id" : { "shape" : "__string" }, "IsArchived" : { "shape" : "__boolean" }, "LastModifiedBy" : { "shape" : "__string" }, "LastModifiedDate" : { "shape" : "__string" }, "Platform" : { "shape" : "__string" }, "Version" : { "shape" : "__integer" } } }, "APNSVoipSandboxChannelRequest" : { "type" : "structure", "members" : { "BundleId" : { "shape" : "__string" }, "Certificate" : { "shape" : "__string" }, "DefaultAuthenticationMethod" : { "shape" : "__string" }, "Enabled" : { "shape" : "__boolean" }, "PrivateKey" : { "shape" : "__string" }, "TeamId" : { "shape" : "__string" }, "TokenKey" : { "shape" : "__string" }, "TokenKeyId" : { "shape" : "__string" } } }, "APNSVoipSandboxChannelResponse" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string" }, "CreationDate" : { "shape" : "__string" }, "DefaultAuthenticationMethod" : { "shape" : "__string" }, "Enabled" : { "shape" : "__boolean" }, "HasCredential" : { "shape" : "__boolean" }, "HasTokenKey" : { "shape" : "__boolean" }, "Id" : { "shape" : "__string" }, "IsArchived" : { "shape" : "__boolean" }, "LastModifiedBy" : { "shape" : "__string" }, "LastModifiedDate" : { "shape" : "__string" }, "Platform" : { "shape" : "__string" }, "Version" : { "shape" : "__integer" } } }, "Action" : { "type" : "string", "enum" : [ "OPEN_APP", "DEEP_LINK", "URL" ] }, "ActivitiesResponse" : { "type" : "structure", "members" : { "Item" : { "shape" : "ListOfActivityResponse" } } }, "ActivityResponse" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string" }, "CampaignId" : { "shape" : "__string" }, "End" : { "shape" : "__string" }, "Id" : { "shape" : "__string" }, "Result" : { "shape" : "__string" }, "ScheduledStart" : { "shape" : "__string" }, "Start" : { "shape" : "__string" }, "State" : { "shape" : "__string" }, "SuccessfulEndpointCount" : { "shape" : "__integer" }, "TimezonesCompletedCount" : { "shape" : "__integer" }, "TimezonesTotalCount" : { "shape" : "__integer" }, "TotalEndpointCount" : { "shape" : "__integer" }, "TreatmentId" : { "shape" : "__string" } } }, "AddressConfiguration" : { "type" : "structure", "members" : { "BodyOverride" : { "shape" : "__string" }, "ChannelType" : { "shape" : "ChannelType" }, "Context" : { "shape" : "MapOf__string" }, "RawContent" : { "shape" : "__string" }, "Substitutions" : { "shape" : "MapOfListOf__string" }, "TitleOverride" : { "shape" : "__string" } } }, "ApplicationResponse" : { "type" : "structure", "members" : { "Id" : { "shape" : "__string" }, "Name" : { "shape" : "__string" } } }, "ApplicationSettingsResource" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string" }, "LastModifiedDate" : { "shape" : "__string" }, "Limits" : { "shape" : "CampaignLimits" }, "QuietTime" : { "shape" : "QuietTime" } } }, "ApplicationsResponse" : { "type" : "structure", "members" : { "Item" : { "shape" : "ListOfApplicationResponse" }, "NextToken" : { "shape" : "__string" } } }, "AttributeDimension" : { "type" : "structure", "members" : { "AttributeType" : { "shape" : "AttributeType" }, "Values" : { "shape" : "ListOf__string" } } }, "AttributeType" : { "type" : "string", "enum" : [ "INCLUSIVE", "EXCLUSIVE" ] }, "BadRequestException" : { "type" : "structure", "members" : { "Message" : { "shape" : "__string" }, "RequestID" : { "shape" : "__string" } }, "exception" : true, "error" : { "httpStatusCode" : 400 } }, "BaiduChannelRequest" : { "type" : "structure", "members" : { "ApiKey" : { "shape" : "__string" }, "Enabled" : { "shape" : "__boolean" }, "SecretKey" : { "shape" : "__string" } } }, "BaiduChannelResponse" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string" }, "CreationDate" : { "shape" : "__string" }, "Credential" : { "shape" : "__string" }, "Enabled" : { "shape" : "__boolean" }, "HasCredential" : { "shape" : "__boolean" }, "Id" : { "shape" : "__string" }, "IsArchived" : { "shape" : "__boolean" }, "LastModifiedBy" : { "shape" : "__string" }, "LastModifiedDate" : { "shape" : "__string" }, "Platform" : { "shape" : "__string" }, "Version" : { "shape" : "__integer" } } }, "BaiduMessage" : { "type" : "structure", "members" : { "Action" : { "shape" : "Action" }, "Body" : { "shape" : "__string" }, "Data" : { "shape" : "MapOf__string" }, "IconReference" : { "shape" : "__string" }, "ImageIconUrl" : { "shape" : "__string" }, "ImageUrl" : { "shape" : "__string" }, "RawContent" : { "shape" : "__string" }, "SilentPush" : { "shape" : "__boolean" }, "SmallImageIconUrl" : { "shape" : "__string" }, "Sound" : { "shape" : "__string" }, "Substitutions" : { "shape" : "MapOfListOf__string" }, "Title" : { "shape" : "__string" }, "Url" : { "shape" : "__string" } } }, "CampaignEmailMessage" : { "type" : "structure", "members" : { "Body" : { "shape" : "__string" }, "FromAddress" : { "shape" : "__string" }, "HtmlBody" : { "shape" : "__string" }, "Title" : { "shape" : "__string" } } }, "CampaignLimits" : { "type" : "structure", "members" : { "Daily" : { "shape" : "__integer" }, "MaximumDuration" : { "shape" : "__integer" }, "MessagesPerSecond" : { "shape" : "__integer" }, "Total" : { "shape" : "__integer" } } }, "CampaignResponse" : { "type" : "structure", "members" : { "AdditionalTreatments" : { "shape" : "ListOfTreatmentResource" }, "ApplicationId" : { "shape" : "__string" }, "CreationDate" : { "shape" : "__string" }, "DefaultState" : { "shape" : "CampaignState" }, "Description" : { "shape" : "__string" }, "HoldoutPercent" : { "shape" : "__integer" }, "Id" : { "shape" : "__string" }, "IsPaused" : { "shape" : "__boolean" }, "LastModifiedDate" : { "shape" : "__string" }, "Limits" : { "shape" : "CampaignLimits" }, "MessageConfiguration" : { "shape" : "MessageConfiguration" }, "Name" : { "shape" : "__string" }, "Schedule" : { "shape" : "Schedule" }, "SegmentId" : { "shape" : "__string" }, "SegmentVersion" : { "shape" : "__integer" }, "State" : { "shape" : "CampaignState" }, "TreatmentDescription" : { "shape" : "__string" }, "TreatmentName" : { "shape" : "__string" }, "Version" : { "shape" : "__integer" } } }, "CampaignSmsMessage" : { "type" : "structure", "members" : { "Body" : { "shape" : "__string" }, "MessageType" : { "shape" : "MessageType" }, "SenderId" : { "shape" : "__string" } } }, "CampaignState" : { "type" : "structure", "members" : { "CampaignStatus" : { "shape" : "CampaignStatus" } } }, "CampaignStatus" : { "type" : "string", "enum" : [ "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED" ] }, "CampaignsResponse" : { "type" : "structure", "members" : { "Item" : { "shape" : "ListOfCampaignResponse" }, "NextToken" : { "shape" : "__string" } } }, "ChannelType" : { "type" : "string", "enum" : [ "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "EMAIL", "BAIDU"] }, "CreateAppRequest" : { "type" : "structure", "members" : { "CreateApplicationRequest" : { "shape" : "CreateApplicationRequest" } }, "required" : [ "CreateApplicationRequest" ], "payload" : "CreateApplicationRequest" }, "CreateAppResponse" : { "type" : "structure", "members" : { "ApplicationResponse" : { "shape" : "ApplicationResponse" } }, "required" : [ "ApplicationResponse" ], "payload" : "ApplicationResponse" }, "CreateApplicationRequest" : { "type" : "structure", "members" : { "Name" : { "shape" : "__string" } } }, "CreateCampaignRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "WriteCampaignRequest" : { "shape" : "WriteCampaignRequest" } }, "required" : [ "ApplicationId", "WriteCampaignRequest" ], "payload" : "WriteCampaignRequest" }, "CreateCampaignResponse" : { "type" : "structure", "members" : { "CampaignResponse" : { "shape" : "CampaignResponse" } }, "required" : [ "CampaignResponse" ], "payload" : "CampaignResponse" }, "CreateImportJobRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "ImportJobRequest" : { "shape" : "ImportJobRequest" } }, "required" : [ "ApplicationId", "ImportJobRequest" ], "payload" : "ImportJobRequest" }, "CreateImportJobResponse" : { "type" : "structure", "members" : { "ImportJobResponse" : { "shape" : "ImportJobResponse" } }, "required" : [ "ImportJobResponse" ], "payload" : "ImportJobResponse" }, "CreateSegmentRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "WriteSegmentRequest" : { "shape" : "WriteSegmentRequest" } }, "required" : [ "ApplicationId", "WriteSegmentRequest" ], "payload" : "WriteSegmentRequest" }, "CreateSegmentResponse" : { "type" : "structure", "members" : { "SegmentResponse" : { "shape" : "SegmentResponse" } }, "required" : [ "SegmentResponse" ], "payload" : "SegmentResponse" }, "DefaultMessage" : { "type" : "structure", "members" : { "Body" : { "shape" : "__string" }, "Substitutions" : { "shape" : "MapOfListOf__string" } } }, "DefaultPushNotificationMessage" : { "type" : "structure", "members" : { "Action" : { "shape" : "Action" }, "Body" : { "shape" : "__string" }, "Data" : { "shape" : "MapOf__string" }, "SilentPush" : { "shape" : "__boolean" }, "Substitutions" : { "shape" : "MapOfListOf__string" }, "Title" : { "shape" : "__string" }, "Url" : { "shape" : "__string" } } }, "DeleteAdmChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "DeleteAdmChannelResponse" : { "type" : "structure", "members" : { "ADMChannelResponse" : { "shape" : "ADMChannelResponse" } }, "required" : [ "ADMChannelResponse" ], "payload" : "ADMChannelResponse" }, "DeleteApnsChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "DeleteApnsChannelResponse" : { "type" : "structure", "members" : { "APNSChannelResponse" : { "shape" : "APNSChannelResponse" } }, "required" : [ "APNSChannelResponse" ], "payload" : "APNSChannelResponse" }, "DeleteApnsSandboxChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "DeleteApnsSandboxChannelResponse" : { "type" : "structure", "members" : { "APNSSandboxChannelResponse" : { "shape" : "APNSSandboxChannelResponse" } }, "required" : [ "APNSSandboxChannelResponse" ], "payload" : "APNSSandboxChannelResponse" }, "DeleteApnsVoipChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "DeleteApnsVoipChannelResponse" : { "type" : "structure", "members" : { "APNSVoipChannelResponse" : { "shape" : "APNSVoipChannelResponse" } }, "required" : [ "APNSVoipChannelResponse" ], "payload" : "APNSVoipChannelResponse" }, "DeleteApnsVoipSandboxChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "DeleteApnsVoipSandboxChannelResponse" : { "type" : "structure", "members" : { "APNSVoipSandboxChannelResponse" : { "shape" : "APNSVoipSandboxChannelResponse" } }, "required" : [ "APNSVoipSandboxChannelResponse" ], "payload" : "APNSVoipSandboxChannelResponse" }, "DeleteAppRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "DeleteAppResponse" : { "type" : "structure", "members" : { "ApplicationResponse" : { "shape" : "ApplicationResponse" } }, "required" : [ "ApplicationResponse" ], "payload" : "ApplicationResponse" }, "DeleteBaiduChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "DeleteBaiduChannelResponse" : { "type" : "structure", "members" : { "BaiduChannelResponse" : { "shape" : "BaiduChannelResponse" } }, "required" : [ "BaiduChannelResponse" ], "payload" : "BaiduChannelResponse" }, "DeleteCampaignRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "CampaignId" : { "shape" : "__string", "location" : "uri", "locationName" : "campaign-id" } }, "required" : [ "CampaignId", "ApplicationId" ] }, "DeleteCampaignResponse" : { "type" : "structure", "members" : { "CampaignResponse" : { "shape" : "CampaignResponse" } }, "required" : [ "CampaignResponse" ], "payload" : "CampaignResponse" }, "DeleteEmailChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "DeleteEmailChannelResponse" : { "type" : "structure", "members" : { "EmailChannelResponse" : { "shape" : "EmailChannelResponse" } }, "required" : [ "EmailChannelResponse" ], "payload" : "EmailChannelResponse" }, "DeleteEventStreamRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "DeleteEventStreamResponse" : { "type" : "structure", "members" : { "EventStream" : { "shape" : "EventStream" } }, "required" : [ "EventStream" ], "payload" : "EventStream" }, "DeleteGcmChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "DeleteGcmChannelResponse" : { "type" : "structure", "members" : { "GCMChannelResponse" : { "shape" : "GCMChannelResponse" } }, "required" : [ "GCMChannelResponse" ], "payload" : "GCMChannelResponse" }, "DeleteSegmentRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "SegmentId" : { "shape" : "__string", "location" : "uri", "locationName" : "segment-id" } }, "required" : [ "SegmentId", "ApplicationId" ] }, "DeleteSegmentResponse" : { "type" : "structure", "members" : { "SegmentResponse" : { "shape" : "SegmentResponse" } }, "required" : [ "SegmentResponse" ], "payload" : "SegmentResponse" }, "DeleteSmsChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "DeleteSmsChannelResponse" : { "type" : "structure", "members" : { "SMSChannelResponse" : { "shape" : "SMSChannelResponse" } }, "required" : [ "SMSChannelResponse" ], "payload" : "SMSChannelResponse" }, "DeliveryStatus" : { "type" : "string", "enum" : [ "SUCCESSFUL", "THROTTLED", "TEMPORARY_FAILURE", "PERMANENT_FAILURE", "UNKNOWN_FAILURE", "OPT_OUT", "DUPLICATE" ] }, "DimensionType" : { "type" : "string", "enum" : [ "INCLUSIVE", "EXCLUSIVE" ] }, "DirectMessageConfiguration" : { "type" : "structure", "members" : { "ADMMessage" : { "shape" : "ADMMessage" }, "APNSMessage" : { "shape" : "APNSMessage" }, "BaiduMessage" : { "shape" : "BaiduMessage" }, "DefaultMessage" : { "shape" : "DefaultMessage" }, "DefaultPushNotificationMessage" : { "shape" : "DefaultPushNotificationMessage" }, "GCMMessage" : { "shape" : "GCMMessage" }, "SMSMessage" : { "shape" : "SMSMessage" } } }, "Duration" : { "type" : "string", "enum" : [ "HR_24", "DAY_7", "DAY_14", "DAY_30" ] }, "EmailChannelRequest" : { "type" : "structure", "members" : { "Enabled" : { "shape" : "__boolean" }, "FromAddress" : { "shape" : "__string" }, "Identity" : { "shape" : "__string" }, "RoleArn" : { "shape" : "__string" } } }, "EmailChannelResponse" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string" }, "CreationDate" : { "shape" : "__string" }, "Enabled" : { "shape" : "__boolean" }, "FromAddress" : { "shape" : "__string" }, "HasCredential" : { "shape" : "__boolean" }, "Id" : { "shape" : "__string" }, "Identity" : { "shape" : "__string" }, "IsArchived" : { "shape" : "__boolean" }, "LastModifiedBy" : { "shape" : "__string" }, "LastModifiedDate" : { "shape" : "__string" }, "Platform" : { "shape" : "__string" }, "RoleArn" : { "shape" : "__string" }, "Version" : { "shape" : "__integer" } } }, "EndpointBatchItem" : { "type" : "structure", "members" : { "Address" : { "shape" : "__string" }, "Attributes" : { "shape" : "MapOfListOf__string" }, "ChannelType" : { "shape" : "ChannelType" }, "Demographic" : { "shape" : "EndpointDemographic" }, "EffectiveDate" : { "shape" : "__string" }, "EndpointStatus" : { "shape" : "__string" }, "Id" : { "shape" : "__string" }, "Location" : { "shape" : "EndpointLocation" }, "Metrics" : { "shape" : "MapOf__double" }, "OptOut" : { "shape" : "__string" }, "RequestId" : { "shape" : "__string" }, "User" : { "shape" : "EndpointUser" } } }, "EndpointBatchRequest" : { "type" : "structure", "members" : { "Item" : { "shape" : "ListOfEndpointBatchItem" } } }, "EndpointDemographic" : { "type" : "structure", "members" : { "AppVersion" : { "shape" : "__string" }, "Locale" : { "shape" : "__string" }, "Make" : { "shape" : "__string" }, "Model" : { "shape" : "__string" }, "ModelVersion" : { "shape" : "__string" }, "Platform" : { "shape" : "__string" }, "PlatformVersion" : { "shape" : "__string" }, "Timezone" : { "shape" : "__string" } } }, "EndpointLocation" : { "type" : "structure", "members" : { "City" : { "shape" : "__string" }, "Country" : { "shape" : "__string" }, "Latitude" : { "shape" : "__double" }, "Longitude" : { "shape" : "__double" }, "PostalCode" : { "shape" : "__string" }, "Region" : { "shape" : "__string" } } }, "EndpointMessageResult" : { "type" : "structure", "members" : { "Address" : { "shape" : "__string" }, "DeliveryStatus" : { "shape" : "DeliveryStatus" }, "StatusCode" : { "shape" : "__integer" }, "StatusMessage" : { "shape" : "__string" }, "UpdatedToken" : { "shape" : "__string" } } }, "EndpointRequest" : { "type" : "structure", "members" : { "Address" : { "shape" : "__string" }, "Attributes" : { "shape" : "MapOfListOf__string" }, "ChannelType" : { "shape" : "ChannelType" }, "Demographic" : { "shape" : "EndpointDemographic" }, "EffectiveDate" : { "shape" : "__string" }, "EndpointStatus" : { "shape" : "__string" }, "Location" : { "shape" : "EndpointLocation" }, "Metrics" : { "shape" : "MapOf__double" }, "OptOut" : { "shape" : "__string" }, "RequestId" : { "shape" : "__string" }, "User" : { "shape" : "EndpointUser" } } }, "EndpointResponse" : { "type" : "structure", "members" : { "Address" : { "shape" : "__string" }, "ApplicationId" : { "shape" : "__string" }, "Attributes" : { "shape" : "MapOfListOf__string" }, "ChannelType" : { "shape" : "ChannelType" }, "CohortId" : { "shape" : "__string" }, "CreationDate" : { "shape" : "__string" }, "Demographic" : { "shape" : "EndpointDemographic" }, "EffectiveDate" : { "shape" : "__string" }, "EndpointStatus" : { "shape" : "__string" }, "Id" : { "shape" : "__string" }, "Location" : { "shape" : "EndpointLocation" }, "Metrics" : { "shape" : "MapOf__double" }, "OptOut" : { "shape" : "__string" }, "RequestId" : { "shape" : "__string" }, "User" : { "shape" : "EndpointUser" } } }, "EndpointSendConfiguration" : { "type" : "structure", "members" : { "BodyOverride" : { "shape" : "__string" }, "Context" : { "shape" : "MapOf__string" }, "RawContent" : { "shape" : "__string" }, "Substitutions" : { "shape" : "MapOfListOf__string" }, "TitleOverride" : { "shape" : "__string" } } }, "EndpointUser" : { "type" : "structure", "members" : { "UserAttributes" : { "shape" : "MapOfListOf__string" }, "UserId" : { "shape" : "__string" } } }, "EventStream" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string" }, "DestinationStreamArn" : { "shape" : "__string" }, "ExternalId" : { "shape" : "__string" }, "LastModifiedDate" : { "shape" : "__string" }, "LastUpdatedBy" : { "shape" : "__string" }, "RoleArn" : { "shape" : "__string" } } }, "ForbiddenException" : { "type" : "structure", "members" : { "Message" : { "shape" : "__string" }, "RequestID" : { "shape" : "__string" } }, "exception" : true, "error" : { "httpStatusCode" : 403 } }, "Format" : { "type" : "string", "enum" : [ "CSV", "JSON" ] }, "Frequency" : { "type" : "string", "enum" : [ "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY" ] }, "GCMChannelRequest" : { "type" : "structure", "members" : { "ApiKey" : { "shape" : "__string" }, "Enabled" : { "shape" : "__boolean" } } }, "GCMChannelResponse" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string" }, "CreationDate" : { "shape" : "__string" }, "Credential" : { "shape" : "__string" }, "Enabled" : { "shape" : "__boolean" }, "HasCredential" : { "shape" : "__boolean" }, "Id" : { "shape" : "__string" }, "IsArchived" : { "shape" : "__boolean" }, "LastModifiedBy" : { "shape" : "__string" }, "LastModifiedDate" : { "shape" : "__string" }, "Platform" : { "shape" : "__string" }, "Version" : { "shape" : "__integer" } } }, "GCMMessage" : { "type" : "structure", "members" : { "Action" : { "shape" : "Action" }, "Body" : { "shape" : "__string" }, "CollapseKey" : { "shape" : "__string" }, "Data" : { "shape" : "MapOf__string" }, "IconReference" : { "shape" : "__string" }, "ImageIconUrl" : { "shape" : "__string" }, "ImageUrl" : { "shape" : "__string" }, "Priority" : { "shape" : "__string" }, "RawContent" : { "shape" : "__string" }, "RestrictedPackageName" : { "shape" : "__string" }, "SilentPush" : { "shape" : "__boolean" }, "SmallImageIconUrl" : { "shape" : "__string" }, "Sound" : { "shape" : "__string" }, "Substitutions" : { "shape" : "MapOfListOf__string" }, "TimeToLive" : { "shape" : "__integer" }, "Title" : { "shape" : "__string" }, "Url" : { "shape" : "__string" } } }, "GetAdmChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "GetAdmChannelResponse" : { "type" : "structure", "members" : { "ADMChannelResponse" : { "shape" : "ADMChannelResponse" } }, "required" : [ "ADMChannelResponse" ], "payload" : "ADMChannelResponse" }, "GetApnsChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "GetApnsChannelResponse" : { "type" : "structure", "members" : { "APNSChannelResponse" : { "shape" : "APNSChannelResponse" } }, "required" : [ "APNSChannelResponse" ], "payload" : "APNSChannelResponse" }, "GetApnsSandboxChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "GetApnsSandboxChannelResponse" : { "type" : "structure", "members" : { "APNSSandboxChannelResponse" : { "shape" : "APNSSandboxChannelResponse" } }, "required" : [ "APNSSandboxChannelResponse" ], "payload" : "APNSSandboxChannelResponse" }, "GetApnsVoipChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "GetApnsVoipChannelResponse" : { "type" : "structure", "members" : { "APNSVoipChannelResponse" : { "shape" : "APNSVoipChannelResponse" } }, "required" : [ "APNSVoipChannelResponse" ], "payload" : "APNSVoipChannelResponse" }, "GetApnsVoipSandboxChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "GetApnsVoipSandboxChannelResponse" : { "type" : "structure", "members" : { "APNSVoipSandboxChannelResponse" : { "shape" : "APNSVoipSandboxChannelResponse" } }, "required" : [ "APNSVoipSandboxChannelResponse" ], "payload" : "APNSVoipSandboxChannelResponse" }, "GetAppRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "GetAppResponse" : { "type" : "structure", "members" : { "ApplicationResponse" : { "shape" : "ApplicationResponse" } }, "required" : [ "ApplicationResponse" ], "payload" : "ApplicationResponse" }, "GetApplicationSettingsRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "GetApplicationSettingsResponse" : { "type" : "structure", "members" : { "ApplicationSettingsResource" : { "shape" : "ApplicationSettingsResource" } }, "required" : [ "ApplicationSettingsResource" ], "payload" : "ApplicationSettingsResource" }, "GetAppsRequest" : { "type" : "structure", "members" : { "PageSize" : { "shape" : "__string", "location" : "querystring", "locationName" : "page-size" }, "Token" : { "shape" : "__string", "location" : "querystring", "locationName" : "token" } } }, "GetAppsResponse" : { "type" : "structure", "members" : { "ApplicationsResponse" : { "shape" : "ApplicationsResponse" } }, "required" : [ "ApplicationsResponse" ], "payload" : "ApplicationsResponse" }, "GetBaiduChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "GetBaiduChannelResponse" : { "type" : "structure", "members" : { "BaiduChannelResponse" : { "shape" : "BaiduChannelResponse" } }, "required" : [ "BaiduChannelResponse" ], "payload" : "BaiduChannelResponse" }, "GetCampaignActivitiesRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "CampaignId" : { "shape" : "__string", "location" : "uri", "locationName" : "campaign-id" }, "PageSize" : { "shape" : "__string", "location" : "querystring", "locationName" : "page-size" }, "Token" : { "shape" : "__string", "location" : "querystring", "locationName" : "token" } }, "required" : [ "ApplicationId", "CampaignId" ] }, "GetCampaignActivitiesResponse" : { "type" : "structure", "members" : { "ActivitiesResponse" : { "shape" : "ActivitiesResponse" } }, "required" : [ "ActivitiesResponse" ], "payload" : "ActivitiesResponse" }, "GetCampaignRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "CampaignId" : { "shape" : "__string", "location" : "uri", "locationName" : "campaign-id" } }, "required" : [ "CampaignId", "ApplicationId" ] }, "GetCampaignResponse" : { "type" : "structure", "members" : { "CampaignResponse" : { "shape" : "CampaignResponse" } }, "required" : [ "CampaignResponse" ], "payload" : "CampaignResponse" }, "GetCampaignVersionRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "CampaignId" : { "shape" : "__string", "location" : "uri", "locationName" : "campaign-id" }, "Version" : { "shape" : "__string", "location" : "uri", "locationName" : "version" } }, "required" : [ "Version", "ApplicationId", "CampaignId" ] }, "GetCampaignVersionResponse" : { "type" : "structure", "members" : { "CampaignResponse" : { "shape" : "CampaignResponse" } }, "required" : [ "CampaignResponse" ], "payload" : "CampaignResponse" }, "GetCampaignVersionsRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "CampaignId" : { "shape" : "__string", "location" : "uri", "locationName" : "campaign-id" }, "PageSize" : { "shape" : "__string", "location" : "querystring", "locationName" : "page-size" }, "Token" : { "shape" : "__string", "location" : "querystring", "locationName" : "token" } }, "required" : [ "ApplicationId", "CampaignId" ] }, "GetCampaignVersionsResponse" : { "type" : "structure", "members" : { "CampaignsResponse" : { "shape" : "CampaignsResponse" } }, "required" : [ "CampaignsResponse" ], "payload" : "CampaignsResponse" }, "GetCampaignsRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "PageSize" : { "shape" : "__string", "location" : "querystring", "locationName" : "page-size" }, "Token" : { "shape" : "__string", "location" : "querystring", "locationName" : "token" } }, "required" : [ "ApplicationId" ] }, "GetCampaignsResponse" : { "type" : "structure", "members" : { "CampaignsResponse" : { "shape" : "CampaignsResponse" } }, "required" : [ "CampaignsResponse" ], "payload" : "CampaignsResponse" }, "GetEmailChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "GetEmailChannelResponse" : { "type" : "structure", "members" : { "EmailChannelResponse" : { "shape" : "EmailChannelResponse" } }, "required" : [ "EmailChannelResponse" ], "payload" : "EmailChannelResponse" }, "GetEndpointRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "EndpointId" : { "shape" : "__string", "location" : "uri", "locationName" : "endpoint-id" } }, "required" : [ "ApplicationId", "EndpointId" ] }, "GetEndpointResponse" : { "type" : "structure", "members" : { "EndpointResponse" : { "shape" : "EndpointResponse" } }, "required" : [ "EndpointResponse" ], "payload" : "EndpointResponse" }, "GetEventStreamRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "GetEventStreamResponse" : { "type" : "structure", "members" : { "EventStream" : { "shape" : "EventStream" } }, "required" : [ "EventStream" ], "payload" : "EventStream" }, "GetGcmChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "GetGcmChannelResponse" : { "type" : "structure", "members" : { "GCMChannelResponse" : { "shape" : "GCMChannelResponse" } }, "required" : [ "GCMChannelResponse" ], "payload" : "GCMChannelResponse" }, "GetImportJobRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "JobId" : { "shape" : "__string", "location" : "uri", "locationName" : "job-id" } }, "required" : [ "ApplicationId", "JobId" ] }, "GetImportJobResponse" : { "type" : "structure", "members" : { "ImportJobResponse" : { "shape" : "ImportJobResponse" } }, "required" : [ "ImportJobResponse" ], "payload" : "ImportJobResponse" }, "GetImportJobsRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "PageSize" : { "shape" : "__string", "location" : "querystring", "locationName" : "page-size" }, "Token" : { "shape" : "__string", "location" : "querystring", "locationName" : "token" } }, "required" : [ "ApplicationId" ] }, "GetImportJobsResponse" : { "type" : "structure", "members" : { "ImportJobsResponse" : { "shape" : "ImportJobsResponse" } }, "required" : [ "ImportJobsResponse" ], "payload" : "ImportJobsResponse" }, "GetSegmentImportJobsRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "PageSize" : { "shape" : "__string", "location" : "querystring", "locationName" : "page-size" }, "SegmentId" : { "shape" : "__string", "location" : "uri", "locationName" : "segment-id" }, "Token" : { "shape" : "__string", "location" : "querystring", "locationName" : "token" } }, "required" : [ "SegmentId", "ApplicationId" ] }, "GetSegmentImportJobsResponse" : { "type" : "structure", "members" : { "ImportJobsResponse" : { "shape" : "ImportJobsResponse" } }, "required" : [ "ImportJobsResponse" ], "payload" : "ImportJobsResponse" }, "GetSegmentRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "SegmentId" : { "shape" : "__string", "location" : "uri", "locationName" : "segment-id" } }, "required" : [ "SegmentId", "ApplicationId" ] }, "GetSegmentResponse" : { "type" : "structure", "members" : { "SegmentResponse" : { "shape" : "SegmentResponse" } }, "required" : [ "SegmentResponse" ], "payload" : "SegmentResponse" }, "GetSegmentVersionRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "SegmentId" : { "shape" : "__string", "location" : "uri", "locationName" : "segment-id" }, "Version" : { "shape" : "__string", "location" : "uri", "locationName" : "version" } }, "required" : [ "SegmentId", "Version", "ApplicationId" ] }, "GetSegmentVersionResponse" : { "type" : "structure", "members" : { "SegmentResponse" : { "shape" : "SegmentResponse" } }, "required" : [ "SegmentResponse" ], "payload" : "SegmentResponse" }, "GetSegmentVersionsRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "PageSize" : { "shape" : "__string", "location" : "querystring", "locationName" : "page-size" }, "SegmentId" : { "shape" : "__string", "location" : "uri", "locationName" : "segment-id" }, "Token" : { "shape" : "__string", "location" : "querystring", "locationName" : "token" } }, "required" : [ "SegmentId", "ApplicationId" ] }, "GetSegmentVersionsResponse" : { "type" : "structure", "members" : { "SegmentsResponse" : { "shape" : "SegmentsResponse" } }, "required" : [ "SegmentsResponse" ], "payload" : "SegmentsResponse" }, "GetSegmentsRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "PageSize" : { "shape" : "__string", "location" : "querystring", "locationName" : "page-size" }, "Token" : { "shape" : "__string", "location" : "querystring", "locationName" : "token" } }, "required" : [ "ApplicationId" ] }, "GetSegmentsResponse" : { "type" : "structure", "members" : { "SegmentsResponse" : { "shape" : "SegmentsResponse" } }, "required" : [ "SegmentsResponse" ], "payload" : "SegmentsResponse" }, "GetSmsChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId" ] }, "GetSmsChannelResponse" : { "type" : "structure", "members" : { "SMSChannelResponse" : { "shape" : "SMSChannelResponse" } }, "required" : [ "SMSChannelResponse" ], "payload" : "SMSChannelResponse" }, "ImportJobRequest" : { "type" : "structure", "members" : { "DefineSegment" : { "shape" : "__boolean" }, "ExternalId" : { "shape" : "__string" }, "Format" : { "shape" : "Format" }, "RegisterEndpoints" : { "shape" : "__boolean" }, "RoleArn" : { "shape" : "__string" }, "S3Url" : { "shape" : "__string" }, "SegmentId" : { "shape" : "__string" }, "SegmentName" : { "shape" : "__string" } } }, "ImportJobResource" : { "type" : "structure", "members" : { "DefineSegment" : { "shape" : "__boolean" }, "ExternalId" : { "shape" : "__string" }, "Format" : { "shape" : "Format" }, "RegisterEndpoints" : { "shape" : "__boolean" }, "RoleArn" : { "shape" : "__string" }, "S3Url" : { "shape" : "__string" }, "SegmentId" : { "shape" : "__string" }, "SegmentName" : { "shape" : "__string" } } }, "ImportJobResponse" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string" }, "CompletedPieces" : { "shape" : "__integer" }, "CompletionDate" : { "shape" : "__string" }, "CreationDate" : { "shape" : "__string" }, "Definition" : { "shape" : "ImportJobResource" }, "FailedPieces" : { "shape" : "__integer" }, "Failures" : { "shape" : "ListOf__string" }, "Id" : { "shape" : "__string" }, "JobStatus" : { "shape" : "JobStatus" }, "TotalFailures" : { "shape" : "__integer" }, "TotalPieces" : { "shape" : "__integer" }, "TotalProcessed" : { "shape" : "__integer" }, "Type" : { "shape" : "__string" } } }, "ImportJobsResponse" : { "type" : "structure", "members" : { "Item" : { "shape" : "ListOfImportJobResponse" }, "NextToken" : { "shape" : "__string" } } }, "InternalServerErrorException" : { "type" : "structure", "members" : { "Message" : { "shape" : "__string" }, "RequestID" : { "shape" : "__string" } }, "exception" : true, "error" : { "httpStatusCode" : 500 } }, "JobStatus" : { "type" : "string", "enum" : [ "CREATED", "INITIALIZING", "PROCESSING", "COMPLETING", "COMPLETED", "FAILING", "FAILED" ] }, "ListOfActivityResponse" : { "type" : "list", "member" : { "shape" : "ActivityResponse" } }, "ListOfApplicationResponse" : { "type" : "list", "member" : { "shape" : "ApplicationResponse" } }, "ListOfCampaignResponse" : { "type" : "list", "member" : { "shape" : "CampaignResponse" } }, "ListOfEndpointBatchItem" : { "type" : "list", "member" : { "shape" : "EndpointBatchItem" } }, "ListOfImportJobResponse" : { "type" : "list", "member" : { "shape" : "ImportJobResponse" } }, "ListOfSegmentResponse" : { "type" : "list", "member" : { "shape" : "SegmentResponse" } }, "ListOfTreatmentResource" : { "type" : "list", "member" : { "shape" : "TreatmentResource" } }, "ListOfWriteTreatmentResource" : { "type" : "list", "member" : { "shape" : "WriteTreatmentResource" } }, "ListOf__string" : { "type" : "list", "member" : { "shape" : "__string" } }, "MapOfAddressConfiguration" : { "type" : "map", "key" : { "shape" : "__string" }, "value" : { "shape" : "AddressConfiguration" } }, "MapOfAttributeDimension" : { "type" : "map", "key" : { "shape" : "__string" }, "value" : { "shape" : "AttributeDimension" } }, "MapOfEndpointMessageResult" : { "type" : "map", "key" : { "shape" : "__string" }, "value" : { "shape" : "EndpointMessageResult" } }, "MapOfEndpointSendConfiguration" : { "type" : "map", "key" : { "shape" : "__string" }, "value" : { "shape" : "EndpointSendConfiguration" } }, "MapOfListOf__string" : { "type" : "map", "key" : { "shape" : "__string" }, "value" : { "shape" : "ListOf__string" } }, "MapOfMapOfEndpointMessageResult" : { "type" : "map", "key" : { "shape" : "__string" }, "value" : { "shape" : "MapOfEndpointMessageResult" } }, "MapOfMessageResult" : { "type" : "map", "key" : { "shape" : "__string" }, "value" : { "shape" : "MessageResult" } }, "MapOf__double" : { "type" : "map", "key" : { "shape" : "__string" }, "value" : { "shape" : "__double" } }, "MapOf__integer" : { "type" : "map", "key" : { "shape" : "__string" }, "value" : { "shape" : "__integer" } }, "MapOf__string" : { "type" : "map", "key" : { "shape" : "__string" }, "value" : { "shape" : "__string" } }, "Message" : { "type" : "structure", "members" : { "Action" : { "shape" : "Action" }, "Body" : { "shape" : "__string" }, "ImageIconUrl" : { "shape" : "__string" }, "ImageSmallIconUrl" : { "shape" : "__string" }, "ImageUrl" : { "shape" : "__string" }, "JsonBody" : { "shape" : "__string" }, "MediaUrl" : { "shape" : "__string" }, "RawContent" : { "shape" : "__string" }, "SilentPush" : { "shape" : "__boolean" }, "Title" : { "shape" : "__string" }, "Url" : { "shape" : "__string" } } }, "MessageBody" : { "type" : "structure", "members" : { "Message" : { "shape" : "__string" }, "RequestID" : { "shape" : "__string" } } }, "MessageConfiguration" : { "type" : "structure", "members" : { "ADMMessage" : { "shape" : "Message" }, "APNSMessage" : { "shape" : "Message" }, "BaiduMessage" : { "shape" : "Message" }, "DefaultMessage" : { "shape" : "Message" }, "EmailMessage" : { "shape" : "CampaignEmailMessage" }, "GCMMessage" : { "shape" : "Message" }, "SMSMessage" : { "shape" : "CampaignSmsMessage" } } }, "MessageRequest" : { "type" : "structure", "members" : { "Addresses" : { "shape" : "MapOfAddressConfiguration" }, "Context" : { "shape" : "MapOf__string" }, "Endpoints" : { "shape" : "MapOfEndpointSendConfiguration" }, "MessageConfiguration" : { "shape" : "DirectMessageConfiguration" } } }, "MessageResponse" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string" }, "EndpointResult" : { "shape" : "MapOfEndpointMessageResult" }, "RequestId" : { "shape" : "__string" }, "Result" : { "shape" : "MapOfMessageResult" } } }, "MessageResult" : { "type" : "structure", "members" : { "DeliveryStatus" : { "shape" : "DeliveryStatus" }, "StatusCode" : { "shape" : "__integer" }, "StatusMessage" : { "shape" : "__string" }, "UpdatedToken" : { "shape" : "__string" } } }, "MessageType" : { "type" : "string", "enum" : [ "TRANSACTIONAL", "PROMOTIONAL" ] }, "MethodNotAllowedException" : { "type" : "structure", "members" : { "Message" : { "shape" : "__string" }, "RequestID" : { "shape" : "__string" } }, "exception" : true, "error" : { "httpStatusCode" : 405 } }, "NotFoundException" : { "type" : "structure", "members" : { "Message" : { "shape" : "__string" }, "RequestID" : { "shape" : "__string" } }, "exception" : true, "error" : { "httpStatusCode" : 404 } }, "PutEventStreamRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "WriteEventStream" : { "shape" : "WriteEventStream" } }, "required" : [ "ApplicationId", "WriteEventStream" ], "payload" : "WriteEventStream" }, "PutEventStreamResponse" : { "type" : "structure", "members" : { "EventStream" : { "shape" : "EventStream" } }, "required" : [ "EventStream" ], "payload" : "EventStream" }, "QuietTime" : { "type" : "structure", "members" : { "End" : { "shape" : "__string" }, "Start" : { "shape" : "__string" } } }, "RecencyDimension" : { "type" : "structure", "members" : { "Duration" : { "shape" : "Duration" }, "RecencyType" : { "shape" : "RecencyType" } } }, "RecencyType" : { "type" : "string", "enum" : [ "ACTIVE", "INACTIVE" ] }, "SMSChannelRequest" : { "type" : "structure", "members" : { "Enabled" : { "shape" : "__boolean" }, "SenderId" : { "shape" : "__string" }, "ShortCode" : { "shape" : "__string" } } }, "SMSChannelResponse" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string" }, "CreationDate" : { "shape" : "__string" }, "Enabled" : { "shape" : "__boolean" }, "HasCredential" : { "shape" : "__boolean" }, "Id" : { "shape" : "__string" }, "IsArchived" : { "shape" : "__boolean" }, "LastModifiedBy" : { "shape" : "__string" }, "LastModifiedDate" : { "shape" : "__string" }, "Platform" : { "shape" : "__string" }, "SenderId" : { "shape" : "__string" }, "ShortCode" : { "shape" : "__string" }, "Version" : { "shape" : "__integer" } } }, "SMSMessage" : { "type" : "structure", "members" : { "Body" : { "shape" : "__string" }, "MessageType" : { "shape" : "MessageType" }, "SenderId" : { "shape" : "__string" }, "Substitutions" : { "shape" : "MapOfListOf__string" } } }, "Schedule" : { "type" : "structure", "members" : { "EndTime" : { "shape" : "__string" }, "Frequency" : { "shape" : "Frequency" }, "IsLocalTime" : { "shape" : "__boolean" }, "QuietTime" : { "shape" : "QuietTime" }, "StartTime" : { "shape" : "__string" }, "Timezone" : { "shape" : "__string" } } }, "SegmentBehaviors" : { "type" : "structure", "members" : { "Recency" : { "shape" : "RecencyDimension" } } }, "SegmentDemographics" : { "type" : "structure", "members" : { "AppVersion" : { "shape" : "SetDimension" }, "Channel" : { "shape" : "SetDimension" }, "DeviceType" : { "shape" : "SetDimension" }, "Make" : { "shape" : "SetDimension" }, "Model" : { "shape" : "SetDimension" }, "Platform" : { "shape" : "SetDimension" } } }, "SegmentDimensions" : { "type" : "structure", "members" : { "Attributes" : { "shape" : "MapOfAttributeDimension" }, "Behavior" : { "shape" : "SegmentBehaviors" }, "Demographic" : { "shape" : "SegmentDemographics" }, "Location" : { "shape" : "SegmentLocation" }, "UserAttributes" : { "shape" : "MapOfAttributeDimension" } } }, "SegmentImportResource" : { "type" : "structure", "members" : { "ChannelCounts" : { "shape" : "MapOf__integer" }, "ExternalId" : { "shape" : "__string" }, "Format" : { "shape" : "Format" }, "RoleArn" : { "shape" : "__string" }, "S3Url" : { "shape" : "__string" }, "Size" : { "shape" : "__integer" } } }, "SegmentLocation" : { "type" : "structure", "members" : { "Country" : { "shape" : "SetDimension" } } }, "SegmentResponse" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string" }, "CreationDate" : { "shape" : "__string" }, "Dimensions" : { "shape" : "SegmentDimensions" }, "Id" : { "shape" : "__string" }, "ImportDefinition" : { "shape" : "SegmentImportResource" }, "LastModifiedDate" : { "shape" : "__string" }, "Name" : { "shape" : "__string" }, "SegmentType" : { "shape" : "SegmentType" }, "Version" : { "shape" : "__integer" } } }, "SegmentType" : { "type" : "string", "enum" : [ "DIMENSIONAL", "IMPORT" ] }, "SegmentsResponse" : { "type" : "structure", "members" : { "Item" : { "shape" : "ListOfSegmentResponse" }, "NextToken" : { "shape" : "__string" } } }, "SendMessagesRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "MessageRequest" : { "shape" : "MessageRequest" } }, "required" : [ "ApplicationId", "MessageRequest" ], "payload" : "MessageRequest" }, "SendMessagesResponse" : { "type" : "structure", "members" : { "MessageResponse" : { "shape" : "MessageResponse" } }, "required" : [ "MessageResponse" ], "payload" : "MessageResponse" }, "SendUsersMessageRequest" : { "type" : "structure", "members" : { "Context" : { "shape" : "MapOf__string" }, "MessageConfiguration" : { "shape" : "DirectMessageConfiguration" }, "Users" : { "shape" : "MapOfEndpointSendConfiguration" } } }, "SendUsersMessageResponse" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string" }, "RequestId" : { "shape" : "__string" }, "Result" : { "shape" : "MapOfMapOfEndpointMessageResult" } } }, "SendUsersMessagesRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "SendUsersMessageRequest" : { "shape" : "SendUsersMessageRequest" } }, "required" : [ "ApplicationId", "SendUsersMessageRequest" ], "payload" : "SendUsersMessageRequest" }, "SendUsersMessagesResponse" : { "type" : "structure", "members" : { "SendUsersMessageResponse" : { "shape" : "SendUsersMessageResponse" } }, "required" : [ "SendUsersMessageResponse" ], "payload" : "SendUsersMessageResponse" }, "SetDimension" : { "type" : "structure", "members" : { "DimensionType" : { "shape" : "DimensionType" }, "Values" : { "shape" : "ListOf__string" } } }, "TooManyRequestsException" : { "type" : "structure", "members" : { "Message" : { "shape" : "__string" }, "RequestID" : { "shape" : "__string" } }, "exception" : true, "error" : { "httpStatusCode" : 429 } }, "TreatmentResource" : { "type" : "structure", "members" : { "Id" : { "shape" : "__string" }, "MessageConfiguration" : { "shape" : "MessageConfiguration" }, "Schedule" : { "shape" : "Schedule" }, "SizePercent" : { "shape" : "__integer" }, "State" : { "shape" : "CampaignState" }, "TreatmentDescription" : { "shape" : "__string" }, "TreatmentName" : { "shape" : "__string" } } }, "UpdateAdmChannelRequest" : { "type" : "structure", "members" : { "ADMChannelRequest" : { "shape" : "ADMChannelRequest" }, "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId", "ADMChannelRequest" ], "payload" : "ADMChannelRequest" }, "UpdateAdmChannelResponse" : { "type" : "structure", "members" : { "ADMChannelResponse" : { "shape" : "ADMChannelResponse" } }, "required" : [ "ADMChannelResponse" ], "payload" : "ADMChannelResponse" }, "UpdateApnsChannelRequest" : { "type" : "structure", "members" : { "APNSChannelRequest" : { "shape" : "APNSChannelRequest" }, "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId", "APNSChannelRequest" ], "payload" : "APNSChannelRequest" }, "UpdateApnsChannelResponse" : { "type" : "structure", "members" : { "APNSChannelResponse" : { "shape" : "APNSChannelResponse" } }, "required" : [ "APNSChannelResponse" ], "payload" : "APNSChannelResponse" }, "UpdateApnsSandboxChannelRequest" : { "type" : "structure", "members" : { "APNSSandboxChannelRequest" : { "shape" : "APNSSandboxChannelRequest" }, "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId", "APNSSandboxChannelRequest" ], "payload" : "APNSSandboxChannelRequest" }, "UpdateApnsSandboxChannelResponse" : { "type" : "structure", "members" : { "APNSSandboxChannelResponse" : { "shape" : "APNSSandboxChannelResponse" } }, "required" : [ "APNSSandboxChannelResponse" ], "payload" : "APNSSandboxChannelResponse" }, "UpdateApnsVoipChannelRequest" : { "type" : "structure", "members" : { "APNSVoipChannelRequest" : { "shape" : "APNSVoipChannelRequest" }, "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId", "APNSVoipChannelRequest" ], "payload" : "APNSVoipChannelRequest" }, "UpdateApnsVoipChannelResponse" : { "type" : "structure", "members" : { "APNSVoipChannelResponse" : { "shape" : "APNSVoipChannelResponse" } }, "required" : [ "APNSVoipChannelResponse" ], "payload" : "APNSVoipChannelResponse" }, "UpdateApnsVoipSandboxChannelRequest" : { "type" : "structure", "members" : { "APNSVoipSandboxChannelRequest" : { "shape" : "APNSVoipSandboxChannelRequest" }, "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" } }, "required" : [ "ApplicationId", "APNSVoipSandboxChannelRequest" ], "payload" : "APNSVoipSandboxChannelRequest" }, "UpdateApnsVoipSandboxChannelResponse" : { "type" : "structure", "members" : { "APNSVoipSandboxChannelResponse" : { "shape" : "APNSVoipSandboxChannelResponse" } }, "required" : [ "APNSVoipSandboxChannelResponse" ], "payload" : "APNSVoipSandboxChannelResponse" }, "UpdateApplicationSettingsRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "WriteApplicationSettingsRequest" : { "shape" : "WriteApplicationSettingsRequest" } }, "required" : [ "ApplicationId", "WriteApplicationSettingsRequest" ], "payload" : "WriteApplicationSettingsRequest" }, "UpdateApplicationSettingsResponse" : { "type" : "structure", "members" : { "ApplicationSettingsResource" : { "shape" : "ApplicationSettingsResource" } }, "required" : [ "ApplicationSettingsResource" ], "payload" : "ApplicationSettingsResource" }, "UpdateBaiduChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "BaiduChannelRequest" : { "shape" : "BaiduChannelRequest" } }, "required" : [ "ApplicationId", "BaiduChannelRequest" ], "payload" : "BaiduChannelRequest" }, "UpdateBaiduChannelResponse" : { "type" : "structure", "members" : { "BaiduChannelResponse" : { "shape" : "BaiduChannelResponse" } }, "required" : [ "BaiduChannelResponse" ], "payload" : "BaiduChannelResponse" }, "UpdateCampaignRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "CampaignId" : { "shape" : "__string", "location" : "uri", "locationName" : "campaign-id" }, "WriteCampaignRequest" : { "shape" : "WriteCampaignRequest" } }, "required" : [ "CampaignId", "ApplicationId", "WriteCampaignRequest" ], "payload" : "WriteCampaignRequest" }, "UpdateCampaignResponse" : { "type" : "structure", "members" : { "CampaignResponse" : { "shape" : "CampaignResponse" } }, "required" : [ "CampaignResponse" ], "payload" : "CampaignResponse" }, "UpdateEmailChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "EmailChannelRequest" : { "shape" : "EmailChannelRequest" } }, "required" : [ "ApplicationId", "EmailChannelRequest" ], "payload" : "EmailChannelRequest" }, "UpdateEmailChannelResponse" : { "type" : "structure", "members" : { "EmailChannelResponse" : { "shape" : "EmailChannelResponse" } }, "required" : [ "EmailChannelResponse" ], "payload" : "EmailChannelResponse" }, "UpdateEndpointRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "EndpointId" : { "shape" : "__string", "location" : "uri", "locationName" : "endpoint-id" }, "EndpointRequest" : { "shape" : "EndpointRequest" } }, "required" : [ "ApplicationId", "EndpointId", "EndpointRequest" ], "payload" : "EndpointRequest" }, "UpdateEndpointResponse" : { "type" : "structure", "members" : { "MessageBody" : { "shape" : "MessageBody" } }, "required" : [ "MessageBody" ], "payload" : "MessageBody" }, "UpdateEndpointsBatchRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "EndpointBatchRequest" : { "shape" : "EndpointBatchRequest" } }, "required" : [ "ApplicationId", "EndpointBatchRequest" ], "payload" : "EndpointBatchRequest" }, "UpdateEndpointsBatchResponse" : { "type" : "structure", "members" : { "MessageBody" : { "shape" : "MessageBody" } }, "required" : [ "MessageBody" ], "payload" : "MessageBody" }, "UpdateGcmChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "GCMChannelRequest" : { "shape" : "GCMChannelRequest" } }, "required" : [ "ApplicationId", "GCMChannelRequest" ], "payload" : "GCMChannelRequest" }, "UpdateGcmChannelResponse" : { "type" : "structure", "members" : { "GCMChannelResponse" : { "shape" : "GCMChannelResponse" } }, "required" : [ "GCMChannelResponse" ], "payload" : "GCMChannelResponse" }, "UpdateSegmentRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "SegmentId" : { "shape" : "__string", "location" : "uri", "locationName" : "segment-id" }, "WriteSegmentRequest" : { "shape" : "WriteSegmentRequest" } }, "required" : [ "SegmentId", "ApplicationId", "WriteSegmentRequest" ], "payload" : "WriteSegmentRequest" }, "UpdateSegmentResponse" : { "type" : "structure", "members" : { "SegmentResponse" : { "shape" : "SegmentResponse" } }, "required" : [ "SegmentResponse" ], "payload" : "SegmentResponse" }, "UpdateSmsChannelRequest" : { "type" : "structure", "members" : { "ApplicationId" : { "shape" : "__string", "location" : "uri", "locationName" : "application-id" }, "SMSChannelRequest" : { "shape" : "SMSChannelRequest" } }, "required" : [ "ApplicationId", "SMSChannelRequest" ], "payload" : "SMSChannelRequest" }, "UpdateSmsChannelResponse" : { "type" : "structure", "members" : { "SMSChannelResponse" : { "shape" : "SMSChannelResponse" } }, "required" : [ "SMSChannelResponse" ], "payload" : "SMSChannelResponse" }, "WriteApplicationSettingsRequest" : { "type" : "structure", "members" : { "Limits" : { "shape" : "CampaignLimits" }, "QuietTime" : { "shape" : "QuietTime" } } }, "WriteCampaignRequest" : { "type" : "structure", "members" : { "AdditionalTreatments" : { "shape" : "ListOfWriteTreatmentResource" }, "Description" : { "shape" : "__string" }, "HoldoutPercent" : { "shape" : "__integer" }, "IsPaused" : { "shape" : "__boolean" }, "Limits" : { "shape" : "CampaignLimits" }, "MessageConfiguration" : { "shape" : "MessageConfiguration" }, "Name" : { "shape" : "__string" }, "Schedule" : { "shape" : "Schedule" }, "SegmentId" : { "shape" : "__string" }, "SegmentVersion" : { "shape" : "__integer" }, "TreatmentDescription" : { "shape" : "__string" }, "TreatmentName" : { "shape" : "__string" } } }, "WriteEventStream" : { "type" : "structure", "members" : { "DestinationStreamArn" : { "shape" : "__string" }, "RoleArn" : { "shape" : "__string" } } }, "WriteSegmentRequest" : { "type" : "structure", "members" : { "Dimensions" : { "shape" : "SegmentDimensions" }, "Name" : { "shape" : "__string" } } }, "WriteTreatmentResource" : { "type" : "structure", "members" : { "MessageConfiguration" : { "shape" : "MessageConfiguration" }, "Schedule" : { "shape" : "Schedule" }, "SizePercent" : { "shape" : "__integer" }, "TreatmentDescription" : { "shape" : "__string" }, "TreatmentName" : { "shape" : "__string" } } }, "__boolean" : { "type" : "boolean" }, "__double" : { "type" : "double" }, "__integer" : { "type" : "integer" }, "__string" : { "type" : "string" }, "__timestamp" : { "type" : "timestamp" } } }