Exception: AWS::S3::InvalidAccessControlLevel

Inherits:
InvalidOption show all
Defined in:
lib/aws/s3/exceptions.rb

Overview

Raised if an invalid value is passed to the :access option when creating a Bucket or an S3Object.

Instance Method Summary collapse

Constructor Details

#initialize(valid_levels, access_level) ⇒ InvalidAccessControlLevel

Returns a new instance of InvalidAccessControlLevel.



40
41
42
# File 'lib/aws/s3/exceptions.rb', line 40

def initialize(valid_levels, access_level)
  super("Valid access control levels are #{valid_levels.inspect}. You specified `#{access_level}'.")
end