aws-sdk 2.737.0 → 2.741.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. package/CHANGELOG.md +22 -1
  2. package/README.md +1 -1
  3. package/apis/apigatewayv2-2018-11-29.min.json +42 -0
  4. package/apis/appflow-2020-08-23.examples.json +5 -0
  5. package/apis/appflow-2020-08-23.min.json +1541 -0
  6. package/apis/appflow-2020-08-23.paginators.json +23 -0
  7. package/apis/dms-2016-01-01.min.json +9 -0
  8. package/apis/ec2-2016-11-15.min.json +717 -468
  9. package/apis/ec2-2016-11-15.paginators.json +6 -0
  10. package/apis/gamelift-2015-10-01.min.json +192 -161
  11. package/apis/gamelift-2015-10-01.paginators.json +120 -0
  12. package/apis/iotsitewise-2019-12-02.min.json +11 -4
  13. package/apis/kafka-2018-11-14.min.json +98 -19
  14. package/apis/mediaconvert-2017-08-29.min.json +91 -79
  15. package/apis/metadata.json +3 -0
  16. package/apis/route53resolver-2018-04-01.min.json +292 -24
  17. package/apis/route53resolver-2018-04-01.paginators.json +26 -4
  18. package/apis/xray-2016-04-12.min.json +144 -55
  19. package/clients/accessanalyzer.d.ts +1 -1
  20. package/clients/acm.d.ts +1 -1
  21. package/clients/acmpca.d.ts +1 -1
  22. package/clients/alexaforbusiness.d.ts +1 -1
  23. package/clients/all.d.ts +1 -0
  24. package/clients/all.js +2 -1
  25. package/clients/amplify.d.ts +1 -1
  26. package/clients/apigateway.d.ts +1 -1
  27. package/clients/apigatewaymanagementapi.d.ts +1 -1
  28. package/clients/apigatewayv2.d.ts +67 -43
  29. package/clients/appconfig.d.ts +1 -1
  30. package/clients/appflow.d.ts +1967 -0
  31. package/clients/appflow.js +18 -0
  32. package/clients/applicationautoscaling.d.ts +1 -1
  33. package/clients/applicationinsights.d.ts +1 -1
  34. package/clients/appmesh.d.ts +1 -1
  35. package/clients/appstream.d.ts +1 -1
  36. package/clients/appsync.d.ts +1 -1
  37. package/clients/athena.d.ts +1 -1
  38. package/clients/augmentedairuntime.d.ts +1 -1
  39. package/clients/autoscaling.d.ts +1 -1
  40. package/clients/autoscalingplans.d.ts +1 -1
  41. package/clients/backup.d.ts +1 -1
  42. package/clients/batch.d.ts +1 -1
  43. package/clients/braket.d.ts +1 -1
  44. package/clients/budgets.d.ts +1 -1
  45. package/clients/chime.d.ts +4 -4
  46. package/clients/cloud9.d.ts +1 -1
  47. package/clients/clouddirectory.d.ts +1 -1
  48. package/clients/cloudformation.d.ts +1 -1
  49. package/clients/cloudfront.d.ts +1 -1
  50. package/clients/cloudhsm.d.ts +1 -1
  51. package/clients/cloudhsmv2.d.ts +1 -1
  52. package/clients/cloudsearch.d.ts +1 -1
  53. package/clients/cloudsearchdomain.d.ts +1 -1
  54. package/clients/cloudtrail.d.ts +1 -1
  55. package/clients/cloudwatch.d.ts +1 -1
  56. package/clients/cloudwatchevents.d.ts +1 -1
  57. package/clients/cloudwatchlogs.d.ts +102 -57
  58. package/clients/codeartifact.d.ts +1 -1
  59. package/clients/codebuild.d.ts +1 -1
  60. package/clients/codecommit.d.ts +1 -1
  61. package/clients/codedeploy.d.ts +1 -1
  62. package/clients/codeguruprofiler.d.ts +1 -1
  63. package/clients/codegurureviewer.d.ts +1 -1
  64. package/clients/codepipeline.d.ts +1 -1
  65. package/clients/codestar.d.ts +1 -1
  66. package/clients/codestarconnections.d.ts +1 -1
  67. package/clients/codestarnotifications.d.ts +1 -1
  68. package/clients/cognitoidentity.d.ts +1 -1
  69. package/clients/cognitoidentityserviceprovider.d.ts +1 -1
  70. package/clients/cognitosync.d.ts +1 -1
  71. package/clients/comprehend.d.ts +1 -1
  72. package/clients/comprehendmedical.d.ts +1 -1
  73. package/clients/computeoptimizer.d.ts +1 -1
  74. package/clients/configservice.d.ts +1 -1
  75. package/clients/connect.d.ts +1 -1
  76. package/clients/connectparticipant.d.ts +1 -1
  77. package/clients/costexplorer.d.ts +1 -1
  78. package/clients/cur.d.ts +1 -1
  79. package/clients/dataexchange.d.ts +1 -1
  80. package/clients/datapipeline.d.ts +1 -1
  81. package/clients/datasync.d.ts +1 -1
  82. package/clients/dax.d.ts +1 -1
  83. package/clients/detective.d.ts +1 -1
  84. package/clients/devicefarm.d.ts +1 -1
  85. package/clients/directconnect.d.ts +1 -1
  86. package/clients/directoryservice.d.ts +1 -1
  87. package/clients/discovery.d.ts +1 -1
  88. package/clients/dlm.d.ts +1 -1
  89. package/clients/dms.d.ts +50 -38
  90. package/clients/docdb.d.ts +1 -1
  91. package/clients/dynamodb.d.ts +1 -1
  92. package/clients/dynamodbstreams.d.ts +1 -1
  93. package/clients/ebs.d.ts +1 -1
  94. package/clients/ec2.d.ts +391 -53
  95. package/clients/ec2instanceconnect.d.ts +1 -1
  96. package/clients/ecr.d.ts +1 -1
  97. package/clients/ecs.d.ts +1 -1
  98. package/clients/efs.d.ts +1 -1
  99. package/clients/eks.d.ts +1 -1
  100. package/clients/elasticache.d.ts +1 -1
  101. package/clients/elasticbeanstalk.d.ts +1 -1
  102. package/clients/elasticinference.d.ts +1 -1
  103. package/clients/elastictranscoder.d.ts +1 -1
  104. package/clients/elb.d.ts +1 -1
  105. package/clients/elbv2.d.ts +1 -1
  106. package/clients/emr.d.ts +1 -1
  107. package/clients/es.d.ts +1 -1
  108. package/clients/eventbridge.d.ts +1 -1
  109. package/clients/firehose.d.ts +1 -1
  110. package/clients/fms.d.ts +1 -1
  111. package/clients/forecastqueryservice.d.ts +1 -1
  112. package/clients/forecastservice.d.ts +1 -1
  113. package/clients/frauddetector.d.ts +1 -1
  114. package/clients/fsx.d.ts +16 -16
  115. package/clients/gamelift.d.ts +245 -205
  116. package/clients/glacier.d.ts +1 -1
  117. package/clients/globalaccelerator.d.ts +1 -1
  118. package/clients/glue.d.ts +1 -1
  119. package/clients/greengrass.d.ts +1 -1
  120. package/clients/groundstation.d.ts +1 -1
  121. package/clients/guardduty.d.ts +1 -1
  122. package/clients/health.d.ts +1 -1
  123. package/clients/honeycode.d.ts +1 -1
  124. package/clients/iam.d.ts +1 -1
  125. package/clients/identitystore.d.ts +1 -1
  126. package/clients/imagebuilder.d.ts +1 -1
  127. package/clients/importexport.d.ts +1 -1
  128. package/clients/inspector.d.ts +1 -1
  129. package/clients/iot.d.ts +1 -1
  130. package/clients/iot1clickdevicesservice.d.ts +1 -1
  131. package/clients/iot1clickprojects.d.ts +1 -1
  132. package/clients/iotanalytics.d.ts +1 -1
  133. package/clients/iotdata.d.ts +1 -1
  134. package/clients/iotevents.d.ts +1 -1
  135. package/clients/ioteventsdata.d.ts +1 -1
  136. package/clients/iotjobsdataplane.d.ts +1 -1
  137. package/clients/iotsecuretunneling.d.ts +1 -1
  138. package/clients/iotsitewise.d.ts +74 -68
  139. package/clients/iotthingsgraph.d.ts +1 -1
  140. package/clients/ivs.d.ts +1 -1
  141. package/clients/kafka.d.ts +101 -1
  142. package/clients/kendra.d.ts +1 -1
  143. package/clients/kinesis.d.ts +1 -1
  144. package/clients/kinesisanalytics.d.ts +1 -1
  145. package/clients/kinesisanalyticsv2.d.ts +1 -1
  146. package/clients/kinesisvideo.d.ts +1 -1
  147. package/clients/kinesisvideoarchivedmedia.d.ts +1 -1
  148. package/clients/kinesisvideomedia.d.ts +1 -1
  149. package/clients/kinesisvideosignalingchannels.d.ts +1 -1
  150. package/clients/kms.d.ts +1 -1
  151. package/clients/lakeformation.d.ts +1 -1
  152. package/clients/lambda.d.ts +1 -1
  153. package/clients/lexmodelbuildingservice.d.ts +1 -1
  154. package/clients/lexruntime.d.ts +1 -1
  155. package/clients/licensemanager.d.ts +1 -1
  156. package/clients/lightsail.d.ts +1 -1
  157. package/clients/machinelearning.d.ts +1 -1
  158. package/clients/macie.d.ts +1 -1
  159. package/clients/macie2.d.ts +1 -1
  160. package/clients/managedblockchain.d.ts +1 -1
  161. package/clients/marketplacecatalog.d.ts +1 -1
  162. package/clients/marketplacecommerceanalytics.d.ts +1 -1
  163. package/clients/marketplaceentitlementservice.d.ts +1 -1
  164. package/clients/marketplacemetering.d.ts +1 -1
  165. package/clients/mediaconnect.d.ts +1 -1
  166. package/clients/mediaconvert.d.ts +22 -6
  167. package/clients/medialive.d.ts +1 -1
  168. package/clients/mediapackage.d.ts +1 -1
  169. package/clients/mediapackagevod.d.ts +1 -1
  170. package/clients/mediastore.d.ts +1 -1
  171. package/clients/mediastoredata.d.ts +1 -1
  172. package/clients/mediatailor.d.ts +1 -1
  173. package/clients/migrationhub.d.ts +1 -1
  174. package/clients/migrationhubconfig.d.ts +1 -1
  175. package/clients/mobile.d.ts +1 -1
  176. package/clients/mobileanalytics.d.ts +1 -1
  177. package/clients/mq.d.ts +1 -1
  178. package/clients/mturk.d.ts +1 -1
  179. package/clients/neptune.d.ts +1 -1
  180. package/clients/networkmanager.d.ts +1 -1
  181. package/clients/opsworks.d.ts +1 -1
  182. package/clients/opsworkscm.d.ts +1 -1
  183. package/clients/organizations.d.ts +1 -1
  184. package/clients/outposts.d.ts +1 -1
  185. package/clients/personalize.d.ts +1 -1
  186. package/clients/personalizeevents.d.ts +1 -1
  187. package/clients/personalizeruntime.d.ts +1 -1
  188. package/clients/pi.d.ts +1 -1
  189. package/clients/pinpoint.d.ts +1 -1
  190. package/clients/pinpointemail.d.ts +1 -1
  191. package/clients/pinpointsmsvoice.d.ts +1 -1
  192. package/clients/polly.d.ts +1 -1
  193. package/clients/pricing.d.ts +1 -1
  194. package/clients/qldb.d.ts +1 -1
  195. package/clients/qldbsession.d.ts +1 -1
  196. package/clients/quicksight.d.ts +1 -1
  197. package/clients/ram.d.ts +1 -1
  198. package/clients/rds.d.ts +1 -1
  199. package/clients/rdsdataservice.d.ts +1 -1
  200. package/clients/redshift.d.ts +7 -7
  201. package/clients/rekognition.d.ts +1 -1
  202. package/clients/resourcegroups.d.ts +1 -1
  203. package/clients/resourcegroupstaggingapi.d.ts +1 -1
  204. package/clients/robomaker.d.ts +1 -1
  205. package/clients/route53.d.ts +1 -1
  206. package/clients/route53domains.d.ts +1 -1
  207. package/clients/route53resolver.d.ts +491 -119
  208. package/clients/s3.d.ts +1 -1
  209. package/clients/s3control.d.ts +1 -1
  210. package/clients/sagemaker.d.ts +1 -1
  211. package/clients/sagemakerruntime.d.ts +1 -1
  212. package/clients/savingsplans.d.ts +1 -1
  213. package/clients/schemas.d.ts +1 -1
  214. package/clients/secretsmanager.d.ts +1 -1
  215. package/clients/securityhub.d.ts +1 -1
  216. package/clients/serverlessapplicationrepository.d.ts +1 -1
  217. package/clients/servicecatalog.d.ts +1 -1
  218. package/clients/servicediscovery.d.ts +1 -1
  219. package/clients/servicequotas.d.ts +1 -1
  220. package/clients/ses.d.ts +1 -1
  221. package/clients/sesv2.d.ts +1 -1
  222. package/clients/shield.d.ts +1 -1
  223. package/clients/signer.d.ts +1 -1
  224. package/clients/simpledb.d.ts +1 -1
  225. package/clients/sms.d.ts +1 -1
  226. package/clients/snowball.d.ts +1 -1
  227. package/clients/sns.d.ts +1 -1
  228. package/clients/sqs.d.ts +1 -1
  229. package/clients/ssm.d.ts +12 -12
  230. package/clients/sso.d.ts +1 -1
  231. package/clients/ssooidc.d.ts +1 -1
  232. package/clients/stepfunctions.d.ts +1 -1
  233. package/clients/storagegateway.d.ts +1 -1
  234. package/clients/sts.d.ts +1 -1
  235. package/clients/support.d.ts +1 -1
  236. package/clients/swf.d.ts +1 -1
  237. package/clients/synthetics.d.ts +1 -1
  238. package/clients/textract.d.ts +1 -1
  239. package/clients/transcribeservice.d.ts +1 -1
  240. package/clients/transfer.d.ts +1 -1
  241. package/clients/translate.d.ts +1 -1
  242. package/clients/waf.d.ts +1 -1
  243. package/clients/wafregional.d.ts +1 -1
  244. package/clients/wafv2.d.ts +1 -1
  245. package/clients/workdocs.d.ts +1 -1
  246. package/clients/worklink.d.ts +1 -1
  247. package/clients/workmail.d.ts +1 -1
  248. package/clients/workmailmessageflow.d.ts +1 -1
  249. package/clients/workspaces.d.ts +1 -1
  250. package/clients/xray.d.ts +56 -1
  251. package/dist/aws-sdk-core-react-native.js +2 -2
  252. package/dist/aws-sdk-react-native.js +53 -16
  253. package/dist/aws-sdk.js +1191 -689
  254. package/dist/aws-sdk.min.js +58 -58
  255. package/lib/config-base.d.ts +267 -0
  256. package/lib/config.d.ts +1 -266
  257. package/lib/config_service_placeholders.d.ts +2 -0
  258. package/lib/core.d.ts +1 -1
  259. package/lib/core.js +1 -1
  260. package/lib/credentials/cognito_identity_credentials.d.ts +1 -1
  261. package/lib/credentials/process_credentials.d.ts +1 -1
  262. package/lib/credentials/shared_ini_file_credentials.d.ts +1 -1
  263. package/lib/credentials/token_file_web_identity_credentials.d.ts +1 -1
  264. package/lib/credentials/web_identity_credentials.d.ts +1 -1
  265. package/lib/service.d.ts +1 -1
  266. package/package.json +1 -1
  267. package/scripts/lib/ts-generator.js +1 -1
