コード例 #1
0
        /// <summary>
        /// <para>Provides the status of all clusters visible to this AWS account. Allows you to filter the list of clusters based on certain criteria;
        /// for example, filtering by cluster creation date and time or by status. This call returns a maximum of 50 clusters per call, but returns a
        /// marker to track the paging of the cluster list across multiple ListClusters calls. </para>
        /// </summary>
        ///
        /// <param name="listClustersRequest">Container for the necessary parameters to execute the ListClusters service method on
        /// AmazonElasticMapReduce.</param>
        ///
        /// <returns>The response from the ListClusters service method, as returned by AmazonElasticMapReduce.</returns>
        ///
        /// <exception cref="T:Amazon.ElasticMapReduce.Model.InternalServerException" />
        /// <exception cref="T:Amazon.ElasticMapReduce.Model.InvalidRequestException" />
        /// <param name="cancellationToken">
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// </param>
        public Task <ListClustersResponse> ListClustersAsync(ListClustersRequest listClustersRequest, CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller   = new ListClustersRequestMarshaller();
            var unmarshaller = ListClustersResponseUnmarshaller.GetInstance();

            return(Invoke <IRequest, ListClustersRequest, ListClustersResponse>(listClustersRequest, marshaller, unmarshaller, signer, cancellationToken));
        }
コード例 #2
0
 public override ListClustersResponse GetResponse(Core.Transform.UnmarshallerContext unmarshallerContext)
 {
     return(ListClustersResponseUnmarshaller.Unmarshall(unmarshallerContext));
 }