Class: Aws::S3::Plugins::Md5s Private

Inherits:
Seahorse::Client::Plugin
  • Object
show all
Defined in:
lib/aws-sdk-s3/plugins/md5s.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

This plugin is deprecated in favor of modeled httpChecksumRequired traits.

API:

  • private

Instance Method Summary collapse

Instance Method Details

#after_initialize(client) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

API:

  • private



20
21
22
# File 'lib/aws-sdk-s3/plugins/md5s.rb', line 20

def after_initialize(client)
  client.config.request_checksum_calculation = 'when_required' unless client.config.compute_checksums
end