@@ -3,7 +3,7 @@ import {Response} from '../lib/response';
3
3
  import {AWSError} from '../lib/error';
4
4
  import {Service} from '../lib/service';
5
5
  import {ServiceConfigurationOptions} from '../lib/service';
6
- import {ConfigBase as Config} from '../lib/config';
6
+ import {ConfigBase as Config} from '../lib/config-base';
7
7
  interface Blob {}
8
8
  declare class CloudWatchLogs extends Service {
9
9
  /**
@@ -12,11 +12,11 @@ declare class CloudWatchLogs extends Service {
12
12
  constructor(options?: CloudWatchLogs.Types.ClientConfiguration)
13
13
  config: Config & CloudWatchLogs.Types.ClientConfiguration;
14
14
  /**
15
- * Associates the specified AWS Key Management Service (AWS KMS) customer master key (CMK) with the specified log group. Associating an AWS KMS CMK with a log group overrides any existing associations between the log group and a CMK. After a CMK is associated with a log group, all newly ingested data for the log group is encrypted using the CMK. This association is stored as long as the data encrypted with the CMK is still within Amazon CloudWatch Logs. This enables Amazon CloudWatch Logs to decrypt this data whenever it is requested. Important: CloudWatch Logs supports only symmetric CMKs. Do not use an associate an asymmetric CMK with your log group. For more information, see Using Symmetric and Asymmetric Keys. Note that it can take up to 5 minutes for this operation to take effect. If you attempt to associate a CMK with a log group but the CMK does not exist or the CMK is disabled, you will receive an InvalidParameterException error.
15
+ * Associates the specified AWS Key Management Service (AWS KMS) customer master key (CMK) with the specified log group. Associating an AWS KMS CMK with a log group overrides any existing associations between the log group and a CMK. After a CMK is associated with a log group, all newly ingested data for the log group is encrypted using the CMK. This association is stored as long as the data encrypted with the CMK is still within Amazon CloudWatch Logs. This enables Amazon CloudWatch Logs to decrypt this data whenever it is requested. CloudWatch Logs supports only symmetric CMKs. Do not use an associate an asymmetric CMK with your log group. For more information, see Using Symmetric and Asymmetric Keys. It can take up to 5 minutes for this operation to take effect. If you attempt to associate a CMK with a log group but the CMK does not exist or the CMK is disabled, you receive an InvalidParameterException error.
16
16
  */
17
17
  associateKmsKey(params: CloudWatchLogs.Types.AssociateKmsKeyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
18
18
  /**
19
- * Associates the specified AWS Key Management Service (AWS KMS) customer master key (CMK) with the specified log group. Associating an AWS KMS CMK with a log group overrides any existing associations between the log group and a CMK. After a CMK is associated with a log group, all newly ingested data for the log group is encrypted using the CMK. This association is stored as long as the data encrypted with the CMK is still within Amazon CloudWatch Logs. This enables Amazon CloudWatch Logs to decrypt this data whenever it is requested. Important: CloudWatch Logs supports only symmetric CMKs. Do not use an associate an asymmetric CMK with your log group. For more information, see Using Symmetric and Asymmetric Keys. Note that it can take up to 5 minutes for this operation to take effect. If you attempt to associate a CMK with a log group but the CMK does not exist or the CMK is disabled, you will receive an InvalidParameterException error.
19
+ * Associates the specified AWS Key Management Service (AWS KMS) customer master key (CMK) with the specified log group. Associating an AWS KMS CMK with a log group overrides any existing associations between the log group and a CMK. After a CMK is associated with a log group, all newly ingested data for the log group is encrypted using the CMK. This association is stored as long as the data encrypted with the CMK is still within Amazon CloudWatch Logs. This enables Amazon CloudWatch Logs to decrypt this data whenever it is requested. CloudWatch Logs supports only symmetric CMKs. Do not use an associate an asymmetric CMK with your log group. For more information, see Using Symmetric and Asymmetric Keys. It can take up to 5 minutes for this operation to take effect. If you attempt to associate a CMK with a log group but the CMK does not exist or the CMK is disabled, you receive an InvalidParameterException error.
20
20
  */
21
21
  associateKmsKey(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
22
22
  /**
@@ -28,27 +28,27 @@ declare class CloudWatchLogs extends Service {
28
28
  */
29
29
  cancelExportTask(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
30
30
  /**
31
- * Creates an export task, which allows you to efficiently export data from a log group to an Amazon S3 bucket. 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 out log data for each export task, you can specify a prefix to be used as the Amazon S3 key prefix for all exported objects. Exporting to S3 buckets that are encrypted with AES-256 is supported. Exporting to S3 buckets encrypted with SSE-KMS is not supported.
31
+ * Creates an export task, which allows you to 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. 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 out log data for each export task, you can specify a prefix to be used as the Amazon S3 key prefix for all exported objects. Exporting to S3 buckets that are encrypted with AES-256 is supported. Exporting to S3 buckets encrypted with SSE-KMS is not supported.
32
32
  */
33
33
  createExportTask(params: CloudWatchLogs.Types.CreateExportTaskRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.CreateExportTaskResponse) => void): Request<CloudWatchLogs.Types.CreateExportTaskResponse, AWSError>;
34
34
  /**
35
- * Creates an export task, which allows you to efficiently export data from a log group to an Amazon S3 bucket. 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 out log data for each export task, you can specify a prefix to be used as the Amazon S3 key prefix for all exported objects. Exporting to S3 buckets that are encrypted with AES-256 is supported. Exporting to S3 buckets encrypted with SSE-KMS is not supported.
35
+ * Creates an export task, which allows you to 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. 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 out log data for each export task, you can specify a prefix to be used as the Amazon S3 key prefix for all exported objects. Exporting to S3 buckets that are encrypted with AES-256 is supported. Exporting to S3 buckets encrypted with SSE-KMS is not supported.
36
36
  */
37
37
  createExportTask(callback?: (err: AWSError, data: CloudWatchLogs.Types.CreateExportTaskResponse) => void): Request<CloudWatchLogs.Types.CreateExportTaskResponse, AWSError>;
38
38
  /**
39
- * Creates a log group with the specified name. You can create up to 20,000 log groups per account. You must use the following guidelines when naming a log group: Log group names must be unique within a region for an AWS account. Log group names can be between 1 and 512 characters long. Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and '#' (number sign) If you associate a AWS Key Management Service (AWS KMS) customer master key (CMK) with the log group, ingested data is encrypted using the CMK. This association is stored as long as the data encrypted with the CMK is still within Amazon CloudWatch Logs. This enables Amazon CloudWatch Logs to decrypt this data whenever it is requested. If you attempt to associate a CMK with the log group but the CMK does not exist or the CMK is disabled, you will receive an InvalidParameterException error. Important: CloudWatch Logs supports only symmetric CMKs. Do not associate an asymmetric CMK with your log group. For more information, see Using Symmetric and Asymmetric Keys.
39
+ * Creates a log group with the specified name. You can create up to 20,000 log groups per account. You must use the following guidelines when naming a log group: Log group names must be unique within a region for an AWS account. Log group names can be between 1 and 512 characters long. Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and '#' (number sign) When you create a log group, by default the log events in the log group never expire. To set a retention policy so that events expire and are deleted after a specified time, use PutRetentionPolicy. If you associate a AWS Key Management Service (AWS KMS) customer master key (CMK) with the log group, ingested data is encrypted using the CMK. This association is stored as long as the data encrypted with the CMK is still within Amazon CloudWatch Logs. This enables Amazon CloudWatch Logs to decrypt this data whenever it is requested. If you attempt to associate a CMK with the log group but the CMK does not exist or the CMK is disabled, you receive an InvalidParameterException error. CloudWatch Logs supports only symmetric CMKs. Do not associate an asymmetric CMK with your log group. For more information, see Using Symmetric and Asymmetric Keys.
40
40
  */
41
41
  createLogGroup(params: CloudWatchLogs.Types.CreateLogGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
42
42
  /**
43
- * Creates a log group with the specified name. You can create up to 20,000 log groups per account. You must use the following guidelines when naming a log group: Log group names must be unique within a region for an AWS account. Log group names can be between 1 and 512 characters long. Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and '#' (number sign) If you associate a AWS Key Management Service (AWS KMS) customer master key (CMK) with the log group, ingested data is encrypted using the CMK. This association is stored as long as the data encrypted with the CMK is still within Amazon CloudWatch Logs. This enables Amazon CloudWatch Logs to decrypt this data whenever it is requested. If you attempt to associate a CMK with the log group but the CMK does not exist or the CMK is disabled, you will receive an InvalidParameterException error. Important: CloudWatch Logs supports only symmetric CMKs. Do not associate an asymmetric CMK with your log group. For more information, see Using Symmetric and Asymmetric Keys.
43
+ * Creates a log group with the specified name. You can create up to 20,000 log groups per account. You must use the following guidelines when naming a log group: Log group names must be unique within a region for an AWS account. Log group names can be between 1 and 512 characters long. Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and '#' (number sign) When you create a log group, by default the log events in the log group never expire. To set a retention policy so that events expire and are deleted after a specified time, use PutRetentionPolicy. If you associate a AWS Key Management Service (AWS KMS) customer master key (CMK) with the log group, ingested data is encrypted using the CMK. This association is stored as long as the data encrypted with the CMK is still within Amazon CloudWatch Logs. This enables Amazon CloudWatch Logs to decrypt this data whenever it is requested. If you attempt to associate a CMK with the log group but the CMK does not exist or the CMK is disabled, you receive an InvalidParameterException error. CloudWatch Logs supports only symmetric CMKs. Do not associate an asymmetric CMK with your log group. For more information, see Using Symmetric and Asymmetric Keys.
44
44
  */
45
45
  createLogGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
46
46
  /**
47
- * Creates a log stream for the specified log group. There is no limit on the number of log streams that you can create for a log group. There is a limit of 50 TPS on CreateLogStream operations, after which transactions are throttled. You must use the following guidelines when naming a log stream: Log stream names must be unique within the log group. Log stream names can be between 1 and 512 characters long. The ':' (colon) and '*' (asterisk) characters are not allowed.
47
+ * Creates a log stream for the specified log group. A log stream is a sequence of log events that originate from a single source, such as an application instance or a resource that is being monitored. There is no limit on the number of log streams that you can create for a log group. There is a limit of 50 TPS on CreateLogStream operations, after which transactions are throttled. You must use the following guidelines when naming a log stream: Log stream names must be unique within the log group. Log stream names can be between 1 and 512 characters long. The ':' (colon) and '*' (asterisk) characters are not allowed.
48
48
  */
49
49
  createLogStream(params: CloudWatchLogs.Types.CreateLogStreamRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
50
50
  /**
51
- * Creates a log stream for the specified log group. There is no limit on the number of log streams that you can create for a log group. There is a limit of 50 TPS on CreateLogStream operations, after which transactions are throttled. You must use the following guidelines when naming a log stream: Log stream names must be unique within the log group. Log stream names can be between 1 and 512 characters long. The ':' (colon) and '*' (asterisk) characters are not allowed.
51
+ * Creates a log stream for the specified log group. A log stream is a sequence of log events that originate from a single source, such as an application instance or a resource that is being monitored. There is no limit on the number of log streams that you can create for a log group. There is a limit of 50 TPS on CreateLogStream operations, after which transactions are throttled. You must use the following guidelines when naming a log stream: Log stream names must be unique within the log group. Log stream names can be between 1 and 512 characters long. The ':' (colon) and '*' (asterisk) characters are not allowed.
52
52
  */
53
53
  createLogStream(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
54
54
  /**
@@ -84,11 +84,11 @@ declare class CloudWatchLogs extends Service {
84
84
  */
85
85
  deleteMetricFilter(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
86
86
  /**
87
- *
87
+ * Deletes a saved CloudWatch Logs Insights query definition. A query definition contains details about a saved CloudWatch Logs Insights query. Each DeleteQueryDefinition operation can delete one query definition. You must have the logs:DeleteQueryDefinition permission to be able to perform this operation.
88
88
  */
89
89
  deleteQueryDefinition(params: CloudWatchLogs.Types.DeleteQueryDefinitionRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.DeleteQueryDefinitionResponse) => void): Request<CloudWatchLogs.Types.DeleteQueryDefinitionResponse, AWSError>;
90
90
  /**
91
- *
91
+ * Deletes a saved CloudWatch Logs Insights query definition. A query definition contains details about a saved CloudWatch Logs Insights query. Each DeleteQueryDefinition operation can delete one query definition. You must have the logs:DeleteQueryDefinition permission to be able to perform this operation.
92
92
  */
93
93
  deleteQueryDefinition(callback?: (err: AWSError, data: CloudWatchLogs.Types.DeleteQueryDefinitionResponse) => void): Request<CloudWatchLogs.Types.DeleteQueryDefinitionResponse, AWSError>;
94
94
  /**
@@ -148,27 +148,27 @@ declare class CloudWatchLogs extends Service {
148
148
  */
149
149
  describeLogStreams(callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeLogStreamsResponse) => void): Request<CloudWatchLogs.Types.DescribeLogStreamsResponse, AWSError>;
150
150
  /**
151
- * Lists the specified metric filters. You can list all the metric filters or filter the results by log name, prefix, metric name, or metric namespace. The results are ASCII-sorted by filter name.
151
+ * Lists the specified metric filters. You can list all of the metric filters or filter the results by log name, prefix, metric name, or metric namespace. The results are ASCII-sorted by filter name.
152
152
  */
153
153
  describeMetricFilters(params: CloudWatchLogs.Types.DescribeMetricFiltersRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeMetricFiltersResponse) => void): Request<CloudWatchLogs.Types.DescribeMetricFiltersResponse, AWSError>;
154
154
  /**
155
- * Lists the specified metric filters. You can list all the metric filters or filter the results by log name, prefix, metric name, or metric namespace. The results are ASCII-sorted by filter name.
155
+ * Lists the specified metric filters. You can list all of the metric filters or filter the results by log name, prefix, metric name, or metric namespace. The results are ASCII-sorted by filter name.
156
156
  */
157
157
  describeMetricFilters(callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeMetricFiltersResponse) => void): Request<CloudWatchLogs.Types.DescribeMetricFiltersResponse, AWSError>;
158
158
  /**
159
- * Returns a list of CloudWatch Logs Insights queries that are scheduled, executing, or have been executed recently in this account. You can request all queries, or limit it to queries of a specific log group or queries with a certain status.
159
+ * Returns a list of CloudWatch Logs Insights queries that are scheduled, executing, or have been executed recently in this account. You can request all queries or limit it to queries of a specific log group or queries with a certain status.
160
160
  */
161
161
  describeQueries(params: CloudWatchLogs.Types.DescribeQueriesRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeQueriesResponse) => void): Request<CloudWatchLogs.Types.DescribeQueriesResponse, AWSError>;
162
162
  /**
163
- * Returns a list of CloudWatch Logs Insights queries that are scheduled, executing, or have been executed recently in this account. You can request all queries, or limit it to queries of a specific log group or queries with a certain status.
163
+ * Returns a list of CloudWatch Logs Insights queries that are scheduled, executing, or have been executed recently in this account. You can request all queries or limit it to queries of a specific log group or queries with a certain status.
164
164
  */
165
165
  describeQueries(callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeQueriesResponse) => void): Request<CloudWatchLogs.Types.DescribeQueriesResponse, AWSError>;
166
166
  /**
167
- *
167
+ * This operation returns a paginated list of your saved CloudWatch Logs Insights query definitions. You can use the queryDefinitionNamePrefix parameter to limit the results to only the query definitions that have names that start with a certain string.
168
168
  */
169
169
  describeQueryDefinitions(params: CloudWatchLogs.Types.DescribeQueryDefinitionsRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeQueryDefinitionsResponse) => void): Request<CloudWatchLogs.Types.DescribeQueryDefinitionsResponse, AWSError>;
