@aws-sdk/client-redshift 3.436.0 → 3.438.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/DeleteResourcePolicyCommand.js +51 -0
- package/dist-cjs/commands/DescribeInboundIntegrationsCommand.js +51 -0
- package/dist-cjs/commands/GetResourcePolicyCommand.js +51 -0
- package/dist-cjs/commands/PutResourcePolicyCommand.js +51 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoint/endpointResolver.js +1 -1
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/models/models_0.js +28 -2
- package/dist-cjs/models/models_1.js +36 -1
- package/dist-cjs/pagination/DescribeInboundIntegrationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_query.js +432 -5
- package/dist-es/Redshift.js +8 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +47 -0
- package/dist-es/commands/DescribeInboundIntegrationsCommand.js +47 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +47 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +47 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/index.js +1 -0
- package/dist-es/models/models_0.js +24 -0
- package/dist-es/models/models_1.js +33 -0
- package/dist-es/pagination/DescribeInboundIntegrationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_query.js +420 -2
- package/dist-types/Redshift.d.ts +28 -0
- package/dist-types/RedshiftClient.d.ts +6 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +7 -0
- package/dist-types/commands/CreateClusterSubnetGroupCommand.d.ts +3 -0
- package/dist-types/commands/CreateEndpointAccessCommand.d.ts +1 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +2 -0
- package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +1 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +77 -0
- package/dist-types/commands/DescribeClusterSubnetGroupsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeClustersCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEndpointAccessCommand.d.ts +1 -0
- package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInboundIntegrationsCommand.d.ts +100 -0
- package/dist-types/commands/DisableSnapshotCopyCommand.d.ts +2 -0
- package/dist-types/commands/EnableSnapshotCopyCommand.d.ts +2 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +85 -0
- package/dist-types/commands/ModifyClusterCommand.d.ts +7 -0
- package/dist-types/commands/ModifyClusterDbRevisionCommand.d.ts +2 -0
- package/dist-types/commands/ModifyClusterIamRolesCommand.d.ts +2 -0
- package/dist-types/commands/ModifyClusterMaintenanceCommand.d.ts +2 -0
- package/dist-types/commands/ModifyClusterSubnetGroupCommand.d.ts +3 -0
- package/dist-types/commands/ModifyEndpointAccessCommand.d.ts +1 -0
- package/dist-types/commands/ModifySnapshotCopyRetentionPeriodCommand.d.ts +2 -0
- package/dist-types/commands/PauseClusterCommand.d.ts +2 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +89 -0
- package/dist-types/commands/RebootClusterCommand.d.ts +2 -0
- package/dist-types/commands/ResizeClusterCommand.d.ts +2 -0
- package/dist-types/commands/RestoreFromClusterSnapshotCommand.d.ts +7 -0
- package/dist-types/commands/ResumeClusterCommand.d.ts +2 -0
- package/dist-types/commands/RotateEncryptionKeyCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +55 -57
- package/dist-types/models/models_1.d.ts +277 -1
- package/dist-types/pagination/DescribeInboundIntegrationsPaginator.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/DeleteResourcePolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DescribeEventCategoriesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeInboundIntegrationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +21 -13
- package/dist-types/ts3.4/models/models_1.d.ts +77 -1
- package/dist-types/ts3.4/pagination/DescribeInboundIntegrationsPaginator.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 +7 -6
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
3
|
+
exports.se_DescribeClusterParameterGroupsCommand = exports.se_DescribeClusterDbRevisionsCommand = exports.se_DescribeAuthenticationProfilesCommand = exports.se_DescribeAccountAttributesCommand = exports.se_DeleteUsageLimitCommand = exports.se_DeleteTagsCommand = exports.se_DeleteSnapshotScheduleCommand = exports.se_DeleteSnapshotCopyGrantCommand = exports.se_DeleteScheduledActionCommand = exports.se_DeleteResourcePolicyCommand = exports.se_DeletePartnerCommand = exports.se_DeleteHsmConfigurationCommand = exports.se_DeleteHsmClientCertificateCommand = exports.se_DeleteEventSubscriptionCommand = exports.se_DeleteEndpointAccessCommand = exports.se_DeleteCustomDomainAssociationCommand = exports.se_DeleteClusterSubnetGroupCommand = exports.se_DeleteClusterSnapshotCommand = exports.se_DeleteClusterSecurityGroupCommand = exports.se_DeleteClusterParameterGroupCommand = exports.se_DeleteClusterCommand = exports.se_DeleteAuthenticationProfileCommand = exports.se_DeauthorizeDataShareCommand = exports.se_CreateUsageLimitCommand = exports.se_CreateTagsCommand = exports.se_CreateSnapshotScheduleCommand = exports.se_CreateSnapshotCopyGrantCommand = exports.se_CreateScheduledActionCommand = exports.se_CreateHsmConfigurationCommand = exports.se_CreateHsmClientCertificateCommand = exports.se_CreateEventSubscriptionCommand = exports.se_CreateEndpointAccessCommand = exports.se_CreateCustomDomainAssociationCommand = exports.se_CreateClusterSubnetGroupCommand = exports.se_CreateClusterSnapshotCommand = exports.se_CreateClusterSecurityGroupCommand = exports.se_CreateClusterParameterGroupCommand = exports.se_CreateClusterCommand = exports.se_CreateAuthenticationProfileCommand = exports.se_CopyClusterSnapshotCommand = exports.se_CancelResizeCommand = exports.se_BatchModifyClusterSnapshotsCommand = exports.se_BatchDeleteClusterSnapshotsCommand = exports.se_AuthorizeSnapshotAccessCommand = exports.se_AuthorizeEndpointAccessCommand = exports.se_AuthorizeDataShareCommand = exports.se_AuthorizeClusterSecurityGroupIngressCommand = exports.se_AssociateDataShareConsumerCommand = exports.se_AddPartnerCommand = exports.se_AcceptReservedNodeExchangeCommand = void 0;
|
|
4
|
+
exports.se_ModifyClusterIamRolesCommand = exports.se_ModifyClusterDbRevisionCommand = exports.se_ModifyClusterCommand = exports.se_ModifyAuthenticationProfileCommand = exports.se_ModifyAquaConfigurationCommand = exports.se_GetResourcePolicyCommand = exports.se_GetReservedNodeExchangeOfferingsCommand = exports.se_GetReservedNodeExchangeConfigurationOptionsCommand = exports.se_GetClusterCredentialsWithIAMCommand = exports.se_GetClusterCredentialsCommand = exports.se_EnableSnapshotCopyCommand = exports.se_EnableLoggingCommand = exports.se_DisassociateDataShareConsumerCommand = exports.se_DisableSnapshotCopyCommand = exports.se_DisableLoggingCommand = exports.se_DescribeUsageLimitsCommand = exports.se_DescribeTagsCommand = exports.se_DescribeTableRestoreStatusCommand = exports.se_DescribeStorageCommand = exports.se_DescribeSnapshotSchedulesCommand = exports.se_DescribeSnapshotCopyGrantsCommand = exports.se_DescribeScheduledActionsCommand = exports.se_DescribeResizeCommand = exports.se_DescribeReservedNodesCommand = exports.se_DescribeReservedNodeOfferingsCommand = exports.se_DescribeReservedNodeExchangeStatusCommand = exports.se_DescribePartnersCommand = exports.se_DescribeOrderableClusterOptionsCommand = exports.se_DescribeNodeConfigurationOptionsCommand = exports.se_DescribeLoggingStatusCommand = exports.se_DescribeInboundIntegrationsCommand = exports.se_DescribeHsmConfigurationsCommand = exports.se_DescribeHsmClientCertificatesCommand = exports.se_DescribeEventSubscriptionsCommand = exports.se_DescribeEventsCommand = exports.se_DescribeEventCategoriesCommand = exports.se_DescribeEndpointAuthorizationCommand = exports.se_DescribeEndpointAccessCommand = exports.se_DescribeDefaultClusterParametersCommand = exports.se_DescribeDataSharesForProducerCommand = exports.se_DescribeDataSharesForConsumerCommand = exports.se_DescribeDataSharesCommand = exports.se_DescribeCustomDomainAssociationsCommand = exports.se_DescribeClusterVersionsCommand = exports.se_DescribeClusterTracksCommand = exports.se_DescribeClusterSubnetGroupsCommand = exports.se_DescribeClusterSnapshotsCommand = exports.se_DescribeClusterSecurityGroupsCommand = exports.se_DescribeClustersCommand = exports.se_DescribeClusterParametersCommand = void 0;
|
|
5
|
+
exports.de_CreateScheduledActionCommand = exports.de_CreateHsmConfigurationCommand = exports.de_CreateHsmClientCertificateCommand = exports.de_CreateEventSubscriptionCommand = exports.de_CreateEndpointAccessCommand = exports.de_CreateCustomDomainAssociationCommand = exports.de_CreateClusterSubnetGroupCommand = exports.de_CreateClusterSnapshotCommand = exports.de_CreateClusterSecurityGroupCommand = exports.de_CreateClusterParameterGroupCommand = exports.de_CreateClusterCommand = exports.de_CreateAuthenticationProfileCommand = exports.de_CopyClusterSnapshotCommand = exports.de_CancelResizeCommand = exports.de_BatchModifyClusterSnapshotsCommand = exports.de_BatchDeleteClusterSnapshotsCommand = exports.de_AuthorizeSnapshotAccessCommand = exports.de_AuthorizeEndpointAccessCommand = exports.de_AuthorizeDataShareCommand = exports.de_AuthorizeClusterSecurityGroupIngressCommand = exports.de_AssociateDataShareConsumerCommand = exports.de_AddPartnerCommand = exports.de_AcceptReservedNodeExchangeCommand = exports.se_UpdatePartnerStatusCommand = exports.se_RotateEncryptionKeyCommand = exports.se_RevokeSnapshotAccessCommand = exports.se_RevokeEndpointAccessCommand = exports.se_RevokeClusterSecurityGroupIngressCommand = exports.se_ResumeClusterCommand = exports.se_RestoreTableFromClusterSnapshotCommand = exports.se_RestoreFromClusterSnapshotCommand = exports.se_ResizeClusterCommand = exports.se_ResetClusterParameterGroupCommand = exports.se_RejectDataShareCommand = exports.se_RebootClusterCommand = exports.se_PutResourcePolicyCommand = exports.se_PurchaseReservedNodeOfferingCommand = exports.se_PauseClusterCommand = exports.se_ModifyUsageLimitCommand = exports.se_ModifySnapshotScheduleCommand = exports.se_ModifySnapshotCopyRetentionPeriodCommand = exports.se_ModifyScheduledActionCommand = exports.se_ModifyEventSubscriptionCommand = exports.se_ModifyEndpointAccessCommand = exports.se_ModifyCustomDomainAssociationCommand = exports.se_ModifyClusterSubnetGroupCommand = exports.se_ModifyClusterSnapshotScheduleCommand = exports.se_ModifyClusterSnapshotCommand = exports.se_ModifyClusterParameterGroupCommand = exports.se_ModifyClusterMaintenanceCommand = void 0;
|
|
6
|
+
exports.de_DescribeOrderableClusterOptionsCommand = exports.de_DescribeNodeConfigurationOptionsCommand = exports.de_DescribeLoggingStatusCommand = exports.de_DescribeInboundIntegrationsCommand = exports.de_DescribeHsmConfigurationsCommand = exports.de_DescribeHsmClientCertificatesCommand = exports.de_DescribeEventSubscriptionsCommand = exports.de_DescribeEventsCommand = exports.de_DescribeEventCategoriesCommand = exports.de_DescribeEndpointAuthorizationCommand = exports.de_DescribeEndpointAccessCommand = exports.de_DescribeDefaultClusterParametersCommand = exports.de_DescribeDataSharesForProducerCommand = exports.de_DescribeDataSharesForConsumerCommand = exports.de_DescribeDataSharesCommand = exports.de_DescribeCustomDomainAssociationsCommand = exports.de_DescribeClusterVersionsCommand = exports.de_DescribeClusterTracksCommand = exports.de_DescribeClusterSubnetGroupsCommand = exports.de_DescribeClusterSnapshotsCommand = exports.de_DescribeClusterSecurityGroupsCommand = exports.de_DescribeClustersCommand = exports.de_DescribeClusterParametersCommand = exports.de_DescribeClusterParameterGroupsCommand = exports.de_DescribeClusterDbRevisionsCommand = exports.de_DescribeAuthenticationProfilesCommand = exports.de_DescribeAccountAttributesCommand = exports.de_DeleteUsageLimitCommand = exports.de_DeleteTagsCommand = exports.de_DeleteSnapshotScheduleCommand = exports.de_DeleteSnapshotCopyGrantCommand = exports.de_DeleteScheduledActionCommand = exports.de_DeleteResourcePolicyCommand = exports.de_DeletePartnerCommand = exports.de_DeleteHsmConfigurationCommand = exports.de_DeleteHsmClientCertificateCommand = exports.de_DeleteEventSubscriptionCommand = exports.de_DeleteEndpointAccessCommand = exports.de_DeleteCustomDomainAssociationCommand = exports.de_DeleteClusterSubnetGroupCommand = exports.de_DeleteClusterSnapshotCommand = exports.de_DeleteClusterSecurityGroupCommand = exports.de_DeleteClusterParameterGroupCommand = exports.de_DeleteClusterCommand = exports.de_DeleteAuthenticationProfileCommand = exports.de_DeauthorizeDataShareCommand = exports.de_CreateUsageLimitCommand = exports.de_CreateTagsCommand = exports.de_CreateSnapshotScheduleCommand = exports.de_CreateSnapshotCopyGrantCommand = void 0;
|
|
7
|
+
exports.de_RevokeClusterSecurityGroupIngressCommand = exports.de_ResumeClusterCommand = exports.de_RestoreTableFromClusterSnapshotCommand = exports.de_RestoreFromClusterSnapshotCommand = exports.de_ResizeClusterCommand = exports.de_ResetClusterParameterGroupCommand = exports.de_RejectDataShareCommand = exports.de_RebootClusterCommand = exports.de_PutResourcePolicyCommand = exports.de_PurchaseReservedNodeOfferingCommand = exports.de_PauseClusterCommand = exports.de_ModifyUsageLimitCommand = exports.de_ModifySnapshotScheduleCommand = exports.de_ModifySnapshotCopyRetentionPeriodCommand = exports.de_ModifyScheduledActionCommand = exports.de_ModifyEventSubscriptionCommand = exports.de_ModifyEndpointAccessCommand = exports.de_ModifyCustomDomainAssociationCommand = exports.de_ModifyClusterSubnetGroupCommand = exports.de_ModifyClusterSnapshotScheduleCommand = exports.de_ModifyClusterSnapshotCommand = exports.de_ModifyClusterParameterGroupCommand = exports.de_ModifyClusterMaintenanceCommand = exports.de_ModifyClusterIamRolesCommand = exports.de_ModifyClusterDbRevisionCommand = exports.de_ModifyClusterCommand = exports.de_ModifyAuthenticationProfileCommand = exports.de_ModifyAquaConfigurationCommand = exports.de_GetResourcePolicyCommand = exports.de_GetReservedNodeExchangeOfferingsCommand = exports.de_GetReservedNodeExchangeConfigurationOptionsCommand = exports.de_GetClusterCredentialsWithIAMCommand = exports.de_GetClusterCredentialsCommand = exports.de_EnableSnapshotCopyCommand = exports.de_EnableLoggingCommand = exports.de_DisassociateDataShareConsumerCommand = exports.de_DisableSnapshotCopyCommand = exports.de_DisableLoggingCommand = exports.de_DescribeUsageLimitsCommand = exports.de_DescribeTagsCommand = exports.de_DescribeTableRestoreStatusCommand = exports.de_DescribeStorageCommand = exports.de_DescribeSnapshotSchedulesCommand = exports.de_DescribeSnapshotCopyGrantsCommand = exports.de_DescribeScheduledActionsCommand = exports.de_DescribeResizeCommand = exports.de_DescribeReservedNodesCommand = exports.de_DescribeReservedNodeOfferingsCommand = exports.de_DescribeReservedNodeExchangeStatusCommand = exports.de_DescribePartnersCommand = void 0;
|
|
8
|
+
exports.de_UpdatePartnerStatusCommand = exports.de_RotateEncryptionKeyCommand = exports.de_RevokeSnapshotAccessCommand = exports.de_RevokeEndpointAccessCommand = void 0;
|
|
8
9
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
9
10
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
10
11
|
const fast_xml_parser_1 = require("fast-xml-parser");
|
|
@@ -451,6 +452,17 @@ const se_DeletePartnerCommand = async (input, context) => {
|
|
|
451
452
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
452
453
|
};
|
|
453
454
|
exports.se_DeletePartnerCommand = se_DeletePartnerCommand;
|
|
455
|
+
const se_DeleteResourcePolicyCommand = async (input, context) => {
|
|
456
|
+
const headers = SHARED_HEADERS;
|
|
457
|
+
let body;
|
|
458
|
+
body = buildFormUrlencodedString({
|
|
459
|
+
...se_DeleteResourcePolicyMessage(input, context),
|
|
460
|
+
Action: "DeleteResourcePolicy",
|
|
461
|
+
Version: "2012-12-01",
|
|
462
|
+
});
|
|
463
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
464
|
+
};
|
|
465
|
+
exports.se_DeleteResourcePolicyCommand = se_DeleteResourcePolicyCommand;
|
|
454
466
|
const se_DeleteScheduledActionCommand = async (input, context) => {
|
|
455
467
|
const headers = SHARED_HEADERS;
|
|
456
468
|
let body;
|
|
@@ -759,6 +771,17 @@ const se_DescribeHsmConfigurationsCommand = async (input, context) => {
|
|
|
759
771
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
760
772
|
};
|
|
761
773
|
exports.se_DescribeHsmConfigurationsCommand = se_DescribeHsmConfigurationsCommand;
|
|
774
|
+
const se_DescribeInboundIntegrationsCommand = async (input, context) => {
|
|
775
|
+
const headers = SHARED_HEADERS;
|
|
776
|
+
let body;
|
|
777
|
+
body = buildFormUrlencodedString({
|
|
778
|
+
...se_DescribeInboundIntegrationsMessage(input, context),
|
|
779
|
+
Action: "DescribeInboundIntegrations",
|
|
780
|
+
Version: "2012-12-01",
|
|
781
|
+
});
|
|
782
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
783
|
+
};
|
|
784
|
+
exports.se_DescribeInboundIntegrationsCommand = se_DescribeInboundIntegrationsCommand;
|
|
762
785
|
const se_DescribeLoggingStatusCommand = async (input, context) => {
|
|
763
786
|
const headers = SHARED_HEADERS;
|
|
764
787
|
let body;
|
|
@@ -1021,6 +1044,17 @@ const se_GetReservedNodeExchangeOfferingsCommand = async (input, context) => {
|
|
|
1021
1044
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1022
1045
|
};
|
|
1023
1046
|
exports.se_GetReservedNodeExchangeOfferingsCommand = se_GetReservedNodeExchangeOfferingsCommand;
|
|
1047
|
+
const se_GetResourcePolicyCommand = async (input, context) => {
|
|
1048
|
+
const headers = SHARED_HEADERS;
|
|
1049
|
+
let body;
|
|
1050
|
+
body = buildFormUrlencodedString({
|
|
1051
|
+
...se_GetResourcePolicyMessage(input, context),
|
|
1052
|
+
Action: "GetResourcePolicy",
|
|
1053
|
+
Version: "2012-12-01",
|
|
1054
|
+
});
|
|
1055
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1056
|
+
};
|
|
1057
|
+
exports.se_GetResourcePolicyCommand = se_GetResourcePolicyCommand;
|
|
1024
1058
|
const se_ModifyAquaConfigurationCommand = async (input, context) => {
|
|
1025
1059
|
const headers = SHARED_HEADERS;
|
|
1026
1060
|
let body;
|
|
@@ -1230,6 +1264,17 @@ const se_PurchaseReservedNodeOfferingCommand = async (input, context) => {
|
|
|
1230
1264
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1231
1265
|
};
|
|
1232
1266
|
exports.se_PurchaseReservedNodeOfferingCommand = se_PurchaseReservedNodeOfferingCommand;
|
|
1267
|
+
const se_PutResourcePolicyCommand = async (input, context) => {
|
|
1268
|
+
const headers = SHARED_HEADERS;
|
|
1269
|
+
let body;
|
|
1270
|
+
body = buildFormUrlencodedString({
|
|
1271
|
+
...se_PutResourcePolicyMessage(input, context),
|
|
1272
|
+
Action: "PutResourcePolicy",
|
|
1273
|
+
Version: "2012-12-01",
|
|
1274
|
+
});
|
|
1275
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1276
|
+
};
|
|
1277
|
+
exports.se_PutResourcePolicyCommand = se_PutResourcePolicyCommand;
|
|
1233
1278
|
const se_RebootClusterCommand = async (input, context) => {
|
|
1234
1279
|
const headers = SHARED_HEADERS;
|
|
1235
1280
|
let body;
|
|
@@ -1926,6 +1971,9 @@ const de_CreateClusterCommandError = async (output, context) => {
|
|
|
1926
1971
|
case "InvalidVPCNetworkStateFault":
|
|
1927
1972
|
case "com.amazonaws.redshift#InvalidVPCNetworkStateFault":
|
|
1928
1973
|
throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
|
|
1974
|
+
case "Ipv6CidrBlockNotFoundFault":
|
|
1975
|
+
case "com.amazonaws.redshift#Ipv6CidrBlockNotFoundFault":
|
|
1976
|
+
throw await de_Ipv6CidrBlockNotFoundFaultRes(parsedOutput, context);
|
|
1929
1977
|
case "LimitExceededFault":
|
|
1930
1978
|
case "com.amazonaws.redshift#LimitExceededFault":
|
|
1931
1979
|
throw await de_LimitExceededFaultRes(parsedOutput, context);
|
|
@@ -3093,6 +3141,39 @@ const de_DeletePartnerCommandError = async (output, context) => {
|
|
|
3093
3141
|
});
|
|
3094
3142
|
}
|
|
3095
3143
|
};
|
|
3144
|
+
const de_DeleteResourcePolicyCommand = async (output, context) => {
|
|
3145
|
+
if (output.statusCode >= 300) {
|
|
3146
|
+
return de_DeleteResourcePolicyCommandError(output, context);
|
|
3147
|
+
}
|
|
3148
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3149
|
+
const response = {
|
|
3150
|
+
$metadata: deserializeMetadata(output),
|
|
3151
|
+
};
|
|
3152
|
+
return response;
|
|
3153
|
+
};
|
|
3154
|
+
exports.de_DeleteResourcePolicyCommand = de_DeleteResourcePolicyCommand;
|
|
3155
|
+
const de_DeleteResourcePolicyCommandError = async (output, context) => {
|
|
3156
|
+
const parsedOutput = {
|
|
3157
|
+
...output,
|
|
3158
|
+
body: await parseErrorBody(output.body, context),
|
|
3159
|
+
};
|
|
3160
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3161
|
+
switch (errorCode) {
|
|
3162
|
+
case "ResourceNotFoundFault":
|
|
3163
|
+
case "com.amazonaws.redshift#ResourceNotFoundFault":
|
|
3164
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
3165
|
+
case "UnsupportedOperation":
|
|
3166
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
3167
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
3168
|
+
default:
|
|
3169
|
+
const parsedBody = parsedOutput.body;
|
|
3170
|
+
return throwDefaultError({
|
|
3171
|
+
output,
|
|
3172
|
+
parsedBody: parsedBody.Error,
|
|
3173
|
+
errorCode,
|
|
3174
|
+
});
|
|
3175
|
+
}
|
|
3176
|
+
};
|
|
3096
3177
|
const de_DeleteScheduledActionCommand = async (output, context) => {
|
|
3097
3178
|
if (output.statusCode >= 300) {
|
|
3098
3179
|
return de_DeleteScheduledActionCommandError(output, context);
|
|
@@ -4038,6 +4119,45 @@ const de_DescribeHsmConfigurationsCommandError = async (output, context) => {
|
|
|
4038
4119
|
});
|
|
4039
4120
|
}
|
|
4040
4121
|
};
|
|
4122
|
+
const de_DescribeInboundIntegrationsCommand = async (output, context) => {
|
|
4123
|
+
if (output.statusCode >= 300) {
|
|
4124
|
+
return de_DescribeInboundIntegrationsCommandError(output, context);
|
|
4125
|
+
}
|
|
4126
|
+
const data = await parseBody(output.body, context);
|
|
4127
|
+
let contents = {};
|
|
4128
|
+
contents = de_InboundIntegrationsMessage(data.DescribeInboundIntegrationsResult, context);
|
|
4129
|
+
const response = {
|
|
4130
|
+
$metadata: deserializeMetadata(output),
|
|
4131
|
+
...contents,
|
|
4132
|
+
};
|
|
4133
|
+
return response;
|
|
4134
|
+
};
|
|
4135
|
+
exports.de_DescribeInboundIntegrationsCommand = de_DescribeInboundIntegrationsCommand;
|
|
4136
|
+
const de_DescribeInboundIntegrationsCommandError = async (output, context) => {
|
|
4137
|
+
const parsedOutput = {
|
|
4138
|
+
...output,
|
|
4139
|
+
body: await parseErrorBody(output.body, context),
|
|
4140
|
+
};
|
|
4141
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4142
|
+
switch (errorCode) {
|
|
4143
|
+
case "IntegrationNotFoundFault":
|
|
4144
|
+
case "com.amazonaws.redshift#IntegrationNotFoundFault":
|
|
4145
|
+
throw await de_IntegrationNotFoundFaultRes(parsedOutput, context);
|
|
4146
|
+
case "InvalidNamespaceFault":
|
|
4147
|
+
case "com.amazonaws.redshift#InvalidNamespaceFault":
|
|
4148
|
+
throw await de_InvalidNamespaceFaultRes(parsedOutput, context);
|
|
4149
|
+
case "UnsupportedOperation":
|
|
4150
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
4151
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
4152
|
+
default:
|
|
4153
|
+
const parsedBody = parsedOutput.body;
|
|
4154
|
+
return throwDefaultError({
|
|
4155
|
+
output,
|
|
4156
|
+
parsedBody: parsedBody.Error,
|
|
4157
|
+
errorCode,
|
|
4158
|
+
});
|
|
4159
|
+
}
|
|
4160
|
+
};
|
|
4041
4161
|
const de_DescribeLoggingStatusCommand = async (output, context) => {
|
|
4042
4162
|
if (output.statusCode >= 300) {
|
|
4043
4163
|
return de_DescribeLoggingStatusCommandError(output, context);
|
|
@@ -4962,6 +5082,45 @@ const de_GetReservedNodeExchangeOfferingsCommandError = async (output, context)
|
|
|
4962
5082
|
});
|
|
4963
5083
|
}
|
|
4964
5084
|
};
|
|
5085
|
+
const de_GetResourcePolicyCommand = async (output, context) => {
|
|
5086
|
+
if (output.statusCode >= 300) {
|
|
5087
|
+
return de_GetResourcePolicyCommandError(output, context);
|
|
5088
|
+
}
|
|
5089
|
+
const data = await parseBody(output.body, context);
|
|
5090
|
+
let contents = {};
|
|
5091
|
+
contents = de_GetResourcePolicyResult(data.GetResourcePolicyResult, context);
|
|
5092
|
+
const response = {
|
|
5093
|
+
$metadata: deserializeMetadata(output),
|
|
5094
|
+
...contents,
|
|
5095
|
+
};
|
|
5096
|
+
return response;
|
|
5097
|
+
};
|
|
5098
|
+
exports.de_GetResourcePolicyCommand = de_GetResourcePolicyCommand;
|
|
5099
|
+
const de_GetResourcePolicyCommandError = async (output, context) => {
|
|
5100
|
+
const parsedOutput = {
|
|
5101
|
+
...output,
|
|
5102
|
+
body: await parseErrorBody(output.body, context),
|
|
5103
|
+
};
|
|
5104
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
5105
|
+
switch (errorCode) {
|
|
5106
|
+
case "InvalidPolicyFault":
|
|
5107
|
+
case "com.amazonaws.redshift#InvalidPolicyFault":
|
|
5108
|
+
throw await de_InvalidPolicyFaultRes(parsedOutput, context);
|
|
5109
|
+
case "ResourceNotFoundFault":
|
|
5110
|
+
case "com.amazonaws.redshift#ResourceNotFoundFault":
|
|
5111
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
5112
|
+
case "UnsupportedOperation":
|
|
5113
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
5114
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
5115
|
+
default:
|
|
5116
|
+
const parsedBody = parsedOutput.body;
|
|
5117
|
+
return throwDefaultError({
|
|
5118
|
+
output,
|
|
5119
|
+
parsedBody: parsedBody.Error,
|
|
5120
|
+
errorCode,
|
|
5121
|
+
});
|
|
5122
|
+
}
|
|
5123
|
+
};
|
|
4965
5124
|
const de_ModifyAquaConfigurationCommand = async (output, context) => {
|
|
4966
5125
|
if (output.statusCode >= 300) {
|
|
4967
5126
|
return de_ModifyAquaConfigurationCommandError(output, context);
|
|
@@ -5103,6 +5262,9 @@ const de_ModifyClusterCommandError = async (output, context) => {
|
|
|
5103
5262
|
case "InvalidRetentionPeriodFault":
|
|
5104
5263
|
case "com.amazonaws.redshift#InvalidRetentionPeriodFault":
|
|
5105
5264
|
throw await de_InvalidRetentionPeriodFaultRes(parsedOutput, context);
|
|
5265
|
+
case "Ipv6CidrBlockNotFoundFault":
|
|
5266
|
+
case "com.amazonaws.redshift#Ipv6CidrBlockNotFoundFault":
|
|
5267
|
+
throw await de_Ipv6CidrBlockNotFoundFaultRes(parsedOutput, context);
|
|
5106
5268
|
case "LimitExceededFault":
|
|
5107
5269
|
case "com.amazonaws.redshift#LimitExceededFault":
|
|
5108
5270
|
throw await de_LimitExceededFaultRes(parsedOutput, context);
|
|
@@ -5793,6 +5955,48 @@ const de_PurchaseReservedNodeOfferingCommandError = async (output, context) => {
|
|
|
5793
5955
|
});
|
|
5794
5956
|
}
|
|
5795
5957
|
};
|
|
5958
|
+
const de_PutResourcePolicyCommand = async (output, context) => {
|
|
5959
|
+
if (output.statusCode >= 300) {
|
|
5960
|
+
return de_PutResourcePolicyCommandError(output, context);
|
|
5961
|
+
}
|
|
5962
|
+
const data = await parseBody(output.body, context);
|
|
5963
|
+
let contents = {};
|
|
5964
|
+
contents = de_PutResourcePolicyResult(data.PutResourcePolicyResult, context);
|
|
5965
|
+
const response = {
|
|
5966
|
+
$metadata: deserializeMetadata(output),
|
|
5967
|
+
...contents,
|
|
5968
|
+
};
|
|
5969
|
+
return response;
|
|
5970
|
+
};
|
|
5971
|
+
exports.de_PutResourcePolicyCommand = de_PutResourcePolicyCommand;
|
|
5972
|
+
const de_PutResourcePolicyCommandError = async (output, context) => {
|
|
5973
|
+
const parsedOutput = {
|
|
5974
|
+
...output,
|
|
5975
|
+
body: await parseErrorBody(output.body, context),
|
|
5976
|
+
};
|
|
5977
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
5978
|
+
switch (errorCode) {
|
|
5979
|
+
case "ConflictPolicyUpdateFault":
|
|
5980
|
+
case "com.amazonaws.redshift#ConflictPolicyUpdateFault":
|
|
5981
|
+
throw await de_ConflictPolicyUpdateFaultRes(parsedOutput, context);
|
|
5982
|
+
case "InvalidPolicyFault":
|
|
5983
|
+
case "com.amazonaws.redshift#InvalidPolicyFault":
|
|
5984
|
+
throw await de_InvalidPolicyFaultRes(parsedOutput, context);
|
|
5985
|
+
case "ResourceNotFoundFault":
|
|
5986
|
+
case "com.amazonaws.redshift#ResourceNotFoundFault":
|
|
5987
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
5988
|
+
case "UnsupportedOperation":
|
|
5989
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
5990
|
+
throw await de_UnsupportedOperationFaultRes(parsedOutput, context);
|
|
5991
|
+
default:
|
|
5992
|
+
const parsedBody = parsedOutput.body;
|
|
5993
|
+
return throwDefaultError({
|
|
5994
|
+
output,
|
|
5995
|
+
parsedBody: parsedBody.Error,
|
|
5996
|
+
errorCode,
|
|
5997
|
+
});
|
|
5998
|
+
}
|
|
5999
|
+
};
|
|
5796
6000
|
const de_RebootClusterCommand = async (output, context) => {
|
|
5797
6001
|
if (output.statusCode >= 300) {
|
|
5798
6002
|
return de_RebootClusterCommandError(output, context);
|
|
@@ -6057,6 +6261,9 @@ const de_RestoreFromClusterSnapshotCommandError = async (output, context) => {
|
|
|
6057
6261
|
case "InvalidVPCNetworkStateFault":
|
|
6058
6262
|
case "com.amazonaws.redshift#InvalidVPCNetworkStateFault":
|
|
6059
6263
|
throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
|
|
6264
|
+
case "Ipv6CidrBlockNotFoundFault":
|
|
6265
|
+
case "com.amazonaws.redshift#Ipv6CidrBlockNotFoundFault":
|
|
6266
|
+
throw await de_Ipv6CidrBlockNotFoundFaultRes(parsedOutput, context);
|
|
6060
6267
|
case "LimitExceededFault":
|
|
6061
6268
|
case "com.amazonaws.redshift#LimitExceededFault":
|
|
6062
6269
|
throw await de_LimitExceededFaultRes(parsedOutput, context);
|
|
@@ -6651,6 +6858,15 @@ const de_ClusterSubnetQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
|
6651
6858
|
});
|
|
6652
6859
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6653
6860
|
};
|
|
6861
|
+
const de_ConflictPolicyUpdateFaultRes = async (parsedOutput, context) => {
|
|
6862
|
+
const body = parsedOutput.body;
|
|
6863
|
+
const deserialized = de_ConflictPolicyUpdateFault(body.Error, context);
|
|
6864
|
+
const exception = new models_0_1.ConflictPolicyUpdateFault({
|
|
6865
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
6866
|
+
...deserialized,
|
|
6867
|
+
});
|
|
6868
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6869
|
+
};
|
|
6654
6870
|
const de_CopyToRegionDisabledFaultRes = async (parsedOutput, context) => {
|
|
6655
6871
|
const body = parsedOutput.body;
|
|
6656
6872
|
const deserialized = de_CopyToRegionDisabledFault(body.Error, context);
|
|
@@ -6858,6 +7074,15 @@ const de_InsufficientS3BucketPolicyFaultRes = async (parsedOutput, context) => {
|
|
|
6858
7074
|
});
|
|
6859
7075
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
6860
7076
|
};
|
|
7077
|
+
const de_IntegrationNotFoundFaultRes = async (parsedOutput, context) => {
|
|
7078
|
+
const body = parsedOutput.body;
|
|
7079
|
+
const deserialized = de_IntegrationNotFoundFault(body.Error, context);
|
|
7080
|
+
const exception = new models_1_1.IntegrationNotFoundFault({
|
|
7081
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
7082
|
+
...deserialized,
|
|
7083
|
+
});
|
|
7084
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
7085
|
+
};
|
|
6861
7086
|
const de_InvalidAuthenticationProfileRequestFaultRes = async (parsedOutput, context) => {
|
|
6862
7087
|
const body = parsedOutput.body;
|
|
6863
7088
|
const deserialized = de_InvalidAuthenticationProfileRequestFault(body.Error, context);
|
|
@@ -7002,6 +7227,15 @@ const de_InvalidNamespaceFaultRes = async (parsedOutput, context) => {
|
|
|
7002
7227
|
});
|
|
7003
7228
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
7004
7229
|
};
|
|
7230
|
+
const de_InvalidPolicyFaultRes = async (parsedOutput, context) => {
|
|
7231
|
+
const body = parsedOutput.body;
|
|
7232
|
+
const deserialized = de_InvalidPolicyFault(body.Error, context);
|
|
7233
|
+
const exception = new models_1_1.InvalidPolicyFault({
|
|
7234
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
7235
|
+
...deserialized,
|
|
7236
|
+
});
|
|
7237
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
7238
|
+
};
|
|
7005
7239
|
const de_InvalidReservedNodeStateFaultRes = async (parsedOutput, context) => {
|
|
7006
7240
|
const body = parsedOutput.body;
|
|
7007
7241
|
const deserialized = de_InvalidReservedNodeStateFault(body.Error, context);
|
|
@@ -7128,6 +7362,15 @@ const de_InvalidVPCNetworkStateFaultRes = async (parsedOutput, context) => {
|
|
|
7128
7362
|
});
|
|
7129
7363
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
7130
7364
|
};
|
|
7365
|
+
const de_Ipv6CidrBlockNotFoundFaultRes = async (parsedOutput, context) => {
|
|
7366
|
+
const body = parsedOutput.body;
|
|
7367
|
+
const deserialized = de_Ipv6CidrBlockNotFoundFault(body.Error, context);
|
|
7368
|
+
const exception = new models_0_1.Ipv6CidrBlockNotFoundFault({
|
|
7369
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
7370
|
+
...deserialized,
|
|
7371
|
+
});
|
|
7372
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
7373
|
+
};
|
|
7131
7374
|
const de_LimitExceededFaultRes = async (parsedOutput, context) => {
|
|
7132
7375
|
const body = parsedOutput.body;
|
|
7133
7376
|
const deserialized = de_LimitExceededFault(body.Error, context);
|
|
@@ -7868,6 +8111,9 @@ const se_CreateClusterMessage = (input, context) => {
|
|
|
7868
8111
|
if (input.MasterPasswordSecretKmsKeyId != null) {
|
|
7869
8112
|
entries["MasterPasswordSecretKmsKeyId"] = input.MasterPasswordSecretKmsKeyId;
|
|
7870
8113
|
}
|
|
8114
|
+
if (input.IpAddressType != null) {
|
|
8115
|
+
entries["IpAddressType"] = input.IpAddressType;
|
|
8116
|
+
}
|
|
7871
8117
|
return entries;
|
|
7872
8118
|
};
|
|
7873
8119
|
const se_CreateClusterParameterGroupMessage = (input, context) => {
|
|
@@ -8366,6 +8612,13 @@ const se_DeleteHsmConfigurationMessage = (input, context) => {
|
|
|
8366
8612
|
}
|
|
8367
8613
|
return entries;
|
|
8368
8614
|
};
|
|
8615
|
+
const se_DeleteResourcePolicyMessage = (input, context) => {
|
|
8616
|
+
const entries = {};
|
|
8617
|
+
if (input.ResourceArn != null) {
|
|
8618
|
+
entries["ResourceArn"] = input.ResourceArn;
|
|
8619
|
+
}
|
|
8620
|
+
return entries;
|
|
8621
|
+
};
|
|
8369
8622
|
const se_DeleteScheduledActionMessage = (input, context) => {
|
|
8370
8623
|
const entries = {};
|
|
8371
8624
|
if (input.ScheduledActionName != null) {
|
|
@@ -8932,6 +9185,22 @@ const se_DescribeHsmConfigurationsMessage = (input, context) => {
|
|
|
8932
9185
|
}
|
|
8933
9186
|
return entries;
|
|
8934
9187
|
};
|
|
9188
|
+
const se_DescribeInboundIntegrationsMessage = (input, context) => {
|
|
9189
|
+
const entries = {};
|
|
9190
|
+
if (input.IntegrationArn != null) {
|
|
9191
|
+
entries["IntegrationArn"] = input.IntegrationArn;
|
|
9192
|
+
}
|
|
9193
|
+
if (input.TargetArn != null) {
|
|
9194
|
+
entries["TargetArn"] = input.TargetArn;
|
|
9195
|
+
}
|
|
9196
|
+
if (input.MaxRecords != null) {
|
|
9197
|
+
entries["MaxRecords"] = input.MaxRecords;
|
|
9198
|
+
}
|
|
9199
|
+
if (input.Marker != null) {
|
|
9200
|
+
entries["Marker"] = input.Marker;
|
|
9201
|
+
}
|
|
9202
|
+
return entries;
|
|
9203
|
+
};
|
|
8935
9204
|
const se_DescribeLoggingStatusMessage = (input, context) => {
|
|
8936
9205
|
const entries = {};
|
|
8937
9206
|
if (input.ClusterIdentifier != null) {
|
|
@@ -9417,6 +9686,13 @@ const se_GetReservedNodeExchangeOfferingsInputMessage = (input, context) => {
|
|
|
9417
9686
|
}
|
|
9418
9687
|
return entries;
|
|
9419
9688
|
};
|
|
9689
|
+
const se_GetResourcePolicyMessage = (input, context) => {
|
|
9690
|
+
const entries = {};
|
|
9691
|
+
if (input.ResourceArn != null) {
|
|
9692
|
+
entries["ResourceArn"] = input.ResourceArn;
|
|
9693
|
+
}
|
|
9694
|
+
return entries;
|
|
9695
|
+
};
|
|
9420
9696
|
const se_IamRoleArnList = (input, context) => {
|
|
9421
9697
|
const entries = {};
|
|
9422
9698
|
let counter = 1;
|
|
@@ -9620,6 +9896,9 @@ const se_ModifyClusterMessage = (input, context) => {
|
|
|
9620
9896
|
if (input.MasterPasswordSecretKmsKeyId != null) {
|
|
9621
9897
|
entries["MasterPasswordSecretKmsKeyId"] = input.MasterPasswordSecretKmsKeyId;
|
|
9622
9898
|
}
|
|
9899
|
+
if (input.IpAddressType != null) {
|
|
9900
|
+
entries["IpAddressType"] = input.IpAddressType;
|
|
9901
|
+
}
|
|
9623
9902
|
return entries;
|
|
9624
9903
|
};
|
|
9625
9904
|
const se_ModifyClusterParameterGroupMessage = (input, context) => {
|
|
@@ -9943,6 +10222,16 @@ const se_PurchaseReservedNodeOfferingMessage = (input, context) => {
|
|
|
9943
10222
|
}
|
|
9944
10223
|
return entries;
|
|
9945
10224
|
};
|
|
10225
|
+
const se_PutResourcePolicyMessage = (input, context) => {
|
|
10226
|
+
const entries = {};
|
|
10227
|
+
if (input.ResourceArn != null) {
|
|
10228
|
+
entries["ResourceArn"] = input.ResourceArn;
|
|
10229
|
+
}
|
|
10230
|
+
if (input.Policy != null) {
|
|
10231
|
+
entries["Policy"] = input.Policy;
|
|
10232
|
+
}
|
|
10233
|
+
return entries;
|
|
10234
|
+
};
|
|
9946
10235
|
const se_RebootClusterMessage = (input, context) => {
|
|
9947
10236
|
const entries = {};
|
|
9948
10237
|
if (input.ClusterIdentifier != null) {
|
|
@@ -10130,6 +10419,9 @@ const se_RestoreFromClusterSnapshotMessage = (input, context) => {
|
|
|
10130
10419
|
if (input.MasterPasswordSecretKmsKeyId != null) {
|
|
10131
10420
|
entries["MasterPasswordSecretKmsKeyId"] = input.MasterPasswordSecretKmsKeyId;
|
|
10132
10421
|
}
|
|
10422
|
+
if (input.IpAddressType != null) {
|
|
10423
|
+
entries["IpAddressType"] = input.IpAddressType;
|
|
10424
|
+
}
|
|
10133
10425
|
return entries;
|
|
10134
10426
|
};
|
|
10135
10427
|
const se_RestoreTableFromClusterSnapshotMessage = (input, context) => {
|
|
@@ -10973,6 +11265,9 @@ const de_Cluster = (output, context) => {
|
|
|
10973
11265
|
if (output["MasterPasswordSecretKmsKeyId"] !== undefined) {
|
|
10974
11266
|
contents.MasterPasswordSecretKmsKeyId = (0, smithy_client_1.expectString)(output["MasterPasswordSecretKmsKeyId"]);
|
|
10975
11267
|
}
|
|
11268
|
+
if (output["IpAddressType"] !== undefined) {
|
|
11269
|
+
contents.IpAddressType = (0, smithy_client_1.expectString)(output["IpAddressType"]);
|
|
11270
|
+
}
|
|
10976
11271
|
return contents;
|
|
10977
11272
|
};
|
|
10978
11273
|
const de_ClusterAlreadyExistsFault = (output, context) => {
|
|
@@ -11411,6 +11706,13 @@ const de_ClusterSubnetGroup = (output, context) => {
|
|
|
11411
11706
|
else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
11412
11707
|
contents.Tags = de_TagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["Tag"]), context);
|
|
11413
11708
|
}
|
|
11709
|
+
if (output.SupportedClusterIpAddressTypes === "") {
|
|
11710
|
+
contents.SupportedClusterIpAddressTypes = [];
|
|
11711
|
+
}
|
|
11712
|
+
else if (output["SupportedClusterIpAddressTypes"] !== undefined &&
|
|
11713
|
+
output["SupportedClusterIpAddressTypes"]["item"] !== undefined) {
|
|
11714
|
+
contents.SupportedClusterIpAddressTypes = de_ValueStringList((0, smithy_client_1.getArrayIfSingleItem)(output["SupportedClusterIpAddressTypes"]["item"]), context);
|
|
11715
|
+
}
|
|
11414
11716
|
return contents;
|
|
11415
11717
|
};
|
|
11416
11718
|
const de_ClusterSubnetGroupAlreadyExistsFault = (output, context) => {
|
|
@@ -11495,6 +11797,13 @@ const de_ClusterVersionsMessage = (output, context) => {
|
|
|
11495
11797
|
}
|
|
11496
11798
|
return contents;
|
|
11497
11799
|
};
|
|
11800
|
+
const de_ConflictPolicyUpdateFault = (output, context) => {
|
|
11801
|
+
const contents = {};
|
|
11802
|
+
if (output["message"] !== undefined) {
|
|
11803
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
11804
|
+
}
|
|
11805
|
+
return contents;
|
|
11806
|
+
};
|
|
11498
11807
|
const de_CopyClusterSnapshotResult = (output, context) => {
|
|
11499
11808
|
const contents = {};
|
|
11500
11809
|
if (output["Snapshot"] !== undefined) {
|
|
@@ -12329,6 +12638,13 @@ const de_GetReservedNodeExchangeOfferingsOutputMessage = (output, context) => {
|
|
|
12329
12638
|
}
|
|
12330
12639
|
return contents;
|
|
12331
12640
|
};
|
|
12641
|
+
const de_GetResourcePolicyResult = (output, context) => {
|
|
12642
|
+
const contents = {};
|
|
12643
|
+
if (output["ResourcePolicy"] !== undefined) {
|
|
12644
|
+
contents.ResourcePolicy = de_ResourcePolicy(output["ResourcePolicy"], context);
|
|
12645
|
+
}
|
|
12646
|
+
return contents;
|
|
12647
|
+
};
|
|
12332
12648
|
const de_HsmClientCertificate = (output, context) => {
|
|
12333
12649
|
const contents = {};
|
|
12334
12650
|
if (output["HsmClientCertificateIdentifier"] !== undefined) {
|
|
@@ -12485,6 +12801,52 @@ const de_ImportTablesNotStarted = (output, context) => {
|
|
|
12485
12801
|
return (0, smithy_client_1.expectString)(entry);
|
|
12486
12802
|
});
|
|
12487
12803
|
};
|
|
12804
|
+
const de_InboundIntegration = (output, context) => {
|
|
12805
|
+
const contents = {};
|
|
12806
|
+
if (output["IntegrationArn"] !== undefined) {
|
|
12807
|
+
contents.IntegrationArn = (0, smithy_client_1.expectString)(output["IntegrationArn"]);
|
|
12808
|
+
}
|
|
12809
|
+
if (output["SourceArn"] !== undefined) {
|
|
12810
|
+
contents.SourceArn = (0, smithy_client_1.expectString)(output["SourceArn"]);
|
|
12811
|
+
}
|
|
12812
|
+
if (output["TargetArn"] !== undefined) {
|
|
12813
|
+
contents.TargetArn = (0, smithy_client_1.expectString)(output["TargetArn"]);
|
|
12814
|
+
}
|
|
12815
|
+
if (output["Status"] !== undefined) {
|
|
12816
|
+
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
12817
|
+
}
|
|
12818
|
+
if (output.Errors === "") {
|
|
12819
|
+
contents.Errors = [];
|
|
12820
|
+
}
|
|
12821
|
+
else if (output["Errors"] !== undefined && output["Errors"]["IntegrationError"] !== undefined) {
|
|
12822
|
+
contents.Errors = de_IntegrationErrorList((0, smithy_client_1.getArrayIfSingleItem)(output["Errors"]["IntegrationError"]), context);
|
|
12823
|
+
}
|
|
12824
|
+
if (output["CreateTime"] !== undefined) {
|
|
12825
|
+
contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateTime"]));
|
|
12826
|
+
}
|
|
12827
|
+
return contents;
|
|
12828
|
+
};
|
|
12829
|
+
const de_InboundIntegrationList = (output, context) => {
|
|
12830
|
+
return (output || [])
|
|
12831
|
+
.filter((e) => e != null)
|
|
12832
|
+
.map((entry) => {
|
|
12833
|
+
return de_InboundIntegration(entry, context);
|
|
12834
|
+
});
|
|
12835
|
+
};
|
|
12836
|
+
const de_InboundIntegrationsMessage = (output, context) => {
|
|
12837
|
+
const contents = {};
|
|
12838
|
+
if (output["Marker"] !== undefined) {
|
|
12839
|
+
contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
|
|
12840
|
+
}
|
|
12841
|
+
if (output.InboundIntegrations === "") {
|
|
12842
|
+
contents.InboundIntegrations = [];
|
|
12843
|
+
}
|
|
12844
|
+
else if (output["InboundIntegrations"] !== undefined &&
|
|
12845
|
+
output["InboundIntegrations"]["InboundIntegration"] !== undefined) {
|
|
12846
|
+
contents.InboundIntegrations = de_InboundIntegrationList((0, smithy_client_1.getArrayIfSingleItem)(output["InboundIntegrations"]["InboundIntegration"]), context);
|
|
12847
|
+
}
|
|
12848
|
+
return contents;
|
|
12849
|
+
};
|
|
12488
12850
|
const de_IncompatibleOrderableOptions = (output, context) => {
|
|
12489
12851
|
const contents = {};
|
|
12490
12852
|
if (output["message"] !== undefined) {
|
|
@@ -12513,6 +12875,30 @@ const de_InsufficientS3BucketPolicyFault = (output, context) => {
|
|
|
12513
12875
|
}
|
|
12514
12876
|
return contents;
|
|
12515
12877
|
};
|
|
12878
|
+
const de_IntegrationError = (output, context) => {
|
|
12879
|
+
const contents = {};
|
|
12880
|
+
if (output["ErrorCode"] !== undefined) {
|
|
12881
|
+
contents.ErrorCode = (0, smithy_client_1.expectString)(output["ErrorCode"]);
|
|
12882
|
+
}
|
|
12883
|
+
if (output["ErrorMessage"] !== undefined) {
|
|
12884
|
+
contents.ErrorMessage = (0, smithy_client_1.expectString)(output["ErrorMessage"]);
|
|
12885
|
+
}
|
|
12886
|
+
return contents;
|
|
12887
|
+
};
|
|
12888
|
+
const de_IntegrationErrorList = (output, context) => {
|
|
12889
|
+
return (output || [])
|
|
12890
|
+
.filter((e) => e != null)
|
|
12891
|
+
.map((entry) => {
|
|
12892
|
+
return de_IntegrationError(entry, context);
|
|
12893
|
+
});
|
|
12894
|
+
};
|
|
12895
|
+
const de_IntegrationNotFoundFault = (output, context) => {
|
|
12896
|
+
const contents = {};
|
|
12897
|
+
if (output["message"] !== undefined) {
|
|
12898
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
12899
|
+
}
|
|
12900
|
+
return contents;
|
|
12901
|
+
};
|
|
12516
12902
|
const de_InvalidAuthenticationProfileRequestFault = (output, context) => {
|
|
12517
12903
|
const contents = {};
|
|
12518
12904
|
if (output["message"] !== undefined) {
|
|
@@ -12625,6 +13011,13 @@ const de_InvalidNamespaceFault = (output, context) => {
|
|
|
12625
13011
|
}
|
|
12626
13012
|
return contents;
|
|
12627
13013
|
};
|
|
13014
|
+
const de_InvalidPolicyFault = (output, context) => {
|
|
13015
|
+
const contents = {};
|
|
13016
|
+
if (output["message"] !== undefined) {
|
|
13017
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
13018
|
+
}
|
|
13019
|
+
return contents;
|
|
13020
|
+
};
|
|
12628
13021
|
const de_InvalidReservedNodeStateFault = (output, context) => {
|
|
12629
13022
|
const contents = {};
|
|
12630
13023
|
if (output["message"] !== undefined) {
|
|
@@ -12746,6 +13139,13 @@ const de_IPRangeList = (output, context) => {
|
|
|
12746
13139
|
return de_IPRange(entry, context);
|
|
12747
13140
|
});
|
|
12748
13141
|
};
|
|
13142
|
+
const de_Ipv6CidrBlockNotFoundFault = (output, context) => {
|
|
13143
|
+
const contents = {};
|
|
13144
|
+
if (output["message"] !== undefined) {
|
|
13145
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
13146
|
+
}
|
|
13147
|
+
return contents;
|
|
13148
|
+
};
|
|
12749
13149
|
const de_LimitExceededFault = (output, context) => {
|
|
12750
13150
|
const contents = {};
|
|
12751
13151
|
if (output["message"] !== undefined) {
|
|
@@ -12910,6 +13310,9 @@ const de_NetworkInterface = (output, context) => {
|
|
|
12910
13310
|
if (output["AvailabilityZone"] !== undefined) {
|
|
12911
13311
|
contents.AvailabilityZone = (0, smithy_client_1.expectString)(output["AvailabilityZone"]);
|
|
12912
13312
|
}
|
|
13313
|
+
if (output["Ipv6Address"] !== undefined) {
|
|
13314
|
+
contents.Ipv6Address = (0, smithy_client_1.expectString)(output["Ipv6Address"]);
|
|
13315
|
+
}
|
|
12913
13316
|
return contents;
|
|
12914
13317
|
};
|
|
12915
13318
|
const de_NetworkInterfaceList = (output, context) => {
|
|
@@ -13167,6 +13570,13 @@ const de_PurchaseReservedNodeOfferingResult = (output, context) => {
|
|
|
13167
13570
|
}
|
|
13168
13571
|
return contents;
|
|
13169
13572
|
};
|
|
13573
|
+
const de_PutResourcePolicyResult = (output, context) => {
|
|
13574
|
+
const contents = {};
|
|
13575
|
+
if (output["ResourcePolicy"] !== undefined) {
|
|
13576
|
+
contents.ResourcePolicy = de_ResourcePolicy(output["ResourcePolicy"], context);
|
|
13577
|
+
}
|
|
13578
|
+
return contents;
|
|
13579
|
+
};
|
|
13170
13580
|
const de_RebootClusterResult = (output, context) => {
|
|
13171
13581
|
const contents = {};
|
|
13172
13582
|
if (output["Cluster"] !== undefined) {
|
|
@@ -13531,6 +13941,16 @@ const de_ResourceNotFoundFault = (output, context) => {
|
|
|
13531
13941
|
}
|
|
13532
13942
|
return contents;
|
|
13533
13943
|
};
|
|
13944
|
+
const de_ResourcePolicy = (output, context) => {
|
|
13945
|
+
const contents = {};
|
|
13946
|
+
if (output["ResourceArn"] !== undefined) {
|
|
13947
|
+
contents.ResourceArn = (0, smithy_client_1.expectString)(output["ResourceArn"]);
|
|
13948
|
+
}
|
|
13949
|
+
if (output["Policy"] !== undefined) {
|
|
13950
|
+
contents.Policy = (0, smithy_client_1.expectString)(output["Policy"]);
|
|
13951
|
+
}
|
|
13952
|
+
return contents;
|
|
13953
|
+
};
|
|
13534
13954
|
const de_RestorableNodeTypeList = (output, context) => {
|
|
13535
13955
|
return (output || [])
|
|
13536
13956
|
.filter((e) => e != null)
|
|
@@ -14472,6 +14892,13 @@ const de_UsageLimits = (output, context) => {
|
|
|
14472
14892
|
return de_UsageLimit(entry, context);
|
|
14473
14893
|
});
|
|
14474
14894
|
};
|
|
14895
|
+
const de_ValueStringList = (output, context) => {
|
|
14896
|
+
return (output || [])
|
|
14897
|
+
.filter((e) => e != null)
|
|
14898
|
+
.map((entry) => {
|
|
14899
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
14900
|
+
});
|
|
14901
|
+
};
|
|
14475
14902
|
const de_VpcEndpoint = (output, context) => {
|
|
14476
14903
|
const contents = {};
|
|
14477
14904
|
if (output["VpcEndpointId"] !== undefined) {
|