@aws-sdk/client-redshift 3.39.0 → 3.43.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/CHANGELOG.md +41 -0
- package/dist-cjs/Redshift.js +30 -0
- package/dist-cjs/commands/DescribeHsmConfigurationsCommand.js +2 -1
- package/dist-cjs/commands/DescribeLoggingStatusCommand.js +1 -2
- package/dist-cjs/commands/DescribeReservedNodeExchangeStatusCommand.js +36 -0
- package/dist-cjs/commands/GetReservedNodeExchangeConfigurationOptionsCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoints.js +143 -24
- package/dist-cjs/models/models_0.js +20 -17
- package/dist-cjs/models/models_1.js +56 -3
- package/dist-cjs/pagination/DescribeDataSharesForConsumerPaginator.js +35 -0
- package/dist-cjs/pagination/DescribeDataSharesForProducerPaginator.js +35 -0
- package/dist-cjs/pagination/DescribeDataSharesPaginator.js +35 -0
- package/dist-cjs/pagination/DescribeReservedNodeExchangeStatusPaginator.js +35 -0
- package/dist-cjs/pagination/GetReservedNodeExchangeConfigurationOptionsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +6 -1
- package/dist-cjs/protocols/Aws_query.js +504 -4
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/Redshift.js +30 -0
- package/dist-es/commands/DescribeHsmConfigurationsCommand.js +2 -1
- package/dist-es/commands/DescribeLoggingStatusCommand.js +1 -2
- package/dist-es/commands/DescribeReservedNodeExchangeStatusCommand.js +39 -0
- package/dist-es/commands/GetReservedNodeExchangeConfigurationOptionsCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoints.js +143 -24
- package/dist-es/models/models_0.js +13 -8
- package/dist-es/models/models_1.js +37 -0
- package/dist-es/pagination/DescribeDataSharesForConsumerPaginator.js +74 -0
- package/dist-es/pagination/DescribeDataSharesForProducerPaginator.js +74 -0
- package/dist-es/pagination/DescribeDataSharesPaginator.js +74 -0
- package/dist-es/pagination/DescribeReservedNodeExchangeStatusPaginator.js +74 -0
- package/dist-es/pagination/GetReservedNodeExchangeConfigurationOptionsPaginator.js +74 -0
- package/dist-es/pagination/index.js +6 -1
- package/dist-es/protocols/Aws_query.js +671 -161
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/Redshift.d.ts +17 -0
- package/dist-types/RedshiftClient.d.ts +12 -2
- package/dist-types/commands/AcceptReservedNodeExchangeCommand.d.ts +1 -1
- package/dist-types/commands/AddPartnerCommand.d.ts +1 -1
- package/dist-types/commands/AssociateDataShareConsumerCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeClusterSecurityGroupIngressCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeDataShareCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSnapshotAccessCommand.d.ts +1 -1
- package/dist-types/commands/BatchDeleteClusterSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/BatchModifyClusterSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/CancelResizeCommand.d.ts +1 -1
- package/dist-types/commands/CopyClusterSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateAuthenticationProfileCommand.d.ts +1 -1
- package/dist-types/commands/CreateClusterCommand.d.ts +1 -1
- package/dist-types/commands/CreateClusterParameterGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateClusterSecurityGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateClusterSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateClusterSubnetGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/CreateHsmClientCertificateCommand.d.ts +1 -1
- package/dist-types/commands/CreateHsmConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/CreateScheduledActionCommand.d.ts +1 -1
- package/dist-types/commands/CreateSnapshotCopyGrantCommand.d.ts +1 -1
- package/dist-types/commands/CreateSnapshotScheduleCommand.d.ts +1 -1
- package/dist-types/commands/CreateTagsCommand.d.ts +1 -1
- package/dist-types/commands/CreateUsageLimitCommand.d.ts +1 -1
- package/dist-types/commands/DeauthorizeDataShareCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAuthenticationProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterParameterGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterSecurityGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterSubnetGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteHsmClientCertificateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteHsmConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeletePartnerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSnapshotCopyGrantCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSnapshotScheduleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUsageLimitCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAuthenticationProfilesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterDbRevisionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterParameterGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterParametersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterSecurityGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterSubnetGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterTracksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClustersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDataSharesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDataSharesForConsumerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDataSharesForProducerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDefaultClusterParametersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEndpointAuthorizationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEventsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHsmClientCertificatesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHsmConfigurationsCommand.d.ts +3 -2
- package/dist-types/commands/DescribeLoggingStatusCommand.d.ts +2 -3
- package/dist-types/commands/DescribeNodeConfigurationOptionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrderableClusterOptionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribePartnersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedNodeExchangeStatusCommand.d.ts +36 -0
- package/dist-types/commands/DescribeReservedNodeOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedNodesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeResizeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSnapshotCopyGrantsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSnapshotSchedulesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStorageCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTableRestoreStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUsageLimitsCommand.d.ts +1 -1
- package/dist-types/commands/DisableLoggingCommand.d.ts +1 -1
- package/dist-types/commands/DisableSnapshotCopyCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateDataShareConsumerCommand.d.ts +1 -1
- package/dist-types/commands/EnableLoggingCommand.d.ts +1 -1
- package/dist-types/commands/EnableSnapshotCopyCommand.d.ts +1 -1
- package/dist-types/commands/GetClusterCredentialsCommand.d.ts +1 -1
- package/dist-types/commands/GetReservedNodeExchangeConfigurationOptionsCommand.d.ts +37 -0
- package/dist-types/commands/GetReservedNodeExchangeOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyAquaConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ModifyAuthenticationProfileCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterDbRevisionCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterIamRolesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterMaintenanceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterParameterGroupCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterSnapshotScheduleCommand.d.ts +1 -1
- package/dist-types/commands/ModifyClusterSubnetGroupCommand.d.ts +1 -1
- package/dist-types/commands/ModifyEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/ModifyScheduledActionCommand.d.ts +1 -1
- package/dist-types/commands/ModifySnapshotCopyRetentionPeriodCommand.d.ts +1 -1
- package/dist-types/commands/ModifySnapshotScheduleCommand.d.ts +1 -1
- package/dist-types/commands/ModifyUsageLimitCommand.d.ts +1 -1
- package/dist-types/commands/PauseClusterCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseReservedNodeOfferingCommand.d.ts +1 -1
- package/dist-types/commands/RebootClusterCommand.d.ts +1 -1
- package/dist-types/commands/RejectDataShareCommand.d.ts +1 -1
- package/dist-types/commands/ResetClusterParameterGroupCommand.d.ts +1 -1
- package/dist-types/commands/ResizeClusterCommand.d.ts +1 -1
- package/dist-types/commands/RestoreFromClusterSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/RestoreTableFromClusterSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/ResumeClusterCommand.d.ts +1 -1
- package/dist-types/commands/RevokeClusterSecurityGroupIngressCommand.d.ts +1 -1
- package/dist-types/commands/RevokeEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/RevokeSnapshotAccessCommand.d.ts +1 -1
- package/dist-types/commands/RotateEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePartnerStatusCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +86 -49
- package/dist-types/models/models_1.d.ts +202 -1
- package/dist-types/pagination/DescribeDataSharesForConsumerPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeDataSharesForProducerPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeDataSharesPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeReservedNodeExchangeStatusPaginator.d.ts +4 -0
- package/dist-types/pagination/GetReservedNodeExchangeConfigurationOptionsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +6 -1
- package/dist-types/protocols/Aws_query.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/Redshift.d.ts +10 -0
- package/dist-types/ts3.4/RedshiftClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/DescribeHsmConfigurationsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeLoggingStatusCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeReservedNodeExchangeStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetReservedNodeExchangeConfigurationOptionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +43 -20
- package/dist-types/ts3.4/models/models_1.d.ts +106 -1
- package/dist-types/ts3.4/pagination/DescribeDataSharesForConsumerPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeDataSharesForProducerPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeDataSharesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeReservedNodeExchangeStatusPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetReservedNodeExchangeConfigurationOptionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -1
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +24 -24
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.serializeAws_queryDescribeClusterSecurityGroupsCommand = exports.serializeAws_queryDescribeClustersCommand = exports.serializeAws_queryDescribeClusterParametersCommand = exports.serializeAws_queryDescribeClusterParameterGroupsCommand = exports.serializeAws_queryDescribeClusterDbRevisionsCommand = exports.serializeAws_queryDescribeAuthenticationProfilesCommand = exports.serializeAws_queryDescribeAccountAttributesCommand = exports.serializeAws_queryDeleteUsageLimitCommand = exports.serializeAws_queryDeleteTagsCommand = exports.serializeAws_queryDeleteSnapshotScheduleCommand = exports.serializeAws_queryDeleteSnapshotCopyGrantCommand = exports.serializeAws_queryDeleteScheduledActionCommand = exports.serializeAws_queryDeletePartnerCommand = exports.serializeAws_queryDeleteHsmConfigurationCommand = exports.serializeAws_queryDeleteHsmClientCertificateCommand = exports.serializeAws_queryDeleteEventSubscriptionCommand = exports.serializeAws_queryDeleteEndpointAccessCommand = exports.serializeAws_queryDeleteClusterSubnetGroupCommand = exports.serializeAws_queryDeleteClusterSnapshotCommand = exports.serializeAws_queryDeleteClusterSecurityGroupCommand = exports.serializeAws_queryDeleteClusterParameterGroupCommand = exports.serializeAws_queryDeleteClusterCommand = exports.serializeAws_queryDeleteAuthenticationProfileCommand = exports.serializeAws_queryDeauthorizeDataShareCommand = exports.serializeAws_queryCreateUsageLimitCommand = exports.serializeAws_queryCreateTagsCommand = exports.serializeAws_queryCreateSnapshotScheduleCommand = exports.serializeAws_queryCreateSnapshotCopyGrantCommand = exports.serializeAws_queryCreateScheduledActionCommand = exports.serializeAws_queryCreateHsmConfigurationCommand = exports.serializeAws_queryCreateHsmClientCertificateCommand = exports.serializeAws_queryCreateEventSubscriptionCommand = exports.serializeAws_queryCreateEndpointAccessCommand = exports.serializeAws_queryCreateClusterSubnetGroupCommand = exports.serializeAws_queryCreateClusterSnapshotCommand = exports.serializeAws_queryCreateClusterSecurityGroupCommand = exports.serializeAws_queryCreateClusterParameterGroupCommand = exports.serializeAws_queryCreateClusterCommand = exports.serializeAws_queryCreateAuthenticationProfileCommand = exports.serializeAws_queryCopyClusterSnapshotCommand = exports.serializeAws_queryCancelResizeCommand = exports.serializeAws_queryBatchModifyClusterSnapshotsCommand = exports.serializeAws_queryBatchDeleteClusterSnapshotsCommand = exports.serializeAws_queryAuthorizeSnapshotAccessCommand = exports.serializeAws_queryAuthorizeEndpointAccessCommand = exports.serializeAws_queryAuthorizeDataShareCommand = exports.serializeAws_queryAuthorizeClusterSecurityGroupIngressCommand = exports.serializeAws_queryAssociateDataShareConsumerCommand = exports.serializeAws_queryAddPartnerCommand = exports.serializeAws_queryAcceptReservedNodeExchangeCommand = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.deserializeAws_queryUpdatePartnerStatusCommand = exports.deserializeAws_queryRotateEncryptionKeyCommand = exports.deserializeAws_queryRevokeSnapshotAccessCommand = exports.deserializeAws_queryRevokeEndpointAccessCommand = exports.deserializeAws_queryRevokeClusterSecurityGroupIngressCommand = exports.deserializeAws_queryResumeClusterCommand = exports.deserializeAws_queryRestoreTableFromClusterSnapshotCommand = exports.deserializeAws_queryRestoreFromClusterSnapshotCommand = exports.deserializeAws_queryResizeClusterCommand = exports.deserializeAws_queryResetClusterParameterGroupCommand = exports.deserializeAws_queryRejectDataShareCommand = exports.deserializeAws_queryRebootClusterCommand = exports.deserializeAws_queryPurchaseReservedNodeOfferingCommand = exports.deserializeAws_queryPauseClusterCommand = exports.deserializeAws_queryModifyUsageLimitCommand = exports.deserializeAws_queryModifySnapshotScheduleCommand = exports.deserializeAws_queryModifySnapshotCopyRetentionPeriodCommand = exports.deserializeAws_queryModifyScheduledActionCommand = exports.deserializeAws_queryModifyEventSubscriptionCommand = exports.deserializeAws_queryModifyEndpointAccessCommand = exports.deserializeAws_queryModifyClusterSubnetGroupCommand = exports.deserializeAws_queryModifyClusterSnapshotScheduleCommand = exports.deserializeAws_queryModifyClusterSnapshotCommand = exports.deserializeAws_queryModifyClusterParameterGroupCommand = exports.deserializeAws_queryModifyClusterMaintenanceCommand = exports.deserializeAws_queryModifyClusterIamRolesCommand = exports.deserializeAws_queryModifyClusterDbRevisionCommand = exports.deserializeAws_queryModifyClusterCommand = exports.deserializeAws_queryModifyAuthenticationProfileCommand = exports.deserializeAws_queryModifyAquaConfigurationCommand = exports.deserializeAws_queryGetReservedNodeExchangeOfferingsCommand = exports.deserializeAws_queryGetClusterCredentialsCommand = void 0;
|
|
4
|
+
exports.serializeAws_queryModifyEventSubscriptionCommand = exports.serializeAws_queryModifyEndpointAccessCommand = exports.serializeAws_queryModifyClusterSubnetGroupCommand = exports.serializeAws_queryModifyClusterSnapshotScheduleCommand = exports.serializeAws_queryModifyClusterSnapshotCommand = exports.serializeAws_queryModifyClusterParameterGroupCommand = exports.serializeAws_queryModifyClusterMaintenanceCommand = exports.serializeAws_queryModifyClusterIamRolesCommand = exports.serializeAws_queryModifyClusterDbRevisionCommand = exports.serializeAws_queryModifyClusterCommand = exports.serializeAws_queryModifyAuthenticationProfileCommand = exports.serializeAws_queryModifyAquaConfigurationCommand = exports.serializeAws_queryGetReservedNodeExchangeOfferingsCommand = exports.serializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommand = exports.serializeAws_queryGetClusterCredentialsCommand = exports.serializeAws_queryEnableSnapshotCopyCommand = exports.serializeAws_queryEnableLoggingCommand = exports.serializeAws_queryDisassociateDataShareConsumerCommand = exports.serializeAws_queryDisableSnapshotCopyCommand = exports.serializeAws_queryDisableLoggingCommand = exports.serializeAws_queryDescribeUsageLimitsCommand = exports.serializeAws_queryDescribeTagsCommand = exports.serializeAws_queryDescribeTableRestoreStatusCommand = exports.serializeAws_queryDescribeStorageCommand = exports.serializeAws_queryDescribeSnapshotSchedulesCommand = exports.serializeAws_queryDescribeSnapshotCopyGrantsCommand = exports.serializeAws_queryDescribeScheduledActionsCommand = exports.serializeAws_queryDescribeResizeCommand = exports.serializeAws_queryDescribeReservedNodesCommand = exports.serializeAws_queryDescribeReservedNodeOfferingsCommand = exports.serializeAws_queryDescribeReservedNodeExchangeStatusCommand = exports.serializeAws_queryDescribePartnersCommand = exports.serializeAws_queryDescribeOrderableClusterOptionsCommand = exports.serializeAws_queryDescribeNodeConfigurationOptionsCommand = exports.serializeAws_queryDescribeLoggingStatusCommand = exports.serializeAws_queryDescribeHsmConfigurationsCommand = exports.serializeAws_queryDescribeHsmClientCertificatesCommand = exports.serializeAws_queryDescribeEventSubscriptionsCommand = exports.serializeAws_queryDescribeEventsCommand = exports.serializeAws_queryDescribeEventCategoriesCommand = exports.serializeAws_queryDescribeEndpointAuthorizationCommand = exports.serializeAws_queryDescribeEndpointAccessCommand = exports.serializeAws_queryDescribeDefaultClusterParametersCommand = exports.serializeAws_queryDescribeDataSharesForProducerCommand = exports.serializeAws_queryDescribeDataSharesForConsumerCommand = exports.serializeAws_queryDescribeDataSharesCommand = exports.serializeAws_queryDescribeClusterVersionsCommand = exports.serializeAws_queryDescribeClusterTracksCommand = exports.serializeAws_queryDescribeClusterSubnetGroupsCommand = exports.serializeAws_queryDescribeClusterSnapshotsCommand = void 0;
|
|
5
|
+
exports.deserializeAws_queryDeleteClusterSnapshotCommand = exports.deserializeAws_queryDeleteClusterSecurityGroupCommand = exports.deserializeAws_queryDeleteClusterParameterGroupCommand = exports.deserializeAws_queryDeleteClusterCommand = exports.deserializeAws_queryDeleteAuthenticationProfileCommand = exports.deserializeAws_queryDeauthorizeDataShareCommand = exports.deserializeAws_queryCreateUsageLimitCommand = exports.deserializeAws_queryCreateTagsCommand = exports.deserializeAws_queryCreateSnapshotScheduleCommand = exports.deserializeAws_queryCreateSnapshotCopyGrantCommand = exports.deserializeAws_queryCreateScheduledActionCommand = exports.deserializeAws_queryCreateHsmConfigurationCommand = exports.deserializeAws_queryCreateHsmClientCertificateCommand = exports.deserializeAws_queryCreateEventSubscriptionCommand = exports.deserializeAws_queryCreateEndpointAccessCommand = exports.deserializeAws_queryCreateClusterSubnetGroupCommand = exports.deserializeAws_queryCreateClusterSnapshotCommand = exports.deserializeAws_queryCreateClusterSecurityGroupCommand = exports.deserializeAws_queryCreateClusterParameterGroupCommand = exports.deserializeAws_queryCreateClusterCommand = exports.deserializeAws_queryCreateAuthenticationProfileCommand = exports.deserializeAws_queryCopyClusterSnapshotCommand = exports.deserializeAws_queryCancelResizeCommand = exports.deserializeAws_queryBatchModifyClusterSnapshotsCommand = exports.deserializeAws_queryBatchDeleteClusterSnapshotsCommand = exports.deserializeAws_queryAuthorizeSnapshotAccessCommand = exports.deserializeAws_queryAuthorizeEndpointAccessCommand = exports.deserializeAws_queryAuthorizeDataShareCommand = exports.deserializeAws_queryAuthorizeClusterSecurityGroupIngressCommand = exports.deserializeAws_queryAssociateDataShareConsumerCommand = exports.deserializeAws_queryAddPartnerCommand = exports.deserializeAws_queryAcceptReservedNodeExchangeCommand = exports.serializeAws_queryUpdatePartnerStatusCommand = exports.serializeAws_queryRotateEncryptionKeyCommand = exports.serializeAws_queryRevokeSnapshotAccessCommand = exports.serializeAws_queryRevokeEndpointAccessCommand = exports.serializeAws_queryRevokeClusterSecurityGroupIngressCommand = exports.serializeAws_queryResumeClusterCommand = exports.serializeAws_queryRestoreTableFromClusterSnapshotCommand = exports.serializeAws_queryRestoreFromClusterSnapshotCommand = exports.serializeAws_queryResizeClusterCommand = exports.serializeAws_queryResetClusterParameterGroupCommand = exports.serializeAws_queryRejectDataShareCommand = exports.serializeAws_queryRebootClusterCommand = exports.serializeAws_queryPurchaseReservedNodeOfferingCommand = exports.serializeAws_queryPauseClusterCommand = exports.serializeAws_queryModifyUsageLimitCommand = exports.serializeAws_queryModifySnapshotScheduleCommand = exports.serializeAws_queryModifySnapshotCopyRetentionPeriodCommand = exports.serializeAws_queryModifyScheduledActionCommand = void 0;
|
|
6
|
+
exports.deserializeAws_queryDisableSnapshotCopyCommand = exports.deserializeAws_queryDisableLoggingCommand = exports.deserializeAws_queryDescribeUsageLimitsCommand = exports.deserializeAws_queryDescribeTagsCommand = exports.deserializeAws_queryDescribeTableRestoreStatusCommand = exports.deserializeAws_queryDescribeStorageCommand = exports.deserializeAws_queryDescribeSnapshotSchedulesCommand = exports.deserializeAws_queryDescribeSnapshotCopyGrantsCommand = exports.deserializeAws_queryDescribeScheduledActionsCommand = exports.deserializeAws_queryDescribeResizeCommand = exports.deserializeAws_queryDescribeReservedNodesCommand = exports.deserializeAws_queryDescribeReservedNodeOfferingsCommand = exports.deserializeAws_queryDescribeReservedNodeExchangeStatusCommand = exports.deserializeAws_queryDescribePartnersCommand = exports.deserializeAws_queryDescribeOrderableClusterOptionsCommand = exports.deserializeAws_queryDescribeNodeConfigurationOptionsCommand = exports.deserializeAws_queryDescribeLoggingStatusCommand = exports.deserializeAws_queryDescribeHsmConfigurationsCommand = exports.deserializeAws_queryDescribeHsmClientCertificatesCommand = exports.deserializeAws_queryDescribeEventSubscriptionsCommand = exports.deserializeAws_queryDescribeEventsCommand = exports.deserializeAws_queryDescribeEventCategoriesCommand = exports.deserializeAws_queryDescribeEndpointAuthorizationCommand = exports.deserializeAws_queryDescribeEndpointAccessCommand = exports.deserializeAws_queryDescribeDefaultClusterParametersCommand = exports.deserializeAws_queryDescribeDataSharesForProducerCommand = exports.deserializeAws_queryDescribeDataSharesForConsumerCommand = exports.deserializeAws_queryDescribeDataSharesCommand = exports.deserializeAws_queryDescribeClusterVersionsCommand = exports.deserializeAws_queryDescribeClusterTracksCommand = exports.deserializeAws_queryDescribeClusterSubnetGroupsCommand = exports.deserializeAws_queryDescribeClusterSnapshotsCommand = exports.deserializeAws_queryDescribeClusterSecurityGroupsCommand = exports.deserializeAws_queryDescribeClustersCommand = exports.deserializeAws_queryDescribeClusterParametersCommand = exports.deserializeAws_queryDescribeClusterParameterGroupsCommand = exports.deserializeAws_queryDescribeClusterDbRevisionsCommand = exports.deserializeAws_queryDescribeAuthenticationProfilesCommand = exports.deserializeAws_queryDescribeAccountAttributesCommand = exports.deserializeAws_queryDeleteUsageLimitCommand = exports.deserializeAws_queryDeleteTagsCommand = exports.deserializeAws_queryDeleteSnapshotScheduleCommand = exports.deserializeAws_queryDeleteSnapshotCopyGrantCommand = exports.deserializeAws_queryDeleteScheduledActionCommand = exports.deserializeAws_queryDeletePartnerCommand = exports.deserializeAws_queryDeleteHsmConfigurationCommand = exports.deserializeAws_queryDeleteHsmClientCertificateCommand = exports.deserializeAws_queryDeleteEventSubscriptionCommand = exports.deserializeAws_queryDeleteEndpointAccessCommand = exports.deserializeAws_queryDeleteClusterSubnetGroupCommand = void 0;
|
|
7
|
+
exports.deserializeAws_queryUpdatePartnerStatusCommand = exports.deserializeAws_queryRotateEncryptionKeyCommand = exports.deserializeAws_queryRevokeSnapshotAccessCommand = exports.deserializeAws_queryRevokeEndpointAccessCommand = exports.deserializeAws_queryRevokeClusterSecurityGroupIngressCommand = exports.deserializeAws_queryResumeClusterCommand = exports.deserializeAws_queryRestoreTableFromClusterSnapshotCommand = exports.deserializeAws_queryRestoreFromClusterSnapshotCommand = exports.deserializeAws_queryResizeClusterCommand = exports.deserializeAws_queryResetClusterParameterGroupCommand = exports.deserializeAws_queryRejectDataShareCommand = exports.deserializeAws_queryRebootClusterCommand = exports.deserializeAws_queryPurchaseReservedNodeOfferingCommand = exports.deserializeAws_queryPauseClusterCommand = exports.deserializeAws_queryModifyUsageLimitCommand = exports.deserializeAws_queryModifySnapshotScheduleCommand = exports.deserializeAws_queryModifySnapshotCopyRetentionPeriodCommand = exports.deserializeAws_queryModifyScheduledActionCommand = exports.deserializeAws_queryModifyEventSubscriptionCommand = exports.deserializeAws_queryModifyEndpointAccessCommand = exports.deserializeAws_queryModifyClusterSubnetGroupCommand = exports.deserializeAws_queryModifyClusterSnapshotScheduleCommand = exports.deserializeAws_queryModifyClusterSnapshotCommand = exports.deserializeAws_queryModifyClusterParameterGroupCommand = exports.deserializeAws_queryModifyClusterMaintenanceCommand = exports.deserializeAws_queryModifyClusterIamRolesCommand = exports.deserializeAws_queryModifyClusterDbRevisionCommand = exports.deserializeAws_queryModifyClusterCommand = exports.deserializeAws_queryModifyAuthenticationProfileCommand = exports.deserializeAws_queryModifyAquaConfigurationCommand = exports.deserializeAws_queryGetReservedNodeExchangeOfferingsCommand = exports.deserializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommand = exports.deserializeAws_queryGetClusterCredentialsCommand = exports.deserializeAws_queryEnableSnapshotCopyCommand = exports.deserializeAws_queryEnableLoggingCommand = exports.deserializeAws_queryDisassociateDataShareConsumerCommand = void 0;
|
|
8
8
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
10
|
const entities_1 = require("entities");
|
|
@@ -906,6 +906,19 @@ const serializeAws_queryDescribePartnersCommand = async (input, context) => {
|
|
|
906
906
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
907
907
|
};
|
|
908
908
|
exports.serializeAws_queryDescribePartnersCommand = serializeAws_queryDescribePartnersCommand;
|
|
909
|
+
const serializeAws_queryDescribeReservedNodeExchangeStatusCommand = async (input, context) => {
|
|
910
|
+
const headers = {
|
|
911
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
912
|
+
};
|
|
913
|
+
let body;
|
|
914
|
+
body = buildFormUrlencodedString({
|
|
915
|
+
...serializeAws_queryDescribeReservedNodeExchangeStatusInputMessage(input, context),
|
|
916
|
+
Action: "DescribeReservedNodeExchangeStatus",
|
|
917
|
+
Version: "2012-12-01",
|
|
918
|
+
});
|
|
919
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
920
|
+
};
|
|
921
|
+
exports.serializeAws_queryDescribeReservedNodeExchangeStatusCommand = serializeAws_queryDescribeReservedNodeExchangeStatusCommand;
|
|
909
922
|
const serializeAws_queryDescribeReservedNodeOfferingsCommand = async (input, context) => {
|
|
910
923
|
const headers = {
|
|
911
924
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -1112,6 +1125,19 @@ const serializeAws_queryGetClusterCredentialsCommand = async (input, context) =>
|
|
|
1112
1125
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1113
1126
|
};
|
|
1114
1127
|
exports.serializeAws_queryGetClusterCredentialsCommand = serializeAws_queryGetClusterCredentialsCommand;
|
|
1128
|
+
const serializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommand = async (input, context) => {
|
|
1129
|
+
const headers = {
|
|
1130
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
1131
|
+
};
|
|
1132
|
+
let body;
|
|
1133
|
+
body = buildFormUrlencodedString({
|
|
1134
|
+
...serializeAws_queryGetReservedNodeExchangeConfigurationOptionsInputMessage(input, context),
|
|
1135
|
+
Action: "GetReservedNodeExchangeConfigurationOptions",
|
|
1136
|
+
Version: "2012-12-01",
|
|
1137
|
+
});
|
|
1138
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1139
|
+
};
|
|
1140
|
+
exports.serializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommand = serializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommand;
|
|
1115
1141
|
const serializeAws_queryGetReservedNodeExchangeOfferingsCommand = async (input, context) => {
|
|
1116
1142
|
const headers = {
|
|
1117
1143
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -5986,6 +6012,69 @@ const deserializeAws_queryDescribePartnersCommandError = async (output, context)
|
|
|
5986
6012
|
delete response.Message;
|
|
5987
6013
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
5988
6014
|
};
|
|
6015
|
+
const deserializeAws_queryDescribeReservedNodeExchangeStatusCommand = async (output, context) => {
|
|
6016
|
+
if (output.statusCode >= 300) {
|
|
6017
|
+
return deserializeAws_queryDescribeReservedNodeExchangeStatusCommandError(output, context);
|
|
6018
|
+
}
|
|
6019
|
+
const data = await parseBody(output.body, context);
|
|
6020
|
+
let contents = {};
|
|
6021
|
+
contents = deserializeAws_queryDescribeReservedNodeExchangeStatusOutputMessage(data.DescribeReservedNodeExchangeStatusResult, context);
|
|
6022
|
+
const response = {
|
|
6023
|
+
$metadata: deserializeMetadata(output),
|
|
6024
|
+
...contents,
|
|
6025
|
+
};
|
|
6026
|
+
return Promise.resolve(response);
|
|
6027
|
+
};
|
|
6028
|
+
exports.deserializeAws_queryDescribeReservedNodeExchangeStatusCommand = deserializeAws_queryDescribeReservedNodeExchangeStatusCommand;
|
|
6029
|
+
const deserializeAws_queryDescribeReservedNodeExchangeStatusCommandError = async (output, context) => {
|
|
6030
|
+
const parsedOutput = {
|
|
6031
|
+
...output,
|
|
6032
|
+
body: await parseBody(output.body, context),
|
|
6033
|
+
};
|
|
6034
|
+
let response;
|
|
6035
|
+
let errorCode = "UnknownError";
|
|
6036
|
+
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
6037
|
+
switch (errorCode) {
|
|
6038
|
+
case "ReservedNodeExchangeNotFoundFault":
|
|
6039
|
+
case "com.amazonaws.redshift#ReservedNodeExchangeNotFoundFault":
|
|
6040
|
+
response = {
|
|
6041
|
+
...(await deserializeAws_queryReservedNodeExchangeNotFoundFaultResponse(parsedOutput, context)),
|
|
6042
|
+
name: errorCode,
|
|
6043
|
+
$metadata: deserializeMetadata(output),
|
|
6044
|
+
};
|
|
6045
|
+
break;
|
|
6046
|
+
case "ReservedNodeNotFoundFault":
|
|
6047
|
+
case "com.amazonaws.redshift#ReservedNodeNotFoundFault":
|
|
6048
|
+
response = {
|
|
6049
|
+
...(await deserializeAws_queryReservedNodeNotFoundFaultResponse(parsedOutput, context)),
|
|
6050
|
+
name: errorCode,
|
|
6051
|
+
$metadata: deserializeMetadata(output),
|
|
6052
|
+
};
|
|
6053
|
+
break;
|
|
6054
|
+
case "UnsupportedOperationFault":
|
|
6055
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
6056
|
+
response = {
|
|
6057
|
+
...(await deserializeAws_queryUnsupportedOperationFaultResponse(parsedOutput, context)),
|
|
6058
|
+
name: errorCode,
|
|
6059
|
+
$metadata: deserializeMetadata(output),
|
|
6060
|
+
};
|
|
6061
|
+
break;
|
|
6062
|
+
default:
|
|
6063
|
+
const parsedBody = parsedOutput.body;
|
|
6064
|
+
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
6065
|
+
response = {
|
|
6066
|
+
...parsedBody.Error,
|
|
6067
|
+
name: `${errorCode}`,
|
|
6068
|
+
message: parsedBody.Error.message || parsedBody.Error.Message || errorCode,
|
|
6069
|
+
$fault: "client",
|
|
6070
|
+
$metadata: deserializeMetadata(output),
|
|
6071
|
+
};
|
|
6072
|
+
}
|
|
6073
|
+
const message = response.message || response.Message || errorCode;
|
|
6074
|
+
response.message = message;
|
|
6075
|
+
delete response.Message;
|
|
6076
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
6077
|
+
};
|
|
5989
6078
|
const deserializeAws_queryDescribeReservedNodeOfferingsCommand = async (output, context) => {
|
|
5990
6079
|
if (output.statusCode >= 300) {
|
|
5991
6080
|
return deserializeAws_queryDescribeReservedNodeOfferingsCommandError(output, context);
|
|
@@ -6962,6 +7051,109 @@ const deserializeAws_queryGetClusterCredentialsCommandError = async (output, con
|
|
|
6962
7051
|
delete response.Message;
|
|
6963
7052
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
6964
7053
|
};
|
|
7054
|
+
const deserializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommand = async (output, context) => {
|
|
7055
|
+
if (output.statusCode >= 300) {
|
|
7056
|
+
return deserializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommandError(output, context);
|
|
7057
|
+
}
|
|
7058
|
+
const data = await parseBody(output.body, context);
|
|
7059
|
+
let contents = {};
|
|
7060
|
+
contents = deserializeAws_queryGetReservedNodeExchangeConfigurationOptionsOutputMessage(data.GetReservedNodeExchangeConfigurationOptionsResult, context);
|
|
7061
|
+
const response = {
|
|
7062
|
+
$metadata: deserializeMetadata(output),
|
|
7063
|
+
...contents,
|
|
7064
|
+
};
|
|
7065
|
+
return Promise.resolve(response);
|
|
7066
|
+
};
|
|
7067
|
+
exports.deserializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommand = deserializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommand;
|
|
7068
|
+
const deserializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommandError = async (output, context) => {
|
|
7069
|
+
const parsedOutput = {
|
|
7070
|
+
...output,
|
|
7071
|
+
body: await parseBody(output.body, context),
|
|
7072
|
+
};
|
|
7073
|
+
let response;
|
|
7074
|
+
let errorCode = "UnknownError";
|
|
7075
|
+
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
7076
|
+
switch (errorCode) {
|
|
7077
|
+
case "ClusterNotFoundFault":
|
|
7078
|
+
case "com.amazonaws.redshift#ClusterNotFoundFault":
|
|
7079
|
+
response = {
|
|
7080
|
+
...(await deserializeAws_queryClusterNotFoundFaultResponse(parsedOutput, context)),
|
|
7081
|
+
name: errorCode,
|
|
7082
|
+
$metadata: deserializeMetadata(output),
|
|
7083
|
+
};
|
|
7084
|
+
break;
|
|
7085
|
+
case "ClusterSnapshotNotFoundFault":
|
|
7086
|
+
case "com.amazonaws.redshift#ClusterSnapshotNotFoundFault":
|
|
7087
|
+
response = {
|
|
7088
|
+
...(await deserializeAws_queryClusterSnapshotNotFoundFaultResponse(parsedOutput, context)),
|
|
7089
|
+
name: errorCode,
|
|
7090
|
+
$metadata: deserializeMetadata(output),
|
|
7091
|
+
};
|
|
7092
|
+
break;
|
|
7093
|
+
case "DependentServiceUnavailableFault":
|
|
7094
|
+
case "com.amazonaws.redshift#DependentServiceUnavailableFault":
|
|
7095
|
+
response = {
|
|
7096
|
+
...(await deserializeAws_queryDependentServiceUnavailableFaultResponse(parsedOutput, context)),
|
|
7097
|
+
name: errorCode,
|
|
7098
|
+
$metadata: deserializeMetadata(output),
|
|
7099
|
+
};
|
|
7100
|
+
break;
|
|
7101
|
+
case "InvalidReservedNodeStateFault":
|
|
7102
|
+
case "com.amazonaws.redshift#InvalidReservedNodeStateFault":
|
|
7103
|
+
response = {
|
|
7104
|
+
...(await deserializeAws_queryInvalidReservedNodeStateFaultResponse(parsedOutput, context)),
|
|
7105
|
+
name: errorCode,
|
|
7106
|
+
$metadata: deserializeMetadata(output),
|
|
7107
|
+
};
|
|
7108
|
+
break;
|
|
7109
|
+
case "ReservedNodeAlreadyMigratedFault":
|
|
7110
|
+
case "com.amazonaws.redshift#ReservedNodeAlreadyMigratedFault":
|
|
7111
|
+
response = {
|
|
7112
|
+
...(await deserializeAws_queryReservedNodeAlreadyMigratedFaultResponse(parsedOutput, context)),
|
|
7113
|
+
name: errorCode,
|
|
7114
|
+
$metadata: deserializeMetadata(output),
|
|
7115
|
+
};
|
|
7116
|
+
break;
|
|
7117
|
+
case "ReservedNodeNotFoundFault":
|
|
7118
|
+
case "com.amazonaws.redshift#ReservedNodeNotFoundFault":
|
|
7119
|
+
response = {
|
|
7120
|
+
...(await deserializeAws_queryReservedNodeNotFoundFaultResponse(parsedOutput, context)),
|
|
7121
|
+
name: errorCode,
|
|
7122
|
+
$metadata: deserializeMetadata(output),
|
|
7123
|
+
};
|
|
7124
|
+
break;
|
|
7125
|
+
case "ReservedNodeOfferingNotFoundFault":
|
|
7126
|
+
case "com.amazonaws.redshift#ReservedNodeOfferingNotFoundFault":
|
|
7127
|
+
response = {
|
|
7128
|
+
...(await deserializeAws_queryReservedNodeOfferingNotFoundFaultResponse(parsedOutput, context)),
|
|
7129
|
+
name: errorCode,
|
|
7130
|
+
$metadata: deserializeMetadata(output),
|
|
7131
|
+
};
|
|
7132
|
+
break;
|
|
7133
|
+
case "UnsupportedOperationFault":
|
|
7134
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
7135
|
+
response = {
|
|
7136
|
+
...(await deserializeAws_queryUnsupportedOperationFaultResponse(parsedOutput, context)),
|
|
7137
|
+
name: errorCode,
|
|
7138
|
+
$metadata: deserializeMetadata(output),
|
|
7139
|
+
};
|
|
7140
|
+
break;
|
|
7141
|
+
default:
|
|
7142
|
+
const parsedBody = parsedOutput.body;
|
|
7143
|
+
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
7144
|
+
response = {
|
|
7145
|
+
...parsedBody.Error,
|
|
7146
|
+
name: `${errorCode}`,
|
|
7147
|
+
message: parsedBody.Error.message || parsedBody.Error.Message || errorCode,
|
|
7148
|
+
$fault: "client",
|
|
7149
|
+
$metadata: deserializeMetadata(output),
|
|
7150
|
+
};
|
|
7151
|
+
}
|
|
7152
|
+
const message = response.message || response.Message || errorCode;
|
|
7153
|
+
response.message = message;
|
|
7154
|
+
delete response.Message;
|
|
7155
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
7156
|
+
};
|
|
6965
7157
|
const deserializeAws_queryGetReservedNodeExchangeOfferingsCommand = async (output, context) => {
|
|
6966
7158
|
if (output.statusCode >= 300) {
|
|
6967
7159
|
return deserializeAws_queryGetReservedNodeExchangeOfferingsCommandError(output, context);
|
|
@@ -8600,6 +8792,14 @@ const deserializeAws_queryResizeClusterCommandError = async (output, context) =>
|
|
|
8600
8792
|
$metadata: deserializeMetadata(output),
|
|
8601
8793
|
};
|
|
8602
8794
|
break;
|
|
8795
|
+
case "DependentServiceUnavailableFault":
|
|
8796
|
+
case "com.amazonaws.redshift#DependentServiceUnavailableFault":
|
|
8797
|
+
response = {
|
|
8798
|
+
...(await deserializeAws_queryDependentServiceUnavailableFaultResponse(parsedOutput, context)),
|
|
8799
|
+
name: errorCode,
|
|
8800
|
+
$metadata: deserializeMetadata(output),
|
|
8801
|
+
};
|
|
8802
|
+
break;
|
|
8603
8803
|
case "InsufficientClusterCapacityFault":
|
|
8604
8804
|
case "com.amazonaws.redshift#InsufficientClusterCapacityFault":
|
|
8605
8805
|
response = {
|
|
@@ -8616,6 +8816,14 @@ const deserializeAws_queryResizeClusterCommandError = async (output, context) =>
|
|
|
8616
8816
|
$metadata: deserializeMetadata(output),
|
|
8617
8817
|
};
|
|
8618
8818
|
break;
|
|
8819
|
+
case "InvalidReservedNodeStateFault":
|
|
8820
|
+
case "com.amazonaws.redshift#InvalidReservedNodeStateFault":
|
|
8821
|
+
response = {
|
|
8822
|
+
...(await deserializeAws_queryInvalidReservedNodeStateFaultResponse(parsedOutput, context)),
|
|
8823
|
+
name: errorCode,
|
|
8824
|
+
$metadata: deserializeMetadata(output),
|
|
8825
|
+
};
|
|
8826
|
+
break;
|
|
8619
8827
|
case "LimitExceededFault":
|
|
8620
8828
|
case "com.amazonaws.redshift#LimitExceededFault":
|
|
8621
8829
|
response = {
|
|
@@ -8640,6 +8848,38 @@ const deserializeAws_queryResizeClusterCommandError = async (output, context) =>
|
|
|
8640
8848
|
$metadata: deserializeMetadata(output),
|
|
8641
8849
|
};
|
|
8642
8850
|
break;
|
|
8851
|
+
case "ReservedNodeAlreadyExistsFault":
|
|
8852
|
+
case "com.amazonaws.redshift#ReservedNodeAlreadyExistsFault":
|
|
8853
|
+
response = {
|
|
8854
|
+
...(await deserializeAws_queryReservedNodeAlreadyExistsFaultResponse(parsedOutput, context)),
|
|
8855
|
+
name: errorCode,
|
|
8856
|
+
$metadata: deserializeMetadata(output),
|
|
8857
|
+
};
|
|
8858
|
+
break;
|
|
8859
|
+
case "ReservedNodeAlreadyMigratedFault":
|
|
8860
|
+
case "com.amazonaws.redshift#ReservedNodeAlreadyMigratedFault":
|
|
8861
|
+
response = {
|
|
8862
|
+
...(await deserializeAws_queryReservedNodeAlreadyMigratedFaultResponse(parsedOutput, context)),
|
|
8863
|
+
name: errorCode,
|
|
8864
|
+
$metadata: deserializeMetadata(output),
|
|
8865
|
+
};
|
|
8866
|
+
break;
|
|
8867
|
+
case "ReservedNodeNotFoundFault":
|
|
8868
|
+
case "com.amazonaws.redshift#ReservedNodeNotFoundFault":
|
|
8869
|
+
response = {
|
|
8870
|
+
...(await deserializeAws_queryReservedNodeNotFoundFaultResponse(parsedOutput, context)),
|
|
8871
|
+
name: errorCode,
|
|
8872
|
+
$metadata: deserializeMetadata(output),
|
|
8873
|
+
};
|
|
8874
|
+
break;
|
|
8875
|
+
case "ReservedNodeOfferingNotFoundFault":
|
|
8876
|
+
case "com.amazonaws.redshift#ReservedNodeOfferingNotFoundFault":
|
|
8877
|
+
response = {
|
|
8878
|
+
...(await deserializeAws_queryReservedNodeOfferingNotFoundFaultResponse(parsedOutput, context)),
|
|
8879
|
+
name: errorCode,
|
|
8880
|
+
$metadata: deserializeMetadata(output),
|
|
8881
|
+
};
|
|
8882
|
+
break;
|
|
8643
8883
|
case "UnauthorizedOperation":
|
|
8644
8884
|
case "com.amazonaws.redshift#UnauthorizedOperation":
|
|
8645
8885
|
response = {
|
|
@@ -8767,6 +9007,14 @@ const deserializeAws_queryRestoreFromClusterSnapshotCommandError = async (output
|
|
|
8767
9007
|
$metadata: deserializeMetadata(output),
|
|
8768
9008
|
};
|
|
8769
9009
|
break;
|
|
9010
|
+
case "DependentServiceUnavailableFault":
|
|
9011
|
+
case "com.amazonaws.redshift#DependentServiceUnavailableFault":
|
|
9012
|
+
response = {
|
|
9013
|
+
...(await deserializeAws_queryDependentServiceUnavailableFaultResponse(parsedOutput, context)),
|
|
9014
|
+
name: errorCode,
|
|
9015
|
+
$metadata: deserializeMetadata(output),
|
|
9016
|
+
};
|
|
9017
|
+
break;
|
|
8770
9018
|
case "HsmClientCertificateNotFoundFault":
|
|
8771
9019
|
case "com.amazonaws.redshift#HsmClientCertificateNotFoundFault":
|
|
8772
9020
|
response = {
|
|
@@ -8823,6 +9071,14 @@ const deserializeAws_queryRestoreFromClusterSnapshotCommandError = async (output
|
|
|
8823
9071
|
$metadata: deserializeMetadata(output),
|
|
8824
9072
|
};
|
|
8825
9073
|
break;
|
|
9074
|
+
case "InvalidReservedNodeStateFault":
|
|
9075
|
+
case "com.amazonaws.redshift#InvalidReservedNodeStateFault":
|
|
9076
|
+
response = {
|
|
9077
|
+
...(await deserializeAws_queryInvalidReservedNodeStateFaultResponse(parsedOutput, context)),
|
|
9078
|
+
name: errorCode,
|
|
9079
|
+
$metadata: deserializeMetadata(output),
|
|
9080
|
+
};
|
|
9081
|
+
break;
|
|
8826
9082
|
case "InvalidRestoreFault":
|
|
8827
9083
|
case "com.amazonaws.redshift#InvalidRestoreFault":
|
|
8828
9084
|
response = {
|
|
@@ -8879,6 +9135,38 @@ const deserializeAws_queryRestoreFromClusterSnapshotCommandError = async (output
|
|
|
8879
9135
|
$metadata: deserializeMetadata(output),
|
|
8880
9136
|
};
|
|
8881
9137
|
break;
|
|
9138
|
+
case "ReservedNodeAlreadyExistsFault":
|
|
9139
|
+
case "com.amazonaws.redshift#ReservedNodeAlreadyExistsFault":
|
|
9140
|
+
response = {
|
|
9141
|
+
...(await deserializeAws_queryReservedNodeAlreadyExistsFaultResponse(parsedOutput, context)),
|
|
9142
|
+
name: errorCode,
|
|
9143
|
+
$metadata: deserializeMetadata(output),
|
|
9144
|
+
};
|
|
9145
|
+
break;
|
|
9146
|
+
case "ReservedNodeAlreadyMigratedFault":
|
|
9147
|
+
case "com.amazonaws.redshift#ReservedNodeAlreadyMigratedFault":
|
|
9148
|
+
response = {
|
|
9149
|
+
...(await deserializeAws_queryReservedNodeAlreadyMigratedFaultResponse(parsedOutput, context)),
|
|
9150
|
+
name: errorCode,
|
|
9151
|
+
$metadata: deserializeMetadata(output),
|
|
9152
|
+
};
|
|
9153
|
+
break;
|
|
9154
|
+
case "ReservedNodeNotFoundFault":
|
|
9155
|
+
case "com.amazonaws.redshift#ReservedNodeNotFoundFault":
|
|
9156
|
+
response = {
|
|
9157
|
+
...(await deserializeAws_queryReservedNodeNotFoundFaultResponse(parsedOutput, context)),
|
|
9158
|
+
name: errorCode,
|
|
9159
|
+
$metadata: deserializeMetadata(output),
|
|
9160
|
+
};
|
|
9161
|
+
break;
|
|
9162
|
+
case "ReservedNodeOfferingNotFoundFault":
|
|
9163
|
+
case "com.amazonaws.redshift#ReservedNodeOfferingNotFoundFault":
|
|
9164
|
+
response = {
|
|
9165
|
+
...(await deserializeAws_queryReservedNodeOfferingNotFoundFaultResponse(parsedOutput, context)),
|
|
9166
|
+
name: errorCode,
|
|
9167
|
+
$metadata: deserializeMetadata(output),
|
|
9168
|
+
};
|
|
9169
|
+
break;
|
|
8882
9170
|
case "SnapshotScheduleNotFoundFault":
|
|
8883
9171
|
case "com.amazonaws.redshift#SnapshotScheduleNotFoundFault":
|
|
8884
9172
|
response = {
|
|
@@ -8903,6 +9191,14 @@ const deserializeAws_queryRestoreFromClusterSnapshotCommandError = async (output
|
|
|
8903
9191
|
$metadata: deserializeMetadata(output),
|
|
8904
9192
|
};
|
|
8905
9193
|
break;
|
|
9194
|
+
case "UnsupportedOperationFault":
|
|
9195
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
9196
|
+
response = {
|
|
9197
|
+
...(await deserializeAws_queryUnsupportedOperationFaultResponse(parsedOutput, context)),
|
|
9198
|
+
name: errorCode,
|
|
9199
|
+
$metadata: deserializeMetadata(output),
|
|
9200
|
+
};
|
|
9201
|
+
break;
|
|
8906
9202
|
default:
|
|
8907
9203
|
const parsedBody = parsedOutput.body;
|
|
8908
9204
|
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
@@ -10359,6 +10655,17 @@ const deserializeAws_queryReservedNodeAlreadyMigratedFaultResponse = async (pars
|
|
|
10359
10655
|
};
|
|
10360
10656
|
return contents;
|
|
10361
10657
|
};
|
|
10658
|
+
const deserializeAws_queryReservedNodeExchangeNotFoundFaultResponse = async (parsedOutput, context) => {
|
|
10659
|
+
const body = parsedOutput.body;
|
|
10660
|
+
const deserialized = deserializeAws_queryReservedNodeExchangeNotFoundFault(body.Error, context);
|
|
10661
|
+
const contents = {
|
|
10662
|
+
name: "ReservedNodeExchangeNotFoundFault",
|
|
10663
|
+
$fault: "client",
|
|
10664
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
10665
|
+
...deserialized,
|
|
10666
|
+
};
|
|
10667
|
+
return contents;
|
|
10668
|
+
};
|
|
10362
10669
|
const deserializeAws_queryReservedNodeNotFoundFaultResponse = async (parsedOutput, context) => {
|
|
10363
10670
|
const body = parsedOutput.body;
|
|
10364
10671
|
const deserialized = deserializeAws_queryReservedNodeNotFoundFault(body.Error, context);
|
|
@@ -11077,6 +11384,9 @@ const serializeAws_queryCreateClusterMessage = (input, context) => {
|
|
|
11077
11384
|
if (input.AquaConfigurationStatus !== undefined && input.AquaConfigurationStatus !== null) {
|
|
11078
11385
|
entries["AquaConfigurationStatus"] = input.AquaConfigurationStatus;
|
|
11079
11386
|
}
|
|
11387
|
+
if (input.DefaultIamRoleArn !== undefined && input.DefaultIamRoleArn !== null) {
|
|
11388
|
+
entries["DefaultIamRoleArn"] = input.DefaultIamRoleArn;
|
|
11389
|
+
}
|
|
11080
11390
|
return entries;
|
|
11081
11391
|
};
|
|
11082
11392
|
const serializeAws_queryCreateClusterParameterGroupMessage = (input, context) => {
|
|
@@ -12065,6 +12375,22 @@ const serializeAws_queryDescribePartnersInputMessage = (input, context) => {
|
|
|
12065
12375
|
}
|
|
12066
12376
|
return entries;
|
|
12067
12377
|
};
|
|
12378
|
+
const serializeAws_queryDescribeReservedNodeExchangeStatusInputMessage = (input, context) => {
|
|
12379
|
+
const entries = {};
|
|
12380
|
+
if (input.ReservedNodeId !== undefined && input.ReservedNodeId !== null) {
|
|
12381
|
+
entries["ReservedNodeId"] = input.ReservedNodeId;
|
|
12382
|
+
}
|
|
12383
|
+
if (input.ReservedNodeExchangeRequestId !== undefined && input.ReservedNodeExchangeRequestId !== null) {
|
|
12384
|
+
entries["ReservedNodeExchangeRequestId"] = input.ReservedNodeExchangeRequestId;
|
|
12385
|
+
}
|
|
12386
|
+
if (input.MaxRecords !== undefined && input.MaxRecords !== null) {
|
|
12387
|
+
entries["MaxRecords"] = input.MaxRecords;
|
|
12388
|
+
}
|
|
12389
|
+
if (input.Marker !== undefined && input.Marker !== null) {
|
|
12390
|
+
entries["Marker"] = input.Marker;
|
|
12391
|
+
}
|
|
12392
|
+
return entries;
|
|
12393
|
+
};
|
|
12068
12394
|
const serializeAws_queryDescribeReservedNodeOfferingsMessage = (input, context) => {
|
|
12069
12395
|
const entries = {};
|
|
12070
12396
|
if (input.ReservedNodeOfferingId !== undefined && input.ReservedNodeOfferingId !== null) {
|
|
@@ -12363,6 +12689,25 @@ const serializeAws_queryGetClusterCredentialsMessage = (input, context) => {
|
|
|
12363
12689
|
}
|
|
12364
12690
|
return entries;
|
|
12365
12691
|
};
|
|
12692
|
+
const serializeAws_queryGetReservedNodeExchangeConfigurationOptionsInputMessage = (input, context) => {
|
|
12693
|
+
const entries = {};
|
|
12694
|
+
if (input.ActionType !== undefined && input.ActionType !== null) {
|
|
12695
|
+
entries["ActionType"] = input.ActionType;
|
|
12696
|
+
}
|
|
12697
|
+
if (input.ClusterIdentifier !== undefined && input.ClusterIdentifier !== null) {
|
|
12698
|
+
entries["ClusterIdentifier"] = input.ClusterIdentifier;
|
|
12699
|
+
}
|
|
12700
|
+
if (input.SnapshotIdentifier !== undefined && input.SnapshotIdentifier !== null) {
|
|
12701
|
+
entries["SnapshotIdentifier"] = input.SnapshotIdentifier;
|
|
12702
|
+
}
|
|
12703
|
+
if (input.MaxRecords !== undefined && input.MaxRecords !== null) {
|
|
12704
|
+
entries["MaxRecords"] = input.MaxRecords;
|
|
12705
|
+
}
|
|
12706
|
+
if (input.Marker !== undefined && input.Marker !== null) {
|
|
12707
|
+
entries["Marker"] = input.Marker;
|
|
12708
|
+
}
|
|
12709
|
+
return entries;
|
|
12710
|
+
};
|
|
12366
12711
|
const serializeAws_queryGetReservedNodeExchangeOfferingsInputMessage = (input, context) => {
|
|
12367
12712
|
const entries = {};
|
|
12368
12713
|
if (input.ReservedNodeId !== undefined && input.ReservedNodeId !== null) {
|
|
@@ -12437,6 +12782,9 @@ const serializeAws_queryModifyClusterIamRolesMessage = (input, context) => {
|
|
|
12437
12782
|
entries[loc] = value;
|
|
12438
12783
|
});
|
|
12439
12784
|
}
|
|
12785
|
+
if (input.DefaultIamRoleArn !== undefined && input.DefaultIamRoleArn !== null) {
|
|
12786
|
+
entries["DefaultIamRoleArn"] = input.DefaultIamRoleArn;
|
|
12787
|
+
}
|
|
12440
12788
|
return entries;
|
|
12441
12789
|
};
|
|
12442
12790
|
const serializeAws_queryModifyClusterMaintenanceMessage = (input, context) => {
|
|
@@ -12883,6 +13231,12 @@ const serializeAws_queryResizeClusterMessage = (input, context) => {
|
|
|
12883
13231
|
if (input.Classic !== undefined && input.Classic !== null) {
|
|
12884
13232
|
entries["Classic"] = input.Classic;
|
|
12885
13233
|
}
|
|
13234
|
+
if (input.ReservedNodeId !== undefined && input.ReservedNodeId !== null) {
|
|
13235
|
+
entries["ReservedNodeId"] = input.ReservedNodeId;
|
|
13236
|
+
}
|
|
13237
|
+
if (input.TargetReservedNodeOfferingId !== undefined && input.TargetReservedNodeOfferingId !== null) {
|
|
13238
|
+
entries["TargetReservedNodeOfferingId"] = input.TargetReservedNodeOfferingId;
|
|
13239
|
+
}
|
|
12886
13240
|
return entries;
|
|
12887
13241
|
};
|
|
12888
13242
|
const serializeAws_queryRestoreFromClusterSnapshotMessage = (input, context) => {
|
|
@@ -12983,6 +13337,15 @@ const serializeAws_queryRestoreFromClusterSnapshotMessage = (input, context) =>
|
|
|
12983
13337
|
if (input.AquaConfigurationStatus !== undefined && input.AquaConfigurationStatus !== null) {
|
|
12984
13338
|
entries["AquaConfigurationStatus"] = input.AquaConfigurationStatus;
|
|
12985
13339
|
}
|
|
13340
|
+
if (input.DefaultIamRoleArn !== undefined && input.DefaultIamRoleArn !== null) {
|
|
13341
|
+
entries["DefaultIamRoleArn"] = input.DefaultIamRoleArn;
|
|
13342
|
+
}
|
|
13343
|
+
if (input.ReservedNodeId !== undefined && input.ReservedNodeId !== null) {
|
|
13344
|
+
entries["ReservedNodeId"] = input.ReservedNodeId;
|
|
13345
|
+
}
|
|
13346
|
+
if (input.TargetReservedNodeOfferingId !== undefined && input.TargetReservedNodeOfferingId !== null) {
|
|
13347
|
+
entries["TargetReservedNodeOfferingId"] = input.TargetReservedNodeOfferingId;
|
|
13348
|
+
}
|
|
12986
13349
|
return entries;
|
|
12987
13350
|
};
|
|
12988
13351
|
const serializeAws_queryRestoreTableFromClusterSnapshotMessage = (input, context) => {
|
|
@@ -13701,6 +14064,8 @@ const deserializeAws_queryCluster = (output, context) => {
|
|
|
13701
14064
|
ClusterNamespaceArn: undefined,
|
|
13702
14065
|
TotalStorageCapacityInMegaBytes: undefined,
|
|
13703
14066
|
AquaConfiguration: undefined,
|
|
14067
|
+
DefaultIamRoleArn: undefined,
|
|
14068
|
+
ReservedNodeExchangeStatus: undefined,
|
|
13704
14069
|
};
|
|
13705
14070
|
if (output["ClusterIdentifier"] !== undefined) {
|
|
13706
14071
|
contents.ClusterIdentifier = smithy_client_1.expectString(output["ClusterIdentifier"]);
|
|
@@ -13879,6 +14244,12 @@ const deserializeAws_queryCluster = (output, context) => {
|
|
|
13879
14244
|
if (output["AquaConfiguration"] !== undefined) {
|
|
13880
14245
|
contents.AquaConfiguration = deserializeAws_queryAquaConfiguration(output["AquaConfiguration"], context);
|
|
13881
14246
|
}
|
|
14247
|
+
if (output["DefaultIamRoleArn"] !== undefined) {
|
|
14248
|
+
contents.DefaultIamRoleArn = smithy_client_1.expectString(output["DefaultIamRoleArn"]);
|
|
14249
|
+
}
|
|
14250
|
+
if (output["ReservedNodeExchangeStatus"] !== undefined) {
|
|
14251
|
+
contents.ReservedNodeExchangeStatus = deserializeAws_queryReservedNodeExchangeStatus(output["ReservedNodeExchangeStatus"], context);
|
|
14252
|
+
}
|
|
13882
14253
|
return contents;
|
|
13883
14254
|
};
|
|
13884
14255
|
const deserializeAws_queryClusterAlreadyExistsFault = (output, context) => {
|
|
@@ -14920,6 +15291,23 @@ const deserializeAws_queryDescribePartnersOutputMessage = (output, context) => {
|
|
|
14920
15291
|
}
|
|
14921
15292
|
return contents;
|
|
14922
15293
|
};
|
|
15294
|
+
const deserializeAws_queryDescribeReservedNodeExchangeStatusOutputMessage = (output, context) => {
|
|
15295
|
+
const contents = {
|
|
15296
|
+
ReservedNodeExchangeStatusDetails: undefined,
|
|
15297
|
+
Marker: undefined,
|
|
15298
|
+
};
|
|
15299
|
+
if (output.ReservedNodeExchangeStatusDetails === "") {
|
|
15300
|
+
contents.ReservedNodeExchangeStatusDetails = [];
|
|
15301
|
+
}
|
|
15302
|
+
if (output["ReservedNodeExchangeStatusDetails"] !== undefined &&
|
|
15303
|
+
output["ReservedNodeExchangeStatusDetails"]["ReservedNodeExchangeStatus"] !== undefined) {
|
|
15304
|
+
contents.ReservedNodeExchangeStatusDetails = deserializeAws_queryReservedNodeExchangeStatusList(smithy_client_1.getArrayIfSingleItem(output["ReservedNodeExchangeStatusDetails"]["ReservedNodeExchangeStatus"]), context);
|
|
15305
|
+
}
|
|
15306
|
+
if (output["Marker"] !== undefined) {
|
|
15307
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15308
|
+
}
|
|
15309
|
+
return contents;
|
|
15310
|
+
};
|
|
14923
15311
|
const deserializeAws_queryDescribeSnapshotSchedulesOutputMessage = (output, context) => {
|
|
14924
15312
|
const contents = {
|
|
14925
15313
|
SnapshotSchedules: undefined,
|
|
@@ -15478,6 +15866,23 @@ const deserializeAws_queryEventSubscriptionsMessage = (output, context) => {
|
|
|
15478
15866
|
}
|
|
15479
15867
|
return contents;
|
|
15480
15868
|
};
|
|
15869
|
+
const deserializeAws_queryGetReservedNodeExchangeConfigurationOptionsOutputMessage = (output, context) => {
|
|
15870
|
+
const contents = {
|
|
15871
|
+
Marker: undefined,
|
|
15872
|
+
ReservedNodeConfigurationOptionList: undefined,
|
|
15873
|
+
};
|
|
15874
|
+
if (output["Marker"] !== undefined) {
|
|
15875
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
15876
|
+
}
|
|
15877
|
+
if (output.ReservedNodeConfigurationOptionList === "") {
|
|
15878
|
+
contents.ReservedNodeConfigurationOptionList = [];
|
|
15879
|
+
}
|
|
15880
|
+
if (output["ReservedNodeConfigurationOptionList"] !== undefined &&
|
|
15881
|
+
output["ReservedNodeConfigurationOptionList"]["ReservedNodeConfigurationOption"] !== undefined) {
|
|
15882
|
+
contents.ReservedNodeConfigurationOptionList = deserializeAws_queryReservedNodeConfigurationOptionList(smithy_client_1.getArrayIfSingleItem(output["ReservedNodeConfigurationOptionList"]["ReservedNodeConfigurationOption"]), context);
|
|
15883
|
+
}
|
|
15884
|
+
return contents;
|
|
15885
|
+
};
|
|
15481
15886
|
const deserializeAws_queryGetReservedNodeExchangeOfferingsOutputMessage = (output, context) => {
|
|
15482
15887
|
const contents = {
|
|
15483
15888
|
Marker: undefined,
|
|
@@ -16651,6 +17056,93 @@ const deserializeAws_queryReservedNodeAlreadyMigratedFault = (output, context) =
|
|
|
16651
17056
|
}
|
|
16652
17057
|
return contents;
|
|
16653
17058
|
};
|
|
17059
|
+
const deserializeAws_queryReservedNodeConfigurationOption = (output, context) => {
|
|
17060
|
+
const contents = {
|
|
17061
|
+
SourceReservedNode: undefined,
|
|
17062
|
+
TargetReservedNodeCount: undefined,
|
|
17063
|
+
TargetReservedNodeOffering: undefined,
|
|
17064
|
+
};
|
|
17065
|
+
if (output["SourceReservedNode"] !== undefined) {
|
|
17066
|
+
contents.SourceReservedNode = deserializeAws_queryReservedNode(output["SourceReservedNode"], context);
|
|
17067
|
+
}
|
|
17068
|
+
if (output["TargetReservedNodeCount"] !== undefined) {
|
|
17069
|
+
contents.TargetReservedNodeCount = smithy_client_1.strictParseInt32(output["TargetReservedNodeCount"]);
|
|
17070
|
+
}
|
|
17071
|
+
if (output["TargetReservedNodeOffering"] !== undefined) {
|
|
17072
|
+
contents.TargetReservedNodeOffering = deserializeAws_queryReservedNodeOffering(output["TargetReservedNodeOffering"], context);
|
|
17073
|
+
}
|
|
17074
|
+
return contents;
|
|
17075
|
+
};
|
|
17076
|
+
const deserializeAws_queryReservedNodeConfigurationOptionList = (output, context) => {
|
|
17077
|
+
return (output || [])
|
|
17078
|
+
.filter((e) => e != null)
|
|
17079
|
+
.map((entry) => {
|
|
17080
|
+
if (entry === null) {
|
|
17081
|
+
return null;
|
|
17082
|
+
}
|
|
17083
|
+
return deserializeAws_queryReservedNodeConfigurationOption(entry, context);
|
|
17084
|
+
});
|
|
17085
|
+
};
|
|
17086
|
+
const deserializeAws_queryReservedNodeExchangeNotFoundFault = (output, context) => {
|
|
17087
|
+
const contents = {
|
|
17088
|
+
message: undefined,
|
|
17089
|
+
};
|
|
17090
|
+
if (output["message"] !== undefined) {
|
|
17091
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
17092
|
+
}
|
|
17093
|
+
return contents;
|
|
17094
|
+
};
|
|
17095
|
+
const deserializeAws_queryReservedNodeExchangeStatus = (output, context) => {
|
|
17096
|
+
const contents = {
|
|
17097
|
+
ReservedNodeExchangeRequestId: undefined,
|
|
17098
|
+
Status: undefined,
|
|
17099
|
+
RequestTime: undefined,
|
|
17100
|
+
SourceReservedNodeId: undefined,
|
|
17101
|
+
SourceReservedNodeType: undefined,
|
|
17102
|
+
SourceReservedNodeCount: undefined,
|
|
17103
|
+
TargetReservedNodeOfferingId: undefined,
|
|
17104
|
+
TargetReservedNodeType: undefined,
|
|
17105
|
+
TargetReservedNodeCount: undefined,
|
|
17106
|
+
};
|
|
17107
|
+
if (output["ReservedNodeExchangeRequestId"] !== undefined) {
|
|
17108
|
+
contents.ReservedNodeExchangeRequestId = smithy_client_1.expectString(output["ReservedNodeExchangeRequestId"]);
|
|
17109
|
+
}
|
|
17110
|
+
if (output["Status"] !== undefined) {
|
|
17111
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
17112
|
+
}
|
|
17113
|
+
if (output["RequestTime"] !== undefined) {
|
|
17114
|
+
contents.RequestTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["RequestTime"]));
|
|
17115
|
+
}
|
|
17116
|
+
if (output["SourceReservedNodeId"] !== undefined) {
|
|
17117
|
+
contents.SourceReservedNodeId = smithy_client_1.expectString(output["SourceReservedNodeId"]);
|
|
17118
|
+
}
|
|
17119
|
+
if (output["SourceReservedNodeType"] !== undefined) {
|
|
17120
|
+
contents.SourceReservedNodeType = smithy_client_1.expectString(output["SourceReservedNodeType"]);
|
|
17121
|
+
}
|
|
17122
|
+
if (output["SourceReservedNodeCount"] !== undefined) {
|
|
17123
|
+
contents.SourceReservedNodeCount = smithy_client_1.strictParseInt32(output["SourceReservedNodeCount"]);
|
|
17124
|
+
}
|
|
17125
|
+
if (output["TargetReservedNodeOfferingId"] !== undefined) {
|
|
17126
|
+
contents.TargetReservedNodeOfferingId = smithy_client_1.expectString(output["TargetReservedNodeOfferingId"]);
|
|
17127
|
+
}
|
|
17128
|
+
if (output["TargetReservedNodeType"] !== undefined) {
|
|
17129
|
+
contents.TargetReservedNodeType = smithy_client_1.expectString(output["TargetReservedNodeType"]);
|
|
17130
|
+
}
|
|
17131
|
+
if (output["TargetReservedNodeCount"] !== undefined) {
|
|
17132
|
+
contents.TargetReservedNodeCount = smithy_client_1.strictParseInt32(output["TargetReservedNodeCount"]);
|
|
17133
|
+
}
|
|
17134
|
+
return contents;
|
|
17135
|
+
};
|
|
17136
|
+
const deserializeAws_queryReservedNodeExchangeStatusList = (output, context) => {
|
|
17137
|
+
return (output || [])
|
|
17138
|
+
.filter((e) => e != null)
|
|
17139
|
+
.map((entry) => {
|
|
17140
|
+
if (entry === null) {
|
|
17141
|
+
return null;
|
|
17142
|
+
}
|
|
17143
|
+
return deserializeAws_queryReservedNodeExchangeStatus(entry, context);
|
|
17144
|
+
});
|
|
17145
|
+
};
|
|
16654
17146
|
const deserializeAws_queryReservedNodeList = (output, context) => {
|
|
16655
17147
|
return (output || [])
|
|
16656
17148
|
.filter((e) => e != null)
|
|
@@ -16782,6 +17274,8 @@ const deserializeAws_queryResizeClusterMessage = (output, context) => {
|
|
|
16782
17274
|
NodeType: undefined,
|
|
16783
17275
|
NumberOfNodes: undefined,
|
|
16784
17276
|
Classic: undefined,
|
|
17277
|
+
ReservedNodeId: undefined,
|
|
17278
|
+
TargetReservedNodeOfferingId: undefined,
|
|
16785
17279
|
};
|
|
16786
17280
|
if (output["ClusterIdentifier"] !== undefined) {
|
|
16787
17281
|
contents.ClusterIdentifier = smithy_client_1.expectString(output["ClusterIdentifier"]);
|
|
@@ -16798,6 +17292,12 @@ const deserializeAws_queryResizeClusterMessage = (output, context) => {
|
|
|
16798
17292
|
if (output["Classic"] !== undefined) {
|
|
16799
17293
|
contents.Classic = smithy_client_1.parseBoolean(output["Classic"]);
|
|
16800
17294
|
}
|
|
17295
|
+
if (output["ReservedNodeId"] !== undefined) {
|
|
17296
|
+
contents.ReservedNodeId = smithy_client_1.expectString(output["ReservedNodeId"]);
|
|
17297
|
+
}
|
|
17298
|
+
if (output["TargetReservedNodeOfferingId"] !== undefined) {
|
|
17299
|
+
contents.TargetReservedNodeOfferingId = smithy_client_1.expectString(output["TargetReservedNodeOfferingId"]);
|
|
17300
|
+
}
|
|
16801
17301
|
return contents;
|
|
16802
17302
|
};
|
|
16803
17303
|
const deserializeAws_queryResizeClusterResult = (output, context) => {
|