@aws-sdk/client-cleanrooms 3.301.0 → 3.306.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.
@@ -2,10 +2,15 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { CleanRoomsServiceException as __BaseException } from "./CleanRoomsServiceException";
3
3
  /**
4
4
  * @public
5
+ * @enum
5
6
  */
6
- export declare enum AccessDeniedExceptionReason {
7
- INSUFFICIENT_PERMISSIONS = "INSUFFICIENT_PERMISSIONS"
8
- }
7
+ export declare const AccessDeniedExceptionReason: {
8
+ readonly INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS";
9
+ };
10
+ /**
11
+ * @public
12
+ */
13
+ export type AccessDeniedExceptionReason = (typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
9
14
  /**
10
15
  * @public
11
16
  * <p>Caller does not have sufficient access to perform this action.</p>
@@ -24,14 +29,19 @@ export declare class AccessDeniedException extends __BaseException {
24
29
  }
25
30
  /**
26
31
  * @public
32
+ * @enum
27
33
  */
28
- export declare enum AggregateFunctionName {
29
- AVG = "AVG",
30
- COUNT = "COUNT",
31
- COUNT_DISTINCT = "COUNT_DISTINCT",
32
- SUM = "SUM",
33
- SUM_DISTINCT = "SUM_DISTINCT"
34
- }
34
+ export declare const AggregateFunctionName: {
35
+ readonly AVG: "AVG";
36
+ readonly COUNT: "COUNT";
37
+ readonly COUNT_DISTINCT: "COUNT_DISTINCT";
38
+ readonly SUM: "SUM";
39
+ readonly SUM_DISTINCT: "SUM_DISTINCT";
40
+ };
41
+ /**
42
+ * @public
43
+ */
44
+ export type AggregateFunctionName = (typeof AggregateFunctionName)[keyof typeof AggregateFunctionName];
35
45
  /**
36
46
  * @public
37
47
  * <p>Column in configured table that can be used in aggregate function in query.</p>
@@ -48,10 +58,15 @@ export interface AggregateColumn {
48
58
  }
49
59
  /**
50
60
  * @public
61
+ * @enum
51
62
  */
52
- export declare enum AggregationType {
53
- COUNT_DISTINCT = "COUNT_DISTINCT"
54
- }
63
+ export declare const AggregationType: {
64
+ readonly COUNT_DISTINCT: "COUNT_DISTINCT";
65
+ };
66
+ /**
67
+ * @public
68
+ */
69
+ export type AggregationType = (typeof AggregationType)[keyof typeof AggregationType];
55
70
  /**
56
71
  * @public
57
72
  * <p>Constraint on query output removing output rows that do not meet a minimum number of distinct values of a specified column.</p>
@@ -75,34 +90,49 @@ export interface AggregationConstraint {
75
90
  }
76
91
  /**
77
92
  * @public
93
+ * @enum
78
94
  */
79
- export declare enum AnalysisMethod {
80
- DIRECT_QUERY = "DIRECT_QUERY"
81
- }
95
+ export declare const AnalysisMethod: {
96
+ readonly DIRECT_QUERY: "DIRECT_QUERY";
97
+ };
82
98
  /**
83
99
  * @public
84
100
  */
85
- export declare enum JoinRequiredOption {
86
- QUERY_RUNNER = "QUERY_RUNNER"
87
- }
101
+ export type AnalysisMethod = (typeof AnalysisMethod)[keyof typeof AnalysisMethod];
88
102
  /**
89
103
  * @public
104
+ * @enum
90
105
  */
91
- export declare enum ScalarFunctions {
92
- ABS = "ABS",
93
- CAST = "CAST",
94
- CEILING = "CEILING",
95
- COALESCE = "COALESCE",
96
- FLOOR = "FLOOR",
97
- LN = "LN",
98
- LOG = "LOG",
99
- LOWER = "LOWER",
100
- ROUND = "ROUND",
101
- RTRIM = "RTRIM",
102
- SQRT = "SQRT",
103
- TRUNC = "TRUNC",
104
- UPPER = "UPPER"
105
- }
106
+ export declare const JoinRequiredOption: {
107
+ readonly QUERY_RUNNER: "QUERY_RUNNER";
108
+ };
109
+ /**
110
+ * @public
111
+ */
112
+ export type JoinRequiredOption = (typeof JoinRequiredOption)[keyof typeof JoinRequiredOption];
113
+ /**
114
+ * @public
115
+ * @enum
116
+ */
117
+ export declare const ScalarFunctions: {
118
+ readonly ABS: "ABS";
119
+ readonly CAST: "CAST";
120
+ readonly CEILING: "CEILING";
121
+ readonly COALESCE: "COALESCE";
122
+ readonly FLOOR: "FLOOR";
123
+ readonly LN: "LN";
124
+ readonly LOG: "LOG";
125
+ readonly LOWER: "LOWER";
126
+ readonly ROUND: "ROUND";
127
+ readonly RTRIM: "RTRIM";
128
+ readonly SQRT: "SQRT";
129
+ readonly TRUNC: "TRUNC";
130
+ readonly UPPER: "UPPER";
131
+ };
132
+ /**
133
+ * @public
134
+ */
135
+ export type ScalarFunctions = (typeof ScalarFunctions)[keyof typeof ScalarFunctions];
106
136
  /**
107
137
  * @public
108
138
  * <p>Enables query structure and specified queries that product aggregate statistics.</p>
@@ -214,11 +244,16 @@ export declare namespace AnalysisRulePolicy {
214
244
  }
215
245
  /**
216
246
  * @public
247
+ * @enum
217
248
  */
218
- export declare enum AnalysisRuleType {
219
- AGGREGATION = "AGGREGATION",
220
- LIST = "LIST"
221
- }
249
+ export declare const AnalysisRuleType: {
250
+ readonly AGGREGATION: "AGGREGATION";
251
+ readonly LIST: "LIST";
252
+ };
253
+ /**
254
+ * @public
255
+ */
256
+ export type AnalysisRuleType = (typeof AnalysisRuleType)[keyof typeof AnalysisRuleType];
222
257
  /**
223
258
  * @public
224
259
  * <p>A specification about how data from the configured table can be used in a query.</p>
@@ -297,10 +332,15 @@ export interface Column {
297
332
  }
298
333
  /**
299
334
  * @public
335
+ * @enum
300
336
  */
301
- export declare enum SchemaType {
302
- TABLE = "TABLE"
303
- }
337
+ export declare const SchemaType: {
338
+ readonly TABLE: "TABLE";
339
+ };
340
+ /**
341
+ * @public
342
+ */
343
+ export type SchemaType = (typeof SchemaType)[keyof typeof SchemaType];
304
344
  /**
305
345
  * @public
306
346
  * <p>A schema is a relation within a collaboration.</p>
@@ -385,13 +425,18 @@ export declare class InternalServerException extends __BaseException {
385
425
  }
386
426
  /**
387
427
  * @public
428
+ * @enum
388
429
  */
389
- export declare enum ResourceType {
390
- COLLABORATION = "COLLABORATION",
391
- CONFIGURED_TABLE = "CONFIGURED_TABLE",
392
- CONFIGURED_TABLE_ASSOCIATION = "CONFIGURED_TABLE_ASSOCIATION",
393
- MEMBERSHIP = "MEMBERSHIP"
394
- }
430
+ export declare const ResourceType: {
431
+ readonly COLLABORATION: "COLLABORATION";
432
+ readonly CONFIGURED_TABLE: "CONFIGURED_TABLE";
433
+ readonly CONFIGURED_TABLE_ASSOCIATION: "CONFIGURED_TABLE_ASSOCIATION";
434
+ readonly MEMBERSHIP: "MEMBERSHIP";
435
+ };
436
+ /**
437
+ * @public
438
+ */
439
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
395
440
  /**
396
441
  * @public
397
442
  * <p>Request references a resource which does not exist.</p>
@@ -440,12 +485,17 @@ export interface ValidationExceptionField {
440
485
  }
441
486
  /**
442
487
  * @public
488
+ * @enum
443
489
  */
444
- export declare enum ValidationExceptionReason {
445
- FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
446
- INVALID_CONFIGURATION = "INVALID_CONFIGURATION",
447
- INVALID_QUERY = "INVALID_QUERY"
448
- }
490
+ export declare const ValidationExceptionReason: {
491
+ readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
492
+ readonly INVALID_CONFIGURATION: "INVALID_CONFIGURATION";
493
+ readonly INVALID_QUERY: "INVALID_QUERY";
494
+ };
495
+ /**
496
+ * @public
497
+ */
498
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
449
499
  /**
450
500
  * @public
451
501
  * <p>The input fails to satisfy the specified constraints.</p>
@@ -468,11 +518,16 @@ export declare class ValidationException extends __BaseException {
468
518
  }
469
519
  /**
470
520
  * @public
521
+ * @enum
471
522
  */
472
- export declare enum MemberAbility {
473
- CAN_QUERY = "CAN_QUERY",
474
- CAN_RECEIVE_RESULTS = "CAN_RECEIVE_RESULTS"
475
- }
523
+ export declare const MemberAbility: {
524
+ readonly CAN_QUERY: "CAN_QUERY";
525
+ readonly CAN_RECEIVE_RESULTS: "CAN_RECEIVE_RESULTS";
526
+ };
527
+ /**
528
+ * @public
529
+ */
530
+ export type MemberAbility = (typeof MemberAbility)[keyof typeof MemberAbility];
476
531
  /**
477
532
  * @public
478
533
  * <p>The settings for client-side encryption for cryptographic computing.</p>
@@ -515,11 +570,16 @@ export interface MemberSpecification {
515
570
  }
516
571
  /**
517
572
  * @public
573
+ * @enum
518
574
  */
519
- export declare enum CollaborationQueryLogStatus {
520
- DISABLED = "DISABLED",
521
- ENABLED = "ENABLED"
522
- }
575
+ export declare const CollaborationQueryLogStatus: {
576
+ readonly DISABLED: "DISABLED";
577
+ readonly ENABLED: "ENABLED";
578
+ };
579
+ /**
580
+ * @public
581
+ */
582
+ export type CollaborationQueryLogStatus = (typeof CollaborationQueryLogStatus)[keyof typeof CollaborationQueryLogStatus];
523
583
  /**
524
584
  * @public
525
585
  */
@@ -563,13 +623,18 @@ export interface CreateCollaborationInput {
563
623
  }
564
624
  /**
565
625
  * @public
626
+ * @enum
566
627
  */
567
- export declare enum MemberStatus {
568
- ACTIVE = "ACTIVE",
569
- INVITED = "INVITED",
570
- LEFT = "LEFT",
571
- REMOVED = "REMOVED"
572
- }
628
+ export declare const MemberStatus: {
629
+ readonly ACTIVE: "ACTIVE";
630
+ readonly INVITED: "INVITED";
631
+ readonly LEFT: "LEFT";
632
+ readonly REMOVED: "REMOVED";
633
+ };
634
+ /**
635
+ * @public
636
+ */
637
+ export type MemberStatus = (typeof MemberStatus)[keyof typeof MemberStatus];
573
638
  /**
574
639
  * @public
575
640
  * <p>The multi-party data share environment. The collaboration contains metadata about its purpose and participants.</p>
@@ -674,12 +739,17 @@ export interface DeleteCollaborationOutput {
674
739
  }
675
740
  /**
676
741
  * @public
742
+ * @enum
677
743
  */
678
- export declare enum ConflictExceptionReason {
679
- ALREADY_EXISTS = "ALREADY_EXISTS",
680
- INVALID_STATE = "INVALID_STATE",
681
- SUBRESOURCES_EXIST = "SUBRESOURCES_EXIST"
682
- }
744
+ export declare const ConflictExceptionReason: {
745
+ readonly ALREADY_EXISTS: "ALREADY_EXISTS";
746
+ readonly INVALID_STATE: "INVALID_STATE";
747
+ readonly SUBRESOURCES_EXIST: "SUBRESOURCES_EXIST";
748
+ };
749
+ /**
750
+ * @public
751
+ */
752
+ export type ConflictExceptionReason = (typeof ConflictExceptionReason)[keyof typeof ConflictExceptionReason];
683
753
  /**
684
754
  * @public
685
755
  * <p>Updating or deleting a resource can cause an inconsistent state.</p>
@@ -792,11 +862,16 @@ export interface GetSchemaAnalysisRuleOutput {
792
862
  }
793
863
  /**
794
864
  * @public
865
+ * @enum
795
866
  */
796
- export declare enum FilterableMemberStatus {
797
- ACTIVE = "ACTIVE",
798
- INVITED = "INVITED"
799
- }
867
+ export declare const FilterableMemberStatus: {
868
+ readonly ACTIVE: "ACTIVE";
869
+ readonly INVITED: "INVITED";
870
+ };
871
+ /**
872
+ * @public
873
+ */
874
+ export type FilterableMemberStatus = (typeof FilterableMemberStatus)[keyof typeof FilterableMemberStatus];
800
875
  /**
801
876
  * @public
802
877
  */
@@ -1360,11 +1435,16 @@ export interface CreateConfiguredTableInput {
1360
1435
  }
1361
1436
  /**
1362
1437
  * @public
1438
+ * @enum
1363
1439
  */
1364
- export declare enum ConfiguredTableAnalysisRuleType {
1365
- AGGREGATION = "AGGREGATION",
1366
- LIST = "LIST"
1367
- }
1440
+ export declare const ConfiguredTableAnalysisRuleType: {
1441
+ readonly AGGREGATION: "AGGREGATION";
1442
+ readonly LIST: "LIST";
1443
+ };
1444
+ /**
1445
+ * @public
1446
+ */
1447
+ export type ConfiguredTableAnalysisRuleType = (typeof ConfiguredTableAnalysisRuleType)[keyof typeof ConfiguredTableAnalysisRuleType];
1368
1448
  /**
1369
1449
  * @public
1370
1450
  * <p>A table that has been configured for use in a collaboration.</p>
@@ -1748,11 +1828,16 @@ export interface ListTagsForResourceOutput {
1748
1828
  }
1749
1829
  /**
1750
1830
  * @public
1831
+ * @enum
1751
1832
  */
1752
- export declare enum MembershipQueryLogStatus {
1753
- DISABLED = "DISABLED",
1754
- ENABLED = "ENABLED"
1755
- }
1833
+ export declare const MembershipQueryLogStatus: {
1834
+ readonly DISABLED: "DISABLED";
1835
+ readonly ENABLED: "ENABLED";
1836
+ };
1837
+ /**
1838
+ * @public
1839
+ */
1840
+ export type MembershipQueryLogStatus = (typeof MembershipQueryLogStatus)[keyof typeof MembershipQueryLogStatus];
1756
1841
  /**
1757
1842
  * @public
1758
1843
  */
@@ -1776,12 +1861,17 @@ export interface CreateMembershipInput {
1776
1861
  }
1777
1862
  /**
1778
1863
  * @public
1864
+ * @enum
1779
1865
  */
1780
- export declare enum MembershipStatus {
1781
- ACTIVE = "ACTIVE",
1782
- COLLABORATION_DELETED = "COLLABORATION_DELETED",
1783
- REMOVED = "REMOVED"
1784
- }
1866
+ export declare const MembershipStatus: {
1867
+ readonly ACTIVE: "ACTIVE";
1868
+ readonly COLLABORATION_DELETED: "COLLABORATION_DELETED";
1869
+ readonly REMOVED: "REMOVED";
1870
+ };
1871
+ /**
1872
+ * @public
1873
+ */
1874
+ export type MembershipStatus = (typeof MembershipStatus)[keyof typeof MembershipStatus];
1785
1875
  /**
1786
1876
  * @public
1787
1877
  * <p>The membership object.</p>
@@ -1953,11 +2043,16 @@ export interface ProtectedQueryResult {
1953
2043
  }
1954
2044
  /**
1955
2045
  * @public
2046
+ * @enum
1956
2047
  */
1957
- export declare enum ResultFormat {
1958
- CSV = "CSV",
1959
- PARQUET = "PARQUET"
1960
- }
2048
+ export declare const ResultFormat: {
2049
+ readonly CSV: "CSV";
2050
+ readonly PARQUET: "PARQUET";
2051
+ };
2052
+ /**
2053
+ * @public
2054
+ */
2055
+ export type ResultFormat = (typeof ResultFormat)[keyof typeof ResultFormat];
1961
2056
  /**
1962
2057
  * @public
1963
2058
  * <p>Contains the configuration to write the query results to S3.</p>
@@ -2034,16 +2129,21 @@ export interface ProtectedQueryStatistics {
2034
2129
  }
2035
2130
  /**
2036
2131
  * @public
2132
+ * @enum
2037
2133
  */
2038
- export declare enum ProtectedQueryStatus {
2039
- CANCELLED = "CANCELLED",
2040
- CANCELLING = "CANCELLING",
2041
- FAILED = "FAILED",
2042
- STARTED = "STARTED",
2043
- SUBMITTED = "SUBMITTED",
2044
- SUCCESS = "SUCCESS",
2045
- TIMED_OUT = "TIMED_OUT"
2046
- }
2134
+ export declare const ProtectedQueryStatus: {
2135
+ readonly CANCELLED: "CANCELLED";
2136
+ readonly CANCELLING: "CANCELLING";
2137
+ readonly FAILED: "FAILED";
2138
+ readonly STARTED: "STARTED";
2139
+ readonly SUBMITTED: "SUBMITTED";
2140
+ readonly SUCCESS: "SUCCESS";
2141
+ readonly TIMED_OUT: "TIMED_OUT";
2142
+ };
2143
+ /**
2144
+ * @public
2145
+ */
2146
+ export type ProtectedQueryStatus = (typeof ProtectedQueryStatus)[keyof typeof ProtectedQueryStatus];
2047
2147
  /**
2048
2148
  * @public
2049
2149
  * <p>The parameters for an AWS Clean Rooms protected query.</p>
@@ -2243,10 +2343,15 @@ export interface ListProtectedQueriesOutput {
2243
2343
  }
2244
2344
  /**
2245
2345
  * @public
2346
+ * @enum
2246
2347
  */
2247
- export declare enum ProtectedQueryType {
2248
- SQL = "SQL"
2249
- }
2348
+ export declare const ProtectedQueryType: {
2349
+ readonly SQL: "SQL";
2350
+ };
2351
+ /**
2352
+ * @public
2353
+ */
2354
+ export type ProtectedQueryType = (typeof ProtectedQueryType)[keyof typeof ProtectedQueryType];
2250
2355
  /**
2251
2356
  * @public
2252
2357
  */
@@ -2302,10 +2407,15 @@ export interface UpdateMembershipOutput {
2302
2407
  }
2303
2408
  /**
2304
2409
  * @public
2410
+ * @enum
2305
2411
  */
2306
- export declare enum TargetProtectedQueryStatus {
2307
- CANCELLED = "CANCELLED"
2308
- }
2412
+ export declare const TargetProtectedQueryStatus: {
2413
+ readonly CANCELLED: "CANCELLED";
2414
+ };
2415
+ /**
2416
+ * @public
2417
+ */
2418
+ export type TargetProtectedQueryStatus = (typeof TargetProtectedQueryStatus)[keyof typeof TargetProtectedQueryStatus];
2309
2419
  /**
2310
2420
  * @public
2311
2421
  */