cdk-lambda-subminute 2.0.293 → 2.0.295

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 (41) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +22 -1
  4. package/node_modules/aws-sdk/README.md +1 -1
  5. package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +48 -47
  6. package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +11 -8
  7. package/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json +55 -0
  8. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +4 -0
  9. package/node_modules/aws-sdk/apis/controltower-2018-05-10.min.json +104 -9
  10. package/node_modules/aws-sdk/apis/cur-2017-01-06.min.json +86 -1
  11. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1070 -950
  12. package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +242 -39
  13. package/node_modules/aws-sdk/apis/entitlement.marketplace-2017-01-11.paginators.json +5 -0
  14. package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +372 -26
  15. package/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json +18 -0
  16. package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +177 -164
  17. package/node_modules/aws-sdk/apis/omics-2022-11-28.min.json +1 -3
  18. package/node_modules/aws-sdk/apis/sqs-2012-11-05.min.json +13 -13
  19. package/node_modules/aws-sdk/clients/cloudformation.d.ts +15 -10
  20. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +50 -22
  21. package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +422 -2
  22. package/node_modules/aws-sdk/clients/comprehend.d.ts +73 -19
  23. package/node_modules/aws-sdk/clients/connect.d.ts +5 -1
  24. package/node_modules/aws-sdk/clients/controltower.d.ts +94 -22
  25. package/node_modules/aws-sdk/clients/cur.d.ts +104 -10
  26. package/node_modules/aws-sdk/clients/ec2.d.ts +136 -7
  27. package/node_modules/aws-sdk/clients/eks.d.ts +221 -9
  28. package/node_modules/aws-sdk/clients/fms.d.ts +6 -6
  29. package/node_modules/aws-sdk/clients/lambda.d.ts +1 -1
  30. package/node_modules/aws-sdk/clients/marketplaceentitlementservice.d.ts +2 -1
  31. package/node_modules/aws-sdk/clients/mediaconvert.d.ts +26 -12
  32. package/node_modules/aws-sdk/clients/omics.d.ts +5 -4
  33. package/node_modules/aws-sdk/clients/rds.d.ts +11 -11
  34. package/node_modules/aws-sdk/clients/sqs.d.ts +1 -2
  35. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  36. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +15 -15
  37. package/node_modules/aws-sdk/dist/aws-sdk.js +1680 -1048
  38. package/node_modules/aws-sdk/dist/aws-sdk.min.js +91 -91
  39. package/node_modules/aws-sdk/lib/core.js +1 -1
  40. package/node_modules/aws-sdk/package.json +1 -1
  41. package/package.json +3 -4
