Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(codegen): update smithy-typescript commit #5191

Merged
merged 9 commits into from
Sep 8, 2023
  •  
  •  
  •  
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
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