Skip to content

/AWS1/CL_PRI=>DESCRIBESERVICES()

About DescribeServices

Returns the metadata for one service or a list of the metadata for all services. Use this without a service code to get the service codes for all services. Use it with a service code, such as AmazonEC2, to get information specific to that service, such as the attribute names available for that service. For example, some of the attribute names available for EC2 are volumeType, maxIopsVolume, operation, locationType, and instanceCapacity10xlarge.

Method Signature

IMPORTING

Optional arguments:

IV_SERVICECODE TYPE /AWS1/PRISTRING /AWS1/PRISTRING

The code for the service whose information you want to retrieve, such as AmazonEC2. You can use the ServiceCode to filter the results in a GetProducts call. To retrieve a list of all services, leave this blank.

IV_FORMATVERSION TYPE /AWS1/PRISTRING /AWS1/PRISTRING

The format version that you want the response to be in.

Valid values are: aws_v1

IV_NEXTTOKEN TYPE /AWS1/PRISTRING /AWS1/PRISTRING

The pagination token that indicates the next set of results that you want to retrieve.

IV_MAXRESULTS TYPE /AWS1/PRIBOXEDINTEGER /AWS1/PRIBOXEDINTEGER

The maximum number of results that you want returned in the response.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_PRIDESCRSERVICESRSP /AWS1/CL_PRIDESCRSERVICESRSP