@@ -27,6 +27,14 @@ declare class CloudWatchLogs extends Service {
27
27
  * Cancels the specified export task. The task must be in the PENDING or RUNNING state.
28
28
  */
29
29
  cancelExportTask(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
30
+ /**
31
+ * Creates a delivery. A delivery is a connection between a logical delivery source and a logical delivery destination that you have already created. Only some Amazon Web Services services support being configured as a delivery source using this operation. These services are listed as Supported [V2 Permissions] in the table at Enabling logging from Amazon Web Services services. A delivery destination can represent a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Kinesis Data Firehose. To configure logs delivery between a supported Amazon Web Services service and a destination, you must do the following: Create a delivery source, which is a logical object that represents the resource that is actually sending the logs. For more information, see PutDeliverySource. Create a delivery destination, which is a logical object that represents the actual delivery destination. For more information, see PutDeliveryDestination. If you are delivering logs cross-account, you must use PutDeliveryDestinationPolicy in the destination account to assign an IAM policy to the destination. This policy allows delivery to that destination. Use CreateDelivery to create a delivery by pairing exactly one delivery source and one delivery destination. You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination. You can't update an existing delivery. You can only create and delete deliveries.
32
+ */
33
+ createDelivery(params: CloudWatchLogs.Types.CreateDeliveryRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.CreateDeliveryResponse) => void): Request<CloudWatchLogs.Types.CreateDeliveryResponse, AWSError>;
34
+ /**
35
+ * Creates a delivery. A delivery is a connection between a logical delivery source and a logical delivery destination that you have already created. Only some Amazon Web Services services support being configured as a delivery source using this operation. These services are listed as Supported [V2 Permissions] in the table at Enabling logging from Amazon Web Services services. A delivery destination can represent a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Kinesis Data Firehose. To configure logs delivery between a supported Amazon Web Services service and a destination, you must do the following: Create a delivery source, which is a logical object that represents the resource that is actually sending the logs. For more information, see PutDeliverySource. Create a delivery destination, which is a logical object that represents the actual delivery destination. For more information, see PutDeliveryDestination. If you are delivering logs cross-account, you must use PutDeliveryDestinationPolicy in the destination account to assign an IAM policy to the destination. This policy allows delivery to that destination. Use CreateDelivery to create a delivery by pairing exactly one delivery source and one delivery destination. You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination. You can't update an existing delivery. You can only create and delete deliveries.
36
+ */
37
+ createDelivery(callback?: (err: AWSError, data: CloudWatchLogs.Types.CreateDeliveryResponse) => void): Request<CloudWatchLogs.Types.CreateDeliveryResponse, AWSError>;
30
38
  /**
31
39
  * Creates an export task so that you can efficiently export data from a log group to an Amazon S3 bucket. When you perform a CreateExportTask operation, you must use credentials that have permission to write to the S3 bucket that you specify as the destination. Exporting log data to S3 buckets that are encrypted by KMS is supported. Exporting log data to Amazon S3 buckets that have S3 Object Lock enabled with a retention period is also supported. Exporting to S3 buckets that are encrypted with AES-256 is supported. This is an asynchronous call. If all the required information is provided, this operation initiates an export task and responds with the ID of the task. After the task has started, you can use DescribeExportTasks to get the status of the export task. Each account can only have one active (RUNNING or PENDING) export task at a time. To cancel an export task, use CancelExportTask. You can export logs from multiple log groups or multiple time ranges to the same S3 bucket. To separate log data for each export task, specify a prefix to be used as the Amazon S3 key prefix for all exported objects. Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can sort the exported log field data by using Linux utilities.
32
40
  */
@@ -67,6 +75,38 @@ declare class CloudWatchLogs extends Service {
67
75
  * Deletes the data protection policy from the specified log group. For more information about data protection policies, see PutDataProtectionPolicy.
68
76
  */
69
77
  deleteDataProtectionPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
78
+ /**
79
+ * Deletes s delivery. A delivery is a connection between a logical delivery source and a logical delivery destination. Deleting a delivery only deletes the connection between the delivery source and delivery destination. It does not delete the delivery destination or the delivery source.
80
+ */
81
+ deleteDelivery(params: CloudWatchLogs.Types.DeleteDeliveryRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
82
+ /**
83
+ * Deletes s delivery. A delivery is a connection between a logical delivery source and a logical delivery destination. Deleting a delivery only deletes the connection between the delivery source and delivery destination. It does not delete the delivery destination or the delivery source.
84
+ */
85
+ deleteDelivery(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
86
+ /**
87
+ * Deletes a delivery destination. A delivery is a connection between a logical delivery source and a logical delivery destination. You can't delete a delivery destination if any current deliveries are associated with it. To find whether any deliveries are associated with this delivery destination, use the DescribeDeliveries operation and check the deliveryDestinationArn field in the results.
88
+ */
89
+ deleteDeliveryDestination(params: CloudWatchLogs.Types.DeleteDeliveryDestinationRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
90
+ /**
91
+ * Deletes a delivery destination. A delivery is a connection between a logical delivery source and a logical delivery destination. You can't delete a delivery destination if any current deliveries are associated with it. To find whether any deliveries are associated with this delivery destination, use the DescribeDeliveries operation and check the deliveryDestinationArn field in the results.
92
+ */
93
+ deleteDeliveryDestination(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
94
+ /**
95
+ * Deletes a delivery destination policy. For more information about these policies, see PutDeliveryDestinationPolicy.
96
+ */
97
+ deleteDeliveryDestinationPolicy(params: CloudWatchLogs.Types.DeleteDeliveryDestinationPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
98
+ /**
99
+ * Deletes a delivery destination policy. For more information about these policies, see PutDeliveryDestinationPolicy.
100
+ */
101
+ deleteDeliveryDestinationPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
102
+ /**
103
+ * Deletes a delivery source. A delivery is a connection between a logical delivery source and a logical delivery destination. You can't delete a delivery source if any current deliveries are associated with it. To find whether any deliveries are associated with this delivery source, use the DescribeDeliveries operation and check the deliverySourceName field in the results.
104
+ */
105
+ deleteDeliverySource(params: CloudWatchLogs.Types.DeleteDeliverySourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
106
+ /**
107
+ * Deletes a delivery source. A delivery is a connection between a logical delivery source and a logical delivery destination. You can't delete a delivery source if any current deliveries are associated with it. To find whether any deliveries are associated with this delivery source, use the DescribeDeliveries operation and check the deliverySourceName field in the results.
108
+ */
109
+ deleteDeliverySource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
70
110
  /**
71
111
  * Deletes the specified destination, and eventually disables all the subscription filters that publish to it. This operation does not delete the physical resource encapsulated by the destination.
72
112
  */
@@ -139,6 +179,30 @@ declare class CloudWatchLogs extends Service {
139
179
  * Returns a list of all CloudWatch Logs account policies in the account.
140
180
  */
141
181
  describeAccountPolicies(callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeAccountPoliciesResponse) => void): Request<CloudWatchLogs.Types.DescribeAccountPoliciesResponse, AWSError>;
182
+ /**
183
+ * Retrieves a list of the deliveries that have been created in the account.
184
+ */
185
+ describeDeliveries(params: CloudWatchLogs.Types.DescribeDeliveriesRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeDeliveriesResponse) => void): Request<CloudWatchLogs.Types.DescribeDeliveriesResponse, AWSError>;
186
+ /**
187
+ * Retrieves a list of the deliveries that have been created in the account.
188
+ */
189
+ describeDeliveries(callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeDeliveriesResponse) => void): Request<CloudWatchLogs.Types.DescribeDeliveriesResponse, AWSError>;
190
+ /**
191
+ * Retrieves a list of the delivery destinations that have been created in the account.
192
+ */
193
+ describeDeliveryDestinations(params: CloudWatchLogs.Types.DescribeDeliveryDestinationsRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeDeliveryDestinationsResponse) => void): Request<CloudWatchLogs.Types.DescribeDeliveryDestinationsResponse, AWSError>;
194
+ /**
195
+ * Retrieves a list of the delivery destinations that have been created in the account.
196
+ */
197
+ describeDeliveryDestinations(callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeDeliveryDestinationsResponse) => void): Request<CloudWatchLogs.Types.DescribeDeliveryDestinationsResponse, AWSError>;
198
+ /**
199
+ * Retrieves a list of the delivery sources that have been created in the account.
200
+ */
201
+ describeDeliverySources(params: CloudWatchLogs.Types.DescribeDeliverySourcesRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeDeliverySourcesResponse) => void): Request<CloudWatchLogs.Types.DescribeDeliverySourcesResponse, AWSError>;
202
+ /**
203
+ * Retrieves a list of the delivery sources that have been created in the account.
204
+ */
205
+ describeDeliverySources(callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeDeliverySourcesResponse) => void): Request<CloudWatchLogs.Types.DescribeDeliverySourcesResponse, AWSError>;
142
206
  /**
143
207
  * Lists all your destinations. The results are ASCII-sorted by destination name.
144
208
  */
@@ -235,6 +299,38 @@ declare class CloudWatchLogs extends Service {
235
299
  * Returns information about a log group data protection policy.
236
300
  */
237
301
  getDataProtectionPolicy(callback?: (err: AWSError, data: CloudWatchLogs.Types.GetDataProtectionPolicyResponse) => void): Request<CloudWatchLogs.Types.GetDataProtectionPolicyResponse, AWSError>;
302
+ /**
303
+ * Returns complete information about one delivery. A delivery is a connection between a logical delivery source and a logical delivery destination You need to specify the delivery id in this operation. You can find the IDs of the deliveries in your account with the DescribeDeliveries operation.
304
+ */
305
+ getDelivery(params: CloudWatchLogs.Types.GetDeliveryRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.GetDeliveryResponse) => void): Request<CloudWatchLogs.Types.GetDeliveryResponse, AWSError>;
306
+ /**
307
+ * Returns complete information about one delivery. A delivery is a connection between a logical delivery source and a logical delivery destination You need to specify the delivery id in this operation. You can find the IDs of the deliveries in your account with the DescribeDeliveries operation.
308
+ */
309
+ getDelivery(callback?: (err: AWSError, data: CloudWatchLogs.Types.GetDeliveryResponse) => void): Request<CloudWatchLogs.Types.GetDeliveryResponse, AWSError>;
310
+ /**
311
+ * Retrieves complete information about one delivery destination.
312
+ */
313
+ getDeliveryDestination(params: CloudWatchLogs.Types.GetDeliveryDestinationRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.GetDeliveryDestinationResponse) => void): Request<CloudWatchLogs.Types.GetDeliveryDestinationResponse, AWSError>;
314
+ /**
315
+ * Retrieves complete information about one delivery destination.
316
+ */
317
+ getDeliveryDestination(callback?: (err: AWSError, data: CloudWatchLogs.Types.GetDeliveryDestinationResponse) => void): Request<CloudWatchLogs.Types.GetDeliveryDestinationResponse, AWSError>;
318
+ /**
319
+ * Retrieves the delivery destination policy assigned to the delivery destination that you specify. For more information about delivery destinations and their policies, see PutDeliveryDestinationPolicy.
320
+ */
321
+ getDeliveryDestinationPolicy(params: CloudWatchLogs.Types.GetDeliveryDestinationPolicyRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.GetDeliveryDestinationPolicyResponse) => void): Request<CloudWatchLogs.Types.GetDeliveryDestinationPolicyResponse, AWSError>;
322
+ /**
323
+ * Retrieves the delivery destination policy assigned to the delivery destination that you specify. For more information about delivery destinations and their policies, see PutDeliveryDestinationPolicy.
324
+ */
325
+ getDeliveryDestinationPolicy(callback?: (err: AWSError, data: CloudWatchLogs.Types.GetDeliveryDestinationPolicyResponse) => void): Request<CloudWatchLogs.Types.GetDeliveryDestinationPolicyResponse, AWSError>;
326
+ /**
327
+ * Retrieves complete information about one delivery source.
328
+ */
329
+ getDeliverySource(params: CloudWatchLogs.Types.GetDeliverySourceRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.GetDeliverySourceResponse) => void): Request<CloudWatchLogs.Types.GetDeliverySourceResponse, AWSError>;
330
+ /**
331
+ * Retrieves complete information about one delivery source.
332
+ */
333
+ getDeliverySource(callback?: (err: AWSError, data: CloudWatchLogs.Types.GetDeliverySourceResponse) => void): Request<CloudWatchLogs.Types.GetDeliverySourceResponse, AWSError>;
238
334
  /**
239
335
  * Lists log events from the specified log stream. You can list all of the log events or filter using a time range. By default, this operation returns as many log events as can fit in a response size of 1MB (up to 10,000 log events). You can get additional log events by specifying one of the tokens in a subsequent call. This operation can return empty results while there are more log events available through the token. If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and view data from the linked source accounts. For more information, see CloudWatch cross-account observability. You can specify the log group to search by using either logGroupIdentifier or logGroupName. You must include one of these two parameters, but you can't include both.
240
336
  */
@@ -260,11 +356,11 @@ declare class CloudWatchLogs extends Service {
260
356
  */
261
357
  getLogRecord(callback?: (err: AWSError, data: CloudWatchLogs.Types.GetLogRecordResponse) => void): Request<CloudWatchLogs.Types.GetLogRecordResponse, AWSError>;
262
358
  /**
263
- * Returns the results from the specified query. Only the fields requested in the query are returned, along with a @ptr field, which is the identifier for the log record. You can use the value of @ptr in a GetLogRecord operation to get the full log record. GetQueryResults does not start running a query. To run a query, use StartQuery. If the value of the Status field in the output is Running, this operation returns only partial results. If you see a value of Scheduled or Running for the status, you can retry the operation later to see the final results. If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account to start queries in linked source accounts. For more information, see CloudWatch cross-account observability.
359
+ * Returns the results from the specified query. Only the fields requested in the query are returned, along with a @ptr field, which is the identifier for the log record. You can use the value of @ptr in a GetLogRecord operation to get the full log record. GetQueryResults does not start running a query. To run a query, use StartQuery. For more information about how long results of previous queries are available, see CloudWatch Logs quotas. If the value of the Status field in the output is Running, this operation returns only partial results. If you see a value of Scheduled or Running for the status, you can retry the operation later to see the final results. If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account to start queries in linked source accounts. For more information, see CloudWatch cross-account observability.
264
360
  */
265
361
  getQueryResults(params: CloudWatchLogs.Types.GetQueryResultsRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.GetQueryResultsResponse) => void): Request<CloudWatchLogs.Types.GetQueryResultsResponse, AWSError>;
