cdk-lambda-subminute 2.0.297 → 2.0.299

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 (47) 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/backup-2018-11-15.min.json +222 -9
  6. package/node_modules/aws-sdk/apis/backup-2018-11-15.paginators.json +15 -0
  7. package/node_modules/aws-sdk/apis/cleanrooms-2022-02-17.min.json +133 -74
  8. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +20 -10
  9. package/node_modules/aws-sdk/apis/dataexchange-2017-07-25.min.json +0 -3
  10. package/node_modules/aws-sdk/apis/dms-2016-01-01.min.json +20 -2
  11. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +349 -278
  12. package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +6 -0
  13. package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +4 -1
  14. package/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +1 -2
  15. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +538 -304
  16. package/node_modules/aws-sdk/apis/glue-2017-03-31.paginators.json +5 -0
  17. package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +193 -161
  18. package/node_modules/aws-sdk/apis/pipes-2015-10-07.min.json +136 -53
  19. package/node_modules/aws-sdk/apis/resource-explorer-2-2022-07-28.min.json +69 -5
  20. package/node_modules/aws-sdk/apis/resource-explorer-2-2022-07-28.paginators.json +6 -0
  21. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +1 -3
  22. package/node_modules/aws-sdk/apis/servicecatalog-appregistry-2020-06-24.min.json +108 -46
  23. package/node_modules/aws-sdk/apis/states-2016-11-23.min.json +100 -22
  24. package/node_modules/aws-sdk/clients/backup.d.ts +279 -0
  25. package/node_modules/aws-sdk/clients/cleanrooms.d.ts +58 -10
  26. package/node_modules/aws-sdk/clients/connect.d.ts +13 -0
  27. package/node_modules/aws-sdk/clients/dataexchange.d.ts +1 -1
  28. package/node_modules/aws-sdk/clients/dms.d.ts +30 -6
  29. package/node_modules/aws-sdk/clients/ec2.d.ts +175 -97
  30. package/node_modules/aws-sdk/clients/ecs.d.ts +10 -6
  31. package/node_modules/aws-sdk/clients/emr.d.ts +1 -1
  32. package/node_modules/aws-sdk/clients/glue.d.ts +352 -2
  33. package/node_modules/aws-sdk/clients/iot.d.ts +46 -5
  34. package/node_modules/aws-sdk/clients/lambda.d.ts +1 -1
  35. package/node_modules/aws-sdk/clients/pipes.d.ts +143 -18
  36. package/node_modules/aws-sdk/clients/resourceexplorer2.d.ts +90 -9
  37. package/node_modules/aws-sdk/clients/sagemaker.d.ts +2 -2
  38. package/node_modules/aws-sdk/clients/servicecatalogappregistry.d.ts +91 -6
  39. package/node_modules/aws-sdk/clients/signer.d.ts +35 -35
  40. package/node_modules/aws-sdk/clients/stepfunctions.d.ts +123 -18
  41. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  42. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +20 -20
  43. package/node_modules/aws-sdk/dist/aws-sdk.js +576 -455
  44. package/node_modules/aws-sdk/dist/aws-sdk.min.js +79 -79
  45. package/node_modules/aws-sdk/lib/core.js +1 -1
  46. package/node_modules/aws-sdk/package.json +1 -1
  47. package/package.json +2 -2
