/* * 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.Threading; using System.Threading.Tasks; 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateConfigurationSetAsync(CreateConfigurationSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateConfigurationSetEventDestination /// /// Create a new event destination in a configuration set. /// /// Container for the necessary parameters to execute the CreateConfigurationSetEventDestination service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateConfigurationSetEventDestinationAsync(CreateConfigurationSetEventDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteConfigurationSet /// /// Deletes an existing configuration set. /// /// Container for the necessary parameters to execute the DeleteConfigurationSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteConfigurationSetAsync(DeleteConfigurationSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteConfigurationSetEventDestination /// /// Deletes an event destination in a configuration set. /// /// Container for the necessary parameters to execute the DeleteConfigurationSetEventDestination service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteConfigurationSetEventDestinationAsync(DeleteConfigurationSetEventDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetConfigurationSetEventDestinationsAsync(GetConfigurationSetEventDestinationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListConfigurationSetsAsync(ListConfigurationSetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task SendVoiceMessageAsync(SendVoiceMessageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UpdateConfigurationSetEventDestinationAsync(UpdateConfigurationSetEventDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }