Returns the metadata for one service or a list of the metadata for all services¶
Description¶
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.
Usage¶
Arguments¶
-
ServiceCodeThe code for the service whose information you want to retrieve, such as
AmazonEC2. You can use theServiceCodeto filter the results in aget_productscall. To retrieve a list of all services, leave this blank. -
FormatVersionThe format version that you want the response to be in.
Valid values are:
aws_v1 -
NextTokenThe pagination token that indicates the next set of results that you want to retrieve.
-
MaxResultsThe maximum number of results that you want returned in the response.
Value¶
A list with the following syntax:
list(
Services = list(
list(
ServiceCode = "string",
AttributeNames = list(
"string"
)
)
),
FormatVersion = "string",
NextToken = "string"
)
Request syntax¶
svc$describe_services(
ServiceCode = "string",
FormatVersion = "string",
NextToken = "string",
MaxResults = 123
)