@@ -1225,7 +1225,7 @@ declare namespace ECS {
1225
1225
  */
1226
1226
  desiredCount?: BoxedInteger;
1227
1227
  /**
1228
- * An identifier that you provide to ensure the idempotency of the request. It must be unique and is case sensitive. Up to 32 ASCII characters are allowed.
1228
+ * An identifier that you provide to ensure the idempotency of the request. It must be unique and is case sensitive. Up to 36 ASCII characters in the range of 33-126 (inclusive) are allowed.
1229
1229
  */
1230
1230
  clientToken?: String;
1231
1231
  /**
@@ -1345,7 +1345,7 @@ declare namespace ECS {
1345
1345
  */
1346
1346
  scale?: Scale;
1347
1347
  /**
1348
- * The identifier that you provide to ensure the idempotency of the request. It's case sensitive and must be unique. It can be up to 32 ASCII characters are allowed.
1348
+ * An identifier that you provide to ensure the idempotency of the request. It must be unique and is case sensitive. Up to 36 ASCII characters in the range of 33-126 (inclusive) are allowed.
1349
1349
  */
1350
1350
  clientToken?: String;
1351
1351
  /**
@@ -2730,7 +2730,7 @@ declare namespace ECS {
2730
2730
  */
2731
2731
  hostPort?: BoxedInteger;
2732
2732
  /**
2733
- * The protocol used for the port mapping. Valid values are tcp and udp. The default is tcp.
2733
+ * The protocol used for the port mapping. Valid values are tcp and udp. The default is tcp. protocol is immutable in a Service Connect service. Updating this field requires a service deletion and redeployment.
2734
2734
  */
2735
2735
  protocol?: TransportProtocol;
2736
2736
  /**
@@ -2738,7 +2738,7 @@ declare namespace ECS {
2738
2738
  */
2739
2739
  name?: String;
2740
2740
  /**
2741
- * The application protocol that's used for the port mapping. This parameter only applies to Service Connect. We recommend that you set this parameter to be consistent with the protocol that your application uses. If you set this parameter, Amazon ECS adds protocol-specific connection handling to the Service Connect proxy. If you set this parameter, Amazon ECS adds protocol-specific telemetry in the Amazon ECS console and CloudWatch. If you don't set a value for this parameter, then TCP is used. However, Amazon ECS doesn't add protocol-specific telemetry for TCP. Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
2741
+ * The application protocol that's used for the port mapping. This parameter only applies to Service Connect. We recommend that you set this parameter to be consistent with the protocol that your application uses. If you set this parameter, Amazon ECS adds protocol-specific connection handling to the Service Connect proxy. If you set this parameter, Amazon ECS adds protocol-specific telemetry in the Amazon ECS console and CloudWatch. If you don't set a value for this parameter, then TCP is used. However, Amazon ECS doesn't add protocol-specific telemetry for TCP. appProtocol is immutable in a Service Connect service. Updating this field requires a service deletion and redeployment. Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
2742
2742
  */
2743
2743
  appProtocol?: ApplicationProtocol;
2744
2744
  /**
@@ -3080,7 +3080,7 @@ declare namespace ECS {
3080
3080
  */
3081
3081
  referenceId?: String;
3082
3082
  /**
3083
- * An optional tag specified when a task is started. For example, if you automatically trigger a task to run a batch process job, you could apply a unique identifier for that job to your task with the startedBy parameter. You can then identify which tasks belong to that job by filtering the results of a ListTasks call with the startedBy value. Up to 36 letters (uppercase and lowercase), numbers, hyphens (-), and underscores (_) are allowed. If a task is started by an Amazon ECS service, then the startedBy parameter contains the deployment ID of the service that starts it.
3083
+ * An optional tag specified when a task is started. For example, if you automatically trigger a task to run a batch process job, you could apply a unique identifier for that job to your task with the startedBy parameter. You can then identify which tasks belong to that job by filtering the results of a ListTasks call with the startedBy value. Up to 128 letters (uppercase and lowercase), numbers, hyphens (-), and underscores (_) are allowed. If a task is started by an Amazon ECS service, then the startedBy parameter contains the deployment ID of the service that starts it.
3084
3084
  */
3085
3085
  startedBy?: String;
3086
3086
  /**
@@ -3091,10 +3091,14 @@ declare namespace ECS {
3091
3091
  * The family and revision (family:revision) or full ARN of the task definition to run. If a revision isn't specified, the latest ACTIVE revision is used. When you create a policy for run-task, you can set the resource to be the latest task definition revision, or a specific revision. The full ARN value must match the value that you specified as the Resource of the principal's permissions policy. When you specify the policy resource as the latest task definition version (by setting the Resource in the policy to arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName), then set this value to arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName. When you specify the policy resource as a specific task definition version (by setting the Resource in the policy to arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:1 or arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*), then set this value to arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:1. For more information, see Policy Resources for Amazon ECS in the Amazon Elastic Container Service developer Guide.
3092
3092
  */
3093
3093
  taskDefinition: String;
3094
+ /**
3095
+ * An identifier that you provide to ensure the idempotency of the request. It must be unique and is case sensitive. Up to 64 characters are allowed. The valid characters are characters in the range of 33-126, inclusive. For more information, see Ensuring idempotency.
3096
+ */
3097
+ clientToken?: String;
3094
3098
  }
