@aws-sdk/client-keyspaces 3.935.0 → 3.939.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.
package/dist-cjs/index.js CHANGED
@@ -1056,6 +1056,70 @@ const paginateListTagsForResource = core.createPaginator(KeyspacesClient, ListTa
1056
1056
 
1057
1057
  const paginateListTypes = core.createPaginator(KeyspacesClient, ListTypesCommand, "nextToken", "nextToken", "maxResults");
1058
1058
 
1059
+ const ThroughputMode = {
1060
+ PAY_PER_REQUEST: "PAY_PER_REQUEST",
1061
+ PROVISIONED: "PROVISIONED",
1062
+ };
1063
+ const CdcPropagateTags = {
1064
+ NONE: "NONE",
1065
+ TABLE: "TABLE",
1066
+ };
1067
+ const CdcStatus = {
1068
+ DISABLED: "DISABLED",
1069
+ DISABLING: "DISABLING",
1070
+ ENABLED: "ENABLED",
1071
+ ENABLING: "ENABLING",
1072
+ };
1073
+ const ViewType = {
1074
+ KEYS_ONLY: "KEYS_ONLY",
1075
+ NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",
1076
+ NEW_IMAGE: "NEW_IMAGE",
1077
+ OLD_IMAGE: "OLD_IMAGE",
1078
+ };
1079
+ const ClientSideTimestampsStatus = {
1080
+ ENABLED: "ENABLED",
1081
+ };
1082
+ const SortOrder = {
1083
+ ASC: "ASC",
1084
+ DESC: "DESC",
1085
+ };
1086
+ const Rs = {
1087
+ MULTI_REGION: "MULTI_REGION",
1088
+ SINGLE_REGION: "SINGLE_REGION",
1089
+ };
1090
+ const EncryptionType = {
1091
+ AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
1092
+ CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY",
1093
+ };
1094
+ const PointInTimeRecoveryStatus = {
1095
+ DISABLED: "DISABLED",
1096
+ ENABLED: "ENABLED",
1097
+ };
1098
+ const TimeToLiveStatus = {
1099
+ ENABLED: "ENABLED",
1100
+ };
1101
+ const KeyspaceStatus = {
1102
+ ACTIVE: "ACTIVE",
1103
+ CREATING: "CREATING",
1104
+ DELETING: "DELETING",
1105
+ UPDATING: "UPDATING",
1106
+ };
1107
+ const TableStatus = {
1108
+ ACTIVE: "ACTIVE",
1109
+ CREATING: "CREATING",
1110
+ DELETED: "DELETED",
1111
+ DELETING: "DELETING",
1112
+ INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
1113
+ RESTORING: "RESTORING",
1114
+ UPDATING: "UPDATING",
1115
+ };
1116
+ const TypeStatus = {
1117
+ ACTIVE: "ACTIVE",
1118
+ CREATING: "CREATING",
1119
+ DELETING: "DELETING",
1120
+ RESTORING: "RESTORING",
1121
+ };
1122
+
1059
1123
  Object.defineProperty(exports, "$Command", {
1060
1124
  enumerable: true,
1061
1125
  get: function () { return smithyClient.Command; }
@@ -1065,6 +1129,9 @@ Object.defineProperty(exports, "__Client", {
1065
1129
  get: function () { return smithyClient.Client; }
1066
1130
  });
1067
1131
  exports.AccessDeniedException = AccessDeniedException$1;
1132
+ exports.CdcPropagateTags = CdcPropagateTags;
1133
+ exports.CdcStatus = CdcStatus;
1134
+ exports.ClientSideTimestampsStatus = ClientSideTimestampsStatus;
1068
1135
  exports.ConflictException = ConflictException$1;
1069
1136
  exports.CreateKeyspaceCommand = CreateKeyspaceCommand;
1070
1137
  exports.CreateTableCommand = CreateTableCommand;
@@ -1072,11 +1139,13 @@ exports.CreateTypeCommand = CreateTypeCommand;
1072
1139
  exports.DeleteKeyspaceCommand = DeleteKeyspaceCommand;
1073
1140
  exports.DeleteTableCommand = DeleteTableCommand;
1074
1141
  exports.DeleteTypeCommand = DeleteTypeCommand;
1142
+ exports.EncryptionType = EncryptionType;
1075
1143
  exports.GetKeyspaceCommand = GetKeyspaceCommand;
1076
1144
  exports.GetTableAutoScalingSettingsCommand = GetTableAutoScalingSettingsCommand;
1077
1145
  exports.GetTableCommand = GetTableCommand;
1078
1146
  exports.GetTypeCommand = GetTypeCommand;
1079
1147
  exports.InternalServerException = InternalServerException$1;
1148
+ exports.KeyspaceStatus = KeyspaceStatus;
1080
1149
  exports.Keyspaces = Keyspaces;
1081
1150
  exports.KeyspacesClient = KeyspacesClient;
1082
1151
  exports.KeyspacesServiceException = KeyspacesServiceException$1;
@@ -1084,14 +1153,22 @@ exports.ListKeyspacesCommand = ListKeyspacesCommand;
1084
1153
  exports.ListTablesCommand = ListTablesCommand;
1085
1154
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1086
1155
  exports.ListTypesCommand = ListTypesCommand;
1156
+ exports.PointInTimeRecoveryStatus = PointInTimeRecoveryStatus;
1087
1157
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
1088
1158
  exports.RestoreTableCommand = RestoreTableCommand;
1159
+ exports.Rs = Rs;
1089
1160
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1161
+ exports.SortOrder = SortOrder;
1162
+ exports.TableStatus = TableStatus;
1090
1163
  exports.TagResourceCommand = TagResourceCommand;
1164
+ exports.ThroughputMode = ThroughputMode;
1165
+ exports.TimeToLiveStatus = TimeToLiveStatus;
1166
+ exports.TypeStatus = TypeStatus;
1091
1167
  exports.UntagResourceCommand = UntagResourceCommand;
1092
1168
  exports.UpdateKeyspaceCommand = UpdateKeyspaceCommand;
1093
1169
  exports.UpdateTableCommand = UpdateTableCommand;
1094
1170
  exports.ValidationException = ValidationException$1;
1171
+ exports.ViewType = ViewType;
1095
1172
  exports.paginateListKeyspaces = paginateListKeyspaces;
1096
1173
  exports.paginateListTables = paginateListTables;
1097
1174
  exports.paginateListTagsForResource = paginateListTagsForResource;
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./KeyspacesClient";
2
2
  export * from "./Keyspaces";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
+ export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { KeyspacesServiceException } from "./models/KeyspacesServiceException";
@@ -0,0 +1,63 @@
1
+ export const ThroughputMode = {
2
+ PAY_PER_REQUEST: "PAY_PER_REQUEST",
3
+ PROVISIONED: "PROVISIONED",
4
+ };
5
+ export const CdcPropagateTags = {
6
+ NONE: "NONE",
7
+ TABLE: "TABLE",
8
+ };
9
+ export const CdcStatus = {
10
+ DISABLED: "DISABLED",
11
+ DISABLING: "DISABLING",
12
+ ENABLED: "ENABLED",
13
+ ENABLING: "ENABLING",
14
+ };
15
+ export const ViewType = {
16
+ KEYS_ONLY: "KEYS_ONLY",
17
+ NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",
18
+ NEW_IMAGE: "NEW_IMAGE",
19
+ OLD_IMAGE: "OLD_IMAGE",
20
+ };
21
+ export const ClientSideTimestampsStatus = {
22
+ ENABLED: "ENABLED",
23
+ };
24
+ export const SortOrder = {
25
+ ASC: "ASC",
26
+ DESC: "DESC",
27
+ };
28
+ export const Rs = {
29
+ MULTI_REGION: "MULTI_REGION",
30
+ SINGLE_REGION: "SINGLE_REGION",
31
+ };
32
+ export const EncryptionType = {
33
+ AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
34
+ CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY",
35
+ };
36
+ export const PointInTimeRecoveryStatus = {
37
+ DISABLED: "DISABLED",
38
+ ENABLED: "ENABLED",
39
+ };
40
+ export const TimeToLiveStatus = {
41
+ ENABLED: "ENABLED",
42
+ };
43
+ export const KeyspaceStatus = {
44
+ ACTIVE: "ACTIVE",
45
+ CREATING: "CREATING",
46
+ DELETING: "DELETING",
47
+ UPDATING: "UPDATING",
48
+ };
49
+ export const TableStatus = {
50
+ ACTIVE: "ACTIVE",
51
+ CREATING: "CREATING",
52
+ DELETED: "DELETED",
53
+ DELETING: "DELETING",
54
+ INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
55
+ RESTORING: "RESTORING",
56
+ UPDATING: "UPDATING",
57
+ };
58
+ export const TypeStatus = {
59
+ ACTIVE: "ACTIVE",
60
+ CREATING: "CREATING",
61
+ DELETING: "DELETING",
62
+ RESTORING: "RESTORING",
63
+ };
@@ -1,63 +1 @@
1
- export const ThroughputMode = {
2
- PAY_PER_REQUEST: "PAY_PER_REQUEST",
3
- PROVISIONED: "PROVISIONED",
4
- };
5
- export const CdcPropagateTags = {
6
- NONE: "NONE",
7
- TABLE: "TABLE",
8
- };
9
- export const CdcStatus = {
10
- DISABLED: "DISABLED",
11
- DISABLING: "DISABLING",
12
- ENABLED: "ENABLED",
13
- ENABLING: "ENABLING",
14
- };
15
- export const ViewType = {
16
- KEYS_ONLY: "KEYS_ONLY",
17
- NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",
18
- NEW_IMAGE: "NEW_IMAGE",
19
- OLD_IMAGE: "OLD_IMAGE",
20
- };
21
- export const ClientSideTimestampsStatus = {
22
- ENABLED: "ENABLED",
23
- };
24
- export const SortOrder = {
25
- ASC: "ASC",
26
- DESC: "DESC",
27
- };
28
- export const Rs = {
29
- MULTI_REGION: "MULTI_REGION",
30
- SINGLE_REGION: "SINGLE_REGION",
31
- };
32
- export const EncryptionType = {
33
- AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
34
- CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY",
35
- };
36
- export const PointInTimeRecoveryStatus = {
37
- DISABLED: "DISABLED",
38
- ENABLED: "ENABLED",
39
- };
40
- export const TimeToLiveStatus = {
41
- ENABLED: "ENABLED",
42
- };
43
- export const KeyspaceStatus = {
44
- ACTIVE: "ACTIVE",
45
- CREATING: "CREATING",
46
- DELETING: "DELETING",
47
- UPDATING: "UPDATING",
48
- };
49
- export const TableStatus = {
50
- ACTIVE: "ACTIVE",
51
- CREATING: "CREATING",
52
- DELETED: "DELETED",
53
- DELETING: "DELETING",
54
- INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
55
- RESTORING: "RESTORING",
56
- UPDATING: "UPDATING",
57
- };
58
- export const TypeStatus = {
59
- ACTIVE: "ACTIVE",
60
- CREATING: "CREATING",
61
- DELETING: "DELETING",
62
- RESTORING: "RESTORING",
63
- };
1
+ export {};
@@ -10,6 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { KeyspacesExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
+ export * from "./models/enums";
13
14
  export * from "./models/errors";
14
15
  export type * from "./models/models_0";
15
16
  export { KeyspacesServiceException } from "./models/KeyspacesServiceException";
@@ -0,0 +1,167 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ThroughputMode: {
6
+ readonly PAY_PER_REQUEST: "PAY_PER_REQUEST";
7
+ readonly PROVISIONED: "PROVISIONED";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type ThroughputMode = (typeof ThroughputMode)[keyof typeof ThroughputMode];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const CdcPropagateTags: {
18
+ readonly NONE: "NONE";
19
+ readonly TABLE: "TABLE";
20
+ };
21
+ /**
22
+ * @public
23
+ */
24
+ export type CdcPropagateTags = (typeof CdcPropagateTags)[keyof typeof CdcPropagateTags];
25
+ /**
26
+ * @public
27
+ * @enum
28
+ */
29
+ export declare const CdcStatus: {
30
+ readonly DISABLED: "DISABLED";
31
+ readonly DISABLING: "DISABLING";
32
+ readonly ENABLED: "ENABLED";
33
+ readonly ENABLING: "ENABLING";
34
+ };
35
+ /**
36
+ * @public
37
+ */
38
+ export type CdcStatus = (typeof CdcStatus)[keyof typeof CdcStatus];
39
+ /**
40
+ * @public
41
+ * @enum
42
+ */
43
+ export declare const ViewType: {
44
+ readonly KEYS_ONLY: "KEYS_ONLY";
45
+ readonly NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES";
46
+ readonly NEW_IMAGE: "NEW_IMAGE";
47
+ readonly OLD_IMAGE: "OLD_IMAGE";
48
+ };
49
+ /**
50
+ * @public
51
+ */
52
+ export type ViewType = (typeof ViewType)[keyof typeof ViewType];
53
+ /**
54
+ * @public
55
+ * @enum
56
+ */
57
+ export declare const ClientSideTimestampsStatus: {
58
+ readonly ENABLED: "ENABLED";
59
+ };
60
+ /**
61
+ * @public
62
+ */
63
+ export type ClientSideTimestampsStatus = (typeof ClientSideTimestampsStatus)[keyof typeof ClientSideTimestampsStatus];
64
+ /**
65
+ * @public
66
+ * @enum
67
+ */
68
+ export declare const SortOrder: {
69
+ readonly ASC: "ASC";
70
+ readonly DESC: "DESC";
71
+ };
72
+ /**
73
+ * @public
74
+ */
75
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
76
+ /**
77
+ * @public
78
+ * @enum
79
+ */
80
+ export declare const Rs: {
81
+ readonly MULTI_REGION: "MULTI_REGION";
82
+ readonly SINGLE_REGION: "SINGLE_REGION";
83
+ };
84
+ /**
85
+ * @public
86
+ */
87
+ export type Rs = (typeof Rs)[keyof typeof Rs];
88
+ /**
89
+ * @public
90
+ * @enum
91
+ */
92
+ export declare const EncryptionType: {
93
+ readonly AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY";
94
+ readonly CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY";
95
+ };
96
+ /**
97
+ * @public
98
+ */
99
+ export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
100
+ /**
101
+ * @public
102
+ * @enum
103
+ */
104
+ export declare const PointInTimeRecoveryStatus: {
105
+ readonly DISABLED: "DISABLED";
106
+ readonly ENABLED: "ENABLED";
107
+ };
108
+ /**
109
+ * @public
110
+ */
111
+ export type PointInTimeRecoveryStatus = (typeof PointInTimeRecoveryStatus)[keyof typeof PointInTimeRecoveryStatus];
112
+ /**
113
+ * @public
114
+ * @enum
115
+ */
116
+ export declare const TimeToLiveStatus: {
117
+ readonly ENABLED: "ENABLED";
118
+ };
119
+ /**
120
+ * @public
121
+ */
122
+ export type TimeToLiveStatus = (typeof TimeToLiveStatus)[keyof typeof TimeToLiveStatus];
123
+ /**
124
+ * @public
125
+ * @enum
126
+ */
127
+ export declare const KeyspaceStatus: {
128
+ readonly ACTIVE: "ACTIVE";
129
+ readonly CREATING: "CREATING";
130
+ readonly DELETING: "DELETING";
131
+ readonly UPDATING: "UPDATING";
132
+ };
133
+ /**
134
+ * @public
135
+ */
136
+ export type KeyspaceStatus = (typeof KeyspaceStatus)[keyof typeof KeyspaceStatus];
137
+ /**
138
+ * @public
139
+ * @enum
140
+ */
141
+ export declare const TableStatus: {
142
+ readonly ACTIVE: "ACTIVE";
143
+ readonly CREATING: "CREATING";
144
+ readonly DELETED: "DELETED";
145
+ readonly DELETING: "DELETING";
146
+ readonly INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS";
147
+ readonly RESTORING: "RESTORING";
148
+ readonly UPDATING: "UPDATING";
149
+ };
150
+ /**
151
+ * @public
152
+ */
153
+ export type TableStatus = (typeof TableStatus)[keyof typeof TableStatus];
154
+ /**
155
+ * @public
156
+ * @enum
157
+ */
158
+ export declare const TypeStatus: {
159
+ readonly ACTIVE: "ACTIVE";
160
+ readonly CREATING: "CREATING";
161
+ readonly DELETING: "DELETING";
162
+ readonly RESTORING: "RESTORING";
163
+ };
164
+ /**
165
+ * @public
166
+ */
167
+ export type TypeStatus = (typeof TypeStatus)[keyof typeof TypeStatus];
@@ -1,3 +1,4 @@
1
+ import { CdcPropagateTags, CdcStatus, ClientSideTimestampsStatus, EncryptionType, KeyspaceStatus, PointInTimeRecoveryStatus, Rs, SortOrder, TableStatus, ThroughputMode, TimeToLiveStatus, TypeStatus, ViewType } from "./enums";
1
2
  /**
2
3
  * <p>The auto scaling policy that scales a table based on the ratio of consumed to provisioned capacity.</p>
3
4
  * @public
@@ -77,18 +78,6 @@ export interface AutoScalingSpecification {
77
78
  */
78
79
  readCapacityAutoScaling?: AutoScalingSettings | undefined;
79
80
  }
80
- /**
81
- * @public
82
- * @enum
83
- */
84
- export declare const ThroughputMode: {
85
- readonly PAY_PER_REQUEST: "PAY_PER_REQUEST";
86
- readonly PROVISIONED: "PROVISIONED";
87
- };
88
- /**
89
- * @public
90
- */
91
- export type ThroughputMode = (typeof ThroughputMode)[keyof typeof ThroughputMode];
92
81
  /**
93
82
  * <p>Amazon Keyspaces has two read/write capacity modes for processing reads and writes on your tables: </p> <ul> <li> <p>On-demand (default)</p> </li> <li> <p>Provisioned</p> </li> </ul> <p>The read/write capacity mode that you choose controls how you are charged for read and write throughput and how table throughput capacity is managed.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html">Read/write capacity modes</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
94
83
  * @public
@@ -136,32 +125,6 @@ export interface CapacitySpecificationSummary {
136
125
  */
137
126
  lastUpdateToPayPerRequestTimestamp?: Date | undefined;
138
127
  }
139
- /**
140
- * @public
141
- * @enum
142
- */
143
- export declare const CdcPropagateTags: {
144
- readonly NONE: "NONE";
145
- readonly TABLE: "TABLE";
146
- };
147
- /**
148
- * @public
149
- */
150
- export type CdcPropagateTags = (typeof CdcPropagateTags)[keyof typeof CdcPropagateTags];
151
- /**
152
- * @public
153
- * @enum
154
- */
155
- export declare const CdcStatus: {
156
- readonly DISABLED: "DISABLED";
157
- readonly DISABLING: "DISABLING";
158
- readonly ENABLED: "ENABLED";
159
- readonly ENABLING: "ENABLING";
160
- };
161
- /**
162
- * @public
163
- */
164
- export type CdcStatus = (typeof CdcStatus)[keyof typeof CdcStatus];
165
128
  /**
166
129
  * <p>Describes a tag. A tag is a key-value pair. You can add up to 50 tags to a single Amazon Keyspaces resource.</p> <p>Amazon Web Services-assigned tag names and values are automatically assigned the <code>aws:</code> prefix, which the user cannot assign. Amazon Web Services-assigned tag names do not count towards the tag limit of 50. User-assigned tag names have the prefix <code>user:</code> in the Cost Allocation Report. You cannot backdate the application of a tag.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html">Adding tags and labels to Amazon Keyspaces resources</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
167
130
  * @public
@@ -178,20 +141,6 @@ export interface Tag {
178
141
  */
179
142
  value: string | undefined;
180
143
  }
181
- /**
182
- * @public
183
- * @enum
184
- */
185
- export declare const ViewType: {
186
- readonly KEYS_ONLY: "KEYS_ONLY";
187
- readonly NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES";
188
- readonly NEW_IMAGE: "NEW_IMAGE";
189
- readonly OLD_IMAGE: "OLD_IMAGE";
190
- };
191
- /**
192
- * @public
193
- */
194
- export type ViewType = (typeof ViewType)[keyof typeof ViewType];
195
144
  /**
196
145
  * <p>The settings for the CDC stream of a table. For more information about CDC streams, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/cdc.html">Working with change data capture (CDC) streams in Amazon Keyspaces</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
197
146
  * @public
@@ -234,17 +183,6 @@ export interface CdcSpecificationSummary {
234
183
  */
235
184
  viewType?: ViewType | undefined;
236
185
  }
237
- /**
238
- * @public
239
- * @enum
240
- */
241
- export declare const ClientSideTimestampsStatus: {
242
- readonly ENABLED: "ENABLED";
243
- };
244
- /**
245
- * @public
246
- */
247
- export type ClientSideTimestampsStatus = (typeof ClientSideTimestampsStatus)[keyof typeof ClientSideTimestampsStatus];
248
186
  /**
249
187
  * <p>The client-side timestamp setting of the table.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/client-side-timestamps-how-it-works.html">How it works: Amazon Keyspaces client-side timestamps</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
250
188
  * @public
@@ -256,18 +194,6 @@ export interface ClientSideTimestamps {
256
194
  */
257
195
  status: ClientSideTimestampsStatus | undefined;
258
196
  }
259
- /**
260
- * @public
261
- * @enum
262
- */
263
- export declare const SortOrder: {
264
- readonly ASC: "ASC";
265
- readonly DESC: "DESC";
266
- };
267
- /**
268
- * @public
269
- */
270
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
271
197
  /**
272
198
  * <p>The optional clustering column portion of your primary key determines how the data is clustered and sorted within each partition.</p>
273
199
  * @public
@@ -311,18 +237,6 @@ export interface Comment {
311
237
  */
312
238
  message: string | undefined;
313
239
  }
314
- /**
315
- * @public
316
- * @enum
317
- */
318
- export declare const Rs: {
319
- readonly MULTI_REGION: "MULTI_REGION";
320
- readonly SINGLE_REGION: "SINGLE_REGION";
321
- };
322
- /**
323
- * @public
324
- */
325
- export type Rs = (typeof Rs)[keyof typeof Rs];
326
240
  /**
327
241
  * <p> The replication specification of the keyspace includes:</p> <ul> <li> <p> <code>regionList</code> - the Amazon Web Services Regions where the keyspace is replicated in.</p> </li> <li> <p> <code>replicationStrategy</code> - the required value is <code>SINGLE_REGION</code> or <code>MULTI_REGION</code>.</p> </li> </ul>
328
242
  * @public
@@ -369,18 +283,6 @@ export interface CreateKeyspaceResponse {
369
283
  */
