Class: Aws::ObservabilityAdmin::Types::AccessDeniedException

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

Overview

Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amzn_error_type ⇒ String

The name of the exception.

Returns:

  • (String)


32
33
34
35
36
37
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 32

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

#message ⇒ String

Returns:

  • (String)


32
33
34
35
36
37
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 32

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