@aws-sdk/client-redshift-serverless 3.936.0 → 3.939.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 (89) hide show
  1. package/README.md +9 -9
  2. package/dist-cjs/index.js +146 -2
  3. package/dist-es/RedshiftServerless.js +2 -0
  4. package/dist-es/commands/UpdateLakehouseConfigurationCommand.js +16 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +58 -0
  7. package/dist-es/models/errors.js +12 -0
  8. package/dist-es/models/models_0.js +1 -50
  9. package/dist-es/schemas/schemas_0.js +50 -3
  10. package/dist-types/RedshiftServerless.d.ts +8 -9
  11. package/dist-types/RedshiftServerlessClient.d.ts +4 -11
  12. package/dist-types/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +2 -3
  13. package/dist-types/commands/CreateCustomDomainAssociationCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateEndpointAccessCommand.d.ts +1 -1
  15. package/dist-types/commands/CreateNamespaceCommand.d.ts +3 -1
  16. package/dist-types/commands/CreateReservationCommand.d.ts +2 -3
  17. package/dist-types/commands/CreateScheduledActionCommand.d.ts +2 -3
  18. package/dist-types/commands/CreateSnapshotCommand.d.ts +2 -5
  19. package/dist-types/commands/CreateSnapshotCopyConfigurationCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateUsageLimitCommand.d.ts +2 -3
  21. package/dist-types/commands/CreateWorkgroupCommand.d.ts +2 -19
  22. package/dist-types/commands/DeleteCustomDomainAssociationCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteNamespaceCommand.d.ts +4 -3
  25. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteSnapshotCopyConfigurationCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteUsageLimitCommand.d.ts +1 -1
  30. package/dist-types/commands/DeleteWorkgroupCommand.d.ts +1 -1
  31. package/dist-types/commands/GetCredentialsCommand.d.ts +2 -10
  32. package/dist-types/commands/GetCustomDomainAssociationCommand.d.ts +1 -1
  33. package/dist-types/commands/GetEndpointAccessCommand.d.ts +1 -1
  34. package/dist-types/commands/GetNamespaceCommand.d.ts +3 -1
  35. package/dist-types/commands/GetRecoveryPointCommand.d.ts +1 -1
  36. package/dist-types/commands/GetReservationCommand.d.ts +2 -3
  37. package/dist-types/commands/GetReservationOfferingCommand.d.ts +1 -1
  38. package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
  39. package/dist-types/commands/GetScheduledActionCommand.d.ts +1 -1
  40. package/dist-types/commands/GetSnapshotCommand.d.ts +1 -1
  41. package/dist-types/commands/GetTableRestoreStatusCommand.d.ts +1 -1
  42. package/dist-types/commands/GetTrackCommand.d.ts +1 -1
  43. package/dist-types/commands/GetUsageLimitCommand.d.ts +1 -1
  44. package/dist-types/commands/GetWorkgroupCommand.d.ts +1 -1
  45. package/dist-types/commands/ListCustomDomainAssociationsCommand.d.ts +1 -1
  46. package/dist-types/commands/ListEndpointAccessCommand.d.ts +1 -1
  47. package/dist-types/commands/ListNamespacesCommand.d.ts +3 -1
  48. package/dist-types/commands/ListRecoveryPointsCommand.d.ts +1 -1
  49. package/dist-types/commands/ListReservationOfferingsCommand.d.ts +1 -1
  50. package/dist-types/commands/ListReservationsCommand.d.ts +1 -1
  51. package/dist-types/commands/ListScheduledActionsCommand.d.ts +1 -1
  52. package/dist-types/commands/ListSnapshotCopyConfigurationsCommand.d.ts +1 -1
  53. package/dist-types/commands/ListSnapshotsCommand.d.ts +1 -1
  54. package/dist-types/commands/ListTableRestoreStatusCommand.d.ts +1 -1
  55. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  56. package/dist-types/commands/ListTracksCommand.d.ts +1 -1
  57. package/dist-types/commands/ListUsageLimitsCommand.d.ts +1 -1
  58. package/dist-types/commands/ListWorkgroupsCommand.d.ts +1 -1
  59. package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
  60. package/dist-types/commands/RestoreFromRecoveryPointCommand.d.ts +3 -1
  61. package/dist-types/commands/RestoreFromSnapshotCommand.d.ts +3 -1
  62. package/dist-types/commands/RestoreTableFromRecoveryPointCommand.d.ts +1 -1
  63. package/dist-types/commands/RestoreTableFromSnapshotCommand.d.ts +2 -3
  64. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  65. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  66. package/dist-types/commands/UpdateCustomDomainAssociationCommand.d.ts +1 -1
  67. package/dist-types/commands/UpdateEndpointAccessCommand.d.ts +1 -1
  68. package/dist-types/commands/UpdateLakehouseConfigurationCommand.d.ts +97 -0
  69. package/dist-types/commands/UpdateNamespaceCommand.d.ts +4 -4
  70. package/dist-types/commands/UpdateScheduledActionCommand.d.ts +1 -1
  71. package/dist-types/commands/UpdateSnapshotCommand.d.ts +1 -1
  72. package/dist-types/commands/UpdateSnapshotCopyConfigurationCommand.d.ts +1 -1
  73. package/dist-types/commands/UpdateUsageLimitCommand.d.ts +1 -1
  74. package/dist-types/commands/UpdateWorkgroupCommand.d.ts +2 -21
  75. package/dist-types/commands/index.d.ts +1 -0
  76. package/dist-types/index.d.ts +1 -9
  77. package/dist-types/models/enums.d.ts +154 -0
  78. package/dist-types/models/errors.d.ts +13 -1
  79. package/dist-types/models/models_0.d.ts +172 -476
  80. package/dist-types/schemas/schemas_0.d.ts +4 -0
  81. package/dist-types/ts3.4/RedshiftServerless.d.ts +17 -0
  82. package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +6 -0
  83. package/dist-types/ts3.4/commands/UpdateLakehouseConfigurationCommand.d.ts +51 -0
  84. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  85. package/dist-types/ts3.4/models/enums.d.ts +79 -0
  86. package/dist-types/ts3.4/models/errors.d.ts +5 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +31 -68
  88. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  89. package/package.json +2 -2
