@aws-sdk/client-keyspaces 3.934.0 → 3.936.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 +0 -76
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +75 -0
- package/dist-es/models/models_0.js +0 -75
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +79 -0
- package/dist-types/models/models_0.d.ts +0 -79
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +43 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -43
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -129,33 +129,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends KeyspacesServi
|
|
|
129
129
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
|
-
const ThroughputMode = {
|
|
133
|
-
PAY_PER_REQUEST: "PAY_PER_REQUEST",
|
|
134
|
-
PROVISIONED: "PROVISIONED",
|
|
135
|
-
};
|
|
136
|
-
const CdcPropagateTags = {
|
|
137
|
-
NONE: "NONE",
|
|
138
|
-
TABLE: "TABLE",
|
|
139
|
-
};
|
|
140
|
-
const CdcStatus = {
|
|
141
|
-
DISABLED: "DISABLED",
|
|
142
|
-
DISABLING: "DISABLING",
|
|
143
|
-
ENABLED: "ENABLED",
|
|
144
|
-
ENABLING: "ENABLING",
|
|
145
|
-
};
|
|
146
|
-
const ViewType = {
|
|
147
|
-
KEYS_ONLY: "KEYS_ONLY",
|
|
148
|
-
NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",
|
|
149
|
-
NEW_IMAGE: "NEW_IMAGE",
|
|
150
|
-
OLD_IMAGE: "OLD_IMAGE",
|
|
151
|
-
};
|
|
152
|
-
const ClientSideTimestampsStatus = {
|
|
153
|
-
ENABLED: "ENABLED",
|
|
154
|
-
};
|
|
155
|
-
const SortOrder = {
|
|
156
|
-
ASC: "ASC",
|
|
157
|
-
DESC: "DESC",
|
|
158
|
-
};
|
|
159
132
|
let ConflictException$1 = class ConflictException extends KeyspacesServiceException$1 {
|
|
160
133
|
name = "ConflictException";
|
|
161
134
|
$fault = "client";
|
|
@@ -168,10 +141,6 @@ let ConflictException$1 = class ConflictException extends KeyspacesServiceExcept
|
|
|
168
141
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
169
142
|
}
|
|
170
143
|
};
|
|
171
|
-
const Rs = {
|
|
172
|
-
MULTI_REGION: "MULTI_REGION",
|
|
173
|
-
SINGLE_REGION: "SINGLE_REGION",
|
|
174
|
-
};
|
|
175
144
|
let InternalServerException$1 = class InternalServerException extends KeyspacesServiceException$1 {
|
|
176
145
|
name = "InternalServerException";
|
|
177
146
|
$fault = "server";
|
|
@@ -208,17 +177,6 @@ let ValidationException$1 = class ValidationException extends KeyspacesServiceEx
|
|
|
208
177
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
209
178
|
}
|
|
210
179
|
};
|
|
211
|
-
const EncryptionType = {
|
|
212
|
-
AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
|
|
213
|
-
CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY",
|
|
214
|
-
};
|
|
215
|
-
const PointInTimeRecoveryStatus = {
|
|
216
|
-
DISABLED: "DISABLED",
|
|
217
|
-
ENABLED: "ENABLED",
|
|
218
|
-
};
|
|
219
|
-
const TimeToLiveStatus = {
|
|
220
|
-
ENABLED: "ENABLED",
|
|
221
|
-
};
|
|
222
180
|
let ResourceNotFoundException$1 = class ResourceNotFoundException extends KeyspacesServiceException$1 {
|
|
223
181
|
name = "ResourceNotFoundException";
|
|
224
182
|
$fault = "client";
|
|
@@ -233,27 +191,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Keyspa
|
|
|
233
191
|
this.resourceArn = opts.resourceArn;
|
|
234
192
|
}
|
|
235
193
|
};
|
|
236
|
-
const KeyspaceStatus = {
|
|
237
|
-
ACTIVE: "ACTIVE",
|
|
238
|
-
CREATING: "CREATING",
|
|
239
|
-
DELETING: "DELETING",
|
|
240
|
-
UPDATING: "UPDATING",
|
|
241
|
-
};
|
|
242
|
-
const TableStatus = {
|
|
243
|
-
ACTIVE: "ACTIVE",
|
|
244
|
-
CREATING: "CREATING",
|
|
245
|
-
DELETED: "DELETED",
|
|
246
|
-
DELETING: "DELETING",
|
|
247
|
-
INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
|
|
248
|
-
RESTORING: "RESTORING",
|
|
249
|
-
UPDATING: "UPDATING",
|
|
250
|
-
};
|
|
251
|
-
const TypeStatus = {
|
|
252
|
-
ACTIVE: "ACTIVE",
|
|
253
|
-
CREATING: "CREATING",
|
|
254
|
-
DELETING: "DELETING",
|
|
255
|
-
RESTORING: "RESTORING",
|
|
256
|
-
};
|
|
257
194
|
|
|
258
195
|
const _ADE = "AccessDeniedException";
|
|
259
196
|
const _ASP = "AutoScalingPolicy";
|
|
@@ -1128,9 +1065,6 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1128
1065
|
get: function () { return smithyClient.Client; }
|
|
1129
1066
|
});
|
|
1130
1067
|
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1131
|
-
exports.CdcPropagateTags = CdcPropagateTags;
|
|
1132
|
-
exports.CdcStatus = CdcStatus;
|
|
1133
|
-
exports.ClientSideTimestampsStatus = ClientSideTimestampsStatus;
|
|
1134
1068
|
exports.ConflictException = ConflictException$1;
|
|
1135
1069
|
exports.CreateKeyspaceCommand = CreateKeyspaceCommand;
|
|
1136
1070
|
exports.CreateTableCommand = CreateTableCommand;
|
|
@@ -1138,13 +1072,11 @@ exports.CreateTypeCommand = CreateTypeCommand;
|
|
|
1138
1072
|
exports.DeleteKeyspaceCommand = DeleteKeyspaceCommand;
|
|
1139
1073
|
exports.DeleteTableCommand = DeleteTableCommand;
|
|
1140
1074
|
exports.DeleteTypeCommand = DeleteTypeCommand;
|
|
1141
|
-
exports.EncryptionType = EncryptionType;
|
|
1142
1075
|
exports.GetKeyspaceCommand = GetKeyspaceCommand;
|
|
1143
1076
|
exports.GetTableAutoScalingSettingsCommand = GetTableAutoScalingSettingsCommand;
|
|
1144
1077
|
exports.GetTableCommand = GetTableCommand;
|
|
1145
1078
|
exports.GetTypeCommand = GetTypeCommand;
|
|
1146
1079
|
exports.InternalServerException = InternalServerException$1;
|
|
1147
|
-
exports.KeyspaceStatus = KeyspaceStatus;
|
|
1148
1080
|
exports.Keyspaces = Keyspaces;
|
|
1149
1081
|
exports.KeyspacesClient = KeyspacesClient;
|
|
1150
1082
|
exports.KeyspacesServiceException = KeyspacesServiceException$1;
|
|
@@ -1152,22 +1084,14 @@ exports.ListKeyspacesCommand = ListKeyspacesCommand;
|
|
|
1152
1084
|
exports.ListTablesCommand = ListTablesCommand;
|
|
1153
1085
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1154
1086
|
exports.ListTypesCommand = ListTypesCommand;
|
|
1155
|
-
exports.PointInTimeRecoveryStatus = PointInTimeRecoveryStatus;
|
|
1156
1087
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1157
1088
|
exports.RestoreTableCommand = RestoreTableCommand;
|
|
1158
|
-
exports.Rs = Rs;
|
|
1159
1089
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1160
|
-
exports.SortOrder = SortOrder;
|
|
1161
|
-
exports.TableStatus = TableStatus;
|
|
1162
1090
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1163
|
-
exports.ThroughputMode = ThroughputMode;
|
|
1164
|
-
exports.TimeToLiveStatus = TimeToLiveStatus;
|
|
1165
|
-
exports.TypeStatus = TypeStatus;
|
|
1166
1091
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1167
1092
|
exports.UpdateKeyspaceCommand = UpdateKeyspaceCommand;
|
|
1168
1093
|
exports.UpdateTableCommand = UpdateTableCommand;
|
|
1169
1094
|
exports.ValidationException = ValidationException$1;
|
|
1170
|
-
exports.ViewType = ViewType;
|
|
1171
1095
|
exports.paginateListKeyspaces = paginateListKeyspaces;
|
|
1172
1096
|
exports.paginateListTables = paginateListTables;
|
|
1173
1097
|
exports.paginateListTagsForResource = paginateListTagsForResource;
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,5 @@ export * from "./KeyspacesClient";
|
|
|
2
2
|
export * from "./Keyspaces";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/errors";
|
|
6
6
|
export { KeyspacesServiceException } from "./models/KeyspacesServiceException";
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { KeyspacesServiceException as __BaseException } from "./KeyspacesServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ConflictException extends __BaseException {
|
|
15
|
+
name = "ConflictException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "ConflictException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class InternalServerException extends __BaseException {
|
|
27
|
+
name = "InternalServerException";
|
|
28
|
+
$fault = "server";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "InternalServerException",
|
|
32
|
+
$fault: "server",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
39
|
+
name = "ServiceQuotaExceededException";
|
|
40
|
+
$fault = "client";
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "ServiceQuotaExceededException",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class ValidationException extends __BaseException {
|
|
51
|
+
name = "ValidationException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "ValidationException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
63
|
+
name = "ResourceNotFoundException";
|
|
64
|
+
$fault = "client";
|
|
65
|
+
resourceArn;
|
|
66
|
+
constructor(opts) {
|
|
67
|
+
super({
|
|
68
|
+
name: "ResourceNotFoundException",
|
|
69
|
+
$fault: "client",
|
|
70
|
+
...opts,
|
|
71
|
+
});
|
|
72
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
73
|
+
this.resourceArn = opts.resourceArn;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
import { KeyspacesServiceException as __BaseException } from "./KeyspacesServiceException";
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "AccessDeniedException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
1
|
export const ThroughputMode = {
|
|
15
2
|
PAY_PER_REQUEST: "PAY_PER_REQUEST",
|
|
16
3
|
PROVISIONED: "PROVISIONED",
|
|
@@ -38,58 +25,10 @@ export const SortOrder = {
|
|
|
38
25
|
ASC: "ASC",
|
|
39
26
|
DESC: "DESC",
|
|
40
27
|
};
|
|
41
|
-
export class ConflictException extends __BaseException {
|
|
42
|
-
name = "ConflictException";
|
|
43
|
-
$fault = "client";
|
|
44
|
-
constructor(opts) {
|
|
45
|
-
super({
|
|
46
|
-
name: "ConflictException",
|
|
47
|
-
$fault: "client",
|
|
48
|
-
...opts,
|
|
49
|
-
});
|
|
50
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
28
|
export const Rs = {
|
|
54
29
|
MULTI_REGION: "MULTI_REGION",
|
|
55
30
|
SINGLE_REGION: "SINGLE_REGION",
|
|
56
31
|
};
|
|
57
|
-
export class InternalServerException extends __BaseException {
|
|
58
|
-
name = "InternalServerException";
|
|
59
|
-
$fault = "server";
|
|
60
|
-
constructor(opts) {
|
|
61
|
-
super({
|
|
62
|
-
name: "InternalServerException",
|
|
63
|
-
$fault: "server",
|
|
64
|
-
...opts,
|
|
65
|
-
});
|
|
66
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
70
|
-
name = "ServiceQuotaExceededException";
|
|
71
|
-
$fault = "client";
|
|
72
|
-
constructor(opts) {
|
|
73
|
-
super({
|
|
74
|
-
name: "ServiceQuotaExceededException",
|
|
75
|
-
$fault: "client",
|
|
76
|
-
...opts,
|
|
77
|
-
});
|
|
78
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
export class ValidationException extends __BaseException {
|
|
82
|
-
name = "ValidationException";
|
|
83
|
-
$fault = "client";
|
|
84
|
-
constructor(opts) {
|
|
85
|
-
super({
|
|
86
|
-
name: "ValidationException",
|
|
87
|
-
$fault: "client",
|
|
88
|
-
...opts,
|
|
89
|
-
});
|
|
90
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
32
|
export const EncryptionType = {
|
|
94
33
|
AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
|
|
95
34
|
CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY",
|
|
@@ -101,20 +40,6 @@ export const PointInTimeRecoveryStatus = {
|
|
|
101
40
|
export const TimeToLiveStatus = {
|
|
102
41
|
ENABLED: "ENABLED",
|
|
103
42
|
};
|
|
104
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
105
|
-
name = "ResourceNotFoundException";
|
|
106
|
-
$fault = "client";
|
|
107
|
-
resourceArn;
|
|
108
|
-
constructor(opts) {
|
|
109
|
-
super({
|
|
110
|
-
name: "ResourceNotFoundException",
|
|
111
|
-
$fault: "client",
|
|
112
|
-
...opts,
|
|
113
|
-
});
|
|
114
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
115
|
-
this.resourceArn = opts.resourceArn;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
43
|
export const KeyspaceStatus = {
|
|
119
44
|
ACTIVE: "ACTIVE",
|
|
120
45
|
CREATING: "CREATING",
|
|
@@ -187,7 +187,7 @@ const _wCAS = "writeCapacityAutoScaling";
|
|
|
187
187
|
const _wCU = "writeCapacityUnits";
|
|
188
188
|
const n0 = "com.amazonaws.keyspaces";
|
|
189
189
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
190
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/
|
|
190
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/errors";
|
|
191
191
|
import { KeyspacesServiceException as __KeyspacesServiceException } from "../models/KeyspacesServiceException";
|
|
192
192
|
export var AccessDeniedException = [
|
|
193
193
|
-3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,6 @@ 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";
|
|
13
|
+
export * from "./models/errors";
|
|
14
|
+
export type * from "./models/models_0";
|
|
14
15
|
export { KeyspacesServiceException } from "./models/KeyspacesServiceException";
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { KeyspacesServiceException as __BaseException } from "./KeyspacesServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You don't have sufficient access permissions to perform this action. </p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists. </p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class ConflictException extends __BaseException {
|
|
20
|
+
readonly name: "ConflictException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export declare class InternalServerException extends __BaseException {
|
|
32
|
+
readonly name: "InternalServerException";
|
|
33
|
+
readonly $fault: "server";
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
44
|
+
readonly name: "ServiceQuotaExceededException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* <p>The operation failed due to an invalid or malformed request.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
export declare class ValidationException extends __BaseException {
|
|
56
|
+
readonly name: "ValidationException";
|
|
57
|
+
readonly $fault: "client";
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
68
|
+
readonly name: "ResourceNotFoundException";
|
|
69
|
+
readonly $fault: "client";
|
|
70
|
+
/**
|
|
71
|
+
* <p>The unique identifier in the format of Amazon Resource Name (ARN) for the resource couldn’t be found.</p>
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
resourceArn?: string | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
79
|
+
}
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { KeyspacesServiceException as __BaseException } from "./KeyspacesServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>You don't have sufficient access permissions to perform this action. </p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
-
}
|
|
15
1
|
/**
|
|
16
2
|
* <p>The auto scaling policy that scales a table based on the ratio of consumed to provisioned capacity.</p>
|
|
17
3
|
* @public
|
|
@@ -325,18 +311,6 @@ export interface Comment {
|
|
|
325
311
|
*/
|
|
326
312
|
message: string | undefined;
|
|
327
313
|
}
|
|
328
|
-
/**
|
|
329
|
-
* <p>Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists. </p>
|
|
330
|
-
* @public
|
|
331
|
-
*/
|
|
332
|
-
export declare class ConflictException extends __BaseException {
|
|
333
|
-
readonly name: "ConflictException";
|
|
334
|
-
readonly $fault: "client";
|
|
335
|
-
/**
|
|
336
|
-
* @internal
|
|
337
|
-
*/
|
|
338
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
339
|
-
}
|
|
340
314
|
/**
|
|
341
315
|
* @public
|
|
342
316
|
* @enum
|
|
@@ -395,42 +369,6 @@ export interface CreateKeyspaceResponse {
|
|
|
395
369
|
*/
|
|
396
370
|
resourceArn: string | undefined;
|
|
397
371
|
}
|
|
398
|
-
/**
|
|
399
|
-
* <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
|
|
400
|
-
* @public
|
|
401
|
-
*/
|
|
402
|
-
export declare class InternalServerException extends __BaseException {
|
|
403
|
-
readonly name: "InternalServerException";
|
|
404
|
-
readonly $fault: "server";
|
|
405
|
-
/**
|
|
406
|
-
* @internal
|
|
407
|
-
*/
|
|
408
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
409
|
-
}
|
|
410
|
-
/**
|
|
411
|
-
* <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
|
|
412
|
-
* @public
|
|
413
|
-
*/
|
|
414
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
415
|
-
readonly name: "ServiceQuotaExceededException";
|
|
416
|
-
readonly $fault: "client";
|
|
417
|
-
/**
|
|
418
|
-
* @internal
|
|
419
|
-
*/
|
|
420
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
421
|
-
}
|
|
422
|
-
/**
|
|
423
|
-
* <p>The operation failed due to an invalid or malformed request.</p>
|
|
424
|
-
* @public
|
|
425
|
-
*/
|
|
426
|
-
export declare class ValidationException extends __BaseException {
|
|
427
|
-
readonly name: "ValidationException";
|
|
428
|
-
readonly $fault: "client";
|
|
429
|
-
/**
|
|
430
|
-
* @internal
|
|
431
|
-
*/
|
|
432
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
433
|
-
}
|
|
434
372
|
/**
|
|
435
373
|
* @public
|
|
436
374
|
* @enum
|
|
@@ -658,23 +596,6 @@ export interface CreateTableResponse {
|
|
|
658
596
|
*/
|
|
659
597
|
resourceArn: string | undefined;
|
|
660
598
|
}
|
|
661
|
-
/**
|
|
662
|
-
* <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
663
|
-
* @public
|
|
664
|
-
*/
|
|
665
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
666
|
-
readonly name: "ResourceNotFoundException";
|
|
667
|
-
readonly $fault: "client";
|
|
668
|
-
/**
|
|
669
|
-
* <p>The unique identifier in the format of Amazon Resource Name (ARN) for the resource couldn’t be found.</p>
|
|
670
|
-
* @public
|
|
671
|
-
*/
|
|
672
|
-
resourceArn?: string | undefined;
|
|
673
|
-
/**
|
|
674
|
-
* @internal
|
|
675
|
-
*/
|
|
676
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
677
|
-
}
|
|
678
599
|
/**
|
|
679
600
|
* <p> A field definition consists out of a name and a type. </p>
|
|
680
601
|
* @public
|
|
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { KeyspacesExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
9
10
|
export { KeyspacesServiceException } from "./models/KeyspacesServiceException";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { KeyspacesServiceException as __BaseException } from "./KeyspacesServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class ConflictException extends __BaseException {
|
|
11
|
+
readonly name: "ConflictException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
export declare class InternalServerException extends __BaseException {
|
|
16
|
+
readonly name: "InternalServerException";
|
|
17
|
+
readonly $fault: "server";
|
|
18
|
+
constructor(
|
|
19
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
23
|
+
readonly name: "ServiceQuotaExceededException";
|
|
24
|
+
readonly $fault: "client";
|
|
25
|
+
constructor(
|
|
26
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
export declare class ValidationException extends __BaseException {
|
|
30
|
+
readonly name: "ValidationException";
|
|
31
|
+
readonly $fault: "client";
|
|
32
|
+
constructor(
|
|
33
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
37
|
+
readonly name: "ResourceNotFoundException";
|
|
38
|
+
readonly $fault: "client";
|
|
39
|
+
resourceArn?: string | undefined;
|
|
40
|
+
constructor(
|
|
41
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { KeyspacesServiceException as __BaseException } from "./KeyspacesServiceException";
|
|
3
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
-
readonly name: "AccessDeniedException";
|
|
5
|
-
readonly $fault: "client";
|
|
6
|
-
constructor(
|
|
7
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
-
);
|
|
9
|
-
}
|
|
10
1
|
export interface TargetTrackingScalingPolicyConfiguration {
|
|
11
2
|
disableScaleIn?: boolean | undefined;
|
|
12
3
|
scaleInCooldown?: number | undefined;
|
|
@@ -103,11 +94,6 @@ export interface ColumnDefinition {
|
|
|
103
94
|
export interface Comment {
|
|
104
95
|
message: string | undefined;
|
|
105
96
|
}
|
|
106
|
-
export declare class ConflictException extends __BaseException {
|
|
107
|
-
readonly name: "ConflictException";
|
|
108
|
-
readonly $fault: "client";
|
|
109
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
110
|
-
}
|
|
111
97
|
export declare const Rs: {
|
|
112
98
|
readonly MULTI_REGION: "MULTI_REGION";
|
|
113
99
|
readonly SINGLE_REGION: "SINGLE_REGION";
|
|
@@ -125,27 +111,6 @@ export interface CreateKeyspaceRequest {
|
|
|
125
111
|
export interface CreateKeyspaceResponse {
|
|
126
112
|
resourceArn: string | undefined;
|
|
127
113
|
}
|
|
128
|
-
export declare class InternalServerException extends __BaseException {
|
|
129
|
-
readonly name: "InternalServerException";
|
|
130
|
-
readonly $fault: "server";
|
|
131
|
-
constructor(
|
|
132
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
133
|
-
);
|
|
134
|
-
}
|
|
135
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
136
|
-
readonly name: "ServiceQuotaExceededException";
|
|
137
|
-
readonly $fault: "client";
|
|
138
|
-
constructor(
|
|
139
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
140
|
-
);
|
|
141
|
-
}
|
|
142
|
-
export declare class ValidationException extends __BaseException {
|
|
143
|
-
readonly name: "ValidationException";
|
|
144
|
-
readonly $fault: "client";
|
|
145
|
-
constructor(
|
|
146
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
147
|
-
);
|
|
148
|
-
}
|
|
149
114
|
export declare const EncryptionType: {
|
|
150
115
|
readonly AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY";
|
|
151
116
|
readonly CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY";
|
|
@@ -209,14 +174,6 @@ export interface CreateTableRequest {
|
|
|
209
174
|
export interface CreateTableResponse {
|
|
210
175
|
resourceArn: string | undefined;
|
|
211
176
|
}
|
|
212
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
213
|
-
readonly name: "ResourceNotFoundException";
|
|
214
|
-
readonly $fault: "client";
|
|
215
|
-
resourceArn?: string | undefined;
|
|
216
|
-
constructor(
|
|
217
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
218
|
-
);
|
|
219
|
-
}
|
|
220
177
|
export interface FieldDefinition {
|
|
221
178
|
name: string | undefined;
|
|
222
179
|
type: 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.
|
|
4
|
+
"version": "3.936.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,38 +20,38 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.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
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|