Class: Aws::SecurityLake::Types::AccessDeniedException

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/types.rb

Overview

You do not have sufficient access to perform this action. Access denied errors appear when Amazon Security Lake explicitly or implicitly denies an authorization request. An explicit denial occurs when a policy contains a Deny statement for the specific Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also no applicable Allow statement.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeString

A coded string to provide more information about the access denied exception. You can use the error code to check the exception type.

Returns:

  • (String)


30
31
32
33
34
35
# File 'gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/types.rb', line 30

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

#messageString

Returns:

  • (String)


30
31
32
33
34
35
# File 'gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/types.rb', line 30

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