package/README.md CHANGED
@@ -6,15 +6,7 @@
6
6
 
7
7
  AWS SDK for JavaScript RedshiftServerless Client for Node.js, Browser and React Native.
8
8
 
9
- <p>This is an interface reference for Amazon Redshift Serverless.
10
- It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Redshift Serverless.
11
- </p>
12
- <p>Amazon Redshift Serverless automatically provisions data warehouse capacity and intelligently scales the
13
- underlying resources based on workload demands. Amazon Redshift Serverless adjusts capacity in seconds to deliver consistently high
14
- performance and simplified operations for even the most demanding and volatile workloads. Amazon Redshift Serverless lets you
15
- focus on using your data to acquire new insights for your business and customers.
16
- </p>
17
- <p> To learn more about Amazon Redshift Serverless, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-whatis.html">What is Amazon Redshift Serverless?</a>.</p>
9
+ <p>This is an interface reference for Amazon Redshift Serverless. It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Redshift Serverless. </p> <p>Amazon Redshift Serverless automatically provisions data warehouse capacity and intelligently scales the underlying resources based on workload demands. Amazon Redshift Serverless adjusts capacity in seconds to deliver consistently high performance and simplified operations for even the most demanding and volatile workloads. Amazon Redshift Serverless lets you focus on using your data to acquire new insights for your business and customers. </p> <p> To learn more about Amazon Redshift Serverless, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-whatis.html">What is Amazon Redshift Serverless?</a>.</p>
18
10
 
19
11
  ## Installing
20
12
 
@@ -666,6 +658,14 @@ UpdateEndpointAccess
666
658
 
667
659
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift-serverless/command/UpdateEndpointAccessCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/UpdateEndpointAccessCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/UpdateEndpointAccessCommandOutput/)
668
660
 
661
+ </details>
662
+ <details>
663
+ <summary>
664
+ UpdateLakehouseConfiguration
665
+ </summary>
666
+
667
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift-serverless/command/UpdateLakehouseConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/UpdateLakehouseConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/UpdateLakehouseConfigurationCommandOutput/)
668
+
669
669
  </details>
670
670
  <details>
671
671
  <summary>
package/dist-cjs/index.js CHANGED
@@ -248,6 +248,18 @@ let Ipv6CidrBlockNotFoundException$1 = class Ipv6CidrBlockNotFoundException exte
248
248
  Object.setPrototypeOf(this, Ipv6CidrBlockNotFoundException.prototype);
249
249
  }
250
250
  };