370
284
  resourceArn: string | undefined;
371
285
  }
372
- /**
373
- * @public
374
- * @enum
375
- */
376
- export declare const EncryptionType: {
377
- readonly AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY";
378
- readonly CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY";
379
- };
380
- /**
381
- * @public
382
- */
383
- export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
384
286
  /**
385
287
  * <p>Amazon Keyspaces encrypts and decrypts the table data at rest transparently and integrates with Key Management Service for storing and managing the encryption key. You can choose one of the following KMS keys (KMS keys):</p> <ul> <li> <p>Amazon Web Services owned key - This is the default encryption type. The key is owned by Amazon Keyspaces (no additional charge). </p> </li> <li> <p>Customer managed key - This key is stored in your account and is created, owned, and managed by you. You have full control over the customer managed key (KMS charges apply).</p> </li> </ul> <p>For more information about encryption at rest in Amazon Keyspaces, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html">Encryption at rest</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p> <p>For more information about KMS, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html">KMS management service concepts</a> in the <i>Key Management Service Developer Guide</i>.</p>
386
288
  * @public
@@ -397,18 +299,6 @@ export interface EncryptionSpecification {
397
299
  */
398
300
  kmsKeyIdentifier?: string | undefined;
399
301
  }
400
- /**
401
- * @public
402
- * @enum
403
- */
404
- export declare const PointInTimeRecoveryStatus: {
405
- readonly DISABLED: "DISABLED";
406
- readonly ENABLED: "ENABLED";
407
- };
408
- /**
409
- * @public
410
- */
411
- export type PointInTimeRecoveryStatus = (typeof PointInTimeRecoveryStatus)[keyof typeof PointInTimeRecoveryStatus];
412
302
  /**
413
303
  * <p>Point-in-time recovery (PITR) helps protect your Amazon Keyspaces tables from accidental write or delete operations by providing you continuous backups of your table data.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery.html">Point-in-time recovery</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
414
304
  * @public
@@ -489,17 +379,6 @@ export interface SchemaDefinition {
489
379
  */
