MarketplaceMetering / Client / exceptions / DuplicateRequestException
DuplicateRequestException¶
- class MarketplaceMetering.Client.exceptions.DuplicateRequestException¶
- 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.- Example- try: ... except client.exceptions.DuplicateRequestException as e: print(e.response) - response¶
- The parsed error response. All exceptions have a top level - Errorkey that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.- Syntax- { 'message': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } } - Structure- (dict) – - 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.- message (string) – 
- Error (dict) – Normalized access to common exception attributes. - Code (string) – An identifier specifying the exception type. 
- Message (string) – A descriptive message explaining why the exception occured.