File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
packages/middleware-flexible-checksums/src Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 99 StreamHasher ,
1010} from "@smithy/types" ;
1111
12+ import { RequestChecksumCalculation } from "./constants" ;
13+
1214export interface PreviouslyResolved {
1315 /**
1416 * The function that will be used to convert binary data to a base64-encoded string.
@@ -35,7 +37,7 @@ export interface PreviouslyResolved {
3537 /**
3638 * Determines when a checksum will be calculated for request payloads
3739 */
38- requestChecksumCalculation : Provider < string > ;
40+ requestChecksumCalculation : Provider < RequestChecksumCalculation > ;
3941
4042 /**
4143 * A constructor for a class implementing the {@link Hash} interface that computes SHA1 hashes.
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export interface GetChecksumAlgorithmForRequestOptions {
2020 /**
2121 * Determines when a checksum will be calculated for request payloads
2222 */
23- requestChecksumCalculation : string ;
23+ requestChecksumCalculation : RequestChecksumCalculation ;
2424}
2525
2626/**
You can’t perform that action at this time.
0 commit comments