490
380
  staticColumns?: StaticColumn[] | undefined;
491
381
  }
492
- /**
493
- * @public
494
- * @enum
495
- */
496
- export declare const TimeToLiveStatus: {
497
- readonly ENABLED: "ENABLED";
498
- };
499
- /**
500
- * @public
501
- */
502
- export type TimeToLiveStatus = (typeof TimeToLiveStatus)[keyof typeof TimeToLiveStatus];
503
382
  /**
504
383
  * <p>Enable custom Time to Live (TTL) settings for rows and columns without setting a TTL default for the specified table.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_enabling">Enabling TTL on tables</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
505
384
  * @public
@@ -722,20 +601,6 @@ export interface GetKeyspaceRequest {
722
601
  */
723
602
  keyspaceName: string | undefined;
724
603
  }
725
- /**
726
- * @public
727
- * @enum
728
- */
729
- export declare const KeyspaceStatus: {
730
- readonly ACTIVE: "ACTIVE";
731
- readonly CREATING: "CREATING";
732
- readonly DELETING: "DELETING";
733
- readonly UPDATING: "UPDATING";
734
- };
735
- /**
736
- * @public
737
- */
738
- export type KeyspaceStatus = (typeof KeyspaceStatus)[keyof typeof KeyspaceStatus];
739
604
  /**
740
605
  * <p> This shows the summary status of the keyspace after a new Amazon Web Services Region was added. </p>
741
606
  * @public
@@ -818,23 +683,6 @@ export interface PointInTimeRecoverySummary {
818
683
  */