170
170
  /**
171
- *
171
+ * This operation returns a paginated list of your saved CloudWatch Logs Insights query definitions. You can use the queryDefinitionNamePrefix parameter to limit the results to only the query definitions that have names that start with a certain string.
172
172
  */
173
173
  describeQueryDefinitions(callback?: (err: AWSError, data: CloudWatchLogs.Types.DescribeQueryDefinitionsResponse) => void): Request<CloudWatchLogs.Types.DescribeQueryDefinitionsResponse, AWSError>;
174
174
  /**
@@ -196,19 +196,19 @@ declare class CloudWatchLogs extends Service {
196
196
  */
197
197
  disassociateKmsKey(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
198
198
  /**
199
- * Lists log events from the specified log group. You can list all the log events or filter the results using a filter pattern, a time range, and the name of the log stream. By default, this operation returns as many log events as can fit in 1 MB (up to 10,000 log events), or all the events found within the time range that you specify. If the results include a token, then there are more log events available, and you can get additional results by specifying the token in a subsequent call.
199
+ * Lists log events from the specified log group. You can list all the log events or filter the results using a filter pattern, a time range, and the name of the log stream. By default, this operation returns as many log events as can fit in 1 MB (up to 10,000 log events) or all the events found within the time range that you specify. If the results include a token, then there are more log events available, and you can get additional results by specifying the token in a subsequent call. This operation can return empty results while there are more log events available through the token. The returned log events are sorted by event timestamp, the timestamp when the event was ingested by CloudWatch Logs, and the ID of the PutLogEvents request.
200
200
  */
201
201
  filterLogEvents(params: CloudWatchLogs.Types.FilterLogEventsRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.FilterLogEventsResponse) => void): Request<CloudWatchLogs.Types.FilterLogEventsResponse, AWSError>;
