@aws-sdk/client-cloudwatch-logs 3.637.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 (37) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +107 -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 +21 -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/PutAccountPolicyCommand.d.ts +1 -1
  18. package/dist-types/commands/PutLogEventsCommand.d.ts +11 -0
  19. package/dist-types/commands/PutMetricFilterCommand.d.ts +6 -0
  20. package/dist-types/commands/PutSubscriptionFilterCommand.d.ts +6 -0
  21. package/dist-types/commands/StartLiveTailCommand.d.ts +2 -2
  22. package/dist-types/commands/UpdateDeliveryConfigurationCommand.d.ts +86 -0
  23. package/dist-types/commands/index.d.ts +2 -0
  24. package/dist-types/models/models_0.d.ts +340 -35
  25. package/dist-types/pagination/DescribeConfigurationTemplatesPaginator.d.ts +7 -0
  26. package/dist-types/pagination/index.d.ts +2 -1
  27. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  28. package/dist-types/ts3.4/CloudWatchLogs.d.ts +35 -0
  29. package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +12 -0
  30. package/dist-types/ts3.4/commands/DescribeConfigurationTemplatesCommand.d.ts +40 -0
  31. package/dist-types/ts3.4/commands/UpdateDeliveryConfigurationCommand.d.ts +40 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  33. package/dist-types/ts3.4/models/models_0.d.ts +85 -15
  34. package/dist-types/ts3.4/pagination/DescribeConfigurationTemplatesPaginator.d.ts +11 -0
  35. package/dist-types/ts3.4/pagination/index.d.ts +2 -1
  36. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  37. package/package.json +6 -6
@@ -77,6 +77,26 @@ export interface AccountPolicy {
77
77
  */
78
78
  accountId?: string;
79
79
  }
80
+ /**
81
+ * <p>A structure that represents a valid record field header and whether it is mandatory.</p>
82
+ * @public
83
+ */
84
+ export interface RecordField {
85
+ /**
86
+ * <p>The name to use when specifying this record field in a
87
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html">CreateDelivery</a> or
88
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateDeliveryConfiguration.html">UpdateDeliveryConfiguration</a> operation. </p>
89
+ * @public
90
+ */
91
+ name?: string;
92
+ /**
93
+ * <p>If this is <code>true</code>, the record field must be present in the <code>recordFields</code> parameter provided to a
94
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html">CreateDelivery</a> or
95
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateDeliveryConfiguration.html">UpdateDeliveryConfiguration</a> operation.</p>
96
+ * @public
97
+ */
98
+ mandatory?: boolean;
99
+ }
80
100
  /**
81
101
  * <p>This structure contains the information for one sample log event that is associated
82
102
  * with an anomaly found by a log anomaly detector.</p>
@@ -95,7 +115,7 @@ export interface LogEvent {
95
115
  message?: string;
96
116
  }
97
117
  /**
98
- * <p>A tructures that contains information about one pattern token related to
118
+ * <p>A structure that contains information about one pattern token related to
99
119
  * an anomaly.</p>
100
120
  * <p>For more information about patterns and tokens, see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateLogAnomalyDetector.html">CreateLogAnomalyDetector</a>.
101
121
  * </p>
@@ -471,6 +491,141 @@ export declare class InvalidOperationException extends __BaseException {
471
491
  */
472
492
  constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
473
493
  }
