class Aws::S3::EncryptionV2::Errors::LegacyDecryptionError
when using a security_profile that does not support it.
Raised when attempting to decrypt a legacy (V1) encrypted object
def initialize(*args)
def initialize(*args) msg = 'The requested object is ' \ 'encrypted with V1 encryption schemas that have been disabled ' \ 'by client configuration security_profile = :v2. Retry with ' \ ':v2_and_legacy or re-encrypt the object.' super(msg) end