Skip to content

/AWS1/CL_EC2=>DESCRIBESCHEDULEDINSTANCES()

About DescribeScheduledInstances

Describes the specified Scheduled Instances or all your Scheduled Instances.

Method Signature

IMPORTING

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

IT_FILTERS TYPE /AWS1/CL_EC2FILTER=>TT_FILTERLIST TT_FILTERLIST

The filters.

  • availability-zone - The Availability Zone (for example, us-west-2a).

  • instance-type - The instance type (for example, c4.large).

  • platform - The platform (Linux/UNIX or Windows).

IV_MAXRESULTS TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The maximum number of results to return in a single call. This value can be between 5 and 300. The default value is 100. To retrieve the remaining results, make another call with the returned NextToken value.

IV_NEXTTOKEN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The token for the next set of results.

IT_SCHEDULEDINSTANCEIDS TYPE /AWS1/CL_EC2SCHDINSTIDREQSET_W=>TT_SCHDDINSTANCEIDREQUESTSET TT_SCHDDINSTANCEIDREQUESTSET

The Scheduled Instance IDs.

IO_SLOTSTARTTIMERANGE TYPE REF TO /AWS1/CL_EC2SLOTSTRTTIMERANG00 /AWS1/CL_EC2SLOTSTRTTIMERANG00

The time period for the first schedule to start.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2DSCSCHDINSTSRESULT /AWS1/CL_EC2DSCSCHDINSTSRESULT