openapi: 3.0.0 info: version: 2016-12-01 x-release: v4 title: Amazon Pinpoint description: Doc Engage API - Amazon Pinpoint API x-logo: url: https://twitter.com/awscloud/profile_image?size=original backgroundColor: "#FFFFFF" termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: pinpoint x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/pinpoint-2016-12-01.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-direct: true x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: true externalDocs: description: Amazon Web Services documentation url: https://docs.aws.amazon.com/pinpoint/ x-hasEquivalentPaths: true security: - hmac: [] paths: /v1/apps: post: operationId: CreateApp description: "
Creates an application.
" responses: "201": description: Success content: application/json: schema: $ref: "#/components/schemas/CreateAppResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" requestBody: content: application/json: schema: type: object required: - CreateApplicationRequest properties: CreateApplicationRequest: description: Specifies the display name of an application and the tags to associate with the application. type: object properties: Name: $ref: "#/components/schemas/__string" tags: $ref: "#/components/schemas/MapOf__string" required: true parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetApps description: Retrieves information about all of your applications. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetAppsResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: page-size in: query required: false description: The maximum number of items to include in each page of a paginated response. This parameter is currently not supported by the App Metrics and Campaign Metrics resources. schema: type: string - name: token in: query required: false description: The NextToken string that specifies which page of results to return in a paginated response. schema: type: string "/v1/apps/{application-id}/campaigns": post: operationId: CreateCampaign description: Creates a new campaign for an application or updates the settings of an existing campaign for an application. responses: "201": description: Success content: application/json: schema: $ref: "#/components/schemas/CreateCampaignResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string requestBody: $ref: "#/components/requestBodies/CreateCampaignBody" parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetCampaigns description: Retrieves information about the status, configuration, and other settings for all the campaigns that are associated with an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetCampaignsResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: page-size in: query required: false description: The maximum number of items to include in each page of a paginated response. This parameter is currently not supported by the App Metrics and Campaign Metrics resources. schema: type: string - name: token in: query required: false description: The NextToken string that specifies which page of results to return in a paginated response. schema: type: string "/v1/apps/{application-id}/jobs/export": post: operationId: CreateExportJob description: Creates a new export job for an application. responses: "202": description: Success content: application/json: schema: $ref: "#/components/schemas/CreateExportJobResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string requestBody: content: application/json: schema: type: object required: - ExportJobRequest properties: ExportJobRequest: description: Specifies the settings for a job that exports endpoint definitions to an Amazon Simple Storage Service (Amazon S3) bucket. type: object properties: RoleArn: $ref: "#/components/schemas/__string" S3UrlPrefix: $ref: "#/components/schemas/__string" SegmentId: $ref: "#/components/schemas/__string" SegmentVersion: $ref: "#/components/schemas/__integer" required: true parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetExportJobs description: Retrieves information about the status and settings of all the export jobs for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetExportJobsResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: page-size in: query required: false description: The maximum number of items to include in each page of a paginated response. This parameter is currently not supported by the App Metrics and Campaign Metrics resources. schema: type: string - name: token in: query required: false description: The NextToken string that specifies which page of results to return in a paginated response. schema: type: string "/v1/apps/{application-id}/jobs/import": post: operationId: CreateImportJob description: Creates a new import job for an application. responses: "201": description: Success content: application/json: schema: $ref: "#/components/schemas/CreateImportJobResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string requestBody: content: application/json: schema: type: object required: - ImportJobRequest properties: ImportJobRequest: description: Specifies the settings for a job that imports endpoint definitions from an Amazon Simple Storage Service (Amazon S3) bucket. type: object properties: DefineSegment: $ref: "#/components/schemas/__boolean" ExternalId: $ref: "#/components/schemas/__string" Format: $ref: "#/components/schemas/Format" RegisterEndpoints: $ref: "#/components/schemas/__boolean" RoleArn: $ref: "#/components/schemas/__string" S3Url: $ref: "#/components/schemas/__string" SegmentId: $ref: "#/components/schemas/__string" SegmentName: $ref: "#/components/schemas/__string" required: true parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetImportJobs description: Retrieves information about the status and settings of all the import jobs for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetImportJobsResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: page-size in: query required: false description: The maximum number of items to include in each page of a paginated response. This parameter is currently not supported by the App Metrics and Campaign Metrics resources. schema: type: string - name: token in: query required: false description: The NextToken string that specifies which page of results to return in a paginated response. schema: type: string "/v1/apps/{application-id}/segments": post: operationId: CreateSegment description: Creates a new segment for an application or updates the configuration, dimension, and other settings for an existing segment that's associated with an application. responses: "201": description: Success content: application/json: schema: $ref: "#/components/schemas/CreateSegmentResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string requestBody: $ref: "#/components/requestBodies/CreateSegmentBody" parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetSegments description: Retrieves information about the configuration, dimension, and other settings for all the segments that are associated with an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetSegmentsResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: page-size in: query required: false description: The maximum number of items to include in each page of a paginated response. This parameter is currently not supported by the App Metrics and Campaign Metrics resources. schema: type: string - name: token in: query required: false description: The NextToken string that specifies which page of results to return in a paginated response. schema: type: string "/v1/apps/{application-id}/channels/adm": delete: operationId: DeleteAdmChannel description: Disables the ADM channel for an application and deletes any existing settings for the channel. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/DeleteAdmChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetAdmChannel description: Retrieves information about the status and settings of the ADM channel for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetAdmChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string put: operationId: UpdateAdmChannel description: Updates the ADM channel settings for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/UpdateAdmChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string requestBody: content: application/json: schema: type: object required: - ADMChannelRequest properties: ADMChannelRequest: description: Specifies the status and settings of the ADM (Amazon Device Messaging) channel for an application. type: object properties: ClientId: $ref: "#/components/schemas/__string" ClientSecret: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" required: true "/v1/apps/{application-id}/channels/apns": delete: operationId: DeleteApnsChannel description: Disables the APNs channel for an application and deletes any existing settings for the channel. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/DeleteApnsChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetApnsChannel description: Retrieves information about the status and settings of the APNs channel for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetApnsChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string put: operationId: UpdateApnsChannel description: Updates the APNs channel settings for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/UpdateApnsChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string requestBody: content: application/json: schema: type: object required: - APNSChannelRequest properties: APNSChannelRequest: description: Specifies the status and settings of the APNs (Apple Push Notification service) channel for an application. type: object properties: BundleId: $ref: "#/components/schemas/__string" Certificate: $ref: "#/components/schemas/__string" DefaultAuthenticationMethod: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" PrivateKey: $ref: "#/components/schemas/__string" TeamId: $ref: "#/components/schemas/__string" TokenKey: $ref: "#/components/schemas/__string" TokenKeyId: $ref: "#/components/schemas/__string" required: true "/v1/apps/{application-id}/channels/apns_sandbox": delete: operationId: DeleteApnsSandboxChannel description: Disables the APNs sandbox channel for an application and deletes any existing settings for the channel. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/DeleteApnsSandboxChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetApnsSandboxChannel description: Retrieves information about the status and settings of the APNs sandbox channel for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetApnsSandboxChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string put: operationId: UpdateApnsSandboxChannel description: Updates the APNs sandbox channel settings for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/UpdateApnsSandboxChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string requestBody: content: application/json: schema: type: object required: - APNSSandboxChannelRequest properties: APNSSandboxChannelRequest: description: Specifies the status and settings of the APNs (Apple Push Notification service) sandbox channel for an application. type: object properties: BundleId: $ref: "#/components/schemas/__string" Certificate: $ref: "#/components/schemas/__string" DefaultAuthenticationMethod: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" PrivateKey: $ref: "#/components/schemas/__string" TeamId: $ref: "#/components/schemas/__string" TokenKey: $ref: "#/components/schemas/__string" TokenKeyId: $ref: "#/components/schemas/__string" required: true "/v1/apps/{application-id}/channels/apns_voip": delete: operationId: DeleteApnsVoipChannel description: Disables the APNs VoIP channel for an application and deletes any existing settings for the channel. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/DeleteApnsVoipChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetApnsVoipChannel description: Retrieves information about the status and settings of the APNs VoIP channel for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetApnsVoipChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string put: operationId: UpdateApnsVoipChannel description: Updates the APNs VoIP channel settings for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/UpdateApnsVoipChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string requestBody: content: application/json: schema: type: object required: - APNSVoipChannelRequest properties: APNSVoipChannelRequest: description: Specifies the status and settings of the APNs (Apple Push Notification service) VoIP channel for an application. type: object properties: BundleId: $ref: "#/components/schemas/__string" Certificate: $ref: "#/components/schemas/__string" DefaultAuthenticationMethod: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" PrivateKey: $ref: "#/components/schemas/__string" TeamId: $ref: "#/components/schemas/__string" TokenKey: $ref: "#/components/schemas/__string" TokenKeyId: $ref: "#/components/schemas/__string" required: true "/v1/apps/{application-id}/channels/apns_voip_sandbox": delete: operationId: DeleteApnsVoipSandboxChannel description: Disables the APNs VoIP sandbox channel for an application and deletes any existing settings for the channel. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/DeleteApnsVoipSandboxChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetApnsVoipSandboxChannel description: Retrieves information about the status and settings of the APNs VoIP sandbox channel for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetApnsVoipSandboxChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string put: operationId: UpdateApnsVoipSandboxChannel description: Updates the settings for the APNs VoIP sandbox channel for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/UpdateApnsVoipSandboxChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string requestBody: content: application/json: schema: type: object required: - APNSVoipSandboxChannelRequest properties: APNSVoipSandboxChannelRequest: description: Specifies the status and settings of the APNs (Apple Push Notification service) VoIP sandbox channel for an application. type: object properties: BundleId: $ref: "#/components/schemas/__string" Certificate: $ref: "#/components/schemas/__string" DefaultAuthenticationMethod: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" PrivateKey: $ref: "#/components/schemas/__string" TeamId: $ref: "#/components/schemas/__string" TokenKey: $ref: "#/components/schemas/__string" TokenKeyId: $ref: "#/components/schemas/__string" required: true "/v1/apps/{application-id}": delete: operationId: DeleteApp description: Deletes an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/DeleteAppResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetApp description: Retrieves information about an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetAppResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string "/v1/apps/{application-id}/channels/baidu": delete: operationId: DeleteBaiduChannel description: Disables the Baidu channel for an application and deletes any existing settings for the channel. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/DeleteBaiduChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetBaiduChannel description: Retrieves information about the status and settings of the Baidu Cloud Push channel for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetBaiduChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string put: operationId: UpdateBaiduChannel description: Updates the settings of the Baidu channel for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/UpdateBaiduChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string requestBody: content: application/json: schema: type: object required: - BaiduChannelRequest properties: BaiduChannelRequest: description: Specifies the status and settings of the Baidu (Baidu Cloud Push) channel for an application. type: object properties: ApiKey: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" SecretKey: $ref: "#/components/schemas/__string" required: true "/v1/apps/{application-id}/campaigns/{campaign-id}": delete: operationId: DeleteCampaign description: Deletes a campaign from an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/DeleteCampaignResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: campaign-id in: path required: true description: The unique identifier for the campaign. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetCampaign description: Retrieves information about the status, configuration, and other settings for a campaign. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetCampaignResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: campaign-id in: path required: true description: The unique identifier for the campaign. schema: type: string put: operationId: UpdateCampaign description: Updates the settings for a campaign. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/UpdateCampaignResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: campaign-id in: path required: true description: The unique identifier for the campaign. schema: type: string requestBody: $ref: "#/components/requestBodies/CreateCampaignBody" "/v1/apps/{application-id}/channels/email": delete: operationId: DeleteEmailChannel description: Disables the email channel for an application and deletes any existing settings for the channel. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/DeleteEmailChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetEmailChannel description: Retrieves information about the status and settings of the email channel for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetEmailChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string put: operationId: UpdateEmailChannel description: Updates the status and settings of the email channel for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/UpdateEmailChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string requestBody: content: application/json: schema: type: object required: - EmailChannelRequest properties: EmailChannelRequest: description: Specifies the status and settings of the email channel for an application. type: object properties: ConfigurationSet: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" FromAddress: $ref: "#/components/schemas/__string" Identity: $ref: "#/components/schemas/__string" RoleArn: $ref: "#/components/schemas/__string" required: true "/v1/apps/{application-id}/endpoints/{endpoint-id}": delete: operationId: DeleteEndpoint description: Deletes an endpoint from an application. responses: "202": description: Success content: application/json: schema: $ref: "#/components/schemas/DeleteEndpointResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: endpoint-id in: path required: true description: The unique identifier for the endpoint. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetEndpoint description: Retrieves information about the settings and attributes of a specific endpoint for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetEndpointResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: endpoint-id in: path required: true description: The unique identifier for the endpoint. schema: type: string put: operationId: UpdateEndpoint description: Creates a new endpoint for an application or updates the settings and attributes of an existing endpoint for an application. You can also use this operation to define custom attributes (Attributes, Metrics, and UserAttributes properties) for an endpoint. responses: "202": description: Success content: application/json: schema: $ref: "#/components/schemas/UpdateEndpointResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: endpoint-id in: path required: true description: The unique identifier for the endpoint. schema: type: string requestBody: content: application/json: schema: type: object required: - EndpointRequest properties: EndpointRequest: description: Specifies the channel type and other settings for an endpoint. type: object properties: Address: $ref: "#/components/schemas/__string" Attributes: $ref: "#/components/schemas/MapOfListOf__string" ChannelType: $ref: "#/components/schemas/ChannelType" Demographic: $ref: "#/components/schemas/EndpointDemographic" EffectiveDate: $ref: "#/components/schemas/__string" EndpointStatus: $ref: "#/components/schemas/__string" Location: $ref: "#/components/schemas/EndpointLocation" Metrics: $ref: "#/components/schemas/MapOf__double" OptOut: $ref: "#/components/schemas/__string" RequestId: $ref: "#/components/schemas/__string" User: $ref: "#/components/schemas/EndpointUser" required: true "/v1/apps/{application-id}/eventstream": delete: operationId: DeleteEventStream description: Deletes the event stream for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/DeleteEventStreamResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetEventStream description: Retrieves information about the event stream settings for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetEventStreamResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string post: operationId: PutEventStream description: Creates a new event stream for an application or updates the settings of an existing event stream for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/PutEventStreamResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string requestBody: content: application/json: schema: type: object required: - WriteEventStream properties: WriteEventStream: description: Specifies the Amazon Resource Name (ARN) of an event stream to publish events to and the AWS Identity and Access Management (IAM) role to use when publishing those events. type: object properties: DestinationStreamArn: $ref: "#/components/schemas/__string" RoleArn: $ref: "#/components/schemas/__string" required: true "/v1/apps/{application-id}/channels/gcm": delete: operationId: DeleteGcmChannel description: Disables the GCM channel for an application and deletes any existing settings for the channel. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/DeleteGcmChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetGcmChannel description: Retrieves information about the status and settings of the GCM channel for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetGcmChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string put: operationId: UpdateGcmChannel description: Updates the status and settings of the GCM channel for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/UpdateGcmChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string requestBody: content: application/json: schema: type: object required: - GCMChannelRequest properties: GCMChannelRequest: description: Specifies the status and settings of the GCM channel for an application. This channel enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. type: object properties: ApiKey: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" required: true "/v1/apps/{application-id}/segments/{segment-id}": delete: operationId: DeleteSegment description: Deletes a segment from an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/DeleteSegmentResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: segment-id in: path required: true description: The unique identifier for the segment. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetSegment description: Retrieves information about the configuration, dimension, and other settings for a specific segment that's associated with an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetSegmentResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: segment-id in: path required: true description: The unique identifier for the segment. schema: type: string put: operationId: UpdateSegment description: Creates a new segment for an application or updates the configuration, dimension, and other settings for an existing segment that's associated with an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/UpdateSegmentResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: segment-id in: path required: true description: The unique identifier for the segment. schema: type: string requestBody: $ref: "#/components/requestBodies/CreateSegmentBody" "/v1/apps/{application-id}/channels/sms": delete: operationId: DeleteSmsChannel description: Disables the SMS channel for an application and deletes any existing settings for the channel. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/DeleteSmsChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetSmsChannel description: Retrieves information about the status and settings of the SMS channel for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetSmsChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string put: operationId: UpdateSmsChannel description: Updates the status and settings of the SMS channel for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/UpdateSmsChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string requestBody: content: application/json: schema: type: object required: - SMSChannelRequest properties: SMSChannelRequest: description: Specifies the status and settings of the SMS channel for an application. type: object properties: Enabled: $ref: "#/components/schemas/__boolean" SenderId: $ref: "#/components/schemas/__string" ShortCode: $ref: "#/components/schemas/__string" required: true "/v1/apps/{application-id}/users/{user-id}": delete: operationId: DeleteUserEndpoints description: Deletes all the endpoints that are associated with a specific user ID. responses: "202": description: Success content: application/json: schema: $ref: "#/components/schemas/DeleteUserEndpointsResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: user-id in: path required: true description: The unique identifier for the user. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetUserEndpoints description: Retrieves information about all the endpoints that are associated with a specific user ID. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetUserEndpointsResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: user-id in: path required: true description: The unique identifier for the user. schema: type: string "/v1/apps/{application-id}/channels/voice": delete: operationId: DeleteVoiceChannel description: Disables the voice channel for an application and deletes any existing settings for the channel. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/DeleteVoiceChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" get: operationId: GetVoiceChannel description: Retrieves information about the status and settings of the voice channel for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetVoiceChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string put: operationId: UpdateVoiceChannel description: Updates the status and settings of the voice channel for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/UpdateVoiceChannelResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string requestBody: content: application/json: schema: type: object required: - VoiceChannelRequest properties: VoiceChannelRequest: description: Specifies the status and settings of the voice channel for an application. type: object properties: Enabled: $ref: "#/components/schemas/__boolean" required: true "/v1/apps/{application-id}/kpis/daterange/{kpi-name}": get: operationId: GetApplicationDateRangeKpi description: "Retrieves (queries) pre-aggregated data for a standard metric that applies to an application.
" responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetApplicationDateRangeKpiResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: end-time in: query required: false description: "The last date to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in ISO 8601 format, for example: 2019-07-19 for July 19, 2019. To define a date range that ends at a specific time, specify the date and time in ISO 8601 format, for example: 2019-07-19T20:00Z for 8:00 PM July 19, 2019." schema: type: string format: date-time - name: kpi-name in: path required: true description: The name of the metric, also referred to as a key performance indicator (KPI), to retrieve data for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. Examples are attempted-deliveries and successful-deliveries. For a list of valid values, see the Amazon Pinpoint Developer Guide. schema: type: string - name: next-token in: query required: false description: The NextToken string that specifies which page of results to return in a paginated response. This parameter is currently not supported by the App Metrics and Campaign Metrics resources. schema: type: string - name: page-size in: query required: false description: The maximum number of items to include in each page of a paginated response. This parameter is currently not supported by the App Metrics and Campaign Metrics resources. schema: type: string - name: start-time in: query required: false description: "The first date to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in ISO 8601 format, for example: 2019-07-15 for July 15, 2019. To define a date range that begins at a specific time, specify the date and time in ISO 8601 format, for example: 2019-07-15T16:00Z for 4:00 PM July 15, 2019." schema: type: string format: date-time parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" "/v1/apps/{application-id}/settings": get: operationId: GetApplicationSettings description: Retrieves information about the settings for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetApplicationSettingsResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" put: operationId: UpdateApplicationSettings description: Updates the settings for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/UpdateApplicationSettingsResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string requestBody: content: application/json: schema: type: object required: - WriteApplicationSettingsRequest properties: WriteApplicationSettingsRequest: description: Specifies the default settings for an application. type: object properties: CampaignHook: $ref: "#/components/schemas/CampaignHook" CloudWatchMetricsEnabled: $ref: "#/components/schemas/__boolean" Limits: $ref: "#/components/schemas/CampaignLimits" QuietTime: $ref: "#/components/schemas/QuietTime" required: true "/v1/apps/{application-id}/campaigns/{campaign-id}/activities": get: operationId: GetCampaignActivities description: Retrieves information about the activity performed by a campaign. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetCampaignActivitiesResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: campaign-id in: path required: true description: The unique identifier for the campaign. schema: type: string - name: page-size in: query required: false description: The maximum number of items to include in each page of a paginated response. This parameter is currently not supported by the App Metrics and Campaign Metrics resources. schema: type: string - name: token in: query required: false description: The NextToken string that specifies which page of results to return in a paginated response. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" "/v1/apps/{application-id}/campaigns/{campaign-id}/kpis/daterange/{kpi-name}": get: operationId: GetCampaignDateRangeKpi description: "Retrieves (queries) pre-aggregated data for a standard metric that applies to a campaign.
" responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetCampaignDateRangeKpiResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: campaign-id in: path required: true description: The unique identifier for the campaign. schema: type: string - name: end-time in: query required: false description: "The last date to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in ISO 8601 format, for example: 2019-07-19 for July 19, 2019. To define a date range that ends at a specific time, specify the date and time in ISO 8601 format, for example: 2019-07-19T20:00Z for 8:00 PM July 19, 2019." schema: type: string format: date-time - name: kpi-name in: path required: true description: The name of the metric, also referred to as a key performance indicator (KPI), to retrieve data for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. Examples are attempted-deliveries and successful-deliveries. For a list of valid values, see the Amazon Pinpoint Developer Guide. schema: type: string - name: next-token in: query required: false description: The NextToken string that specifies which page of results to return in a paginated response. This parameter is currently not supported by the App Metrics and Campaign Metrics resources. schema: type: string - name: page-size in: query required: false description: The maximum number of items to include in each page of a paginated response. This parameter is currently not supported by the App Metrics and Campaign Metrics resources. schema: type: string - name: start-time in: query required: false description: "The first date to retrieve data for, as part of an inclusive date range that filters the query results. This value should be in ISO 8601 format, for example: 2019-07-15 for July 15, 2019. To define a date range that begins at a specific time, specify the date and time in ISO 8601 format, for example: 2019-07-15T16:00Z for 4:00 PM July 15, 2019." schema: type: string format: date-time parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" "/v1/apps/{application-id}/campaigns/{campaign-id}/versions/{version}": get: operationId: GetCampaignVersion description: Retrieves information about the status, configuration, and other settings for a specific version of a campaign. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetCampaignVersionResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: campaign-id in: path required: true description: The unique identifier for the campaign. schema: type: string - name: version in: path required: true description: The unique version number (Version property) for the campaign version. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" "/v1/apps/{application-id}/campaigns/{campaign-id}/versions": get: operationId: GetCampaignVersions description: Retrieves information about the status, configuration, and other settings for all versions of a specific campaign. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetCampaignVersionsResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: campaign-id in: path required: true description: The unique identifier for the campaign. schema: type: string - name: page-size in: query required: false description: The maximum number of items to include in each page of a paginated response. This parameter is currently not supported by the App Metrics and Campaign Metrics resources. schema: type: string - name: token in: query required: false description: The NextToken string that specifies which page of results to return in a paginated response. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" "/v1/apps/{application-id}/channels": get: operationId: GetChannels description: Retrieves information about the history and status of each channel for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetChannelsResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" "/v1/apps/{application-id}/jobs/export/{job-id}": get: operationId: GetExportJob description: Retrieves information about the status and settings of a specific export job for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetExportJobResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: job-id in: path required: true description: The unique identifier for the job. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" "/v1/apps/{application-id}/jobs/import/{job-id}": get: operationId: GetImportJob description: Retrieves information about the status and settings of a specific import job for an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetImportJobResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: job-id in: path required: true description: The unique identifier for the job. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" "/v1/apps/{application-id}/segments/{segment-id}/jobs/export": get: operationId: GetSegmentExportJobs description: Retrieves information about the status and settings of the export jobs for a segment. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetSegmentExportJobsResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: page-size in: query required: false description: The maximum number of items to include in each page of a paginated response. This parameter is currently not supported by the App Metrics and Campaign Metrics resources. schema: type: string - name: segment-id in: path required: true description: The unique identifier for the segment. schema: type: string - name: token in: query required: false description: The NextToken string that specifies which page of results to return in a paginated response. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" "/v1/apps/{application-id}/segments/{segment-id}/jobs/import": get: operationId: GetSegmentImportJobs description: Retrieves information about the status and settings of the import jobs for a segment. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetSegmentImportJobsResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: page-size in: query required: false description: The maximum number of items to include in each page of a paginated response. This parameter is currently not supported by the App Metrics and Campaign Metrics resources. schema: type: string - name: segment-id in: path required: true description: The unique identifier for the segment. schema: type: string - name: token in: query required: false description: The NextToken string that specifies which page of results to return in a paginated response. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" "/v1/apps/{application-id}/segments/{segment-id}/versions/{version}": get: operationId: GetSegmentVersion description: Retrieves information about the configuration, dimension, and other settings for a specific version of a segment that's associated with an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetSegmentVersionResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: segment-id in: path required: true description: The unique identifier for the segment. schema: type: string - name: version in: path required: true description: The unique version number (Version property) for the campaign version. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" "/v1/apps/{application-id}/segments/{segment-id}/versions": get: operationId: GetSegmentVersions description: Retrieves information about the configuration, dimension, and other settings for all versions of a specific segment that's associated with an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/GetSegmentVersionsResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: page-size in: query required: false description: The maximum number of items to include in each page of a paginated response. This parameter is currently not supported by the App Metrics and Campaign Metrics resources. schema: type: string - name: segment-id in: path required: true description: The unique identifier for the segment. schema: type: string - name: token in: query required: false description: The NextToken string that specifies which page of results to return in a paginated response. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" "/v1/tags/{resource-arn}": get: operationId: ListTagsForResource description: Retrieves all the tags (keys and values) that are associated with an application, campaign, or segment. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/ListTagsForResourceResponse" parameters: - name: resource-arn in: path required: true description: The Amazon Resource Name (ARN) of the application, campaign, or segment. schema: type: string parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" post: operationId: TagResource description: Adds one or more tags (keys and values) to an application, campaign, or segment. responses: "204": description: Success parameters: - name: resource-arn in: path required: true description: The Amazon Resource Name (ARN) of the application, campaign, or segment. schema: type: string requestBody: content: application/json: schema: type: object required: - TagsModel properties: TagsModel: description: Specifies the tags (keys and values) for an application, campaign, or segment. type: object properties: tags: $ref: "#/components/schemas/MapOf__string" required: true /v1/phone/number/validate: post: operationId: PhoneNumberValidate description: Retrieves information about a phone number. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/PhoneNumberValidateResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" requestBody: content: application/json: schema: type: object required: - NumberValidateRequest properties: NumberValidateRequest: description: Specifies a phone number to validate and retrieve information about. type: object properties: IsoCountryCode: $ref: "#/components/schemas/__string" PhoneNumber: $ref: "#/components/schemas/__string" required: true parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" "/v1/apps/{application-id}/events": post: operationId: PutEvents description: Creates a new event to record for endpoints, or creates or updates endpoint data that existing events are associated with. responses: "202": description: Success content: application/json: schema: $ref: "#/components/schemas/PutEventsResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string requestBody: content: application/json: schema: type: object required: - EventsRequest properties: EventsRequest: description: Specifies a batch of events to process. type: object properties: BatchItem: $ref: "#/components/schemas/MapOfEventsBatch" required: true parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" "/v1/apps/{application-id}/attributes/{attribute-type}": put: operationId: RemoveAttributes description: Removes one or more attributes, of the same attribute type, from all the endpoints that are associated with an application. responses: "200": description: Success content: application/json: schema: $ref: "#/components/schemas/RemoveAttributesResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string - name: attribute-type in: path required: true description: "The type of attribute or attributes to remove. Valid values are:
endpoint-custom-attributes - Custom attributes that describe endpoints, such as the date when an associated user opted in or out of receiving communications from you through a specific type of channel.
endpoint-custom-metrics - Custom metrics that your app reports to Amazon Pinpoint for endpoints, such as the number of app sessions or the number of items left in a cart.
endpoint-user-attributes - Custom attributes that describe users, such as first name, last name, and age.
Creates a new batch of endpoints for an application or updates the settings and attributes of a batch of existing endpoints for an application. You can also use this operation to define custom attributes (Attributes, Metrics, and UserAttributes properties) for a batch of endpoints.
" responses: "202": description: Success content: application/json: schema: $ref: "#/components/schemas/UpdateEndpointsBatchResponse" "480": description: BadRequestException content: application/json: schema: $ref: "#/components/schemas/BadRequestException" "481": description: InternalServerErrorException content: application/json: schema: $ref: "#/components/schemas/InternalServerErrorException" "482": description: ForbiddenException content: application/json: schema: $ref: "#/components/schemas/ForbiddenException" "483": description: NotFoundException content: application/json: schema: $ref: "#/components/schemas/NotFoundException" "484": description: MethodNotAllowedException content: application/json: schema: $ref: "#/components/schemas/MethodNotAllowedException" "485": description: TooManyRequestsException content: application/json: schema: $ref: "#/components/schemas/TooManyRequestsException" parameters: - name: application-id in: path required: true description: The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. schema: type: string requestBody: content: application/json: schema: type: object required: - EndpointBatchRequest properties: EndpointBatchRequest: description: Specifies a batch of endpoints to create or update and the settings and attributes to set or change for each endpoint. type: object properties: Item: $ref: "#/components/schemas/ListOfEndpointBatchItem" required: true parameters: - $ref: "#/components/parameters/X-Amz-Content-Sha256" - $ref: "#/components/parameters/X-Amz-Date" - $ref: "#/components/parameters/X-Amz-Algorithm" - $ref: "#/components/parameters/X-Amz-Credential" - $ref: "#/components/parameters/X-Amz-Security-Token" - $ref: "#/components/parameters/X-Amz-Signature" - $ref: "#/components/parameters/X-Amz-SignedHeaders" servers: - url: http://pinpoint.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-south-1 - sa-east-1 default: us-east-1 description: The Amazon Pinpoint multi-region endpoint - url: https://pinpoint.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-south-1 - sa-east-1 default: us-east-1 description: The Amazon Pinpoint multi-region endpoint - url: http://pinpoint.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon Pinpoint endpoint for China (Beijing) and China (Ningxia) - url: https://pinpoint.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon Pinpoint endpoint for China (Beijing) and China (Ningxia) components: parameters: X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header required: false schema: type: string X-Amz-Date: name: X-Amz-Date in: header required: false schema: type: string X-Amz-Algorithm: name: X-Amz-Algorithm in: header required: false schema: type: string X-Amz-Credential: name: X-Amz-Credential in: header required: false schema: type: string X-Amz-Security-Token: name: X-Amz-Security-Token in: header required: false schema: type: string X-Amz-Signature: name: X-Amz-Signature in: header required: false schema: type: string X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header required: false schema: type: string requestBodies: CreateCampaignBody: content: application/json: schema: type: object required: - WriteCampaignRequest properties: WriteCampaignRequest: description: Specifies the configuration and other settings for a campaign. type: object properties: AdditionalTreatments: $ref: "#/components/schemas/ListOfWriteTreatmentResource" Description: $ref: "#/components/schemas/__string" HoldoutPercent: $ref: "#/components/schemas/__integer" Hook: $ref: "#/components/schemas/CampaignHook" IsPaused: $ref: "#/components/schemas/__boolean" Limits: $ref: "#/components/schemas/CampaignLimits" MessageConfiguration: $ref: "#/components/schemas/MessageConfiguration" Name: $ref: "#/components/schemas/__string" Schedule: $ref: "#/components/schemas/Schedule" SegmentId: $ref: "#/components/schemas/__string" SegmentVersion: $ref: "#/components/schemas/__integer" tags: $ref: "#/components/schemas/MapOf__string" TreatmentDescription: $ref: "#/components/schemas/__string" TreatmentName: $ref: "#/components/schemas/__string" required: true CreateSegmentBody: content: application/json: schema: type: object required: - WriteSegmentRequest properties: WriteSegmentRequest: description: Specifies the configuration, dimension, and other settings for a segment. A WriteSegmentRequest object can include a Dimensions object or a SegmentGroups object, but not both. type: object properties: Dimensions: $ref: "#/components/schemas/SegmentDimensions" Name: $ref: "#/components/schemas/__string" SegmentGroups: $ref: "#/components/schemas/SegmentGroupList" tags: $ref: "#/components/schemas/MapOf__string" required: true securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 schemas: CreateAppResponse: type: object required: - ApplicationResponse properties: ApplicationResponse: $ref: "#/components/schemas/ApplicationResponse" __string: type: string MapOf__string: type: object additionalProperties: $ref: "#/components/schemas/__string" BadRequestException: {} InternalServerErrorException: {} ForbiddenException: {} NotFoundException: {} MethodNotAllowedException: {} TooManyRequestsException: {} CreateCampaignResponse: type: object required: - CampaignResponse properties: CampaignResponse: $ref: "#/components/schemas/CampaignResponse" ListOfWriteTreatmentResource: type: array items: $ref: "#/components/schemas/WriteTreatmentResource" __integer: type: integer CampaignHook: type: object properties: LambdaFunctionName: $ref: "#/components/schemas/__string" Mode: $ref: "#/components/schemas/Mode" WebUrl: $ref: "#/components/schemas/__string" description: Specifies the AWS Lambda function to use as a code hook for a campaign. __boolean: type: boolean CampaignLimits: type: object properties: Daily: $ref: "#/components/schemas/__integer" MaximumDuration: $ref: "#/components/schemas/__integer" MessagesPerSecond: $ref: "#/components/schemas/__integer" Total: $ref: "#/components/schemas/__integer" description: Specifies limits on the messages that a campaign can send. MessageConfiguration: type: object properties: ADMMessage: $ref: "#/components/schemas/Message" APNSMessage: $ref: "#/components/schemas/Message" BaiduMessage: $ref: "#/components/schemas/Message" DefaultMessage: $ref: "#/components/schemas/Message" EmailMessage: $ref: "#/components/schemas/CampaignEmailMessage" GCMMessage: $ref: "#/components/schemas/Message" SMSMessage: $ref: "#/components/schemas/CampaignSmsMessage" description: Specifies the message configuration settings for a campaign. Schedule: type: object required: - StartTime properties: EndTime: $ref: "#/components/schemas/__string" EventFilter: $ref: "#/components/schemas/CampaignEventFilter" Frequency: $ref: "#/components/schemas/Frequency" IsLocalTime: $ref: "#/components/schemas/__boolean" QuietTime: $ref: "#/components/schemas/QuietTime" StartTime: $ref: "#/components/schemas/__string" Timezone: $ref: "#/components/schemas/__string" description: Specifies the schedule settings for a campaign. CreateExportJobResponse: type: object required: - ExportJobResponse properties: ExportJobResponse: $ref: "#/components/schemas/ExportJobResponse" CreateImportJobResponse: type: object required: - ImportJobResponse properties: ImportJobResponse: $ref: "#/components/schemas/ImportJobResponse" Format: type: string enum: - CSV - JSON CreateSegmentResponse: type: object required: - SegmentResponse properties: SegmentResponse: $ref: "#/components/schemas/SegmentResponse" SegmentDimensions: type: object properties: Attributes: $ref: "#/components/schemas/MapOfAttributeDimension" Behavior: $ref: "#/components/schemas/SegmentBehaviors" Demographic: $ref: "#/components/schemas/SegmentDemographics" Location: $ref: "#/components/schemas/SegmentLocation" Metrics: $ref: "#/components/schemas/MapOfMetricDimension" UserAttributes: $ref: "#/components/schemas/MapOfAttributeDimension" description: Specifies the dimension settings for a segment. SegmentGroupList: type: object properties: Groups: $ref: "#/components/schemas/ListOfSegmentGroup" Include: $ref: "#/components/schemas/Include" description: Specifies the settings that define the relationships between segment groups for a segment. DeleteAdmChannelResponse: type: object required: - ADMChannelResponse properties: ADMChannelResponse: $ref: "#/components/schemas/ADMChannelResponse" DeleteApnsChannelResponse: type: object required: - APNSChannelResponse properties: APNSChannelResponse: $ref: "#/components/schemas/APNSChannelResponse" DeleteApnsSandboxChannelResponse: type: object required: - APNSSandboxChannelResponse properties: APNSSandboxChannelResponse: $ref: "#/components/schemas/APNSSandboxChannelResponse" DeleteApnsVoipChannelResponse: type: object required: - APNSVoipChannelResponse properties: APNSVoipChannelResponse: $ref: "#/components/schemas/APNSVoipChannelResponse" DeleteApnsVoipSandboxChannelResponse: type: object required: - APNSVoipSandboxChannelResponse properties: APNSVoipSandboxChannelResponse: $ref: "#/components/schemas/APNSVoipSandboxChannelResponse" DeleteAppResponse: type: object required: - ApplicationResponse properties: ApplicationResponse: $ref: "#/components/schemas/ApplicationResponse" DeleteBaiduChannelResponse: type: object required: - BaiduChannelResponse properties: BaiduChannelResponse: $ref: "#/components/schemas/BaiduChannelResponse" DeleteCampaignResponse: type: object required: - CampaignResponse properties: CampaignResponse: $ref: "#/components/schemas/CampaignResponse" DeleteEmailChannelResponse: type: object required: - EmailChannelResponse properties: EmailChannelResponse: $ref: "#/components/schemas/EmailChannelResponse" DeleteEndpointResponse: type: object required: - EndpointResponse properties: EndpointResponse: $ref: "#/components/schemas/EndpointResponse" DeleteEventStreamResponse: type: object required: - EventStream properties: EventStream: $ref: "#/components/schemas/EventStream" DeleteGcmChannelResponse: type: object required: - GCMChannelResponse properties: GCMChannelResponse: $ref: "#/components/schemas/GCMChannelResponse" DeleteSegmentResponse: type: object required: - SegmentResponse properties: SegmentResponse: $ref: "#/components/schemas/SegmentResponse" DeleteSmsChannelResponse: type: object required: - SMSChannelResponse properties: SMSChannelResponse: $ref: "#/components/schemas/SMSChannelResponse" DeleteUserEndpointsResponse: type: object required: - EndpointsResponse properties: EndpointsResponse: $ref: "#/components/schemas/EndpointsResponse" DeleteVoiceChannelResponse: type: object required: - VoiceChannelResponse properties: VoiceChannelResponse: $ref: "#/components/schemas/VoiceChannelResponse" GetAdmChannelResponse: type: object required: - ADMChannelResponse properties: ADMChannelResponse: $ref: "#/components/schemas/ADMChannelResponse" GetApnsChannelResponse: type: object required: - APNSChannelResponse properties: APNSChannelResponse: $ref: "#/components/schemas/APNSChannelResponse" GetApnsSandboxChannelResponse: type: object required: - APNSSandboxChannelResponse properties: APNSSandboxChannelResponse: $ref: "#/components/schemas/APNSSandboxChannelResponse" GetApnsVoipChannelResponse: type: object required: - APNSVoipChannelResponse properties: APNSVoipChannelResponse: $ref: "#/components/schemas/APNSVoipChannelResponse" GetApnsVoipSandboxChannelResponse: type: object required: - APNSVoipSandboxChannelResponse properties: APNSVoipSandboxChannelResponse: $ref: "#/components/schemas/APNSVoipSandboxChannelResponse" GetAppResponse: type: object required: - ApplicationResponse properties: ApplicationResponse: $ref: "#/components/schemas/ApplicationResponse" GetApplicationDateRangeKpiResponse: type: object required: - ApplicationDateRangeKpiResponse properties: ApplicationDateRangeKpiResponse: $ref: "#/components/schemas/ApplicationDateRangeKpiResponse" GetApplicationSettingsResponse: type: object required: - ApplicationSettingsResource properties: ApplicationSettingsResource: $ref: "#/components/schemas/ApplicationSettingsResource" GetAppsResponse: type: object required: - ApplicationsResponse properties: ApplicationsResponse: $ref: "#/components/schemas/ApplicationsResponse" GetBaiduChannelResponse: type: object required: - BaiduChannelResponse properties: BaiduChannelResponse: $ref: "#/components/schemas/BaiduChannelResponse" GetCampaignResponse: type: object required: - CampaignResponse properties: CampaignResponse: $ref: "#/components/schemas/CampaignResponse" GetCampaignActivitiesResponse: type: object required: - ActivitiesResponse properties: ActivitiesResponse: $ref: "#/components/schemas/ActivitiesResponse" GetCampaignDateRangeKpiResponse: type: object required: - CampaignDateRangeKpiResponse properties: CampaignDateRangeKpiResponse: $ref: "#/components/schemas/CampaignDateRangeKpiResponse" GetCampaignVersionResponse: type: object required: - CampaignResponse properties: CampaignResponse: $ref: "#/components/schemas/CampaignResponse" GetCampaignVersionsResponse: type: object required: - CampaignsResponse properties: CampaignsResponse: $ref: "#/components/schemas/CampaignsResponse" GetCampaignsResponse: type: object required: - CampaignsResponse properties: CampaignsResponse: $ref: "#/components/schemas/CampaignsResponse" GetChannelsResponse: type: object required: - ChannelsResponse properties: ChannelsResponse: $ref: "#/components/schemas/ChannelsResponse" GetEmailChannelResponse: type: object required: - EmailChannelResponse properties: EmailChannelResponse: $ref: "#/components/schemas/EmailChannelResponse" GetEndpointResponse: type: object required: - EndpointResponse properties: EndpointResponse: $ref: "#/components/schemas/EndpointResponse" GetEventStreamResponse: type: object required: - EventStream properties: EventStream: $ref: "#/components/schemas/EventStream" GetExportJobResponse: type: object required: - ExportJobResponse properties: ExportJobResponse: $ref: "#/components/schemas/ExportJobResponse" GetExportJobsResponse: type: object required: - ExportJobsResponse properties: ExportJobsResponse: $ref: "#/components/schemas/ExportJobsResponse" GetGcmChannelResponse: type: object required: - GCMChannelResponse properties: GCMChannelResponse: $ref: "#/components/schemas/GCMChannelResponse" GetImportJobResponse: type: object required: - ImportJobResponse properties: ImportJobResponse: $ref: "#/components/schemas/ImportJobResponse" GetImportJobsResponse: type: object required: - ImportJobsResponse properties: ImportJobsResponse: $ref: "#/components/schemas/ImportJobsResponse" GetSegmentResponse: type: object required: - SegmentResponse properties: SegmentResponse: $ref: "#/components/schemas/SegmentResponse" GetSegmentExportJobsResponse: type: object required: - ExportJobsResponse properties: ExportJobsResponse: $ref: "#/components/schemas/ExportJobsResponse" GetSegmentImportJobsResponse: type: object required: - ImportJobsResponse properties: ImportJobsResponse: $ref: "#/components/schemas/ImportJobsResponse" GetSegmentVersionResponse: type: object required: - SegmentResponse properties: SegmentResponse: $ref: "#/components/schemas/SegmentResponse" GetSegmentVersionsResponse: type: object required: - SegmentsResponse properties: SegmentsResponse: $ref: "#/components/schemas/SegmentsResponse" GetSegmentsResponse: type: object required: - SegmentsResponse properties: SegmentsResponse: $ref: "#/components/schemas/SegmentsResponse" GetSmsChannelResponse: type: object required: - SMSChannelResponse properties: SMSChannelResponse: $ref: "#/components/schemas/SMSChannelResponse" GetUserEndpointsResponse: type: object required: - EndpointsResponse properties: EndpointsResponse: $ref: "#/components/schemas/EndpointsResponse" GetVoiceChannelResponse: type: object required: - VoiceChannelResponse properties: VoiceChannelResponse: $ref: "#/components/schemas/VoiceChannelResponse" ListTagsForResourceResponse: type: object required: - TagsModel properties: TagsModel: $ref: "#/components/schemas/TagsModel" PhoneNumberValidateResponse: type: object required: - NumberValidateResponse properties: NumberValidateResponse: $ref: "#/components/schemas/NumberValidateResponse" PutEventStreamResponse: type: object required: - EventStream properties: EventStream: $ref: "#/components/schemas/EventStream" PutEventsResponse: type: object required: - EventsResponse properties: EventsResponse: $ref: "#/components/schemas/EventsResponse" MapOfEventsBatch: type: object additionalProperties: $ref: "#/components/schemas/EventsBatch" RemoveAttributesResponse: type: object required: - AttributesResource properties: AttributesResource: $ref: "#/components/schemas/AttributesResource" ListOf__string: type: array items: $ref: "#/components/schemas/__string" SendMessagesResponse: type: object required: - MessageResponse properties: MessageResponse: $ref: "#/components/schemas/MessageResponse" MapOfAddressConfiguration: type: object additionalProperties: $ref: "#/components/schemas/AddressConfiguration" MapOfEndpointSendConfiguration: type: object additionalProperties: $ref: "#/components/schemas/EndpointSendConfiguration" DirectMessageConfiguration: type: object properties: ADMMessage: $ref: "#/components/schemas/ADMMessage" APNSMessage: $ref: "#/components/schemas/APNSMessage" BaiduMessage: $ref: "#/components/schemas/BaiduMessage" DefaultMessage: $ref: "#/components/schemas/DefaultMessage" DefaultPushNotificationMessage: $ref: "#/components/schemas/DefaultPushNotificationMessage" EmailMessage: $ref: "#/components/schemas/EmailMessage" GCMMessage: $ref: "#/components/schemas/GCMMessage" SMSMessage: $ref: "#/components/schemas/SMSMessage" VoiceMessage: $ref: "#/components/schemas/VoiceMessage" description: Specifies the settings and content for the default message and any default messages that you tailored for specific channels. SendUsersMessagesResponse: type: object required: - SendUsersMessageResponse properties: SendUsersMessageResponse: $ref: "#/components/schemas/SendUsersMessageResponse" UpdateAdmChannelResponse: type: object required: - ADMChannelResponse properties: ADMChannelResponse: $ref: "#/components/schemas/ADMChannelResponse" UpdateApnsChannelResponse: type: object required: - APNSChannelResponse properties: APNSChannelResponse: $ref: "#/components/schemas/APNSChannelResponse" UpdateApnsSandboxChannelResponse: type: object required: - APNSSandboxChannelResponse properties: APNSSandboxChannelResponse: $ref: "#/components/schemas/APNSSandboxChannelResponse" UpdateApnsVoipChannelResponse: type: object required: - APNSVoipChannelResponse properties: APNSVoipChannelResponse: $ref: "#/components/schemas/APNSVoipChannelResponse" UpdateApnsVoipSandboxChannelResponse: type: object required: - APNSVoipSandboxChannelResponse properties: APNSVoipSandboxChannelResponse: $ref: "#/components/schemas/APNSVoipSandboxChannelResponse" UpdateApplicationSettingsResponse: type: object required: - ApplicationSettingsResource properties: ApplicationSettingsResource: $ref: "#/components/schemas/ApplicationSettingsResource" QuietTime: type: object properties: End: $ref: "#/components/schemas/__string" Start: $ref: "#/components/schemas/__string" description: Specifies the start and end times that define a time range when messages aren't sent to endpoints. UpdateBaiduChannelResponse: type: object required: - BaiduChannelResponse properties: BaiduChannelResponse: $ref: "#/components/schemas/BaiduChannelResponse" UpdateCampaignResponse: type: object required: - CampaignResponse properties: CampaignResponse: $ref: "#/components/schemas/CampaignResponse" UpdateEmailChannelResponse: type: object required: - EmailChannelResponse properties: EmailChannelResponse: $ref: "#/components/schemas/EmailChannelResponse" UpdateEndpointResponse: type: object required: - MessageBody properties: MessageBody: $ref: "#/components/schemas/MessageBody" MapOfListOf__string: type: object additionalProperties: $ref: "#/components/schemas/ListOf__string" ChannelType: type: string enum: - GCM - APNS - APNS_SANDBOX - APNS_VOIP - APNS_VOIP_SANDBOX - ADM - SMS - VOICE - EMAIL - BAIDU - CUSTOM EndpointDemographic: type: object properties: AppVersion: $ref: "#/components/schemas/__string" Locale: $ref: "#/components/schemas/__string" Make: $ref: "#/components/schemas/__string" Model: $ref: "#/components/schemas/__string" ModelVersion: $ref: "#/components/schemas/__string" Platform: $ref: "#/components/schemas/__string" PlatformVersion: $ref: "#/components/schemas/__string" Timezone: $ref: "#/components/schemas/__string" description: Specifies demographic information about an endpoint, such as the applicable time zone and platform. EndpointLocation: type: object properties: City: $ref: "#/components/schemas/__string" Country: $ref: "#/components/schemas/__string" Latitude: $ref: "#/components/schemas/__double" Longitude: $ref: "#/components/schemas/__double" PostalCode: $ref: "#/components/schemas/__string" Region: $ref: "#/components/schemas/__string" description: Specifies geographic information about an endpoint. MapOf__double: type: object additionalProperties: $ref: "#/components/schemas/__double" EndpointUser: type: object properties: UserAttributes: $ref: "#/components/schemas/MapOfListOf__string" UserId: $ref: "#/components/schemas/__string" description: Specifies data for one or more attributes that describe the user who's associated with an endpoint. UpdateEndpointsBatchResponse: type: object required: - MessageBody properties: MessageBody: $ref: "#/components/schemas/MessageBody" ListOfEndpointBatchItem: type: array items: $ref: "#/components/schemas/EndpointBatchItem" UpdateGcmChannelResponse: type: object required: - GCMChannelResponse properties: GCMChannelResponse: $ref: "#/components/schemas/GCMChannelResponse" UpdateSegmentResponse: type: object required: - SegmentResponse properties: SegmentResponse: $ref: "#/components/schemas/SegmentResponse" UpdateSmsChannelResponse: type: object required: - SMSChannelResponse properties: SMSChannelResponse: $ref: "#/components/schemas/SMSChannelResponse" UpdateVoiceChannelResponse: type: object required: - VoiceChannelResponse properties: VoiceChannelResponse: $ref: "#/components/schemas/VoiceChannelResponse" ADMChannelRequest: type: object required: - ClientSecret - ClientId properties: ClientId: $ref: "#/components/schemas/__string" ClientSecret: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" description: Specifies the status and settings of the ADM (Amazon Device Messaging) channel for an application. ADMChannelResponse: type: object required: - Platform properties: ApplicationId: $ref: "#/components/schemas/__string" CreationDate: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" HasCredential: $ref: "#/components/schemas/__boolean" Id: $ref: "#/components/schemas/__string" IsArchived: $ref: "#/components/schemas/__boolean" LastModifiedBy: $ref: "#/components/schemas/__string" LastModifiedDate: $ref: "#/components/schemas/__string" Platform: $ref: "#/components/schemas/__string" Version: $ref: "#/components/schemas/__integer" description: Provides information about the status and settings of the ADM (Amazon Device Messaging) channel for an application. Action: type: string enum: - OPEN_APP - DEEP_LINK - URL ADMMessage: type: object properties: Action: $ref: "#/components/schemas/Action" Body: $ref: "#/components/schemas/__string" ConsolidationKey: $ref: "#/components/schemas/__string" Data: $ref: "#/components/schemas/MapOf__string" ExpiresAfter: $ref: "#/components/schemas/__string" IconReference: $ref: "#/components/schemas/__string" ImageIconUrl: $ref: "#/components/schemas/__string" ImageUrl: $ref: "#/components/schemas/__string" MD5: $ref: "#/components/schemas/__string" RawContent: $ref: "#/components/schemas/__string" SilentPush: $ref: "#/components/schemas/__boolean" SmallImageIconUrl: $ref: "#/components/schemas/__string" Sound: $ref: "#/components/schemas/__string" Substitutions: $ref: "#/components/schemas/MapOfListOf__string" Title: $ref: "#/components/schemas/__string" Url: $ref: "#/components/schemas/__string" description: Specifies the settings for a one-time message that's sent directly to an endpoint through the ADM (Amazon Device Messaging) channel. APNSChannelRequest: type: object properties: BundleId: $ref: "#/components/schemas/__string" Certificate: $ref: "#/components/schemas/__string" DefaultAuthenticationMethod: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" PrivateKey: $ref: "#/components/schemas/__string" TeamId: $ref: "#/components/schemas/__string" TokenKey: $ref: "#/components/schemas/__string" TokenKeyId: $ref: "#/components/schemas/__string" description: Specifies the status and settings of the APNs (Apple Push Notification service) channel for an application. APNSChannelResponse: type: object required: - Platform properties: ApplicationId: $ref: "#/components/schemas/__string" CreationDate: $ref: "#/components/schemas/__string" DefaultAuthenticationMethod: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" HasCredential: $ref: "#/components/schemas/__boolean" HasTokenKey: $ref: "#/components/schemas/__boolean" Id: $ref: "#/components/schemas/__string" IsArchived: $ref: "#/components/schemas/__boolean" LastModifiedBy: $ref: "#/components/schemas/__string" LastModifiedDate: $ref: "#/components/schemas/__string" Platform: $ref: "#/components/schemas/__string" Version: $ref: "#/components/schemas/__integer" description: Provides information about the status and settings of the APNs (Apple Push Notification service) channel for an application. APNSMessage: type: object properties: Action: $ref: "#/components/schemas/Action" Badge: $ref: "#/components/schemas/__integer" Body: $ref: "#/components/schemas/__string" Category: $ref: "#/components/schemas/__string" CollapseId: $ref: "#/components/schemas/__string" Data: $ref: "#/components/schemas/MapOf__string" MediaUrl: $ref: "#/components/schemas/__string" PreferredAuthenticationMethod: $ref: "#/components/schemas/__string" Priority: $ref: "#/components/schemas/__string" RawContent: $ref: "#/components/schemas/__string" SilentPush: $ref: "#/components/schemas/__boolean" Sound: $ref: "#/components/schemas/__string" Substitutions: $ref: "#/components/schemas/MapOfListOf__string" ThreadId: $ref: "#/components/schemas/__string" TimeToLive: $ref: "#/components/schemas/__integer" Title: $ref: "#/components/schemas/__string" Url: $ref: "#/components/schemas/__string" description: Specifies the settings for a one-time message that's sent directly to an endpoint through the APNs (Apple Push Notification service) channel. APNSSandboxChannelRequest: type: object properties: BundleId: $ref: "#/components/schemas/__string" Certificate: $ref: "#/components/schemas/__string" DefaultAuthenticationMethod: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" PrivateKey: $ref: "#/components/schemas/__string" TeamId: $ref: "#/components/schemas/__string" TokenKey: $ref: "#/components/schemas/__string" TokenKeyId: $ref: "#/components/schemas/__string" description: Specifies the status and settings of the APNs (Apple Push Notification service) sandbox channel for an application. APNSSandboxChannelResponse: type: object required: - Platform properties: ApplicationId: $ref: "#/components/schemas/__string" CreationDate: $ref: "#/components/schemas/__string" DefaultAuthenticationMethod: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" HasCredential: $ref: "#/components/schemas/__boolean" HasTokenKey: $ref: "#/components/schemas/__boolean" Id: $ref: "#/components/schemas/__string" IsArchived: $ref: "#/components/schemas/__boolean" LastModifiedBy: $ref: "#/components/schemas/__string" LastModifiedDate: $ref: "#/components/schemas/__string" Platform: $ref: "#/components/schemas/__string" Version: $ref: "#/components/schemas/__integer" description: Provides information about the status and settings of the APNs (Apple Push Notification service) sandbox channel for an application. APNSVoipChannelRequest: type: object properties: BundleId: $ref: "#/components/schemas/__string" Certificate: $ref: "#/components/schemas/__string" DefaultAuthenticationMethod: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" PrivateKey: $ref: "#/components/schemas/__string" TeamId: $ref: "#/components/schemas/__string" TokenKey: $ref: "#/components/schemas/__string" TokenKeyId: $ref: "#/components/schemas/__string" description: Specifies the status and settings of the APNs (Apple Push Notification service) VoIP channel for an application. APNSVoipChannelResponse: type: object required: - Platform properties: ApplicationId: $ref: "#/components/schemas/__string" CreationDate: $ref: "#/components/schemas/__string" DefaultAuthenticationMethod: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" HasCredential: $ref: "#/components/schemas/__boolean" HasTokenKey: $ref: "#/components/schemas/__boolean" Id: $ref: "#/components/schemas/__string" IsArchived: $ref: "#/components/schemas/__boolean" LastModifiedBy: $ref: "#/components/schemas/__string" LastModifiedDate: $ref: "#/components/schemas/__string" Platform: $ref: "#/components/schemas/__string" Version: $ref: "#/components/schemas/__integer" description: Provides information about the status and settings of the APNs (Apple Push Notification service) VoIP channel for an application. APNSVoipSandboxChannelRequest: type: object properties: BundleId: $ref: "#/components/schemas/__string" Certificate: $ref: "#/components/schemas/__string" DefaultAuthenticationMethod: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" PrivateKey: $ref: "#/components/schemas/__string" TeamId: $ref: "#/components/schemas/__string" TokenKey: $ref: "#/components/schemas/__string" TokenKeyId: $ref: "#/components/schemas/__string" description: Specifies the status and settings of the APNs (Apple Push Notification service) VoIP sandbox channel for an application. APNSVoipSandboxChannelResponse: type: object required: - Platform properties: ApplicationId: $ref: "#/components/schemas/__string" CreationDate: $ref: "#/components/schemas/__string" DefaultAuthenticationMethod: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" HasCredential: $ref: "#/components/schemas/__boolean" HasTokenKey: $ref: "#/components/schemas/__boolean" Id: $ref: "#/components/schemas/__string" IsArchived: $ref: "#/components/schemas/__boolean" LastModifiedBy: $ref: "#/components/schemas/__string" LastModifiedDate: $ref: "#/components/schemas/__string" Platform: $ref: "#/components/schemas/__string" Version: $ref: "#/components/schemas/__integer" description: Provides information about the status and settings of the APNs (Apple Push Notification service) VoIP sandbox channel for an application. ListOfActivityResponse: type: array items: $ref: "#/components/schemas/ActivityResponse" ActivitiesResponse: type: object required: - Item properties: Item: $ref: "#/components/schemas/ListOfActivityResponse" NextToken: $ref: "#/components/schemas/__string" description: Provides information about the activities that were performed by a campaign. ActivityResponse: type: object required: - CampaignId - Id - ApplicationId properties: ApplicationId: $ref: "#/components/schemas/__string" CampaignId: $ref: "#/components/schemas/__string" End: $ref: "#/components/schemas/__string" Id: $ref: "#/components/schemas/__string" Result: $ref: "#/components/schemas/__string" ScheduledStart: $ref: "#/components/schemas/__string" Start: $ref: "#/components/schemas/__string" State: $ref: "#/components/schemas/__string" SuccessfulEndpointCount: $ref: "#/components/schemas/__integer" TimezonesCompletedCount: $ref: "#/components/schemas/__integer" TimezonesTotalCount: $ref: "#/components/schemas/__integer" TotalEndpointCount: $ref: "#/components/schemas/__integer" TreatmentId: $ref: "#/components/schemas/__string" description: Provides information about an activity that was performed by a campaign. AddressConfiguration: type: object properties: BodyOverride: $ref: "#/components/schemas/__string" ChannelType: $ref: "#/components/schemas/ChannelType" Context: $ref: "#/components/schemas/MapOf__string" RawContent: $ref: "#/components/schemas/__string" Substitutions: $ref: "#/components/schemas/MapOfListOf__string" TitleOverride: $ref: "#/components/schemas/__string" description: Specifies address-based configuration settings for a message that's sent directly to an endpoint. __timestampIso8601: type: string format: date-time BaseKpiResult: type: object required: - Rows properties: Rows: $ref: "#/components/schemas/ListOfResultRow" description: Provides the results of a query that retrieved the data for a standard metric that applies to an application or campaign. ApplicationDateRangeKpiResponse: type: object required: - KpiResult - KpiName - EndTime - StartTime - ApplicationId properties: ApplicationId: $ref: "#/components/schemas/__string" EndTime: $ref: "#/components/schemas/__timestampIso8601" KpiName: $ref: "#/components/schemas/__string" KpiResult: $ref: "#/components/schemas/BaseKpiResult" NextToken: $ref: "#/components/schemas/__string" StartTime: $ref: "#/components/schemas/__timestampIso8601" description: Provides the results of a query that retrieved the data for a standard metric that applies to an application, and provides information about that query. ApplicationResponse: type: object required: - Id - Arn - Name properties: Arn: $ref: "#/components/schemas/__string" Id: $ref: "#/components/schemas/__string" Name: $ref: "#/components/schemas/__string" tags: $ref: "#/components/schemas/MapOf__string" description: Provides information about an application. ApplicationSettingsResource: type: object required: - ApplicationId properties: ApplicationId: $ref: "#/components/schemas/__string" CampaignHook: $ref: "#/components/schemas/CampaignHook" LastModifiedDate: $ref: "#/components/schemas/__string" Limits: $ref: "#/components/schemas/CampaignLimits" QuietTime: $ref: "#/components/schemas/QuietTime" description: Provides information about an application, including the default settings for an application. ListOfApplicationResponse: type: array items: $ref: "#/components/schemas/ApplicationResponse" ApplicationsResponse: type: object properties: Item: $ref: "#/components/schemas/ListOfApplicationResponse" NextToken: $ref: "#/components/schemas/__string" description: Provides information about all of your applications. AttributeType: type: string enum: - INCLUSIVE - EXCLUSIVE AttributeDimension: type: object required: - Values properties: AttributeType: $ref: "#/components/schemas/AttributeType" Values: $ref: "#/components/schemas/ListOf__string" description: Specifies attribute-based criteria for including or excluding endpoints from a segment. AttributesResource: type: object required: - AttributeType - ApplicationId properties: ApplicationId: $ref: "#/components/schemas/__string" AttributeType: $ref: "#/components/schemas/__string" Attributes: $ref: "#/components/schemas/ListOf__string" description: Provides information about the type and the names of attributes that were removed from all the endpoints that are associated with an application. BaiduChannelRequest: type: object required: - SecretKey - ApiKey properties: ApiKey: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" SecretKey: $ref: "#/components/schemas/__string" description: Specifies the status and settings of the Baidu (Baidu Cloud Push) channel for an application. BaiduChannelResponse: type: object required: - Credential - Platform properties: ApplicationId: $ref: "#/components/schemas/__string" CreationDate: $ref: "#/components/schemas/__string" Credential: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" HasCredential: $ref: "#/components/schemas/__boolean" Id: $ref: "#/components/schemas/__string" IsArchived: $ref: "#/components/schemas/__boolean" LastModifiedBy: $ref: "#/components/schemas/__string" LastModifiedDate: $ref: "#/components/schemas/__string" Platform: $ref: "#/components/schemas/__string" Version: $ref: "#/components/schemas/__integer" description: Provides information about the status and settings of the Baidu (Baidu Cloud Push) channel for an application. BaiduMessage: type: object properties: Action: $ref: "#/components/schemas/Action" Body: $ref: "#/components/schemas/__string" Data: $ref: "#/components/schemas/MapOf__string" IconReference: $ref: "#/components/schemas/__string" ImageIconUrl: $ref: "#/components/schemas/__string" ImageUrl: $ref: "#/components/schemas/__string" RawContent: $ref: "#/components/schemas/__string" SilentPush: $ref: "#/components/schemas/__boolean" SmallImageIconUrl: $ref: "#/components/schemas/__string" Sound: $ref: "#/components/schemas/__string" Substitutions: $ref: "#/components/schemas/MapOfListOf__string" TimeToLive: $ref: "#/components/schemas/__integer" Title: $ref: "#/components/schemas/__string" Url: $ref: "#/components/schemas/__string" description: Specifies the settings for a one-time message that's sent directly to an endpoint through the Baidu (Baidu Cloud Push) channel. ListOfResultRow: type: array items: $ref: "#/components/schemas/ResultRow" CampaignDateRangeKpiResponse: type: object required: - KpiResult - KpiName - EndTime - CampaignId - StartTime - ApplicationId properties: ApplicationId: $ref: "#/components/schemas/__string" CampaignId: $ref: "#/components/schemas/__string" EndTime: $ref: "#/components/schemas/__timestampIso8601" KpiName: $ref: "#/components/schemas/__string" KpiResult: $ref: "#/components/schemas/BaseKpiResult" NextToken: $ref: "#/components/schemas/__string" StartTime: $ref: "#/components/schemas/__timestampIso8601" description: Provides the results of a query that retrieved the data for a standard metric that applies to a campaign, and provides information about that query. CampaignEmailMessage: type: object required: - Title properties: Body: $ref: "#/components/schemas/__string" FromAddress: $ref: "#/components/schemas/__string" HtmlBody: $ref: "#/components/schemas/__string" Title: $ref: "#/components/schemas/__string" description: Specifies the content and "From" address for an email message that's sent to recipients of a campaign. EventDimensions: type: object properties: Attributes: $ref: "#/components/schemas/MapOfAttributeDimension" EventType: $ref: "#/components/schemas/SetDimension" Metrics: $ref: "#/components/schemas/MapOfMetricDimension" description: Specifies the dimensions for an event filter that determines when a campaign is sent. FilterType: type: string enum: - SYSTEM - ENDPOINT CampaignEventFilter: type: object required: - FilterType - Dimensions properties: Dimensions: $ref: "#/components/schemas/EventDimensions" FilterType: $ref: "#/components/schemas/FilterType" description: Specifies the settings for events that cause a campaign to be sent. Mode: type: string enum: - DELIVERY - FILTER ListOfTreatmentResource: type: array items: $ref: "#/components/schemas/TreatmentResource" CampaignState: type: object properties: CampaignStatus: $ref: "#/components/schemas/CampaignStatus" description: Provides information about the status of a campaign. CampaignResponse: type: object required: - LastModifiedDate - CreationDate - SegmentId - SegmentVersion - Id - Arn - ApplicationId properties: AdditionalTreatments: $ref: "#/components/schemas/ListOfTreatmentResource" ApplicationId: $ref: "#/components/schemas/__string" Arn: $ref: "#/components/schemas/__string" CreationDate: $ref: "#/components/schemas/__string" DefaultState: $ref: "#/components/schemas/CampaignState" Description: $ref: "#/components/schemas/__string" HoldoutPercent: $ref: "#/components/schemas/__integer" Hook: $ref: "#/components/schemas/CampaignHook" Id: $ref: "#/components/schemas/__string" IsPaused: $ref: "#/components/schemas/__boolean" LastModifiedDate: $ref: "#/components/schemas/__string" Limits: $ref: "#/components/schemas/CampaignLimits" MessageConfiguration: $ref: "#/components/schemas/MessageConfiguration" Name: $ref: "#/components/schemas/__string" Schedule: $ref: "#/components/schemas/Schedule" SegmentId: $ref: "#/components/schemas/__string" SegmentVersion: $ref: "#/components/schemas/__integer" State: $ref: "#/components/schemas/CampaignState" tags: $ref: "#/components/schemas/MapOf__string" TreatmentDescription: $ref: "#/components/schemas/__string" TreatmentName: $ref: "#/components/schemas/__string" Version: $ref: "#/components/schemas/__integer" description: Provides information about the status, configuration, and other settings for a campaign. MessageType: type: string enum: - TRANSACTIONAL - PROMOTIONAL CampaignSmsMessage: type: object properties: Body: $ref: "#/components/schemas/__string" MessageType: $ref: "#/components/schemas/MessageType" SenderId: $ref: "#/components/schemas/__string" description: Specifies the content and settings for an SMS message that's sent to recipients of a campaign. CampaignStatus: type: string enum: - SCHEDULED - EXECUTING - PENDING_NEXT_RUN - COMPLETED - PAUSED - DELETED ListOfCampaignResponse: type: array items: $ref: "#/components/schemas/CampaignResponse" CampaignsResponse: type: object required: - Item properties: Item: $ref: "#/components/schemas/ListOfCampaignResponse" NextToken: $ref: "#/components/schemas/__string" description: Provides information about the configuration and other settings for all the campaigns that are associated with an application. ChannelResponse: type: object properties: ApplicationId: $ref: "#/components/schemas/__string" CreationDate: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" HasCredential: $ref: "#/components/schemas/__boolean" Id: $ref: "#/components/schemas/__string" IsArchived: $ref: "#/components/schemas/__boolean" LastModifiedBy: $ref: "#/components/schemas/__string" LastModifiedDate: $ref: "#/components/schemas/__string" Version: $ref: "#/components/schemas/__integer" description: Provides information about the general settings and status of a channel for an application. MapOfChannelResponse: type: object additionalProperties: $ref: "#/components/schemas/ChannelResponse" ChannelsResponse: type: object required: - Channels properties: Channels: $ref: "#/components/schemas/MapOfChannelResponse" description: Provides information about the general settings and status of all channels for an application, including channels that aren't enabled for the application. CreateApplicationRequest: type: object required: - Name properties: Name: $ref: "#/components/schemas/__string" tags: $ref: "#/components/schemas/MapOf__string" description: Specifies the display name of an application and the tags to associate with the application. CreateAppRequest: type: object required: - CreateApplicationRequest properties: CreateApplicationRequest: $ref: "#/components/schemas/CreateApplicationRequest" WriteCampaignRequest: type: object properties: AdditionalTreatments: $ref: "#/components/schemas/ListOfWriteTreatmentResource" Description: $ref: "#/components/schemas/__string" HoldoutPercent: $ref: "#/components/schemas/__integer" Hook: $ref: "#/components/schemas/CampaignHook" IsPaused: $ref: "#/components/schemas/__boolean" Limits: $ref: "#/components/schemas/CampaignLimits" MessageConfiguration: $ref: "#/components/schemas/MessageConfiguration" Name: $ref: "#/components/schemas/__string" Schedule: $ref: "#/components/schemas/Schedule" SegmentId: $ref: "#/components/schemas/__string" SegmentVersion: $ref: "#/components/schemas/__integer" tags: $ref: "#/components/schemas/MapOf__string" TreatmentDescription: $ref: "#/components/schemas/__string" TreatmentName: $ref: "#/components/schemas/__string" description: Specifies the configuration and other settings for a campaign. CreateCampaignRequest: type: object required: - WriteCampaignRequest properties: WriteCampaignRequest: $ref: "#/components/schemas/WriteCampaignRequest" ExportJobRequest: type: object required: - S3UrlPrefix - RoleArn properties: RoleArn: $ref: "#/components/schemas/__string" S3UrlPrefix: $ref: "#/components/schemas/__string" SegmentId: $ref: "#/components/schemas/__string" SegmentVersion: $ref: "#/components/schemas/__integer" description: Specifies the settings for a job that exports endpoint definitions to an Amazon Simple Storage Service (Amazon S3) bucket. CreateExportJobRequest: type: object required: - ExportJobRequest properties: ExportJobRequest: $ref: "#/components/schemas/ExportJobRequest" ExportJobResponse: type: object required: - JobStatus - CreationDate - Type - Definition - Id - ApplicationId properties: ApplicationId: $ref: "#/components/schemas/__string" CompletedPieces: $ref: "#/components/schemas/__integer" CompletionDate: $ref: "#/components/schemas/__string" CreationDate: $ref: "#/components/schemas/__string" Definition: $ref: "#/components/schemas/ExportJobResource" FailedPieces: $ref: "#/components/schemas/__integer" Failures: $ref: "#/components/schemas/ListOf__string" Id: $ref: "#/components/schemas/__string" JobStatus: $ref: "#/components/schemas/JobStatus" TotalFailures: $ref: "#/components/schemas/__integer" TotalPieces: $ref: "#/components/schemas/__integer" TotalProcessed: $ref: "#/components/schemas/__integer" Type: $ref: "#/components/schemas/__string" description: Provides information about the status and settings of a job that exports endpoint definitions to a file. The file can be added directly to an Amazon Simple Storage Service (Amazon S3) bucket by using the Amazon Pinpoint API or downloaded directly to a computer by using the Amazon Pinpoint console. ImportJobRequest: type: object required: - Format - S3Url - RoleArn properties: DefineSegment: $ref: "#/components/schemas/__boolean" ExternalId: $ref: "#/components/schemas/__string" Format: $ref: "#/components/schemas/Format" RegisterEndpoints: $ref: "#/components/schemas/__boolean" RoleArn: $ref: "#/components/schemas/__string" S3Url: $ref: "#/components/schemas/__string" SegmentId: $ref: "#/components/schemas/__string" SegmentName: $ref: "#/components/schemas/__string" description: Specifies the settings for a job that imports endpoint definitions from an Amazon Simple Storage Service (Amazon S3) bucket. CreateImportJobRequest: type: object required: - ImportJobRequest properties: ImportJobRequest: $ref: "#/components/schemas/ImportJobRequest" ImportJobResponse: type: object required: - JobStatus - CreationDate - Type - Definition - Id - ApplicationId properties: ApplicationId: $ref: "#/components/schemas/__string" CompletedPieces: $ref: "#/components/schemas/__integer" CompletionDate: $ref: "#/components/schemas/__string" CreationDate: $ref: "#/components/schemas/__string" Definition: $ref: "#/components/schemas/ImportJobResource" FailedPieces: $ref: "#/components/schemas/__integer" Failures: $ref: "#/components/schemas/ListOf__string" Id: $ref: "#/components/schemas/__string" JobStatus: $ref: "#/components/schemas/JobStatus" TotalFailures: $ref: "#/components/schemas/__integer" TotalPieces: $ref: "#/components/schemas/__integer" TotalProcessed: $ref: "#/components/schemas/__integer" Type: $ref: "#/components/schemas/__string" description: Provides information about the status and settings of a job that imports endpoint definitions from one or more files. The files can be stored in an Amazon Simple Storage Service (Amazon S3) bucket or uploaded directly from a computer by using the Amazon Pinpoint console. WriteSegmentRequest: type: object properties: Dimensions: $ref: "#/components/schemas/SegmentDimensions" Name: $ref: "#/components/schemas/__string" SegmentGroups: $ref: "#/components/schemas/SegmentGroupList" tags: $ref: "#/components/schemas/MapOf__string" description: Specifies the configuration, dimension, and other settings for a segment. A WriteSegmentRequest object can include a Dimensions object or a SegmentGroups object, but not both. CreateSegmentRequest: type: object required: - WriteSegmentRequest properties: WriteSegmentRequest: $ref: "#/components/schemas/WriteSegmentRequest" SegmentResponse: type: object required: - SegmentType - CreationDate - Id - Arn - ApplicationId properties: ApplicationId: $ref: "#/components/schemas/__string" Arn: $ref: "#/components/schemas/__string" CreationDate: $ref: "#/components/schemas/__string" Dimensions: $ref: "#/components/schemas/SegmentDimensions" Id: $ref: "#/components/schemas/__string" ImportDefinition: $ref: "#/components/schemas/SegmentImportResource" LastModifiedDate: $ref: "#/components/schemas/__string" Name: $ref: "#/components/schemas/__string" SegmentGroups: $ref: "#/components/schemas/SegmentGroupList" SegmentType: $ref: "#/components/schemas/SegmentType" tags: $ref: "#/components/schemas/MapOf__string" Version: $ref: "#/components/schemas/__integer" description: Provides information about the configuration, dimension, and other settings for a segment. DefaultMessage: type: object properties: Body: $ref: "#/components/schemas/__string" Substitutions: $ref: "#/components/schemas/MapOfListOf__string" description: Specifies the default message to use for all channels. DefaultPushNotificationMessage: type: object properties: Action: $ref: "#/components/schemas/Action" Body: $ref: "#/components/schemas/__string" Data: $ref: "#/components/schemas/MapOf__string" SilentPush: $ref: "#/components/schemas/__boolean" Substitutions: $ref: "#/components/schemas/MapOfListOf__string" Title: $ref: "#/components/schemas/__string" Url: $ref: "#/components/schemas/__string" description: Specifies the default settings and content for a push notification that's sent directly to an endpoint. DeleteAdmChannelRequest: type: object properties: {} DeleteApnsChannelRequest: type: object properties: {} DeleteApnsSandboxChannelRequest: type: object properties: {} DeleteApnsVoipChannelRequest: type: object properties: {} DeleteApnsVoipSandboxChannelRequest: type: object properties: {} DeleteAppRequest: type: object properties: {} DeleteBaiduChannelRequest: type: object properties: {} DeleteCampaignRequest: type: object properties: {} DeleteEmailChannelRequest: type: object properties: {} EmailChannelResponse: type: object required: - Platform properties: ApplicationId: $ref: "#/components/schemas/__string" ConfigurationSet: $ref: "#/components/schemas/__string" CreationDate: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" FromAddress: $ref: "#/components/schemas/__string" HasCredential: $ref: "#/components/schemas/__boolean" Id: $ref: "#/components/schemas/__string" Identity: $ref: "#/components/schemas/__string" IsArchived: $ref: "#/components/schemas/__boolean" LastModifiedBy: $ref: "#/components/schemas/__string" LastModifiedDate: $ref: "#/components/schemas/__string" MessagesPerSecond: $ref: "#/components/schemas/__integer" Platform: $ref: "#/components/schemas/__string" RoleArn: $ref: "#/components/schemas/__string" Version: $ref: "#/components/schemas/__integer" description: Provides information about the status and settings of the email channel for an application. DeleteEndpointRequest: type: object properties: {} EndpointResponse: type: object properties: Address: $ref: "#/components/schemas/__string" ApplicationId: $ref: "#/components/schemas/__string" Attributes: $ref: "#/components/schemas/MapOfListOf__string" ChannelType: $ref: "#/components/schemas/ChannelType" CohortId: $ref: "#/components/schemas/__string" CreationDate: $ref: "#/components/schemas/__string" Demographic: $ref: "#/components/schemas/EndpointDemographic" EffectiveDate: $ref: "#/components/schemas/__string" EndpointStatus: $ref: "#/components/schemas/__string" Id: $ref: "#/components/schemas/__string" Location: $ref: "#/components/schemas/EndpointLocation" Metrics: $ref: "#/components/schemas/MapOf__double" OptOut: $ref: "#/components/schemas/__string" RequestId: $ref: "#/components/schemas/__string" User: $ref: "#/components/schemas/EndpointUser" description: Provides information about the channel type and other settings for an endpoint. DeleteEventStreamRequest: type: object properties: {} EventStream: type: object required: - ApplicationId - RoleArn - DestinationStreamArn properties: ApplicationId: $ref: "#/components/schemas/__string" DestinationStreamArn: $ref: "#/components/schemas/__string" ExternalId: $ref: "#/components/schemas/__string" LastModifiedDate: $ref: "#/components/schemas/__string" LastUpdatedBy: $ref: "#/components/schemas/__string" RoleArn: $ref: "#/components/schemas/__string" description: Specifies settings for publishing event data to an Amazon Kinesis data stream or an Amazon Kinesis Data Firehose delivery stream. DeleteGcmChannelRequest: type: object properties: {} GCMChannelResponse: type: object required: - Credential - Platform properties: ApplicationId: $ref: "#/components/schemas/__string" CreationDate: $ref: "#/components/schemas/__string" Credential: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" HasCredential: $ref: "#/components/schemas/__boolean" Id: $ref: "#/components/schemas/__string" IsArchived: $ref: "#/components/schemas/__boolean" LastModifiedBy: $ref: "#/components/schemas/__string" LastModifiedDate: $ref: "#/components/schemas/__string" Platform: $ref: "#/components/schemas/__string" Version: $ref: "#/components/schemas/__integer" description: Provides information about the status and settings of the GCM channel for an application. The GCM channel enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. DeleteSegmentRequest: type: object properties: {} DeleteSmsChannelRequest: type: object properties: {} SMSChannelResponse: type: object required: - Platform properties: ApplicationId: $ref: "#/components/schemas/__string" CreationDate: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" HasCredential: $ref: "#/components/schemas/__boolean" Id: $ref: "#/components/schemas/__string" IsArchived: $ref: "#/components/schemas/__boolean" LastModifiedBy: $ref: "#/components/schemas/__string" LastModifiedDate: $ref: "#/components/schemas/__string" Platform: $ref: "#/components/schemas/__string" PromotionalMessagesPerSecond: $ref: "#/components/schemas/__integer" SenderId: $ref: "#/components/schemas/__string" ShortCode: $ref: "#/components/schemas/__string" TransactionalMessagesPerSecond: $ref: "#/components/schemas/__integer" Version: $ref: "#/components/schemas/__integer" description: Provides information about the status and settings of the SMS channel for an application. DeleteUserEndpointsRequest: type: object properties: {} EndpointsResponse: type: object required: - Item properties: Item: $ref: "#/components/schemas/ListOfEndpointResponse" description: Provides information about all the endpoints that are associated with a user ID. DeleteVoiceChannelRequest: type: object properties: {} VoiceChannelResponse: type: object required: - Platform properties: ApplicationId: $ref: "#/components/schemas/__string" CreationDate: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" HasCredential: $ref: "#/components/schemas/__boolean" Id: $ref: "#/components/schemas/__string" IsArchived: $ref: "#/components/schemas/__boolean" LastModifiedBy: $ref: "#/components/schemas/__string" LastModifiedDate: $ref: "#/components/schemas/__string" Platform: $ref: "#/components/schemas/__string" Version: $ref: "#/components/schemas/__integer" description: Provides information about the status and settings of the voice channel for an application. DeliveryStatus: type: string enum: - SUCCESSFUL - THROTTLED - TEMPORARY_FAILURE - PERMANENT_FAILURE - UNKNOWN_FAILURE - OPT_OUT - DUPLICATE DimensionType: type: string enum: - INCLUSIVE - EXCLUSIVE EmailMessage: type: object properties: Body: $ref: "#/components/schemas/__string" FeedbackForwardingAddress: $ref: "#/components/schemas/__string" FromAddress: $ref: "#/components/schemas/__string" RawEmail: $ref: "#/components/schemas/RawEmail" ReplyToAddresses: $ref: "#/components/schemas/ListOf__string" SimpleEmail: $ref: "#/components/schemas/SimpleEmail" Substitutions: $ref: "#/components/schemas/MapOfListOf__string" description: Specifies the default settings and content for a one-time email message that's sent directly to an endpoint. GCMMessage: type: object properties: Action: $ref: "#/components/schemas/Action" Body: $ref: "#/components/schemas/__string" CollapseKey: $ref: "#/components/schemas/__string" Data: $ref: "#/components/schemas/MapOf__string" IconReference: $ref: "#/components/schemas/__string" ImageIconUrl: $ref: "#/components/schemas/__string" ImageUrl: $ref: "#/components/schemas/__string" Priority: $ref: "#/components/schemas/__string" RawContent: $ref: "#/components/schemas/__string" RestrictedPackageName: $ref: "#/components/schemas/__string" SilentPush: $ref: "#/components/schemas/__boolean" SmallImageIconUrl: $ref: "#/components/schemas/__string" Sound: $ref: "#/components/schemas/__string" Substitutions: $ref: "#/components/schemas/MapOfListOf__string" TimeToLive: $ref: "#/components/schemas/__integer" Title: $ref: "#/components/schemas/__string" Url: $ref: "#/components/schemas/__string" description: Specifies the settings for a one-time message that's sent directly to an endpoint through the GCM channel. The GCM channel enables Amazon Pinpoint to send messages to the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. SMSMessage: type: object properties: Body: $ref: "#/components/schemas/__string" Keyword: $ref: "#/components/schemas/__string" MessageType: $ref: "#/components/schemas/MessageType" OriginationNumber: $ref: "#/components/schemas/__string" SenderId: $ref: "#/components/schemas/__string" Substitutions: $ref: "#/components/schemas/MapOfListOf__string" description: Specifies the default settings for a one-time SMS message that's sent directly to an endpoint. VoiceMessage: type: object properties: Body: $ref: "#/components/schemas/__string" LanguageCode: $ref: "#/components/schemas/__string" OriginationNumber: $ref: "#/components/schemas/__string" Substitutions: $ref: "#/components/schemas/MapOfListOf__string" VoiceId: $ref: "#/components/schemas/__string" description: Specifies the settings for a one-time voice message that's sent directly to an endpoint through the voice channel. Duration: type: string enum: - HR_24 - DAY_7 - DAY_14 - DAY_30 EmailChannelRequest: type: object required: - FromAddress - Identity properties: ConfigurationSet: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" FromAddress: $ref: "#/components/schemas/__string" Identity: $ref: "#/components/schemas/__string" RoleArn: $ref: "#/components/schemas/__string" description: Specifies the status and settings of the email channel for an application. RawEmail: type: object properties: Data: $ref: "#/components/schemas/__blob" description: Specifies the contents of an email message, represented as a raw MIME message. SimpleEmail: type: object properties: HtmlPart: $ref: "#/components/schemas/SimpleEmailPart" Subject: $ref: "#/components/schemas/SimpleEmailPart" TextPart: $ref: "#/components/schemas/SimpleEmailPart" description: Specifies the content of an email message, composed of a subject, a text part, and an HTML part. EndpointBatchItem: type: object properties: Address: $ref: "#/components/schemas/__string" Attributes: $ref: "#/components/schemas/MapOfListOf__string" ChannelType: $ref: "#/components/schemas/ChannelType" Demographic: $ref: "#/components/schemas/EndpointDemographic" EffectiveDate: $ref: "#/components/schemas/__string" EndpointStatus: $ref: "#/components/schemas/__string" Id: $ref: "#/components/schemas/__string" Location: $ref: "#/components/schemas/EndpointLocation" Metrics: $ref: "#/components/schemas/MapOf__double" OptOut: $ref: "#/components/schemas/__string" RequestId: $ref: "#/components/schemas/__string" User: $ref: "#/components/schemas/EndpointUser" description: Specifies an endpoint to create or update and the settings and attributes to set or change for the endpoint. EndpointBatchRequest: type: object required: - Item properties: Item: $ref: "#/components/schemas/ListOfEndpointBatchItem" description: Specifies a batch of endpoints to create or update and the settings and attributes to set or change for each endpoint. EndpointItemResponse: type: object properties: Message: $ref: "#/components/schemas/__string" StatusCode: $ref: "#/components/schemas/__integer" description: Provides the status code and message that result from processing data for an endpoint. __double: type: number format: double EndpointMessageResult: type: object required: - DeliveryStatus - StatusCode properties: Address: $ref: "#/components/schemas/__string" DeliveryStatus: $ref: "#/components/schemas/DeliveryStatus" MessageId: $ref: "#/components/schemas/__string" StatusCode: $ref: "#/components/schemas/__integer" StatusMessage: $ref: "#/components/schemas/__string" UpdatedToken: $ref: "#/components/schemas/__string" description: Provides information about the delivery status and results of sending a message directly to an endpoint. EndpointRequest: type: object properties: Address: $ref: "#/components/schemas/__string" Attributes: $ref: "#/components/schemas/MapOfListOf__string" ChannelType: $ref: "#/components/schemas/ChannelType" Demographic: $ref: "#/components/schemas/EndpointDemographic" EffectiveDate: $ref: "#/components/schemas/__string" EndpointStatus: $ref: "#/components/schemas/__string" Location: $ref: "#/components/schemas/EndpointLocation" Metrics: $ref: "#/components/schemas/MapOf__double" OptOut: $ref: "#/components/schemas/__string" RequestId: $ref: "#/components/schemas/__string" User: $ref: "#/components/schemas/EndpointUser" description: Specifies the channel type and other settings for an endpoint. EndpointSendConfiguration: type: object properties: BodyOverride: $ref: "#/components/schemas/__string" Context: $ref: "#/components/schemas/MapOf__string" RawContent: $ref: "#/components/schemas/__string" Substitutions: $ref: "#/components/schemas/MapOfListOf__string" TitleOverride: $ref: "#/components/schemas/__string" description: Specifies the content, including message variables and attributes, to use in a message that's sent directly to an endpoint. ListOfEndpointResponse: type: array items: $ref: "#/components/schemas/EndpointResponse" Session: type: object required: - StartTimestamp - Id properties: Duration: $ref: "#/components/schemas/__integer" Id: $ref: "#/components/schemas/__string" StartTimestamp: $ref: "#/components/schemas/__string" StopTimestamp: $ref: "#/components/schemas/__string" description: Provides information about a session. Event: type: object required: - EventType - Timestamp properties: AppPackageName: $ref: "#/components/schemas/__string" AppTitle: $ref: "#/components/schemas/__string" AppVersionCode: $ref: "#/components/schemas/__string" Attributes: $ref: "#/components/schemas/MapOf__string" ClientSdkVersion: $ref: "#/components/schemas/__string" EventType: $ref: "#/components/schemas/__string" Metrics: $ref: "#/components/schemas/MapOf__double" SdkName: $ref: "#/components/schemas/__string" Session: $ref: "#/components/schemas/Session" Timestamp: $ref: "#/components/schemas/__string" description: Specifies information about an event that reports data to Amazon Pinpoint. MapOfAttributeDimension: type: object additionalProperties: $ref: "#/components/schemas/AttributeDimension" SetDimension: type: object required: - Values properties: DimensionType: $ref: "#/components/schemas/DimensionType" Values: $ref: "#/components/schemas/ListOf__string" description: Specifies the dimension type and values for a segment dimension. MapOfMetricDimension: type: object additionalProperties: $ref: "#/components/schemas/MetricDimension" EventItemResponse: type: object properties: Message: $ref: "#/components/schemas/__string" StatusCode: $ref: "#/components/schemas/__integer" description: Provides the status code and message that result from processing an event. PublicEndpoint: type: object properties: Address: $ref: "#/components/schemas/__string" Attributes: $ref: "#/components/schemas/MapOfListOf__string" ChannelType: $ref: "#/components/schemas/ChannelType" Demographic: $ref: "#/components/schemas/EndpointDemographic" EffectiveDate: $ref: "#/components/schemas/__string" EndpointStatus: $ref: "#/components/schemas/__string" Location: $ref: "#/components/schemas/EndpointLocation" Metrics: $ref: "#/components/schemas/MapOf__double" OptOut: $ref: "#/components/schemas/__string" RequestId: $ref: "#/components/schemas/__string" User: $ref: "#/components/schemas/EndpointUser" description: Specifies the properties and attributes of an endpoint that's associated with an event. MapOfEvent: type: object additionalProperties: $ref: "#/components/schemas/Event" EventsBatch: type: object required: - Endpoint - Events properties: Endpoint: $ref: "#/components/schemas/PublicEndpoint" Events: $ref: "#/components/schemas/MapOfEvent" description: Specifies a batch of endpoints and events to process. EventsRequest: type: object required: - BatchItem properties: BatchItem: $ref: "#/components/schemas/MapOfEventsBatch" description: Specifies a batch of events to process. MapOfItemResponse: type: object additionalProperties: $ref: "#/components/schemas/ItemResponse" EventsResponse: type: object properties: Results: $ref: "#/components/schemas/MapOfItemResponse" description: Provides information about endpoints and the events that they're associated with. ExportJobResource: type: object required: - S3UrlPrefix - RoleArn properties: RoleArn: $ref: "#/components/schemas/__string" S3UrlPrefix: $ref: "#/components/schemas/__string" SegmentId: $ref: "#/components/schemas/__string" SegmentVersion: $ref: "#/components/schemas/__integer" description: Provides information about the resource settings for a job that exports endpoint definitions to a file. The file can be added directly to an Amazon Simple Storage Service (Amazon S3) bucket by using the Amazon Pinpoint API or downloaded directly to a computer by using the Amazon Pinpoint console. JobStatus: type: string enum: - CREATED - INITIALIZING - PROCESSING - COMPLETING - COMPLETED - FAILING - FAILED ListOfExportJobResponse: type: array items: $ref: "#/components/schemas/ExportJobResponse" ExportJobsResponse: type: object required: - Item properties: Item: $ref: "#/components/schemas/ListOfExportJobResponse" NextToken: $ref: "#/components/schemas/__string" description: Provides information about all the export jobs that are associated with an application or segment. An export job is a job that exports endpoint definitions to a file. Frequency: type: string enum: - ONCE - HOURLY - DAILY - WEEKLY - MONTHLY - EVENT GCMChannelRequest: type: object required: - ApiKey properties: ApiKey: $ref: "#/components/schemas/__string" Enabled: $ref: "#/components/schemas/__boolean" description: Specifies the status and settings of the GCM channel for an application. This channel enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. GPSCoordinates: type: object required: - Latitude - Longitude properties: Latitude: $ref: "#/components/schemas/__double" Longitude: $ref: "#/components/schemas/__double" description: Specifies the GPS coordinates of a location. GPSPointDimension: type: object required: - Coordinates properties: Coordinates: $ref: "#/components/schemas/GPSCoordinates" RangeInKilometers: $ref: "#/components/schemas/__double" description: Specifies GPS-based criteria for including or excluding endpoints from a segment. GetAdmChannelRequest: type: object properties: {} GetApnsChannelRequest: type: object properties: {} GetApnsSandboxChannelRequest: type: object properties: {} GetApnsVoipChannelRequest: type: object properties: {} GetApnsVoipSandboxChannelRequest: type: object properties: {} GetAppRequest: type: object properties: {} GetApplicationDateRangeKpiRequest: type: object properties: {} GetApplicationSettingsRequest: type: object properties: {} GetAppsRequest: type: object properties: {} GetBaiduChannelRequest: type: object properties: {} GetCampaignActivitiesRequest: type: object properties: {} GetCampaignDateRangeKpiRequest: type: object properties: {} GetCampaignRequest: type: object properties: {} GetCampaignVersionRequest: type: object properties: {} GetCampaignVersionsRequest: type: object properties: {} GetCampaignsRequest: type: object properties: {} GetChannelsRequest: type: object properties: {} GetEmailChannelRequest: type: object properties: {} GetEndpointRequest: type: object properties: {} GetEventStreamRequest: type: object properties: {} GetExportJobRequest: type: object properties: {} GetExportJobsRequest: type: object properties: {} GetGcmChannelRequest: type: object properties: {} GetImportJobRequest: type: object properties: {} GetImportJobsRequest: type: object properties: {} ImportJobsResponse: type: object required: - Item properties: Item: $ref: "#/components/schemas/ListOfImportJobResponse" NextToken: $ref: "#/components/schemas/__string" description: Provides information about the status and settings of all the import jobs that are associated with an application or segment. An import job is a job that imports endpoint definitions from one or more files. GetSegmentExportJobsRequest: type: object properties: {} GetSegmentImportJobsRequest: type: object properties: {} GetSegmentRequest: type: object properties: {} GetSegmentVersionRequest: type: object properties: {} GetSegmentVersionsRequest: type: object properties: {} SegmentsResponse: type: object required: - Item properties: Item: $ref: "#/components/schemas/ListOfSegmentResponse" NextToken: $ref: "#/components/schemas/__string" description: Provides information about all the segments that are associated with an application. GetSegmentsRequest: type: object properties: {} GetSmsChannelRequest: type: object properties: {} GetUserEndpointsRequest: type: object properties: {} GetVoiceChannelRequest: type: object properties: {} ImportJobResource: type: object required: - Format - S3Url - RoleArn properties: DefineSegment: $ref: "#/components/schemas/__boolean" ExternalId: $ref: "#/components/schemas/__string" Format: $ref: "#/components/schemas/Format" RegisterEndpoints: $ref: "#/components/schemas/__boolean" RoleArn: $ref: "#/components/schemas/__string" S3Url: $ref: "#/components/schemas/__string" SegmentId: $ref: "#/components/schemas/__string" SegmentName: $ref: "#/components/schemas/__string" description: Provides information about the resource settings for a job that imports endpoint definitions from one or more files. The files can be stored in an Amazon Simple Storage Service (Amazon S3) bucket or uploaded directly from a computer by using the Amazon Pinpoint console. ListOfImportJobResponse: type: array items: $ref: "#/components/schemas/ImportJobResponse" Include: type: string enum: - ALL - ANY - NONE MapOfEventItemResponse: type: object additionalProperties: $ref: "#/components/schemas/EventItemResponse" ItemResponse: type: object properties: EndpointItemResponse: $ref: "#/components/schemas/EndpointItemResponse" EventsItemResponse: $ref: "#/components/schemas/MapOfEventItemResponse" description: Provides information about the results of a request to create or update an endpoint that's associated with an event. ListTagsForResourceRequest: type: object properties: {} TagsModel: type: object required: - tags properties: tags: $ref: "#/components/schemas/MapOf__string" description: Specifies the tags (keys and values) for an application, campaign, or segment. Message: type: object properties: Action: $ref: "#/components/schemas/Action" Body: $ref: "#/components/schemas/__string" ImageIconUrl: $ref: "#/components/schemas/__string" ImageSmallIconUrl: $ref: "#/components/schemas/__string" ImageUrl: $ref: "#/components/schemas/__string" JsonBody: $ref: "#/components/schemas/__string" MediaUrl: $ref: "#/components/schemas/__string" RawContent: $ref: "#/components/schemas/__string" SilentPush: $ref: "#/components/schemas/__boolean" TimeToLive: $ref: "#/components/schemas/__integer" Title: $ref: "#/components/schemas/__string" Url: $ref: "#/components/schemas/__string" description: Specifies the content and settings for a push notification that's sent to recipients of a campaign. MessageBody: type: object properties: Message: $ref: "#/components/schemas/__string" RequestID: $ref: "#/components/schemas/__string" description: Provides information about an API request or response. MessageRequest: type: object required: - MessageConfiguration properties: Addresses: $ref: "#/components/schemas/MapOfAddressConfiguration" Context: $ref: "#/components/schemas/MapOf__string" Endpoints: $ref: "#/components/schemas/MapOfEndpointSendConfiguration" MessageConfiguration: $ref: "#/components/schemas/DirectMessageConfiguration" TraceId: $ref: "#/components/schemas/__string" description: Specifies the objects that define configuration and other settings for a message. MapOfEndpointMessageResult: type: object additionalProperties: $ref: "#/components/schemas/EndpointMessageResult" MapOfMessageResult: type: object additionalProperties: $ref: "#/components/schemas/MessageResult" MessageResponse: type: object required: - ApplicationId properties: ApplicationId: $ref: "#/components/schemas/__string" EndpointResult: $ref: "#/components/schemas/MapOfEndpointMessageResult" RequestId: $ref: "#/components/schemas/__string" Result: $ref: "#/components/schemas/MapOfMessageResult" description: Provides information about the results of a request to send a message to an endpoint address. MessageResult: type: object required: - DeliveryStatus - StatusCode properties: DeliveryStatus: $ref: "#/components/schemas/DeliveryStatus" MessageId: $ref: "#/components/schemas/__string" StatusCode: $ref: "#/components/schemas/__integer" StatusMessage: $ref: "#/components/schemas/__string" UpdatedToken: $ref: "#/components/schemas/__string" description: Provides information about the results of sending a message directly to an endpoint address. MetricDimension: type: object required: - ComparisonOperator - Value properties: ComparisonOperator: $ref: "#/components/schemas/__string" Value: $ref: "#/components/schemas/__double" description: Specifies metric-based criteria for including or excluding endpoints from a segment. These criteria derive from custom metrics that you define for endpoints. NumberValidateRequest: type: object properties: IsoCountryCode: $ref: "#/components/schemas/__string" PhoneNumber: $ref: "#/components/schemas/__string" description: Specifies a phone number to validate and retrieve information about. NumberValidateResponse: type: object properties: Carrier: $ref: "#/components/schemas/__string" City: $ref: "#/components/schemas/__string" CleansedPhoneNumberE164: $ref: "#/components/schemas/__string" CleansedPhoneNumberNational: $ref: "#/components/schemas/__string" Country: $ref: "#/components/schemas/__string" CountryCodeIso2: $ref: "#/components/schemas/__string" CountryCodeNumeric: $ref: "#/components/schemas/__string" County: $ref: "#/components/schemas/__string" OriginalCountryCodeIso2: $ref: "#/components/schemas/__string" OriginalPhoneNumber: $ref: "#/components/schemas/__string" PhoneType: $ref: "#/components/schemas/__string" PhoneTypeCode: $ref: "#/components/schemas/__integer" Timezone: $ref: "#/components/schemas/__string" ZipCode: $ref: "#/components/schemas/__string" description: Provides information about a phone number. PhoneNumberValidateRequest: type: object required: - NumberValidateRequest properties: NumberValidateRequest: $ref: "#/components/schemas/NumberValidateRequest" WriteEventStream: type: object required: - RoleArn - DestinationStreamArn properties: DestinationStreamArn: $ref: "#/components/schemas/__string" RoleArn: $ref: "#/components/schemas/__string" description: Specifies the Amazon Resource Name (ARN) of an event stream to publish events to and the AWS Identity and Access Management (IAM) role to use when publishing those events. PutEventStreamRequest: type: object required: - WriteEventStream properties: WriteEventStream: $ref: "#/components/schemas/WriteEventStream" PutEventsRequest: type: object required: - EventsRequest properties: EventsRequest: $ref: "#/components/schemas/EventsRequest" __blob: type: string RecencyType: type: string enum: - ACTIVE - INACTIVE RecencyDimension: type: object required: - Duration - RecencyType properties: Duration: $ref: "#/components/schemas/Duration" RecencyType: $ref: "#/components/schemas/RecencyType" description: Specifies criteria for including or excluding endpoints from a segment based on how recently an endpoint was active. UpdateAttributesRequest: type: object properties: Blacklist: $ref: "#/components/schemas/ListOf__string" description: Specifies one or more attributes to remove from all the endpoints that are associated with an application. RemoveAttributesRequest: type: object required: - UpdateAttributesRequest properties: UpdateAttributesRequest: $ref: "#/components/schemas/UpdateAttributesRequest" ListOfResultRowValue: type: array items: $ref: "#/components/schemas/ResultRowValue" ResultRow: type: object required: - GroupedBys - Values properties: GroupedBys: $ref: "#/components/schemas/ListOfResultRowValue" Values: $ref: "#/components/schemas/ListOfResultRowValue" description: Provides the results of a query that retrieved the data for a standard metric that applies to an application or campaign. ResultRowValue: type: object required: - Type - Value - Key properties: Key: $ref: "#/components/schemas/__string" Type: $ref: "#/components/schemas/__string" Value: $ref: "#/components/schemas/__string" description: "Provides a single value and metadata about that value as part of an array of query results for a standard metric that applies to an application or campaign.
" SMSChannelRequest: type: object properties: Enabled: $ref: "#/components/schemas/__boolean" SenderId: $ref: "#/components/schemas/__string" ShortCode: $ref: "#/components/schemas/__string" description: Specifies the status and settings of the SMS channel for an application. SegmentBehaviors: type: object properties: Recency: $ref: "#/components/schemas/RecencyDimension" description: Specifies dimension settings for including or excluding endpoints from a segment based on how recently an endpoint was active. SegmentDemographics: type: object properties: AppVersion: $ref: "#/components/schemas/SetDimension" Channel: $ref: "#/components/schemas/SetDimension" DeviceType: $ref: "#/components/schemas/SetDimension" Make: $ref: "#/components/schemas/SetDimension" Model: $ref: "#/components/schemas/SetDimension" Platform: $ref: "#/components/schemas/SetDimension" description: Specifies demographic-based dimension settings for including or excluding endpoints from a segment. These settings derive from characteristics of endpoint devices, such as platform, make, and model. SegmentLocation: type: object properties: Country: $ref: "#/components/schemas/SetDimension" GPSPoint: $ref: "#/components/schemas/GPSPointDimension" description: Specifies geographical dimension settings for a segment. ListOfSegmentDimensions: type: array items: $ref: "#/components/schemas/SegmentDimensions" ListOfSegmentReference: type: array items: $ref: "#/components/schemas/SegmentReference" SourceType: type: string enum: - ALL - ANY - NONE Type: type: string enum: - ALL - ANY - NONE SegmentGroup: type: object properties: Dimensions: $ref: "#/components/schemas/ListOfSegmentDimensions" SourceSegments: $ref: "#/components/schemas/ListOfSegmentReference" SourceType: $ref: "#/components/schemas/SourceType" Type: $ref: "#/components/schemas/Type" description: Specifies the base segments and dimensions for a segment, and the relationships between these base segments and dimensions. ListOfSegmentGroup: type: array items: $ref: "#/components/schemas/SegmentGroup" MapOf__integer: type: object additionalProperties: $ref: "#/components/schemas/__integer" SegmentImportResource: type: object required: - Format - S3Url - Size - ExternalId - RoleArn properties: ChannelCounts: $ref: "#/components/schemas/MapOf__integer" ExternalId: $ref: "#/components/schemas/__string" Format: $ref: "#/components/schemas/Format" RoleArn: $ref: "#/components/schemas/__string" S3Url: $ref: "#/components/schemas/__string" Size: $ref: "#/components/schemas/__integer" description: Provides information about the import job that created a segment. An import job is a job that creates a user segment by importing endpoint definitions. SegmentReference: type: object required: - Id properties: Id: $ref: "#/components/schemas/__string" Version: $ref: "#/components/schemas/__integer" description: Specifies the segment identifier and version of a segment. SegmentType: type: string enum: - DIMENSIONAL - IMPORT ListOfSegmentResponse: type: array items: $ref: "#/components/schemas/SegmentResponse" SendMessagesRequest: type: object required: - MessageRequest properties: MessageRequest: $ref: "#/components/schemas/MessageRequest" SendUsersMessageRequest: type: object required: - MessageConfiguration - Users properties: Context: $ref: "#/components/schemas/MapOf__string" MessageConfiguration: $ref: "#/components/schemas/DirectMessageConfiguration" TraceId: $ref: "#/components/schemas/__string" Users: $ref: "#/components/schemas/MapOfEndpointSendConfiguration" description: Specifies the configuration and other settings for a message to send to all the endpoints that are associated with a list of users. MapOfMapOfEndpointMessageResult: type: object additionalProperties: $ref: "#/components/schemas/MapOfEndpointMessageResult" SendUsersMessageResponse: type: object required: - ApplicationId properties: ApplicationId: $ref: "#/components/schemas/__string" RequestId: $ref: "#/components/schemas/__string" Result: $ref: "#/components/schemas/MapOfMapOfEndpointMessageResult" description: Provides information about which users and endpoints a message was sent to. SendUsersMessagesRequest: type: object required: - SendUsersMessageRequest properties: SendUsersMessageRequest: $ref: "#/components/schemas/SendUsersMessageRequest" SimpleEmailPart: type: object properties: Charset: $ref: "#/components/schemas/__string" Data: $ref: "#/components/schemas/__string" description: Specifies the subject or body of an email message, represented as textual email data and the applicable character set. TagResourceRequest: type: object required: - TagsModel properties: TagsModel: $ref: "#/components/schemas/TagsModel" TreatmentResource: type: object required: - Id - SizePercent properties: Id: $ref: "#/components/schemas/__string" MessageConfiguration: $ref: "#/components/schemas/MessageConfiguration" Schedule: $ref: "#/components/schemas/Schedule" SizePercent: $ref: "#/components/schemas/__integer" State: $ref: "#/components/schemas/CampaignState" TreatmentDescription: $ref: "#/components/schemas/__string" TreatmentName: $ref: "#/components/schemas/__string" description: Specifies the settings for a campaign treatment. A treatment is a variation of a campaign that's used for A/B testing of a campaign. UntagResourceRequest: type: object properties: {} UpdateAdmChannelRequest: type: object required: - ADMChannelRequest properties: ADMChannelRequest: $ref: "#/components/schemas/ADMChannelRequest" UpdateApnsChannelRequest: type: object required: - APNSChannelRequest properties: APNSChannelRequest: $ref: "#/components/schemas/APNSChannelRequest" UpdateApnsSandboxChannelRequest: type: object required: - APNSSandboxChannelRequest properties: APNSSandboxChannelRequest: $ref: "#/components/schemas/APNSSandboxChannelRequest" UpdateApnsVoipChannelRequest: type: object required: - APNSVoipChannelRequest properties: APNSVoipChannelRequest: $ref: "#/components/schemas/APNSVoipChannelRequest" UpdateApnsVoipSandboxChannelRequest: type: object required: - APNSVoipSandboxChannelRequest properties: APNSVoipSandboxChannelRequest: $ref: "#/components/schemas/APNSVoipSandboxChannelRequest" WriteApplicationSettingsRequest: type: object properties: CampaignHook: $ref: "#/components/schemas/CampaignHook" CloudWatchMetricsEnabled: $ref: "#/components/schemas/__boolean" Limits: $ref: "#/components/schemas/CampaignLimits" QuietTime: $ref: "#/components/schemas/QuietTime" description: Specifies the default settings for an application. UpdateApplicationSettingsRequest: type: object required: - WriteApplicationSettingsRequest properties: WriteApplicationSettingsRequest: $ref: "#/components/schemas/WriteApplicationSettingsRequest" UpdateBaiduChannelRequest: type: object required: - BaiduChannelRequest properties: BaiduChannelRequest: $ref: "#/components/schemas/BaiduChannelRequest" UpdateCampaignRequest: type: object required: - WriteCampaignRequest properties: WriteCampaignRequest: $ref: "#/components/schemas/WriteCampaignRequest" UpdateEmailChannelRequest: type: object required: - EmailChannelRequest properties: EmailChannelRequest: $ref: "#/components/schemas/EmailChannelRequest" UpdateEndpointRequest: type: object required: - EndpointRequest properties: EndpointRequest: $ref: "#/components/schemas/EndpointRequest" UpdateEndpointsBatchRequest: type: object required: - EndpointBatchRequest properties: EndpointBatchRequest: $ref: "#/components/schemas/EndpointBatchRequest" UpdateGcmChannelRequest: type: object required: - GCMChannelRequest properties: GCMChannelRequest: $ref: "#/components/schemas/GCMChannelRequest" UpdateSegmentRequest: type: object required: - WriteSegmentRequest properties: WriteSegmentRequest: $ref: "#/components/schemas/WriteSegmentRequest" UpdateSmsChannelRequest: type: object required: - SMSChannelRequest properties: SMSChannelRequest: $ref: "#/components/schemas/SMSChannelRequest" VoiceChannelRequest: type: object properties: Enabled: $ref: "#/components/schemas/__boolean" description: Specifies the status and settings of the voice channel for an application. UpdateVoiceChannelRequest: type: object required: - VoiceChannelRequest properties: VoiceChannelRequest: $ref: "#/components/schemas/VoiceChannelRequest" WriteTreatmentResource: type: object required: - SizePercent properties: MessageConfiguration: $ref: "#/components/schemas/MessageConfiguration" Schedule: $ref: "#/components/schemas/Schedule" SizePercent: $ref: "#/components/schemas/__integer" TreatmentDescription: $ref: "#/components/schemas/__string" TreatmentName: $ref: "#/components/schemas/__string" description: Specifies the settings for a campaign treatment. A treatment is a variation of a campaign that's used for A/B testing of a campaign.