@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
@@ -5,11 +5,10 @@ exports.SnapshotScheduleAlreadyExistsFault = exports.ScheduleDefinitionTypeUnsup
5
5
  exports.ClusterExtendedCredentialsFilterSensitiveLog = exports.ClusterCredentialsFilterSensitiveLog = exports.SourceType = exports.SortByOrder = exports.SnapshotAttributeToSortBy = exports.UsageLimitNotFoundFault = exports.InvalidClusterSnapshotScheduleStateFault = exports.SnapshotCopyGrantNotFoundFault = exports.InvalidSnapshotCopyGrantStateFault = exports.ScheduledActionNotFoundFault = exports.InvalidHsmConfigurationStateFault = exports.InvalidHsmClientCertificateStateFault = exports.SubscriptionNotFoundFault = exports.InvalidSubscriptionStateFault = exports.InvalidEndpointStateFault = exports.EndpointNotFoundFault = exports.InvalidClusterSubnetStateFault = exports.InvalidClusterParameterGroupStateFault = exports.DataShareStatusForProducer = exports.DataShareStatusForConsumer = exports.UsageLimitAlreadyExistsFault = exports.InvalidUsageLimitFault = exports.UsageLimitPeriod = exports.UsageLimitLimitType = exports.UsageLimitFeatureType = exports.UsageLimitBreachAction = exports.ResourceNotFoundFault = exports.SnapshotScheduleQuotaExceededFault = void 0;
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const RedshiftServiceException_1 = require("./RedshiftServiceException");
8
- var ReservedNodeOfferingType;
9
- (function (ReservedNodeOfferingType) {
10
- ReservedNodeOfferingType["Regular"] = "Regular";
11
- ReservedNodeOfferingType["Upgradable"] = "Upgradable";
12
- })(ReservedNodeOfferingType = exports.ReservedNodeOfferingType || (exports.ReservedNodeOfferingType = {}));
8
+ exports.ReservedNodeOfferingType = {
9
+ Regular: "Regular",
10
+ Upgradable: "Upgradable",
11
+ };
13
12
  class DependentServiceUnavailableFault extends RedshiftServiceException_1.RedshiftServiceException {
14
13
  constructor(opts) {
15
14
  super({
@@ -127,12 +126,11 @@ class AccessToSnapshotDeniedFault extends RedshiftServiceException_1.RedshiftSer
127
126
  }
128
127
  }
129
128
  exports.AccessToSnapshotDeniedFault = AccessToSnapshotDeniedFault;
130
- var ActionType;
131
- (function (ActionType) {
132
- ActionType["RECOMMEND_NODE_CONFIG"] = "recommend-node-config";
133
- ActionType["RESIZE_CLUSTER"] = "resize-cluster";
134
- ActionType["RESTORE_CLUSTER"] = "restore-cluster";
135
- })(ActionType = exports.ActionType || (exports.ActionType = {}));
129
+ exports.ActionType = {
130
+ RECOMMEND_NODE_CONFIG: "recommend-node-config",
131
+ RESIZE_CLUSTER: "resize-cluster",
132
+ RESTORE_CLUSTER: "restore-cluster",
133
+ };
136
134
  class ClusterNotFoundFault extends RedshiftServiceException_1.RedshiftServiceException {
137
135
  constructor(opts) {
138
136
  super({
@@ -172,27 +170,24 @@ class UnauthorizedPartnerIntegrationFault extends RedshiftServiceException_1.Red
172
170
  }
173
171
  }
174
172
  exports.UnauthorizedPartnerIntegrationFault = UnauthorizedPartnerIntegrationFault;
175
- var AquaConfigurationStatus;
176
- (function (AquaConfigurationStatus) {
177
- AquaConfigurationStatus["AUTO"] = "auto";
178
- AquaConfigurationStatus["DISABLED"] = "disabled";
179
- AquaConfigurationStatus["ENABLED"] = "enabled";
180
- })(AquaConfigurationStatus = exports.AquaConfigurationStatus || (exports.AquaConfigurationStatus = {}));
181
- var AquaStatus;
182
- (function (AquaStatus) {
183
- AquaStatus["APPLYING"] = "applying";
184
- AquaStatus["DISABLED"] = "disabled";
185
- AquaStatus["ENABLED"] = "enabled";
186
- })(AquaStatus = exports.AquaStatus || (exports.AquaStatus = {}));
187
- var DataShareStatus;
188
- (function (DataShareStatus) {
189
- DataShareStatus["ACTIVE"] = "ACTIVE";
190
- DataShareStatus["AUTHORIZED"] = "AUTHORIZED";
191
- DataShareStatus["AVAILABLE"] = "AVAILABLE";
192
- DataShareStatus["DEAUTHORIZED"] = "DEAUTHORIZED";
193
- DataShareStatus["PENDING_AUTHORIZATION"] = "PENDING_AUTHORIZATION";
194
- DataShareStatus["REJECTED"] = "REJECTED";
195
- })(DataShareStatus = exports.DataShareStatus || (exports.DataShareStatus = {}));
173
+ exports.AquaConfigurationStatus = {
174
+ AUTO: "auto",
175
+ DISABLED: "disabled",
176
+ ENABLED: "enabled",
177
+ };
178
+ exports.AquaStatus = {
179
+ APPLYING: "applying",
180
+ DISABLED: "disabled",
181
+ ENABLED: "enabled",
182
+ };
183
+ exports.DataShareStatus = {
184
+ ACTIVE: "ACTIVE",
185
+ AUTHORIZED: "AUTHORIZED",
186
+ AVAILABLE: "AVAILABLE",
187
+ DEAUTHORIZED: "DEAUTHORIZED",
188
+ PENDING_AUTHORIZATION: "PENDING_AUTHORIZATION",
189
+ REJECTED: "REJECTED",
190
+ };
196
191
  class InvalidDataShareFault extends RedshiftServiceException_1.RedshiftServiceException {
197
192
  constructor(opts) {
198
193
  super({
@@ -219,12 +214,11 @@ class InvalidNamespaceFault extends RedshiftServiceException_1.RedshiftServiceEx
219
214
  }
220
215
  }
221
216
  exports.InvalidNamespaceFault = InvalidNamespaceFault;
222
- var ScheduleState;
223
- (function (ScheduleState) {
224
- ScheduleState["ACTIVE"] = "ACTIVE";
225
- ScheduleState["FAILED"] = "FAILED";
226
- ScheduleState["MODIFYING"] = "MODIFYING";
227
- })(ScheduleState = exports.ScheduleState || (exports.ScheduleState = {}));
217
+ exports.ScheduleState = {
218
+ ACTIVE: "ACTIVE",
219
+ FAILED: "FAILED",
220
+ MODIFYING: "MODIFYING",
221
+ };
228
222
  class AuthenticationProfileAlreadyExistsFault extends RedshiftServiceException_1.RedshiftServiceException {
229
223
  constructor(opts) {
230
224
  super({
@@ -303,11 +297,10 @@ class AuthorizationQuotaExceededFault extends RedshiftServiceException_1.Redshif
303
297
  }
304
298
  }
305
299
  exports.AuthorizationQuotaExceededFault = AuthorizationQuotaExceededFault;
306
- var AuthorizationStatus;
307
- (function (AuthorizationStatus) {
308
- AuthorizationStatus["AUTHORIZED"] = "Authorized";
309
- AuthorizationStatus["REVOKING"] = "Revoking";
310
- })(AuthorizationStatus = exports.AuthorizationStatus || (exports.AuthorizationStatus = {}));
300
+ exports.AuthorizationStatus = {
301
+ AUTHORIZED: "Authorized",
302
+ REVOKING: "Revoking",
303
+ };
311
304
  class ClusterSecurityGroupNotFoundFault extends RedshiftServiceException_1.RedshiftServiceException {
312
305
  constructor(opts) {
313
306
  super({
@@ -503,15 +496,14 @@ class ResizeNotFoundFault extends RedshiftServiceException_1.RedshiftServiceExce
503
496
  }
504
497
  }
505
498
  exports.ResizeNotFoundFault = ResizeNotFoundFault;
506
- var ReservedNodeExchangeStatusType;
507
- (function (ReservedNodeExchangeStatusType) {
508
- ReservedNodeExchangeStatusType["FAILED"] = "FAILED";
509
- ReservedNodeExchangeStatusType["IN_PROGRESS"] = "IN_PROGRESS";
510
- ReservedNodeExchangeStatusType["PENDING"] = "PENDING";
511
- ReservedNodeExchangeStatusType["REQUESTED"] = "REQUESTED";
512
- ReservedNodeExchangeStatusType["RETRYING"] = "RETRYING";
513
- ReservedNodeExchangeStatusType["SUCCEEDED"] = "SUCCEEDED";
514
- })(ReservedNodeExchangeStatusType = exports.ReservedNodeExchangeStatusType || (exports.ReservedNodeExchangeStatusType = {}));
499
+ exports.ReservedNodeExchangeStatusType = {
500
+ FAILED: "FAILED",
501
+ IN_PROGRESS: "IN_PROGRESS",
502
+ PENDING: "PENDING",
503
+ REQUESTED: "REQUESTED",
504
+ RETRYING: "RETRYING",
505
+ SUCCEEDED: "SUCCEEDED",
506
+ };
515
507
  class ClusterAlreadyExistsFault extends RedshiftServiceException_1.RedshiftServiceException {
516
508
  constructor(opts) {
517
509
  super({
@@ -551,11 +543,10 @@ class ClusterParameterGroupAlreadyExistsFault extends RedshiftServiceException_1
551
543
  }
552
544
  }
553
545
  exports.ClusterParameterGroupAlreadyExistsFault = ClusterParameterGroupAlreadyExistsFault;
554
- var ParameterApplyType;
555
- (function (ParameterApplyType) {
556
- ParameterApplyType["dynamic"] = "dynamic";
557
- ParameterApplyType["static"] = "static";
558
- })(ParameterApplyType = exports.ParameterApplyType || (exports.ParameterApplyType = {}));
546
+ exports.ParameterApplyType = {
547
+ dynamic: "dynamic",
548
+ static: "static",
549
+ };
559
550
  class ClusterParameterGroupNotFoundFault extends RedshiftServiceException_1.RedshiftServiceException {
560
551
  constructor(opts) {
561
552
  super({
@@ -1141,11 +1132,10 @@ class InvalidScheduleFault extends RedshiftServiceException_1.RedshiftServiceExc
1141
1132
  }
1142
1133
  }
1143
1134
  exports.InvalidScheduleFault = InvalidScheduleFault;
1144
- var ScheduledActionState;
1145
- (function (ScheduledActionState) {
1146
- ScheduledActionState["ACTIVE"] = "ACTIVE";
1147
- ScheduledActionState["DISABLED"] = "DISABLED";
1148
- })(ScheduledActionState = exports.ScheduledActionState || (exports.ScheduledActionState = {}));
1135
+ exports.ScheduledActionState = {
1136
+ ACTIVE: "ACTIVE",
1137
+ DISABLED: "DISABLED",
1138
+ };
1149
1139
  class ScheduledActionAlreadyExistsFault extends RedshiftServiceException_1.RedshiftServiceException {
1150
1140
  constructor(opts) {
1151
1141
  super({
@@ -1263,29 +1253,25 @@ class ResourceNotFoundFault extends RedshiftServiceException_1.RedshiftServiceEx
1263
1253
  }
1264
1254
  }
1265
1255
  exports.ResourceNotFoundFault = ResourceNotFoundFault;
1266
- var UsageLimitBreachAction;
1267
- (function (UsageLimitBreachAction) {
1268
- UsageLimitBreachAction["DISABLE"] = "disable";
1269
- UsageLimitBreachAction["EMIT_METRIC"] = "emit-metric";
1270
- UsageLimitBreachAction["LOG"] = "log";
1271
- })(UsageLimitBreachAction = exports.UsageLimitBreachAction || (exports.UsageLimitBreachAction = {}));
1272
- var UsageLimitFeatureType;
1273
- (function (UsageLimitFeatureType) {
1274
- UsageLimitFeatureType["CONCURRENCY_SCALING"] = "concurrency-scaling";
1275
- UsageLimitFeatureType["CROSS_REGION_DATASHARING"] = "cross-region-datasharing";
1276
- UsageLimitFeatureType["SPECTRUM"] = "spectrum";
1277
- })(UsageLimitFeatureType = exports.UsageLimitFeatureType || (exports.UsageLimitFeatureType = {}));
1278
- var UsageLimitLimitType;
1279
- (function (UsageLimitLimitType) {
1280
- UsageLimitLimitType["DATA_SCANNED"] = "data-scanned";
1281
- UsageLimitLimitType["TIME"] = "time";
1282
- })(UsageLimitLimitType = exports.UsageLimitLimitType || (exports.UsageLimitLimitType = {}));
1283
- var UsageLimitPeriod;
1284
- (function (UsageLimitPeriod) {
1285
- UsageLimitPeriod["DAILY"] = "daily";
1286
- UsageLimitPeriod["MONTHLY"] = "monthly";
1287
- UsageLimitPeriod["WEEKLY"] = "weekly";
1288
- })(UsageLimitPeriod = exports.UsageLimitPeriod || (exports.UsageLimitPeriod = {}));
1256
+ exports.UsageLimitBreachAction = {
1257
+ DISABLE: "disable",
1258
+ EMIT_METRIC: "emit-metric",
1259
+ LOG: "log",
1260
+ };
1261
+ exports.UsageLimitFeatureType = {
1262
+ CONCURRENCY_SCALING: "concurrency-scaling",
1263
+ CROSS_REGION_DATASHARING: "cross-region-datasharing",
1264
+ SPECTRUM: "spectrum",
1265
+ };
1266
+ exports.UsageLimitLimitType = {
1267
+ DATA_SCANNED: "data-scanned",
1268
+ TIME: "time",
1269
+ };
1270
+ exports.UsageLimitPeriod = {
1271
+ DAILY: "daily",
1272
+ MONTHLY: "monthly",
1273
+ WEEKLY: "weekly",
1274
+ };
1289
1275
  class InvalidUsageLimitFault extends RedshiftServiceException_1.RedshiftServiceException {
1290
1276
  constructor(opts) {
1291
1277
  super({
@@ -1312,19 +1298,17 @@ class UsageLimitAlreadyExistsFault extends RedshiftServiceException_1.RedshiftSe
1312
1298
  }
1313
1299
  }
1314
1300
  exports.UsageLimitAlreadyExistsFault = UsageLimitAlreadyExistsFault;
1315
- var DataShareStatusForConsumer;
1316
- (function (DataShareStatusForConsumer) {
1317
- DataShareStatusForConsumer["ACTIVE"] = "ACTIVE";
1318
- DataShareStatusForConsumer["AVAILABLE"] = "AVAILABLE";
1319
- })(DataShareStatusForConsumer = exports.DataShareStatusForConsumer || (exports.DataShareStatusForConsumer = {}));
1320
- var DataShareStatusForProducer;
1321
- (function (DataShareStatusForProducer) {
1322
- DataShareStatusForProducer["ACTIVE"] = "ACTIVE";
1323
- DataShareStatusForProducer["AUTHORIZED"] = "AUTHORIZED";
1324
- DataShareStatusForProducer["DEAUTHORIZED"] = "DEAUTHORIZED";
1325
- DataShareStatusForProducer["PENDING_AUTHORIZATION"] = "PENDING_AUTHORIZATION";
1326
- DataShareStatusForProducer["REJECTED"] = "REJECTED";
1327
- })(DataShareStatusForProducer = exports.DataShareStatusForProducer || (exports.DataShareStatusForProducer = {}));
1301
+ exports.DataShareStatusForConsumer = {
1302
+ ACTIVE: "ACTIVE",
1303
+ AVAILABLE: "AVAILABLE",
1304
+ };
1305
+ exports.DataShareStatusForProducer = {
1306
+ ACTIVE: "ACTIVE",
1307
+ AUTHORIZED: "AUTHORIZED",
1308
+ DEAUTHORIZED: "DEAUTHORIZED",
1309
+ PENDING_AUTHORIZATION: "PENDING_AUTHORIZATION",
1310
+ REJECTED: "REJECTED",
1311
+ };
1328
1312
  class InvalidClusterParameterGroupStateFault extends RedshiftServiceException_1.RedshiftServiceException {
1329
1313
  constructor(opts) {
1330
1314
  super({
@@ -1494,25 +1478,22 @@ class UsageLimitNotFoundFault extends RedshiftServiceException_1.RedshiftService
1494
1478
  }
1495
1479
  }
1496
1480
  exports.UsageLimitNotFoundFault = UsageLimitNotFoundFault;
1497
- var SnapshotAttributeToSortBy;
1498
- (function (SnapshotAttributeToSortBy) {
1499
- SnapshotAttributeToSortBy["CREATE_TIME"] = "CREATE_TIME";
1500
- SnapshotAttributeToSortBy["SOURCE_TYPE"] = "SOURCE_TYPE";
1501
- SnapshotAttributeToSortBy["TOTAL_SIZE"] = "TOTAL_SIZE";
1502
- })(SnapshotAttributeToSortBy = exports.SnapshotAttributeToSortBy || (exports.SnapshotAttributeToSortBy = {}));
1503
- var SortByOrder;
1504
- (function (SortByOrder) {
1505
- SortByOrder["ASCENDING"] = "ASC";
1506
- SortByOrder["DESCENDING"] = "DESC";
1507
- })(SortByOrder = exports.SortByOrder || (exports.SortByOrder = {}));
1508
- var SourceType;
1509
- (function (SourceType) {
1510
- SourceType["cluster"] = "cluster";
1511
- SourceType["cluster_parameter_group"] = "cluster-parameter-group";
1512
- SourceType["cluster_security_group"] = "cluster-security-group";
1513
- SourceType["cluster_snapshot"] = "cluster-snapshot";
1514
- SourceType["scheduled_action"] = "scheduled-action";
1515
- })(SourceType = exports.SourceType || (exports.SourceType = {}));
1481
+ exports.SnapshotAttributeToSortBy = {
1482
+ CREATE_TIME: "CREATE_TIME",
1483
+ SOURCE_TYPE: "SOURCE_TYPE",
1484
+ TOTAL_SIZE: "TOTAL_SIZE",
1485
+ };
1486
+ exports.SortByOrder = {
1487
+ ASCENDING: "ASC",
1488
+ DESCENDING: "DESC",
1489
+ };
1490
+ exports.SourceType = {
1491
+ cluster: "cluster",
1492
+ cluster_parameter_group: "cluster-parameter-group",
1493
+ cluster_security_group: "cluster-security-group",
1494
+ cluster_snapshot: "cluster-snapshot",
1495
+ scheduled_action: "scheduled-action",
1496
+ };
1516
1497
  const ClusterCredentialsFilterSensitiveLog = (obj) => ({
1517
1498
  ...obj,
1518
1499
  ...(obj.DbPassword && { DbPassword: smithy_client_1.SENSITIVE_STRING }),
@@ -2,40 +2,35 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ReservedNodeQuotaExceededFault = exports.SnapshotScheduleUpdateInProgressFault = exports.SnapshotCopyDisabledFault = exports.SubnetAlreadyInUse = exports.UnsupportedOptionFault = exports.TableLimitExceededFault = exports.InvalidTableRestoreArgumentFault = exports.InvalidRestoreFault = exports.InProgressTableRestoreQuotaExceededFault = exports.ReservedNodeExchangeActionType = exports.EndpointAuthorizationNotFoundFault = exports.UnknownSnapshotCopyRegionFault = exports.SnapshotCopyAlreadyEnabledFault = exports.IncompatibleOrderableOptions = exports.InvalidS3KeyPrefixFault = exports.InvalidS3BucketNameFault = exports.InsufficientS3BucketPolicyFault = exports.SnapshotCopyAlreadyDisabledFault = exports.TableRestoreStatusType = exports.TableRestoreNotFoundFault = exports.ScheduledActionTypeValues = exports.ScheduledActionFilterName = exports.ReservedNodeExchangeNotFoundFault = exports.PartnerIntegrationStatus = exports.Mode = exports.OperatorType = exports.NodeConfigurationOptionsFilterName = exports.LogDestinationType = void 0;
4
4
  const RedshiftServiceException_1 = require("./RedshiftServiceException");
5
- var LogDestinationType;
6
- (function (LogDestinationType) {
7
- LogDestinationType["CLOUDWATCH"] = "cloudwatch";
8
- LogDestinationType["S3"] = "s3";
9
- })(LogDestinationType = exports.LogDestinationType || (exports.LogDestinationType = {}));
10
- var NodeConfigurationOptionsFilterName;
11
- (function (NodeConfigurationOptionsFilterName) {
12
- NodeConfigurationOptionsFilterName["ESTIMATED_DISK_UTILIZATION_PERCENT"] = "EstimatedDiskUtilizationPercent";
13
- NodeConfigurationOptionsFilterName["MODE"] = "Mode";
14
- NodeConfigurationOptionsFilterName["NODE_TYPE"] = "NodeType";
15
- NodeConfigurationOptionsFilterName["NUM_NODES"] = "NumberOfNodes";
16
- })(NodeConfigurationOptionsFilterName = exports.NodeConfigurationOptionsFilterName || (exports.NodeConfigurationOptionsFilterName = {}));
17
- var OperatorType;
18
- (function (OperatorType) {
19
- OperatorType["BETWEEN"] = "between";
20
- OperatorType["EQ"] = "eq";
21
- OperatorType["GE"] = "ge";
22
- OperatorType["GT"] = "gt";
23
- OperatorType["IN"] = "in";
24
- OperatorType["LE"] = "le";
25
- OperatorType["LT"] = "lt";
26
- })(OperatorType = exports.OperatorType || (exports.OperatorType = {}));
27
- var Mode;
28
- (function (Mode) {
29
- Mode["HIGH_PERFORMANCE"] = "high-performance";
30
- Mode["STANDARD"] = "standard";
31
- })(Mode = exports.Mode || (exports.Mode = {}));
32
- var PartnerIntegrationStatus;
33
- (function (PartnerIntegrationStatus) {
34
- PartnerIntegrationStatus["Active"] = "Active";
35
- PartnerIntegrationStatus["ConnectionFailure"] = "ConnectionFailure";
36
- PartnerIntegrationStatus["Inactive"] = "Inactive";
37
- PartnerIntegrationStatus["RuntimeFailure"] = "RuntimeFailure";
38
- })(PartnerIntegrationStatus = exports.PartnerIntegrationStatus || (exports.PartnerIntegrationStatus = {}));
5
+ exports.LogDestinationType = {
6
+ CLOUDWATCH: "cloudwatch",
7
+ S3: "s3",
8
+ };
9
+ exports.NodeConfigurationOptionsFilterName = {
10
+ ESTIMATED_DISK_UTILIZATION_PERCENT: "EstimatedDiskUtilizationPercent",
11
+ MODE: "Mode",
12
+ NODE_TYPE: "NodeType",
13
+ NUM_NODES: "NumberOfNodes",
14
+ };
15
+ exports.OperatorType = {
16
+ BETWEEN: "between",
17
+ EQ: "eq",
18
+ GE: "ge",
19
+ GT: "gt",
20
+ IN: "in",
21
+ LE: "le",
22
+ LT: "lt",
23
+ };
24
+ exports.Mode = {
25
+ HIGH_PERFORMANCE: "high-performance",
26
+ STANDARD: "standard",
27
+ };
28
+ exports.PartnerIntegrationStatus = {
29
+ Active: "Active",
30
+ ConnectionFailure: "ConnectionFailure",
31
+ Inactive: "Inactive",
32
+ RuntimeFailure: "RuntimeFailure",
33
+ };
39
34
  class ReservedNodeExchangeNotFoundFault extends RedshiftServiceException_1.RedshiftServiceException {
40
35
  constructor(opts) {
41
36
  super({
@@ -49,17 +44,15 @@ class ReservedNodeExchangeNotFoundFault extends RedshiftServiceException_1.Redsh
49
44
  }
50
45
  }
51
46
  exports.ReservedNodeExchangeNotFoundFault = ReservedNodeExchangeNotFoundFault;
52
- var ScheduledActionFilterName;
53
- (function (ScheduledActionFilterName) {
54
- ScheduledActionFilterName["CLUSTER_IDENTIFIER"] = "cluster-identifier";
55
- ScheduledActionFilterName["IAM_ROLE"] = "iam-role";
56
- })(ScheduledActionFilterName = exports.ScheduledActionFilterName || (exports.ScheduledActionFilterName = {}));
57
- var ScheduledActionTypeValues;
58
- (function (ScheduledActionTypeValues) {
59
- ScheduledActionTypeValues["PAUSE_CLUSTER"] = "PauseCluster";
60
- ScheduledActionTypeValues["RESIZE_CLUSTER"] = "ResizeCluster";
61
- ScheduledActionTypeValues["RESUME_CLUSTER"] = "ResumeCluster";
62
- })(ScheduledActionTypeValues = exports.ScheduledActionTypeValues || (exports.ScheduledActionTypeValues = {}));
47
+ exports.ScheduledActionFilterName = {
48
+ CLUSTER_IDENTIFIER: "cluster-identifier",
49
+ IAM_ROLE: "iam-role",
50
+ };
51
+ exports.ScheduledActionTypeValues = {
52
+ PAUSE_CLUSTER: "PauseCluster",
53
+ RESIZE_CLUSTER: "ResizeCluster",
54
+ RESUME_CLUSTER: "ResumeCluster",
55
+ };
63
56
  class TableRestoreNotFoundFault extends RedshiftServiceException_1.RedshiftServiceException {
64
57
  constructor(opts) {
65
58
  super({
@@ -73,14 +66,13 @@ class TableRestoreNotFoundFault extends RedshiftServiceException_1.RedshiftServi
73
66
  }
74
67
  }
75
68
  exports.TableRestoreNotFoundFault = TableRestoreNotFoundFault;
76
- var TableRestoreStatusType;
77
- (function (TableRestoreStatusType) {
78
- TableRestoreStatusType["CANCELED"] = "CANCELED";
79
- TableRestoreStatusType["FAILED"] = "FAILED";
80
- TableRestoreStatusType["IN_PROGRESS"] = "IN_PROGRESS";
81
- TableRestoreStatusType["PENDING"] = "PENDING";
82
- TableRestoreStatusType["SUCCEEDED"] = "SUCCEEDED";
83
- })(TableRestoreStatusType = exports.TableRestoreStatusType || (exports.TableRestoreStatusType = {}));
69
+ exports.TableRestoreStatusType = {
70
+ CANCELED: "CANCELED",
71
+ FAILED: "FAILED",
72
+ IN_PROGRESS: "IN_PROGRESS",
73
+ PENDING: "PENDING",
74
+ SUCCEEDED: "SUCCEEDED",
75
+ };
84
76
  class SnapshotCopyAlreadyDisabledFault extends RedshiftServiceException_1.RedshiftServiceException {
85
77
  constructor(opts) {
86
78
  super({
@@ -185,11 +177,10 @@ class EndpointAuthorizationNotFoundFault extends RedshiftServiceException_1.Reds
185
177
  }
186
178
  }
187
179
  exports.EndpointAuthorizationNotFoundFault = EndpointAuthorizationNotFoundFault;
188
- var ReservedNodeExchangeActionType;
189
- (function (ReservedNodeExchangeActionType) {
190
- ReservedNodeExchangeActionType["RESIZE_CLUSTER"] = "resize-cluster";
191
- ReservedNodeExchangeActionType["RESTORE_CLUSTER"] = "restore-cluster";
192
- })(ReservedNodeExchangeActionType = exports.ReservedNodeExchangeActionType || (exports.ReservedNodeExchangeActionType = {}));
180
+ exports.ReservedNodeExchangeActionType = {
181
+ RESIZE_CLUSTER: "resize-cluster",
182
+ RESTORE_CLUSTER: "restore-cluster",
183
+ };
193
184
  class InProgressTableRestoreQuotaExceededFault extends RedshiftServiceException_1.RedshiftServiceException {
194
185
  constructor(opts) {
195
186
  super({