Example #1
0
        /// <summary>
        /// Delete the tags on a Amazon S3 batch operations job, if any.
        /// </summary>
        /// <param name="request">Container for the necessary parameters to execute the DeleteJobTagging 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 DeleteJobTagging 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 <DeleteJobTaggingResponse> DeleteJobTaggingAsync(DeleteJobTaggingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = DeleteJobTaggingRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteJobTaggingResponseUnmarshaller.Instance;

            return(InvokeAsync <DeleteJobTaggingResponse>(request, options, cancellationToken));
        }
Example #2
0
        internal virtual DeleteJobTaggingResponse DeleteJobTagging(DeleteJobTaggingRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = DeleteJobTaggingRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteJobTaggingResponseUnmarshaller.Instance;

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