Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeInstanceEventWindowsCommand

Describes the specified event windows or all event windows.

If you specify event window IDs, the output includes information for only the specified event windows. If you specify filters, the output includes information for only those event windows that meet the filter criteria. If you do not specify event windows IDs or filters, the output includes information for all event windows, which can affect performance. We recommend that you use pagination to ensure that the operation returns quickly and successfully.

For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.

example

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

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

DescribeInstanceEventWindowsCommandInput for command's input shape.

see

DescribeInstanceEventWindowsCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DescribeInstanceEventWindowsCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions