/// <summary> /// Initiates the asynchronous execution of the GetConfigurationSetEventDestinations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetConfigurationSetEventDestinations operation on AmazonPinpointSMSVoiceClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConfigurationSetEventDestinations /// operation.</returns> public virtual IAsyncResult BeginGetConfigurationSetEventDestinations(GetConfigurationSetEventDestinationsRequest request, AsyncCallback callback, object state) { var marshaller = GetConfigurationSetEventDestinationsRequestMarshaller.Instance; var unmarshaller = GetConfigurationSetEventDestinationsResponseUnmarshaller.Instance; return(BeginInvoke <GetConfigurationSetEventDestinationsRequest>(request, marshaller, unmarshaller, callback, state)); }
/// <summary> /// Initiates the asynchronous execution of the GetConfigurationSetEventDestinations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetConfigurationSetEventDestinations operation on AmazonPinpointSMSVoiceClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConfigurationSetEventDestinations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/GetConfigurationSetEventDestinations">REST API Reference for GetConfigurationSetEventDestinations Operation</seealso> public virtual IAsyncResult BeginGetConfigurationSetEventDestinations(GetConfigurationSetEventDestinationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetConfigurationSetEventDestinationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConfigurationSetEventDestinationsResponseUnmarshaller.Instance; return(BeginInvoke(request, options, callback, state)); }
/// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfigurationSetEventDestinations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetConfigurationSetEventDestinations service method, as returned by PinpointSMSVoice.</returns> /// <exception cref="Amazon.PinpointSMSVoice.Model.BadRequestException"> /// The input you provided is invalid. /// </exception> /// <exception cref="Amazon.PinpointSMSVoice.Model.InternalServiceErrorException"> /// 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. /// </exception> /// <exception cref="Amazon.PinpointSMSVoice.Model.NotFoundException"> /// The resource you attempted to access doesn't exist. /// </exception> /// <exception cref="Amazon.PinpointSMSVoice.Model.TooManyRequestsException"> /// You've issued too many requests to the resource. Wait a few minutes, and then try /// again. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/GetConfigurationSetEventDestinations">REST API Reference for GetConfigurationSetEventDestinations Operation</seealso> public virtual Task <GetConfigurationSetEventDestinationsResponse> GetConfigurationSetEventDestinationsAsync(GetConfigurationSetEventDestinationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetConfigurationSetEventDestinationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConfigurationSetEventDestinationsResponseUnmarshaller.Instance; return(InvokeAsync <GetConfigurationSetEventDestinationsResponse>(request, options, cancellationToken)); }
internal virtual GetConfigurationSetEventDestinationsResponse GetConfigurationSetEventDestinations(GetConfigurationSetEventDestinationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConfigurationSetEventDestinationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConfigurationSetEventDestinationsResponseUnmarshaller.Instance; return(Invoke <GetConfigurationSetEventDestinationsResponse>(request, options)); }
/// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfigurationSetEventDestinations service method.</param> /// /// <returns>The response from the GetConfigurationSetEventDestinations service method, as returned by PinpointSMSVoice.</returns> /// <exception cref="Amazon.PinpointSMSVoice.Model.BadRequestException"> /// The input you provided is invalid. /// </exception> /// <exception cref="Amazon.PinpointSMSVoice.Model.InternalServiceErrorException"> /// 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. /// </exception> /// <exception cref="Amazon.PinpointSMSVoice.Model.NotFoundException"> /// The resource you attempted to access doesn't exist. /// </exception> /// <exception cref="Amazon.PinpointSMSVoice.Model.TooManyRequestsException"> /// You've issued too many requests to the resource. Wait a few minutes, and then try /// again. /// </exception> public virtual GetConfigurationSetEventDestinationsResponse GetConfigurationSetEventDestinations(GetConfigurationSetEventDestinationsRequest request) { var marshaller = GetConfigurationSetEventDestinationsRequestMarshaller.Instance; var unmarshaller = GetConfigurationSetEventDestinationsResponseUnmarshaller.Instance; return(Invoke <GetConfigurationSetEventDestinationsRequest, GetConfigurationSetEventDestinationsResponse>(request, marshaller, unmarshaller)); }