@aws-sdk/client-cloudwatch-logs 3.362.0 → 3.368.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/dist-cjs/CloudWatchLogs.js +1 -1
- package/dist-cjs/CloudWatchLogsClient.js +5 -5
- package/dist-cjs/commands/AssociateKmsKeyCommand.js +3 -3
- package/dist-cjs/commands/CancelExportTaskCommand.js +3 -3
- package/dist-cjs/commands/CreateExportTaskCommand.js +3 -3
- package/dist-cjs/commands/CreateLogGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateLogStreamCommand.js +3 -3
- package/dist-cjs/commands/DeleteAccountPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteDataProtectionPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteDestinationCommand.js +3 -3
- package/dist-cjs/commands/DeleteLogGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteLogStreamCommand.js +3 -3
- package/dist-cjs/commands/DeleteMetricFilterCommand.js +3 -3
- package/dist-cjs/commands/DeleteQueryDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteRetentionPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteSubscriptionFilterCommand.js +3 -3
- package/dist-cjs/commands/DescribeAccountPoliciesCommand.js +3 -3
- package/dist-cjs/commands/DescribeDestinationsCommand.js +3 -3
- package/dist-cjs/commands/DescribeExportTasksCommand.js +3 -3
- package/dist-cjs/commands/DescribeLogGroupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeLogStreamsCommand.js +3 -3
- package/dist-cjs/commands/DescribeMetricFiltersCommand.js +3 -3
- package/dist-cjs/commands/DescribeQueriesCommand.js +3 -3
- package/dist-cjs/commands/DescribeQueryDefinitionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeResourcePoliciesCommand.js +3 -3
- package/dist-cjs/commands/DescribeSubscriptionFiltersCommand.js +3 -3
- package/dist-cjs/commands/DisassociateKmsKeyCommand.js +3 -3
- package/dist-cjs/commands/FilterLogEventsCommand.js +3 -3
- package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetLogEventsCommand.js +3 -3
- package/dist-cjs/commands/GetLogGroupFieldsCommand.js +3 -3
- package/dist-cjs/commands/GetLogRecordCommand.js +3 -3
- package/dist-cjs/commands/GetQueryResultsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTagsLogGroupCommand.js +3 -3
- package/dist-cjs/commands/PutAccountPolicyCommand.js +3 -3
- package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +3 -3
- package/dist-cjs/commands/PutDestinationCommand.js +3 -3
- package/dist-cjs/commands/PutDestinationPolicyCommand.js +3 -3
- package/dist-cjs/commands/PutLogEventsCommand.js +3 -3
- package/dist-cjs/commands/PutMetricFilterCommand.js +3 -3
- package/dist-cjs/commands/PutQueryDefinitionCommand.js +3 -3
- package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/PutRetentionPolicyCommand.js +3 -3
- package/dist-cjs/commands/PutSubscriptionFilterCommand.js +3 -3
- package/dist-cjs/commands/StartQueryCommand.js +3 -3
- package/dist-cjs/commands/StopQueryCommand.js +3 -3
- package/dist-cjs/commands/TagLogGroupCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/TestMetricFilterCommand.js +3 -3
- package/dist-cjs/commands/UntagLogGroupCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/models/CloudWatchLogsServiceException.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +2 -1
- package/dist-cjs/runtimeConfig.browser.js +7 -7
- package/dist-cjs/runtimeConfig.js +10 -10
- package/dist-cjs/runtimeConfig.shared.js +4 -4
- package/dist-es/CloudWatchLogs.js +1 -1
- package/dist-es/CloudWatchLogsClient.js +5 -5
- package/dist-es/commands/AssociateKmsKeyCommand.js +3 -3
- package/dist-es/commands/CancelExportTaskCommand.js +3 -3
- package/dist-es/commands/CreateExportTaskCommand.js +3 -3
- package/dist-es/commands/CreateLogGroupCommand.js +3 -3
- package/dist-es/commands/CreateLogStreamCommand.js +3 -3
- package/dist-es/commands/DeleteAccountPolicyCommand.js +3 -3
- package/dist-es/commands/DeleteDataProtectionPolicyCommand.js +3 -3
- package/dist-es/commands/DeleteDestinationCommand.js +3 -3
- package/dist-es/commands/DeleteLogGroupCommand.js +3 -3
- package/dist-es/commands/DeleteLogStreamCommand.js +3 -3
- package/dist-es/commands/DeleteMetricFilterCommand.js +3 -3
- package/dist-es/commands/DeleteQueryDefinitionCommand.js +3 -3
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-es/commands/DeleteRetentionPolicyCommand.js +3 -3
- package/dist-es/commands/DeleteSubscriptionFilterCommand.js +3 -3
- package/dist-es/commands/DescribeAccountPoliciesCommand.js +3 -3
- package/dist-es/commands/DescribeDestinationsCommand.js +3 -3
- package/dist-es/commands/DescribeExportTasksCommand.js +3 -3
- package/dist-es/commands/DescribeLogGroupsCommand.js +3 -3
- package/dist-es/commands/DescribeLogStreamsCommand.js +3 -3
- package/dist-es/commands/DescribeMetricFiltersCommand.js +3 -3
- package/dist-es/commands/DescribeQueriesCommand.js +3 -3
- package/dist-es/commands/DescribeQueryDefinitionsCommand.js +3 -3
- package/dist-es/commands/DescribeResourcePoliciesCommand.js +3 -3
- package/dist-es/commands/DescribeSubscriptionFiltersCommand.js +3 -3
- package/dist-es/commands/DisassociateKmsKeyCommand.js +3 -3
- package/dist-es/commands/FilterLogEventsCommand.js +3 -3
- package/dist-es/commands/GetDataProtectionPolicyCommand.js +3 -3
- package/dist-es/commands/GetLogEventsCommand.js +3 -3
- package/dist-es/commands/GetLogGroupFieldsCommand.js +3 -3
- package/dist-es/commands/GetLogRecordCommand.js +3 -3
- package/dist-es/commands/GetQueryResultsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ListTagsLogGroupCommand.js +3 -3
- package/dist-es/commands/PutAccountPolicyCommand.js +3 -3
- package/dist-es/commands/PutDataProtectionPolicyCommand.js +3 -3
- package/dist-es/commands/PutDestinationCommand.js +3 -3
- package/dist-es/commands/PutDestinationPolicyCommand.js +3 -3
- package/dist-es/commands/PutLogEventsCommand.js +3 -3
- package/dist-es/commands/PutMetricFilterCommand.js +3 -3
- package/dist-es/commands/PutQueryDefinitionCommand.js +3 -3
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-es/commands/PutRetentionPolicyCommand.js +3 -3
- package/dist-es/commands/PutSubscriptionFilterCommand.js +3 -3
- package/dist-es/commands/StartQueryCommand.js +3 -3
- package/dist-es/commands/StopQueryCommand.js +3 -3
- package/dist-es/commands/TagLogGroupCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/TestMetricFilterCommand.js +3 -3
- package/dist-es/commands/UntagLogGroupCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/models/CloudWatchLogsServiceException.js +1 -1
- package/dist-es/protocols/Aws_json1_1.js +2 -1
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +10 -10
- package/dist-es/runtimeConfig.shared.js +4 -4
- package/dist-types/CloudWatchLogs.d.ts +1 -1
- package/dist-types/CloudWatchLogsClient.d.ts +8 -8
- package/dist-types/commands/AssociateKmsKeyCommand.d.ts +41 -10
- package/dist-types/commands/CancelExportTaskCommand.d.ts +3 -3
- package/dist-types/commands/CreateExportTaskCommand.d.ts +3 -3
- package/dist-types/commands/CreateLogGroupCommand.d.ts +3 -3
- package/dist-types/commands/CreateLogStreamCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAccountPolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDataProtectionPolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDestinationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteLogGroupCommand.d.ts +3 -3
- package/dist-types/commands/DeleteLogStreamCommand.d.ts +3 -3
- package/dist-types/commands/DeleteMetricFilterCommand.d.ts +3 -3
- package/dist-types/commands/DeleteQueryDefinitionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteSubscriptionFilterCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAccountPoliciesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDestinationsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeExportTasksCommand.d.ts +3 -3
- package/dist-types/commands/DescribeLogGroupsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeLogStreamsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeMetricFiltersCommand.d.ts +3 -3
- package/dist-types/commands/DescribeQueriesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeResourcePoliciesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +3 -3
- package/dist-types/commands/DisassociateKmsKeyCommand.d.ts +28 -10
- package/dist-types/commands/FilterLogEventsCommand.d.ts +3 -3
- package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetLogEventsCommand.d.ts +3 -3
- package/dist-types/commands/GetLogGroupFieldsCommand.d.ts +3 -3
- package/dist-types/commands/GetLogRecordCommand.d.ts +3 -3
- package/dist-types/commands/GetQueryResultsCommand.d.ts +4 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsLogGroupCommand.d.ts +3 -3
- package/dist-types/commands/PutAccountPolicyCommand.d.ts +3 -3
- package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +3 -3
- package/dist-types/commands/PutDestinationCommand.d.ts +3 -3
- package/dist-types/commands/PutDestinationPolicyCommand.d.ts +3 -3
- package/dist-types/commands/PutLogEventsCommand.d.ts +3 -3
- package/dist-types/commands/PutMetricFilterCommand.d.ts +3 -3
- package/dist-types/commands/PutQueryDefinitionCommand.d.ts +3 -3
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -3
- package/dist-types/commands/PutRetentionPolicyCommand.d.ts +3 -3
- package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +5 -4
- package/dist-types/commands/StartQueryCommand.d.ts +12 -3
- package/dist-types/commands/StopQueryCommand.d.ts +3 -3
- package/dist-types/commands/TagLogGroupCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/TestMetricFilterCommand.d.ts +3 -3
- package/dist-types/commands/UntagLogGroupCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/endpoint/ruleset.d.ts +1 -1
- package/dist-types/models/CloudWatchLogsServiceException.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +88 -23
- 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/Interfaces.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +20 -20
- package/dist-types/runtimeConfig.d.ts +20 -20
- package/dist-types/runtimeConfig.native.d.ts +19 -19
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/CloudWatchLogs.d.ts +1 -1
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +19 -21
- package/dist-types/ts3.4/commands/AssociateKmsKeyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CancelExportTaskCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateExportTaskCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateLogGroupCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateLogStreamCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteAccountPolicyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteDataProtectionPolicyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteDestinationCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteLogGroupCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteLogStreamCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteMetricFilterCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteQueryDefinitionCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteSubscriptionFilterCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeAccountPoliciesCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeDestinationsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeExportTasksCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeLogGroupsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeLogStreamsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeMetricFiltersCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeQueriesCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeQueryDefinitionsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeResourcePoliciesCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DescribeSubscriptionFiltersCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DisassociateKmsKeyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/FilterLogEventsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetLogEventsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetLogGroupFieldsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetLogRecordCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListTagsLogGroupCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/PutAccountPolicyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/PutDestinationCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/PutDestinationPolicyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/PutLogEventsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/PutMetricFilterCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/PutQueryDefinitionCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/PutSubscriptionFilterCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/StopQueryCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/TagLogGroupCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/TestMetricFilterCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UntagLogGroupCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -2
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
- package/dist-types/ts3.4/models/CloudWatchLogsServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +6 -3
- package/dist-types/ts3.4/pagination/DescribeDestinationsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/DescribeLogGroupsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/DescribeLogStreamsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/DescribeMetricFiltersPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/DescribeSubscriptionFiltersPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/FilterLogEventsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/GetLogEventsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -40
- package/dist-types/ts3.4/runtimeConfig.d.ts +35 -37
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -38
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/package.json +31 -30
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_DisassociateKmsKeyCommand, se_DisassociateKmsKeyCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DisassociateKmsKeyCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_FilterLogEventsCommand, se_FilterLogEventsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class FilterLogEventsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetDataProtectionPolicyCommand, se_GetDataProtectionPolicyCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetDataProtectionPolicyCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetLogEventsCommand, se_GetLogEventsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetLogEventsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetLogGroupFieldsCommand, se_GetLogGroupFieldsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetLogGroupFieldsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetLogRecordCommand, se_GetLogRecordCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetLogRecordCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetQueryResultsCommand, se_GetQueryResultsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetQueryResultsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListTagsForResourceCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListTagsLogGroupCommand, se_ListTagsLogGroupCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListTagsLogGroupCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_PutAccountPolicyCommand, se_PutAccountPolicyCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutAccountPolicyCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_PutDataProtectionPolicyCommand, se_PutDataProtectionPolicyCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutDataProtectionPolicyCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_PutDestinationCommand, se_PutDestinationCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutDestinationCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_PutDestinationPolicyCommand, se_PutDestinationPolicyCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutDestinationPolicyCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_PutLogEventsCommand, se_PutLogEventsCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutLogEventsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_PutMetricFilterCommand, se_PutMetricFilterCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutMetricFilterCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_PutQueryDefinitionCommand, se_PutQueryDefinitionCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutQueryDefinitionCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutResourcePolicyCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_PutRetentionPolicyCommand, se_PutRetentionPolicyCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutRetentionPolicyCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_PutSubscriptionFilterCommand, se_PutSubscriptionFilterCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutSubscriptionFilterCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_StartQueryCommand, se_StartQueryCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class StartQueryCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_StopQueryCommand, se_StopQueryCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class StopQueryCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_TagLogGroupCommand, se_TagLogGroupCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TagLogGroupCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TagResourceCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_TestMetricFilterCommand, se_TestMetricFilterCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TestMetricFilterCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_UntagLogGroupCommand, se_UntagLogGroupCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UntagLogGroupCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UntagResourceCommand extends $Command {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceException as __ServiceException, } from "@
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class CloudWatchLogsServiceException extends __ServiceException {
|
|
4
4
|
constructor(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectString as __expectString, limitedParseDouble as __limitedParseDouble, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
1
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectString as __expectString, limitedParseDouble as __limitedParseDouble, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { CloudWatchLogsServiceException as __BaseException } from "../models/CloudWatchLogsServiceException";
|
|
4
4
|
import { DataAlreadyAcceptedException, InvalidOperationException, InvalidParameterException, InvalidSequenceTokenException, LimitExceededException, MalformedQueryException, OperationAbortedException, ResourceAlreadyExistsException, ResourceNotFoundException, ServiceUnavailableException, TooManyTagsException, UnrecognizedClientException, } from "../models/models_0";
|
|
5
5
|
export const se_AssociateKmsKeyCommand = async (input, context) => {
|
|
@@ -2399,6 +2399,7 @@ const de_DescribeMetricFiltersResponse = (output, context) => {
|
|
|
2399
2399
|
};
|
|
2400
2400
|
const de_GetQueryResultsResponse = (output, context) => {
|
|
2401
2401
|
return take(output, {
|
|
2402
|
+
encryptionKey: __expectString,
|
|
2402
2403
|
results: _json,
|
|
2403
2404
|
statistics: (_) => de_QueryStatistics(_, context),
|
|
2404
2405
|
status: __expectString,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
-
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
|
-
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
-
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
|
-
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
7
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
8
3
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
|
+
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
8
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
9
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@
|
|
10
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
3
|
-
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
4
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
|
-
import { Hash } from "@aws-sdk/hash-node";
|
|
6
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
-
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
|
-
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
-
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
10
|
-
import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
11
4
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
5
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
|
+
import { Hash } from "@smithy/hash-node";
|
|
7
|
+
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
|
+
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
11
|
+
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
+
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
16
|
export const getRuntimeConfig = (config) => {
|
|
17
17
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
18
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { NoOpLogger } from "@
|
|
2
|
-
import { parseUrl } from "@
|
|
3
|
-
import { fromBase64, toBase64 } from "@
|
|
4
|
-
import { fromUtf8, toUtf8 } from "@
|
|
1
|
+
import { NoOpLogger } from "@smithy/smithy-client";
|
|
2
|
+
import { parseUrl } from "@smithy/url-parser";
|
|
3
|
+
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
4
|
+
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
5
5
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
6
6
|
export const getRuntimeConfig = (config) => ({
|
|
7
7
|
apiVersion: "2014-03-28",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { CloudWatchLogsClient } from "./CloudWatchLogsClient";
|
|
3
3
|
import { AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput } from "./commands/AssociateKmsKeyCommand";
|
|
4
4
|
import { CancelExportTaskCommandInput, CancelExportTaskCommandOutput } from "./commands/CancelExportTaskCommand";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
-
import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
|
|
3
1
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
4
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
5
2
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
3
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
4
|
+
import { Credentials as __Credentials } from "@aws-sdk/types";
|
|
5
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
6
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
7
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
9
8
|
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
10
|
-
import {
|
|
9
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
10
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
11
11
|
import { AssociateKmsKeyCommandInput, AssociateKmsKeyCommandOutput } from "./commands/AssociateKmsKeyCommand";
|
|
12
12
|
import { CancelExportTaskCommandInput, CancelExportTaskCommandOutput } from "./commands/CancelExportTaskCommand";
|
|
13
13
|
import { CreateExportTaskCommandInput, CreateExportTaskCommandOutput } from "./commands/CreateExportTaskCommand";
|
|
@@ -78,7 +78,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
78
78
|
*/
|
|
79
79
|
requestHandler?: __HttpHandler;
|
|
80
80
|
/**
|
|
81
|
-
* A constructor for a class implementing the {@link @
|
|
81
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
82
82
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
83
83
|
* @internal
|
|
84
84
|
*/
|
|
@@ -168,7 +168,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
168
168
|
*/
|
|
169
169
|
logger?: __Logger;
|
|
170
170
|
/**
|
|
171
|
-
* The {@link @
|
|
171
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
172
172
|
*/
|
|
173
173
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
174
174
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { AssociateKmsKeyRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -23,17 +23,47 @@ export interface AssociateKmsKeyCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Associates the specified KMS key with the
|
|
27
|
-
*
|
|
28
|
-
* <p>
|
|
26
|
+
* <p>Associates the specified KMS key with either one log group in the account, or with all stored
|
|
27
|
+
* CloudWatch Logs query insights results in the account.</p>
|
|
28
|
+
* <p>When you use <code>AssociateKmsKey</code>, you specify either the <code>logGroupName</code> parameter
|
|
29
|
+
* or the <code>resourceIdentifier</code> parameter. You can't specify both of those parameters in the same operation.</p>
|
|
30
|
+
* <ul>
|
|
31
|
+
* <li>
|
|
32
|
+
* <p>Specify the <code>logGroupName</code> parameter to cause all log events stored in the log group to
|
|
33
|
+
* be encrypted with that key. Only the log events ingested after the key is associated are encrypted with that key.</p>
|
|
34
|
+
* <p>Associating a KMS key with a log group overrides any existing
|
|
29
35
|
* associations between the log group and a KMS key. After a KMS key is associated with a log group, all newly ingested data for the log group is encrypted
|
|
30
36
|
* using the KMS key. This association is stored as long as the data encrypted
|
|
31
|
-
* with the KMS
|
|
37
|
+
* with the KMS key is still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data whenever it is requested.</p>
|
|
38
|
+
* <p>Associating
|
|
39
|
+
* a key with a log group does not cause the results of queries of that log group to be encrypted with that key. To have query
|
|
40
|
+
* results encrypted with a KMS key, you must use an <code>AssociateKmsKey</code> operation with the <code>resourceIdentifier</code>
|
|
41
|
+
* parameter that specifies a <code>query-result</code> resource. </p>
|
|
42
|
+
* </li>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>Specify the <code>resourceIdentifier</code> parameter with a <code>query-result</code> resource,
|
|
45
|
+
* to use that key to encrypt the stored results of all future
|
|
46
|
+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_StartQuery.html">StartQuery</a>
|
|
47
|
+
* operations in the account. The response from a
|
|
48
|
+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_GetQueryResults.html">GetQueryResults</a>
|
|
49
|
+
* operation will still return
|
|
50
|
+
* the query results in plain text.</p>
|
|
51
|
+
* <p>Even if you have not associated a key with your query results, the query results are encrypted when stored,
|
|
52
|
+
* using the default CloudWatch Logs method.</p>
|
|
53
|
+
* <p>If you run a query from a monitoring account that queries logs in a source account, the
|
|
54
|
+
* query results key from the monitoring account, if any, is used.</p>
|
|
55
|
+
* </li>
|
|
56
|
+
* </ul>
|
|
32
57
|
* <important>
|
|
58
|
+
* <p>If you delete the key that is used to encrypt log events or log group query results,
|
|
59
|
+
* then all the associated stored log events or query results that were encrypted with that key
|
|
60
|
+
* will be unencryptable and unusable.</p>
|
|
61
|
+
* </important>
|
|
62
|
+
* <note>
|
|
33
63
|
* <p>CloudWatch Logs supports only symmetric KMS keys. Do not use an associate
|
|
34
|
-
* an asymmetric KMS key with your log group. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using
|
|
64
|
+
* an asymmetric KMS key with your log group or query results. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using
|
|
35
65
|
* Symmetric and Asymmetric Keys</a>.</p>
|
|
36
|
-
* </
|
|
66
|
+
* </note>
|
|
37
67
|
* <p>It can take up to 5 minutes for this operation to take effect.</p>
|
|
38
68
|
* <p>If you attempt to associate a KMS key with a log group but the KMS key does not exist or the KMS key is disabled, you receive an
|
|
39
69
|
* <code>InvalidParameterException</code> error. </p>
|
|
@@ -44,8 +74,9 @@ export interface AssociateKmsKeyCommandOutput extends __MetadataBearer {
|
|
|
44
74
|
* // const { CloudWatchLogsClient, AssociateKmsKeyCommand } = require("@aws-sdk/client-cloudwatch-logs"); // CommonJS import
|
|
45
75
|
* const client = new CloudWatchLogsClient(config);
|
|
46
76
|
* const input = { // AssociateKmsKeyRequest
|
|
47
|
-
* logGroupName: "STRING_VALUE",
|
|
77
|
+
* logGroupName: "STRING_VALUE",
|
|
48
78
|
* kmsKeyId: "STRING_VALUE", // required
|
|
79
|
+
* resourceIdentifier: "STRING_VALUE",
|
|
49
80
|
* };
|
|
50
81
|
* const command = new AssociateKmsKeyCommand(input);
|
|
51
82
|
* const response = await client.send(command);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { CancelExportTaskRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { CreateExportTaskRequest, CreateExportTaskResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { CreateLogGroupRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { CreateLogStreamRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { DeleteAccountPolicyRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { DeleteDataProtectionPolicyRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient";
|
|
5
5
|
import { DeleteDestinationRequest } from "../models/models_0";
|
|
6
6
|
/**
|