@aws-sdk/client-codedeploy
Advanced tools
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.resolveHttpAuthSchemeConfig = exports.defaultCodeDeployHttpAuthSchemeProvider = exports.defaultCodeDeployHttpAuthSchemeParametersProvider = void 0; | ||
| const core_1 = require("@aws-sdk/core"); | ||
| const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); | ||
| const util_middleware_1 = require("@smithy/util-middleware"); | ||
@@ -41,3 +41,3 @@ const defaultCodeDeployHttpAuthSchemeParametersProvider = async (config, context, input) => { | ||
| const resolveHttpAuthSchemeConfig = (config) => { | ||
| const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config); | ||
| const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config); | ||
| return Object.assign(config_0, { | ||
@@ -44,0 +44,0 @@ authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []), |
@@ -6,3 +6,4 @@ "use strict"; | ||
| const package_json_1 = tslib_1.__importDefault(require("../package.json")); | ||
| const core_1 = require("@aws-sdk/core"); | ||
| const client_1 = require("@aws-sdk/core/client"); | ||
| const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); | ||
| const credential_provider_node_1 = require("@aws-sdk/credential-provider-node"); | ||
@@ -25,3 +26,3 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node"); | ||
| const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); | ||
| (0, core_1.emitWarningIfUnsupportedVersion)(process.version); | ||
| (0, client_1.emitWarningIfUnsupportedVersion)(process.version); | ||
| const loaderConfig = { | ||
@@ -36,3 +37,3 @@ profile: config?.profile, | ||
| defaultsMode, | ||
| authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), | ||
| authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), | ||
| bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, | ||
@@ -39,0 +40,0 @@ credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider, |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.getRuntimeConfig = void 0; | ||
| const core_1 = require("@aws-sdk/core"); | ||
| const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); | ||
| const protocols_1 = require("@aws-sdk/core/protocols"); | ||
@@ -26,3 +26,3 @@ const smithy_client_1 = require("@smithy/smithy-client"); | ||
| identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), | ||
| signer: new core_1.AwsSdkSigV4Signer(), | ||
| signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(), | ||
| }, | ||
@@ -29,0 +29,0 @@ ], |
@@ -1,2 +0,2 @@ | ||
| import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core"; | ||
| import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes"; | ||
| import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware"; | ||
@@ -3,0 +3,0 @@ export const defaultCodeDeployHttpAuthSchemeParametersProvider = async (config, context, input) => { |
| import packageInfo from "../package.json"; | ||
| import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core"; | ||
| import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client"; | ||
| import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes"; | ||
| import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; | ||
@@ -4,0 +5,0 @@ import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node"; |
@@ -1,2 +0,2 @@ | ||
| import { AwsSdkSigV4Signer } from "@aws-sdk/core"; | ||
| import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes"; | ||
| import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols"; | ||
@@ -3,0 +3,0 @@ import { NoOpLogger } from "@smithy/smithy-client"; |
@@ -1,2 +0,2 @@ | ||
| import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core"; | ||
| import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes"; | ||
| import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types"; | ||
@@ -3,0 +3,0 @@ import { type CodeDeployClientResolvedConfig } from "../CodeDeployClient"; |
@@ -21,3 +21,3 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; | ||
| cacheMiddleware?: boolean | undefined; | ||
| protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol; | ||
| protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol; | ||
| protocolSettings: { | ||
@@ -24,0 +24,0 @@ defaultNamespace?: string; |
@@ -23,3 +23,3 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; | ||
| cacheMiddleware?: boolean | undefined; | ||
| protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol; | ||
| protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol; | ||
| protocolSettings: { | ||
@@ -26,0 +26,0 @@ defaultNamespace?: string; |
@@ -10,3 +10,3 @@ import type { CodeDeployClientConfig } from "./CodeDeployClient"; | ||
| cacheMiddleware?: boolean; | ||
| protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_1Protocol; | ||
| protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol; | ||
| protocolSettings: { | ||
@@ -13,0 +13,0 @@ defaultNamespace?: string; |
@@ -5,3 +5,3 @@ import { | ||
| AwsSdkSigV4PreviouslyResolved, | ||
| } from "@aws-sdk/core"; | ||
| } from "@aws-sdk/core/httpAuthSchemes"; | ||
| import { | ||
@@ -8,0 +8,0 @@ HandlerExecutionContext, |
@@ -33,3 +33,3 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; | ||
| | import("@smithy/types").ClientProtocolCtor<any, any> | ||
| | typeof import("@aws-sdk/core").AwsJson1_1Protocol; | ||
| | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol; | ||
| protocolSettings: { | ||
@@ -36,0 +36,0 @@ defaultNamespace?: string; |
@@ -33,3 +33,3 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; | ||
| | import("@smithy/types").ClientProtocolCtor<any, any> | ||
| | typeof import("@aws-sdk/core").AwsJson1_1Protocol; | ||
| | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol; | ||
| protocolSettings: { | ||
@@ -36,0 +36,0 @@ defaultNamespace?: string; |
@@ -15,3 +15,3 @@ import { CodeDeployClientConfig } from "./CodeDeployClient"; | ||
| | import("@smithy/types").ClientProtocolCtor<any, any> | ||
| | typeof import("@aws-sdk/core").AwsJson1_1Protocol; | ||
| | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol; | ||
| protocolSettings: { | ||
@@ -18,0 +18,0 @@ defaultNamespace?: string; |
+2
-2
| { | ||
| "name": "@aws-sdk/client-codedeploy", | ||
| "description": "AWS SDK for JavaScript Codedeploy Client for Node.js, Browser and React Native", | ||
| "version": "3.1018.0", | ||
| "version": "3.1019.0", | ||
| "scripts": { | ||
@@ -27,3 +27,3 @@ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", | ||
| "@aws-sdk/core": "^3.973.25", | ||
| "@aws-sdk/credential-provider-node": "^3.972.26", | ||
| "@aws-sdk/credential-provider-node": "^3.972.27", | ||
| "@aws-sdk/middleware-host-header": "^3.972.8", | ||
@@ -30,0 +30,0 @@ "@aws-sdk/middleware-logger": "^3.972.8", |
1289597
0.03%30649
0.01%