819
684
  earliestRestorableTimestamp?: Date | undefined;
820
685
  }
821
- /**
822
- * @public
823
- * @enum
824
- */
825
- export declare const TableStatus: {
826
- readonly ACTIVE: "ACTIVE";
827
- readonly CREATING: "CREATING";
828
- readonly DELETED: "DELETED";
829
- readonly DELETING: "DELETING";
830
- readonly INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS";
831
- readonly RESTORING: "RESTORING";
832
- readonly UPDATING: "UPDATING";
833
- };
834
- /**
835
- * @public
836
- */
837
- export type TableStatus = (typeof TableStatus)[keyof typeof TableStatus];
838
686
  /**
839
687
  * <p>The Region-specific settings of a multi-Region table in the specified Amazon Web Services Region.</p> <p>If the multi-Region table is using provisioned capacity and has optional auto scaling policies configured, note that the Region specific summary returns both read and write capacity settings. But only Region specific read capacity settings can be configured for a multi-Region table. In a multi-Region table, your write capacity units will be synced across all Amazon Web Services Regions to ensure that there is enough capacity to replicate write events across Regions.</p>
840
688
  * @public
@@ -1017,20 +865,6 @@ export interface GetTypeRequest {
1017
865
  */
1018
866
  typeName: string | undefined;
