Trait rusoto_pricing::Pricing[][src]

pub trait Pricing {
    fn describe_services<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeServicesRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeServicesResponse, RusotoError<DescribeServicesError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn get_attribute_values<'life0, 'async_trait>(
        &'life0 self,
        input: GetAttributeValuesRequest
    ) -> Pin<Box<dyn Future<Output = Result<GetAttributeValuesResponse, RusotoError<GetAttributeValuesError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn get_products<'life0, 'async_trait>(
        &'life0 self,
        input: GetProductsRequest
    ) -> Pin<Box<dyn Future<Output = Result<GetProductsResponse, RusotoError<GetProductsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Trait representing the capabilities of the AWS Pricing API. AWS Pricing clients implement this trait.

Required methods

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.

Returns a list of attribute values. Attibutes are similar to the details in a Price List API offer file. For a list of available attributes, see Offer File Definitions in the AWS Billing and Cost Management User Guide.

Returns a list of all products that match the filter criteria.

Implementors