@aws-sdk/client-cloudwatch-logs 3.845.0 → 3.847.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 +2 -2
- package/dist-cjs/index.js +8 -1
- package/dist-es/models/models_0.js +5 -0
- package/dist-types/CloudWatchLogs.d.ts +2 -2
- package/dist-types/CloudWatchLogsClient.d.ts +2 -2
- package/dist-types/commands/AssociateKmsKeyCommand.d.ts +30 -29
- package/dist-types/commands/CreateDeliveryCommand.d.ts +22 -25
- package/dist-types/commands/CreateExportTaskCommand.d.ts +10 -9
- package/dist-types/commands/CreateLogAnomalyDetectorCommand.d.ts +19 -25
- package/dist-types/commands/CreateLogGroupCommand.d.ts +5 -3
- package/dist-types/commands/CreateLogStreamCommand.d.ts +6 -5
- package/dist-types/commands/DeleteAccountPolicyCommand.d.ts +17 -12
- package/dist-types/commands/DeleteDeliveryCommand.d.ts +5 -3
- package/dist-types/commands/DeleteDeliveryDestinationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteDeliveryDestinationPolicyCommand.d.ts +2 -2
- package/dist-types/commands/DeleteDeliverySourceCommand.d.ts +6 -4
- package/dist-types/commands/DeleteDestinationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteIndexPolicyCommand.d.ts +7 -6
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +6 -5
- package/dist-types/commands/DeleteLogGroupCommand.d.ts +2 -2
- package/dist-types/commands/DeleteLogStreamCommand.d.ts +2 -2
- package/dist-types/commands/DeleteQueryDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +7 -2
- package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeleteTransformerCommand.d.ts +6 -6
- package/dist-types/commands/DescribeAccountPoliciesCommand.d.ts +12 -8
- package/dist-types/commands/DescribeConfigurationTemplatesCommand.d.ts +5 -4
- package/dist-types/commands/DescribeDeliveriesCommand.d.ts +9 -11
- package/dist-types/commands/DescribeDeliveryDestinationsCommand.d.ts +3 -2
- package/dist-types/commands/DescribeDestinationsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeExportTasksCommand.d.ts +2 -2
- package/dist-types/commands/DescribeFieldIndexesCommand.d.ts +2 -3
- package/dist-types/commands/DescribeIndexPoliciesCommand.d.ts +6 -6
- package/dist-types/commands/DescribeLogGroupsCommand.d.ts +13 -11
- package/dist-types/commands/DescribeLogStreamsCommand.d.ts +10 -10
- package/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +5 -4
- package/dist-types/commands/DescribeResourcePoliciesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeSubscriptionFiltersCommand.d.ts +3 -2
- package/dist-types/commands/DisassociateKmsKeyCommand.d.ts +13 -13
- package/dist-types/commands/FilterLogEventsCommand.d.ts +31 -20
- package/dist-types/commands/GetDeliveryCommand.d.ts +12 -13
- package/dist-types/commands/GetDeliveryDestinationCommand.d.ts +1 -1
- package/dist-types/commands/GetDeliveryDestinationPolicyCommand.d.ts +2 -3
- package/dist-types/commands/GetLogEventsCommand.d.ts +25 -17
- package/dist-types/commands/GetLogGroupFieldsCommand.d.ts +8 -8
- package/dist-types/commands/GetQueryResultsCommand.d.ts +13 -11
- package/dist-types/commands/GetTransformerCommand.d.ts +2 -2
- package/dist-types/commands/ListAnomaliesCommand.d.ts +3 -2
- package/dist-types/commands/ListIntegrationsCommand.d.ts +3 -2
- package/dist-types/commands/ListLogGroupsCommand.d.ts +8 -7
- package/dist-types/commands/ListLogGroupsForQueryCommand.d.ts +6 -5
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/ListTagsLogGroupCommand.d.ts +1 -1
- package/dist-types/commands/PutAccountPolicyCommand.d.ts +113 -98
- package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +20 -19
- package/dist-types/commands/PutDeliveryDestinationCommand.d.ts +28 -28
- package/dist-types/commands/PutDeliveryDestinationPolicyCommand.d.ts +18 -20
- package/dist-types/commands/PutDeliverySourceCommand.d.ts +23 -25
- package/dist-types/commands/PutDestinationCommand.d.ts +7 -6
- package/dist-types/commands/PutDestinationPolicyCommand.d.ts +4 -3
- package/dist-types/commands/PutIndexPolicyCommand.d.ts +24 -23
- package/dist-types/commands/PutIntegrationCommand.d.ts +8 -6
- package/dist-types/commands/PutLogEventsCommand.d.ts +27 -24
- package/dist-types/commands/PutMetricFilterCommand.d.ts +14 -18
- package/dist-types/commands/PutQueryDefinitionCommand.d.ts +3 -3
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +15 -3
- package/dist-types/commands/PutRetentionPolicyCommand.d.ts +4 -3
- package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +11 -12
- package/dist-types/commands/PutTransformerCommand.d.ts +24 -19
- package/dist-types/commands/StartLiveTailCommand.d.ts +27 -28
- package/dist-types/commands/StartQueryCommand.d.ts +28 -30
- package/dist-types/commands/StopQueryCommand.d.ts +3 -2
- package/dist-types/commands/TagLogGroupCommand.d.ts +10 -10
- package/dist-types/commands/TagResourceCommand.d.ts +11 -10
- package/dist-types/commands/TestTransformerCommand.d.ts +3 -2
- package/dist-types/commands/UntagLogGroupCommand.d.ts +6 -7
- package/dist-types/commands/UpdateAnomalyCommand.d.ts +10 -9
- package/dist-types/commands/UpdateDeliveryConfigurationCommand.d.ts +3 -3
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +1441 -1201
- package/dist-types/ts3.4/models/models_0.d.ts +18 -1
- package/package.json +5 -5
|
@@ -173,6 +173,7 @@ export declare const DeliveryDestinationType: {
|
|
|
173
173
|
readonly CWL: "CWL";
|
|
174
174
|
readonly FH: "FH";
|
|
175
175
|
readonly S3: "S3";
|
|
176
|
+
readonly XRAY: "XRAY";
|
|
176
177
|
};
|
|
177
178
|
export type DeliveryDestinationType =
|
|
178
179
|
(typeof DeliveryDestinationType)[keyof typeof DeliveryDestinationType];
|
|
@@ -387,6 +388,8 @@ export interface DeleteQueryDefinitionResponse {
|
|
|
387
388
|
}
|
|
388
389
|
export interface DeleteResourcePolicyRequest {
|
|
389
390
|
policyName?: string | undefined;
|
|
391
|
+
resourceArn?: string | undefined;
|
|
392
|
+
expectedRevisionId?: string | undefined;
|
|
390
393
|
}
|
|
391
394
|
export interface DeleteRetentionPolicyRequest {
|
|
392
395
|
logGroupName: string | undefined;
|
|
@@ -727,14 +730,24 @@ export interface DescribeQueryDefinitionsResponse {
|
|
|
727
730
|
queryDefinitions?: QueryDefinition[] | undefined;
|
|
728
731
|
nextToken?: string | undefined;
|
|
729
732
|
}
|
|
733
|
+
export declare const PolicyScope: {
|
|
734
|
+
readonly ACCOUNT: "ACCOUNT";
|
|
735
|
+
readonly RESOURCE: "RESOURCE";
|
|
736
|
+
};
|
|
737
|
+
export type PolicyScope = (typeof PolicyScope)[keyof typeof PolicyScope];
|
|
730
738
|
export interface DescribeResourcePoliciesRequest {
|
|
731
739
|
nextToken?: string | undefined;
|
|
732
740
|
limit?: number | undefined;
|
|
741
|
+
resourceArn?: string | undefined;
|
|
742
|
+
policyScope?: PolicyScope | undefined;
|
|
733
743
|
}
|
|
734
744
|
export interface ResourcePolicy {
|
|
735
745
|
policyName?: string | undefined;
|
|
736
746
|
policyDocument?: string | undefined;
|
|
737
747
|
lastUpdatedTime?: number | undefined;
|
|
748
|
+
policyScope?: PolicyScope | undefined;
|
|
749
|
+
resourceArn?: string | undefined;
|
|
750
|
+
revisionId?: string | undefined;
|
|
738
751
|
}
|
|
739
752
|
export interface DescribeResourcePoliciesResponse {
|
|
740
753
|
resourcePolicies?: ResourcePolicy[] | undefined;
|
|
@@ -1302,9 +1315,10 @@ export interface PutDataProtectionPolicyResponse {
|
|
|
1302
1315
|
export interface PutDeliveryDestinationRequest {
|
|
1303
1316
|
name: string | undefined;
|
|
1304
1317
|
outputFormat?: OutputFormat | undefined;
|
|
1305
|
-
deliveryDestinationConfiguration
|
|
1318
|
+
deliveryDestinationConfiguration?:
|
|
1306
1319
|
| DeliveryDestinationConfiguration
|
|
1307
1320
|
| undefined;
|
|
1321
|
+
deliveryDestinationType?: DeliveryDestinationType | undefined;
|
|
1308
1322
|
tags?: Record<string, string> | undefined;
|
|
1309
1323
|
}
|
|
1310
1324
|
export interface PutDeliveryDestinationResponse {
|
|
@@ -1429,9 +1443,12 @@ export interface PutQueryDefinitionResponse {
|
|
|
1429
1443
|
export interface PutResourcePolicyRequest {
|
|
1430
1444
|
policyName?: string | undefined;
|
|
1431
1445
|
policyDocument?: string | undefined;
|
|
1446
|
+
resourceArn?: string | undefined;
|
|
1447
|
+
expectedRevisionId?: string | undefined;
|
|
1432
1448
|
}
|
|
1433
1449
|
export interface PutResourcePolicyResponse {
|
|
1434
1450
|
resourcePolicy?: ResourcePolicy | undefined;
|
|
1451
|
+
revisionId?: string | undefined;
|
|
1435
1452
|
}
|
|
1436
1453
|
export interface PutRetentionPolicyRequest {
|
|
1437
1454
|
logGroupName: string | undefined;
|
package/package.json
CHANGED
|
@@ -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.847.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,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.846.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.846.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.840.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.840.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.840.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.846.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.840.0",
|
|
30
30
|
"@aws-sdk/types": "3.840.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.845.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.840.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.846.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.4",
|
|
35
35
|
"@smithy/core": "^3.7.0",
|
|
36
36
|
"@smithy/eventstream-serde-browser": "^4.0.4",
|