202
202
  /**
203
- * Lists log events from the specified log group. You can list all the log events or filter the results using a filter pattern, a time range, and the name of the log stream. By default, this operation returns as many log events as can fit in 1 MB (up to 10,000 log events), or all the events found within the time range that you specify. If the results include a token, then there are more log events available, and you can get additional results by specifying the token in a subsequent call.
203
+ * Lists log events from the specified log group. You can list all the log events or filter the results using a filter pattern, a time range, and the name of the log stream. By default, this operation returns as many log events as can fit in 1 MB (up to 10,000 log events) or all the events found within the time range that you specify. If the results include a token, then there are more log events available, and you can get additional results by specifying the token in a subsequent call. This operation can return empty results while there are more log events available through the token. The returned log events are sorted by event timestamp, the timestamp when the event was ingested by CloudWatch Logs, and the ID of the PutLogEvents request.
204
204
  */
205
205
  filterLogEvents(callback?: (err: AWSError, data: CloudWatchLogs.Types.FilterLogEventsResponse) => void): Request<CloudWatchLogs.Types.FilterLogEventsResponse, AWSError>;
206
206
  /**
207
- * Lists log events from the specified log stream. You can list all 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.
207
+ * 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.
208
208
  */
209
209
  getLogEvents(params: CloudWatchLogs.Types.GetLogEventsRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.GetLogEventsResponse) => void): Request<CloudWatchLogs.Types.GetLogEventsResponse, AWSError>;
210
210
  /**
211
- * Lists log events from the specified log stream. You can list all 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.
211
+ * 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.
212
212
  */