266
362
  /**
267
- * Returns the results from the specified query. Only the fields requested in the query are returned, along with a @ptr field, which is the identifier for the log record. You can use the value of @ptr in a GetLogRecord operation to get the full log record. GetQueryResults does not start running a query. To run a query, use StartQuery. If the value of the Status field in the output is Running, this operation returns only partial results. If you see a value of Scheduled or Running for the status, you can retry the operation later to see the final results. If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account to start queries in linked source accounts. For more information, see CloudWatch cross-account observability.
363
+ * Returns the results from the specified query. Only the fields requested in the query are returned, along with a @ptr field, which is the identifier for the log record. You can use the value of @ptr in a GetLogRecord operation to get the full log record. GetQueryResults does not start running a query. To run a query, use StartQuery. For more information about how long results of previous queries are available, see CloudWatch Logs quotas. If the value of the Status field in the output is Running, this operation returns only partial results. If you see a value of Scheduled or Running for the status, you can retry the operation later to see the final results. If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account to start queries in linked source accounts. For more information, see CloudWatch cross-account observability.
268
364
  */
269
365
  getQueryResults(callback?: (err: AWSError, data: CloudWatchLogs.Types.GetQueryResultsResponse) => void): Request<CloudWatchLogs.Types.GetQueryResultsResponse, AWSError>;
270
366
  /**
@@ -299,6 +395,30 @@ declare class CloudWatchLogs extends Service {
299
395
  * Creates a data protection policy for the specified log group. A data protection policy can help safeguard sensitive data that's ingested by the log group by auditing and masking the sensitive log data. Sensitive data is detected and masked when it is ingested into the log group. When you set a data protection policy, log events ingested into the log group before that time are not masked. By default, when a user views a log event that includes masked data, the sensitive data is replaced by asterisks. A user who has the logs:Unmask permission can use a GetLogEvents or FilterLogEvents operation with the unmask parameter set to true to view the unmasked log events. Users with the logs:Unmask can also view unmasked data in the CloudWatch Logs console by running a CloudWatch Logs Insights query with the unmask query command. For more information, including a list of types of data that can be audited and masked, see Protect sensitive log data with masking. The PutDataProtectionPolicy operation applies to only the specified log group. You can also use PutAccountPolicy to create an account-level data protection policy that applies to all log groups in the account, including both existing log groups and log groups that are created level. If a log group has its own data protection policy and the account also has an account-level data protection policy, then the two policies are cumulative. Any sensitive term specified in either policy is masked.
300
396
  */
301
397
  putDataProtectionPolicy(callback?: (err: AWSError, data: CloudWatchLogs.Types.PutDataProtectionPolicyResponse) => void): Request<CloudWatchLogs.Types.PutDataProtectionPolicyResponse, AWSError>;
