internal GetVaultNotificationsResponse GetVaultNotifications(GetVaultNotificationsRequest request) { var marshaller = new GetVaultNotificationsRequestMarshaller(); var unmarshaller = GetVaultNotificationsResponseUnmarshaller.Instance; return(Invoke <GetVaultNotificationsRequest, GetVaultNotificationsResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the GetVaultNotifications operation. /// <seealso cref="Amazon.Glacier.IAmazonGlacier"/> /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetVaultNotifications 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 <GetVaultNotificationsResponse> GetVaultNotificationsAsync(GetVaultNotificationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new GetVaultNotificationsRequestMarshaller(); var unmarshaller = GetVaultNotificationsResponseUnmarshaller.Instance; return(InvokeAsync <GetVaultNotificationsRequest, GetVaultNotificationsResponse>(request, marshaller, unmarshaller, cancellationToken)); }