All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.pinpointsmsvoice.AmazonPinpointSMSVoiceAsync Maven / Gradle / Ivy

/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.pinpointsmsvoice;

import javax.annotation.Generated;

import com.amazonaws.services.pinpointsmsvoice.model.*;

/**
 * Interface for accessing Pinpoint SMS Voice asynchronously. Each asynchronous method will return a Java Future object
 * representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive
 * notification when an asynchronous operation completes.
 * 

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.pinpointsmsvoice.AbstractAmazonPinpointSMSVoiceAsync} instead. *

*

* Pinpoint SMS and Voice Messaging public facing APIs */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AmazonPinpointSMSVoiceAsync extends AmazonPinpointSMSVoice { /** * Create a new configuration set. After you create the configuration set, you can add one or more event * destinations to it. * * @param createConfigurationSetRequest * A request to create a new configuration set. * @return A Java Future containing the result of the CreateConfigurationSet operation returned by the service. * @sample AmazonPinpointSMSVoiceAsync.CreateConfigurationSet * @see AWS API Documentation */ java.util.concurrent.Future createConfigurationSetAsync(CreateConfigurationSetRequest createConfigurationSetRequest); /** * Create a new configuration set. After you create the configuration set, you can add one or more event * destinations to it. * * @param createConfigurationSetRequest * A request to create a new configuration set. * @param 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. * @return A Java Future containing the result of the CreateConfigurationSet operation returned by the service. * @sample AmazonPinpointSMSVoiceAsyncHandler.CreateConfigurationSet * @see AWS API Documentation */ java.util.concurrent.Future createConfigurationSetAsync(CreateConfigurationSetRequest createConfigurationSetRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Create a new event destination in a configuration set. * * @param createConfigurationSetEventDestinationRequest * Create a new event destination in a configuration set. * @return A Java Future containing the result of the CreateConfigurationSetEventDestination operation returned by * the service. * @sample AmazonPinpointSMSVoiceAsync.CreateConfigurationSetEventDestination * @see AWS API Documentation */ java.util.concurrent.Future createConfigurationSetEventDestinationAsync( CreateConfigurationSetEventDestinationRequest createConfigurationSetEventDestinationRequest); /** * Create a new event destination in a configuration set. * * @param createConfigurationSetEventDestinationRequest * Create a new event destination in a configuration set. * @param 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. * @return A Java Future containing the result of the CreateConfigurationSetEventDestination operation returned by * the service. * @sample AmazonPinpointSMSVoiceAsyncHandler.CreateConfigurationSetEventDestination * @see AWS API Documentation */ java.util.concurrent.Future createConfigurationSetEventDestinationAsync( CreateConfigurationSetEventDestinationRequest createConfigurationSetEventDestinationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Deletes an existing configuration set. * * @param deleteConfigurationSetRequest * @return A Java Future containing the result of the DeleteConfigurationSet operation returned by the service. * @sample AmazonPinpointSMSVoiceAsync.DeleteConfigurationSet * @see AWS API Documentation */ java.util.concurrent.Future deleteConfigurationSetAsync(DeleteConfigurationSetRequest deleteConfigurationSetRequest); /** * Deletes an existing configuration set. * * @param deleteConfigurationSetRequest * @param 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. * @return A Java Future containing the result of the DeleteConfigurationSet operation returned by the service. * @sample AmazonPinpointSMSVoiceAsyncHandler.DeleteConfigurationSet * @see AWS API Documentation */ java.util.concurrent.Future deleteConfigurationSetAsync(DeleteConfigurationSetRequest deleteConfigurationSetRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Deletes an event destination in a configuration set. * * @param deleteConfigurationSetEventDestinationRequest * @return A Java Future containing the result of the DeleteConfigurationSetEventDestination operation returned by * the service. * @sample AmazonPinpointSMSVoiceAsync.DeleteConfigurationSetEventDestination * @see AWS API Documentation */ java.util.concurrent.Future deleteConfigurationSetEventDestinationAsync( DeleteConfigurationSetEventDestinationRequest deleteConfigurationSetEventDestinationRequest); /** * Deletes an event destination in a configuration set. * * @param deleteConfigurationSetEventDestinationRequest * @param 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. * @return A Java Future containing the result of the DeleteConfigurationSetEventDestination operation returned by * the service. * @sample AmazonPinpointSMSVoiceAsyncHandler.DeleteConfigurationSetEventDestination * @see AWS API Documentation */ java.util.concurrent.Future deleteConfigurationSetEventDestinationAsync( DeleteConfigurationSetEventDestinationRequest deleteConfigurationSetEventDestinationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Obtain information about an event destination, including the types of events it reports, the Amazon Resource Name * (ARN) of the destination, and the name of the event destination. * * @param getConfigurationSetEventDestinationsRequest * @return A Java Future containing the result of the GetConfigurationSetEventDestinations operation returned by the * service. * @sample AmazonPinpointSMSVoiceAsync.GetConfigurationSetEventDestinations * @see AWS API Documentation */ java.util.concurrent.Future getConfigurationSetEventDestinationsAsync( GetConfigurationSetEventDestinationsRequest getConfigurationSetEventDestinationsRequest); /** * Obtain information about an event destination, including the types of events it reports, the Amazon Resource Name * (ARN) of the destination, and the name of the event destination. * * @param getConfigurationSetEventDestinationsRequest * @param 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. * @return A Java Future containing the result of the GetConfigurationSetEventDestinations operation returned by the * service. * @sample AmazonPinpointSMSVoiceAsyncHandler.GetConfigurationSetEventDestinations * @see AWS API Documentation */ java.util.concurrent.Future getConfigurationSetEventDestinationsAsync( GetConfigurationSetEventDestinationsRequest getConfigurationSetEventDestinationsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * List all of the configuration sets associated with your Amazon Pinpoint account in the current region. * * @param listConfigurationSetsRequest * @return A Java Future containing the result of the ListConfigurationSets operation returned by the service. * @sample AmazonPinpointSMSVoiceAsync.ListConfigurationSets * @see AWS API Documentation */ java.util.concurrent.Future listConfigurationSetsAsync(ListConfigurationSetsRequest listConfigurationSetsRequest); /** * List all of the configuration sets associated with your Amazon Pinpoint account in the current region. * * @param listConfigurationSetsRequest * @param 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. * @return A Java Future containing the result of the ListConfigurationSets operation returned by the service. * @sample AmazonPinpointSMSVoiceAsyncHandler.ListConfigurationSets * @see AWS API Documentation */ java.util.concurrent.Future listConfigurationSetsAsync(ListConfigurationSetsRequest listConfigurationSetsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Create a new voice message and send it to a recipient's phone number. * * @param sendVoiceMessageRequest * SendVoiceMessageRequest * @return A Java Future containing the result of the SendVoiceMessage operation returned by the service. * @sample AmazonPinpointSMSVoiceAsync.SendVoiceMessage * @see AWS API Documentation */ java.util.concurrent.Future sendVoiceMessageAsync(SendVoiceMessageRequest sendVoiceMessageRequest); /** * Create a new voice message and send it to a recipient's phone number. * * @param sendVoiceMessageRequest * SendVoiceMessageRequest * @param 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. * @return A Java Future containing the result of the SendVoiceMessage operation returned by the service. * @sample AmazonPinpointSMSVoiceAsyncHandler.SendVoiceMessage * @see AWS API Documentation */ java.util.concurrent.Future sendVoiceMessageAsync(SendVoiceMessageRequest sendVoiceMessageRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** * Update an event destination in a configuration set. An event destination is a location that you publish * information about your voice calls to. For example, you can log an event to an Amazon CloudWatch destination when * a call fails. * * @param updateConfigurationSetEventDestinationRequest * UpdateConfigurationSetEventDestinationRequest * @return A Java Future containing the result of the UpdateConfigurationSetEventDestination operation returned by * the service. * @sample AmazonPinpointSMSVoiceAsync.UpdateConfigurationSetEventDestination * @see AWS API Documentation */ java.util.concurrent.Future updateConfigurationSetEventDestinationAsync( UpdateConfigurationSetEventDestinationRequest updateConfigurationSetEventDestinationRequest); /** * Update an event destination in a configuration set. An event destination is a location that you publish * information about your voice calls to. For example, you can log an event to an Amazon CloudWatch destination when * a call fails. * * @param updateConfigurationSetEventDestinationRequest * UpdateConfigurationSetEventDestinationRequest * @param 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. * @return A Java Future containing the result of the UpdateConfigurationSetEventDestination operation returned by * the service. * @sample AmazonPinpointSMSVoiceAsyncHandler.UpdateConfigurationSetEventDestination * @see AWS API Documentation */ java.util.concurrent.Future updateConfigurationSetEventDestinationAsync( UpdateConfigurationSetEventDestinationRequest updateConfigurationSetEventDestinationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy