ParallelComputingService / Client / exceptions / ServiceQuotaExceededException

ServiceQuotaExceededException#

class ParallelComputingService.Client.exceptions.ServiceQuotaExceededException#

You exceeded your service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your Amazon Web Services account. To learn how to increase your service quota, see Requesting a quota increase in the Service Quotas User Guide

Examples

  • The max number of clusters or queues has been reached for the account.

  • The max number of compute node groups has been reached for the associated cluster.

  • The total of maxInstances across all compute node groups has been reached for associated cluster.

Example

try:
  ...
except client.exceptions.ServiceQuotaExceededException as e:
  print(e.response)
response#

The parsed error response. All exceptions have a top level Error key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.

Syntax

{
    'message': 'string',
    'serviceCode': 'string',
    'resourceId': 'string',
    'resourceType': 'string',
    'quotaCode': 'string',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    You exceeded your service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your Amazon Web Services account. To learn how to increase your service quota, see Requesting a quota increase in the Service Quotas User Guide

    Examples

    • The max number of clusters or queues has been reached for the account.

    • The max number of compute node groups has been reached for the associated cluster.

    • The total of maxInstances across all compute node groups has been reached for associated cluster.

    • message (string) –

    • serviceCode (string) –

      The service code associated with the quota that was exceeded.

    • resourceId (string) –

      The unique identifier of the resource that caused the quota to be exceeded.

    • resourceType (string) –

      The type or category of the resource that caused the quota to be exceeded.

    • quotaCode (string) –

      The quota code of the service quota that was exceeded.

    • 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.