@aws-sdk/client-redshift 3.438.0 → 3.441.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 (55) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/Redshift.js +2 -0
  3. package/dist-cjs/commands/FailoverPrimaryComputeCommand.js +52 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/models/models_1.js +6 -1
  6. package/dist-cjs/protocols/Aws_query.js +157 -5
  7. package/dist-es/Redshift.js +2 -0
  8. package/dist-es/commands/FailoverPrimaryComputeCommand.js +48 -0
  9. package/dist-es/commands/index.js +1 -0
  10. package/dist-es/models/models_1.js +4 -0
  11. package/dist-es/protocols/Aws_query.js +150 -0
  12. package/dist-types/Redshift.d.ts +7 -0
  13. package/dist-types/RedshiftClient.d.ts +3 -2
  14. package/dist-types/commands/AddPartnerCommand.d.ts +3 -0
  15. package/dist-types/commands/CopyClusterSnapshotCommand.d.ts +4 -0
  16. package/dist-types/commands/CreateClusterCommand.d.ts +15 -0
  17. package/dist-types/commands/CreateScheduledActionCommand.d.ts +7 -0
  18. package/dist-types/commands/DeleteClusterCommand.d.ts +11 -0
  19. package/dist-types/commands/DeletePartnerCommand.d.ts +3 -0
  20. package/dist-types/commands/DescribeClustersCommand.d.ts +11 -0
  21. package/dist-types/commands/DescribeEndpointAuthorizationCommand.d.ts +2 -1
  22. package/dist-types/commands/DescribeLoggingStatusCommand.d.ts +3 -0
  23. package/dist-types/commands/DescribePartnersCommand.d.ts +3 -0
  24. package/dist-types/commands/DescribeResizeCommand.d.ts +3 -0
  25. package/dist-types/commands/DisableLoggingCommand.d.ts +3 -0
  26. package/dist-types/commands/DisableSnapshotCopyCommand.d.ts +14 -0
  27. package/dist-types/commands/EnableLoggingCommand.d.ts +3 -0
  28. package/dist-types/commands/EnableSnapshotCopyCommand.d.ts +11 -0
  29. package/dist-types/commands/FailoverPrimaryComputeCommand.d.ts +274 -0
  30. package/dist-types/commands/ModifyClusterCommand.d.ts +12 -0
  31. package/dist-types/commands/ModifyClusterDbRevisionCommand.d.ts +14 -0
  32. package/dist-types/commands/ModifyClusterIamRolesCommand.d.ts +11 -0
  33. package/dist-types/commands/ModifyClusterMaintenanceCommand.d.ts +11 -0
  34. package/dist-types/commands/ModifyScheduledActionCommand.d.ts +7 -0
  35. package/dist-types/commands/ModifySnapshotCopyRetentionPeriodCommand.d.ts +11 -0
  36. package/dist-types/commands/PauseClusterCommand.d.ts +14 -0
  37. package/dist-types/commands/RebootClusterCommand.d.ts +11 -0
  38. package/dist-types/commands/ResizeClusterCommand.d.ts +11 -0
  39. package/dist-types/commands/RestoreFromClusterSnapshotCommand.d.ts +12 -0
  40. package/dist-types/commands/ResumeClusterCommand.d.ts +14 -0
  41. package/dist-types/commands/RotateEncryptionKeyCommand.d.ts +14 -0
  42. package/dist-types/commands/UpdatePartnerStatusCommand.d.ts +3 -0
  43. package/dist-types/commands/index.d.ts +1 -0
  44. package/dist-types/models/models_0.d.ts +31 -18
  45. package/dist-types/models/models_1.d.ts +53 -1
  46. package/dist-types/protocols/Aws_query.d.ts +9 -0
  47. package/dist-types/ts3.4/Redshift.d.ts +17 -0
  48. package/dist-types/ts3.4/RedshiftClient.d.ts +6 -0
  49. package/dist-types/ts3.4/commands/DescribeEndpointAuthorizationCommand.d.ts +2 -4
  50. package/dist-types/ts3.4/commands/FailoverPrimaryComputeCommand.d.ts +42 -0
  51. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  52. package/dist-types/ts3.4/models/models_0.d.ts +7 -4
  53. package/dist-types/ts3.4/models/models_1.d.ts +16 -0
  54. package/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
  55. package/package.json +4 -4
@@ -902,6 +902,16 @@ export const se_EnableSnapshotCopyCommand = async (input, context) => {
902
902
  });
903
903
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
904
904
  };
