public class AmazonPinpointClient extends AmazonWebServiceClient implements AmazonPinpoint
| Modifier and Type | Field and Description |
|---|---|
protected List<com.amazonaws.transform.JsonErrorUnmarshaller> |
jsonErrorUnmarshallers
List of exception unmarshallers for all AmazonPinpoint exceptions.
|
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset| Constructor and Description |
|---|
AmazonPinpointClient()
Deprecated.
|
AmazonPinpointClient(AWSCredentials awsCredentials)
Constructs a new client to invoke service methods on AmazonPinpoint using
the specified AWS account credentials.
|
AmazonPinpointClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AmazonPinpoint using
the specified AWS account credentials and client configuration options.
|
AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new client to invoke service methods on AmazonPinpoint using
the specified AWS account credentials provider.
|
AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AmazonPinpoint using
the specified AWS account credentials provider and client configuration
options.
|
AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
HttpClient httpClient)
Constructs a new client to invoke service methods on AmazonPinpoint using
the specified AWS account credentials provider, client configuration
options and request metric collector.
|
AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
Deprecated.
|
AmazonPinpointClient(ClientConfiguration clientConfiguration)
Deprecated.
|
| 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)
Deprecated.
ResponseMetadata cache can hold up to 50 requests and
responses in memory and will cause memory issue. This method
now always returns null.
|
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.
|
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.
|
addRequestHandler, addRequestHandler, configSigner, configSigner, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setConfiguration, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetEndpoint, setRegion, shutdownprotected List<com.amazonaws.transform.JsonErrorUnmarshaller> jsonErrorUnmarshallers
@Deprecated public AmazonPinpointClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain@Deprecated public AmazonPinpointClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling
how this client connects to AmazonPinpoint (ex: proxy
settings, retry counts, etc.).DefaultAWSCredentialsProviderChainpublic AmazonPinpointClient(AWSCredentials awsCredentials)
If AWS session credentials are passed in, then those credentials will be used to authenticate requests. Otherwise, if AWS long-term credentials are passed in, then session management will be handled automatically by the SDK. Callers are encouraged to use long-term credentials and let the SDK handle starting and renewing sessions.
Automatically managed sessions will be shared among all clients that use
the same credentials and service endpoint. To opt out of this behavior,
explicitly provide an instance of AWSCredentialsProvider that
returns AWSSessionCredentials.
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key)
to use when authenticating with AWS services.public AmazonPinpointClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
If AWS session credentials are passed in, then those credentials will be used to authenticate requests. Otherwise, if AWS long-term credentials are passed in, then session management will be handled automatically by the SDK. Callers are encouraged to use long-term credentials and let the SDK handle starting and renewing sessions.
Automatically managed sessions will be shared among all clients that use
the same credentials and service endpoint. To opt out of this behavior,
explicitly provide an instance of AWSCredentialsProvider that
returns AWSSessionCredentials.
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key)
to use when authenticating with AWS services.clientConfiguration - The client configuration options controlling
how this client connects to AmazonPinpoint (ex: proxy
settings, retry counts, etc.).public AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider)
If AWS session credentials are passed in, then those credentials will be used to authenticate requests. Otherwise, if AWS long-term credentials are passed in, then session management will be handled automatically by the SDK. Callers are encouraged to use long-term credentials and let the SDK handle starting and renewing sessions.
Automatically managed sessions will be shared among all clients that use
the same credentials and service endpoint. To opt out of this behavior,
explicitly provide an instance of AWSCredentialsProvider that
returns AWSSessionCredentials.
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will
provide credentials to authenticate requests with AWS
services.public AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
If AWS session credentials are passed in, then those credentials will be used to authenticate requests. Otherwise, if AWS long-term credentials are passed in, then session management will be handled automatically by the SDK. Callers are encouraged to use long-term credentials and let the SDK handle starting and renewing sessions.
Automatically managed sessions will be shared among all clients that use
the same credentials and service endpoint. To opt out of this behavior,
explicitly provide an instance of AWSCredentialsProvider that
returns AWSSessionCredentials.
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will
provide credentials to authenticate requests with AWS
services.clientConfiguration - The client configuration options controlling
how this client connects to AmazonPinpoint (ex: proxy
settings, retry counts, etc.).@Deprecated public AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector requestMetricCollector)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will
provide credentials to authenticate requests with AWS
services.clientConfiguration - The client configuration options controlling
how this client connects to AmazonPinpoint (ex: proxy
settings, retry counts, etc.).requestMetricCollector - optional request metric collectorpublic AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, HttpClient httpClient)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will
provide credentials to authenticate requests with AWS
services.clientConfiguration - The client configuration options controlling
how this client connects to AmazonPinpoint (ex: proxy
settings, retry counts, etc.).httpClient - A http clientpublic CreateCampaignResult createCampaign(CreateCampaignRequest createCampaignRequest) throws AmazonServiceException, AmazonClientException
createCampaign in interface AmazonPinpointcreateCampaignRequest - 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.public CreateImportJobResult createImportJob(CreateImportJobRequest createImportJobRequest) throws AmazonServiceException, AmazonClientException
createImportJob in interface AmazonPinpointcreateImportJobRequest - 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.public CreateSegmentResult createSegment(CreateSegmentRequest createSegmentRequest) throws AmazonServiceException, AmazonClientException
createSegment in interface AmazonPinpointcreateSegmentRequest - 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.public DeleteApnsChannelResult deleteApnsChannel(DeleteApnsChannelRequest deleteApnsChannelRequest) throws AmazonServiceException, AmazonClientException
deleteApnsChannel in interface AmazonPinpointdeleteApnsChannelRequest - 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.public DeleteCampaignResult deleteCampaign(DeleteCampaignRequest deleteCampaignRequest) throws AmazonServiceException, AmazonClientException
deleteCampaign in interface AmazonPinpointdeleteCampaignRequest - 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.public DeleteGcmChannelResult deleteGcmChannel(DeleteGcmChannelRequest deleteGcmChannelRequest) throws AmazonServiceException, AmazonClientException
deleteGcmChannel in interface AmazonPinpointdeleteGcmChannelRequest - 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.public DeleteSegmentResult deleteSegment(DeleteSegmentRequest deleteSegmentRequest) throws AmazonServiceException, AmazonClientException
deleteSegment in interface AmazonPinpointdeleteSegmentRequest - 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.public GetApnsChannelResult getApnsChannel(GetApnsChannelRequest getApnsChannelRequest) throws AmazonServiceException, AmazonClientException
getApnsChannel in interface AmazonPinpointgetApnsChannelRequest - 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.public GetApplicationSettingsResult getApplicationSettings(GetApplicationSettingsRequest getApplicationSettingsRequest) throws AmazonServiceException, AmazonClientException
getApplicationSettings in interface AmazonPinpointgetApplicationSettingsRequest - 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.public GetCampaignResult getCampaign(GetCampaignRequest getCampaignRequest) throws AmazonServiceException, AmazonClientException
getCampaign in interface AmazonPinpointgetCampaignRequest - 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.public GetCampaignActivitiesResult getCampaignActivities(GetCampaignActivitiesRequest getCampaignActivitiesRequest) throws AmazonServiceException, AmazonClientException
getCampaignActivities in interface AmazonPinpointgetCampaignActivitiesRequest - 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.public GetCampaignVersionResult getCampaignVersion(GetCampaignVersionRequest getCampaignVersionRequest) throws AmazonServiceException, AmazonClientException
getCampaignVersion in interface AmazonPinpointgetCampaignVersionRequest - 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.public GetCampaignVersionsResult getCampaignVersions(GetCampaignVersionsRequest getCampaignVersionsRequest) throws AmazonServiceException, AmazonClientException
getCampaignVersions in interface AmazonPinpointgetCampaignVersionsRequest - 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.public GetCampaignsResult getCampaigns(GetCampaignsRequest getCampaignsRequest) throws AmazonServiceException, AmazonClientException
getCampaigns in interface AmazonPinpointgetCampaignsRequest - 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.public GetEndpointResult getEndpoint(GetEndpointRequest getEndpointRequest) throws AmazonServiceException, AmazonClientException
getEndpoint in interface AmazonPinpointgetEndpointRequest - 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.public GetGcmChannelResult getGcmChannel(GetGcmChannelRequest getGcmChannelRequest) throws AmazonServiceException, AmazonClientException
getGcmChannel in interface AmazonPinpointgetGcmChannelRequest - 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.public GetImportJobResult getImportJob(GetImportJobRequest getImportJobRequest) throws AmazonServiceException, AmazonClientException
getImportJob in interface AmazonPinpointgetImportJobRequest - 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.public GetImportJobsResult getImportJobs(GetImportJobsRequest getImportJobsRequest) throws AmazonServiceException, AmazonClientException
getImportJobs in interface AmazonPinpointgetImportJobsRequest - 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.public GetSegmentResult getSegment(GetSegmentRequest getSegmentRequest) throws AmazonServiceException, AmazonClientException
getSegment in interface AmazonPinpointgetSegmentRequest - 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.public GetSegmentImportJobsResult getSegmentImportJobs(GetSegmentImportJobsRequest getSegmentImportJobsRequest) throws AmazonServiceException, AmazonClientException
getSegmentImportJobs in interface AmazonPinpointgetSegmentImportJobsRequest - 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.public GetSegmentVersionResult getSegmentVersion(GetSegmentVersionRequest getSegmentVersionRequest) throws AmazonServiceException, AmazonClientException
getSegmentVersion in interface AmazonPinpointgetSegmentVersionRequest - 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.public GetSegmentVersionsResult getSegmentVersions(GetSegmentVersionsRequest getSegmentVersionsRequest) throws AmazonServiceException, AmazonClientException
getSegmentVersions in interface AmazonPinpointgetSegmentVersionsRequest - 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.public GetSegmentsResult getSegments(GetSegmentsRequest getSegmentsRequest) throws AmazonServiceException, AmazonClientException
getSegments in interface AmazonPinpointgetSegmentsRequest - 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.public UpdateApnsChannelResult updateApnsChannel(UpdateApnsChannelRequest updateApnsChannelRequest) throws AmazonServiceException, AmazonClientException
updateApnsChannel in interface AmazonPinpointupdateApnsChannelRequest - 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.public UpdateApplicationSettingsResult updateApplicationSettings(UpdateApplicationSettingsRequest updateApplicationSettingsRequest) throws AmazonServiceException, AmazonClientException
updateApplicationSettings in interface AmazonPinpointupdateApplicationSettingsRequest - 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.public UpdateCampaignResult updateCampaign(UpdateCampaignRequest updateCampaignRequest) throws AmazonServiceException, AmazonClientException
updateCampaign in interface AmazonPinpointupdateCampaignRequest - 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.public UpdateEndpointResult updateEndpoint(UpdateEndpointRequest updateEndpointRequest) throws AmazonServiceException, AmazonClientException
updateEndpoint in interface AmazonPinpointupdateEndpointRequest - 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.public UpdateEndpointsBatchResult updateEndpointsBatch(UpdateEndpointsBatchRequest updateEndpointsBatchRequest) throws AmazonServiceException, AmazonClientException
updateEndpointsBatch in interface AmazonPinpointupdateEndpointsBatchRequest - 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.public UpdateGcmChannelResult updateGcmChannel(UpdateGcmChannelRequest updateGcmChannelRequest) throws AmazonServiceException, AmazonClientException
updateGcmChannel in interface AmazonPinpointupdateGcmChannelRequest - 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.public UpdateSegmentResult updateSegment(UpdateSegmentRequest updateSegmentRequest) throws AmazonServiceException, AmazonClientException
updateSegment in interface AmazonPinpointupdateSegmentRequest - 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.@Deprecated public 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 the request.
getCachedResponseMetadata in interface AmazonPinpointrequest - The originally executed requestCopyright © 2017. All rights reserved.