398
+ /**
399
+ * Creates or updates a logical delivery destination. A delivery destination is an Amazon Web Services resource that represents an Amazon Web Services service that logs can be sent to. CloudWatch Logs, Amazon S3, and Kinesis Data Firehose are supported as logs delivery destinations. To configure logs delivery between a supported Amazon Web Services service and a destination, you must do the following: Create a delivery source, which is a logical object that represents the resource that is actually sending the logs. For more information, see PutDeliverySource. Use PutDeliveryDestination to create a delivery destination, which is a logical object that represents the actual delivery destination. If you are delivering logs cross-account, you must use PutDeliveryDestinationPolicy in the destination account to assign an IAM policy to the destination. This policy allows delivery to that destination. Use CreateDelivery to create a delivery by pairing exactly one delivery source and one delivery destination. For more information, see CreateDelivery. You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination. Only some Amazon Web Services services support being configured as a delivery source. These services are listed as Supported [V2 Permissions] in the table at Enabling logging from Amazon Web Services services. If you use this operation to update an existing delivery destination, all the current delivery destination parameters are overwritten with the new parameter values that you specify.
400
+ */
401
+ putDeliveryDestination(params: CloudWatchLogs.Types.PutDeliveryDestinationRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.PutDeliveryDestinationResponse) => void): Request<CloudWatchLogs.Types.PutDeliveryDestinationResponse, AWSError>;
402
+ /**
403
+ * Creates or updates a logical delivery destination. A delivery destination is an Amazon Web Services resource that represents an Amazon Web Services service that logs can be sent to. CloudWatch Logs, Amazon S3, and Kinesis Data Firehose are supported as logs delivery destinations. To configure logs delivery between a supported Amazon Web Services service and a destination, you must do the following: Create a delivery source, which is a logical object that represents the resource that is actually sending the logs. For more information, see PutDeliverySource. Use PutDeliveryDestination to create a delivery destination, which is a logical object that represents the actual delivery destination. If you are delivering logs cross-account, you must use PutDeliveryDestinationPolicy in the destination account to assign an IAM policy to the destination. This policy allows delivery to that destination. Use CreateDelivery to create a delivery by pairing exactly one delivery source and one delivery destination. For more information, see CreateDelivery. You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination. Only some Amazon Web Services services support being configured as a delivery source. These services are listed as Supported [V2 Permissions] in the table at Enabling logging from Amazon Web Services services. If you use this operation to update an existing delivery destination, all the current delivery destination parameters are overwritten with the new parameter values that you specify.
404
+ */
405
+ putDeliveryDestination(callback?: (err: AWSError, data: CloudWatchLogs.Types.PutDeliveryDestinationResponse) => void): Request<CloudWatchLogs.Types.PutDeliveryDestinationResponse, AWSError>;
406
+ /**
407
+ * Creates and assigns an IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account. To configure the delivery of logs from an Amazon Web Services service in another account to a logs delivery destination in the current account, you must do the following: Create a delivery source, which is a logical object that represents the resource that is actually sending the logs. For more information, see PutDeliverySource. Create a delivery destination, which is a logical object that represents the actual delivery destination. For more information, see PutDeliveryDestination. Use this operation in the destination account to assign an IAM policy to the destination. This policy allows delivery to that destination. Create a delivery by pairing exactly one delivery source and one delivery destination. For more information, see CreateDelivery. Only some Amazon Web Services services support being configured as a delivery source. These services are listed as Supported [V2 Permissions] in the table at Enabling logging from Amazon Web Services services. The contents of the policy must include two statements. One statement enables general logs delivery, and the other allows delivery to the chosen destination. See the examples for the needed policies.
408
+ */
409
+ putDeliveryDestinationPolicy(params: CloudWatchLogs.Types.PutDeliveryDestinationPolicyRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.PutDeliveryDestinationPolicyResponse) => void): Request<CloudWatchLogs.Types.PutDeliveryDestinationPolicyResponse, AWSError>;
410
+ /**
411
+ * Creates and assigns an IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account. To configure the delivery of logs from an Amazon Web Services service in another account to a logs delivery destination in the current account, you must do the following: Create a delivery source, which is a logical object that represents the resource that is actually sending the logs. For more information, see PutDeliverySource. Create a delivery destination, which is a logical object that represents the actual delivery destination. For more information, see PutDeliveryDestination. Use this operation in the destination account to assign an IAM policy to the destination. This policy allows delivery to that destination. Create a delivery by pairing exactly one delivery source and one delivery destination. For more information, see CreateDelivery. Only some Amazon Web Services services support being configured as a delivery source. These services are listed as Supported [V2 Permissions] in the table at Enabling logging from Amazon Web Services services. The contents of the policy must include two statements. One statement enables general logs delivery, and the other allows delivery to the chosen destination. See the examples for the needed policies.
412
+ */
413
+ putDeliveryDestinationPolicy(callback?: (err: AWSError, data: CloudWatchLogs.Types.PutDeliveryDestinationPolicyResponse) => void): Request<CloudWatchLogs.Types.PutDeliveryDestinationPolicyResponse, AWSError>;
414
+ /**
415
+ * Creates or updates a logical delivery source. A delivery source represents an Amazon Web Services resource that sends logs to an logs delivery destination. The destination can be CloudWatch Logs, Amazon S3, or Kinesis Data Firehose. To configure logs delivery between a delivery destination and an Amazon Web Services service that is supported as a delivery source, you must do the following: Use PutDeliverySource to create a delivery source, which is a logical object that represents the resource that is actually sending the logs. Use PutDeliveryDestination to create a delivery destination, which is a logical object that represents the actual delivery destination. For more information, see PutDeliveryDestination. If you are delivering logs cross-account, you must use PutDeliveryDestinationPolicy in the destination account to assign an IAM policy to the destination. This policy allows delivery to that destination. Use CreateDelivery to create a delivery by pairing exactly one delivery source and one delivery destination. For more information, see CreateDelivery. You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination. Only some Amazon Web Services services support being configured as a delivery source. These services are listed as Supported [V2 Permissions] in the table at Enabling logging from Amazon Web Services services. If you use this operation to update an existing delivery source, all the current delivery source parameters are overwritten with the new parameter values that you specify.
416
+ */
417
+ putDeliverySource(params: CloudWatchLogs.Types.PutDeliverySourceRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.PutDeliverySourceResponse) => void): Request<CloudWatchLogs.Types.PutDeliverySourceResponse, AWSError>;
418
+ /**
419
+ * Creates or updates a logical delivery source. A delivery source represents an Amazon Web Services resource that sends logs to an logs delivery destination. The destination can be CloudWatch Logs, Amazon S3, or Kinesis Data Firehose. To configure logs delivery between a delivery destination and an Amazon Web Services service that is supported as a delivery source, you must do the following: Use PutDeliverySource to create a delivery source, which is a logical object that represents the resource that is actually sending the logs. Use PutDeliveryDestination to create a delivery destination, which is a logical object that represents the actual delivery destination. For more information, see PutDeliveryDestination. If you are delivering logs cross-account, you must use PutDeliveryDestinationPolicy in the destination account to assign an IAM policy to the destination. This policy allows delivery to that destination. Use CreateDelivery to create a delivery by pairing exactly one delivery source and one delivery destination. For more information, see CreateDelivery. You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination. Only some Amazon Web Services services support being configured as a delivery source. These services are listed as Supported [V2 Permissions] in the table at Enabling logging from Amazon Web Services services. If you use this operation to update an existing delivery source, all the current delivery source parameters are overwritten with the new parameter values that you specify.
420
+ */
421
+ putDeliverySource(callback?: (err: AWSError, data: CloudWatchLogs.Types.PutDeliverySourceResponse) => void): Request<CloudWatchLogs.Types.PutDeliverySourceResponse, AWSError>;
302
422
  /**
303
423
  * Creates or updates a destination. This operation is used only to create destinations for cross-account subscriptions. A destination encapsulates a physical resource (such as an Amazon Kinesis stream). With a destination, you can subscribe to a real-time stream of log events for a different account, ingested using PutLogEvents. Through an access policy, a destination controls what is written to it. By default, PutDestination does not set any access policy with the destination, which means a cross-account user cannot call PutSubscriptionFilter against this destination. To enable this, the destination owner must call PutDestinationPolicy after PutDestination. To perform a PutDestination operation, you must also have the iam:PassRole permission.
304
424
  */
