@aws-sdk/client-redshift 3.451.0 → 3.454.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 +32 -0
- package/dist-cjs/Redshift.js +8 -0
- package/dist-cjs/commands/CreateRedshiftIdcApplicationCommand.js +51 -0
- package/dist-cjs/commands/DeleteRedshiftIdcApplicationCommand.js +51 -0
- package/dist-cjs/commands/DescribeRedshiftIdcApplicationsCommand.js +51 -0
- package/dist-cjs/commands/ModifyRedshiftIdcApplicationCommand.js +51 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +74 -2
- package/dist-cjs/pagination/DescribeRedshiftIdcApplicationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_query.js +654 -6
- package/dist-es/Redshift.js +8 -0
- package/dist-es/commands/CreateRedshiftIdcApplicationCommand.js +47 -0
- package/dist-es/commands/DeleteRedshiftIdcApplicationCommand.js +47 -0
- package/dist-es/commands/DescribeRedshiftIdcApplicationsCommand.js +47 -0
- package/dist-es/commands/ModifyRedshiftIdcApplicationCommand.js +47 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +68 -0
- package/dist-es/pagination/DescribeRedshiftIdcApplicationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_query.js +642 -2
- package/dist-types/Redshift.d.ts +28 -0
- package/dist-types/RedshiftClient.d.ts +6 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +4 -0
- package/dist-types/commands/CreateRedshiftIdcApplicationCommand.d.ts +140 -0
- package/dist-types/commands/DeleteCustomDomainAssociationCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRedshiftIdcApplicationCommand.d.ts +84 -0
- package/dist-types/commands/DescribeClusterVersionsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCustomDomainAssociationsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeDataSharesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDataSharesForConsumerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDataSharesForProducerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDefaultClusterParametersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEndpointAuthorizationCommand.d.ts +1 -2
- package/dist-types/commands/DescribeRedshiftIdcApplicationsCommand.d.ts +119 -0
- package/dist-types/commands/ModifyCustomDomainAssociationCommand.d.ts +5 -2
- package/dist-types/commands/ModifyRedshiftIdcApplicationCommand.d.ts +136 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +276 -361
- package/dist-types/models/models_1.d.ts +458 -3
- package/dist-types/pagination/DescribeRedshiftIdcApplicationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_query.d.ts +36 -0
- package/dist-types/ts3.4/Redshift.d.ts +68 -0
- package/dist-types/ts3.4/RedshiftClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateRedshiftIdcApplicationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteRedshiftIdcApplicationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeClusterVersionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeCustomDomainAssociationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeDataSharesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDataSharesForConsumerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDataSharesForProducerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDefaultClusterParametersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEndpointAccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEndpointAuthorizationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeRedshiftIdcApplicationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ModifyRedshiftIdcApplicationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +118 -68
- package/dist-types/ts3.4/models/models_1.d.ts +98 -2
- package/dist-types/ts3.4/pagination/DescribeRedshiftIdcApplicationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +48 -0
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
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";
|
|
2
|
+
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, expectUnion as __expectUnion, 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, 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";
|
|
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, DependentServiceAccessDeniedFault, 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, LakeFormationScopeUnion, LimitExceededFault, NumberOfNodesPerClusterLimitExceededFault, NumberOfNodesQuotaExceededFault, PartnerNotFoundFault, RedshiftIdcApplicationAlreadyExistsFault, RedshiftIdcApplicationNotExistsFault, RedshiftIdcApplicationQuotaExceededFault, ReservedNodeAlreadyExistsFault, ReservedNodeAlreadyMigratedFault, ReservedNodeNotFoundFault, ReservedNodeOfferingNotFoundFault, ResizeNotFoundFault, ResourceNotFoundFault, ScheduledActionAlreadyExistsFault, ScheduledActionNotFoundFault, ScheduledActionQuotaExceededFault, ScheduledActionTypeUnsupportedFault, ScheduleDefinitionTypeUnsupportedFault, ServiceIntegrationsUnion, 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) => {
|
|
@@ -224,6 +224,16 @@ export const se_CreateHsmConfigurationCommand = async (input, context) => {
|
|
|
224
224
|
});
|
|
225
225
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
226
226
|
};
|
|
227
|
+
export const se_CreateRedshiftIdcApplicationCommand = async (input, context) => {
|
|
228
|
+
const headers = SHARED_HEADERS;
|
|
229
|
+
let body;
|
|
230
|
+
body = buildFormUrlencodedString({
|
|
231
|
+
...se_CreateRedshiftIdcApplicationMessage(input, context),
|
|
232
|
+
Action: "CreateRedshiftIdcApplication",
|
|
233
|
+
Version: "2012-12-01",
|
|
234
|
+
});
|
|
235
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
236
|
+
};
|
|
227
237
|
export const se_CreateScheduledActionCommand = async (input, context) => {
|
|
228
238
|
const headers = SHARED_HEADERS;
|
|
229
239
|
let body;
|
|
@@ -404,6 +414,16 @@ export const se_DeletePartnerCommand = async (input, context) => {
|
|
|
404
414
|
});
|
|
405
415
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
406
416
|
};
|
|
417
|
+
export const se_DeleteRedshiftIdcApplicationCommand = async (input, context) => {
|
|
418
|
+
const headers = SHARED_HEADERS;
|
|
419
|
+
let body;
|
|
420
|
+
body = buildFormUrlencodedString({
|
|
421
|
+
...se_DeleteRedshiftIdcApplicationMessage(input, context),
|
|
422
|
+
Action: "DeleteRedshiftIdcApplication",
|
|
423
|
+
Version: "2012-12-01",
|
|
424
|
+
});
|
|
425
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
426
|
+
};
|
|
407
427
|
export const se_DeleteResourcePolicyCommand = async (input, context) => {
|
|
408
428
|
const headers = SHARED_HEADERS;
|
|
409
429
|
let body;
|
|
@@ -744,6 +764,16 @@ export const se_DescribePartnersCommand = async (input, context) => {
|
|
|
744
764
|
});
|
|
745
765
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
746
766
|
};
|
|
767
|
+
export const se_DescribeRedshiftIdcApplicationsCommand = async (input, context) => {
|
|
768
|
+
const headers = SHARED_HEADERS;
|
|
769
|
+
let body;
|
|
770
|
+
body = buildFormUrlencodedString({
|
|
771
|
+
...se_DescribeRedshiftIdcApplicationsMessage(input, context),
|
|
772
|
+
Action: "DescribeRedshiftIdcApplications",
|
|
773
|
+
Version: "2012-12-01",
|
|
774
|
+
});
|
|
775
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
776
|
+
};
|
|
747
777
|
export const se_DescribeReservedNodeExchangeStatusCommand = async (input, context) => {
|
|
748
778
|
const headers = SHARED_HEADERS;
|
|
749
779
|
let body;
|
|
@@ -1092,6 +1122,16 @@ export const se_ModifyEventSubscriptionCommand = async (input, context) => {
|
|
|
1092
1122
|
});
|
|
1093
1123
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1094
1124
|
};
|
|
1125
|
+
export const se_ModifyRedshiftIdcApplicationCommand = async (input, context) => {
|
|
1126
|
+
const headers = SHARED_HEADERS;
|
|
1127
|
+
let body;
|
|
1128
|
+
body = buildFormUrlencodedString({
|
|
1129
|
+
...se_ModifyRedshiftIdcApplicationMessage(input, context),
|
|
1130
|
+
Action: "ModifyRedshiftIdcApplication",
|
|
1131
|
+
Version: "2012-12-01",
|
|
1132
|
+
});
|
|
1133
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1134
|
+
};
|
|
1095
1135
|
export const se_ModifyScheduledActionCommand = async (input, context) => {
|
|
1096
1136
|
const headers = SHARED_HEADERS;
|
|
1097
1137
|
let body;
|
|
@@ -1851,6 +1891,9 @@ const de_CreateClusterCommandError = async (output, context) => {
|
|
|
1851
1891
|
case "NumberOfNodesQuotaExceeded":
|
|
1852
1892
|
case "com.amazonaws.redshift#NumberOfNodesQuotaExceededFault":
|
|
1853
1893
|
throw await de_NumberOfNodesQuotaExceededFaultRes(parsedOutput, context);
|
|
1894
|
+
case "RedshiftIdcApplicationNotExists":
|
|
1895
|
+
case "com.amazonaws.redshift#RedshiftIdcApplicationNotExistsFault":
|
|
1896
|
+
throw await de_RedshiftIdcApplicationNotExistsFaultRes(parsedOutput, context);
|
|
1854
1897
|
case "SnapshotScheduleNotFound":
|
|
1855
1898
|
case "com.amazonaws.redshift#SnapshotScheduleNotFoundFault":
|
|
1856
1899
|
throw await de_SnapshotScheduleNotFoundFaultRes(parsedOutput, context);
|
|
@@ -2298,6 +2341,50 @@ const de_CreateHsmConfigurationCommandError = async (output, context) => {
|
|
|
2298
2341
|
});
|
|
2299
2342
|
}
|
|
2300
2343
|
};
|
|
2344
|
+
export const de_CreateRedshiftIdcApplicationCommand = async (output, context) => {
|
|
2345
|
+
if (output.statusCode >= 300) {
|
|
2346
|
+
return de_CreateRedshiftIdcApplicationCommandError(output, context);
|
|
2347
|
+
}
|
|
2348
|
+
const data = await parseBody(output.body, context);
|
|
2349
|
+
let contents = {};
|
|
2350
|
+
contents = de_CreateRedshiftIdcApplicationResult(data.CreateRedshiftIdcApplicationResult, context);
|
|
2351
|
+
const response = {
|
|
2352
|
+
$metadata: deserializeMetadata(output),
|
|
2353
|
+
...contents,
|
|
2354
|
+
};
|
|
2355
|
+
return response;
|
|
2356
|
+
};
|
|
2357
|
+
const de_CreateRedshiftIdcApplicationCommandError = async (output, context) => {
|
|
2358
|
+
const parsedOutput = {
|
|
2359
|
+
...output,
|
|
2360
|
+
body: await parseErrorBody(output.body, context),
|
|
2361
|
+
};
|
|
2362
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2363
|
+
switch (errorCode) {
|
|
2364
|
+
case "DependentServiceAccessDenied":
|
|
2365
|
+
case "com.amazonaws.redshift#DependentServiceAccessDeniedFault":
|
|
2366
|
+
throw await de_DependentServiceAccessDeniedFaultRes(parsedOutput, context);
|
|
2367
|
+
case "DependentServiceUnavailableFault":
|
|
2368
|
+
case "com.amazonaws.redshift#DependentServiceUnavailableFault":
|
|
2369
|
+
throw await de_DependentServiceUnavailableFaultRes(parsedOutput, context);
|
|
2370
|
+
case "RedshiftIdcApplicationAlreadyExists":
|
|
2371
|
+
case "com.amazonaws.redshift#RedshiftIdcApplicationAlreadyExistsFault":
|
|
2372
|
+
throw await de_RedshiftIdcApplicationAlreadyExistsFaultRes(parsedOutput, context);
|
|
2373
|
+
case "RedshiftIdcApplicationQuotaExceeded":
|
|
2374
|
+
case "com.amazonaws.redshift#RedshiftIdcApplicationQuotaExceededFault":
|
|
2375
|
+
throw await de_RedshiftIdcApplicationQuotaExceededFaultRes(parsedOutput, context);
|
|
2376
|
+
case "UnsupportedOperation":
|
|
2377
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
2378
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
2379
|
+
default:
|
|
2380
|
+
const parsedBody = parsedOutput.body;
|
|
2381
|
+
return throwDefaultError({
|
|
2382
|
+
output,
|
|
2383
|
+
parsedBody: parsedBody.Error,
|
|
2384
|
+
errorCode,
|
|
2385
|
+
});
|
|
2386
|
+
}
|
|
2387
|
+
};
|
|
2301
2388
|
export const de_CreateScheduledActionCommand = async (output, context) => {
|
|
2302
2389
|
if (output.statusCode >= 300) {
|
|
2303
2390
|
return de_CreateScheduledActionCommandError(output, context);
|
|
@@ -2801,6 +2888,9 @@ const de_DeleteCustomDomainAssociationCommandError = async (output, context) =>
|
|
|
2801
2888
|
case "CustomCnameAssociationFault":
|
|
2802
2889
|
case "com.amazonaws.redshift#CustomCnameAssociationFault":
|
|
2803
2890
|
throw await de_CustomCnameAssociationFaultRes(parsedOutput, context);
|
|
2891
|
+
case "CustomDomainAssociationNotFoundFault":
|
|
2892
|
+
case "com.amazonaws.redshift#CustomDomainAssociationNotFoundFault":
|
|
2893
|
+
throw await de_CustomDomainAssociationNotFoundFaultRes(parsedOutput, context);
|
|
2804
2894
|
case "UnsupportedOperation":
|
|
2805
2895
|
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
2806
2896
|
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
@@ -2994,6 +3084,44 @@ const de_DeletePartnerCommandError = async (output, context) => {
|
|
|
2994
3084
|
});
|
|
2995
3085
|
}
|
|
2996
3086
|
};
|
|
3087
|
+
export const de_DeleteRedshiftIdcApplicationCommand = async (output, context) => {
|
|
3088
|
+
if (output.statusCode >= 300) {
|
|
3089
|
+
return de_DeleteRedshiftIdcApplicationCommandError(output, context);
|
|
3090
|
+
}
|
|
3091
|
+
await collectBody(output.body, context);
|
|
3092
|
+
const response = {
|
|
3093
|
+
$metadata: deserializeMetadata(output),
|
|
3094
|
+
};
|
|
3095
|
+
return response;
|
|
3096
|
+
};
|
|
3097
|
+
const de_DeleteRedshiftIdcApplicationCommandError = async (output, context) => {
|
|
3098
|
+
const parsedOutput = {
|
|
3099
|
+
...output,
|
|
3100
|
+
body: await parseErrorBody(output.body, context),
|
|
3101
|
+
};
|
|
3102
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3103
|
+
switch (errorCode) {
|
|
3104
|
+
case "DependentServiceAccessDenied":
|
|
3105
|
+
case "com.amazonaws.redshift#DependentServiceAccessDeniedFault":
|
|
3106
|
+
throw await de_DependentServiceAccessDeniedFaultRes(parsedOutput, context);
|
|
3107
|
+
case "DependentServiceUnavailableFault":
|
|
3108
|
+
case "com.amazonaws.redshift#DependentServiceUnavailableFault":
|
|
3109
|
+
throw await de_DependentServiceUnavailableFaultRes(parsedOutput, context);
|
|
3110
|
+
case "RedshiftIdcApplicationNotExists":
|
|
3111
|
+
case "com.amazonaws.redshift#RedshiftIdcApplicationNotExistsFault":
|
|
3112
|
+
throw await de_RedshiftIdcApplicationNotExistsFaultRes(parsedOutput, context);
|
|
3113
|
+
case "UnsupportedOperation":
|
|
3114
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
3115
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
3116
|
+
default:
|
|
3117
|
+
const parsedBody = parsedOutput.body;
|
|
3118
|
+
return throwDefaultError({
|
|
3119
|
+
output,
|
|
3120
|
+
parsedBody: parsedBody.Error,
|
|
3121
|
+
errorCode,
|
|
3122
|
+
});
|
|
3123
|
+
}
|
|
3124
|
+
};
|
|
2997
3125
|
export const de_DeleteResourcePolicyCommand = async (output, context) => {
|
|
2998
3126
|
if (output.statusCode >= 300) {
|
|
2999
3127
|
return de_DeleteResourcePolicyCommandError(output, context);
|
|
@@ -4124,6 +4252,47 @@ const de_DescribePartnersCommandError = async (output, context) => {
|
|
|
4124
4252
|
});
|
|
4125
4253
|
}
|
|
4126
4254
|
};
|
|
4255
|
+
export const de_DescribeRedshiftIdcApplicationsCommand = async (output, context) => {
|
|
4256
|
+
if (output.statusCode >= 300) {
|
|
4257
|
+
return de_DescribeRedshiftIdcApplicationsCommandError(output, context);
|
|
4258
|
+
}
|
|
4259
|
+
const data = await parseBody(output.body, context);
|
|
4260
|
+
let contents = {};
|
|
4261
|
+
contents = de_DescribeRedshiftIdcApplicationsResult(data.DescribeRedshiftIdcApplicationsResult, context);
|
|
4262
|
+
const response = {
|
|
4263
|
+
$metadata: deserializeMetadata(output),
|
|
4264
|
+
...contents,
|
|
4265
|
+
};
|
|
4266
|
+
return response;
|
|
4267
|
+
};
|
|
4268
|
+
const de_DescribeRedshiftIdcApplicationsCommandError = async (output, context) => {
|
|
4269
|
+
const parsedOutput = {
|
|
4270
|
+
...output,
|
|
4271
|
+
body: await parseErrorBody(output.body, context),
|
|
4272
|
+
};
|
|
4273
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4274
|
+
switch (errorCode) {
|
|
4275
|
+
case "DependentServiceAccessDenied":
|
|
4276
|
+
case "com.amazonaws.redshift#DependentServiceAccessDeniedFault":
|
|
4277
|
+
throw await de_DependentServiceAccessDeniedFaultRes(parsedOutput, context);
|
|
4278
|
+
case "DependentServiceUnavailableFault":
|
|
4279
|
+
case "com.amazonaws.redshift#DependentServiceUnavailableFault":
|
|
4280
|
+
throw await de_DependentServiceUnavailableFaultRes(parsedOutput, context);
|
|
4281
|
+
case "RedshiftIdcApplicationNotExists":
|
|
4282
|
+
case "com.amazonaws.redshift#RedshiftIdcApplicationNotExistsFault":
|
|
4283
|
+
throw await de_RedshiftIdcApplicationNotExistsFaultRes(parsedOutput, context);
|
|
4284
|
+
case "UnsupportedOperation":
|
|
4285
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
4286
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
4287
|
+
default:
|
|
4288
|
+
const parsedBody = parsedOutput.body;
|
|
4289
|
+
return throwDefaultError({
|
|
4290
|
+
output,
|
|
4291
|
+
parsedBody: parsedBody.Error,
|
|
4292
|
+
errorCode,
|
|
4293
|
+
});
|
|
4294
|
+
}
|
|
4295
|
+
};
|
|
4127
4296
|
export const de_DescribeReservedNodeExchangeStatusCommand = async (output, context) => {
|
|
4128
4297
|
if (output.statusCode >= 300) {
|
|
4129
4298
|
return de_DescribeReservedNodeExchangeStatusCommandError(output, context);
|
|
@@ -5441,6 +5610,9 @@ const de_ModifyCustomDomainAssociationCommandError = async (output, context) =>
|
|
|
5441
5610
|
case "CustomCnameAssociationFault":
|
|
5442
5611
|
case "com.amazonaws.redshift#CustomCnameAssociationFault":
|
|
5443
5612
|
throw await de_CustomCnameAssociationFaultRes(parsedOutput, context);
|
|
5613
|
+
case "CustomDomainAssociationNotFoundFault":
|
|
5614
|
+
case "com.amazonaws.redshift#CustomDomainAssociationNotFoundFault":
|
|
5615
|
+
throw await de_CustomDomainAssociationNotFoundFaultRes(parsedOutput, context);
|
|
5444
5616
|
case "UnsupportedOperation":
|
|
5445
5617
|
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
5446
5618
|
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
@@ -5556,6 +5728,47 @@ const de_ModifyEventSubscriptionCommandError = async (output, context) => {
|
|
|
5556
5728
|
});
|
|
5557
5729
|
}
|
|
5558
5730
|
};
|
|
5731
|
+
export const de_ModifyRedshiftIdcApplicationCommand = async (output, context) => {
|
|
5732
|
+
if (output.statusCode >= 300) {
|
|
5733
|
+
return de_ModifyRedshiftIdcApplicationCommandError(output, context);
|
|
5734
|
+
}
|
|
5735
|
+
const data = await parseBody(output.body, context);
|
|
5736
|
+
let contents = {};
|
|
5737
|
+
contents = de_ModifyRedshiftIdcApplicationResult(data.ModifyRedshiftIdcApplicationResult, context);
|
|
5738
|
+
const response = {
|
|
5739
|
+
$metadata: deserializeMetadata(output),
|
|
5740
|
+
...contents,
|
|
5741
|
+
};
|
|
5742
|
+
return response;
|
|
5743
|
+
};
|
|
5744
|
+
const de_ModifyRedshiftIdcApplicationCommandError = async (output, context) => {
|
|
5745
|
+
const parsedOutput = {
|
|
5746
|
+
...output,
|
|
5747
|
+
body: await parseErrorBody(output.body, context),
|
|
5748
|
+
};
|
|
5749
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
5750
|
+
switch (errorCode) {
|
|
5751
|
+
case "DependentServiceAccessDenied":
|
|
5752
|
+
case "com.amazonaws.redshift#DependentServiceAccessDeniedFault":
|
|
5753
|
+
throw await de_DependentServiceAccessDeniedFaultRes(parsedOutput, context);
|
|
5754
|
+
case "DependentServiceUnavailableFault":
|
|
5755
|
+
case "com.amazonaws.redshift#DependentServiceUnavailableFault":
|
|
5756
|
+
throw await de_DependentServiceUnavailableFaultRes(parsedOutput, context);
|
|
5757
|
+
case "RedshiftIdcApplicationNotExists":
|
|
5758
|
+
case "com.amazonaws.redshift#RedshiftIdcApplicationNotExistsFault":
|
|
5759
|
+
throw await de_RedshiftIdcApplicationNotExistsFaultRes(parsedOutput, context);
|
|
5760
|
+
case "UnsupportedOperation":
|
|
5761
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
5762
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
5763
|
+
default:
|
|
5764
|
+
const parsedBody = parsedOutput.body;
|
|
5765
|
+
return throwDefaultError({
|
|
5766
|
+
output,
|
|
5767
|
+
parsedBody: parsedBody.Error,
|
|
5768
|
+
errorCode,
|
|
5769
|
+
});
|
|
5770
|
+
}
|
|
5771
|
+
};
|
|
5559
5772
|
export const de_ModifyScheduledActionCommand = async (output, context) => {
|
|
5560
5773
|
if (output.statusCode >= 300) {
|
|
5561
5774
|
return de_ModifyScheduledActionCommandError(output, context);
|
|
@@ -6740,6 +6953,15 @@ const de_CustomDomainAssociationNotFoundFaultRes = async (parsedOutput, context)
|
|
|
6740
6953
|
});
|
|
6741
6954
|
return __decorateServiceException(exception, body);
|
|
6742
6955
|
};
|
|
6956
|
+
const de_DependentServiceAccessDeniedFaultRes = async (parsedOutput, context) => {
|
|
6957
|
+
const body = parsedOutput.body;
|
|
6958
|
+
const deserialized = de_DependentServiceAccessDeniedFault(body.Error, context);
|
|
6959
|
+
const exception = new DependentServiceAccessDeniedFault({
|
|
6960
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
6961
|
+
...deserialized,
|
|
6962
|
+
});
|
|
6963
|
+
return __decorateServiceException(exception, body);
|
|
6964
|
+
};
|
|
6743
6965
|
const de_DependentServiceRequestThrottlingFaultRes = async (parsedOutput, context) => {
|
|
6744
6966
|
const body = parsedOutput.body;
|
|
6745
6967
|
const deserialized = de_DependentServiceRequestThrottlingFault(body.Error, context);
|
|
@@ -7253,6 +7475,33 @@ const de_PartnerNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
7253
7475
|
});
|
|
7254
7476
|
return __decorateServiceException(exception, body);
|
|
7255
7477
|
};
|
|
7478
|
+
const de_RedshiftIdcApplicationAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
7479
|
+
const body = parsedOutput.body;
|
|
7480
|
+
const deserialized = de_RedshiftIdcApplicationAlreadyExistsFault(body.Error, context);
|
|
7481
|
+
const exception = new RedshiftIdcApplicationAlreadyExistsFault({
|
|
7482
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
7483
|
+
...deserialized,
|
|
7484
|
+
});
|
|
7485
|
+
return __decorateServiceException(exception, body);
|
|
7486
|
+
};
|
|
7487
|
+
const de_RedshiftIdcApplicationNotExistsFaultRes = async (parsedOutput, context) => {
|
|
7488
|
+
const body = parsedOutput.body;
|
|
7489
|
+
const deserialized = de_RedshiftIdcApplicationNotExistsFault(body.Error, context);
|
|
7490
|
+
const exception = new RedshiftIdcApplicationNotExistsFault({
|
|
7491
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
7492
|
+
...deserialized,
|
|
7493
|
+
});
|
|
7494
|
+
return __decorateServiceException(exception, body);
|
|
7495
|
+
};
|
|
7496
|
+
const de_RedshiftIdcApplicationQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
7497
|
+
const body = parsedOutput.body;
|
|
7498
|
+
const deserialized = de_RedshiftIdcApplicationQuotaExceededFault(body.Error, context);
|
|
7499
|
+
const exception = new RedshiftIdcApplicationQuotaExceededFault({
|
|
7500
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
7501
|
+
...deserialized,
|
|
7502
|
+
});
|
|
7503
|
+
return __decorateServiceException(exception, body);
|
|
7504
|
+
};
|
|
7256
7505
|
const de_ReservedNodeAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
7257
7506
|
const body = parsedOutput.body;
|
|
7258
7507
|
const deserialized = de_ReservedNodeAlreadyExistsFault(body.Error, context);
|
|
@@ -7704,6 +7953,50 @@ const se_AuthorizeDataShareMessage = (input, context) => {
|
|
|
7704
7953
|
}
|
|
7705
7954
|
return entries;
|
|
7706
7955
|
};
|
|
7956
|
+
const se_AuthorizedAudienceList = (input, context) => {
|
|
7957
|
+
const entries = {};
|
|
7958
|
+
let counter = 1;
|
|
7959
|
+
for (const entry of input) {
|
|
7960
|
+
if (entry === null) {
|
|
7961
|
+
continue;
|
|
7962
|
+
}
|
|
7963
|
+
entries[`member.${counter}`] = entry;
|
|
7964
|
+
counter++;
|
|
7965
|
+
}
|
|
7966
|
+
return entries;
|
|
7967
|
+
};
|
|
7968
|
+
const se_AuthorizedTokenIssuer = (input, context) => {
|
|
7969
|
+
const entries = {};
|
|
7970
|
+
if (input.TrustedTokenIssuerArn != null) {
|
|
7971
|
+
entries["TrustedTokenIssuerArn"] = input.TrustedTokenIssuerArn;
|
|
7972
|
+
}
|
|
7973
|
+
if (input.AuthorizedAudiencesList != null) {
|
|
7974
|
+
const memberEntries = se_AuthorizedAudienceList(input.AuthorizedAudiencesList, context);
|
|
7975
|
+
if (input.AuthorizedAudiencesList?.length === 0) {
|
|
7976
|
+
entries.AuthorizedAudiencesList = [];
|
|
7977
|
+
}
|
|
7978
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7979
|
+
const loc = `AuthorizedAudiencesList.${key}`;
|
|
7980
|
+
entries[loc] = value;
|
|
7981
|
+
});
|
|
7982
|
+
}
|
|
7983
|
+
return entries;
|
|
7984
|
+
};
|
|
7985
|
+
const se_AuthorizedTokenIssuerList = (input, context) => {
|
|
7986
|
+
const entries = {};
|
|
7987
|
+
let counter = 1;
|
|
7988
|
+
for (const entry of input) {
|
|
7989
|
+
if (entry === null) {
|
|
7990
|
+
continue;
|
|
7991
|
+
}
|
|
7992
|
+
const memberEntries = se_AuthorizedTokenIssuer(entry, context);
|
|
7993
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7994
|
+
entries[`member.${counter}.${key}`] = value;
|
|
7995
|
+
});
|
|
7996
|
+
counter++;
|
|
7997
|
+
}
|
|
7998
|
+
return entries;
|
|
7999
|
+
};
|
|
7707
8000
|
const se_AuthorizeEndpointAccessMessage = (input, context) => {
|
|
7708
8001
|
const entries = {};
|
|
7709
8002
|
if (input.ClusterIdentifier != null) {
|
|
@@ -7963,6 +8256,9 @@ const se_CreateClusterMessage = (input, context) => {
|
|
|
7963
8256
|
if (input.MultiAZ != null) {
|
|
7964
8257
|
entries["MultiAZ"] = input.MultiAZ;
|
|
7965
8258
|
}
|
|
8259
|
+
if (input.RedshiftIdcApplicationArn != null) {
|
|
8260
|
+
entries["RedshiftIdcApplicationArn"] = input.RedshiftIdcApplicationArn;
|
|
8261
|
+
}
|
|
7966
8262
|
return entries;
|
|
7967
8263
|
};
|
|
7968
8264
|
const se_CreateClusterParameterGroupMessage = (input, context) => {
|
|
@@ -8198,6 +8494,45 @@ const se_CreateHsmConfigurationMessage = (input, context) => {
|
|
|
8198
8494
|
}
|
|
8199
8495
|
return entries;
|
|
8200
8496
|
};
|
|
8497
|
+
const se_CreateRedshiftIdcApplicationMessage = (input, context) => {
|
|
8498
|
+
const entries = {};
|
|
8499
|
+
if (input.IdcInstanceArn != null) {
|
|
8500
|
+
entries["IdcInstanceArn"] = input.IdcInstanceArn;
|
|
8501
|
+
}
|
|
8502
|
+
if (input.RedshiftIdcApplicationName != null) {
|
|
8503
|
+
entries["RedshiftIdcApplicationName"] = input.RedshiftIdcApplicationName;
|
|
8504
|
+
}
|
|
8505
|
+
if (input.IdentityNamespace != null) {
|
|
8506
|
+
entries["IdentityNamespace"] = input.IdentityNamespace;
|
|
8507
|
+
}
|
|
8508
|
+
if (input.IdcDisplayName != null) {
|
|
8509
|
+
entries["IdcDisplayName"] = input.IdcDisplayName;
|
|
8510
|
+
}
|
|
8511
|
+
if (input.IamRoleArn != null) {
|
|
8512
|
+
entries["IamRoleArn"] = input.IamRoleArn;
|
|
8513
|
+
}
|
|
8514
|
+
if (input.AuthorizedTokenIssuerList != null) {
|
|
8515
|
+
const memberEntries = se_AuthorizedTokenIssuerList(input.AuthorizedTokenIssuerList, context);
|
|
8516
|
+
if (input.AuthorizedTokenIssuerList?.length === 0) {
|
|
8517
|
+
entries.AuthorizedTokenIssuerList = [];
|
|
8518
|
+
}
|
|
8519
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8520
|
+
const loc = `AuthorizedTokenIssuerList.${key}`;
|
|
8521
|
+
entries[loc] = value;
|
|
8522
|
+
});
|
|
8523
|
+
}
|
|
8524
|
+
if (input.ServiceIntegrations != null) {
|
|
8525
|
+
const memberEntries = se_ServiceIntegrationList(input.ServiceIntegrations, context);
|
|
8526
|
+
if (input.ServiceIntegrations?.length === 0) {
|
|
8527
|
+
entries.ServiceIntegrations = [];
|
|
8528
|
+
}
|
|
8529
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8530
|
+
const loc = `ServiceIntegrations.${key}`;
|
|
8531
|
+
entries[loc] = value;
|
|
8532
|
+
});
|
|
8533
|
+
}
|
|
8534
|
+
return entries;
|
|
8535
|
+
};
|
|
8201
8536
|
const se_CreateScheduledActionMessage = (input, context) => {
|
|
8202
8537
|
const entries = {};
|
|
8203
8538
|
if (input.ScheduledActionName != null) {
|
|
@@ -8431,6 +8766,9 @@ const se_DeleteCustomDomainAssociationMessage = (input, context) => {
|
|
|
8431
8766
|
if (input.ClusterIdentifier != null) {
|
|
8432
8767
|
entries["ClusterIdentifier"] = input.ClusterIdentifier;
|
|
8433
8768
|
}
|
|
8769
|
+
if (input.CustomDomainName != null) {
|
|
8770
|
+
entries["CustomDomainName"] = input.CustomDomainName;
|
|
8771
|
+
}
|
|
8434
8772
|
return entries;
|
|
8435
8773
|
};
|
|
8436
8774
|
const se_DeleteEndpointAccessMessage = (input, context) => {
|
|
@@ -8461,6 +8799,13 @@ const se_DeleteHsmConfigurationMessage = (input, context) => {
|
|
|
8461
8799
|
}
|
|
8462
8800
|
return entries;
|
|
8463
8801
|
};
|
|
8802
|
+
const se_DeleteRedshiftIdcApplicationMessage = (input, context) => {
|
|
8803
|
+
const entries = {};
|
|
8804
|
+
if (input.RedshiftIdcApplicationArn != null) {
|
|
8805
|
+
entries["RedshiftIdcApplicationArn"] = input.RedshiftIdcApplicationArn;
|
|
8806
|
+
}
|
|
8807
|
+
return entries;
|
|
8808
|
+
};
|
|
8464
8809
|
const se_DeleteResourcePolicyMessage = (input, context) => {
|
|
8465
8810
|
const entries = {};
|
|
8466
8811
|
if (input.ResourceArn != null) {
|
|
@@ -9124,6 +9469,19 @@ const se_DescribePartnersInputMessage = (input, context) => {
|
|
|
9124
9469
|
}
|
|
9125
9470
|
return entries;
|
|
9126
9471
|
};
|
|
9472
|
+
const se_DescribeRedshiftIdcApplicationsMessage = (input, context) => {
|
|
9473
|
+
const entries = {};
|
|
9474
|
+
if (input.RedshiftIdcApplicationArn != null) {
|
|
9475
|
+
entries["RedshiftIdcApplicationArn"] = input.RedshiftIdcApplicationArn;
|
|
9476
|
+
}
|
|
9477
|
+
if (input.MaxRecords != null) {
|
|
9478
|
+
entries["MaxRecords"] = input.MaxRecords;
|
|
9479
|
+
}
|
|
9480
|
+
if (input.Marker != null) {
|
|
9481
|
+
entries["Marker"] = input.Marker;
|
|
9482
|
+
}
|
|
9483
|
+
return entries;
|
|
9484
|
+
};
|
|
9127
9485
|
const se_DescribeReservedNodeExchangeStatusInputMessage = (input, context) => {
|
|
9128
9486
|
const entries = {};
|
|
9129
9487
|
if (input.ReservedNodeId != null) {
|
|
@@ -9561,6 +9919,44 @@ const se_IamRoleArnList = (input, context) => {
|
|
|
9561
9919
|
}
|
|
9562
9920
|
return entries;
|
|
9563
9921
|
};
|
|
9922
|
+
const se_LakeFormationQuery = (input, context) => {
|
|
9923
|
+
const entries = {};
|
|
9924
|
+
if (input.Authorization != null) {
|
|
9925
|
+
entries["Authorization"] = input.Authorization;
|
|
9926
|
+
}
|
|
9927
|
+
return entries;
|
|
9928
|
+
};
|
|
9929
|
+
const se_LakeFormationScopeUnion = (input, context) => {
|
|
9930
|
+
const entries = {};
|
|
9931
|
+
LakeFormationScopeUnion.visit(input, {
|
|
9932
|
+
LakeFormationQuery: (value) => {
|
|
9933
|
+
const memberEntries = se_LakeFormationQuery(value, context);
|
|
9934
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9935
|
+
const loc = `LakeFormationQuery.${key}`;
|
|
9936
|
+
entries[loc] = value;
|
|
9937
|
+
});
|
|
9938
|
+
},
|
|
9939
|
+
_: (name, value) => {
|
|
9940
|
+
entries[name] = value;
|
|
9941
|
+
},
|
|
9942
|
+
});
|
|
9943
|
+
return entries;
|
|
9944
|
+
};
|
|
9945
|
+
const se_LakeFormationServiceIntegrations = (input, context) => {
|
|
9946
|
+
const entries = {};
|
|
9947
|
+
let counter = 1;
|
|
9948
|
+
for (const entry of input) {
|
|
9949
|
+
if (entry === null) {
|
|
9950
|
+
continue;
|
|
9951
|
+
}
|
|
9952
|
+
const memberEntries = se_LakeFormationScopeUnion(entry, context);
|
|
9953
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9954
|
+
entries[`member.${counter}.${key}`] = value;
|
|
9955
|
+
});
|
|
9956
|
+
counter++;
|
|
9957
|
+
}
|
|
9958
|
+
return entries;
|
|
9959
|
+
};
|
|
9564
9960
|
const se_LogTypeList = (input, context) => {
|
|
9565
9961
|
const entries = {};
|
|
9566
9962
|
let counter = 1;
|
|
@@ -9892,6 +10288,42 @@ const se_ModifyEventSubscriptionMessage = (input, context) => {
|
|
|
9892
10288
|
}
|
|
9893
10289
|
return entries;
|
|
9894
10290
|
};
|
|
10291
|
+
const se_ModifyRedshiftIdcApplicationMessage = (input, context) => {
|
|
10292
|
+
const entries = {};
|
|
10293
|
+
if (input.RedshiftIdcApplicationArn != null) {
|
|
10294
|
+
entries["RedshiftIdcApplicationArn"] = input.RedshiftIdcApplicationArn;
|
|
10295
|
+
}
|
|
10296
|
+
if (input.IdentityNamespace != null) {
|
|
10297
|
+
entries["IdentityNamespace"] = input.IdentityNamespace;
|
|
10298
|
+
}
|
|
10299
|
+
if (input.IamRoleArn != null) {
|
|
10300
|
+
entries["IamRoleArn"] = input.IamRoleArn;
|
|
10301
|
+
}
|
|
10302
|
+
if (input.IdcDisplayName != null) {
|
|
10303
|
+
entries["IdcDisplayName"] = input.IdcDisplayName;
|
|
10304
|
+
}
|
|
10305
|
+
if (input.AuthorizedTokenIssuerList != null) {
|
|
10306
|
+
const memberEntries = se_AuthorizedTokenIssuerList(input.AuthorizedTokenIssuerList, context);
|
|
10307
|
+
if (input.AuthorizedTokenIssuerList?.length === 0) {
|
|
10308
|
+
entries.AuthorizedTokenIssuerList = [];
|
|
10309
|
+
}
|
|
10310
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
10311
|
+
const loc = `AuthorizedTokenIssuerList.${key}`;
|
|
10312
|
+
entries[loc] = value;
|
|
10313
|
+
});
|
|
10314
|
+
}
|
|
10315
|
+
if (input.ServiceIntegrations != null) {
|
|
10316
|
+
const memberEntries = se_ServiceIntegrationList(input.ServiceIntegrations, context);
|
|
10317
|
+
if (input.ServiceIntegrations?.length === 0) {
|
|
10318
|
+
entries.ServiceIntegrations = [];
|
|
10319
|
+
}
|
|
10320
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
10321
|
+
const loc = `ServiceIntegrations.${key}`;
|
|
10322
|
+
entries[loc] = value;
|
|
10323
|
+
});
|
|
10324
|
+
}
|
|
10325
|
+
return entries;
|
|
10326
|
+
};
|
|
9895
10327
|
const se_ModifyScheduledActionMessage = (input, context) => {
|
|
9896
10328
|
const entries = {};
|
|
9897
10329
|
if (input.ScheduledActionName != null) {
|
|
@@ -10455,6 +10887,40 @@ const se_ScheduleDefinitionList = (input, context) => {
|
|
|
10455
10887
|
}
|
|
10456
10888
|
return entries;
|
|
10457
10889
|
};
|
|
10890
|
+
const se_ServiceIntegrationList = (input, context) => {
|
|
10891
|
+
const entries = {};
|
|
10892
|
+
let counter = 1;
|
|
10893
|
+
for (const entry of input) {
|
|
10894
|
+
if (entry === null) {
|
|
10895
|
+
continue;
|
|
10896
|
+
}
|
|
10897
|
+
const memberEntries = se_ServiceIntegrationsUnion(entry, context);
|
|
10898
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
10899
|
+
entries[`member.${counter}.${key}`] = value;
|
|
10900
|
+
});
|
|
10901
|
+
counter++;
|
|
10902
|
+
}
|
|
10903
|
+
return entries;
|
|
10904
|
+
};
|
|
10905
|
+
const se_ServiceIntegrationsUnion = (input, context) => {
|
|
10906
|
+
const entries = {};
|
|
10907
|
+
ServiceIntegrationsUnion.visit(input, {
|
|
10908
|
+
LakeFormation: (value) => {
|
|
10909
|
+
const memberEntries = se_LakeFormationServiceIntegrations(value, context);
|
|
10910
|
+
if (value?.length === 0) {
|
|
10911
|
+
entries.LakeFormation = [];
|
|
10912
|
+
}
|
|
10913
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
10914
|
+
const loc = `LakeFormation.${key}`;
|
|
10915
|
+
entries[loc] = value;
|
|
10916
|
+
});
|
|
10917
|
+
},
|
|
10918
|
+
_: (name, value) => {
|
|
10919
|
+
entries[name] = value;
|
|
10920
|
+
},
|
|
10921
|
+
});
|
|
10922
|
+
return entries;
|
|
10923
|
+
};
|
|
10458
10924
|
const se_SnapshotIdentifierList = (input, context) => {
|
|
10459
10925
|
const entries = {};
|
|
10460
10926
|
let counter = 1;
|
|
@@ -10814,6 +11280,34 @@ const de_AuthorizeClusterSecurityGroupIngressResult = (output, context) => {
|
|
|
10814
11280
|
}
|
|
10815
11281
|
return contents;
|
|
10816
11282
|
};
|
|
11283
|
+
const de_AuthorizedAudienceList = (output, context) => {
|
|
11284
|
+
return (output || [])
|
|
11285
|
+
.filter((e) => e != null)
|
|
11286
|
+
.map((entry) => {
|
|
11287
|
+
return __expectString(entry);
|
|
11288
|
+
});
|
|
11289
|
+
};
|
|
11290
|
+
const de_AuthorizedTokenIssuer = (output, context) => {
|
|
11291
|
+
const contents = {};
|
|
11292
|
+
if (output["TrustedTokenIssuerArn"] !== undefined) {
|
|
11293
|
+
contents.TrustedTokenIssuerArn = __expectString(output["TrustedTokenIssuerArn"]);
|
|
11294
|
+
}
|
|
11295
|
+
if (output.AuthorizedAudiencesList === "") {
|
|
11296
|
+
contents.AuthorizedAudiencesList = [];
|
|
11297
|
+
}
|
|
11298
|
+
else if (output["AuthorizedAudiencesList"] !== undefined &&
|
|
11299
|
+
output["AuthorizedAudiencesList"]["member"] !== undefined) {
|
|
11300
|
+
contents.AuthorizedAudiencesList = de_AuthorizedAudienceList(__getArrayIfSingleItem(output["AuthorizedAudiencesList"]["member"]), context);
|
|
11301
|
+
}
|
|
11302
|
+
return contents;
|
|
11303
|
+
};
|
|
11304
|
+
const de_AuthorizedTokenIssuerList = (output, context) => {
|
|
11305
|
+
return (output || [])
|
|
11306
|
+
.filter((e) => e != null)
|
|
11307
|
+
.map((entry) => {
|
|
11308
|
+
return de_AuthorizedTokenIssuer(entry, context);
|
|
11309
|
+
});
|
|
11310
|
+
};
|
|
10817
11311
|
const de_AuthorizeSnapshotAccessResult = (output, context) => {
|
|
10818
11312
|
const contents = {};
|
|
10819
11313
|
if (output["Snapshot"] !== undefined) {
|
|
@@ -11768,6 +12262,13 @@ const de_CreateHsmConfigurationResult = (output, context) => {
|
|
|
11768
12262
|
}
|
|
11769
12263
|
return contents;
|
|
11770
12264
|
};
|
|
12265
|
+
const de_CreateRedshiftIdcApplicationResult = (output, context) => {
|
|
12266
|
+
const contents = {};
|
|
12267
|
+
if (output["RedshiftIdcApplication"] !== undefined) {
|
|
12268
|
+
contents.RedshiftIdcApplication = de_RedshiftIdcApplication(output["RedshiftIdcApplication"], context);
|
|
12269
|
+
}
|
|
12270
|
+
return contents;
|
|
12271
|
+
};
|
|
11771
12272
|
const de_CreateSnapshotCopyGrantResult = (output, context) => {
|
|
11772
12273
|
const contents = {};
|
|
11773
12274
|
if (output["SnapshotCopyGrant"] !== undefined) {
|
|
@@ -11946,6 +12447,13 @@ const de_DeleteClusterSnapshotResult = (output, context) => {
|
|
|
11946
12447
|
}
|
|
11947
12448
|
return contents;
|
|
11948
12449
|
};
|
|
12450
|
+
const de_DependentServiceAccessDeniedFault = (output, context) => {
|
|
12451
|
+
const contents = {};
|
|
12452
|
+
if (output["message"] !== undefined) {
|
|
12453
|
+
contents.message = __expectString(output["message"]);
|
|
12454
|
+
}
|
|
12455
|
+
return contents;
|
|
12456
|
+
};
|
|
11949
12457
|
const de_DependentServiceRequestThrottlingFault = (output, context) => {
|
|
11950
12458
|
const contents = {};
|
|
11951
12459
|
if (output["message"] !== undefined) {
|
|
@@ -12028,6 +12536,20 @@ const de_DescribePartnersOutputMessage = (output, context) => {
|
|
|
12028
12536
|
}
|
|
12029
12537
|
return contents;
|
|
12030
12538
|
};
|
|
12539
|
+
const de_DescribeRedshiftIdcApplicationsResult = (output, context) => {
|
|
12540
|
+
const contents = {};
|
|
12541
|
+
if (output.RedshiftIdcApplications === "") {
|
|
12542
|
+
contents.RedshiftIdcApplications = [];
|
|
12543
|
+
}
|
|
12544
|
+
else if (output["RedshiftIdcApplications"] !== undefined &&
|
|
12545
|
+
output["RedshiftIdcApplications"]["member"] !== undefined) {
|
|
12546
|
+
contents.RedshiftIdcApplications = de_RedshiftIdcApplicationList(__getArrayIfSingleItem(output["RedshiftIdcApplications"]["member"]), context);
|
|
12547
|
+
}
|
|
12548
|
+
if (output["Marker"] !== undefined) {
|
|
12549
|
+
contents.Marker = __expectString(output["Marker"]);
|
|
12550
|
+
}
|
|
12551
|
+
return contents;
|
|
12552
|
+
};
|
|
12031
12553
|
const de_DescribeReservedNodeExchangeStatusOutputMessage = (output, context) => {
|
|
12032
12554
|
const contents = {};
|
|
12033
12555
|
if (output.ReservedNodeExchangeStatusDetails === "") {
|
|
@@ -13021,6 +13543,28 @@ const de_Ipv6CidrBlockNotFoundFault = (output, context) => {
|
|
|
13021
13543
|
}
|
|
13022
13544
|
return contents;
|
|
13023
13545
|
};
|
|
13546
|
+
const de_LakeFormationQuery = (output, context) => {
|
|
13547
|
+
const contents = {};
|
|
13548
|
+
if (output["Authorization"] !== undefined) {
|
|
13549
|
+
contents.Authorization = __expectString(output["Authorization"]);
|
|
13550
|
+
}
|
|
13551
|
+
return contents;
|
|
13552
|
+
};
|
|
13553
|
+
const de_LakeFormationScopeUnion = (output, context) => {
|
|
13554
|
+
if (output["LakeFormationQuery"] !== undefined) {
|
|
13555
|
+
return {
|
|
13556
|
+
LakeFormationQuery: de_LakeFormationQuery(output["LakeFormationQuery"], context),
|
|
13557
|
+
};
|
|
13558
|
+
}
|
|
13559
|
+
return { $unknown: Object.entries(output)[0] };
|
|
13560
|
+
};
|
|
13561
|
+
const de_LakeFormationServiceIntegrations = (output, context) => {
|
|
13562
|
+
return (output || [])
|
|
13563
|
+
.filter((e) => e != null)
|
|
13564
|
+
.map((entry) => {
|
|
13565
|
+
return de_LakeFormationScopeUnion(__expectUnion(entry), context);
|
|
13566
|
+
});
|
|
13567
|
+
};
|
|
13024
13568
|
const de_LimitExceededFault = (output, context) => {
|
|
13025
13569
|
const contents = {};
|
|
13026
13570
|
if (output["message"] !== undefined) {
|
|
@@ -13164,6 +13708,13 @@ const de_ModifyEventSubscriptionResult = (output, context) => {
|
|
|
13164
13708
|
}
|
|
13165
13709
|
return contents;
|
|
13166
13710
|
};
|
|
13711
|
+
const de_ModifyRedshiftIdcApplicationResult = (output, context) => {
|
|
13712
|
+
const contents = {};
|
|
13713
|
+
if (output["RedshiftIdcApplication"] !== undefined) {
|
|
13714
|
+
contents.RedshiftIdcApplication = de_RedshiftIdcApplication(output["RedshiftIdcApplication"], context);
|
|
13715
|
+
}
|
|
13716
|
+
return contents;
|
|
13717
|
+
};
|
|
13167
13718
|
const de_ModifySnapshotCopyRetentionPeriodResult = (output, context) => {
|
|
13168
13719
|
const contents = {};
|
|
13169
13720
|
if (output["Cluster"] !== undefined) {
|
|
@@ -13476,6 +14027,75 @@ const de_RecurringChargeList = (output, context) => {
|
|
|
13476
14027
|
return de_RecurringCharge(entry, context);
|
|
13477
14028
|
});
|
|
13478
14029
|
};
|
|
14030
|
+
const de_RedshiftIdcApplication = (output, context) => {
|
|
14031
|
+
const contents = {};
|
|
14032
|
+
if (output["IdcInstanceArn"] !== undefined) {
|
|
14033
|
+
contents.IdcInstanceArn = __expectString(output["IdcInstanceArn"]);
|
|
14034
|
+
}
|
|
14035
|
+
if (output["RedshiftIdcApplicationName"] !== undefined) {
|
|
14036
|
+
contents.RedshiftIdcApplicationName = __expectString(output["RedshiftIdcApplicationName"]);
|
|
14037
|
+
}
|
|
14038
|
+
if (output["RedshiftIdcApplicationArn"] !== undefined) {
|
|
14039
|
+
contents.RedshiftIdcApplicationArn = __expectString(output["RedshiftIdcApplicationArn"]);
|
|
14040
|
+
}
|
|
14041
|
+
if (output["IdentityNamespace"] !== undefined) {
|
|
14042
|
+
contents.IdentityNamespace = __expectString(output["IdentityNamespace"]);
|
|
14043
|
+
}
|
|
14044
|
+
if (output["IdcDisplayName"] !== undefined) {
|
|
14045
|
+
contents.IdcDisplayName = __expectString(output["IdcDisplayName"]);
|
|
14046
|
+
}
|
|
14047
|
+
if (output["IamRoleArn"] !== undefined) {
|
|
14048
|
+
contents.IamRoleArn = __expectString(output["IamRoleArn"]);
|
|
14049
|
+
}
|
|
14050
|
+
if (output["IdcManagedApplicationArn"] !== undefined) {
|
|
14051
|
+
contents.IdcManagedApplicationArn = __expectString(output["IdcManagedApplicationArn"]);
|
|
14052
|
+
}
|
|
14053
|
+
if (output["IdcOnboardStatus"] !== undefined) {
|
|
14054
|
+
contents.IdcOnboardStatus = __expectString(output["IdcOnboardStatus"]);
|
|
14055
|
+
}
|
|
14056
|
+
if (output.AuthorizedTokenIssuerList === "") {
|
|
14057
|
+
contents.AuthorizedTokenIssuerList = [];
|
|
14058
|
+
}
|
|
14059
|
+
else if (output["AuthorizedTokenIssuerList"] !== undefined &&
|
|
14060
|
+
output["AuthorizedTokenIssuerList"]["member"] !== undefined) {
|
|
14061
|
+
contents.AuthorizedTokenIssuerList = de_AuthorizedTokenIssuerList(__getArrayIfSingleItem(output["AuthorizedTokenIssuerList"]["member"]), context);
|
|
14062
|
+
}
|
|
14063
|
+
if (output.ServiceIntegrations === "") {
|
|
14064
|
+
contents.ServiceIntegrations = [];
|
|
14065
|
+
}
|
|
14066
|
+
else if (output["ServiceIntegrations"] !== undefined && output["ServiceIntegrations"]["member"] !== undefined) {
|
|
14067
|
+
contents.ServiceIntegrations = de_ServiceIntegrationList(__getArrayIfSingleItem(output["ServiceIntegrations"]["member"]), context);
|
|
14068
|
+
}
|
|
14069
|
+
return contents;
|
|
14070
|
+
};
|
|
14071
|
+
const de_RedshiftIdcApplicationAlreadyExistsFault = (output, context) => {
|
|
14072
|
+
const contents = {};
|
|
14073
|
+
if (output["message"] !== undefined) {
|
|
14074
|
+
contents.message = __expectString(output["message"]);
|
|
14075
|
+
}
|
|
14076
|
+
return contents;
|
|
14077
|
+
};
|
|
14078
|
+
const de_RedshiftIdcApplicationList = (output, context) => {
|
|
14079
|
+
return (output || [])
|
|
14080
|
+
.filter((e) => e != null)
|
|
14081
|
+
.map((entry) => {
|
|
14082
|
+
return de_RedshiftIdcApplication(entry, context);
|
|
14083
|
+
});
|
|
14084
|
+
};
|
|
14085
|
+
const de_RedshiftIdcApplicationNotExistsFault = (output, context) => {
|
|
14086
|
+
const contents = {};
|
|
14087
|
+
if (output["message"] !== undefined) {
|
|
14088
|
+
contents.message = __expectString(output["message"]);
|
|
14089
|
+
}
|
|
14090
|
+
return contents;
|
|
14091
|
+
};
|
|
14092
|
+
const de_RedshiftIdcApplicationQuotaExceededFault = (output, context) => {
|
|
14093
|
+
const contents = {};
|
|
14094
|
+
if (output["message"] !== undefined) {
|
|
14095
|
+
contents.message = __expectString(output["message"]);
|
|
14096
|
+
}
|
|
14097
|
+
return contents;
|
|
14098
|
+
};
|
|
13479
14099
|
const de_ReservedNode = (output, context) => {
|
|
13480
14100
|
const contents = {};
|
|
13481
14101
|
if (output["ReservedNodeId"] !== undefined) {
|
|
@@ -14061,6 +14681,26 @@ const de_SecondaryClusterInfo = (output, context) => {
|
|
|
14061
14681
|
}
|
|
14062
14682
|
return contents;
|
|
14063
14683
|
};
|
|
14684
|
+
const de_ServiceIntegrationList = (output, context) => {
|
|
14685
|
+
return (output || [])
|
|
14686
|
+
.filter((e) => e != null)
|
|
14687
|
+
.map((entry) => {
|
|
14688
|
+
return de_ServiceIntegrationsUnion(__expectUnion(entry), context);
|
|
14689
|
+
});
|
|
14690
|
+
};
|
|
14691
|
+
const de_ServiceIntegrationsUnion = (output, context) => {
|
|
14692
|
+
if (output.LakeFormation === "") {
|
|
14693
|
+
return {
|
|
14694
|
+
LakeFormation: [],
|
|
14695
|
+
};
|
|
14696
|
+
}
|
|
14697
|
+
else if (output["LakeFormation"] !== undefined && output["LakeFormation"]["member"] !== undefined) {
|
|
14698
|
+
return {
|
|
14699
|
+
LakeFormation: de_LakeFormationServiceIntegrations(__getArrayIfSingleItem(output["LakeFormation"]["member"]), context),
|
|
14700
|
+
};
|
|
14701
|
+
}
|
|
14702
|
+
return { $unknown: Object.entries(output)[0] };
|
|
14703
|
+
};
|
|
14064
14704
|
const de_Snapshot = (output, context) => {
|
|
14065
14705
|
const contents = {};
|
|
14066
14706
|
if (output["SnapshotIdentifier"] !== undefined) {
|