@mavogel/awscdk-rootmail 0.0.110 → 0.0.112
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 +9 -9
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +12 -18
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/CloudWatchLogsClient.js +12 -18
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/CloudWatchLogsClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogsClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +10 -10
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +12 -18
- package/node_modules/@aws-sdk/client-route-53/dist-es/Route53Client.js +12 -18
- package/node_modules/@aws-sdk/client-route-53/dist-types/Route53Client.d.ts +2 -4
- package/node_modules/@aws-sdk/client-route-53/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/Route53Client.d.ts +6 -8
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-route-53/package.json +10 -10
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +38 -35
- package/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +10 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +4 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +15 -15
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +9 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -7
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +6 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -10
- package/node_modules/@aws-sdk/client-s3/package.json +13 -13
- package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +12 -18
- package/node_modules/@aws-sdk/client-ses/dist-es/SESClient.js +12 -18
- package/node_modules/@aws-sdk/client-ses/dist-types/SESClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ses/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/SESClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ses/package.json +10 -10
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +12 -18
- package/node_modules/@aws-sdk/client-ssm/dist-es/SSMClient.js +12 -18
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ssm/package.json +10 -10
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +12 -18
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +12 -18
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso/package.json +7 -7
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +12 -18
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +12 -18
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +9 -9
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +12 -18
- package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +12 -18
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sts/package.json +9 -9
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +27 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +18 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +3 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +10 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +25 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +12 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +17 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +2 -1
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +2 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@smithy/core/package.json +3 -3
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-es/command.js +1 -0
- package/node_modules/@smithy/smithy-client/package.json +1 -1
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/axios/CHANGELOG.md +15 -0
- package/node_modules/axios/dist/axios.js +169 -79
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +1 -1
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +154 -78
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +153 -77
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +1 -1
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +275 -237
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/lib/adapters/fetch.js +31 -29
- package/node_modules/axios/lib/adapters/http.js +25 -15
- package/node_modules/axios/lib/adapters/xhr.js +22 -15
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/AxiosTransformStream.js +3 -52
- package/node_modules/axios/lib/helpers/progressEventReducer.js +16 -4
- package/node_modules/axios/lib/helpers/throttle.js +29 -20
- package/node_modules/axios/lib/helpers/trackStream.js +25 -13
- package/node_modules/axios/lib/utils.js +33 -1
- package/node_modules/axios/package.json +1 -1
- package/node_modules/cdk-nag/.jsii +2 -2
- package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
- package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
- package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
- package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
- package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
- package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
- package/node_modules/cdk-nag/package.json +1 -1
- package/package.json +12 -12
package/.jsii
CHANGED
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
]
|
|
8
8
|
},
|
|
9
9
|
"bundled": {
|
|
10
|
-
"@aws-sdk/client-cloudwatch-logs": "^3.
|
|
11
|
-
"@aws-sdk/client-route-53": "^3.
|
|
12
|
-
"@aws-sdk/client-s3": "^3.
|
|
13
|
-
"@aws-sdk/client-ses": "^3.
|
|
14
|
-
"@aws-sdk/client-ssm": "^3.
|
|
10
|
+
"@aws-sdk/client-cloudwatch-logs": "^3.623.0",
|
|
11
|
+
"@aws-sdk/client-route-53": "^3.623.0",
|
|
12
|
+
"@aws-sdk/client-s3": "^3.623.0",
|
|
13
|
+
"@aws-sdk/client-ses": "^3.623.0",
|
|
14
|
+
"@aws-sdk/client-ssm": "^3.623.0",
|
|
15
15
|
"async-retry": "^1.3.3",
|
|
16
|
-
"axios": "^1.7.
|
|
17
|
-
"cdk-nag": "^2.28.
|
|
16
|
+
"axios": "^1.7.3",
|
|
17
|
+
"cdk-nag": "^2.28.172",
|
|
18
18
|
"mailparser": "^3.7.1",
|
|
19
19
|
"uuid": "^9.0.1"
|
|
20
20
|
},
|
|
@@ -3877,6 +3877,6 @@
|
|
|
3877
3877
|
"symbolId": "src/ses-receive:SESReceiveProps"
|
|
3878
3878
|
}
|
|
3879
3879
|
},
|
|
3880
|
-
"version": "0.0.
|
|
3881
|
-
"fingerprint": "
|
|
3880
|
+
"version": "0.0.112",
|
|
3881
|
+
"fingerprint": "AeBmwkWcoGTauRdJ3umy+gP/smqb2sP5wsT3nhsmThQ="
|
|
3882
3882
|
}
|
package/lib/rootmail.js
CHANGED
|
@@ -74,7 +74,7 @@ class Rootmail extends constructs_1.Construct {
|
|
|
74
74
|
}
|
|
75
75
|
exports.Rootmail = Rootmail;
|
|
76
76
|
_a = JSII_RTTI_SYMBOL_1;
|
|
77
|
-
Rootmail[_a] = { fqn: "@mavogel/awscdk-rootmail.Rootmail", version: "0.0.
|
|
77
|
+
Rootmail[_a] = { fqn: "@mavogel/awscdk-rootmail.Rootmail", version: "0.0.112" };
|
|
78
78
|
/**
|
|
79
79
|
* Aspect for setting all removal policies to DESTROY
|
|
80
80
|
*/
|
package/lib/ses-receive.js
CHANGED
|
@@ -124,7 +124,7 @@ class SESReceive extends constructs_1.Construct {
|
|
|
124
124
|
}
|
|
125
125
|
exports.SESReceive = SESReceive;
|
|
126
126
|
_a = JSII_RTTI_SYMBOL_1;
|
|
127
|
-
SESReceive[_a] = { fqn: "@mavogel/awscdk-rootmail.SESReceive", version: "0.0.
|
|
127
|
+
SESReceive[_a] = { fqn: "@mavogel/awscdk-rootmail.SESReceive", version: "0.0.112" };
|
|
128
128
|
/**
|
|
129
129
|
* Aspect for setting all removal policies to DESTROY
|
|
130
130
|
*/
|
|
@@ -255,26 +255,28 @@ var _CloudWatchLogsClient = class _CloudWatchLogsClient extends import_smithy_cl
|
|
|
255
255
|
constructor(...[configuration]) {
|
|
256
256
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
257
257
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
258
|
-
const _config_2 = (0,
|
|
259
|
-
const _config_3 = (0,
|
|
260
|
-
const _config_4 = (0,
|
|
261
|
-
const _config_5 = (0,
|
|
262
|
-
const _config_6 = (0,
|
|
258
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
259
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
260
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
261
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
262
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
263
263
|
const _config_7 = (0, import_eventstream_serde_config_resolver.resolveEventStreamSerdeConfig)(_config_6);
|
|
264
264
|
const _config_8 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_7);
|
|
265
265
|
const _config_9 = resolveRuntimeExtensions(_config_8, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
266
266
|
super(_config_9);
|
|
267
267
|
this.config = _config_9;
|
|
268
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
269
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
270
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
271
268
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
272
269
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
273
270
|
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
271
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
272
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
273
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
274
274
|
this.middlewareStack.use(
|
|
275
275
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
276
|
-
httpAuthSchemeParametersProvider:
|
|
277
|
-
identityProviderConfigProvider:
|
|
276
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultCloudWatchLogsHttpAuthSchemeParametersProvider,
|
|
277
|
+
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
278
|
+
"aws.auth#sigv4": config.credentials
|
|
279
|
+
})
|
|
278
280
|
})
|
|
279
281
|
);
|
|
280
282
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -287,14 +289,6 @@ var _CloudWatchLogsClient = class _CloudWatchLogsClient extends import_smithy_cl
|
|
|
287
289
|
destroy() {
|
|
288
290
|
super.destroy();
|
|
289
291
|
}
|
|
290
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
291
|
-
return import_httpAuthSchemeProvider.defaultCloudWatchLogsHttpAuthSchemeParametersProvider;
|
|
292
|
-
}
|
|
293
|
-
getIdentityProviderConfigProvider() {
|
|
294
|
-
return async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
295
|
-
"aws.auth#sigv4": config.credentials
|
|
296
|
-
});
|
|
297
|
-
}
|
|
298
292
|
};
|
|
299
293
|
__name(_CloudWatchLogsClient, "CloudWatchLogsClient");
|
|
300
294
|
var CloudWatchLogsClient = _CloudWatchLogsClient;
|
|
@@ -18,37 +18,31 @@ export class CloudWatchLogsClient extends __Client {
|
|
|
18
18
|
constructor(...[configuration]) {
|
|
19
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
20
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
21
|
-
const _config_2 =
|
|
22
|
-
const _config_3 =
|
|
23
|
-
const _config_4 =
|
|
24
|
-
const _config_5 =
|
|
25
|
-
const _config_6 =
|
|
21
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
22
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
23
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
24
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
25
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
26
26
|
const _config_7 = resolveEventStreamSerdeConfig(_config_6);
|
|
27
27
|
const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
|
|
28
28
|
const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
|
|
29
29
|
super(_config_9);
|
|
30
30
|
this.config = _config_9;
|
|
31
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
32
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
33
|
-
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
34
31
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
35
32
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
36
33
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
34
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
35
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
36
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
37
37
|
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
38
|
-
httpAuthSchemeParametersProvider:
|
|
39
|
-
identityProviderConfigProvider:
|
|
38
|
+
httpAuthSchemeParametersProvider: defaultCloudWatchLogsHttpAuthSchemeParametersProvider,
|
|
39
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
40
|
+
"aws.auth#sigv4": config.credentials,
|
|
41
|
+
}),
|
|
40
42
|
}));
|
|
41
43
|
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
42
44
|
}
|
|
43
45
|
destroy() {
|
|
44
46
|
super.destroy();
|
|
45
47
|
}
|
|
46
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
47
|
-
return defaultCloudWatchLogsHttpAuthSchemeParametersProvider;
|
|
48
|
-
}
|
|
49
|
-
getIdentityProviderConfigProvider() {
|
|
50
|
-
return async (config) => new DefaultIdentityProviderConfig({
|
|
51
|
-
"aws.auth#sigv4": config.credentials,
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
48
|
}
|
|
@@ -210,7 +210,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
210
210
|
/**
|
|
211
211
|
* @public
|
|
212
212
|
*/
|
|
213
|
-
export type CloudWatchLogsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults &
|
|
213
|
+
export type CloudWatchLogsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & EventStreamSerdeInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
214
214
|
/**
|
|
215
215
|
* @public
|
|
216
216
|
*
|
|
@@ -221,7 +221,7 @@ export interface CloudWatchLogsClientConfig extends CloudWatchLogsClientConfigTy
|
|
|
221
221
|
/**
|
|
222
222
|
* @public
|
|
223
223
|
*/
|
|
224
|
-
export type CloudWatchLogsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig &
|
|
224
|
+
export type CloudWatchLogsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & EventStreamSerdeResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
225
225
|
/**
|
|
226
226
|
* @public
|
|
227
227
|
*
|
|
@@ -279,6 +279,4 @@ export declare class CloudWatchLogsClient extends __Client<__HttpHandlerOptions,
|
|
|
279
279
|
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
280
280
|
*/
|
|
281
281
|
destroy(): void;
|
|
282
|
-
private getDefaultHttpAuthSchemeParametersProvider;
|
|
283
|
-
private getIdentityProviderConfigProvider;
|
|
284
282
|
}
|
package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/auth/httpAuthSchemeProvider.d.ts
CHANGED
|
@@ -30,12 +30,12 @@ export declare const defaultCloudWatchLogsHttpAuthSchemeProvider: CloudWatchLogs
|
|
|
30
30
|
*/
|
|
31
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
34
|
* @internal
|
|
35
35
|
*/
|
|
36
36
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
39
|
* @internal
|
|
40
40
|
*/
|
|
41
41
|
httpAuthSchemeProvider?: CloudWatchLogsHttpAuthSchemeProvider;
|
|
@@ -45,12 +45,12 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
|
45
45
|
*/
|
|
46
46
|
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
49
|
* @internal
|
|
50
50
|
*/
|
|
51
51
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
54
|
* @internal
|
|
55
55
|
*/
|
|
56
56
|
readonly httpAuthSchemeProvider: CloudWatchLogsHttpAuthSchemeProvider;
|
|
@@ -28,13 +28,13 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
28
28
|
serviceId: string;
|
|
29
29
|
logger: import("@smithy/types").Logger;
|
|
30
30
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
31
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
31
33
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
32
34
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
33
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
34
36
|
}) => import("@smithy/types").EndpointV2;
|
|
35
37
|
tls?: boolean | undefined;
|
|
36
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
37
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
38
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
39
39
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchLogsHttpAuthSchemeProvider;
|
|
40
40
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -28,13 +28,13 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
28
28
|
serviceId: string;
|
|
29
29
|
logger: import("@smithy/types").Logger;
|
|
30
30
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
31
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
31
33
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
32
34
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
33
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
34
36
|
}) => import("@smithy/types").EndpointV2;
|
|
35
37
|
tls?: boolean | undefined;
|
|
36
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
37
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
38
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
39
39
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchLogsHttpAuthSchemeProvider;
|
|
40
40
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -27,13 +27,13 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
27
27
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
28
28
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
29
29
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
30
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
31
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
30
32
|
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
31
33
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
32
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
35
|
}) => import("@smithy/types").EndpointV2;
|
|
34
36
|
tls?: boolean | undefined;
|
|
35
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
36
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
37
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
38
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchLogsHttpAuthSchemeProvider;
|
|
39
39
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogsClient.d.ts
CHANGED
|
@@ -533,11 +533,11 @@ export type CloudWatchLogsClientConfigType = Partial<
|
|
|
533
533
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
534
534
|
> &
|
|
535
535
|
ClientDefaults &
|
|
536
|
-
RegionInputConfig &
|
|
537
|
-
EndpointInputConfig<EndpointParameters> &
|
|
538
|
-
HostHeaderInputConfig &
|
|
539
536
|
UserAgentInputConfig &
|
|
540
537
|
RetryInputConfig &
|
|
538
|
+
RegionInputConfig &
|
|
539
|
+
HostHeaderInputConfig &
|
|
540
|
+
EndpointInputConfig<EndpointParameters> &
|
|
541
541
|
EventStreamSerdeInputConfig &
|
|
542
542
|
HttpAuthSchemeInputConfig &
|
|
543
543
|
ClientInputEndpointParameters;
|
|
@@ -547,11 +547,11 @@ export type CloudWatchLogsClientResolvedConfigType =
|
|
|
547
547
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
548
548
|
Required<ClientDefaults> &
|
|
549
549
|
RuntimeExtensionsConfig &
|
|
550
|
-
RegionResolvedConfig &
|
|
551
|
-
EndpointResolvedConfig<EndpointParameters> &
|
|
552
|
-
HostHeaderResolvedConfig &
|
|
553
550
|
UserAgentResolvedConfig &
|
|
554
551
|
RetryResolvedConfig &
|
|
552
|
+
RegionResolvedConfig &
|
|
553
|
+
HostHeaderResolvedConfig &
|
|
554
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
555
555
|
EventStreamSerdeResolvedConfig &
|
|
556
556
|
HttpAuthSchemeResolvedConfig &
|
|
557
557
|
ClientResolvedEndpointParameters;
|
|
@@ -568,6 +568,4 @@ export declare class CloudWatchLogsClient extends __Client<
|
|
|
568
568
|
...[configuration]: __CheckOptionalClientConfig<CloudWatchLogsClientConfig>
|
|
569
569
|
);
|
|
570
570
|
destroy(): void;
|
|
571
|
-
private getDefaultHttpAuthSchemeParametersProvider;
|
|
572
|
-
private getIdentityProviderConfigProvider;
|
|
573
571
|
}
|
package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.browser.d.ts
CHANGED
|
@@ -33,6 +33,11 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
33
33
|
serviceId: string;
|
|
34
34
|
logger: import("@smithy/types").Logger;
|
|
35
35
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
36
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
37
|
+
retryStrategy?:
|
|
38
|
+
| import("@smithy/types").RetryStrategy
|
|
39
|
+
| import("@smithy/types").RetryStrategyV2
|
|
40
|
+
| undefined;
|
|
36
41
|
endpoint?:
|
|
37
42
|
| ((
|
|
38
43
|
| string
|
|
@@ -57,11 +62,6 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
57
62
|
}
|
|
58
63
|
) => import("@smithy/types").EndpointV2;
|
|
59
64
|
tls?: boolean | undefined;
|
|
60
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
61
|
-
retryStrategy?:
|
|
62
|
-
| import("@smithy/types").RetryStrategy
|
|
63
|
-
| import("@smithy/types").RetryStrategyV2
|
|
64
|
-
| undefined;
|
|
65
65
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
66
66
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchLogsHttpAuthSchemeProvider;
|
|
67
67
|
credentials?:
|
|
@@ -37,6 +37,11 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
37
37
|
serviceId: string;
|
|
38
38
|
logger: import("@smithy/types").Logger;
|
|
39
39
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
41
|
+
retryStrategy?:
|
|
42
|
+
| import("@smithy/types").RetryStrategy
|
|
43
|
+
| import("@smithy/types").RetryStrategyV2
|
|
44
|
+
| undefined;
|
|
40
45
|
endpoint?:
|
|
41
46
|
| ((
|
|
42
47
|
| string
|
|
@@ -61,11 +66,6 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
61
66
|
}
|
|
62
67
|
) => import("@smithy/types").EndpointV2;
|
|
63
68
|
tls?: boolean | undefined;
|
|
64
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
65
|
-
retryStrategy?:
|
|
66
|
-
| import("@smithy/types").RetryStrategy
|
|
67
|
-
| import("@smithy/types").RetryStrategyV2
|
|
68
|
-
| undefined;
|
|
69
69
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
70
70
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchLogsHttpAuthSchemeProvider;
|
|
71
71
|
credentials?:
|
package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.native.d.ts
CHANGED
|
@@ -37,6 +37,11 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
37
37
|
| import("@smithy/types").Provider<
|
|
38
38
|
import("@smithy/smithy-client").DefaultsMode
|
|
39
39
|
>;
|
|
40
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
41
|
+
retryStrategy?:
|
|
42
|
+
| import("@smithy/types").RetryStrategy
|
|
43
|
+
| import("@smithy/types").RetryStrategyV2
|
|
44
|
+
| undefined;
|
|
40
45
|
endpoint?:
|
|
41
46
|
| string
|
|
42
47
|
| import("@smithy/types").Endpoint
|
|
@@ -51,11 +56,6 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
51
56
|
}
|
|
52
57
|
) => import("@smithy/types").EndpointV2;
|
|
53
58
|
tls?: boolean | undefined;
|
|
54
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
55
|
-
retryStrategy?:
|
|
56
|
-
| import("@smithy/types").RetryStrategy
|
|
57
|
-
| import("@smithy/types").RetryStrategyV2
|
|
58
|
-
| undefined;
|
|
59
59
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
60
60
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchLogsHttpAuthSchemeProvider;
|
|
61
61
|
credentials?:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudwatch-logs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudwatch Logs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.623.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudwatch-logs",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.623.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.623.0",
|
|
25
|
+
"@aws-sdk/core": "3.623.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.623.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.5",
|
|
37
|
-
"@smithy/core": "^2.3.
|
|
37
|
+
"@smithy/core": "^2.3.2",
|
|
38
38
|
"@smithy/eventstream-serde-browser": "^3.0.5",
|
|
39
39
|
"@smithy/eventstream-serde-config-resolver": "^3.0.3",
|
|
40
40
|
"@smithy/eventstream-serde-node": "^3.0.4",
|
|
@@ -43,20 +43,20 @@
|
|
|
43
43
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
44
44
|
"@smithy/middleware-content-length": "^3.0.5",
|
|
45
45
|
"@smithy/middleware-endpoint": "^3.1.0",
|
|
46
|
-
"@smithy/middleware-retry": "^3.0.
|
|
46
|
+
"@smithy/middleware-retry": "^3.0.14",
|
|
47
47
|
"@smithy/middleware-serde": "^3.0.3",
|
|
48
48
|
"@smithy/middleware-stack": "^3.0.3",
|
|
49
49
|
"@smithy/node-config-provider": "^3.1.4",
|
|
50
50
|
"@smithy/node-http-handler": "^3.1.4",
|
|
51
51
|
"@smithy/protocol-http": "^4.1.0",
|
|
52
|
-
"@smithy/smithy-client": "^3.1.
|
|
52
|
+
"@smithy/smithy-client": "^3.1.12",
|
|
53
53
|
"@smithy/types": "^3.3.0",
|
|
54
54
|
"@smithy/url-parser": "^3.0.3",
|
|
55
55
|
"@smithy/util-base64": "^3.0.0",
|
|
56
56
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
57
57
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
58
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
59
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
58
|
+
"@smithy/util-defaults-mode-browser": "^3.0.14",
|
|
59
|
+
"@smithy/util-defaults-mode-node": "^3.0.14",
|
|
60
60
|
"@smithy/util-endpoints": "^2.0.5",
|
|
61
61
|
"@smithy/util-middleware": "^3.0.3",
|
|
62
62
|
"@smithy/util-retry": "^3.0.3",
|
|
@@ -294,25 +294,27 @@ var _Route53Client = class _Route53Client extends import_smithy_client.Client {
|
|
|
294
294
|
constructor(...[configuration]) {
|
|
295
295
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
296
296
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
297
|
-
const _config_2 = (0,
|
|
298
|
-
const _config_3 = (0,
|
|
299
|
-
const _config_4 = (0,
|
|
300
|
-
const _config_5 = (0,
|
|
301
|
-
const _config_6 = (0,
|
|
297
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
298
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
299
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
300
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
301
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
302
302
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
303
303
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
304
304
|
super(_config_8);
|
|
305
305
|
this.config = _config_8;
|
|
306
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
307
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
308
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
309
306
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
310
307
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
311
308
|
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
309
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
310
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
311
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
312
312
|
this.middlewareStack.use(
|
|
313
313
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
314
|
-
httpAuthSchemeParametersProvider:
|
|
315
|
-
identityProviderConfigProvider:
|
|
314
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultRoute53HttpAuthSchemeParametersProvider,
|
|
315
|
+
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
316
|
+
"aws.auth#sigv4": config.credentials
|
|
317
|
+
})
|
|
316
318
|
})
|
|
317
319
|
);
|
|
318
320
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -325,14 +327,6 @@ var _Route53Client = class _Route53Client extends import_smithy_client.Client {
|
|
|
325
327
|
destroy() {
|
|
326
328
|
super.destroy();
|
|
327
329
|
}
|
|
328
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
329
|
-
return import_httpAuthSchemeProvider.defaultRoute53HttpAuthSchemeParametersProvider;
|
|
330
|
-
}
|
|
331
|
-
getIdentityProviderConfigProvider() {
|
|
332
|
-
return async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
333
|
-
"aws.auth#sigv4": config.credentials
|
|
334
|
-
});
|
|
335
|
-
}
|
|
336
330
|
};
|
|
337
331
|
__name(_Route53Client, "Route53Client");
|
|
338
332
|
var Route53Client = _Route53Client;
|
|
@@ -17,36 +17,30 @@ export class Route53Client extends __Client {
|
|
|
17
17
|
constructor(...[configuration]) {
|
|
18
18
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
19
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
20
|
-
const _config_2 =
|
|
21
|
-
const _config_3 =
|
|
22
|
-
const _config_4 =
|
|
23
|
-
const _config_5 =
|
|
24
|
-
const _config_6 =
|
|
20
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
21
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
22
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
23
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
24
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
25
25
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
26
26
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
27
27
|
super(_config_8);
|
|
28
28
|
this.config = _config_8;
|
|
29
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
30
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
31
|
-
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
32
29
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
30
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
34
31
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
32
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
33
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
34
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
35
35
|
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
36
|
-
httpAuthSchemeParametersProvider:
|
|
37
|
-
identityProviderConfigProvider:
|
|
36
|
+
httpAuthSchemeParametersProvider: defaultRoute53HttpAuthSchemeParametersProvider,
|
|
37
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
38
|
+
"aws.auth#sigv4": config.credentials,
|
|
39
|
+
}),
|
|
38
40
|
}));
|
|
39
41
|
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
40
42
|
}
|
|
41
43
|
destroy() {
|
|
42
44
|
super.destroy();
|
|
43
45
|
}
|
|
44
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
45
|
-
return defaultRoute53HttpAuthSchemeParametersProvider;
|
|
46
|
-
}
|
|
47
|
-
getIdentityProviderConfigProvider() {
|
|
48
|
-
return async (config) => new DefaultIdentityProviderConfig({
|
|
49
|
-
"aws.auth#sigv4": config.credentials,
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
46
|
}
|
|
@@ -201,7 +201,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
201
201
|
/**
|
|
202
202
|
* @public
|
|
203
203
|
*/
|
|
204
|
-
export type Route53ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults &
|
|
204
|
+
export type Route53ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
205
205
|
/**
|
|
206
206
|
* @public
|
|
207
207
|
*
|
|
@@ -212,7 +212,7 @@ export interface Route53ClientConfig extends Route53ClientConfigType {
|
|
|
212
212
|
/**
|
|
213
213
|
* @public
|
|
214
214
|
*/
|
|
215
|
-
export type Route53ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig &
|
|
215
|
+
export type Route53ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
216
216
|
/**
|
|
217
217
|
* @public
|
|
218
218
|
*
|
|
@@ -252,6 +252,4 @@ export declare class Route53Client extends __Client<__HttpHandlerOptions, Servic
|
|
|
252
252
|
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
253
253
|
*/
|
|
254
254
|
destroy(): void;
|
|
255
|
-
private getDefaultHttpAuthSchemeParametersProvider;
|
|
256
|
-
private getIdentityProviderConfigProvider;
|
|
257
255
|
}
|
|
@@ -30,12 +30,12 @@ export declare const defaultRoute53HttpAuthSchemeProvider: Route53HttpAuthScheme
|
|
|
30
30
|
*/
|
|
31
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
34
|
* @internal
|
|
35
35
|
*/
|
|
36
36
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
39
|
* @internal
|
|
40
40
|
*/
|
|
41
41
|
httpAuthSchemeProvider?: Route53HttpAuthSchemeProvider;
|
|
@@ -45,12 +45,12 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
|
45
45
|
*/
|
|
46
46
|
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
49
|
* @internal
|
|
50
50
|
*/
|
|
51
51
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
54
|
* @internal
|
|
55
55
|
*/
|
|
56
56
|
readonly httpAuthSchemeProvider: Route53HttpAuthSchemeProvider;
|
|
@@ -27,13 +27,13 @@ export declare const getRuntimeConfig: (config: Route53ClientConfig) => {
|
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
31
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
30
32
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
31
33
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
32
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
35
|
}) => import("@smithy/types").EndpointV2;
|
|
34
36
|
tls?: boolean | undefined;
|
|
35
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
36
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
37
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
38
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").Route53HttpAuthSchemeProvider;
|
|
39
39
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|