Exemplo n.º 1
0
        internal virtual DeregisterJobDefinitionResponse DeregisterJobDefinition(DeregisterJobDefinitionRequest request)
        {
            var marshaller   = new DeregisterJobDefinitionRequestMarshaller();
            var unmarshaller = DeregisterJobDefinitionResponseUnmarshaller.Instance;

            return(Invoke <DeregisterJobDefinitionRequest, DeregisterJobDefinitionResponse>(request, marshaller, unmarshaller));
        }
Exemplo n.º 2
0
        /// <summary>
        /// Initiates the asynchronous execution of the DeregisterJobDefinition operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the DeregisterJobDefinition 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>
        /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinition">REST API Reference for DeregisterJobDefinition Operation</seealso>
        public Task <DeregisterJobDefinitionResponse> DeregisterJobDefinitionAsync(DeregisterJobDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = new DeregisterJobDefinitionRequestMarshaller();
            var unmarshaller = DeregisterJobDefinitionResponseUnmarshaller.Instance;

            return(InvokeAsync <DeregisterJobDefinitionRequest, DeregisterJobDefinitionResponse>(request, marshaller,
                                                                                                 unmarshaller, cancellationToken));
        }
Exemplo n.º 3
0
        internal virtual DeregisterJobDefinitionResponse DeregisterJobDefinition(DeregisterJobDefinitionRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = DeregisterJobDefinitionRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeregisterJobDefinitionResponseUnmarshaller.Instance;

            return(Invoke <DeregisterJobDefinitionResponse>(request, options));
        }
Exemplo n.º 4
0
        /// <summary>
        /// Initiates the asynchronous execution of the DeregisterJobDefinition operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the DeregisterJobDefinition 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>
        /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinition">REST API Reference for DeregisterJobDefinition Operation</seealso>
        public virtual Task <DeregisterJobDefinitionResponse> DeregisterJobDefinitionAsync(DeregisterJobDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = DeregisterJobDefinitionRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeregisterJobDefinitionResponseUnmarshaller.Instance;

            return(InvokeAsync <DeregisterJobDefinitionResponse>(request, options, cancellationToken));
        }