@aws-sdk/client-cloudwatch-logs 3.1040.0 → 3.1042.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 +17 -0
- package/dist-cjs/schemas/schemas_0.js +66 -26
- package/dist-es/models/enums.js +14 -0
- package/dist-es/schemas/schemas_0.js +58 -18
- package/dist-types/commands/DescribeConfigurationTemplatesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeDeliverySourcesCommand.d.ts +5 -0
- package/dist-types/commands/GetDeliverySourceCommand.d.ts +5 -0
- package/dist-types/commands/ListLogGroupsCommand.d.ts +11 -5
- package/dist-types/commands/PutDeliverySourceCommand.d.ts +8 -0
- package/dist-types/commands/StartQueryCommand.d.ts +2 -1
- package/dist-types/commands/UpdateDeliveryConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/UpdateLogAnomalyDetectorCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLookupTableCommand.d.ts +1 -2
- package/dist-types/models/enums.d.ts +38 -0
- package/dist-types/models/models_0.d.ts +142 -72
- package/dist-types/models/models_1.d.ts +72 -1
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/commands/UpdateDeliveryConfigurationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateLogAnomalyDetectorCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateLookupTableCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/enums.d.ts +20 -0
- package/dist-types/ts3.4/models/models_0.d.ts +26 -14
- package/dist-types/ts3.4/models/models_1.d.ts +20 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +5 -5
|
@@ -3,6 +3,9 @@ import {
|
|
|
3
3
|
AnomalyDetectorStatus,
|
|
4
4
|
DataProtectionStatus,
|
|
5
5
|
DeliveryDestinationType,
|
|
6
|
+
DeliverySourceConfigurationSchemaValueType,
|
|
7
|
+
DeliverySourceStatus,
|
|
8
|
+
DeliverySourceStatusReason,
|
|
6
9
|
Distribution,
|
|
7
10
|
EntityRejectionErrorType,
|
|
8
11
|
EvaluationFrequency,
|
|
@@ -156,6 +159,18 @@ export interface ConfigurationTemplateDeliveryConfigValues {
|
|
|
156
159
|
fieldDelimiter?: string | undefined;
|
|
157
160
|
s3DeliveryConfiguration?: S3DeliveryConfiguration | undefined;
|
|
158
161
|
}
|
|
162
|
+
export interface DeliverySourceConfigurationSchema {
|
|
163
|
+
keyName: string | undefined;
|
|
164
|
+
valueType: DeliverySourceConfigurationSchemaValueType | undefined;
|
|
165
|
+
defaultValue: string | undefined;
|
|
166
|
+
supportedValues?: string[] | undefined;
|
|
167
|
+
minValue?: number | undefined;
|
|
168
|
+
maxValue?: number | undefined;
|
|
169
|
+
}
|
|
170
|
+
export interface S3TablesIntegration {
|
|
171
|
+
datasourceName?: string | undefined;
|
|
172
|
+
datasourceType?: string | undefined;
|
|
173
|
+
}
|
|
159
174
|
export interface ConfigurationTemplate {
|
|
160
175
|
service?: string | undefined;
|
|
161
176
|
logType?: string | undefined;
|
|
@@ -169,6 +184,8 @@ export interface ConfigurationTemplate {
|
|
|
169
184
|
allowedActionForAllowVendedLogsDeliveryForResource?: string | undefined;
|
|
170
185
|
allowedFieldDelimiters?: string[] | undefined;
|
|
171
186
|
allowedSuffixPathFields?: string[] | undefined;
|
|
187
|
+
deliverySourceConfiguration?: DeliverySourceConfigurationSchema[] | undefined;
|
|
188
|
+
s3TablesIntegration?: S3TablesIntegration | undefined;
|
|
172
189
|
}
|
|
173
190
|
export interface CopyValueEntry {
|
|
174
191
|
source: string | undefined;
|
|
@@ -405,6 +422,9 @@ export interface DeliverySource {
|
|
|
405
422
|
service?: string | undefined;
|
|
406
423
|
logType?: string | undefined;
|
|
407
424
|
tags?: Record<string, string> | undefined;
|
|
425
|
+
deliverySourceConfiguration?: Record<string, string> | undefined;
|
|
426
|
+
status?: DeliverySourceStatus | undefined;
|
|
427
|
+
statusReason?: DeliverySourceStatusReason | undefined;
|
|
408
428
|
}
|
|
409
429
|
export interface DescribeAccountPoliciesRequest {
|
|
410
430
|
policyType: PolicyType | undefined;
|
|
@@ -1267,6 +1287,10 @@ export interface ListLogAnomalyDetectorsResponse {
|
|
|
1267
1287
|
anomalyDetectors?: AnomalyDetector[] | undefined;
|
|
1268
1288
|
nextToken?: string | undefined;
|
|
1269
1289
|
}
|
|
1290
|
+
export interface TagFilter {
|
|
1291
|
+
key: string | undefined;
|
|
1292
|
+
values?: string[] | undefined;
|
|
1293
|
+
}
|
|
1270
1294
|
export interface ListLogGroupsRequest {
|
|
1271
1295
|
logGroupNamePattern?: string | undefined;
|
|
1272
1296
|
logGroupClass?: LogGroupClass | undefined;
|
|
@@ -1276,6 +1300,7 @@ export interface ListLogGroupsRequest {
|
|
|
1276
1300
|
limit?: number | undefined;
|
|
1277
1301
|
dataSources?: DataSourceFilter[] | undefined;
|
|
1278
1302
|
fieldIndexNames?: string[] | undefined;
|
|
1303
|
+
logGroupTags?: TagFilter[] | undefined;
|
|
1279
1304
|
}
|
|
1280
1305
|
export interface LogGroupSummary {
|
|
1281
1306
|
logGroupName?: string | undefined;
|
|
@@ -1414,6 +1439,7 @@ export interface PutDeliverySourceRequest {
|
|
|
1414
1439
|
resourceArn: string | undefined;
|
|
1415
1440
|
logType: string | undefined;
|
|
1416
1441
|
tags?: Record<string, string> | undefined;
|
|
1442
|
+
deliverySourceConfiguration?: Record<string, string> | undefined;
|
|
1417
1443
|
}
|
|
1418
1444
|
export interface PutDeliverySourceResponse {
|
|
1419
1445
|
deliverySource?: DeliverySource | undefined;
|
|
@@ -1690,17 +1716,3 @@ export interface UpdateDeliveryConfigurationRequest {
|
|
|
1690
1716
|
fieldDelimiter?: string | undefined;
|
|
1691
1717
|
s3DeliveryConfiguration?: S3DeliveryConfiguration | undefined;
|
|
1692
1718
|
}
|
|
1693
|
-
export interface UpdateDeliveryConfigurationResponse {}
|
|
1694
|
-
export interface UpdateLogAnomalyDetectorRequest {
|
|
1695
|
-
anomalyDetectorArn: string | undefined;
|
|
1696
|
-
evaluationFrequency?: EvaluationFrequency | undefined;
|
|
1697
|
-
filterPattern?: string | undefined;
|
|
1698
|
-
anomalyVisibilityTime?: number | undefined;
|
|
1699
|
-
enabled: boolean | undefined;
|
|
1700
|
-
}
|
|
1701
|
-
export interface UpdateLookupTableRequest {
|
|
1702
|
-
lookupTableArn: string | undefined;
|
|
1703
|
-
description?: string | undefined;
|
|
1704
|
-
tableBody: string | undefined;
|
|
1705
|
-
kmsKeyId?: string | undefined;
|
|
1706
|
-
}
|
|
@@ -1,5 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
EvaluationFrequency,
|
|
3
|
+
ExecutionStatus,
|
|
4
|
+
QueryLanguage,
|
|
5
|
+
ScheduledQueryState,
|
|
6
|
+
} from "./enums";
|
|
2
7
|
import { DestinationConfiguration } from "./models_0";
|
|
8
|
+
export interface UpdateDeliveryConfigurationResponse {}
|
|
9
|
+
export interface UpdateLogAnomalyDetectorRequest {
|
|
10
|
+
anomalyDetectorArn: string | undefined;
|
|
11
|
+
evaluationFrequency?: EvaluationFrequency | undefined;
|
|
12
|
+
filterPattern?: string | undefined;
|
|
13
|
+
anomalyVisibilityTime?: number | undefined;
|
|
14
|
+
enabled: boolean | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface UpdateLookupTableRequest {
|
|
17
|
+
lookupTableArn: string | undefined;
|
|
18
|
+
description?: string | undefined;
|
|
19
|
+
tableBody: string | undefined;
|
|
20
|
+
kmsKeyId?: string | undefined;
|
|
21
|
+
}
|
|
3
22
|
export interface UpdateLookupTableResponse {
|
|
4
23
|
lookupTableArn?: string | undefined;
|
|
5
24
|
lastUpdatedTime?: number | undefined;
|
|
@@ -91,6 +91,7 @@ export declare var Delivery$: StaticStructureSchema;
|
|
|
91
91
|
export declare var DeliveryDestination$: StaticStructureSchema;
|
|
92
92
|
export declare var DeliveryDestinationConfiguration$: StaticStructureSchema;
|
|
93
93
|
export declare var DeliverySource$: StaticStructureSchema;
|
|
94
|
+
export declare var DeliverySourceConfigurationSchema$: StaticStructureSchema;
|
|
94
95
|
export declare var DescribeAccountPoliciesRequest$: StaticStructureSchema;
|
|
95
96
|
export declare var DescribeAccountPoliciesResponse$: StaticStructureSchema;
|
|
96
97
|
export declare var DescribeConfigurationTemplatesRequest$: StaticStructureSchema;
|
|
@@ -293,6 +294,7 @@ export declare var ResultField$: StaticStructureSchema;
|
|
|
293
294
|
export declare var S3Configuration$: StaticStructureSchema;
|
|
294
295
|
export declare var S3DeliveryConfiguration$: StaticStructureSchema;
|
|
295
296
|
export declare var S3TableIntegrationSource$: StaticStructureSchema;
|
|
297
|
+
export declare var S3TablesIntegration$: StaticStructureSchema;
|
|
296
298
|
export declare var ScheduledQueryDestination$: StaticStructureSchema;
|
|
297
299
|
export declare var ScheduledQuerySummary$: StaticStructureSchema;
|
|
298
300
|
export declare var SearchedLogStream$: StaticStructureSchema;
|
|
@@ -308,6 +310,7 @@ export declare var SubscriptionFilter$: StaticStructureSchema;
|
|
|
308
310
|
export declare var SubstituteString$: StaticStructureSchema;
|
|
309
311
|
export declare var SubstituteStringEntry$: StaticStructureSchema;
|
|
310
312
|
export declare var SuppressionPeriod$: StaticStructureSchema;
|
|
313
|
+
export declare var TagFilter$: StaticStructureSchema;
|
|
311
314
|
export declare var TagLogGroupRequest$: StaticStructureSchema;
|
|
312
315
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
313
316
|
export declare var TestMetricFilterRequest$: StaticStructureSchema;
|
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.1042.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudwatch-logs",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
30
|
-
"@aws-sdk/core": "^3.974.
|
|
31
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
30
|
+
"@aws-sdk/core": "^3.974.8",
|
|
31
|
+
"@aws-sdk/credential-provider-node": "^3.972.39",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
33
33
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "^3.972.38",
|
|
36
36
|
"@aws-sdk/region-config-resolver": "^3.972.13",
|
|
37
37
|
"@aws-sdk/types": "^3.973.8",
|
|
38
38
|
"@aws-sdk/util-endpoints": "^3.996.8",
|
|
39
39
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
40
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
40
|
+
"@aws-sdk/util-user-agent-node": "^3.973.24",
|
|
41
41
|
"@smithy/config-resolver": "^4.4.17",
|
|
42
42
|
"@smithy/core": "^3.23.17",
|
|
43
43
|
"@smithy/eventstream-serde-browser": "^4.2.14",
|