@aws-sdk/client-redshift 3.300.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.
Files changed (127) hide show
  1. package/dist-cjs/models/models_0.js +98 -117
  2. package/dist-cjs/models/models_1.js +49 -58
  3. package/dist-es/models/models_0.js +98 -117
  4. package/dist-es/models/models_1.js +49 -58
  5. package/dist-types/commands/AcceptReservedNodeExchangeCommand.d.ts +1 -1
  6. package/dist-types/commands/AddPartnerCommand.d.ts +1 -1
  7. package/dist-types/commands/AssociateDataShareConsumerCommand.d.ts +1 -1
  8. package/dist-types/commands/AuthorizeClusterSecurityGroupIngressCommand.d.ts +1 -1
  9. package/dist-types/commands/AuthorizeDataShareCommand.d.ts +1 -1
  10. package/dist-types/commands/AuthorizeEndpointAccessCommand.d.ts +2 -2
  11. package/dist-types/commands/AuthorizeSnapshotAccessCommand.d.ts +1 -1
  12. package/dist-types/commands/BatchDeleteClusterSnapshotsCommand.d.ts +3 -3
  13. package/dist-types/commands/BatchModifyClusterSnapshotsCommand.d.ts +2 -2
  14. package/dist-types/commands/CancelResizeCommand.d.ts +1 -1
  15. package/dist-types/commands/CopyClusterSnapshotCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateAuthenticationProfileCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateClusterCommand.d.ts +6 -6
  18. package/dist-types/commands/CreateClusterParameterGroupCommand.d.ts +3 -3
  19. package/dist-types/commands/CreateClusterSecurityGroupCommand.d.ts +3 -3
  20. package/dist-types/commands/CreateClusterSnapshotCommand.d.ts +3 -3
  21. package/dist-types/commands/CreateClusterSubnetGroupCommand.d.ts +4 -4
  22. package/dist-types/commands/CreateEndpointAccessCommand.d.ts +2 -2
  23. package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +5 -5
  24. package/dist-types/commands/CreateHsmClientCertificateCommand.d.ts +3 -3
  25. package/dist-types/commands/CreateHsmConfigurationCommand.d.ts +3 -3
  26. package/dist-types/commands/CreateScheduledActionCommand.d.ts +5 -5
  27. package/dist-types/commands/CreateSnapshotCopyGrantCommand.d.ts +3 -3
  28. package/dist-types/commands/CreateSnapshotScheduleCommand.d.ts +4 -4
  29. package/dist-types/commands/CreateTagsCommand.d.ts +3 -3
  30. package/dist-types/commands/CreateUsageLimitCommand.d.ts +3 -3
  31. package/dist-types/commands/DeauthorizeDataShareCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteAuthenticationProfileCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteClusterCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteClusterParameterGroupCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteClusterSecurityGroupCommand.d.ts +1 -1
  36. package/dist-types/commands/DeleteClusterSnapshotCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteClusterSubnetGroupCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +1 -1
  39. package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteHsmClientCertificateCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteHsmConfigurationCommand.d.ts +1 -1
  42. package/dist-types/commands/DeletePartnerCommand.d.ts +1 -1
  43. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +1 -1
  44. package/dist-types/commands/DeleteSnapshotCopyGrantCommand.d.ts +1 -1
  45. package/dist-types/commands/DeleteSnapshotScheduleCommand.d.ts +1 -1
  46. package/dist-types/commands/DeleteTagsCommand.d.ts +2 -2
  47. package/dist-types/commands/DeleteUsageLimitCommand.d.ts +1 -1
  48. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +2 -2
  49. package/dist-types/commands/DescribeAuthenticationProfilesCommand.d.ts +1 -1
  50. package/dist-types/commands/DescribeClusterDbRevisionsCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeClusterParameterGroupsCommand.d.ts +3 -3
  52. package/dist-types/commands/DescribeClusterParametersCommand.d.ts +1 -1
  53. package/dist-types/commands/DescribeClusterSecurityGroupsCommand.d.ts +3 -3
  54. package/dist-types/commands/DescribeClusterSnapshotsCommand.d.ts +5 -5
  55. package/dist-types/commands/DescribeClusterSubnetGroupsCommand.d.ts +3 -3
  56. package/dist-types/commands/DescribeClusterTracksCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeClusterVersionsCommand.d.ts +1 -1
  58. package/dist-types/commands/DescribeClustersCommand.d.ts +3 -3
  59. package/dist-types/commands/DescribeDataSharesCommand.d.ts +1 -1
  60. package/dist-types/commands/DescribeDataSharesForConsumerCommand.d.ts +1 -1
  61. package/dist-types/commands/DescribeDataSharesForProducerCommand.d.ts +1 -1
  62. package/dist-types/commands/DescribeDefaultClusterParametersCommand.d.ts +1 -1
  63. package/dist-types/commands/DescribeEndpointAccessCommand.d.ts +1 -1
  64. package/dist-types/commands/DescribeEndpointAuthorizationCommand.d.ts +1 -1
  65. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +1 -1
  66. package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +3 -3
  67. package/dist-types/commands/DescribeEventsCommand.d.ts +1 -1
  68. package/dist-types/commands/DescribeHsmClientCertificatesCommand.d.ts +3 -3
  69. package/dist-types/commands/DescribeHsmConfigurationsCommand.d.ts +3 -3
  70. package/dist-types/commands/DescribeLoggingStatusCommand.d.ts +1 -1
  71. package/dist-types/commands/DescribeNodeConfigurationOptionsCommand.d.ts +4 -4
  72. package/dist-types/commands/DescribeOrderableClusterOptionsCommand.d.ts +1 -1
  73. package/dist-types/commands/DescribePartnersCommand.d.ts +1 -1
  74. package/dist-types/commands/DescribeReservedNodeExchangeStatusCommand.d.ts +1 -1
  75. package/dist-types/commands/DescribeReservedNodeOfferingsCommand.d.ts +1 -1
  76. package/dist-types/commands/DescribeReservedNodesCommand.d.ts +1 -1
  77. package/dist-types/commands/DescribeResizeCommand.d.ts +1 -1
  78. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +4 -4
  79. package/dist-types/commands/DescribeSnapshotCopyGrantsCommand.d.ts +3 -3
  80. package/dist-types/commands/DescribeSnapshotSchedulesCommand.d.ts +3 -3
  81. package/dist-types/commands/DescribeTableRestoreStatusCommand.d.ts +1 -1
  82. package/dist-types/commands/DescribeTagsCommand.d.ts +3 -3
  83. package/dist-types/commands/DescribeUsageLimitsCommand.d.ts +3 -3
  84. package/dist-types/commands/DisableLoggingCommand.d.ts +1 -1
  85. package/dist-types/commands/DisableSnapshotCopyCommand.d.ts +1 -1
  86. package/dist-types/commands/DisassociateDataShareConsumerCommand.d.ts +1 -1
  87. package/dist-types/commands/EnableLoggingCommand.d.ts +2 -2
  88. package/dist-types/commands/EnableSnapshotCopyCommand.d.ts +1 -1
  89. package/dist-types/commands/GetClusterCredentialsCommand.d.ts +2 -2
  90. package/dist-types/commands/GetClusterCredentialsWithIAMCommand.d.ts +1 -1
  91. package/dist-types/commands/GetReservedNodeExchangeConfigurationOptionsCommand.d.ts +1 -1
  92. package/dist-types/commands/GetReservedNodeExchangeOfferingsCommand.d.ts +1 -1
  93. package/dist-types/commands/ModifyAquaConfigurationCommand.d.ts +1 -1
  94. package/dist-types/commands/ModifyAuthenticationProfileCommand.d.ts +1 -1
  95. package/dist-types/commands/ModifyClusterCommand.d.ts +3 -3
  96. package/dist-types/commands/ModifyClusterDbRevisionCommand.d.ts +1 -1
  97. package/dist-types/commands/ModifyClusterIamRolesCommand.d.ts +2 -2
  98. package/dist-types/commands/ModifyClusterMaintenanceCommand.d.ts +1 -1
  99. package/dist-types/commands/ModifyClusterParameterGroupCommand.d.ts +3 -3
  100. package/dist-types/commands/ModifyClusterSnapshotCommand.d.ts +1 -1
  101. package/dist-types/commands/ModifyClusterSnapshotScheduleCommand.d.ts +1 -1
  102. package/dist-types/commands/ModifyClusterSubnetGroupCommand.d.ts +2 -2
  103. package/dist-types/commands/ModifyEndpointAccessCommand.d.ts +2 -2
  104. package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +3 -3
  105. package/dist-types/commands/ModifyScheduledActionCommand.d.ts +5 -5
  106. package/dist-types/commands/ModifySnapshotCopyRetentionPeriodCommand.d.ts +1 -1
  107. package/dist-types/commands/ModifySnapshotScheduleCommand.d.ts +2 -2
  108. package/dist-types/commands/ModifyUsageLimitCommand.d.ts +1 -1
  109. package/dist-types/commands/PauseClusterCommand.d.ts +1 -1
  110. package/dist-types/commands/PurchaseReservedNodeOfferingCommand.d.ts +1 -1
  111. package/dist-types/commands/RebootClusterCommand.d.ts +1 -1
  112. package/dist-types/commands/RejectDataShareCommand.d.ts +1 -1
  113. package/dist-types/commands/ResetClusterParameterGroupCommand.d.ts +3 -3
  114. package/dist-types/commands/ResizeClusterCommand.d.ts +1 -1
  115. package/dist-types/commands/RestoreFromClusterSnapshotCommand.d.ts +4 -4
  116. package/dist-types/commands/RestoreTableFromClusterSnapshotCommand.d.ts +1 -1
  117. package/dist-types/commands/ResumeClusterCommand.d.ts +1 -1
  118. package/dist-types/commands/RevokeClusterSecurityGroupIngressCommand.d.ts +1 -1
  119. package/dist-types/commands/RevokeEndpointAccessCommand.d.ts +2 -2
  120. package/dist-types/commands/RevokeSnapshotAccessCommand.d.ts +1 -1
  121. package/dist-types/commands/RotateEncryptionKeyCommand.d.ts +1 -1
  122. package/dist-types/commands/UpdatePartnerStatusCommand.d.ts +1 -1
  123. package/dist-types/models/models_0.d.ts +193 -98
  124. package/dist-types/models/models_1.d.ts +94 -49
  125. package/dist-types/ts3.4/models/models_0.d.ts +131 -98
  126. package/dist-types/ts3.4/models/models_1.d.ts +65 -49
  127. 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 var ReservedNodeOfferingType;
