Esempio n. 1
0
        internal DisassociateCreatedArtifactResponse DisassociateCreatedArtifact(DisassociateCreatedArtifactRequest request)
        {
            var marshaller   = new DisassociateCreatedArtifactRequestMarshaller();
            var unmarshaller = DisassociateCreatedArtifactResponseUnmarshaller.Instance;

            return(Invoke <DisassociateCreatedArtifactRequest, DisassociateCreatedArtifactResponse>(request, marshaller, unmarshaller));
        }
Esempio n. 2
0
        /// <summary>
        /// Initiates the asynchronous execution of the DisassociateCreatedArtifact operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the DisassociateCreatedArtifact 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/AWSMigrationHub-2017-05-31/DisassociateCreatedArtifact">REST API Reference for DisassociateCreatedArtifact Operation</seealso>
        public Task <DisassociateCreatedArtifactResponse> DisassociateCreatedArtifactAsync(DisassociateCreatedArtifactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = new DisassociateCreatedArtifactRequestMarshaller();
            var unmarshaller = DisassociateCreatedArtifactResponseUnmarshaller.Instance;

            return(InvokeAsync <DisassociateCreatedArtifactRequest, DisassociateCreatedArtifactResponse>(request, marshaller,
                                                                                                         unmarshaller, cancellationToken));
        }
        /// <summary>
        /// Initiates the asynchronous execution of the DisassociateCreatedArtifact operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the DisassociateCreatedArtifact 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/AWSMigrationHub-2017-05-31/DisassociateCreatedArtifact">REST API Reference for DisassociateCreatedArtifact Operation</seealso>
        public virtual Task <DisassociateCreatedArtifactResponse> DisassociateCreatedArtifactAsync(DisassociateCreatedArtifactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = DisassociateCreatedArtifactRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DisassociateCreatedArtifactResponseUnmarshaller.Instance;

            return(InvokeAsync <DisassociateCreatedArtifactResponse>(request, options, cancellationToken));
        }
        internal virtual DisassociateCreatedArtifactResponse DisassociateCreatedArtifact(DisassociateCreatedArtifactRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = DisassociateCreatedArtifactRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DisassociateCreatedArtifactResponseUnmarshaller.Instance;

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