1019
867
  }
1020
- /**
1021
- * @public
1022
- * @enum
1023
- */
1024
- export declare const TypeStatus: {
1025
- readonly ACTIVE: "ACTIVE";
1026
- readonly CREATING: "CREATING";
1027
- readonly DELETING: "DELETING";
1028
- readonly RESTORING: "RESTORING";
1029
- };
1030
- /**
1031
- * @public
1032
- */
1033
- export type TypeStatus = (typeof TypeStatus)[keyof typeof TypeStatus];
1034
868
  /**
1035
869
  * @public
1036
870
  */
@@ -5,6 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { KeyspacesExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
+ export * from "./models/enums";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
10
11
  export { KeyspacesServiceException } from "./models/KeyspacesServiceException";
@@ -0,0 +1,83 @@
1
+ export declare const ThroughputMode: {
2
+ readonly PAY_PER_REQUEST: "PAY_PER_REQUEST";
3
+ readonly PROVISIONED: "PROVISIONED";
4
+ };
5
+ export type ThroughputMode =
6
+ (typeof ThroughputMode)[keyof typeof ThroughputMode];
7
+ export declare const CdcPropagateTags: {
8
+ readonly NONE: "NONE";
9
+ readonly TABLE: "TABLE";
10
+ };
11
+ export type CdcPropagateTags =
12
+ (typeof CdcPropagateTags)[keyof typeof CdcPropagateTags];
13
+ export declare const CdcStatus: {
14
+ readonly DISABLED: "DISABLED";
15
+ readonly DISABLING: "DISABLING";
16
+ readonly ENABLED: "ENABLED";
17
+ readonly ENABLING: "ENABLING";
18
+ };
19
+ export type CdcStatus = (typeof CdcStatus)[keyof typeof CdcStatus];
20
+ export declare const ViewType: {
21
+ readonly KEYS_ONLY: "KEYS_ONLY";
22
+ readonly NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES";
23
+ readonly NEW_IMAGE: "NEW_IMAGE";
24
+ readonly OLD_IMAGE: "OLD_IMAGE";
25
+ };
26
+ export type ViewType = (typeof ViewType)[keyof typeof ViewType];
27
+ export declare const ClientSideTimestampsStatus: {
28
+ readonly ENABLED: "ENABLED";
29
+ };
30
+ export type ClientSideTimestampsStatus =
31
+ (typeof ClientSideTimestampsStatus)[keyof typeof ClientSideTimestampsStatus];
32
+ export declare const SortOrder: {
33
+ readonly ASC: "ASC";
34
+ readonly DESC: "DESC";
35
+ };
36
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
37
+ export declare const Rs: {
38
+ readonly MULTI_REGION: "MULTI_REGION";
39
+ readonly SINGLE_REGION: "SINGLE_REGION";
40
+ };
41
+ export type Rs = (typeof Rs)[keyof typeof Rs];
42
+ export declare const EncryptionType: {
43
+ readonly AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY";
44
+ readonly CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY";
45
+ };
46
+ export type EncryptionType =
47
+ (typeof EncryptionType)[keyof typeof EncryptionType];
48
+ export declare const PointInTimeRecoveryStatus: {
49
+ readonly DISABLED: "DISABLED";
50
+ readonly ENABLED: "ENABLED";
51
+ };
52
+ export type PointInTimeRecoveryStatus =
53
+ (typeof PointInTimeRecoveryStatus)[keyof typeof PointInTimeRecoveryStatus];
54
+ export declare const TimeToLiveStatus: {
55
+ readonly ENABLED: "ENABLED";
56
+ };
57
+ export type TimeToLiveStatus =
58
+ (typeof TimeToLiveStatus)[keyof typeof TimeToLiveStatus];
59
+ export declare const KeyspaceStatus: {
60
+ readonly ACTIVE: "ACTIVE";
61
+ readonly CREATING: "CREATING";
62
+ readonly DELETING: "DELETING";
63
+ readonly UPDATING: "UPDATING";
64
+ };
65
+ export type KeyspaceStatus =
66
+ (typeof KeyspaceStatus)[keyof typeof KeyspaceStatus];
67
+ export declare const TableStatus: {
68
+ readonly ACTIVE: "ACTIVE";
69
+ readonly CREATING: "CREATING";
70
+ readonly DELETED: "DELETED";
71
+ readonly DELETING: "DELETING";
72
+ readonly INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS";
73
+ readonly RESTORING: "RESTORING";
74
+ readonly UPDATING: "UPDATING";
75
+ };
76
+ export type TableStatus = (typeof TableStatus)[keyof typeof TableStatus];
77
+ export declare const TypeStatus: {
78
+ readonly ACTIVE: "ACTIVE";
79
+ readonly CREATING: "CREATING";
80
+ readonly DELETING: "DELETING";
81
+ readonly RESTORING: "RESTORING";
82
+ };
83
+ export type TypeStatus = (typeof TypeStatus)[keyof typeof TypeStatus];
@@ -1,3 +1,18 @@
1
+ import {
2
+ CdcPropagateTags,
3
+ CdcStatus,
4
+ ClientSideTimestampsStatus,
5
+ EncryptionType,
6
+ KeyspaceStatus,
7
+ PointInTimeRecoveryStatus,
8
+ Rs,
9
+ SortOrder,
10
+ TableStatus,
11
+ ThroughputMode,
12
+ TimeToLiveStatus,
13
+ TypeStatus,
14
+ ViewType,
15
+ } from "./enums";
1
16
  export interface TargetTrackingScalingPolicyConfiguration {
2
17
  disableScaleIn?: boolean | undefined;
3
18
  scaleInCooldown?: number | undefined;
@@ -19,12 +34,6 @@ export interface AutoScalingSpecification {
19
34
  writeCapacityAutoScaling?: AutoScalingSettings | undefined;
20
35
  readCapacityAutoScaling?: AutoScalingSettings | undefined;
21
36
  }
22
- export declare const ThroughputMode: {
23
- readonly PAY_PER_REQUEST: "PAY_PER_REQUEST";
24
- readonly PROVISIONED: "PROVISIONED";
25
- };
26
- export type ThroughputMode =
27
- (typeof ThroughputMode)[keyof typeof ThroughputMode];
28
37
  export interface CapacitySpecification {
29
38
  throughputMode: ThroughputMode | undefined;
30
39
  readCapacityUnits?: number | undefined;
@@ -36,30 +45,10 @@ export interface CapacitySpecificationSummary {
36
45
  writeCapacityUnits?: number | undefined;
37
46
  lastUpdateToPayPerRequestTimestamp?: Date | undefined;
38
47
  }
39
- export declare const CdcPropagateTags: {
40
- readonly NONE: "NONE";
41
- readonly TABLE: "TABLE";
42
- };
43
- export type CdcPropagateTags =
44
- (typeof CdcPropagateTags)[keyof typeof CdcPropagateTags];
45
- export declare const CdcStatus: {
46
- readonly DISABLED: "DISABLED";
47
- readonly DISABLING: "DISABLING";
48
- readonly ENABLED: "ENABLED";
49
- readonly ENABLING: "ENABLING";
50
- };
51
- export type CdcStatus = (typeof CdcStatus)[keyof typeof CdcStatus];
52
48
  export interface Tag {
53
49
  key: string | undefined;
54
50
  value: string | undefined;
55
51
  }
56
- export declare const ViewType: {
57
- readonly KEYS_ONLY: "KEYS_ONLY";
58
- readonly NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES";
59
- readonly NEW_IMAGE: "NEW_IMAGE";
60
- readonly OLD_IMAGE: "OLD_IMAGE";
61
- };
62
- export type ViewType = (typeof ViewType)[keyof typeof ViewType];
63
52
  export interface CdcSpecification {
64
53
  status: CdcStatus | undefined;
65
54
  viewType?: ViewType | undefined;
@@ -70,19 +59,9 @@ export interface CdcSpecificationSummary {
70
59
  status: CdcStatus | undefined;
71
60
  viewType?: ViewType | undefined;
72
61
  }
73
- export declare const ClientSideTimestampsStatus: {
74
- readonly ENABLED: "ENABLED";
75
- };
76
- export type ClientSideTimestampsStatus =
77
- (typeof ClientSideTimestampsStatus)[keyof typeof ClientSideTimestampsStatus];
78
62
  export interface ClientSideTimestamps {
79
63
  status: ClientSideTimestampsStatus | undefined;
80
64
  }
81
- export declare const SortOrder: {
82
- readonly ASC: "ASC";
83
- readonly DESC: "DESC";
84
- };
85
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
86
65
  export interface ClusteringKey {
87
66
  name: string | undefined;
88
67
  orderBy: SortOrder | undefined;
@@ -94,11 +73,6 @@ export interface ColumnDefinition {
94
73
  export interface Comment {
95
74
  message: string | undefined;
96
75
  }
97
- export declare const Rs: {
98
- readonly MULTI_REGION: "MULTI_REGION";
99
- readonly SINGLE_REGION: "SINGLE_REGION";
100
- };
101
- export type Rs = (typeof Rs)[keyof typeof Rs];
102
76
  export interface ReplicationSpecification {
103
77
  replicationStrategy: Rs | undefined;
104
78
  regionList?: string[] | undefined;
@@ -111,22 +85,10 @@ export interface CreateKeyspaceRequest {
111
85
  export interface CreateKeyspaceResponse {
112
86
  resourceArn: string | undefined;
113
87
  }
114
- export declare const EncryptionType: {
115
- readonly AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY";
116
- readonly CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY";
117
- };
118
- export type EncryptionType =
119
- (typeof EncryptionType)[keyof typeof EncryptionType];
120
88
  export interface EncryptionSpecification {
121
89
  type: EncryptionType | undefined;
122
90
  kmsKeyIdentifier?: string | undefined;
123
91
  }
124
- export declare const PointInTimeRecoveryStatus: {
125
- readonly DISABLED: "DISABLED";
126
- readonly ENABLED: "ENABLED";
127
- };
128
- export type PointInTimeRecoveryStatus =
129
- (typeof PointInTimeRecoveryStatus)[keyof typeof PointInTimeRecoveryStatus];
130
92
  export interface PointInTimeRecovery {
131
93
  status: PointInTimeRecoveryStatus | undefined;
132
94
  }
@@ -147,11 +109,6 @@ export interface SchemaDefinition {
147
109
  clusteringKeys?: ClusteringKey[] | undefined;
148
110
  staticColumns?: StaticColumn[] | undefined;
149
111
  }
150
- export declare const TimeToLiveStatus: {
151
- readonly ENABLED: "ENABLED";
152
- };
153
- export type TimeToLiveStatus =
154
- (typeof TimeToLiveStatus)[keyof typeof TimeToLiveStatus];
155
112
  export interface TimeToLive {
156
113
  status: TimeToLiveStatus | undefined;
157
114
  }
@@ -207,14 +164,6 @@ export interface DeleteTypeResponse {
207
164
  export interface GetKeyspaceRequest {
208
165
  keyspaceName: string | undefined;
209
166
  }
210
- export declare const KeyspaceStatus: {
211
- readonly ACTIVE: "ACTIVE";
212
- readonly CREATING: "CREATING";
213
- readonly DELETING: "DELETING";
214
- readonly UPDATING: "UPDATING";
215
- };
216
- export type KeyspaceStatus =
217
- (typeof KeyspaceStatus)[keyof typeof KeyspaceStatus];
218
167
  export interface ReplicationGroupStatus {
219
168
  region: string | undefined;
220
169
  keyspaceStatus: KeyspaceStatus | undefined;
@@ -235,16 +184,6 @@ export interface PointInTimeRecoverySummary {
235
184
  status: PointInTimeRecoveryStatus | undefined;
236
185
  earliestRestorableTimestamp?: Date | undefined;
237
186
  }
238
- export declare const TableStatus: {
239
- readonly ACTIVE: "ACTIVE";
240
- readonly CREATING: "CREATING";
241
- readonly DELETED: "DELETED";
242
- readonly DELETING: "DELETING";
243
- readonly INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS";
244
- readonly RESTORING: "RESTORING";
245
- readonly UPDATING: "UPDATING";
246
- };
247
- export type TableStatus = (typeof TableStatus)[keyof typeof TableStatus];
248
187
  export interface ReplicaSpecificationSummary {
249
188
  region?: string | undefined;
250
189
  status?: TableStatus | undefined;
@@ -287,13 +226,6 @@ export interface GetTypeRequest {
287
226
  keyspaceName: string | undefined;
288
227
  typeName: string | undefined;
289
228
  }
290
- export declare const TypeStatus: {
291
- readonly ACTIVE: "ACTIVE";
292
- readonly CREATING: "CREATING";
293
- readonly DELETING: "DELETING";
294
- readonly RESTORING: "RESTORING";
295
- };
296
- export type TypeStatus = (typeof TypeStatus)[keyof typeof TypeStatus];
297
229
  export interface GetTypeResponse {
298
230
  keyspaceName: string | undefined;
299
231
  typeName: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-keyspaces",
3
3
  "description": "AWS SDK for JavaScript Keyspaces Client for Node.js, Browser and React Native",
4
- "version": "3.935.0",
4
+ "version": "3.939.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-keyspaces",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.935.0",
24
- "@aws-sdk/credential-provider-node": "3.935.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.935.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.935.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.939.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",