@aws-sdk/client-cloudwatch-logs 3.643.0 → 3.645.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.
Files changed (32) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +96 -14
  3. package/dist-es/CloudWatchLogs.js +4 -0
  4. package/dist-es/commands/DescribeConfigurationTemplatesCommand.js +24 -0
  5. package/dist-es/commands/UpdateDeliveryConfigurationCommand.js +24 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +12 -12
  8. package/dist-es/pagination/DescribeConfigurationTemplatesPaginator.js +4 -0
  9. package/dist-es/pagination/index.js +2 -1
  10. package/dist-es/protocols/Aws_json1_1.js +38 -0
  11. package/dist-types/CloudWatchLogs.d.ts +15 -0
  12. package/dist-types/CloudWatchLogsClient.d.ts +4 -2
  13. package/dist-types/commands/CreateDeliveryCommand.d.ts +16 -0
  14. package/dist-types/commands/DescribeConfigurationTemplatesCommand.d.ts +118 -0
  15. package/dist-types/commands/DescribeDeliveriesCommand.d.ts +8 -0
  16. package/dist-types/commands/GetDeliveryCommand.d.ts +8 -0
  17. package/dist-types/commands/UpdateDeliveryConfigurationCommand.d.ts +86 -0
  18. package/dist-types/commands/index.d.ts +2 -0
  19. package/dist-types/models/models_0.d.ts +283 -35
  20. package/dist-types/pagination/DescribeConfigurationTemplatesPaginator.d.ts +7 -0
  21. package/dist-types/pagination/index.d.ts +2 -1
  22. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  23. package/dist-types/ts3.4/CloudWatchLogs.d.ts +35 -0
  24. package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +12 -0
  25. package/dist-types/ts3.4/commands/DescribeConfigurationTemplatesCommand.d.ts +40 -0
  26. package/dist-types/ts3.4/commands/UpdateDeliveryConfigurationCommand.d.ts +40 -0
  27. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +65 -15
  29. package/dist-types/ts3.4/pagination/DescribeConfigurationTemplatesPaginator.d.ts +11 -0
  30. package/dist-types/ts3.4/pagination/index.d.ts +2 -1
  31. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  32. package/package.json +6 -6
@@ -1,3 +1,4 @@
1
+ export * from "./DescribeConfigurationTemplatesPaginator";
1
2
  export * from "./DescribeDeliveriesPaginator";
2
3
  export * from "./DescribeDeliveryDestinationsPaginator";
3
4
  export * from "./DescribeDeliverySourcesPaginator";
@@ -7,7 +8,7 @@ export * from "./DescribeLogStreamsPaginator";
7
8
  export * from "./DescribeMetricFiltersPaginator";
8
9
  export * from "./DescribeSubscriptionFiltersPaginator";
9
10
  export * from "./FilterLogEventsPaginator";
10
- export * from "./GetLogEventsPaginator";
11
11
  export * from "./Interfaces";
12
+ export * from "./GetLogEventsPaginator";
12
13
  export * from "./ListAnomaliesPaginator";
13
14
  export * from "./ListLogAnomalyDetectorsPaginator";
@@ -23,6 +23,7 @@ import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } f
23
23
  import { DeleteRetentionPolicyCommandInput, DeleteRetentionPolicyCommandOutput } from "../commands/DeleteRetentionPolicyCommand";
24
24
  import { DeleteSubscriptionFilterCommandInput, DeleteSubscriptionFilterCommandOutput } from "../commands/DeleteSubscriptionFilterCommand";
25
25
  import { DescribeAccountPoliciesCommandInput, DescribeAccountPoliciesCommandOutput } from "../commands/DescribeAccountPoliciesCommand";
26
+ import { DescribeConfigurationTemplatesCommandInput, DescribeConfigurationTemplatesCommandOutput } from "../commands/DescribeConfigurationTemplatesCommand";
26
27
  import { DescribeDeliveriesCommandInput, DescribeDeliveriesCommandOutput } from "../commands/DescribeDeliveriesCommand";
27
28
  import { DescribeDeliveryDestinationsCommandInput, DescribeDeliveryDestinationsCommandOutput } from "../commands/DescribeDeliveryDestinationsCommand";
28
29
  import { DescribeDeliverySourcesCommandInput, DescribeDeliverySourcesCommandOutput } from "../commands/DescribeDeliverySourcesCommand";
