You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Inspector::Types::AccessDeniedException

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

Overview

You do not have required permissions to access the requested resource.

Instance Attribute Summary collapse

Instance Attribute Details

#can_retryBoolean

You can immediately retry your request.

Returns:

  • (Boolean)


27
28
29
30
31
32
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 27

class AccessDeniedException < Struct.new(
  :message,
  :error_code,
  :can_retry)
  include Aws::Structure
end

#error_codeString

Code that indicates the type of error that is generated.

Returns:

  • (String)


27
28
29
30
31
32
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 27

class AccessDeniedException < Struct.new(
  :message,
  :error_code,
  :can_retry)
  include Aws::Structure
end

#messageString

Details of the exception error.

Returns:

  • (String)


27
28
29
30
31
32
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 27

class AccessDeniedException < Struct.new(
  :message,
  :error_code,
  :can_retry)
  include Aws::Structure
end