aws-sdk 2.702.0 → 2.706.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 (45) hide show
  1. package/CHANGELOG.md +24 -1
  2. package/README.md +1 -1
  3. package/apis/amplify-2017-07-25.min.json +135 -73
  4. package/apis/backup-2018-11-15.min.json +64 -31
  5. package/apis/cloudformation-2010-05-15.min.json +40 -18
  6. package/apis/codecommit-2015-04-13.min.json +96 -24
  7. package/apis/codecommit-2015-04-13.paginators.json +5 -0
  8. package/apis/cognito-idp-2016-04-18.min.json +4 -2
  9. package/apis/ec2-2016-11-15.min.json +5 -1
  10. package/apis/elasticmapreduce-2009-03-31.min.json +103 -96
  11. package/apis/fsx-2018-03-01.min.json +59 -15
  12. package/apis/glue-2017-03-31.min.json +449 -60
  13. package/apis/honeycode-2020-03-01.examples.json +5 -0
  14. package/apis/honeycode-2020-03-01.min.json +182 -0
  15. package/apis/honeycode-2020-03-01.paginators.json +4 -0
  16. package/apis/mediatailor-2018-04-23.min.json +42 -23
  17. package/apis/metadata.json +3 -0
  18. package/apis/quicksight-2018-04-01.min.json +66 -53
  19. package/apis/sagemaker-2017-07-24.min.json +146 -129
  20. package/clients/all.d.ts +1 -0
  21. package/clients/all.js +2 -1
  22. package/clients/amplify.d.ts +413 -373
  23. package/clients/autoscaling.d.ts +35 -35
  24. package/clients/backup.d.ts +68 -15
  25. package/clients/cloudformation.d.ts +35 -3
  26. package/clients/codecommit.d.ts +105 -6
  27. package/clients/dms.d.ts +48 -48
  28. package/clients/ec2.d.ts +53 -49
  29. package/clients/emr.d.ts +18 -2
  30. package/clients/fsx.d.ts +63 -26
  31. package/clients/glue.d.ts +415 -0
  32. package/clients/honeycode.d.ts +190 -0
  33. package/clients/honeycode.js +18 -0
  34. package/clients/iam.d.ts +15 -15
  35. package/clients/mediatailor.d.ts +26 -0
  36. package/clients/organizations.d.ts +21 -21
  37. package/clients/quicksight.d.ts +33 -19
  38. package/clients/sagemaker.d.ts +23 -3
  39. package/dist/aws-sdk-core-react-native.js +2 -2
  40. package/dist/aws-sdk-react-native.js +54 -17
  41. package/dist/aws-sdk.js +259 -144
  42. package/dist/aws-sdk.min.js +74 -73
  43. package/lib/config_service_placeholders.d.ts +2 -0
  44. package/lib/core.js +1 -1
  45. package/package.json +1 -1