251
+ let DryRunException$1 = class DryRunException extends RedshiftServerlessServiceException$1 {
252
+ name = "DryRunException";
253
+ $fault = "client";
254
+ constructor(opts) {
255
+ super({
256
+ name: "DryRunException",
257
+ $fault: "client",
258
+ ...opts,
259
+ });
260
+ Object.setPrototypeOf(this, DryRunException.prototype);
261
+ }
262
+ };
251
263
  let InvalidPaginationException$1 = class InvalidPaginationException extends RedshiftServerlessServiceException$1 {
252
264
  name = "InvalidPaginationException";
253
265
  $fault = "client";
@@ -308,6 +320,7 @@ const _DN = "DeleteNamespace";
308
320
  const _DNR = "DeleteNamespaceRequest";
309
321
  const _DNRe = "DeleteNamespaceResponse";
310
322
  const _DP = "DbPassword";
323
+ const _DRE = "DryRunException";
311
324
  const _DRP = "DeleteResourcePolicy";
312
325
  const _DRPR = "DeleteResourcePolicyRequest";
313
326
  const _DRPRe = "DeleteResourcePolicyResponse";
@@ -479,6 +492,9 @@ const _UEA = "UpdateEndpointAccess";
479
492
  const _UEAR = "UpdateEndpointAccessRequest";
480
493
  const _UEARp = "UpdateEndpointAccessResponse";
481
494
  const _UL = "UsageLimit";
495
+ const _ULC = "UpdateLakehouseConfiguration";
496
+ const _ULCR = "UpdateLakehouseConfigurationRequest";
497
+ const _ULCRp = "UpdateLakehouseConfigurationResponse";
482
498
  const _ULs = "UsageLimits";
483
499
  const _UN = "UpdateNamespace";
484
500
  const _UNR = "UpdateNamespaceRequest";
@@ -527,6 +543,7 @@ const _bA = "breachAction";
527
543
  const _bC = "baseCapacity";
528
544
  const _bPIMB = "backupProgressInMegaBytes";
529
545
  const _c = "client";
546
+ const _cA = "catalogArn";
530
547
  const _cAV = "crossAccountVpcs";
531
548
  const _cBRIMBPS = "currentBackupRateInMegaBytesPerSecond";
532
549
  const _cC = "currencyCode";
@@ -534,6 +551,7 @@ const _cD = "creationDate";
534
551
  const _cDCA = "customDomainCertificateArn";
535
552
  const _cDCET = "customDomainCertificateExpiryTime";
536
553
  const _cDN = "customDomainName";
554
+ const _cN = "catalogName";
537
555
  const _cP = "configParameters";
538
556
  const _cS = "createSnapshot";
539
557
  const _cT = "clientToken";
@@ -546,6 +564,7 @@ const _dKKI = "destinationKmsKeyId";
546
564
  const _dN = "dbName";
547
565
  const _dP = "dbPassword";
548
566
  const _dR = "destinationRegion";
567
+ const _dRr = "dryRun";
549
568
  const _dS = "durationSeconds";
550
569
  const _dU = "dbUser";
551
570
  const _e = "error";
@@ -574,6 +593,10 @@ const _k = "key";
574
593
  const _kKI = "kmsKeyId";
575
594
  const _l = "level";
576
595
  const _lE = "logExports";
596
+ const _lIAA = "lakehouseIdcApplicationArn";
597
+ const _lIR = "lakehouseIdcRegistration";
598
+ const _lR = "lakehouseRegistration";
599
+ const _lRS = "lakehouseRegistrationStatus";
577
600
  const _m = "message";
578
601
  const _mAP = "manageAdminPassword";
579
602
  const _mC = "maxCapacity";
@@ -864,6 +887,18 @@ var DeleteUsageLimitRequest = [3, n0, _DULR, 0, [_uLI], [0]];
864
887
  var DeleteUsageLimitResponse = [3, n0, _DULRe, 0, [_uL], [() => UsageLimit]];
865
888
  var DeleteWorkgroupRequest = [3, n0, _DWR, 0, [_wN], [0]];
866
889
  var DeleteWorkgroupResponse = [3, n0, _DWRe, 0, [_w], [() => Workgroup]];
890
+ var DryRunException = [
891
+ -3,
892
+ n0,
893
+ _DRE,
894
+ {
895
+ [_e]: _c,
896
+ [_hE]: 400,
897
+ },
898
+ [_m],
899
+ [0],
900
+ ];
901
+ schema.TypeRegistry.for(n0).registerError(DryRunException, DryRunException$1);
867
902
  var Endpoint = [3, n0, _E, 0, [_ad, _po, _vE], [0, 1, () => VpcEndpointList]];
868
903
  var EndpointAccess = [
869
904
  3,
@@ -1385,8 +1420,8 @@ var Namespace = [
1385
1420
  n0,
1386
1421
  _N,
1387
1422
  0,
1388
- [_nA, _nI, _nN, _aU, _dN, _kKI, _dIRA, _iR, _lE, _st, _cD, _aPSA, _aPSKKI],
1389
- [0, 0, 0, [() => DbUser, 0], 0, 0, 0, 64 | 0, 64 | 0, 0, 5, 0, 0],
1423
+ [_nA, _nI, _nN, _aU, _dN, _kKI, _dIRA, _iR, _lE, _st, _cD, _aPSA, _aPSKKI, _lRS, _cA],
1424
+ [0, 0, 0, [() => DbUser, 0], 0, 0, 0, 64 | 0, 64 | 0, 0, 5, 0, 0, 0, 0],
1390
1425
  ];
1391
1426
  var NetworkInterface = [3, n0, _NI, 0, [_nII, _sIu, _pIA, _aZ, _iA], [0, 0, 0, 0, 0]];
1392
1427
  var PerformanceTarget = [3, n0, _PT, 0, [_st, _l], [0, 1]];
@@ -1602,6 +1637,22 @@ var UpdateCustomDomainAssociationResponse = [
1602
1637
  ];
1603
1638
  var UpdateEndpointAccessRequest = [3, n0, _UEAR, 0, [_eN, _vSGI], [0, 64 | 0]];
1604
1639
  var UpdateEndpointAccessResponse = [3, n0, _UEARp, 0, [_en], [() => EndpointAccess]];
1640
+ var UpdateLakehouseConfigurationRequest = [
1641
+ 3,
1642
+ n0,
1643
+ _ULCR,
1644
+ 0,
1645
+ [_nN, _lR, _cN, _lIR, _lIAA, _dRr],
1646
+ [0, 0, 0, 0, 0, 2],
1647
+ ];
1648
+ var UpdateLakehouseConfigurationResponse = [
1649
+ 3,
1650
+ n0,
1651
+ _ULCRp,
1652
+ 0,
1653
+ [_nN, _lIAA, _lRS, _cA],
1654
+ [0, 0, 0, 0],
1655
+ ];
1605
1656
  var UpdateNamespaceRequest = [
1606
1657
  3,
1607
1658
  n0,
@@ -2184,6 +2235,14 @@ var UpdateEndpointAccess = [
2184
2235
  () => UpdateEndpointAccessRequest,
2185
2236
  () => UpdateEndpointAccessResponse,
2186
2237
  ];
2238
+ var UpdateLakehouseConfiguration = [
2239
+ 9,
2240
+ n0,
2241
+ _ULC,
2242
+ 0,
2243
+ () => UpdateLakehouseConfigurationRequest,
2244
+ () => UpdateLakehouseConfigurationResponse,
2245
+ ];
2187
2246
  var UpdateNamespace = [
2188
2247
  9,
2189
2248
  n0,
@@ -2917,6 +2976,18 @@ class UpdateEndpointAccessCommand extends smithyClient.Command
2917
2976
  .build() {
2918
2977
  }
2919
2978
 
2979
+ class UpdateLakehouseConfigurationCommand extends smithyClient.Command
2980
+ .classBuilder()
2981
+ .ep(commonParams)
2982
+ .m(function (Command, cs, config, o) {
2983
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2984
+ })
2985
+ .s("RedshiftServerless", "UpdateLakehouseConfiguration", {})
2986
+ .n("RedshiftServerlessClient", "UpdateLakehouseConfigurationCommand")
2987
+ .sc(UpdateLakehouseConfiguration)
2988
+ .build() {
2989
+ }
2990
+
2920
2991
  class UpdateNamespaceCommand extends smithyClient.Command
2921
2992
  .classBuilder()
2922
2993
  .ep(commonParams)
@@ -3047,6 +3118,7 @@ const commands = {
3047
3118
  UntagResourceCommand,
3048
3119
  UpdateCustomDomainAssociationCommand,
3049
3120
  UpdateEndpointAccessCommand,
3121
+ UpdateLakehouseConfigurationCommand,
3050
3122
  UpdateNamespaceCommand,
3051
3123
  UpdateScheduledActionCommand,
3052
3124
  UpdateSnapshotCommand,
@@ -3086,6 +3158,64 @@ const paginateListUsageLimits = core.createPaginator(RedshiftServerlessClient, L
3086
3158
 
3087
3159
  const paginateListWorkgroups = core.createPaginator(RedshiftServerlessClient, ListWorkgroupsCommand, "nextToken", "nextToken", "maxResults");
3088
3160
 
3161
+ const SnapshotStatus = {
3162
+ AVAILABLE: "AVAILABLE",
3163
+ CANCELLED: "CANCELLED",
3164
+ COPYING: "COPYING",
3165
+ CREATING: "CREATING",
3166
+ DELETED: "DELETED",
3167
+ FAILED: "FAILED",
3168
+ };
3169
+ const LogExport = {
3170
+ CONNECTION_LOG: "connectionlog",
3171
+ USER_ACTIVITY_LOG: "useractivitylog",
3172
+ USER_LOG: "userlog",
3173
+ };
3174
+ const NamespaceStatus = {
3175
+ AVAILABLE: "AVAILABLE",
3176
+ DELETING: "DELETING",
3177
+ MODIFYING: "MODIFYING",
3178
+ };
3179
+ const OfferingType = {
3180
+ ALL_UPFRONT: "ALL_UPFRONT",
3181
+ NO_UPFRONT: "NO_UPFRONT",
3182
+ };
3183
+ const State = {
3184
+ ACTIVE: "ACTIVE",
3185
+ DISABLED: "DISABLED",
3186
+ };
3187
+ const UsageLimitBreachAction = {
3188
+ DEACTIVATE: "deactivate",
3189
+ EMIT_METRIC: "emit-metric",
3190
+ LOG: "log",
3191
+ };
3192
+ const UsageLimitPeriod = {
3193
+ DAILY: "daily",
3194
+ MONTHLY: "monthly",
3195
+ WEEKLY: "weekly",
3196
+ };
3197
+ const UsageLimitUsageType = {
3198
+ CROSS_REGION_DATASHARING: "cross-region-datasharing",
3199
+ SERVERLESS_COMPUTE: "serverless-compute",
3200
+ };
3201
+ const PerformanceTargetStatus = {
3202
+ DISABLED: "DISABLED",
3203
+ ENABLED: "ENABLED",
3204
+ };
3205
+ const WorkgroupStatus = {
3206
+ AVAILABLE: "AVAILABLE",
3207
+ CREATING: "CREATING",
3208
+ DELETING: "DELETING",
3209
+ MODIFYING: "MODIFYING",
3210
+ };
3211
+ const LakehouseIdcRegistration = {
3212
+ ASSOCIATE: "Associate",
3213
+ DISASSOCIATE: "Disassociate",
3214
+ };
3215
+ const LakehouseRegistration = {
3216
+ DEREGISTER: "Deregister",
3217
+ REGISTER: "Register",
3218
+ };
3089
3219
  const ManagedWorkgroupStatus = {
3090
3220
  AVAILABLE: "AVAILABLE",
3091
3221
  CREATING: "CREATING",
@@ -3123,6 +3253,7 @@ exports.DeleteSnapshotCommand = DeleteSnapshotCommand;
3123
3253
  exports.DeleteSnapshotCopyConfigurationCommand = DeleteSnapshotCopyConfigurationCommand;
3124
3254
  exports.DeleteUsageLimitCommand = DeleteUsageLimitCommand;
3125
3255
  exports.DeleteWorkgroupCommand = DeleteWorkgroupCommand;
3256
+ exports.DryRunException = DryRunException$1;
3126
3257
  exports.GetCredentialsCommand = GetCredentialsCommand;
3127
3258
  exports.GetCustomDomainAssociationCommand = GetCustomDomainAssociationCommand;
3128
3259
  exports.GetEndpointAccessCommand = GetEndpointAccessCommand;
@@ -3141,6 +3272,8 @@ exports.InsufficientCapacityException = InsufficientCapacityException$1;
3141
3272
  exports.InternalServerException = InternalServerException$1;
3142
3273
  exports.InvalidPaginationException = InvalidPaginationException$1;
3143
3274
  exports.Ipv6CidrBlockNotFoundException = Ipv6CidrBlockNotFoundException$1;
3275
+ exports.LakehouseIdcRegistration = LakehouseIdcRegistration;
3276
+ exports.LakehouseRegistration = LakehouseRegistration;
3144
3277
  exports.ListCustomDomainAssociationsCommand = ListCustomDomainAssociationsCommand;
3145
3278
  exports.ListEndpointAccessCommand = ListEndpointAccessCommand;
3146
3279
  exports.ListManagedWorkgroupsCommand = ListManagedWorkgroupsCommand;
@@ -3156,7 +3289,11 @@ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
3156
3289
  exports.ListTracksCommand = ListTracksCommand;
3157
3290
  exports.ListUsageLimitsCommand = ListUsageLimitsCommand;
3158
3291
  exports.ListWorkgroupsCommand = ListWorkgroupsCommand;
3292
+ exports.LogExport = LogExport;
3159
3293
  exports.ManagedWorkgroupStatus = ManagedWorkgroupStatus;
3294
+ exports.NamespaceStatus = NamespaceStatus;
3295
+ exports.OfferingType = OfferingType;
3296
+ exports.PerformanceTargetStatus = PerformanceTargetStatus;
3160
3297
  exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
3161
3298
  exports.RedshiftServerless = RedshiftServerless;
3162
3299
  exports.RedshiftServerlessClient = RedshiftServerlessClient;
@@ -3167,19 +3304,26 @@ exports.RestoreFromSnapshotCommand = RestoreFromSnapshotCommand;
3167
3304
  exports.RestoreTableFromRecoveryPointCommand = RestoreTableFromRecoveryPointCommand;
3168
3305
  exports.RestoreTableFromSnapshotCommand = RestoreTableFromSnapshotCommand;
3169
3306
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
3307
+ exports.SnapshotStatus = SnapshotStatus;
3308
+ exports.State = State;
3170
3309
  exports.TagResourceCommand = TagResourceCommand;
3171
3310
  exports.ThrottlingException = ThrottlingException$1;
3172
3311
  exports.TooManyTagsException = TooManyTagsException$1;
3173
3312
  exports.UntagResourceCommand = UntagResourceCommand;
3174
3313
  exports.UpdateCustomDomainAssociationCommand = UpdateCustomDomainAssociationCommand;
3175
3314
  exports.UpdateEndpointAccessCommand = UpdateEndpointAccessCommand;
3315
+ exports.UpdateLakehouseConfigurationCommand = UpdateLakehouseConfigurationCommand;
3176
3316
  exports.UpdateNamespaceCommand = UpdateNamespaceCommand;
3177
3317
  exports.UpdateScheduledActionCommand = UpdateScheduledActionCommand;
3178
3318
  exports.UpdateSnapshotCommand = UpdateSnapshotCommand;
3179
3319
  exports.UpdateSnapshotCopyConfigurationCommand = UpdateSnapshotCopyConfigurationCommand;
3180
3320
  exports.UpdateUsageLimitCommand = UpdateUsageLimitCommand;
3181
3321
  exports.UpdateWorkgroupCommand = UpdateWorkgroupCommand;
3322
+ exports.UsageLimitBreachAction = UsageLimitBreachAction;
3323
+ exports.UsageLimitPeriod = UsageLimitPeriod;
3324
+ exports.UsageLimitUsageType = UsageLimitUsageType;
3182
3325
  exports.ValidationException = ValidationException$1;
3326
+ exports.WorkgroupStatus = WorkgroupStatus;
3183
3327
  exports.paginateListCustomDomainAssociations = paginateListCustomDomainAssociations;
3184
3328
  exports.paginateListEndpointAccess = paginateListEndpointAccess;
3185
3329
  exports.paginateListManagedWorkgroups = paginateListManagedWorkgroups;
@@ -56,6 +56,7 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
56
56
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
57
57
  import { UpdateCustomDomainAssociationCommand, } from "./commands/UpdateCustomDomainAssociationCommand";
58
58
  import { UpdateEndpointAccessCommand, } from "./commands/UpdateEndpointAccessCommand";
59
+ import { UpdateLakehouseConfigurationCommand, } from "./commands/UpdateLakehouseConfigurationCommand";
59
60
  import { UpdateNamespaceCommand, } from "./commands/UpdateNamespaceCommand";
60
61
  import { UpdateScheduledActionCommand, } from "./commands/UpdateScheduledActionCommand";
61
62
  import { UpdateSnapshotCommand, } from "./commands/UpdateSnapshotCommand";
@@ -121,6 +122,7 @@ const commands = {
121
122
  UntagResourceCommand,
122
123
  UpdateCustomDomainAssociationCommand,
123
124
  UpdateEndpointAccessCommand,
125
+ UpdateLakehouseConfigurationCommand,
124
126
  UpdateNamespaceCommand,
125
127
  UpdateScheduledActionCommand,
126
128
  UpdateSnapshotCommand,
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UpdateLakehouseConfiguration } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UpdateLakehouseConfigurationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("RedshiftServerless", "UpdateLakehouseConfiguration", {})
13
+ .n("RedshiftServerlessClient", "UpdateLakehouseConfigurationCommand")
14
+ .sc(UpdateLakehouseConfiguration)
15
+ .build() {
16
+ }
@@ -55,6 +55,7 @@ export * from "./TagResourceCommand";
55
55
  export * from "./UntagResourceCommand";
56
56
  export * from "./UpdateCustomDomainAssociationCommand";
57
57
  export * from "./UpdateEndpointAccessCommand";
58
+ export * from "./UpdateLakehouseConfigurationCommand";
58
59
  export * from "./UpdateNamespaceCommand";
59
60
  export * from "./UpdateScheduledActionCommand";
60
61
  export * from "./UpdateSnapshotCommand";
@@ -1,3 +1,61 @@
1
+ export const SnapshotStatus = {
2
+ AVAILABLE: "AVAILABLE",
3
+ CANCELLED: "CANCELLED",
4
+ COPYING: "COPYING",
5
+ CREATING: "CREATING",
6
+ DELETED: "DELETED",
7
+ FAILED: "FAILED",
8
+ };
9
+ export const LogExport = {
10
+ CONNECTION_LOG: "connectionlog",
11
+ USER_ACTIVITY_LOG: "useractivitylog",
12
+ USER_LOG: "userlog",
13
+ };
14
+ export const NamespaceStatus = {
15
+ AVAILABLE: "AVAILABLE",
16
+ DELETING: "DELETING",
17
+ MODIFYING: "MODIFYING",
18
+ };
19
+ export const OfferingType = {
20
+ ALL_UPFRONT: "ALL_UPFRONT",
21
+ NO_UPFRONT: "NO_UPFRONT",
22
+ };
23
+ export const State = {
24
+ ACTIVE: "ACTIVE",
25
+ DISABLED: "DISABLED",
26
+ };
27
+ export const UsageLimitBreachAction = {
28
+ DEACTIVATE: "deactivate",
29
+ EMIT_METRIC: "emit-metric",
30
+ LOG: "log",
31
+ };
32
+ export const UsageLimitPeriod = {
33
+ DAILY: "daily",
34
+ MONTHLY: "monthly",
35
+ WEEKLY: "weekly",
36
+ };
37
+ export const UsageLimitUsageType = {
38
+ CROSS_REGION_DATASHARING: "cross-region-datasharing",
39
+ SERVERLESS_COMPUTE: "serverless-compute",
40
+ };
41
+ export const PerformanceTargetStatus = {
42
+ DISABLED: "DISABLED",
43
+ ENABLED: "ENABLED",
44
+ };
45
+ export const WorkgroupStatus = {
46
+ AVAILABLE: "AVAILABLE",
47
+ CREATING: "CREATING",
48
+ DELETING: "DELETING",
49
+ MODIFYING: "MODIFYING",
50
+ };
51
+ export const LakehouseIdcRegistration = {
52
+ ASSOCIATE: "Associate",
53
+ DISASSOCIATE: "Disassociate",
54
+ };
55
+ export const LakehouseRegistration = {
56
+ DEREGISTER: "Deregister",
57
+ REGISTER: "Register",
58
+ };
1
59
  export const ManagedWorkgroupStatus = {
2
60
  AVAILABLE: "AVAILABLE",
3
61
  CREATING: "CREATING",
@@ -130,6 +130,18 @@ export class Ipv6CidrBlockNotFoundException extends __BaseException {
130
130
  Object.setPrototypeOf(this, Ipv6CidrBlockNotFoundException.prototype);
131
131
  }
132
132
  }
133
+ export class DryRunException extends __BaseException {
134
+ name = "DryRunException";
135
+ $fault = "client";
136
+ constructor(opts) {
137
+ super({
138
+ name: "DryRunException",
139
+ $fault: "client",
140
+ ...opts,
141
+ });
142
+ Object.setPrototypeOf(this, DryRunException.prototype);
143
+ }
144
+ }
133
145
  export class InvalidPaginationException extends __BaseException {
134
146
  name = "InvalidPaginationException";
135
147
  $fault = "client";
@@ -1,50 +1 @@
1
- export const SnapshotStatus = {
2
- AVAILABLE: "AVAILABLE",
3
- CANCELLED: "CANCELLED",
4
- COPYING: "COPYING",
5
- CREATING: "CREATING",
6
- DELETED: "DELETED",
7
- FAILED: "FAILED",
8
- };
9
- export const LogExport = {
10
- CONNECTION_LOG: "connectionlog",
11
- USER_ACTIVITY_LOG: "useractivitylog",
12
- USER_LOG: "userlog",
13
- };
14
- export const NamespaceStatus = {
15
- AVAILABLE: "AVAILABLE",
16
- DELETING: "DELETING",
17
- MODIFYING: "MODIFYING",
18
- };
19
- export const OfferingType = {
20
- ALL_UPFRONT: "ALL_UPFRONT",
21
- NO_UPFRONT: "NO_UPFRONT",
22
- };
23
- export const State = {
24
- ACTIVE: "ACTIVE",
25
- DISABLED: "DISABLED",
26
- };
27
- export const UsageLimitBreachAction = {
28
- DEACTIVATE: "deactivate",
29
- EMIT_METRIC: "emit-metric",
30
- LOG: "log",
31
- };
32
- export const UsageLimitPeriod = {
33
- DAILY: "daily",
34
- MONTHLY: "monthly",
35
- WEEKLY: "weekly",
36
- };
37
- export const UsageLimitUsageType = {
38
- CROSS_REGION_DATASHARING: "cross-region-datasharing",
39
- SERVERLESS_COMPUTE: "serverless-compute",
40
- };
41
- export const PerformanceTargetStatus = {
42
- DISABLED: "DISABLED",
43
- ENABLED: "ENABLED",
44
- };
45
- export const WorkgroupStatus = {
46
- AVAILABLE: "AVAILABLE",
47
- CREATING: "CREATING",
48
- DELETING: "DELETING",
49
- MODIFYING: "MODIFYING",
50
- };
1
+ export {};
@@ -45,6 +45,7 @@ const _DN = "DeleteNamespace";
45
45
  const _DNR = "DeleteNamespaceRequest";
46
46
  const _DNRe = "DeleteNamespaceResponse";
47
47
  const _DP = "DbPassword";
48
+ const _DRE = "DryRunException";
48
49
  const _DRP = "DeleteResourcePolicy";
49
50
  const _DRPR = "DeleteResourcePolicyRequest";
50
51
  const _DRPRe = "DeleteResourcePolicyResponse";
@@ -216,6 +217,9 @@ const _UEA = "UpdateEndpointAccess";
216
217
  const _UEAR = "UpdateEndpointAccessRequest";
217
218
  const _UEARp = "UpdateEndpointAccessResponse";
218
219
  const _UL = "UsageLimit";
220
+ const _ULC = "UpdateLakehouseConfiguration";
221
+ const _ULCR = "UpdateLakehouseConfigurationRequest";
222
+ const _ULCRp = "UpdateLakehouseConfigurationResponse";
219
223
  const _ULs = "UsageLimits";
220
224
  const _UN = "UpdateNamespace";
221
225
  const _UNR = "UpdateNamespaceRequest";
@@ -264,6 +268,7 @@ const _bA = "breachAction";
264
268
  const _bC = "baseCapacity";
265
269
  const _bPIMB = "backupProgressInMegaBytes";
266
270
  const _c = "client";
271
+ const _cA = "catalogArn";
267
272
  const _cAV = "crossAccountVpcs";
268
273
  const _cBRIMBPS = "currentBackupRateInMegaBytesPerSecond";
269
274
  const _cC = "currencyCode";
@@ -271,6 +276,7 @@ const _cD = "creationDate";
271
276
  const _cDCA = "customDomainCertificateArn";
272
277
  const _cDCET = "customDomainCertificateExpiryTime";
273
278
  const _cDN = "customDomainName";
279
+ const _cN = "catalogName";
274
280
  const _cP = "configParameters";
275
281
  const _cS = "createSnapshot";
276
282
  const _cT = "clientToken";
@@ -283,6 +289,7 @@ const _dKKI = "destinationKmsKeyId";
283
289
  const _dN = "dbName";
284
290
  const _dP = "dbPassword";
285
291
  const _dR = "destinationRegion";
292
+ const _dRr = "dryRun";
286
293
  const _dS = "durationSeconds";
287
294
  const _dU = "dbUser";
288
295
  const _e = "error";
@@ -311,6 +318,10 @@ const _k = "key";
311
318
  const _kKI = "kmsKeyId";
312
319
  const _l = "level";
313
320
  const _lE = "logExports";
321
+ const _lIAA = "lakehouseIdcApplicationArn";
322
+ const _lIR = "lakehouseIdcRegistration";
323
+ const _lR = "lakehouseRegistration";
324
+ const _lRS = "lakehouseRegistrationStatus";
314
325
  const _m = "message";
315
326
  const _mAP = "manageAdminPassword";
316
327
  const _mC = "maxCapacity";
@@ -430,7 +441,7 @@ const _wV = "workgroupVersion";
430
441
  const _wo = "workgroups";
431
442
  const n0 = "com.amazonaws.redshiftserverless";
432
443
  import { TypeRegistry } from "@smithy/core/schema";
433
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InsufficientCapacityException as __InsufficientCapacityException, InternalServerException as __InternalServerException, InvalidPaginationException as __InvalidPaginationException, Ipv6CidrBlockNotFoundException as __Ipv6CidrBlockNotFoundException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, TooManyTagsException as __TooManyTagsException, ValidationException as __ValidationException, } from "../models/errors";
444
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, DryRunException as __DryRunException, InsufficientCapacityException as __InsufficientCapacityException, InternalServerException as __InternalServerException, InvalidPaginationException as __InvalidPaginationException, Ipv6CidrBlockNotFoundException as __Ipv6CidrBlockNotFoundException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, TooManyTagsException as __TooManyTagsException, ValidationException as __ValidationException, } from "../models/errors";
434
445
  import { RedshiftServerlessServiceException as __RedshiftServerlessServiceException } from "../models/RedshiftServerlessServiceException";
435
446
  export var DbPassword = [0, n0, _DP, 8, 0];
436
447
  export var DbUser = [0, n0, _DU, 8, 0];
@@ -604,6 +615,18 @@ export var DeleteUsageLimitRequest = [3, n0, _DULR, 0, [_uLI], [0]];
604
615
  export var DeleteUsageLimitResponse = [3, n0, _DULRe, 0, [_uL], [() => UsageLimit]];
605
616
  export var DeleteWorkgroupRequest = [3, n0, _DWR, 0, [_wN], [0]];
606
617
  export var DeleteWorkgroupResponse = [3, n0, _DWRe, 0, [_w], [() => Workgroup]];
618
+ export var DryRunException = [
619
+ -3,
620
+ n0,
621
+ _DRE,
622
+ {
623
+ [_e]: _c,
624
+ [_hE]: 400,
625
+ },
626
+ [_m],
627
+ [0],
628
+ ];
629
+ TypeRegistry.for(n0).registerError(DryRunException, __DryRunException);
607
630
  export var Endpoint = [3, n0, _E, 0, [_ad, _po, _vE], [0, 1, () => VpcEndpointList]];
608
631
  export var EndpointAccess = [
609
632
  3,
@@ -1125,8 +1148,8 @@ export var Namespace = [
1125
1148
  n0,
1126
1149
  _N,
1127
1150
  0,
1128
- [_nA, _nI, _nN, _aU, _dN, _kKI, _dIRA, _iR, _lE, _st, _cD, _aPSA, _aPSKKI],
1129
- [0, 0, 0, [() => DbUser, 0], 0, 0, 0, 64 | 0, 64 | 0, 0, 5, 0, 0],
1151
+ [_nA, _nI, _nN, _aU, _dN, _kKI, _dIRA, _iR, _lE, _st, _cD, _aPSA, _aPSKKI, _lRS, _cA],
1152
+ [0, 0, 0, [() => DbUser, 0], 0, 0, 0, 64 | 0, 64 | 0, 0, 5, 0, 0, 0, 0],
1130
1153
  ];
1131
1154
  export var NetworkInterface = [3, n0, _NI, 0, [_nII, _sIu, _pIA, _aZ, _iA], [0, 0, 0, 0, 0]];
1132
1155
  export var PerformanceTarget = [3, n0, _PT, 0, [_st, _l], [0, 1]];
@@ -1342,6 +1365,22 @@ export var UpdateCustomDomainAssociationResponse = [
1342
1365
  ];
1343
1366
  export var UpdateEndpointAccessRequest = [3, n0, _UEAR, 0, [_eN, _vSGI], [0, 64 | 0]];
1344
1367
  export var UpdateEndpointAccessResponse = [3, n0, _UEARp, 0, [_en], [() => EndpointAccess]];
1368
+ export var UpdateLakehouseConfigurationRequest = [
1369
+ 3,
1370
+ n0,
1371
+ _ULCR,
1372
+ 0,
1373
+ [_nN, _lR, _cN, _lIR, _lIAA, _dRr],
1374
+ [0, 0, 0, 0, 0, 2],
1375
+ ];
1376
+ export var UpdateLakehouseConfigurationResponse = [
1377
+ 3,
1378
+ n0,
1379
+ _ULCRp,
1380
+ 0,
1381
+ [_nN, _lIAA, _lRS, _cA],
1382
+ [0, 0, 0, 0],
1383
+ ];
1345
1384
  export var UpdateNamespaceRequest = [
1346
1385
  3,
1347
1386
  n0,
@@ -1934,6 +1973,14 @@ export var UpdateEndpointAccess = [
1934
1973
  () => UpdateEndpointAccessRequest,
1935
1974
  () => UpdateEndpointAccessResponse,
1936
1975
  ];
1976
+ export var UpdateLakehouseConfiguration = [
1977
+ 9,
1978
+ n0,
1979
+ _ULC,
1980
+ 0,
1981
+ () => UpdateLakehouseConfigurationRequest,
1982
+ () => UpdateLakehouseConfigurationResponse,
1983
+ ];
1937
1984
  export var UpdateNamespace = [
1938
1985
  9,
1939
1986
  n0,
@@ -56,6 +56,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
56
56
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
57
57
  import { UpdateCustomDomainAssociationCommandInput, UpdateCustomDomainAssociationCommandOutput } from "./commands/UpdateCustomDomainAssociationCommand";
58
58
  import { UpdateEndpointAccessCommandInput, UpdateEndpointAccessCommandOutput } from "./commands/UpdateEndpointAccessCommand";
59
+ import { UpdateLakehouseConfigurationCommandInput, UpdateLakehouseConfigurationCommandOutput } from "./commands/UpdateLakehouseConfigurationCommand";
59
60
  import { UpdateNamespaceCommandInput, UpdateNamespaceCommandOutput } from "./commands/UpdateNamespaceCommand";
60
61
  import { UpdateScheduledActionCommandInput, UpdateScheduledActionCommandOutput } from "./commands/UpdateScheduledActionCommand";
61
62
  import { UpdateSnapshotCommandInput, UpdateSnapshotCommandOutput } from "./commands/UpdateSnapshotCommand";
@@ -422,6 +423,12 @@ export interface RedshiftServerless {
422
423
  updateEndpointAccess(args: UpdateEndpointAccessCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEndpointAccessCommandOutput>;
423
424
  updateEndpointAccess(args: UpdateEndpointAccessCommandInput, cb: (err: any, data?: UpdateEndpointAccessCommandOutput) => void): void;
424
425
  updateEndpointAccess(args: UpdateEndpointAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEndpointAccessCommandOutput) => void): void;
426
+ /**
427
+ * @see {@link UpdateLakehouseConfigurationCommand}
428
+ */
429
+ updateLakehouseConfiguration(args: UpdateLakehouseConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLakehouseConfigurationCommandOutput>;
430
+ updateLakehouseConfiguration(args: UpdateLakehouseConfigurationCommandInput, cb: (err: any, data?: UpdateLakehouseConfigurationCommandOutput) => void): void;
431
+ updateLakehouseConfiguration(args: UpdateLakehouseConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLakehouseConfigurationCommandOutput) => void): void;
425
432
  /**
426
433
  * @see {@link UpdateNamespaceCommand}
427
434
  */
@@ -460,15 +467,7 @@ export interface RedshiftServerless {
460
467
  updateWorkgroup(args: UpdateWorkgroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkgroupCommandOutput) => void): void;
461
468
  }
462
469
  /**
463
- * <p>This is an interface reference for Amazon Redshift Serverless.
464
- * It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Redshift Serverless.
465
- * </p>
466
- * <p>Amazon Redshift Serverless automatically provisions data warehouse capacity and intelligently scales the
467
- * underlying resources based on workload demands. Amazon Redshift Serverless adjusts capacity in seconds to deliver consistently high
468
- * performance and simplified operations for even the most demanding and volatile workloads. Amazon Redshift Serverless lets you
469
- * focus on using your data to acquire new insights for your business and customers.
470
- * </p>
471
- * <p> To learn more about Amazon Redshift Serverless, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-whatis.html">What is Amazon Redshift Serverless?</a>.</p>
470
+ * <p>This is an interface reference for Amazon Redshift Serverless. It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Redshift Serverless. </p> <p>Amazon Redshift Serverless automatically provisions data warehouse capacity and intelligently scales the underlying resources based on workload demands. Amazon Redshift Serverless adjusts capacity in seconds to deliver consistently high performance and simplified operations for even the most demanding and volatile workloads. Amazon Redshift Serverless lets you focus on using your data to acquire new insights for your business and customers. </p> <p> To learn more about Amazon Redshift Serverless, see <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-whatis.html">What is Amazon Redshift Serverless?</a>.</p>
472
471
  * @public
473
472
  */
474
473
  export declare class RedshiftServerless extends RedshiftServerlessClient implements RedshiftServerless {