/// <summary> /// Initiates the asynchronous execution of the RemoveClientIDFromOpenIDConnectProvider operation. /// <seealso cref="Amazon.IdentityManagement.IAmazonIdentityManagementService"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the RemoveClientIDFromOpenIDConnectProvider 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> public Task<RemoveClientIDFromOpenIDConnectProviderResponse> RemoveClientIDFromOpenIDConnectProviderAsync(RemoveClientIDFromOpenIDConnectProviderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new RemoveClientIDFromOpenIDConnectProviderRequestMarshaller(); var unmarshaller = RemoveClientIDFromOpenIDConnectProviderResponseUnmarshaller.Instance; return InvokeAsync<RemoveClientIDFromOpenIDConnectProviderRequest,RemoveClientIDFromOpenIDConnectProviderResponse>(request, marshaller, unmarshaller, cancellationToken); }
internal RemoveClientIDFromOpenIDConnectProviderResponse RemoveClientIDFromOpenIDConnectProvider(RemoveClientIDFromOpenIDConnectProviderRequest request) { var marshaller = new RemoveClientIDFromOpenIDConnectProviderRequestMarshaller(); var unmarshaller = RemoveClientIDFromOpenIDConnectProviderResponseUnmarshaller.Instance; return Invoke<RemoveClientIDFromOpenIDConnectProviderRequest,RemoveClientIDFromOpenIDConnectProviderResponse>(request, marshaller, unmarshaller); }
/// <summary> /// Initiates the asynchronous execution of the RemoveClientIDFromOpenIDConnectProvider operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the RemoveClientIDFromOpenIDConnectProvider operation on AmazonIdentityManagementServiceClient.</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 EndRemoveClientIDFromOpenIDConnectProvider /// operation.</returns> public IAsyncResult BeginRemoveClientIDFromOpenIDConnectProvider(RemoveClientIDFromOpenIDConnectProviderRequest request, AsyncCallback callback, object state) { var marshaller = new RemoveClientIDFromOpenIDConnectProviderRequestMarshaller(); var unmarshaller = RemoveClientIDFromOpenIDConnectProviderResponseUnmarshaller.Instance; return BeginInvoke<RemoveClientIDFromOpenIDConnectProviderRequest>(request, marshaller, unmarshaller, callback, state); }
public void RemoveClientIDFromOpenIDConnectProviderMarshallTest() { var operation = service_model.FindOperation("RemoveClientIDFromOpenIDConnectProvider"); var request = InstantiateClassGenerator.Execute<RemoveClientIDFromOpenIDConnectProviderRequest>(); var marshaller = new RemoveClientIDFromOpenIDConnectProviderRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); }
/// <summary> /// Initiates the asynchronous execution of the RemoveClientIDFromOpenIDConnectProvider operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the RemoveClientIDFromOpenIDConnectProvider operation on AmazonIdentityManagementServiceClient.</param> /// <param name="callback">An Action delegate that is invoked when the operation completes.</param> /// <param name="options">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> public void RemoveClientIDFromOpenIDConnectProviderAsync(RemoveClientIDFromOpenIDConnectProviderRequest request, AmazonServiceCallback<RemoveClientIDFromOpenIDConnectProviderRequest, RemoveClientIDFromOpenIDConnectProviderResponse> callback, AsyncOptions options = null) { options = options == null?new AsyncOptions():options; var marshaller = new RemoveClientIDFromOpenIDConnectProviderRequestMarshaller(); var unmarshaller = RemoveClientIDFromOpenIDConnectProviderResponseUnmarshaller.Instance; Action<AmazonWebServiceRequest, AmazonWebServiceResponse, Exception, AsyncOptions> callbackHelper = null; if(callback !=null ) callbackHelper = (AmazonWebServiceRequest req, AmazonWebServiceResponse res, Exception ex, AsyncOptions ao) => { AmazonServiceResult<RemoveClientIDFromOpenIDConnectProviderRequest,RemoveClientIDFromOpenIDConnectProviderResponse> responseObject = new AmazonServiceResult<RemoveClientIDFromOpenIDConnectProviderRequest,RemoveClientIDFromOpenIDConnectProviderResponse>((RemoveClientIDFromOpenIDConnectProviderRequest)req, (RemoveClientIDFromOpenIDConnectProviderResponse)res, ex , ao.State); callback(responseObject); }; BeginInvoke<RemoveClientIDFromOpenIDConnectProviderRequest>(request, marshaller, unmarshaller, options, callbackHelper); }