@aws-sdk/client-cloudwatch-logs 3.1018.0 → 3.1020.0
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/README.md +35 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +2 -2
- package/dist-cjs/index.js +70 -0
- package/dist-cjs/runtimeConfig.js +4 -3
- package/dist-cjs/runtimeConfig.shared.js +2 -2
- package/dist-cjs/schemas/schemas_0.js +110 -16
- package/dist-es/CloudWatchLogs.js +14 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/CreateLookupTableCommand.js +16 -0
- package/dist-es/commands/DeleteLookupTableCommand.js +16 -0
- package/dist-es/commands/DescribeLookupTablesCommand.js +16 -0
- package/dist-es/commands/GetLookupTableCommand.js +16 -0
- package/dist-es/commands/UpdateLookupTableCommand.js +16 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-es/runtimeConfig.shared.js +1 -1
- package/dist-es/schemas/schemas_0.js +101 -7
- package/dist-types/CloudWatchLogs.d.ts +144 -108
- package/dist-types/CloudWatchLogsClient.d.ts +118 -113
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/commands/CreateLookupTableCommand.d.ts +103 -0
- package/dist-types/commands/DeleteLookupTableCommand.d.ts +86 -0
- package/dist-types/commands/DescribeLookupTablesCommand.d.ts +103 -0
- package/dist-types/commands/GetLogFieldsCommand.d.ts +2 -1
- package/dist-types/commands/GetLookupTableCommand.d.ts +92 -0
- package/dist-types/commands/UpdateLookupTableCommand.d.ts +97 -0
- package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +216 -201
- package/dist-types/models/models_1.d.ts +234 -0
- package/dist-types/pagination/DescribeConfigurationTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDeliveriesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDeliveryDestinationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDeliverySourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDestinationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeLogGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeLogStreamsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeMetricFiltersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeSubscriptionFiltersPaginator.d.ts +1 -1
- package/dist-types/pagination/FilterLogEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetLogEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetScheduledQueryHistoryPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAggregateLogGroupSummariesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAnomaliesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLogAnomalyDetectorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLogGroupsForQueryPaginator.d.ts +1 -1
- package/dist-types/pagination/ListScheduledQueriesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSourcesForS3TableIntegrationPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +15 -0
- package/dist-types/ts3.4/CloudWatchLogs.d.ts +86 -0
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +32 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateLookupTableCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteLookupTableCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DescribeLookupTablesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetLogFieldsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetLookupTableCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateLookupTableCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/UpdateScheduledQueryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +49 -45
- package/dist-types/ts3.4/models/models_1.d.ts +53 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -285,6 +285,13 @@ CreateLogStream
|
|
|
285
285
|
</details>
|
|
286
286
|
<details>
|
|
287
287
|
<summary>
|
|
288
|
+
CreateLookupTable
|
|
289
|
+
</summary>
|
|
290
|
+
|
|
291
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch-logs/command/CreateLookupTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/CreateLookupTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/CreateLookupTableCommandOutput/)
|
|
292
|
+
</details>
|
|
293
|
+
<details>
|
|
294
|
+
<summary>
|
|
288
295
|
CreateScheduledQuery
|
|
289
296
|
</summary>
|
|
290
297
|
|
|
@@ -376,6 +383,13 @@ DeleteLogStream
|
|
|
376
383
|
</details>
|
|
377
384
|
<details>
|
|
378
385
|
<summary>
|
|
386
|
+
DeleteLookupTable
|
|
387
|
+
</summary>
|
|
388
|
+
|
|
389
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch-logs/command/DeleteLookupTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/DeleteLookupTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/DeleteLookupTableCommandOutput/)
|
|
390
|
+
</details>
|
|
391
|
+
<details>
|
|
392
|
+
<summary>
|
|
379
393
|
DeleteMetricFilter
|
|
380
394
|
</summary>
|
|
381
395
|
|
|
@@ -516,6 +530,13 @@ DescribeLogStreams
|
|
|
516
530
|
</details>
|
|
517
531
|
<details>
|
|
518
532
|
<summary>
|
|
533
|
+
DescribeLookupTables
|
|
534
|
+
</summary>
|
|
535
|
+
|
|
536
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch-logs/command/DescribeLookupTablesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/DescribeLookupTablesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/DescribeLookupTablesCommandOutput/)
|
|
537
|
+
</details>
|
|
538
|
+
<details>
|
|
539
|
+
<summary>
|
|
519
540
|
DescribeMetricFilters
|
|
520
541
|
</summary>
|
|
521
542
|
|
|
@@ -656,6 +677,13 @@ GetLogRecord
|
|
|
656
677
|
</details>
|
|
657
678
|
<details>
|
|
658
679
|
<summary>
|
|
680
|
+
GetLookupTable
|
|
681
|
+
</summary>
|
|
682
|
+
|
|
683
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch-logs/command/GetLookupTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/GetLookupTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/GetLookupTableCommandOutput/)
|
|
684
|
+
</details>
|
|
685
|
+
<details>
|
|
686
|
+
<summary>
|
|
659
687
|
GetQueryResults
|
|
660
688
|
</summary>
|
|
661
689
|
|
|
@@ -964,6 +992,13 @@ UpdateLogAnomalyDetector
|
|
|
964
992
|
</details>
|
|
965
993
|
<details>
|
|
966
994
|
<summary>
|
|
995
|
+
UpdateLookupTable
|
|
996
|
+
</summary>
|
|
997
|
+
|
|
998
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch-logs/command/UpdateLookupTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/UpdateLookupTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch-logs/Interface/UpdateLookupTableCommandOutput/)
|
|
999
|
+
</details>
|
|
1000
|
+
<details>
|
|
1001
|
+
<summary>
|
|
967
1002
|
UpdateScheduledQuery
|
|
968
1003
|
</summary>
|
|
969
1004
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultCloudWatchLogsHttpAuthSchemeProvider = exports.defaultCloudWatchLogsHttpAuthSchemeParametersProvider = void 0;
|
|
4
|
-
const
|
|
4
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const util_middleware_1 = require("@smithy/util-middleware");
|
|
6
6
|
const defaultCloudWatchLogsHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
@@ -38,7 +38,7 @@ const defaultCloudWatchLogsHttpAuthSchemeProvider = (authParameters) => {
|
|
|
38
38
|
};
|
|
39
39
|
exports.defaultCloudWatchLogsHttpAuthSchemeProvider = defaultCloudWatchLogsHttpAuthSchemeProvider;
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
|
-
const config_0 = (0,
|
|
41
|
+
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
43
|
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
package/dist-cjs/index.js
CHANGED
|
@@ -235,6 +235,18 @@ class CreateLogStreamCommand extends smithyClient.Command
|
|
|
235
235
|
.build() {
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
+
class CreateLookupTableCommand extends smithyClient.Command
|
|
239
|
+
.classBuilder()
|
|
240
|
+
.ep(commonParams)
|
|
241
|
+
.m(function (Command, cs, config, o) {
|
|
242
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
243
|
+
})
|
|
244
|
+
.s("Logs_20140328", "CreateLookupTable", {})
|
|
245
|
+
.n("CloudWatchLogsClient", "CreateLookupTableCommand")
|
|
246
|
+
.sc(schemas_0.CreateLookupTable$)
|
|
247
|
+
.build() {
|
|
248
|
+
}
|
|
249
|
+
|
|
238
250
|
class CreateScheduledQueryCommand extends smithyClient.Command
|
|
239
251
|
.classBuilder()
|
|
240
252
|
.ep(commonParams)
|
|
@@ -391,6 +403,18 @@ class DeleteLogStreamCommand extends smithyClient.Command
|
|
|
391
403
|
.build() {
|
|
392
404
|
}
|
|
393
405
|
|
|
406
|
+
class DeleteLookupTableCommand extends smithyClient.Command
|
|
407
|
+
.classBuilder()
|
|
408
|
+
.ep(commonParams)
|
|
409
|
+
.m(function (Command, cs, config, o) {
|
|
410
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
411
|
+
})
|
|
412
|
+
.s("Logs_20140328", "DeleteLookupTable", {})
|
|
413
|
+
.n("CloudWatchLogsClient", "DeleteLookupTableCommand")
|
|
414
|
+
.sc(schemas_0.DeleteLookupTable$)
|
|
415
|
+
.build() {
|
|
416
|
+
}
|
|
417
|
+
|
|
394
418
|
class DeleteMetricFilterCommand extends smithyClient.Command
|
|
395
419
|
.classBuilder()
|
|
396
420
|
.ep(commonParams)
|
|
@@ -631,6 +655,18 @@ class DescribeLogStreamsCommand extends smithyClient.Command
|
|
|
631
655
|
.build() {
|
|
632
656
|
}
|
|
633
657
|
|
|
658
|
+
class DescribeLookupTablesCommand extends smithyClient.Command
|
|
659
|
+
.classBuilder()
|
|
660
|
+
.ep(commonParams)
|
|
661
|
+
.m(function (Command, cs, config, o) {
|
|
662
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
663
|
+
})
|
|
664
|
+
.s("Logs_20140328", "DescribeLookupTables", {})
|
|
665
|
+
.n("CloudWatchLogsClient", "DescribeLookupTablesCommand")
|
|
666
|
+
.sc(schemas_0.DescribeLookupTables$)
|
|
667
|
+
.build() {
|
|
668
|
+
}
|
|
669
|
+
|
|
634
670
|
class DescribeMetricFiltersCommand extends smithyClient.Command
|
|
635
671
|
.classBuilder()
|
|
636
672
|
.ep(commonParams)
|
|
@@ -875,6 +911,18 @@ class GetLogRecordCommand extends smithyClient.Command
|
|
|
875
911
|
.build() {
|
|
876
912
|
}
|
|
877
913
|
|
|
914
|
+
class GetLookupTableCommand extends smithyClient.Command
|
|
915
|
+
.classBuilder()
|
|
916
|
+
.ep(commonParams)
|
|
917
|
+
.m(function (Command, cs, config, o) {
|
|
918
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
919
|
+
})
|
|
920
|
+
.s("Logs_20140328", "GetLookupTable", {})
|
|
921
|
+
.n("CloudWatchLogsClient", "GetLookupTableCommand")
|
|
922
|
+
.sc(schemas_0.GetLookupTable$)
|
|
923
|
+
.build() {
|
|
924
|
+
}
|
|
925
|
+
|
|
878
926
|
class GetQueryResultsCommand extends smithyClient.Command
|
|
879
927
|
.classBuilder()
|
|
880
928
|
.ep(commonParams)
|
|
@@ -1407,6 +1455,18 @@ class UpdateLogAnomalyDetectorCommand extends smithyClient.Command
|
|
|
1407
1455
|
.build() {
|
|
1408
1456
|
}
|
|
1409
1457
|
|
|
1458
|
+
class UpdateLookupTableCommand extends smithyClient.Command
|
|
1459
|
+
.classBuilder()
|
|
1460
|
+
.ep(commonParams)
|
|
1461
|
+
.m(function (Command, cs, config, o) {
|
|
1462
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1463
|
+
})
|
|
1464
|
+
.s("Logs_20140328", "UpdateLookupTable", {})
|
|
1465
|
+
.n("CloudWatchLogsClient", "UpdateLookupTableCommand")
|
|
1466
|
+
.sc(schemas_0.UpdateLookupTable$)
|
|
1467
|
+
.build() {
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1410
1470
|
class UpdateScheduledQueryCommand extends smithyClient.Command
|
|
1411
1471
|
.classBuilder()
|
|
1412
1472
|
.ep(commonParams)
|
|
@@ -1466,6 +1526,7 @@ const commands = {
|
|
|
1466
1526
|
CreateLogAnomalyDetectorCommand,
|
|
1467
1527
|
CreateLogGroupCommand,
|
|
1468
1528
|
CreateLogStreamCommand,
|
|
1529
|
+
CreateLookupTableCommand,
|
|
1469
1530
|
CreateScheduledQueryCommand,
|
|
1470
1531
|
DeleteAccountPolicyCommand,
|
|
1471
1532
|
DeleteDataProtectionPolicyCommand,
|
|
@@ -1479,6 +1540,7 @@ const commands = {
|
|
|
1479
1540
|
DeleteLogAnomalyDetectorCommand,
|
|
1480
1541
|
DeleteLogGroupCommand,
|
|
1481
1542
|
DeleteLogStreamCommand,
|
|
1543
|
+
DeleteLookupTableCommand,
|
|
1482
1544
|
DeleteMetricFilterCommand,
|
|
1483
1545
|
DeleteQueryDefinitionCommand,
|
|
1484
1546
|
DeleteResourcePolicyCommand,
|
|
@@ -1499,6 +1561,7 @@ const commands = {
|
|
|
1499
1561
|
DescribeIndexPoliciesCommand,
|
|
1500
1562
|
DescribeLogGroupsCommand,
|
|
1501
1563
|
DescribeLogStreamsCommand,
|
|
1564
|
+
DescribeLookupTablesCommand,
|
|
1502
1565
|
DescribeMetricFiltersCommand,
|
|
1503
1566
|
DescribeQueriesCommand,
|
|
1504
1567
|
DescribeQueryDefinitionsCommand,
|
|
@@ -1519,6 +1582,7 @@ const commands = {
|
|
|
1519
1582
|
GetLogGroupFieldsCommand,
|
|
1520
1583
|
GetLogObjectCommand,
|
|
1521
1584
|
GetLogRecordCommand,
|
|
1585
|
+
GetLookupTableCommand,
|
|
1522
1586
|
GetQueryResultsCommand,
|
|
1523
1587
|
GetScheduledQueryCommand,
|
|
1524
1588
|
GetScheduledQueryHistoryCommand,
|
|
@@ -1563,6 +1627,7 @@ const commands = {
|
|
|
1563
1627
|
UpdateAnomalyCommand,
|
|
1564
1628
|
UpdateDeliveryConfigurationCommand,
|
|
1565
1629
|
UpdateLogAnomalyDetectorCommand,
|
|
1630
|
+
UpdateLookupTableCommand,
|
|
1566
1631
|
UpdateScheduledQueryCommand,
|
|
1567
1632
|
};
|
|
1568
1633
|
const paginators = {
|
|
@@ -1828,6 +1893,7 @@ exports.CreateImportTaskCommand = CreateImportTaskCommand;
|
|
|
1828
1893
|
exports.CreateLogAnomalyDetectorCommand = CreateLogAnomalyDetectorCommand;
|
|
1829
1894
|
exports.CreateLogGroupCommand = CreateLogGroupCommand;
|
|
1830
1895
|
exports.CreateLogStreamCommand = CreateLogStreamCommand;
|
|
1896
|
+
exports.CreateLookupTableCommand = CreateLookupTableCommand;
|
|
1831
1897
|
exports.CreateScheduledQueryCommand = CreateScheduledQueryCommand;
|
|
1832
1898
|
exports.DataProtectionStatus = DataProtectionStatus;
|
|
1833
1899
|
exports.DeleteAccountPolicyCommand = DeleteAccountPolicyCommand;
|
|
@@ -1842,6 +1908,7 @@ exports.DeleteIntegrationCommand = DeleteIntegrationCommand;
|
|
|
1842
1908
|
exports.DeleteLogAnomalyDetectorCommand = DeleteLogAnomalyDetectorCommand;
|
|
1843
1909
|
exports.DeleteLogGroupCommand = DeleteLogGroupCommand;
|
|
1844
1910
|
exports.DeleteLogStreamCommand = DeleteLogStreamCommand;
|
|
1911
|
+
exports.DeleteLookupTableCommand = DeleteLookupTableCommand;
|
|
1845
1912
|
exports.DeleteMetricFilterCommand = DeleteMetricFilterCommand;
|
|
1846
1913
|
exports.DeleteQueryDefinitionCommand = DeleteQueryDefinitionCommand;
|
|
1847
1914
|
exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
|
|
@@ -1863,6 +1930,7 @@ exports.DescribeImportTasksCommand = DescribeImportTasksCommand;
|
|
|
1863
1930
|
exports.DescribeIndexPoliciesCommand = DescribeIndexPoliciesCommand;
|
|
1864
1931
|
exports.DescribeLogGroupsCommand = DescribeLogGroupsCommand;
|
|
1865
1932
|
exports.DescribeLogStreamsCommand = DescribeLogStreamsCommand;
|
|
1933
|
+
exports.DescribeLookupTablesCommand = DescribeLookupTablesCommand;
|
|
1866
1934
|
exports.DescribeMetricFiltersCommand = DescribeMetricFiltersCommand;
|
|
1867
1935
|
exports.DescribeQueriesCommand = DescribeQueriesCommand;
|
|
1868
1936
|
exports.DescribeQueryDefinitionsCommand = DescribeQueryDefinitionsCommand;
|
|
@@ -1890,6 +1958,7 @@ exports.GetLogFieldsCommand = GetLogFieldsCommand;
|
|
|
1890
1958
|
exports.GetLogGroupFieldsCommand = GetLogGroupFieldsCommand;
|
|
1891
1959
|
exports.GetLogObjectCommand = GetLogObjectCommand;
|
|
1892
1960
|
exports.GetLogRecordCommand = GetLogRecordCommand;
|
|
1961
|
+
exports.GetLookupTableCommand = GetLookupTableCommand;
|
|
1893
1962
|
exports.GetQueryResultsCommand = GetQueryResultsCommand;
|
|
1894
1963
|
exports.GetScheduledQueryCommand = GetScheduledQueryCommand;
|
|
1895
1964
|
exports.GetScheduledQueryHistoryCommand = GetScheduledQueryHistoryCommand;
|
|
@@ -1960,6 +2029,7 @@ exports.UntagResourceCommand = UntagResourceCommand;
|
|
|
1960
2029
|
exports.UpdateAnomalyCommand = UpdateAnomalyCommand;
|
|
1961
2030
|
exports.UpdateDeliveryConfigurationCommand = UpdateDeliveryConfigurationCommand;
|
|
1962
2031
|
exports.UpdateLogAnomalyDetectorCommand = UpdateLogAnomalyDetectorCommand;
|
|
2032
|
+
exports.UpdateLookupTableCommand = UpdateLookupTableCommand;
|
|
1963
2033
|
exports.UpdateScheduledQueryCommand = UpdateScheduledQueryCommand;
|
|
1964
2034
|
exports.paginateDescribeConfigurationTemplates = paginateDescribeConfigurationTemplates;
|
|
1965
2035
|
exports.paginateDescribeDeliveries = paginateDescribeDeliveries;
|
|
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
-
const
|
|
6
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
7
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
7
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
8
9
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
9
10
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
@@ -22,7 +23,7 @@ const getRuntimeConfig = (config) => {
|
|
|
22
23
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
25
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
|
-
(0,
|
|
26
|
+
(0, client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
26
27
|
const loaderConfig = {
|
|
27
28
|
profile: config?.profile,
|
|
28
29
|
logger: clientSharedValues.logger,
|
|
@@ -32,7 +33,7 @@ const getRuntimeConfig = (config) => {
|
|
|
32
33
|
...config,
|
|
33
34
|
runtime: "node",
|
|
34
35
|
defaultsMode,
|
|
35
|
-
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(
|
|
36
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
36
37
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
37
38
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
38
39
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const
|
|
4
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
@@ -23,7 +23,7 @@ const getRuntimeConfig = (config) => {
|
|
|
23
23
|
{
|
|
24
24
|
schemeId: "aws.auth#sigv4",
|
|
25
25
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
26
|
-
signer: new
|
|
26
|
+
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
|
|
27
27
|
},
|
|
28
28
|
],
|
|
29
29
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|