4
- (function (ReservedNodeOfferingType) {
5
- ReservedNodeOfferingType["Regular"] = "Regular";
6
- ReservedNodeOfferingType["Upgradable"] = "Upgradable";
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 var ActionType;
117
- (function (ActionType) {
118
- ActionType["RECOMMEND_NODE_CONFIG"] = "recommend-node-config";
119
- ActionType["RESIZE_CLUSTER"] = "resize-cluster";
120
- ActionType["RESTORE_CLUSTER"] = "restore-cluster";
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 var AquaConfigurationStatus;
159
- (function (AquaConfigurationStatus) {
160
- AquaConfigurationStatus["AUTO"] = "auto";
161
- AquaConfigurationStatus["DISABLED"] = "disabled";
162
- AquaConfigurationStatus["ENABLED"] = "enabled";
163
- })(AquaConfigurationStatus || (AquaConfigurationStatus = {}));
164
- export var AquaStatus;
165
- (function (AquaStatus) {
166
- AquaStatus["APPLYING"] = "applying";
167
- AquaStatus["DISABLED"] = "disabled";
168
- AquaStatus["ENABLED"] = "enabled";
169
- })(AquaStatus || (AquaStatus = {}));
170
- export var DataShareStatus;
171
- (function (DataShareStatus) {
172
- DataShareStatus["ACTIVE"] = "ACTIVE";
173
- DataShareStatus["AUTHORIZED"] = "AUTHORIZED";
174
- DataShareStatus["AVAILABLE"] = "AVAILABLE";
175
- DataShareStatus["DEAUTHORIZED"] = "DEAUTHORIZED";
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 var ScheduleState;
204
- (function (ScheduleState) {
205
- ScheduleState["ACTIVE"] = "ACTIVE";
206
- ScheduleState["FAILED"] = "FAILED";
207
- ScheduleState["MODIFYING"] = "MODIFYING";
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 var AuthorizationStatus;
282
- (function (AuthorizationStatus) {
283
- AuthorizationStatus["AUTHORIZED"] = "Authorized";
284
- AuthorizationStatus["REVOKING"] = "Revoking";
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 var ReservedNodeExchangeStatusType;
467
- (function (ReservedNodeExchangeStatusType) {
468
- ReservedNodeExchangeStatusType["FAILED"] = "FAILED";
469
- ReservedNodeExchangeStatusType["IN_PROGRESS"] = "IN_PROGRESS";
470
- ReservedNodeExchangeStatusType["PENDING"] = "PENDING";
471
- ReservedNodeExchangeStatusType["REQUESTED"] = "REQUESTED";
472
- ReservedNodeExchangeStatusType["RETRYING"] = "RETRYING";
473
- ReservedNodeExchangeStatusType["SUCCEEDED"] = "SUCCEEDED";
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 var ParameterApplyType;
512
- (function (ParameterApplyType) {
513
- ParameterApplyType["dynamic"] = "dynamic";
514
- ParameterApplyType["static"] = "static";
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 var ScheduledActionState;
1057
- (function (ScheduledActionState) {
1058
- ScheduledActionState["ACTIVE"] = "ACTIVE";
1059
- ScheduledActionState["DISABLED"] = "DISABLED";
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 var UsageLimitBreachAction;
1170
- (function (UsageLimitBreachAction) {
1171
- UsageLimitBreachAction["DISABLE"] = "disable";
1172
- UsageLimitBreachAction["EMIT_METRIC"] = "emit-metric";
1173
- UsageLimitBreachAction["LOG"] = "log";
1174
- })(UsageLimitBreachAction || (UsageLimitBreachAction = {}));
1175
- export var UsageLimitFeatureType;
1176
- (function (UsageLimitFeatureType) {
1177
- UsageLimitFeatureType["CONCURRENCY_SCALING"] = "concurrency-scaling";
1178
- UsageLimitFeatureType["CROSS_REGION_DATASHARING"] = "cross-region-datasharing";
1179
- UsageLimitFeatureType["SPECTRUM"] = "spectrum";
1180
- })(UsageLimitFeatureType || (UsageLimitFeatureType = {}));
1181
- export var UsageLimitLimitType;
1182
- (function (UsageLimitLimitType) {
1183
- UsageLimitLimitType["DATA_SCANNED"] = "data-scanned";
1184
- UsageLimitLimitType["TIME"] = "time";
1185
- })(UsageLimitLimitType || (UsageLimitLimitType = {}));
1186
- export var UsageLimitPeriod;
1187
- (function (UsageLimitPeriod) {
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 var DataShareStatusForConsumer;
1217
- (function (DataShareStatusForConsumer) {
1218
- DataShareStatusForConsumer["ACTIVE"] = "ACTIVE";
1219
- DataShareStatusForConsumer["AVAILABLE"] = "AVAILABLE";
1220
- })(DataShareStatusForConsumer || (DataShareStatusForConsumer = {}));
1221
- export var DataShareStatusForProducer;
1222
- (function (DataShareStatusForProducer) {
1223
- DataShareStatusForProducer["ACTIVE"] = "ACTIVE";
1224
- DataShareStatusForProducer["AUTHORIZED"] = "AUTHORIZED";
1225
- DataShareStatusForProducer["DEAUTHORIZED"] = "DEAUTHORIZED";
1226
- DataShareStatusForProducer["PENDING_AUTHORIZATION"] = "PENDING_AUTHORIZATION";
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 var SnapshotAttributeToSortBy;
1386
- (function (SnapshotAttributeToSortBy) {
1387
- SnapshotAttributeToSortBy["CREATE_TIME"] = "CREATE_TIME";
1388
- SnapshotAttributeToSortBy["SOURCE_TYPE"] = "SOURCE_TYPE";
1389
- SnapshotAttributeToSortBy["TOTAL_SIZE"] = "TOTAL_SIZE";
1390
- })(SnapshotAttributeToSortBy || (SnapshotAttributeToSortBy = {}));
1391
- export var SortByOrder;
1392
- (function (SortByOrder) {
1393
- SortByOrder["ASCENDING"] = "ASC";
1394
- SortByOrder["DESCENDING"] = "DESC";
1395
- })(SortByOrder || (SortByOrder = {}));
1396
- export var SourceType;
1397
- (function (SourceType) {
1398
- SourceType["cluster"] = "cluster";
1399
- SourceType["cluster_parameter_group"] = "cluster-parameter-group";
1400
- SourceType["cluster_security_group"] = "cluster-security-group";
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 var LogDestinationType;
3
- (function (LogDestinationType) {
4
- LogDestinationType["CLOUDWATCH"] = "cloudwatch";
5
- LogDestinationType["S3"] = "s3";
6
- })(LogDestinationType || (LogDestinationType = {}));
7
- export var NodeConfigurationOptionsFilterName;
8
- (function (NodeConfigurationOptionsFilterName) {
9
- NodeConfigurationOptionsFilterName["ESTIMATED_DISK_UTILIZATION_PERCENT"] = "EstimatedDiskUtilizationPercent";
10
- NodeConfigurationOptionsFilterName["MODE"] = "Mode";
11
- NodeConfigurationOptionsFilterName["NODE_TYPE"] = "NodeType";
12
- NodeConfigurationOptionsFilterName["NUM_NODES"] = "NumberOfNodes";
13
- })(NodeConfigurationOptionsFilterName || (NodeConfigurationOptionsFilterName = {}));
14
- export var OperatorType;
15
- (function (OperatorType) {
16
- OperatorType["BETWEEN"] = "between";
17
- OperatorType["EQ"] = "eq";
18
- OperatorType["GE"] = "ge";
19
- OperatorType["GT"] = "gt";
20
- OperatorType["IN"] = "in";
21
- OperatorType["LE"] = "le";
22
- OperatorType["LT"] = "lt";
23
- })(OperatorType || (OperatorType = {}));
24
- export var Mode;
25
- (function (Mode) {
26
- Mode["HIGH_PERFORMANCE"] = "high-performance";
27
- Mode["STANDARD"] = "standard";
28
- })(Mode || (Mode = {}));
29
- export var PartnerIntegrationStatus;
30
- (function (PartnerIntegrationStatus) {
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 var ScheduledActionFilterName;
49
- (function (ScheduledActionFilterName) {
50
- ScheduledActionFilterName["CLUSTER_IDENTIFIER"] = "cluster-identifier";
51
- ScheduledActionFilterName["IAM_ROLE"] = "iam-role";
52
- })(ScheduledActionFilterName || (ScheduledActionFilterName = {}));
53
- export var ScheduledActionTypeValues;
54
- (function (ScheduledActionTypeValues) {
55
- ScheduledActionTypeValues["PAUSE_CLUSTER"] = "PauseCluster";
56
- ScheduledActionTypeValues["RESIZE_CLUSTER"] = "ResizeCluster";
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 var TableRestoreStatusType;
72
- (function (TableRestoreStatusType) {
73
- TableRestoreStatusType["CANCELED"] = "CANCELED";
74
- TableRestoreStatusType["FAILED"] = "FAILED";
75
- TableRestoreStatusType["IN_PROGRESS"] = "IN_PROGRESS";
76
- TableRestoreStatusType["PENDING"] = "PENDING";
77
- TableRestoreStatusType["SUCCEEDED"] = "SUCCEEDED";
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 var ReservedNodeExchangeActionType;
176
- (function (ReservedNodeExchangeActionType) {
177
- ReservedNodeExchangeActionType["RESIZE_CLUSTER"] = "resize-cluster";
178
- ReservedNodeExchangeActionType["RESTORE_CLUSTER"] = "restore-cluster";
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({
@@ -28,7 +28,7 @@ export interface AcceptReservedNodeExchangeCommandOutput extends AcceptReservedN
28
28
  * import { RedshiftClient, AcceptReservedNodeExchangeCommand } from "@aws-sdk/client-redshift"; // ES Modules import
29
29
  * // const { RedshiftClient, AcceptReservedNodeExchangeCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
30
30
  * const client = new RedshiftClient(config);
31
- * const input = {
31
+ * const input = { // AcceptReservedNodeExchangeInputMessage
32
32
  * ReservedNodeId: "STRING_VALUE", // required
33
33
  * TargetReservedNodeOfferingId: "STRING_VALUE", // required
34
34
  * };
@@ -28,7 +28,7 @@ export interface AddPartnerCommandOutput extends PartnerIntegrationOutputMessage
28
28
  * import { RedshiftClient, AddPartnerCommand } from "@aws-sdk/client-redshift"; // ES Modules import
29
29
  * // const { RedshiftClient, AddPartnerCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
30
30
  * const client = new RedshiftClient(config);
31
- * const input = {
31
+ * const input = { // PartnerIntegrationInputMessage
32
32
  * AccountId: "STRING_VALUE", // required
33
33
  * ClusterIdentifier: "STRING_VALUE", // required
34
34
  * DatabaseName: "STRING_VALUE", // required
@@ -28,7 +28,7 @@ export interface AssociateDataShareConsumerCommandOutput extends DataShare, __Me
28
28
  * import { RedshiftClient, AssociateDataShareConsumerCommand } from "@aws-sdk/client-redshift"; // ES Modules import
29
29
  * // const { RedshiftClient, AssociateDataShareConsumerCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
30
30
  * const client = new RedshiftClient(config);
31
- * const input = {
31
+ * const input = { // AssociateDataShareConsumerMessage
32
32
  * DataShareArn: "STRING_VALUE", // required
33
33
  * AssociateEntireAccount: true || false,
34
34
  * ConsumerArn: "STRING_VALUE",
@@ -41,7 +41,7 @@ export interface AuthorizeClusterSecurityGroupIngressCommandOutput extends Autho
41
41
  * import { RedshiftClient, AuthorizeClusterSecurityGroupIngressCommand } from "@aws-sdk/client-redshift"; // ES Modules import
42
42
  * // const { RedshiftClient, AuthorizeClusterSecurityGroupIngressCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
43
43
  * const client = new RedshiftClient(config);
44
- * const input = {
44
+ * const input = { // AuthorizeClusterSecurityGroupIngressMessage
45
45
  * ClusterSecurityGroupName: "STRING_VALUE", // required
46
46
  * CIDRIP: "STRING_VALUE",
47
47
  * EC2SecurityGroupName: "STRING_VALUE",
@@ -28,7 +28,7 @@ export interface AuthorizeDataShareCommandOutput extends DataShare, __MetadataBe
28
28
  * import { RedshiftClient, AuthorizeDataShareCommand } from "@aws-sdk/client-redshift"; // ES Modules import
29
29
  * // const { RedshiftClient, AuthorizeDataShareCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
30
30
  * const client = new RedshiftClient(config);
31
- * const input = {
31
+ * const input = { // AuthorizeDataShareMessage
32
32
  * DataShareArn: "STRING_VALUE", // required
33
33
  * ConsumerIdentifier: "STRING_VALUE", // required
34
34
  * };
@@ -26,10 +26,10 @@ export interface AuthorizeEndpointAccessCommandOutput extends EndpointAuthorizat
26
26
  * import { RedshiftClient, AuthorizeEndpointAccessCommand } from "@aws-sdk/client-redshift"; // ES Modules import
27
27
  * // const { RedshiftClient, AuthorizeEndpointAccessCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
28
28
  * const client = new RedshiftClient(config);
29
- * const input = {
29
+ * const input = { // AuthorizeEndpointAccessMessage
30
30
  * ClusterIdentifier: "STRING_VALUE",
31
31
  * Account: "STRING_VALUE", // required
32
- * VpcIds: [
32
+ * VpcIds: [ // VpcIdentifierList
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * };
@@ -31,7 +31,7 @@ export interface AuthorizeSnapshotAccessCommandOutput extends AuthorizeSnapshotA
31
31
  * import { RedshiftClient, AuthorizeSnapshotAccessCommand } from "@aws-sdk/client-redshift"; // ES Modules import
32
32
  * // const { RedshiftClient, AuthorizeSnapshotAccessCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
33
33
  * const client = new RedshiftClient(config);
34
- * const input = {
34
+ * const input = { // AuthorizeSnapshotAccessMessage
35
35
  * SnapshotIdentifier: "STRING_VALUE",
36
36
  * SnapshotArn: "STRING_VALUE",
37
37
  * SnapshotClusterIdentifier: "STRING_VALUE",
@@ -26,9 +26,9 @@ export interface BatchDeleteClusterSnapshotsCommandOutput extends BatchDeleteClu
26
26
  * import { RedshiftClient, BatchDeleteClusterSnapshotsCommand } from "@aws-sdk/client-redshift"; // ES Modules import
27
27
  * // const { RedshiftClient, BatchDeleteClusterSnapshotsCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
28
28
  * const client = new RedshiftClient(config);
29
- * const input = {
30
- * Identifiers: [ // required
31
- * {
29
+ * const input = { // BatchDeleteClusterSnapshotsRequest
30
+ * Identifiers: [ // DeleteClusterSnapshotMessageList // required
31
+ * { // DeleteClusterSnapshotMessage
32
32
  * SnapshotIdentifier: "STRING_VALUE", // required
33
33
  * SnapshotClusterIdentifier: "STRING_VALUE",
34
34
  * },
@@ -26,8 +26,8 @@ export interface BatchModifyClusterSnapshotsCommandOutput extends BatchModifyClu
26
26
  * import { RedshiftClient, BatchModifyClusterSnapshotsCommand } from "@aws-sdk/client-redshift"; // ES Modules import
27
27
  * // const { RedshiftClient, BatchModifyClusterSnapshotsCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
28
28
  * const client = new RedshiftClient(config);
29
- * const input = {
30
- * SnapshotIdentifierList: [ // required
29
+ * const input = { // BatchModifyClusterSnapshotsMessage
30
+ * SnapshotIdentifierList: [ // SnapshotIdentifierList // required
31
31
  * "STRING_VALUE",
32
32
  * ],
33
33
  * ManualSnapshotRetentionPeriod: Number("int"),
@@ -26,7 +26,7 @@ export interface CancelResizeCommandOutput extends ResizeProgressMessage, __Meta
26
26
  * import { RedshiftClient, CancelResizeCommand } from "@aws-sdk/client-redshift"; // ES Modules import
27
27
  * // const { RedshiftClient, CancelResizeCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
28
28
  * const client = new RedshiftClient(config);
29
- * const input = {
29
+ * const input = { // CancelResizeMessage
30
30
  * ClusterIdentifier: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new CancelResizeCommand(input);
@@ -37,7 +37,7 @@ export interface CopyClusterSnapshotCommandOutput extends CopyClusterSnapshotRes
37
37
  * import { RedshiftClient, CopyClusterSnapshotCommand } from "@aws-sdk/client-redshift"; // ES Modules import
38
38
  * // const { RedshiftClient, CopyClusterSnapshotCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
39
39
  * const client = new RedshiftClient(config);
40
- * const input = {
40
+ * const input = { // CopyClusterSnapshotMessage
41
41
  * SourceSnapshotIdentifier: "STRING_VALUE", // required
42
42
  * SourceSnapshotClusterIdentifier: "STRING_VALUE",
43
43
  * TargetSnapshotIdentifier: "STRING_VALUE", // required
@@ -26,7 +26,7 @@ export interface CreateAuthenticationProfileCommandOutput extends CreateAuthenti
26
26
  * import { RedshiftClient, CreateAuthenticationProfileCommand } from "@aws-sdk/client-redshift"; // ES Modules import
27
27
  * // const { RedshiftClient, CreateAuthenticationProfileCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
28
28
  * const client = new RedshiftClient(config);
29
- * const input = {
29
+ * const input = { // CreateAuthenticationProfileMessage
30
30
  * AuthenticationProfileName: "STRING_VALUE", // required
31
31
  * AuthenticationProfileContent: "STRING_VALUE", // required
32
32
  * };
@@ -32,17 +32,17 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
32
32
  * import { RedshiftClient, CreateClusterCommand } from "@aws-sdk/client-redshift"; // ES Modules import
33
33
  * // const { RedshiftClient, CreateClusterCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
34
34
  * const client = new RedshiftClient(config);
35
- * const input = {
35
+ * const input = { // CreateClusterMessage
36
36
  * DBName: "STRING_VALUE",
37
37
  * ClusterIdentifier: "STRING_VALUE", // required
38
38
  * ClusterType: "STRING_VALUE",
39
39
  * NodeType: "STRING_VALUE", // required
40
40
  * MasterUsername: "STRING_VALUE", // required
41
41
  * MasterUserPassword: "STRING_VALUE", // required
42
- * ClusterSecurityGroups: [
42
+ * ClusterSecurityGroups: [ // ClusterSecurityGroupNameList
43
43
  * "STRING_VALUE",
44
44
  * ],
45
- * VpcSecurityGroupIds: [
45
+ * VpcSecurityGroupIds: [ // VpcSecurityGroupIdList
46
46
  * "STRING_VALUE",
47
47
  * ],
48
48
  * ClusterSubnetGroupName: "STRING_VALUE",
@@ -60,8 +60,8 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
60
60
  * HsmClientCertificateIdentifier: "STRING_VALUE",
61
61
  * HsmConfigurationIdentifier: "STRING_VALUE",
62
62
  * ElasticIp: "STRING_VALUE",
63
- * Tags: [
64
- * {
63
+ * Tags: [ // TagList
64
+ * { // Tag
65
65
  * Key: "STRING_VALUE",
66
66
  * Value: "STRING_VALUE",
67
67
  * },
@@ -69,7 +69,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
69
69
  * KmsKeyId: "STRING_VALUE",
70
70
  * EnhancedVpcRouting: true || false,
71
71
  * AdditionalInfo: "STRING_VALUE",
72
- * IamRoles: [
72
+ * IamRoles: [ // IamRoleArnList
73
73
  * "STRING_VALUE",
74
74
  * ],
75
75
  * MaintenanceTrackName: "STRING_VALUE",
@@ -34,12 +34,12 @@ export interface CreateClusterParameterGroupCommandOutput extends CreateClusterP
34
34
  * import { RedshiftClient, CreateClusterParameterGroupCommand } from "@aws-sdk/client-redshift"; // ES Modules import
35
35
  * // const { RedshiftClient, CreateClusterParameterGroupCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
36
36
  * const client = new RedshiftClient(config);
37
- * const input = {
37
+ * const input = { // CreateClusterParameterGroupMessage
38
38
  * ParameterGroupName: "STRING_VALUE", // required
39
39
  * ParameterGroupFamily: "STRING_VALUE", // required
40
40
  * Description: "STRING_VALUE", // required
41
- * Tags: [
42
- * {
41
+ * Tags: [ // TagList
42
+ * { // Tag
43
43
  * Key: "STRING_VALUE",
44
44
  * Value: "STRING_VALUE",
45
45
  * },
@@ -31,11 +31,11 @@ export interface CreateClusterSecurityGroupCommandOutput extends CreateClusterSe
31
31
  * import { RedshiftClient, CreateClusterSecurityGroupCommand } from "@aws-sdk/client-redshift"; // ES Modules import
32
32
  * // const { RedshiftClient, CreateClusterSecurityGroupCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
33
33
  * const client = new RedshiftClient(config);
34
- * const input = {
34
+ * const input = { // CreateClusterSecurityGroupMessage
35
35
  * ClusterSecurityGroupName: "STRING_VALUE", // required
36
36
  * Description: "STRING_VALUE", // required
37
- * Tags: [
38
- * {
37
+ * Tags: [ // TagList
38
+ * { // Tag
39
39
  * Key: "STRING_VALUE",
40
40
  * Value: "STRING_VALUE",
41
41
  * },