Class: Aws::DirectoryServiceData::Types::AccessDeniedException

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-directoryservicedata/types.rb

Overview

You don’t have permission to perform the request or access the directory. It can also occur when the ‘DirectoryId` doesn’t exist or the user, member, or group might be outside of your organizational unit (OU).

Make sure that you have the authentication and authorization to perform the action. Review the directory information in the request, and make sure that the object isn’t outside of your OU.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

Returns:

  • (String)


31
32
33
34
35
36
# File 'lib/aws-sdk-directoryservicedata/types.rb', line 31

class AccessDeniedException < Struct.new(
  :message,
  :reason)
  SENSITIVE = []
  include Aws::Structure
end

#reasonString

Reason the request was unauthorized.

Returns:

  • (String)


31
32
33
34
35
36
# File 'lib/aws-sdk-directoryservicedata/types.rb', line 31

class AccessDeniedException < Struct.new(
  :message,
  :reason)
  SENSITIVE = []
  include Aws::Structure
end