@aws-sdk/client-redshift 3.437.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 (72) 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/endpoint/endpointResolver.js +1 -1
  6. package/dist-cjs/index.js +1 -0
  7. package/dist-cjs/models/models_0.js +15 -2
  8. package/dist-cjs/models/models_1.js +6 -1
  9. package/dist-cjs/protocols/Aws_query.js +211 -5
  10. package/dist-es/Redshift.js +2 -0
  11. package/dist-es/commands/FailoverPrimaryComputeCommand.js +48 -0
  12. package/dist-es/commands/index.js +1 -0
  13. package/dist-es/endpoint/endpointResolver.js +1 -1
  14. package/dist-es/index.js +1 -0
  15. package/dist-es/models/models_0.js +12 -0
  16. package/dist-es/models/models_1.js +4 -0
  17. package/dist-es/protocols/Aws_query.js +205 -1
  18. package/dist-types/Redshift.d.ts +7 -0
  19. package/dist-types/RedshiftClient.d.ts +3 -2
  20. package/dist-types/commands/AddPartnerCommand.d.ts +3 -0
  21. package/dist-types/commands/CopyClusterSnapshotCommand.d.ts +4 -0
  22. package/dist-types/commands/CreateClusterCommand.d.ts +22 -0
  23. package/dist-types/commands/CreateClusterSubnetGroupCommand.d.ts +3 -0
  24. package/dist-types/commands/CreateEndpointAccessCommand.d.ts +1 -0
  25. package/dist-types/commands/CreateScheduledActionCommand.d.ts +7 -0
  26. package/dist-types/commands/DeleteClusterCommand.d.ts +13 -0
  27. package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +1 -0
  28. package/dist-types/commands/DeletePartnerCommand.d.ts +3 -0
  29. package/dist-types/commands/DescribeClusterSubnetGroupsCommand.d.ts +3 -0
  30. package/dist-types/commands/DescribeClustersCommand.d.ts +13 -0
  31. package/dist-types/commands/DescribeEndpointAccessCommand.d.ts +1 -0
  32. package/dist-types/commands/DescribeEndpointAuthorizationCommand.d.ts +2 -1
  33. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +1 -2
  34. package/dist-types/commands/DescribeLoggingStatusCommand.d.ts +3 -0
  35. package/dist-types/commands/DescribePartnersCommand.d.ts +3 -0
  36. package/dist-types/commands/DescribeResizeCommand.d.ts +3 -0
  37. package/dist-types/commands/DisableLoggingCommand.d.ts +3 -0
  38. package/dist-types/commands/DisableSnapshotCopyCommand.d.ts +16 -0
  39. package/dist-types/commands/EnableLoggingCommand.d.ts +3 -0
  40. package/dist-types/commands/EnableSnapshotCopyCommand.d.ts +13 -0
  41. package/dist-types/commands/FailoverPrimaryComputeCommand.d.ts +274 -0
  42. package/dist-types/commands/ModifyClusterCommand.d.ts +19 -0
  43. package/dist-types/commands/ModifyClusterDbRevisionCommand.d.ts +16 -0
  44. package/dist-types/commands/ModifyClusterIamRolesCommand.d.ts +13 -0
  45. package/dist-types/commands/ModifyClusterMaintenanceCommand.d.ts +13 -0
  46. package/dist-types/commands/ModifyClusterSubnetGroupCommand.d.ts +3 -0
  47. package/dist-types/commands/ModifyEndpointAccessCommand.d.ts +1 -0
  48. package/dist-types/commands/ModifyScheduledActionCommand.d.ts +7 -0
  49. package/dist-types/commands/ModifySnapshotCopyRetentionPeriodCommand.d.ts +13 -0
  50. package/dist-types/commands/PauseClusterCommand.d.ts +16 -0
  51. package/dist-types/commands/RebootClusterCommand.d.ts +13 -0
  52. package/dist-types/commands/ResizeClusterCommand.d.ts +13 -0
  53. package/dist-types/commands/RestoreFromClusterSnapshotCommand.d.ts +19 -0
  54. package/dist-types/commands/ResumeClusterCommand.d.ts +16 -0
  55. package/dist-types/commands/RotateEncryptionKeyCommand.d.ts +16 -0
  56. package/dist-types/commands/UpdatePartnerStatusCommand.d.ts +3 -0
  57. package/dist-types/commands/index.d.ts +1 -0
  58. package/dist-types/index.d.ts +1 -0
  59. package/dist-types/models/models_0.d.ts +64 -31
  60. package/dist-types/models/models_1.d.ts +76 -1
  61. package/dist-types/protocols/Aws_query.d.ts +9 -0
  62. package/dist-types/ts3.4/Redshift.d.ts +17 -0
  63. package/dist-types/ts3.4/RedshiftClient.d.ts +6 -0
  64. package/dist-types/ts3.4/commands/DescribeEndpointAuthorizationCommand.d.ts +2 -4
  65. package/dist-types/ts3.4/commands/DescribeEventCategoriesCommand.d.ts +4 -2
  66. package/dist-types/ts3.4/commands/FailoverPrimaryComputeCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  68. package/dist-types/ts3.4/index.d.ts +1 -0
  69. package/dist-types/ts3.4/models/models_0.d.ts +18 -7
  70. package/dist-types/ts3.4/models/models_1.d.ts +21 -0
  71. package/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
  72. package/package.json +7 -6
