Class: Aws::Pricing::Types::DescribeServicesRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pricing::Types::DescribeServicesRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-pricing/types.rb
Overview
When making an API call, you may pass DescribeServicesRequest data as a hash:
{
service_code: "String",
format_version: "String",
next_token: "String",
max_results: 1,
}
Instance Attribute Summary collapse
-
#format_version ⇒ String
The format version that you want the response to be in.
-
#max_results ⇒ Integer
The maximum number of results that you want returned in the response.
-
#next_token ⇒ String
The pagination token that indicates the next set of results that you want to retrieve.
-
#service_code ⇒ String
The code for the service whose information you want to retrieve, such as ‘AmazonEC2`.
Instance Attribute Details
#format_version ⇒ String
The format version that you want the response to be in.
Valid values are: ‘aws_v1`
60 61 62 63 64 65 66 |
# File 'lib/aws-sdk-pricing/types.rb', line 60 class DescribeServicesRequest < Struct.new( :service_code, :format_version, :next_token, :max_results) include Aws::Structure end |
#max_results ⇒ Integer
The maximum number of results that you want returned in the response.
60 61 62 63 64 65 66 |
# File 'lib/aws-sdk-pricing/types.rb', line 60 class DescribeServicesRequest < Struct.new( :service_code, :format_version, :next_token, :max_results) include Aws::Structure end |
#next_token ⇒ String
The pagination token that indicates the next set of results that you want to retrieve.
60 61 62 63 64 65 66 |
# File 'lib/aws-sdk-pricing/types.rb', line 60 class DescribeServicesRequest < Struct.new( :service_code, :format_version, :next_token, :max_results) include Aws::Structure end |
#service_code ⇒ String
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.
60 61 62 63 64 65 66 |
# File 'lib/aws-sdk-pricing/types.rb', line 60 class DescribeServicesRequest < Struct.new( :service_code, :format_version, :next_token, :max_results) include Aws::Structure end |