Describe Services
pricing_describe_services | R Documentation |
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¶
pricing_describe_services(ServiceCode, FormatVersion, NextToken,
MaxResults)
Arguments¶
ServiceCode |
The code for the service whose information you want to retrieve,
such as |
FormatVersion |
The format version that you want the response to be in. Valid values are: |
NextToken |
The pagination token that indicates the next set of results that you want to retrieve. |
MaxResults |
The 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
)
Examples¶
## Not run:
# Retrieves the service for the given Service Code.
svc$describe_services(
FormatVersion = "aws_v1",
MaxResults = 1L,
ServiceCode = "AmazonEC2"
)
## End(Not run)