[−][src]Struct rusoto_pricing::PricingClient
A client for the AWS Pricing API.
Implementations
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,
D: DispatchSignedRequest + Send + Sync + 'static,
[src]
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> PricingClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> PricingClient
[src]
Trait Implementations
impl Clone for PricingClient
[src]
pub fn clone(&self) -> PricingClient
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Pricing for PricingClient
[src]
pub 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]
&'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
.
pub 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]
&'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.
pub 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]
&'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.
Auto Trait Implementations
impl !RefUnwindSafe for PricingClient
[src]
impl Send for PricingClient
[src]
impl Sync for PricingClient
[src]
impl Unpin for PricingClient
[src]
impl !UnwindSafe for PricingClient
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,