Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeJobFlowsCommand

deprecated

This API is no longer supported and will eventually be removed. We recommend you use ListClusters, DescribeCluster, ListSteps, ListInstanceGroups and ListBootstrapActions instead.

DescribeJobFlows returns a list of job flows that match all of the supplied parameters. The parameters can include a list of job flow IDs, job flow states, and restrictions on job flow creation date and time.

Regardless of supplied parameters, only job flows created within the last two months are returned.

If no parameters are supplied, then job flows matching either of the following criteria are returned:

  • Job flows created and completed in the last two weeks

  • Job flows created within the last two months that are in one of the following states: RUNNING, WAITING, SHUTTING_DOWN, STARTING

Amazon EMR can return a maximum of 512 job flow descriptions.

example

Use a bare-bones client and the command you need to make an API call.

import { EMRClient, DescribeJobFlowsCommand } from "@aws-sdk/client-emr"; // ES Modules import
// const { EMRClient, DescribeJobFlowsCommand } = require("@aws-sdk/client-emr"); // CommonJS import
const client = new EMRClient(config);
const command = new DescribeJobFlowsCommand(input);
const response = await client.send(command);
see

DescribeJobFlowsCommandInput for command's input shape.

see

DescribeJobFlowsCommandOutput for command's response shape.

see

config for EMRClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: DescribeJobFlowsCommandInput

Readonly middlewareStack