@aws-sdk/client-redshift 3.438.0 → 3.445.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.
- package/README.md +8 -0
- package/dist-cjs/Redshift.js +2 -0
- package/dist-cjs/commands/FailoverPrimaryComputeCommand.js +52 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_1.js +6 -1
- package/dist-cjs/protocols/Aws_query.js +157 -5
- package/dist-es/Redshift.js +2 -0
- package/dist-es/commands/FailoverPrimaryComputeCommand.js +48 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/protocols/Aws_query.js +150 -0
- package/dist-types/Redshift.d.ts +7 -0
- package/dist-types/RedshiftClient.d.ts +3 -2
- package/dist-types/commands/AddPartnerCommand.d.ts +3 -0
- package/dist-types/commands/CopyClusterSnapshotCommand.d.ts +4 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +15 -0
- package/dist-types/commands/CreateScheduledActionCommand.d.ts +7 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +11 -0
- package/dist-types/commands/DeletePartnerCommand.d.ts +3 -0
- package/dist-types/commands/DescribeClustersCommand.d.ts +11 -0
- package/dist-types/commands/DescribeEndpointAuthorizationCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLoggingStatusCommand.d.ts +3 -0
- package/dist-types/commands/DescribePartnersCommand.d.ts +3 -0
- package/dist-types/commands/DescribeResizeCommand.d.ts +3 -0
- package/dist-types/commands/DisableLoggingCommand.d.ts +3 -0
- package/dist-types/commands/DisableSnapshotCopyCommand.d.ts +14 -0
- package/dist-types/commands/EnableLoggingCommand.d.ts +3 -0
- package/dist-types/commands/EnableSnapshotCopyCommand.d.ts +11 -0
- package/dist-types/commands/FailoverPrimaryComputeCommand.d.ts +274 -0
- package/dist-types/commands/ModifyClusterCommand.d.ts +12 -0
- package/dist-types/commands/ModifyClusterDbRevisionCommand.d.ts +14 -0
- package/dist-types/commands/ModifyClusterIamRolesCommand.d.ts +11 -0
- package/dist-types/commands/ModifyClusterMaintenanceCommand.d.ts +11 -0
- package/dist-types/commands/ModifyScheduledActionCommand.d.ts +7 -0
- package/dist-types/commands/ModifySnapshotCopyRetentionPeriodCommand.d.ts +11 -0
- package/dist-types/commands/PauseClusterCommand.d.ts +14 -0
- package/dist-types/commands/RebootClusterCommand.d.ts +11 -0
- package/dist-types/commands/ResizeClusterCommand.d.ts +11 -0
- package/dist-types/commands/RestoreFromClusterSnapshotCommand.d.ts +12 -0
- package/dist-types/commands/ResumeClusterCommand.d.ts +14 -0
- package/dist-types/commands/RotateEncryptionKeyCommand.d.ts +14 -0
- package/dist-types/commands/UpdatePartnerStatusCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +31 -18
- package/dist-types/models/models_1.d.ts +53 -1
- package/dist-types/protocols/Aws_query.d.ts +9 -0
- package/dist-types/ts3.4/Redshift.d.ts +17 -0
- package/dist-types/ts3.4/RedshiftClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/DescribeEndpointAuthorizationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/FailoverPrimaryComputeCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -4
- package/dist-types/ts3.4/models/models_1.d.ts +16 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
- package/package.json +4 -4
|
@@ -218,6 +218,17 @@ export interface EnableSnapshotCopyCommandOutput extends EnableSnapshotCopyResul
|
|
|
218
218
|
* // MasterPasswordSecretArn: "STRING_VALUE",
|
|
219
219
|
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
220
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
|
+
* // },
|
|
221
232
|
* // },
|
|
222
233
|
* // };
|
|
223
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
|
+
}
|
|
@@ -71,6 +71,7 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResult, __Metad
|
|
|
71
71
|
* ManageMasterPassword: true || false,
|
|
72
72
|
* MasterPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
73
73
|
* IpAddressType: "STRING_VALUE",
|
|
74
|
+
* MultiAZ: true || false,
|
|
74
75
|
* };
|
|
75
76
|
* const command = new ModifyClusterCommand(input);
|
|
76
77
|
* const response = await client.send(command);
|
|
@@ -252,6 +253,17 @@ export interface ModifyClusterCommandOutput extends ModifyClusterResult, __Metad
|
|
|
252
253
|
* // MasterPasswordSecretArn: "STRING_VALUE",
|
|
253
254
|
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
254
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
|
+
* // },
|
|
255
267
|
* // },
|
|
256
268
|
* // };
|
|
257
269
|
*
|
|
@@ -215,6 +215,17 @@ export interface ModifyClusterDbRevisionCommandOutput extends ModifyClusterDbRev
|
|
|
215
215
|
* // MasterPasswordSecretArn: "STRING_VALUE",
|
|
216
216
|
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
217
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
|
+
* // },
|
|
218
229
|
* // },
|
|
219
230
|
* // };
|
|
220
231
|
*
|
|
@@ -236,6 +247,9 @@ export interface ModifyClusterDbRevisionCommandOutput extends ModifyClusterDbRev
|
|
|
236
247
|
* @throws {@link InvalidClusterStateFault} (client fault)
|
|
237
248
|
* <p>The specified cluster is not in the <code>available</code> state. </p>
|
|
238
249
|
*
|
|
250
|
+
* @throws {@link UnsupportedOperationFault} (client fault)
|
|
251
|
+
* <p>The requested operation isn't supported.</p>
|
|
252
|
+
*
|
|
239
253
|
* @throws {@link RedshiftServiceException}
|
|
240
254
|
* <p>Base exception class for all service exceptions from Redshift service.</p>
|
|
241
255
|
*
|
|
@@ -224,6 +224,17 @@ export interface ModifyClusterIamRolesCommandOutput extends ModifyClusterIamRole
|
|
|
224
224
|
* // MasterPasswordSecretArn: "STRING_VALUE",
|
|
225
225
|
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
226
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
|
+
* // },
|
|
227
238
|
* // },
|
|
228
239
|
* // };
|
|
229
240
|
*
|
|
@@ -218,6 +218,17 @@ export interface ModifyClusterMaintenanceCommandOutput extends ModifyClusterMain
|
|
|
218
218
|
* // MasterPasswordSecretArn: "STRING_VALUE",
|
|
219
219
|
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
220
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
|
+
* // },
|
|
221
232
|
* // },
|
|
222
233
|
* // };
|
|
223
234
|
*
|
|
@@ -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
|
*
|
|
@@ -221,6 +221,17 @@ export interface ModifySnapshotCopyRetentionPeriodCommandOutput extends ModifySn
|
|
|
221
221
|
* // MasterPasswordSecretArn: "STRING_VALUE",
|
|
222
222
|
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
223
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
|
+
* // },
|
|
224
235
|
* // },
|
|
225
236
|
* // };
|
|
226
237
|
*
|
|
@@ -214,6 +214,17 @@ export interface PauseClusterCommandOutput extends PauseClusterResult, __Metadat
|
|
|
214
214
|
* // MasterPasswordSecretArn: "STRING_VALUE",
|
|
215
215
|
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
216
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
|
+
* // },
|
|
217
228
|
* // },
|
|
218
229
|
* // };
|
|
219
230
|
*
|
|
@@ -232,6 +243,9 @@ export interface PauseClusterCommandOutput extends PauseClusterResult, __Metadat
|
|
|
232
243
|
* @throws {@link InvalidClusterStateFault} (client fault)
|
|
233
244
|
* <p>The specified cluster is not in the <code>available</code> state. </p>
|
|
234
245
|
*
|
|
246
|
+
* @throws {@link UnsupportedOperationFault} (client fault)
|
|
247
|
+
* <p>The requested operation isn't supported.</p>
|
|
248
|
+
*
|
|
235
249
|
* @throws {@link RedshiftServiceException}
|
|
236
250
|
* <p>Base exception class for all service exceptions from Redshift service.</p>
|
|
237
251
|
*
|
|
@@ -220,6 +220,17 @@ export interface RebootClusterCommandOutput extends RebootClusterResult, __Metad
|
|
|
220
220
|
* // MasterPasswordSecretArn: "STRING_VALUE",
|
|
221
221
|
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
222
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
|
+
* // },
|
|
223
234
|
* // },
|
|
224
235
|
* // };
|
|
225
236
|
*
|
|
@@ -262,6 +262,17 @@ export interface ResizeClusterCommandOutput extends ResizeClusterResult, __Metad
|
|
|
262
262
|
* // MasterPasswordSecretArn: "STRING_VALUE",
|
|
263
263
|
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
264
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
|
+
* // },
|
|
265
276
|
* // },
|
|
266
277
|
* // };
|
|
267
278
|
*
|
|
@@ -84,6 +84,7 @@ export interface RestoreFromClusterSnapshotCommandOutput extends RestoreFromClus
|
|
|
84
84
|
* ManageMasterPassword: true || false,
|
|
85
85
|
* MasterPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
86
86
|
* IpAddressType: "STRING_VALUE",
|
|
87
|
+
* MultiAZ: true || false,
|
|
87
88
|
* };
|
|
88
89
|
* const command = new RestoreFromClusterSnapshotCommand(input);
|
|
89
90
|
* const response = await client.send(command);
|
|
@@ -265,6 +266,17 @@ export interface RestoreFromClusterSnapshotCommandOutput extends RestoreFromClus
|
|
|
265
266
|
* // MasterPasswordSecretArn: "STRING_VALUE",
|
|
266
267
|
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
267
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
|
+
* // },
|
|
268
280
|
* // },
|
|
269
281
|
* // };
|
|
270
282
|
*
|
|
@@ -214,6 +214,17 @@ export interface ResumeClusterCommandOutput extends ResumeClusterResult, __Metad
|
|
|
214
214
|
* // MasterPasswordSecretArn: "STRING_VALUE",
|
|
215
215
|
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
216
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
|
+
* // },
|
|
217
228
|
* // },
|
|
218
229
|
* // };
|
|
219
230
|
*
|
|
@@ -236,6 +247,9 @@ export interface ResumeClusterCommandOutput extends ResumeClusterResult, __Metad
|
|
|
236
247
|
* @throws {@link InvalidClusterStateFault} (client fault)
|
|
237
248
|
* <p>The specified cluster is not in the <code>available</code> state. </p>
|
|
238
249
|
*
|
|
250
|
+
* @throws {@link UnsupportedOperationFault} (client fault)
|
|
251
|
+
* <p>The requested operation isn't supported.</p>
|
|
252
|
+
*
|
|
239
253
|
* @throws {@link RedshiftServiceException}
|
|
240
254
|
* <p>Base exception class for all service exceptions from Redshift service.</p>
|
|
241
255
|
*
|
|
@@ -213,6 +213,17 @@ export interface RotateEncryptionKeyCommandOutput extends RotateEncryptionKeyRes
|
|
|
213
213
|
* // MasterPasswordSecretArn: "STRING_VALUE",
|
|
214
214
|
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
215
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
|
+
* // },
|
|
216
227
|
* // },
|
|
217
228
|
* // };
|
|
218
229
|
*
|
|
@@ -235,6 +246,9 @@ export interface RotateEncryptionKeyCommandOutput extends RotateEncryptionKeyRes
|
|
|
235
246
|
* @throws {@link InvalidClusterStateFault} (client fault)
|
|
236
247
|
* <p>The specified cluster is not in the <code>available</code> state. </p>
|
|
237
248
|
*
|
|
249
|
+
* @throws {@link UnsupportedOperationFault} (client fault)
|
|
250
|
+
* <p>The requested operation isn't supported.</p>
|
|
251
|
+
*
|
|
238
252
|
* @throws {@link RedshiftServiceException}
|
|
239
253
|
* <p>Base exception class for all service exceptions from Redshift service.</p>
|
|
240
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";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -26,6 +26,8 @@
|
|
|
26
26
|
export * from "./RedshiftClient";
|
|
27
27
|
export * from "./Redshift";
|
|
28
28
|
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
29
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
30
|
+
export { RedshiftExtensionConfiguration } from "./extensionConfiguration";
|
|
29
31
|
export * from "./commands";
|
|
30
32
|
export * from "./pagination";
|
|
31
33
|
export * from "./waiters";
|