@aws-sdk/client-cloudwatch-logs 3.1142.0 → 3.1144.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -70,7 +70,7 @@ const commonParams = {
70
70
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
71
71
  };
72
72
 
73
- var version = "3.1141.0";
73
+ var version = "3.1143.0";
74
74
  var packageInfo = {
75
75
  version: version};
76
76
 
@@ -1790,8 +1790,8 @@ var Delivery$ = [3, n0, _D,
1790
1790
  ];
1791
1791
  var DeliveryDestination$ = [3, n0, _DD,
1792
1792
  0,
1793
- [_n, _ar, _dDT, _oF, _dDC, _ta],
1794
- [0, 0, 0, 0, () => DeliveryDestinationConfiguration$, 128 | 0]
1793
+ [_n, _ar, _dDT, _oF, _dDC, _rAo, _ta],
1794
+ [0, 0, 0, 0, () => DeliveryDestinationConfiguration$, 0, 128 | 0]
1795
1795
  ];
1796
1796
  var DeliveryDestinationConfiguration$ = [3, n0, _DDC,
1797
1797
  0,
@@ -2655,8 +2655,8 @@ var PutDeliveryDestinationPolicyResponse$ = [3, n0, _PDDPRu,
2655
2655
  ];
2656
2656
  var PutDeliveryDestinationRequest$ = [3, n0, _PDDR,
2657
2657
  0,
2658
- [_n, _oF, _dDC, _dDT, _ta],
2659
- [0, 0, () => DeliveryDestinationConfiguration$, 0, 128 | 0], 1
2658
+ [_n, _oF, _dDC, _dDT, _rAo, _ta],
2659
+ [0, 0, () => DeliveryDestinationConfiguration$, 0, 0, 128 | 0], 1
2660
2660
  ];
2661
2661
  var PutDeliveryDestinationResponse$ = [3, n0, _PDDRu,
2662
2662
  0,
@@ -1385,8 +1385,8 @@ export var Delivery$ = [3, n0, _D,
1385
1385
  ];
1386
1386
  export var DeliveryDestination$ = [3, n0, _DD,
1387
1387
  0,
1388
- [_n, _ar, _dDT, _oF, _dDC, _ta],
1389
- [0, 0, 0, 0, () => DeliveryDestinationConfiguration$, 128 | 0]
1388
+ [_n, _ar, _dDT, _oF, _dDC, _rAo, _ta],
1389
+ [0, 0, 0, 0, () => DeliveryDestinationConfiguration$, 0, 128 | 0]
1390
1390
  ];
1391
1391
  export var DeliveryDestinationConfiguration$ = [3, n0, _DDC,
1392
1392
  0,
@@ -2250,8 +2250,8 @@ export var PutDeliveryDestinationPolicyResponse$ = [3, n0, _PDDPRu,
2250
2250
  ];
2251
2251
  export var PutDeliveryDestinationRequest$ = [3, n0, _PDDR,
2252
2252
  0,
2253
- [_n, _oF, _dDC, _dDT, _ta],
2254
- [0, 0, () => DeliveryDestinationConfiguration$, 0, 128 | 0], 1
2253
+ [_n, _oF, _dDC, _dDT, _rAo, _ta],
2254
+ [0, 0, () => DeliveryDestinationConfiguration$, 0, 0, 128 | 0], 1
2255
2255
  ];
2256
2256
  export var PutDeliveryDestinationResponse$ = [3, n0, _PDDRu,
2257
2257
  0,
@@ -50,6 +50,7 @@ declare const DescribeDeliveryDestinationsCommand_base: {
50
50
  * // deliveryDestinationConfiguration: { // DeliveryDestinationConfiguration
51
51
  * // destinationResourceArn: "STRING_VALUE", // required
52
52
  * // },
53
+ * // roleArn: "STRING_VALUE",
53
54
  * // tags: { // Tags
54
55
  * // "<keys>": "STRING_VALUE",
55
56
  * // },
@@ -47,6 +47,7 @@ declare const GetDeliveryDestinationCommand_base: {
47
47
  * // deliveryDestinationConfiguration: { // DeliveryDestinationConfiguration
48
48
  * // destinationResourceArn: "STRING_VALUE", // required
49
49
  * // },
50
+ * // roleArn: "STRING_VALUE",
50
51
  * // tags: { // Tags
51
52
  * // "<keys>": "STRING_VALUE",
52
53
  * // },
@@ -26,7 +26,10 @@ declare const PutAccountPolicyCommand_base: {
26
26
  /**
27
27
  * <p>Creates an account-level data protection policy, subscription filter policy, field index
28
28
  * policy, transformer policy, or metric extraction policy that applies to all log groups, a
29
- * subset of log groups, or a data source name and type combination in the account.</p>
29
+ * subset of log groups, or a data source name and type combination in the account. Account-level
30
+ * policies are Region-specific: a policy applies only to log groups in the Region where you
31
+ * create it. To apply a policy across multiple Regions, create the policy separately in each
32
+ * Region.</p>
30
33
  * <important>
31
34
  * <p>
32
35
  * <code>PutAccountPolicy</code> is an account-wide administrative operation intended for
@@ -77,6 +77,7 @@ declare const PutDeliveryDestinationCommand_base: {
77
77
  * destinationResourceArn: "STRING_VALUE", // required
78
78
  * },
79
79
  * deliveryDestinationType: "S3" || "CWL" || "FH" || "XRAY",
80
+ * roleArn: "STRING_VALUE",
80
81
  * tags: { // Tags
81
82
  * "<keys>": "STRING_VALUE",
82
83
  * },
@@ -92,6 +93,7 @@ declare const PutDeliveryDestinationCommand_base: {
92
93
  * // deliveryDestinationConfiguration: { // DeliveryDestinationConfiguration
93
94
  * // destinationResourceArn: "STRING_VALUE", // required
94
95
  * // },
96
+ * // roleArn: "STRING_VALUE",
95
97
  * // tags: { // Tags
96
98
  * // "<keys>": "STRING_VALUE",
97
99
  * // },
@@ -540,9 +540,11 @@ export interface CancelImportTaskResponse {
540
540
  export interface S3DeliveryConfiguration {
541
541
  /**
542
542
  * <p>This string allows re-configuring the S3 object prefix to contain either static or
543
- * variable sections. The valid variables to use in the suffix path will vary by each log source.
544
- * To find the values supported for the suffix path for each log source, use the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeConfigurationTemplates.html">DescribeConfigurationTemplates</a> operation and check the
545
- * <code>allowedSuffixPathFields</code> field in the response.</p>
543
+ * variable sections. The valid variables to use in the suffix path vary by log type. To find the
544
+ * values supported for the suffix path for each log type, use the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeConfigurationTemplates.html">DescribeConfigurationTemplates</a> operation and check the
545
+ * <code>allowedSuffixPathFields</code> field in the response. For more information about how
546
+ * the destination prefix, suffix path, and Hive-compatible setting determine the Amazon S3 object
547
+ * key, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-infrastructure-V2-S3.html#AWS-logs-infrastructure-V2-S3-object-key">Amazon S3 object key for V2 deliveries</a>.</p>
546
548
  * @public
547
549
  */
548
550
  suffixPath?: string | undefined;
@@ -1863,6 +1865,13 @@ export interface DeliveryDestination {
1863
1865
  * @public
1864
1866
  */
1865
1867
  deliveryDestinationConfiguration?: DeliveryDestinationConfiguration | undefined;
1868
+ /**
1869
+ * <p>The ARN of the IAM role that CloudWatch Logs assumes to deliver to this
1870
+ * delivery destination. This field is present only for X-Ray trace delivery
1871
+ * destinations that were created with a role.</p>
1872
+ * @public
1873
+ */
1874
+ roleArn?: string | undefined;
1866
1875
  /**
1867
1876
  * <p>The tags that have been assigned to this delivery destination.</p>
1868
1877
  * @public
@@ -7291,6 +7300,13 @@ export interface PutDeliveryDestinationRequest {
7291
7300
  * @public
7292
7301
  */
7293
7302
  deliveryDestinationType?: DeliveryDestinationType | undefined;
7303
+ /**
7304
+ * <p>The ARN of an IAM role in your account that CloudWatch Logs assumes to
7305
+ * deliver to this delivery destination. The trust policy of the role must allow CloudWatch Logs to assume it. This parameter is supported only for X-Ray trace delivery
7306
+ * destinations.</p>
7307
+ * @public
7308
+ */
7309
+ roleArn?: string | undefined;
7294
7310
  /**
7295
7311
  * <p>An optional list of key-value pairs to associate with the resource.</p>
7296
7312
  * <p>For more information about tagging, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>
@@ -7356,6 +7372,9 @@ export interface PutDeliverySourceRequest {
7356
7372
  * and for Amazon Web Services Security Hub, use
7357
7373
  * <code>arn:aws:securityhub:us-east-1:111122223333:hubv2/*</code>
7358
7374
  * </p>
7375
+ * <p>For the <code>INSIGHTS_QUERY_LOGS</code> log type, use a wildcard log group ARN, such as
7376
+ * <code>arn:aws:logs:us-east-1:111122223333:log-group:*</code>. Amazon Web Services does not support a
7377
+ * specific log group ARN for this log type.</p>
7359
7378
  * @public
7360
7379
  */
7361
7380
  resourceArn: string | undefined;
@@ -7363,57 +7382,57 @@ export interface PutDeliverySourceRequest {
7363
7382
  * <p>Defines the type of log that the source is sending.</p>
7364
7383
  * <ul>
7365
7384
  * <li>
7385
+ * <p>For Amazon Web Services Amplify, the valid values are <code>ACCESS_LOGS</code> and
7386
+ * <code>WAF_LOGS</code>.</p>
7387
+ * </li>
7388
+ * <li>
7366
7389
  * <p>For Application Load Balancer, the valid values are <code>ALB_ACCESS_LOGS</code>,
7367
7390
  * <code>ALB_CONNECTION_LOGS</code>, and <code>ALB_HEALTH_CHECK_LOGS</code>.</p>
7368
7391
  * </li>
7369
7392
  * <li>
7370
- * <p>For Amazon Bedrock Agents, the valid values are <code>APPLICATION_LOGS</code> and
7371
- * <code>EVENT_LOGS</code>.</p>
7393
+ * <p>For Amazon Bedrock AgentCore Gateway, the valid values are
7394
+ * <code>APPLICATION_LOGS</code> and <code>TRACES</code>.</p>
7372
7395
  * </li>
7373
7396
  * <li>
7374
- * <p>For Amazon Bedrock Knowledge Bases, the valid values are
7397
+ * <p>For Amazon Bedrock AgentCore Identity, the valid values are
7375
7398
  * <code>APPLICATION_LOGS</code> and <code>TRACES</code>.</p>
7376
7399
  * </li>
7377
7400
  * <li>
7378
- * <p>For Amazon Bedrock AgentCore Runtime, the valid values are
7379
- * <code>APPLICATION_LOGS</code>, <code>USAGE_LOGS</code> and <code>TRACES</code>.</p>
7401
+ * <p>For Amazon Bedrock AgentCore Memory, the valid values are
7402
+ * <code>APPLICATION_LOGS</code> and <code>TRACES</code>.</p>
7380
7403
  * </li>
7381
7404
  * <li>
7382
- * <p>For Amazon Bedrock AgentCore Tools, the valid values are
7383
- * <code>APPLICATION_LOGS</code>, <code>USAGE_LOGS</code> and <code>TRACES</code>.</p>
7405
+ * <p>For Amazon Bedrock AgentCore Payments, the valid values are
7406
+ * <code>APPLICATION_LOGS</code> and <code>TRACES</code>.</p>
7384
7407
  * </li>
7385
7408
  * <li>
7386
- * <p>For Amazon Bedrock AgentCore Identity, the valid values are
7387
- * <code>APPLICATION_LOGS</code> and <code>TRACES</code>.</p>
7409
+ * <p>For Amazon Bedrock AgentCore Runtime, the valid values are
7410
+ * <code>APPLICATION_LOGS</code>, <code>USAGE_LOGS</code>, and <code>TRACES</code>.</p>
7388
7411
  * </li>
7389
7412
  * <li>
7390
- * <p>For Amazon Bedrock AgentCore Memory, the valid values are
7391
- * <code>APPLICATION_LOGS</code> and <code>TRACES</code>.</p>
7413
+ * <p>For Amazon Bedrock AgentCore Tools, the valid values are
7414
+ * <code>APPLICATION_LOGS</code>, <code>USAGE_LOGS</code>, and <code>TRACES</code>.</p>
7392
7415
  * </li>
7393
7416
  * <li>
7394
- * <p>For Amazon Bedrock AgentCore Gateway, the valid values are
7395
- * <code>APPLICATION_LOGS</code> and <code>TRACES</code>.</p>
7417
+ * <p>For Amazon Bedrock Agents, the valid values are <code>APPLICATION_LOGS</code> and
7418
+ * <code>EVENT_LOGS</code>.</p>
7396
7419
  * </li>
7397
7420
  * <li>
7398
- * <p>For Amazon Bedrock AgentCore Payments, the valid values are
7421
+ * <p>For Amazon Bedrock Knowledge Bases, the valid values are
7399
7422
  * <code>APPLICATION_LOGS</code> and <code>TRACES</code>.</p>
7400
7423
  * </li>
7401
7424
  * <li>
7402
7425
  * <p>For CloudFront, the valid value is <code>ACCESS_LOGS</code>.</p>
7403
7426
  * </li>
7404
7427
  * <li>
7405
- * <p>For DevOps Agent, the valid value is <code>APPLICATION_LOGS</code>.</p>
7428
+ * <p>For query execution logs from CloudWatch Logs Insights, the valid value is
7429
+ * <code>INSIGHTS_QUERY_LOGS</code>.</p>
7406
7430
  * </li>
7407
7431
  * <li>
7408
7432
  * <p>For Amazon CodeWhisperer, the valid value is <code>EVENT_LOGS</code>.</p>
7409
7433
  * </li>
7410
7434
  * <li>
7411
- * <p>For Elemental MediaPackage, the valid values are <code>EGRESS_ACCESS_LOGS</code> and
7412
- * <code>INGRESS_ACCESS_LOGS</code>.</p>
7413
- * </li>
7414
- * <li>
7415
- * <p>For Elemental MediaTailor, the valid values are <code>AD_DECISION_SERVER_LOGS</code>,
7416
- * <code>MANIFEST_SERVICE_LOGS</code>, and <code>TRANSCODE_LOGS</code>.</p>
7435
+ * <p>For DevOps Agent, the valid value is <code>APPLICATION_LOGS</code>.</p>
7417
7436
  * </li>
7418
7437
  * <li>
7419
7438
  * <p>For Amazon EKS Auto Mode, the valid values are <code>AUTO_MODE_BLOCK_STORAGE_LOGS</code>,
@@ -7430,6 +7449,18 @@ export interface PutDeliverySourceRequest {
7430
7449
  * <code>EKS_CAPABILITY_KRO_LOGS</code>.</p>
7431
7450
  * </li>
7432
7451
  * <li>
7452
+ * <p>For Amazon Web Services Elemental Inference, the valid value is
7453
+ * <code>APPLICATION_LOGS</code>.</p>
7454
+ * </li>
7455
+ * <li>
7456
+ * <p>For Elemental MediaPackage, the valid values are <code>EGRESS_ACCESS_LOGS</code> and
7457
+ * <code>INGRESS_ACCESS_LOGS</code>.</p>
7458
+ * </li>
7459
+ * <li>
7460
+ * <p>For Elemental MediaTailor, the valid values are <code>AD_DECISION_SERVER_LOGS</code>,
7461
+ * <code>MANIFEST_SERVICE_LOGS</code>, and <code>TRANSCODE_LOGS</code>.</p>
7462
+ * </li>
7463
+ * <li>
7433
7464
  * <p>For Entity Resolution, the valid value is <code>WORKFLOW_LOGS</code>.</p>
7434
7465
  * </li>
7435
7466
  * <li>
@@ -7448,28 +7479,37 @@ export interface PutDeliverySourceRequest {
7448
7479
  * <code>PCS_JOBCOMP_LOGS</code>, and <code>PCS_SCHEDULER_AUDIT_LOGS</code>.</p>
7449
7480
  * </li>
7450
7481
  * <li>
7482
+ * <p>For Amazon Q, the valid values are <code>EVENT_LOGS</code> and
7483
+ * <code>SYNC_JOB_LOGS</code>.</p>
7484
+ * </li>
7485
+ * <li>
7486
+ * <p>For Amazon Q in Connect AI agents, the valid value is
7487
+ * <code>EVENT_LOGS</code>.</p>
7488
+ * </li>
7489
+ * <li>
7451
7490
  * <p>For Quick, the valid values are <code>AGENT_HOURS_LOGS</code>,
7452
- * <code>CHAT_LOGS</code>, <code>FEEDBACK_LOGS</code>, and
7453
- * <code>INDEX_USAGE_LOGS</code>.</p>
7491
+ * <code>AGENT_METADATA_LOGS</code>, <code>CHAT_LOGS</code>, <code>DLP_LOGS</code>,
7492
+ * <code>FEEDBACK_LOGS</code>, <code>INDEX_USAGE_LOGS</code>, and
7493
+ * <code>KB_FILE_SYNC_LOGS</code>.</p>
7454
7494
  * </li>
7455
7495
  * <li>
7456
- * <p>For Amazon Web Services RTB Fabric, the valid values is
7457
- * <code>APPLICATION_LOGS</code>.</p>
7496
+ * <p>For Route 53 Global Resolver, the valid value is
7497
+ * <code>GLOBAL_RESOLVER_LOGS</code>.</p>
7458
7498
  * </li>
7459
7499
  * <li>
7460
- * <p>For Amazon Q, the valid values are <code>EVENT_LOGS</code> and
7461
- * <code>SYNC_JOB_LOGS</code>.</p>
7500
+ * <p>For Amazon Web Services RTB Fabric, the valid value is
7501
+ * <code>APPLICATION_LOGS</code>.</p>
7462
7502
  * </li>
7463
7503
  * <li>
7464
7504
  * <p>For Amazon S3, the valid value is
7465
7505
  * <code>S3_SERVER_ACCESS_LOGS</code>.</p>
7466
7506
  * </li>
7467
7507
  * <li>
7468
- * <p>For Amazon Web Services Security Hub CSPM, the valid value is
7508
+ * <p>For Amazon Web Services Security Hub, the valid value is
7469
7509
  * <code>SECURITY_FINDING_LOGS</code>.</p>
7470
7510
  * </li>
7471
7511
  * <li>
7472
- * <p>For Amazon Web Services Security Hub, the valid value is
7512
+ * <p>For Amazon Web Services Security Hub CSPM, the valid value is
7473
7513
  * <code>SECURITY_FINDING_LOGS</code>.</p>
7474
7514
  * </li>
7475
7515
  * <li>
@@ -7477,15 +7517,19 @@ export interface PutDeliverySourceRequest {
7477
7517
  * <code>APPLICATION_LOGS</code> and <code>TRAFFIC_POLICY_DEBUG_LOGS</code>.</p>
7478
7518
  * </li>
7479
7519
  * <li>
7480
- * <p>For Amazon WorkMail, the valid values are <code>ACCESS_CONTROL_LOGS</code>,
7481
- * <code>AUTHENTICATION_LOGS</code>, <code>WORKMAIL_AVAILABILITY_PROVIDER_LOGS</code>,
7482
- * <code>WORKMAIL_MAILBOX_ACCESS_LOGS</code>, and
7483
- * <code>WORKMAIL_PERSONAL_ACCESS_TOKEN_LOGS</code>.</p>
7520
+ * <p>For Amazon Web Services Shield Advanced, the valid value is
7521
+ * <code>FLOW_LOGS</code>.</p>
7484
7522
  * </li>
7485
7523
  * <li>
7486
7524
  * <p>For Amazon VPC Route Server, the valid value is
7487
7525
  * <code>EVENT_LOGS</code>.</p>
7488
7526
  * </li>
7527
+ * <li>
7528
+ * <p>For Amazon WorkMail, the valid values are <code>ACCESS_CONTROL_LOGS</code>,
7529
+ * <code>AUTHENTICATION_LOGS</code>, <code>WORKMAIL_AVAILABILITY_PROVIDER_LOGS</code>,
7530
+ * <code>WORKMAIL_MAILBOX_ACCESS_LOGS</code>, and
7531
+ * <code>WORKMAIL_PERSONAL_ACCESS_TOKEN_LOGS</code>.</p>
7532
+ * </li>
7489
7533
  * </ul>
7490
7534
  * @public
7491
7535
  */
@@ -425,6 +425,7 @@ export interface DeliveryDestination {
425
425
  deliveryDestinationType?: DeliveryDestinationType | undefined;
426
426
  outputFormat?: OutputFormat | undefined;
427
427
  deliveryDestinationConfiguration?: DeliveryDestinationConfiguration | undefined;
428
+ roleArn?: string | undefined;
428
429
  tags?: Record<string, string> | undefined;
429
430
  }
430
431
  export interface DeliverySource {
@@ -1461,6 +1462,7 @@ export interface PutDeliveryDestinationRequest {
1461
1462
  outputFormat?: OutputFormat | undefined;
1462
1463
  deliveryDestinationConfiguration?: DeliveryDestinationConfiguration | undefined;
1463
1464
  deliveryDestinationType?: DeliveryDestinationType | undefined;
1465
+ roleArn?: string | undefined;
1464
1466
  tags?: Record<string, string> | undefined;
1465
1467
  }
1466
1468
  export interface PutDeliveryDestinationResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch-logs",
3
- "version": "3.1142.0",
3
+ "version": "3.1144.0",
4
4
  "description": "AWS SDK for JavaScript Cloudwatch Logs Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudwatch-logs",
6
6
  "license": "Apache-2.0",