@@ -62,6 +62,7 @@ export interface ModifyClusterMaintenanceCommandOutput extends ModifyClusterMain
62
62
  * // SubnetId: "STRING_VALUE",
63
63
  * // PrivateIpAddress: "STRING_VALUE",
64
64
  * // AvailabilityZone: "STRING_VALUE",
65
+ * // Ipv6Address: "STRING_VALUE",
65
66
  * // },
66
67
  * // ],
67
68
  * // },
@@ -216,6 +217,18 @@ export interface ModifyClusterMaintenanceCommandOutput extends ModifyClusterMain
216
217
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
217
218
  * // MasterPasswordSecretArn: "STRING_VALUE",
218
219
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
220
+ * // IpAddressType: "STRING_VALUE",
221
+ * // MultiAZ: "STRING_VALUE",
222
+ * // MultiAZSecondary: { // SecondaryClusterInfo
223
+ * // AvailabilityZone: "STRING_VALUE",
224
+ * // ClusterNodes: [
225
+ * // {
226
+ * // NodeRole: "STRING_VALUE",
227
+ * // PrivateIPAddress: "STRING_VALUE",
228
+ * // PublicIPAddress: "STRING_VALUE",
229
+ * // },
230
+ * // ],
231
+ * // },
219
232
  * // },
220
233
  * // };
221
234
  *
@@ -66,6 +66,9 @@ export interface ModifyClusterSubnetGroupCommandOutput extends ModifyClusterSubn
66
66
  * // Value: "STRING_VALUE",
67
67
  * // },
68
68
  * // ],
69
+ * // SupportedClusterIpAddressTypes: [ // ValueStringList
70
+ * // "STRING_VALUE",
71
+ * // ],
69
72
  * // },
70
73
  * // };
71
74
  *
@@ -63,6 +63,7 @@ export interface ModifyEndpointAccessCommandOutput extends EndpointAccess, __Met
63
63
  * // SubnetId: "STRING_VALUE",
64
64
  * // PrivateIpAddress: "STRING_VALUE",
65
65
  * // AvailabilityZone: "STRING_VALUE",
66
+ * // Ipv6Address: "STRING_VALUE",
66
67
  * // },
67
68
  * // ],
68
69
  * // },
@@ -98,6 +98,10 @@ export interface ModifyScheduledActionCommandOutput extends ScheduledAction, __M
98
98
  * @see {@link ModifyScheduledActionCommandOutput} 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
  *
@@ -113,6 +117,9 @@ export interface ModifyScheduledActionCommandOutput extends ScheduledAction, __M
113
117
  * @throws {@link UnauthorizedOperation} (client fault)
114
118
  * <p>Your account is not authorized to perform the requested operation.</p>
115
119
  *
120
+ * @throws {@link UnsupportedOperationFault} (client fault)
121
+ * <p>The requested operation isn't supported.</p>
122
+ *
116
123
  * @throws {@link RedshiftServiceException}
117
124
  * <p>Base exception class for all service exceptions from Redshift service.</p>
118
125
  *
@@ -65,6 +65,7 @@ export interface ModifySnapshotCopyRetentionPeriodCommandOutput extends ModifySn
65
65
  * // SubnetId: "STRING_VALUE",
66
66
  * // PrivateIpAddress: "STRING_VALUE",
67
67
  * // AvailabilityZone: "STRING_VALUE",
68
+ * // Ipv6Address: "STRING_VALUE",
68
69
  * // },
69
70
  * // ],
70
71
  * // },
@@ -219,6 +220,18 @@ export interface ModifySnapshotCopyRetentionPeriodCommandOutput extends ModifySn
219
220
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
220
221
  * // MasterPasswordSecretArn: "STRING_VALUE",
221
222
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
223
+ * // IpAddressType: "STRING_VALUE",
224
+ * // MultiAZ: "STRING_VALUE",
225
+ * // MultiAZSecondary: { // SecondaryClusterInfo
226
+ * // AvailabilityZone: "STRING_VALUE",
227
+ * // ClusterNodes: [
228
+ * // {
229
+ * // NodeRole: "STRING_VALUE",
230
+ * // PrivateIPAddress: "STRING_VALUE",
231
+ * // PublicIPAddress: "STRING_VALUE",
232
+ * // },
233
+ * // ],
234
+ * // },
222
235
  * // },
