internal SetVaultNotificationsResponse SetVaultNotifications(SetVaultNotificationsRequest request) { var marshaller = new SetVaultNotificationsRequestMarshaller(); var unmarshaller = SetVaultNotificationsResponseUnmarshaller.Instance; return(Invoke <SetVaultNotificationsRequest, SetVaultNotificationsResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the SetVaultNotifications operation. /// <seealso cref="Amazon.Glacier.IAmazonGlacier"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the SetVaultNotifications 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 <SetVaultNotificationsResponse> SetVaultNotificationsAsync(SetVaultNotificationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new SetVaultNotificationsRequestMarshaller(); var unmarshaller = SetVaultNotificationsResponseUnmarshaller.Instance; return(InvokeAsync <SetVaultNotificationsRequest, SetVaultNotificationsResponse>(request, marshaller, unmarshaller, cancellationToken)); }
public void SetVaultNotificationsMarshallTest() { var operation = service_model.FindOperation("SetVaultNotifications"); var request = InstantiateClassGenerator.Execute <SetVaultNotificationsRequest>(); var marshaller = new SetVaultNotificationsRequestMarshaller(); var internalRequest = marshaller.Marshall(request); RequestValidator.Validate("SetVaultNotifications", request, internalRequest, service_model); }
/// <summary> /// Initiates the asynchronous execution of the SetVaultNotifications operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the SetVaultNotifications 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<SetVaultNotificationsResponse> SetVaultNotificationsAsync(SetVaultNotificationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new SetVaultNotificationsRequestMarshaller(); var unmarshaller = SetVaultNotificationsResponseUnmarshaller.Instance; return InvokeAsync<SetVaultNotificationsRequest,SetVaultNotificationsResponse>(request, marshaller, unmarshaller, cancellationToken); }
internal SetVaultNotificationsResponse SetVaultNotifications(SetVaultNotificationsRequest request) { var marshaller = new SetVaultNotificationsRequestMarshaller(); var unmarshaller = SetVaultNotificationsResponseUnmarshaller.Instance; return Invoke<SetVaultNotificationsRequest,SetVaultNotificationsResponse>(request, marshaller, unmarshaller); }
public void SetVaultNotificationsMarshallTest() { var operation = service_model.FindOperation("SetVaultNotifications"); var request = InstantiateClassGenerator.Execute<SetVaultNotificationsRequest>(); var marshaller = new SetVaultNotificationsRequestMarshaller(); var internalRequest = marshaller.Marshall(request); RequestValidator.Validate("SetVaultNotifications", request, internalRequest, service_model); }
/// <summary> /// Initiates the asynchronous execution of the SetVaultNotifications operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the SetVaultNotifications operation on AmazonGlacierClient.</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 EndSetVaultNotifications /// operation.</returns> public IAsyncResult BeginSetVaultNotifications(SetVaultNotificationsRequest request, AsyncCallback callback, object state) { var marshaller = new SetVaultNotificationsRequestMarshaller(); var unmarshaller = SetVaultNotificationsResponseUnmarshaller.Instance; return BeginInvoke<SetVaultNotificationsRequest>(request, marshaller, unmarshaller, callback, state); }
/// <summary> /// Initiates the asynchronous execution of the SetVaultNotifications operation. /// <seealso cref="Amazon.Glacier.IAmazonGlacier.SetVaultNotifications"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the SetVaultNotifications 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<SetVaultNotificationsResponse> SetVaultNotificationsAsync(SetVaultNotificationsRequest request, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new SetVaultNotificationsRequestMarshaller(); var unmarshaller = SetVaultNotificationsResponseUnmarshaller.GetInstance(); return Invoke<IRequest, SetVaultNotificationsRequest, SetVaultNotificationsResponse>(request, marshaller, unmarshaller, signer, cancellationToken); }
IAsyncResult invokeSetVaultNotifications(SetVaultNotificationsRequest setVaultNotificationsRequest, AsyncCallback callback, object state, bool synchronized) { IRequest irequest = new SetVaultNotificationsRequestMarshaller().Marshall(setVaultNotificationsRequest); var unmarshaller = SetVaultNotificationsResponseUnmarshaller.GetInstance(); AsyncResult result = new AsyncResult(irequest, callback, state, synchronized, signer, unmarshaller); Invoke(result); return result; }
/// <summary> /// Initiates the asynchronous execution of the SetVaultNotifications operation. /// <seealso cref="Amazon.Glacier.IAmazonGlacier.SetVaultNotifications"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the SetVaultNotifications 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 async Task<SetVaultNotificationsResponse> SetVaultNotificationsAsync(SetVaultNotificationsRequest request, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new SetVaultNotificationsRequestMarshaller(); var unmarshaller = SetVaultNotificationsResponseUnmarshaller.GetInstance(); var response = await Invoke<IRequest, SetVaultNotificationsRequest, SetVaultNotificationsResponse>(request, marshaller, unmarshaller, signer, cancellationToken) .ConfigureAwait(continueOnCapturedContext: false); return response; }