@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonPinpoint
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonPinpoint
instead.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CreateCampaignResult |
createCampaign(CreateCampaignRequest createCampaignRequest)
Creates or updates a campaign.
|
CreateImportJobResult |
createImportJob(CreateImportJobRequest createImportJobRequest)
Creates or updates an import job.
|
CreateSegmentResult |
createSegment(CreateSegmentRequest createSegmentRequest)
Used to create or update a segment.
|
DeleteApnsChannelResult |
deleteApnsChannel(DeleteApnsChannelRequest deleteApnsChannelRequest)
Deletes the APNs channel for an app.
|
DeleteCampaignResult |
deleteCampaign(DeleteCampaignRequest deleteCampaignRequest)
Deletes a campaign.
|
DeleteEventStreamResult |
deleteEventStream(DeleteEventStreamRequest deleteEventStreamRequest)
Deletes the event stream for an app.
|
DeleteGcmChannelResult |
deleteGcmChannel(DeleteGcmChannelRequest deleteGcmChannelRequest)
Deletes the GCM channel for an app.
|
DeleteSegmentResult |
deleteSegment(DeleteSegmentRequest deleteSegmentRequest)
Deletes a segment.
|
GetApnsChannelResult |
getApnsChannel(GetApnsChannelRequest getApnsChannelRequest)
Returns information about the APNs channel for an app.
|
GetApplicationSettingsResult |
getApplicationSettings(GetApplicationSettingsRequest getApplicationSettingsRequest)
Used to request the settings for an app.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetCampaignResult |
getCampaign(GetCampaignRequest getCampaignRequest)
Returns information about a campaign.
|
GetCampaignActivitiesResult |
getCampaignActivities(GetCampaignActivitiesRequest getCampaignActivitiesRequest)
Returns information about the activity performed by a campaign.
|
GetCampaignsResult |
getCampaigns(GetCampaignsRequest getCampaignsRequest)
Returns information about your campaigns.
|
GetCampaignVersionResult |
getCampaignVersion(GetCampaignVersionRequest getCampaignVersionRequest)
Returns information about a specific version of a campaign.
|
GetCampaignVersionsResult |
getCampaignVersions(GetCampaignVersionsRequest getCampaignVersionsRequest)
Returns information about your campaign versions.
|
GetEndpointResult |
getEndpoint(GetEndpointRequest getEndpointRequest)
Returns information about an endpoint.
|
GetEventStreamResult |
getEventStream(GetEventStreamRequest getEventStreamRequest)
Returns the event stream for an app.
|
GetGcmChannelResult |
getGcmChannel(GetGcmChannelRequest getGcmChannelRequest)
Returns information about the GCM channel for an app.
|
GetImportJobResult |
getImportJob(GetImportJobRequest getImportJobRequest)
Returns information about an import job.
|
GetImportJobsResult |
getImportJobs(GetImportJobsRequest getImportJobsRequest)
Returns information about your import jobs.
|
GetSegmentResult |
getSegment(GetSegmentRequest getSegmentRequest)
Returns information about a segment.
|
GetSegmentImportJobsResult |
getSegmentImportJobs(GetSegmentImportJobsRequest getSegmentImportJobsRequest)
Returns a list of import jobs for a specific segment.
|
GetSegmentsResult |
getSegments(GetSegmentsRequest getSegmentsRequest)
Used to get information about your segments.
|
GetSegmentVersionResult |
getSegmentVersion(GetSegmentVersionRequest getSegmentVersionRequest)
Returns information about a segment version.
|
GetSegmentVersionsResult |
getSegmentVersions(GetSegmentVersionsRequest getSegmentVersionsRequest)
Returns information about your segment versions.
|
PutEventStreamResult |
putEventStream(PutEventStreamRequest putEventStreamRequest)
Use to create or update the event stream for an app.
|
void |
setEndpoint(String endpoint)
Deprecated.
use
AwsClientBuilder#setEndpointConfiguration(AwsClientBuilder.EndpointConfiguration) for
example:
builder.setEndpointConfiguration(new EndpointConfiguration(endpoint, signingRegion)); |
void |
setRegion(Region region)
Deprecated.
use
AwsClientBuilder#setRegion(String) |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
UpdateApnsChannelResult |
updateApnsChannel(UpdateApnsChannelRequest updateApnsChannelRequest)
Use to update the APNs channel for an app.
|
UpdateApplicationSettingsResult |
updateApplicationSettings(UpdateApplicationSettingsRequest updateApplicationSettingsRequest)
Used to update the settings for an app.
|
UpdateCampaignResult |
updateCampaign(UpdateCampaignRequest updateCampaignRequest)
Use to update a campaign.
|
UpdateEndpointResult |
updateEndpoint(UpdateEndpointRequest updateEndpointRequest)
Use to update an endpoint.
|
UpdateEndpointsBatchResult |
updateEndpointsBatch(UpdateEndpointsBatchRequest updateEndpointsBatchRequest)
Use to update a batch of endpoints.
|
UpdateGcmChannelResult |
updateGcmChannel(UpdateGcmChannelRequest updateGcmChannelRequest)
Use to update the GCM channel for an app.
|
UpdateSegmentResult |
updateSegment(UpdateSegmentRequest updateSegmentRequest)
Use to update a segment.
|
static final String ENDPOINT_PREFIX
@Deprecated void setEndpoint(String endpoint)
AwsClientBuilder#setEndpointConfiguration(AwsClientBuilder.EndpointConfiguration)
for
example:
builder.setEndpointConfiguration(new EndpointConfiguration(endpoint, signingRegion));
Callers can pass in just the endpoint (ex: "pinpoint.us-east-1.amazonaws.com") or a full URL, including the
protocol (ex: "https://pinpoint.us-east-1.amazonaws.com"). If the protocol is not specified here, the default
protocol from this client's ClientConfiguration
will be used, which by default is HTTPS.
For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: http://developer.amazonwebservices.com/connect/entry.jspa?externalID=3912
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
endpoint
- The endpoint (ex: "pinpoint.us-east-1.amazonaws.com") or a full URL, including the protocol (ex:
"https://pinpoint.us-east-1.amazonaws.com") of the region specific AWS endpoint this client will
communicate with.@Deprecated void setRegion(Region region)
AwsClientBuilder#setRegion(String)
setEndpoint(String)
, sets the regional endpoint for this client's
service calls. Callers can use this method to control which AWS region they want to work with.
By default, all service endpoints in all regions use the https protocol. To use http instead, specify it in the
ClientConfiguration
supplied at construction.
This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
region
- The region this client will communicate with. See Region.getRegion(com.amazonaws.regions.Regions)
for accessing a given region. Must not be null and must be a region where the service is available.Region.getRegion(com.amazonaws.regions.Regions)
,
Region.createClient(Class, com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration)
,
Region.isServiceSupported(String)
CreateCampaignResult createCampaign(CreateCampaignRequest createCampaignRequest)
createCampaignRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseCreateImportJobResult createImportJob(CreateImportJobRequest createImportJobRequest)
createImportJobRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseCreateSegmentResult createSegment(CreateSegmentRequest createSegmentRequest)
createSegmentRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseDeleteApnsChannelResult deleteApnsChannel(DeleteApnsChannelRequest deleteApnsChannelRequest)
deleteApnsChannelRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseDeleteCampaignResult deleteCampaign(DeleteCampaignRequest deleteCampaignRequest)
deleteCampaignRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseDeleteEventStreamResult deleteEventStream(DeleteEventStreamRequest deleteEventStreamRequest)
deleteEventStreamRequest
- DeleteEventStream RequestBadRequestException
- Simple message object.InternalServerErrorException
- Simple message object.ForbiddenException
- Simple message object.NotFoundException
- Simple message object.MethodNotAllowedException
- Simple message object.TooManyRequestsException
- Simple message object.DeleteGcmChannelResult deleteGcmChannel(DeleteGcmChannelRequest deleteGcmChannelRequest)
deleteGcmChannelRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseDeleteSegmentResult deleteSegment(DeleteSegmentRequest deleteSegmentRequest)
deleteSegmentRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseGetApnsChannelResult getApnsChannel(GetApnsChannelRequest getApnsChannelRequest)
getApnsChannelRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseGetApplicationSettingsResult getApplicationSettings(GetApplicationSettingsRequest getApplicationSettingsRequest)
getApplicationSettingsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseGetCampaignResult getCampaign(GetCampaignRequest getCampaignRequest)
getCampaignRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseGetCampaignActivitiesResult getCampaignActivities(GetCampaignActivitiesRequest getCampaignActivitiesRequest)
getCampaignActivitiesRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseGetCampaignVersionResult getCampaignVersion(GetCampaignVersionRequest getCampaignVersionRequest)
getCampaignVersionRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseGetCampaignVersionsResult getCampaignVersions(GetCampaignVersionsRequest getCampaignVersionsRequest)
getCampaignVersionsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseGetCampaignsResult getCampaigns(GetCampaignsRequest getCampaignsRequest)
getCampaignsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseGetEndpointResult getEndpoint(GetEndpointRequest getEndpointRequest)
getEndpointRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseGetEventStreamResult getEventStream(GetEventStreamRequest getEventStreamRequest)
getEventStreamRequest
- GetEventStream RequestBadRequestException
- Simple message object.InternalServerErrorException
- Simple message object.ForbiddenException
- Simple message object.NotFoundException
- Simple message object.MethodNotAllowedException
- Simple message object.TooManyRequestsException
- Simple message object.GetGcmChannelResult getGcmChannel(GetGcmChannelRequest getGcmChannelRequest)
getGcmChannelRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseGetImportJobResult getImportJob(GetImportJobRequest getImportJobRequest)
getImportJobRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseGetImportJobsResult getImportJobs(GetImportJobsRequest getImportJobsRequest)
getImportJobsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseGetSegmentResult getSegment(GetSegmentRequest getSegmentRequest)
getSegmentRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseGetSegmentImportJobsResult getSegmentImportJobs(GetSegmentImportJobsRequest getSegmentImportJobsRequest)
getSegmentImportJobsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseGetSegmentVersionResult getSegmentVersion(GetSegmentVersionRequest getSegmentVersionRequest)
getSegmentVersionRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseGetSegmentVersionsResult getSegmentVersions(GetSegmentVersionsRequest getSegmentVersionsRequest)
getSegmentVersionsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseGetSegmentsResult getSegments(GetSegmentsRequest getSegmentsRequest)
getSegmentsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsePutEventStreamResult putEventStream(PutEventStreamRequest putEventStreamRequest)
putEventStreamRequest
- PutEventStream RequestBadRequestException
- Simple message object.InternalServerErrorException
- Simple message object.ForbiddenException
- Simple message object.NotFoundException
- Simple message object.MethodNotAllowedException
- Simple message object.TooManyRequestsException
- Simple message object.UpdateApnsChannelResult updateApnsChannel(UpdateApnsChannelRequest updateApnsChannelRequest)
updateApnsChannelRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseUpdateApplicationSettingsResult updateApplicationSettings(UpdateApplicationSettingsRequest updateApplicationSettingsRequest)
updateApplicationSettingsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseUpdateCampaignResult updateCampaign(UpdateCampaignRequest updateCampaignRequest)
updateCampaignRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseUpdateEndpointResult updateEndpoint(UpdateEndpointRequest updateEndpointRequest)
updateEndpointRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseUpdateEndpointsBatchResult updateEndpointsBatch(UpdateEndpointsBatchRequest updateEndpointsBatchRequest)
updateEndpointsBatchRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseUpdateGcmChannelResult updateGcmChannel(UpdateGcmChannelRequest updateGcmChannelRequest)
updateGcmChannelRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responseUpdateSegmentResult updateSegment(UpdateSegmentRequest updateSegmentRequest)
updateSegmentRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsevoid shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.