223
236
  * // };
224
237
  *
@@ -58,6 +58,7 @@ export interface PauseClusterCommandOutput extends PauseClusterResult, __Metadat
58
58
  * // SubnetId: "STRING_VALUE",
59
59
  * // PrivateIpAddress: "STRING_VALUE",
60
60
  * // AvailabilityZone: "STRING_VALUE",
61
+ * // Ipv6Address: "STRING_VALUE",
61
62
  * // },
62
63
  * // ],
63
64
  * // },
@@ -212,6 +213,18 @@ export interface PauseClusterCommandOutput extends PauseClusterResult, __Metadat
212
213
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
213
214
  * // MasterPasswordSecretArn: "STRING_VALUE",
214
215
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
216
+ * // IpAddressType: "STRING_VALUE",
217
+ * // MultiAZ: "STRING_VALUE",
218
+ * // MultiAZSecondary: { // SecondaryClusterInfo
219
+ * // AvailabilityZone: "STRING_VALUE",
220
+ * // ClusterNodes: [
221
+ * // {
222
+ * // NodeRole: "STRING_VALUE",
223
+ * // PrivateIPAddress: "STRING_VALUE",
224
+ * // PublicIPAddress: "STRING_VALUE",
225
+ * // },
226
+ * // ],
227
+ * // },
215
228
  * // },
216
229
  * // };
217
230
  *
@@ -230,6 +243,9 @@ export interface PauseClusterCommandOutput extends PauseClusterResult, __Metadat
230
243
  * @throws {@link InvalidClusterStateFault} (client fault)
231
244
  * <p>The specified cluster is not in the <code>available</code> state. </p>
232
245
  *
246
+ * @throws {@link UnsupportedOperationFault} (client fault)
247
+ * <p>The requested operation isn't supported.</p>
248
+ *
233
249
  * @throws {@link RedshiftServiceException}
234
250
  * <p>Base exception class for all service exceptions from Redshift service.</p>
235
251
  *
@@ -64,6 +64,7 @@ export interface RebootClusterCommandOutput extends RebootClusterResult, __Metad
64
64
  * // SubnetId: "STRING_VALUE",
65
65
  * // PrivateIpAddress: "STRING_VALUE",
66
66
  * // AvailabilityZone: "STRING_VALUE",
67
+ * // Ipv6Address: "STRING_VALUE",
67
68
  * // },
68
69
  * // ],
69
70
  * // },
@@ -218,6 +219,18 @@ export interface RebootClusterCommandOutput extends RebootClusterResult, __Metad
218
219
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
219
220
  * // MasterPasswordSecretArn: "STRING_VALUE",
220
221
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
222
+ * // IpAddressType: "STRING_VALUE",
223
+ * // MultiAZ: "STRING_VALUE",
224
+ * // MultiAZSecondary: { // SecondaryClusterInfo
225
+ * // AvailabilityZone: "STRING_VALUE",
226
+ * // ClusterNodes: [
227
+ * // {
228
+ * // NodeRole: "STRING_VALUE",
229
+ * // PrivateIPAddress: "STRING_VALUE",
230
+ * // PublicIPAddress: "STRING_VALUE",
231
+ * // },
232
+ * // ],
233
+ * // },
221
234
  * // },
222
235
  * // };
223
236
  *
@@ -106,6 +106,7 @@ export interface ResizeClusterCommandOutput extends ResizeClusterResult, __Metad
106
106
  * // SubnetId: "STRING_VALUE",
107
107
  * // PrivateIpAddress: "STRING_VALUE",
108
108
  * // AvailabilityZone: "STRING_VALUE",
109
+ * // Ipv6Address: "STRING_VALUE",
109
110
  * // },
110
111
  * // ],
111
112
  * // },
@@ -260,6 +261,18 @@ export interface ResizeClusterCommandOutput extends ResizeClusterResult, __Metad
260
261
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
261
262
  * // MasterPasswordSecretArn: "STRING_VALUE",
262
263
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
264
+ * // IpAddressType: "STRING_VALUE",
265
+ * // MultiAZ: "STRING_VALUE",
266
+ * // MultiAZSecondary: { // SecondaryClusterInfo
267
+ * // AvailabilityZone: "STRING_VALUE",
268
+ * // ClusterNodes: [
269
+ * // {
270
+ * // NodeRole: "STRING_VALUE",
271
+ * // PrivateIPAddress: "STRING_VALUE",
272
+ * // PublicIPAddress: "STRING_VALUE",
273
+ * // },
274
+ * // ],
275
+ * // },
263
276
  * // },
