@ThreadSafe public class AmazonPinpointAsyncClient extends AmazonPinpointClient implements AmazonPinpointAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Constructor and Description |
---|
AmazonPinpointAsyncClient()
Constructs a new asynchronous client to invoke service methods on Amazon Pinpoint.
|
AmazonPinpointAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on Amazon Pinpoint using the specified AWS account
credentials.
|
AmazonPinpointAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Amazon Pinpoint using the specified AWS account
credentials, executor service, and client configuration options.
|
AmazonPinpointAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Amazon Pinpoint using the specified AWS account
credentials and executor service.
|
AmazonPinpointAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on Amazon Pinpoint using the specified AWS account
credentials provider.
|
AmazonPinpointAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Amazon Pinpoint using the provided AWS account
credentials provider and client configuration options.
|
AmazonPinpointAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Amazon Pinpoint using the specified AWS account
credentials provider, executor service, and client configuration options.
|
AmazonPinpointAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Amazon Pinpoint using the specified AWS account
credentials provider and executor service.
|
AmazonPinpointAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Amazon Pinpoint.
|
createCampaign, createImportJob, createSegment, deleteApnsChannel, deleteCampaign, deleteGcmChannel, deleteSegment, getApnsChannel, getApplicationSettings, getCachedResponseMetadata, getCampaign, getCampaignActivities, getCampaigns, getCampaignVersion, getCampaignVersions, getEndpoint, getGcmChannel, getImportJob, getImportJobs, getSegment, getSegmentImportJobs, getSegments, getSegmentVersion, getSegmentVersions, updateApnsChannel, updateApplicationSettings, updateCampaign, updateEndpoint, updateEndpointsBatch, updateGcmChannel, updateSegment
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createCampaign, createImportJob, createSegment, deleteApnsChannel, deleteCampaign, deleteGcmChannel, deleteSegment, getApnsChannel, getApplicationSettings, getCachedResponseMetadata, getCampaign, getCampaignActivities, getCampaigns, getCampaignVersion, getCampaignVersions, getEndpoint, getGcmChannel, getImportJob, getImportJobs, getSegment, getSegmentImportJobs, getSegments, getSegmentVersion, getSegmentVersions, setEndpoint, setRegion, updateApnsChannel, updateApplicationSettings, updateCampaign, updateEndpoint, updateEndpointsBatch, updateGcmChannel, updateSegment
public AmazonPinpointAsyncClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
public AmazonPinpointAsyncClient(ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client connects to Amazon Pinpoint (ex: proxy
settings, retry counts, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AmazonPinpointAsyncClient(AWSCredentials awsCredentials)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)
public AmazonPinpointAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.public AmazonPinpointAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.public AmazonPinpointAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.Executors.newFixedThreadPool(int)
public AmazonPinpointAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AmazonPinpointAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.public AmazonPinpointAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.public ExecutorService getExecutorService()
public Future<CreateCampaignResult> createCampaignAsync(CreateCampaignRequest request)
AmazonPinpointAsync
createCampaignAsync
in interface AmazonPinpointAsync
public Future<CreateCampaignResult> createCampaignAsync(CreateCampaignRequest request, AsyncHandler<CreateCampaignRequest,CreateCampaignResult> asyncHandler)
AmazonPinpointAsync
createCampaignAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateImportJobResult> createImportJobAsync(CreateImportJobRequest request)
AmazonPinpointAsync
createImportJobAsync
in interface AmazonPinpointAsync
public Future<CreateImportJobResult> createImportJobAsync(CreateImportJobRequest request, AsyncHandler<CreateImportJobRequest,CreateImportJobResult> asyncHandler)
AmazonPinpointAsync
createImportJobAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateSegmentResult> createSegmentAsync(CreateSegmentRequest request)
AmazonPinpointAsync
createSegmentAsync
in interface AmazonPinpointAsync
public Future<CreateSegmentResult> createSegmentAsync(CreateSegmentRequest request, AsyncHandler<CreateSegmentRequest,CreateSegmentResult> asyncHandler)
AmazonPinpointAsync
createSegmentAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteApnsChannelResult> deleteApnsChannelAsync(DeleteApnsChannelRequest request)
AmazonPinpointAsync
deleteApnsChannelAsync
in interface AmazonPinpointAsync
public Future<DeleteApnsChannelResult> deleteApnsChannelAsync(DeleteApnsChannelRequest request, AsyncHandler<DeleteApnsChannelRequest,DeleteApnsChannelResult> asyncHandler)
AmazonPinpointAsync
deleteApnsChannelAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteCampaignResult> deleteCampaignAsync(DeleteCampaignRequest request)
AmazonPinpointAsync
deleteCampaignAsync
in interface AmazonPinpointAsync
public Future<DeleteCampaignResult> deleteCampaignAsync(DeleteCampaignRequest request, AsyncHandler<DeleteCampaignRequest,DeleteCampaignResult> asyncHandler)
AmazonPinpointAsync
deleteCampaignAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteGcmChannelResult> deleteGcmChannelAsync(DeleteGcmChannelRequest request)
AmazonPinpointAsync
deleteGcmChannelAsync
in interface AmazonPinpointAsync
public Future<DeleteGcmChannelResult> deleteGcmChannelAsync(DeleteGcmChannelRequest request, AsyncHandler<DeleteGcmChannelRequest,DeleteGcmChannelResult> asyncHandler)
AmazonPinpointAsync
deleteGcmChannelAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteSegmentResult> deleteSegmentAsync(DeleteSegmentRequest request)
AmazonPinpointAsync
deleteSegmentAsync
in interface AmazonPinpointAsync
public Future<DeleteSegmentResult> deleteSegmentAsync(DeleteSegmentRequest request, AsyncHandler<DeleteSegmentRequest,DeleteSegmentResult> asyncHandler)
AmazonPinpointAsync
deleteSegmentAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetApnsChannelResult> getApnsChannelAsync(GetApnsChannelRequest request)
AmazonPinpointAsync
getApnsChannelAsync
in interface AmazonPinpointAsync
public Future<GetApnsChannelResult> getApnsChannelAsync(GetApnsChannelRequest request, AsyncHandler<GetApnsChannelRequest,GetApnsChannelResult> asyncHandler)
AmazonPinpointAsync
getApnsChannelAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetApplicationSettingsResult> getApplicationSettingsAsync(GetApplicationSettingsRequest request)
AmazonPinpointAsync
getApplicationSettingsAsync
in interface AmazonPinpointAsync
public Future<GetApplicationSettingsResult> getApplicationSettingsAsync(GetApplicationSettingsRequest request, AsyncHandler<GetApplicationSettingsRequest,GetApplicationSettingsResult> asyncHandler)
AmazonPinpointAsync
getApplicationSettingsAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetCampaignResult> getCampaignAsync(GetCampaignRequest request)
AmazonPinpointAsync
getCampaignAsync
in interface AmazonPinpointAsync
public Future<GetCampaignResult> getCampaignAsync(GetCampaignRequest request, AsyncHandler<GetCampaignRequest,GetCampaignResult> asyncHandler)
AmazonPinpointAsync
getCampaignAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetCampaignActivitiesResult> getCampaignActivitiesAsync(GetCampaignActivitiesRequest request)
AmazonPinpointAsync
getCampaignActivitiesAsync
in interface AmazonPinpointAsync
public Future<GetCampaignActivitiesResult> getCampaignActivitiesAsync(GetCampaignActivitiesRequest request, AsyncHandler<GetCampaignActivitiesRequest,GetCampaignActivitiesResult> asyncHandler)
AmazonPinpointAsync
getCampaignActivitiesAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetCampaignVersionResult> getCampaignVersionAsync(GetCampaignVersionRequest request)
AmazonPinpointAsync
getCampaignVersionAsync
in interface AmazonPinpointAsync
public Future<GetCampaignVersionResult> getCampaignVersionAsync(GetCampaignVersionRequest request, AsyncHandler<GetCampaignVersionRequest,GetCampaignVersionResult> asyncHandler)
AmazonPinpointAsync
getCampaignVersionAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetCampaignVersionsResult> getCampaignVersionsAsync(GetCampaignVersionsRequest request)
AmazonPinpointAsync
getCampaignVersionsAsync
in interface AmazonPinpointAsync
public Future<GetCampaignVersionsResult> getCampaignVersionsAsync(GetCampaignVersionsRequest request, AsyncHandler<GetCampaignVersionsRequest,GetCampaignVersionsResult> asyncHandler)
AmazonPinpointAsync
getCampaignVersionsAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetCampaignsResult> getCampaignsAsync(GetCampaignsRequest request)
AmazonPinpointAsync
getCampaignsAsync
in interface AmazonPinpointAsync
public Future<GetCampaignsResult> getCampaignsAsync(GetCampaignsRequest request, AsyncHandler<GetCampaignsRequest,GetCampaignsResult> asyncHandler)
AmazonPinpointAsync
getCampaignsAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetEndpointResult> getEndpointAsync(GetEndpointRequest request)
AmazonPinpointAsync
getEndpointAsync
in interface AmazonPinpointAsync
public Future<GetEndpointResult> getEndpointAsync(GetEndpointRequest request, AsyncHandler<GetEndpointRequest,GetEndpointResult> asyncHandler)
AmazonPinpointAsync
getEndpointAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetGcmChannelResult> getGcmChannelAsync(GetGcmChannelRequest request)
AmazonPinpointAsync
getGcmChannelAsync
in interface AmazonPinpointAsync
public Future<GetGcmChannelResult> getGcmChannelAsync(GetGcmChannelRequest request, AsyncHandler<GetGcmChannelRequest,GetGcmChannelResult> asyncHandler)
AmazonPinpointAsync
getGcmChannelAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetImportJobResult> getImportJobAsync(GetImportJobRequest request)
AmazonPinpointAsync
getImportJobAsync
in interface AmazonPinpointAsync
public Future<GetImportJobResult> getImportJobAsync(GetImportJobRequest request, AsyncHandler<GetImportJobRequest,GetImportJobResult> asyncHandler)
AmazonPinpointAsync
getImportJobAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetImportJobsResult> getImportJobsAsync(GetImportJobsRequest request)
AmazonPinpointAsync
getImportJobsAsync
in interface AmazonPinpointAsync
public Future<GetImportJobsResult> getImportJobsAsync(GetImportJobsRequest request, AsyncHandler<GetImportJobsRequest,GetImportJobsResult> asyncHandler)
AmazonPinpointAsync
getImportJobsAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetSegmentResult> getSegmentAsync(GetSegmentRequest request)
AmazonPinpointAsync
getSegmentAsync
in interface AmazonPinpointAsync
public Future<GetSegmentResult> getSegmentAsync(GetSegmentRequest request, AsyncHandler<GetSegmentRequest,GetSegmentResult> asyncHandler)
AmazonPinpointAsync
getSegmentAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetSegmentImportJobsResult> getSegmentImportJobsAsync(GetSegmentImportJobsRequest request)
AmazonPinpointAsync
getSegmentImportJobsAsync
in interface AmazonPinpointAsync
public Future<GetSegmentImportJobsResult> getSegmentImportJobsAsync(GetSegmentImportJobsRequest request, AsyncHandler<GetSegmentImportJobsRequest,GetSegmentImportJobsResult> asyncHandler)
AmazonPinpointAsync
getSegmentImportJobsAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetSegmentVersionResult> getSegmentVersionAsync(GetSegmentVersionRequest request)
AmazonPinpointAsync
getSegmentVersionAsync
in interface AmazonPinpointAsync
public Future<GetSegmentVersionResult> getSegmentVersionAsync(GetSegmentVersionRequest request, AsyncHandler<GetSegmentVersionRequest,GetSegmentVersionResult> asyncHandler)
AmazonPinpointAsync
getSegmentVersionAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetSegmentVersionsResult> getSegmentVersionsAsync(GetSegmentVersionsRequest request)
AmazonPinpointAsync
getSegmentVersionsAsync
in interface AmazonPinpointAsync
public Future<GetSegmentVersionsResult> getSegmentVersionsAsync(GetSegmentVersionsRequest request, AsyncHandler<GetSegmentVersionsRequest,GetSegmentVersionsResult> asyncHandler)
AmazonPinpointAsync
getSegmentVersionsAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetSegmentsResult> getSegmentsAsync(GetSegmentsRequest request)
AmazonPinpointAsync
getSegmentsAsync
in interface AmazonPinpointAsync
public Future<GetSegmentsResult> getSegmentsAsync(GetSegmentsRequest request, AsyncHandler<GetSegmentsRequest,GetSegmentsResult> asyncHandler)
AmazonPinpointAsync
getSegmentsAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateApnsChannelResult> updateApnsChannelAsync(UpdateApnsChannelRequest request)
AmazonPinpointAsync
updateApnsChannelAsync
in interface AmazonPinpointAsync
public Future<UpdateApnsChannelResult> updateApnsChannelAsync(UpdateApnsChannelRequest request, AsyncHandler<UpdateApnsChannelRequest,UpdateApnsChannelResult> asyncHandler)
AmazonPinpointAsync
updateApnsChannelAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateApplicationSettingsResult> updateApplicationSettingsAsync(UpdateApplicationSettingsRequest request)
AmazonPinpointAsync
updateApplicationSettingsAsync
in interface AmazonPinpointAsync
public Future<UpdateApplicationSettingsResult> updateApplicationSettingsAsync(UpdateApplicationSettingsRequest request, AsyncHandler<UpdateApplicationSettingsRequest,UpdateApplicationSettingsResult> asyncHandler)
AmazonPinpointAsync
updateApplicationSettingsAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateCampaignResult> updateCampaignAsync(UpdateCampaignRequest request)
AmazonPinpointAsync
updateCampaignAsync
in interface AmazonPinpointAsync
public Future<UpdateCampaignResult> updateCampaignAsync(UpdateCampaignRequest request, AsyncHandler<UpdateCampaignRequest,UpdateCampaignResult> asyncHandler)
AmazonPinpointAsync
updateCampaignAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateEndpointResult> updateEndpointAsync(UpdateEndpointRequest request)
AmazonPinpointAsync
updateEndpointAsync
in interface AmazonPinpointAsync
public Future<UpdateEndpointResult> updateEndpointAsync(UpdateEndpointRequest request, AsyncHandler<UpdateEndpointRequest,UpdateEndpointResult> asyncHandler)
AmazonPinpointAsync
updateEndpointAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateEndpointsBatchResult> updateEndpointsBatchAsync(UpdateEndpointsBatchRequest request)
AmazonPinpointAsync
updateEndpointsBatchAsync
in interface AmazonPinpointAsync
public Future<UpdateEndpointsBatchResult> updateEndpointsBatchAsync(UpdateEndpointsBatchRequest request, AsyncHandler<UpdateEndpointsBatchRequest,UpdateEndpointsBatchResult> asyncHandler)
AmazonPinpointAsync
updateEndpointsBatchAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateGcmChannelResult> updateGcmChannelAsync(UpdateGcmChannelRequest request)
AmazonPinpointAsync
updateGcmChannelAsync
in interface AmazonPinpointAsync
public Future<UpdateGcmChannelResult> updateGcmChannelAsync(UpdateGcmChannelRequest request, AsyncHandler<UpdateGcmChannelRequest,UpdateGcmChannelResult> asyncHandler)
AmazonPinpointAsync
updateGcmChannelAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateSegmentResult> updateSegmentAsync(UpdateSegmentRequest request)
AmazonPinpointAsync
updateSegmentAsync
in interface AmazonPinpointAsync
public Future<UpdateSegmentResult> updateSegmentAsync(UpdateSegmentRequest request, AsyncHandler<UpdateSegmentRequest,UpdateSegmentResult> asyncHandler)
AmazonPinpointAsync
updateSegmentAsync
in interface AmazonPinpointAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonPinpoint
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.