コード例 #1
0
        /// <summary>
        /// Retrieve the tags on a Amazon S3 batch operations job.
        /// </summary>
        /// <param name="request">Container for the necessary parameters to execute the GetJobTagging service method.</param>
        /// <param name="cancellationToken">
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// </param>
        ///
        /// <returns>The response from the GetJobTagging service method, as returned by S3Control.</returns>
        /// <exception cref="Amazon.S3Control.Model.InternalServiceException">
        ///
        /// </exception>
        /// <exception cref="Amazon.S3Control.Model.NotFoundException">
        ///
        /// </exception>
        /// <exception cref="Amazon.S3Control.Model.TooManyRequestsException">
        ///
        /// </exception>
        public virtual Task <GetJobTaggingResponse> GetJobTaggingAsync(GetJobTaggingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = GetJobTaggingRequestMarshaller.Instance;
            options.ResponseUnmarshaller = GetJobTaggingResponseUnmarshaller.Instance;

            return(InvokeAsync <GetJobTaggingResponse>(request, options, cancellationToken));
        }
コード例 #2
0
        internal virtual GetJobTaggingResponse GetJobTagging(GetJobTaggingRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = GetJobTaggingRequestMarshaller.Instance;
            options.ResponseUnmarshaller = GetJobTaggingResponseUnmarshaller.Instance;

            return(Invoke <GetJobTaggingResponse>(request, options));
        }