264
277
  * // };
265
278
  *
@@ -83,6 +83,8 @@ export interface RestoreFromClusterSnapshotCommandOutput extends RestoreFromClus
83
83
  * Encrypted: true || false,
84
84
  * ManageMasterPassword: true || false,
85
85
  * MasterPasswordSecretKmsKeyId: "STRING_VALUE",
86
+ * IpAddressType: "STRING_VALUE",
87
+ * MultiAZ: true || false,
86
88
  * };
87
89
  * const command = new RestoreFromClusterSnapshotCommand(input);
88
90
  * const response = await client.send(command);
@@ -108,6 +110,7 @@ export interface RestoreFromClusterSnapshotCommandOutput extends RestoreFromClus
108
110
  * // SubnetId: "STRING_VALUE",
109
111
  * // PrivateIpAddress: "STRING_VALUE",
110
112
  * // AvailabilityZone: "STRING_VALUE",
113
+ * // Ipv6Address: "STRING_VALUE",
111
114
  * // },
112
115
  * // ],
113
116
  * // },
@@ -262,6 +265,18 @@ export interface RestoreFromClusterSnapshotCommandOutput extends RestoreFromClus
262
265
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
263
266
  * // MasterPasswordSecretArn: "STRING_VALUE",
264
267
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
268
+ * // IpAddressType: "STRING_VALUE",
269
+ * // MultiAZ: "STRING_VALUE",
270
+ * // MultiAZSecondary: { // SecondaryClusterInfo
271
+ * // AvailabilityZone: "STRING_VALUE",
272
+ * // ClusterNodes: [
273
+ * // {
274
+ * // NodeRole: "STRING_VALUE",
275
+ * // PrivateIPAddress: "STRING_VALUE",
276
+ * // PublicIPAddress: "STRING_VALUE",
277
+ * // },
278
+ * // ],
279
+ * // },
265
280
  * // },
266
281
  * // };
267
282
  *
@@ -349,6 +364,10 @@ export interface RestoreFromClusterSnapshotCommandOutput extends RestoreFromClus
349
364
  * @throws {@link InvalidVPCNetworkStateFault} (client fault)
350
365
  * <p>The cluster subnet group does not cover all Availability Zones.</p>
351
366
  *
367
+ * @throws {@link Ipv6CidrBlockNotFoundFault} (client fault)
368
+ * <p>There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode,
369
+ * associate an IPv6 CIDR block with each subnet in your VPC.</p>
370
+ *
352
371
  * @throws {@link LimitExceededFault} (client fault)
353
372
  * <p>The encryption key has exceeded its grant limit in Amazon Web Services KMS.</p>
354
373
  *
@@ -58,6 +58,7 @@ export interface ResumeClusterCommandOutput extends ResumeClusterResult, __Metad
58
58
  * // SubnetId: "STRING_VALUE",
59
59
  * // PrivateIpAddress: "STRING_VALUE",
60
60
  * // AvailabilityZone: "STRING_VALUE",
61
+ * // Ipv6Address: "STRING_VALUE",
61
62
  * // },
62
63
  * // ],
63
64
  * // },
@@ -212,6 +213,18 @@ export interface ResumeClusterCommandOutput extends ResumeClusterResult, __Metad
212
213
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
213
214
  * // MasterPasswordSecretArn: "STRING_VALUE",
214
215
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
216
+ * // IpAddressType: "STRING_VALUE",
217
+ * // MultiAZ: "STRING_VALUE",
218
+ * // MultiAZSecondary: { // SecondaryClusterInfo
219
+ * // AvailabilityZone: "STRING_VALUE",
220
+ * // ClusterNodes: [
221
+ * // {
222
+ * // NodeRole: "STRING_VALUE",
223
+ * // PrivateIPAddress: "STRING_VALUE",
224
+ * // PublicIPAddress: "STRING_VALUE",
225
+ * // },
226
+ * // ],
227
+ * // },
215
228
  * // },
216
229
  * // };
217
230
  *
@@ -234,6 +247,9 @@ export interface ResumeClusterCommandOutput extends ResumeClusterResult, __Metad
234
247
  * @throws {@link InvalidClusterStateFault} (client fault)
235
248
  * <p>The specified cluster is not in the <code>available</code> state. </p>
236
249
  *
250
+ * @throws {@link UnsupportedOperationFault} (client fault)
251
+ * <p>The requested operation isn't supported.</p>
252
+ *
237
253
  * @throws {@link RedshiftServiceException}
238
254
  * <p>Base exception class for all service exceptions from Redshift service.</p>
239
255
  *
@@ -57,6 +57,7 @@ export interface RotateEncryptionKeyCommandOutput extends RotateEncryptionKeyRes
57
57
  * // SubnetId: "STRING_VALUE",