905
+ export const se_FailoverPrimaryComputeCommand = async (input, context) => {
906
+ const headers = SHARED_HEADERS;
907
+ let body;
908
+ body = buildFormUrlencodedString({
909
+ ...se_FailoverPrimaryComputeInputMessage(input, context),
910
+ Action: "FailoverPrimaryCompute",
911
+ Version: "2012-12-01",
912
+ });
913
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
914
+ };
905
915
  export const se_GetClusterCredentialsCommand = async (input, context) => {
906
916
  const headers = SHARED_HEADERS;
907
917
  let body;
@@ -1351,6 +1361,9 @@ const de_AddPartnerCommandError = async (output, context) => {
1351
1361
  case "UnauthorizedPartnerIntegration":
1352
1362
  case "com.amazonaws.redshift#UnauthorizedPartnerIntegrationFault":
1353
1363
  throw await de_UnauthorizedPartnerIntegrationFaultRes(parsedOutput, context);
1364
+ case "UnsupportedOperation":
1365
+ case "com.amazonaws.redshift#UnsupportedOperationFault":
1366
+ throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
1354
1367
  default:
1355
1368
  const parsedBody = parsedOutput.body;
1356
1369
  return throwDefaultError({
@@ -1693,6 +1706,9 @@ const de_CopyClusterSnapshotCommandError = async (output, context) => {
1693
1706
  };
1694
1707
  const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1695
1708
  switch (errorCode) {
1709
+ case "ClusterNotFound":
1710
+ case "com.amazonaws.redshift#ClusterNotFoundFault":
1711
+ throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
1696
1712
  case "ClusterSnapshotAlreadyExists":
1697
1713
  case "com.amazonaws.redshift#ClusterSnapshotAlreadyExistsFault":
1698
1714
  throw await de_ClusterSnapshotAlreadyExistsFaultRes(parsedOutput, context);
@@ -1844,6 +1860,9 @@ const de_CreateClusterCommandError = async (output, context) => {
1844
1860
  case "UnauthorizedOperation":
1845
1861
  case "com.amazonaws.redshift#UnauthorizedOperation":
1846
1862
  throw await de_UnauthorizedOperationRes(parsedOutput, context);
1863
+ case "UnsupportedOperation":
1864
+ case "com.amazonaws.redshift#UnsupportedOperationFault":
1865
+ throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
1847
1866
  default:
1848
1867
  const parsedBody = parsedOutput.body;
1849
1868
  return throwDefaultError({
@@ -2299,6 +2318,9 @@ const de_CreateScheduledActionCommandError = async (output, context) => {
2299
2318
  };
2300
2319
  const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2301
2320
  switch (errorCode) {
2321
+ case "ClusterNotFound":
2322
+ case "com.amazonaws.redshift#ClusterNotFoundFault":
2323
+ throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
2302
2324
  case "InvalidSchedule":
2303
2325
  case "com.amazonaws.redshift#InvalidScheduleFault":
2304
2326
  throw await de_InvalidScheduleFaultRes(parsedOutput, context);
@@ -2317,6 +2339,9 @@ const de_CreateScheduledActionCommandError = async (output, context) => {
2317
2339
  case "UnauthorizedOperation":
2318
2340
  case "com.amazonaws.redshift#UnauthorizedOperation":
2319
2341
  throw await de_UnauthorizedOperationRes(parsedOutput, context);
2342
+ case "UnsupportedOperation":
2343
+ case "com.amazonaws.redshift#UnsupportedOperationFault":
2344
+ throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
2320
2345
  default:
2321
2346
  const parsedBody = parsedOutput.body;
2322
2347
  return throwDefaultError({
@@ -2957,6 +2982,9 @@ const de_DeletePartnerCommandError = async (output, context) => {
2957
2982
  case "UnauthorizedPartnerIntegration":
2958
2983
  case "com.amazonaws.redshift#UnauthorizedPartnerIntegrationFault":
2959
2984
  throw await de_UnauthorizedPartnerIntegrationFaultRes(parsedOutput, context);
2985
+ case "UnsupportedOperation":
2986
+ case "com.amazonaws.redshift#UnsupportedOperationFault":
2987
+ throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
2960
2988
  default:
2961
2989
  const parsedBody = parsedOutput.body;
2962
2990
  return throwDefaultError({
@@ -3976,6 +4004,9 @@ const de_DescribeLoggingStatusCommandError = async (output, context) => {
3976
4004
  case "ClusterNotFound":
3977
4005
  case "com.amazonaws.redshift#ClusterNotFoundFault":
3978
4006
  throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
4007
+ case "UnsupportedOperation":
4008
+ case "com.amazonaws.redshift#UnsupportedOperationFault":
4009
+ throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
3979
4010
  default:
3980
4011
  const parsedBody = parsedOutput.body;
3981
4012
  return throwDefaultError({
@@ -4081,6 +4112,9 @@ const de_DescribePartnersCommandError = async (output, context) => {
4081
4112
  case "UnauthorizedPartnerIntegration":
4082
4113
  case "com.amazonaws.redshift#UnauthorizedPartnerIntegrationFault":
4083
4114
  throw await de_UnauthorizedPartnerIntegrationFaultRes(parsedOutput, context);
4115
+ case "UnsupportedOperation":
4116
+ case "com.amazonaws.redshift#UnsupportedOperationFault":
4117
+ throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
4084
4118
  default:
4085
4119
  const parsedBody = parsedOutput.body;
4086
4120
  return throwDefaultError({
@@ -4227,6 +4261,9 @@ const de_DescribeResizeCommandError = async (output, context) => {
4227
4261
  case "ResizeNotFound":
4228
4262
  case "com.amazonaws.redshift#ResizeNotFoundFault":
4229
4263
  throw await de_ResizeNotFoundFaultRes(parsedOutput, context);
4264
+ case "UnsupportedOperation":
4265
+ case "com.amazonaws.redshift#UnsupportedOperationFault":
4266
+ throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
4230
4267
  default:
4231
4268
  const parsedBody = parsedOutput.body;
4232
4269
  return throwDefaultError({
@@ -4489,6 +4526,9 @@ const de_DisableLoggingCommandError = async (output, context) => {
4489
4526
  case "InvalidClusterState":
4490
4527
  case "com.amazonaws.redshift#InvalidClusterStateFault":
4491
4528
  throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
4529
+ case "UnsupportedOperation":
4530
+ case "com.amazonaws.redshift#UnsupportedOperationFault":
4531
+ throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
4492
4532
  default:
4493
4533
  const parsedBody = parsedOutput.body;
4494
4534
  return throwDefaultError({
@@ -4530,6 +4570,9 @@ const de_DisableSnapshotCopyCommandError = async (output, context) => {
4530
4570
  case "UnauthorizedOperation":
4531
4571
  case "com.amazonaws.redshift#UnauthorizedOperation":
4532
4572
  throw await de_UnauthorizedOperationRes(parsedOutput, context);
4573
+ case "UnsupportedOperation":
4574
+ case "com.amazonaws.redshift#UnsupportedOperationFault":
4575
+ throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
4533
4576
  default:
4534
4577
  const parsedBody = parsedOutput.body;
4535
4578
  return throwDefaultError({
@@ -4612,6 +4655,9 @@ const de_EnableLoggingCommandError = async (output, context) => {
4612
4655
  case "InvalidS3KeyPrefixFault":
4613
4656
  case "com.amazonaws.redshift#InvalidS3KeyPrefixFault":
4614
4657
  throw await de_InvalidS3KeyPrefixFaultRes(parsedOutput, context);
4658
+ case "UnsupportedOperation":
4659
+ case "com.amazonaws.redshift#UnsupportedOperationFault":
4660
+ throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
4615
4661
  default:
4616
4662
  const parsedBody = parsedOutput.body;
4617
4663
  return throwDefaultError({
@@ -4683,6 +4729,47 @@ const de_EnableSnapshotCopyCommandError = async (output, context) => {
4683
4729
  });
4684
4730
  }
4685
4731
  };
4732
+ export const de_FailoverPrimaryComputeCommand = async (output, context) => {
4733
+ if (output.statusCode >= 300) {
4734
+ return de_FailoverPrimaryComputeCommandError(output, context);
4735
+ }
4736
+ const data = await parseBody(output.body, context);
4737
+ let contents = {};
4738
+ contents = de_FailoverPrimaryComputeResult(data.FailoverPrimaryComputeResult, context);
4739
+ const response = {
4740
+ $metadata: deserializeMetadata(output),
4741
+ ...contents,
4742
+ };
4743
+ return response;
4744
+ };
4745
+ const de_FailoverPrimaryComputeCommandError = async (output, context) => {
4746
+ const parsedOutput = {
4747
+ ...output,
4748
+ body: await parseErrorBody(output.body, context),
4749
+ };
4750
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
4751
+ switch (errorCode) {
4752
+ case "ClusterNotFound":
4753
+ case "com.amazonaws.redshift#ClusterNotFoundFault":
4754
+ throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
4755
+ case "InvalidClusterState":
4756
+ case "com.amazonaws.redshift#InvalidClusterStateFault":
4757
+ throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
4758
+ case "UnauthorizedOperation":
4759
+ case "com.amazonaws.redshift#UnauthorizedOperation":
4760
+ throw await de_UnauthorizedOperationRes(parsedOutput, context);
4761
+ case "UnsupportedOperation":
4762
+ case "com.amazonaws.redshift#UnsupportedOperationFault":
4763
+ throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
4764
+ default:
4765
+ const parsedBody = parsedOutput.body;
4766
+ return throwDefaultError({
4767
+ output,
4768
+ parsedBody: parsedBody.Error,
4769
+ errorCode,
4770
+ });
4771
+ }
4772
+ };
4686
4773
  export const de_GetClusterCredentialsCommand = async (output, context) => {
4687
4774
  if (output.statusCode >= 300) {
4688
4775
  return de_GetClusterCredentialsCommandError(output, context);
@@ -5091,6 +5178,9 @@ const de_ModifyClusterDbRevisionCommandError = async (output, context) => {
5091
5178
  case "InvalidClusterState":
5092
5179
  case "com.amazonaws.redshift#InvalidClusterStateFault":
5093
5180
  throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
5181
+ case "UnsupportedOperation":
5182
+ case "com.amazonaws.redshift#UnsupportedOperationFault":
5183
+ throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
5094
5184
  default:
5095
5185
  const parsedBody = parsedOutput.body;
5096
5186
  return throwDefaultError({
@@ -5486,6 +5576,9 @@ const de_ModifyScheduledActionCommandError = async (output, context) => {
5486
5576
  };
5487
5577
  const errorCode = loadQueryErrorCode(output, parsedOutput.body);
5488
5578
  switch (errorCode) {
5579
+ case "ClusterNotFound":
5580
+ case "com.amazonaws.redshift#ClusterNotFoundFault":
5581
+ throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
5489
5582
  case "InvalidSchedule":
5490
5583
  case "com.amazonaws.redshift#InvalidScheduleFault":
5491
5584
  throw await de_InvalidScheduleFaultRes(parsedOutput, context);
@@ -5501,6 +5594,9 @@ const de_ModifyScheduledActionCommandError = async (output, context) => {
5501
5594
  case "UnauthorizedOperation":
5502
5595
  case "com.amazonaws.redshift#UnauthorizedOperation":
5503
5596
  throw await de_UnauthorizedOperationRes(parsedOutput, context);
5597
+ case "UnsupportedOperation":
5598
+ case "com.amazonaws.redshift#UnsupportedOperationFault":
5599
+ throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
5504
5600
  default:
5505
5601
  const parsedBody = parsedOutput.body;
5506
5602
  return throwDefaultError({
@@ -5656,6 +5752,9 @@ const de_PauseClusterCommandError = async (output, context) => {
5656
5752
  case "InvalidClusterState":
5657
5753
  case "com.amazonaws.redshift#InvalidClusterStateFault":
5658
5754
  throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
5755
+ case "UnsupportedOperation":
5756
+ case "com.amazonaws.redshift#UnsupportedOperationFault":
5757
+ throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
5659
5758
  default:
5660
5759
  const parsedBody = parsedOutput.body;
5661
5760
  return throwDefaultError({
@@ -6130,6 +6229,9 @@ const de_ResumeClusterCommandError = async (output, context) => {
6130
6229
  case "InvalidClusterState":
6131
6230
  case "com.amazonaws.redshift#InvalidClusterStateFault":
6132
6231
  throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
6232
+ case "UnsupportedOperation":
6233
+ case "com.amazonaws.redshift#UnsupportedOperationFault":
6234
+ throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
6133
6235
  default:
6134
6236
  const parsedBody = parsedOutput.body;
6135
6237
  return throwDefaultError({
@@ -6297,6 +6399,9 @@ const de_RotateEncryptionKeyCommandError = async (output, context) => {
6297
6399
  case "InvalidClusterState":
6298
6400
  case "com.amazonaws.redshift#InvalidClusterStateFault":
6299
6401
  throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
6402
+ case "UnsupportedOperation":
6403
+ case "com.amazonaws.redshift#UnsupportedOperationFault":
6404
+ throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
6300
6405
  default:
6301
6406
  const parsedBody = parsedOutput.body;
6302
6407
  return throwDefaultError({
@@ -6335,6 +6440,9 @@ const de_UpdatePartnerStatusCommandError = async (output, context) => {
6335
6440
  case "UnauthorizedPartnerIntegration":
6336
6441
  case "com.amazonaws.redshift#UnauthorizedPartnerIntegrationFault":
6337
6442
  throw await de_UnauthorizedPartnerIntegrationFaultRes(parsedOutput, context);
6443
+ case "UnsupportedOperation":
6444
+ case "com.amazonaws.redshift#UnsupportedOperationFault":
6445
+ throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
6338
6446
  default:
6339
6447
  const parsedBody = parsedOutput.body;
6340
6448
  return throwDefaultError({
@@ -7852,6 +7960,9 @@ const se_CreateClusterMessage = (input, context) => {
7852
7960
  if (input.IpAddressType != null) {
7853
7961
  entries["IpAddressType"] = input.IpAddressType;
7854
7962
  }
7963
+ if (input.MultiAZ != null) {
7964
+ entries["MultiAZ"] = input.MultiAZ;
7965
+ }
7855
7966
  return entries;
7856
7967
  };
7857
7968
  const se_CreateClusterParameterGroupMessage = (input, context) => {
@@ -9344,6 +9455,13 @@ const se_EventCategoriesList = (input, context) => {
9344
9455
  }
9345
9456
  return entries;
9346
9457
  };
9458
+ const se_FailoverPrimaryComputeInputMessage = (input, context) => {
9459
+ const entries = {};
9460
+ if (input.ClusterIdentifier != null) {
9461
+ entries["ClusterIdentifier"] = input.ClusterIdentifier;
9462
+ }
9463
+ return entries;
9464
+ };
9347
9465
  const se_GetClusterCredentialsMessage = (input, context) => {
9348
9466
  const entries = {};
9349
9467
  if (input.DbUser != null) {
@@ -9637,6 +9755,9 @@ const se_ModifyClusterMessage = (input, context) => {
9637
9755
  if (input.IpAddressType != null) {
9638
9756
  entries["IpAddressType"] = input.IpAddressType;
9639
9757
  }
9758
+ if (input.MultiAZ != null) {
9759
+ entries["MultiAZ"] = input.MultiAZ;
9760
+ }
9640
9761
  return entries;
9641
9762
  };
9642
9763
  const se_ModifyClusterParameterGroupMessage = (input, context) => {
@@ -10160,6 +10281,9 @@ const se_RestoreFromClusterSnapshotMessage = (input, context) => {
10160
10281
  if (input.IpAddressType != null) {
10161
10282
  entries["IpAddressType"] = input.IpAddressType;
10162
10283
  }
10284
+ if (input.MultiAZ != null) {
10285
+ entries["MultiAZ"] = input.MultiAZ;
10286
+ }
10163
10287
  return entries;
10164
10288
  };
10165
10289
  const se_RestoreTableFromClusterSnapshotMessage = (input, context) => {
@@ -11006,6 +11130,12 @@ const de_Cluster = (output, context) => {
11006
11130
  if (output["IpAddressType"] !== undefined) {
11007
11131
  contents.IpAddressType = __expectString(output["IpAddressType"]);
11008
11132
  }
11133
+ if (output["MultiAZ"] !== undefined) {
11134
+ contents.MultiAZ = __expectString(output["MultiAZ"]);
11135
+ }
11136
+ if (output["MultiAZSecondary"] !== undefined) {
11137
+ contents.MultiAZSecondary = de_SecondaryClusterInfo(output["MultiAZSecondary"], context);
11138
+ }
11009
11139
  return contents;
11010
11140
  };
11011
11141
  const de_ClusterAlreadyExistsFault = (output, context) => {
@@ -12348,6 +12478,13 @@ const de_EventSubscriptionsMessage = (output, context) => {
12348
12478
  }
12349
12479
  return contents;
12350
12480
  };
12481
+ const de_FailoverPrimaryComputeResult = (output, context) => {
12482
+ const contents = {};
12483
+ if (output["Cluster"] !== undefined) {
12484
+ contents.Cluster = de_Cluster(output["Cluster"], context);
12485
+ }
12486
+ return contents;
12487
+ };
12351
12488
  const de_GetReservedNodeExchangeConfigurationOptionsOutputMessage = (output, context) => {
12352
12489
  const contents = {};
12353
12490
  if (output["Marker"] !== undefined) {
@@ -13911,6 +14048,19 @@ const de_ScheduledSnapshotTimeList = (output, context) => {
13911
14048
  return __expectNonNull(__parseRfc3339DateTimeWithOffset(entry));
13912
14049
  });
13913
14050
  };
14051
+ const de_SecondaryClusterInfo = (output, context) => {
14052
+ const contents = {};
14053
+ if (output["AvailabilityZone"] !== undefined) {
14054
+ contents.AvailabilityZone = __expectString(output["AvailabilityZone"]);
14055
+ }
14056
+ if (output.ClusterNodes === "") {
14057
+ contents.ClusterNodes = [];
14058
+ }
14059
+ else if (output["ClusterNodes"] !== undefined && output["ClusterNodes"]["member"] !== undefined) {
14060
+ contents.ClusterNodes = de_ClusterNodesList(__getArrayIfSingleItem(output["ClusterNodes"]["member"]), context);
14061
+ }
14062
+ return contents;
14063
+ };
13914
14064
  const de_Snapshot = (output, context) => {
13915
14065
  const contents = {};
13916
14066
  if (output["SnapshotIdentifier"] !== undefined) {
@@ -89,6 +89,7 @@ import { DisableSnapshotCopyCommandInput, DisableSnapshotCopyCommandOutput } fro
89
89
  import { DisassociateDataShareConsumerCommandInput, DisassociateDataShareConsumerCommandOutput } from "./commands/DisassociateDataShareConsumerCommand";
90
90
  import { EnableLoggingCommandInput, EnableLoggingCommandOutput } from "./commands/EnableLoggingCommand";
91
91
  import { EnableSnapshotCopyCommandInput, EnableSnapshotCopyCommandOutput } from "./commands/EnableSnapshotCopyCommand";
92
+ import { FailoverPrimaryComputeCommandInput, FailoverPrimaryComputeCommandOutput } from "./commands/FailoverPrimaryComputeCommand";
92
93
  import { GetClusterCredentialsCommandInput, GetClusterCredentialsCommandOutput } from "./commands/GetClusterCredentialsCommand";
93
94
  import { GetClusterCredentialsWithIAMCommandInput, GetClusterCredentialsWithIAMCommandOutput } from "./commands/GetClusterCredentialsWithIAMCommand";
94
95
  import { GetReservedNodeExchangeConfigurationOptionsCommandInput, GetReservedNodeExchangeConfigurationOptionsCommandOutput } from "./commands/GetReservedNodeExchangeConfigurationOptionsCommand";
@@ -668,6 +669,12 @@ export interface Redshift {
668
669
  enableSnapshotCopy(args: EnableSnapshotCopyCommandInput, options?: __HttpHandlerOptions): Promise<EnableSnapshotCopyCommandOutput>;
669
670
  enableSnapshotCopy(args: EnableSnapshotCopyCommandInput, cb: (err: any, data?: EnableSnapshotCopyCommandOutput) => void): void;
670
671
  enableSnapshotCopy(args: EnableSnapshotCopyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableSnapshotCopyCommandOutput) => void): void;
672
+ /**
673
+ * @see {@link FailoverPrimaryComputeCommand}
674
+ */
675
+ failoverPrimaryCompute(args: FailoverPrimaryComputeCommandInput, options?: __HttpHandlerOptions): Promise<FailoverPrimaryComputeCommandOutput>;
676
+ failoverPrimaryCompute(args: FailoverPrimaryComputeCommandInput, cb: (err: any, data?: FailoverPrimaryComputeCommandOutput) => void): void;
677
+ failoverPrimaryCompute(args: FailoverPrimaryComputeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: FailoverPrimaryComputeCommandOutput) => void): void;
671
678
  /**
672
679
  * @see {@link GetClusterCredentialsCommand}
673
680
  */
@@ -98,6 +98,7 @@ import { DisableSnapshotCopyCommandInput, DisableSnapshotCopyCommandOutput } fro
98
98
  import { DisassociateDataShareConsumerCommandInput, DisassociateDataShareConsumerCommandOutput } from "./commands/DisassociateDataShareConsumerCommand";
99
99
  import { EnableLoggingCommandInput, EnableLoggingCommandOutput } from "./commands/EnableLoggingCommand";
100
100
  import { EnableSnapshotCopyCommandInput, EnableSnapshotCopyCommandOutput } from "./commands/EnableSnapshotCopyCommand";
101
+ import { FailoverPrimaryComputeCommandInput, FailoverPrimaryComputeCommandOutput } from "./commands/FailoverPrimaryComputeCommand";
101
102
  import { GetClusterCredentialsCommandInput, GetClusterCredentialsCommandOutput } from "./commands/GetClusterCredentialsCommand";
102
103
  import { GetClusterCredentialsWithIAMCommandInput, GetClusterCredentialsWithIAMCommandOutput } from "./commands/GetClusterCredentialsWithIAMCommand";
103
104
  import { GetReservedNodeExchangeConfigurationOptionsCommandInput, GetReservedNodeExchangeConfigurationOptionsCommandOutput } from "./commands/GetReservedNodeExchangeConfigurationOptionsCommand";
@@ -141,11 +142,11 @@ export { __Client };
141
142
  /**
142
143
  * @public
143
144
  */
144
- export type ServiceInputTypes = AcceptReservedNodeExchangeCommandInput | AddPartnerCommandInput | AssociateDataShareConsumerCommandInput | AuthorizeClusterSecurityGroupIngressCommandInput | AuthorizeDataShareCommandInput | AuthorizeEndpointAccessCommandInput | AuthorizeSnapshotAccessCommandInput | BatchDeleteClusterSnapshotsCommandInput | BatchModifyClusterSnapshotsCommandInput | CancelResizeCommandInput | CopyClusterSnapshotCommandInput | CreateAuthenticationProfileCommandInput | CreateClusterCommandInput | CreateClusterParameterGroupCommandInput | CreateClusterSecurityGroupCommandInput | CreateClusterSnapshotCommandInput | CreateClusterSubnetGroupCommandInput | CreateCustomDomainAssociationCommandInput | CreateEndpointAccessCommandInput | CreateEventSubscriptionCommandInput | CreateHsmClientCertificateCommandInput | CreateHsmConfigurationCommandInput | CreateScheduledActionCommandInput | CreateSnapshotCopyGrantCommandInput | CreateSnapshotScheduleCommandInput | CreateTagsCommandInput | CreateUsageLimitCommandInput | DeauthorizeDataShareCommandInput | DeleteAuthenticationProfileCommandInput | DeleteClusterCommandInput | DeleteClusterParameterGroupCommandInput | DeleteClusterSecurityGroupCommandInput | DeleteClusterSnapshotCommandInput | DeleteClusterSubnetGroupCommandInput | DeleteCustomDomainAssociationCommandInput | DeleteEndpointAccessCommandInput | DeleteEventSubscriptionCommandInput | DeleteHsmClientCertificateCommandInput | DeleteHsmConfigurationCommandInput | DeletePartnerCommandInput | DeleteResourcePolicyCommandInput | DeleteScheduledActionCommandInput | DeleteSnapshotCopyGrantCommandInput | DeleteSnapshotScheduleCommandInput | DeleteTagsCommandInput | DeleteUsageLimitCommandInput | DescribeAccountAttributesCommandInput | DescribeAuthenticationProfilesCommandInput | DescribeClusterDbRevisionsCommandInput | DescribeClusterParameterGroupsCommandInput | DescribeClusterParametersCommandInput | DescribeClusterSecurityGroupsCommandInput | DescribeClusterSnapshotsCommandInput | DescribeClusterSubnetGroupsCommandInput | DescribeClusterTracksCommandInput | DescribeClusterVersionsCommandInput | DescribeClustersCommandInput | DescribeCustomDomainAssociationsCommandInput | DescribeDataSharesCommandInput | DescribeDataSharesForConsumerCommandInput | DescribeDataSharesForProducerCommandInput | DescribeDefaultClusterParametersCommandInput | DescribeEndpointAccessCommandInput | DescribeEndpointAuthorizationCommandInput | DescribeEventCategoriesCommandInput | DescribeEventSubscriptionsCommandInput | DescribeEventsCommandInput | DescribeHsmClientCertificatesCommandInput | DescribeHsmConfigurationsCommandInput | DescribeInboundIntegrationsCommandInput | DescribeLoggingStatusCommandInput | DescribeNodeConfigurationOptionsCommandInput | DescribeOrderableClusterOptionsCommandInput | DescribePartnersCommandInput | DescribeReservedNodeExchangeStatusCommandInput | DescribeReservedNodeOfferingsCommandInput | DescribeReservedNodesCommandInput | DescribeResizeCommandInput | DescribeScheduledActionsCommandInput | DescribeSnapshotCopyGrantsCommandInput | DescribeSnapshotSchedulesCommandInput | DescribeStorageCommandInput | DescribeTableRestoreStatusCommandInput | DescribeTagsCommandInput | DescribeUsageLimitsCommandInput | DisableLoggingCommandInput | DisableSnapshotCopyCommandInput | DisassociateDataShareConsumerCommandInput | EnableLoggingCommandInput | EnableSnapshotCopyCommandInput | GetClusterCredentialsCommandInput | GetClusterCredentialsWithIAMCommandInput | GetReservedNodeExchangeConfigurationOptionsCommandInput | GetReservedNodeExchangeOfferingsCommandInput | GetResourcePolicyCommandInput | ModifyAquaConfigurationCommandInput | ModifyAuthenticationProfileCommandInput | ModifyClusterCommandInput | ModifyClusterDbRevisionCommandInput | ModifyClusterIamRolesCommandInput | ModifyClusterMaintenanceCommandInput | ModifyClusterParameterGroupCommandInput | ModifyClusterSnapshotCommandInput | ModifyClusterSnapshotScheduleCommandInput | ModifyClusterSubnetGroupCommandInput | ModifyCustomDomainAssociationCommandInput | ModifyEndpointAccessCommandInput | ModifyEventSubscriptionCommandInput | ModifyScheduledActionCommandInput | ModifySnapshotCopyRetentionPeriodCommandInput | ModifySnapshotScheduleCommandInput | ModifyUsageLimitCommandInput | PauseClusterCommandInput | PurchaseReservedNodeOfferingCommandInput | PutResourcePolicyCommandInput | RebootClusterCommandInput | RejectDataShareCommandInput | ResetClusterParameterGroupCommandInput | ResizeClusterCommandInput | RestoreFromClusterSnapshotCommandInput | RestoreTableFromClusterSnapshotCommandInput | ResumeClusterCommandInput | RevokeClusterSecurityGroupIngressCommandInput | RevokeEndpointAccessCommandInput | RevokeSnapshotAccessCommandInput | RotateEncryptionKeyCommandInput | UpdatePartnerStatusCommandInput;
145
+ export type ServiceInputTypes = AcceptReservedNodeExchangeCommandInput | AddPartnerCommandInput | AssociateDataShareConsumerCommandInput | AuthorizeClusterSecurityGroupIngressCommandInput | AuthorizeDataShareCommandInput | AuthorizeEndpointAccessCommandInput | AuthorizeSnapshotAccessCommandInput | BatchDeleteClusterSnapshotsCommandInput | BatchModifyClusterSnapshotsCommandInput | CancelResizeCommandInput | CopyClusterSnapshotCommandInput | CreateAuthenticationProfileCommandInput | CreateClusterCommandInput | CreateClusterParameterGroupCommandInput | CreateClusterSecurityGroupCommandInput | CreateClusterSnapshotCommandInput | CreateClusterSubnetGroupCommandInput | CreateCustomDomainAssociationCommandInput | CreateEndpointAccessCommandInput | CreateEventSubscriptionCommandInput | CreateHsmClientCertificateCommandInput | CreateHsmConfigurationCommandInput | CreateScheduledActionCommandInput | CreateSnapshotCopyGrantCommandInput | CreateSnapshotScheduleCommandInput | CreateTagsCommandInput | CreateUsageLimitCommandInput | DeauthorizeDataShareCommandInput | DeleteAuthenticationProfileCommandInput | DeleteClusterCommandInput | DeleteClusterParameterGroupCommandInput | DeleteClusterSecurityGroupCommandInput | DeleteClusterSnapshotCommandInput | DeleteClusterSubnetGroupCommandInput | DeleteCustomDomainAssociationCommandInput | DeleteEndpointAccessCommandInput | DeleteEventSubscriptionCommandInput | DeleteHsmClientCertificateCommandInput | DeleteHsmConfigurationCommandInput | DeletePartnerCommandInput | DeleteResourcePolicyCommandInput | DeleteScheduledActionCommandInput | DeleteSnapshotCopyGrantCommandInput | DeleteSnapshotScheduleCommandInput | DeleteTagsCommandInput | DeleteUsageLimitCommandInput | DescribeAccountAttributesCommandInput | DescribeAuthenticationProfilesCommandInput | DescribeClusterDbRevisionsCommandInput | DescribeClusterParameterGroupsCommandInput | DescribeClusterParametersCommandInput | DescribeClusterSecurityGroupsCommandInput | DescribeClusterSnapshotsCommandInput | DescribeClusterSubnetGroupsCommandInput | DescribeClusterTracksCommandInput | DescribeClusterVersionsCommandInput | DescribeClustersCommandInput | DescribeCustomDomainAssociationsCommandInput | DescribeDataSharesCommandInput | DescribeDataSharesForConsumerCommandInput | DescribeDataSharesForProducerCommandInput | DescribeDefaultClusterParametersCommandInput | DescribeEndpointAccessCommandInput | DescribeEndpointAuthorizationCommandInput | DescribeEventCategoriesCommandInput | DescribeEventSubscriptionsCommandInput | DescribeEventsCommandInput | DescribeHsmClientCertificatesCommandInput | DescribeHsmConfigurationsCommandInput | DescribeInboundIntegrationsCommandInput | DescribeLoggingStatusCommandInput | DescribeNodeConfigurationOptionsCommandInput | DescribeOrderableClusterOptionsCommandInput | DescribePartnersCommandInput | DescribeReservedNodeExchangeStatusCommandInput | DescribeReservedNodeOfferingsCommandInput | DescribeReservedNodesCommandInput | DescribeResizeCommandInput | DescribeScheduledActionsCommandInput | DescribeSnapshotCopyGrantsCommandInput | DescribeSnapshotSchedulesCommandInput | DescribeStorageCommandInput | DescribeTableRestoreStatusCommandInput | DescribeTagsCommandInput | DescribeUsageLimitsCommandInput | DisableLoggingCommandInput | DisableSnapshotCopyCommandInput | DisassociateDataShareConsumerCommandInput | EnableLoggingCommandInput | EnableSnapshotCopyCommandInput | FailoverPrimaryComputeCommandInput | GetClusterCredentialsCommandInput | GetClusterCredentialsWithIAMCommandInput | GetReservedNodeExchangeConfigurationOptionsCommandInput | GetReservedNodeExchangeOfferingsCommandInput | GetResourcePolicyCommandInput | ModifyAquaConfigurationCommandInput | ModifyAuthenticationProfileCommandInput | ModifyClusterCommandInput | ModifyClusterDbRevisionCommandInput | ModifyClusterIamRolesCommandInput | ModifyClusterMaintenanceCommandInput | ModifyClusterParameterGroupCommandInput | ModifyClusterSnapshotCommandInput | ModifyClusterSnapshotScheduleCommandInput | ModifyClusterSubnetGroupCommandInput | ModifyCustomDomainAssociationCommandInput | ModifyEndpointAccessCommandInput | ModifyEventSubscriptionCommandInput | ModifyScheduledActionCommandInput | ModifySnapshotCopyRetentionPeriodCommandInput | ModifySnapshotScheduleCommandInput | ModifyUsageLimitCommandInput | PauseClusterCommandInput | PurchaseReservedNodeOfferingCommandInput | PutResourcePolicyCommandInput | RebootClusterCommandInput | RejectDataShareCommandInput | ResetClusterParameterGroupCommandInput | ResizeClusterCommandInput | RestoreFromClusterSnapshotCommandInput | RestoreTableFromClusterSnapshotCommandInput | ResumeClusterCommandInput | RevokeClusterSecurityGroupIngressCommandInput | RevokeEndpointAccessCommandInput | RevokeSnapshotAccessCommandInput | RotateEncryptionKeyCommandInput | UpdatePartnerStatusCommandInput;
145
146
  /**
146
147
  * @public
147
148
  */
148
- export type ServiceOutputTypes = AcceptReservedNodeExchangeCommandOutput | AddPartnerCommandOutput | AssociateDataShareConsumerCommandOutput | AuthorizeClusterSecurityGroupIngressCommandOutput | AuthorizeDataShareCommandOutput | AuthorizeEndpointAccessCommandOutput | AuthorizeSnapshotAccessCommandOutput | BatchDeleteClusterSnapshotsCommandOutput | BatchModifyClusterSnapshotsCommandOutput | CancelResizeCommandOutput | CopyClusterSnapshotCommandOutput | CreateAuthenticationProfileCommandOutput | CreateClusterCommandOutput | CreateClusterParameterGroupCommandOutput | CreateClusterSecurityGroupCommandOutput | CreateClusterSnapshotCommandOutput | CreateClusterSubnetGroupCommandOutput | CreateCustomDomainAssociationCommandOutput | CreateEndpointAccessCommandOutput | CreateEventSubscriptionCommandOutput | CreateHsmClientCertificateCommandOutput | CreateHsmConfigurationCommandOutput | CreateScheduledActionCommandOutput | CreateSnapshotCopyGrantCommandOutput | CreateSnapshotScheduleCommandOutput | CreateTagsCommandOutput | CreateUsageLimitCommandOutput | DeauthorizeDataShareCommandOutput | DeleteAuthenticationProfileCommandOutput | DeleteClusterCommandOutput | DeleteClusterParameterGroupCommandOutput | DeleteClusterSecurityGroupCommandOutput | DeleteClusterSnapshotCommandOutput | DeleteClusterSubnetGroupCommandOutput | DeleteCustomDomainAssociationCommandOutput | DeleteEndpointAccessCommandOutput | DeleteEventSubscriptionCommandOutput | DeleteHsmClientCertificateCommandOutput | DeleteHsmConfigurationCommandOutput | DeletePartnerCommandOutput | DeleteResourcePolicyCommandOutput | DeleteScheduledActionCommandOutput | DeleteSnapshotCopyGrantCommandOutput | DeleteSnapshotScheduleCommandOutput | DeleteTagsCommandOutput | DeleteUsageLimitCommandOutput | DescribeAccountAttributesCommandOutput | DescribeAuthenticationProfilesCommandOutput | DescribeClusterDbRevisionsCommandOutput | DescribeClusterParameterGroupsCommandOutput | DescribeClusterParametersCommandOutput | DescribeClusterSecurityGroupsCommandOutput | DescribeClusterSnapshotsCommandOutput | DescribeClusterSubnetGroupsCommandOutput | DescribeClusterTracksCommandOutput | DescribeClusterVersionsCommandOutput | DescribeClustersCommandOutput | DescribeCustomDomainAssociationsCommandOutput | DescribeDataSharesCommandOutput | DescribeDataSharesForConsumerCommandOutput | DescribeDataSharesForProducerCommandOutput | DescribeDefaultClusterParametersCommandOutput | DescribeEndpointAccessCommandOutput | DescribeEndpointAuthorizationCommandOutput | DescribeEventCategoriesCommandOutput | DescribeEventSubscriptionsCommandOutput | DescribeEventsCommandOutput | DescribeHsmClientCertificatesCommandOutput | DescribeHsmConfigurationsCommandOutput | DescribeInboundIntegrationsCommandOutput | DescribeLoggingStatusCommandOutput | DescribeNodeConfigurationOptionsCommandOutput | DescribeOrderableClusterOptionsCommandOutput | DescribePartnersCommandOutput | DescribeReservedNodeExchangeStatusCommandOutput | DescribeReservedNodeOfferingsCommandOutput | DescribeReservedNodesCommandOutput | DescribeResizeCommandOutput | DescribeScheduledActionsCommandOutput | DescribeSnapshotCopyGrantsCommandOutput | DescribeSnapshotSchedulesCommandOutput | DescribeStorageCommandOutput | DescribeTableRestoreStatusCommandOutput | DescribeTagsCommandOutput | DescribeUsageLimitsCommandOutput | DisableLoggingCommandOutput | DisableSnapshotCopyCommandOutput | DisassociateDataShareConsumerCommandOutput | EnableLoggingCommandOutput | EnableSnapshotCopyCommandOutput | GetClusterCredentialsCommandOutput | GetClusterCredentialsWithIAMCommandOutput | GetReservedNodeExchangeConfigurationOptionsCommandOutput | GetReservedNodeExchangeOfferingsCommandOutput | GetResourcePolicyCommandOutput | ModifyAquaConfigurationCommandOutput | ModifyAuthenticationProfileCommandOutput | ModifyClusterCommandOutput | ModifyClusterDbRevisionCommandOutput | ModifyClusterIamRolesCommandOutput | ModifyClusterMaintenanceCommandOutput | ModifyClusterParameterGroupCommandOutput | ModifyClusterSnapshotCommandOutput | ModifyClusterSnapshotScheduleCommandOutput | ModifyClusterSubnetGroupCommandOutput | ModifyCustomDomainAssociationCommandOutput | ModifyEndpointAccessCommandOutput | ModifyEventSubscriptionCommandOutput | ModifyScheduledActionCommandOutput | ModifySnapshotCopyRetentionPeriodCommandOutput | ModifySnapshotScheduleCommandOutput | ModifyUsageLimitCommandOutput | PauseClusterCommandOutput | PurchaseReservedNodeOfferingCommandOutput | PutResourcePolicyCommandOutput | RebootClusterCommandOutput | RejectDataShareCommandOutput | ResetClusterParameterGroupCommandOutput | ResizeClusterCommandOutput | RestoreFromClusterSnapshotCommandOutput | RestoreTableFromClusterSnapshotCommandOutput | ResumeClusterCommandOutput | RevokeClusterSecurityGroupIngressCommandOutput | RevokeEndpointAccessCommandOutput | RevokeSnapshotAccessCommandOutput | RotateEncryptionKeyCommandOutput | UpdatePartnerStatusCommandOutput;
149
+ export type ServiceOutputTypes = AcceptReservedNodeExchangeCommandOutput | AddPartnerCommandOutput | AssociateDataShareConsumerCommandOutput | AuthorizeClusterSecurityGroupIngressCommandOutput | AuthorizeDataShareCommandOutput | AuthorizeEndpointAccessCommandOutput | AuthorizeSnapshotAccessCommandOutput | BatchDeleteClusterSnapshotsCommandOutput | BatchModifyClusterSnapshotsCommandOutput | CancelResizeCommandOutput | CopyClusterSnapshotCommandOutput | CreateAuthenticationProfileCommandOutput | CreateClusterCommandOutput | CreateClusterParameterGroupCommandOutput | CreateClusterSecurityGroupCommandOutput | CreateClusterSnapshotCommandOutput | CreateClusterSubnetGroupCommandOutput | CreateCustomDomainAssociationCommandOutput | CreateEndpointAccessCommandOutput | CreateEventSubscriptionCommandOutput | CreateHsmClientCertificateCommandOutput | CreateHsmConfigurationCommandOutput | CreateScheduledActionCommandOutput | CreateSnapshotCopyGrantCommandOutput | CreateSnapshotScheduleCommandOutput | CreateTagsCommandOutput | CreateUsageLimitCommandOutput | DeauthorizeDataShareCommandOutput | DeleteAuthenticationProfileCommandOutput | DeleteClusterCommandOutput | DeleteClusterParameterGroupCommandOutput | DeleteClusterSecurityGroupCommandOutput | DeleteClusterSnapshotCommandOutput | DeleteClusterSubnetGroupCommandOutput | DeleteCustomDomainAssociationCommandOutput | DeleteEndpointAccessCommandOutput | DeleteEventSubscriptionCommandOutput | DeleteHsmClientCertificateCommandOutput | DeleteHsmConfigurationCommandOutput | DeletePartnerCommandOutput | DeleteResourcePolicyCommandOutput | DeleteScheduledActionCommandOutput | DeleteSnapshotCopyGrantCommandOutput | DeleteSnapshotScheduleCommandOutput | DeleteTagsCommandOutput | DeleteUsageLimitCommandOutput | DescribeAccountAttributesCommandOutput | DescribeAuthenticationProfilesCommandOutput | DescribeClusterDbRevisionsCommandOutput | DescribeClusterParameterGroupsCommandOutput | DescribeClusterParametersCommandOutput | DescribeClusterSecurityGroupsCommandOutput | DescribeClusterSnapshotsCommandOutput | DescribeClusterSubnetGroupsCommandOutput | DescribeClusterTracksCommandOutput | DescribeClusterVersionsCommandOutput | DescribeClustersCommandOutput | DescribeCustomDomainAssociationsCommandOutput | DescribeDataSharesCommandOutput | DescribeDataSharesForConsumerCommandOutput | DescribeDataSharesForProducerCommandOutput | DescribeDefaultClusterParametersCommandOutput | DescribeEndpointAccessCommandOutput | DescribeEndpointAuthorizationCommandOutput | DescribeEventCategoriesCommandOutput | DescribeEventSubscriptionsCommandOutput | DescribeEventsCommandOutput | DescribeHsmClientCertificatesCommandOutput | DescribeHsmConfigurationsCommandOutput | DescribeInboundIntegrationsCommandOutput | DescribeLoggingStatusCommandOutput | DescribeNodeConfigurationOptionsCommandOutput | DescribeOrderableClusterOptionsCommandOutput | DescribePartnersCommandOutput | DescribeReservedNodeExchangeStatusCommandOutput | DescribeReservedNodeOfferingsCommandOutput | DescribeReservedNodesCommandOutput | DescribeResizeCommandOutput | DescribeScheduledActionsCommandOutput | DescribeSnapshotCopyGrantsCommandOutput | DescribeSnapshotSchedulesCommandOutput | DescribeStorageCommandOutput | DescribeTableRestoreStatusCommandOutput | DescribeTagsCommandOutput | DescribeUsageLimitsCommandOutput | DisableLoggingCommandOutput | DisableSnapshotCopyCommandOutput | DisassociateDataShareConsumerCommandOutput | EnableLoggingCommandOutput | EnableSnapshotCopyCommandOutput | FailoverPrimaryComputeCommandOutput | GetClusterCredentialsCommandOutput | GetClusterCredentialsWithIAMCommandOutput | GetReservedNodeExchangeConfigurationOptionsCommandOutput | GetReservedNodeExchangeOfferingsCommandOutput | GetResourcePolicyCommandOutput | ModifyAquaConfigurationCommandOutput | ModifyAuthenticationProfileCommandOutput | ModifyClusterCommandOutput | ModifyClusterDbRevisionCommandOutput | ModifyClusterIamRolesCommandOutput | ModifyClusterMaintenanceCommandOutput | ModifyClusterParameterGroupCommandOutput | ModifyClusterSnapshotCommandOutput | ModifyClusterSnapshotScheduleCommandOutput | ModifyClusterSubnetGroupCommandOutput | ModifyCustomDomainAssociationCommandOutput | ModifyEndpointAccessCommandOutput | ModifyEventSubscriptionCommandOutput | ModifyScheduledActionCommandOutput | ModifySnapshotCopyRetentionPeriodCommandOutput | ModifySnapshotScheduleCommandOutput | ModifyUsageLimitCommandOutput | PauseClusterCommandOutput | PurchaseReservedNodeOfferingCommandOutput | PutResourcePolicyCommandOutput | RebootClusterCommandOutput | RejectDataShareCommandOutput | ResetClusterParameterGroupCommandOutput | ResizeClusterCommandOutput | RestoreFromClusterSnapshotCommandOutput | RestoreTableFromClusterSnapshotCommandOutput | ResumeClusterCommandOutput | RevokeClusterSecurityGroupIngressCommandOutput | RevokeEndpointAccessCommandOutput | RevokeSnapshotAccessCommandOutput | RotateEncryptionKeyCommandOutput | UpdatePartnerStatusCommandOutput;
149
150
  /**
150
151
  * @public
151
152
  */
@@ -63,6 +63,9 @@ export interface AddPartnerCommandOutput extends PartnerIntegrationOutputMessage
63
63
  * @throws {@link UnauthorizedPartnerIntegrationFault} (client fault)
64
64
  * <p>The partner integration is not authorized.</p>
65
65
  *
66
+ * @throws {@link UnsupportedOperationFault} (client fault)
67
+ * <p>The requested operation isn't supported.</p>
68
+ *
66
69
  * @throws {@link RedshiftServiceException}
67
70
  * <p>Base exception class for all service exceptions from Redshift service.</p>
68
71
  *
@@ -110,6 +110,10 @@ export interface CopyClusterSnapshotCommandOutput extends CopyClusterSnapshotRes
110
110
  * @see {@link CopyClusterSnapshotCommandOutput} for command's `response` shape.
111
111
  * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape.
112
112
  *
113
+ * @throws {@link ClusterNotFoundFault} (client fault)
114
+ * <p>The <code>ClusterIdentifier</code> parameter does not refer to an existing cluster.
115
+ * </p>
116
+ *
113
117
  * @throws {@link ClusterSnapshotAlreadyExistsFault} (client fault)
114
118
  * <p>The value specified as a snapshot identifier is already used by an existing
115
119
  * snapshot.</p>
@@ -85,6 +85,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
85
85
  * ManageMasterPassword: true || false,
86
86
  * MasterPasswordSecretKmsKeyId: "STRING_VALUE",
87
87
  * IpAddressType: "STRING_VALUE",
88
+ * MultiAZ: true || false,
88
89
  * };
89
90
  * const command = new CreateClusterCommand(input);
90
91
  * const response = await client.send(command);
@@ -266,6 +267,17 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
266
267
  * // MasterPasswordSecretArn: "STRING_VALUE",
267
268
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
268
269
  * // IpAddressType: "STRING_VALUE",
270
+ * // MultiAZ: "STRING_VALUE",
271
+ * // MultiAZSecondary: { // SecondaryClusterInfo
272
+ * // AvailabilityZone: "STRING_VALUE",
273
+ * // ClusterNodes: [
274
+ * // {
275
+ * // NodeRole: "STRING_VALUE",
276
+ * // PrivateIPAddress: "STRING_VALUE",
277
+ * // PublicIPAddress: "STRING_VALUE",
278
+ * // },
279
+ * // ],
280
+ * // },
269
281
  * // },
270
282
  * // };
271
283
  *
@@ -362,6 +374,9 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
362
374
  * @throws {@link UnauthorizedOperation} (client fault)
363
375
  * <p>Your account is not authorized to perform the requested operation.</p>
364
376
  *
377
+ * @throws {@link UnsupportedOperationFault} (client fault)
378
+ * <p>The requested operation isn't supported.</p>
379
+ *
365
380
  * @throws {@link RedshiftServiceException}
366
381
  * <p>Base exception class for all service exceptions from Redshift service.</p>
367
382
  *
@@ -98,6 +98,10 @@ export interface CreateScheduledActionCommandOutput extends ScheduledAction, __M
98
98
  * @see {@link CreateScheduledActionCommandOutput} for command's `response` shape.
99
99
  * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape.
100
100
  *
101
+ * @throws {@link ClusterNotFoundFault} (client fault)
102
+ * <p>The <code>ClusterIdentifier</code> parameter does not refer to an existing cluster.
103
+ * </p>
104
+ *
101
105
  * @throws {@link InvalidScheduledActionFault} (client fault)
102
106
  * <p>The scheduled action is not valid. </p>
103
107
  *
@@ -116,6 +120,9 @@ export interface CreateScheduledActionCommandOutput extends ScheduledAction, __M
116
120
  * @throws {@link UnauthorizedOperation} (client fault)
117
121
  * <p>Your account is not authorized to perform the requested operation.</p>
118
122
  *
123
+ * @throws {@link UnsupportedOperationFault} (client fault)
124
+ * <p>The requested operation isn't supported.</p>
125
+ *
119
126
  * @throws {@link RedshiftServiceException}
120
127
  * <p>Base exception class for all service exceptions from Redshift service.</p>
121
128
  *
@@ -231,6 +231,17 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResult, __Metad
231
231
  * // MasterPasswordSecretArn: "STRING_VALUE",
232
232
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
233
233
  * // IpAddressType: "STRING_VALUE",
234
+ * // MultiAZ: "STRING_VALUE",
235
+ * // MultiAZSecondary: { // SecondaryClusterInfo
236
+ * // AvailabilityZone: "STRING_VALUE",
237
+ * // ClusterNodes: [
238
+ * // {
239
+ * // NodeRole: "STRING_VALUE",
240
+ * // PrivateIPAddress: "STRING_VALUE",
241
+ * // PublicIPAddress: "STRING_VALUE",
242
+ * // },
243
+ * // ],
244
+ * // },
234
245
  * // },
235
246
  * // };
236
247
  *
@@ -61,6 +61,9 @@ export interface DeletePartnerCommandOutput extends PartnerIntegrationOutputMess
61
61
  * @throws {@link UnauthorizedPartnerIntegrationFault} (client fault)
62
62
  * <p>The partner integration is not authorized.</p>
63
63
  *
64
+ * @throws {@link UnsupportedOperationFault} (client fault)
65
+ * <p>The requested operation isn't supported.</p>
66
+ *
64
67
  * @throws {@link RedshiftServiceException}
65
68
  * <p>Base exception class for all service exceptions from Redshift service.</p>
66
69
  *
@@ -235,6 +235,17 @@ export interface DescribeClustersCommandOutput extends ClustersMessage, __Metada
235
235
  * // MasterPasswordSecretArn: "STRING_VALUE",
236
236
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
237
237
  * // IpAddressType: "STRING_VALUE",
238
+ * // MultiAZ: "STRING_VALUE",
239
+ * // MultiAZSecondary: { // SecondaryClusterInfo
240
+ * // AvailabilityZone: "STRING_VALUE",
241
+ * // ClusterNodes: [
242
+ * // {
243
+ * // NodeRole: "STRING_VALUE",
244
+ * // PrivateIPAddress: "STRING_VALUE",
245
+ * // PublicIPAddress: "STRING_VALUE",
246
+ * // },
247
+ * // ],
248
+ * // },
238
249
  * // },
239
250
  * // ],
240
251
  * // };
@@ -1,7 +1,8 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { DescribeEndpointAuthorizationMessage, EndpointAuthorizationList } from "../models/models_0";
4
+ import { DescribeEndpointAuthorizationMessage } from "../models/models_0";
5
+ import { EndpointAuthorizationList } from "../models/models_1";
5
6
  import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
6
7
  /**
7
8
  * @public
@@ -61,6 +61,9 @@ export interface DescribeLoggingStatusCommandOutput extends LoggingStatus, __Met
61
61
  * <p>The <code>ClusterIdentifier</code> parameter does not refer to an existing cluster.
62
62
  * </p>
63
63
  *
64
+ * @throws {@link UnsupportedOperationFault} (client fault)
65
+ * <p>The requested operation isn't supported.</p>
66
+ *
64
67
  * @throws {@link RedshiftServiceException}
65
68
  * <p>Base exception class for all service exceptions from Redshift service.</p>
66
69
  *
@@ -66,6 +66,9 @@ export interface DescribePartnersCommandOutput extends DescribePartnersOutputMes
66
66
  * @throws {@link UnauthorizedPartnerIntegrationFault} (client fault)
67
67
  * <p>The partner integration is not authorized.</p>
68
68
  *
69
+ * @throws {@link UnsupportedOperationFault} (client fault)
70
+ * <p>The requested operation isn't supported.</p>
71
+ *
69
72
  * @throws {@link RedshiftServiceException}
70
73
  * <p>Base exception class for all service exceptions from Redshift service.</p>
71
74
  *
@@ -81,6 +81,9 @@ export interface DescribeResizeCommandOutput extends ResizeProgressMessage, __Me
81
81
  * @throws {@link ResizeNotFoundFault} (client fault)
82
82
  * <p>A resize operation for the specified cluster is not found.</p>
83
83
  *
84
+ * @throws {@link UnsupportedOperationFault} (client fault)
85
+ * <p>The requested operation isn't supported.</p>
86
+ *
84
87
  * @throws {@link RedshiftServiceException}
85
88
  * <p>Base exception class for all service exceptions from Redshift service.</p>
86
89
  *
@@ -64,6 +64,9 @@ export interface DisableLoggingCommandOutput extends LoggingStatus, __MetadataBe
64
64
  * @throws {@link InvalidClusterStateFault} (client fault)
65
65
  * <p>The specified cluster is not in the <code>available</code> state. </p>
66
66
  *
67
+ * @throws {@link UnsupportedOperationFault} (client fault)
68
+ * <p>The requested operation isn't supported.</p>
69
+ *
67
70
  * @throws {@link RedshiftServiceException}
68
71
  * <p>Base exception class for all service exceptions from Redshift service.</p>
69
72
  *
@@ -217,6 +217,17 @@ export interface DisableSnapshotCopyCommandOutput extends DisableSnapshotCopyRes
217
217
  * // MasterPasswordSecretArn: "STRING_VALUE",
218
218
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
219
219
  * // IpAddressType: "STRING_VALUE",
220
+ * // MultiAZ: "STRING_VALUE",
221
+ * // MultiAZSecondary: { // SecondaryClusterInfo
222
+ * // AvailabilityZone: "STRING_VALUE",
223
+ * // ClusterNodes: [
224
+ * // {
225
+ * // NodeRole: "STRING_VALUE",
226
+ * // PrivateIPAddress: "STRING_VALUE",
227
+ * // PublicIPAddress: "STRING_VALUE",
228
+ * // },
229
+ * // ],
230
+ * // },
220
231
  * // },
221
232
  * // };
222
233
  *
@@ -241,6 +252,9 @@ export interface DisableSnapshotCopyCommandOutput extends DisableSnapshotCopyRes
241
252
  * @throws {@link UnauthorizedOperation} (client fault)
242
253
  * <p>Your account is not authorized to perform the requested operation.</p>
243
254
  *
255
+ * @throws {@link UnsupportedOperationFault} (client fault)
256
+ * <p>The requested operation isn't supported.</p>
257
+ *
244
258
  * @throws {@link RedshiftServiceException}
245
259
  * <p>Base exception class for all service exceptions from Redshift service.</p>
246
260
  *
@@ -87,6 +87,9 @@ export interface EnableLoggingCommandOutput extends LoggingStatus, __MetadataBea
87
87
  * <p>The string specified for the logging S3 key prefix does not comply with the
88
88
  * documented constraints.</p>
89
89
  *
90
+ * @throws {@link UnsupportedOperationFault} (client fault)
91
+ * <p>The requested operation isn't supported.</p>
92
+ *
90
93
  * @throws {@link RedshiftServiceException}
91
94
  * <p>Base exception class for all service exceptions from Redshift service.</p>
92
95
  *