@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
@@ -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
  *
@@ -75,6 +75,7 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResult, __Metad
75
75
  * // SubnetId: "STRING_VALUE",
76
76
  * // PrivateIpAddress: "STRING_VALUE",
77
77
  * // AvailabilityZone: "STRING_VALUE",
78
+ * // Ipv6Address: "STRING_VALUE",
78
79
  * // },
79
80
  * // ],
80
81
  * // },
@@ -229,6 +230,18 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResult, __Metad
229
230
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
230
231
  * // MasterPasswordSecretArn: "STRING_VALUE",
231
232
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
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
+ * // },
232
245
  * // },
233
246
  * // };
234
247
  *
@@ -59,6 +59,7 @@ export interface DeleteEndpointAccessCommandOutput extends EndpointAccess, __Met
59
59
  * // SubnetId: "STRING_VALUE",
60
60
  * // PrivateIpAddress: "STRING_VALUE",
61
61
  * // AvailabilityZone: "STRING_VALUE",
62
+ * // Ipv6Address: "STRING_VALUE",
62
63
  * // },
63
64
  * // ],
64
65
  * // },
@@ -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
  *
@@ -81,6 +81,9 @@ export interface DescribeClusterSubnetGroupsCommandOutput extends ClusterSubnetG
81
81
  * // Value: "STRING_VALUE",
82
82
  * // },
83
83
  * // ],
84
+ * // SupportedClusterIpAddressTypes: [ // ValueStringList
85
+ * // "STRING_VALUE",
86
+ * // ],
84
87
  * // },
85
88
  * // ],
86
89
  * // };
@@ -79,6 +79,7 @@ export interface DescribeClustersCommandOutput extends ClustersMessage, __Metada
79
79
  * // SubnetId: "STRING_VALUE",
80
80
  * // PrivateIpAddress: "STRING_VALUE",
81
81
  * // AvailabilityZone: "STRING_VALUE",
82
+ * // Ipv6Address: "STRING_VALUE",
82
83
  * // },
83
84
  * // ],
84
85
  * // },
@@ -233,6 +234,18 @@ export interface DescribeClustersCommandOutput extends ClustersMessage, __Metada
233
234
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
234
235
  * // MasterPasswordSecretArn: "STRING_VALUE",
235
236
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
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
+ * // },
236
249
  * // },
237
250
  * // ],
238
251
  * // };
@@ -66,6 +66,7 @@ export interface DescribeEndpointAccessCommandOutput extends EndpointAccessList,
66
66
  * // SubnetId: "STRING_VALUE",
67
67
  * // PrivateIpAddress: "STRING_VALUE",
68
68
  * // AvailabilityZone: "STRING_VALUE",
69
+ * // Ipv6Address: "STRING_VALUE",
69
70
  * // },
70
71
  * // ],
71
72
  * // },
@@ -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
@@ -1,8 +1,7 @@
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 { DescribeEventCategoriesMessage } from "../models/models_0";
5
- import { EventCategoriesMessage } from "../models/models_1";
4
+ import { DescribeEventCategoriesMessage, EventCategoriesMessage } from "../models/models_1";
6
5
  import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