494
+ /**
495
+ * @public
496
+ * @enum
497
+ */
498
+ export declare const OutputFormat: {
499
+ readonly JSON: "json";
500
+ readonly PARQUET: "parquet";
501
+ readonly PLAIN: "plain";
502
+ readonly RAW: "raw";
503
+ readonly W3C: "w3c";
504
+ };
505
+ /**
506
+ * @public
507
+ */
508
+ export type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
509
+ /**
510
+ * <p>This structure contains delivery configurations that apply only when the delivery destination resource is an S3 bucket.</p>
511
+ * @public
512
+ */
513
+ export interface S3DeliveryConfiguration {
514
+ /**
515
+ * <p>This string allows re-configuring the S3 object prefix to contain either static or variable sections. The valid variables
516
+ * to use in the suffix path will vary by each log source. See ConfigurationTemplate$allowedSuffixPathFields for
517
+ * more info on what values are supported in the suffix path for each log source.</p>
518
+ * @public
519
+ */
520
+ suffixPath?: string;
521
+ /**
522
+ * <p>This parameter causes the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive.</p>
523
+ * @public
524
+ */
525
+ enableHiveCompatiblePath?: boolean;
526
+ }
527
+ /**
528
+ * <p>This structure contains the default values that are used for each configuration parameter when you use
529
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html">CreateDelivery</a> to create a deliver under the current service type, resource type, and log type.</p>
530
+ * @public
531
+ */
532
+ export interface ConfigurationTemplateDeliveryConfigValues {
533
+ /**
534
+ * <p>The default record fields that will be delivered when a list of record fields is not provided in
535
+ * a <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html">CreateDelivery</a> operation.</p>
536
+ * @public
537
+ */
538
+ recordFields?: string[];
539
+ /**
540
+ * <p>The default field delimiter that is used in a <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html">CreateDelivery</a> operation when
541
+ * the field delimiter is not specified in that operation. The field delimiter is used only when
542
+ * the final output delivery is in <code>Plain</code>, <code>W3C</code>, or <code>Raw</code> format.</p>
543
+ * @public
544
+ */
545
+ fieldDelimiter?: string;
546
+ /**
547
+ * <p>The delivery parameters that are used when you create a delivery to a delivery destination that is an S3 Bucket.</p>
548
+ * @public
549
+ */
550
+ s3DeliveryConfiguration?: S3DeliveryConfiguration;
551
+ }
552
+ /**
553
+ * @public
554
+ * @enum
555
+ */
556
+ export declare const DeliveryDestinationType: {
557
+ readonly CWL: "CWL";
558
+ readonly FH: "FH";
559
+ readonly S3: "S3";
560
+ };
561
+ /**
562
+ * @public
563
+ */
564
+ export type DeliveryDestinationType = (typeof DeliveryDestinationType)[keyof typeof DeliveryDestinationType];
565
+ /**
566
+ * <p>A structure containing information about the deafult settings and available settings that you can use to configure a <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_Delivery.html">delivery</a> or a
567
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeliveryDestination.html">delivery destination</a>.</p>
568
+ * @public
569
+ */
570
+ export interface ConfigurationTemplate {
571
+ /**
572
+ * <p>A string specifying which service this configuration template applies to. For more information about supported services see
573
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html">Enable logging from Amazon Web Services
574
+ * services.</a>.</p>
575
+ * @public
576
+ */
577
+ service?: string;
578
+ /**
579
+ * <p>A string specifying which log type this configuration template applies to.</p>
580
+ * @public
581
+ */
582
+ logType?: string;
583
+ /**
584
+ * <p>A string specifying which resource type this configuration template applies to.</p>
585
+ * @public
586
+ */
587
+ resourceType?: string;
588
+ /**
589
+ * <p>A string specifying which destination type this configuration template applies to.</p>
590
+ * @public
591
+ */
592
+ deliveryDestinationType?: DeliveryDestinationType;
593
+ /**
594
+ * <p>A mapping that displays the default value of each property within a delivery’s configuration,
595
+ * if it is not specified in the request.</p>
596
+ * @public
597
+ */
598
+ defaultDeliveryConfigValues?: ConfigurationTemplateDeliveryConfigValues;
599
+ /**
600
+ * <p>The allowed fields that a caller can use in the <code>recordFields</code> parameter of a <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html">CreateDelivery</a> or
601
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateDeliveryConfiguration.html">UpdateDeliveryConfiguration</a> operation.</p>
602
+ * @public
603
+ */
604
+ allowedFields?: RecordField[];
605
+ /**
606
+ * <p>The list of delivery destination output formats that are supported by this log source.</p>
607
+ * @public
608
+ */
609
+ allowedOutputFormats?: OutputFormat[];
610
+ /**
611
+ * <p>The action permissions that a caller needs to have to be able to successfully create a delivery source on the
612
+ * desired resource type when calling <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliverySource.html">PutDeliverySource</a>.</p>
613
+ * @public
614
+ */
615
+ allowedActionForAllowVendedLogsDeliveryForResource?: string;
616
+ /**
617
+ * <p>The valid values that a caller can use as field delimiters when calling <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html">CreateDelivery</a> or
618
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateDeliveryConfiguration.html">UpdateDeliveryConfiguration</a>
619
+ * on a delivery that delivers in <code>Plain</code>, <code>W3C</code>, or <code>Raw</code> format.</p>
620
+ * @public
621
+ */
622
+ allowedFieldDelimiters?: string[];
623
+ /**
624
+ * <p>The list of variable fields that can be used in the suffix path of a delivery that delivers to an S3 bucket.</p>
625
+ * @public
626
+ */
627
+ allowedSuffixPathFields?: string[];
628
+ }
474
629
  /**
475
630
  * <p>This operation attempted to create a resource that already exists.</p>
476
631
  * @public
@@ -497,6 +652,23 @@ export interface CreateDeliveryRequest {
497
652
  * @public
498
653
  */
