Skip to content

/AWS1/CL_EC2=>DESCRIBEMACHOSTS()

About DescribeMacHosts

Describes the specified EC2 Mac Dedicated Host or all of your EC2 Mac Dedicated Hosts.

Method Signature

IMPORTING

Optional arguments:

IT_FILTERS TYPE /AWS1/CL_EC2FILTER=>TT_FILTERLIST TT_FILTERLIST

The filters.

  • availability-zone - The Availability Zone of the EC2 Mac Dedicated Host.

  • instance-type - The instance type size that the EC2 Mac Dedicated Host is configured to support.

IT_HOSTIDS TYPE /AWS1/CL_EC2REQHOSTIDLIST_W=>TT_REQUESTHOSTIDLIST TT_REQUESTHOSTIDLIST

The IDs of the EC2 Mac Dedicated Hosts.

IV_MAXRESULTS TYPE /AWS1/EC2DSCMACHOSTSREQMAXRSS /AWS1/EC2DSCMACHOSTSREQMAXRSS

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

IV_NEXTTOKEN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The token to use to retrieve the next page of results.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2DESCRMACHOSTSRSLT /AWS1/CL_EC2DESCRMACHOSTSRSLT