7
6
  /**
8
7
  * @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
  *
@@ -61,6 +61,7 @@ export interface DisableSnapshotCopyCommandOutput extends DisableSnapshotCopyRes
61
61
  * // SubnetId: "STRING_VALUE",
62
62
  * // PrivateIpAddress: "STRING_VALUE",
63
63
  * // AvailabilityZone: "STRING_VALUE",
64
+ * // Ipv6Address: "STRING_VALUE",
64
65
  * // },
65
66
  * // ],
66
67
  * // },
@@ -215,6 +216,18 @@ export interface DisableSnapshotCopyCommandOutput extends DisableSnapshotCopyRes
215
216
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
216
217
  * // MasterPasswordSecretArn: "STRING_VALUE",
217
218
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
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
+ * // },
218
231
  * // },
219
232
  * // };
220
233
  *
@@ -239,6 +252,9 @@ export interface DisableSnapshotCopyCommandOutput extends DisableSnapshotCopyRes
239
252
  * @throws {@link UnauthorizedOperation} (client fault)
240
253
  * <p>Your account is not authorized to perform the requested operation.</p>
241
254
  *
255
+ * @throws {@link UnsupportedOperationFault} (client fault)
256
+ * <p>The requested operation isn't supported.</p>
257
+ *
242
258
  * @throws {@link RedshiftServiceException}
243
259
  * <p>Base exception class for all service exceptions from Redshift service.</p>
244
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
  *
@@ -62,6 +62,7 @@ export interface EnableSnapshotCopyCommandOutput extends EnableSnapshotCopyResul
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 EnableSnapshotCopyCommandOutput extends EnableSnapshotCopyResul
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
  *
@@ -0,0 +1,274 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { FailoverPrimaryComputeInputMessage, FailoverPrimaryComputeResult } from "../models/models_1";
5
+ import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link FailoverPrimaryComputeCommand}.
14
+ */
15
+ export interface FailoverPrimaryComputeCommandInput extends FailoverPrimaryComputeInputMessage {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link FailoverPrimaryComputeCommand}.
21
+ */
22
+ export interface FailoverPrimaryComputeCommandOutput extends FailoverPrimaryComputeResult, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Fails over the primary compute unit of the specified Multi-AZ cluster to another Availability Zone.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { RedshiftClient, FailoverPrimaryComputeCommand } from "@aws-sdk/client-redshift"; // ES Modules import
31
+ * // const { RedshiftClient, FailoverPrimaryComputeCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
32
+ * const client = new RedshiftClient(config);
33
+ * const input = { // FailoverPrimaryComputeInputMessage
34
+ * ClusterIdentifier: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new FailoverPrimaryComputeCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // FailoverPrimaryComputeResult
39
+ * // Cluster: { // Cluster
40
+ * // ClusterIdentifier: "STRING_VALUE",
41
+ * // NodeType: "STRING_VALUE",
42
+ * // ClusterStatus: "STRING_VALUE",
43
+ * // ClusterAvailabilityStatus: "STRING_VALUE",
44
+ * // ModifyStatus: "STRING_VALUE",
45
+ * // MasterUsername: "STRING_VALUE",
46
+ * // DBName: "STRING_VALUE",
47
+ * // Endpoint: { // Endpoint
48
+ * // Address: "STRING_VALUE",
49
+ * // Port: Number("int"),
50
+ * // VpcEndpoints: [ // VpcEndpointsList
51
+ * // { // VpcEndpoint
52
+ * // VpcEndpointId: "STRING_VALUE",
53
+ * // VpcId: "STRING_VALUE",
54
+ * // NetworkInterfaces: [ // NetworkInterfaceList
55
+ * // { // NetworkInterface
56
+ * // NetworkInterfaceId: "STRING_VALUE",
57
+ * // SubnetId: "STRING_VALUE",
58
+ * // PrivateIpAddress: "STRING_VALUE",
59
+ * // AvailabilityZone: "STRING_VALUE",
60
+ * // Ipv6Address: "STRING_VALUE",
61
+ * // },
62
+ * // ],
63
+ * // },
64
+ * // ],
65
+ * // },
66
+ * // ClusterCreateTime: new Date("TIMESTAMP"),
67
+ * // AutomatedSnapshotRetentionPeriod: Number("int"),
68
+ * // ManualSnapshotRetentionPeriod: Number("int"),
69
+ * // ClusterSecurityGroups: [ // ClusterSecurityGroupMembershipList
70
+ * // { // ClusterSecurityGroupMembership
71
+ * // ClusterSecurityGroupName: "STRING_VALUE",
72
+ * // Status: "STRING_VALUE",
73
+ * // },
74
+ * // ],
75
+ * // VpcSecurityGroups: [ // VpcSecurityGroupMembershipList
76
+ * // { // VpcSecurityGroupMembership
77
+ * // VpcSecurityGroupId: "STRING_VALUE",
78
+ * // Status: "STRING_VALUE",
79
+ * // },
80
+ * // ],
81
+ * // ClusterParameterGroups: [ // ClusterParameterGroupStatusList
82
+ * // { // ClusterParameterGroupStatus
83
+ * // ParameterGroupName: "STRING_VALUE",
84
+ * // ParameterApplyStatus: "STRING_VALUE",
85
+ * // ClusterParameterStatusList: [ // ClusterParameterStatusList
86
+ * // { // ClusterParameterStatus
87
+ * // ParameterName: "STRING_VALUE",
88
+ * // ParameterApplyStatus: "STRING_VALUE",
89
+ * // ParameterApplyErrorDescription: "STRING_VALUE",
90
+ * // },
91
+ * // ],
92
+ * // },
93
+ * // ],
94
+ * // ClusterSubnetGroupName: "STRING_VALUE",
95
+ * // VpcId: "STRING_VALUE",
96
+ * // AvailabilityZone: "STRING_VALUE",
97
+ * // PreferredMaintenanceWindow: "STRING_VALUE",
98
+ * // PendingModifiedValues: { // PendingModifiedValues
99
+ * // MasterUserPassword: "STRING_VALUE",
100
+ * // NodeType: "STRING_VALUE",
101
+ * // NumberOfNodes: Number("int"),
102
+ * // ClusterType: "STRING_VALUE",
103
+ * // ClusterVersion: "STRING_VALUE",
104
+ * // AutomatedSnapshotRetentionPeriod: Number("int"),
105
+ * // ClusterIdentifier: "STRING_VALUE",
106
+ * // PubliclyAccessible: true || false,
107
+ * // EnhancedVpcRouting: true || false,
108
+ * // MaintenanceTrackName: "STRING_VALUE",
109
+ * // EncryptionType: "STRING_VALUE",
110
+ * // },
111
+ * // ClusterVersion: "STRING_VALUE",
112
+ * // AllowVersionUpgrade: true || false,
113
+ * // NumberOfNodes: Number("int"),
114
+ * // PubliclyAccessible: true || false,
115
+ * // Encrypted: true || false,
116
+ * // RestoreStatus: { // RestoreStatus
117
+ * // Status: "STRING_VALUE",
118
+ * // CurrentRestoreRateInMegaBytesPerSecond: Number("double"),
119
+ * // SnapshotSizeInMegaBytes: Number("long"),
120
+ * // ProgressInMegaBytes: Number("long"),
121
+ * // ElapsedTimeInSeconds: Number("long"),
122
+ * // EstimatedTimeToCompletionInSeconds: Number("long"),
123
+ * // },
124
+ * // DataTransferProgress: { // DataTransferProgress
125
+ * // Status: "STRING_VALUE",
126
+ * // CurrentRateInMegaBytesPerSecond: Number("double"),
127
+ * // TotalDataInMegaBytes: Number("long"),
128
+ * // DataTransferredInMegaBytes: Number("long"),
129
+ * // EstimatedTimeToCompletionInSeconds: Number("long"),
130
+ * // ElapsedTimeInSeconds: Number("long"),
131
+ * // },
132
+ * // HsmStatus: { // HsmStatus
133
+ * // HsmClientCertificateIdentifier: "STRING_VALUE",
134
+ * // HsmConfigurationIdentifier: "STRING_VALUE",
135
+ * // Status: "STRING_VALUE",
136
+ * // },
137
+ * // ClusterSnapshotCopyStatus: { // ClusterSnapshotCopyStatus
138
+ * // DestinationRegion: "STRING_VALUE",
139
+ * // RetentionPeriod: Number("long"),
140
+ * // ManualSnapshotRetentionPeriod: Number("int"),
141
+ * // SnapshotCopyGrantName: "STRING_VALUE",
142
+ * // },
143
+ * // ClusterPublicKey: "STRING_VALUE",
144
+ * // ClusterNodes: [ // ClusterNodesList
145
+ * // { // ClusterNode
146
+ * // NodeRole: "STRING_VALUE",
147
+ * // PrivateIPAddress: "STRING_VALUE",
148
+ * // PublicIPAddress: "STRING_VALUE",
149
+ * // },
150
+ * // ],
151
+ * // ElasticIpStatus: { // ElasticIpStatus
152
+ * // ElasticIp: "STRING_VALUE",
153
+ * // Status: "STRING_VALUE",
154
+ * // },
155
+ * // ClusterRevisionNumber: "STRING_VALUE",
156
+ * // Tags: [ // TagList
157
+ * // { // Tag
158
+ * // Key: "STRING_VALUE",
159
+ * // Value: "STRING_VALUE",
160
+ * // },
161
+ * // ],
162
+ * // KmsKeyId: "STRING_VALUE",
163
+ * // EnhancedVpcRouting: true || false,
164
+ * // IamRoles: [ // ClusterIamRoleList
165
+ * // { // ClusterIamRole
166
+ * // IamRoleArn: "STRING_VALUE",
167
+ * // ApplyStatus: "STRING_VALUE",
168
+ * // },
169
+ * // ],
170
+ * // PendingActions: [ // PendingActionsList
171
+ * // "STRING_VALUE",
172
+ * // ],
173
+ * // MaintenanceTrackName: "STRING_VALUE",
174
+ * // ElasticResizeNumberOfNodeOptions: "STRING_VALUE",
175
+ * // DeferredMaintenanceWindows: [ // DeferredMaintenanceWindowsList
176
+ * // { // DeferredMaintenanceWindow
177
+ * // DeferMaintenanceIdentifier: "STRING_VALUE",
178
+ * // DeferMaintenanceStartTime: new Date("TIMESTAMP"),
179
+ * // DeferMaintenanceEndTime: new Date("TIMESTAMP"),
180
+ * // },
181
+ * // ],
182
+ * // SnapshotScheduleIdentifier: "STRING_VALUE",
183
+ * // SnapshotScheduleState: "MODIFYING" || "ACTIVE" || "FAILED",
184
+ * // ExpectedNextSnapshotScheduleTime: new Date("TIMESTAMP"),
185
+ * // ExpectedNextSnapshotScheduleTimeStatus: "STRING_VALUE",
186
+ * // NextMaintenanceWindowStartTime: new Date("TIMESTAMP"),
187
+ * // ResizeInfo: { // ResizeInfo
188
+ * // ResizeType: "STRING_VALUE",
189
+ * // AllowCancelResize: true || false,
190
+ * // },
191
+ * // AvailabilityZoneRelocationStatus: "STRING_VALUE",
192
+ * // ClusterNamespaceArn: "STRING_VALUE",
193
+ * // TotalStorageCapacityInMegaBytes: Number("long"),
194
+ * // AquaConfiguration: { // AquaConfiguration
195
+ * // AquaStatus: "enabled" || "disabled" || "applying",
196
+ * // AquaConfigurationStatus: "enabled" || "disabled" || "auto",
197
+ * // },
198
+ * // DefaultIamRoleArn: "STRING_VALUE",
199
+ * // ReservedNodeExchangeStatus: { // ReservedNodeExchangeStatus
200
+ * // ReservedNodeExchangeRequestId: "STRING_VALUE",
201
+ * // Status: "REQUESTED" || "PENDING" || "IN_PROGRESS" || "RETRYING" || "SUCCEEDED" || "FAILED",
202
+ * // RequestTime: new Date("TIMESTAMP"),
203
+ * // SourceReservedNodeId: "STRING_VALUE",
204
+ * // SourceReservedNodeType: "STRING_VALUE",
205
+ * // SourceReservedNodeCount: Number("int"),
206
+ * // TargetReservedNodeOfferingId: "STRING_VALUE",
207
+ * // TargetReservedNodeType: "STRING_VALUE",
208
+ * // TargetReservedNodeCount: Number("int"),
209
+ * // },
210
+ * // CustomDomainName: "STRING_VALUE",
211
+ * // CustomDomainCertificateArn: "STRING_VALUE",
212
+ * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
213
+ * // MasterPasswordSecretArn: "STRING_VALUE",
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
+ * // },
227
+ * // },
228
+ * // };
229
+ *
230
+ * ```
231
+ *
232
+ * @param FailoverPrimaryComputeCommandInput - {@link FailoverPrimaryComputeCommandInput}
233
+ * @returns {@link FailoverPrimaryComputeCommandOutput}
234
+ * @see {@link FailoverPrimaryComputeCommandInput} for command's `input` shape.
235
+ * @see {@link FailoverPrimaryComputeCommandOutput} for command's `response` shape.
236
+ * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape.
237
+ *
238
+ * @throws {@link ClusterNotFoundFault} (client fault)
239
+ * <p>The <code>ClusterIdentifier</code> parameter does not refer to an existing cluster.
240
+ * </p>
241
+ *
242
+ * @throws {@link InvalidClusterStateFault} (client fault)
243
+ * <p>The specified cluster is not in the <code>available</code> state. </p>
244
+ *
245
+ * @throws {@link UnauthorizedOperation} (client fault)
246
+ * <p>Your account is not authorized to perform the requested operation.</p>
247
+ *
248
+ * @throws {@link UnsupportedOperationFault} (client fault)
249
+ * <p>The requested operation isn't supported.</p>
250
+ *
251
+ * @throws {@link RedshiftServiceException}
252
+ * <p>Base exception class for all service exceptions from Redshift service.</p>
253
+ *
254
+ */
255
+ export declare class FailoverPrimaryComputeCommand extends $Command<FailoverPrimaryComputeCommandInput, FailoverPrimaryComputeCommandOutput, RedshiftClientResolvedConfig> {
256
+ readonly input: FailoverPrimaryComputeCommandInput;
257
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
258
+ /**
259
+ * @public
260
+ */
261
+ constructor(input: FailoverPrimaryComputeCommandInput);
262
+ /**
263
+ * @internal
264
+ */
265
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RedshiftClientResolvedConfig, options?: __HttpHandlerOptions): Handler<FailoverPrimaryComputeCommandInput, FailoverPrimaryComputeCommandOutput>;
266
+ /**
267
+ * @internal
268
+ */
269
+ private serialize;
270
+ /**
271
+ * @internal
272
+ */
273
+ private deserialize;
274
+ }
@@ -70,6 +70,8 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResult, __Metad
70
70
  * Port: Number("int"),
71
71
  * ManageMasterPassword: true || false,
72
72
  * MasterPasswordSecretKmsKeyId: "STRING_VALUE",
73
+ * IpAddressType: "STRING_VALUE",
74
+ * MultiAZ: true || false,
73
75
  * };
74
76
  * const command = new ModifyClusterCommand(input);
75
77
  * const response = await client.send(command);
@@ -95,6 +97,7 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResult, __Metad
95
97
  * // SubnetId: "STRING_VALUE",
96
98
  * // PrivateIpAddress: "STRING_VALUE",
97
99
  * // AvailabilityZone: "STRING_VALUE",
100
+ * // Ipv6Address: "STRING_VALUE",
98
101
  * // },
99
102
  * // ],
100
103
  * // },
@@ -249,6 +252,18 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResult, __Metad
249
252
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
250
253
  * // MasterPasswordSecretArn: "STRING_VALUE",
251
254
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
255
+ * // IpAddressType: "STRING_VALUE",
256
+ * // MultiAZ: "STRING_VALUE",
257
+ * // MultiAZSecondary: { // SecondaryClusterInfo
258
+ * // AvailabilityZone: "STRING_VALUE",
259
+ * // ClusterNodes: [
260
+ * // {
261
+ * // NodeRole: "STRING_VALUE",
262
+ * // PrivateIPAddress: "STRING_VALUE",
263
+ * // PublicIPAddress: "STRING_VALUE",
264
+ * // },
265
+ * // ],
266
+ * // },
252
267
  * // },
253
268
  * // };
254
269
  *
@@ -308,6 +323,10 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResult, __Metad
308
323
  * <p>The retention period specified is either in the past or is not a valid value.</p>
309
324
  * <p>The value must be either -1 or an integer between 1 and 3,653.</p>
310
325
  *
326
+ * @throws {@link Ipv6CidrBlockNotFoundFault} (client fault)
327
+ * <p>There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode,
328
+ * associate an IPv6 CIDR block with each subnet in your VPC.</p>
329
+ *
311
330
  * @throws {@link LimitExceededFault} (client fault)
312
331
  * <p>The encryption key has exceeded its grant limit in Amazon Web Services KMS.</p>
313
332
  *
@@ -59,6 +59,7 @@ export interface ModifyClusterDbRevisionCommandOutput extends ModifyClusterDbRev
59
59
  * // SubnetId: "STRING_VALUE",
60
60
  * // PrivateIpAddress: "STRING_VALUE",
61
61
  * // AvailabilityZone: "STRING_VALUE",
62
+ * // Ipv6Address: "STRING_VALUE",
62
63
  * // },
63
64
  * // ],
64
65
  * // },
@@ -213,6 +214,18 @@ export interface ModifyClusterDbRevisionCommandOutput extends ModifyClusterDbRev
213
214
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
214
215
  * // MasterPasswordSecretArn: "STRING_VALUE",
215
216
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
217
+ * // IpAddressType: "STRING_VALUE",
218
+ * // MultiAZ: "STRING_VALUE",
219
+ * // MultiAZSecondary: { // SecondaryClusterInfo
220
+ * // AvailabilityZone: "STRING_VALUE",
221
+ * // ClusterNodes: [
222
+ * // {
223
+ * // NodeRole: "STRING_VALUE",
224
+ * // PrivateIPAddress: "STRING_VALUE",
225
+ * // PublicIPAddress: "STRING_VALUE",
226
+ * // },
227
+ * // ],
228
+ * // },
216
229
  * // },
217
230
  * // };
218
231
  *
@@ -234,6 +247,9 @@ export interface ModifyClusterDbRevisionCommandOutput extends ModifyClusterDbRev
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
  *
@@ -68,6 +68,7 @@ export interface ModifyClusterIamRolesCommandOutput extends ModifyClusterIamRole
68
68
  * // SubnetId: "STRING_VALUE",
69
69
  * // PrivateIpAddress: "STRING_VALUE",
70
70
  * // AvailabilityZone: "STRING_VALUE",
71
+ * // Ipv6Address: "STRING_VALUE",
71
72
  * // },
72
73
  * // ],
73
74
  * // },
@@ -222,6 +223,18 @@ export interface ModifyClusterIamRolesCommandOutput extends ModifyClusterIamRole
222
223
  * // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
223
224
  * // MasterPasswordSecretArn: "STRING_VALUE",
224
225
  * // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
226
+ * // IpAddressType: "STRING_VALUE",
227
+ * // MultiAZ: "STRING_VALUE",
228
+ * // MultiAZSecondary: { // SecondaryClusterInfo
229
+ * // AvailabilityZone: "STRING_VALUE",
230
+ * // ClusterNodes: [
231
+ * // {
232
+ * // NodeRole: "STRING_VALUE",
233
+ * // PrivateIPAddress: "STRING_VALUE",
234
+ * // PublicIPAddress: "STRING_VALUE",
235
+ * // },
236
+ * // ],
237
+ * // },
225
238
  * // },
226
239
  * // };
227
240
  *