Class ServiceQuotaExceededException

All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<ServiceQuotaExceededException.Builder,ServiceQuotaExceededException>

@Generated("software.amazon.awssdk:codegen") public final class ServiceQuotaExceededException extends ContextException implements ToCopyableBuilder<ServiceQuotaExceededException.Builder,ServiceQuotaExceededException>

The request would exceed a service quota. Check the quota that quotaCode names, reduce your usage, and then retry the request.

See Also:
  • Method Details

    • toBuilder

      Description copied from class: AwsServiceException
      Create a AwsServiceException.Builder initialized with the properties of this AwsServiceException.
      Specified by:
      toBuilder in interface ToCopyableBuilder<ServiceQuotaExceededException.Builder,ServiceQuotaExceededException>
      Overrides:
      toBuilder in class ContextException
      Returns:
      A new builder initialized with this config's properties.
    • builder

      public static ServiceQuotaExceededException.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ServiceQuotaExceededException.Builder> serializableBuilderClass()
    • quotaCode

      public String quotaCode()

      The code of the quota that the request would exceed.

      Returns:
      The code of the quota that the request would exceed.
    • serviceCode

      public String serviceCode()

      The code of the service that owns the quota.

      Returns:
      The code of the service that owns the quota.
    • resourceId

      public String resourceId()

      The ID of the resource that the quota applies to.

      Returns:
      The ID of the resource that the quota applies to.
    • resourceType

      public ResourceType resourceType()

      The type of the resource that the quota applies to.

      Valid values:

      • agent-context - An agent context.

      • connection - A connection.

      • curation-policy - A curation policy.

      • evaluation - Reserved for future use.

      • ontology - An ontology.

      • ontology-induction - An ontology induction.

      • resource-policy - A resource-based policy.

      If the service returns an enum value that is not available in the current SDK version, resourceType will return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from resourceTypeAsString().

      Returns:
      The type of the resource that the quota applies to.

      Valid values:

      • agent-context - An agent context.

      • connection - A connection.

      • curation-policy - A curation policy.

      • evaluation - Reserved for future use.

      • ontology - An ontology.

      • ontology-induction - An ontology induction.

      • resource-policy - A resource-based policy.

      See Also:
    • resourceTypeAsString

      public String resourceTypeAsString()

      The type of the resource that the quota applies to.

      Valid values:

      • agent-context - An agent context.

      • connection - A connection.

      • curation-policy - A curation policy.

      • evaluation - Reserved for future use.

      • ontology - An ontology.

      • ontology-induction - An ontology induction.

      • resource-policy - A resource-based policy.

      If the service returns an enum value that is not available in the current SDK version, resourceType will return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from resourceTypeAsString().

      Returns:
      The type of the resource that the quota applies to.

      Valid values:

      • agent-context - An agent context.

      • connection - A connection.

      • curation-policy - A curation policy.

      • evaluation - Reserved for future use.

      • ontology - An ontology.

      • ontology-induction - An ontology induction.

      • resource-policy - A resource-based policy.

      See Also:
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Overrides:
      sdkFields in class SdkServiceException
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.