/// <summary> /// Changes the state of an <code>ACTIVE</code> signing profile to <code>CANCELED</code>. /// A canceled profile is still viewable with the <code>ListSigningProfiles</code> operation, /// but it cannot perform new signing jobs, and is deleted two years after cancelation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CancelSigningProfile service method.</param> /// /// <returns>The response from the CancelSigningProfile service method, as returned by Signer.</returns> /// <exception cref="Amazon.Signer.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Signer.Model.InternalServiceErrorException"> /// An internal error occurred. /// </exception> /// <exception cref="Amazon.Signer.Model.ResourceNotFoundException"> /// A specified resource could not be found. /// </exception> /// <exception cref="Amazon.Signer.Model.ThrottlingException"> /// The signing job has been throttled. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/CancelSigningProfile">REST API Reference for CancelSigningProfile Operation</seealso> public virtual CancelSigningProfileResponse CancelSigningProfile(CancelSigningProfileRequest request) { var marshaller = CancelSigningProfileRequestMarshaller.Instance; var unmarshaller = CancelSigningProfileResponseUnmarshaller.Instance; return(Invoke <CancelSigningProfileRequest, CancelSigningProfileResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the CancelSigningProfile operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CancelSigningProfile operation on AmazonSignerClient.</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 EndCancelSigningProfile /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/CancelSigningProfile">REST API Reference for CancelSigningProfile Operation</seealso> public virtual IAsyncResult BeginCancelSigningProfile(CancelSigningProfileRequest request, AsyncCallback callback, object state) { var marshaller = CancelSigningProfileRequestMarshaller.Instance; var unmarshaller = CancelSigningProfileResponseUnmarshaller.Instance; return(BeginInvoke <CancelSigningProfileRequest>(request, marshaller, unmarshaller, callback, state)); }
/// <summary> /// Initiates the asynchronous execution of the CancelSigningProfile operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CancelSigningProfile operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/CancelSigningProfile">REST API Reference for CancelSigningProfile Operation</seealso> public virtual Task <CancelSigningProfileResponse> CancelSigningProfileAsync(CancelSigningProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = CancelSigningProfileRequestMarshaller.Instance; var unmarshaller = CancelSigningProfileResponseUnmarshaller.Instance; return(InvokeAsync <CancelSigningProfileRequest, CancelSigningProfileResponse>(request, marshaller, unmarshaller, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the CancelSigningProfile operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CancelSigningProfile operation.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// <returns>The task object representing the asynchronous operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/CancelSigningProfile">REST API Reference for CancelSigningProfile Operation</seealso> public virtual Task <CancelSigningProfileResponse> CancelSigningProfileAsync(CancelSigningProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelSigningProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelSigningProfileResponseUnmarshaller.Instance; return(InvokeAsync <CancelSigningProfileResponse>(request, options, cancellationToken)); }
internal virtual CancelSigningProfileResponse CancelSigningProfile(CancelSigningProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelSigningProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelSigningProfileResponseUnmarshaller.Instance; return(Invoke <CancelSigningProfileResponse>(request, options)); }
/// <summary> /// Initiates the asynchronous execution of the CancelSigningProfile operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CancelSigningProfile operation on AmazonSignerClient.</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 EndCancelSigningProfile /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/CancelSigningProfile">REST API Reference for CancelSigningProfile Operation</seealso> public virtual IAsyncResult BeginCancelSigningProfile(CancelSigningProfileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CancelSigningProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelSigningProfileResponseUnmarshaller.Instance; return(BeginInvoke(request, options, callback, state)); }