Beispiel #1
0
        internal AssociateFleetResponse AssociateFleet(AssociateFleetRequest request)
        {
            var marshaller   = new AssociateFleetRequestMarshaller();
            var unmarshaller = AssociateFleetResponseUnmarshaller.Instance;

            return(Invoke <AssociateFleetRequest, AssociateFleetResponse>(request, marshaller, unmarshaller));
        }
Beispiel #2
0
        /// <summary>
        /// Initiates the asynchronous execution of the AssociateFleet operation.
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the AssociateFleet 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/appstream-2016-12-01/AssociateFleet">REST API Reference for AssociateFleet Operation</seealso>
        public Task <AssociateFleetResponse> AssociateFleetAsync(AssociateFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = new AssociateFleetRequestMarshaller();
            var unmarshaller = AssociateFleetResponseUnmarshaller.Instance;

            return(InvokeAsync <AssociateFleetRequest, AssociateFleetResponse>(request, marshaller,
                                                                               unmarshaller, cancellationToken));
        }