@@ -475,6 +595,26 @@ declare namespace CloudWatchLogs {
475
595
  taskId: ExportTaskId;
476
596
  }
477
597
  export type ClientToken = string;
598
+ export interface CreateDeliveryRequest {
599
+ /**
600
+ * The name of the delivery source to use for this delivery.
601
+ */
602
+ deliverySourceName: DeliverySourceName;
603
+ /**
604
+ * The ARN of the delivery destination to use for this delivery.
605
+ */
606
+ deliveryDestinationArn: Arn;
607
+ /**
608
+ * An optional list of key-value pairs to associate with the resource. For more information about tagging, see Tagging Amazon Web Services resources
609
+ */
610
+ tags?: Tags;
611
+ }
612
+ export interface CreateDeliveryResponse {
613
+ /**
614
+ * A structure that contains information about the delivery that you just created.
615
+ */
616
+ delivery?: Delivery;
617
+ }
478
618
  export interface CreateExportTaskRequest {
479
619
  /**
480
620
  * The name of the export task.
@@ -555,6 +695,30 @@ declare namespace CloudWatchLogs {
555
695
  */
556
696
  logGroupIdentifier: LogGroupIdentifier;
557
697
  }
698
+ export interface DeleteDeliveryDestinationPolicyRequest {
699
+ /**
700
+ * The name of the delivery destination that you want to delete the policy for.
701
+ */
702
+ deliveryDestinationName: DeliveryDestinationName;
703
+ }
704
+ export interface DeleteDeliveryDestinationRequest {
705
+ /**
706
+ * The name of the delivery destination that you want to delete. You can find a list of delivery destionation names by using the DescribeDeliveryDestinations operation.
707
+ */
708
+ name: DeliveryDestinationName;
709
+ }
710
+ export interface DeleteDeliveryRequest {
711
+ /**
712
+ * The unique ID of the delivery to delete. You can find the ID of a delivery with the DescribeDeliveries operation.
713
+ */
714
+ id: DeliveryId;
715
+ }
716
+ export interface DeleteDeliverySourceRequest {
717
+ /**
718
+ * The name of the delivery source that you want to delete.
719
+ */
720
+ name: DeliverySourceName;
721
+ }
558
722
  export interface DeleteDestinationRequest {
559
723
  /**
560
724
  * The name of the destination.
@@ -621,6 +785,98 @@ declare namespace CloudWatchLogs {
621
785
  */
622
786
  filterName: FilterName;
623
787
  }
788
+ export type Deliveries = Delivery[];
789
+ export interface Delivery {
790
+ /**
791
+ * The unique ID that identifies this delivery in your account.
792
+ */
793
+ id?: DeliveryId;
794
+ /**
795
+ * The Amazon Resource Name (ARN) that uniquely identifies this delivery.
796
+ */
797
+ arn?: Arn;
798
+ /**
799
+ * The name of the delivery source that is associated with this delivery.
800
+ */
801
+ deliverySourceName?: DeliverySourceName;
802
+ /**
803
+ * The ARN of the delivery destination that is associated with this delivery.
804
+ */
805
+ deliveryDestinationArn?: Arn;
806
+ /**
807
+ * Displays whether the delivery destination associated with this delivery is CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.
808
+ */
809
+ deliveryDestinationType?: DeliveryDestinationType;
810
+ /**
811
+ * The tags that have been assigned to this delivery.
812
+ */
813
+ tags?: Tags;
814
+ }
815
+ export interface DeliveryDestination {
816
+ /**
817
+ * The name of this delivery destination.
818
+ */
819
+ name?: DeliveryDestinationName;
820
+ /**
821
+ * The Amazon Resource Name (ARN) that uniquely identifies this delivery destination.
822
+ */
823
+ arn?: Arn;
824
+ /**
825
+ * Displays whether this delivery destination is CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.
826
+ */
827
+ deliveryDestinationType?: DeliveryDestinationType;
828
+ /**
829
+ * The format of the logs that are sent to this delivery destination.
830
+ */
831
+ outputFormat?: OutputFormat;
832
+ /**
833
+ * A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.
834
+ */
835
+ deliveryDestinationConfiguration?: DeliveryDestinationConfiguration;
836
+ /**
837
+ * The tags that have been assigned to this delivery destination.
838
+ */
839
+ tags?: Tags;
840
+ }
841
+ export interface DeliveryDestinationConfiguration {
842
+ /**
843
+ * The ARN of the Amazon Web Services destination that this delivery destination represents. That Amazon Web Services destination can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Kinesis Data Firehose.
844
+ */
845
+ destinationResourceArn: Arn;
846
+ }
847
+ export type DeliveryDestinationName = string;
848
+ export type DeliveryDestinationPolicy = string;
849
+ export type DeliveryDestinationType = "S3"|"CWL"|"FH"|string;
850
+ export type DeliveryDestinations = DeliveryDestination[];
851
+ export type DeliveryId = string;
852
+ export interface DeliverySource {
853
+ /**
854
+ * The unique name of the delivery source.
855
+ */
856
+ name?: DeliverySourceName;
857
+ /**
858
+ * The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
859
+ */
860
+ arn?: Arn;
861
+ /**
862
+ * This array contains the ARN of the Amazon Web Services resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.
863
+ */
864
+ resourceArns?: ResourceArns;
865
+ /**
866
+ * The Amazon Web Services service that is sending logs.
867
+ */
868
+ service?: Service;
869
+ /**
870
+ * The type of log that the source is sending. For valid values for this parameter, see the documentation for the source service.
871
+ */
872
+ logType?: LogType;
873
+ /**
874
+ * The tags that have been assigned to this delivery source.
875
+ */
876
+ tags?: Tags;
877
+ }
878
+ export type DeliverySourceName = string;
879
+ export type DeliverySources = DeliverySource[];
624
880
  export type Descending = boolean;
