public interface AmazonPinpoint
| 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.
|
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 your campaign versions.
|
GetCampaignVersionsResult |
getCampaignVersions(GetCampaignVersionsRequest getCampaignVersionsRequest)
Returns information about your campaign versions.
|
GetEndpointResult |
getEndpoint(GetEndpointRequest getEndpointRequest)
Returns information about an endpoint.
|
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.
|
void |
setEndpoint(String endpoint)
Overrides the default endpoint for this client
("https://pinpoint.us-east-1.amazonaws.com").
|
void |
setRegion(Region region)
An alternative to
setEndpoint(String), sets the
regional endpoint for this client's service calls. |
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 your endpoints.
|
UpdateGcmChannelResult |
updateGcmChannel(UpdateGcmChannelRequest updateGcmChannelRequest)
Use to update the GCM channel for an app.
|
UpdateSegmentResult |
updateSegment(UpdateSegmentRequest updateSegmentRequest)
Use to update a segment.
|
void setEndpoint(String endpoint) throws IllegalArgumentException
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.IllegalArgumentException - If any problems are detected with the
specified endpoint.void setRegion(Region region) throws IllegalArgumentException
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.IllegalArgumentException - If the given region is null,
or if this service isn't available in the given region. See
Region.isServiceSupported(String)Region.getRegion(com.amazonaws.regions.Regions),
Region.createClient(Class,
com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration)CreateCampaignResult createCampaign(CreateCampaignRequest createCampaignRequest) throws AmazonClientException, AmazonServiceException
createCampaignRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.CreateImportJobResult createImportJob(CreateImportJobRequest createImportJobRequest) throws AmazonClientException, AmazonServiceException
createImportJobRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.CreateSegmentResult createSegment(CreateSegmentRequest createSegmentRequest) throws AmazonClientException, AmazonServiceException
createSegmentRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.DeleteApnsChannelResult deleteApnsChannel(DeleteApnsChannelRequest deleteApnsChannelRequest) throws AmazonClientException, AmazonServiceException
deleteApnsChannelRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.DeleteCampaignResult deleteCampaign(DeleteCampaignRequest deleteCampaignRequest) throws AmazonClientException, AmazonServiceException
deleteCampaignRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.DeleteGcmChannelResult deleteGcmChannel(DeleteGcmChannelRequest deleteGcmChannelRequest) throws AmazonClientException, AmazonServiceException
deleteGcmChannelRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.DeleteSegmentResult deleteSegment(DeleteSegmentRequest deleteSegmentRequest) throws AmazonClientException, AmazonServiceException
deleteSegmentRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.GetApnsChannelResult getApnsChannel(GetApnsChannelRequest getApnsChannelRequest) throws AmazonClientException, AmazonServiceException
getApnsChannelRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.GetApplicationSettingsResult getApplicationSettings(GetApplicationSettingsRequest getApplicationSettingsRequest) throws AmazonClientException, AmazonServiceException
getApplicationSettingsRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.GetCampaignResult getCampaign(GetCampaignRequest getCampaignRequest) throws AmazonClientException, AmazonServiceException
getCampaignRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.GetCampaignActivitiesResult getCampaignActivities(GetCampaignActivitiesRequest getCampaignActivitiesRequest) throws AmazonClientException, AmazonServiceException
getCampaignActivitiesRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.GetCampaignVersionResult getCampaignVersion(GetCampaignVersionRequest getCampaignVersionRequest) throws AmazonClientException, AmazonServiceException
getCampaignVersionRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.GetCampaignVersionsResult getCampaignVersions(GetCampaignVersionsRequest getCampaignVersionsRequest) throws AmazonClientException, AmazonServiceException
getCampaignVersionsRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.GetCampaignsResult getCampaigns(GetCampaignsRequest getCampaignsRequest) throws AmazonClientException, AmazonServiceException
getCampaignsRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.GetEndpointResult getEndpoint(GetEndpointRequest getEndpointRequest) throws AmazonClientException, AmazonServiceException
getEndpointRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.GetGcmChannelResult getGcmChannel(GetGcmChannelRequest getGcmChannelRequest) throws AmazonClientException, AmazonServiceException
getGcmChannelRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.GetImportJobResult getImportJob(GetImportJobRequest getImportJobRequest) throws AmazonClientException, AmazonServiceException
getImportJobRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.GetImportJobsResult getImportJobs(GetImportJobsRequest getImportJobsRequest) throws AmazonClientException, AmazonServiceException
getImportJobsRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.GetSegmentResult getSegment(GetSegmentRequest getSegmentRequest) throws AmazonClientException, AmazonServiceException
getSegmentRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.GetSegmentImportJobsResult getSegmentImportJobs(GetSegmentImportJobsRequest getSegmentImportJobsRequest) throws AmazonClientException, AmazonServiceException
getSegmentImportJobsRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.GetSegmentVersionResult getSegmentVersion(GetSegmentVersionRequest getSegmentVersionRequest) throws AmazonClientException, AmazonServiceException
getSegmentVersionRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.GetSegmentVersionsResult getSegmentVersions(GetSegmentVersionsRequest getSegmentVersionsRequest) throws AmazonClientException, AmazonServiceException
getSegmentVersionsRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.GetSegmentsResult getSegments(GetSegmentsRequest getSegmentsRequest) throws AmazonClientException, AmazonServiceException
getSegmentsRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.UpdateApnsChannelResult updateApnsChannel(UpdateApnsChannelRequest updateApnsChannelRequest) throws AmazonClientException, AmazonServiceException
updateApnsChannelRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.UpdateApplicationSettingsResult updateApplicationSettings(UpdateApplicationSettingsRequest updateApplicationSettingsRequest) throws AmazonClientException, AmazonServiceException
updateApplicationSettingsRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.UpdateCampaignResult updateCampaign(UpdateCampaignRequest updateCampaignRequest) throws AmazonClientException, AmazonServiceException
updateCampaignRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.UpdateEndpointResult updateEndpoint(UpdateEndpointRequest updateEndpointRequest) throws AmazonClientException, AmazonServiceException
updateEndpointRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.UpdateEndpointsBatchResult updateEndpointsBatch(UpdateEndpointsBatchRequest updateEndpointsBatchRequest) throws AmazonClientException, AmazonServiceException
updateEndpointsBatchRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.UpdateGcmChannelResult updateGcmChannel(UpdateGcmChannelRequest updateGcmChannelRequest) throws AmazonClientException, AmazonServiceException
updateGcmChannelRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.UpdateSegmentResult updateSegment(UpdateSegmentRequest updateSegmentRequest) throws AmazonClientException, AmazonServiceException
updateSegmentRequest - BadRequestException - 400 responseInternalServerErrorException - 500 responseForbiddenException - 403 responseNotFoundException - 404 responseMethodNotAllowedException - 405 responseTooManyRequestsException - 429 responseAmazonClientException - If any internal errors are encountered
inside the client while attempting to make the request or
handle the response. For example if a network connection is
not available.AmazonServiceException - If an error response is returned by
AmazonPinpoint indicating either a problem with the data in
the request, or a server side issue.void 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 © 2017. All rights reserved.