CloudTrail / Client / exceptions / InsufficientDependencyServiceAccessPermissionException
InsufficientDependencyServiceAccessPermissionException#
- class CloudTrail.Client.exceptions.InsufficientDependencyServiceAccessPermissionException#
This exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
Example
try: ... except client.exceptions.InsufficientDependencyServiceAccessPermissionException 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
{}
Structure
(dict) –
This exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
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.