AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the ListClusterJobs operation. Returns an array of JobListEntry objects of the specified length. Each JobListEntry object is for a job in the specified cluster and contains a job's state, a job's ID, and other information.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Snowball.AmazonSnowballRequest
      Amazon.Snowball.Model.ListClusterJobsRequest

Namespace: Amazon.Snowball.Model
Assembly: AWSSDK.Snowball.dll
Version: 3.x.y.z

Syntax

C#
public class ListClusterJobsRequest : AmazonSnowballRequest
         IAmazonWebServiceRequest

The ListClusterJobsRequest type exposes the following members

Constructors

NameDescription
Public Method ListClusterJobsRequest()

Properties

NameTypeDescription
Public Property ClusterId System.String

Gets and sets the property ClusterId.

The 39-character ID for the cluster that you want to list, for example CID123e4567-e89b-12d3-a456-426655440000.

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The number of JobListEntry objects to return.

Public Property NextToken System.String

Gets and sets the property NextToken.

HTTP requests are stateless. To identify what object comes "next" in the list of JobListEntry objects, you have the option of specifying NextToken as the starting point for your returned list.

Examples

Returns an array of JobListEntry objects of the specified length. Each JobListEntry object is for a job in the specified cluster and contains a job's state, a job's ID, and other information.

To get a list of jobs in a cluster that you've created for AWS Snowball


var client = new AmazonSnowballClient();
var response = client.ListClusterJobs(new ListClusterJobsRequest 
{
    ClusterId = "CID123e4567-e89b-12d3-a456-426655440000"
});

List<JobListEntry> jobListEntries = response.JobListEntries;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5