499
654
  deliveryDestinationArn: string | undefined;
655
+ /**
656
+ * <p>The list of record fields to be delivered to the destination, in order.
657
+ * If the delivery’s log source has mandatory fields, they must be included in this list.</p>
658
+ * @public
659
+ */
660
+ recordFields?: string[];
661
+ /**
662
+ * <p>The field delimiter to use between record fields when the final output format of a delivery
663
+ * is in <code>Plain</code>, <code>W3C</code>, or <code>Raw</code> format.</p>
664
+ * @public
665
+ */
666
+ fieldDelimiter?: string;
667
+ /**
668
+ * <p>This structure contains parameters that are valid only when the delivery’s delivery destination is an S3 bucket.</p>
669
+ * @public
670
+ */
671
+ s3DeliveryConfiguration?: S3DeliveryConfiguration;
500
672
  /**
501
673
  * <p>An optional list of key-value pairs to associate with the resource.</p>
502
674
  * <p>For more information about tagging, see
@@ -506,19 +678,6 @@ export interface CreateDeliveryRequest {
506
678
  */
507
679
  tags?: Record<string, string>;
508
680
  }
509
- /**
510
- * @public
511
- * @enum
512
- */
513
- export declare const DeliveryDestinationType: {
514
- readonly CWL: "CWL";
515
- readonly FH: "FH";
516
- readonly S3: "S3";
517
- };
518
- /**
519
- * @public
520
- */
521
- export type DeliveryDestinationType = (typeof DeliveryDestinationType)[keyof typeof DeliveryDestinationType];
522
681
  /**
523
682
  * <p>This structure contains information about one <i>delivery</i> in your account. </p>
524
683
  * <p>A delivery is a connection between a logical <i>delivery source</i> and a logical
@@ -553,6 +712,22 @@ export interface Delivery {
553
712
  * @public
554
713
  */
555
714
  deliveryDestinationType?: DeliveryDestinationType;
715
+ /**
716
+ * <p>The record fields used in this delivery.</p>
717
+ * @public
718
+ */
719
+ recordFields?: string[];
720
+ /**
721
+ * <p>The field delimiter that is used between record fields when the final output format of a delivery
722
+ * is in <code>Plain</code>, <code>W3C</code>, or <code>Raw</code> format.</p>
723
+ * @public
724
+ */
725
+ fieldDelimiter?: string;
726
+ /**
727
+ * <p>This structure contains delivery configurations that apply only when the delivery destination resource is an S3 bucket.</p>
728
+ * @public
729
+ */
730
+ s3DeliveryConfiguration?: S3DeliveryConfiguration;
556
731
  /**
557
732
  * <p>The tags that have been assigned to this delivery.</p>
558
733
  * @public
@@ -1064,21 +1239,6 @@ export interface DeliveryDestinationConfiguration {
1064
1239
  */
1065
1240
  destinationResourceArn: string | undefined;
1066
1241
  }
1067
- /**
1068
- * @public
1069
- * @enum
1070
- */
1071
- export declare const OutputFormat: {
1072
- readonly JSON: "json";
1073
- readonly PARQUET: "parquet";
1074
- readonly PLAIN: "plain";
1075
- readonly RAW: "raw";
1076
- readonly W3C: "w3c";
1077
- };
1078
- /**
1079
- * @public
1080
- */
1081
- export type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
1082
1242
  /**
1083
1243
  * <p>This structure contains information about one <i>delivery destination</i> in your account.
1084
1244
  * A delivery destination is an Amazon Web Services resource that represents an
@@ -1250,6 +1410,62 @@ export interface DescribeAccountPoliciesResponse {
1250
1410
  */
1251
1411
  accountPolicies?: AccountPolicy[];
1252
1412
  }
