[−][src]Struct rusoto_pricing::PricingClient
A client for the AWS Pricing API.
Methods
impl PricingClient[src]
pub fn new(region: Region) -> PricingClient[src]
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> PricingClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
P::Future: Send,
D: DispatchSignedRequest + Send + Sync + 'static,
D::Future: Send, [src]
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> PricingClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
P::Future: Send,
D: DispatchSignedRequest + Send + Sync + 'static,
D::Future: Send,
Trait Implementations
impl Pricing for PricingClient[src]
fn describe_services(
&self,
input: DescribeServicesRequest
) -> RusotoFuture<DescribeServicesResponse, DescribeServicesError>[src]
&self,
input: DescribeServicesRequest
) -> RusotoFuture<DescribeServicesResponse, DescribeServicesError>
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(
&self,
input: GetAttributeValuesRequest
) -> RusotoFuture<GetAttributeValuesResponse, GetAttributeValuesError>[src]
&self,
input: GetAttributeValuesRequest
) -> RusotoFuture<GetAttributeValuesResponse, GetAttributeValuesError>
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(
&self,
input: GetProductsRequest
) -> RusotoFuture<GetProductsResponse, GetProductsError>[src]
&self,
input: GetProductsRequest
) -> RusotoFuture<GetProductsResponse, GetProductsError>
Returns a list of all products that match the filter criteria.
impl Clone for PricingClient[src]
fn clone(&self) -> PricingClient[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for PricingClient
impl Sync for PricingClient
Blanket Implementations
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>, [src]
T: From<U>,
type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId[src]
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self