@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.
- 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/endpoint/endpointResolver.js +1 -1
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/models/models_0.js +15 -2
- package/dist-cjs/models/models_1.js +6 -1
- package/dist-cjs/protocols/Aws_query.js +211 -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/endpoint/endpointResolver.js +1 -1
- package/dist-es/index.js +1 -0
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/protocols/Aws_query.js +205 -1
- 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 +22 -0
- package/dist-types/commands/CreateClusterSubnetGroupCommand.d.ts +3 -0
- package/dist-types/commands/CreateEndpointAccessCommand.d.ts +1 -0
- package/dist-types/commands/CreateScheduledActionCommand.d.ts +7 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +13 -0
- package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +1 -0
- package/dist-types/commands/DeletePartnerCommand.d.ts +3 -0
- package/dist-types/commands/DescribeClusterSubnetGroupsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeClustersCommand.d.ts +13 -0
- package/dist-types/commands/DescribeEndpointAccessCommand.d.ts +1 -0
- package/dist-types/commands/DescribeEndpointAuthorizationCommand.d.ts +2 -1
- package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +1 -2
- 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 +16 -0
- package/dist-types/commands/EnableLoggingCommand.d.ts +3 -0
- package/dist-types/commands/EnableSnapshotCopyCommand.d.ts +13 -0
- package/dist-types/commands/FailoverPrimaryComputeCommand.d.ts +274 -0
- package/dist-types/commands/ModifyClusterCommand.d.ts +19 -0
- package/dist-types/commands/ModifyClusterDbRevisionCommand.d.ts +16 -0
- package/dist-types/commands/ModifyClusterIamRolesCommand.d.ts +13 -0
- package/dist-types/commands/ModifyClusterMaintenanceCommand.d.ts +13 -0
- package/dist-types/commands/ModifyClusterSubnetGroupCommand.d.ts +3 -0
- package/dist-types/commands/ModifyEndpointAccessCommand.d.ts +1 -0
- package/dist-types/commands/ModifyScheduledActionCommand.d.ts +7 -0
- package/dist-types/commands/ModifySnapshotCopyRetentionPeriodCommand.d.ts +13 -0
- package/dist-types/commands/PauseClusterCommand.d.ts +16 -0
- package/dist-types/commands/RebootClusterCommand.d.ts +13 -0
- package/dist-types/commands/ResizeClusterCommand.d.ts +13 -0
- package/dist-types/commands/RestoreFromClusterSnapshotCommand.d.ts +19 -0
- package/dist-types/commands/ResumeClusterCommand.d.ts +16 -0
- package/dist-types/commands/RotateEncryptionKeyCommand.d.ts +16 -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 +1 -0
- package/dist-types/models/models_0.d.ts +64 -31
- package/dist-types/models/models_1.d.ts +76 -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/DescribeEventCategoriesCommand.d.ts +4 -2
- 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 +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +18 -7
- package/dist-types/ts3.4/models/models_1.d.ts +21 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
- package/package.json +7 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
2
|
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
4
|
-
import { AccessToClusterDeniedFault, AccessToSnapshotDeniedFault, AuthenticationProfileAlreadyExistsFault, AuthenticationProfileNotFoundFault, AuthenticationProfileQuotaExceededFault, AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, BatchDeleteRequestSizeExceededFault, BatchModifyClusterSnapshotsLimitExceededFault, BucketNotFoundFault, ClusterAlreadyExistsFault, ClusterNotFoundFault, ClusterOnLatestRevisionFault, ClusterParameterGroupAlreadyExistsFault, ClusterParameterGroupNotFoundFault, ClusterParameterGroupQuotaExceededFault, ClusterQuotaExceededFault, ClusterSecurityGroupAlreadyExistsFault, ClusterSecurityGroupNotFoundFault, ClusterSecurityGroupQuotaExceededFault, ClusterSnapshotAlreadyExistsFault, ClusterSnapshotNotFoundFault, ClusterSnapshotQuotaExceededFault, ClusterSubnetGroupAlreadyExistsFault, ClusterSubnetGroupNotFoundFault, ClusterSubnetGroupQuotaExceededFault, ClusterSubnetQuotaExceededFault, ConflictPolicyUpdateFault, CopyToRegionDisabledFault, CustomCnameAssociationFault, CustomDomainAssociationNotFoundFault, DependentServiceRequestThrottlingFault, DependentServiceUnavailableFault, EndpointAlreadyExistsFault, EndpointAuthorizationAlreadyExistsFault, EndpointAuthorizationsPerClusterLimitExceededFault, EndpointNotFoundFault, EndpointsPerAuthorizationLimitExceededFault, EndpointsPerClusterLimitExceededFault, EventSubscriptionQuotaExceededFault, HsmClientCertificateAlreadyExistsFault, HsmClientCertificateNotFoundFault, HsmClientCertificateQuotaExceededFault, HsmConfigurationAlreadyExistsFault, HsmConfigurationNotFoundFault, HsmConfigurationQuotaExceededFault, InsufficientClusterCapacityFault, InvalidAuthenticationProfileRequestFault, InvalidAuthorizationStateFault, InvalidClusterParameterGroupStateFault, InvalidClusterSecurityGroupStateFault, InvalidClusterSnapshotScheduleStateFault, InvalidClusterSnapshotStateFault, InvalidClusterStateFault, InvalidClusterSubnetGroupStateFault, InvalidClusterSubnetStateFault, InvalidClusterTrackFault, InvalidDataShareFault, InvalidElasticIpFault, InvalidEndpointStateFault, InvalidHsmClientCertificateStateFault, InvalidHsmConfigurationStateFault, InvalidNamespaceFault, InvalidReservedNodeStateFault, InvalidRetentionPeriodFault, InvalidScheduledActionFault, InvalidScheduleFault, InvalidSnapshotCopyGrantStateFault, InvalidSubnet, InvalidSubscriptionStateFault, InvalidTagFault, InvalidUsageLimitFault, InvalidVPCNetworkStateFault, LimitExceededFault, NumberOfNodesPerClusterLimitExceededFault, NumberOfNodesQuotaExceededFault, PartnerNotFoundFault, ReservedNodeAlreadyExistsFault, ReservedNodeAlreadyMigratedFault, ReservedNodeNotFoundFault, ReservedNodeOfferingNotFoundFault, ResizeNotFoundFault, ResourceNotFoundFault, ScheduledActionAlreadyExistsFault, ScheduledActionNotFoundFault, ScheduledActionQuotaExceededFault, ScheduledActionTypeUnsupportedFault, ScheduleDefinitionTypeUnsupportedFault, SnapshotCopyGrantAlreadyExistsFault, SnapshotCopyGrantNotFoundFault, SnapshotCopyGrantQuotaExceededFault, SnapshotScheduleAlreadyExistsFault, SnapshotScheduleNotFoundFault, SnapshotScheduleQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceNotFoundFault, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionEventIdNotFoundFault, SubscriptionNotFoundFault, SubscriptionSeverityNotFoundFault, TagLimitExceededFault, UnauthorizedOperation, UnauthorizedPartnerIntegrationFault, UnsupportedOperationFault, UsageLimitAlreadyExistsFault, UsageLimitNotFoundFault, } from "../models/models_0";
|
|
4
|
+
import { AccessToClusterDeniedFault, AccessToSnapshotDeniedFault, AuthenticationProfileAlreadyExistsFault, AuthenticationProfileNotFoundFault, AuthenticationProfileQuotaExceededFault, AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, BatchDeleteRequestSizeExceededFault, BatchModifyClusterSnapshotsLimitExceededFault, BucketNotFoundFault, ClusterAlreadyExistsFault, ClusterNotFoundFault, ClusterOnLatestRevisionFault, ClusterParameterGroupAlreadyExistsFault, ClusterParameterGroupNotFoundFault, ClusterParameterGroupQuotaExceededFault, ClusterQuotaExceededFault, ClusterSecurityGroupAlreadyExistsFault, ClusterSecurityGroupNotFoundFault, ClusterSecurityGroupQuotaExceededFault, ClusterSnapshotAlreadyExistsFault, ClusterSnapshotNotFoundFault, ClusterSnapshotQuotaExceededFault, ClusterSubnetGroupAlreadyExistsFault, ClusterSubnetGroupNotFoundFault, ClusterSubnetGroupQuotaExceededFault, ClusterSubnetQuotaExceededFault, ConflictPolicyUpdateFault, CopyToRegionDisabledFault, CustomCnameAssociationFault, CustomDomainAssociationNotFoundFault, DependentServiceRequestThrottlingFault, DependentServiceUnavailableFault, EndpointAlreadyExistsFault, EndpointAuthorizationAlreadyExistsFault, EndpointAuthorizationsPerClusterLimitExceededFault, EndpointNotFoundFault, EndpointsPerAuthorizationLimitExceededFault, EndpointsPerClusterLimitExceededFault, EventSubscriptionQuotaExceededFault, HsmClientCertificateAlreadyExistsFault, HsmClientCertificateNotFoundFault, HsmClientCertificateQuotaExceededFault, HsmConfigurationAlreadyExistsFault, HsmConfigurationNotFoundFault, HsmConfigurationQuotaExceededFault, InsufficientClusterCapacityFault, InvalidAuthenticationProfileRequestFault, InvalidAuthorizationStateFault, InvalidClusterParameterGroupStateFault, InvalidClusterSecurityGroupStateFault, InvalidClusterSnapshotScheduleStateFault, InvalidClusterSnapshotStateFault, InvalidClusterStateFault, InvalidClusterSubnetGroupStateFault, InvalidClusterSubnetStateFault, InvalidClusterTrackFault, InvalidDataShareFault, InvalidElasticIpFault, InvalidEndpointStateFault, InvalidHsmClientCertificateStateFault, InvalidHsmConfigurationStateFault, InvalidNamespaceFault, InvalidReservedNodeStateFault, InvalidRetentionPeriodFault, InvalidScheduledActionFault, InvalidScheduleFault, InvalidSnapshotCopyGrantStateFault, InvalidSubnet, InvalidSubscriptionStateFault, InvalidTagFault, InvalidUsageLimitFault, InvalidVPCNetworkStateFault, Ipv6CidrBlockNotFoundFault, LimitExceededFault, NumberOfNodesPerClusterLimitExceededFault, NumberOfNodesQuotaExceededFault, PartnerNotFoundFault, ReservedNodeAlreadyExistsFault, ReservedNodeAlreadyMigratedFault, ReservedNodeNotFoundFault, ReservedNodeOfferingNotFoundFault, ResizeNotFoundFault, ResourceNotFoundFault, ScheduledActionAlreadyExistsFault, ScheduledActionNotFoundFault, ScheduledActionQuotaExceededFault, ScheduledActionTypeUnsupportedFault, ScheduleDefinitionTypeUnsupportedFault, SnapshotCopyGrantAlreadyExistsFault, SnapshotCopyGrantNotFoundFault, SnapshotCopyGrantQuotaExceededFault, SnapshotScheduleAlreadyExistsFault, SnapshotScheduleNotFoundFault, SnapshotScheduleQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceNotFoundFault, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionEventIdNotFoundFault, SubscriptionNotFoundFault, SubscriptionSeverityNotFoundFault, TagLimitExceededFault, UnauthorizedOperation, UnauthorizedPartnerIntegrationFault, UnsupportedOperationFault, UsageLimitAlreadyExistsFault, UsageLimitNotFoundFault, } from "../models/models_0";
|
|
5
5
|
import { EndpointAuthorizationNotFoundFault, IncompatibleOrderableOptions, InProgressTableRestoreQuotaExceededFault, InsufficientS3BucketPolicyFault, IntegrationNotFoundFault, InvalidPolicyFault, InvalidRestoreFault, InvalidS3BucketNameFault, InvalidS3KeyPrefixFault, InvalidTableRestoreArgumentFault, ReservedNodeExchangeNotFoundFault, ReservedNodeQuotaExceededFault, SnapshotCopyAlreadyDisabledFault, SnapshotCopyAlreadyEnabledFault, SnapshotCopyDisabledFault, SnapshotScheduleUpdateInProgressFault, SubnetAlreadyInUse, TableLimitExceededFault, TableRestoreNotFoundFault, UnknownSnapshotCopyRegionFault, UnsupportedOptionFault, } from "../models/models_1";
|
|
6
6
|
import { RedshiftServiceException as __BaseException } from "../models/RedshiftServiceException";
|
|
7
7
|
export const se_AcceptReservedNodeExchangeCommand = async (input, context) => {
|
|
@@ -902,6 +902,16 @@ export const se_EnableSnapshotCopyCommand = async (input, context) => {
|
|
|
902
902
|
});
|
|
903
903
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
904
904
|
};
|
|
905
|
+
export const se_FailoverPrimaryComputeCommand = async (input, context) => {
|
|
906
|
+
const headers = SHARED_HEADERS;
|
|
907
|
+
let body;
|
|
908
|
+
body = buildFormUrlencodedString({
|
|
909
|
+
...se_FailoverPrimaryComputeInputMessage(input, context),
|
|
910
|
+
Action: "FailoverPrimaryCompute",
|
|
911
|
+
Version: "2012-12-01",
|
|
912
|
+
});
|
|
913
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
914
|
+
};
|
|
905
915
|
export const se_GetClusterCredentialsCommand = async (input, context) => {
|
|
906
916
|
const headers = SHARED_HEADERS;
|
|
907
917
|
let body;
|
|
@@ -1351,6 +1361,9 @@ const de_AddPartnerCommandError = async (output, context) => {
|
|
|
1351
1361
|
case "UnauthorizedPartnerIntegration":
|
|
1352
1362
|
case "com.amazonaws.redshift#UnauthorizedPartnerIntegrationFault":
|
|
1353
1363
|
throw await de_UnauthorizedPartnerIntegrationFaultRes(parsedOutput, context);
|
|
1364
|
+
case "UnsupportedOperation":
|
|
1365
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
1366
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
1354
1367
|
default:
|
|
1355
1368
|
const parsedBody = parsedOutput.body;
|
|
1356
1369
|
return throwDefaultError({
|
|
@@ -1693,6 +1706,9 @@ const de_CopyClusterSnapshotCommandError = async (output, context) => {
|
|
|
1693
1706
|
};
|
|
1694
1707
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1695
1708
|
switch (errorCode) {
|
|
1709
|
+
case "ClusterNotFound":
|
|
1710
|
+
case "com.amazonaws.redshift#ClusterNotFoundFault":
|
|
1711
|
+
throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
|
|
1696
1712
|
case "ClusterSnapshotAlreadyExists":
|
|
1697
1713
|
case "com.amazonaws.redshift#ClusterSnapshotAlreadyExistsFault":
|
|
1698
1714
|
throw await de_ClusterSnapshotAlreadyExistsFaultRes(parsedOutput, context);
|
|
@@ -1823,6 +1839,9 @@ const de_CreateClusterCommandError = async (output, context) => {
|
|
|
1823
1839
|
case "InvalidVPCNetworkStateFault":
|
|
1824
1840
|
case "com.amazonaws.redshift#InvalidVPCNetworkStateFault":
|
|
1825
1841
|
throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
|
|
1842
|
+
case "Ipv6CidrBlockNotFoundFault":
|
|
1843
|
+
case "com.amazonaws.redshift#Ipv6CidrBlockNotFoundFault":
|
|
1844
|
+
throw await de_Ipv6CidrBlockNotFoundFaultRes(parsedOutput, context);
|
|
1826
1845
|
case "LimitExceededFault":
|
|
1827
1846
|
case "com.amazonaws.redshift#LimitExceededFault":
|
|
1828
1847
|
throw await de_LimitExceededFaultRes(parsedOutput, context);
|
|
@@ -1841,6 +1860,9 @@ const de_CreateClusterCommandError = async (output, context) => {
|
|
|
1841
1860
|
case "UnauthorizedOperation":
|
|
1842
1861
|
case "com.amazonaws.redshift#UnauthorizedOperation":
|
|
1843
1862
|
throw await de_UnauthorizedOperationRes(parsedOutput, context);
|
|
1863
|
+
case "UnsupportedOperation":
|
|
1864
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
1865
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
1844
1866
|
default:
|
|
1845
1867
|
const parsedBody = parsedOutput.body;
|
|
1846
1868
|
return throwDefaultError({
|
|
@@ -2296,6 +2318,9 @@ const de_CreateScheduledActionCommandError = async (output, context) => {
|
|
|
2296
2318
|
};
|
|
2297
2319
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2298
2320
|
switch (errorCode) {
|
|
2321
|
+
case "ClusterNotFound":
|
|
2322
|
+
case "com.amazonaws.redshift#ClusterNotFoundFault":
|
|
2323
|
+
throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
|
|
2299
2324
|
case "InvalidSchedule":
|
|
2300
2325
|
case "com.amazonaws.redshift#InvalidScheduleFault":
|
|
2301
2326
|
throw await de_InvalidScheduleFaultRes(parsedOutput, context);
|
|
@@ -2314,6 +2339,9 @@ const de_CreateScheduledActionCommandError = async (output, context) => {
|
|
|
2314
2339
|
case "UnauthorizedOperation":
|
|
2315
2340
|
case "com.amazonaws.redshift#UnauthorizedOperation":
|
|
2316
2341
|
throw await de_UnauthorizedOperationRes(parsedOutput, context);
|
|
2342
|
+
case "UnsupportedOperation":
|
|
2343
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
2344
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
2317
2345
|
default:
|
|
2318
2346
|
const parsedBody = parsedOutput.body;
|
|
2319
2347
|
return throwDefaultError({
|
|
@@ -2954,6 +2982,9 @@ const de_DeletePartnerCommandError = async (output, context) => {
|
|
|
2954
2982
|
case "UnauthorizedPartnerIntegration":
|
|
2955
2983
|
case "com.amazonaws.redshift#UnauthorizedPartnerIntegrationFault":
|
|
2956
2984
|
throw await de_UnauthorizedPartnerIntegrationFaultRes(parsedOutput, context);
|
|
2985
|
+
case "UnsupportedOperation":
|
|
2986
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
2987
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
2957
2988
|
default:
|
|
2958
2989
|
const parsedBody = parsedOutput.body;
|
|
2959
2990
|
return throwDefaultError({
|
|
@@ -3973,6 +4004,9 @@ const de_DescribeLoggingStatusCommandError = async (output, context) => {
|
|
|
3973
4004
|
case "ClusterNotFound":
|
|
3974
4005
|
case "com.amazonaws.redshift#ClusterNotFoundFault":
|
|
3975
4006
|
throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
|
|
4007
|
+
case "UnsupportedOperation":
|
|
4008
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
4009
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
3976
4010
|
default:
|
|
3977
4011
|
const parsedBody = parsedOutput.body;
|
|
3978
4012
|
return throwDefaultError({
|
|
@@ -4078,6 +4112,9 @@ const de_DescribePartnersCommandError = async (output, context) => {
|
|
|
4078
4112
|
case "UnauthorizedPartnerIntegration":
|
|
4079
4113
|
case "com.amazonaws.redshift#UnauthorizedPartnerIntegrationFault":
|
|
4080
4114
|
throw await de_UnauthorizedPartnerIntegrationFaultRes(parsedOutput, context);
|
|
4115
|
+
case "UnsupportedOperation":
|
|
4116
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
4117
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
4081
4118
|
default:
|
|
4082
4119
|
const parsedBody = parsedOutput.body;
|
|
4083
4120
|
return throwDefaultError({
|
|
@@ -4224,6 +4261,9 @@ const de_DescribeResizeCommandError = async (output, context) => {
|
|
|
4224
4261
|
case "ResizeNotFound":
|
|
4225
4262
|
case "com.amazonaws.redshift#ResizeNotFoundFault":
|
|
4226
4263
|
throw await de_ResizeNotFoundFaultRes(parsedOutput, context);
|
|
4264
|
+
case "UnsupportedOperation":
|
|
4265
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
4266
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
4227
4267
|
default:
|
|
4228
4268
|
const parsedBody = parsedOutput.body;
|
|
4229
4269
|
return throwDefaultError({
|
|
@@ -4486,6 +4526,9 @@ const de_DisableLoggingCommandError = async (output, context) => {
|
|
|
4486
4526
|
case "InvalidClusterState":
|
|
4487
4527
|
case "com.amazonaws.redshift#InvalidClusterStateFault":
|
|
4488
4528
|
throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
|
|
4529
|
+
case "UnsupportedOperation":
|
|
4530
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
4531
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
4489
4532
|
default:
|
|
4490
4533
|
const parsedBody = parsedOutput.body;
|
|
4491
4534
|
return throwDefaultError({
|
|
@@ -4527,6 +4570,9 @@ const de_DisableSnapshotCopyCommandError = async (output, context) => {
|
|
|
4527
4570
|
case "UnauthorizedOperation":
|
|
4528
4571
|
case "com.amazonaws.redshift#UnauthorizedOperation":
|
|
4529
4572
|
throw await de_UnauthorizedOperationRes(parsedOutput, context);
|
|
4573
|
+
case "UnsupportedOperation":
|
|
4574
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
4575
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
4530
4576
|
default:
|
|
4531
4577
|
const parsedBody = parsedOutput.body;
|
|
4532
4578
|
return throwDefaultError({
|
|
@@ -4609,6 +4655,9 @@ const de_EnableLoggingCommandError = async (output, context) => {
|
|
|
4609
4655
|
case "InvalidS3KeyPrefixFault":
|
|
4610
4656
|
case "com.amazonaws.redshift#InvalidS3KeyPrefixFault":
|
|
4611
4657
|
throw await de_InvalidS3KeyPrefixFaultRes(parsedOutput, context);
|
|
4658
|
+
case "UnsupportedOperation":
|
|
4659
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
4660
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
4612
4661
|
default:
|
|
4613
4662
|
const parsedBody = parsedOutput.body;
|
|
4614
4663
|
return throwDefaultError({
|
|
@@ -4680,6 +4729,47 @@ const de_EnableSnapshotCopyCommandError = async (output, context) => {
|
|
|
4680
4729
|
});
|
|
4681
4730
|
}
|
|
4682
4731
|
};
|
|
4732
|
+
export const de_FailoverPrimaryComputeCommand = async (output, context) => {
|
|
4733
|
+
if (output.statusCode >= 300) {
|
|
4734
|
+
return de_FailoverPrimaryComputeCommandError(output, context);
|
|
4735
|
+
}
|
|
4736
|
+
const data = await parseBody(output.body, context);
|
|
4737
|
+
let contents = {};
|
|
4738
|
+
contents = de_FailoverPrimaryComputeResult(data.FailoverPrimaryComputeResult, context);
|
|
4739
|
+
const response = {
|
|
4740
|
+
$metadata: deserializeMetadata(output),
|
|
4741
|
+
...contents,
|
|
4742
|
+
};
|
|
4743
|
+
return response;
|
|
4744
|
+
};
|
|
4745
|
+
const de_FailoverPrimaryComputeCommandError = async (output, context) => {
|
|
4746
|
+
const parsedOutput = {
|
|
4747
|
+
...output,
|
|
4748
|
+
body: await parseErrorBody(output.body, context),
|
|
4749
|
+
};
|
|
4750
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4751
|
+
switch (errorCode) {
|
|
4752
|
+
case "ClusterNotFound":
|
|
4753
|
+
case "com.amazonaws.redshift#ClusterNotFoundFault":
|
|
4754
|
+
throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
|
|
4755
|
+
case "InvalidClusterState":
|
|
4756
|
+
case "com.amazonaws.redshift#InvalidClusterStateFault":
|
|
4757
|
+
throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
|
|
4758
|
+
case "UnauthorizedOperation":
|
|
4759
|
+
case "com.amazonaws.redshift#UnauthorizedOperation":
|
|
4760
|
+
throw await de_UnauthorizedOperationRes(parsedOutput, context);
|
|
4761
|
+
case "UnsupportedOperation":
|
|
4762
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
4763
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
4764
|
+
default:
|
|
4765
|
+
const parsedBody = parsedOutput.body;
|
|
4766
|
+
return throwDefaultError({
|
|
4767
|
+
output,
|
|
4768
|
+
parsedBody: parsedBody.Error,
|
|
4769
|
+
errorCode,
|
|
4770
|
+
});
|
|
4771
|
+
}
|
|
4772
|
+
};
|
|
4683
4773
|
export const de_GetClusterCredentialsCommand = async (output, context) => {
|
|
4684
4774
|
if (output.statusCode >= 300) {
|
|
4685
4775
|
return de_GetClusterCredentialsCommandError(output, context);
|
|
@@ -5026,6 +5116,9 @@ const de_ModifyClusterCommandError = async (output, context) => {
|
|
|
5026
5116
|
case "InvalidRetentionPeriodFault":
|
|
5027
5117
|
case "com.amazonaws.redshift#InvalidRetentionPeriodFault":
|
|
5028
5118
|
throw await de_InvalidRetentionPeriodFaultRes(parsedOutput, context);
|
|
5119
|
+
case "Ipv6CidrBlockNotFoundFault":
|
|
5120
|
+
case "com.amazonaws.redshift#Ipv6CidrBlockNotFoundFault":
|
|
5121
|
+
throw await de_Ipv6CidrBlockNotFoundFaultRes(parsedOutput, context);
|
|
5029
5122
|
case "LimitExceededFault":
|
|
5030
5123
|
case "com.amazonaws.redshift#LimitExceededFault":
|
|
5031
5124
|
throw await de_LimitExceededFaultRes(parsedOutput, context);
|
|
@@ -5085,6 +5178,9 @@ const de_ModifyClusterDbRevisionCommandError = async (output, context) => {
|
|
|
5085
5178
|
case "InvalidClusterState":
|
|
5086
5179
|
case "com.amazonaws.redshift#InvalidClusterStateFault":
|
|
5087
5180
|
throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
|
|
5181
|
+
case "UnsupportedOperation":
|
|
5182
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
5183
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
5088
5184
|
default:
|
|
5089
5185
|
const parsedBody = parsedOutput.body;
|
|
5090
5186
|
return throwDefaultError({
|
|
@@ -5480,6 +5576,9 @@ const de_ModifyScheduledActionCommandError = async (output, context) => {
|
|
|
5480
5576
|
};
|
|
5481
5577
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
5482
5578
|
switch (errorCode) {
|
|
5579
|
+
case "ClusterNotFound":
|
|
5580
|
+
case "com.amazonaws.redshift#ClusterNotFoundFault":
|
|
5581
|
+
throw await de_ClusterNotFoundFaultRes(parsedOutput, context);
|
|
5483
5582
|
case "InvalidSchedule":
|
|
5484
5583
|
case "com.amazonaws.redshift#InvalidScheduleFault":
|
|
5485
5584
|
throw await de_InvalidScheduleFaultRes(parsedOutput, context);
|
|
@@ -5495,6 +5594,9 @@ const de_ModifyScheduledActionCommandError = async (output, context) => {
|
|
|
5495
5594
|
case "UnauthorizedOperation":
|
|
5496
5595
|
case "com.amazonaws.redshift#UnauthorizedOperation":
|
|
5497
5596
|
throw await de_UnauthorizedOperationRes(parsedOutput, context);
|
|
5597
|
+
case "UnsupportedOperation":
|
|
5598
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
5599
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
5498
5600
|
default:
|
|
5499
5601
|
const parsedBody = parsedOutput.body;
|
|
5500
5602
|
return throwDefaultError({
|
|
@@ -5650,6 +5752,9 @@ const de_PauseClusterCommandError = async (output, context) => {
|
|
|
5650
5752
|
case "InvalidClusterState":
|
|
5651
5753
|
case "com.amazonaws.redshift#InvalidClusterStateFault":
|
|
5652
5754
|
throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
|
|
5755
|
+
case "UnsupportedOperation":
|
|
5756
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
5757
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
5653
5758
|
default:
|
|
5654
5759
|
const parsedBody = parsedOutput.body;
|
|
5655
5760
|
return throwDefaultError({
|
|
@@ -6000,6 +6105,9 @@ const de_RestoreFromClusterSnapshotCommandError = async (output, context) => {
|
|
|
6000
6105
|
case "InvalidVPCNetworkStateFault":
|
|
6001
6106
|
case "com.amazonaws.redshift#InvalidVPCNetworkStateFault":
|
|
6002
6107
|
throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
|
|
6108
|
+
case "Ipv6CidrBlockNotFoundFault":
|
|
6109
|
+
case "com.amazonaws.redshift#Ipv6CidrBlockNotFoundFault":
|
|
6110
|
+
throw await de_Ipv6CidrBlockNotFoundFaultRes(parsedOutput, context);
|
|
6003
6111
|
case "LimitExceededFault":
|
|
6004
6112
|
case "com.amazonaws.redshift#LimitExceededFault":
|
|
6005
6113
|
throw await de_LimitExceededFaultRes(parsedOutput, context);
|
|
@@ -6121,6 +6229,9 @@ const de_ResumeClusterCommandError = async (output, context) => {
|
|
|
6121
6229
|
case "InvalidClusterState":
|
|
6122
6230
|
case "com.amazonaws.redshift#InvalidClusterStateFault":
|
|
6123
6231
|
throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
|
|
6232
|
+
case "UnsupportedOperation":
|
|
6233
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
6234
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
6124
6235
|
default:
|
|
6125
6236
|
const parsedBody = parsedOutput.body;
|
|
6126
6237
|
return throwDefaultError({
|
|
@@ -6288,6 +6399,9 @@ const de_RotateEncryptionKeyCommandError = async (output, context) => {
|
|
|
6288
6399
|
case "InvalidClusterState":
|
|
6289
6400
|
case "com.amazonaws.redshift#InvalidClusterStateFault":
|
|
6290
6401
|
throw await de_InvalidClusterStateFaultRes(parsedOutput, context);
|
|
6402
|
+
case "UnsupportedOperation":
|
|
6403
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
6404
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
6291
6405
|
default:
|
|
6292
6406
|
const parsedBody = parsedOutput.body;
|
|
6293
6407
|
return throwDefaultError({
|
|
@@ -6326,6 +6440,9 @@ const de_UpdatePartnerStatusCommandError = async (output, context) => {
|
|
|
6326
6440
|
case "UnauthorizedPartnerIntegration":
|
|
6327
6441
|
case "com.amazonaws.redshift#UnauthorizedPartnerIntegrationFault":
|
|
6328
6442
|
throw await de_UnauthorizedPartnerIntegrationFaultRes(parsedOutput, context);
|
|
6443
|
+
case "UnsupportedOperation":
|
|
6444
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
6445
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
6329
6446
|
default:
|
|
6330
6447
|
const parsedBody = parsedOutput.body;
|
|
6331
6448
|
return throwDefaultError({
|
|
@@ -7091,6 +7208,15 @@ const de_InvalidVPCNetworkStateFaultRes = async (parsedOutput, context) => {
|
|
|
7091
7208
|
});
|
|
7092
7209
|
return __decorateServiceException(exception, body);
|
|
7093
7210
|
};
|
|
7211
|
+
const de_Ipv6CidrBlockNotFoundFaultRes = async (parsedOutput, context) => {
|
|
7212
|
+
const body = parsedOutput.body;
|
|
7213
|
+
const deserialized = de_Ipv6CidrBlockNotFoundFault(body.Error, context);
|
|
7214
|
+
const exception = new Ipv6CidrBlockNotFoundFault({
|
|
7215
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
7216
|
+
...deserialized,
|
|
7217
|
+
});
|
|
7218
|
+
return __decorateServiceException(exception, body);
|
|
7219
|
+
};
|
|
7094
7220
|
const de_LimitExceededFaultRes = async (parsedOutput, context) => {
|
|
7095
7221
|
const body = parsedOutput.body;
|
|
7096
7222
|
const deserialized = de_LimitExceededFault(body.Error, context);
|
|
@@ -7831,6 +7957,12 @@ const se_CreateClusterMessage = (input, context) => {
|
|
|
7831
7957
|
if (input.MasterPasswordSecretKmsKeyId != null) {
|
|
7832
7958
|
entries["MasterPasswordSecretKmsKeyId"] = input.MasterPasswordSecretKmsKeyId;
|
|
7833
7959
|
}
|
|
7960
|
+
if (input.IpAddressType != null) {
|
|
7961
|
+
entries["IpAddressType"] = input.IpAddressType;
|
|
7962
|
+
}
|
|
7963
|
+
if (input.MultiAZ != null) {
|
|
7964
|
+
entries["MultiAZ"] = input.MultiAZ;
|
|
7965
|
+
}
|
|
7834
7966
|
return entries;
|
|
7835
7967
|
};
|
|
7836
7968
|
const se_CreateClusterParameterGroupMessage = (input, context) => {
|
|
@@ -9323,6 +9455,13 @@ const se_EventCategoriesList = (input, context) => {
|
|
|
9323
9455
|
}
|
|
9324
9456
|
return entries;
|
|
9325
9457
|
};
|
|
9458
|
+
const se_FailoverPrimaryComputeInputMessage = (input, context) => {
|
|
9459
|
+
const entries = {};
|
|
9460
|
+
if (input.ClusterIdentifier != null) {
|
|
9461
|
+
entries["ClusterIdentifier"] = input.ClusterIdentifier;
|
|
9462
|
+
}
|
|
9463
|
+
return entries;
|
|
9464
|
+
};
|
|
9326
9465
|
const se_GetClusterCredentialsMessage = (input, context) => {
|
|
9327
9466
|
const entries = {};
|
|
9328
9467
|
if (input.DbUser != null) {
|
|
@@ -9613,6 +9752,12 @@ const se_ModifyClusterMessage = (input, context) => {
|
|
|
9613
9752
|
if (input.MasterPasswordSecretKmsKeyId != null) {
|
|
9614
9753
|
entries["MasterPasswordSecretKmsKeyId"] = input.MasterPasswordSecretKmsKeyId;
|
|
9615
9754
|
}
|
|
9755
|
+
if (input.IpAddressType != null) {
|
|
9756
|
+
entries["IpAddressType"] = input.IpAddressType;
|
|
9757
|
+
}
|
|
9758
|
+
if (input.MultiAZ != null) {
|
|
9759
|
+
entries["MultiAZ"] = input.MultiAZ;
|
|
9760
|
+
}
|
|
9616
9761
|
return entries;
|
|
9617
9762
|
};
|
|
9618
9763
|
const se_ModifyClusterParameterGroupMessage = (input, context) => {
|
|
@@ -10133,6 +10278,12 @@ const se_RestoreFromClusterSnapshotMessage = (input, context) => {
|
|
|
10133
10278
|
if (input.MasterPasswordSecretKmsKeyId != null) {
|
|
10134
10279
|
entries["MasterPasswordSecretKmsKeyId"] = input.MasterPasswordSecretKmsKeyId;
|
|
10135
10280
|
}
|
|
10281
|
+
if (input.IpAddressType != null) {
|
|
10282
|
+
entries["IpAddressType"] = input.IpAddressType;
|
|
10283
|
+
}
|
|
10284
|
+
if (input.MultiAZ != null) {
|
|
10285
|
+
entries["MultiAZ"] = input.MultiAZ;
|
|
10286
|
+
}
|
|
10136
10287
|
return entries;
|
|
10137
10288
|
};
|
|
10138
10289
|
const se_RestoreTableFromClusterSnapshotMessage = (input, context) => {
|
|
@@ -10976,6 +11127,15 @@ const de_Cluster = (output, context) => {
|
|
|
10976
11127
|
if (output["MasterPasswordSecretKmsKeyId"] !== undefined) {
|
|
10977
11128
|
contents.MasterPasswordSecretKmsKeyId = __expectString(output["MasterPasswordSecretKmsKeyId"]);
|
|
10978
11129
|
}
|
|
11130
|
+
if (output["IpAddressType"] !== undefined) {
|
|
11131
|
+
contents.IpAddressType = __expectString(output["IpAddressType"]);
|
|
11132
|
+
}
|
|
11133
|
+
if (output["MultiAZ"] !== undefined) {
|
|
11134
|
+
contents.MultiAZ = __expectString(output["MultiAZ"]);
|
|
11135
|
+
}
|
|
11136
|
+
if (output["MultiAZSecondary"] !== undefined) {
|
|
11137
|
+
contents.MultiAZSecondary = de_SecondaryClusterInfo(output["MultiAZSecondary"], context);
|
|
11138
|
+
}
|
|
10979
11139
|
return contents;
|
|
10980
11140
|
};
|
|
10981
11141
|
const de_ClusterAlreadyExistsFault = (output, context) => {
|
|
@@ -11414,6 +11574,13 @@ const de_ClusterSubnetGroup = (output, context) => {
|
|
|
11414
11574
|
else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
11415
11575
|
contents.Tags = de_TagList(__getArrayIfSingleItem(output["Tags"]["Tag"]), context);
|
|
11416
11576
|
}
|
|
11577
|
+
if (output.SupportedClusterIpAddressTypes === "") {
|
|
11578
|
+
contents.SupportedClusterIpAddressTypes = [];
|
|
11579
|
+
}
|
|
11580
|
+
else if (output["SupportedClusterIpAddressTypes"] !== undefined &&
|
|
11581
|
+
output["SupportedClusterIpAddressTypes"]["item"] !== undefined) {
|
|
11582
|
+
contents.SupportedClusterIpAddressTypes = de_ValueStringList(__getArrayIfSingleItem(output["SupportedClusterIpAddressTypes"]["item"]), context);
|
|
11583
|
+
}
|
|
11417
11584
|
return contents;
|
|
11418
11585
|
};
|
|
11419
11586
|
const de_ClusterSubnetGroupAlreadyExistsFault = (output, context) => {
|
|
@@ -12311,6 +12478,13 @@ const de_EventSubscriptionsMessage = (output, context) => {
|
|
|
12311
12478
|
}
|
|
12312
12479
|
return contents;
|
|
12313
12480
|
};
|
|
12481
|
+
const de_FailoverPrimaryComputeResult = (output, context) => {
|
|
12482
|
+
const contents = {};
|
|
12483
|
+
if (output["Cluster"] !== undefined) {
|
|
12484
|
+
contents.Cluster = de_Cluster(output["Cluster"], context);
|
|
12485
|
+
}
|
|
12486
|
+
return contents;
|
|
12487
|
+
};
|
|
12314
12488
|
const de_GetReservedNodeExchangeConfigurationOptionsOutputMessage = (output, context) => {
|
|
12315
12489
|
const contents = {};
|
|
12316
12490
|
if (output["Marker"] !== undefined) {
|
|
@@ -12840,6 +13014,13 @@ const de_IPRangeList = (output, context) => {
|
|
|
12840
13014
|
return de_IPRange(entry, context);
|
|
12841
13015
|
});
|
|
12842
13016
|
};
|
|
13017
|
+
const de_Ipv6CidrBlockNotFoundFault = (output, context) => {
|
|
13018
|
+
const contents = {};
|
|
13019
|
+
if (output["message"] !== undefined) {
|
|
13020
|
+
contents.message = __expectString(output["message"]);
|
|
13021
|
+
}
|
|
13022
|
+
return contents;
|
|
13023
|
+
};
|
|
12843
13024
|
const de_LimitExceededFault = (output, context) => {
|
|
12844
13025
|
const contents = {};
|
|
12845
13026
|
if (output["message"] !== undefined) {
|
|
@@ -13004,6 +13185,9 @@ const de_NetworkInterface = (output, context) => {
|
|
|
13004
13185
|
if (output["AvailabilityZone"] !== undefined) {
|
|
13005
13186
|
contents.AvailabilityZone = __expectString(output["AvailabilityZone"]);
|
|
13006
13187
|
}
|
|
13188
|
+
if (output["Ipv6Address"] !== undefined) {
|
|
13189
|
+
contents.Ipv6Address = __expectString(output["Ipv6Address"]);
|
|
13190
|
+
}
|
|
13007
13191
|
return contents;
|
|
13008
13192
|
};
|
|
13009
13193
|
const de_NetworkInterfaceList = (output, context) => {
|
|
@@ -13864,6 +14048,19 @@ const de_ScheduledSnapshotTimeList = (output, context) => {
|
|
|
13864
14048
|
return __expectNonNull(__parseRfc3339DateTimeWithOffset(entry));
|
|
13865
14049
|
});
|
|
13866
14050
|
};
|
|
14051
|
+
const de_SecondaryClusterInfo = (output, context) => {
|
|
14052
|
+
const contents = {};
|
|
14053
|
+
if (output["AvailabilityZone"] !== undefined) {
|
|
14054
|
+
contents.AvailabilityZone = __expectString(output["AvailabilityZone"]);
|
|
14055
|
+
}
|
|
14056
|
+
if (output.ClusterNodes === "") {
|
|
14057
|
+
contents.ClusterNodes = [];
|
|
14058
|
+
}
|
|
14059
|
+
else if (output["ClusterNodes"] !== undefined && output["ClusterNodes"]["member"] !== undefined) {
|
|
14060
|
+
contents.ClusterNodes = de_ClusterNodesList(__getArrayIfSingleItem(output["ClusterNodes"]["member"]), context);
|
|
14061
|
+
}
|
|
14062
|
+
return contents;
|
|
14063
|
+
};
|
|
13867
14064
|
const de_Snapshot = (output, context) => {
|
|
13868
14065
|
const contents = {};
|
|
13869
14066
|
if (output["SnapshotIdentifier"] !== undefined) {
|
|
@@ -14583,6 +14780,13 @@ const de_UsageLimits = (output, context) => {
|
|
|
14583
14780
|
return de_UsageLimit(entry, context);
|
|
14584
14781
|
});
|
|
14585
14782
|
};
|
|
14783
|
+
const de_ValueStringList = (output, context) => {
|
|
14784
|
+
return (output || [])
|
|
14785
|
+
.filter((e) => e != null)
|
|
14786
|
+
.map((entry) => {
|
|
14787
|
+
return __expectString(entry);
|
|
14788
|
+
});
|
|
14789
|
+
};
|
|
14586
14790
|
const de_VpcEndpoint = (output, context) => {
|
|
14587
14791
|
const contents = {};
|
|
14588
14792
|
if (output["VpcEndpointId"] !== undefined) {
|
package/dist-types/Redshift.d.ts
CHANGED
|
@@ -89,6 +89,7 @@ import { DisableSnapshotCopyCommandInput, DisableSnapshotCopyCommandOutput } fro
|
|
|
89
89
|
import { DisassociateDataShareConsumerCommandInput, DisassociateDataShareConsumerCommandOutput } from "./commands/DisassociateDataShareConsumerCommand";
|
|
90
90
|
import { EnableLoggingCommandInput, EnableLoggingCommandOutput } from "./commands/EnableLoggingCommand";
|
|
91
91
|
import { EnableSnapshotCopyCommandInput, EnableSnapshotCopyCommandOutput } from "./commands/EnableSnapshotCopyCommand";
|
|
92
|
+
import { FailoverPrimaryComputeCommandInput, FailoverPrimaryComputeCommandOutput } from "./commands/FailoverPrimaryComputeCommand";
|
|
92
93
|
import { GetClusterCredentialsCommandInput, GetClusterCredentialsCommandOutput } from "./commands/GetClusterCredentialsCommand";
|
|
93
94
|
import { GetClusterCredentialsWithIAMCommandInput, GetClusterCredentialsWithIAMCommandOutput } from "./commands/GetClusterCredentialsWithIAMCommand";
|
|
94
95
|
import { GetReservedNodeExchangeConfigurationOptionsCommandInput, GetReservedNodeExchangeConfigurationOptionsCommandOutput } from "./commands/GetReservedNodeExchangeConfigurationOptionsCommand";
|
|
@@ -668,6 +669,12 @@ export interface Redshift {
|
|
|
668
669
|
enableSnapshotCopy(args: EnableSnapshotCopyCommandInput, options?: __HttpHandlerOptions): Promise<EnableSnapshotCopyCommandOutput>;
|
|
669
670
|
enableSnapshotCopy(args: EnableSnapshotCopyCommandInput, cb: (err: any, data?: EnableSnapshotCopyCommandOutput) => void): void;
|
|
670
671
|
enableSnapshotCopy(args: EnableSnapshotCopyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableSnapshotCopyCommandOutput) => void): void;
|
|
672
|
+
/**
|
|
673
|
+
* @see {@link FailoverPrimaryComputeCommand}
|
|
674
|
+
*/
|
|
675
|
+
failoverPrimaryCompute(args: FailoverPrimaryComputeCommandInput, options?: __HttpHandlerOptions): Promise<FailoverPrimaryComputeCommandOutput>;
|
|
676
|
+
failoverPrimaryCompute(args: FailoverPrimaryComputeCommandInput, cb: (err: any, data?: FailoverPrimaryComputeCommandOutput) => void): void;
|
|
677
|
+
failoverPrimaryCompute(args: FailoverPrimaryComputeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: FailoverPrimaryComputeCommandOutput) => void): void;
|
|
671
678
|
/**
|
|
672
679
|
* @see {@link GetClusterCredentialsCommand}
|
|
673
680
|
*/
|
|
@@ -98,6 +98,7 @@ import { DisableSnapshotCopyCommandInput, DisableSnapshotCopyCommandOutput } fro
|
|
|
98
98
|
import { DisassociateDataShareConsumerCommandInput, DisassociateDataShareConsumerCommandOutput } from "./commands/DisassociateDataShareConsumerCommand";
|
|
99
99
|
import { EnableLoggingCommandInput, EnableLoggingCommandOutput } from "./commands/EnableLoggingCommand";
|
|
100
100
|
import { EnableSnapshotCopyCommandInput, EnableSnapshotCopyCommandOutput } from "./commands/EnableSnapshotCopyCommand";
|
|
101
|
+
import { FailoverPrimaryComputeCommandInput, FailoverPrimaryComputeCommandOutput } from "./commands/FailoverPrimaryComputeCommand";
|
|
101
102
|
import { GetClusterCredentialsCommandInput, GetClusterCredentialsCommandOutput } from "./commands/GetClusterCredentialsCommand";
|
|
102
103
|
import { GetClusterCredentialsWithIAMCommandInput, GetClusterCredentialsWithIAMCommandOutput } from "./commands/GetClusterCredentialsWithIAMCommand";
|
|
103
104
|
import { GetReservedNodeExchangeConfigurationOptionsCommandInput, GetReservedNodeExchangeConfigurationOptionsCommandOutput } from "./commands/GetReservedNodeExchangeConfigurationOptionsCommand";
|
|
@@ -141,11 +142,11 @@ export { __Client };
|
|
|
141
142
|
/**
|
|
142
143
|
* @public
|
|
143
144
|
*/
|
|
144
|
-
export type ServiceInputTypes = AcceptReservedNodeExchangeCommandInput | AddPartnerCommandInput | AssociateDataShareConsumerCommandInput | AuthorizeClusterSecurityGroupIngressCommandInput | AuthorizeDataShareCommandInput | AuthorizeEndpointAccessCommandInput | AuthorizeSnapshotAccessCommandInput | BatchDeleteClusterSnapshotsCommandInput | BatchModifyClusterSnapshotsCommandInput | CancelResizeCommandInput | CopyClusterSnapshotCommandInput | CreateAuthenticationProfileCommandInput | CreateClusterCommandInput | CreateClusterParameterGroupCommandInput | CreateClusterSecurityGroupCommandInput | CreateClusterSnapshotCommandInput | CreateClusterSubnetGroupCommandInput | CreateCustomDomainAssociationCommandInput | CreateEndpointAccessCommandInput | CreateEventSubscriptionCommandInput | CreateHsmClientCertificateCommandInput | CreateHsmConfigurationCommandInput | CreateScheduledActionCommandInput | CreateSnapshotCopyGrantCommandInput | CreateSnapshotScheduleCommandInput | CreateTagsCommandInput | CreateUsageLimitCommandInput | DeauthorizeDataShareCommandInput | DeleteAuthenticationProfileCommandInput | DeleteClusterCommandInput | DeleteClusterParameterGroupCommandInput | DeleteClusterSecurityGroupCommandInput | DeleteClusterSnapshotCommandInput | DeleteClusterSubnetGroupCommandInput | DeleteCustomDomainAssociationCommandInput | DeleteEndpointAccessCommandInput | DeleteEventSubscriptionCommandInput | DeleteHsmClientCertificateCommandInput | DeleteHsmConfigurationCommandInput | DeletePartnerCommandInput | DeleteResourcePolicyCommandInput | DeleteScheduledActionCommandInput | DeleteSnapshotCopyGrantCommandInput | DeleteSnapshotScheduleCommandInput | DeleteTagsCommandInput | DeleteUsageLimitCommandInput | DescribeAccountAttributesCommandInput | DescribeAuthenticationProfilesCommandInput | DescribeClusterDbRevisionsCommandInput | DescribeClusterParameterGroupsCommandInput | DescribeClusterParametersCommandInput | DescribeClusterSecurityGroupsCommandInput | DescribeClusterSnapshotsCommandInput | DescribeClusterSubnetGroupsCommandInput | DescribeClusterTracksCommandInput | DescribeClusterVersionsCommandInput | DescribeClustersCommandInput | DescribeCustomDomainAssociationsCommandInput | DescribeDataSharesCommandInput | DescribeDataSharesForConsumerCommandInput | DescribeDataSharesForProducerCommandInput | DescribeDefaultClusterParametersCommandInput | DescribeEndpointAccessCommandInput | DescribeEndpointAuthorizationCommandInput | DescribeEventCategoriesCommandInput | DescribeEventSubscriptionsCommandInput | DescribeEventsCommandInput | DescribeHsmClientCertificatesCommandInput | DescribeHsmConfigurationsCommandInput | DescribeInboundIntegrationsCommandInput | DescribeLoggingStatusCommandInput | DescribeNodeConfigurationOptionsCommandInput | DescribeOrderableClusterOptionsCommandInput | DescribePartnersCommandInput | DescribeReservedNodeExchangeStatusCommandInput | DescribeReservedNodeOfferingsCommandInput | DescribeReservedNodesCommandInput | DescribeResizeCommandInput | DescribeScheduledActionsCommandInput | DescribeSnapshotCopyGrantsCommandInput | DescribeSnapshotSchedulesCommandInput | DescribeStorageCommandInput | DescribeTableRestoreStatusCommandInput | DescribeTagsCommandInput | DescribeUsageLimitsCommandInput | DisableLoggingCommandInput | DisableSnapshotCopyCommandInput | DisassociateDataShareConsumerCommandInput | EnableLoggingCommandInput | EnableSnapshotCopyCommandInput | GetClusterCredentialsCommandInput | GetClusterCredentialsWithIAMCommandInput | GetReservedNodeExchangeConfigurationOptionsCommandInput | GetReservedNodeExchangeOfferingsCommandInput | GetResourcePolicyCommandInput | ModifyAquaConfigurationCommandInput | ModifyAuthenticationProfileCommandInput | ModifyClusterCommandInput | ModifyClusterDbRevisionCommandInput | ModifyClusterIamRolesCommandInput | ModifyClusterMaintenanceCommandInput | ModifyClusterParameterGroupCommandInput | ModifyClusterSnapshotCommandInput | ModifyClusterSnapshotScheduleCommandInput | ModifyClusterSubnetGroupCommandInput | ModifyCustomDomainAssociationCommandInput | ModifyEndpointAccessCommandInput | ModifyEventSubscriptionCommandInput | ModifyScheduledActionCommandInput | ModifySnapshotCopyRetentionPeriodCommandInput | ModifySnapshotScheduleCommandInput | ModifyUsageLimitCommandInput | PauseClusterCommandInput | PurchaseReservedNodeOfferingCommandInput | PutResourcePolicyCommandInput | RebootClusterCommandInput | RejectDataShareCommandInput | ResetClusterParameterGroupCommandInput | ResizeClusterCommandInput | RestoreFromClusterSnapshotCommandInput | RestoreTableFromClusterSnapshotCommandInput | ResumeClusterCommandInput | RevokeClusterSecurityGroupIngressCommandInput | RevokeEndpointAccessCommandInput | RevokeSnapshotAccessCommandInput | RotateEncryptionKeyCommandInput | UpdatePartnerStatusCommandInput;
|
|
145
|
+
export type ServiceInputTypes = AcceptReservedNodeExchangeCommandInput | AddPartnerCommandInput | AssociateDataShareConsumerCommandInput | AuthorizeClusterSecurityGroupIngressCommandInput | AuthorizeDataShareCommandInput | AuthorizeEndpointAccessCommandInput | AuthorizeSnapshotAccessCommandInput | BatchDeleteClusterSnapshotsCommandInput | BatchModifyClusterSnapshotsCommandInput | CancelResizeCommandInput | CopyClusterSnapshotCommandInput | CreateAuthenticationProfileCommandInput | CreateClusterCommandInput | CreateClusterParameterGroupCommandInput | CreateClusterSecurityGroupCommandInput | CreateClusterSnapshotCommandInput | CreateClusterSubnetGroupCommandInput | CreateCustomDomainAssociationCommandInput | CreateEndpointAccessCommandInput | CreateEventSubscriptionCommandInput | CreateHsmClientCertificateCommandInput | CreateHsmConfigurationCommandInput | CreateScheduledActionCommandInput | CreateSnapshotCopyGrantCommandInput | CreateSnapshotScheduleCommandInput | CreateTagsCommandInput | CreateUsageLimitCommandInput | DeauthorizeDataShareCommandInput | DeleteAuthenticationProfileCommandInput | DeleteClusterCommandInput | DeleteClusterParameterGroupCommandInput | DeleteClusterSecurityGroupCommandInput | DeleteClusterSnapshotCommandInput | DeleteClusterSubnetGroupCommandInput | DeleteCustomDomainAssociationCommandInput | DeleteEndpointAccessCommandInput | DeleteEventSubscriptionCommandInput | DeleteHsmClientCertificateCommandInput | DeleteHsmConfigurationCommandInput | DeletePartnerCommandInput | DeleteResourcePolicyCommandInput | DeleteScheduledActionCommandInput | DeleteSnapshotCopyGrantCommandInput | DeleteSnapshotScheduleCommandInput | DeleteTagsCommandInput | DeleteUsageLimitCommandInput | DescribeAccountAttributesCommandInput | DescribeAuthenticationProfilesCommandInput | DescribeClusterDbRevisionsCommandInput | DescribeClusterParameterGroupsCommandInput | DescribeClusterParametersCommandInput | DescribeClusterSecurityGroupsCommandInput | DescribeClusterSnapshotsCommandInput | DescribeClusterSubnetGroupsCommandInput | DescribeClusterTracksCommandInput | DescribeClusterVersionsCommandInput | DescribeClustersCommandInput | DescribeCustomDomainAssociationsCommandInput | DescribeDataSharesCommandInput | DescribeDataSharesForConsumerCommandInput | DescribeDataSharesForProducerCommandInput | DescribeDefaultClusterParametersCommandInput | DescribeEndpointAccessCommandInput | DescribeEndpointAuthorizationCommandInput | DescribeEventCategoriesCommandInput | DescribeEventSubscriptionsCommandInput | DescribeEventsCommandInput | DescribeHsmClientCertificatesCommandInput | DescribeHsmConfigurationsCommandInput | DescribeInboundIntegrationsCommandInput | DescribeLoggingStatusCommandInput | DescribeNodeConfigurationOptionsCommandInput | DescribeOrderableClusterOptionsCommandInput | DescribePartnersCommandInput | DescribeReservedNodeExchangeStatusCommandInput | DescribeReservedNodeOfferingsCommandInput | DescribeReservedNodesCommandInput | DescribeResizeCommandInput | DescribeScheduledActionsCommandInput | DescribeSnapshotCopyGrantsCommandInput | DescribeSnapshotSchedulesCommandInput | DescribeStorageCommandInput | DescribeTableRestoreStatusCommandInput | DescribeTagsCommandInput | DescribeUsageLimitsCommandInput | DisableLoggingCommandInput | DisableSnapshotCopyCommandInput | DisassociateDataShareConsumerCommandInput | EnableLoggingCommandInput | EnableSnapshotCopyCommandInput | FailoverPrimaryComputeCommandInput | GetClusterCredentialsCommandInput | GetClusterCredentialsWithIAMCommandInput | GetReservedNodeExchangeConfigurationOptionsCommandInput | GetReservedNodeExchangeOfferingsCommandInput | GetResourcePolicyCommandInput | ModifyAquaConfigurationCommandInput | ModifyAuthenticationProfileCommandInput | ModifyClusterCommandInput | ModifyClusterDbRevisionCommandInput | ModifyClusterIamRolesCommandInput | ModifyClusterMaintenanceCommandInput | ModifyClusterParameterGroupCommandInput | ModifyClusterSnapshotCommandInput | ModifyClusterSnapshotScheduleCommandInput | ModifyClusterSubnetGroupCommandInput | ModifyCustomDomainAssociationCommandInput | ModifyEndpointAccessCommandInput | ModifyEventSubscriptionCommandInput | ModifyScheduledActionCommandInput | ModifySnapshotCopyRetentionPeriodCommandInput | ModifySnapshotScheduleCommandInput | ModifyUsageLimitCommandInput | PauseClusterCommandInput | PurchaseReservedNodeOfferingCommandInput | PutResourcePolicyCommandInput | RebootClusterCommandInput | RejectDataShareCommandInput | ResetClusterParameterGroupCommandInput | ResizeClusterCommandInput | RestoreFromClusterSnapshotCommandInput | RestoreTableFromClusterSnapshotCommandInput | ResumeClusterCommandInput | RevokeClusterSecurityGroupIngressCommandInput | RevokeEndpointAccessCommandInput | RevokeSnapshotAccessCommandInput | RotateEncryptionKeyCommandInput | UpdatePartnerStatusCommandInput;
|
|
145
146
|
/**
|
|
146
147
|
* @public
|
|
147
148
|
*/
|
|
148
|
-
export type ServiceOutputTypes = AcceptReservedNodeExchangeCommandOutput | AddPartnerCommandOutput | AssociateDataShareConsumerCommandOutput | AuthorizeClusterSecurityGroupIngressCommandOutput | AuthorizeDataShareCommandOutput | AuthorizeEndpointAccessCommandOutput | AuthorizeSnapshotAccessCommandOutput | BatchDeleteClusterSnapshotsCommandOutput | BatchModifyClusterSnapshotsCommandOutput | CancelResizeCommandOutput | CopyClusterSnapshotCommandOutput | CreateAuthenticationProfileCommandOutput | CreateClusterCommandOutput | CreateClusterParameterGroupCommandOutput | CreateClusterSecurityGroupCommandOutput | CreateClusterSnapshotCommandOutput | CreateClusterSubnetGroupCommandOutput | CreateCustomDomainAssociationCommandOutput | CreateEndpointAccessCommandOutput | CreateEventSubscriptionCommandOutput | CreateHsmClientCertificateCommandOutput | CreateHsmConfigurationCommandOutput | CreateScheduledActionCommandOutput | CreateSnapshotCopyGrantCommandOutput | CreateSnapshotScheduleCommandOutput | CreateTagsCommandOutput | CreateUsageLimitCommandOutput | DeauthorizeDataShareCommandOutput | DeleteAuthenticationProfileCommandOutput | DeleteClusterCommandOutput | DeleteClusterParameterGroupCommandOutput | DeleteClusterSecurityGroupCommandOutput | DeleteClusterSnapshotCommandOutput | DeleteClusterSubnetGroupCommandOutput | DeleteCustomDomainAssociationCommandOutput | DeleteEndpointAccessCommandOutput | DeleteEventSubscriptionCommandOutput | DeleteHsmClientCertificateCommandOutput | DeleteHsmConfigurationCommandOutput | DeletePartnerCommandOutput | DeleteResourcePolicyCommandOutput | DeleteScheduledActionCommandOutput | DeleteSnapshotCopyGrantCommandOutput | DeleteSnapshotScheduleCommandOutput | DeleteTagsCommandOutput | DeleteUsageLimitCommandOutput | DescribeAccountAttributesCommandOutput | DescribeAuthenticationProfilesCommandOutput | DescribeClusterDbRevisionsCommandOutput | DescribeClusterParameterGroupsCommandOutput | DescribeClusterParametersCommandOutput | DescribeClusterSecurityGroupsCommandOutput | DescribeClusterSnapshotsCommandOutput | DescribeClusterSubnetGroupsCommandOutput | DescribeClusterTracksCommandOutput | DescribeClusterVersionsCommandOutput | DescribeClustersCommandOutput | DescribeCustomDomainAssociationsCommandOutput | DescribeDataSharesCommandOutput | DescribeDataSharesForConsumerCommandOutput | DescribeDataSharesForProducerCommandOutput | DescribeDefaultClusterParametersCommandOutput | DescribeEndpointAccessCommandOutput | DescribeEndpointAuthorizationCommandOutput | DescribeEventCategoriesCommandOutput | DescribeEventSubscriptionsCommandOutput | DescribeEventsCommandOutput | DescribeHsmClientCertificatesCommandOutput | DescribeHsmConfigurationsCommandOutput | DescribeInboundIntegrationsCommandOutput | DescribeLoggingStatusCommandOutput | DescribeNodeConfigurationOptionsCommandOutput | DescribeOrderableClusterOptionsCommandOutput | DescribePartnersCommandOutput | DescribeReservedNodeExchangeStatusCommandOutput | DescribeReservedNodeOfferingsCommandOutput | DescribeReservedNodesCommandOutput | DescribeResizeCommandOutput | DescribeScheduledActionsCommandOutput | DescribeSnapshotCopyGrantsCommandOutput | DescribeSnapshotSchedulesCommandOutput | DescribeStorageCommandOutput | DescribeTableRestoreStatusCommandOutput | DescribeTagsCommandOutput | DescribeUsageLimitsCommandOutput | DisableLoggingCommandOutput | DisableSnapshotCopyCommandOutput | DisassociateDataShareConsumerCommandOutput | EnableLoggingCommandOutput | EnableSnapshotCopyCommandOutput | GetClusterCredentialsCommandOutput | GetClusterCredentialsWithIAMCommandOutput | GetReservedNodeExchangeConfigurationOptionsCommandOutput | GetReservedNodeExchangeOfferingsCommandOutput | GetResourcePolicyCommandOutput | ModifyAquaConfigurationCommandOutput | ModifyAuthenticationProfileCommandOutput | ModifyClusterCommandOutput | ModifyClusterDbRevisionCommandOutput | ModifyClusterIamRolesCommandOutput | ModifyClusterMaintenanceCommandOutput | ModifyClusterParameterGroupCommandOutput | ModifyClusterSnapshotCommandOutput | ModifyClusterSnapshotScheduleCommandOutput | ModifyClusterSubnetGroupCommandOutput | ModifyCustomDomainAssociationCommandOutput | ModifyEndpointAccessCommandOutput | ModifyEventSubscriptionCommandOutput | ModifyScheduledActionCommandOutput | ModifySnapshotCopyRetentionPeriodCommandOutput | ModifySnapshotScheduleCommandOutput | ModifyUsageLimitCommandOutput | PauseClusterCommandOutput | PurchaseReservedNodeOfferingCommandOutput | PutResourcePolicyCommandOutput | RebootClusterCommandOutput | RejectDataShareCommandOutput | ResetClusterParameterGroupCommandOutput | ResizeClusterCommandOutput | RestoreFromClusterSnapshotCommandOutput | RestoreTableFromClusterSnapshotCommandOutput | ResumeClusterCommandOutput | RevokeClusterSecurityGroupIngressCommandOutput | RevokeEndpointAccessCommandOutput | RevokeSnapshotAccessCommandOutput | RotateEncryptionKeyCommandOutput | UpdatePartnerStatusCommandOutput;
|
|
149
|
+
export type ServiceOutputTypes = AcceptReservedNodeExchangeCommandOutput | AddPartnerCommandOutput | AssociateDataShareConsumerCommandOutput | AuthorizeClusterSecurityGroupIngressCommandOutput | AuthorizeDataShareCommandOutput | AuthorizeEndpointAccessCommandOutput | AuthorizeSnapshotAccessCommandOutput | BatchDeleteClusterSnapshotsCommandOutput | BatchModifyClusterSnapshotsCommandOutput | CancelResizeCommandOutput | CopyClusterSnapshotCommandOutput | CreateAuthenticationProfileCommandOutput | CreateClusterCommandOutput | CreateClusterParameterGroupCommandOutput | CreateClusterSecurityGroupCommandOutput | CreateClusterSnapshotCommandOutput | CreateClusterSubnetGroupCommandOutput | CreateCustomDomainAssociationCommandOutput | CreateEndpointAccessCommandOutput | CreateEventSubscriptionCommandOutput | CreateHsmClientCertificateCommandOutput | CreateHsmConfigurationCommandOutput | CreateScheduledActionCommandOutput | CreateSnapshotCopyGrantCommandOutput | CreateSnapshotScheduleCommandOutput | CreateTagsCommandOutput | CreateUsageLimitCommandOutput | DeauthorizeDataShareCommandOutput | DeleteAuthenticationProfileCommandOutput | DeleteClusterCommandOutput | DeleteClusterParameterGroupCommandOutput | DeleteClusterSecurityGroupCommandOutput | DeleteClusterSnapshotCommandOutput | DeleteClusterSubnetGroupCommandOutput | DeleteCustomDomainAssociationCommandOutput | DeleteEndpointAccessCommandOutput | DeleteEventSubscriptionCommandOutput | DeleteHsmClientCertificateCommandOutput | DeleteHsmConfigurationCommandOutput | DeletePartnerCommandOutput | DeleteResourcePolicyCommandOutput | DeleteScheduledActionCommandOutput | DeleteSnapshotCopyGrantCommandOutput | DeleteSnapshotScheduleCommandOutput | DeleteTagsCommandOutput | DeleteUsageLimitCommandOutput | DescribeAccountAttributesCommandOutput | DescribeAuthenticationProfilesCommandOutput | DescribeClusterDbRevisionsCommandOutput | DescribeClusterParameterGroupsCommandOutput | DescribeClusterParametersCommandOutput | DescribeClusterSecurityGroupsCommandOutput | DescribeClusterSnapshotsCommandOutput | DescribeClusterSubnetGroupsCommandOutput | DescribeClusterTracksCommandOutput | DescribeClusterVersionsCommandOutput | DescribeClustersCommandOutput | DescribeCustomDomainAssociationsCommandOutput | DescribeDataSharesCommandOutput | DescribeDataSharesForConsumerCommandOutput | DescribeDataSharesForProducerCommandOutput | DescribeDefaultClusterParametersCommandOutput | DescribeEndpointAccessCommandOutput | DescribeEndpointAuthorizationCommandOutput | DescribeEventCategoriesCommandOutput | DescribeEventSubscriptionsCommandOutput | DescribeEventsCommandOutput | DescribeHsmClientCertificatesCommandOutput | DescribeHsmConfigurationsCommandOutput | DescribeInboundIntegrationsCommandOutput | DescribeLoggingStatusCommandOutput | DescribeNodeConfigurationOptionsCommandOutput | DescribeOrderableClusterOptionsCommandOutput | DescribePartnersCommandOutput | DescribeReservedNodeExchangeStatusCommandOutput | DescribeReservedNodeOfferingsCommandOutput | DescribeReservedNodesCommandOutput | DescribeResizeCommandOutput | DescribeScheduledActionsCommandOutput | DescribeSnapshotCopyGrantsCommandOutput | DescribeSnapshotSchedulesCommandOutput | DescribeStorageCommandOutput | DescribeTableRestoreStatusCommandOutput | DescribeTagsCommandOutput | DescribeUsageLimitsCommandOutput | DisableLoggingCommandOutput | DisableSnapshotCopyCommandOutput | DisassociateDataShareConsumerCommandOutput | EnableLoggingCommandOutput | EnableSnapshotCopyCommandOutput | FailoverPrimaryComputeCommandOutput | GetClusterCredentialsCommandOutput | GetClusterCredentialsWithIAMCommandOutput | GetReservedNodeExchangeConfigurationOptionsCommandOutput | GetReservedNodeExchangeOfferingsCommandOutput | GetResourcePolicyCommandOutput | ModifyAquaConfigurationCommandOutput | ModifyAuthenticationProfileCommandOutput | ModifyClusterCommandOutput | ModifyClusterDbRevisionCommandOutput | ModifyClusterIamRolesCommandOutput | ModifyClusterMaintenanceCommandOutput | ModifyClusterParameterGroupCommandOutput | ModifyClusterSnapshotCommandOutput | ModifyClusterSnapshotScheduleCommandOutput | ModifyClusterSubnetGroupCommandOutput | ModifyCustomDomainAssociationCommandOutput | ModifyEndpointAccessCommandOutput | ModifyEventSubscriptionCommandOutput | ModifyScheduledActionCommandOutput | ModifySnapshotCopyRetentionPeriodCommandOutput | ModifySnapshotScheduleCommandOutput | ModifyUsageLimitCommandOutput | PauseClusterCommandOutput | PurchaseReservedNodeOfferingCommandOutput | PutResourcePolicyCommandOutput | RebootClusterCommandOutput | RejectDataShareCommandOutput | ResetClusterParameterGroupCommandOutput | ResizeClusterCommandOutput | RestoreFromClusterSnapshotCommandOutput | RestoreTableFromClusterSnapshotCommandOutput | ResumeClusterCommandOutput | RevokeClusterSecurityGroupIngressCommandOutput | RevokeEndpointAccessCommandOutput | RevokeSnapshotAccessCommandOutput | RotateEncryptionKeyCommandOutput | UpdatePartnerStatusCommandOutput;
|
|
149
150
|
/**
|
|
150
151
|
* @public
|
|
151
152
|
*/
|
|
@@ -63,6 +63,9 @@ export interface AddPartnerCommandOutput extends PartnerIntegrationOutputMessage
|
|
|
63
63
|
* @throws {@link UnauthorizedPartnerIntegrationFault} (client fault)
|
|
64
64
|
* <p>The partner integration is not authorized.</p>
|
|
65
65
|
*
|
|
66
|
+
* @throws {@link UnsupportedOperationFault} (client fault)
|
|
67
|
+
* <p>The requested operation isn't supported.</p>
|
|
68
|
+
*
|
|
66
69
|
* @throws {@link RedshiftServiceException}
|
|
67
70
|
* <p>Base exception class for all service exceptions from Redshift service.</p>
|
|
68
71
|
*
|
|
@@ -110,6 +110,10 @@ export interface CopyClusterSnapshotCommandOutput extends CopyClusterSnapshotRes
|
|
|
110
110
|
* @see {@link CopyClusterSnapshotCommandOutput} for command's `response` shape.
|
|
111
111
|
* @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape.
|
|
112
112
|
*
|
|
113
|
+
* @throws {@link ClusterNotFoundFault} (client fault)
|
|
114
|
+
* <p>The <code>ClusterIdentifier</code> parameter does not refer to an existing cluster.
|
|
115
|
+
* </p>
|
|
116
|
+
*
|
|
113
117
|
* @throws {@link ClusterSnapshotAlreadyExistsFault} (client fault)
|
|
114
118
|
* <p>The value specified as a snapshot identifier is already used by an existing
|
|
115
119
|
* snapshot.</p>
|
|
@@ -84,6 +84,8 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
|
|
|
84
84
|
* LoadSampleData: "STRING_VALUE",
|
|
85
85
|
* ManageMasterPassword: true || false,
|
|
86
86
|
* MasterPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
87
|
+
* IpAddressType: "STRING_VALUE",
|
|
88
|
+
* MultiAZ: true || false,
|
|
87
89
|
* };
|
|
88
90
|
* const command = new CreateClusterCommand(input);
|
|
89
91
|
* const response = await client.send(command);
|
|
@@ -109,6 +111,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
|
|
|
109
111
|
* // SubnetId: "STRING_VALUE",
|
|
110
112
|
* // PrivateIpAddress: "STRING_VALUE",
|
|
111
113
|
* // AvailabilityZone: "STRING_VALUE",
|
|
114
|
+
* // Ipv6Address: "STRING_VALUE",
|
|
112
115
|
* // },
|
|
113
116
|
* // ],
|
|
114
117
|
* // },
|
|
@@ -263,6 +266,18 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
|
|
|
263
266
|
* // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
|
|
264
267
|
* // MasterPasswordSecretArn: "STRING_VALUE",
|
|
265
268
|
* // MasterPasswordSecretKmsKeyId: "STRING_VALUE",
|
|
269
|
+
* // IpAddressType: "STRING_VALUE",
|
|
270
|
+
* // MultiAZ: "STRING_VALUE",
|
|
271
|
+
* // MultiAZSecondary: { // SecondaryClusterInfo
|
|
272
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
273
|
+
* // ClusterNodes: [
|
|
274
|
+
* // {
|
|
275
|
+
* // NodeRole: "STRING_VALUE",
|
|
276
|
+
* // PrivateIPAddress: "STRING_VALUE",
|
|
277
|
+
* // PublicIPAddress: "STRING_VALUE",
|
|
278
|
+
* // },
|
|
279
|
+
* // ],
|
|
280
|
+
* // },
|
|
266
281
|
* // },
|
|
267
282
|
* // };
|
|
268
283
|
*
|
|
@@ -333,6 +348,10 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
|
|
|
333
348
|
* @throws {@link InvalidVPCNetworkStateFault} (client fault)
|
|
334
349
|
* <p>The cluster subnet group does not cover all Availability Zones.</p>
|
|
335
350
|
*
|
|
351
|
+
* @throws {@link Ipv6CidrBlockNotFoundFault} (client fault)
|
|
352
|
+
* <p>There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode,
|
|
353
|
+
* associate an IPv6 CIDR block with each subnet in your VPC.</p>
|
|
354
|
+
*
|
|
336
355
|
* @throws {@link LimitExceededFault} (client fault)
|
|
337
356
|
* <p>The encryption key has exceeded its grant limit in Amazon Web Services KMS.</p>
|
|
338
357
|
*
|
|
@@ -355,6 +374,9 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
|
|
|
355
374
|
* @throws {@link UnauthorizedOperation} (client fault)
|
|
356
375
|
* <p>Your account is not authorized to perform the requested operation.</p>
|
|
357
376
|
*
|
|
377
|
+
* @throws {@link UnsupportedOperationFault} (client fault)
|
|
378
|
+
* <p>The requested operation isn't supported.</p>
|
|
379
|
+
*
|
|
358
380
|
* @throws {@link RedshiftServiceException}
|
|
359
381
|
* <p>Base exception class for all service exceptions from Redshift service.</p>
|
|
360
382
|
*
|
|
@@ -65,6 +65,7 @@ export interface CreateEndpointAccessCommandOutput extends EndpointAccess, __Met
|
|
|
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
|
* // },
|