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

Class: Aws::Lightsail::Types::AccessDeniedException

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

Overview

Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to access a resource.

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

Returns:

  • (String)


28
29
30
31
32
33
34
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 28

class AccessDeniedException < Struct.new(
  :code,
  :docs,
  :message,
  :tip)
  include Aws::Structure
end

#docsString

Returns:

  • (String)


28
29
30
31
32
33
34
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 28

class AccessDeniedException < Struct.new(
  :code,
  :docs,
  :message,
  :tip)
  include Aws::Structure
end

#messageString

Returns:

  • (String)


28
29
30
31
32
33
34
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 28

class AccessDeniedException < Struct.new(
  :code,
  :docs,
  :message,
  :tip)
  include Aws::Structure
end

#tipString

Returns:

  • (String)


28
29
30
31
32
33
34
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 28

class AccessDeniedException < Struct.new(
  :code,
  :docs,
  :message,
  :tip)
  include Aws::Structure
end