public void RegisterRdsDbInstanceMarshallTest() { var request = InstantiateClassGenerator.Execute<RegisterRdsDbInstanceRequest>(); var marshaller = new RegisterRdsDbInstanceRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson<RegisterRdsDbInstanceRequest>(request,jsonRequest); }
/// <summary> /// Initiates the asynchronous execution of the RegisterRdsDbInstance operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the RegisterRdsDbInstance 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<RegisterRdsDbInstanceResponse> RegisterRdsDbInstanceAsync(RegisterRdsDbInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new RegisterRdsDbInstanceRequestMarshaller(); var unmarshaller = RegisterRdsDbInstanceResponseUnmarshaller.Instance; return InvokeAsync<RegisterRdsDbInstanceRequest,RegisterRdsDbInstanceResponse>(request, marshaller, unmarshaller, cancellationToken); }
internal RegisterRdsDbInstanceResponse RegisterRdsDbInstance(RegisterRdsDbInstanceRequest request) { var marshaller = new RegisterRdsDbInstanceRequestMarshaller(); var unmarshaller = RegisterRdsDbInstanceResponseUnmarshaller.Instance; return Invoke<RegisterRdsDbInstanceRequest,RegisterRdsDbInstanceResponse>(request, marshaller, unmarshaller); }
/// <summary> /// Initiates the asynchronous execution of the RegisterRdsDbInstance operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the RegisterRdsDbInstance operation on AmazonOpsWorksClient.</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 EndRegisterRdsDbInstance /// operation.</returns> public IAsyncResult BeginRegisterRdsDbInstance(RegisterRdsDbInstanceRequest request, AsyncCallback callback, object state) { var marshaller = new RegisterRdsDbInstanceRequestMarshaller(); var unmarshaller = RegisterRdsDbInstanceResponseUnmarshaller.Instance; return BeginInvoke<RegisterRdsDbInstanceRequest>(request, marshaller, unmarshaller, callback, state); }
IAsyncResult invokeRegisterRdsDbInstance(RegisterRdsDbInstanceRequest request, AsyncCallback callback, object state, bool synchronized) { var marshaller = new RegisterRdsDbInstanceRequestMarshaller(); var unmarshaller = RegisterRdsDbInstanceResponseUnmarshaller.Instance; return Invoke(request, callback, state, synchronized, marshaller, unmarshaller, signer); }
IAsyncResult invokeRegisterRdsDbInstance(RegisterRdsDbInstanceRequest request, AsyncCallback callback, object state, bool synchronized) { IRequest irequest = new RegisterRdsDbInstanceRequestMarshaller().Marshall(request); var unmarshaller = RegisterRdsDbInstanceResponseUnmarshaller.Instance; AsyncResult result = new AsyncResult(irequest, callback, state, synchronized, signer, unmarshaller); Invoke(result); return result; }