@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
|
@@ -2053,6 +2053,22 @@ export interface ClusterIamRole {
|
|
|
2053
2053
|
*/
|
|
2054
2054
|
ApplyStatus?: string;
|
|
2055
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
|
+
}
|
|
2056
2072
|
/**
|
|
2057
2073
|
* @public
|
|
2058
2074
|
* <p>Describes cluster attributes that are in a pending state. A change to one or more
|
|
@@ -2737,6 +2753,16 @@ export interface Cluster {
|
|
|
2737
2753
|
* <p>The IP address type for the cluster. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>
|
|
2738
2754
|
*/
|
|
2739
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;
|
|
2740
2766
|
}
|
|
2741
2767
|
/**
|
|
2742
2768
|
* @public
|
|
@@ -3917,6 +3943,11 @@ export interface CreateClusterMessage {
|
|
|
3917
3943
|
* <p>The IP address types that the cluster supports. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>
|
|
3918
3944
|
*/
|
|
3919
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;
|
|
3920
3951
|
}
|
|
3921
3952
|
/**
|
|
3922
3953
|
* @public
|
|
@@ -7253,24 +7284,6 @@ export interface DescribeEndpointAuthorizationMessage {
|
|
|
7253
7284
|
*/
|
|
7254
7285
|
Marker?: string;
|
|
7255
7286
|
}
|
|
7256
|
-
/**
|
|
7257
|
-
* @public
|
|
7258
|
-
*/
|
|
7259
|
-
export interface EndpointAuthorizationList {
|
|
7260
|
-
/**
|
|
7261
|
-
* @public
|
|
7262
|
-
* <p>The authorizations to an endpoint.</p>
|
|
7263
|
-
*/
|
|
7264
|
-
EndpointAuthorizationList?: EndpointAuthorization[];
|
|
7265
|
-
/**
|
|
7266
|
-
* @public
|
|
7267
|
-
* <p>An optional pagination token provided by a previous
|
|
7268
|
-
* <code>DescribeEndpointAuthorization</code> request. If this parameter is specified, the
|
|
7269
|
-
* response includes only records beyond the marker, up to the value specified by the
|
|
7270
|
-
* <code>MaxRecords</code> parameter.</p>
|
|
7271
|
-
*/
|
|
7272
|
-
Marker?: string;
|
|
7273
|
-
}
|
|
7274
7287
|
/**
|
|
7275
7288
|
* @internal
|
|
7276
7289
|
*/
|
|
@@ -1,6 +1,24 @@
|
|
|
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
|
+
}
|
|
4
22
|
/**
|
|
5
23
|
* @public
|
|
6
24
|
* <p></p>
|
|
@@ -2222,6 +2240,26 @@ export declare class EndpointAuthorizationNotFoundFault extends __BaseException
|
|
|
2222
2240
|
*/
|
|
2223
2241
|
constructor(opts: __ExceptionOptionType<EndpointAuthorizationNotFoundFault, __BaseException>);
|
|
2224
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
|
+
}
|
|
2225
2263
|
/**
|
|
2226
2264
|
* @public
|
|
2227
2265
|
* <p>The request parameters to get cluster credentials.</p>
|
|
@@ -2947,6 +2985,11 @@ export interface ModifyClusterMessage {
|
|
|
2947
2985
|
* <p>The IP address types that the cluster supports. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>
|
|
2948
2986
|
*/
|
|
2949
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;
|
|
2950
2993
|
}
|
|
2951
2994
|
/**
|
|
2952
2995
|
* @public
|
|
@@ -3948,6 +3991,11 @@ export interface RestoreFromClusterSnapshotMessage {
|
|
|
3948
3991
|
* <p>The IP address type for the cluster. Possible values are <code>ipv4</code> and <code>dualstack</code>.</p>
|
|
3949
3992
|
*/
|
|
3950
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;
|
|
3951
3999
|
}
|
|
3952
4000
|
/**
|
|
3953
4001
|
* @public
|
|
@@ -4216,6 +4264,10 @@ export declare const DisableSnapshotCopyResultFilterSensitiveLog: (obj: DisableS
|
|
|
4216
4264
|
* @internal
|
|
4217
4265
|
*/
|
|
4218
4266
|
export declare const EnableSnapshotCopyResultFilterSensitiveLog: (obj: EnableSnapshotCopyResult) => any;
|
|
4267
|
+
/**
|
|
4268
|
+
* @internal
|
|
4269
|
+
*/
|
|
4270
|
+
export declare const FailoverPrimaryComputeResultFilterSensitiveLog: (obj: FailoverPrimaryComputeResult) => any;
|
|
4219
4271
|
/**
|
|
4220
4272
|
* @internal
|
|
4221
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
|
|
@@ -405,6 +405,10 @@ import {
|
|
|
405
405
|
EnableSnapshotCopyCommandInput,
|
|
406
406
|
EnableSnapshotCopyCommandOutput,
|
|
407
407
|
} from "./commands/EnableSnapshotCopyCommand";
|
|
408
|
+
import {
|
|
409
|
+
FailoverPrimaryComputeCommandInput,
|
|
410
|
+
FailoverPrimaryComputeCommandOutput,
|
|
411
|
+
} from "./commands/FailoverPrimaryComputeCommand";
|
|
408
412
|
import {
|
|
409
413
|
GetClusterCredentialsCommandInput,
|
|
410
414
|
GetClusterCredentialsCommandOutput,
|
|
@@ -651,6 +655,7 @@ export type ServiceInputTypes =
|
|
|
651
655
|
| DisassociateDataShareConsumerCommandInput
|
|
652
656
|
| EnableLoggingCommandInput
|
|
653
657
|
| EnableSnapshotCopyCommandInput
|
|
658
|
+
| FailoverPrimaryComputeCommandInput
|
|
654
659
|
| GetClusterCredentialsCommandInput
|
|
655
660
|
| GetClusterCredentialsWithIAMCommandInput
|
|
656
661
|
| GetReservedNodeExchangeConfigurationOptionsCommandInput
|
|
@@ -779,6 +784,7 @@ export type ServiceOutputTypes =
|
|
|
779
784
|
| DisassociateDataShareConsumerCommandOutput
|
|
780
785
|
| EnableLoggingCommandOutput
|
|
781
786
|
| EnableSnapshotCopyCommandOutput
|
|
787
|
+
| FailoverPrimaryComputeCommandOutput
|
|
782
788
|
| GetClusterCredentialsCommandOutput
|
|
783
789
|
| GetClusterCredentialsWithIAMCommandOutput
|
|
784
790
|
| GetReservedNodeExchangeConfigurationOptionsCommandOutput
|
|
@@ -6,10 +6,8 @@ import {
|
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
8
|
} from "@smithy/types";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
EndpointAuthorizationList,
|
|
12
|
-
} from "../models/models_0";
|
|
9
|
+
import { DescribeEndpointAuthorizationMessage } from "../models/models_0";
|
|
10
|
+
import { EndpointAuthorizationList } from "../models/models_1";
|
|
13
11
|
import {
|
|
14
12
|
RedshiftClientResolvedConfig,
|
|
15
13
|
ServiceInputTypes,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
FailoverPrimaryComputeInputMessage,
|
|
11
|
+
FailoverPrimaryComputeResult,
|
|
12
|
+
} from "../models/models_1";
|
|
13
|
+
import {
|
|
14
|
+
RedshiftClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../RedshiftClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface FailoverPrimaryComputeCommandInput
|
|
20
|
+
extends FailoverPrimaryComputeInputMessage {}
|
|
21
|
+
export interface FailoverPrimaryComputeCommandOutput
|
|
22
|
+
extends FailoverPrimaryComputeResult,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class FailoverPrimaryComputeCommand extends $Command<
|
|
25
|
+
FailoverPrimaryComputeCommandInput,
|
|
26
|
+
FailoverPrimaryComputeCommandOutput,
|
|
27
|
+
RedshiftClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: FailoverPrimaryComputeCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: FailoverPrimaryComputeCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: RedshiftClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
FailoverPrimaryComputeCommandInput,
|
|
38
|
+
FailoverPrimaryComputeCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -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";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from "./RedshiftClient";
|
|
2
2
|
export * from "./Redshift";
|
|
3
3
|
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { RedshiftExtensionConfiguration } from "./extensionConfiguration";
|
|
4
6
|
export * from "./commands";
|
|
5
7
|
export * from "./pagination";
|
|
6
8
|
export * from "./waiters";
|
|
@@ -652,6 +652,10 @@ export interface ClusterIamRole {
|
|
|
652
652
|
IamRoleArn?: string;
|
|
653
653
|
ApplyStatus?: string;
|
|
654
654
|
}
|
|
655
|
+
export interface SecondaryClusterInfo {
|
|
656
|
+
AvailabilityZone?: string;
|
|
657
|
+
ClusterNodes?: ClusterNode[];
|
|
658
|
+
}
|
|
655
659
|
export interface PendingModifiedValues {
|
|
656
660
|
MasterUserPassword?: string;
|
|
657
661
|
NodeType?: string;
|
|
@@ -761,6 +765,8 @@ export interface Cluster {
|
|
|
761
765
|
MasterPasswordSecretArn?: string;
|
|
762
766
|
MasterPasswordSecretKmsKeyId?: string;
|
|
763
767
|
IpAddressType?: string;
|
|
768
|
+
MultiAZ?: string;
|
|
769
|
+
MultiAZSecondary?: SecondaryClusterInfo;
|
|
764
770
|
}
|
|
765
771
|
export declare class ClusterAlreadyExistsFault extends __BaseException {
|
|
766
772
|
readonly name: "ClusterAlreadyExistsFault";
|
|
@@ -1068,6 +1074,7 @@ export interface CreateClusterMessage {
|
|
|
1068
1074
|
ManageMasterPassword?: boolean;
|
|
1069
1075
|
MasterPasswordSecretKmsKeyId?: string;
|
|
1070
1076
|
IpAddressType?: string;
|
|
1077
|
+
MultiAZ?: boolean;
|
|
1071
1078
|
}
|
|
1072
1079
|
export interface CreateClusterResult {
|
|
1073
1080
|
Cluster?: Cluster;
|
|
@@ -2083,10 +2090,6 @@ export interface DescribeEndpointAuthorizationMessage {
|
|
|
2083
2090
|
MaxRecords?: number;
|
|
2084
2091
|
Marker?: string;
|
|
2085
2092
|
}
|
|
2086
|
-
export interface EndpointAuthorizationList {
|
|
2087
|
-
EndpointAuthorizationList?: EndpointAuthorization[];
|
|
2088
|
-
Marker?: string;
|
|
2089
|
-
}
|
|
2090
2093
|
export declare const PendingModifiedValuesFilterSensitiveLog: (
|
|
2091
2094
|
obj: PendingModifiedValues
|
|
2092
2095
|
) => any;
|
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
Cluster,
|
|
8
8
|
ClusterSecurityGroup,
|
|
9
9
|
ClusterSubnetGroup,
|
|
10
|
+
EndpointAuthorization,
|
|
10
11
|
EventSubscription,
|
|
11
12
|
HsmClientCertificate,
|
|
12
13
|
HsmConfiguration,
|
|
@@ -26,6 +27,10 @@ import {
|
|
|
26
27
|
UsageLimitFeatureType,
|
|
27
28
|
} from "./models_0";
|
|
28
29
|
import { RedshiftServiceException as __BaseException } from "./RedshiftServiceException";
|
|
30
|
+
export interface EndpointAuthorizationList {
|
|
31
|
+
EndpointAuthorizationList?: EndpointAuthorization[];
|
|
32
|
+
Marker?: string;
|
|
33
|
+
}
|
|
29
34
|
export interface DescribeEventCategoriesMessage {
|
|
30
35
|
SourceType?: string;
|
|
31
36
|
}
|
|
@@ -531,6 +536,12 @@ export declare class EndpointAuthorizationNotFoundFault extends __BaseException
|
|
|
531
536
|
>
|
|
532
537
|
);
|
|
533
538
|
}
|
|
539
|
+
export interface FailoverPrimaryComputeInputMessage {
|
|
540
|
+
ClusterIdentifier: string | undefined;
|
|
541
|
+
}
|
|
542
|
+
export interface FailoverPrimaryComputeResult {
|
|
543
|
+
Cluster?: Cluster;
|
|
544
|
+
}
|
|
534
545
|
export interface GetClusterCredentialsMessage {
|
|
535
546
|
DbUser: string | undefined;
|
|
536
547
|
DbName?: string;
|
|
@@ -663,6 +674,7 @@ export interface ModifyClusterMessage {
|
|
|
663
674
|
ManageMasterPassword?: boolean;
|
|
664
675
|
MasterPasswordSecretKmsKeyId?: string;
|
|
665
676
|
IpAddressType?: string;
|
|
677
|
+
MultiAZ?: boolean;
|
|
666
678
|
}
|
|
667
679
|
export interface ModifyClusterResult {
|
|
668
680
|
Cluster?: Cluster;
|
|
@@ -887,6 +899,7 @@ export interface RestoreFromClusterSnapshotMessage {
|
|
|
887
899
|
ManageMasterPassword?: boolean;
|
|
888
900
|
MasterPasswordSecretKmsKeyId?: string;
|
|
889
901
|
IpAddressType?: string;
|
|
902
|
+
MultiAZ?: boolean;
|
|
890
903
|
}
|
|
891
904
|
export interface RestoreFromClusterSnapshotResult {
|
|
892
905
|
Cluster?: Cluster;
|
|
@@ -952,6 +965,9 @@ export declare const DisableSnapshotCopyResultFilterSensitiveLog: (
|
|
|
952
965
|
export declare const EnableSnapshotCopyResultFilterSensitiveLog: (
|
|
953
966
|
obj: EnableSnapshotCopyResult
|
|
954
967
|
) => any;
|
|
968
|
+
export declare const FailoverPrimaryComputeResultFilterSensitiveLog: (
|
|
969
|
+
obj: FailoverPrimaryComputeResult
|
|
970
|
+
) => any;
|
|
955
971
|
export declare const ModifyClusterMessageFilterSensitiveLog: (
|
|
956
972
|
obj: ModifyClusterMessage
|
|
957
973
|
) => any;
|
|
@@ -363,6 +363,10 @@ import {
|
|
|
363
363
|
EnableSnapshotCopyCommandInput,
|
|
364
364
|
EnableSnapshotCopyCommandOutput,
|
|
365
365
|
} from "../commands/EnableSnapshotCopyCommand";
|
|
366
|
+
import {
|
|
367
|
+
FailoverPrimaryComputeCommandInput,
|
|
368
|
+
FailoverPrimaryComputeCommandOutput,
|
|
369
|
+
} from "../commands/FailoverPrimaryComputeCommand";
|
|
366
370
|
import {
|
|
367
371
|
GetClusterCredentialsCommandInput,
|
|
368
372
|
GetClusterCredentialsCommandOutput,
|
|
@@ -871,6 +875,10 @@ export declare const se_EnableSnapshotCopyCommand: (
|
|
|
871
875
|
input: EnableSnapshotCopyCommandInput,
|
|
872
876
|
context: __SerdeContext
|
|
873
877
|
) => Promise<__HttpRequest>;
|
|
878
|
+
export declare const se_FailoverPrimaryComputeCommand: (
|
|
879
|
+
input: FailoverPrimaryComputeCommandInput,
|
|
880
|
+
context: __SerdeContext
|
|
881
|
+
) => Promise<__HttpRequest>;
|
|
874
882
|
export declare const se_GetClusterCredentialsCommand: (
|
|
875
883
|
input: GetClusterCredentialsCommandInput,
|
|
876
884
|
context: __SerdeContext
|
|
@@ -1379,6 +1387,10 @@ export declare const de_EnableSnapshotCopyCommand: (
|
|
|
1379
1387
|
output: __HttpResponse,
|
|
1380
1388
|
context: __SerdeContext
|
|
1381
1389
|
) => Promise<EnableSnapshotCopyCommandOutput>;
|
|
1390
|
+
export declare const de_FailoverPrimaryComputeCommand: (
|
|
1391
|
+
output: __HttpResponse,
|
|
1392
|
+
context: __SerdeContext
|
|
1393
|
+
) => Promise<FailoverPrimaryComputeCommandOutput>;
|
|
1382
1394
|
export declare const de_GetClusterCredentialsCommand: (
|
|
1383
1395
|
output: __HttpResponse,
|
|
1384
1396
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-redshift",
|
|
3
3
|
"description": "AWS SDK for JavaScript Redshift Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.445.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.445.0",
|
|
25
|
+
"@aws-sdk/core": "3.445.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.445.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.433.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.433.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.433.0",
|