glacier.d.ts 530 B

12345678910111213141516
  1. import {Service} from '../service';
  2. export class GlacierCustomizations extends Service {
  3. /**
  4. * Computes the SHA-256 linear and tree hash checksums for a given
  5. * block of Buffer data. Pass the tree hash of the computed checksums
  6. * as the checksum input to the {completeMultipartUpload} when performing
  7. * a multi-part upload.
  8. */
  9. computeChecksums(data: Buffer|string): GlacierComputeChecksumsOutput;
  10. }
  11. export interface GlacierComputeChecksumsOutput {
  12. linearHash: string;
  13. treeHash: string;
  14. }