@aws-sdk/client-redshift 3.301.0 → 3.303.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/models/models_0.js +98 -117
- package/dist-cjs/models/models_1.js +49 -58
- package/dist-es/models/models_0.js +98 -117
- package/dist-es/models/models_1.js +49 -58
- package/dist-types/models/models_0.d.ts +193 -98
- package/dist-types/models/models_1.d.ts +94 -49
- package/dist-types/ts3.4/models/models_0.d.ts +131 -98
- package/dist-types/ts3.4/models/models_1.d.ts +65 -49
- package/package.json +35 -35
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { RedshiftServiceException as __BaseException } from "./RedshiftServiceException";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
})(ReservedNodeOfferingType || (ReservedNodeOfferingType = {}));
|
|
3
|
+
export const ReservedNodeOfferingType = {
|
|
4
|
+
Regular: "Regular",
|
|
5
|
+
Upgradable: "Upgradable",
|
|
6
|
+
};
|
|
8
7
|
export class DependentServiceUnavailableFault extends __BaseException {
|
|
9
8
|
constructor(opts) {
|
|
10
9
|
super({
|
|
@@ -113,12 +112,11 @@ export class AccessToSnapshotDeniedFault extends __BaseException {
|
|
|
113
112
|
Object.setPrototypeOf(this, AccessToSnapshotDeniedFault.prototype);
|
|
114
113
|
}
|
|
115
114
|
}
|
|
116
|
-
export
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
})(ActionType || (ActionType = {}));
|
|
115
|
+
export const ActionType = {
|
|
116
|
+
RECOMMEND_NODE_CONFIG: "recommend-node-config",
|
|
117
|
+
RESIZE_CLUSTER: "resize-cluster",
|
|
118
|
+
RESTORE_CLUSTER: "restore-cluster",
|
|
119
|
+
};
|
|
122
120
|
export class ClusterNotFoundFault extends __BaseException {
|
|
123
121
|
constructor(opts) {
|
|
124
122
|
super({
|
|
@@ -155,27 +153,24 @@ export class UnauthorizedPartnerIntegrationFault extends __BaseException {
|
|
|
155
153
|
Object.setPrototypeOf(this, UnauthorizedPartnerIntegrationFault.prototype);
|
|
156
154
|
}
|
|
157
155
|
}
|
|
158
|
-
export
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
DataShareStatus["PENDING_AUTHORIZATION"] = "PENDING_AUTHORIZATION";
|
|
177
|
-
DataShareStatus["REJECTED"] = "REJECTED";
|
|
178
|
-
})(DataShareStatus || (DataShareStatus = {}));
|
|
156
|
+
export const AquaConfigurationStatus = {
|
|
157
|
+
AUTO: "auto",
|
|
158
|
+
DISABLED: "disabled",
|
|
159
|
+
ENABLED: "enabled",
|
|
160
|
+
};
|
|
161
|
+
export const AquaStatus = {
|
|
162
|
+
APPLYING: "applying",
|
|
163
|
+
DISABLED: "disabled",
|
|
164
|
+
ENABLED: "enabled",
|
|
165
|
+
};
|
|
166
|
+
export const DataShareStatus = {
|
|
167
|
+
ACTIVE: "ACTIVE",
|
|
168
|
+
AUTHORIZED: "AUTHORIZED",
|
|
169
|
+
AVAILABLE: "AVAILABLE",
|
|
170
|
+
DEAUTHORIZED: "DEAUTHORIZED",
|
|
171
|
+
PENDING_AUTHORIZATION: "PENDING_AUTHORIZATION",
|
|
172
|
+
REJECTED: "REJECTED",
|
|
173
|
+
};
|
|
179
174
|
export class InvalidDataShareFault extends __BaseException {
|
|
180
175
|
constructor(opts) {
|
|
181
176
|
super({
|
|
@@ -200,12 +195,11 @@ export class InvalidNamespaceFault extends __BaseException {
|
|
|
200
195
|
Object.setPrototypeOf(this, InvalidNamespaceFault.prototype);
|
|
201
196
|
}
|
|
202
197
|
}
|
|
203
|
-
export
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
})(ScheduleState || (ScheduleState = {}));
|
|
198
|
+
export const ScheduleState = {
|
|
199
|
+
ACTIVE: "ACTIVE",
|
|
200
|
+
FAILED: "FAILED",
|
|
201
|
+
MODIFYING: "MODIFYING",
|
|
202
|
+
};
|
|
209
203
|
export class AuthenticationProfileAlreadyExistsFault extends __BaseException {
|
|
210
204
|
constructor(opts) {
|
|
211
205
|
super({
|
|
@@ -278,11 +272,10 @@ export class AuthorizationQuotaExceededFault extends __BaseException {
|
|
|
278
272
|
Object.setPrototypeOf(this, AuthorizationQuotaExceededFault.prototype);
|
|
279
273
|
}
|
|
280
274
|
}
|
|
281
|
-
export
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
})(AuthorizationStatus || (AuthorizationStatus = {}));
|
|
275
|
+
export const AuthorizationStatus = {
|
|
276
|
+
AUTHORIZED: "Authorized",
|
|
277
|
+
REVOKING: "Revoking",
|
|
278
|
+
};
|
|
286
279
|
export class ClusterSecurityGroupNotFoundFault extends __BaseException {
|
|
287
280
|
constructor(opts) {
|
|
288
281
|
super({
|
|
@@ -463,15 +456,14 @@ export class ResizeNotFoundFault extends __BaseException {
|
|
|
463
456
|
Object.setPrototypeOf(this, ResizeNotFoundFault.prototype);
|
|
464
457
|
}
|
|
465
458
|
}
|
|
466
|
-
export
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
})(ReservedNodeExchangeStatusType || (ReservedNodeExchangeStatusType = {}));
|
|
459
|
+
export const ReservedNodeExchangeStatusType = {
|
|
460
|
+
FAILED: "FAILED",
|
|
461
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
462
|
+
PENDING: "PENDING",
|
|
463
|
+
REQUESTED: "REQUESTED",
|
|
464
|
+
RETRYING: "RETRYING",
|
|
465
|
+
SUCCEEDED: "SUCCEEDED",
|
|
466
|
+
};
|
|
475
467
|
export class ClusterAlreadyExistsFault extends __BaseException {
|
|
476
468
|
constructor(opts) {
|
|
477
469
|
super({
|
|
@@ -508,11 +500,10 @@ export class ClusterParameterGroupAlreadyExistsFault extends __BaseException {
|
|
|
508
500
|
Object.setPrototypeOf(this, ClusterParameterGroupAlreadyExistsFault.prototype);
|
|
509
501
|
}
|
|
510
502
|
}
|
|
511
|
-
export
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
})(ParameterApplyType || (ParameterApplyType = {}));
|
|
503
|
+
export const ParameterApplyType = {
|
|
504
|
+
dynamic: "dynamic",
|
|
505
|
+
static: "static",
|
|
506
|
+
};
|
|
516
507
|
export class ClusterParameterGroupNotFoundFault extends __BaseException {
|
|
517
508
|
constructor(opts) {
|
|
518
509
|
super({
|
|
@@ -1053,11 +1044,10 @@ export class InvalidScheduleFault extends __BaseException {
|
|
|
1053
1044
|
Object.setPrototypeOf(this, InvalidScheduleFault.prototype);
|
|
1054
1045
|
}
|
|
1055
1046
|
}
|
|
1056
|
-
export
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
})(ScheduledActionState || (ScheduledActionState = {}));
|
|
1047
|
+
export const ScheduledActionState = {
|
|
1048
|
+
ACTIVE: "ACTIVE",
|
|
1049
|
+
DISABLED: "DISABLED",
|
|
1050
|
+
};
|
|
1061
1051
|
export class ScheduledActionAlreadyExistsFault extends __BaseException {
|
|
1062
1052
|
constructor(opts) {
|
|
1063
1053
|
super({
|
|
@@ -1166,29 +1156,25 @@ export class ResourceNotFoundFault extends __BaseException {
|
|
|
1166
1156
|
Object.setPrototypeOf(this, ResourceNotFoundFault.prototype);
|
|
1167
1157
|
}
|
|
1168
1158
|
}
|
|
1169
|
-
export
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
UsageLimitPeriod["DAILY"] = "daily";
|
|
1189
|
-
UsageLimitPeriod["MONTHLY"] = "monthly";
|
|
1190
|
-
UsageLimitPeriod["WEEKLY"] = "weekly";
|
|
1191
|
-
})(UsageLimitPeriod || (UsageLimitPeriod = {}));
|
|
1159
|
+
export const UsageLimitBreachAction = {
|
|
1160
|
+
DISABLE: "disable",
|
|
1161
|
+
EMIT_METRIC: "emit-metric",
|
|
1162
|
+
LOG: "log",
|
|
1163
|
+
};
|
|
1164
|
+
export const UsageLimitFeatureType = {
|
|
1165
|
+
CONCURRENCY_SCALING: "concurrency-scaling",
|
|
1166
|
+
CROSS_REGION_DATASHARING: "cross-region-datasharing",
|
|
1167
|
+
SPECTRUM: "spectrum",
|
|
1168
|
+
};
|
|
1169
|
+
export const UsageLimitLimitType = {
|
|
1170
|
+
DATA_SCANNED: "data-scanned",
|
|
1171
|
+
TIME: "time",
|
|
1172
|
+
};
|
|
1173
|
+
export const UsageLimitPeriod = {
|
|
1174
|
+
DAILY: "daily",
|
|
1175
|
+
MONTHLY: "monthly",
|
|
1176
|
+
WEEKLY: "weekly",
|
|
1177
|
+
};
|
|
1192
1178
|
export class InvalidUsageLimitFault extends __BaseException {
|
|
1193
1179
|
constructor(opts) {
|
|
1194
1180
|
super({
|
|
@@ -1213,19 +1199,17 @@ export class UsageLimitAlreadyExistsFault extends __BaseException {
|
|
|
1213
1199
|
Object.setPrototypeOf(this, UsageLimitAlreadyExistsFault.prototype);
|
|
1214
1200
|
}
|
|
1215
1201
|
}
|
|
1216
|
-
export
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
DataShareStatusForProducer["REJECTED"] = "REJECTED";
|
|
1228
|
-
})(DataShareStatusForProducer || (DataShareStatusForProducer = {}));
|
|
1202
|
+
export const DataShareStatusForConsumer = {
|
|
1203
|
+
ACTIVE: "ACTIVE",
|
|
1204
|
+
AVAILABLE: "AVAILABLE",
|
|
1205
|
+
};
|
|
1206
|
+
export const DataShareStatusForProducer = {
|
|
1207
|
+
ACTIVE: "ACTIVE",
|
|
1208
|
+
AUTHORIZED: "AUTHORIZED",
|
|
1209
|
+
DEAUTHORIZED: "DEAUTHORIZED",
|
|
1210
|
+
PENDING_AUTHORIZATION: "PENDING_AUTHORIZATION",
|
|
1211
|
+
REJECTED: "REJECTED",
|
|
1212
|
+
};
|
|
1229
1213
|
export class InvalidClusterParameterGroupStateFault extends __BaseException {
|
|
1230
1214
|
constructor(opts) {
|
|
1231
1215
|
super({
|
|
@@ -1382,25 +1366,22 @@ export class UsageLimitNotFoundFault extends __BaseException {
|
|
|
1382
1366
|
Object.setPrototypeOf(this, UsageLimitNotFoundFault.prototype);
|
|
1383
1367
|
}
|
|
1384
1368
|
}
|
|
1385
|
-
export
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
SourceType["cluster_snapshot"] = "cluster-snapshot";
|
|
1402
|
-
SourceType["scheduled_action"] = "scheduled-action";
|
|
1403
|
-
})(SourceType || (SourceType = {}));
|
|
1369
|
+
export const SnapshotAttributeToSortBy = {
|
|
1370
|
+
CREATE_TIME: "CREATE_TIME",
|
|
1371
|
+
SOURCE_TYPE: "SOURCE_TYPE",
|
|
1372
|
+
TOTAL_SIZE: "TOTAL_SIZE",
|
|
1373
|
+
};
|
|
1374
|
+
export const SortByOrder = {
|
|
1375
|
+
ASCENDING: "ASC",
|
|
1376
|
+
DESCENDING: "DESC",
|
|
1377
|
+
};
|
|
1378
|
+
export const SourceType = {
|
|
1379
|
+
cluster: "cluster",
|
|
1380
|
+
cluster_parameter_group: "cluster-parameter-group",
|
|
1381
|
+
cluster_security_group: "cluster-security-group",
|
|
1382
|
+
cluster_snapshot: "cluster-snapshot",
|
|
1383
|
+
scheduled_action: "scheduled-action",
|
|
1384
|
+
};
|
|
1404
1385
|
export const ClusterCredentialsFilterSensitiveLog = (obj) => ({
|
|
1405
1386
|
...obj,
|
|
1406
1387
|
...(obj.DbPassword && { DbPassword: SENSITIVE_STRING }),
|
|
@@ -1,38 +1,33 @@
|
|
|
1
1
|
import { RedshiftServiceException as __BaseException } from "./RedshiftServiceException";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
PartnerIntegrationStatus["Active"] = "Active";
|
|
32
|
-
PartnerIntegrationStatus["ConnectionFailure"] = "ConnectionFailure";
|
|
33
|
-
PartnerIntegrationStatus["Inactive"] = "Inactive";
|
|
34
|
-
PartnerIntegrationStatus["RuntimeFailure"] = "RuntimeFailure";
|
|
35
|
-
})(PartnerIntegrationStatus || (PartnerIntegrationStatus = {}));
|
|
2
|
+
export const LogDestinationType = {
|
|
3
|
+
CLOUDWATCH: "cloudwatch",
|
|
4
|
+
S3: "s3",
|
|
5
|
+
};
|
|
6
|
+
export const NodeConfigurationOptionsFilterName = {
|
|
7
|
+
ESTIMATED_DISK_UTILIZATION_PERCENT: "EstimatedDiskUtilizationPercent",
|
|
8
|
+
MODE: "Mode",
|
|
9
|
+
NODE_TYPE: "NodeType",
|
|
10
|
+
NUM_NODES: "NumberOfNodes",
|
|
11
|
+
};
|
|
12
|
+
export const OperatorType = {
|
|
13
|
+
BETWEEN: "between",
|
|
14
|
+
EQ: "eq",
|
|
15
|
+
GE: "ge",
|
|
16
|
+
GT: "gt",
|
|
17
|
+
IN: "in",
|
|
18
|
+
LE: "le",
|
|
19
|
+
LT: "lt",
|
|
20
|
+
};
|
|
21
|
+
export const Mode = {
|
|
22
|
+
HIGH_PERFORMANCE: "high-performance",
|
|
23
|
+
STANDARD: "standard",
|
|
24
|
+
};
|
|
25
|
+
export const PartnerIntegrationStatus = {
|
|
26
|
+
Active: "Active",
|
|
27
|
+
ConnectionFailure: "ConnectionFailure",
|
|
28
|
+
Inactive: "Inactive",
|
|
29
|
+
RuntimeFailure: "RuntimeFailure",
|
|
30
|
+
};
|
|
36
31
|
export class ReservedNodeExchangeNotFoundFault extends __BaseException {
|
|
37
32
|
constructor(opts) {
|
|
38
33
|
super({
|
|
@@ -45,17 +40,15 @@ export class ReservedNodeExchangeNotFoundFault extends __BaseException {
|
|
|
45
40
|
Object.setPrototypeOf(this, ReservedNodeExchangeNotFoundFault.prototype);
|
|
46
41
|
}
|
|
47
42
|
}
|
|
48
|
-
export
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
ScheduledActionTypeValues["RESUME_CLUSTER"] = "ResumeCluster";
|
|
58
|
-
})(ScheduledActionTypeValues || (ScheduledActionTypeValues = {}));
|
|
43
|
+
export const ScheduledActionFilterName = {
|
|
44
|
+
CLUSTER_IDENTIFIER: "cluster-identifier",
|
|
45
|
+
IAM_ROLE: "iam-role",
|
|
46
|
+
};
|
|
47
|
+
export const ScheduledActionTypeValues = {
|
|
48
|
+
PAUSE_CLUSTER: "PauseCluster",
|
|
49
|
+
RESIZE_CLUSTER: "ResizeCluster",
|
|
50
|
+
RESUME_CLUSTER: "ResumeCluster",
|
|
51
|
+
};
|
|
59
52
|
export class TableRestoreNotFoundFault extends __BaseException {
|
|
60
53
|
constructor(opts) {
|
|
61
54
|
super({
|
|
@@ -68,14 +61,13 @@ export class TableRestoreNotFoundFault extends __BaseException {
|
|
|
68
61
|
Object.setPrototypeOf(this, TableRestoreNotFoundFault.prototype);
|
|
69
62
|
}
|
|
70
63
|
}
|
|
71
|
-
export
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
})(TableRestoreStatusType || (TableRestoreStatusType = {}));
|
|
64
|
+
export const TableRestoreStatusType = {
|
|
65
|
+
CANCELED: "CANCELED",
|
|
66
|
+
FAILED: "FAILED",
|
|
67
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
68
|
+
PENDING: "PENDING",
|
|
69
|
+
SUCCEEDED: "SUCCEEDED",
|
|
70
|
+
};
|
|
79
71
|
export class SnapshotCopyAlreadyDisabledFault extends __BaseException {
|
|
80
72
|
constructor(opts) {
|
|
81
73
|
super({
|
|
@@ -172,11 +164,10 @@ export class EndpointAuthorizationNotFoundFault extends __BaseException {
|
|
|
172
164
|
Object.setPrototypeOf(this, EndpointAuthorizationNotFoundFault.prototype);
|
|
173
165
|
}
|
|
174
166
|
}
|
|
175
|
-
export
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
})(ReservedNodeExchangeActionType || (ReservedNodeExchangeActionType = {}));
|
|
167
|
+
export const ReservedNodeExchangeActionType = {
|
|
168
|
+
RESIZE_CLUSTER: "resize-cluster",
|
|
169
|
+
RESTORE_CLUSTER: "restore-cluster",
|
|
170
|
+
};
|
|
180
171
|
export class InProgressTableRestoreQuotaExceededFault extends __BaseException {
|
|
181
172
|
constructor(opts) {
|
|
182
173
|
super({
|