Class MarketplaceMeteringException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\MarketplaceMetering\Exception\MarketplaceMeteringException
- Namespace: Aws\MarketplaceMetering\Exception
- Located at MarketplaceMetering/Exception/MarketplaceMeteringException.php
Represents an error interacting with the AWSMarketplace Metering service.
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
getAwsErrorType()
,
getAwsRequestId()
,
getCommand()
,
getRequest()
,
getResponse()
,
getResult()
,
getStatusCode()
,
getTransferInfo()
,
hasKey()
,
isConnectionError()
,
isMaxRetriesExceeded()
,
search()
,
setMaxRetriesExceeded()
,
setTransferInfo()
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Expected Exception Codes
CustomerNotEntitledException
[ 'message' => '<string>', ]
Description
Exception thrown when the customer does not have a valid subscription for the product.
Members
DisabledApiException
[ 'message' => '<string>', ]
DuplicateRequestException
[ 'message' => '<string>', ]
Description
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.
Members
ExpiredTokenException
[ 'message' => '<string>', ]
Description
The submitted registration token has expired. This can happen if the buyer's browser takes too long to redirect to your page, the buyer has resubmitted the registration token, or your application has held on to the registration token for too long. Your SaaS registration website should redeem this token as soon as it is submitted by the buyer's browser.
Members
InternalServiceErrorException
[ 'message' => '<string>', ]
Description
An internal error has occurred. Retry your request. If the problem persists, post a message with details on the AWS forums.
Members
InvalidCustomerIdentifierException
[ 'message' => '<string>', ]
Description
You have metered usage for a CustomerIdentifier that does not exist.
Members
InvalidEndpointRegionException
[ 'message' => '<string>', ]
Description
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.
Members
InvalidProductCodeException
[ 'message' => '<string>', ]
Description
The product code passed does not match the product code used for publishing the product.
Members
InvalidPublicKeyVersionException
[ 'message' => '<string>', ]
InvalidRegionException
[ 'message' => '<string>', ]
Description
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.
Members
InvalidTokenException
[ 'message' => '<string>', ]
InvalidUsageDimensionException
[ 'message' => '<string>', ]
Description
The usage dimension does not match one of the UsageDimensions associated with products.
Members
PlatformNotSupportedException
[ 'message' => '<string>', ]
Description
AWS Marketplace does not support metering usage from the underlying platform. Currently, only Amazon ECS is supported.
Members
ThrottlingException
[ 'message' => '<string>', ]
TimestampOutOfBoundsException
[ 'message' => '<string>', ]