@aws-sdk/client-cloudwatch-logs 3.927.0 → 3.929.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/index.js +2751 -2844
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/CloudWatchLogsClient.js +2 -0
- package/dist-es/commands/AssociateKmsKeyCommand.js +3 -9
- package/dist-es/commands/CancelExportTaskCommand.js +3 -9
- package/dist-es/commands/CreateDeliveryCommand.js +3 -9
- package/dist-es/commands/CreateExportTaskCommand.js +3 -9
- package/dist-es/commands/CreateLogAnomalyDetectorCommand.js +3 -9
- package/dist-es/commands/CreateLogGroupCommand.js +3 -9
- package/dist-es/commands/CreateLogStreamCommand.js +3 -9
- package/dist-es/commands/DeleteAccountPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteDataProtectionPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteDeliveryCommand.js +3 -9
- package/dist-es/commands/DeleteDeliveryDestinationCommand.js +3 -9
- package/dist-es/commands/DeleteDeliveryDestinationPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteDeliverySourceCommand.js +3 -9
- package/dist-es/commands/DeleteDestinationCommand.js +3 -9
- package/dist-es/commands/DeleteIndexPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteIntegrationCommand.js +3 -9
- package/dist-es/commands/DeleteLogAnomalyDetectorCommand.js +3 -9
- package/dist-es/commands/DeleteLogGroupCommand.js +3 -9
- package/dist-es/commands/DeleteLogStreamCommand.js +3 -9
- package/dist-es/commands/DeleteMetricFilterCommand.js +3 -9
- package/dist-es/commands/DeleteQueryDefinitionCommand.js +3 -9
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
- package/dist-es/commands/DeleteRetentionPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteSubscriptionFilterCommand.js +3 -9
- package/dist-es/commands/DeleteTransformerCommand.js +3 -9
- package/dist-es/commands/DescribeAccountPoliciesCommand.js +3 -9
- package/dist-es/commands/DescribeConfigurationTemplatesCommand.js +3 -9
- package/dist-es/commands/DescribeDeliveriesCommand.js +3 -9
- package/dist-es/commands/DescribeDeliveryDestinationsCommand.js +3 -9
- package/dist-es/commands/DescribeDeliverySourcesCommand.js +3 -9
- package/dist-es/commands/DescribeDestinationsCommand.js +3 -9
- package/dist-es/commands/DescribeExportTasksCommand.js +3 -9
- package/dist-es/commands/DescribeFieldIndexesCommand.js +3 -9
- package/dist-es/commands/DescribeIndexPoliciesCommand.js +3 -9
- package/dist-es/commands/DescribeLogGroupsCommand.js +3 -9
- package/dist-es/commands/DescribeLogStreamsCommand.js +3 -9
- package/dist-es/commands/DescribeMetricFiltersCommand.js +3 -9
- package/dist-es/commands/DescribeQueriesCommand.js +3 -9
- package/dist-es/commands/DescribeQueryDefinitionsCommand.js +3 -9
- package/dist-es/commands/DescribeResourcePoliciesCommand.js +3 -9
- package/dist-es/commands/DescribeSubscriptionFiltersCommand.js +3 -9
- package/dist-es/commands/DisassociateKmsKeyCommand.js +3 -9
- package/dist-es/commands/FilterLogEventsCommand.js +3 -9
- package/dist-es/commands/GetDataProtectionPolicyCommand.js +3 -9
- package/dist-es/commands/GetDeliveryCommand.js +3 -9
- package/dist-es/commands/GetDeliveryDestinationCommand.js +3 -9
- package/dist-es/commands/GetDeliveryDestinationPolicyCommand.js +3 -9
- package/dist-es/commands/GetDeliverySourceCommand.js +3 -9
- package/dist-es/commands/GetIntegrationCommand.js +3 -9
- package/dist-es/commands/GetLogAnomalyDetectorCommand.js +3 -9
- package/dist-es/commands/GetLogEventsCommand.js +3 -9
- package/dist-es/commands/GetLogGroupFieldsCommand.js +3 -9
- package/dist-es/commands/GetLogObjectCommand.js +3 -10
- package/dist-es/commands/GetLogRecordCommand.js +3 -9
- package/dist-es/commands/GetQueryResultsCommand.js +3 -9
- package/dist-es/commands/GetTransformerCommand.js +3 -9
- package/dist-es/commands/ListAnomaliesCommand.js +3 -9
- package/dist-es/commands/ListIntegrationsCommand.js +3 -9
- package/dist-es/commands/ListLogAnomalyDetectorsCommand.js +3 -9
- package/dist-es/commands/ListLogGroupsCommand.js +3 -9
- package/dist-es/commands/ListLogGroupsForQueryCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTagsLogGroupCommand.js +3 -9
- package/dist-es/commands/PutAccountPolicyCommand.js +3 -9
- package/dist-es/commands/PutDataProtectionPolicyCommand.js +3 -9
- package/dist-es/commands/PutDeliveryDestinationCommand.js +3 -9
- package/dist-es/commands/PutDeliveryDestinationPolicyCommand.js +3 -9
- package/dist-es/commands/PutDeliverySourceCommand.js +3 -9
- package/dist-es/commands/PutDestinationCommand.js +3 -9
- package/dist-es/commands/PutDestinationPolicyCommand.js +3 -9
- package/dist-es/commands/PutIndexPolicyCommand.js +3 -9
- package/dist-es/commands/PutIntegrationCommand.js +3 -9
- package/dist-es/commands/PutLogEventsCommand.js +3 -9
- package/dist-es/commands/PutMetricFilterCommand.js +3 -9
- package/dist-es/commands/PutQueryDefinitionCommand.js +3 -9
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
- package/dist-es/commands/PutRetentionPolicyCommand.js +3 -9
- package/dist-es/commands/PutSubscriptionFilterCommand.js +3 -9
- package/dist-es/commands/PutTransformerCommand.js +3 -9
- package/dist-es/commands/StartLiveTailCommand.js +3 -10
- package/dist-es/commands/StartQueryCommand.js +3 -9
- package/dist-es/commands/StopQueryCommand.js +3 -9
- package/dist-es/commands/TagLogGroupCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/TestMetricFilterCommand.js +3 -9
- package/dist-es/commands/TestTransformerCommand.js +3 -9
- package/dist-es/commands/UntagLogGroupCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAnomalyCommand.js +3 -9
- package/dist-es/commands/UpdateDeliveryConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateLogAnomalyDetectorCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -28
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2543 -0
- package/dist-types/CloudWatchLogsClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -16
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +439 -0
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -12
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +444 -0
- package/package.json +8 -7
- package/dist-es/protocols/Aws_json1_1.js +0 -2116
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -821
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -1100
|
@@ -467,31 +467,3 @@ export const SuppressionType = {
|
|
|
467
467
|
INFINITE: "INFINITE",
|
|
468
468
|
LIMITED: "LIMITED",
|
|
469
469
|
};
|
|
470
|
-
export const GetLogObjectResponseStreamFilterSensitiveLog = (obj) => {
|
|
471
|
-
if (obj.fields !== undefined)
|
|
472
|
-
return { fields: obj.fields };
|
|
473
|
-
if (obj.InternalStreamingException !== undefined)
|
|
474
|
-
return { InternalStreamingException: obj.InternalStreamingException };
|
|
475
|
-
if (obj.$unknown !== undefined)
|
|
476
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
477
|
-
};
|
|
478
|
-
export const GetLogObjectResponseFilterSensitiveLog = (obj) => ({
|
|
479
|
-
...obj,
|
|
480
|
-
...(obj.fieldStream && { fieldStream: "STREAMING_CONTENT" }),
|
|
481
|
-
});
|
|
482
|
-
export const StartLiveTailResponseStreamFilterSensitiveLog = (obj) => {
|
|
483
|
-
if (obj.sessionStart !== undefined)
|
|
484
|
-
return { sessionStart: obj.sessionStart };
|
|
485
|
-
if (obj.sessionUpdate !== undefined)
|
|
486
|
-
return { sessionUpdate: obj.sessionUpdate };
|
|
487
|
-
if (obj.SessionTimeoutException !== undefined)
|
|
488
|
-
return { SessionTimeoutException: obj.SessionTimeoutException };
|
|
489
|
-
if (obj.SessionStreamingException !== undefined)
|
|
490
|
-
return { SessionStreamingException: obj.SessionStreamingException };
|
|
491
|
-
if (obj.$unknown !== undefined)
|
|
492
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
493
|
-
};
|
|
494
|
-
export const StartLiveTailResponseFilterSensitiveLog = (obj) => ({
|
|
495
|
-
...obj,
|
|
496
|
-
...(obj.responseStream && { responseStream: "STREAMING_CONTENT" }),
|
|
497
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.cloudwatchlogs",
|
|
29
|
+
serviceTarget: "Logs_20140328",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "CloudWatch Logs",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|