Skip to content

Commit

Permalink
chore(codegen): update smithy-typescript commit (#5191)
Browse files Browse the repository at this point in the history
* chore(codegen): update smithy-typescript commit

* chore(codegen): generate clients with smithy-typescript changes

* chore(codegen): update yarn.lock

* chore(codegen): update npm dependency versions

* fix(xhr-http-handler): update `XhrHttpHandler` to implement `HttpHandler`

* fix(aws-client-retry-test): update mock client configs

* fix(aws-util-test): update `TestHttpHandler` implementation

* fix(aws-middleware-test): update `requestHandler` implementation

* fix(middleware-sdk-sqs): update `requestHandler` implementation
  • Loading branch information
Steven Yuan authored Sep 8, 2023
1 parent 8b353cb commit d058d78
Show file tree
Hide file tree
Showing 1,167 changed files with 9,220 additions and 7,111 deletions.
32 changes: 16 additions & 16 deletions clients/client-accessanalyzer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,26 @@
"@aws-sdk/util-endpoints": "*",
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^2.0.5",
"@smithy/fetch-http-handler": "^2.0.5",
"@smithy/hash-node": "^2.0.5",
"@smithy/invalid-dependency": "^2.0.5",
"@smithy/middleware-content-length": "^2.0.5",
"@smithy/middleware-endpoint": "^2.0.5",
"@smithy/middleware-retry": "^2.0.5",
"@smithy/middleware-serde": "^2.0.5",
"@smithy/config-resolver": "^2.0.7",
"@smithy/fetch-http-handler": "^2.1.2",
"@smithy/hash-node": "^2.0.6",
"@smithy/invalid-dependency": "^2.0.6",
"@smithy/middleware-content-length": "^2.0.8",
"@smithy/middleware-endpoint": "^2.0.6",
"@smithy/middleware-retry": "^2.0.9",
"@smithy/middleware-serde": "^2.0.6",
"@smithy/middleware-stack": "^2.0.0",
"@smithy/node-config-provider": "^2.0.6",
"@smithy/node-http-handler": "^2.0.5",
"@smithy/protocol-http": "^2.0.5",
"@smithy/smithy-client": "^2.0.5",
"@smithy/types": "^2.2.2",
"@smithy/url-parser": "^2.0.5",
"@smithy/node-config-provider": "^2.0.9",
"@smithy/node-http-handler": "^2.1.2",
"@smithy/protocol-http": "^3.0.2",
"@smithy/smithy-client": "^2.1.3",
"@smithy/types": "^2.3.0",
"@smithy/url-parser": "^2.0.6",
"@smithy/util-base64": "^2.0.0",
"@smithy/util-body-length-browser": "^2.0.0",
"@smithy/util-body-length-node": "^2.1.0",
"@smithy/util-defaults-mode-browser": "^2.0.6",
"@smithy/util-defaults-mode-node": "^2.0.6",
"@smithy/util-defaults-mode-browser": "^2.0.7",
"@smithy/util-defaults-mode-node": "^2.0.9",
"@smithy/util-retry": "^2.0.0",
"@smithy/util-utf8": "^2.0.0",
"tslib": "^2.5.0",
Expand Down
5 changes: 4 additions & 1 deletion clients/client-accessanalyzer/src/extensionConfiguration.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// smithy-typescript generated code
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
import { DefaultExtensionConfiguration } from "@smithy/types";

/**
* @internal
*/
export interface AccessAnalyzerExtensionConfiguration extends DefaultExtensionConfiguration {}
export interface AccessAnalyzerExtensionConfiguration
extends HttpHandlerExtensionConfiguration,
DefaultExtensionConfiguration {}
5 changes: 4 additions & 1 deletion clients/client-accessanalyzer/src/runtimeExtensions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// smithy-typescript generated code
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";

import { AccessAnalyzerExtensionConfiguration } from "./extensionConfiguration";
Expand All @@ -7,7 +8,7 @@ import { AccessAnalyzerExtensionConfiguration } from "./extensionConfiguration";
* @public
*/
export interface RuntimeExtension {
configure(clientConfiguration: AccessAnalyzerExtensionConfiguration): void;
configure(extensionConfiguration: AccessAnalyzerExtensionConfiguration): void;
}

/**
Expand All @@ -25,12 +26,14 @@ const asPartial = <T extends Partial<AccessAnalyzerExtensionConfiguration>>(t: T
export const resolveRuntimeExtensions = (runtimeConfig: any, extensions: RuntimeExtension[]) => {
const extensionConfiguration: AccessAnalyzerExtensionConfiguration = {
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
};

extensions.forEach((extension) => extension.configure(extensionConfiguration));

return {
...runtimeConfig,
...resolveDefaultRuntimeConfig(extensionConfiguration),
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
};
};
32 changes: 16 additions & 16 deletions clients/client-account/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,26 @@
"@aws-sdk/util-endpoints": "*",
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^2.0.5",
"@smithy/fetch-http-handler": "^2.0.5",
"@smithy/hash-node": "^2.0.5",
"@smithy/invalid-dependency": "^2.0.5",
"@smithy/middleware-content-length": "^2.0.5",
"@smithy/middleware-endpoint": "^2.0.5",
"@smithy/middleware-retry": "^2.0.5",
"@smithy/middleware-serde": "^2.0.5",
"@smithy/config-resolver": "^2.0.7",
"@smithy/fetch-http-handler": "^2.1.2",
"@smithy/hash-node": "^2.0.6",
"@smithy/invalid-dependency": "^2.0.6",
"@smithy/middleware-content-length": "^2.0.8",
"@smithy/middleware-endpoint": "^2.0.6",
"@smithy/middleware-retry": "^2.0.9",
"@smithy/middleware-serde": "^2.0.6",
"@smithy/middleware-stack": "^2.0.0",
"@smithy/node-config-provider": "^2.0.6",
"@smithy/node-http-handler": "^2.0.5",
"@smithy/protocol-http": "^2.0.5",
"@smithy/smithy-client": "^2.0.5",
"@smithy/types": "^2.2.2",
"@smithy/url-parser": "^2.0.5",
"@smithy/node-config-provider": "^2.0.9",
"@smithy/node-http-handler": "^2.1.2",
"@smithy/protocol-http": "^3.0.2",
"@smithy/smithy-client": "^2.1.3",
"@smithy/types": "^2.3.0",
"@smithy/url-parser": "^2.0.6",
"@smithy/util-base64": "^2.0.0",
"@smithy/util-body-length-browser": "^2.0.0",
"@smithy/util-body-length-node": "^2.1.0",
"@smithy/util-defaults-mode-browser": "^2.0.6",
"@smithy/util-defaults-mode-node": "^2.0.6",
"@smithy/util-defaults-mode-browser": "^2.0.7",
"@smithy/util-defaults-mode-node": "^2.0.9",
"@smithy/util-retry": "^2.0.0",
"@smithy/util-utf8": "^2.0.0",
"tslib": "^2.5.0"
Expand Down
5 changes: 4 additions & 1 deletion clients/client-account/src/extensionConfiguration.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// smithy-typescript generated code
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
import { DefaultExtensionConfiguration } from "@smithy/types";

/**
* @internal
*/
export interface AccountExtensionConfiguration extends DefaultExtensionConfiguration {}
export interface AccountExtensionConfiguration
extends HttpHandlerExtensionConfiguration,
DefaultExtensionConfiguration {}
5 changes: 4 additions & 1 deletion clients/client-account/src/runtimeExtensions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// smithy-typescript generated code
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";

import { AccountExtensionConfiguration } from "./extensionConfiguration";
Expand All @@ -7,7 +8,7 @@ import { AccountExtensionConfiguration } from "./extensionConfiguration";
* @public
*/
export interface RuntimeExtension {
configure(clientConfiguration: AccountExtensionConfiguration): void;
configure(extensionConfiguration: AccountExtensionConfiguration): void;
}

/**
Expand All @@ -25,12 +26,14 @@ const asPartial = <T extends Partial<AccountExtensionConfiguration>>(t: T) => t;
export const resolveRuntimeExtensions = (runtimeConfig: any, extensions: RuntimeExtension[]) => {
const extensionConfiguration: AccountExtensionConfiguration = {
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
};

extensions.forEach((extension) => extension.configure(extensionConfiguration));

return {
...runtimeConfig,
...resolveDefaultRuntimeConfig(extensionConfiguration),
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
};
};
34 changes: 17 additions & 17 deletions clients/client-acm-pca/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,29 +32,29 @@
"@aws-sdk/util-endpoints": "*",
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^2.0.5",
"@smithy/fetch-http-handler": "^2.0.5",
"@smithy/hash-node": "^2.0.5",
"@smithy/invalid-dependency": "^2.0.5",
"@smithy/middleware-content-length": "^2.0.5",
"@smithy/middleware-endpoint": "^2.0.5",
"@smithy/middleware-retry": "^2.0.5",
"@smithy/middleware-serde": "^2.0.5",
"@smithy/config-resolver": "^2.0.7",
"@smithy/fetch-http-handler": "^2.1.2",
"@smithy/hash-node": "^2.0.6",
"@smithy/invalid-dependency": "^2.0.6",
"@smithy/middleware-content-length": "^2.0.8",
"@smithy/middleware-endpoint": "^2.0.6",
"@smithy/middleware-retry": "^2.0.9",
"@smithy/middleware-serde": "^2.0.6",
"@smithy/middleware-stack": "^2.0.0",
"@smithy/node-config-provider": "^2.0.6",
"@smithy/node-http-handler": "^2.0.5",
"@smithy/protocol-http": "^2.0.5",
"@smithy/smithy-client": "^2.0.5",
"@smithy/types": "^2.2.2",
"@smithy/url-parser": "^2.0.5",
"@smithy/node-config-provider": "^2.0.9",
"@smithy/node-http-handler": "^2.1.2",
"@smithy/protocol-http": "^3.0.2",
"@smithy/smithy-client": "^2.1.3",
"@smithy/types": "^2.3.0",
"@smithy/url-parser": "^2.0.6",
"@smithy/util-base64": "^2.0.0",
"@smithy/util-body-length-browser": "^2.0.0",
"@smithy/util-body-length-node": "^2.1.0",
"@smithy/util-defaults-mode-browser": "^2.0.6",
"@smithy/util-defaults-mode-node": "^2.0.6",
"@smithy/util-defaults-mode-browser": "^2.0.7",
"@smithy/util-defaults-mode-node": "^2.0.9",
"@smithy/util-retry": "^2.0.0",
"@smithy/util-utf8": "^2.0.0",
"@smithy/util-waiter": "^2.0.5",
"@smithy/util-waiter": "^2.0.6",
"tslib": "^2.5.0"
},
"devDependencies": {
Expand Down
5 changes: 4 additions & 1 deletion clients/client-acm-pca/src/extensionConfiguration.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// smithy-typescript generated code
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
import { DefaultExtensionConfiguration } from "@smithy/types";

/**
* @internal
*/
export interface ACMPCAExtensionConfiguration extends DefaultExtensionConfiguration {}
export interface ACMPCAExtensionConfiguration
extends HttpHandlerExtensionConfiguration,
DefaultExtensionConfiguration {}
5 changes: 4 additions & 1 deletion clients/client-acm-pca/src/runtimeExtensions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// smithy-typescript generated code
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";

import { ACMPCAExtensionConfiguration } from "./extensionConfiguration";
Expand All @@ -7,7 +8,7 @@ import { ACMPCAExtensionConfiguration } from "./extensionConfiguration";
* @public
*/
export interface RuntimeExtension {
configure(clientConfiguration: ACMPCAExtensionConfiguration): void;
configure(extensionConfiguration: ACMPCAExtensionConfiguration): void;
}

/**
Expand All @@ -25,12 +26,14 @@ const asPartial = <T extends Partial<ACMPCAExtensionConfiguration>>(t: T) => t;
export const resolveRuntimeExtensions = (runtimeConfig: any, extensions: RuntimeExtension[]) => {
const extensionConfiguration: ACMPCAExtensionConfiguration = {
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
};

extensions.forEach((extension) => extension.configure(extensionConfiguration));

return {
...runtimeConfig,
...resolveDefaultRuntimeConfig(extensionConfiguration),
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
};
};
34 changes: 17 additions & 17 deletions clients/client-acm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,29 +32,29 @@
"@aws-sdk/util-endpoints": "*",
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^2.0.5",
"@smithy/fetch-http-handler": "^2.0.5",
"@smithy/hash-node": "^2.0.5",
"@smithy/invalid-dependency": "^2.0.5",
"@smithy/middleware-content-length": "^2.0.5",
"@smithy/middleware-endpoint": "^2.0.5",
"@smithy/middleware-retry": "^2.0.5",
"@smithy/middleware-serde": "^2.0.5",
"@smithy/config-resolver": "^2.0.7",
"@smithy/fetch-http-handler": "^2.1.2",
"@smithy/hash-node": "^2.0.6",
"@smithy/invalid-dependency": "^2.0.6",
"@smithy/middleware-content-length": "^2.0.8",
"@smithy/middleware-endpoint": "^2.0.6",
"@smithy/middleware-retry": "^2.0.9",
"@smithy/middleware-serde": "^2.0.6",
"@smithy/middleware-stack": "^2.0.0",
"@smithy/node-config-provider": "^2.0.6",
"@smithy/node-http-handler": "^2.0.5",
"@smithy/protocol-http": "^2.0.5",
"@smithy/smithy-client": "^2.0.5",
"@smithy/types": "^2.2.2",
"@smithy/url-parser": "^2.0.5",
"@smithy/node-config-provider": "^2.0.9",
"@smithy/node-http-handler": "^2.1.2",
"@smithy/protocol-http": "^3.0.2",
"@smithy/smithy-client": "^2.1.3",
"@smithy/types": "^2.3.0",
"@smithy/url-parser": "^2.0.6",
"@smithy/util-base64": "^2.0.0",
"@smithy/util-body-length-browser": "^2.0.0",
"@smithy/util-body-length-node": "^2.1.0",
"@smithy/util-defaults-mode-browser": "^2.0.6",
"@smithy/util-defaults-mode-node": "^2.0.6",
"@smithy/util-defaults-mode-browser": "^2.0.7",
"@smithy/util-defaults-mode-node": "^2.0.9",
"@smithy/util-retry": "^2.0.0",
"@smithy/util-utf8": "^2.0.0",
"@smithy/util-waiter": "^2.0.5",
"@smithy/util-waiter": "^2.0.6",
"tslib": "^2.5.0"
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion clients/client-acm/src/extensionConfiguration.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// smithy-typescript generated code
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
import { DefaultExtensionConfiguration } from "@smithy/types";

/**
* @internal
*/
export interface ACMExtensionConfiguration extends DefaultExtensionConfiguration {}
export interface ACMExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {}
5 changes: 4 additions & 1 deletion clients/client-acm/src/runtimeExtensions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// smithy-typescript generated code
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";

import { ACMExtensionConfiguration } from "./extensionConfiguration";
Expand All @@ -7,7 +8,7 @@ import { ACMExtensionConfiguration } from "./extensionConfiguration";
* @public
*/
export interface RuntimeExtension {
configure(clientConfiguration: ACMExtensionConfiguration): void;
configure(extensionConfiguration: ACMExtensionConfiguration): void;
}

/**
Expand All @@ -25,12 +26,14 @@ const asPartial = <T extends Partial<ACMExtensionConfiguration>>(t: T) => t;
export const resolveRuntimeExtensions = (runtimeConfig: any, extensions: RuntimeExtension[]) => {
const extensionConfiguration: ACMExtensionConfiguration = {
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
};

extensions.forEach((extension) => extension.configure(extensionConfiguration));

return {
...runtimeConfig,
...resolveDefaultRuntimeConfig(extensionConfiguration),
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
};
};
32 changes: 16 additions & 16 deletions clients/client-alexa-for-business/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,26 @@
"@aws-sdk/util-endpoints": "*",
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^2.0.5",
"@smithy/fetch-http-handler": "^2.0.5",
"@smithy/hash-node": "^2.0.5",
"@smithy/invalid-dependency": "^2.0.5",
"@smithy/middleware-content-length": "^2.0.5",
"@smithy/middleware-endpoint": "^2.0.5",
"@smithy/middleware-retry": "^2.0.5",
"@smithy/middleware-serde": "^2.0.5",
"@smithy/config-resolver": "^2.0.7",
"@smithy/fetch-http-handler": "^2.1.2",
"@smithy/hash-node": "^2.0.6",
"@smithy/invalid-dependency": "^2.0.6",
"@smithy/middleware-content-length": "^2.0.8",
"@smithy/middleware-endpoint": "^2.0.6",
"@smithy/middleware-retry": "^2.0.9",
"@smithy/middleware-serde": "^2.0.6",
"@smithy/middleware-stack": "^2.0.0",
"@smithy/node-config-provider": "^2.0.6",
"@smithy/node-http-handler": "^2.0.5",
"@smithy/protocol-http": "^2.0.5",
"@smithy/smithy-client": "^2.0.5",
"@smithy/types": "^2.2.2",
"@smithy/url-parser": "^2.0.5",
"@smithy/node-config-provider": "^2.0.9",
"@smithy/node-http-handler": "^2.1.2",
"@smithy/protocol-http": "^3.0.2",
"@smithy/smithy-client": "^2.1.3",
"@smithy/types": "^2.3.0",
"@smithy/url-parser": "^2.0.6",
"@smithy/util-base64": "^2.0.0",
"@smithy/util-body-length-browser": "^2.0.0",
"@smithy/util-body-length-node": "^2.1.0",
"@smithy/util-defaults-mode-browser": "^2.0.6",
"@smithy/util-defaults-mode-node": "^2.0.6",
"@smithy/util-defaults-mode-browser": "^2.0.7",
"@smithy/util-defaults-mode-node": "^2.0.9",
"@smithy/util-retry": "^2.0.0",
"@smithy/util-utf8": "^2.0.0",
"tslib": "^2.5.0",
Expand Down
Loading

0 comments on commit d058d78

Please sign in to comment.