58
58
  * // PrivateIpAddress: "STRING_VALUE",
59
59
  * // AvailabilityZone: "STRING_VALUE",
60
+ * // Ipv6Address: "STRING_VALUE",
60
61
  * // },
61
62
  * // ],
62
63
  * // },
@@ -211,6 +212,18 @@ export interface RotateEncryptionKeyCommandOutput extends RotateEncryptionKeyRes
211
212
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
212
213
  * // MasterPasswordSecretArn: "STRING_VALUE",
213
214
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
215
+ * // IpAddressType: "STRING_VALUE",
216
+ * // MultiAZ: "STRING_VALUE",
217
+ * // MultiAZSecondary: { // SecondaryClusterInfo
218
+ * // AvailabilityZone: "STRING_VALUE",
219
+ * // ClusterNodes: [
220
+ * // {
221
+ * // NodeRole: "STRING_VALUE",
222
+ * // PrivateIPAddress: "STRING_VALUE",
223
+ * // PublicIPAddress: "STRING_VALUE",
224
+ * // },
225
+ * // ],
226
+ * // },
214
227
  * // },
215
228
  * // };
216
229
  *
@@ -233,6 +246,9 @@ export interface RotateEncryptionKeyCommandOutput extends RotateEncryptionKeyRes
233
246
  * @throws {@link InvalidClusterStateFault} (client fault)
234
247
  * <p>The specified cluster is not in the <code>available</code> state. </p>
235
248
  *
249
+ * @throws {@link UnsupportedOperationFault} (client fault)
250
+ * <p>The requested operation isn't supported.</p>
251
+ *
236
252
  * @throws {@link RedshiftServiceException}
237
253
  * <p>Base exception class for all service exceptions from Redshift service.</p>
238
254
  *
@@ -64,6 +64,9 @@ export interface UpdatePartnerStatusCommandOutput extends PartnerIntegrationOutp
64
64
  * @throws {@link UnauthorizedPartnerIntegrationFault} (client fault)
65
65
  * <p>The partner integration is not authorized.</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
  *
@@ -88,6 +88,7 @@ export * from "./DisableSnapshotCopyCommand";
88
88
  export * from "./DisassociateDataShareConsumerCommand";
89
89
  export * from "./EnableLoggingCommand";
90
90
  export * from "./EnableSnapshotCopyCommand";
91
+ export * from "./FailoverPrimaryComputeCommand";
91
92
  export * from "./GetClusterCredentialsCommand";
92
93
  export * from "./GetClusterCredentialsWithIAMCommand";
93
94
  export * from "./GetReservedNodeExchangeConfigurationOptionsCommand";
@@ -30,4 +30,5 @@ export * from "./commands";
30
30
  export * from "./pagination";
31
31
  export * from "./waiters";
32
32
  export * from "./models";
33
+ import "@aws-sdk/util-endpoints";
33
34
  export { RedshiftServiceException } from "./models/RedshiftServiceException";
@@ -1944,6 +1944,11 @@ export interface NetworkInterface {
1944
1944
  * <p>The Availability Zone. </p>
1945
1945
  */
1946
1946
  AvailabilityZone?: string;
1947
+ /**
1948
+ * @public
1949
+ * <p>The IPv6 address of the network interface within the subnet. </p>
1950
+ */
1951
+ Ipv6Address?: string;
1947
1952
  }
1948
1953
  /**
1949
1954
  * @public
@@ -2048,6 +2053,22 @@ export interface ClusterIamRole {
2048
2053
  */
2049
2054
  ApplyStatus?: string;
2050
2055
  }
2056
+ /**
2057
+ * @public
2058
+ * <p>The AvailabilityZone and ClusterNodes information of the secondary compute unit.</p>
2059
+ */
2060
+ export interface SecondaryClusterInfo {
2061
+ /**
2062
+ * @public
2063
+ * <p>The name of the Availability Zone in which the secondary compute unit of the cluster is located.</p>
2064
+ */
2065
+ AvailabilityZone?: string;
2066
+ /**
2067
+ * @public
2068
+ * <p>The nodes in the secondary compute unit.</p>
2069
+ */
2070
+ ClusterNodes?: ClusterNode[];
2071
+ }
2051
2072
  /**
2052
2073
  * @public
2053
2074
  * <p>Describes cluster attributes that are in a pending state. A change to one or more
@@ -2727,6 +2748,21 @@ export interface Cluster {
2727
2748
  * <p>The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin credentials secret.</p>
2728
2749
  */
2729
2750
  MasterPasswordSecretKmsKeyId?: string;