213
213
  getLogEvents(callback?: (err: AWSError, data: CloudWatchLogs.Types.GetLogEventsResponse) => void): Request<CloudWatchLogs.Types.GetLogEventsResponse, AWSError>;
214
214
  /**
@@ -220,19 +220,19 @@ declare class CloudWatchLogs extends Service {
220
220
  */
221
221
  getLogGroupFields(callback?: (err: AWSError, data: CloudWatchLogs.Types.GetLogGroupFieldsResponse) => void): Request<CloudWatchLogs.Types.GetLogGroupFieldsResponse, AWSError>;
222
222
  /**
223
- * Retrieves all the fields and values of a single log event. All fields are retrieved, even if the original query that produced the logRecordPointer retrieved only a subset of fields. Fields are returned as field name/field value pairs. Additionally, the entire unparsed log event is returned within @message.
223
+ * Retrieves all of the fields and values of a single log event. All fields are retrieved, even if the original query that produced the logRecordPointer retrieved only a subset of fields. Fields are returned as field name/field value pairs. The full unparsed log event is returned within @message.
224
224
  */
225
225
  getLogRecord(params: CloudWatchLogs.Types.GetLogRecordRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.GetLogRecordResponse) => void): Request<CloudWatchLogs.Types.GetLogRecordResponse, AWSError>;
226
226
  /**
227
- * Retrieves all the fields and values of a single log event. All fields are retrieved, even if the original query that produced the logRecordPointer retrieved only a subset of fields. Fields are returned as field name/field value pairs. Additionally, the entire unparsed log event is returned within @message.
227
+ * Retrieves all of the fields and values of a single log event. All fields are retrieved, even if the original query that produced the logRecordPointer retrieved only a subset of fields. Fields are returned as field name/field value pairs. The full unparsed log event is returned within @message.
228
228
  */
229
229
  getLogRecord(callback?: (err: AWSError, data: CloudWatchLogs.Types.GetLogRecordResponse) => void): Request<CloudWatchLogs.Types.GetLogRecordResponse, AWSError>;
230
230
  /**
231
- * 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 a query execution. 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.
231
+ * 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 a query execution. 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.
232
232
  */
233
233
  getQueryResults(params: CloudWatchLogs.Types.GetQueryResultsRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.GetQueryResultsResponse) => void): Request<CloudWatchLogs.Types.GetQueryResultsResponse, AWSError>;
234
234
  /**
235
- * 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 a query execution. 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.
235
+ * 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 a query execution. 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.
236
236
  */
237
237
  getQueryResults(callback?: (err: AWSError, data: CloudWatchLogs.Types.GetQueryResultsResponse) => void): Request<CloudWatchLogs.Types.GetQueryResultsResponse, AWSError>;
238
238
  /**
@@ -244,11 +244,11 @@ declare class CloudWatchLogs extends Service {
244
244
  */
245
245
  listTagsLogGroup(callback?: (err: AWSError, data: CloudWatchLogs.Types.ListTagsLogGroupResponse) => void): Request<CloudWatchLogs.Types.ListTagsLogGroupResponse, AWSError>;
246
246
  /**
247
- * 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) and enables you to 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.
247
+ * 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) and enables you to 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.
248
248
  */
249
249
  putDestination(params: CloudWatchLogs.Types.PutDestinationRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.PutDestinationResponse) => void): Request<CloudWatchLogs.Types.PutDestinationResponse, AWSError>;
250
250
  /**
251
- * 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) and enables you to 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.
251
+ * 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) and enables you to 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.
252
252
  */
253
253
  putDestination(callback?: (err: AWSError, data: CloudWatchLogs.Types.PutDestinationResponse) => void): Request<CloudWatchLogs.Types.PutDestinationResponse, AWSError>;
254
254
  /**
@@ -260,11 +260,11 @@ declare class CloudWatchLogs extends Service {
260
260
  */
261
261
  putDestinationPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
262
262
  /**
263
- * Uploads a batch of log events to the specified log stream. You must include the sequence token obtained from the response of the previous call. An upload in a newly created log stream does not require a sequence token. You can also get the sequence token in the expectedSequenceToken field from InvalidSequenceTokenException. If you call PutLogEvents twice within a narrow time period using the same value for sequenceToken, both calls may be successful, or one may be rejected. The batch of events must satisfy the following constraints: The maximum batch size is 1,048,576 bytes, and this size is calculated as the sum of all event messages in UTF-8, plus 26 bytes for each log event. None of the log events in the batch can be more than 2 hours in the future. None of the log events in the batch can be older than 14 days or older than the retention period of the log group. The log events in the batch must be in chronological ordered by their timestamp. The timestamp is the time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. (In AWS Tools for PowerShell and the AWS SDK for .NET, the timestamp is specified in .NET format: yyyy-mm-ddThh:mm:ss. For example, 2017-09-15T13:45:30.) A batch of log events in a single request cannot span more than 24 hours. Otherwise, the operation fails. The maximum number of log events in a batch is 10,000. There is a quota of 5 requests per second per log stream. Additional requests are throttled. This quota can't be changed. If a call to PutLogEvents returns "UnrecognizedClientException" the most likely cause is an invalid AWS access key ID or secret key.
263
+ * Uploads a batch of log events to the specified log stream. You must include the sequence token obtained from the response of the previous call. An upload in a newly created log stream does not require a sequence token. You can also get the sequence token in the expectedSequenceToken field from InvalidSequenceTokenException. If you call PutLogEvents twice within a narrow time period using the same value for sequenceToken, both calls might be successful or one might be rejected. The batch of events must satisfy the following constraints: The maximum batch size is 1,048,576 bytes. This size is calculated as the sum of all event messages in UTF-8, plus 26 bytes for each log event. None of the log events in the batch can be more than 2 hours in the future. None of the log events in the batch can be older than 14 days or older than the retention period of the log group. The log events in the batch must be in chronological order by their timestamp. The timestamp is the time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. (In AWS Tools for PowerShell and the AWS SDK for .NET, the timestamp is specified in .NET format: yyyy-mm-ddThh:mm:ss. For example, 2017-09-15T13:45:30.) A batch of log events in a single request cannot span more than 24 hours. Otherwise, the operation fails. The maximum number of log events in a batch is 10,000. There is a quota of 5 requests per second per log stream. Additional requests are throttled. This quota can't be changed. If a call to PutLogEvents returns "UnrecognizedClientException" the most likely cause is an invalid AWS access key ID or secret key.
264
264
  */
265
265
  putLogEvents(params: CloudWatchLogs.Types.PutLogEventsRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.PutLogEventsResponse) => void): Request<CloudWatchLogs.Types.PutLogEventsResponse, AWSError>;
266
266
  /**
267
- * Uploads a batch of log events to the specified log stream. You must include the sequence token obtained from the response of the previous call. An upload in a newly created log stream does not require a sequence token. You can also get the sequence token in the expectedSequenceToken field from InvalidSequenceTokenException. If you call PutLogEvents twice within a narrow time period using the same value for sequenceToken, both calls may be successful, or one may be rejected. The batch of events must satisfy the following constraints: The maximum batch size is 1,048,576 bytes, and this size is calculated as the sum of all event messages in UTF-8, plus 26 bytes for each log event. None of the log events in the batch can be more than 2 hours in the future. None of the log events in the batch can be older than 14 days or older than the retention period of the log group. The log events in the batch must be in chronological ordered by their timestamp. The timestamp is the time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. (In AWS Tools for PowerShell and the AWS SDK for .NET, the timestamp is specified in .NET format: yyyy-mm-ddThh:mm:ss. For example, 2017-09-15T13:45:30.) A batch of log events in a single request cannot span more than 24 hours. Otherwise, the operation fails. The maximum number of log events in a batch is 10,000. There is a quota of 5 requests per second per log stream. Additional requests are throttled. This quota can't be changed. If a call to PutLogEvents returns "UnrecognizedClientException" the most likely cause is an invalid AWS access key ID or secret key.
267
+ * Uploads a batch of log events to the specified log stream. You must include the sequence token obtained from the response of the previous call. An upload in a newly created log stream does not require a sequence token. You can also get the sequence token in the expectedSequenceToken field from InvalidSequenceTokenException. If you call PutLogEvents twice within a narrow time period using the same value for sequenceToken, both calls might be successful or one might be rejected. The batch of events must satisfy the following constraints: The maximum batch size is 1,048,576 bytes. This size is calculated as the sum of all event messages in UTF-8, plus 26 bytes for each log event. None of the log events in the batch can be more than 2 hours in the future. None of the log events in the batch can be older than 14 days or older than the retention period of the log group. The log events in the batch must be in chronological order by their timestamp. The timestamp is the time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. (In AWS Tools for PowerShell and the AWS SDK for .NET, the timestamp is specified in .NET format: yyyy-mm-ddThh:mm:ss. For example, 2017-09-15T13:45:30.) A batch of log events in a single request cannot span more than 24 hours. Otherwise, the operation fails. The maximum number of log events in a batch is 10,000. There is a quota of 5 requests per second per log stream. Additional requests are throttled. This quota can't be changed. If a call to PutLogEvents returns "UnrecognizedClientException" the most likely cause is an invalid AWS access key ID or secret key.
268
268
  */
