Enum rusoto_meteringmarketplace::BatchMeterUsageError
[−]
[src]
pub enum BatchMeterUsageError { InternalServiceError(String), InvalidCustomerIdentifier(String), InvalidProductCode(String), InvalidUsageDimension(String), Throttling(String), TimestampOutOfBounds(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by BatchMeterUsage
Variants
InternalServiceError(String)
An internal error has occurred. Retry your request. If the problem persists, post a message with details on the AWS forums.
InvalidCustomerIdentifier(String)
You have metered usage for a CustomerIdentifier that does not exist.
InvalidProductCode(String)
The product code passed does not match the product code used for publishing the product.
InvalidUsageDimension(String)
The usage dimension does not match one of the UsageDimensions associated with products.
Throttling(String)
The calls to the MeterUsage API are throttled.
TimestampOutOfBounds(String)
The timestamp value passed in the meterUsage() is out of allowed range.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl BatchMeterUsageError
[src]
pub fn from_body(body: &str) -> BatchMeterUsageError
[src]
Trait Implementations
impl Debug for BatchMeterUsageError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for BatchMeterUsageError
[src]
fn eq(&self, __arg_0: &BatchMeterUsageError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BatchMeterUsageError) -> bool
[src]
This method tests for !=
.
impl From<Error> for BatchMeterUsageError
[src]
fn from(err: Error) -> BatchMeterUsageError
[src]
Performs the conversion.
impl From<CredentialsError> for BatchMeterUsageError
[src]
fn from(err: CredentialsError) -> BatchMeterUsageError
[src]
Performs the conversion.
impl From<HttpDispatchError> for BatchMeterUsageError
[src]
fn from(err: HttpDispatchError) -> BatchMeterUsageError
[src]
Performs the conversion.
impl From<Error> for BatchMeterUsageError
[src]
fn from(err: Error) -> BatchMeterUsageError
[src]
Performs the conversion.
impl Display for BatchMeterUsageError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more