@aws-sdk/client-redshift 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.
Files changed (161) hide show
  1. package/dist-cjs/index.js +183 -183
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +182 -0
  4. package/dist-es/models/errors.js +1717 -0
  5. package/dist-es/models/models_0.js +1 -1563
  6. package/dist-es/models/models_1.js +1 -337
  7. package/dist-es/schemas/schemas_0.js +1 -1
  8. package/dist-types/commands/DeregisterNamespaceCommand.d.ts +1 -2
  9. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +1 -2
  10. package/dist-types/commands/DescribeAuthenticationProfilesCommand.d.ts +1 -1
  11. package/dist-types/commands/DescribeClusterDbRevisionsCommand.d.ts +1 -2
  12. package/dist-types/commands/DescribeClusterParameterGroupsCommand.d.ts +1 -2
  13. package/dist-types/commands/DescribeClusterParametersCommand.d.ts +1 -2
  14. package/dist-types/commands/DescribeClusterSecurityGroupsCommand.d.ts +1 -2
  15. package/dist-types/commands/DescribeClusterSnapshotsCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeClusterSubnetGroupsCommand.d.ts +1 -2
  17. package/dist-types/commands/DescribeClusterTracksCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeClusterVersionsCommand.d.ts +1 -2
  19. package/dist-types/commands/DescribeClustersCommand.d.ts +1 -2
  20. package/dist-types/commands/DescribeCustomDomainAssociationsCommand.d.ts +1 -2
  21. package/dist-types/commands/DescribeDataSharesCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeDataSharesForConsumerCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeDataSharesForProducerCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeDefaultClusterParametersCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeEndpointAccessCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeEndpointAuthorizationCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +1 -1
  29. package/dist-types/commands/DescribeEventsCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeHsmClientCertificatesCommand.d.ts +1 -1
  31. package/dist-types/commands/DescribeHsmConfigurationsCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeInboundIntegrationsCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeIntegrationsCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeLoggingStatusCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeNodeConfigurationOptionsCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeOrderableClusterOptionsCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribePartnersCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeRedshiftIdcApplicationsCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeReservedNodeExchangeStatusCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeReservedNodeOfferingsCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeReservedNodesCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeResizeCommand.d.ts +1 -2
  43. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeSnapshotCopyGrantsCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeSnapshotSchedulesCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeTableRestoreStatusCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  48. package/dist-types/commands/DescribeUsageLimitsCommand.d.ts +1 -1
  49. package/dist-types/commands/DisableLoggingCommand.d.ts +1 -1
  50. package/dist-types/commands/DisableSnapshotCopyCommand.d.ts +1 -1
  51. package/dist-types/commands/DisassociateDataShareConsumerCommand.d.ts +1 -2
  52. package/dist-types/commands/EnableLoggingCommand.d.ts +1 -1
  53. package/dist-types/commands/EnableSnapshotCopyCommand.d.ts +1 -1
  54. package/dist-types/commands/FailoverPrimaryComputeCommand.d.ts +1 -1
  55. package/dist-types/commands/GetClusterCredentialsCommand.d.ts +1 -2
  56. package/dist-types/commands/GetClusterCredentialsWithIAMCommand.d.ts +1 -2
  57. package/dist-types/commands/GetIdentityCenterAuthTokenCommand.d.ts +1 -1
  58. package/dist-types/commands/GetReservedNodeExchangeConfigurationOptionsCommand.d.ts +1 -1
  59. package/dist-types/commands/GetReservedNodeExchangeOfferingsCommand.d.ts +1 -1
  60. package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
  61. package/dist-types/commands/ListRecommendationsCommand.d.ts +1 -1
  62. package/dist-types/commands/ModifyAquaConfigurationCommand.d.ts +1 -1
  63. package/dist-types/commands/ModifyAuthenticationProfileCommand.d.ts +1 -1
  64. package/dist-types/commands/ModifyClusterCommand.d.ts +1 -1
  65. package/dist-types/commands/ModifyClusterDbRevisionCommand.d.ts +1 -1
  66. package/dist-types/commands/ModifyClusterIamRolesCommand.d.ts +1 -1
  67. package/dist-types/commands/ModifyClusterMaintenanceCommand.d.ts +1 -1
  68. package/dist-types/commands/ModifyClusterParameterGroupCommand.d.ts +1 -2
  69. package/dist-types/commands/ModifyClusterSnapshotCommand.d.ts +1 -1
  70. package/dist-types/commands/ModifyClusterSnapshotScheduleCommand.d.ts +1 -1
  71. package/dist-types/commands/ModifyClusterSubnetGroupCommand.d.ts +1 -1
  72. package/dist-types/commands/ModifyCustomDomainAssociationCommand.d.ts +1 -1
  73. package/dist-types/commands/ModifyEndpointAccessCommand.d.ts +1 -2
  74. package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +1 -1
  75. package/dist-types/commands/ModifyIntegrationCommand.d.ts +1 -2
  76. package/dist-types/commands/ModifyRedshiftIdcApplicationCommand.d.ts +1 -1
  77. package/dist-types/commands/ModifyScheduledActionCommand.d.ts +1 -2
  78. package/dist-types/index.d.ts +4 -1
  79. package/dist-types/models/enums.d.ts +462 -0
  80. package/dist-types/models/errors.d.ts +1811 -0
  81. package/dist-types/models/models_0.d.ts +4419 -1802
  82. package/dist-types/models/models_1.d.ts +2 -4892
  83. package/dist-types/ts3.4/commands/DeregisterNamespaceCommand.d.ts +4 -2
  84. package/dist-types/ts3.4/commands/DescribeAccountAttributesCommand.d.ts +4 -2
  85. package/dist-types/ts3.4/commands/DescribeAuthenticationProfilesCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/DescribeClusterDbRevisionsCommand.d.ts +4 -2
  87. package/dist-types/ts3.4/commands/DescribeClusterParameterGroupsCommand.d.ts +4 -2
  88. package/dist-types/ts3.4/commands/DescribeClusterParametersCommand.d.ts +4 -2
  89. package/dist-types/ts3.4/commands/DescribeClusterSecurityGroupsCommand.d.ts +4 -2
  90. package/dist-types/ts3.4/commands/DescribeClusterSnapshotsCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/DescribeClusterSubnetGroupsCommand.d.ts +4 -2
  92. package/dist-types/ts3.4/commands/DescribeClusterTracksCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/DescribeClusterVersionsCommand.d.ts +4 -2
  94. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +1 -2
  95. package/dist-types/ts3.4/commands/DescribeCustomDomainAssociationsCommand.d.ts +4 -2
  96. package/dist-types/ts3.4/commands/DescribeDataSharesCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/DescribeDataSharesForConsumerCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/DescribeDataSharesForProducerCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/DescribeDefaultClusterParametersCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/DescribeEndpointAccessCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/DescribeEndpointAuthorizationCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/DescribeEventCategoriesCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/DescribeEventSubscriptionsCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/DescribeHsmClientCertificatesCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/DescribeHsmConfigurationsCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/DescribeInboundIntegrationsCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/DescribeIntegrationsCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/DescribeLoggingStatusCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/DescribeNodeConfigurationOptionsCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/DescribeOrderableClusterOptionsCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/DescribePartnersCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/DescribeRedshiftIdcApplicationsCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/DescribeReservedNodeExchangeStatusCommand.d.ts +1 -1
  115. package/dist-types/ts3.4/commands/DescribeReservedNodeOfferingsCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/DescribeReservedNodesCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/DescribeResizeCommand.d.ts +4 -2
  118. package/dist-types/ts3.4/commands/DescribeScheduledActionsCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/DescribeSnapshotCopyGrantsCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/DescribeSnapshotSchedulesCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/DescribeTableRestoreStatusCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/DescribeUsageLimitsCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/DisableLoggingCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/DisableSnapshotCopyCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/DisassociateDataShareConsumerCommand.d.ts +4 -2
  127. package/dist-types/ts3.4/commands/EnableLoggingCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/EnableSnapshotCopyCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/FailoverPrimaryComputeCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/GetClusterCredentialsCommand.d.ts +4 -2
  131. package/dist-types/ts3.4/commands/GetClusterCredentialsWithIAMCommand.d.ts +4 -2
  132. package/dist-types/ts3.4/commands/GetIdentityCenterAuthTokenCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/GetReservedNodeExchangeConfigurationOptionsCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/GetReservedNodeExchangeOfferingsCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/ModifyAquaConfigurationCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/ModifyAuthenticationProfileCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/ModifyClusterCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/ModifyClusterDbRevisionCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/ModifyClusterIamRolesCommand.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/ModifyClusterMaintenanceCommand.d.ts +1 -1
  143. package/dist-types/ts3.4/commands/ModifyClusterParameterGroupCommand.d.ts +4 -2
  144. package/dist-types/ts3.4/commands/ModifyClusterSnapshotCommand.d.ts +1 -1
  145. package/dist-types/ts3.4/commands/ModifyClusterSnapshotScheduleCommand.d.ts +1 -1
  146. package/dist-types/ts3.4/commands/ModifyClusterSubnetGroupCommand.d.ts +1 -1
  147. package/dist-types/ts3.4/commands/ModifyCustomDomainAssociationCommand.d.ts +1 -1
  148. package/dist-types/ts3.4/commands/ModifyEndpointAccessCommand.d.ts +4 -2
  149. package/dist-types/ts3.4/commands/ModifyEventSubscriptionCommand.d.ts +1 -1
  150. package/dist-types/ts3.4/commands/ModifyIntegrationCommand.d.ts +1 -2
  151. package/dist-types/ts3.4/commands/ModifyRedshiftIdcApplicationCommand.d.ts +1 -1
  152. package/dist-types/ts3.4/commands/ModifyScheduledActionCommand.d.ts +4 -2
  153. package/dist-types/ts3.4/index.d.ts +4 -1
  154. package/dist-types/ts3.4/models/enums.d.ts +244 -0
  155. package/dist-types/ts3.4/models/errors.d.ts +1206 -0
  156. package/dist-types/ts3.4/models/models_0.d.ts +812 -1171
  157. package/dist-types/ts3.4/models/models_1.d.ts +7 -1087
  158. package/package.json +19 -19
  159. package/dist-es/models/index.js +0 -2
  160. package/dist-types/models/index.d.ts +0 -2
  161. package/dist-types/ts3.4/models/index.d.ts +0 -2
