/*
* Copyright 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.
*/
/*
* Do not modify this file. This file is generated from the sms-voice-2018-09-05.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.PinpointSMSVoice.Model;
namespace Amazon.PinpointSMSVoice
{
///
/// Interface for accessing PinpointSMSVoice
///
/// Pinpoint SMS and Voice Messaging public facing APIs
///
public partial interface IAmazonPinpointSMSVoice : IAmazonService, IDisposable
{
#region CreateConfigurationSet
///
/// Create a new configuration set. After you create the configuration set, you can add
/// one or more event destinations to it.
///
/// Container for the necessary parameters to execute the CreateConfigurationSet service method.
///
/// The response from the CreateConfigurationSet service method, as returned by PinpointSMSVoice.
///
/// The resource specified in your request already exists.
///
///
/// The input you provided is invalid.
///
///
/// The API encountered an unexpected error and couldn't complete the request. You might
/// be able to successfully issue the request again in the future.
///
///
/// There are too many instances of the specified resource type.
///
///
/// You've issued too many requests to the resource. Wait a few minutes, and then try
/// again.
///
/// REST API Reference for CreateConfigurationSet Operation
CreateConfigurationSetResponse CreateConfigurationSet(CreateConfigurationSetRequest request);
///
/// Initiates the asynchronous execution of the CreateConfigurationSet operation.
///
///
/// Container for the necessary parameters to execute the CreateConfigurationSet operation on AmazonPinpointSMSVoiceClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateConfigurationSet
/// operation.
/// REST API Reference for CreateConfigurationSet Operation
IAsyncResult BeginCreateConfigurationSet(CreateConfigurationSetRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the CreateConfigurationSet operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateConfigurationSet.
///
/// Returns a CreateConfigurationSetResult from PinpointSMSVoice.
/// REST API Reference for CreateConfigurationSet Operation
CreateConfigurationSetResponse EndCreateConfigurationSet(IAsyncResult asyncResult);
#endregion
#region CreateConfigurationSetEventDestination
///
/// Create a new event destination in a configuration set.
///
/// Container for the necessary parameters to execute the CreateConfigurationSetEventDestination service method.
///
/// The response from the CreateConfigurationSetEventDestination service method, as returned by PinpointSMSVoice.
///
/// The resource specified in your request already exists.
///
///
/// The input you provided is invalid.
///
///
/// The API encountered an unexpected error and couldn't complete the request. You might
/// be able to successfully issue the request again in the future.
///
///
/// There are too many instances of the specified resource type.
///
///
/// The resource you attempted to access doesn't exist.
///
///
/// You've issued too many requests to the resource. Wait a few minutes, and then try
/// again.
///
/// REST API Reference for CreateConfigurationSetEventDestination Operation
CreateConfigurationSetEventDestinationResponse CreateConfigurationSetEventDestination(CreateConfigurationSetEventDestinationRequest request);
///
/// Initiates the asynchronous execution of the CreateConfigurationSetEventDestination operation.
///
///
/// Container for the necessary parameters to execute the CreateConfigurationSetEventDestination operation on AmazonPinpointSMSVoiceClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateConfigurationSetEventDestination
/// operation.
/// REST API Reference for CreateConfigurationSetEventDestination Operation
IAsyncResult BeginCreateConfigurationSetEventDestination(CreateConfigurationSetEventDestinationRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the CreateConfigurationSetEventDestination operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateConfigurationSetEventDestination.
///
/// Returns a CreateConfigurationSetEventDestinationResult from PinpointSMSVoice.
/// REST API Reference for CreateConfigurationSetEventDestination Operation
CreateConfigurationSetEventDestinationResponse EndCreateConfigurationSetEventDestination(IAsyncResult asyncResult);
#endregion
#region DeleteConfigurationSet
///
/// Deletes an existing configuration set.
///
/// Container for the necessary parameters to execute the DeleteConfigurationSet service method.
///
/// The response from the DeleteConfigurationSet service method, as returned by PinpointSMSVoice.
///
/// The input you provided is invalid.
///
///
/// The API encountered an unexpected error and couldn't complete the request. You might
/// be able to successfully issue the request again in the future.
///
///
/// The resource you attempted to access doesn't exist.
///
///
/// You've issued too many requests to the resource. Wait a few minutes, and then try
/// again.
///
/// REST API Reference for DeleteConfigurationSet Operation
DeleteConfigurationSetResponse DeleteConfigurationSet(DeleteConfigurationSetRequest request);
///
/// Initiates the asynchronous execution of the DeleteConfigurationSet operation.
///
///
/// Container for the necessary parameters to execute the DeleteConfigurationSet operation on AmazonPinpointSMSVoiceClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteConfigurationSet
/// operation.
/// REST API Reference for DeleteConfigurationSet Operation
IAsyncResult BeginDeleteConfigurationSet(DeleteConfigurationSetRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DeleteConfigurationSet operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteConfigurationSet.
///
/// Returns a DeleteConfigurationSetResult from PinpointSMSVoice.
/// REST API Reference for DeleteConfigurationSet Operation
DeleteConfigurationSetResponse EndDeleteConfigurationSet(IAsyncResult asyncResult);
#endregion
#region DeleteConfigurationSetEventDestination
///
/// Deletes an event destination in a configuration set.
///
/// Container for the necessary parameters to execute the DeleteConfigurationSetEventDestination service method.
///
/// The response from the DeleteConfigurationSetEventDestination service method, as returned by PinpointSMSVoice.
///
/// The input you provided is invalid.
///
///
/// The API encountered an unexpected error and couldn't complete the request. You might
/// be able to successfully issue the request again in the future.
///
///
/// The resource you attempted to access doesn't exist.
///
///
/// You've issued too many requests to the resource. Wait a few minutes, and then try
/// again.
///
/// REST API Reference for DeleteConfigurationSetEventDestination Operation
DeleteConfigurationSetEventDestinationResponse DeleteConfigurationSetEventDestination(DeleteConfigurationSetEventDestinationRequest request);
///
/// Initiates the asynchronous execution of the DeleteConfigurationSetEventDestination operation.
///
///
/// Container for the necessary parameters to execute the DeleteConfigurationSetEventDestination operation on AmazonPinpointSMSVoiceClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteConfigurationSetEventDestination
/// operation.
/// REST API Reference for DeleteConfigurationSetEventDestination Operation
IAsyncResult BeginDeleteConfigurationSetEventDestination(DeleteConfigurationSetEventDestinationRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DeleteConfigurationSetEventDestination operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteConfigurationSetEventDestination.
///
/// Returns a DeleteConfigurationSetEventDestinationResult from PinpointSMSVoice.
/// REST API Reference for DeleteConfigurationSetEventDestination Operation
DeleteConfigurationSetEventDestinationResponse EndDeleteConfigurationSetEventDestination(IAsyncResult asyncResult);
#endregion
#region GetConfigurationSetEventDestinations
///
/// 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.
///
/// Container for the necessary parameters to execute the GetConfigurationSetEventDestinations service method.
///
/// The response from the GetConfigurationSetEventDestinations service method, as returned by PinpointSMSVoice.
///
/// The input you provided is invalid.
///
///
/// The API encountered an unexpected error and couldn't complete the request. You might
/// be able to successfully issue the request again in the future.
///
///
/// The resource you attempted to access doesn't exist.
///
///
/// You've issued too many requests to the resource. Wait a few minutes, and then try
/// again.
///
/// REST API Reference for GetConfigurationSetEventDestinations Operation
GetConfigurationSetEventDestinationsResponse GetConfigurationSetEventDestinations(GetConfigurationSetEventDestinationsRequest request);
///
/// Initiates the asynchronous execution of the GetConfigurationSetEventDestinations operation.
///
///
/// Container for the necessary parameters to execute the GetConfigurationSetEventDestinations operation on AmazonPinpointSMSVoiceClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConfigurationSetEventDestinations
/// operation.
/// REST API Reference for GetConfigurationSetEventDestinations Operation
IAsyncResult BeginGetConfigurationSetEventDestinations(GetConfigurationSetEventDestinationsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetConfigurationSetEventDestinations operation.
///
///
/// The IAsyncResult returned by the call to BeginGetConfigurationSetEventDestinations.
///
/// Returns a GetConfigurationSetEventDestinationsResult from PinpointSMSVoice.
/// REST API Reference for GetConfigurationSetEventDestinations Operation
GetConfigurationSetEventDestinationsResponse EndGetConfigurationSetEventDestinations(IAsyncResult asyncResult);
#endregion
#region ListConfigurationSets
///
/// List all of the configuration sets associated with your Amazon Pinpoint account in
/// the current region.
///
/// Container for the necessary parameters to execute the ListConfigurationSets service method.
///
/// The response from the ListConfigurationSets service method, as returned by PinpointSMSVoice.
///
/// The input you provided is invalid.
///
///
/// The API encountered an unexpected error and couldn't complete the request. You might
/// be able to successfully issue the request again in the future.
///
///
/// You've issued too many requests to the resource. Wait a few minutes, and then try
/// again.
///
/// REST API Reference for ListConfigurationSets Operation
ListConfigurationSetsResponse ListConfigurationSets(ListConfigurationSetsRequest request);
///
/// Initiates the asynchronous execution of the ListConfigurationSets operation.
///
///
/// Container for the necessary parameters to execute the ListConfigurationSets operation on AmazonPinpointSMSVoiceClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListConfigurationSets
/// operation.
/// REST API Reference for ListConfigurationSets Operation
IAsyncResult BeginListConfigurationSets(ListConfigurationSetsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListConfigurationSets operation.
///
///
/// The IAsyncResult returned by the call to BeginListConfigurationSets.
///
/// Returns a ListConfigurationSetsResult from PinpointSMSVoice.
/// REST API Reference for ListConfigurationSets Operation
ListConfigurationSetsResponse EndListConfigurationSets(IAsyncResult asyncResult);
#endregion
#region SendVoiceMessage
///
/// Create a new voice message and send it to a recipient's phone number.
///
/// Container for the necessary parameters to execute the SendVoiceMessage service method.
///
/// The response from the SendVoiceMessage service method, as returned by PinpointSMSVoice.
///
/// The input you provided is invalid.
///
///
/// The API encountered an unexpected error and couldn't complete the request. You might
/// be able to successfully issue the request again in the future.
///
///
/// You've issued too many requests to the resource. Wait a few minutes, and then try
/// again.
///
/// REST API Reference for SendVoiceMessage Operation
SendVoiceMessageResponse SendVoiceMessage(SendVoiceMessageRequest request);
///
/// Initiates the asynchronous execution of the SendVoiceMessage operation.
///
///
/// Container for the necessary parameters to execute the SendVoiceMessage operation on AmazonPinpointSMSVoiceClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndSendVoiceMessage
/// operation.
/// REST API Reference for SendVoiceMessage Operation
IAsyncResult BeginSendVoiceMessage(SendVoiceMessageRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the SendVoiceMessage operation.
///
///
/// The IAsyncResult returned by the call to BeginSendVoiceMessage.
///
/// Returns a SendVoiceMessageResult from PinpointSMSVoice.
/// REST API Reference for SendVoiceMessage Operation
SendVoiceMessageResponse EndSendVoiceMessage(IAsyncResult asyncResult);
#endregion
#region UpdateConfigurationSetEventDestination
///
/// 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.
///
/// Container for the necessary parameters to execute the UpdateConfigurationSetEventDestination service method.
///
/// The response from the UpdateConfigurationSetEventDestination service method, as returned by PinpointSMSVoice.
///
/// The input you provided is invalid.
///
///
/// The API encountered an unexpected error and couldn't complete the request. You might
/// be able to successfully issue the request again in the future.
///
///
/// The resource you attempted to access doesn't exist.
///
///
/// You've issued too many requests to the resource. Wait a few minutes, and then try
/// again.
///
/// REST API Reference for UpdateConfigurationSetEventDestination Operation
UpdateConfigurationSetEventDestinationResponse UpdateConfigurationSetEventDestination(UpdateConfigurationSetEventDestinationRequest request);
///
/// Initiates the asynchronous execution of the UpdateConfigurationSetEventDestination operation.
///
///
/// Container for the necessary parameters to execute the UpdateConfigurationSetEventDestination operation on AmazonPinpointSMSVoiceClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateConfigurationSetEventDestination
/// operation.
/// REST API Reference for UpdateConfigurationSetEventDestination Operation
IAsyncResult BeginUpdateConfigurationSetEventDestination(UpdateConfigurationSetEventDestinationRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdateConfigurationSetEventDestination operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateConfigurationSetEventDestination.
///
/// Returns a UpdateConfigurationSetEventDestinationResult from PinpointSMSVoice.
/// REST API Reference for UpdateConfigurationSetEventDestination Operation
UpdateConfigurationSetEventDestinationResponse EndUpdateConfigurationSetEventDestination(IAsyncResult asyncResult);
#endregion
}
}