Beispiel #1
0
        /// <summary>
        /// Initiates the asynchronous execution of the ListStacks operation.
        /// <seealso cref="Amazon.CloudFormation.IAmazonCloudFormation.ListStacks"/>
        /// </summary>
        ///
        /// <param name="request">Container for the necessary parameters to execute the ListStacks 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>
        public Task <ListStacksResponse> ListStacksAsync(ListStacksRequest request, CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = new ListStacksRequestMarshaller();
            var unmarshaller = ListStacksResponseUnmarshaller.GetInstance();

            return(Invoke <IRequest, ListStacksRequest, ListStacksResponse>(request, marshaller, unmarshaller, signer, cancellationToken));
        }
 public override ListStacksResponse GetResponse(UnmarshallerContext unmarshallerContext)
 {
     return(ListStacksResponseUnmarshaller.Unmarshall(unmarshallerContext));
 }
        /// <summary>
        /// <para> Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary information for stacks that
        /// have been deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter is specified, summary information for all stacks
        /// is returned (including existing stacks and stacks that have been deleted). </para>
        /// </summary>
        ///
        /// <param name="listStacksRequest">Container for the necessary parameters to execute the ListStacks service method on
        ///           AmazonCloudFormation.</param>
        ///
        /// <returns>The response from the ListStacks service method, as returned by AmazonCloudFormation.</returns>
        ///
        public ListStacksResponse ListStacks(ListStacksRequest listStacksRequest)
        {
            IRequest <ListStacksRequest> request  = new ListStacksRequestMarshaller().Marshall(listStacksRequest);
            ListStacksResponse           response = Invoke <ListStacksRequest, ListStacksResponse> (request, this.signer, ListStacksResponseUnmarshaller.GetInstance());

            return(response);
        }