package/dist-cjs/index.js CHANGED
@@ -118,10 +118,6 @@ let RedshiftServiceException$1 = class RedshiftServiceException extends smithyCl
118
118
  }
119
119
  };
120
120
 
121
- const ReservedNodeOfferingType = {
122
- Regular: "Regular",
123
- Upgradable: "Upgradable",
124
- };
125
121
  let DependentServiceUnavailableFault$1 = class DependentServiceUnavailableFault extends RedshiftServiceException$1 {
126
122
  name = "DependentServiceUnavailableFault";
127
123
  $fault = "client";
@@ -230,11 +226,6 @@ let AccessToSnapshotDeniedFault$1 = class AccessToSnapshotDeniedFault extends Re
230
226
  Object.setPrototypeOf(this, AccessToSnapshotDeniedFault.prototype);
231
227
  }
232
228
  };
233
- const ActionType = {
234
- RECOMMEND_NODE_CONFIG: "recommend-node-config",
235
- RESIZE_CLUSTER: "resize-cluster",
236
- RESTORE_CLUSTER: "restore-cluster",
237
- };
238
229
  let ClusterNotFoundFault$1 = class ClusterNotFoundFault extends RedshiftServiceException$1 {
239
230
  name = "ClusterNotFoundFault";
240
231
  $fault = "client";
@@ -271,27 +262,6 @@ let UnauthorizedPartnerIntegrationFault$1 = class UnauthorizedPartnerIntegration
271
262
  Object.setPrototypeOf(this, UnauthorizedPartnerIntegrationFault.prototype);
272
263
  }
