@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonPinpointSMSVoiceAsyncClient extends AmazonPinpointSMSVoiceClient implements AmazonPinpointSMSVoiceAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Pinpoint SMS and Voice Messaging public facing APIs
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createConfigurationSet, createConfigurationSetEventDestination, deleteConfigurationSet, deleteConfigurationSetEventDestination, getCachedResponseMetadata, getConfigurationSetEventDestinations, listConfigurationSets, sendVoiceMessage, updateConfigurationSetEventDestination
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createConfigurationSet, createConfigurationSetEventDestination, deleteConfigurationSet, deleteConfigurationSetEventDestination, getCachedResponseMetadata, getConfigurationSetEventDestinations, listConfigurationSets, sendVoiceMessage, updateConfigurationSetEventDestination
public static AmazonPinpointSMSVoiceAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateConfigurationSetResult> createConfigurationSetAsync(CreateConfigurationSetRequest request)
AmazonPinpointSMSVoiceAsync
createConfigurationSetAsync
in interface AmazonPinpointSMSVoiceAsync
request
- A request to create a new configuration set.public Future<CreateConfigurationSetResult> createConfigurationSetAsync(CreateConfigurationSetRequest request, AsyncHandler<CreateConfigurationSetRequest,CreateConfigurationSetResult> asyncHandler)
AmazonPinpointSMSVoiceAsync
createConfigurationSetAsync
in interface AmazonPinpointSMSVoiceAsync
request
- A request to create a new configuration set.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<CreateConfigurationSetEventDestinationResult> createConfigurationSetEventDestinationAsync(CreateConfigurationSetEventDestinationRequest request)
AmazonPinpointSMSVoiceAsync
createConfigurationSetEventDestinationAsync
in interface AmazonPinpointSMSVoiceAsync
request
- Create a new event destination in a configuration set.public Future<CreateConfigurationSetEventDestinationResult> createConfigurationSetEventDestinationAsync(CreateConfigurationSetEventDestinationRequest request, AsyncHandler<CreateConfigurationSetEventDestinationRequest,CreateConfigurationSetEventDestinationResult> asyncHandler)
AmazonPinpointSMSVoiceAsync
createConfigurationSetEventDestinationAsync
in interface AmazonPinpointSMSVoiceAsync
request
- Create a new event destination in a configuration set.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<DeleteConfigurationSetResult> deleteConfigurationSetAsync(DeleteConfigurationSetRequest request)
AmazonPinpointSMSVoiceAsync
deleteConfigurationSetAsync
in interface AmazonPinpointSMSVoiceAsync
public Future<DeleteConfigurationSetResult> deleteConfigurationSetAsync(DeleteConfigurationSetRequest request, AsyncHandler<DeleteConfigurationSetRequest,DeleteConfigurationSetResult> asyncHandler)
AmazonPinpointSMSVoiceAsync
deleteConfigurationSetAsync
in interface AmazonPinpointSMSVoiceAsync
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<DeleteConfigurationSetEventDestinationResult> deleteConfigurationSetEventDestinationAsync(DeleteConfigurationSetEventDestinationRequest request)
AmazonPinpointSMSVoiceAsync
deleteConfigurationSetEventDestinationAsync
in interface AmazonPinpointSMSVoiceAsync
public Future<DeleteConfigurationSetEventDestinationResult> deleteConfigurationSetEventDestinationAsync(DeleteConfigurationSetEventDestinationRequest request, AsyncHandler<DeleteConfigurationSetEventDestinationRequest,DeleteConfigurationSetEventDestinationResult> asyncHandler)
AmazonPinpointSMSVoiceAsync
deleteConfigurationSetEventDestinationAsync
in interface AmazonPinpointSMSVoiceAsync
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<GetConfigurationSetEventDestinationsResult> getConfigurationSetEventDestinationsAsync(GetConfigurationSetEventDestinationsRequest request)
AmazonPinpointSMSVoiceAsync
getConfigurationSetEventDestinationsAsync
in interface AmazonPinpointSMSVoiceAsync
public Future<GetConfigurationSetEventDestinationsResult> getConfigurationSetEventDestinationsAsync(GetConfigurationSetEventDestinationsRequest request, AsyncHandler<GetConfigurationSetEventDestinationsRequest,GetConfigurationSetEventDestinationsResult> asyncHandler)
AmazonPinpointSMSVoiceAsync
getConfigurationSetEventDestinationsAsync
in interface AmazonPinpointSMSVoiceAsync
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<ListConfigurationSetsResult> listConfigurationSetsAsync(ListConfigurationSetsRequest request)
AmazonPinpointSMSVoiceAsync
listConfigurationSetsAsync
in interface AmazonPinpointSMSVoiceAsync
public Future<ListConfigurationSetsResult> listConfigurationSetsAsync(ListConfigurationSetsRequest request, AsyncHandler<ListConfigurationSetsRequest,ListConfigurationSetsResult> asyncHandler)
AmazonPinpointSMSVoiceAsync
listConfigurationSetsAsync
in interface AmazonPinpointSMSVoiceAsync
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<SendVoiceMessageResult> sendVoiceMessageAsync(SendVoiceMessageRequest request)
AmazonPinpointSMSVoiceAsync
sendVoiceMessageAsync
in interface AmazonPinpointSMSVoiceAsync
request
- SendVoiceMessageRequestpublic Future<SendVoiceMessageResult> sendVoiceMessageAsync(SendVoiceMessageRequest request, AsyncHandler<SendVoiceMessageRequest,SendVoiceMessageResult> asyncHandler)
AmazonPinpointSMSVoiceAsync
sendVoiceMessageAsync
in interface AmazonPinpointSMSVoiceAsync
request
- SendVoiceMessageRequestasyncHandler
- 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<UpdateConfigurationSetEventDestinationResult> updateConfigurationSetEventDestinationAsync(UpdateConfigurationSetEventDestinationRequest request)
AmazonPinpointSMSVoiceAsync
updateConfigurationSetEventDestinationAsync
in interface AmazonPinpointSMSVoiceAsync
request
- UpdateConfigurationSetEventDestinationRequestpublic Future<UpdateConfigurationSetEventDestinationResult> updateConfigurationSetEventDestinationAsync(UpdateConfigurationSetEventDestinationRequest request, AsyncHandler<UpdateConfigurationSetEventDestinationRequest,UpdateConfigurationSetEventDestinationResult> asyncHandler)
AmazonPinpointSMSVoiceAsync
updateConfigurationSetEventDestinationAsync
in interface AmazonPinpointSMSVoiceAsync
request
- UpdateConfigurationSetEventDestinationRequestasyncHandler
- 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 AmazonPinpointSMSVoice
shutdown
in class AmazonPinpointSMSVoiceClient