3095
3099
  export interface RunTaskResponse {
3096
3100
  /**
3097
- * A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.
3101
+ * A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.
3098
3102
  */
3099
3103
  tasks?: Tasks;
3100
3104
  /**
@@ -1447,7 +1447,7 @@ declare namespace EMR {
1447
1447
  /**
1448
1448
  * The Amazon Resource Name (ARN) of the runtime role for interactive workload submission on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format: arn:partition:service:region:account:resource.
1449
1449
  */
1450
- ExecutionRoleArn: ArnType;
1450
+ ExecutionRoleArn?: ArnType;
1451
1451
  }
1452
1452
  export interface GetClusterSessionCredentialsOutput {
1453
1453
  /**
@@ -107,6 +107,14 @@ declare class Glue extends Service {
107
107
  * Retrieves partitions in a batch request.
108
108
  */
109
109
  batchGetPartition(callback?: (err: AWSError, data: Glue.Types.BatchGetPartitionResponse) => void): Request<Glue.Types.BatchGetPartitionResponse, AWSError>;
110
+ /**
111
+ * Returns the configuration for the specified table optimizers.
112
+ */
113
+ batchGetTableOptimizer(params: Glue.Types.BatchGetTableOptimizerRequest, callback?: (err: AWSError, data: Glue.Types.BatchGetTableOptimizerResponse) => void): Request<Glue.Types.BatchGetTableOptimizerResponse, AWSError>;
114
+ /**
115
+ * Returns the configuration for the specified table optimizers.
116
+ */
117
+ batchGetTableOptimizer(callback?: (err: AWSError, data: Glue.Types.BatchGetTableOptimizerResponse) => void): Request<Glue.Types.BatchGetTableOptimizerResponse, AWSError>;
110
118
  /**
111
119
  * Returns a list of resource metadata for a given list of trigger names. After calling the ListTriggers operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags.
112
120
  */
@@ -323,6 +331,14 @@ declare class Glue extends Service {
323
331
  * Creates a new table definition in the Data Catalog.
324
332
  */
325
333
  createTable(callback?: (err: AWSError, data: Glue.Types.CreateTableResponse) => void): Request<Glue.Types.CreateTableResponse, AWSError>;
334
+ /**
335
+ * Creates a new table optimizer for a specific function. compaction is the only currently supported optimizer type.
336
+ */
337
+ createTableOptimizer(params: Glue.Types.CreateTableOptimizerRequest, callback?: (err: AWSError, data: Glue.Types.CreateTableOptimizerResponse) => void): Request<Glue.Types.CreateTableOptimizerResponse, AWSError>;
338
+ /**
339
+ * Creates a new table optimizer for a specific function. compaction is the only currently supported optimizer type.
340
+ */
341
+ createTableOptimizer(callback?: (err: AWSError, data: Glue.Types.CreateTableOptimizerResponse) => void): Request<Glue.Types.CreateTableOptimizerResponse, AWSError>;
326
342
  /**
327
343
  * Creates a new trigger.
328
344
  */
@@ -515,6 +531,14 @@ declare class Glue extends Service {
515
531
  * Removes a table definition from the Data Catalog. After completing this operation, you no longer have access to the table versions and partitions that belong to the deleted table. Glue deletes these "orphaned" resources asynchronously in a timely manner, at the discretion of the service. To ensure the immediate deletion of all related resources, before calling DeleteTable, use DeleteTableVersion or BatchDeleteTableVersion, and DeletePartition or BatchDeletePartition, to delete any resources that belong to the table.
516
532
  */
517
533
  deleteTable(callback?: (err: AWSError, data: Glue.Types.DeleteTableResponse) => void): Request<Glue.Types.DeleteTableResponse, AWSError>;
534
+ /**
535
+ * Deletes an optimizer and all associated metadata for a table. The optimization will no longer be performed on the table.
536
+ */
537
+ deleteTableOptimizer(params: Glue.Types.DeleteTableOptimizerRequest, callback?: (err: AWSError, data: Glue.Types.DeleteTableOptimizerResponse) => void): Request<Glue.Types.DeleteTableOptimizerResponse, AWSError>;
538
+ /**
539
+ * Deletes an optimizer and all associated metadata for a table. The optimization will no longer be performed on the table.
540
+ */
541
+ deleteTableOptimizer(callback?: (err: AWSError, data: Glue.Types.DeleteTableOptimizerResponse) => void): Request<Glue.Types.DeleteTableOptimizerResponse, AWSError>;
518
542
  /**
519
543
  * Deletes a specified version of a table.
520
544
  */
@@ -947,6 +971,14 @@ declare class Glue extends Service {
947
971
  * Retrieves the Table definition in a Data Catalog for a specified table.
948
972
  */
949
973
  getTable(callback?: (err: AWSError, data: Glue.Types.GetTableResponse) => void): Request<Glue.Types.GetTableResponse, AWSError>;
974
+ /**
975
+ * Returns the configuration of all optimizers associated with a specified table.
976
+ */
977
+ getTableOptimizer(params: Glue.Types.GetTableOptimizerRequest, callback?: (err: AWSError, data: Glue.Types.GetTableOptimizerResponse) => void): Request<Glue.Types.GetTableOptimizerResponse, AWSError>;
978
+ /**
979
+ * Returns the configuration of all optimizers associated with a specified table.
980
+ */
981
+ getTableOptimizer(callback?: (err: AWSError, data: Glue.Types.GetTableOptimizerResponse) => void): Request<Glue.Types.GetTableOptimizerResponse, AWSError>;
950
982
  /**
951
983
  * Retrieves a specified version of a table.
952
984
  */
@@ -1203,6 +1235,14 @@ declare class Glue extends Service {
1203
1235
  * Lists statements for the session.
1204
1236
  */
1205
1237
  listStatements(callback?: (err: AWSError, data: Glue.Types.ListStatementsResponse) => void): Request<Glue.Types.ListStatementsResponse, AWSError>;
1238
+ /**
1239
+ * Lists the history of previous optimizer runs for a specific table.
1240
+ */
1241
+ listTableOptimizerRuns(params: Glue.Types.ListTableOptimizerRunsRequest, callback?: (err: AWSError, data: Glue.Types.ListTableOptimizerRunsResponse) => void): Request<Glue.Types.ListTableOptimizerRunsResponse, AWSError>;
1242
+ /**
1243
+ * Lists the history of previous optimizer runs for a specific table.
1244
+ */
1245
+ listTableOptimizerRuns(callback?: (err: AWSError, data: Glue.Types.ListTableOptimizerRunsResponse) => void): Request<Glue.Types.ListTableOptimizerRunsResponse, AWSError>;
1206
1246
  /**
1207
1247
  * Retrieves the names of all trigger resources in this Amazon Web Services account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names. This operation takes the optional Tags field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved.
1208
1248
  */
@@ -1332,11 +1372,11 @@ declare class Glue extends Service {
1332
1372
  */
1333
1373
  startCrawlerSchedule(callback?: (err: AWSError, data: Glue.Types.StartCrawlerScheduleResponse) => void): Request<Glue.Types.StartCrawlerScheduleResponse, AWSError>;
1334
1374
  /**
1335
- * Starts a recommendation run that is used to generate rules when you don't know what rules to write. Glue Data Quality analyzes the data and comes up with recommendations for a potential ruleset. You can then triage the ruleset and modify the generated ruleset to your liking.
1375
+ * Starts a recommendation run that is used to generate rules when you don't know what rules to write. Glue Data Quality analyzes the data and comes up with recommendations for a potential ruleset. You can then triage the ruleset and modify the generated ruleset to your liking. Recommendation runs are automatically deleted after 90 days.
1336
1376
  */
1337
1377
  startDataQualityRuleRecommendationRun(params: Glue.Types.StartDataQualityRuleRecommendationRunRequest, callback?: (err: AWSError, data: Glue.Types.StartDataQualityRuleRecommendationRunResponse) => void): Request<Glue.Types.StartDataQualityRuleRecommendationRunResponse, AWSError>;
1338
1378
  /**
1339
- * Starts a recommendation run that is used to generate rules when you don't know what rules to write. Glue Data Quality analyzes the data and comes up with recommendations for a potential ruleset. You can then triage the ruleset and modify the generated ruleset to your liking.
1379
+ * Starts a recommendation run that is used to generate rules when you don't know what rules to write. Glue Data Quality analyzes the data and comes up with recommendations for a potential ruleset. You can then triage the ruleset and modify the generated ruleset to your liking. Recommendation runs are automatically deleted after 90 days.
1340
1380
  */
1341
1381
  startDataQualityRuleRecommendationRun(callback?: (err: AWSError, data: Glue.Types.StartDataQualityRuleRecommendationRunResponse) => void): Request<Glue.Types.StartDataQualityRuleRecommendationRunResponse, AWSError>;
1342
1382
  /**
@@ -1603,6 +1643,14 @@ declare class Glue extends Service {
1603
1643
  * Updates a metadata table in the Data Catalog.
1604
1644
  */
1605
1645
  updateTable(callback?: (err: AWSError, data: Glue.Types.UpdateTableResponse) => void): Request<Glue.Types.UpdateTableResponse, AWSError>;
1646
+ /**
1647
+ * Updates the configuration for an existing table optimizer.
1648
+ */
1649
+ updateTableOptimizer(params: Glue.Types.UpdateTableOptimizerRequest, callback?: (err: AWSError, data: Glue.Types.UpdateTableOptimizerResponse) => void): Request<Glue.Types.UpdateTableOptimizerResponse, AWSError>;
1650
+ /**
1651
+ * Updates the configuration for an existing table optimizer.
1652
+ */
1653
+ updateTableOptimizer(callback?: (err: AWSError, data: Glue.Types.UpdateTableOptimizerResponse) => void): Request<Glue.Types.UpdateTableOptimizerResponse, AWSError>;
1606
1654
  /**
1607
1655
  * Updates a trigger definition.
1608
1656
  */
@@ -1845,6 +1893,7 @@ declare namespace Glue {
1845
1893
  */
1846
1894
  Mapping: Mappings;
1847
1895
  }
1896
+ export type ArnString = string;
1848
1897
  export interface AthenaConnectorSource {
1849
1898
  /**
1850
1899
  * The name of the data source.
@@ -2177,6 +2226,64 @@ declare namespace Glue {
2177
2226
  UnprocessedKeys?: BatchGetPartitionValueList;
2178
2227
  }
2179
2228
  export type BatchGetPartitionValueList = PartitionValueList[];
2229
+ export type BatchGetTableOptimizerEntries = BatchGetTableOptimizerEntry[];
2230
+ export interface BatchGetTableOptimizerEntry {
2231
+ /**
2232
+ * The Catalog ID of the table.
2233
+ */
2234
+ catalogId?: CatalogIdString;
2235
+ /**
2236
+ * The name of the database in the catalog in which the table resides.
2237
+ */
2238
+ databaseName?: databaseNameString;
2239
+ /**
2240
+ * The name of the table.
2241
+ */
2242
+ tableName?: tableNameString;
2243
+ /**
2244
+ * The type of table optimizer.
2245
+ */
2246
+ type?: TableOptimizerType;
2247
+ }
2248
+ export interface BatchGetTableOptimizerError {
2249
+ /**
2250
+ * An ErrorDetail object containing code and message details about the error.
2251
+ */
2252
+ error?: ErrorDetail;
2253
+ /**
2254
+ * The Catalog ID of the table.
2255
+ */
2256
+ catalogId?: CatalogIdString;
2257
+ /**
2258
+ * The name of the database in the catalog in which the table resides.
2259
+ */
2260
+ databaseName?: databaseNameString;
2261
+ /**
2262
+ * The name of the table.
2263
+ */
2264
+ tableName?: tableNameString;
2265
+ /**
2266
+ * The type of table optimizer.
2267
+ */
2268
+ type?: TableOptimizerType;
2269
+ }
2270
+ export type BatchGetTableOptimizerErrors = BatchGetTableOptimizerError[];
2271
+ export interface BatchGetTableOptimizerRequest {
2272
+ /**
2273
+ * A list of BatchGetTableOptimizerEntry objects specifying the table optimizers to retrieve.
2274
+ */
2275
+ Entries: BatchGetTableOptimizerEntries;
2276
+ }
2277
+ export interface BatchGetTableOptimizerResponse {
2278
+ /**
2279
+ * A list of BatchTableOptimizer objects.
2280
+ */
2281
+ TableOptimizers?: BatchTableOptimizers;
2282
+ /**
2283
+ * A list of errors from the operation.
2284
+ */
2285
+ Failures?: BatchGetTableOptimizerErrors;
2286
+ }
2180
2287
  export interface BatchGetTriggersRequest {
2181
2288
  /**
2182
2289
  * A list of trigger names, which may be the names returned from the ListTriggers operation.
@@ -2261,6 +2368,25 @@ declare namespace Glue {
2261
2368
  JobRunId?: IdString;
2262
2369
  }
2263
2370
  export type BatchStopJobRunSuccessfulSubmissionList = BatchStopJobRunSuccessfulSubmission[];
2371
+ export interface BatchTableOptimizer {
2372
+ /**
2373
+ * The Catalog ID of the table.
2374
+ */
2375
+ catalogId?: CatalogIdString;
2376
+ /**
2377
+ * The name of the database in the catalog in which the table resides.
2378
+ */
2379
+ databaseName?: databaseNameString;
2380
+ /**
2381
+ * The name of the table.
2382
+ */
2383
+ tableName?: tableNameString;
2384
+ /**
2385
+ * A TableOptimizer object that contains details on the configuration and last run of a table optimzer.
2386
+ */
2387
+ tableOptimizer?: TableOptimizer;
2388
+ }
2389
+ export type BatchTableOptimizers = BatchTableOptimizer[];
2264
2390
  export interface BatchUpdatePartitionFailureEntry {
2265
2391
  /**
2266
2392
  * A list of values defining the partitions.
@@ -4446,6 +4572,30 @@ declare namespace Glue {
4446
4572
  */
4447
4573
  Session?: Session;
4448
4574
  }
4575
+ export interface CreateTableOptimizerRequest {
4576
+ /**
4577
+ * The Catalog ID of the table.
4578
+ */
4579
+ CatalogId: CatalogIdString;
4580
+ /**
4581
+ * The name of the database in the catalog in which the table resides.
4582
+ */
4583
+ DatabaseName: NameString;
4584
+ /**
4585
+ * The name of the table.
4586
+ */
4587
+ TableName: NameString;
4588
+ /**
4589
+ * The type of table optimizer. Currently, the only valid value is compaction.
4590
+ */
4591
+ Type: TableOptimizerType;
4592
+ /**
4593
+ * A TableOptimizerConfiguration object representing the configuration of a table optimizer.
4594
+ */
4595
+ TableOptimizerConfiguration: TableOptimizerConfiguration;
4596
+ }
4597
+ export interface CreateTableOptimizerResponse {
4598
+ }
4449
4599
  export interface CreateTableRequest {
4450
4600
  /**
4451
4601
  * The ID of the Data Catalog in which to create the Table. If none is supplied, the Amazon Web Services account ID is used by default.
@@ -5429,6 +5579,26 @@ declare namespace Glue {
5429
5579
  */
5430
5580
  Id?: NameString;
5431
5581
  }
5582
+ export interface DeleteTableOptimizerRequest {
5583
+ /**
5584
+ * The Catalog ID of the table.
5585
+ */
5586
+ CatalogId: CatalogIdString;
5587
+ /**
5588
+ * The name of the database in the catalog in which the table resides.
5589
+ */
5590
+ DatabaseName: NameString;
5591
+ /**
5592
+ * The name of the table.
5593
+ */
5594
+ TableName: NameString;
5595
+ /**
5596
+ * The type of table optimizer.
5597
+ */
5598
+ Type: TableOptimizerType;
5599
+ }
5600
+ export interface DeleteTableOptimizerResponse {
5601
+ }
5432
5602
  export interface DeleteTableRequest {
5433
5603
  /**
5434
5604
  * The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.
@@ -7556,6 +7726,42 @@ declare namespace Glue {
7556
7726
  */
7557
7727
  Statement?: Statement;
7558
7728
  }
7729
+ export interface GetTableOptimizerRequest {
7730
+ /**
7731
+ * The Catalog ID of the table.
7732
+ */
7733
+ CatalogId: CatalogIdString;
7734
+ /**
7735
+ * The name of the database in the catalog in which the table resides.
7736
+ */
7737
+ DatabaseName: NameString;
7738
+ /**
7739
+ * The name of the table.
7740
+ */
7741
+ TableName: NameString;
7742
+ /**
7743
+ * The type of table optimizer.
7744
+ */
7745
+ Type: TableOptimizerType;
7746
+ }
7747
+ export interface GetTableOptimizerResponse {
7748
+ /**
7749
+ * The Catalog ID of the table.
7750
+ */
7751
+ CatalogId?: CatalogIdString;
7752
+ /**
7753
+ * The name of the database in the catalog in which the table resides.
7754
+ */
7755
+ DatabaseName?: NameString;
7756
+ /**
7757
+ * The name of the table.
7758
+ */
7759
+ TableName?: NameString;
7760
+ /**
7761
+ * The optimizer associated with the specified table.
7762
+ */
7763
+ TableOptimizer?: TableOptimizer;
7764
+ }
7559
7765
  export interface GetTableRequest {
7560
7766
  /**
7561
7767
  * The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.
@@ -9389,6 +9595,55 @@ declare namespace Glue {
9389
9595
  */
9390
9596
  NextToken?: OrchestrationToken;
9391
9597
  }
9598
+ export interface ListTableOptimizerRunsRequest {
9599
+ /**
9600
+ * The Catalog ID of the table.
9601
+ */
9602
+ CatalogId: CatalogIdString;
9603
+ /**
9604
+ * The name of the database in the catalog in which the table resides.
9605
+ */
9606
+ DatabaseName: NameString;
9607
+ /**
9608
+ * The name of the table.
9609
+ */
9610
+ TableName: NameString;
9611
+ /**
9612
+ * The type of table optimizer. Currently, the only valid value is compaction.
9613
+ */
9614
+ Type: TableOptimizerType;
9615
+ /**
9616
+ * The maximum number of optimizer runs to return on each call.
9617
+ */
9618
+ MaxResults?: MaxListTableOptimizerRunsTokenResults;
9619
+ /**
9620
+ * A continuation token, if this is a continuation call.
9621
+ */
9622
+ NextToken?: ListTableOptimizerRunsToken;
9623
+ }
9624
+ export interface ListTableOptimizerRunsResponse {
9625
+ /**
9626
+ * The Catalog ID of the table.
9627
+ */
9628
+ CatalogId?: CatalogIdString;
9629
+ /**
9630
+ * The name of the database in the catalog in which the table resides.
9631
+ */
9632
+ DatabaseName?: NameString;
9633
+ /**
9634
+ * The name of the table.
9635
+ */
9636
+ TableName?: NameString;
9637
+ /**
9638
+ * A continuation token for paginating the returned list of optimizer runs, returned if the current segment of the list is not the last.
9639
+ */
9640
+ NextToken?: ListTableOptimizerRunsToken;
9641
+ /**
9642
+ * A list of the optimizer runs associated with a table.
9643
+ */
9644
+ TableOptimizerRuns?: TableOptimizerRuns;
9645
+ }
9646
+ export type ListTableOptimizerRunsToken = string;
9392
9647
  export interface ListTriggersRequest {
9393
9648
  /**
9394
9649
  * A continuation token, if this is a continuation request.
@@ -9626,6 +9881,7 @@ declare namespace Glue {
9626
9881
  export type MaskValue = string;
9627
9882
  export type MatchCriteria = NameString[];
9628
9883
  export type MaxConcurrentRuns = number;
9884
+ export type MaxListTableOptimizerRunsTokenResults = number;
9629
9885
  export type MaxResultsNumber = number;
9630
9886
  export type MaxRetries = number;
9631
9887
  export interface Merge {
@@ -10613,6 +10869,24 @@ declare namespace Glue {
10613
10869
  export type RowTag = string;
10614
10870
  export type RulesetNames = NameString[];
10615
10871
  export type RunId = string;
10872
+ export interface RunMetrics {
10873
+ /**
10874
+ * The number of bytes removed by the compaction job run.
10875
+ */
10876
+ NumberOfBytesCompacted?: MessageString;
10877
+ /**
10878
+ * The number of files removed by the compaction job run.
10879
+ */
10880
+ NumberOfFilesCompacted?: MessageString;
10881
+ /**
10882
+ * The number of DPU hours consumed by the job.
10883
+ */
10884
+ NumberOfDpus?: MessageString;
10885
+ /**
10886
+ * The duration of the job in hours.
10887
+ */
10888
+ JobDurationInHour?: MessageString;
10889
+ }
10616
10890
  export interface RunStatementRequest {
10617
10891
  /**
10618
10892
  * The Session Id of the statement to be run.
@@ -12491,6 +12765,56 @@ declare namespace Glue {
12491
12765
  }
12492
12766
  export type TableList = Table[];
12493
12767
  export type TableName = string;
12768
+ export interface TableOptimizer {
12769
+ /**
12770
+ * The type of table optimizer. Currently, the only valid value is compaction.
12771
+ */
12772
+ type?: TableOptimizerType;
12773
+ /**
12774
+ * A TableOptimizerConfiguration object that was specified when creating or updating a table optimizer.
12775
+ */
12776
+ configuration?: TableOptimizerConfiguration;
12777
+ /**
12778
+ * A TableOptimizerRun object representing the last run of the table optimizer.
12779
+ */
12780
+ lastRun?: TableOptimizerRun;
12781
+ }
12782
+ export interface TableOptimizerConfiguration {
12783
+ /**
12784
+ * A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.
12785
+ */
12786
+ roleArn?: ArnString;
12787
+ /**
12788
+ * Whether table optimization is enabled.
12789
+ */
12790
+ enabled?: NullableBoolean;
12791
+ }
12792
+ export type TableOptimizerEventType = "starting"|"completed"|"failed"|"in_progress"|string;
12793
+ export interface TableOptimizerRun {
12794
+ /**
12795
+ * An event type representing the status of the table optimizer run.
12796
+ */
12797
+ eventType?: TableOptimizerEventType;
12798
+ /**
12799
+ * Represents the epoch timestamp at which the compaction job was started within Lake Formation.
12800
+ */
12801
+ startTimestamp?: TableOptimizerRunTimestamp;
12802
+ /**
12803
+ * Represents the epoch timestamp at which the compaction job ended.
12804
+ */
12805
+ endTimestamp?: TableOptimizerRunTimestamp;
12806
+ /**
12807
+ * A RunMetrics object containing metrics for the optimizer run.
12808
+ */
12809
+ metrics?: RunMetrics;
12810
+ /**
12811
+ * An error that occured during the optimizer run.
12812
+ */
12813
+ error?: MessageString;
12814
+ }
12815
+ export type TableOptimizerRunTimestamp = Date;
12816
+ export type TableOptimizerRuns = TableOptimizerRun[];
12817
+ export type TableOptimizerType = "compaction"|string;
12494
12818
  export type TablePrefix = string;
12495
12819
  export type TableTypeString = string;
12496
12820
  export interface TableVersion {
@@ -13431,6 +13755,30 @@ declare namespace Glue {
13431
13755
  */
13432
13756
  JobName?: NameString;
13433
13757
  }
13758
+ export interface UpdateTableOptimizerRequest {
13759
+ /**
13760
+ * The Catalog ID of the table.
13761
+ */
13762
+ CatalogId: CatalogIdString;
13763
+ /**
13764
+ * The name of the database in the catalog in which the table resides.
13765
+ */
13766
+ DatabaseName: NameString;
13767
+ /**
13768
+ * The name of the table.
13769
+ */
13770
+ TableName: NameString;
13771
+ /**
13772
+ * The type of table optimizer. Currently, the only valid value is compaction.
13773
+ */
13774
+ Type: TableOptimizerType;
13775
+ /**
13776
+ * A TableOptimizerConfiguration object representing the configuration of a table optimizer.
13777
+ */
13778
+ TableOptimizerConfiguration: TableOptimizerConfiguration;
13779
+ }
13780
+ export interface UpdateTableOptimizerResponse {
13781
+ }
13434
13782
  export interface UpdateTableRequest {
13435
13783
  /**
13436
13784
  * The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.
@@ -13773,6 +14121,8 @@ declare namespace Glue {
13773
14121
  */
13774
14122
  RowTag?: RowTag;
13775
14123
  }
14124
+ export type databaseNameString = string;
14125
+ export type tableNameString = string;
13776
14126
  /**
13777
14127
  * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
13778
14128
  */