1413
+ /**
1414
+ * @public
1415
+ */
1416
+ export interface DescribeConfigurationTemplatesRequest {
1417
+ /**
1418
+ * <p>Use this parameter to filter the response to include only the
1419
+ * configuration templates that apply to the Amazon Web Services service that you specify here.</p>
1420
+ * @public
1421
+ */
1422
+ service?: string;
1423
+ /**
1424
+ * <p>Use this parameter to filter the response to include only the
1425
+ * configuration templates that apply to the log types that you specify here.</p>
1426
+ * @public
1427
+ */
1428
+ logTypes?: string[];
1429
+ /**
1430
+ * <p>Use this parameter to filter the response to include only the
1431
+ * configuration templates that apply to the resource types that you specify here.</p>
1432
+ * @public
1433
+ */
1434
+ resourceTypes?: string[];
1435
+ /**
1436
+ * <p>Use this parameter to filter the response to include only the
1437
+ * configuration templates that apply to the delivery destination types that you specify here.</p>
1438
+ * @public
1439
+ */
1440
+ deliveryDestinationTypes?: DeliveryDestinationType[];
1441
+ /**
1442
+ * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
1443
+ * @public
1444
+ */
1445
+ nextToken?: string;
1446
+ /**
1447
+ * <p>Use this parameter to limit the number of configuration templates that are returned
1448
+ * in the response.</p>
1449
+ * @public
1450
+ */
1451
+ limit?: number;
1452
+ }
1453
+ /**
1454
+ * @public
1455
+ */
1456
+ export interface DescribeConfigurationTemplatesResponse {
1457
+ /**
1458
+ * <p>An array of objects, where each object describes one configuration template that matches
1459
+ * the filters that you specified in the request.</p>
1460
+ * @public
1461
+ */
1462
+ configurationTemplates?: ConfigurationTemplate[];
1463
+ /**
1464
+ * <p>The token for the next set of items to return. The token expires after 24 hours.</p>
1465
+ * @public
1466
+ */
1467
+ nextToken?: string;
1468
+ }
1253
1469
  /**
1254
1470
  * @public
1255
1471
  */
@@ -2450,6 +2666,39 @@ export interface DisassociateKmsKeyRequest {
2450
2666
  */
2451
2667
  resourceIdentifier?: string;
2452
2668
  }
2669
+ /**
2670
+ * <p>Reserved for internal use.</p>
2671
+ * @public
2672
+ */
2673
+ export interface Entity {
2674
+ /**
2675
+ * <p>Reserved for internal use.</p>
2676
+ * @public
2677
+ */
2678
+ keyAttributes?: Record<string, string>;
2679
+ /**
2680
+ * <p>Reserved for internal use.</p>
2681
+ * @public
2682
+ */
2683
+ attributes?: Record<string, string>;
2684
+ }
2685
+ /**
2686
+ * @public
2687
+ * @enum
2688
+ */
2689
+ export declare const EntityRejectionErrorType: {
2690
+ readonly ENTITY_SIZE_TOO_LARGE: "EntitySizeTooLarge";
2691
+ readonly INVALID_ATTRIBUTES: "InvalidAttributes";
2692
+ readonly INVALID_ENTITY: "InvalidEntity";
2693
+ readonly INVALID_KEY_ATTRIBUTE: "InvalidKeyAttributes";
2694
+ readonly INVALID_TYPE_VALUE: "InvalidTypeValue";
2695
+ readonly MISSING_REQUIRED_FIELDS: "MissingRequiredFields";
2696
+ readonly UNSUPPORTED_LOG_GROUP_TYPE: "UnsupportedLogGroupType";
2697
+ };
2698
+ /**
2699
+ * @public
2700
+ */
2701
+ export type EntityRejectionErrorType = (typeof EntityRejectionErrorType)[keyof typeof EntityRejectionErrorType];
2453
2702
  /**
2454
2703
  * <p>Represents a matched event.</p>
2455
2704
  * @public
@@ -2512,16 +2761,15 @@ export interface FilterLogEventsRequest {
2512
2761
  logGroupIdentifier?: string;
2513
2762
  /**
2514
2763
  * <p>Filters the results to only logs from the log streams in this list.</p>
2515
- * <p>If you specify a value for both <code>logStreamNamePrefix</code> and <code>logStreamNames</code>, the action
2764
+ * <p>If you specify a value for both <code>logStreamNames</code> and <code>logStreamNamePrefix</code>, the action
2516
2765
  * returns an <code>InvalidParameterException</code> error.</p>
2517
2766
  * @public
2518
2767
  */
2519
2768
  logStreamNames?: string[];
2520
2769
  /**
2521
2770
  * <p>Filters the results to include only events from log streams that have names starting with this prefix.</p>
2522
- * <p>If you specify a value for both <code>logStreamNamePrefix</code> and <code>logStreamNames</code>, but the value for
2523
- * <code>logStreamNamePrefix</code> does not match any log stream names specified in <code>logStreamNames</code>, the action
2524
- * returns an <code>InvalidParameterException</code> error.</p>
2771
+ * <p>If you specify a value for both <code>logStreamNamePrefix</code> and <code>logStreamNames</code>, the action
2772
+ * returns an <code>InvalidParameterException</code> error.</p>
2525
2773
  * @public
2526
2774
  */
2527
2775
  logStreamNamePrefix?: string;