2751
+ /**
2752
+ * @public
2753
+ * <p>The IP address type for the cluster. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>
2754
+ */
2755
+ IpAddressType?: string;
2756
+ /**
2757
+ * @public
2758
+ * <p>A boolean value that, if true, indicates that the cluster is deployed in two Availability Zones.</p>
2759
+ */
2760
+ MultiAZ?: string;
2761
+ /**
2762
+ * @public
2763
+ * <p>The secondary compute unit of a cluster, if Multi-AZ deployment is turned on.</p>
2764
+ */
2765
+ MultiAZSecondary?: SecondaryClusterInfo;
2730
2766
  }
2731
2767
  /**
2732
2768
  * @public
@@ -3240,6 +3276,11 @@ export interface ClusterSubnetGroup {
3240
3276
  * <p>The list of tags for the cluster subnet group.</p>
3241
3277
  */
3242
3278
  Tags?: Tag[];
3279
+ /**
3280
+ * @public
3281
+ * <p>The IP address types supported by this cluster subnet group. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>
3282
+ */
3283
+ SupportedClusterIpAddressTypes?: string[];
3243
3284
  }
3244
3285
  /**
3245
3286
  * @public
@@ -3897,6 +3938,16 @@ export interface CreateClusterMessage {
3897
3938
  * You can only use this parameter if <code>ManageMasterPassword</code> is true.</p>
3898
3939
  */
3899
3940
  MasterPasswordSecretKmsKeyId?: string;
3941
+ /**
3942
+ * @public
3943
+ * <p>The IP address types that the cluster supports. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>
3944
+ */
3945
+ IpAddressType?: string;
3946
+ /**
3947
+ * @public
3948
+ * <p>If true, Amazon Redshift will deploy the cluster in two Availability Zones (AZ).</p>
3949
+ */
3950
+ MultiAZ?: boolean;
3900
3951
  }
3901
3952
  /**
3902
3953
  * @public
@@ -4019,6 +4070,19 @@ export declare class InvalidVPCNetworkStateFault extends __BaseException {
4019
4070
  */
4020
4071
  constructor(opts: __ExceptionOptionType<InvalidVPCNetworkStateFault, __BaseException>);
4021
4072
  }
4073
+ /**
4074
+ * @public
4075
+ * <p>There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode,
4076
+ * associate an IPv6 CIDR block with each subnet in your VPC.</p>
4077
+ */
4078
+ export declare class Ipv6CidrBlockNotFoundFault extends __BaseException {
4079
+ readonly name: "Ipv6CidrBlockNotFoundFault";
4080
+ readonly $fault: "client";
4081
+ /**
4082
+ * @internal
4083
+ */
4084
+ constructor(opts: __ExceptionOptionType<Ipv6CidrBlockNotFoundFault, __BaseException>);
4085
+ }
4022
4086
  /**
4023
4087
  * @public
4024
4088
  * <p>The operation would exceed the number of nodes allowed for a cluster.</p>
@@ -7220,37 +7284,6 @@ export interface DescribeEndpointAuthorizationMessage {
7220
7284
  */
7221
7285
  Marker?: string;
7222
7286
  }
7223
- /**
7224
- * @public
7225
- */
7226
- export interface EndpointAuthorizationList {
7227
- /**
7228
- * @public
7229
- * <p>The authorizations to an endpoint.</p>
7230
- */
7231
- EndpointAuthorizationList?: EndpointAuthorization[];
7232
- /**
7233
- * @public
7234
- * <p>An optional pagination token provided by a previous
7235
- * <code>DescribeEndpointAuthorization</code> request. If this parameter is specified, the
7236
- * response includes only records beyond the marker, up to the value specified by the
7237
- * <code>MaxRecords</code> parameter.</p>
7238
- */
7239
- Marker?: string;
7240
- }
7241
- /**
7242
- * @public
7243
- * <p></p>
7244
- */
7245
- export interface DescribeEventCategoriesMessage {
7246
- /**
7247
- * @public
7248
- * <p>The source type, such as cluster or parameter group, to which the described event
7249
- * categories apply.</p>
7250
- * <p>Valid values: cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, and scheduled-action.</p>
7251
- */
7252
- SourceType?: string;
7253
- }
7254
7287
  /**
7255
7288
  * @internal
7256
7289
  */
