cdk-lambda-subminute 2.0.298 → 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 (34) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +14 -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/glue-2017-03-31.min.json +538 -304
  10. package/node_modules/aws-sdk/apis/glue-2017-03-31.paginators.json +5 -0
  11. package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +193 -161
  12. package/node_modules/aws-sdk/apis/pipes-2015-10-07.min.json +136 -53
  13. package/node_modules/aws-sdk/apis/resource-explorer-2-2022-07-28.min.json +69 -5
  14. package/node_modules/aws-sdk/apis/resource-explorer-2-2022-07-28.paginators.json +6 -0
  15. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +1 -3
  16. package/node_modules/aws-sdk/apis/states-2016-11-23.min.json +100 -22
  17. package/node_modules/aws-sdk/clients/backup.d.ts +279 -0
  18. package/node_modules/aws-sdk/clients/cleanrooms.d.ts +58 -10
  19. package/node_modules/aws-sdk/clients/connect.d.ts +13 -0
  20. package/node_modules/aws-sdk/clients/glue.d.ts +352 -2
  21. package/node_modules/aws-sdk/clients/iot.d.ts +46 -5
  22. package/node_modules/aws-sdk/clients/lambda.d.ts +1 -1
  23. package/node_modules/aws-sdk/clients/pipes.d.ts +143 -18
  24. package/node_modules/aws-sdk/clients/resourceexplorer2.d.ts +90 -9
  25. package/node_modules/aws-sdk/clients/sagemaker.d.ts +2 -2
  26. package/node_modules/aws-sdk/clients/signer.d.ts +35 -35
  27. package/node_modules/aws-sdk/clients/stepfunctions.d.ts +123 -18
  28. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  29. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +13 -13
  30. package/node_modules/aws-sdk/dist/aws-sdk.js +216 -174
  31. package/node_modules/aws-sdk/dist/aws-sdk.min.js +79 -79
  32. package/node_modules/aws-sdk/lib/core.js +1 -1
  33. package/node_modules/aws-sdk/package.json +1 -1
  34. package/package.json +2 -2
@@ -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
  */
@@ -348,11 +348,11 @@ declare class Iot extends Service {
348
348
  */
349
349
  createThing(callback?: (err: AWSError, data: Iot.Types.CreateThingResponse) => void): Request<Iot.Types.CreateThingResponse, AWSError>;
350
350
  /**
351
- * Create a thing group. This is a control plane operation. See Authorization for information about authorizing control plane actions. Requires permission to access the CreateThingGroup action.
351
+ * Create a thing group. This is a control plane operation. See Authorization for information about authorizing control plane actions. If the ThingGroup that you create has the exact same attributes as an existing ThingGroup, you will get a 200 success response. Requires permission to access the CreateThingGroup action.
352
352
  */
353
353
  createThingGroup(params: Iot.Types.CreateThingGroupRequest, callback?: (err: AWSError, data: Iot.Types.CreateThingGroupResponse) => void): Request<Iot.Types.CreateThingGroupResponse, AWSError>;
354
354
  /**
355
- * Create a thing group. This is a control plane operation. See Authorization for information about authorizing control plane actions. Requires permission to access the CreateThingGroup action.
355
+ * Create a thing group. This is a control plane operation. See Authorization for information about authorizing control plane actions. If the ThingGroup that you create has the exact same attributes as an existing ThingGroup, you will get a 200 success response. Requires permission to access the CreateThingGroup action.
356
356
  */
357
357
  createThingGroup(callback?: (err: AWSError, data: Iot.Types.CreateThingGroupResponse) => void): Request<Iot.Types.CreateThingGroupResponse, AWSError>;
358
358
  /**
@@ -2854,6 +2854,10 @@ declare namespace Iot {
2854
2854
  * Suppresses alerts.
2855
2855
  */
2856
2856
  suppressAlerts?: SuppressAlerts;
2857
+ /**
2858
+ * Value indicates exporting metrics related to the behavior when it is true.
2859
+ */
2860
+ exportMetric?: ExportMetric;
2857
2861
  }
