Class: Aws::Plugins::GlacierChecksums

Inherits:
Seahorse::Client::Plugin show all
Defined in:
lib/aws-sdk-core/plugins/glacier_checksums.rb

Overview

Computes the ‘:checksum` of the HTTP request body for operations that require the `X-Amz-Sha256-Tree-Hash` header. This includes:

  • ‘:complete_multipart_upload`

  • ‘:upload_archive`

  • ‘:upload_multipart_part`

The ‘:upload_archive` and `:upload_multipart_part` operations accept a `:checksum` request parameter. If this param is present, then the checksum is assumed to be the proper tree hash of the file to be uploaded. If this param is not present, then the required tree hash checksum will be generated.

The ‘:complete_multipart_upload` operation does not accept a checksum and this plugin will always compute this of the HTTP request body on your behalf.

Defined Under Namespace

Classes: Handler

Constant Summary collapse

CHECKSUM_OPERATIONS =
[
  :upload_archive,
  :upload_multipart_part,
]

Method Summary

Methods inherited from Seahorse::Client::Plugin

#add_handlers, #add_options, after_initialize, #after_initialize, after_initialize_hooks, #before_initialize, before_initialize, before_initialize_hooks, handlers, option, options

Methods included from Seahorse::Client::HandlerBuilder

#handle, #handle_request, #handle_response, #handler_for, #new_handler