@cdk8s/awscdk-resolver 0.0.63 → 0.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +4 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +1 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +1 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +3 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -13
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +2 -14
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -13
- package/node_modules/@aws-sdk/client-cloudformation/package.json +35 -35
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -13
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +2 -14
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -13
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +1 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +1 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -13
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +2 -14
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -13
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +1 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -13
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +2 -14
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -13
- package/node_modules/@aws-sdk/client-sts/package.json +33 -33
- package/node_modules/@aws-sdk/core/CHANGELOG.md +22 -0
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +7 -8
- package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +5 -0
- package/node_modules/@aws-sdk/core/integ/request-handlers/request-handlers.integ.spec.ts +158 -0
- package/node_modules/@aws-sdk/core/jest.config.integ.js +4 -0
- package/node_modules/@aws-sdk/core/package.json +8 -7
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.spec.ts +30 -0
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts +10 -8
- package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
- package/node_modules/@smithy/abort-controller/dist-cjs/index.js +1 -4
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +10 -10
- package/node_modules/@smithy/config-resolver/package.json +4 -4
- package/node_modules/@smithy/core/package.json +8 -8
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +5 -5
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/eventstream-codec/package.json +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +4 -4
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +4 -4
- package/node_modules/@smithy/middleware-endpoint/package.json +7 -7
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +11 -10
- package/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +1 -0
- package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +7 -2
- package/node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts +3 -0
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts +7 -2
- package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryDecider.d.ts +3 -0
- package/node_modules/@smithy/middleware-retry/package.json +9 -9
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +54 -4
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +41 -3
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +12 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +11 -0
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +22 -3
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +20 -1
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +10 -4
- package/node_modules/@smithy/service-error-classification/dist-es/index.js +3 -1
- package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +7 -0
- package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts +7 -0
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +7 -7
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +1 -1
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +5 -5
- package/node_modules/@smithy/signature-v4/package.json +5 -5
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +38 -38
- package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +6 -3
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +6 -3
- package/node_modules/@smithy/smithy-client/package.json +6 -6
- package/node_modules/@smithy/types/dist-cjs/index.js +7 -7
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +18 -4
- package/node_modules/@smithy/types/dist-types/retry.d.ts +6 -1
- package/node_modules/@smithy/types/dist-types/shapes.d.ts +10 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +18 -4
- package/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +6 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +10 -1
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +10 -10
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +5 -5
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/package.json +5 -5
@@ -454,14 +454,14 @@ var getCanonicalHeaderList = /* @__PURE__ */ __name((headers) => Object.keys(hea
|
|
454
454
|
// Annotate the CommonJS export names for ESM import in node:
|
455
455
|
|
456
456
|
0 && (module.exports = {
|
457
|
-
SignatureV4,
|
458
|
-
clearCredentialCache,
|
459
|
-
createScope,
|
460
457
|
getCanonicalHeaders,
|
461
458
|
getCanonicalQuery,
|
462
459
|
getPayloadHash,
|
463
|
-
getSigningKey,
|
464
460
|
moveHeadersToQuery,
|
465
|
-
prepareRequest
|
461
|
+
prepareRequest,
|
462
|
+
SignatureV4,
|
463
|
+
createScope,
|
464
|
+
getSigningKey,
|
465
|
+
clearCredentialCache
|
466
466
|
});
|
467
467
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/signature-v4",
|
3
|
-
"version": "2.1.
|
3
|
+
"version": "2.1.3",
|
4
4
|
"description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -24,18 +24,18 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/eventstream-codec": "^2.1.
|
27
|
+
"@smithy/eventstream-codec": "^2.1.3",
|
28
28
|
"@smithy/is-array-buffer": "^2.1.1",
|
29
|
-
"@smithy/types": "^2.
|
29
|
+
"@smithy/types": "^2.10.1",
|
30
30
|
"@smithy/util-hex-encoding": "^2.1.1",
|
31
|
-
"@smithy/util-middleware": "^2.1.
|
31
|
+
"@smithy/util-middleware": "^2.1.3",
|
32
32
|
"@smithy/util-uri-escape": "^2.1.1",
|
33
33
|
"@smithy/util-utf8": "^2.1.1",
|
34
34
|
"tslib": "^2.5.0"
|
35
35
|
},
|
36
36
|
"devDependencies": {
|
37
37
|
"@aws-crypto/sha256-js": "3.0.0",
|
38
|
-
"@smithy/protocol-http": "^3.
|
38
|
+
"@smithy/protocol-http": "^3.2.1",
|
39
39
|
"@tsconfig/recommended": "1.0.1",
|
40
40
|
"concurrently": "7.0.0",
|
41
41
|
"downlevel-dts": "0.10.1",
|
@@ -1194,63 +1194,63 @@ __name(splitEvery, "splitEvery");
|
|
1194
1194
|
// Annotate the CommonJS export names for ESM import in node:
|
1195
1195
|
|
1196
1196
|
0 && (module.exports = {
|
1197
|
+
NoOpLogger,
|
1197
1198
|
Client,
|
1199
|
+
collectBody,
|
1198
1200
|
Command,
|
1199
|
-
LazyJsonString,
|
1200
|
-
NoOpLogger,
|
1201
1201
|
SENSITIVE_STRING,
|
1202
|
-
ServiceException,
|
1203
|
-
StringWrapper,
|
1204
|
-
_json,
|
1205
|
-
collectBody,
|
1206
|
-
convertMap,
|
1207
1202
|
createAggregatedClient,
|
1208
1203
|
dateToUtcString,
|
1209
|
-
|
1204
|
+
parseRfc3339DateTime,
|
1205
|
+
parseRfc3339DateTimeWithOffset,
|
1206
|
+
parseRfc7231DateTime,
|
1207
|
+
parseEpochTimestamp,
|
1208
|
+
throwDefaultError,
|
1209
|
+
withBaseException,
|
1210
|
+
loadConfigsForDefaultMode,
|
1210
1211
|
emitWarningIfUnsupportedVersion,
|
1212
|
+
getDefaultExtensionConfiguration,
|
1213
|
+
getDefaultClientConfiguration,
|
1214
|
+
resolveDefaultRuntimeConfig,
|
1215
|
+
ServiceException,
|
1216
|
+
decorateServiceException,
|
1217
|
+
extendedEncodeURIComponent,
|
1218
|
+
getArrayIfSingleItem,
|
1219
|
+
getValueFromTextNode,
|
1220
|
+
StringWrapper,
|
1221
|
+
LazyJsonString,
|
1222
|
+
map,
|
1223
|
+
convertMap,
|
1224
|
+
take,
|
1225
|
+
parseBoolean,
|
1211
1226
|
expectBoolean,
|
1212
|
-
|
1227
|
+
expectNumber,
|
1213
1228
|
expectFloat32,
|
1229
|
+
expectLong,
|
1214
1230
|
expectInt,
|
1215
1231
|
expectInt32,
|
1216
|
-
|
1232
|
+
expectShort,
|
1233
|
+
expectByte,
|
1217
1234
|
expectNonNull,
|
1218
|
-
expectNumber,
|
1219
1235
|
expectObject,
|
1220
|
-
expectShort,
|
1221
1236
|
expectString,
|
1222
1237
|
expectUnion,
|
1223
|
-
extendedEncodeURIComponent,
|
1224
|
-
getArrayIfSingleItem,
|
1225
|
-
getDefaultClientConfiguration,
|
1226
|
-
getDefaultExtensionConfiguration,
|
1227
|
-
getValueFromTextNode,
|
1228
|
-
handleFloat,
|
1229
|
-
limitedParseDouble,
|
1230
|
-
limitedParseFloat,
|
1231
|
-
limitedParseFloat32,
|
1232
|
-
loadConfigsForDefaultMode,
|
1233
|
-
logger,
|
1234
|
-
map,
|
1235
|
-
parseBoolean,
|
1236
|
-
parseEpochTimestamp,
|
1237
|
-
parseRfc3339DateTime,
|
1238
|
-
parseRfc3339DateTimeWithOffset,
|
1239
|
-
parseRfc7231DateTime,
|
1240
|
-
resolveDefaultRuntimeConfig,
|
1241
|
-
resolvedPath,
|
1242
|
-
serializeFloat,
|
1243
|
-
splitEvery,
|
1244
|
-
strictParseByte,
|
1245
1238
|
strictParseDouble,
|
1246
1239
|
strictParseFloat,
|
1247
1240
|
strictParseFloat32,
|
1241
|
+
limitedParseDouble,
|
1242
|
+
handleFloat,
|
1243
|
+
limitedParseFloat,
|
1244
|
+
limitedParseFloat32,
|
1245
|
+
strictParseLong,
|
1248
1246
|
strictParseInt,
|
1249
1247
|
strictParseInt32,
|
1250
|
-
strictParseLong,
|
1251
1248
|
strictParseShort,
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1249
|
+
strictParseByte,
|
1250
|
+
logger,
|
1251
|
+
resolvedPath,
|
1252
|
+
serializeFloat,
|
1253
|
+
_json,
|
1254
|
+
splitEvery
|
1255
1255
|
});
|
1256
1256
|
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { Client as IClient, Command, MetadataBearer, MiddlewareStack, RequestHandler } from "@smithy/types";
|
1
|
+
import { Client as IClient, Command, FetchHttpHandlerOptions, MetadataBearer, MiddlewareStack, NodeHttpHandlerOptions, RequestHandler } from "@smithy/types";
|
2
2
|
/**
|
3
3
|
* @public
|
4
4
|
*/
|
5
5
|
export interface SmithyConfiguration<HandlerOptions> {
|
6
|
-
requestHandler: RequestHandler<any, any, HandlerOptions>;
|
6
|
+
requestHandler: RequestHandler<any, any, HandlerOptions> | NodeHttpHandlerOptions | FetchHttpHandlerOptions | Record<string, unknown>;
|
7
7
|
/**
|
8
8
|
* The API version set internally by the SDK, and is
|
9
9
|
* not planned to be used by customer code.
|
@@ -14,7 +14,10 @@ export interface SmithyConfiguration<HandlerOptions> {
|
|
14
14
|
/**
|
15
15
|
* @internal
|
16
16
|
*/
|
17
|
-
export type SmithyResolvedConfiguration<HandlerOptions> =
|
17
|
+
export type SmithyResolvedConfiguration<HandlerOptions> = {
|
18
|
+
requestHandler: RequestHandler<any, any, HandlerOptions>;
|
19
|
+
readonly apiVersion: string;
|
20
|
+
};
|
18
21
|
/**
|
19
22
|
* @public
|
20
23
|
*/
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { Client as IClient, Command, MetadataBearer, MiddlewareStack, RequestHandler } from "@smithy/types";
|
1
|
+
import { Client as IClient, Command, FetchHttpHandlerOptions, MetadataBearer, MiddlewareStack, NodeHttpHandlerOptions, RequestHandler } from "@smithy/types";
|
2
2
|
/**
|
3
3
|
* @public
|
4
4
|
*/
|
5
5
|
export interface SmithyConfiguration<HandlerOptions> {
|
6
|
-
requestHandler: RequestHandler<any, any, HandlerOptions>;
|
6
|
+
requestHandler: RequestHandler<any, any, HandlerOptions> | NodeHttpHandlerOptions | FetchHttpHandlerOptions | Record<string, unknown>;
|
7
7
|
/**
|
8
8
|
* The API version set internally by the SDK, and is
|
9
9
|
* not planned to be used by customer code.
|
@@ -14,7 +14,10 @@ export interface SmithyConfiguration<HandlerOptions> {
|
|
14
14
|
/**
|
15
15
|
* @internal
|
16
16
|
*/
|
17
|
-
export type SmithyResolvedConfiguration<HandlerOptions> =
|
17
|
+
export type SmithyResolvedConfiguration<HandlerOptions> = {
|
18
|
+
requestHandler: RequestHandler<any, any, HandlerOptions>;
|
19
|
+
readonly apiVersion: string;
|
20
|
+
};
|
18
21
|
/**
|
19
22
|
* @public
|
20
23
|
*/
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/smithy-client",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.4.2",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline smithy-client",
|
@@ -23,11 +23,11 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/middleware-endpoint": "^2.4.
|
27
|
-
"@smithy/middleware-stack": "^2.1.
|
28
|
-
"@smithy/protocol-http": "^3.
|
29
|
-
"@smithy/types": "^2.
|
30
|
-
"@smithy/util-stream": "^2.1.
|
26
|
+
"@smithy/middleware-endpoint": "^2.4.4",
|
27
|
+
"@smithy/middleware-stack": "^2.1.3",
|
28
|
+
"@smithy/protocol-http": "^3.2.1",
|
29
|
+
"@smithy/types": "^2.10.1",
|
30
|
+
"@smithy/util-stream": "^2.1.3",
|
31
31
|
"tslib": "^2.5.0"
|
32
32
|
},
|
33
33
|
"engines": {
|
@@ -135,15 +135,15 @@ var RequestHandlerProtocol = /* @__PURE__ */ ((RequestHandlerProtocol2) => {
|
|
135
135
|
// Annotate the CommonJS export names for ESM import in node:
|
136
136
|
|
137
137
|
0 && (module.exports = {
|
138
|
-
|
138
|
+
HttpAuthLocation,
|
139
|
+
HttpApiKeyAuthLocation,
|
139
140
|
EndpointURLScheme,
|
141
|
+
AlgorithmId,
|
142
|
+
getDefaultClientConfiguration,
|
143
|
+
resolveDefaultRuntimeConfig,
|
140
144
|
FieldPosition,
|
141
|
-
HttpApiKeyAuthLocation,
|
142
|
-
HttpAuthLocation,
|
143
|
-
IniSectionType,
|
144
|
-
RequestHandlerProtocol,
|
145
145
|
SMITHY_CONTEXT_KEY,
|
146
|
-
|
147
|
-
|
146
|
+
IniSectionType,
|
147
|
+
RequestHandlerProtocol
|
148
148
|
});
|
149
149
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
/// <reference types="node" />
|
3
|
-
import type { Agent as hAgent } from "http";
|
4
|
-
import type { Agent as hsAgent } from "https";
|
3
|
+
import type { Agent as hAgent, AgentOptions as hAgentOptions } from "http";
|
4
|
+
import type { Agent as hsAgent, AgentOptions as hsAgentOptions } from "https";
|
5
5
|
/**
|
6
6
|
*
|
7
7
|
* This type represents an alternate client constructor option for the entry
|
@@ -32,6 +32,14 @@ export interface NodeHttpHandlerOptions {
|
|
32
32
|
* Defaults to 0, which disables the timeout.
|
33
33
|
*/
|
34
34
|
requestTimeout?: number;
|
35
|
+
/**
|
36
|
+
* Delay before the NodeHttpHandler checks for socket exhaustion,
|
37
|
+
* and emits a warning if the active sockets and enqueued request count is greater than
|
38
|
+
* 2x the maxSockets count.
|
39
|
+
*
|
40
|
+
* Defaults to connectionTimeout + requestTimeout or 3000ms if those are not set.
|
41
|
+
*/
|
42
|
+
socketAcquisitionWarningTimeout?: number;
|
35
43
|
/**
|
36
44
|
* @deprecated Use {@link requestTimeout}
|
37
45
|
*
|
@@ -39,8 +47,14 @@ export interface NodeHttpHandlerOptions {
|
|
39
47
|
* is closed.
|
40
48
|
*/
|
41
49
|
socketTimeout?: number;
|
42
|
-
|
43
|
-
|
50
|
+
/**
|
51
|
+
* You can pass http.Agent or its constructor options.
|
52
|
+
*/
|
53
|
+
httpAgent?: hAgent | hAgentOptions;
|
54
|
+
/**
|
55
|
+
* You can pass https.Agent or its constructor options.
|
56
|
+
*/
|
57
|
+
httpsAgent?: hsAgent | hsAgentOptions;
|
44
58
|
}
|
45
59
|
/**
|
46
60
|
* Represents the http options that can be passed to a browser http client.
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { SdkError } from "./shapes";
|
1
2
|
/**
|
2
3
|
* @public
|
3
4
|
*/
|
@@ -29,13 +30,17 @@ export type RetryErrorType =
|
|
29
30
|
* @public
|
30
31
|
*/
|
31
32
|
export interface RetryErrorInfo {
|
33
|
+
/**
|
34
|
+
* The error thrown during the initial request, if available.
|
35
|
+
*/
|
36
|
+
error?: SdkError;
|
32
37
|
errorType: RetryErrorType;
|
33
38
|
/**
|
34
39
|
* Protocol hint. This could come from Http's 'retry-after' header or
|
35
40
|
* something from MQTT or any other protocol that has the ability to convey
|
36
41
|
* retry info from a peer.
|
37
42
|
*
|
38
|
-
*
|
43
|
+
* The Date after which a retry should be attempted.
|
39
44
|
*/
|
40
45
|
retryAfterHint?: Date;
|
41
46
|
}
|
@@ -69,4 +69,13 @@ export interface SmithyException {
|
|
69
69
|
* the base exception for the service should be used. Each client exports
|
70
70
|
* a base ServiceException prefixed with the service name.
|
71
71
|
*/
|
72
|
-
export type SdkError = Error & Partial<SmithyException> & Partial<MetadataBearer
|
72
|
+
export type SdkError = Error & Partial<SmithyException> & Partial<MetadataBearer> & {
|
73
|
+
$metadata?: Partial<MetadataBearer>["$metadata"] & {
|
74
|
+
/**
|
75
|
+
* If present, will have value of true and indicates that the error resulted in a
|
76
|
+
* correction of the clock skew, a.k.a. config.systemClockOffset.
|
77
|
+
* This is specific to AWS SDK and sigv4.
|
78
|
+
*/
|
79
|
+
readonly clockSkewCorrected?: true;
|
80
|
+
};
|
81
|
+
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/// <reference types="node" />
|
2
|
-
import { Agent as hAgent } from "http";
|
3
|
-
import { Agent as hsAgent } from "https";
|
2
|
+
import { Agent as hAgent, AgentOptions as hAgentOptions } from "http";
|
3
|
+
import { Agent as hsAgent, AgentOptions as hsAgentOptions } from "https";
|
4
4
|
/**
|
5
5
|
*
|
6
6
|
* This type represents an alternate client constructor option for the entry
|
@@ -31,6 +31,14 @@ export interface NodeHttpHandlerOptions {
|
|
31
31
|
* Defaults to 0, which disables the timeout.
|
32
32
|
*/
|
33
33
|
requestTimeout?: number;
|
34
|
+
/**
|
35
|
+
* Delay before the NodeHttpHandler checks for socket exhaustion,
|
36
|
+
* and emits a warning if the active sockets and enqueued request count is greater than
|
37
|
+
* 2x the maxSockets count.
|
38
|
+
*
|
39
|
+
* Defaults to connectionTimeout + requestTimeout or 3000ms if those are not set.
|
40
|
+
*/
|
41
|
+
socketAcquisitionWarningTimeout?: number;
|
34
42
|
/**
|
35
43
|
* @deprecated Use {@link requestTimeout}
|
36
44
|
*
|
@@ -38,8 +46,14 @@ export interface NodeHttpHandlerOptions {
|
|
38
46
|
* is closed.
|
39
47
|
*/
|
40
48
|
socketTimeout?: number;
|
41
|
-
|
42
|
-
|
49
|
+
/**
|
50
|
+
* You can pass http.Agent or its constructor options.
|
51
|
+
*/
|
52
|
+
httpAgent?: hAgent | hAgentOptions;
|
53
|
+
/**
|
54
|
+
* You can pass https.Agent or its constructor options.
|
55
|
+
*/
|
56
|
+
httpsAgent?: hsAgent | hsAgentOptions;
|
43
57
|
}
|
44
58
|
/**
|
45
59
|
* Represents the http options that can be passed to a browser http client.
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { SdkError } from "./shapes";
|
1
2
|
/**
|
2
3
|
* @public
|
3
4
|
*/
|
@@ -29,13 +30,17 @@ export type RetryErrorType =
|
|
29
30
|
* @public
|
30
31
|
*/
|
31
32
|
export interface RetryErrorInfo {
|
33
|
+
/**
|
34
|
+
* The error thrown during the initial request, if available.
|
35
|
+
*/
|
36
|
+
error?: SdkError;
|
32
37
|
errorType: RetryErrorType;
|
33
38
|
/**
|
34
39
|
* Protocol hint. This could come from Http's 'retry-after' header or
|
35
40
|
* something from MQTT or any other protocol that has the ability to convey
|
36
41
|
* retry info from a peer.
|
37
42
|
*
|
38
|
-
*
|
43
|
+
* The Date after which a retry should be attempted.
|
39
44
|
*/
|
40
45
|
retryAfterHint?: Date;
|
41
46
|
}
|
@@ -69,4 +69,13 @@ export interface SmithyException {
|
|
69
69
|
* the base exception for the service should be used. Each client exports
|
70
70
|
* a base ServiceException prefixed with the service name.
|
71
71
|
*/
|
72
|
-
export type SdkError = Error & Partial<SmithyException> & Partial<MetadataBearer
|
72
|
+
export type SdkError = Error & Partial<SmithyException> & Partial<MetadataBearer> & {
|
73
|
+
$metadata?: Partial<MetadataBearer>["$metadata"] & {
|
74
|
+
/**
|
75
|
+
* If present, will have value of true and indicates that the error resulted in a
|
76
|
+
* correction of the clock skew, a.k.a. config.systemClockOffset.
|
77
|
+
* This is specific to AWS SDK and sigv4.
|
78
|
+
*/
|
79
|
+
readonly clockSkewCorrected?: true;
|
80
|
+
};
|
81
|
+
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/url-parser",
|
3
|
-
"version": "2.1.
|
3
|
+
"version": "2.1.3",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline url-parser",
|
@@ -22,8 +22,8 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@smithy/querystring-parser": "^2.1.
|
26
|
-
"@smithy/types": "^2.
|
25
|
+
"@smithy/querystring-parser": "^2.1.3",
|
26
|
+
"@smithy/types": "^2.10.1",
|
27
27
|
"tslib": "^2.5.0"
|
28
28
|
},
|
29
29
|
"typesVersions": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
3
|
-
"version": "2.1.
|
3
|
+
"version": "2.1.4",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
|
@@ -22,9 +22,9 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@smithy/property-provider": "^2.1.
|
26
|
-
"@smithy/smithy-client": "^2.
|
27
|
-
"@smithy/types": "^2.
|
25
|
+
"@smithy/property-provider": "^2.1.3",
|
26
|
+
"@smithy/smithy-client": "^2.4.2",
|
27
|
+
"@smithy/types": "^2.10.1",
|
28
28
|
"bowser": "^2.11.0",
|
29
29
|
"tslib": "^2.5.0"
|
30
30
|
},
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
3
|
-
"version": "2.2.
|
3
|
+
"version": "2.2.3",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-node",
|
@@ -22,12 +22,12 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@smithy/config-resolver": "^2.1.
|
26
|
-
"@smithy/credential-provider-imds": "^2.2.
|
27
|
-
"@smithy/node-config-provider": "^2.2.
|
28
|
-
"@smithy/property-provider": "^2.1.
|
29
|
-
"@smithy/smithy-client": "^2.
|
30
|
-
"@smithy/types": "^2.
|
25
|
+
"@smithy/config-resolver": "^2.1.4",
|
26
|
+
"@smithy/credential-provider-imds": "^2.2.4",
|
27
|
+
"@smithy/node-config-provider": "^2.2.4",
|
28
|
+
"@smithy/property-provider": "^2.1.3",
|
29
|
+
"@smithy/smithy-client": "^2.4.2",
|
30
|
+
"@smithy/types": "^2.10.1",
|
31
31
|
"tslib": "^2.5.0"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
@@ -475,10 +475,10 @@ var resolveEndpoint = /* @__PURE__ */ __name((ruleSetObject, options) => {
|
|
475
475
|
// Annotate the CommonJS export names for ESM import in node:
|
476
476
|
|
477
477
|
0 && (module.exports = {
|
478
|
-
EndpointError,
|
479
|
-
customEndpointFunctions,
|
480
478
|
isIpAddress,
|
481
479
|
isValidHostLabel,
|
482
|
-
|
480
|
+
customEndpointFunctions,
|
481
|
+
resolveEndpoint,
|
482
|
+
EndpointError
|
483
483
|
});
|
484
484
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-endpoints",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.4",
|
4
4
|
"description": "Utilities to help with endpoint resolution.",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -26,8 +26,8 @@
|
|
26
26
|
},
|
27
27
|
"license": "Apache-2.0",
|
28
28
|
"dependencies": {
|
29
|
-
"@smithy/node-config-provider": "^2.2.
|
30
|
-
"@smithy/types": "^2.
|
29
|
+
"@smithy/node-config-provider": "^2.2.4",
|
30
|
+
"@smithy/types": "^2.10.1",
|
31
31
|
"tslib": "^2.5.0"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-middleware",
|
3
|
-
"version": "2.1.
|
3
|
+
"version": "2.1.3",
|
4
4
|
"description": "Shared utilities for to be used in middleware packages.",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -26,7 +26,7 @@
|
|
26
26
|
},
|
27
27
|
"license": "Apache-2.0",
|
28
28
|
"dependencies": {
|
29
|
-
"@smithy/types": "^2.
|
29
|
+
"@smithy/types": "^2.10.1",
|
30
30
|
"tslib": "^2.5.0"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
@@ -329,19 +329,19 @@ var ConfiguredRetryStrategy = _ConfiguredRetryStrategy;
|
|
329
329
|
0 && (module.exports = {
|
330
330
|
AdaptiveRetryStrategy,
|
331
331
|
ConfiguredRetryStrategy,
|
332
|
+
DefaultRateLimiter,
|
333
|
+
StandardRetryStrategy,
|
334
|
+
RETRY_MODES,
|
332
335
|
DEFAULT_MAX_ATTEMPTS,
|
333
|
-
DEFAULT_RETRY_DELAY_BASE,
|
334
336
|
DEFAULT_RETRY_MODE,
|
335
|
-
|
336
|
-
INITIAL_RETRY_TOKENS,
|
337
|
-
INVOCATION_ID_HEADER,
|
337
|
+
DEFAULT_RETRY_DELAY_BASE,
|
338
338
|
MAXIMUM_RETRY_DELAY,
|
339
|
-
NO_RETRY_INCREMENT,
|
340
|
-
REQUEST_HEADER,
|
341
|
-
RETRY_COST,
|
342
|
-
RETRY_MODES,
|
343
|
-
StandardRetryStrategy,
|
344
339
|
THROTTLING_RETRY_DELAY_BASE,
|
345
|
-
|
340
|
+
INITIAL_RETRY_TOKENS,
|
341
|
+
RETRY_COST,
|
342
|
+
TIMEOUT_RETRY_COST,
|
343
|
+
NO_RETRY_INCREMENT,
|
344
|
+
INVOCATION_ID_HEADER,
|
345
|
+
REQUEST_HEADER
|
346
346
|
});
|
347
347
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-retry",
|
3
|
-
"version": "2.1.
|
3
|
+
"version": "2.1.3",
|
4
4
|
"description": "Shared retry utilities to be used in middleware packages.",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -27,8 +27,8 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@smithy/service-error-classification": "^2.1.
|
31
|
-
"@smithy/types": "^2.
|
30
|
+
"@smithy/service-error-classification": "^2.1.3",
|
31
|
+
"@smithy/types": "^2.10.1",
|
32
32
|
"tslib": "^2.5.0"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-stream",
|
3
|
-
"version": "2.1.
|
3
|
+
"version": "2.1.3",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline util-stream",
|
@@ -24,9 +24,9 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/fetch-http-handler": "^2.4.
|
28
|
-
"@smithy/node-http-handler": "^2.
|
29
|
-
"@smithy/types": "^2.
|
27
|
+
"@smithy/fetch-http-handler": "^2.4.3",
|
28
|
+
"@smithy/node-http-handler": "^2.4.1",
|
29
|
+
"@smithy/types": "^2.10.1",
|
30
30
|
"@smithy/util-base64": "^2.1.1",
|
31
31
|
"@smithy/util-buffer-from": "^2.1.1",
|
32
32
|
"@smithy/util-hex-encoding": "^2.1.1",
|
@@ -34,7 +34,7 @@
|
|
34
34
|
"tslib": "^2.5.0"
|
35
35
|
},
|
36
36
|
"devDependencies": {
|
37
|
-
"@smithy/util-test": "^0.1.
|
37
|
+
"@smithy/util-test": "^0.1.16",
|
38
38
|
"@types/chai-as-promised": "^7.1.2",
|
39
39
|
"@types/node": "^14.14.31",
|
40
40
|
"chai": "^4.2.0",
|
@@ -147,9 +147,9 @@ var createWaiter = /* @__PURE__ */ __name(async (options, input, acceptorChecks)
|
|
147
147
|
// Annotate the CommonJS export names for ESM import in node:
|
148
148
|
|
149
149
|
0 && (module.exports = {
|
150
|
-
WaiterState,
|
151
|
-
checkExceptions,
|
152
150
|
createWaiter,
|
153
|
-
waiterServiceDefaults
|
151
|
+
waiterServiceDefaults,
|
152
|
+
WaiterState,
|
153
|
+
checkExceptions
|
154
154
|
});
|
155
155
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-waiter",
|
3
|
-
"version": "2.1.
|
3
|
+
"version": "2.1.3",
|
4
4
|
"description": "Shared utilities for client waiters for the AWS SDK",
|
5
5
|
"dependencies": {
|
6
|
-
"@smithy/abort-controller": "^2.1.
|
7
|
-
"@smithy/types": "^2.
|
6
|
+
"@smithy/abort-controller": "^2.1.3",
|
7
|
+
"@smithy/types": "^2.10.1",
|
8
8
|
"tslib": "^2.5.0"
|
9
9
|
},
|
10
10
|
"scripts": {
|