273
264
  };
274
- const AquaConfigurationStatus = {
275
- AUTO: "auto",
276
- DISABLED: "disabled",
277
- ENABLED: "enabled",
278
- };
279
- const AquaStatus = {
280
- APPLYING: "applying",
281
- DISABLED: "disabled",
282
- ENABLED: "enabled",
283
- };
284
- const DataShareStatus = {
285
- ACTIVE: "ACTIVE",
286
- AUTHORIZED: "AUTHORIZED",
287
- AVAILABLE: "AVAILABLE",
288
- DEAUTHORIZED: "DEAUTHORIZED",
289
- PENDING_AUTHORIZATION: "PENDING_AUTHORIZATION",
290
- REJECTED: "REJECTED",
291
- };
292
- const DataShareType = {
293
- INTERNAL: "INTERNAL",
294
- };
295
265
  let InvalidDataShareFault$1 = class InvalidDataShareFault extends RedshiftServiceException$1 {
296
266
  name = "InvalidDataShareFault";
297
267
  $fault = "client";
@@ -316,11 +286,6 @@ let InvalidNamespaceFault$1 = class InvalidNamespaceFault extends RedshiftServic
316
286
  Object.setPrototypeOf(this, InvalidNamespaceFault.prototype);
317
287
  }
318
288
  };
319
- const ScheduleState = {
320
- ACTIVE: "ACTIVE",
321
- FAILED: "FAILED",
322
- MODIFYING: "MODIFYING",
323
- };
324
289
  let AuthenticationProfileAlreadyExistsFault$1 = class AuthenticationProfileAlreadyExistsFault extends RedshiftServiceException$1 {
325
290
  name = "AuthenticationProfileAlreadyExistsFault";
326
291
  $fault = "client";
@@ -393,10 +358,6 @@ let AuthorizationQuotaExceededFault$1 = class AuthorizationQuotaExceededFault ex
393
358
  Object.setPrototypeOf(this, AuthorizationQuotaExceededFault.prototype);
394
359
  }
395
360
  };
396
- const AuthorizationStatus = {
397
- AUTHORIZED: "Authorized",
398
- REVOKING: "Revoking",
399
- };
400
361
  let ClusterSecurityGroupNotFoundFault$1 = class ClusterSecurityGroupNotFoundFault extends RedshiftServiceException$1 {
401
362
  name = "ClusterSecurityGroupNotFoundFault";
402
363
  $fault = "client";
@@ -577,14 +538,6 @@ let ResizeNotFoundFault$1 = class ResizeNotFoundFault extends RedshiftServiceExc
577
538
  Object.setPrototypeOf(this, ResizeNotFoundFault.prototype);
578
539
  }
579
540
  };
580
- const ReservedNodeExchangeStatusType = {
581
- FAILED: "FAILED",
582
- IN_PROGRESS: "IN_PROGRESS",
583
- PENDING: "PENDING",
584
- REQUESTED: "REQUESTED",
585
- RETRYING: "RETRYING",
586
- SUCCEEDED: "SUCCEEDED",
587
- };
588
541
  let ClusterAlreadyExistsFault$1 = class ClusterAlreadyExistsFault extends RedshiftServiceException$1 {
589
542
  name = "ClusterAlreadyExistsFault";
590
543
  $fault = "client";
@@ -621,10 +574,6 @@ let ClusterParameterGroupAlreadyExistsFault$1 = class ClusterParameterGroupAlrea
621
574
  Object.setPrototypeOf(this, ClusterParameterGroupAlreadyExistsFault.prototype);
622
575
  }
623
576
  };
624
- const ParameterApplyType = {
625
- dynamic: "dynamic",
626
- static: "static",
627
- };
628
577
  let ClusterParameterGroupNotFoundFault$1 = class ClusterParameterGroupNotFoundFault extends RedshiftServiceException$1 {
629
578
  name = "ClusterParameterGroupNotFoundFault";
630
579
  $fault = "client";
@@ -1189,15 +1138,6 @@ let HsmConfigurationQuotaExceededFault$1 = class HsmConfigurationQuotaExceededFa
1189
1138
  Object.setPrototypeOf(this, HsmConfigurationQuotaExceededFault.prototype);
1190
1139
  }
1191
1140
  };
