[][src]Trait rusoto_pricing::Pricing

pub trait Pricing {
#[must_use]    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
;
#[must_use] 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
;
#[must_use] 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
; }

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

Required methods

#[must_use]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, 

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.

#[must_use]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, 

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.

#[must_use]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, 

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

Loading content...

Implementors

impl Pricing for PricingClient[src]

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, 
[src]

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.

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, 
[src]

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.

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, 
[src]

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

Loading content...