DirectoryService / Client / exceptions / ADAssessmentLimitExceededException
ADAssessmentLimitExceededException¶
- class DirectoryService.Client.exceptions.ADAssessmentLimitExceededException¶
A directory assessment is automatically created when you create a hybrid directory. There are two types of assessments:
CUSTOMER
andSYSTEM
. Your Amazon Web Services account has a limit of 100CUSTOMER
directory assessments.If you attempt to create a hybrid directory; and you already have 100
CUSTOMER
directory assessments;, you will encounter an error. Delete assessments to free up capacity before trying again.You can request an increase to your
CUSTOMER
directory assessment quota by contacting customer support or delete existing CUSTOMER directory assessments; to free up capacity.Example
try: ... except client.exceptions.ADAssessmentLimitExceededException 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', 'RequestId': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
A directory assessment is automatically created when you create a hybrid directory. There are two types of assessments:
CUSTOMER
andSYSTEM
. Your Amazon Web Services account has a limit of 100CUSTOMER
directory assessments.If you attempt to create a hybrid directory; and you already have 100
CUSTOMER
directory assessments;, you will encounter an error. Delete assessments to free up capacity before trying again.You can request an increase to your
CUSTOMER
directory assessment quota by contacting customer support or delete existing CUSTOMER directory assessments; to free up capacity.Message (string) –
The descriptive message for the exception.
RequestId (string) –
The Amazon Web Services request identifier.
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.