625
881
  export interface DescribeAccountPoliciesRequest {
626
882
  /**
@@ -642,6 +898,48 @@ declare namespace CloudWatchLogs {
642
898
  */
643
899
  accountPolicies?: AccountPolicies;
644
900
  }
901
+ export interface DescribeDeliveriesRequest {
902
+ nextToken?: NextToken;
903
+ /**
904
+ * Optionally specify the maximum number of deliveries to return in the response.
905
+ */
906
+ limit?: DescribeLimit;
907
+ }
908
+ export interface DescribeDeliveriesResponse {
909
+ /**
910
+ * An array of structures. Each structure contains information about one delivery in the account.
911
+ */
912
+ deliveries?: Deliveries;
913
+ nextToken?: NextToken;
914
+ }
915
+ export interface DescribeDeliveryDestinationsRequest {
916
+ nextToken?: NextToken;
917
+ /**
918
+ * Optionally specify the maximum number of delivery destinations to return in the response.
919
+ */
920
+ limit?: DescribeLimit;
921
+ }
922
+ export interface DescribeDeliveryDestinationsResponse {
923
+ /**
924
+ * An array of structures. Each structure contains information about one delivery destination in the account.
925
+ */
926
+ deliveryDestinations?: DeliveryDestinations;
927
+ nextToken?: NextToken;
928
+ }
929
+ export interface DescribeDeliverySourcesRequest {
930
+ nextToken?: NextToken;
931
+ /**
932
+ * Optionally specify the maximum number of delivery sources to return in the response.
933
+ */
934
+ limit?: DescribeLimit;
935
+ }
936
+ export interface DescribeDeliverySourcesResponse {
937
+ /**
938
+ * An array of structures. Each structure contains information about one delivery source in the account.
939
+ */
940
+ deliverySources?: DeliverySources;
941
+ nextToken?: NextToken;
942
+ }
645
943
  export interface DescribeDestinationsRequest {
646
944
  /**
647
945
  * The prefix to match. If you don't specify a value, no prefix filter is applied.
@@ -1094,6 +1392,54 @@ declare namespace CloudWatchLogs {
1094
1392
  */
1095
1393
  lastUpdatedTime?: Timestamp;
1096
1394
  }
1395
+ export interface GetDeliveryDestinationPolicyRequest {
1396
+ /**
1397
+ * The name of the delivery destination that you want to retrieve the policy of.
1398
+ */
1399
+ deliveryDestinationName: DeliveryDestinationName;
1400
+ }
1401
+ export interface GetDeliveryDestinationPolicyResponse {
1402
+ /**
1403
+ * The IAM policy for this delivery destination.
1404
+ */
1405
+ policy?: Policy;
1406
+ }
1407
+ export interface GetDeliveryDestinationRequest {
1408
+ /**
1409
+ * The name of the delivery destination that you want to retrieve.
1410
+ */
1411
+ name: DeliveryDestinationName;
1412
+ }
1413
+ export interface GetDeliveryDestinationResponse {
1414
+ /**
1415
+ * A structure containing information about the delivery destination.
1416
+ */
1417
+ deliveryDestination?: DeliveryDestination;
1418
+ }
1419
+ export interface GetDeliveryRequest {
1420
+ /**
1421
+ * The ID of the delivery that you want to retrieve.
1422
+ */
1423
+ id: DeliveryId;
1424
+ }
1425
+ export interface GetDeliveryResponse {
1426
+ /**
1427
+ * A structure that contains information about the delivery.
1428
+ */
1429
+ delivery?: Delivery;
1430
+ }
1431
+ export interface GetDeliverySourceRequest {
1432
+ /**
1433
+ * The name of the delivery source that you want to retrieve.
1434
+ */
1435
+ name: DeliverySourceName;
1436
+ }
1437
+ export interface GetDeliverySourceResponse {
1438
+ /**
1439
+ * A structure containing information about the delivery source.
1440
+ */
1441
+ deliverySource?: DeliverySource;
1442
+ }
1097
1443
  export interface GetLogEventsRequest {
1098
1444
  /**
1099
1445
  * The name of the log group. You must include either logGroupIdentifier or logGroupName, but not both.
@@ -1339,6 +1685,7 @@ declare namespace CloudWatchLogs {
1339
1685
  export type LogStreamName = string;
1340
1686
  export type LogStreamSearchedCompletely = boolean;
1341
1687
  export type LogStreams = LogStream[];
1688
+ export type LogType = string;
1342
1689
  export interface MetricFilter {
1343
1690
  /**
1344
1691
  * The name of the metric filter.
@@ -1406,6 +1753,7 @@ declare namespace CloudWatchLogs {
1406
1753
  export type MetricValue = string;
1407
1754
  export type NextToken = string;
1408
1755
  export type OrderBy = "LogStreamName"|"LastEventTime"|string;
1756
+ export type OutputFormat = "json"|"plain"|"w3c"|"raw"|"parquet"|string;
1409
1757
  export interface OutputLogEvent {
1410
1758
  /**
1411
1759
  * The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
@@ -1422,6 +1770,12 @@ declare namespace CloudWatchLogs {
1422
1770
  }
1423
1771
  export type OutputLogEvents = OutputLogEvent[];
1424
1772
  export type Percentage = number;
1773
+ export interface Policy {
1774
+ /**
1775
+ * The contents of the delivery destination policy.
1776
+ */
1777
+ deliveryDestinationPolicy?: DeliveryDestinationPolicy;
1778
+ }
1425
1779
  export type PolicyDocument = string;
