@aws-sdk/client-redshift 3.452.0 → 3.458.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 +160 -128
- 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 +657 -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 +645 -2
- package/dist-types/Redshift.d.ts +28 -0
- package/dist-types/RedshiftClient.d.ts +6 -2
- package/dist-types/commands/AssociateDataShareConsumerCommand.d.ts +3 -0
- package/dist-types/commands/AuthorizeDataShareCommand.d.ts +3 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +4 -0
- package/dist-types/commands/CreateRedshiftIdcApplicationCommand.d.ts +140 -0
- package/dist-types/commands/DeauthorizeDataShareCommand.d.ts +2 -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 +3 -1
- package/dist-types/commands/DescribeDataSharesForConsumerCommand.d.ts +3 -1
- package/dist-types/commands/DescribeDataSharesForProducerCommand.d.ts +3 -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/DisassociateDataShareConsumerCommand.d.ts +2 -0
- package/dist-types/commands/ModifyRedshiftIdcApplicationCommand.d.ts +136 -0
- package/dist-types/commands/RejectDataShareCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +291 -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 +121 -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 +3 -3
|
@@ -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);
|
|
@@ -7670,6 +7913,9 @@ const se_AssociateDataShareConsumerMessage = (input, context) => {
|
|
|
7670
7913
|
if (input.ConsumerRegion != null) {
|
|
7671
7914
|
entries["ConsumerRegion"] = input.ConsumerRegion;
|
|
7672
7915
|
}
|
|
7916
|
+
if (input.AllowWrites != null) {
|
|
7917
|
+
entries["AllowWrites"] = input.AllowWrites;
|
|
7918
|
+
}
|
|
7673
7919
|
return entries;
|
|
7674
7920
|
};
|
|
7675
7921
|
const se_AttributeNameList = (input, context) => {
|
|
@@ -7708,6 +7954,53 @@ const se_AuthorizeDataShareMessage = (input, context) => {
|
|
|
7708
7954
|
if (input.ConsumerIdentifier != null) {
|
|
7709
7955
|
entries["ConsumerIdentifier"] = input.ConsumerIdentifier;
|
|
7710
7956
|
}
|
|
7957
|
+
if (input.AllowWrites != null) {
|
|
7958
|
+
entries["AllowWrites"] = input.AllowWrites;
|
|
7959
|
+
}
|
|
7960
|
+
return entries;
|
|
7961
|
+
};
|
|
7962
|
+
const se_AuthorizedAudienceList = (input, context) => {
|
|
7963
|
+
const entries = {};
|
|
7964
|
+
let counter = 1;
|
|
7965
|
+
for (const entry of input) {
|
|
7966
|
+
if (entry === null) {
|
|
7967
|
+
continue;
|
|
7968
|
+
}
|
|
7969
|
+
entries[`member.${counter}`] = entry;
|
|
7970
|
+
counter++;
|
|
7971
|
+
}
|
|
7972
|
+
return entries;
|
|
7973
|
+
};
|
|
7974
|
+
const se_AuthorizedTokenIssuer = (input, context) => {
|
|
7975
|
+
const entries = {};
|
|
7976
|
+
if (input.TrustedTokenIssuerArn != null) {
|
|
7977
|
+
entries["TrustedTokenIssuerArn"] = input.TrustedTokenIssuerArn;
|
|
7978
|
+
}
|
|
7979
|
+
if (input.AuthorizedAudiencesList != null) {
|
|
7980
|
+
const memberEntries = se_AuthorizedAudienceList(input.AuthorizedAudiencesList, context);
|
|
7981
|
+
if (input.AuthorizedAudiencesList?.length === 0) {
|
|
7982
|
+
entries.AuthorizedAudiencesList = [];
|
|
7983
|
+
}
|
|
7984
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
7985
|
+
const loc = `AuthorizedAudiencesList.${key}`;
|
|
7986
|
+
entries[loc] = value;
|
|
7987
|
+
});
|
|
7988
|
+
}
|
|
7989
|
+
return entries;
|
|
7990
|
+
};
|
|
7991
|
+
const se_AuthorizedTokenIssuerList = (input, context) => {
|
|
7992
|
+
const entries = {};
|
|
7993
|
+
let counter = 1;
|
|
7994
|
+
for (const entry of input) {
|
|
7995
|
+
if (entry === null) {
|
|
7996
|
+
continue;
|
|
7997
|
+
}
|
|
7998
|
+
const memberEntries = se_AuthorizedTokenIssuer(entry, context);
|
|
7999
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8000
|
+
entries[`member.${counter}.${key}`] = value;
|
|
8001
|
+
});
|
|
8002
|
+
counter++;
|
|
8003
|
+
}
|
|
7711
8004
|
return entries;
|
|
7712
8005
|
};
|
|
7713
8006
|
const se_AuthorizeEndpointAccessMessage = (input, context) => {
|
|
@@ -7969,6 +8262,9 @@ const se_CreateClusterMessage = (input, context) => {
|
|
|
7969
8262
|
if (input.MultiAZ != null) {
|
|
7970
8263
|
entries["MultiAZ"] = input.MultiAZ;
|
|
7971
8264
|
}
|
|
8265
|
+
if (input.RedshiftIdcApplicationArn != null) {
|
|
8266
|
+
entries["RedshiftIdcApplicationArn"] = input.RedshiftIdcApplicationArn;
|
|
8267
|
+
}
|
|
7972
8268
|
return entries;
|
|
7973
8269
|
};
|
|
7974
8270
|
const se_CreateClusterParameterGroupMessage = (input, context) => {
|
|
@@ -8204,6 +8500,45 @@ const se_CreateHsmConfigurationMessage = (input, context) => {
|
|
|
8204
8500
|
}
|
|
8205
8501
|
return entries;
|
|
8206
8502
|
};
|
|
8503
|
+
const se_CreateRedshiftIdcApplicationMessage = (input, context) => {
|
|
8504
|
+
const entries = {};
|
|
8505
|
+
if (input.IdcInstanceArn != null) {
|
|
8506
|
+
entries["IdcInstanceArn"] = input.IdcInstanceArn;
|
|
8507
|
+
}
|
|
8508
|
+
if (input.RedshiftIdcApplicationName != null) {
|
|
8509
|
+
entries["RedshiftIdcApplicationName"] = input.RedshiftIdcApplicationName;
|
|
8510
|
+
}
|
|
8511
|
+
if (input.IdentityNamespace != null) {
|
|
8512
|
+
entries["IdentityNamespace"] = input.IdentityNamespace;
|
|
8513
|
+
}
|
|
8514
|
+
if (input.IdcDisplayName != null) {
|
|
8515
|
+
entries["IdcDisplayName"] = input.IdcDisplayName;
|
|
8516
|
+
}
|
|
8517
|
+
if (input.IamRoleArn != null) {
|
|
8518
|
+
entries["IamRoleArn"] = input.IamRoleArn;
|
|
8519
|
+
}
|
|
8520
|
+
if (input.AuthorizedTokenIssuerList != null) {
|
|
8521
|
+
const memberEntries = se_AuthorizedTokenIssuerList(input.AuthorizedTokenIssuerList, context);
|
|
8522
|
+
if (input.AuthorizedTokenIssuerList?.length === 0) {
|
|
8523
|
+
entries.AuthorizedTokenIssuerList = [];
|
|
8524
|
+
}
|
|
8525
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8526
|
+
const loc = `AuthorizedTokenIssuerList.${key}`;
|
|
8527
|
+
entries[loc] = value;
|
|
8528
|
+
});
|
|
8529
|
+
}
|
|
8530
|
+
if (input.ServiceIntegrations != null) {
|
|
8531
|
+
const memberEntries = se_ServiceIntegrationList(input.ServiceIntegrations, context);
|
|
8532
|
+
if (input.ServiceIntegrations?.length === 0) {
|
|
8533
|
+
entries.ServiceIntegrations = [];
|
|
8534
|
+
}
|
|
8535
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
8536
|
+
const loc = `ServiceIntegrations.${key}`;
|
|
8537
|
+
entries[loc] = value;
|
|
8538
|
+
});
|
|
8539
|
+
}
|
|
8540
|
+
return entries;
|
|
8541
|
+
};
|
|
8207
8542
|
const se_CreateScheduledActionMessage = (input, context) => {
|
|
8208
8543
|
const entries = {};
|
|
8209
8544
|
if (input.ScheduledActionName != null) {
|
|
@@ -8470,6 +8805,13 @@ const se_DeleteHsmConfigurationMessage = (input, context) => {
|
|
|
8470
8805
|
}
|
|
8471
8806
|
return entries;
|
|
8472
8807
|
};
|
|
8808
|
+
const se_DeleteRedshiftIdcApplicationMessage = (input, context) => {
|
|
8809
|
+
const entries = {};
|
|
8810
|
+
if (input.RedshiftIdcApplicationArn != null) {
|
|
8811
|
+
entries["RedshiftIdcApplicationArn"] = input.RedshiftIdcApplicationArn;
|
|
8812
|
+
}
|
|
8813
|
+
return entries;
|
|
8814
|
+
};
|
|
8473
8815
|
const se_DeleteResourcePolicyMessage = (input, context) => {
|
|
8474
8816
|
const entries = {};
|
|
8475
8817
|
if (input.ResourceArn != null) {
|
|
@@ -9133,6 +9475,19 @@ const se_DescribePartnersInputMessage = (input, context) => {
|
|
|
9133
9475
|
}
|
|
9134
9476
|
return entries;
|
|
9135
9477
|
};
|
|
9478
|
+
const se_DescribeRedshiftIdcApplicationsMessage = (input, context) => {
|
|
9479
|
+
const entries = {};
|
|
9480
|
+
if (input.RedshiftIdcApplicationArn != null) {
|
|
9481
|
+
entries["RedshiftIdcApplicationArn"] = input.RedshiftIdcApplicationArn;
|
|
9482
|
+
}
|
|
9483
|
+
if (input.MaxRecords != null) {
|
|
9484
|
+
entries["MaxRecords"] = input.MaxRecords;
|
|
9485
|
+
}
|
|
9486
|
+
if (input.Marker != null) {
|
|
9487
|
+
entries["Marker"] = input.Marker;
|
|
9488
|
+
}
|
|
9489
|
+
return entries;
|
|
9490
|
+
};
|
|
9136
9491
|
const se_DescribeReservedNodeExchangeStatusInputMessage = (input, context) => {
|
|
9137
9492
|
const entries = {};
|
|
9138
9493
|
if (input.ReservedNodeId != null) {
|
|
@@ -9570,6 +9925,44 @@ const se_IamRoleArnList = (input, context) => {
|
|
|
9570
9925
|
}
|
|
9571
9926
|
return entries;
|
|
9572
9927
|
};
|
|
9928
|
+
const se_LakeFormationQuery = (input, context) => {
|
|
9929
|
+
const entries = {};
|
|
9930
|
+
if (input.Authorization != null) {
|
|
9931
|
+
entries["Authorization"] = input.Authorization;
|
|
9932
|
+
}
|
|
9933
|
+
return entries;
|
|
9934
|
+
};
|
|
9935
|
+
const se_LakeFormationScopeUnion = (input, context) => {
|
|
9936
|
+
const entries = {};
|
|
9937
|
+
LakeFormationScopeUnion.visit(input, {
|
|
9938
|
+
LakeFormationQuery: (value) => {
|
|
9939
|
+
const memberEntries = se_LakeFormationQuery(value, context);
|
|
9940
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9941
|
+
const loc = `LakeFormationQuery.${key}`;
|
|
9942
|
+
entries[loc] = value;
|
|
9943
|
+
});
|
|
9944
|
+
},
|
|
9945
|
+
_: (name, value) => {
|
|
9946
|
+
entries[name] = value;
|
|
9947
|
+
},
|
|
9948
|
+
});
|
|
9949
|
+
return entries;
|
|
9950
|
+
};
|
|
9951
|
+
const se_LakeFormationServiceIntegrations = (input, context) => {
|
|
9952
|
+
const entries = {};
|
|
9953
|
+
let counter = 1;
|
|
9954
|
+
for (const entry of input) {
|
|
9955
|
+
if (entry === null) {
|
|
9956
|
+
continue;
|
|
9957
|
+
}
|
|
9958
|
+
const memberEntries = se_LakeFormationScopeUnion(entry, context);
|
|
9959
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9960
|
+
entries[`member.${counter}.${key}`] = value;
|
|
9961
|
+
});
|
|
9962
|
+
counter++;
|
|
9963
|
+
}
|
|
9964
|
+
return entries;
|
|
9965
|
+
};
|
|
9573
9966
|
const se_LogTypeList = (input, context) => {
|
|
9574
9967
|
const entries = {};
|
|
9575
9968
|
let counter = 1;
|
|
@@ -9901,6 +10294,42 @@ const se_ModifyEventSubscriptionMessage = (input, context) => {
|
|
|
9901
10294
|
}
|
|
9902
10295
|
return entries;
|
|
9903
10296
|
};
|
|
10297
|
+
const se_ModifyRedshiftIdcApplicationMessage = (input, context) => {
|
|
10298
|
+
const entries = {};
|
|
10299
|
+
if (input.RedshiftIdcApplicationArn != null) {
|
|
10300
|
+
entries["RedshiftIdcApplicationArn"] = input.RedshiftIdcApplicationArn;
|
|
10301
|
+
}
|
|
10302
|
+
if (input.IdentityNamespace != null) {
|
|
10303
|
+
entries["IdentityNamespace"] = input.IdentityNamespace;
|
|
10304
|
+
}
|
|
10305
|
+
if (input.IamRoleArn != null) {
|
|
10306
|
+
entries["IamRoleArn"] = input.IamRoleArn;
|
|
10307
|
+
}
|
|
10308
|
+
if (input.IdcDisplayName != null) {
|
|
10309
|
+
entries["IdcDisplayName"] = input.IdcDisplayName;
|
|
10310
|
+
}
|
|
10311
|
+
if (input.AuthorizedTokenIssuerList != null) {
|
|
10312
|
+
const memberEntries = se_AuthorizedTokenIssuerList(input.AuthorizedTokenIssuerList, context);
|
|
10313
|
+
if (input.AuthorizedTokenIssuerList?.length === 0) {
|
|
10314
|
+
entries.AuthorizedTokenIssuerList = [];
|
|
10315
|
+
}
|
|
10316
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
10317
|
+
const loc = `AuthorizedTokenIssuerList.${key}`;
|
|
10318
|
+
entries[loc] = value;
|
|
10319
|
+
});
|
|
10320
|
+
}
|
|
10321
|
+
if (input.ServiceIntegrations != null) {
|
|
10322
|
+
const memberEntries = se_ServiceIntegrationList(input.ServiceIntegrations, context);
|
|
10323
|
+
if (input.ServiceIntegrations?.length === 0) {
|
|
10324
|
+
entries.ServiceIntegrations = [];
|
|
10325
|
+
}
|
|
10326
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
10327
|
+
const loc = `ServiceIntegrations.${key}`;
|
|
10328
|
+
entries[loc] = value;
|
|
10329
|
+
});
|
|
10330
|
+
}
|
|
10331
|
+
return entries;
|
|
10332
|
+
};
|
|
9904
10333
|
const se_ModifyScheduledActionMessage = (input, context) => {
|
|
9905
10334
|
const entries = {};
|
|
9906
10335
|
if (input.ScheduledActionName != null) {
|
|
@@ -10464,6 +10893,40 @@ const se_ScheduleDefinitionList = (input, context) => {
|
|
|
10464
10893
|
}
|
|
10465
10894
|
return entries;
|
|
10466
10895
|
};
|
|
10896
|
+
const se_ServiceIntegrationList = (input, context) => {
|
|
10897
|
+
const entries = {};
|
|
10898
|
+
let counter = 1;
|
|
10899
|
+
for (const entry of input) {
|
|
10900
|
+
if (entry === null) {
|
|
10901
|
+
continue;
|
|
10902
|
+
}
|
|
10903
|
+
const memberEntries = se_ServiceIntegrationsUnion(entry, context);
|
|
10904
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
10905
|
+
entries[`member.${counter}.${key}`] = value;
|
|
10906
|
+
});
|
|
10907
|
+
counter++;
|
|
10908
|
+
}
|
|
10909
|
+
return entries;
|
|
10910
|
+
};
|
|
10911
|
+
const se_ServiceIntegrationsUnion = (input, context) => {
|
|
10912
|
+
const entries = {};
|
|
10913
|
+
ServiceIntegrationsUnion.visit(input, {
|
|
10914
|
+
LakeFormation: (value) => {
|
|
10915
|
+
const memberEntries = se_LakeFormationServiceIntegrations(value, context);
|
|
10916
|
+
if (value?.length === 0) {
|
|
10917
|
+
entries.LakeFormation = [];
|
|
10918
|
+
}
|
|
10919
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
10920
|
+
const loc = `LakeFormation.${key}`;
|
|
10921
|
+
entries[loc] = value;
|
|
10922
|
+
});
|
|
10923
|
+
},
|
|
10924
|
+
_: (name, value) => {
|
|
10925
|
+
entries[name] = value;
|
|
10926
|
+
},
|
|
10927
|
+
});
|
|
10928
|
+
return entries;
|
|
10929
|
+
};
|
|
10467
10930
|
const se_SnapshotIdentifierList = (input, context) => {
|
|
10468
10931
|
const entries = {};
|
|
10469
10932
|
let counter = 1;
|
|
@@ -10823,6 +11286,34 @@ const de_AuthorizeClusterSecurityGroupIngressResult = (output, context) => {
|
|
|
10823
11286
|
}
|
|
10824
11287
|
return contents;
|
|
10825
11288
|
};
|
|
11289
|
+
const de_AuthorizedAudienceList = (output, context) => {
|
|
11290
|
+
return (output || [])
|
|
11291
|
+
.filter((e) => e != null)
|
|
11292
|
+
.map((entry) => {
|
|
11293
|
+
return __expectString(entry);
|
|
11294
|
+
});
|
|
11295
|
+
};
|
|
11296
|
+
const de_AuthorizedTokenIssuer = (output, context) => {
|
|
11297
|
+
const contents = {};
|
|
11298
|
+
if (output["TrustedTokenIssuerArn"] !== undefined) {
|
|
11299
|
+
contents.TrustedTokenIssuerArn = __expectString(output["TrustedTokenIssuerArn"]);
|
|
11300
|
+
}
|
|
11301
|
+
if (output.AuthorizedAudiencesList === "") {
|
|
11302
|
+
contents.AuthorizedAudiencesList = [];
|
|
11303
|
+
}
|
|
11304
|
+
else if (output["AuthorizedAudiencesList"] !== undefined &&
|
|
11305
|
+
output["AuthorizedAudiencesList"]["member"] !== undefined) {
|
|
11306
|
+
contents.AuthorizedAudiencesList = de_AuthorizedAudienceList(__getArrayIfSingleItem(output["AuthorizedAudiencesList"]["member"]), context);
|
|
11307
|
+
}
|
|
11308
|
+
return contents;
|
|
11309
|
+
};
|
|
11310
|
+
const de_AuthorizedTokenIssuerList = (output, context) => {
|
|
11311
|
+
return (output || [])
|
|
11312
|
+
.filter((e) => e != null)
|
|
11313
|
+
.map((entry) => {
|
|
11314
|
+
return de_AuthorizedTokenIssuer(entry, context);
|
|
11315
|
+
});
|
|
11316
|
+
};
|
|
10826
11317
|
const de_AuthorizeSnapshotAccessResult = (output, context) => {
|
|
10827
11318
|
const contents = {};
|
|
10828
11319
|
if (output["Snapshot"] !== undefined) {
|
|
@@ -11777,6 +12268,13 @@ const de_CreateHsmConfigurationResult = (output, context) => {
|
|
|
11777
12268
|
}
|
|
11778
12269
|
return contents;
|
|
11779
12270
|
};
|
|
12271
|
+
const de_CreateRedshiftIdcApplicationResult = (output, context) => {
|
|
12272
|
+
const contents = {};
|
|
12273
|
+
if (output["RedshiftIdcApplication"] !== undefined) {
|
|
12274
|
+
contents.RedshiftIdcApplication = de_RedshiftIdcApplication(output["RedshiftIdcApplication"], context);
|
|
12275
|
+
}
|
|
12276
|
+
return contents;
|
|
12277
|
+
};
|
|
11780
12278
|
const de_CreateSnapshotCopyGrantResult = (output, context) => {
|
|
11781
12279
|
const contents = {};
|
|
11782
12280
|
if (output["SnapshotCopyGrant"] !== undefined) {
|
|
@@ -11860,6 +12358,12 @@ const de_DataShareAssociation = (output, context) => {
|
|
|
11860
12358
|
if (output["StatusChangeDate"] !== undefined) {
|
|
11861
12359
|
contents.StatusChangeDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["StatusChangeDate"]));
|
|
11862
12360
|
}
|
|
12361
|
+
if (output["ProducerAllowedWrites"] !== undefined) {
|
|
12362
|
+
contents.ProducerAllowedWrites = __parseBoolean(output["ProducerAllowedWrites"]);
|
|
12363
|
+
}
|
|
12364
|
+
if (output["ConsumerAcceptedWrites"] !== undefined) {
|
|
12365
|
+
contents.ConsumerAcceptedWrites = __parseBoolean(output["ConsumerAcceptedWrites"]);
|
|
12366
|
+
}
|
|
11863
12367
|
return contents;
|
|
11864
12368
|
};
|
|
11865
12369
|
const de_DataShareAssociationList = (output, context) => {
|
|
@@ -11955,6 +12459,13 @@ const de_DeleteClusterSnapshotResult = (output, context) => {
|
|
|
11955
12459
|
}
|
|
11956
12460
|
return contents;
|
|
11957
12461
|
};
|
|
12462
|
+
const de_DependentServiceAccessDeniedFault = (output, context) => {
|
|
12463
|
+
const contents = {};
|
|
12464
|
+
if (output["message"] !== undefined) {
|
|
12465
|
+
contents.message = __expectString(output["message"]);
|
|
12466
|
+
}
|
|
12467
|
+
return contents;
|
|
12468
|
+
};
|
|
11958
12469
|
const de_DependentServiceRequestThrottlingFault = (output, context) => {
|
|
11959
12470
|
const contents = {};
|
|
11960
12471
|
if (output["message"] !== undefined) {
|
|
@@ -12037,6 +12548,20 @@ const de_DescribePartnersOutputMessage = (output, context) => {
|
|
|
12037
12548
|
}
|
|
12038
12549
|
return contents;
|
|
12039
12550
|
};
|
|
12551
|
+
const de_DescribeRedshiftIdcApplicationsResult = (output, context) => {
|
|
12552
|
+
const contents = {};
|
|
12553
|
+
if (output.RedshiftIdcApplications === "") {
|
|
12554
|
+
contents.RedshiftIdcApplications = [];
|
|
12555
|
+
}
|
|
12556
|
+
else if (output["RedshiftIdcApplications"] !== undefined &&
|
|
12557
|
+
output["RedshiftIdcApplications"]["member"] !== undefined) {
|
|
12558
|
+
contents.RedshiftIdcApplications = de_RedshiftIdcApplicationList(__getArrayIfSingleItem(output["RedshiftIdcApplications"]["member"]), context);
|
|
12559
|
+
}
|
|
12560
|
+
if (output["Marker"] !== undefined) {
|
|
12561
|
+
contents.Marker = __expectString(output["Marker"]);
|
|
12562
|
+
}
|
|
12563
|
+
return contents;
|
|
12564
|
+
};
|
|
12040
12565
|
const de_DescribeReservedNodeExchangeStatusOutputMessage = (output, context) => {
|
|
12041
12566
|
const contents = {};
|
|
12042
12567
|
if (output.ReservedNodeExchangeStatusDetails === "") {
|
|
@@ -13030,6 +13555,28 @@ const de_Ipv6CidrBlockNotFoundFault = (output, context) => {
|
|
|
13030
13555
|
}
|
|
13031
13556
|
return contents;
|
|
13032
13557
|
};
|
|
13558
|
+
const de_LakeFormationQuery = (output, context) => {
|
|
13559
|
+
const contents = {};
|
|
13560
|
+
if (output["Authorization"] !== undefined) {
|
|
13561
|
+
contents.Authorization = __expectString(output["Authorization"]);
|
|
13562
|
+
}
|
|
13563
|
+
return contents;
|
|
13564
|
+
};
|
|
13565
|
+
const de_LakeFormationScopeUnion = (output, context) => {
|
|
13566
|
+
if (output["LakeFormationQuery"] !== undefined) {
|
|
13567
|
+
return {
|
|
13568
|
+
LakeFormationQuery: de_LakeFormationQuery(output["LakeFormationQuery"], context),
|
|
13569
|
+
};
|
|
13570
|
+
}
|
|
13571
|
+
return { $unknown: Object.entries(output)[0] };
|
|
13572
|
+
};
|
|
13573
|
+
const de_LakeFormationServiceIntegrations = (output, context) => {
|
|
13574
|
+
return (output || [])
|
|
13575
|
+
.filter((e) => e != null)
|
|
13576
|
+
.map((entry) => {
|
|
13577
|
+
return de_LakeFormationScopeUnion(__expectUnion(entry), context);
|
|
13578
|
+
});
|
|
13579
|
+
};
|
|
13033
13580
|
const de_LimitExceededFault = (output, context) => {
|
|
13034
13581
|
const contents = {};
|
|
13035
13582
|
if (output["message"] !== undefined) {
|
|
@@ -13173,6 +13720,13 @@ const de_ModifyEventSubscriptionResult = (output, context) => {
|
|
|
13173
13720
|
}
|
|
13174
13721
|
return contents;
|
|
13175
13722
|
};
|
|
13723
|
+
const de_ModifyRedshiftIdcApplicationResult = (output, context) => {
|
|
13724
|
+
const contents = {};
|
|
13725
|
+
if (output["RedshiftIdcApplication"] !== undefined) {
|
|
13726
|
+
contents.RedshiftIdcApplication = de_RedshiftIdcApplication(output["RedshiftIdcApplication"], context);
|
|
13727
|
+
}
|
|
13728
|
+
return contents;
|
|
13729
|
+
};
|
|
13176
13730
|
const de_ModifySnapshotCopyRetentionPeriodResult = (output, context) => {
|
|
13177
13731
|
const contents = {};
|
|
13178
13732
|
if (output["Cluster"] !== undefined) {
|
|
@@ -13485,6 +14039,75 @@ const de_RecurringChargeList = (output, context) => {
|
|
|
13485
14039
|
return de_RecurringCharge(entry, context);
|
|
13486
14040
|
});
|
|
13487
14041
|
};
|
|
14042
|
+
const de_RedshiftIdcApplication = (output, context) => {
|
|
14043
|
+
const contents = {};
|
|
14044
|
+
if (output["IdcInstanceArn"] !== undefined) {
|
|
14045
|
+
contents.IdcInstanceArn = __expectString(output["IdcInstanceArn"]);
|
|
14046
|
+
}
|
|
14047
|
+
if (output["RedshiftIdcApplicationName"] !== undefined) {
|
|
14048
|
+
contents.RedshiftIdcApplicationName = __expectString(output["RedshiftIdcApplicationName"]);
|
|
14049
|
+
}
|
|
14050
|
+
if (output["RedshiftIdcApplicationArn"] !== undefined) {
|
|
14051
|
+
contents.RedshiftIdcApplicationArn = __expectString(output["RedshiftIdcApplicationArn"]);
|
|
14052
|
+
}
|
|
14053
|
+
if (output["IdentityNamespace"] !== undefined) {
|
|
14054
|
+
contents.IdentityNamespace = __expectString(output["IdentityNamespace"]);
|
|
14055
|
+
}
|
|
14056
|
+
if (output["IdcDisplayName"] !== undefined) {
|
|
14057
|
+
contents.IdcDisplayName = __expectString(output["IdcDisplayName"]);
|
|
14058
|
+
}
|
|
14059
|
+
if (output["IamRoleArn"] !== undefined) {
|
|
14060
|
+
contents.IamRoleArn = __expectString(output["IamRoleArn"]);
|
|
14061
|
+
}
|
|
14062
|
+
if (output["IdcManagedApplicationArn"] !== undefined) {
|
|
14063
|
+
contents.IdcManagedApplicationArn = __expectString(output["IdcManagedApplicationArn"]);
|
|
14064
|
+
}
|
|
14065
|
+
if (output["IdcOnboardStatus"] !== undefined) {
|
|
14066
|
+
contents.IdcOnboardStatus = __expectString(output["IdcOnboardStatus"]);
|
|
14067
|
+
}
|
|
14068
|
+
if (output.AuthorizedTokenIssuerList === "") {
|
|
14069
|
+
contents.AuthorizedTokenIssuerList = [];
|
|
14070
|
+
}
|
|
14071
|
+
else if (output["AuthorizedTokenIssuerList"] !== undefined &&
|
|
14072
|
+
output["AuthorizedTokenIssuerList"]["member"] !== undefined) {
|
|
14073
|
+
contents.AuthorizedTokenIssuerList = de_AuthorizedTokenIssuerList(__getArrayIfSingleItem(output["AuthorizedTokenIssuerList"]["member"]), context);
|
|
14074
|
+
}
|
|
14075
|
+
if (output.ServiceIntegrations === "") {
|
|
14076
|
+
contents.ServiceIntegrations = [];
|
|
14077
|
+
}
|
|
14078
|
+
else if (output["ServiceIntegrations"] !== undefined && output["ServiceIntegrations"]["member"] !== undefined) {
|
|
14079
|
+
contents.ServiceIntegrations = de_ServiceIntegrationList(__getArrayIfSingleItem(output["ServiceIntegrations"]["member"]), context);
|
|
14080
|
+
}
|
|
14081
|
+
return contents;
|
|
14082
|
+
};
|
|
14083
|
+
const de_RedshiftIdcApplicationAlreadyExistsFault = (output, context) => {
|
|
14084
|
+
const contents = {};
|
|
14085
|
+
if (output["message"] !== undefined) {
|
|
14086
|
+
contents.message = __expectString(output["message"]);
|
|
14087
|
+
}
|
|
14088
|
+
return contents;
|
|
14089
|
+
};
|
|
14090
|
+
const de_RedshiftIdcApplicationList = (output, context) => {
|
|
14091
|
+
return (output || [])
|
|
14092
|
+
.filter((e) => e != null)
|
|
14093
|
+
.map((entry) => {
|
|
14094
|
+
return de_RedshiftIdcApplication(entry, context);
|
|
14095
|
+
});
|
|
14096
|
+
};
|
|
14097
|
+
const de_RedshiftIdcApplicationNotExistsFault = (output, context) => {
|
|
14098
|
+
const contents = {};
|
|
14099
|
+
if (output["message"] !== undefined) {
|
|
14100
|
+
contents.message = __expectString(output["message"]);
|
|
14101
|
+
}
|
|
14102
|
+
return contents;
|
|
14103
|
+
};
|
|
14104
|
+
const de_RedshiftIdcApplicationQuotaExceededFault = (output, context) => {
|
|
14105
|
+
const contents = {};
|
|
14106
|
+
if (output["message"] !== undefined) {
|
|
14107
|
+
contents.message = __expectString(output["message"]);
|
|
14108
|
+
}
|
|
14109
|
+
return contents;
|
|
14110
|
+
};
|
|
13488
14111
|
const de_ReservedNode = (output, context) => {
|
|
13489
14112
|
const contents = {};
|
|
13490
14113
|
if (output["ReservedNodeId"] !== undefined) {
|
|
@@ -14070,6 +14693,26 @@ const de_SecondaryClusterInfo = (output, context) => {
|
|
|
14070
14693
|
}
|
|
14071
14694
|
return contents;
|
|
14072
14695
|
};
|
|
14696
|
+
const de_ServiceIntegrationList = (output, context) => {
|
|
14697
|
+
return (output || [])
|
|
14698
|
+
.filter((e) => e != null)
|
|
14699
|
+
.map((entry) => {
|
|
14700
|
+
return de_ServiceIntegrationsUnion(__expectUnion(entry), context);
|
|
14701
|
+
});
|
|
14702
|
+
};
|
|
14703
|
+
const de_ServiceIntegrationsUnion = (output, context) => {
|
|
14704
|
+
if (output.LakeFormation === "") {
|
|
14705
|
+
return {
|
|
14706
|
+
LakeFormation: [],
|
|
14707
|
+
};
|
|
14708
|
+
}
|
|
14709
|
+
else if (output["LakeFormation"] !== undefined && output["LakeFormation"]["member"] !== undefined) {
|
|
14710
|
+
return {
|
|
14711
|
+
LakeFormation: de_LakeFormationServiceIntegrations(__getArrayIfSingleItem(output["LakeFormation"]["member"]), context),
|
|
14712
|
+
};
|
|
14713
|
+
}
|
|
14714
|
+
return { $unknown: Object.entries(output)[0] };
|
|
14715
|
+
};
|
|
14073
14716
|
const de_Snapshot = (output, context) => {
|
|
14074
14717
|
const contents = {};
|
|
14075
14718
|
if (output["SnapshotIdentifier"] !== undefined) {
|