@aws-sdk/client-cloudwatch-logs 3.643.0 → 3.649.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 +16 -0
- package/dist-cjs/endpoint/endpointResolver.js +6 -2
- package/dist-cjs/index.js +96 -14
- package/dist-es/CloudWatchLogs.js +4 -0
- package/dist-es/commands/DescribeConfigurationTemplatesCommand.js +24 -0
- package/dist-es/commands/UpdateDeliveryConfigurationCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/endpointResolver.js +7 -3
- package/dist-es/models/models_0.js +12 -12
- package/dist-es/pagination/DescribeConfigurationTemplatesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -1
- package/dist-es/protocols/Aws_json1_1.js +38 -0
- package/dist-types/CloudWatchLogs.d.ts +15 -0
- package/dist-types/CloudWatchLogsClient.d.ts +4 -2
- package/dist-types/commands/CreateDeliveryCommand.d.ts +16 -0
- package/dist-types/commands/DescribeConfigurationTemplatesCommand.d.ts +118 -0
- package/dist-types/commands/DescribeDeliveriesCommand.d.ts +8 -0
- package/dist-types/commands/GetDeliveryCommand.d.ts +8 -0
- package/dist-types/commands/UpdateDeliveryConfigurationCommand.d.ts +86 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +283 -35
- package/dist-types/pagination/DescribeConfigurationTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/CloudWatchLogs.d.ts +35 -0
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DescribeConfigurationTemplatesCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/UpdateDeliveryConfigurationCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +65 -15
- package/dist-types/ts3.4/pagination/DescribeConfigurationTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +38 -38
|
@@ -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>
|
|
@@ -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
|
*/
|
|
@@ -2451,17 +2667,17 @@ export interface DisassociateKmsKeyRequest {
|
|
|
2451
2667
|
resourceIdentifier?: string;
|
|
2452
2668
|
}
|
|
2453
2669
|
/**
|
|
2454
|
-
* <p>Reserved for
|
|
2670
|
+
* <p>Reserved for internal use.</p>
|
|
2455
2671
|
* @public
|
|
2456
2672
|
*/
|
|
2457
2673
|
export interface Entity {
|
|
2458
2674
|
/**
|
|
2459
|
-
* <p>Reserved for
|
|
2675
|
+
* <p>Reserved for internal use.</p>
|
|
2460
2676
|
* @public
|
|
2461
2677
|
*/
|
|
2462
2678
|
keyAttributes?: Record<string, string>;
|
|
2463
2679
|
/**
|
|
2464
|
-
* <p>Reserved for
|
|
2680
|
+
* <p>Reserved for internal use.</p>
|
|
2465
2681
|
* @public
|
|
2466
2682
|
*/
|
|
2467
2683
|
attributes?: Record<string, string>;
|
|
@@ -3859,18 +4075,18 @@ export interface PutLogEventsRequest {
|
|
|
3859
4075
|
*/
|
|
3860
4076
|
sequenceToken?: string;
|
|
3861
4077
|
/**
|
|
3862
|
-
* <p>Reserved for
|
|
4078
|
+
* <p>Reserved for internal use.</p>
|
|
3863
4079
|
* @public
|
|
3864
4080
|
*/
|
|
3865
4081
|
entity?: Entity;
|
|
3866
4082
|
}
|
|
3867
4083
|
/**
|
|
3868
|
-
* <p>Reserved for
|
|
4084
|
+
* <p>Reserved for internal use.</p>
|
|
3869
4085
|
* @public
|
|
3870
4086
|
*/
|
|
3871
4087
|
export interface RejectedEntityInfo {
|
|
3872
4088
|
/**
|
|
3873
|
-
* <p>Reserved for
|
|
4089
|
+
* <p>Reserved for internal use.</p>
|
|
3874
4090
|
* @public
|
|
3875
4091
|
*/
|
|
3876
4092
|
errorType: EntityRejectionErrorType | undefined;
|
|
@@ -3920,7 +4136,7 @@ export interface PutLogEventsResponse {
|
|
|
3920
4136
|
*/
|
|
3921
4137
|
rejectedLogEventsInfo?: RejectedLogEventsInfo;
|
|
3922
4138
|
/**
|
|
3923
|
-
* <p>Reserved for
|
|
4139
|
+
* <p>Reserved for internal use.</p>
|
|
3924
4140
|
* @public
|
|
3925
4141
|
*/
|
|
3926
4142
|
rejectedEntityInfo?: RejectedEntityInfo;
|
|
@@ -4683,6 +4899,38 @@ export interface UpdateAnomalyRequest {
|
|
|
4683
4899
|
*/
|
|
4684
4900
|
suppressionPeriod?: SuppressionPeriod;
|
|
4685
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
|
+
}
|
|
4686
4934
|
/**
|
|
4687
4935
|
* @public
|
|
4688
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
|
*/
|
|
@@ -19,6 +19,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
apiVersion: string;
|
|
22
|
+
cacheMiddleware?: boolean | undefined;
|
|
22
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
24
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
25
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -35,6 +36,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
35
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
36
37
|
}) => import("@smithy/types").EndpointV2;
|
|
37
38
|
tls?: boolean | undefined;
|
|
39
|
+
serviceConfiguredEndpoint?: undefined;
|
|
38
40
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
39
41
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchLogsHttpAuthSchemeProvider;
|
|
40
42
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -19,6 +19,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
apiVersion: string;
|
|
22
|
+
cacheMiddleware?: boolean | undefined;
|
|
22
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
24
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
25
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -35,6 +36,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
35
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
36
37
|
}) => import("@smithy/types").EndpointV2;
|
|
37
38
|
tls?: boolean | undefined;
|
|
39
|
+
serviceConfiguredEndpoint?: undefined;
|
|
38
40
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
39
41
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchLogsHttpAuthSchemeProvider;
|
|
40
42
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
|
+
cacheMiddleware?: boolean | undefined;
|
|
10
11
|
urlParser: import("@smithy/types").UrlParser;
|
|
11
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
13
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: CloudWatchLogsClientConfig) => {
|
|
|
34
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
35
36
|
}) => import("@smithy/types").EndpointV2;
|
|
36
37
|
tls?: boolean | undefined;
|
|
38
|
+
serviceConfiguredEndpoint?: undefined;
|
|
37
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
40
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudWatchLogsHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -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>> {
|