@@ -3493,7 +3741,7 @@ export interface PutAccountPolicyRequest {
3493
3741
  * </li>
3494
3742
  * <li>
3495
3743
  * <p>
3496
- * <b>Distribution</b>The method used to distribute log data to the destination.
3744
+ * <b>Distribution</b> The method used to distribute log data to the destination.
3497
3745
  * By default, log data is
3498
3746
  * grouped by log stream, but the grouping can be set to <code>Random</code> for a more even distribution.
3499
3747
  * This property is only applicable when the destination is an Kinesis Data Streams data stream.</p>
@@ -3687,11 +3935,15 @@ export interface PutDeliverySourceRequest {
3687
3935
  * <p>Defines the type of log that the source is sending.</p>
3688
3936
  * <ul>
3689
3937
  * <li>
3938
+ * <p>For Amazon Bedrock, the valid value is
3939
+ * <code>APPLICATION_LOGS</code>.</p>
3940
+ * </li>
3941
+ * <li>
3690
3942
  * <p>For Amazon CodeWhisperer, the valid value is
3691
3943
  * <code>EVENT_LOGS</code>.</p>
3692
3944
  * </li>
3693
3945
  * <li>
3694
- * <p>For IAM Identity Centerr, the valid value is
3946
+ * <p>For IAM Identity Center, the valid value is
3695
3947
  * <code>ERROR_LOGS</code>.</p>
3696
3948
  * </li>
3697
3949
  * <li>
@@ -3822,6 +4074,22 @@ export interface PutLogEventsRequest {
3822
4074
  * @public
3823
4075
  */
3824
4076
  sequenceToken?: string;
4077
+ /**
4078
+ * <p>Reserved for internal use.</p>
4079
+ * @public
4080
+ */
4081
+ entity?: Entity;
4082
+ }
4083
+ /**
4084
+ * <p>Reserved for internal use.</p>
4085
+ * @public
4086
+ */
4087
+ export interface RejectedEntityInfo {
4088
+ /**
4089
+ * <p>Reserved for internal use.</p>
4090
+ * @public
4091
+ */
4092
+ errorType: EntityRejectionErrorType | undefined;
3825
4093
  }
3826
4094
  /**
3827
4095
  * <p>Represents the rejected events.</p>
@@ -3867,6 +4135,11 @@ export interface PutLogEventsResponse {
3867
4135
  * @public
3868
4136
  */
3869
4137
  rejectedLogEventsInfo?: RejectedLogEventsInfo;
4138
+ /**
4139
+ * <p>Reserved for internal use.</p>
4140
+ * @public
4141
+ */
4142
+ rejectedEntityInfo?: RejectedEntityInfo;
3870
4143
  }
3871
4144
  /**
3872
4145
  * <p>The most likely cause is an Amazon Web Services access key ID or secret key that's not
@@ -4626,6 +4899,38 @@ export interface UpdateAnomalyRequest {
4626
4899
  */
4627
4900
  suppressionPeriod?: SuppressionPeriod;
4628
4901
  }
4902
+ /**
4903
+ * @public
4904
+ */
4905
+ export interface UpdateDeliveryConfigurationRequest {
4906
+ /**
4907
+ * <p>The ID of the delivery to be updated by this request.</p>
4908
+ * @public
4909
+ */
4910
+ id: string | undefined;
4911
+ /**
4912
+ * <p>The list of record fields to be delivered to the destination, in order.
4913
+ * If the delivery’s log source has mandatory fields, they must be included in this list.</p>
4914
+ * @public
4915
+ */
4916
+ recordFields?: string[];
4917
+ /**
4918
+ * <p>The field delimiter to use between record fields when the final output format of a delivery
4919
+ * is in <code>Plain</code>, <code>W3C</code>, or <code>Raw</code> format.</p>
4920
+ * @public
4921
+ */
4922
+ fieldDelimiter?: string;
4923
+ /**
4924
+ * <p>This structure contains parameters that are valid only when the delivery’s delivery destination is an S3 bucket.</p>
4925
+ * @public
4926
+ */
4927
+ s3DeliveryConfiguration?: S3DeliveryConfiguration;
4928
+ }
4929
+ /**
4930
+ * @public
4931
+ */
4932
+ export interface UpdateDeliveryConfigurationResponse {
4933
+ }
4629
4934
  /**
4630
4935
  * @public
4631
4936
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { DescribeConfigurationTemplatesCommandInput, DescribeConfigurationTemplatesCommandOutput } from "../commands/DescribeConfigurationTemplatesCommand";
3
+ import { CloudWatchLogsPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateDescribeConfigurationTemplates: (config: CloudWatchLogsPaginationConfiguration, input: DescribeConfigurationTemplatesCommandInput, ...rest: any[]) => 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";
@@ -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>> {