@@ -1,6 +1,37 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ActionType, AquaConfiguration, AquaConfigurationStatus, AvailabilityZone, Cluster, ClusterSecurityGroup, ClusterSubnetGroup, EventSubscription, HsmClientCertificate, HsmConfiguration, Parameter, RecurringCharge, ReservedNode, ReservedNodeExchangeStatus, ReservedNodeOfferingType, ScheduledAction, ScheduledActionType, Snapshot, SnapshotCopyGrant, SnapshotSchedule, Tag, UsageLimit, UsageLimitBreachAction, UsageLimitFeatureType } from "./models_0";
2
+ import { ActionType, AquaConfiguration, AquaConfigurationStatus, AvailabilityZone, Cluster, ClusterSecurityGroup, ClusterSubnetGroup, EndpointAuthorization, EventSubscription, HsmClientCertificate, HsmConfiguration, Parameter, RecurringCharge, ReservedNode, ReservedNodeExchangeStatus, ReservedNodeOfferingType, ScheduledAction, ScheduledActionType, Snapshot, SnapshotCopyGrant, SnapshotSchedule, Tag, UsageLimit, UsageLimitBreachAction, UsageLimitFeatureType } from "./models_0";
3
3
  import { RedshiftServiceException as __BaseException } from "./RedshiftServiceException";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface EndpointAuthorizationList {
8
+ /**
9
+ * @public
10
+ * <p>The authorizations to an endpoint.</p>
11
+ */
12
+ EndpointAuthorizationList?: EndpointAuthorization[];
13
+ /**
14
+ * @public
15
+ * <p>An optional pagination token provided by a previous
16
+ * <code>DescribeEndpointAuthorization</code> request. If this parameter is specified, the
17
+ * response includes only records beyond the marker, up to the value specified by the
18
+ * <code>MaxRecords</code> parameter.</p>
19
+ */
20
+ Marker?: string;
21
+ }
22
+ /**
23
+ * @public
24
+ * <p></p>
25
+ */
26
+ export interface DescribeEventCategoriesMessage {
27
+ /**
28
+ * @public
29
+ * <p>The source type, such as cluster or parameter group, to which the described event
30
+ * categories apply.</p>
31
+ * <p>Valid values: cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, and scheduled-action.</p>
32
+ */
33
+ SourceType?: string;
34
+ }
4
35
  /**
5
36
  * @public
6
37
  * <p>Describes event information.</p>
@@ -2209,6 +2240,26 @@ export declare class EndpointAuthorizationNotFoundFault extends __BaseException
2209
2240
  */
2210
2241
  constructor(opts: __ExceptionOptionType<EndpointAuthorizationNotFoundFault, __BaseException>);
2211
2242
  }
2243
+ /**
2244
+ * @public
2245
+ */
2246
+ export interface FailoverPrimaryComputeInputMessage {
2247
+ /**
2248
+ * @public
2249
+ * <p>The unique identifier of the cluster for which the primary compute unit will be failed over to another Availability Zone.</p>
2250
+ */
2251
+ ClusterIdentifier: string | undefined;
2252
+ }
2253
+ /**
2254
+ * @public
2255
+ */
2256
+ export interface FailoverPrimaryComputeResult {
2257
+ /**
2258
+ * @public
2259
+ * <p>Describes a cluster.</p>
2260
+ */
2261
+ Cluster?: Cluster;
2262
+ }
2212
2263
  /**
2213
2264
  * @public
2214
2265
  * <p>The request parameters to get cluster credentials.</p>
@@ -2929,6 +2980,16 @@ export interface ModifyClusterMessage {
2929
2980
  * You can only use this parameter if <code>ManageMasterPassword</code> is true.</p>
2930
2981
  */
2931
2982
  MasterPasswordSecretKmsKeyId?: string;
2983
+ /**
2984
+ * @public
2985
+ * <p>The IP address types that the cluster supports. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>
2986
+ */
2987
+ IpAddressType?: string;
2988
+ /**
2989
+ * @public
2990
+ * <p>If true and the cluster is currently only deployed in a single Availability Zone, the cluster will be modified to be deployed in two Availability Zones.</p>
2991
+ */
2992
+ MultiAZ?: boolean;
2932
2993
  }
2933
2994
  /**
2934
2995
  * @public
@@ -3925,6 +3986,16 @@ export interface RestoreFromClusterSnapshotMessage {
3925
3986
  * You can only use this parameter if <code>ManageMasterPassword</code> is true.</p>
3926
3987
  */
3927
3988
  MasterPasswordSecretKmsKeyId?: string;
3989
+ /**
3990
+ * @public
3991
+ * <p>The IP address type for the cluster. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>
3992
+ */
3993
+ IpAddressType?: string;
3994
+ /**
3995
+ * @public
3996
+ * <p>If true, the snapshot will be restored to a cluster deployed in two Availability Zones.</p>
3997
+ */
3998
+ MultiAZ?: boolean;
3928
3999
  }
3929
4000
  /**
3930
4001
  * @public
@@ -4193,6 +4264,10 @@ export declare const DisableSnapshotCopyResultFilterSensitiveLog: (obj: DisableS
4193
4264
  * @internal
4194
4265
  */
4195
4266
  export declare const EnableSnapshotCopyResultFilterSensitiveLog: (obj: EnableSnapshotCopyResult) => any;
