internal GetSnapshotLimitsResponse GetSnapshotLimits(GetSnapshotLimitsRequest request) { var marshaller = new GetSnapshotLimitsRequestMarshaller(); var unmarshaller = GetSnapshotLimitsResponseUnmarshaller.Instance; return(Invoke <GetSnapshotLimitsRequest, GetSnapshotLimitsResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the GetSnapshotLimits operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetSnapshotLimits 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 <GetSnapshotLimitsResponse> GetSnapshotLimitsAsync(GetSnapshotLimitsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new GetSnapshotLimitsRequestMarshaller(); var unmarshaller = GetSnapshotLimitsResponseUnmarshaller.Instance; return(InvokeAsync <GetSnapshotLimitsRequest, GetSnapshotLimitsResponse>(request, marshaller, unmarshaller, cancellationToken)); }