@@ -73,6 +74,7 @@ import { TestMetricFilterCommandInput, TestMetricFilterCommandOutput } from "../
73
74
  import { UntagLogGroupCommandInput, UntagLogGroupCommandOutput } from "../commands/UntagLogGroupCommand";
74
75
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
75
76
  import { UpdateAnomalyCommandInput, UpdateAnomalyCommandOutput } from "../commands/UpdateAnomalyCommand";
77
+ import { UpdateDeliveryConfigurationCommandInput, UpdateDeliveryConfigurationCommandOutput } from "../commands/UpdateDeliveryConfigurationCommand";
76
78
  import { UpdateLogAnomalyDetectorCommandInput, UpdateLogAnomalyDetectorCommandOutput } from "../commands/UpdateLogAnomalyDetectorCommand";
77
79
  /**
78
80
  * serializeAws_json1_1AssociateKmsKeyCommand
@@ -166,6 +168,10 @@ export declare const se_DeleteSubscriptionFilterCommand: (input: DeleteSubscript
166
168
  * serializeAws_json1_1DescribeAccountPoliciesCommand
167
169
  */
168
170
  export declare const se_DescribeAccountPoliciesCommand: (input: DescribeAccountPoliciesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
171
+ /**
172
+ * serializeAws_json1_1DescribeConfigurationTemplatesCommand
173
+ */
174
+ export declare const se_DescribeConfigurationTemplatesCommand: (input: DescribeConfigurationTemplatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
169
175
  /**
170
176
  * serializeAws_json1_1DescribeDeliveriesCommand
171
177
  */
@@ -366,6 +372,10 @@ export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput,
366
372
  * serializeAws_json1_1UpdateAnomalyCommand
367
373
  */
368
374
  export declare const se_UpdateAnomalyCommand: (input: UpdateAnomalyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
375
+ /**
376
+ * serializeAws_json1_1UpdateDeliveryConfigurationCommand
377
+ */
378
+ export declare const se_UpdateDeliveryConfigurationCommand: (input: UpdateDeliveryConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
369
379
  /**
370
380
  * serializeAws_json1_1UpdateLogAnomalyDetectorCommand
371
381
  */
@@ -462,6 +472,10 @@ export declare const de_DeleteSubscriptionFilterCommand: (output: __HttpResponse
462
472
  * deserializeAws_json1_1DescribeAccountPoliciesCommand
463
473
  */
464
474
  export declare const de_DescribeAccountPoliciesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAccountPoliciesCommandOutput>;
475
+ /**
476
+ * deserializeAws_json1_1DescribeConfigurationTemplatesCommand
477
+ */
478
+ export declare const de_DescribeConfigurationTemplatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeConfigurationTemplatesCommandOutput>;
465
479
  /**
466
480
  * deserializeAws_json1_1DescribeDeliveriesCommand
467
481
  */
@@ -662,6 +676,10 @@ export declare const de_UntagResourceCommand: (output: __HttpResponse, context:
662
676
  * deserializeAws_json1_1UpdateAnomalyCommand
663
677
  */
664
678
  export declare const de_UpdateAnomalyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAnomalyCommandOutput>;
679
+ /**
680
+ * deserializeAws_json1_1UpdateDeliveryConfigurationCommand
681
+ */
682
+ export declare const de_UpdateDeliveryConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDeliveryConfigurationCommandOutput>;
665
683
  /**
666
684
  * deserializeAws_json1_1UpdateLogAnomalyDetectorCommand
667
685
  */
@@ -92,6 +92,10 @@ import {
92
92
  DescribeAccountPoliciesCommandInput,
93
93
  DescribeAccountPoliciesCommandOutput,
94
94
  } from "./commands/DescribeAccountPoliciesCommand";
95
+ import {
96
+ DescribeConfigurationTemplatesCommandInput,
97
+ DescribeConfigurationTemplatesCommandOutput,
98
+ } from "./commands/DescribeConfigurationTemplatesCommand";
95
99
  import {
96
100
  DescribeDeliveriesCommandInput,
97
101
  DescribeDeliveriesCommandOutput,
@@ -292,6 +296,10 @@ import {
292
296
  UpdateAnomalyCommandInput,
293
297
  UpdateAnomalyCommandOutput,
294
298
  } from "./commands/UpdateAnomalyCommand";
299
+ import {
300
+ UpdateDeliveryConfigurationCommandInput,
301
+ UpdateDeliveryConfigurationCommandOutput,
302
+ } from "./commands/UpdateDeliveryConfigurationCommand";
295
303
  import {
296
304
  UpdateLogAnomalyDetectorCommandInput,
297
305
  UpdateLogAnomalyDetectorCommandOutput,
@@ -597,6 +605,20 @@ export interface CloudWatchLogs {
597
605
  options: __HttpHandlerOptions,
598
606
  cb: (err: any, data?: DescribeAccountPoliciesCommandOutput) => void
599
607
  ): void;
608
+ describeConfigurationTemplates(): Promise<DescribeConfigurationTemplatesCommandOutput>;
609
+ describeConfigurationTemplates(
610
+ args: DescribeConfigurationTemplatesCommandInput,
611
+ options?: __HttpHandlerOptions
612
+ ): Promise<DescribeConfigurationTemplatesCommandOutput>;
613
+ describeConfigurationTemplates(
614
+ args: DescribeConfigurationTemplatesCommandInput,
615
+ cb: (err: any, data?: DescribeConfigurationTemplatesCommandOutput) => void
616
+ ): void;
617
+ describeConfigurationTemplates(
618
+ args: DescribeConfigurationTemplatesCommandInput,
619
+ options: __HttpHandlerOptions,
620
+ cb: (err: any, data?: DescribeConfigurationTemplatesCommandOutput) => void
621
+ ): void;
600
622
  describeDeliveries(): Promise<DescribeDeliveriesCommandOutput>;
601
623
  describeDeliveries(
602
624
  args: DescribeDeliveriesCommandInput,
@@ -1264,6 +1286,19 @@ export interface CloudWatchLogs {
1264
1286
  options: __HttpHandlerOptions,
1265
1287
  cb: (err: any, data?: UpdateAnomalyCommandOutput) => void
1266
1288
  ): void;
1289
+ updateDeliveryConfiguration(
1290
+ args: UpdateDeliveryConfigurationCommandInput,
1291
+ options?: __HttpHandlerOptions
1292
+ ): Promise<UpdateDeliveryConfigurationCommandOutput>;
1293
+ updateDeliveryConfiguration(
1294
+ args: UpdateDeliveryConfigurationCommandInput,
1295
+ cb: (err: any, data?: UpdateDeliveryConfigurationCommandOutput) => void
1296
+ ): void;
1297
+ updateDeliveryConfiguration(
1298
+ args: UpdateDeliveryConfigurationCommandInput,
1299
+ options: __HttpHandlerOptions,
1300
+ cb: (err: any, data?: UpdateDeliveryConfigurationCommandOutput) => void
1301
+ ): void;
1267
1302
  updateLogAnomalyDetector(
1268
1303
  args: UpdateLogAnomalyDetectorCommandInput,
1269
1304
  options?: __HttpHandlerOptions
@@ -142,6 +142,10 @@ import {
142
142
  DescribeAccountPoliciesCommandInput,
143
143
  DescribeAccountPoliciesCommandOutput,
144
144
  } from "./commands/DescribeAccountPoliciesCommand";
145
+ import {
146
+ DescribeConfigurationTemplatesCommandInput,
147
+ DescribeConfigurationTemplatesCommandOutput,
148
+ } from "./commands/DescribeConfigurationTemplatesCommand";
145
149
  import {
146
150
  DescribeDeliveriesCommandInput,
147
151
  DescribeDeliveriesCommandOutput,
@@ -342,6 +346,10 @@ import {
342
346
  UpdateAnomalyCommandInput,
343
347
  UpdateAnomalyCommandOutput,
344
348
  } from "./commands/UpdateAnomalyCommand";
349
+ import {
350
+ UpdateDeliveryConfigurationCommandInput,
351
+ UpdateDeliveryConfigurationCommandOutput,
352
+ } from "./commands/UpdateDeliveryConfigurationCommand";
345
353
  import {
346
354
  UpdateLogAnomalyDetectorCommandInput,
347
355
  UpdateLogAnomalyDetectorCommandOutput,
@@ -377,6 +385,7 @@ export type ServiceInputTypes =
377
385
  | DeleteRetentionPolicyCommandInput
378
386
  | DeleteSubscriptionFilterCommandInput
379
387
  | DescribeAccountPoliciesCommandInput
388
+ | DescribeConfigurationTemplatesCommandInput
380
389
  | DescribeDeliveriesCommandInput
381
390
  | DescribeDeliveryDestinationsCommandInput
382
391
  | DescribeDeliverySourcesCommandInput
@@ -427,6 +436,7 @@ export type ServiceInputTypes =
427
436
  | UntagLogGroupCommandInput
428
437
  | UntagResourceCommandInput
429
438
  | UpdateAnomalyCommandInput
439
+ | UpdateDeliveryConfigurationCommandInput
430
440
  | UpdateLogAnomalyDetectorCommandInput;
431
441
  export type ServiceOutputTypes =
432
442
  | AssociateKmsKeyCommandOutput
@@ -452,6 +462,7 @@ export type ServiceOutputTypes =
452
462
  | DeleteRetentionPolicyCommandOutput
453
463
  | DeleteSubscriptionFilterCommandOutput
454
464
  | DescribeAccountPoliciesCommandOutput
465
+ | DescribeConfigurationTemplatesCommandOutput
455
466
  | DescribeDeliveriesCommandOutput
456
467
  | DescribeDeliveryDestinationsCommandOutput
457
468
  | DescribeDeliverySourcesCommandOutput
@@ -502,6 +513,7 @@ export type ServiceOutputTypes =
502
513
  | UntagLogGroupCommandOutput
503
514
  | UntagResourceCommandOutput
504
515
  | UpdateAnomalyCommandOutput
516
+ | UpdateDeliveryConfigurationCommandOutput
505
517
  | UpdateLogAnomalyDetectorCommandOutput;
506
518
  export interface ClientDefaults
507
519
  extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CloudWatchLogsClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CloudWatchLogsClient";
8
+ import {
9
+ DescribeConfigurationTemplatesRequest,
10
+ DescribeConfigurationTemplatesResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeConfigurationTemplatesCommandInput
15
+ extends DescribeConfigurationTemplatesRequest {}
16
+ export interface DescribeConfigurationTemplatesCommandOutput
17
+ extends DescribeConfigurationTemplatesResponse,
18
+ __MetadataBearer {}
19
+ declare const DescribeConfigurationTemplatesCommand_base: {
20
+ new (
21
+ input: DescribeConfigurationTemplatesCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DescribeConfigurationTemplatesCommandInput,
24
+ DescribeConfigurationTemplatesCommandOutput,
25
+ CloudWatchLogsClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [DescribeConfigurationTemplatesCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DescribeConfigurationTemplatesCommandInput,
33
+ DescribeConfigurationTemplatesCommandOutput,
34
+ CloudWatchLogsClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DescribeConfigurationTemplatesCommand extends DescribeConfigurationTemplatesCommand_base {}
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CloudWatchLogsClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CloudWatchLogsClient";
8
+ import {
9
+ UpdateDeliveryConfigurationRequest,
10
+ UpdateDeliveryConfigurationResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateDeliveryConfigurationCommandInput
15
+ extends UpdateDeliveryConfigurationRequest {}
16
+ export interface UpdateDeliveryConfigurationCommandOutput
17
+ extends UpdateDeliveryConfigurationResponse,
18
+ __MetadataBearer {}
19
+ declare const UpdateDeliveryConfigurationCommand_base: {
20
+ new (
21
+ input: UpdateDeliveryConfigurationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateDeliveryConfigurationCommandInput,
24
+ UpdateDeliveryConfigurationCommandOutput,
25
+ CloudWatchLogsClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: UpdateDeliveryConfigurationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateDeliveryConfigurationCommandInput,
33
+ UpdateDeliveryConfigurationCommandOutput,
34
+ CloudWatchLogsClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateDeliveryConfigurationCommand extends UpdateDeliveryConfigurationCommand_base {}
@@ -21,6 +21,7 @@ export * from "./DeleteResourcePolicyCommand";
21
21
  export * from "./DeleteRetentionPolicyCommand";
22
22
  export * from "./DeleteSubscriptionFilterCommand";
23
23
  export * from "./DescribeAccountPoliciesCommand";
24
+ export * from "./DescribeConfigurationTemplatesCommand";
24
25
  export * from "./DescribeDeliveriesCommand";
25
26
  export * from "./DescribeDeliveryDestinationsCommand";
26
27
  export * from "./DescribeDeliverySourcesCommand";
@@ -71,4 +72,5 @@ export * from "./TestMetricFilterCommand";
71
72
  export * from "./UntagLogGroupCommand";
72
73
  export * from "./UntagResourceCommand";
73
74
  export * from "./UpdateAnomalyCommand";
75
+ export * from "./UpdateDeliveryConfigurationCommand";
74
76
  export * from "./UpdateLogAnomalyDetectorCommand";
@@ -25,6 +25,10 @@ export interface AccountPolicy {
25
25
  selectionCriteria?: string;
26
26
  accountId?: string;
27
27
  }
28
+ export interface RecordField {
29
+ name?: string;
30
+ mandatory?: boolean;
31
+ }
28
32
  export interface LogEvent {
29
33
  timestamp?: number;
30
34
  message?: string;
@@ -137,6 +141,42 @@ export declare class InvalidOperationException extends __BaseException {
137
141
  opts: __ExceptionOptionType<InvalidOperationException, __BaseException>
138
142
  );
139
143
  }
144
+ export declare const OutputFormat: {
145
+ readonly JSON: "json";
146
+ readonly PARQUET: "parquet";
147
+ readonly PLAIN: "plain";
148
+ readonly RAW: "raw";
149
+ readonly W3C: "w3c";
150
+ };
151
+ export type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
152
+ export interface S3DeliveryConfiguration {
153
+ suffixPath?: string;
154
+ enableHiveCompatiblePath?: boolean;
155
+ }
156
+ export interface ConfigurationTemplateDeliveryConfigValues {
157
+ recordFields?: string[];
158
+ fieldDelimiter?: string;
159
+ s3DeliveryConfiguration?: S3DeliveryConfiguration;
160
+ }
161
+ export declare const DeliveryDestinationType: {
162
+ readonly CWL: "CWL";
163
+ readonly FH: "FH";
164
+ readonly S3: "S3";
165
+ };
166
+ export type DeliveryDestinationType =
167
+ (typeof DeliveryDestinationType)[keyof typeof DeliveryDestinationType];
168
+ export interface ConfigurationTemplate {
169
+ service?: string;
170
+ logType?: string;
171
+ resourceType?: string;
172
+ deliveryDestinationType?: DeliveryDestinationType;
173
+ defaultDeliveryConfigValues?: ConfigurationTemplateDeliveryConfigValues;
174
+ allowedFields?: RecordField[];
175
+ allowedOutputFormats?: OutputFormat[];
176
+ allowedActionForAllowVendedLogsDeliveryForResource?: string;
177
+ allowedFieldDelimiters?: string[];
178
+ allowedSuffixPathFields?: string[];
179
+ }
140
180
  export declare class ConflictException extends __BaseException {
141
181
  readonly name: "ConflictException";
142
182
  readonly $fault: "client";
@@ -145,21 +185,20 @@ export declare class ConflictException extends __BaseException {
145
185
  export interface CreateDeliveryRequest {
146
186
  deliverySourceName: string | undefined;
147
187
  deliveryDestinationArn: string | undefined;
188
+ recordFields?: string[];
189
+ fieldDelimiter?: string;
190
+ s3DeliveryConfiguration?: S3DeliveryConfiguration;
148
191
  tags?: Record<string, string>;
149
192
  }
150
- export declare const DeliveryDestinationType: {
151
- readonly CWL: "CWL";
152
- readonly FH: "FH";
153
- readonly S3: "S3";
154
- };
155
- export type DeliveryDestinationType =
156
- (typeof DeliveryDestinationType)[keyof typeof DeliveryDestinationType];
157
193
  export interface Delivery {
158
194
  id?: string;
159
195
  arn?: string;
160
196
  deliverySourceName?: string;
161
197
  deliveryDestinationArn?: string;
162
198
  deliveryDestinationType?: DeliveryDestinationType;
199
+ recordFields?: string[];
200
+ fieldDelimiter?: string;
201
+ s3DeliveryConfiguration?: S3DeliveryConfiguration;
163
202
  tags?: Record<string, string>;
164
203
  }
165
204
  export interface CreateDeliveryResponse {
@@ -310,14 +349,6 @@ export interface DeleteSubscriptionFilterRequest {
310
349
  export interface DeliveryDestinationConfiguration {
311
350
  destinationResourceArn: string | undefined;
312
351
  }
313
- export declare const OutputFormat: {
314
- readonly JSON: "json";
315
- readonly PARQUET: "parquet";
316
- readonly PLAIN: "plain";
317
- readonly RAW: "raw";
318
- readonly W3C: "w3c";
319
- };
320
- export type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
321
352
  export interface DeliveryDestination {
322
353
  name?: string;
323
354
  arn?: string;
@@ -342,6 +373,18 @@ export interface DescribeAccountPoliciesRequest {
342
373
  export interface DescribeAccountPoliciesResponse {
343
374
  accountPolicies?: AccountPolicy[];
344
375
  }
376
+ export interface DescribeConfigurationTemplatesRequest {
377
+ service?: string;
378
+ logTypes?: string[];
379
+ resourceTypes?: string[];
380
+ deliveryDestinationTypes?: DeliveryDestinationType[];
381
+ nextToken?: string;
382
+ limit?: number;
383
+ }
384
+ export interface DescribeConfigurationTemplatesResponse {
385
+ configurationTemplates?: ConfigurationTemplate[];
386
+ nextToken?: string;
387
+ }
345
388
  export interface DescribeDeliveriesRequest {
346
389
  nextToken?: string;
347
390
  limit?: number;
@@ -1137,6 +1180,13 @@ export interface UpdateAnomalyRequest {
1137
1180
  suppressionType?: SuppressionType;
1138
1181
  suppressionPeriod?: SuppressionPeriod;
1139
1182
  }
1183
+ export interface UpdateDeliveryConfigurationRequest {
1184
+ id: string | undefined;
1185
+ recordFields?: string[];
1186
+ fieldDelimiter?: string;
1187
+ s3DeliveryConfiguration?: S3DeliveryConfiguration;
1188
+ }
1189
+ export interface UpdateDeliveryConfigurationResponse {}
1140
1190
  export interface UpdateLogAnomalyDetectorRequest {
1141
1191
  anomalyDetectorArn: string | undefined;
1142
1192
  evaluationFrequency?: EvaluationFrequency;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ DescribeConfigurationTemplatesCommandInput,
4
+ DescribeConfigurationTemplatesCommandOutput,
5
+ } from "../commands/DescribeConfigurationTemplatesCommand";
6
+ import { CloudWatchLogsPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateDescribeConfigurationTemplates: (
8
+ config: CloudWatchLogsPaginationConfiguration,
9
+ input: DescribeConfigurationTemplatesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeConfigurationTemplatesCommandOutput>;
@@ -1,3 +1,4 @@
1
+ export * from "./DescribeConfigurationTemplatesPaginator";
1
2
  export * from "./DescribeDeliveriesPaginator";
2
3
  export * from "./DescribeDeliveryDestinationsPaginator";
3
4
  export * from "./DescribeDeliverySourcesPaginator";
@@ -7,7 +8,7 @@ export * from "./DescribeLogStreamsPaginator";
7
8
  export * from "./DescribeMetricFiltersPaginator";
8
9
  export * from "./DescribeSubscriptionFiltersPaginator";
9
10
  export * from "./FilterLogEventsPaginator";
10
- export * from "./GetLogEventsPaginator";
11
11
  export * from "./Interfaces";
12
+ export * from "./GetLogEventsPaginator";
12
13
  export * from "./ListAnomaliesPaginator";
13
14
  export * from "./ListLogAnomalyDetectorsPaginator";
@@ -98,6 +98,10 @@ import {
98
98
  DescribeAccountPoliciesCommandInput,
99
99
  DescribeAccountPoliciesCommandOutput,
100
100
  } from "../commands/DescribeAccountPoliciesCommand";
101
+ import {
102
+ DescribeConfigurationTemplatesCommandInput,
103
+ DescribeConfigurationTemplatesCommandOutput,
104
+ } from "../commands/DescribeConfigurationTemplatesCommand";
101
105
  import {
102
106
  DescribeDeliveriesCommandInput,
103
107
  DescribeDeliveriesCommandOutput,
@@ -298,6 +302,10 @@ import {
298
302
  UpdateAnomalyCommandInput,
299
303
  UpdateAnomalyCommandOutput,
300
304
  } from "../commands/UpdateAnomalyCommand";
305
+ import {
306
+ UpdateDeliveryConfigurationCommandInput,
307
+ UpdateDeliveryConfigurationCommandOutput,
308
+ } from "../commands/UpdateDeliveryConfigurationCommand";
301
309
  import {
302
310
  UpdateLogAnomalyDetectorCommandInput,
303
311
  UpdateLogAnomalyDetectorCommandOutput,
@@ -394,6 +402,10 @@ export declare const se_DescribeAccountPoliciesCommand: (
394
402
  input: DescribeAccountPoliciesCommandInput,
395
403
  context: __SerdeContext
396
404
  ) => Promise<__HttpRequest>;
405
+ export declare const se_DescribeConfigurationTemplatesCommand: (
406
+ input: DescribeConfigurationTemplatesCommandInput,
407
+ context: __SerdeContext
408
+ ) => Promise<__HttpRequest>;
397
409
  export declare const se_DescribeDeliveriesCommand: (
398
410
  input: DescribeDeliveriesCommandInput,
399
411
  context: __SerdeContext
@@ -594,6 +606,10 @@ export declare const se_UpdateAnomalyCommand: (
594
606
  input: UpdateAnomalyCommandInput,
595
607
  context: __SerdeContext
596
608
  ) => Promise<__HttpRequest>;
609
+ export declare const se_UpdateDeliveryConfigurationCommand: (
610
+ input: UpdateDeliveryConfigurationCommandInput,
611
+ context: __SerdeContext
612
+ ) => Promise<__HttpRequest>;
597
613
  export declare const se_UpdateLogAnomalyDetectorCommand: (
598
614
  input: UpdateLogAnomalyDetectorCommandInput,
599
615
  context: __SerdeContext
@@ -690,6 +706,10 @@ export declare const de_DescribeAccountPoliciesCommand: (
690
706
  output: __HttpResponse,
691
707
  context: __SerdeContext
692
708
  ) => Promise<DescribeAccountPoliciesCommandOutput>;
709
+ export declare const de_DescribeConfigurationTemplatesCommand: (
710
+ output: __HttpResponse,
711
+ context: __SerdeContext
712
+ ) => Promise<DescribeConfigurationTemplatesCommandOutput>;
693
713
  export declare const de_DescribeDeliveriesCommand: (
694
714
  output: __HttpResponse,
695
715
  context: __SerdeContext
@@ -890,6 +910,10 @@ export declare const de_UpdateAnomalyCommand: (
890
910
  output: __HttpResponse,
891
911
  context: __SerdeContext
892
912
  ) => Promise<UpdateAnomalyCommandOutput>;
913
+ export declare const de_UpdateDeliveryConfigurationCommand: (
914
+ output: __HttpResponse,
915
+ context: __SerdeContext
916
+ ) => Promise<UpdateDeliveryConfigurationCommandOutput>;
893
917
  export declare const de_UpdateLogAnomalyDetectorCommand: (
894
918
  output: __HttpResponse,
895
919
  context: __SerdeContext
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.643.0",
4
+ "version": "3.645.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/client-sso-oidc": "3.637.0",
24
- "@aws-sdk/client-sts": "3.637.0",
23
+ "@aws-sdk/client-sso-oidc": "3.645.0",
24
+ "@aws-sdk/client-sts": "3.645.0",
25
25
  "@aws-sdk/core": "3.635.0",
26
- "@aws-sdk/credential-provider-node": "3.637.0",
26
+ "@aws-sdk/credential-provider-node": "3.645.0",
27
27
  "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
- "@aws-sdk/middleware-user-agent": "3.637.0",
30
+ "@aws-sdk/middleware-user-agent": "3.645.0",
31
31
  "@aws-sdk/region-config-resolver": "3.614.0",
32
32
  "@aws-sdk/types": "3.609.0",
33
- "@aws-sdk/util-endpoints": "3.637.0",
33
+ "@aws-sdk/util-endpoints": "3.645.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.609.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.614.0",
36
36
  "@smithy/config-resolver": "^3.0.5",