4267
+ /**
4268
+ * @internal
4269
+ */
4270
+ export declare const FailoverPrimaryComputeResultFilterSensitiveLog: (obj: FailoverPrimaryComputeResult) => any;
4196
4271
  /**
4197
4272
  * @internal
4198
4273
  */
@@ -90,6 +90,7 @@ import { DisableSnapshotCopyCommandInput, DisableSnapshotCopyCommandOutput } fro
90
90
  import { DisassociateDataShareConsumerCommandInput, DisassociateDataShareConsumerCommandOutput } from "../commands/DisassociateDataShareConsumerCommand";
91
91
  import { EnableLoggingCommandInput, EnableLoggingCommandOutput } from "../commands/EnableLoggingCommand";
92
92
  import { EnableSnapshotCopyCommandInput, EnableSnapshotCopyCommandOutput } from "../commands/EnableSnapshotCopyCommand";
93
+ import { FailoverPrimaryComputeCommandInput, FailoverPrimaryComputeCommandOutput } from "../commands/FailoverPrimaryComputeCommand";
93
94
  import { GetClusterCredentialsCommandInput, GetClusterCredentialsCommandOutput } from "../commands/GetClusterCredentialsCommand";
94
95
  import { GetClusterCredentialsWithIAMCommandInput, GetClusterCredentialsWithIAMCommandOutput } from "../commands/GetClusterCredentialsWithIAMCommand";
95
96
  import { GetReservedNodeExchangeConfigurationOptionsCommandInput, GetReservedNodeExchangeConfigurationOptionsCommandOutput } from "../commands/GetReservedNodeExchangeConfigurationOptionsCommand";
@@ -487,6 +488,10 @@ export declare const se_EnableLoggingCommand: (input: EnableLoggingCommandInput,
487
488
  * serializeAws_queryEnableSnapshotCopyCommand
488
489
  */
489
490
  export declare const se_EnableSnapshotCopyCommand: (input: EnableSnapshotCopyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
491
+ /**
492
+ * serializeAws_queryFailoverPrimaryComputeCommand
493
+ */
494
+ export declare const se_FailoverPrimaryComputeCommand: (input: FailoverPrimaryComputeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
490
495
  /**
491
496
  * serializeAws_queryGetClusterCredentialsCommand
492
497
  */
@@ -995,6 +1000,10 @@ export declare const de_EnableLoggingCommand: (output: __HttpResponse, context:
995
1000
  * deserializeAws_queryEnableSnapshotCopyCommand
996
1001
  */
997
1002
  export declare const de_EnableSnapshotCopyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EnableSnapshotCopyCommandOutput>;
1003
+ /**
1004
+ * deserializeAws_queryFailoverPrimaryComputeCommand
1005
+ */
1006
+ export declare const de_FailoverPrimaryComputeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<FailoverPrimaryComputeCommandOutput>;
998
1007
  /**
999
1008
  * deserializeAws_queryGetClusterCredentialsCommand
1000
1009
  */
@@ -359,6 +359,10 @@ import {
359
359
  EnableSnapshotCopyCommandInput,
360
360
  EnableSnapshotCopyCommandOutput,
361
361
  } from "./commands/EnableSnapshotCopyCommand";
362
+ import {
363
+ FailoverPrimaryComputeCommandInput,
364
+ FailoverPrimaryComputeCommandOutput,
365
+ } from "./commands/FailoverPrimaryComputeCommand";
362
366
  import {
363
367
  GetClusterCredentialsCommandInput,
364
368
  GetClusterCredentialsCommandOutput,
@@ -1691,6 +1695,19 @@ export interface Redshift {
1691
1695
  options: __HttpHandlerOptions,
1692
1696
  cb: (err: any, data?: EnableSnapshotCopyCommandOutput) => void
1693
1697
  ): void;
1698
+ failoverPrimaryCompute(
1699
+ args: FailoverPrimaryComputeCommandInput,
1700
+ options?: __HttpHandlerOptions
1701
+ ): Promise<FailoverPrimaryComputeCommandOutput>;
1702
+ failoverPrimaryCompute(
1703
+ args: FailoverPrimaryComputeCommandInput,
1704
+ cb: (err: any, data?: FailoverPrimaryComputeCommandOutput) => void
1705
+ ): void;
1706
+ failoverPrimaryCompute(
1707
+ args: FailoverPrimaryComputeCommandInput,
1708
+ options: __HttpHandlerOptions,
1709
+ cb: (err: any, data?: FailoverPrimaryComputeCommandOutput) => void
1710
+ ): void;
1694
1711
  getClusterCredentials(
1695
1712
  args: GetClusterCredentialsCommandInput,
1696
1713
  options?: __HttpHandlerOptions