Class: Aws::CredentialBrokerControl::Types::AccessDeniedException

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

Overview

The caller is not authorized to perform the request, or a resource the request depends on refused access. reason distinguishes a denial by this service from a denial reported by a dependency the caller configured, such as a customer-owned secret, KMS key, or external identity provider, which usually points at a permission or configuration fix outside this API.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#message ⇒ String

Returns:

  • (String)


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

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

#reason ⇒ String

Identifies what denied the request. New values may be added over time, so treat an unrecognized value as a generic authorization failure and rely on message for detail.

Returns:

  • (String)


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

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