1192
- const ZeroETLIntegrationStatus = {
1193
- ACTIVE: "active",
1194
- CREATING: "creating",
1195
- DELETING: "deleting",
1196
- FAILED: "failed",
1197
- MODIFYING: "modifying",
1198
- NEEDS_ATTENTION: "needs_attention",
1199
- SYNCING: "syncing",
1200
- };
1201
1141
  let IntegrationAlreadyExistsFault$1 = class IntegrationAlreadyExistsFault extends RedshiftServiceException$1 {
1202
1142
  name = "IntegrationAlreadyExistsFault";
1203
1143
  $fault = "client";
@@ -1258,10 +1198,6 @@ let IntegrationTargetNotFoundFault$1 = class IntegrationTargetNotFoundFault exte
1258
1198
  Object.setPrototypeOf(this, IntegrationTargetNotFoundFault.prototype);
1259
1199
  }
1260
1200
  };
1261
- const ServiceAuthorization = {
1262
- DISABLED: "Disabled",
1263
- ENABLED: "Enabled",
1264
- };
1265
1201
  let DependentServiceAccessDeniedFault$1 = class DependentServiceAccessDeniedFault extends RedshiftServiceException$1 {
1266
1202
  name = "DependentServiceAccessDeniedFault";
1267
1203
  $fault = "client";
@@ -1322,10 +1258,6 @@ let InvalidScheduleFault$1 = class InvalidScheduleFault extends RedshiftServiceE
1322
1258
  Object.setPrototypeOf(this, InvalidScheduleFault.prototype);
1323
1259
  }
1324
1260
  };
1325
- const ScheduledActionState = {
1326
- ACTIVE: "ACTIVE",
1327
- DISABLED: "DISABLED",
1328
- };
1329
1261
  let ScheduledActionAlreadyExistsFault$1 = class ScheduledActionAlreadyExistsFault extends RedshiftServiceException$1 {
1330
1262
  name = "ScheduledActionAlreadyExistsFault";
1331
1263
  $fault = "client";
@@ -1434,25 +1366,6 @@ let ResourceNotFoundFault$1 = class ResourceNotFoundFault extends RedshiftServic
1434
1366
  Object.setPrototypeOf(this, ResourceNotFoundFault.prototype);
1435
1367
  }
1436
1368
  };
1437
- const UsageLimitBreachAction = {
1438
- DISABLE: "disable",
1439
- EMIT_METRIC: "emit-metric",
1440
- LOG: "log",
1441
- };
1442
- const UsageLimitFeatureType = {
1443
- CONCURRENCY_SCALING: "concurrency-scaling",
1444
- CROSS_REGION_DATASHARING: "cross-region-datasharing",
1445
- SPECTRUM: "spectrum",
1446
- };
1447
- const UsageLimitLimitType = {
1448
- DATA_SCANNED: "data-scanned",
1449
- TIME: "time",
1450
- };
1451
- const UsageLimitPeriod = {
1452
- DAILY: "daily",
1453
- MONTHLY: "monthly",
1454
- WEEKLY: "weekly",
1455
- };
1456
1369
  let InvalidUsageLimitFault$1 = class InvalidUsageLimitFault extends RedshiftServiceException$1 {
1457
1370
  name = "InvalidUsageLimitFault";
1458
1371
  $fault = "client";
@@ -1489,17 +1402,6 @@ let CustomDomainAssociationNotFoundFault$1 = class CustomDomainAssociationNotFou
1489
1402
  Object.setPrototypeOf(this, CustomDomainAssociationNotFoundFault.prototype);
1490
1403
  }
1491
1404
  };
1492
- const DataShareStatusForConsumer = {
1493
- ACTIVE: "ACTIVE",
1494
- AVAILABLE: "AVAILABLE",
1495
- };
1496
- const DataShareStatusForProducer = {
1497
- ACTIVE: "ACTIVE",
1498
- AUTHORIZED: "AUTHORIZED",
1499
- DEAUTHORIZED: "DEAUTHORIZED",
1500
- PENDING_AUTHORIZATION: "PENDING_AUTHORIZATION",
1501
- REJECTED: "REJECTED",
1502
- };
1503
1405
  let InvalidClusterParameterGroupStateFault$1 = class InvalidClusterParameterGroupStateFault extends RedshiftServiceException$1 {
1504
1406
  name = "InvalidClusterParameterGroupStateFault";
1505
1407
  $fault = "client";
@@ -1680,62 +1582,6 @@ let UsageLimitNotFoundFault$1 = class UsageLimitNotFoundFault extends RedshiftSe
1680
1582
  Object.setPrototypeOf(this, UsageLimitNotFoundFault.prototype);
1681
1583
  }
1682
1584
  };
