[−][src]Enum rusoto_meteringmarketplace::MeterUsageError
Errors returned by MeterUsage
Variants
CustomerNotEntitled(String)
Exception thrown when the customer does not have a valid subscription for the product.
DuplicateRequest(String)
A metering record has already been emitted by the same EC2 instance, ECS task, or EKS pod for the given {usageDimension, timestamp} with a different usageQuantity.
InternalServiceError(String)
An internal error has occurred. Retry your request. If the problem persists, post a message with details on the AWS forums.
InvalidEndpointRegion(String)
The endpoint being called is in a AWS Region different from your EC2 instance, ECS task, or EKS pod. The Region of the Metering Service endpoint and the AWS Region of the resource must match.
InvalidProductCode(String)
The product code passed does not match the product code used for publishing the product.
InvalidTag(String)
The tag is invalid, or the number of tags is greater than 5.
InvalidUsageAllocations(String)
The usage allocation objects are invalid, or the number of allocations is greater than 500 for a single usage record.
InvalidUsageDimension(String)
The usage dimension does not match one of the UsageDimensions associated with products.
Throttling(String)
The calls to the API are throttled.
TimestampOutOfBounds(String)
The timestamp value passed in the meterUsage() is out of allowed range.
Implementations
impl MeterUsageError
[src]
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<MeterUsageError>
[src]
Trait Implementations
impl Debug for MeterUsageError
[src]
impl Display for MeterUsageError
[src]
impl Error for MeterUsageError
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl PartialEq<MeterUsageError> for MeterUsageError
[src]
pub fn eq(&self, other: &MeterUsageError) -> bool
[src]
pub fn ne(&self, other: &MeterUsageError) -> bool
[src]
impl StructuralPartialEq for MeterUsageError
[src]
Auto Trait Implementations
impl RefUnwindSafe for MeterUsageError
[src]
impl Send for MeterUsageError
[src]
impl Sync for MeterUsageError
[src]
impl Unpin for MeterUsageError
[src]
impl UnwindSafe for MeterUsageError
[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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,