{"note":"OpenAPI conversion -- returning structured metadata","name":"amazonaws-com-pricing","description":"AWS Price List Service","version":"2017-10-15","base_url":"","endpoints":5,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api AWS Price List Service\n@version 2017-10-15\n@auth AWS SigV4\n@endpoints 5\n@toc root(5)\n\n@endpoint POST /\n@desc 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.\n@optional {ServiceCode: str, FormatVersion: str, NextToken: str, MaxResults: int}\n@returns(200) {Services: [Service]?, FormatVersion: str?, NextToken: str?}\n\n@endpoint POST /\n@desc Returns a list of attribute values. Attributes are similar to the details in a Price List API offer file. For a list of available attributes, see Offer File Definitions in the Billing and Cost Management User Guide.\n@required {ServiceCode: str, AttributeName: str}\n@optional {NextToken: str, MaxResults: int}\n@returns(200) {AttributeValues: [AttributeValue]?, NextToken: str?}\n\n@endpoint POST /\n@desc This feature is in preview release and is subject to change. Your use of Amazon Web Services Price List API is subject to the Beta Service Participation terms of the Amazon Web Services Service Terms (Section 1.10).   This returns the URL that you can retrieve your Price List file from. This URL is based on the PriceListArn and FileFormat that you retrieve from the ListPriceLists response.\n@required {PriceListArn: str, FileFormat: str}\n@returns(200) {Url: str?}\n\n@endpoint POST /\n@desc Returns a list of all products that match the filter criteria.\n@required {ServiceCode: str}\n@optional {Filters: [Filter], FormatVersion: str, NextToken: str, MaxResults: int}\n@returns(200) {FormatVersion: str?, PriceList: [str]?, NextToken: str?}\n\n@endpoint POST /\n@desc This feature is in preview release and is subject to change. Your use of Amazon Web Services Price List API is subject to the Beta Service Participation terms of the Amazon Web Services Service Terms (Section 1.10).   This returns a list of Price List references that the requester if authorized to view, given a ServiceCode, CurrencyCode, and an EffectiveDate. Use without a RegionCode filter to list Price List references from all available Amazon Web Services Regions. Use with a RegionCode filter to get the Price List reference that's specific to a specific Amazon Web Services Region. You can use the PriceListArn from the response to get your preferred Price List files through the GetPriceListFileUrl API.\n@required {ServiceCode: str, EffectiveDate: str(timestamp), CurrencyCode: str}\n@optional {RegionCode: str, NextToken: str, MaxResults: int}\n@returns(200) {PriceLists: [PriceList]?, NextToken: str?}\n\n@end\n"}