269
269
  putLogEvents(callback?: (err: AWSError, data: CloudWatchLogs.Types.PutLogEventsResponse) => void): Request<CloudWatchLogs.Types.PutLogEventsResponse, AWSError>;
270
270
  /**
@@ -276,19 +276,19 @@ declare class CloudWatchLogs extends Service {
276
276
  */
277
277
  putMetricFilter(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
278
278
  /**
279
- *
279
+ * Creates or updates a query definition for CloudWatch Logs Insights. For more information, see Analyzing Log Data with CloudWatch Logs Insights. To update a query definition, specify its queryDefinitionId in your request. The values of name, queryString, and logGroupNames are changed to the values that you specify in your update operation. No current values are retained from the current query definition. For example, if you update a current query definition that includes log groups, and you don't specify the logGroupNames parameter in your update operation, the query definition changes to contain no log groups. You must have the logs:PutQueryDefinition permission to be able to perform this operation.
280
280
  */
281
281
  putQueryDefinition(params: CloudWatchLogs.Types.PutQueryDefinitionRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.PutQueryDefinitionResponse) => void): Request<CloudWatchLogs.Types.PutQueryDefinitionResponse, AWSError>;
282
282
  /**
283
- *
283
+ * Creates or updates a query definition for CloudWatch Logs Insights. For more information, see Analyzing Log Data with CloudWatch Logs Insights. To update a query definition, specify its queryDefinitionId in your request. The values of name, queryString, and logGroupNames are changed to the values that you specify in your update operation. No current values are retained from the current query definition. For example, if you update a current query definition that includes log groups, and you don't specify the logGroupNames parameter in your update operation, the query definition changes to contain no log groups. You must have the logs:PutQueryDefinition permission to be able to perform this operation.
284
284
  */
285
285
  putQueryDefinition(callback?: (err: AWSError, data: CloudWatchLogs.Types.PutQueryDefinitionResponse) => void): Request<CloudWatchLogs.Types.PutQueryDefinitionResponse, AWSError>;
286
286
  /**
287
- * Creates or updates a resource policy allowing other AWS services to put log events to this account, such as Amazon Route 53. An account can have up to 10 resource policies per region.
287
+ * Creates or updates a resource policy allowing other AWS services to put log events to this account, such as Amazon Route 53. An account can have up to 10 resource policies per AWS Region.
288
288
  */
289
289
  putResourcePolicy(params: CloudWatchLogs.Types.PutResourcePolicyRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.PutResourcePolicyResponse) => void): Request<CloudWatchLogs.Types.PutResourcePolicyResponse, AWSError>;
290
290
  /**
291
- * Creates or updates a resource policy allowing other AWS services to put log events to this account, such as Amazon Route 53. An account can have up to 10 resource policies per region.
291
+ * Creates or updates a resource policy allowing other AWS services to put log events to this account, such as Amazon Route 53. An account can have up to 10 resource policies per AWS Region.
292
292
  */
293
293
  putResourcePolicy(callback?: (err: AWSError, data: CloudWatchLogs.Types.PutResourcePolicyResponse) => void): Request<CloudWatchLogs.Types.PutResourcePolicyResponse, AWSError>;
294
294
  /**
@@ -300,19 +300,19 @@ declare class CloudWatchLogs extends Service {
300
300
  */
301
301
  putRetentionPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
302
302
  /**
303
- * Creates or updates a subscription filter and associates it with the specified log group. Subscription filters allow you to subscribe to a real-time stream of log events ingested through PutLogEvents and have them delivered to a specific destination. Currently, the supported destinations are: An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery. A logical destination that belongs to a different account, for cross-account delivery. An Amazon Kinesis Firehose delivery stream that belongs to the same account as the subscription filter, for same-account delivery. An AWS Lambda function that belongs to the same account as the subscription filter, for same-account delivery. There can only be one subscription filter associated with a log group. If you are updating an existing filter, you must specify the correct name in filterName. Otherwise, the call fails because you cannot associate a second filter with a log group.
303
+ * Creates or updates a subscription filter and associates it with the specified log group. Subscription filters allow you to subscribe to a real-time stream of log events ingested through PutLogEvents and have them delivered to a specific destination. When log events are sent to the receiving service, they are Base64 encoded and compressed with the gzip format. The following destinations are supported for subscription filters: An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery. A logical destination that belongs to a different account, for cross-account delivery. An Amazon Kinesis Firehose delivery stream that belongs to the same account as the subscription filter, for same-account delivery. An AWS Lambda function that belongs to the same account as the subscription filter, for same-account delivery. There can only be one subscription filter associated with a log group. If you are updating an existing filter, you must specify the correct name in filterName. Otherwise, the call fails because you cannot associate a second filter with a log group. To perform a PutSubscriptionFilter operation, you must also have the iam:PassRole permission.
304
304
  */
