[−][src]Enum rusoto_meteringmarketplace::RegisterUsageError
Errors returned by RegisterUsage
Variants
CustomerNotEntitled(String)
Exception thrown when the customer does not have a valid subscription for the product.
DisabledApi(String)
The API is disabled in the Region.
InternalServiceError(String)
An internal error has occurred. Retry your request. If the problem persists, post a message with details on the AWS forums.
InvalidProductCode(String)
The product code passed does not match the product code used for publishing the product.
InvalidPublicKeyVersion(String)
Public Key version is invalid.
InvalidRegion(String)
RegisterUsage must be called in the same AWS Region the ECS task was launched in. This prevents a container from hardcoding a Region (e.g. withRegion(“us-east-1”) when calling RegisterUsage.
PlatformNotSupported(String)
AWS Marketplace does not support metering usage from the underlying platform. Currently, Amazon ECS, Amazon EKS, and AWS Fargate are supported.
Throttling(String)
The calls to the API are throttled.
Implementations
impl RegisterUsageError
[src]
pub fn from_response(
res: BufferedHttpResponse
) -> RusotoError<RegisterUsageError>
[src]
res: BufferedHttpResponse
) -> RusotoError<RegisterUsageError>
Trait Implementations
impl Debug for RegisterUsageError
[src]
impl Display for RegisterUsageError
[src]
impl Error for RegisterUsageError
[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<RegisterUsageError> for RegisterUsageError
[src]
pub fn eq(&self, other: &RegisterUsageError) -> bool
[src]
pub fn ne(&self, other: &RegisterUsageError) -> bool
[src]
impl StructuralPartialEq for RegisterUsageError
[src]
Auto Trait Implementations
impl RefUnwindSafe for RegisterUsageError
[src]
impl Send for RegisterUsageError
[src]
impl Sync for RegisterUsageError
[src]
impl Unpin for RegisterUsageError
[src]
impl UnwindSafe for RegisterUsageError
[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>,