Skip to content

Commit

Permalink
feat(checksum): replace Hash with Checksum (#4346)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewFossAWS authored Jan 19, 2023
1 parent 4497482 commit 172b4f3
Show file tree
Hide file tree
Showing 751 changed files with 4,703 additions and 4,133 deletions.
4 changes: 2 additions & 2 deletions clients/client-accessanalyzer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"module": "./dist-es/index.js",
"sideEffects": false,
"dependencies": {
"@aws-crypto/sha256-browser": "2.0.0",
"@aws-crypto/sha256-js": "2.0.0",
"@aws-crypto/sha256-browser": "3.0.0",
"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "*",
"@aws-sdk/config-resolver": "*",
"@aws-sdk/credential-provider-node": "*",
Expand Down
6 changes: 4 additions & 2 deletions clients/client-accessanalyzer/src/AccessAnalyzerClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ import {
} from "@aws-sdk/smithy-client";
import {
BodyLengthCalculator as __BodyLengthCalculator,
Checksum as __Checksum,
ChecksumConstructor as __ChecksumConstructor,
Credentials as __Credentials,
Decoder as __Decoder,
Encoder as __Encoder,
Expand Down Expand Up @@ -174,11 +176,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
requestHandler?: __HttpHandler;

/**
* A constructor for a class implementing the {@link __Hash} interface
* A constructor for a class implementing the {@link __Checksum} interface
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
* @internal
*/
sha256?: __HashConstructor;
sha256?: __ChecksumConstructor | __HashConstructor;

/**
* The function that will be used to convert strings into HTTP endpoints.
Expand Down
4 changes: 2 additions & 2 deletions clients/client-account/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"module": "./dist-es/index.js",
"sideEffects": false,
"dependencies": {
"@aws-crypto/sha256-browser": "2.0.0",
"@aws-crypto/sha256-js": "2.0.0",
"@aws-crypto/sha256-browser": "3.0.0",
"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "*",
"@aws-sdk/config-resolver": "*",
"@aws-sdk/credential-provider-node": "*",
Expand Down
6 changes: 4 additions & 2 deletions clients/client-account/src/AccountClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ import {
} from "@aws-sdk/smithy-client";
import {
BodyLengthCalculator as __BodyLengthCalculator,
Checksum as __Checksum,
ChecksumConstructor as __ChecksumConstructor,
Credentials as __Credentials,
Decoder as __Decoder,
Encoder as __Encoder,
Expand Down Expand Up @@ -96,11 +98,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
requestHandler?: __HttpHandler;

/**
* A constructor for a class implementing the {@link __Hash} interface
* A constructor for a class implementing the {@link __Checksum} interface
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
* @internal
*/
sha256?: __HashConstructor;
sha256?: __ChecksumConstructor | __HashConstructor;

/**
* The function that will be used to convert strings into HTTP endpoints.
Expand Down
4 changes: 2 additions & 2 deletions clients/client-acm-pca/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"module": "./dist-es/index.js",
"sideEffects": false,
"dependencies": {
"@aws-crypto/sha256-browser": "2.0.0",
"@aws-crypto/sha256-js": "2.0.0",
"@aws-crypto/sha256-browser": "3.0.0",
"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "*",
"@aws-sdk/config-resolver": "*",
"@aws-sdk/credential-provider-node": "*",
Expand Down
6 changes: 4 additions & 2 deletions clients/client-acm-pca/src/ACMPCAClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ import {
} from "@aws-sdk/smithy-client";
import {
BodyLengthCalculator as __BodyLengthCalculator,
Checksum as __Checksum,
ChecksumConstructor as __ChecksumConstructor,
Credentials as __Credentials,
Decoder as __Decoder,
Encoder as __Encoder,
Expand Down Expand Up @@ -174,11 +176,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
requestHandler?: __HttpHandler;

/**
* A constructor for a class implementing the {@link __Hash} interface
* A constructor for a class implementing the {@link __Checksum} interface
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
* @internal
*/
sha256?: __HashConstructor;
sha256?: __ChecksumConstructor | __HashConstructor;

/**
* The function that will be used to convert strings into HTTP endpoints.
Expand Down
4 changes: 2 additions & 2 deletions clients/client-acm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"module": "./dist-es/index.js",
"sideEffects": false,
"dependencies": {
"@aws-crypto/sha256-browser": "2.0.0",
"@aws-crypto/sha256-js": "2.0.0",
"@aws-crypto/sha256-browser": "3.0.0",
"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "*",
"@aws-sdk/config-resolver": "*",
"@aws-sdk/credential-provider-node": "*",
Expand Down
6 changes: 4 additions & 2 deletions clients/client-acm/src/ACMClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ import {
} from "@aws-sdk/smithy-client";
import {
BodyLengthCalculator as __BodyLengthCalculator,
Checksum as __Checksum,
ChecksumConstructor as __ChecksumConstructor,
Credentials as __Credentials,
Decoder as __Decoder,
Encoder as __Encoder,
Expand Down Expand Up @@ -135,11 +137,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
requestHandler?: __HttpHandler;

/**
* A constructor for a class implementing the {@link __Hash} interface
* A constructor for a class implementing the {@link __Checksum} interface
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
* @internal
*/
sha256?: __HashConstructor;
sha256?: __ChecksumConstructor | __HashConstructor;

/**
* The function that will be used to convert strings into HTTP endpoints.
Expand Down
4 changes: 2 additions & 2 deletions clients/client-alexa-for-business/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"module": "./dist-es/index.js",
"sideEffects": false,
"dependencies": {
"@aws-crypto/sha256-browser": "2.0.0",
"@aws-crypto/sha256-js": "2.0.0",
"@aws-crypto/sha256-browser": "3.0.0",
"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "*",
"@aws-sdk/config-resolver": "*",
"@aws-sdk/credential-provider-node": "*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ import {
} from "@aws-sdk/smithy-client";
import {
BodyLengthCalculator as __BodyLengthCalculator,
Checksum as __Checksum,
ChecksumConstructor as __ChecksumConstructor,
Credentials as __Credentials,
Decoder as __Decoder,
Encoder as __Encoder,
Expand Down Expand Up @@ -462,11 +464,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
requestHandler?: __HttpHandler;

/**
* A constructor for a class implementing the {@link __Hash} interface
* A constructor for a class implementing the {@link __Checksum} interface
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
* @internal
*/
sha256?: __HashConstructor;
sha256?: __ChecksumConstructor | __HashConstructor;

/**
* The function that will be used to convert strings into HTTP endpoints.
Expand Down
4 changes: 2 additions & 2 deletions clients/client-amp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"module": "./dist-es/index.js",
"sideEffects": false,
"dependencies": {
"@aws-crypto/sha256-browser": "2.0.0",
"@aws-crypto/sha256-js": "2.0.0",
"@aws-crypto/sha256-browser": "3.0.0",
"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "*",
"@aws-sdk/config-resolver": "*",
"@aws-sdk/credential-provider-node": "*",
Expand Down
6 changes: 4 additions & 2 deletions clients/client-amp/src/AmpClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ import {
} from "@aws-sdk/smithy-client";
import {
BodyLengthCalculator as __BodyLengthCalculator,
Checksum as __Checksum,
ChecksumConstructor as __ChecksumConstructor,
Credentials as __Credentials,
Decoder as __Decoder,
Encoder as __Encoder,
Expand Down Expand Up @@ -174,11 +176,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
requestHandler?: __HttpHandler;

/**
* A constructor for a class implementing the {@link __Hash} interface
* A constructor for a class implementing the {@link __Checksum} interface
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
* @internal
*/
sha256?: __HashConstructor;
sha256?: __ChecksumConstructor | __HashConstructor;

/**
* The function that will be used to convert strings into HTTP endpoints.
Expand Down
4 changes: 2 additions & 2 deletions clients/client-amplify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"module": "./dist-es/index.js",
"sideEffects": false,
"dependencies": {
"@aws-crypto/sha256-browser": "2.0.0",
"@aws-crypto/sha256-js": "2.0.0",
"@aws-crypto/sha256-browser": "3.0.0",
"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "*",
"@aws-sdk/config-resolver": "*",
"@aws-sdk/credential-provider-node": "*",
Expand Down
6 changes: 4 additions & 2 deletions clients/client-amplify/src/AmplifyClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ import {
} from "@aws-sdk/smithy-client";
import {
BodyLengthCalculator as __BodyLengthCalculator,
Checksum as __Checksum,
ChecksumConstructor as __ChecksumConstructor,
Credentials as __Credentials,
Decoder as __Decoder,
Encoder as __Encoder,
Expand Down Expand Up @@ -207,11 +209,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
requestHandler?: __HttpHandler;

/**
* A constructor for a class implementing the {@link __Hash} interface
* A constructor for a class implementing the {@link __Checksum} interface
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
* @internal
*/
sha256?: __HashConstructor;
sha256?: __ChecksumConstructor | __HashConstructor;

/**
* The function that will be used to convert strings into HTTP endpoints.
Expand Down
4 changes: 2 additions & 2 deletions clients/client-amplifybackend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"module": "./dist-es/index.js",
"sideEffects": false,
"dependencies": {
"@aws-crypto/sha256-browser": "2.0.0",
"@aws-crypto/sha256-js": "2.0.0",
"@aws-crypto/sha256-browser": "3.0.0",
"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "*",
"@aws-sdk/config-resolver": "*",
"@aws-sdk/credential-provider-node": "*",
Expand Down
6 changes: 4 additions & 2 deletions clients/client-amplifybackend/src/AmplifyBackendClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ import {
} from "@aws-sdk/smithy-client";
import {
BodyLengthCalculator as __BodyLengthCalculator,
Checksum as __Checksum,
ChecksumConstructor as __ChecksumConstructor,
Credentials as __Credentials,
Decoder as __Decoder,
Encoder as __Encoder,
Expand Down Expand Up @@ -186,11 +188,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
requestHandler?: __HttpHandler;

/**
* A constructor for a class implementing the {@link __Hash} interface
* A constructor for a class implementing the {@link __Checksum} interface
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
* @internal
*/
sha256?: __HashConstructor;
sha256?: __ChecksumConstructor | __HashConstructor;

/**
* The function that will be used to convert strings into HTTP endpoints.
Expand Down
4 changes: 2 additions & 2 deletions clients/client-amplifyuibuilder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"module": "./dist-es/index.js",
"sideEffects": false,
"dependencies": {
"@aws-crypto/sha256-browser": "2.0.0",
"@aws-crypto/sha256-js": "2.0.0",
"@aws-crypto/sha256-browser": "3.0.0",
"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "*",
"@aws-sdk/config-resolver": "*",
"@aws-sdk/credential-provider-node": "*",
Expand Down
6 changes: 4 additions & 2 deletions clients/client-amplifyuibuilder/src/AmplifyUIBuilderClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ import {
} from "@aws-sdk/smithy-client";
import {
BodyLengthCalculator as __BodyLengthCalculator,
Checksum as __Checksum,
ChecksumConstructor as __ChecksumConstructor,
Credentials as __Credentials,
Decoder as __Decoder,
Encoder as __Encoder,
Expand Down Expand Up @@ -135,11 +137,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
requestHandler?: __HttpHandler;

/**
* A constructor for a class implementing the {@link __Hash} interface
* A constructor for a class implementing the {@link __Checksum} interface
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
* @internal
*/
sha256?: __HashConstructor;
sha256?: __ChecksumConstructor | __HashConstructor;

/**
* The function that will be used to convert strings into HTTP endpoints.
Expand Down
4 changes: 2 additions & 2 deletions clients/client-api-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"module": "./dist-es/index.js",
"sideEffects": false,
"dependencies": {
"@aws-crypto/sha256-browser": "2.0.0",
"@aws-crypto/sha256-js": "2.0.0",
"@aws-crypto/sha256-browser": "3.0.0",
"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "*",
"@aws-sdk/config-resolver": "*",
"@aws-sdk/credential-provider-node": "*",
Expand Down
6 changes: 4 additions & 2 deletions clients/client-api-gateway/src/APIGatewayClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ import {
} from "@aws-sdk/smithy-client";
import {
BodyLengthCalculator as __BodyLengthCalculator,
Checksum as __Checksum,
ChecksumConstructor as __ChecksumConstructor,
Credentials as __Credentials,
Decoder as __Decoder,
Encoder as __Encoder,
Expand Down Expand Up @@ -535,11 +537,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
requestHandler?: __HttpHandler;

/**
* A constructor for a class implementing the {@link __Hash} interface
* A constructor for a class implementing the {@link __Checksum} interface
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
* @internal
*/
sha256?: __HashConstructor;
sha256?: __ChecksumConstructor | __HashConstructor;

/**
* The function that will be used to convert strings into HTTP endpoints.
Expand Down
4 changes: 2 additions & 2 deletions clients/client-apigatewaymanagementapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"module": "./dist-es/index.js",
"sideEffects": false,
"dependencies": {
"@aws-crypto/sha256-browser": "2.0.0",
"@aws-crypto/sha256-js": "2.0.0",
"@aws-crypto/sha256-browser": "3.0.0",
"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "*",
"@aws-sdk/config-resolver": "*",
"@aws-sdk/credential-provider-node": "*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ import {
} from "@aws-sdk/smithy-client";
import {
BodyLengthCalculator as __BodyLengthCalculator,
Checksum as __Checksum,
ChecksumConstructor as __ChecksumConstructor,
Credentials as __Credentials,
Decoder as __Decoder,
Encoder as __Encoder,
Expand Down Expand Up @@ -72,11 +74,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
requestHandler?: __HttpHandler;

/**
* A constructor for a class implementing the {@link __Hash} interface
* A constructor for a class implementing the {@link __Checksum} interface
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
* @internal
*/
sha256?: __HashConstructor;
sha256?: __ChecksumConstructor | __HashConstructor;

/**
* The function that will be used to convert strings into HTTP endpoints.
Expand Down
4 changes: 2 additions & 2 deletions clients/client-apigatewayv2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"module": "./dist-es/index.js",
"sideEffects": false,
"dependencies": {
"@aws-crypto/sha256-browser": "2.0.0",
"@aws-crypto/sha256-js": "2.0.0",
"@aws-crypto/sha256-browser": "3.0.0",
"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "*",
"@aws-sdk/config-resolver": "*",
"@aws-sdk/credential-provider-node": "*",
Expand Down
Loading

0 comments on commit 172b4f3

Please sign in to comment.