305
305
  putSubscriptionFilter(params: CloudWatchLogs.Types.PutSubscriptionFilterRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
306
306
  /**
307
- * Creates or updates a subscription filter and associates it with the specified log group. Subscription filters allow you to subscribe to a real-time stream of log events ingested through PutLogEvents and have them delivered to a specific destination. Currently, the supported destinations are: An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery. A logical destination that belongs to a different account, for cross-account delivery. An Amazon Kinesis Firehose delivery stream that belongs to the same account as the subscription filter, for same-account delivery. An AWS Lambda function that belongs to the same account as the subscription filter, for same-account delivery. There can only be one subscription filter associated with a log group. If you are updating an existing filter, you must specify the correct name in filterName. Otherwise, the call fails because you cannot associate a second filter with a log group.
307
+ * Creates or updates a subscription filter and associates it with the specified log group. Subscription filters allow you to subscribe to a real-time stream of log events ingested through PutLogEvents and have them delivered to a specific destination. When log events are sent to the receiving service, they are Base64 encoded and compressed with the gzip format. The following destinations are supported for subscription filters: An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery. A logical destination that belongs to a different account, for cross-account delivery. An Amazon Kinesis Firehose delivery stream that belongs to the same account as the subscription filter, for same-account delivery. An AWS Lambda function that belongs to the same account as the subscription filter, for same-account delivery. There can only be one subscription filter associated with a log group. If you are updating an existing filter, you must specify the correct name in filterName. Otherwise, the call fails because you cannot associate a second filter with a log group. To perform a PutSubscriptionFilter operation, you must also have the iam:PassRole permission.
308
308
  */
309
309
  putSubscriptionFilter(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
310
310
  /**
311
- * Schedules a query of a log group using CloudWatch Logs Insights. You specify the log group and time range to query, and the query string to use. For more information, see CloudWatch Logs Insights Query Syntax. Queries time out after 15 minutes of execution. If your queries are timing out, reduce the time range being searched, or partition your query into a number of queries.
311
+ * Schedules a query of a log group using CloudWatch Logs Insights. You specify the log group and time range to query and the query string to use. For more information, see CloudWatch Logs Insights Query Syntax. Queries time out after 15 minutes of execution. If your queries are timing out, reduce the time range being searched or partition your query into a number of queries.
312
312
  */
313
313
  startQuery(params: CloudWatchLogs.Types.StartQueryRequest, callback?: (err: AWSError, data: CloudWatchLogs.Types.StartQueryResponse) => void): Request<CloudWatchLogs.Types.StartQueryResponse, AWSError>;
314
314
  /**
315
- * Schedules a query of a log group using CloudWatch Logs Insights. You specify the log group and time range to query, and the query string to use. For more information, see CloudWatch Logs Insights Query Syntax. Queries time out after 15 minutes of execution. If your queries are timing out, reduce the time range being searched, or partition your query into a number of queries.
315
+ * Schedules a query of a log group using CloudWatch Logs Insights. You specify the log group and time range to query and the query string to use. For more information, see CloudWatch Logs Insights Query Syntax. Queries time out after 15 minutes of execution. If your queries are timing out, reduce the time range being searched or partition your query into a number of queries.
316
316
  */
317
317
  startQuery(callback?: (err: AWSError, data: CloudWatchLogs.Types.StartQueryResponse) => void): Request<CloudWatchLogs.Types.StartQueryResponse, AWSError>;
318
318
  /**
@@ -462,9 +462,15 @@ declare namespace CloudWatchLogs {
462
462
  filterName: FilterName;
463
463
  }
464
464
  export interface DeleteQueryDefinitionRequest {
465
+ /**
466
+ * The ID of the query definition that you want to delete. You can use DescribeQueryDefinitions to retrieve the IDs of your saved query definitions.
467
+ */
465
468
  queryDefinitionId: QueryId;
466
469
  }
467
470
  export interface DeleteQueryDefinitionResponse {
471
+ /**
472
+ * A value of TRUE indicates that the operation succeeded. FALSE indicates that the operation failed.
473
+ */
468
474
  success?: Success;
469
475
  }
470
476
  export interface DeleteResourcePolicyRequest {
@@ -553,7 +559,7 @@ declare namespace CloudWatchLogs {
553
559
  }
554
560
  export interface DescribeLogGroupsResponse {
555
561
  /**
556
- * The log groups.
562
+ * The log groups. If the retentionInDays value if not included for a log group, then that log group is set to have its events never expire.
557
563
  */
558
564
  logGroups?: LogGroups;
559
565
  nextToken?: NextToken;
@@ -564,11 +570,11 @@ declare namespace CloudWatchLogs {
564
570
  */
565
571
  logGroupName: LogGroupName;
566
572
  /**
567
- * The prefix to match. If orderBy is LastEventTime,you cannot specify this parameter.
573
+ * The prefix to match. If orderBy is LastEventTime, you cannot specify this parameter.
568
574
  */
569
575
  logStreamNamePrefix?: LogStreamName;
570
576
  /**
571
- * If the value is LogStreamName, the results are ordered by log stream name. If the value is LastEventTime, the results are ordered by the event time. The default value is LogStreamName. If you order the results by event time, you cannot specify the logStreamNamePrefix parameter. lastEventTimestamp represents the time of the most recent log event in the log stream in CloudWatch Logs. This number is expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. lastEventTimeStamp updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but may take longer in some rare situations.
577
+ * If the value is LogStreamName, the results are ordered by log stream name. If the value is LastEventTime, the results are ordered by the event time. The default value is LogStreamName. If you order the results by event time, you cannot specify the logStreamNamePrefix parameter. lastEventTimeStamp represents the time of the most recent log event in the log stream in CloudWatch Logs. This number is expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. lastEventTimeStamp updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but in rare situations might take longer.
572
578
  */
573
579
  orderBy?: OrderBy;
574
580
  /**
@@ -597,7 +603,7 @@ declare namespace CloudWatchLogs {
597
603
  */
598
604
  logGroupName?: LogGroupName;
599
605
  /**
600
- * The prefix to match.
606
+ * The prefix to match. CloudWatch Logs uses the value you set here only if you also include the logGroupName parameter in your request.
601
607
  */
602
608
  filterNamePrefix?: FilterName;
603
609
  /**
@@ -648,11 +654,20 @@ declare namespace CloudWatchLogs {
648
654
  nextToken?: NextToken;
649
655
  }
650
656
  export interface DescribeQueryDefinitionsRequest {
657
+ /**
658
+ * Use this parameter to filter your results to only the query definitions that have names that start with the prefix you specify.
659
+ */
651
660
  queryDefinitionNamePrefix?: QueryDefinitionName;
661
+ /**
662
+ * Limits the number of returned query definitions to the specified number.
663
+ */
652
664
  maxResults?: QueryListMaxResults;
653
665
  nextToken?: NextToken;
654
666
  }
655
667
  export interface DescribeQueryDefinitionsResponse {
668
+ /**
669
+ * The list of query definitions that match your request.
670
+ */
656
671
  queryDefinitions?: QueryDefinitionList;
657
672
  nextToken?: NextToken;
658
673
  }
@@ -701,7 +716,7 @@ declare namespace CloudWatchLogs {
701
716
  */
702
717
  destinationName?: DestinationName;
703
718
  /**
704
- * The Amazon Resource Name (ARN) of the physical target to where the log events are delivered (for example, a Kinesis stream).
719
+ * The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).
705
720
  */
706
721
  targetArn?: TargetArn;
707
722
  /**
@@ -759,7 +774,7 @@ declare namespace CloudWatchLogs {
759
774
  */
760
775
  to?: Timestamp;
761
776
  /**
762
- * The name of Amazon S3 bucket to which the log data was exported.
777
+ * The name of the S3 bucket to which the log data was exported.
763
778
  */
764
779
  destination?: ExportDestinationBucket;
765
780
  /**
@@ -771,7 +786,7 @@ declare namespace CloudWatchLogs {
771
786
  */
772
787
  status?: ExportTaskStatus;
773
788
  /**
774
- * Execution info about the export task.
789
+ * Execution information about the export task.
775
790
  */
776
791
  executionInfo?: ExportTaskExecutionInfo;
777
792
  }
@@ -817,7 +832,7 @@ declare namespace CloudWatchLogs {
817
832
  */
818
833
  logStreamNamePrefix?: LogStreamName;
819
834
  /**
820
- * The start of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp before this time are not returned.
835
+ * The start of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp before this time are not returned. If you omit startTime and endTime the most recent log events are retrieved, to up 1 MB or 10,000 log events.
821
836
  */
822
837
  startTime?: Timestamp;
823
838
  /**
@@ -837,7 +852,7 @@ declare namespace CloudWatchLogs {
837
852
  */
838
853
  limit?: EventsLimit;
839
854
  /**
840
- * If the value is true, the operation makes a best effort to provide responses that contain events from multiple log streams within the log group, interleaved in a single response. If the value is false, all the matched log events in the first log stream are searched first, then those in the next log stream, and so on. The default is false. IMPORTANT: Starting on June 17, 2019, this parameter will be ignored and the value will be assumed to be true. The response from this operation will always interleave events from multiple log streams within a log group.
855
+ * If the value is true, the operation makes a best effort to provide responses that contain events from multiple log streams within the log group, interleaved in a single response. If the value is false, all the matched log events in the first log stream are searched first, then those in the next log stream, and so on. The default is false. Important: Starting on June 17, 2019, this parameter is ignored and the value is assumed to be true. The response from this operation always interleaves events from multiple log streams within a log group.
841
856
  */
842
857
  interleaved?: Interleaved;
843
858
  }
@@ -847,7 +862,7 @@ declare namespace CloudWatchLogs {
847
862
  */
848
863
  events?: FilteredLogEvents;
849
864
  /**
850
- * Indicates which log streams have been searched and whether each has been searched completely.
865
+ * IMPORTANT Starting on May 15, 2020, this parameter will be deprecated. This parameter will be an empty list after the deprecation occurs. Indicates which log streams have been searched and whether each has been searched completely.
851
866
  */
852
867
  searchedLogStreams?: SearchedLogStreams;
853
868
  /**
@@ -916,11 +931,11 @@ declare namespace CloudWatchLogs {
916
931
  */
917
932
  events?: OutputLogEvents;
918
933
  /**
919
- * The token for the next set of items in the forward direction. The token expires after 24 hours. If you have reached the end of the stream, it will return the same token you passed in.
934
+ * The token for the next set of items in the forward direction. The token expires after 24 hours. If you have reached the end of the stream, it returns the same token you passed in.
920
935
  */
921
936
  nextForwardToken?: NextToken;
922
937
  /**
923
- * The token for the next set of items in the backward direction. The token expires after 24 hours. This token will never be null. If you have reached the end of the stream, it will return the same token you passed in.
938
+ * The token for the next set of items in the backward direction. The token expires after 24 hours. This token is never null. If you have reached the end of the stream, it returns the same token you passed in.
924
939
  */
925
940
  nextBackwardToken?: NextToken;
926
941
  }
@@ -964,11 +979,11 @@ declare namespace CloudWatchLogs {
964
979
  */
965
980
  results?: QueryResults;
966
981
  /**
967
- * Includes the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the log events that were scanned.
982
+ * Includes the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the log events that were scanned. These values reflect the full raw results of the query.
968
983
  */
969
984
  statistics?: QueryStatistics;
970
985
  /**
971
- * The status of the most recent running of the query. Possible values are Cancelled, Complete, Failed, Running, Scheduled, Timeout, and Unknown. Queries time out after 15 minutes of execution. To avoid having your queries time out, reduce the time range being searched, or partition your query into a number of queries.
986
+ * The status of the most recent running of the query. Possible values are Cancelled, Complete, Failed, Running, Scheduled, Timeout, and Unknown. Queries time out after 15 minutes of execution. To avoid having your queries time out, reduce the time range being searched or partition your query into a number of queries.
972
987
  */
973
988
  status?: QueryStatus;
974
989
  }
@@ -1056,7 +1071,7 @@ declare namespace CloudWatchLogs {
1056
1071
  */
1057
1072
  firstEventTimestamp?: Timestamp;
1058
1073
  /**
1059
- * The time of the most recent log event in the log stream in CloudWatch Logs. This number is expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. The lastEventTime value updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but may take longer in some rare situations.
1074
+ * The time of the most recent log event in the log stream in CloudWatch Logs. This number is expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. The lastEventTime value updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but in rare situations might take longer.
1060
1075
  */
1061
1076
  lastEventTimestamp?: Timestamp;
1062
1077
  /**
@@ -1072,7 +1087,7 @@ declare namespace CloudWatchLogs {
1072
1087
  */
1073
1088
  arn?: Arn;
1074
1089
  /**
1075
- * The number of bytes stored. IMPORTANT:On June 17, 2019, this parameter was deprecated for log streams, and is always reported as zero. This change applies only to log streams. The storedBytes parameter for log groups is not affected.
1090
+ * The number of bytes stored. Important: On June 17, 2019, this parameter was deprecated for log streams, and is always reported as zero. This change applies only to log streams. The storedBytes parameter for log groups is not affected.
1076
1091
  */
1077
1092
  storedBytes?: StoredBytes;
1078
1093
  }
@@ -1162,7 +1177,7 @@ declare namespace CloudWatchLogs {
1162
1177
  */
1163
1178
  destinationName: DestinationName;
1164
1179
  /**
1165
- * An IAM policy document that authorizes cross-account users to deliver their log events to the associated destination.
1180
+ * An IAM policy document that authorizes cross-account users to deliver their log events to the associated destination. This can be up to 5120 bytes.
1166
1181
  */
1167
1182
  accessPolicy: AccessPolicy;
1168
1183
  }
@@ -1200,7 +1215,7 @@ declare namespace CloudWatchLogs {
1200
1215
  */
1201
1216
  logEvents: InputLogEvents;
1202
1217
  /**
1203
- * The sequence token obtained from the response of the previous PutLogEvents call. An upload in a newly created log stream does not require a sequence token. You can also get the sequence token using DescribeLogStreams. If you call PutLogEvents twice within a narrow time period using the same value for sequenceToken, both calls may be successful, or one may be rejected.
1218
+ * The sequence token obtained from the response of the previous PutLogEvents call. An upload in a newly created log stream does not require a sequence token. You can also get the sequence token using DescribeLogStreams. If you call PutLogEvents twice within a narrow time period using the same value for sequenceToken, both calls might be successful or one might be rejected.
1204
1219
  */
1205
1220
  sequenceToken?: SequenceToken;
1206
1221
  }
@@ -1233,12 +1248,27 @@ declare namespace CloudWatchLogs {
1233
1248
  metricTransformations: MetricTransformations;
1234
1249
  }
1235
1250
  export interface PutQueryDefinitionRequest {
1251
+ /**
1252
+ * A name for the query definition. If you are saving a lot of query definitions, we recommend that you name them so that you can easily find the ones you want by using the first part of the name as a filter in the queryDefinitionNamePrefix parameter of DescribeQueryDefinitions.
1253
+ */
1236
1254
  name: QueryDefinitionName;
1255
+ /**
1256
+ * If you are updating a query definition, use this parameter to specify the ID of the query definition that you want to update. You can use DescribeQueryDefinitions to retrieve the IDs of your saved query definitions. If you are creating a query definition, do not specify this parameter. CloudWatch generates a unique ID for the new query definition and include it in the response to this operation.
1257
+ */
1237
1258
  queryDefinitionId?: QueryId;
1259
+ /**
1260
+ * Use this parameter to include specific log groups as part of your query definition. If you are updating a query definition and you omit this parameter, then the updated definition will contain no log groups.
1261
+ */
1238
1262
  logGroupNames?: LogGroupNames;
1263
+ /**
1264
+ * The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.
1265
+ */
1239
1266
  queryString: QueryDefinitionString;
1240
1267
  }
1241
1268
  export interface PutQueryDefinitionResponse {
1269
+ /**
1270
+ * The ID of the query definition.
1271
+ */
1242
1272
  queryDefinitionId?: QueryId;
1243
1273
  }
1244
1274
  export interface PutResourcePolicyRequest {
@@ -1286,15 +1316,30 @@ declare namespace CloudWatchLogs {
1286
1316
  */
1287
1317
  roleArn?: RoleArn;
1288
1318
  /**
1289
- * The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream.
1319
+ * The method used to distribute log data to the destination. By default, log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream.
1290
1320
  */
1291
1321
  distribution?: Distribution;
1292
1322
  }
1293
1323
  export interface QueryDefinition {
1324
+ /**
1325
+ * The unique ID of the query definition.
1326
+ */
1294
1327
  queryDefinitionId?: QueryId;
1328
+ /**
1329
+ * The name of the query definition.
1330
+ */
1295
1331
  name?: QueryDefinitionName;
1332
+ /**
1333
+ * The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.
1334
+ */
1296
1335
  queryString?: QueryDefinitionString;
1336
+ /**
1337
+ * The date that the query definition was most recently modified.
1338
+ */
1297
1339
  lastModified?: Timestamp;
1340
+ /**
1341
+ * If this query definition contains a list of log groups that it is limited to, that list appears here.
1342
+ */
1298
1343
  logGroupNames?: LogGroupNames;
1299
1344
  }
1300
1345
  export type QueryDefinitionList = QueryDefinition[];
@@ -1431,7 +1476,7 @@ declare namespace CloudWatchLogs {
1431
1476
  export type StatsValue = number;
1432
1477
  export interface StopQueryRequest {
1433
1478
  /**
1434
- * The ID number of the query to stop. If necessary, you can use DescribeQueries to find this ID number.
1479
+ * The ID number of the query to stop. To find this ID number, use DescribeQueries.
1435
1480
  */
1436
1481
  queryId: QueryId;
1437
1482
  }
@@ -3,7 +3,7 @@ import {Response} from '../lib/response';
3
3
  import {AWSError} from '../lib/error';
4
4
  import {Service} from '../lib/service';
5
5
  import {ServiceConfigurationOptions} from '../lib/service';
6
- import {ConfigBase as Config} from '../lib/config';
6
+ import {ConfigBase as Config} from '../lib/config-base';
7
7
  import {Readable} from 'stream';
8
8
  interface Blob {}
9
9
  declare class CodeArtifact extends Service {
@@ -3,7 +3,7 @@ import {Response} from '../lib/response';
3
3
  import {AWSError} from '../lib/error';
4
4
  import {Service} from '../lib/service';
5
5
  import {ServiceConfigurationOptions} from '../lib/service';
6
- import {ConfigBase as Config} from '../lib/config';
6
+ import {ConfigBase as Config} from '../lib/config-base';
7
7
  interface Blob {}
8
8
  declare class CodeBuild extends Service {
9
9
  /**
@@ -3,7 +3,7 @@ import {Response} from '../lib/response';
3
3
  import {AWSError} from '../lib/error';
4
4
  import {Service} from '../lib/service';
5
5
  import {ServiceConfigurationOptions} from '../lib/service';
6
- import {ConfigBase as Config} from '../lib/config';
6
+ import {ConfigBase as Config} from '../lib/config-base';
7
7
  interface Blob {}
8
8
  declare class CodeCommit extends Service {
9
9
  /**
@@ -4,7 +4,7 @@ import {AWSError} from '../lib/error';
4
4
  import {Service} from '../lib/service';
5
5
  import {WaiterConfiguration} from '../lib/service';
6
6
  import {ServiceConfigurationOptions} from '../lib/service';
7
- import {ConfigBase as Config} from '../lib/config';
7
+ import {ConfigBase as Config} from '../lib/config-base';
8
8
  interface Blob {}
9
9
  declare class CodeDeploy extends Service {
10
10
  /**
@@ -3,7 +3,7 @@ import {Response} from '../lib/response';
3
3
  import {AWSError} from '../lib/error';
4
4
  import {Service} from '../lib/service';
5
5
  import {ServiceConfigurationOptions} from '../lib/service';
6
- import {ConfigBase as Config} from '../lib/config';
6
+ import {ConfigBase as Config} from '../lib/config-base';
7
7
  interface Blob {}
8
8
  declare class CodeGuruProfiler extends Service {
9
9
  /**
@@ -3,7 +3,7 @@ import {Response} from '../lib/response';
3
3
  import {AWSError} from '../lib/error';
4
4
  import {Service} from '../lib/service';
5
5
  import {ServiceConfigurationOptions} from '../lib/service';
6
- import {ConfigBase as Config} from '../lib/config';
6
+ import {ConfigBase as Config} from '../lib/config-base';
7
7
  interface Blob {}
8
8
  declare class CodeGuruReviewer extends Service {
9
9
  /**
@@ -3,7 +3,7 @@ import {Response} from '../lib/response';
3
3
  import {AWSError} from '../lib/error';
4
4
  import {Service} from '../lib/service';
5
5
  import {ServiceConfigurationOptions} from '../lib/service';
6
- import {ConfigBase as Config} from '../lib/config';
6
+ import {ConfigBase as Config} from '../lib/config-base';
7
7
  interface Blob {}
8
8
  declare class CodePipeline extends Service {
9
9
  /**