@aws-sdk/client-cloudwatch-logs 3.1073.0 → 3.1074.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 +28 -0
- package/dist-cjs/index.js +47 -1
- package/dist-cjs/schemas/schemas_0.js +54 -0
- package/dist-es/CloudWatchLogs.js +6 -0
- package/dist-es/commands/DeleteSyslogConfigurationCommand.js +16 -0
- package/dist-es/commands/ListSyslogConfigurationsCommand.js +16 -0
- package/dist-es/commands/PutSyslogConfigurationCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +3 -0
- package/dist-es/schemas/schemas_0.js +49 -0
- package/dist-types/CloudWatchLogs.d.ts +29 -0
- package/dist-types/CloudWatchLogsClient.d.ts +12 -2
- package/dist-types/commands/DeleteSyslogConfigurationCommand.d.ts +97 -0
- package/dist-types/commands/ListSyslogConfigurationsCommand.d.ts +106 -0
- package/dist-types/commands/PutAccountPolicyCommand.d.ts +48 -0
- package/dist-types/commands/PutSyslogConfigurationCommand.d.ts +97 -0
- package/dist-types/commands/UntagLogGroupCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAnomalyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDeliveryConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +7 -0
- package/dist-types/models/enums.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +115 -137
- package/dist-types/models/models_1.d.ts +136 -2
- package/dist-types/schemas/schemas_0.d.ts +8 -0
- package/dist-types/ts3.4/CloudWatchLogs.d.ts +52 -0
- package/dist-types/ts3.4/CloudWatchLogsClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteSyslogConfigurationCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/ListSyslogConfigurationsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/PutSyslogConfigurationCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/UntagLogGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAnomalyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDeliveryConfigurationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +25 -28
- package/dist-types/ts3.4/models/models_1.d.ts +29 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ActionStatus, AnomalyDetectorStatus, DataProtectionStatus, DeliveryDestinationType, DeliverySourceConfigurationSchemaValueType, DeliverySourceStatus, DeliverySourceStatusReason, Distribution, EntityRejectionErrorType, EvaluationFrequency, EventSource, ExecutionStatus, ExportTaskStatusCode, FlattenedElement, ImportStatus, IndexSource, IndexType, InheritedProperty, IntegrationStatus, IntegrationType, ListAggregateLogGroupSummariesGroupBy, LogGroupClass, OCSFVersion, OpenSearchResourceStatusType, OrderBy, OutputFormat, PolicyScope, PolicyType, QueryLanguage, QueryStatus, S3TableIntegrationSourceStatus, ScheduledQueryDestinationType, ScheduledQueryState, ScheduleType, Scope, StandardUnit, State, SuppressionState,
|
|
1
|
+
import type { ActionStatus, AnomalyDetectorStatus, DataProtectionStatus, DeliveryDestinationType, DeliverySourceConfigurationSchemaValueType, DeliverySourceStatus, DeliverySourceStatusReason, Distribution, EntityRejectionErrorType, EvaluationFrequency, EventSource, ExecutionStatus, ExportTaskStatusCode, FlattenedElement, ImportStatus, IndexSource, IndexType, InheritedProperty, IntegrationStatus, IntegrationType, ListAggregateLogGroupSummariesGroupBy, LogGroupClass, OCSFVersion, OpenSearchResourceStatusType, OrderBy, OutputFormat, PolicyScope, PolicyType, QueryLanguage, QueryStatus, S3TableIntegrationSourceStatus, ScheduledQueryDestinationType, ScheduledQueryState, ScheduleType, Scope, StandardUnit, State, SuppressionState, SyslogSourceType, Type } from "./enums";
|
|
2
2
|
import type { InternalStreamingException, SessionStreamingException, SessionTimeoutException } from "./errors";
|
|
3
3
|
/**
|
|
4
4
|
* <p>A structure that contains information about one CloudWatch Logs account policy.</p>
|
|
@@ -1711,6 +1711,21 @@ export interface DeleteSubscriptionFilterRequest {
|
|
|
1711
1711
|
*/
|
|
1712
1712
|
filterName: string | undefined;
|
|
1713
1713
|
}
|
|
1714
|
+
/**
|
|
1715
|
+
* @public
|
|
1716
|
+
*/
|
|
1717
|
+
export interface DeleteSyslogConfigurationRequest {
|
|
1718
|
+
/**
|
|
1719
|
+
* <p>The name or ARN of the log group to remove the syslog configuration from.</p>
|
|
1720
|
+
* @public
|
|
1721
|
+
*/
|
|
1722
|
+
logGroupIdentifier: string | undefined;
|
|
1723
|
+
/**
|
|
1724
|
+
* <p>The ID of the VPC endpoint associated with the syslog configuration to delete.</p>
|
|
1725
|
+
* @public
|
|
1726
|
+
*/
|
|
1727
|
+
vpcEndpointId?: string | undefined;
|
|
1728
|
+
}
|
|
1714
1729
|
/**
|
|
1715
1730
|
* @public
|
|
1716
1731
|
*/
|
|
@@ -6527,6 +6542,74 @@ export interface ListSourcesForS3TableIntegrationResponse {
|
|
|
6527
6542
|
*/
|
|
6528
6543
|
nextToken?: string | undefined;
|
|
6529
6544
|
}
|
|
6545
|
+
/**
|
|
6546
|
+
* @public
|
|
6547
|
+
*/
|
|
6548
|
+
export interface ListSyslogConfigurationsRequest {
|
|
6549
|
+
/**
|
|
6550
|
+
* <p>The name or ARN of the log group to filter syslog configurations for.</p>
|
|
6551
|
+
* @public
|
|
6552
|
+
*/
|
|
6553
|
+
logGroupIdentifier?: string | undefined;
|
|
6554
|
+
/**
|
|
6555
|
+
* <p>The ID of the VPC endpoint to filter syslog configurations for.</p>
|
|
6556
|
+
* @public
|
|
6557
|
+
*/
|
|
6558
|
+
vpcEndpointId?: string | undefined;
|
|
6559
|
+
/**
|
|
6560
|
+
* <p>The token for the next set of items to return. You received this token from a previous
|
|
6561
|
+
* call.</p>
|
|
6562
|
+
* @public
|
|
6563
|
+
*/
|
|
6564
|
+
nextToken?: string | undefined;
|
|
6565
|
+
/**
|
|
6566
|
+
* <p>The maximum number of syslog configurations to return in the response.</p>
|
|
6567
|
+
* @public
|
|
6568
|
+
*/
|
|
6569
|
+
maxResults?: number | undefined;
|
|
6570
|
+
}
|
|
6571
|
+
/**
|
|
6572
|
+
* <p>Contains information about a syslog configuration associated with a log group.</p>
|
|
6573
|
+
* @public
|
|
6574
|
+
*/
|
|
6575
|
+
export interface SyslogConfiguration {
|
|
6576
|
+
/**
|
|
6577
|
+
* <p>The ARN of the log group associated with this syslog configuration.</p>
|
|
6578
|
+
* @public
|
|
6579
|
+
*/
|
|
6580
|
+
logGroupArn?: string | undefined;
|
|
6581
|
+
/**
|
|
6582
|
+
* <p>The source type for the syslog configuration.</p>
|
|
6583
|
+
* @public
|
|
6584
|
+
*/
|
|
6585
|
+
sourceType?: SyslogSourceType | undefined;
|
|
6586
|
+
/**
|
|
6587
|
+
* <p>The ID of the VPC endpoint used for syslog ingestion.</p>
|
|
6588
|
+
* @public
|
|
6589
|
+
*/
|
|
6590
|
+
vpcEndpointId?: string | undefined;
|
|
6591
|
+
/**
|
|
6592
|
+
* <p>The time when the syslog configuration was created, expressed as the number of
|
|
6593
|
+
* milliseconds after <code>Jan 1, 1970 00:00:00 UTC</code>.</p>
|
|
6594
|
+
* @public
|
|
6595
|
+
*/
|
|
6596
|
+
createdAt?: number | undefined;
|
|
6597
|
+
}
|
|
6598
|
+
/**
|
|
6599
|
+
* @public
|
|
6600
|
+
*/
|
|
6601
|
+
export interface ListSyslogConfigurationsResponse {
|
|
6602
|
+
/**
|
|
6603
|
+
* <p>The list of syslog configurations.</p>
|
|
6604
|
+
* @public
|
|
6605
|
+
*/
|
|
6606
|
+
syslogConfigurations?: SyslogConfiguration[] | undefined;
|
|
6607
|
+
/**
|
|
6608
|
+
* <p>The token for the next set of items to return. The token expires after 24 hours.</p>
|
|
6609
|
+
* @public
|
|
6610
|
+
*/
|
|
6611
|
+
nextToken?: string | undefined;
|
|
6612
|
+
}
|
|
6530
6613
|
/**
|
|
6531
6614
|
* @public
|
|
6532
6615
|
*/
|
|
@@ -7146,6 +7229,10 @@ export interface PutDeliverySourceRequest {
|
|
|
7146
7229
|
* <code>APPLICATION_LOGS</code> and <code>TRACES</code>.</p>
|
|
7147
7230
|
* </li>
|
|
7148
7231
|
* <li>
|
|
7232
|
+
* <p>For Amazon Bedrock AgentCore Payments, the valid values are
|
|
7233
|
+
* <code>APPLICATION_LOGS</code> and <code>TRACES</code>.</p>
|
|
7234
|
+
* </li>
|
|
7235
|
+
* <li>
|
|
7149
7236
|
* <p>For CloudFront, the valid value is <code>ACCESS_LOGS</code>.</p>
|
|
7150
7237
|
* </li>
|
|
7151
7238
|
* <li>
|
|
@@ -7168,6 +7255,15 @@ export interface PutDeliverySourceRequest {
|
|
|
7168
7255
|
* <code>AUTO_MODE_LOAD_BALANCING_LOGS</code>.</p>
|
|
7169
7256
|
* </li>
|
|
7170
7257
|
* <li>
|
|
7258
|
+
* <p>For Amazon EKS Capability Logs, the valid values are <code>EKS_CAPABILITY_ACK_LOGS</code>,
|
|
7259
|
+
* <code>EKS_CAPABILITY_ARGOCD_APPLICATION_LOGS</code>,
|
|
7260
|
+
* <code>EKS_CAPABILITY_ARGOCD_APPLICATIONSET_LOGS</code>,
|
|
7261
|
+
* <code>EKS_CAPABILITY_ARGOCD_COMMITSERVER_LOGS</code>,
|
|
7262
|
+
* <code>EKS_CAPABILITY_ARGOCD_REPOSERVER_LOGS</code>,
|
|
7263
|
+
* <code>EKS_CAPABILITY_ARGOCD_SERVER_LOGS</code>, and
|
|
7264
|
+
* <code>EKS_CAPABILITY_KRO_LOGS</code>.</p>
|
|
7265
|
+
* </li>
|
|
7266
|
+
* <li>
|
|
7171
7267
|
* <p>For Entity Resolution, the valid value is <code>WORKFLOW_LOGS</code>.</p>
|
|
7172
7268
|
* </li>
|
|
7173
7269
|
* <li>
|
|
@@ -7186,8 +7282,9 @@ export interface PutDeliverySourceRequest {
|
|
|
7186
7282
|
* <code>PCS_JOBCOMP_LOGS</code>, and <code>PCS_SCHEDULER_AUDIT_LOGS</code>.</p>
|
|
7187
7283
|
* </li>
|
|
7188
7284
|
* <li>
|
|
7189
|
-
* <p>For Quick, the valid values are <code>
|
|
7190
|
-
* <code>FEEDBACK_LOGS</code
|
|
7285
|
+
* <p>For Quick, the valid values are <code>AGENT_HOURS_LOGS</code>,
|
|
7286
|
+
* <code>CHAT_LOGS</code>, <code>FEEDBACK_LOGS</code>, and
|
|
7287
|
+
* <code>INDEX_USAGE_LOGS</code>.</p>
|
|
7191
7288
|
* </li>
|
|
7192
7289
|
* <li>
|
|
7193
7290
|
* <p>For Amazon Web Services RTB Fabric, the valid values is
|
|
@@ -7892,6 +7989,21 @@ export interface PutSubscriptionFilterRequest {
|
|
|
7892
7989
|
*/
|
|
7893
7990
|
emitSystemFields?: string[] | undefined;
|
|
7894
7991
|
}
|
|
7992
|
+
/**
|
|
7993
|
+
* @public
|
|
7994
|
+
*/
|
|
7995
|
+
export interface PutSyslogConfigurationRequest {
|
|
7996
|
+
/**
|
|
7997
|
+
* <p>The name or ARN of the log group to associate with the syslog configuration.</p>
|
|
7998
|
+
* @public
|
|
7999
|
+
*/
|
|
8000
|
+
logGroupIdentifier: string | undefined;
|
|
8001
|
+
/**
|
|
8002
|
+
* <p>The ID of the VPC endpoint to use for syslog ingestion.</p>
|
|
8003
|
+
* @public
|
|
8004
|
+
*/
|
|
8005
|
+
vpcEndpointId?: string | undefined;
|
|
8006
|
+
}
|
|
7895
8007
|
/**
|
|
7896
8008
|
* @public
|
|
7897
8009
|
*/
|
|
@@ -8329,137 +8441,3 @@ export interface TestTransformerResponse {
|
|
|
8329
8441
|
*/
|
|
8330
8442
|
transformedLogs?: TransformedLogRecord[] | undefined;
|
|
8331
8443
|
}
|
|
8332
|
-
/**
|
|
8333
|
-
* @deprecated Please use the generic tagging API model UntagResourceRequest.
|
|
8334
|
-
* @public
|
|
8335
|
-
*/
|
|
8336
|
-
export interface UntagLogGroupRequest {
|
|
8337
|
-
/**
|
|
8338
|
-
* <p>The name of the log group.</p>
|
|
8339
|
-
* @public
|
|
8340
|
-
*/
|
|
8341
|
-
logGroupName: string | undefined;
|
|
8342
|
-
/**
|
|
8343
|
-
* <p>The tag keys. The corresponding tags are removed from the log group.</p>
|
|
8344
|
-
* @public
|
|
8345
|
-
*/
|
|
8346
|
-
tags: string[] | undefined;
|
|
8347
|
-
}
|
|
8348
|
-
/**
|
|
8349
|
-
* @public
|
|
8350
|
-
*/
|
|
8351
|
-
export interface UntagResourceRequest {
|
|
8352
|
-
/**
|
|
8353
|
-
* <p>The ARN of the CloudWatch Logs resource that you're removing tags from.</p>
|
|
8354
|
-
* <p>The ARN format of a log group is
|
|
8355
|
-
* <code>arn:aws:logs:<i>Region</i>:<i>account-id</i>:log-group:<i>log-group-name</i>
|
|
8356
|
-
* </code>
|
|
8357
|
-
* </p>
|
|
8358
|
-
* <p>The ARN format of a destination is
|
|
8359
|
-
* <code>arn:aws:logs:<i>Region</i>:<i>account-id</i>:destination:<i>destination-name</i>
|
|
8360
|
-
* </code>
|
|
8361
|
-
* </p>
|
|
8362
|
-
* <p>For more information about ARN format, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html">CloudWatch Logs
|
|
8363
|
-
* resources and operations</a>.</p>
|
|
8364
|
-
* @public
|
|
8365
|
-
*/
|
|
8366
|
-
resourceArn: string | undefined;
|
|
8367
|
-
/**
|
|
8368
|
-
* <p>The list of tag keys to remove from the resource.</p>
|
|
8369
|
-
* @public
|
|
8370
|
-
*/
|
|
8371
|
-
tagKeys: string[] | undefined;
|
|
8372
|
-
}
|
|
8373
|
-
/**
|
|
8374
|
-
* <p>If you are suppressing an anomaly temporariliy, this structure defines how long the
|
|
8375
|
-
* suppression period is to be.</p>
|
|
8376
|
-
* @public
|
|
8377
|
-
*/
|
|
8378
|
-
export interface SuppressionPeriod {
|
|
8379
|
-
/**
|
|
8380
|
-
* <p>Specifies the number of seconds, minutes or hours to suppress this anomaly. There is no
|
|
8381
|
-
* maximum.</p>
|
|
8382
|
-
* @public
|
|
8383
|
-
*/
|
|
8384
|
-
value?: number | undefined;
|
|
8385
|
-
/**
|
|
8386
|
-
* <p>Specifies whether the value of <code>value</code> is in seconds, minutes, or hours.</p>
|
|
8387
|
-
* @public
|
|
8388
|
-
*/
|
|
8389
|
-
suppressionUnit?: SuppressionUnit | undefined;
|
|
8390
|
-
}
|
|
8391
|
-
/**
|
|
8392
|
-
* @public
|
|
8393
|
-
*/
|
|
8394
|
-
export interface UpdateAnomalyRequest {
|
|
8395
|
-
/**
|
|
8396
|
-
* <p>If you are suppressing or unsuppressing an anomaly, specify its unique ID here. You can
|
|
8397
|
-
* find anomaly IDs by using the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListAnomalies.html">ListAnomalies</a>
|
|
8398
|
-
* operation.</p>
|
|
8399
|
-
* @public
|
|
8400
|
-
*/
|
|
8401
|
-
anomalyId?: string | undefined;
|
|
8402
|
-
/**
|
|
8403
|
-
* <p>If you are suppressing or unsuppressing an pattern, specify its unique ID here. You can
|
|
8404
|
-
* find pattern IDs by using the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListAnomalies.html">ListAnomalies</a>
|
|
8405
|
-
* operation.</p>
|
|
8406
|
-
* @public
|
|
8407
|
-
*/
|
|
8408
|
-
patternId?: string | undefined;
|
|
8409
|
-
/**
|
|
8410
|
-
* <p>The ARN of the anomaly detector that this operation is to act on.</p>
|
|
8411
|
-
* @public
|
|
8412
|
-
*/
|
|
8413
|
-
anomalyDetectorArn: string | undefined;
|
|
8414
|
-
/**
|
|
8415
|
-
* <p>Use this to specify whether the suppression to be temporary or infinite. If you specify
|
|
8416
|
-
* <code>LIMITED</code>, you must also specify a <code>suppressionPeriod</code>. If you specify
|
|
8417
|
-
* <code>INFINITE</code>, any value for <code>suppressionPeriod</code> is ignored. </p>
|
|
8418
|
-
* @public
|
|
8419
|
-
*/
|
|
8420
|
-
suppressionType?: SuppressionType | undefined;
|
|
8421
|
-
/**
|
|
8422
|
-
* <p>If you are temporarily suppressing an anomaly or pattern, use this structure to specify
|
|
8423
|
-
* how long the suppression is to last.</p>
|
|
8424
|
-
* @public
|
|
8425
|
-
*/
|
|
8426
|
-
suppressionPeriod?: SuppressionPeriod | undefined;
|
|
8427
|
-
/**
|
|
8428
|
-
* <p>Set this to <code>true</code> to prevent CloudWatch Logs from displaying this behavior
|
|
8429
|
-
* as an anomaly in the future. The behavior is then treated as baseline behavior. However, if
|
|
8430
|
-
* similar but more severe occurrences of this behavior occur in the future, those will still be
|
|
8431
|
-
* reported as anomalies. </p>
|
|
8432
|
-
* <p>The default is <code>false</code>
|
|
8433
|
-
* </p>
|
|
8434
|
-
* @public
|
|
8435
|
-
*/
|
|
8436
|
-
baseline?: boolean | undefined;
|
|
8437
|
-
}
|
|
8438
|
-
/**
|
|
8439
|
-
* @public
|
|
8440
|
-
*/
|
|
8441
|
-
export interface UpdateDeliveryConfigurationRequest {
|
|
8442
|
-
/**
|
|
8443
|
-
* <p>The ID of the delivery to be updated by this request.</p>
|
|
8444
|
-
* @public
|
|
8445
|
-
*/
|
|
8446
|
-
id: string | undefined;
|
|
8447
|
-
/**
|
|
8448
|
-
* <p>The list of record fields to be delivered to the destination, in order. If the delivery's
|
|
8449
|
-
* log source has mandatory fields, they must be included in this list.</p>
|
|
8450
|
-
* @public
|
|
8451
|
-
*/
|
|
8452
|
-
recordFields?: string[] | undefined;
|
|
8453
|
-
/**
|
|
8454
|
-
* <p>The field delimiter to use between record fields when the final output format of a
|
|
8455
|
-
* delivery is in <code>Plain</code>, <code>W3C</code>, or <code>Raw</code> format.</p>
|
|
8456
|
-
* @public
|
|
8457
|
-
*/
|
|
8458
|
-
fieldDelimiter?: string | undefined;
|
|
8459
|
-
/**
|
|
8460
|
-
* <p>This structure contains parameters that are valid only when the delivery's delivery
|
|
8461
|
-
* destination is an S3 bucket.</p>
|
|
8462
|
-
* @public
|
|
8463
|
-
*/
|
|
8464
|
-
s3DeliveryConfiguration?: S3DeliveryConfiguration | undefined;
|
|
8465
|
-
}
|
|
@@ -1,5 +1,139 @@
|
|
|
1
|
-
import type { EvaluationFrequency, ExecutionStatus, QueryLanguage, ScheduledQueryState, ScheduleType } from "./enums";
|
|
2
|
-
import type { DestinationConfiguration } from "./models_0";
|
|
1
|
+
import type { EvaluationFrequency, ExecutionStatus, QueryLanguage, ScheduledQueryState, ScheduleType, SuppressionType, SuppressionUnit } from "./enums";
|
|
2
|
+
import type { DestinationConfiguration, S3DeliveryConfiguration } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Please use the generic tagging API model UntagResourceRequest.
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface UntagLogGroupRequest {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The name of the log group.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
logGroupName: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The tag keys. The corresponding tags are removed from the log group.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
tags: string[] | undefined;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export interface UntagResourceRequest {
|
|
23
|
+
/**
|
|
24
|
+
* <p>The ARN of the CloudWatch Logs resource that you're removing tags from.</p>
|
|
25
|
+
* <p>The ARN format of a log group is
|
|
26
|
+
* <code>arn:aws:logs:<i>Region</i>:<i>account-id</i>:log-group:<i>log-group-name</i>
|
|
27
|
+
* </code>
|
|
28
|
+
* </p>
|
|
29
|
+
* <p>The ARN format of a destination is
|
|
30
|
+
* <code>arn:aws:logs:<i>Region</i>:<i>account-id</i>:destination:<i>destination-name</i>
|
|
31
|
+
* </code>
|
|
32
|
+
* </p>
|
|
33
|
+
* <p>For more information about ARN format, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html">CloudWatch Logs
|
|
34
|
+
* resources and operations</a>.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
resourceArn: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* <p>The list of tag keys to remove from the resource.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
tagKeys: string[] | undefined;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* <p>If you are suppressing an anomaly temporariliy, this structure defines how long the
|
|
46
|
+
* suppression period is to be.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export interface SuppressionPeriod {
|
|
50
|
+
/**
|
|
51
|
+
* <p>Specifies the number of seconds, minutes or hours to suppress this anomaly. There is no
|
|
52
|
+
* maximum.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
value?: number | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* <p>Specifies whether the value of <code>value</code> is in seconds, minutes, or hours.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
suppressionUnit?: SuppressionUnit | undefined;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export interface UpdateAnomalyRequest {
|
|
66
|
+
/**
|
|
67
|
+
* <p>If you are suppressing or unsuppressing an anomaly, specify its unique ID here. You can
|
|
68
|
+
* find anomaly IDs by using the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListAnomalies.html">ListAnomalies</a>
|
|
69
|
+
* operation.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
anomalyId?: string | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* <p>If you are suppressing or unsuppressing an pattern, specify its unique ID here. You can
|
|
75
|
+
* find pattern IDs by using the <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_ListAnomalies.html">ListAnomalies</a>
|
|
76
|
+
* operation.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
patternId?: string | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* <p>The ARN of the anomaly detector that this operation is to act on.</p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
anomalyDetectorArn: string | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* <p>Use this to specify whether the suppression to be temporary or infinite. If you specify
|
|
87
|
+
* <code>LIMITED</code>, you must also specify a <code>suppressionPeriod</code>. If you specify
|
|
88
|
+
* <code>INFINITE</code>, any value for <code>suppressionPeriod</code> is ignored. </p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
suppressionType?: SuppressionType | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* <p>If you are temporarily suppressing an anomaly or pattern, use this structure to specify
|
|
94
|
+
* how long the suppression is to last.</p>
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
suppressionPeriod?: SuppressionPeriod | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* <p>Set this to <code>true</code> to prevent CloudWatch Logs from displaying this behavior
|
|
100
|
+
* as an anomaly in the future. The behavior is then treated as baseline behavior. However, if
|
|
101
|
+
* similar but more severe occurrences of this behavior occur in the future, those will still be
|
|
102
|
+
* reported as anomalies. </p>
|
|
103
|
+
* <p>The default is <code>false</code>
|
|
104
|
+
* </p>
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
baseline?: boolean | undefined;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export interface UpdateDeliveryConfigurationRequest {
|
|
113
|
+
/**
|
|
114
|
+
* <p>The ID of the delivery to be updated by this request.</p>
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
id: string | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* <p>The list of record fields to be delivered to the destination, in order. If the delivery's
|
|
120
|
+
* log source has mandatory fields, they must be included in this list.</p>
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
recordFields?: string[] | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* <p>The field delimiter to use between record fields when the final output format of a
|
|
126
|
+
* delivery is in <code>Plain</code>, <code>W3C</code>, or <code>Raw</code> format.</p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
fieldDelimiter?: string | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* <p>This structure contains parameters that are valid only when the delivery's delivery
|
|
132
|
+
* destination is an S3 bucket.</p>
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
s3DeliveryConfiguration?: S3DeliveryConfiguration | undefined;
|
|
136
|
+
}
|
|
3
137
|
/**
|
|
4
138
|
* @public
|
|
5
139
|
*/
|
|
@@ -86,6 +86,7 @@ export declare var DeleteRetentionPolicyRequest$: StaticStructureSchema;
|
|
|
86
86
|
export declare var DeleteScheduledQueryRequest$: StaticStructureSchema;
|
|
87
87
|
export declare var DeleteScheduledQueryResponse$: StaticStructureSchema;
|
|
88
88
|
export declare var DeleteSubscriptionFilterRequest$: StaticStructureSchema;
|
|
89
|
+
export declare var DeleteSyslogConfigurationRequest$: StaticStructureSchema;
|
|
89
90
|
export declare var DeleteTransformerRequest$: StaticStructureSchema;
|
|
90
91
|
export declare var Delivery$: StaticStructureSchema;
|
|
91
92
|
export declare var DeliveryDestination$: StaticStructureSchema;
|
|
@@ -203,6 +204,8 @@ export declare var ListScheduledQueriesRequest$: StaticStructureSchema;
|
|
|
203
204
|
export declare var ListScheduledQueriesResponse$: StaticStructureSchema;
|
|
204
205
|
export declare var ListSourcesForS3TableIntegrationRequest$: StaticStructureSchema;
|
|
205
206
|
export declare var ListSourcesForS3TableIntegrationResponse$: StaticStructureSchema;
|
|
207
|
+
export declare var ListSyslogConfigurationsRequest$: StaticStructureSchema;
|
|
208
|
+
export declare var ListSyslogConfigurationsResponse$: StaticStructureSchema;
|
|
206
209
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
207
210
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
208
211
|
export declare var ListTagsLogGroupRequest$: StaticStructureSchema;
|
|
@@ -277,6 +280,7 @@ export declare var PutResourcePolicyRequest$: StaticStructureSchema;
|
|
|
277
280
|
export declare var PutResourcePolicyResponse$: StaticStructureSchema;
|
|
278
281
|
export declare var PutRetentionPolicyRequest$: StaticStructureSchema;
|
|
279
282
|
export declare var PutSubscriptionFilterRequest$: StaticStructureSchema;
|
|
283
|
+
export declare var PutSyslogConfigurationRequest$: StaticStructureSchema;
|
|
280
284
|
export declare var PutTransformerRequest$: StaticStructureSchema;
|
|
281
285
|
export declare var QueryCompileError$: StaticStructureSchema;
|
|
282
286
|
export declare var QueryCompileErrorLocation$: StaticStructureSchema;
|
|
@@ -310,6 +314,7 @@ export declare var SubscriptionFilter$: StaticStructureSchema;
|
|
|
310
314
|
export declare var SubstituteString$: StaticStructureSchema;
|
|
311
315
|
export declare var SubstituteStringEntry$: StaticStructureSchema;
|
|
312
316
|
export declare var SuppressionPeriod$: StaticStructureSchema;
|
|
317
|
+
export declare var SyslogConfiguration$: StaticStructureSchema;
|
|
313
318
|
export declare var TagFilter$: StaticStructureSchema;
|
|
314
319
|
export declare var TagLogGroupRequest$: StaticStructureSchema;
|
|
315
320
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
@@ -368,6 +373,7 @@ export declare var DeleteResourcePolicy$: StaticOperationSchema;
|
|
|
368
373
|
export declare var DeleteRetentionPolicy$: StaticOperationSchema;
|
|
369
374
|
export declare var DeleteScheduledQuery$: StaticOperationSchema;
|
|
370
375
|
export declare var DeleteSubscriptionFilter$: StaticOperationSchema;
|
|
376
|
+
export declare var DeleteSyslogConfiguration$: StaticOperationSchema;
|
|
371
377
|
export declare var DeleteTransformer$: StaticOperationSchema;
|
|
372
378
|
export declare var DescribeAccountPolicies$: StaticOperationSchema;
|
|
373
379
|
export declare var DescribeConfigurationTemplates$: StaticOperationSchema;
|
|
@@ -416,6 +422,7 @@ export declare var ListLogGroups$: StaticOperationSchema;
|
|
|
416
422
|
export declare var ListLogGroupsForQuery$: StaticOperationSchema;
|
|
417
423
|
export declare var ListScheduledQueries$: StaticOperationSchema;
|
|
418
424
|
export declare var ListSourcesForS3TableIntegration$: StaticOperationSchema;
|
|
425
|
+
export declare var ListSyslogConfigurations$: StaticOperationSchema;
|
|
419
426
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
420
427
|
export declare var ListTagsLogGroup$: StaticOperationSchema;
|
|
421
428
|
export declare var PutAccountPolicy$: StaticOperationSchema;
|
|
@@ -435,6 +442,7 @@ export declare var PutQueryDefinition$: StaticOperationSchema;
|
|
|
435
442
|
export declare var PutResourcePolicy$: StaticOperationSchema;
|
|
436
443
|
export declare var PutRetentionPolicy$: StaticOperationSchema;
|
|
437
444
|
export declare var PutSubscriptionFilter$: StaticOperationSchema;
|
|
445
|
+
export declare var PutSyslogConfiguration$: StaticOperationSchema;
|
|
438
446
|
export declare var PutTransformer$: StaticOperationSchema;
|
|
439
447
|
export declare var StartLiveTail$: StaticOperationSchema;
|
|
440
448
|
export declare var StartQuery$: StaticOperationSchema;
|
|
@@ -128,6 +128,10 @@ import {
|
|
|
128
128
|
DeleteSubscriptionFilterCommandInput,
|
|
129
129
|
DeleteSubscriptionFilterCommandOutput,
|
|
130
130
|
} from "./commands/DeleteSubscriptionFilterCommand";
|
|
131
|
+
import {
|
|
132
|
+
DeleteSyslogConfigurationCommandInput,
|
|
133
|
+
DeleteSyslogConfigurationCommandOutput,
|
|
134
|
+
} from "./commands/DeleteSyslogConfigurationCommand";
|
|
131
135
|
import {
|
|
132
136
|
DeleteTransformerCommandInput,
|
|
133
137
|
DeleteTransformerCommandOutput,
|
|
@@ -320,6 +324,10 @@ import {
|
|
|
320
324
|
ListSourcesForS3TableIntegrationCommandInput,
|
|
321
325
|
ListSourcesForS3TableIntegrationCommandOutput,
|
|
322
326
|
} from "./commands/ListSourcesForS3TableIntegrationCommand";
|
|
327
|
+
import {
|
|
328
|
+
ListSyslogConfigurationsCommandInput,
|
|
329
|
+
ListSyslogConfigurationsCommandOutput,
|
|
330
|
+
} from "./commands/ListSyslogConfigurationsCommand";
|
|
323
331
|
import {
|
|
324
332
|
ListTagsForResourceCommandInput,
|
|
325
333
|
ListTagsForResourceCommandOutput,
|
|
@@ -396,6 +404,10 @@ import {
|
|
|
396
404
|
PutSubscriptionFilterCommandInput,
|
|
397
405
|
PutSubscriptionFilterCommandOutput,
|
|
398
406
|
} from "./commands/PutSubscriptionFilterCommand";
|
|
407
|
+
import {
|
|
408
|
+
PutSyslogConfigurationCommandInput,
|
|
409
|
+
PutSyslogConfigurationCommandOutput,
|
|
410
|
+
} from "./commands/PutSyslogConfigurationCommand";
|
|
399
411
|
import {
|
|
400
412
|
PutTransformerCommandInput,
|
|
401
413
|
PutTransformerCommandOutput,
|
|
@@ -867,6 +879,19 @@ export interface CloudWatchLogs {
|
|
|
867
879
|
options: __HttpHandlerOptions,
|
|
868
880
|
cb: (err: any, data?: DeleteSubscriptionFilterCommandOutput) => void
|
|
869
881
|
): void;
|
|
882
|
+
deleteSyslogConfiguration(
|
|
883
|
+
args: DeleteSyslogConfigurationCommandInput,
|
|
884
|
+
options?: __HttpHandlerOptions
|
|
885
|
+
): Promise<DeleteSyslogConfigurationCommandOutput>;
|
|
886
|
+
deleteSyslogConfiguration(
|
|
887
|
+
args: DeleteSyslogConfigurationCommandInput,
|
|
888
|
+
cb: (err: any, data?: DeleteSyslogConfigurationCommandOutput) => void
|
|
889
|
+
): void;
|
|
890
|
+
deleteSyslogConfiguration(
|
|
891
|
+
args: DeleteSyslogConfigurationCommandInput,
|
|
892
|
+
options: __HttpHandlerOptions,
|
|
893
|
+
cb: (err: any, data?: DeleteSyslogConfigurationCommandOutput) => void
|
|
894
|
+
): void;
|
|
870
895
|
deleteTransformer(
|
|
871
896
|
args: DeleteTransformerCommandInput,
|
|
872
897
|
options?: __HttpHandlerOptions
|
|
@@ -1519,6 +1544,20 @@ export interface CloudWatchLogs {
|
|
|
1519
1544
|
options: __HttpHandlerOptions,
|
|
1520
1545
|
cb: (err: any, data?: ListSourcesForS3TableIntegrationCommandOutput) => void
|
|
1521
1546
|
): void;
|
|
1547
|
+
listSyslogConfigurations(): Promise<ListSyslogConfigurationsCommandOutput>;
|
|
1548
|
+
listSyslogConfigurations(
|
|
1549
|
+
args: ListSyslogConfigurationsCommandInput,
|
|
1550
|
+
options?: __HttpHandlerOptions
|
|
1551
|
+
): Promise<ListSyslogConfigurationsCommandOutput>;
|
|
1552
|
+
listSyslogConfigurations(
|
|
1553
|
+
args: ListSyslogConfigurationsCommandInput,
|
|
1554
|
+
cb: (err: any, data?: ListSyslogConfigurationsCommandOutput) => void
|
|
1555
|
+
): void;
|
|
1556
|
+
listSyslogConfigurations(
|
|
1557
|
+
args: ListSyslogConfigurationsCommandInput,
|
|
1558
|
+
options: __HttpHandlerOptions,
|
|
1559
|
+
cb: (err: any, data?: ListSyslogConfigurationsCommandOutput) => void
|
|
1560
|
+
): void;
|
|
1522
1561
|
listTagsForResource(
|
|
1523
1562
|
args: ListTagsForResourceCommandInput,
|
|
1524
1563
|
options?: __HttpHandlerOptions
|
|
@@ -1767,6 +1806,19 @@ export interface CloudWatchLogs {
|
|
|
1767
1806
|
options: __HttpHandlerOptions,
|
|
1768
1807
|
cb: (err: any, data?: PutSubscriptionFilterCommandOutput) => void
|
|
1769
1808
|
): void;
|
|
1809
|
+
putSyslogConfiguration(
|
|
1810
|
+
args: PutSyslogConfigurationCommandInput,
|
|
1811
|
+
options?: __HttpHandlerOptions
|
|
1812
|
+
): Promise<PutSyslogConfigurationCommandOutput>;
|
|
1813
|
+
putSyslogConfiguration(
|
|
1814
|
+
args: PutSyslogConfigurationCommandInput,
|
|
1815
|
+
cb: (err: any, data?: PutSyslogConfigurationCommandOutput) => void
|
|
1816
|
+
): void;
|
|
1817
|
+
putSyslogConfiguration(
|
|
1818
|
+
args: PutSyslogConfigurationCommandInput,
|
|
1819
|
+
options: __HttpHandlerOptions,
|
|
1820
|
+
cb: (err: any, data?: PutSyslogConfigurationCommandOutput) => void
|
|
1821
|
+
): void;
|
|
1770
1822
|
putTransformer(
|
|
1771
1823
|
args: PutTransformerCommandInput,
|
|
1772
1824
|
options?: __HttpHandlerOptions
|
|
@@ -165,6 +165,10 @@ import {
|
|
|
165
165
|
DeleteSubscriptionFilterCommandInput,
|
|
166
166
|
DeleteSubscriptionFilterCommandOutput,
|
|
167
167
|
} from "./commands/DeleteSubscriptionFilterCommand";
|
|
168
|
+
import {
|
|
169
|
+
DeleteSyslogConfigurationCommandInput,
|
|
170
|
+
DeleteSyslogConfigurationCommandOutput,
|
|
171
|
+
} from "./commands/DeleteSyslogConfigurationCommand";
|
|
168
172
|
import {
|
|
169
173
|
DeleteTransformerCommandInput,
|
|
170
174
|
DeleteTransformerCommandOutput,
|
|
@@ -357,6 +361,10 @@ import {
|
|
|
357
361
|
ListSourcesForS3TableIntegrationCommandInput,
|
|
358
362
|
ListSourcesForS3TableIntegrationCommandOutput,
|
|
359
363
|
} from "./commands/ListSourcesForS3TableIntegrationCommand";
|
|
364
|
+
import {
|
|
365
|
+
ListSyslogConfigurationsCommandInput,
|
|
366
|
+
ListSyslogConfigurationsCommandOutput,
|
|
367
|
+
} from "./commands/ListSyslogConfigurationsCommand";
|
|
360
368
|
import {
|
|
361
369
|
ListTagsForResourceCommandInput,
|
|
362
370
|
ListTagsForResourceCommandOutput,
|
|
@@ -433,6 +441,10 @@ import {
|
|
|
433
441
|
PutSubscriptionFilterCommandInput,
|
|
434
442
|
PutSubscriptionFilterCommandOutput,
|
|
435
443
|
} from "./commands/PutSubscriptionFilterCommand";
|
|
444
|
+
import {
|
|
445
|
+
PutSyslogConfigurationCommandInput,
|
|
446
|
+
PutSyslogConfigurationCommandOutput,
|
|
447
|
+
} from "./commands/PutSyslogConfigurationCommand";
|
|
436
448
|
import {
|
|
437
449
|
PutTransformerCommandInput,
|
|
438
450
|
PutTransformerCommandOutput,
|
|
@@ -532,6 +544,7 @@ export type ServiceInputTypes =
|
|
|
532
544
|
| DeleteRetentionPolicyCommandInput
|
|
533
545
|
| DeleteScheduledQueryCommandInput
|
|
534
546
|
| DeleteSubscriptionFilterCommandInput
|
|
547
|
+
| DeleteSyslogConfigurationCommandInput
|
|
535
548
|
| DeleteTransformerCommandInput
|
|
536
549
|
| DescribeAccountPoliciesCommandInput
|
|
537
550
|
| DescribeConfigurationTemplatesCommandInput
|
|
@@ -580,6 +593,7 @@ export type ServiceInputTypes =
|
|
|
580
593
|
| ListLogGroupsForQueryCommandInput
|
|
581
594
|
| ListScheduledQueriesCommandInput
|
|
582
595
|
| ListSourcesForS3TableIntegrationCommandInput
|
|
596
|
+
| ListSyslogConfigurationsCommandInput
|
|
583
597
|
| ListTagsForResourceCommandInput
|
|
584
598
|
| ListTagsLogGroupCommandInput
|
|
585
599
|
| PutAccountPolicyCommandInput
|
|
@@ -599,6 +613,7 @@ export type ServiceInputTypes =
|
|
|
599
613
|
| PutResourcePolicyCommandInput
|
|
600
614
|
| PutRetentionPolicyCommandInput
|
|
601
615
|
| PutSubscriptionFilterCommandInput
|
|
616
|
+
| PutSyslogConfigurationCommandInput
|
|
602
617
|
| PutTransformerCommandInput
|
|
603
618
|
| StartLiveTailCommandInput
|
|
604
619
|
| StartQueryCommandInput
|
|
@@ -646,6 +661,7 @@ export type ServiceOutputTypes =
|
|
|
646
661
|
| DeleteRetentionPolicyCommandOutput
|
|
647
662
|
| DeleteScheduledQueryCommandOutput
|
|
648
663
|
| DeleteSubscriptionFilterCommandOutput
|
|
664
|
+
| DeleteSyslogConfigurationCommandOutput
|
|
649
665
|
| DeleteTransformerCommandOutput
|
|
650
666
|
| DescribeAccountPoliciesCommandOutput
|
|
651
667
|
| DescribeConfigurationTemplatesCommandOutput
|
|
@@ -694,6 +710,7 @@ export type ServiceOutputTypes =
|
|
|
694
710
|
| ListLogGroupsForQueryCommandOutput
|
|
695
711
|
| ListScheduledQueriesCommandOutput
|
|
696
712
|
| ListSourcesForS3TableIntegrationCommandOutput
|
|
713
|
+
| ListSyslogConfigurationsCommandOutput
|
|
697
714
|
| ListTagsForResourceCommandOutput
|
|
698
715
|
| ListTagsLogGroupCommandOutput
|
|
699
716
|
| PutAccountPolicyCommandOutput
|
|
@@ -713,6 +730,7 @@ export type ServiceOutputTypes =
|
|
|
713
730
|
| PutResourcePolicyCommandOutput
|
|
714
731
|
| PutRetentionPolicyCommandOutput
|
|
715
732
|
| PutSubscriptionFilterCommandOutput
|
|
733
|
+
| PutSyslogConfigurationCommandOutput
|
|
716
734
|
| PutTransformerCommandOutput
|
|
717
735
|
| StartLiveTailCommandOutput
|
|
718
736
|
| StartQueryCommandOutput
|