@aws-sdk/client-redshift 3.452.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 +645 -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 +633 -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/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/ModifyRedshiftIdcApplicationCommand.d.ts +136 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +271 -361
- package/dist-types/models/models_1.d.ts +456 -1
- 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 +117 -68
- package/dist-types/ts3.4/models/models_1.d.ts +96 -0
- 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);
|
|
@@ -2997,6 +3084,44 @@ const de_DeletePartnerCommandError = async (output, context) => {
|
|
|
2997
3084
|
});
|
|
2998
3085
|
}
|
|
2999
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
|
+
};
|
|
3000
3125
|
export const de_DeleteResourcePolicyCommand = async (output, context) => {
|
|
3001
3126
|
if (output.statusCode >= 300) {
|
|
3002
3127
|
return de_DeleteResourcePolicyCommandError(output, context);
|
|
@@ -4127,6 +4252,47 @@ const de_DescribePartnersCommandError = async (output, context) => {
|
|
|
4127
4252
|
});
|
|
4128
4253
|
}
|
|
4129
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
|
+
};
|
|
4130
4296
|
export const de_DescribeReservedNodeExchangeStatusCommand = async (output, context) => {
|
|
4131
4297
|
if (output.statusCode >= 300) {
|
|
4132
4298
|
return de_DescribeReservedNodeExchangeStatusCommandError(output, context);
|
|
@@ -5562,6 +5728,47 @@ const de_ModifyEventSubscriptionCommandError = async (output, context) => {
|
|
|
5562
5728
|
});
|
|
5563
5729
|
}
|
|
5564
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
|
+
};
|
|
5565
5772
|
export const de_ModifyScheduledActionCommand = async (output, context) => {
|
|
5566
5773
|
if (output.statusCode >= 300) {
|
|
5567
5774
|
return de_ModifyScheduledActionCommandError(output, context);
|
|
@@ -6746,6 +6953,15 @@ const de_CustomDomainAssociationNotFoundFaultRes = async (parsedOutput, context)
|
|
|
6746
6953
|
});
|
|
6747
6954
|
return __decorateServiceException(exception, body);
|
|
6748
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
|
+
};
|
|
6749
6965
|
const de_DependentServiceRequestThrottlingFaultRes = async (parsedOutput, context) => {
|
|
6750
6966
|
const body = parsedOutput.body;
|
|
6751
6967
|
const deserialized = de_DependentServiceRequestThrottlingFault(body.Error, context);
|
|
@@ -7259,6 +7475,33 @@ const de_PartnerNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
7259
7475
|
});
|
|
7260
7476
|
return __decorateServiceException(exception, body);
|
|
7261
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
|
+
};
|
|
7262
7505
|
const de_ReservedNodeAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
7263
7506
|
const body = parsedOutput.body;
|
|
7264
7507
|
const deserialized = de_ReservedNodeAlreadyExistsFault(body.Error, context);
|
|
@@ -7710,6 +7953,50 @@ const se_AuthorizeDataShareMessage = (input, context) => {
|
|
|
7710
7953
|
}
|
|
7711
7954
|
return entries;
|
|
7712
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
|
+
};
|
|
7713
8000
|
const se_AuthorizeEndpointAccessMessage = (input, context) => {
|
|
7714
8001
|
const entries = {};
|
|
7715
8002
|
if (input.ClusterIdentifier != null) {
|
|
@@ -7969,6 +8256,9 @@ const se_CreateClusterMessage = (input, context) => {
|
|
|
7969
8256
|
if (input.MultiAZ != null) {
|
|
7970
8257
|
entries["MultiAZ"] = input.MultiAZ;
|
|
7971
8258
|
}
|
|
8259
|
+
if (input.RedshiftIdcApplicationArn != null) {
|
|
8260
|
+
entries["RedshiftIdcApplicationArn"] = input.RedshiftIdcApplicationArn;
|
|
8261
|
+
}
|
|
7972
8262
|
return entries;
|
|
7973
8263
|
};
|
|
7974
8264
|
const se_CreateClusterParameterGroupMessage = (input, context) => {
|
|
@@ -8204,6 +8494,45 @@ const se_CreateHsmConfigurationMessage = (input, context) => {
|
|
|
8204
8494
|
}
|
|
8205
8495
|
return entries;
|
|
8206
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
|
+
};
|
|
8207
8536
|
const se_CreateScheduledActionMessage = (input, context) => {
|
|
8208
8537
|
const entries = {};
|
|
8209
8538
|
if (input.ScheduledActionName != null) {
|
|
@@ -8470,6 +8799,13 @@ const se_DeleteHsmConfigurationMessage = (input, context) => {
|
|
|
8470
8799
|
}
|
|
8471
8800
|
return entries;
|
|
8472
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
|
+
};
|
|
8473
8809
|
const se_DeleteResourcePolicyMessage = (input, context) => {
|
|
8474
8810
|
const entries = {};
|
|
8475
8811
|
if (input.ResourceArn != null) {
|
|
@@ -9133,6 +9469,19 @@ const se_DescribePartnersInputMessage = (input, context) => {
|
|
|
9133
9469
|
}
|
|
9134
9470
|
return entries;
|
|
9135
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
|
+
};
|
|
9136
9485
|
const se_DescribeReservedNodeExchangeStatusInputMessage = (input, context) => {
|
|
9137
9486
|
const entries = {};
|
|
9138
9487
|
if (input.ReservedNodeId != null) {
|
|
@@ -9570,6 +9919,44 @@ const se_IamRoleArnList = (input, context) => {
|
|
|
9570
9919
|
}
|
|
9571
9920
|
return entries;
|
|
9572
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
|
+
};
|
|
9573
9960
|
const se_LogTypeList = (input, context) => {
|
|
9574
9961
|
const entries = {};
|
|
9575
9962
|
let counter = 1;
|
|
@@ -9901,6 +10288,42 @@ const se_ModifyEventSubscriptionMessage = (input, context) => {
|
|
|
9901
10288
|
}
|
|
9902
10289
|
return entries;
|
|
9903
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
|
+
};
|
|
9904
10327
|
const se_ModifyScheduledActionMessage = (input, context) => {
|
|
9905
10328
|
const entries = {};
|
|
9906
10329
|
if (input.ScheduledActionName != null) {
|
|
@@ -10464,6 +10887,40 @@ const se_ScheduleDefinitionList = (input, context) => {
|
|
|
10464
10887
|
}
|
|
10465
10888
|
return entries;
|
|
10466
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
|
+
};
|
|
10467
10924
|
const se_SnapshotIdentifierList = (input, context) => {
|
|
10468
10925
|
const entries = {};
|
|
10469
10926
|
let counter = 1;
|
|
@@ -10823,6 +11280,34 @@ const de_AuthorizeClusterSecurityGroupIngressResult = (output, context) => {
|
|
|
10823
11280
|
}
|
|
10824
11281
|
return contents;
|
|
10825
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
|
+
};
|
|
10826
11311
|
const de_AuthorizeSnapshotAccessResult = (output, context) => {
|
|
10827
11312
|
const contents = {};
|
|
10828
11313
|
if (output["Snapshot"] !== undefined) {
|
|
@@ -11777,6 +12262,13 @@ const de_CreateHsmConfigurationResult = (output, context) => {
|
|
|
11777
12262
|
}
|
|
11778
12263
|
return contents;
|
|
11779
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
|
+
};
|
|
11780
12272
|
const de_CreateSnapshotCopyGrantResult = (output, context) => {
|
|
11781
12273
|
const contents = {};
|
|
11782
12274
|
if (output["SnapshotCopyGrant"] !== undefined) {
|
|
@@ -11955,6 +12447,13 @@ const de_DeleteClusterSnapshotResult = (output, context) => {
|
|
|
11955
12447
|
}
|
|
11956
12448
|
return contents;
|
|
11957
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
|
+
};
|
|
11958
12457
|
const de_DependentServiceRequestThrottlingFault = (output, context) => {
|
|
11959
12458
|
const contents = {};
|
|
11960
12459
|
if (output["message"] !== undefined) {
|
|
@@ -12037,6 +12536,20 @@ const de_DescribePartnersOutputMessage = (output, context) => {
|
|
|
12037
12536
|
}
|
|
12038
12537
|
return contents;
|
|
12039
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
|
+
};
|
|
12040
12553
|
const de_DescribeReservedNodeExchangeStatusOutputMessage = (output, context) => {
|
|
12041
12554
|
const contents = {};
|
|
12042
12555
|
if (output.ReservedNodeExchangeStatusDetails === "") {
|
|
@@ -13030,6 +13543,28 @@ const de_Ipv6CidrBlockNotFoundFault = (output, context) => {
|
|
|
13030
13543
|
}
|
|
13031
13544
|
return contents;
|
|
13032
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
|
+
};
|
|
13033
13568
|
const de_LimitExceededFault = (output, context) => {
|
|
13034
13569
|
const contents = {};
|
|
13035
13570
|
if (output["message"] !== undefined) {
|
|
@@ -13173,6 +13708,13 @@ const de_ModifyEventSubscriptionResult = (output, context) => {
|
|
|
13173
13708
|
}
|
|
13174
13709
|
return contents;
|
|
13175
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
|
+
};
|
|
13176
13718
|
const de_ModifySnapshotCopyRetentionPeriodResult = (output, context) => {
|
|
13177
13719
|
const contents = {};
|
|
13178
13720
|
if (output["Cluster"] !== undefined) {
|
|
@@ -13485,6 +14027,75 @@ const de_RecurringChargeList = (output, context) => {
|
|
|
13485
14027
|
return de_RecurringCharge(entry, context);
|
|
13486
14028
|
});
|
|
13487
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
|
+
};
|
|
13488
14099
|
const de_ReservedNode = (output, context) => {
|
|
13489
14100
|
const contents = {};
|
|
13490
14101
|
if (output["ReservedNodeId"] !== undefined) {
|
|
@@ -14070,6 +14681,26 @@ const de_SecondaryClusterInfo = (output, context) => {
|
|
|
14070
14681
|
}
|
|
14071
14682
|
return contents;
|
|
14072
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
|
+
};
|
|
14073
14704
|
const de_Snapshot = (output, context) => {
|
|
14074
14705
|
const contents = {};
|
|
14075
14706
|
if (output["SnapshotIdentifier"] !== undefined) {
|