[−][src]Struct rusoto_meteringmarketplace::MarketplaceMeteringClient
A client for the AWSMarketplace Metering API.
Methods
impl MarketplaceMeteringClient
[src]
impl MarketplaceMeteringClient
pub fn new(region: Region) -> MarketplaceMeteringClient
[src]
pub fn new(region: Region) -> MarketplaceMeteringClient
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
) -> MarketplaceMeteringClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
P::Future: Send,
D: DispatchSignedRequest + Send + Sync + 'static,
D::Future: Send,
[src]
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> MarketplaceMeteringClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
P::Future: Send,
D: DispatchSignedRequest + Send + Sync + 'static,
D::Future: Send,
Trait Implementations
impl MarketplaceMetering for MarketplaceMeteringClient
[src]
impl MarketplaceMetering for MarketplaceMeteringClient
fn batch_meter_usage(
&self,
input: BatchMeterUsageRequest
) -> RusotoFuture<BatchMeterUsageResult, BatchMeterUsageError>
[src]
fn batch_meter_usage(
&self,
input: BatchMeterUsageRequest
) -> RusotoFuture<BatchMeterUsageResult, BatchMeterUsageError>
BatchMeterUsage is called from a SaaS application listed on the AWS Marketplace to post metering records for a set of customers.
For identical requests, the API is idempotent; requests can be retried with the same records or a subset of the input records.
Every request to BatchMeterUsage is for one product. If you need to meter usage for multiple products, you must make multiple calls to BatchMeterUsage.
BatchMeterUsage can process up to 25 UsageRecords at a time.
fn meter_usage(
&self,
input: MeterUsageRequest
) -> RusotoFuture<MeterUsageResult, MeterUsageError>
[src]
fn meter_usage(
&self,
input: MeterUsageRequest
) -> RusotoFuture<MeterUsageResult, MeterUsageError>
API to emit metering records. For identical requests, the API is idempotent. It simply returns the metering record ID.
MeterUsage is authenticated on the buyer's AWS account, generally when running from an EC2 instance on the AWS Marketplace.
fn resolve_customer(
&self,
input: ResolveCustomerRequest
) -> RusotoFuture<ResolveCustomerResult, ResolveCustomerError>
[src]
fn resolve_customer(
&self,
input: ResolveCustomerRequest
) -> RusotoFuture<ResolveCustomerResult, ResolveCustomerError>
ResolveCustomer is called by a SaaS application during the registration process. When a buyer visits your website during the registration process, the buyer submits a registration token through their browser. The registration token is resolved through this API to obtain a CustomerIdentifier and product code.
Auto Trait Implementations
impl Send for MarketplaceMeteringClient
impl Send for MarketplaceMeteringClient
impl Sync for MarketplaceMeteringClient
impl Sync for MarketplaceMeteringClient
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
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]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
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]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Erased for T
impl<T> Erased for T
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self