1683
-
1684
- const NamespaceRegistrationStatus = {
1685
- DEREGISTERING: "Deregistering",
1686
- REGISTERING: "Registering",
1687
- };
1688
- const SnapshotAttributeToSortBy = {
1689
- CREATE_TIME: "CREATE_TIME",
1690
- SOURCE_TYPE: "SOURCE_TYPE",
1691
- TOTAL_SIZE: "TOTAL_SIZE",
1692
- };
1693
- const SortByOrder = {
1694
- ASCENDING: "ASC",
1695
- DESCENDING: "DESC",
1696
- };
1697
- const SourceType = {
1698
- cluster: "cluster",
1699
- cluster_parameter_group: "cluster-parameter-group",
1700
- cluster_security_group: "cluster-security-group",
1701
- cluster_snapshot: "cluster-snapshot",
1702
- scheduled_action: "scheduled-action",
1703
- };
1704
- const DescribeIntegrationsFilterName = {
1705
- INTEGRATION_ARN: "integration-arn",
1706
- SOURCE_ARN: "source-arn",
1707
- SOURCE_TYPES: "source-types",
1708
- STATUS: "status",
1709
- };
1710
- const LogDestinationType = {
1711
- CLOUDWATCH: "cloudwatch",
1712
- S3: "s3",
1713
- };
1714
- const NodeConfigurationOptionsFilterName = {
1715
- ESTIMATED_DISK_UTILIZATION_PERCENT: "EstimatedDiskUtilizationPercent",
1716
- MODE: "Mode",
1717
- NODE_TYPE: "NodeType",
1718
- NUM_NODES: "NumberOfNodes",
1719
- };
1720
- const OperatorType = {
1721
- BETWEEN: "between",
1722
- EQ: "eq",
1723
- GE: "ge",
1724
- GT: "gt",
1725
- IN: "in",
1726
- LE: "le",
1727
- LT: "lt",
1728
- };
1729
- const Mode = {
1730
- HIGH_PERFORMANCE: "high-performance",
1731
- STANDARD: "standard",
1732
- };
1733
- const PartnerIntegrationStatus = {
1734
- Active: "Active",
1735
- ConnectionFailure: "ConnectionFailure",
1736
- Inactive: "Inactive",
1737
- RuntimeFailure: "RuntimeFailure",
1738
- };
1739
1585
  let ReservedNodeExchangeNotFoundFault$1 = class ReservedNodeExchangeNotFoundFault extends RedshiftServiceException$1 {
1740
1586
  name = "ReservedNodeExchangeNotFoundFault";
1741
1587
  $fault = "client";
@@ -1748,15 +1594,6 @@ let ReservedNodeExchangeNotFoundFault$1 = class ReservedNodeExchangeNotFoundFaul
1748
1594
  Object.setPrototypeOf(this, ReservedNodeExchangeNotFoundFault.prototype);
1749
1595
  }
1750
1596
  };
1751
- const ScheduledActionFilterName = {
1752
- CLUSTER_IDENTIFIER: "cluster-identifier",
1753
- IAM_ROLE: "iam-role",
1754
- };
1755
- const ScheduledActionTypeValues = {
1756
- PAUSE_CLUSTER: "PauseCluster",
1757
- RESIZE_CLUSTER: "ResizeCluster",
1758
- RESUME_CLUSTER: "ResumeCluster",
1759
- };
1760
1597
  let TableRestoreNotFoundFault$1 = class TableRestoreNotFoundFault extends RedshiftServiceException$1 {
1761
1598
  name = "TableRestoreNotFoundFault";
1762
1599
  $fault = "client";
@@ -1769,13 +1606,6 @@ let TableRestoreNotFoundFault$1 = class TableRestoreNotFoundFault extends Redshi
1769
1606
  Object.setPrototypeOf(this, TableRestoreNotFoundFault.prototype);
1770
1607
  }
1771
1608
  };
1772
- const TableRestoreStatusType = {
1773
- CANCELED: "CANCELED",
1774
- FAILED: "FAILED",
1775
- IN_PROGRESS: "IN_PROGRESS",
1776
- PENDING: "PENDING",
1777
- SUCCEEDED: "SUCCEEDED",
1778
- };
1779
1609
  let SnapshotCopyAlreadyDisabledFault$1 = class SnapshotCopyAlreadyDisabledFault extends RedshiftServiceException$1 {
1780
1610
  name = "SnapshotCopyAlreadyDisabledFault";
1781
1611
  $fault = "client";
@@ -1884,10 +1714,6 @@ let RedshiftInvalidParameterFault$1 = class RedshiftInvalidParameterFault extend
1884
1714
  Object.setPrototypeOf(this, RedshiftInvalidParameterFault.prototype);
1885
1715
  }
1886
1716
  };
1887
- const ReservedNodeExchangeActionType = {
1888
- RESIZE_CLUSTER: "resize-cluster",
1889
- RESTORE_CLUSTER: "restore-cluster",
1890
- };
1891
1717
  let InvalidPolicyFault$1 = class InvalidPolicyFault extends RedshiftServiceException$1 {
1892
1718
  name = "InvalidPolicyFault";
1893
1719
  $fault = "client";
@@ -1900,11 +1726,6 @@ let InvalidPolicyFault$1 = class InvalidPolicyFault extends RedshiftServiceExcep
1900
1726
  Object.setPrototypeOf(this, InvalidPolicyFault.prototype);
1901
1727
  }
1902
1728
  };
1903
- const ImpactRankingType = {
1904
- HIGH: "HIGH",
1905
- LOW: "LOW",
1906
- MEDIUM: "MEDIUM",
1907
- };
1908
1729
  let InProgressTableRestoreQuotaExceededFault$1 = class InProgressTableRestoreQuotaExceededFault extends RedshiftServiceException$1 {
1909
1730
  name = "InProgressTableRestoreQuotaExceededFault";
1910
1731
  $fault = "client";
@@ -1941,10 +1762,6 @@ let InvalidTableRestoreArgumentFault$1 = class InvalidTableRestoreArgumentFault
1941
1762
  Object.setPrototypeOf(this, InvalidTableRestoreArgumentFault.prototype);
1942
1763
  }
1943
1764
  };