package/clients/glue.d.ts CHANGED
@@ -235,6 +235,22 @@ declare class Glue extends Service {
235
235
  * Removes a classifier from the Data Catalog.
236
236
  */
237
237
  deleteClassifier(callback?: (err: AWSError, data: Glue.Types.DeleteClassifierResponse) => void): Request<Glue.Types.DeleteClassifierResponse, AWSError>;
238
+ /**
239
+ * Delete the partition column statistics of a column.
240
+ */
241
+ deleteColumnStatisticsForPartition(params: Glue.Types.DeleteColumnStatisticsForPartitionRequest, callback?: (err: AWSError, data: Glue.Types.DeleteColumnStatisticsForPartitionResponse) => void): Request<Glue.Types.DeleteColumnStatisticsForPartitionResponse, AWSError>;
242
+ /**
243
+ * Delete the partition column statistics of a column.
244
+ */
245
+ deleteColumnStatisticsForPartition(callback?: (err: AWSError, data: Glue.Types.DeleteColumnStatisticsForPartitionResponse) => void): Request<Glue.Types.DeleteColumnStatisticsForPartitionResponse, AWSError>;
246
+ /**
247
+ * Retrieves table statistics of columns.
248
+ */
249
+ deleteColumnStatisticsForTable(params: Glue.Types.DeleteColumnStatisticsForTableRequest, callback?: (err: AWSError, data: Glue.Types.DeleteColumnStatisticsForTableResponse) => void): Request<Glue.Types.DeleteColumnStatisticsForTableResponse, AWSError>;
250
+ /**
251
+ * Retrieves table statistics of columns.
252
+ */
253
+ deleteColumnStatisticsForTable(callback?: (err: AWSError, data: Glue.Types.DeleteColumnStatisticsForTableResponse) => void): Request<Glue.Types.DeleteColumnStatisticsForTableResponse, AWSError>;
238
254
  /**
239
255
  * Deletes a connection from the Data Catalog.
240
256
  */
@@ -371,6 +387,22 @@ declare class Glue extends Service {
371
387
  * Lists all classifier objects in the Data Catalog.
372
388
  */
373
389
  getClassifiers(callback?: (err: AWSError, data: Glue.Types.GetClassifiersResponse) => void): Request<Glue.Types.GetClassifiersResponse, AWSError>;
390
+ /**
391
+ * Retrieves partition statistics of columns.
392
+ */
393
+ getColumnStatisticsForPartition(params: Glue.Types.GetColumnStatisticsForPartitionRequest, callback?: (err: AWSError, data: Glue.Types.GetColumnStatisticsForPartitionResponse) => void): Request<Glue.Types.GetColumnStatisticsForPartitionResponse, AWSError>;
394
+ /**
395
+ * Retrieves partition statistics of columns.
396
+ */
397
+ getColumnStatisticsForPartition(callback?: (err: AWSError, data: Glue.Types.GetColumnStatisticsForPartitionResponse) => void): Request<Glue.Types.GetColumnStatisticsForPartitionResponse, AWSError>;
398
+ /**
399
+ * Retrieves table statistics of columns.
400
+ */
401
+ getColumnStatisticsForTable(params: Glue.Types.GetColumnStatisticsForTableRequest, callback?: (err: AWSError, data: Glue.Types.GetColumnStatisticsForTableResponse) => void): Request<Glue.Types.GetColumnStatisticsForTableResponse, AWSError>;
402
+ /**
403
+ * Retrieves table statistics of columns.
404
+ */
405
+ getColumnStatisticsForTable(callback?: (err: AWSError, data: Glue.Types.GetColumnStatisticsForTableResponse) => void): Request<Glue.Types.GetColumnStatisticsForTableResponse, AWSError>;
374
406
  /**
375
407
  * Retrieves a connection definition from the Data Catalog.
376
408
  */
@@ -915,6 +947,22 @@ declare class Glue extends Service {
915
947
  * Modifies an existing classifier (a GrokClassifier, an XMLClassifier, a JsonClassifier, or a CsvClassifier, depending on which field is present).
916
948
  */
917
949
  updateClassifier(callback?: (err: AWSError, data: Glue.Types.UpdateClassifierResponse) => void): Request<Glue.Types.UpdateClassifierResponse, AWSError>;
950
+ /**
951
+ * Creates or updates partition statistics of columns.
952
+ */
953
+ updateColumnStatisticsForPartition(params: Glue.Types.UpdateColumnStatisticsForPartitionRequest, callback?: (err: AWSError, data: Glue.Types.UpdateColumnStatisticsForPartitionResponse) => void): Request<Glue.Types.UpdateColumnStatisticsForPartitionResponse, AWSError>;
954
+ /**
955
+ * Creates or updates partition statistics of columns.
956
+ */
957
+ updateColumnStatisticsForPartition(callback?: (err: AWSError, data: Glue.Types.UpdateColumnStatisticsForPartitionResponse) => void): Request<Glue.Types.UpdateColumnStatisticsForPartitionResponse, AWSError>;
958
+ /**
959
+ * Creates or updates table statistics of columns.
960
+ */
961
+ updateColumnStatisticsForTable(params: Glue.Types.UpdateColumnStatisticsForTableRequest, callback?: (err: AWSError, data: Glue.Types.UpdateColumnStatisticsForTableResponse) => void): Request<Glue.Types.UpdateColumnStatisticsForTableResponse, AWSError>;
962
+ /**
963
+ * Creates or updates table statistics of columns.
964
+ */
965
+ updateColumnStatisticsForTable(callback?: (err: AWSError, data: Glue.Types.UpdateColumnStatisticsForTableResponse) => void): Request<Glue.Types.UpdateColumnStatisticsForTableResponse, AWSError>;
918
966
  /**
919
967
  * Updates a connection definition in the Data Catalog.
920
968
  */
@@ -1316,7 +1364,36 @@ declare namespace Glue {
1316
1364
  JobRunId?: IdString;
1317
1365
  }
1318
1366
  export type BatchStopJobRunSuccessfulSubmissionList = BatchStopJobRunSuccessfulSubmission[];
1367
+ export interface BinaryColumnStatisticsData {
1368
+ /**
1369
+ * Maximum length of the column.
1370
+ */
1371
+ MaximumLength: NonNegativeLong;
1372
+ /**
1373
+ * Average length of the column.
1374
+ */
1375
+ AverageLength: NonNegativeDouble;
1376
+ /**
1377
+ * Number of nulls.
1378
+ */
1379
+ NumberOfNulls: NonNegativeLong;
1380
+ }
1381
+ export type _Blob = Buffer|Uint8Array|Blob|string;
1319
1382
  export type Boolean = boolean;
1383
+ export interface BooleanColumnStatisticsData {
1384
+ /**
1385
+ * Number of true value.
1386
+ */
1387
+ NumberOfTrues: NonNegativeLong;
1388
+ /**
1389
+ * Number of false value.
1390
+ */
1391
+ NumberOfFalses: NonNegativeLong;
1392
+ /**
1393
+ * Number of nulls.
1394
+ */
1395
+ NumberOfNulls: NonNegativeLong;
1396
+ }
1320
1397
  export type BooleanNullable = boolean;
1321
1398
  export type BooleanValue = boolean;
1322
1399
  export type BoundedPartitionValueList = ValueString[];
@@ -1484,8 +1561,84 @@ declare namespace Glue {
1484
1561
  */
1485
1562
  Parameters?: ParametersMap;
1486
1563
  }
1564
+ export interface ColumnError {
1565
+ /**
1566
+ * The name of the column.
1567
+ */
1568
+ ColumnName?: NameString;
1569
+ /**
1570
+ * The error message occurred during operation.
1571
+ */
1572
+ Error?: ErrorDetail;
1573
+ }
1574
+ export type ColumnErrors = ColumnError[];
1487
1575
  export type ColumnList = Column[];
1488
1576
  export type ColumnNameString = string;
1577
+ export interface ColumnStatistics {
1578
+ /**
1579
+ * The name of the column.
1580
+ */
1581
+ ColumnName: NameString;
1582
+ /**
1583
+ * The type of the column.
1584
+ */
1585
+ ColumnType: TypeString;
1586
+ /**
1587
+ * The analyzed time of the column statistics.
1588
+ */
1589
+ AnalyzedTime: Timestamp;
1590
+ /**
1591
+ * The statistics of the column.
1592
+ */
1593
+ StatisticsData: ColumnStatisticsData;
1594
+ }
1595
+ export interface ColumnStatisticsData {
1596
+ /**
1597
+ * The name of the column.
1598
+ */
1599
+ Type: ColumnStatisticsType;
1600
+ /**
1601
+ * Boolean Column Statistics Data.
1602
+ */
1603
+ BooleanColumnStatisticsData?: BooleanColumnStatisticsData;
1604
+ /**
1605
+ * Date Column Statistics Data.
1606
+ */
1607
+ DateColumnStatisticsData?: DateColumnStatisticsData;
1608
+ /**
1609
+ * Decimal Column Statistics Data.
1610
+ */
1611
+ DecimalColumnStatisticsData?: DecimalColumnStatisticsData;
1612
+ /**
1613
+ * Double Column Statistics Data.
1614
+ */
1615
+ DoubleColumnStatisticsData?: DoubleColumnStatisticsData;
1616
+ /**
1617
+ * Long Column Statistics Data.
1618
+ */
1619
+ LongColumnStatisticsData?: LongColumnStatisticsData;
1620
+ /**
1621
+ * String Column Statistics Data.
1622
+ */
1623
+ StringColumnStatisticsData?: StringColumnStatisticsData;
1624
+ /**
1625
+ * Binary Column Statistics Data.
1626
+ */
1627
+ BinaryColumnStatisticsData?: BinaryColumnStatisticsData;
1628
+ }
1629
+ export interface ColumnStatisticsError {
1630
+ /**
1631
+ * The ColumnStatistics of the column.
1632
+ */
1633
+ ColumnStatistics?: ColumnStatistics;
1634
+ /**
1635
+ * The error message occurred during operation.
1636
+ */
1637
+ Error?: ErrorDetail;
1638
+ }
1639
+ export type ColumnStatisticsErrors = ColumnStatisticsError[];
1640
+ export type ColumnStatisticsList = ColumnStatistics[];
1641
+ export type ColumnStatisticsType = "BOOLEAN"|"DATE"|"DECIMAL"|"DOUBLE"|"LONG"|"STRING"|"BINARY"|string;
1489
1642
  export type ColumnTypeString = string;
1490
1643
  export type ColumnValueStringList = ColumnValuesString[];
1491
1644
  export type ColumnValuesString = string;
@@ -2508,6 +2661,52 @@ declare namespace Glue {
2508
2661
  }
2509
2662
  export type DatabaseList = Database[];
2510
2663
  export type DatabaseName = string;
2664
+ export interface DateColumnStatisticsData {
2665
+ /**
2666
+ * Minimum value of the column.
2667
+ */
2668
+ MinimumValue?: Timestamp;
2669
+ /**
2670
+ * Maximum value of the column.
2671
+ */
2672
+ MaximumValue?: Timestamp;
2673
+ /**
2674
+ * Number of nulls.
2675
+ */
2676
+ NumberOfNulls: NonNegativeLong;
2677
+ /**
2678
+ * Number of distinct values.
2679
+ */
2680
+ NumberOfDistinctValues: NonNegativeLong;
2681
+ }
2682
+ export interface DecimalColumnStatisticsData {
2683
+ /**
2684
+ * Minimum value of the column.
2685
+ */
2686
+ MinimumValue?: DecimalNumber;
2687
+ /**
2688
+ * Maximum value of the column.
2689
+ */
2690
+ MaximumValue?: DecimalNumber;
2691
+ /**
2692
+ * Number of nulls.
2693
+ */
2694
+ NumberOfNulls: NonNegativeLong;
2695
+ /**
2696
+ * Number of distinct values.
2697
+ */
2698
+ NumberOfDistinctValues: NonNegativeLong;
2699
+ }
2700
+ export interface DecimalNumber {
2701
+ /**
2702
+ * The unscaled numeric value.
2703
+ */
2704
+ UnscaledValue: _Blob;
2705
+ /**
2706
+ * The scale that determines where the decimal point falls in the unscaled value.
2707
+ */
2708
+ Scale: Integer;
2709
+ }
2511
2710
  export type DeleteBehavior = "LOG"|"DELETE_FROM_DATABASE"|"DEPRECATE_IN_DATABASE"|string;
2512
2711
  export interface DeleteClassifierRequest {
2513
2712
  /**
@@ -2517,6 +2716,50 @@ declare namespace Glue {
2517
2716
  }
2518
2717
  export interface DeleteClassifierResponse {
2519
2718
  }
2719
+ export interface DeleteColumnStatisticsForPartitionRequest {
2720
+ /**
2721
+ * The ID of the Data Catalog where the partitions in question reside. If none is supplied, the AWS account ID is used by default.
2722
+ */
2723
+ CatalogId?: CatalogIdString;
2724
+ /**
2725
+ * The name of the catalog database where the partitions reside.
2726
+ */
2727
+ DatabaseName: NameString;
2728
+ /**
2729
+ * The name of the partitions' table.
2730
+ */
2731
+ TableName: NameString;
2732
+ /**
2733
+ * A list of partition values identifying the partition.
2734
+ */
2735
+ PartitionValues: ValueStringList;
2736
+ /**
2737
+ * Name of the column.
2738
+ */
2739
+ ColumnName: NameString;
2740
+ }
2741
+ export interface DeleteColumnStatisticsForPartitionResponse {
2742
+ }
2743
+ export interface DeleteColumnStatisticsForTableRequest {
2744
+ /**
2745
+ * The ID of the Data Catalog where the partitions in question reside. If none is supplied, the AWS account ID is used by default.
2746
+ */
2747
+ CatalogId?: CatalogIdString;
2748
+ /**
2749
+ * The name of the catalog database where the partitions reside.
2750
+ */
2751
+ DatabaseName: NameString;
2752
+ /**
2753
+ * The name of the partitions' table.
2754
+ */
2755
+ TableName: NameString;
2756
+ /**
2757
+ * The name of the column.
2758
+ */
2759
+ ColumnName: NameString;
2760
+ }
2761
+ export interface DeleteColumnStatisticsForTableResponse {
2762
+ }
2520
2763
  export type DeleteConnectionNameList = NameString[];
2521
2764
  export interface DeleteConnectionRequest {
2522
2765
  /**
@@ -2811,6 +3054,25 @@ declare namespace Glue {
2811
3054
  export type DevEndpointList = DevEndpoint[];
2812
3055
  export type DevEndpointNameList = NameString[];
2813
3056
  export type DevEndpointNames = GenericString[];
3057
+ export type Double = number;
3058
+ export interface DoubleColumnStatisticsData {
3059
+ /**
3060
+ * Minimum value of the column.
3061
+ */
3062
+ MinimumValue?: Double;
3063
+ /**
3064
+ * Maximum value of the column.
3065
+ */
3066
+ MaximumValue?: Double;
3067
+ /**
3068
+ * Number of nulls.
3069
+ */
3070
+ NumberOfNulls: NonNegativeLong;
3071
+ /**
3072
+ * Number of distinct values.
3073
+ */
3074
+ NumberOfDistinctValues: NonNegativeLong;
3075
+ }
2814
3076
  export interface DynamoDBTarget {
2815
3077
  /**
2816
3078
  * The name of the DynamoDB table to crawl.
@@ -3001,6 +3263,67 @@ declare namespace Glue {
3001
3263
  */
3002
3264
  NextToken?: Token;
3003
3265
  }
3266
+ export type GetColumnNamesList = NameString[];
3267
+ export interface GetColumnStatisticsForPartitionRequest {
3268
+ /**
3269
+ * The ID of the Data Catalog where the partitions in question reside. If none is supplied, the AWS account ID is used by default.
3270
+ */
3271
+ CatalogId?: CatalogIdString;
3272
+ /**
3273
+ * The name of the catalog database where the partitions reside.
3274
+ */
3275
+ DatabaseName: NameString;
3276
+ /**
3277
+ * The name of the partitions' table.
3278
+ */
3279
+ TableName: NameString;
3280
+ /**
3281
+ * A list of partition values identifying the partition.
3282
+ */
3283
+ PartitionValues: ValueStringList;
3284
+ /**
3285
+ * A list of the column names.
3286
+ */
3287
+ ColumnNames: GetColumnNamesList;
3288
+ }
3289
+ export interface GetColumnStatisticsForPartitionResponse {
3290
+ /**
3291
+ * List of ColumnStatistics that failed to be retrieved.
3292
+ */
3293
+ ColumnStatisticsList?: ColumnStatisticsList;
3294
+ /**
3295
+ * Error occurred during retrieving column statistics data.
3296
+ */
3297
+ Errors?: ColumnErrors;
3298
+ }
3299
+ export interface GetColumnStatisticsForTableRequest {
3300
+ /**
3301
+ * The ID of the Data Catalog where the partitions in question reside. If none is supplied, the AWS account ID is used by default.
3302
+ */
3303
+ CatalogId?: CatalogIdString;
3304
+ /**
3305
+ * The name of the catalog database where the partitions reside.
3306
+ */
3307
+ DatabaseName: NameString;
3308
+ /**
3309
+ * The name of the partitions' table.
3310
+ */
3311
+ TableName: NameString;
3312
+ /**
3313
+ * A list of the column names.
3314
+ */
3315
+ ColumnNames: GetColumnNamesList;
3316
+ }
3317
+ export interface GetColumnStatisticsForTableResponse {
3318
+ /**
3319
+ * List of ColumnStatistics that failed to be retrieved.
3320
+ */
3321
+ ColumnStatisticsList?: ColumnStatisticsList;
3322
+ /**
3323
+ * List of ColumnStatistics that failed to be retrieved.
3324
+ */
3325
+ Errors?: ColumnErrors;
3326
+ }
3004
3327
  export interface GetConnectionRequest {
3005
3328
  /**
3006
3329
  * The ID of the Data Catalog in which the connection resides. If none is provided, the AWS account ID is used by default.
@@ -4591,6 +4914,25 @@ declare namespace Glue {
4591
4914
  export type LogStream = string;
4592
4915
  export type Logical = "AND"|"ANY"|string;
4593
4916
  export type LogicalOperator = "EQUALS"|string;
4917
+ export type Long = number;
4918
+ export interface LongColumnStatisticsData {
4919
+ /**
4920
+ * Minimum value of the column.
4921
+ */
4922
+ MinimumValue?: Long;
4923
+ /**
4924
+ * Maximum value of the column.
4925
+ */
4926
+ MaximumValue?: Long;
4927
+ /**
4928
+ * Number of nulls.
4929
+ */
4930
+ NumberOfNulls: NonNegativeLong;
4931
+ /**
4932
+ * Number of distinct values.
4933
+ */
4934
+ NumberOfDistinctValues: NonNegativeLong;
4935
+ }
4594
4936
  export interface MLTransform {
4595
4937
  /**
4596
4938
  * The unique transform ID that is generated for the machine learning transform. The ID is guaranteed to be unique and does not change.
@@ -4730,6 +5072,7 @@ declare namespace Glue {
4730
5072
  export type NodeType = "CRAWLER"|"JOB"|"TRIGGER"|string;
4731
5073
  export type NonNegativeDouble = number;
4732
5074
  export type NonNegativeInteger = number;
5075
+ export type NonNegativeLong = number;
4733
5076
  export interface NotificationProperty {
4734
5077
  /**
4735
5078
  * After a job run starts, the number of minutes to wait before sending a job run delay notification.
@@ -5387,6 +5730,24 @@ declare namespace Glue {
5387
5730
  */
5388
5731
  StoredAsSubDirectories?: Boolean;
5389
5732
  }
5733
+ export interface StringColumnStatisticsData {
5734
+ /**
5735
+ * Maximum value of the column.
5736
+ */
5737
+ MaximumLength: NonNegativeLong;
5738
+ /**
5739
+ * Average value of the column.
5740
+ */
5741
+ AverageLength: NonNegativeDouble;
5742
+ /**
5743
+ * Number of nulls.
5744
+ */
5745
+ NumberOfNulls: NonNegativeLong;
5746
+ /**
5747
+ * Number of distinct values.
5748
+ */
5749
+ NumberOfDistinctValues: NonNegativeLong;
5750
+ }
5390
5751
  export type StringList = GenericString[];
5391
5752
  export interface Table {
5392
5753
  /**
@@ -5799,6 +6160,7 @@ declare namespace Glue {
5799
6160
  */
5800
6161
  Predicate?: Predicate;
5801
6162
  }
6163
+ export type TypeString = string;
5802
6164
  export type URI = string;
5803
6165
  export interface UntagResourceRequest {
5804
6166
  /**
@@ -5833,6 +6195,59 @@ declare namespace Glue {
5833
6195
  }
5834
6196
  export interface UpdateClassifierResponse {
5835
6197
  }
6198
+ export interface UpdateColumnStatisticsForPartitionRequest {
6199
+ /**
6200
+ * The ID of the Data Catalog where the partitions in question reside. If none is supplied, the AWS account ID is used by default.
6201
+ */
6202
+ CatalogId?: CatalogIdString;
6203
+ /**
6204
+ * The name of the catalog database where the partitions reside.
6205
+ */
6206
+ DatabaseName: NameString;
6207
+ /**
6208
+ * The name of the partitions' table.
6209
+ */
6210
+ TableName: NameString;
6211
+ /**
6212
+ * A list of partition values identifying the partition.
6213
+ */
6214
+ PartitionValues: ValueStringList;
6215
+ /**
6216
+ * A list of the column statistics.
6217
+ */
6218
+ ColumnStatisticsList: UpdateColumnStatisticsList;
6219
+ }
6220
+ export interface UpdateColumnStatisticsForPartitionResponse {
6221
+ /**
6222
+ * Error occurred during updating column statistics data.
6223
+ */
6224
+ Errors?: ColumnStatisticsErrors;
6225
+ }
6226
+ export interface UpdateColumnStatisticsForTableRequest {
6227
+ /**
6228
+ * The ID of the Data Catalog where the partitions in question reside. If none is supplied, the AWS account ID is used by default.
6229
+ */
6230
+ CatalogId?: CatalogIdString;
6231
+ /**
6232
+ * The name of the catalog database where the partitions reside.
6233
+ */
6234
+ DatabaseName: NameString;
6235
+ /**
6236
+ * The name of the partitions' table.
6237
+ */
6238
+ TableName: NameString;
6239
+ /**
6240
+ * A list of the column statistics.
6241
+ */
6242
+ ColumnStatisticsList: UpdateColumnStatisticsList;
6243
+ }
6244
+ export interface UpdateColumnStatisticsForTableResponse {
6245
+ /**
6246
+ * List of ColumnStatisticsErrors.
6247
+ */
6248
+ Errors?: ColumnStatisticsErrors;
6249
+ }
6250
+ export type UpdateColumnStatisticsList = ColumnStatistics[];
5836
6251
  export interface UpdateConnectionRequest {
5837
6252
  /**
5838
6253
  * The ID of the Data Catalog in which the connection resides. If none is provided, the AWS account ID is used by default.
@@ -0,0 +1,190 @@
1
+ import {Request} from '../lib/request';
2
+ import {Response} from '../lib/response';
3
+ import {AWSError} from '../lib/error';
4
+ import {Service} from '../lib/service';
5
+ import {ServiceConfigurationOptions} from '../lib/service';
6
+ import {ConfigBase as Config} from '../lib/config';
7
+ interface Blob {}
8
+ declare class Honeycode extends Service {
9
+ /**
10
+ * Constructs a service object. This object has one method for each API operation.
11
+ */
12
+ constructor(options?: Honeycode.Types.ClientConfiguration)
13
+ config: Config & Honeycode.Types.ClientConfiguration;
14
+ /**
15
+ * The GetScreenData API allows retrieval of data from a screen in a Honeycode app. The API allows setting local variables in the screen to filter, sort or otherwise affect what will be displayed on the screen.
16
+ */
17
+ getScreenData(params: Honeycode.Types.GetScreenDataRequest, callback?: (err: AWSError, data: Honeycode.Types.GetScreenDataResult) => void): Request<Honeycode.Types.GetScreenDataResult, AWSError>;
18
+ /**
19
+ * The GetScreenData API allows retrieval of data from a screen in a Honeycode app. The API allows setting local variables in the screen to filter, sort or otherwise affect what will be displayed on the screen.
20
+ */
21
+ getScreenData(callback?: (err: AWSError, data: Honeycode.Types.GetScreenDataResult) => void): Request<Honeycode.Types.GetScreenDataResult, AWSError>;
22
+ /**
23
+ * The InvokeScreenAutomation API allows invoking an action defined in a screen in a Honeycode app. The API allows setting local variables, which can then be used in the automation being invoked. This allows automating the Honeycode app interactions to write, update or delete data in the workbook.
24
+ */
25
+ invokeScreenAutomation(params: Honeycode.Types.InvokeScreenAutomationRequest, callback?: (err: AWSError, data: Honeycode.Types.InvokeScreenAutomationResult) => void): Request<Honeycode.Types.InvokeScreenAutomationResult, AWSError>;
26
+ /**
27
+ * The InvokeScreenAutomation API allows invoking an action defined in a screen in a Honeycode app. The API allows setting local variables, which can then be used in the automation being invoked. This allows automating the Honeycode app interactions to write, update or delete data in the workbook.
28
+ */
29
+ invokeScreenAutomation(callback?: (err: AWSError, data: Honeycode.Types.InvokeScreenAutomationResult) => void): Request<Honeycode.Types.InvokeScreenAutomationResult, AWSError>;
30
+ }
31
+ declare namespace Honeycode {
32
+ export type ClientRequestToken = string;
33
+ export interface ColumnMetadata {
34
+ /**
35
+ * The name of the column.
36
+ */
37
+ name: Name;
38
+ /**
39
+ * The format of the column.
40
+ */
41
+ format: Format;
42
+ }
43
+ export interface DataItem {
44
+ /**
45
+ * The overrideFormat is optional and is specified only if a particular row of data has a different format for the data than the default format defined on the screen or the table.
46
+ */
47
+ overrideFormat?: Format;
48
+ /**
49
+ * The raw value of the data. e.g. jsmith@example.com
50
+ */
51
+ rawValue?: RawValue;
52
+ /**
53
+ * The formatted value of the data. e.g. John Smith.
54
+ */
55
+ formattedValue?: FormattedValue;
56
+ }
57
+ export type DataItems = DataItem[];
58
+ export type Format = "AUTO"|"NUMBER"|"CURRENCY"|"DATE"|"TIME"|"DATE_TIME"|"PERCENTAGE"|"TEXT"|"ACCOUNTING"|"CONTACT"|"ROWLINK"|string;
59
+ export type FormattedValue = string;
60
+ export interface GetScreenDataRequest {
61
+ /**
62
+ * The ID of the workbook that contains the screen.
63
+ */
64
+ workbookId: ResourceId;
65
+ /**
66
+ * The ID of the app that contains the screem.
67
+ */
68
+ appId: ResourceId;
69
+ /**
70
+ * The ID of the screen.
71
+ */
72
+ screenId: ResourceId;
73
+ /**
74
+ * Variables are optional and are needed only if the screen requires them to render correctly. Variables are specified as a map where the key is the name of the variable as defined on the screen. The value is an object which currently has only one property, rawValue, which holds the value of the variable to be passed to the screen.
75
+ */
76
+ variables?: VariableValueMap;
77
+ /**
78
+ * The number of results to be returned on a single page. Specify a number between 1 and 100. The maximum value is 100. This parameter is optional. If you don't specify this parameter, the default page size is 100.
79
+ */
80
+ maxResults?: MaxResults;
81
+ /**
82
+ * This parameter is optional. If a nextToken is not specified, the API returns the first page of data. Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API will throw ValidationException.
83
+ */
84
+ nextToken?: PaginationToken;
85
+ }
86
+ export interface GetScreenDataResult {
87
+ /**
88
+ * A map of all the rows on the screen keyed by block name.
89
+ */
90
+ results: ResultSetMap;
91
+ /**
92
+ * Indicates the cursor of the workbook at which the data returned by this workbook is read. Workbook cursor keeps increasing with every update and the increments are not sequential.
93
+ */
94
+ workbookCursor: WorkbookCursor;
95
+ /**
96
+ * Provides the pagination token to load the next page if there are more results matching the request. If a pagination token is not present in the response, it means that all data matching the query has been loaded.
97
+ */
98
+ nextToken?: PaginationToken;
99
+ }
100
+ export interface InvokeScreenAutomationRequest {
101
+ /**
102
+ * The ID of the workbook that contains the screen automation.
103
+ */
104
+ workbookId: ResourceId;
105
+ /**
106
+ * The ID of the app that contains the screen automation.
107
+ */
108
+ appId: ResourceId;
109
+ /**
110
+ * The ID of the screen that contains the screen automation.
111
+ */
112
+ screenId: ResourceId;
113
+ /**
114
+ * The ID of the automation action to be performed.
115
+ */
116
+ screenAutomationId: ResourceId;
117
+ /**
118
+ * Variables are optional and are needed only if the screen requires them to render correctly. Variables are specified as a map where the key is the name of the variable as defined on the screen. The value is an object which currently has only one property, rawValue, which holds the value of the variable to be passed to the screen.
119
+ */
120
+ variables?: VariableValueMap;
121
+ /**
122
+ * The row ID for the automation if the automation is defined inside a block with source or list.
123
+ */
124
+ rowId?: RowId;
125
+ /**
126
+ * The request token for performing the automation action. Request tokens help to identify duplicate requests. If a call times out or fails due to a transient error like a failed network connection, you can retry the call with the same request token. The service ensures that if the first call using that request token is successfully performed, the second call will return the response of the previous call rather than performing the action again. Note that request tokens are valid only for a few minutes. You cannot use request tokens to dedupe requests spanning hours or days.
127
+ */
128
+ clientRequestToken?: ClientRequestToken;
129
+ }
130
+ export interface InvokeScreenAutomationResult {
131
+ /**
132
+ * The updated workbook cursor after performing the automation action.
133
+ */
134
+ workbookCursor: WorkbookCursor;
135
+ }
136
+ export type MaxResults = number;
137
+ export type Name = string;
138
+ export type PaginationToken = string;
139
+ export type RawValue = string;
140
+ export type ResourceId = string;
141
+ export type ResultHeader = ColumnMetadata[];
142
+ export interface ResultRow {
143
+ /**
144
+ * The ID for a particular row.
145
+ */
146
+ rowId?: RowId;
147
+ /**
148
+ * List of all the data cells in a row.
149
+ */
150
+ dataItems: DataItems;
151
+ }
152
+ export type ResultRows = ResultRow[];
153
+ export interface ResultSet {
154
+ /**
155
+ * List of headers for all the data cells in the block. The header identifies the name and default format of the data cell. Data cells appear in the same order in all rows as defined in the header. The names and formats are not repeated in the rows. If a particular row does not have a value for a data cell, a blank value is used. For example, a task list that displays the task name, due date and assigned person might have headers [ { "name": "Task Name"}, {"name": "Due Date", "format": "DATE"}, {"name": "Assigned", "format": "CONTACT"} ]. Every row in the result will have the task name as the first item, due date as the second item and assigned person as the third item. If a particular task does not have a due date, that row will still have a blank value in the second element and the assigned person will still be in the third element.
156
+ */
157
+ headers: ResultHeader;
158
+ /**
159
+ * List of rows returned by the request. Each row has a row Id and a list of data cells in that row. The data cells will be present in the same order as they are defined in the header.
160
+ */
161
+ rows: ResultRows;
162
+ }
163
+ export type ResultSetMap = {[key: string]: ResultSet};
164
+ export type RowId = string;
165
+ export type VariableName = string;
166
+ export interface VariableValue {
167
+ /**
168
+ * Raw value of the variable.
169
+ */
170
+ rawValue: RawValue;
171
+ }
172
+ export type VariableValueMap = {[key: string]: VariableValue};
173
+ export type WorkbookCursor = number;
174
+ /**
175
+ * 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.
176
+ */
177
+ export type apiVersion = "2020-03-01"|"latest"|string;
178
+ export interface ClientApiVersions {
179
+ /**
180
+ * 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.
181
+ */
182
+ apiVersion?: apiVersion;
183
+ }
184
+ export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
185
+ /**
186
+ * Contains interfaces for use with the Honeycode client.
187
+ */
188
+ export import Types = Honeycode;
189
+ }
190
+ export = Honeycode;