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 DescribeJobs operation. Describes a list of Batch jobs.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Batch.AmazonBatchRequest
      Amazon.Batch.Model.DescribeJobsRequest

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

Syntax

C#
public class DescribeJobsRequest : AmazonBatchRequest
         IAmazonWebServiceRequest

The DescribeJobsRequest type exposes the following members

Constructors

NameDescription
Public Method DescribeJobsRequest()

Properties

NameTypeDescription
Public Property Jobs System.Collections.Generic.List<System.String>

Gets and sets the property Jobs.

A list of up to 100 job IDs.

Examples

This example describes a job with the specified job ID.

To describe a specific job


var client = new AmazonBatchClient();
var response = client.DescribeJobs(new DescribeJobsRequest 
{
    Jobs = new List<string> {
        "24fa2d7a-64c4-49d2-8b47-f8da4fbde8e9"
    }
});

List<JobDetail> jobs = response.Jobs;

            

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