1944
- const RecommendedActionType = {
1945
- CLI: "CLI",
1946
- SQL: "SQL",
1947
- };
1948
1765
  let TableLimitExceededFault$1 = class TableLimitExceededFault extends RedshiftServiceException$1 {
1949
1766
  name = "TableLimitExceededFault";
1950
1767
  $fault = "client";
@@ -11323,6 +11140,189 @@ const waitUntilSnapshotAvailable = async (params, input) => {
11323
11140
  return utilWaiter.checkExceptions(result);
11324
11141
  };
11325
11142
 
11143
+ const ReservedNodeOfferingType = {
11144
+ Regular: "Regular",
11145
+ Upgradable: "Upgradable",
11146
+ };
11147
+ const ActionType = {
11148
+ RECOMMEND_NODE_CONFIG: "recommend-node-config",
11149
+ RESIZE_CLUSTER: "resize-cluster",
11150
+ RESTORE_CLUSTER: "restore-cluster",
11151
+ };
11152
+ const AquaConfigurationStatus = {
11153
+ AUTO: "auto",
11154
+ DISABLED: "disabled",
11155
+ ENABLED: "enabled",
11156
+ };
11157
+ const AquaStatus = {
11158
+ APPLYING: "applying",
11159
+ DISABLED: "disabled",
11160
+ ENABLED: "enabled",
11161
+ };
11162
+ const DataShareStatus = {
11163
+ ACTIVE: "ACTIVE",
11164
+ AUTHORIZED: "AUTHORIZED",
11165
+ AVAILABLE: "AVAILABLE",
11166
+ DEAUTHORIZED: "DEAUTHORIZED",
11167
+ PENDING_AUTHORIZATION: "PENDING_AUTHORIZATION",
11168
+ REJECTED: "REJECTED",
11169
+ };
11170
+ const DataShareType = {
11171
+ INTERNAL: "INTERNAL",
11172
+ };
11173
+ const ScheduleState = {
11174
+ ACTIVE: "ACTIVE",
11175
+ FAILED: "FAILED",
11176
+ MODIFYING: "MODIFYING",
11177
+ };
11178
+ const AuthorizationStatus = {
11179
+ AUTHORIZED: "Authorized",
11180
+ REVOKING: "Revoking",
11181
+ };
11182
+ const ReservedNodeExchangeStatusType = {
11183
+ FAILED: "FAILED",
11184
+ IN_PROGRESS: "IN_PROGRESS",
11185
+ PENDING: "PENDING",
11186
+ REQUESTED: "REQUESTED",
11187
+ RETRYING: "RETRYING",
11188
+ SUCCEEDED: "SUCCEEDED",
11189
+ };
11190
+ const ParameterApplyType = {
11191
+ dynamic: "dynamic",
11192
+ static: "static",
11193
+ };
11194
+ const ZeroETLIntegrationStatus = {
11195
+ ACTIVE: "active",
11196
+ CREATING: "creating",
11197
+ DELETING: "deleting",
11198
+ FAILED: "failed",
11199
+ MODIFYING: "modifying",
11200
+ NEEDS_ATTENTION: "needs_attention",
11201
+ SYNCING: "syncing",
11202
+ };
11203
+ const ServiceAuthorization = {
11204
+ DISABLED: "Disabled",
11205
+ ENABLED: "Enabled",
11206
+ };
11207
+ const ScheduledActionState = {
11208
+ ACTIVE: "ACTIVE",
11209
+ DISABLED: "DISABLED",
11210
+ };
11211
+ const UsageLimitBreachAction = {
11212
+ DISABLE: "disable",
11213
+ EMIT_METRIC: "emit-metric",
11214
+ LOG: "log",
11215
+ };
11216
+ const UsageLimitFeatureType = {
11217
+ CONCURRENCY_SCALING: "concurrency-scaling",
11218
+ CROSS_REGION_DATASHARING: "cross-region-datasharing",
11219
+ SPECTRUM: "spectrum",
11220
+ };
11221
+ const UsageLimitLimitType = {
11222
+ DATA_SCANNED: "data-scanned",
11223
+ TIME: "time",
11224
+ };
11225
+ const UsageLimitPeriod = {
11226
+ DAILY: "daily",
11227
+ MONTHLY: "monthly",
11228
+ WEEKLY: "weekly",
11229
+ };
11230
+ const DataShareStatusForConsumer = {
11231
+ ACTIVE: "ACTIVE",
11232
+ AVAILABLE: "AVAILABLE",
11233
+ };
11234
+ const DataShareStatusForProducer = {
11235
+ ACTIVE: "ACTIVE",
11236
+ AUTHORIZED: "AUTHORIZED",
11237
+ DEAUTHORIZED: "DEAUTHORIZED",
11238
+ PENDING_AUTHORIZATION: "PENDING_AUTHORIZATION",
11239
+ REJECTED: "REJECTED",
11240
+ };
11241
+ const NamespaceRegistrationStatus = {
11242
+ DEREGISTERING: "Deregistering",
11243
+ REGISTERING: "Registering",
11244
+ };
11245
+ const SnapshotAttributeToSortBy = {
11246
+ CREATE_TIME: "CREATE_TIME",
11247
+ SOURCE_TYPE: "SOURCE_TYPE",
11248
+ TOTAL_SIZE: "TOTAL_SIZE",
11249
+ };
11250
+ const SortByOrder = {
11251
+ ASCENDING: "ASC",
11252
+ DESCENDING: "DESC",
11253
+ };
11254
+ const SourceType = {
11255
+ cluster: "cluster",
11256
+ cluster_parameter_group: "cluster-parameter-group",
11257
+ cluster_security_group: "cluster-security-group",
11258
+ cluster_snapshot: "cluster-snapshot",
11259
+ scheduled_action: "scheduled-action",
11260
+ };
11261
+ const DescribeIntegrationsFilterName = {
11262
+ INTEGRATION_ARN: "integration-arn",
11263
+ SOURCE_ARN: "source-arn",
11264
+ SOURCE_TYPES: "source-types",
11265
+ STATUS: "status",
11266
+ };
11267
+ const LogDestinationType = {
11268
+ CLOUDWATCH: "cloudwatch",
11269
+ S3: "s3",
11270
+ };
11271
+ const NodeConfigurationOptionsFilterName = {
11272
+ ESTIMATED_DISK_UTILIZATION_PERCENT: "EstimatedDiskUtilizationPercent",
11273
+ MODE: "Mode",
11274
+ NODE_TYPE: "NodeType",
11275
+ NUM_NODES: "NumberOfNodes",
11276
+ };
11277
+ const OperatorType = {
11278
+ BETWEEN: "between",
11279
+ EQ: "eq",
11280
+ GE: "ge",
11281
+ GT: "gt",
11282
+ IN: "in",
11283
+ LE: "le",
11284
+ LT: "lt",
11285
+ };
11286
+ const Mode = {
11287
+ HIGH_PERFORMANCE: "high-performance",
11288
+ STANDARD: "standard",
11289
+ };
11290
+ const PartnerIntegrationStatus = {
11291
+ Active: "Active",
11292
+ ConnectionFailure: "ConnectionFailure",
11293
+ Inactive: "Inactive",
11294
+ RuntimeFailure: "RuntimeFailure",
11295
+ };
11296
+ const ScheduledActionFilterName = {
11297
+ CLUSTER_IDENTIFIER: "cluster-identifier",
11298
+ IAM_ROLE: "iam-role",
11299
+ };
11300
+ const ScheduledActionTypeValues = {
11301
+ PAUSE_CLUSTER: "PauseCluster",
11302
+ RESIZE_CLUSTER: "ResizeCluster",
11303
+ RESUME_CLUSTER: "ResumeCluster",
11304
+ };
11305
+ const TableRestoreStatusType = {
11306
+ CANCELED: "CANCELED",
11307
+ FAILED: "FAILED",
11308
+ IN_PROGRESS: "IN_PROGRESS",
11309
+ PENDING: "PENDING",
11310
+ SUCCEEDED: "SUCCEEDED",
11311
+ };
11312
+ const ReservedNodeExchangeActionType = {
11313
+ RESIZE_CLUSTER: "resize-cluster",
11314
+ RESTORE_CLUSTER: "restore-cluster",
11315
+ };
11316
+ const ImpactRankingType = {
11317
+ HIGH: "HIGH",
11318
+ LOW: "LOW",
11319
+ MEDIUM: "MEDIUM",
11320
+ };
11321
+ const RecommendedActionType = {
11322
+ CLI: "CLI",
11323
+ SQL: "SQL",
11324
+ };
11325
+
11326
11326
  Object.defineProperty(exports, "$Command", {
11327
11327
  enumerable: true,
11328
11328
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -3,5 +3,6 @@ export * from "./Redshift";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./waiters";
6
- export * from "./models";
6
+ export * from "./models/enums";
7
+ export * from "./models/errors";
7
8
  export { RedshiftServiceException } from "./models/RedshiftServiceException";
@@ -0,0 +1,182 @@
1
+ export const ReservedNodeOfferingType = {
2
+ Regular: "Regular",
3
+ Upgradable: "Upgradable",
4
+ };
5
+ export const ActionType = {
6
+ RECOMMEND_NODE_CONFIG: "recommend-node-config",
7
+ RESIZE_CLUSTER: "resize-cluster",
8
+ RESTORE_CLUSTER: "restore-cluster",
9
+ };
10
+ export const AquaConfigurationStatus = {
11
+ AUTO: "auto",
12
+ DISABLED: "disabled",
13
+ ENABLED: "enabled",
14
+ };
15
+ export const AquaStatus = {
16
+ APPLYING: "applying",
17
+ DISABLED: "disabled",
18
+ ENABLED: "enabled",
19
+ };
20
+ export const DataShareStatus = {
21
+ ACTIVE: "ACTIVE",
22
+ AUTHORIZED: "AUTHORIZED",
23
+ AVAILABLE: "AVAILABLE",
24
+ DEAUTHORIZED: "DEAUTHORIZED",
25
+ PENDING_AUTHORIZATION: "PENDING_AUTHORIZATION",
26
+ REJECTED: "REJECTED",
27
+ };
28
+ export const DataShareType = {
29
+ INTERNAL: "INTERNAL",
30
+ };
31
+ export const ScheduleState = {
32
+ ACTIVE: "ACTIVE",
33
+ FAILED: "FAILED",
34
+ MODIFYING: "MODIFYING",
35
+ };
36
+ export const AuthorizationStatus = {
37
+ AUTHORIZED: "Authorized",
38
+ REVOKING: "Revoking",
39
+ };
40
+ export const ReservedNodeExchangeStatusType = {
41
+ FAILED: "FAILED",
42
+ IN_PROGRESS: "IN_PROGRESS",
43
+ PENDING: "PENDING",
44
+ REQUESTED: "REQUESTED",
45
+ RETRYING: "RETRYING",
46
+ SUCCEEDED: "SUCCEEDED",
47
+ };
48
+ export const ParameterApplyType = {
49
+ dynamic: "dynamic",
50
+ static: "static",
51
+ };
52
+ export const ZeroETLIntegrationStatus = {
53
+ ACTIVE: "active",
54
+ CREATING: "creating",
55
+ DELETING: "deleting",
56
+ FAILED: "failed",
57
+ MODIFYING: "modifying",
58
+ NEEDS_ATTENTION: "needs_attention",
59
+ SYNCING: "syncing",
60
+ };
61
+ export const ServiceAuthorization = {
62
+ DISABLED: "Disabled",
63
+ ENABLED: "Enabled",
64
+ };
65
+ export const ScheduledActionState = {
66
+ ACTIVE: "ACTIVE",
67
+ DISABLED: "DISABLED",
68
+ };
69
+ export const UsageLimitBreachAction = {
70
+ DISABLE: "disable",
71
+ EMIT_METRIC: "emit-metric",
72
+ LOG: "log",
73
+ };
74
+ export const UsageLimitFeatureType = {
75
+ CONCURRENCY_SCALING: "concurrency-scaling",
76
+ CROSS_REGION_DATASHARING: "cross-region-datasharing",
77
+ SPECTRUM: "spectrum",
78
+ };
79
+ export const UsageLimitLimitType = {
80
+ DATA_SCANNED: "data-scanned",
81
+ TIME: "time",
82
+ };
83
+ export const UsageLimitPeriod = {
84
+ DAILY: "daily",
85
+ MONTHLY: "monthly",
86
+ WEEKLY: "weekly",
87
+ };
88
+ export const DataShareStatusForConsumer = {
89
+ ACTIVE: "ACTIVE",
90
+ AVAILABLE: "AVAILABLE",
91
+ };
92
+ export const DataShareStatusForProducer = {
93
+ ACTIVE: "ACTIVE",
94
+ AUTHORIZED: "AUTHORIZED",
95
+ DEAUTHORIZED: "DEAUTHORIZED",
96
+ PENDING_AUTHORIZATION: "PENDING_AUTHORIZATION",
97
+ REJECTED: "REJECTED",
98
+ };
99
+ export const NamespaceRegistrationStatus = {
100
+ DEREGISTERING: "Deregistering",
101
+ REGISTERING: "Registering",
102
+ };
103
+ export const SnapshotAttributeToSortBy = {
104
+ CREATE_TIME: "CREATE_TIME",
105
+ SOURCE_TYPE: "SOURCE_TYPE",
106
+ TOTAL_SIZE: "TOTAL_SIZE",
107
+ };
108
+ export const SortByOrder = {
109
+ ASCENDING: "ASC",
110
+ DESCENDING: "DESC",
111
+ };
112
+ export const SourceType = {
113
+ cluster: "cluster",
114
+ cluster_parameter_group: "cluster-parameter-group",
115
+ cluster_security_group: "cluster-security-group",
116
+ cluster_snapshot: "cluster-snapshot",
117
+ scheduled_action: "scheduled-action",
118
+ };
119
+ export const DescribeIntegrationsFilterName = {
120
+ INTEGRATION_ARN: "integration-arn",
121
+ SOURCE_ARN: "source-arn",
122
+ SOURCE_TYPES: "source-types",
123
+ STATUS: "status",
124
+ };
125
+ export const LogDestinationType = {
126
+ CLOUDWATCH: "cloudwatch",
127
+ S3: "s3",
128
+ };
129
+ export const NodeConfigurationOptionsFilterName = {
130
+ ESTIMATED_DISK_UTILIZATION_PERCENT: "EstimatedDiskUtilizationPercent",
131
+ MODE: "Mode",
132
+ NODE_TYPE: "NodeType",
133
+ NUM_NODES: "NumberOfNodes",
134
+ };
135
+ export const OperatorType = {
136
+ BETWEEN: "between",
137
+ EQ: "eq",
138
+ GE: "ge",
139
+ GT: "gt",
140
+ IN: "in",
141
+ LE: "le",
142
+ LT: "lt",
143
+ };
144
+ export const Mode = {
145
+ HIGH_PERFORMANCE: "high-performance",
146
+ STANDARD: "standard",
147
+ };
148
+ export const PartnerIntegrationStatus = {
149
+ Active: "Active",
150
+ ConnectionFailure: "ConnectionFailure",
151
+ Inactive: "Inactive",
152
+ RuntimeFailure: "RuntimeFailure",
153
+ };
154
+ export const ScheduledActionFilterName = {
155
+ CLUSTER_IDENTIFIER: "cluster-identifier",
156
+ IAM_ROLE: "iam-role",
157
+ };
158
+ export const ScheduledActionTypeValues = {
159
+ PAUSE_CLUSTER: "PauseCluster",
160
+ RESIZE_CLUSTER: "ResizeCluster",
161
+ RESUME_CLUSTER: "ResumeCluster",
162
+ };
163
+ export const TableRestoreStatusType = {
164
+ CANCELED: "CANCELED",
165
+ FAILED: "FAILED",
166
+ IN_PROGRESS: "IN_PROGRESS",
167
+ PENDING: "PENDING",
168
+ SUCCEEDED: "SUCCEEDED",
169
+ };
170
+ export const ReservedNodeExchangeActionType = {
171
+ RESIZE_CLUSTER: "resize-cluster",
172
+ RESTORE_CLUSTER: "restore-cluster",
173
+ };
174
+ export const ImpactRankingType = {
175
+ HIGH: "HIGH",
176
+ LOW: "LOW",
177
+ MEDIUM: "MEDIUM",
178
+ };
179
+ export const RecommendedActionType = {
180
+ CLI: "CLI",
181
+ SQL: "SQL",
182
+ };