2858
2862
  export interface BehaviorCriteria {
2859
2863
  /**
@@ -4279,6 +4283,10 @@ declare namespace Iot {
4279
4283
  * Metadata that can be used to manage the security profile.
4280
4284
  */
4281
4285
  tags?: TagList;
4286
+ /**
4287
+ * Specifies the MQTT topic and role ARN required for metric export.
4288
+ */
4289
+ metricsExportConfig?: MetricsExportConfig;
4282
4290
  }
4283
4291
  export interface CreateSecurityProfileResponse {
4284
4292
  /**
@@ -4621,6 +4629,7 @@ declare namespace Iot {
4621
4629
  */
4622
4630
  jobTemplateId: JobTemplateId;
4623
4631
  }
4632
+ export type DeleteMetricsExportConfig = boolean;
4624
4633
  export interface DeleteMitigationActionRequest {
4625
4634
  /**
4626
4635
  * The name of the mitigation action that you want to delete.
@@ -5591,6 +5600,10 @@ declare namespace Iot {
5591
5600
  * The time the security profile was last modified.
5592
5601
  */
5593
5602
  lastModifiedDate?: Timestamp;
5603
+ /**
5604
+ * Specifies the MQTT topic and role ARN required for metric export.
5605
+ */
5606
+ metricsExportConfig?: MetricsExportConfig;
5594
5607
  }
5595
5608
  export interface DescribeStreamRequest {
5596
5609
  /**
@@ -6168,6 +6181,7 @@ declare namespace Iot {
6168
6181
  */
6169
6182
  rateIncreaseCriteria: RateIncreaseCriteria;
6170
6183
  }
6184
+ export type ExportMetric = boolean;
6171
6185
  export type FailedChecksCount = number;
6172
6186
  export type FailedFindingsCount = number;
6173
6187
  export type FailedThings = number;
@@ -8998,6 +9012,10 @@ declare namespace Iot {
8998
9012
  * The dimension of a metric. This can't be used with custom metrics.
8999
9013
  */
9000
9014
  metricDimension?: MetricDimension;
9015
+ /**
9016
+ * Value added in both Behavior and AdditionalMetricsToRetainV2 to indicate if Device Defender Detect should export the corresponding metrics.
9017
+ */
9018
+ exportMetric?: ExportMetric;
9001
9019
  }
9002
9020
  export interface MetricValue {
9003
9021
  /**
@@ -9025,6 +9043,16 @@ declare namespace Iot {
9025
9043
  */
9026
9044
  strings?: StringList;
9027
9045
  }
9046
+ export interface MetricsExportConfig {
9047
+ /**
9048
+ * The MQTT topic that Device Defender Detect should publish messages to for metrics export.
9049
+ */
9050
+ mqttTopic: MqttTopic;
9051
+ /**
9052
+ * This role ARN has permission to publish MQTT messages, after which Device Defender Detect can assume the role and publish messages on your behalf.
9053
+ */
9054
+ roleArn: RoleArn;
9055
+ }
9028
9056
  export type Minimum = number;
9029
9057
  export type MinimumNumberOfExecutedThings = number;
9030
9058
  export type MissingContextValue = string;
@@ -9138,6 +9166,7 @@ declare namespace Iot {
9138
9166
  userProperties?: UserProperties;
9139
9167
  }
9140
9168
  export type MqttPassword = Buffer|Uint8Array|Blob|string;
9169
+ export type MqttTopic = string;
9141
9170
  export type MqttUsername = string;
9142
9171
  export type NamedShadowIndexingMode = "OFF"|"ON"|string;
9143
9172
  export type NamedShadowNamesFilter = ShadowName[];