1426
1780
  export type PolicyName = string;
1427
1781
  export type PolicyType = "DATA_PROTECTION_POLICY"|string;
@@ -1473,6 +1827,70 @@ declare namespace CloudWatchLogs {
1473
1827
  */
1474
1828
  lastUpdatedTime?: Timestamp;
1475
1829
  }
1830
+ export interface PutDeliveryDestinationPolicyRequest {
1831
+ /**
1832
+ * The name of the delivery destination to assign this policy to.
1833
+ */
1834
+ deliveryDestinationName: DeliveryDestinationName;
1835
+ /**
1836
+ * The contents of the policy.
1837
+ */
1838
+ deliveryDestinationPolicy: DeliveryDestinationPolicy;
1839
+ }
1840
+ export interface PutDeliveryDestinationPolicyResponse {
1841
+ /**
1842
+ * The contents of the policy that you just created.
1843
+ */
1844
+ policy?: Policy;
1845
+ }
1846
+ export interface PutDeliveryDestinationRequest {
1847
+ /**
1848
+ * A name for this delivery destination. This name must be unique for all delivery destinations in your account.
1849
+ */
1850
+ name: DeliveryDestinationName;
1851
+ /**
1852
+ * The format for the logs that this delivery destination will receive.
1853
+ */
1854
+ outputFormat?: OutputFormat;
1855
+ /**
1856
+ * A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.
1857
+ */
1858
+ deliveryDestinationConfiguration: DeliveryDestinationConfiguration;
1859
+ /**
1860
+ * An optional list of key-value pairs to associate with the resource. For more information about tagging, see Tagging Amazon Web Services resources
1861
+ */
1862
+ tags?: Tags;
1863
+ }
1864
+ export interface PutDeliveryDestinationResponse {
1865
+ /**
1866
+ * A structure containing information about the delivery destination that you just created or updated.
1867
+ */
1868
+ deliveryDestination?: DeliveryDestination;
1869
+ }
1870
+ export interface PutDeliverySourceRequest {
1871
+ /**
1872
+ * A name for this delivery source. This name must be unique for all delivery sources in your account.
1873
+ */
1874
+ name: DeliverySourceName;
1875
+ /**
1876
+ * The ARN of the Amazon Web Services resource that is generating and sending logs. For example, arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234
1877
+ */
1878
+ resourceArn: Arn;
1879
+ /**
1880
+ * Defines the type of log that the source is sending. For valid values for this parameter, see the documentation for the source service.
1881
+ */
1882
+ logType: LogType;
1883
+ /**
1884
+ * An optional list of key-value pairs to associate with the resource. For more information about tagging, see Tagging Amazon Web Services resources
1885
+ */
1886
+ tags?: Tags;
1887
+ }
1888
+ export interface PutDeliverySourceResponse {
1889
+ /**
1890
+ * A structure containing information about the delivery source that was just created or updated.
1891
+ */
1892
+ deliverySource?: DeliverySource;
1893
+ }
1476
1894
  export interface PutDestinationPolicyRequest {
1477
1895
  /**
1478
1896
  * A name for an existing destination.
@@ -1715,6 +2133,7 @@ declare namespace CloudWatchLogs {
1715
2133
  */
1716
2134
  expiredLogEventEndIndex?: LogEventIndex;
1717
2135
  }
2136
+ export type ResourceArns = Arn[];
1718
2137
  export type ResourceIdentifier = string;
1719
2138
  export type ResourcePolicies = ResourcePolicy[];
1720
2139
  export interface ResourcePolicy {
@@ -1756,6 +2175,7 @@ declare namespace CloudWatchLogs {
1756
2175
  }
1757
2176
  export type SearchedLogStreams = SearchedLogStream[];
1758
2177
  export type SequenceToken = string;
2178
+ export type Service = string;
1759
2179
  export type StandardUnit = "Seconds"|"Microseconds"|"Milliseconds"|"Bytes"|"Kilobytes"|"Megabytes"|"Gigabytes"|"Terabytes"|"Bits"|"Kilobits"|"Megabits"|"Gigabits"|"Terabits"|"Percent"|"Count"|"Bytes/Second"|"Kilobytes/Second"|"Megabytes/Second"|"Gigabytes/Second"|"Terabytes/Second"|"Bits/Second"|"Kilobits/Second"|"Megabits/Second"|"Gigabits/Second"|"Terabits/Second"|"Count/Second"|"None"|string;
1760
2180
  export type StartFromHead = boolean;
1761
2181
  export interface StartQueryRequest {