@@ -10067,7 +10096,7 @@ declare namespace Iot {
10067
10096
  */
10068
10097
  nextToken?: NextToken;
10069
10098
  /**
10070
- * The maximum number of results to return at one time.
10099
+ * The maximum number of results to return at one time. The response might contain fewer results but will never contain more.
10071
10100
  */
10072
10101
  maxResults?: QueryMaxResults;
10073
10102
  /**
@@ -10827,7 +10856,7 @@ declare namespace Iot {
10827
10856
  */
10828
10857
  thingGroupIndexingMode: ThingGroupIndexingMode;
10829
10858
  /**
10830
- * Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.
10859
+ * Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide. You can't modify managed fields by updating fleet indexing configuration.
10831
10860
  */
10832
10861
  managedFields?: Fields;
10833
10862
  /**
@@ -10884,7 +10913,7 @@ declare namespace Iot {
10884
10913
  */
10885
10914
  namedShadowIndexingMode?: NamedShadowIndexingMode;
10886
10915
  /**
10887
- * Contains fields that are indexed and whose types are already known by the Fleet Indexing service.
10916
+ * Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide. You can't modify managed fields by updating fleet indexing configuration.
10888
10917
  */
10889
10918
  managedFields?: Fields;
10890
10919
  /**
@@ -11817,6 +11846,14 @@ declare namespace Iot {
11817
11846
  * The expected version of the security profile. A new version is generated whenever the security profile is updated. If you specify a value that is different from the actual version, a VersionConflictException is thrown.
11818
11847
  */
11819
11848
  expectedVersion?: OptionalVersion;
11849
+ /**
11850
+ * Specifies the MQTT topic and role ARN required for metric export.
11851
+ */
11852
+ metricsExportConfig?: MetricsExportConfig;
11853
+ /**
11854
+ * Set the value as true to delete metrics export related configurations.
11855
+ */
11856
+ deleteMetricsExportConfig?: DeleteMetricsExportConfig;
11820
11857
  }
11821
11858
  export interface UpdateSecurityProfileResponse {
11822
11859
  /**
@@ -11859,6 +11896,10 @@ declare namespace Iot {
11859
11896
  * The time the security profile was last modified.
11860
11897
  */
11861
11898
  lastModifiedDate?: Timestamp;
11899
+ /**
11900
+ * Specifies the MQTT topic and role ARN required for metric export.
11901
+ */
11902
+ metricsExportConfig?: MetricsExportConfig;
11862
11903
  }
11863
11904
  export interface UpdateStreamRequest {
11864
11905
  /**
@@ -2888,7 +2888,7 @@ declare namespace Lambda {
2888
2888
  export type ResourceArn = string;
2889
2889
  export type ResponseStreamingInvocationType = "RequestResponse"|"DryRun"|string;
2890
2890
  export type RoleArn = string;
2891
- export type Runtime = "nodejs"|"nodejs4.3"|"nodejs6.10"|"nodejs8.10"|"nodejs10.x"|"nodejs12.x"|"nodejs14.x"|"nodejs16.x"|"java8"|"java8.al2"|"java11"|"python2.7"|"python3.6"|"python3.7"|"python3.8"|"python3.9"|"dotnetcore1.0"|"dotnetcore2.0"|"dotnetcore2.1"|"dotnetcore3.1"|"dotnet6"|"nodejs4.3-edge"|"go1.x"|"ruby2.5"|"ruby2.7"|"provided"|"provided.al2"|"nodejs18.x"|"python3.10"|"java17"|"ruby3.2"|"python3.11"|"nodejs20.x"|"provided.al2023"|string;
2891
+ export type Runtime = "nodejs"|"nodejs4.3"|"nodejs6.10"|"nodejs8.10"|"nodejs10.x"|"nodejs12.x"|"nodejs14.x"|"nodejs16.x"|"java8"|"java8.al2"|"java11"|"python2.7"|"python3.6"|"python3.7"|"python3.8"|"python3.9"|"dotnetcore1.0"|"dotnetcore2.0"|"dotnetcore2.1"|"dotnetcore3.1"|"dotnet6"|"nodejs4.3-edge"|"go1.x"|"ruby2.5"|"ruby2.7"|"provided"|"provided.al2"|"nodejs18.x"|"python3.10"|"java17"|"ruby3.2"|"python3.11"|"nodejs20.x"|"provided.al2023"|"python3.12"|string;
2892
2892
  export type RuntimeVersionArn = string;
2893
2893
  export interface RuntimeVersionConfig {
2894
2894
  /**