@aws-sdk/client-redshift 3.105.0 → 3.110.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 +32 -0
- package/dist-cjs/Redshift.js +15 -0
- package/dist-cjs/commands/DescribeHsmConfigurationsCommand.js +1 -2
- package/dist-cjs/commands/GetClusterCredentialsWithIAMCommand.js +37 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +11 -10
- package/dist-cjs/models/models_1.js +15 -3
- package/dist-cjs/protocols/Aws_query.js +201 -96
- package/dist-es/Redshift.js +15 -0
- package/dist-es/commands/DescribeHsmConfigurationsCommand.js +1 -2
- package/dist-es/commands/GetClusterCredentialsWithIAMCommand.js +40 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +4 -4
- package/dist-es/models/models_1.js +8 -0
- package/dist-es/protocols/Aws_query.js +209 -92
- package/dist-types/Redshift.d.ts +16 -0
- package/dist-types/RedshiftClient.d.ts +3 -2
- package/dist-types/commands/DescribeHsmConfigurationsCommand.d.ts +1 -2
- package/dist-types/commands/GetClusterCredentialsWithIAMCommand.d.ts +45 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +26 -56
- package/dist-types/models/models_1.d.ts +81 -3
- package/dist-types/protocols/Aws_query.d.ts +3 -0
- package/dist-types/ts3.4/Redshift.d.ts +5 -0
- package/dist-types/ts3.4/RedshiftClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/DescribeHsmConfigurationsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/GetClusterCredentialsWithIAMCommand.d.ts +18 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -17
- package/dist-types/ts3.4/models/models_1.d.ts +29 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +3 -0
- package/package.json +30 -30
|
@@ -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_queryGetReservedNodeExchangeConfigurationOptionsCommand = exports.deserializeAws_queryGetClusterCredentialsCommand = exports.deserializeAws_queryEnableSnapshotCopyCommand = exports.deserializeAws_queryEnableLoggingCommand = exports.deserializeAws_queryDisassociateDataShareConsumerCommand = void 0;
|
|
4
|
+
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_queryGetClusterCredentialsWithIAMCommand = 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_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 = exports.serializeAws_queryModifyEventSubscriptionCommand = void 0;
|
|
6
|
+
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 = exports.deserializeAws_queryDeleteClusterSnapshotCommand = 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_queryGetClusterCredentialsWithIAMCommand = exports.deserializeAws_queryGetClusterCredentialsCommand = exports.deserializeAws_queryEnableSnapshotCopyCommand = exports.deserializeAws_queryEnableLoggingCommand = exports.deserializeAws_queryDisassociateDataShareConsumerCommand = exports.deserializeAws_queryDisableSnapshotCopyCommand = 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");
|
|
@@ -1128,6 +1128,19 @@ const serializeAws_queryGetClusterCredentialsCommand = async (input, context) =>
|
|
|
1128
1128
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1129
1129
|
};
|
|
1130
1130
|
exports.serializeAws_queryGetClusterCredentialsCommand = serializeAws_queryGetClusterCredentialsCommand;
|
|
1131
|
+
const serializeAws_queryGetClusterCredentialsWithIAMCommand = async (input, context) => {
|
|
1132
|
+
const headers = {
|
|
1133
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
1134
|
+
};
|
|
1135
|
+
let body;
|
|
1136
|
+
body = buildFormUrlencodedString({
|
|
1137
|
+
...serializeAws_queryGetClusterCredentialsWithIAMMessage(input, context),
|
|
1138
|
+
Action: "GetClusterCredentialsWithIAM",
|
|
1139
|
+
Version: "2012-12-01",
|
|
1140
|
+
});
|
|
1141
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1142
|
+
};
|
|
1143
|
+
exports.serializeAws_queryGetClusterCredentialsWithIAMCommand = serializeAws_queryGetClusterCredentialsWithIAMCommand;
|
|
1131
1144
|
const serializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommand = async (input, context) => {
|
|
1132
1145
|
const headers = {
|
|
1133
1146
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -5168,6 +5181,45 @@ const deserializeAws_queryGetClusterCredentialsCommandError = async (output, con
|
|
|
5168
5181
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
5169
5182
|
}
|
|
5170
5183
|
};
|
|
5184
|
+
const deserializeAws_queryGetClusterCredentialsWithIAMCommand = async (output, context) => {
|
|
5185
|
+
if (output.statusCode >= 300) {
|
|
5186
|
+
return deserializeAws_queryGetClusterCredentialsWithIAMCommandError(output, context);
|
|
5187
|
+
}
|
|
5188
|
+
const data = await parseBody(output.body, context);
|
|
5189
|
+
let contents = {};
|
|
5190
|
+
contents = deserializeAws_queryClusterExtendedCredentials(data.GetClusterCredentialsWithIAMResult, context);
|
|
5191
|
+
const response = {
|
|
5192
|
+
$metadata: deserializeMetadata(output),
|
|
5193
|
+
...contents,
|
|
5194
|
+
};
|
|
5195
|
+
return Promise.resolve(response);
|
|
5196
|
+
};
|
|
5197
|
+
exports.deserializeAws_queryGetClusterCredentialsWithIAMCommand = deserializeAws_queryGetClusterCredentialsWithIAMCommand;
|
|
5198
|
+
const deserializeAws_queryGetClusterCredentialsWithIAMCommandError = async (output, context) => {
|
|
5199
|
+
const parsedOutput = {
|
|
5200
|
+
...output,
|
|
5201
|
+
body: await parseBody(output.body, context),
|
|
5202
|
+
};
|
|
5203
|
+
let response;
|
|
5204
|
+
let errorCode = "UnknownError";
|
|
5205
|
+
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
5206
|
+
switch (errorCode) {
|
|
5207
|
+
case "ClusterNotFoundFault":
|
|
5208
|
+
case "com.amazonaws.redshift#ClusterNotFoundFault":
|
|
5209
|
+
throw await deserializeAws_queryClusterNotFoundFaultResponse(parsedOutput, context);
|
|
5210
|
+
case "UnsupportedOperationFault":
|
|
5211
|
+
case "com.amazonaws.redshift#UnsupportedOperationFault":
|
|
5212
|
+
throw await deserializeAws_queryUnsupportedOperationFaultResponse(parsedOutput, context);
|
|
5213
|
+
default:
|
|
5214
|
+
const parsedBody = parsedOutput.body;
|
|
5215
|
+
response = new RedshiftServiceException_1.RedshiftServiceException({
|
|
5216
|
+
name: parsedBody.Error.code || parsedBody.Error.Code || errorCode,
|
|
5217
|
+
$fault: "client",
|
|
5218
|
+
$metadata: deserializeMetadata(output),
|
|
5219
|
+
});
|
|
5220
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
5221
|
+
}
|
|
5222
|
+
};
|
|
5171
5223
|
const deserializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommand = async (output, context) => {
|
|
5172
5224
|
if (output.statusCode >= 300) {
|
|
5173
5225
|
return deserializeAws_queryGetReservedNodeExchangeConfigurationOptionsCommandError(output, context);
|
|
@@ -9491,6 +9543,19 @@ const serializeAws_queryGetClusterCredentialsMessage = (input, context) => {
|
|
|
9491
9543
|
}
|
|
9492
9544
|
return entries;
|
|
9493
9545
|
};
|
|
9546
|
+
const serializeAws_queryGetClusterCredentialsWithIAMMessage = (input, context) => {
|
|
9547
|
+
const entries = {};
|
|
9548
|
+
if (input.DbName !== undefined && input.DbName !== null) {
|
|
9549
|
+
entries["DbName"] = input.DbName;
|
|
9550
|
+
}
|
|
9551
|
+
if (input.ClusterIdentifier !== undefined && input.ClusterIdentifier !== null) {
|
|
9552
|
+
entries["ClusterIdentifier"] = input.ClusterIdentifier;
|
|
9553
|
+
}
|
|
9554
|
+
if (input.DurationSeconds !== undefined && input.DurationSeconds !== null) {
|
|
9555
|
+
entries["DurationSeconds"] = input.DurationSeconds;
|
|
9556
|
+
}
|
|
9557
|
+
return entries;
|
|
9558
|
+
};
|
|
9494
9559
|
const serializeAws_queryGetReservedNodeExchangeConfigurationOptionsInputMessage = (input, context) => {
|
|
9495
9560
|
const entries = {};
|
|
9496
9561
|
if (input.ActionType !== undefined && input.ActionType !== null) {
|
|
@@ -10531,7 +10596,8 @@ const deserializeAws_queryAccountAttribute = (output, context) => {
|
|
|
10531
10596
|
if (output.AttributeValues === "") {
|
|
10532
10597
|
contents.AttributeValues = [];
|
|
10533
10598
|
}
|
|
10534
|
-
if (output["AttributeValues"] !== undefined &&
|
|
10599
|
+
else if (output["AttributeValues"] !== undefined &&
|
|
10600
|
+
output["AttributeValues"]["AttributeValueTarget"] !== undefined) {
|
|
10535
10601
|
contents.AttributeValues = deserializeAws_queryAttributeValueList((0, smithy_client_1.getArrayIfSingleItem)(output["AttributeValues"]["AttributeValueTarget"]), context);
|
|
10536
10602
|
}
|
|
10537
10603
|
return contents;
|
|
@@ -10543,7 +10609,8 @@ const deserializeAws_queryAccountAttributeList = (output, context) => {
|
|
|
10543
10609
|
if (output.AccountAttributes === "") {
|
|
10544
10610
|
contents.AccountAttributes = [];
|
|
10545
10611
|
}
|
|
10546
|
-
if (output["AccountAttributes"] !== undefined &&
|
|
10612
|
+
else if (output["AccountAttributes"] !== undefined &&
|
|
10613
|
+
output["AccountAttributes"]["AccountAttribute"] !== undefined) {
|
|
10547
10614
|
contents.AccountAttributes = deserializeAws_queryAttributeList((0, smithy_client_1.getArrayIfSingleItem)(output["AccountAttributes"]["AccountAttribute"]), context);
|
|
10548
10615
|
}
|
|
10549
10616
|
return contents;
|
|
@@ -10729,7 +10796,8 @@ const deserializeAws_queryAvailabilityZone = (output, context) => {
|
|
|
10729
10796
|
if (output.SupportedPlatforms === "") {
|
|
10730
10797
|
contents.SupportedPlatforms = [];
|
|
10731
10798
|
}
|
|
10732
|
-
if (output["SupportedPlatforms"] !== undefined &&
|
|
10799
|
+
else if (output["SupportedPlatforms"] !== undefined &&
|
|
10800
|
+
output["SupportedPlatforms"]["SupportedPlatform"] !== undefined) {
|
|
10733
10801
|
contents.SupportedPlatforms = deserializeAws_querySupportedPlatformsList((0, smithy_client_1.getArrayIfSingleItem)(output["SupportedPlatforms"]["SupportedPlatform"]), context);
|
|
10734
10802
|
}
|
|
10735
10803
|
return contents;
|
|
@@ -10752,13 +10820,13 @@ const deserializeAws_queryBatchDeleteClusterSnapshotsResult = (output, context)
|
|
|
10752
10820
|
if (output.Resources === "") {
|
|
10753
10821
|
contents.Resources = [];
|
|
10754
10822
|
}
|
|
10755
|
-
if (output["Resources"] !== undefined && output["Resources"]["String"] !== undefined) {
|
|
10823
|
+
else if (output["Resources"] !== undefined && output["Resources"]["String"] !== undefined) {
|
|
10756
10824
|
contents.Resources = deserializeAws_querySnapshotIdentifierList((0, smithy_client_1.getArrayIfSingleItem)(output["Resources"]["String"]), context);
|
|
10757
10825
|
}
|
|
10758
10826
|
if (output.Errors === "") {
|
|
10759
10827
|
contents.Errors = [];
|
|
10760
10828
|
}
|
|
10761
|
-
if (output["Errors"] !== undefined && output["Errors"]["SnapshotErrorMessage"] !== undefined) {
|
|
10829
|
+
else if (output["Errors"] !== undefined && output["Errors"]["SnapshotErrorMessage"] !== undefined) {
|
|
10762
10830
|
contents.Errors = deserializeAws_queryBatchSnapshotOperationErrorList((0, smithy_client_1.getArrayIfSingleItem)(output["Errors"]["SnapshotErrorMessage"]), context);
|
|
10763
10831
|
}
|
|
10764
10832
|
return contents;
|
|
@@ -10789,13 +10857,13 @@ const deserializeAws_queryBatchModifyClusterSnapshotsOutputMessage = (output, co
|
|
|
10789
10857
|
if (output.Resources === "") {
|
|
10790
10858
|
contents.Resources = [];
|
|
10791
10859
|
}
|
|
10792
|
-
if (output["Resources"] !== undefined && output["Resources"]["String"] !== undefined) {
|
|
10860
|
+
else if (output["Resources"] !== undefined && output["Resources"]["String"] !== undefined) {
|
|
10793
10861
|
contents.Resources = deserializeAws_querySnapshotIdentifierList((0, smithy_client_1.getArrayIfSingleItem)(output["Resources"]["String"]), context);
|
|
10794
10862
|
}
|
|
10795
10863
|
if (output.Errors === "") {
|
|
10796
10864
|
contents.Errors = [];
|
|
10797
10865
|
}
|
|
10798
|
-
if (output["Errors"] !== undefined && output["Errors"]["SnapshotErrorMessage"] !== undefined) {
|
|
10866
|
+
else if (output["Errors"] !== undefined && output["Errors"]["SnapshotErrorMessage"] !== undefined) {
|
|
10799
10867
|
contents.Errors = deserializeAws_queryBatchSnapshotOperationErrors((0, smithy_client_1.getArrayIfSingleItem)(output["Errors"]["SnapshotErrorMessage"]), context);
|
|
10800
10868
|
}
|
|
10801
10869
|
return contents;
|
|
@@ -10920,20 +10988,21 @@ const deserializeAws_queryCluster = (output, context) => {
|
|
|
10920
10988
|
if (output.ClusterSecurityGroups === "") {
|
|
10921
10989
|
contents.ClusterSecurityGroups = [];
|
|
10922
10990
|
}
|
|
10923
|
-
if (output["ClusterSecurityGroups"] !== undefined &&
|
|
10991
|
+
else if (output["ClusterSecurityGroups"] !== undefined &&
|
|
10924
10992
|
output["ClusterSecurityGroups"]["ClusterSecurityGroup"] !== undefined) {
|
|
10925
10993
|
contents.ClusterSecurityGroups = deserializeAws_queryClusterSecurityGroupMembershipList((0, smithy_client_1.getArrayIfSingleItem)(output["ClusterSecurityGroups"]["ClusterSecurityGroup"]), context);
|
|
10926
10994
|
}
|
|
10927
10995
|
if (output.VpcSecurityGroups === "") {
|
|
10928
10996
|
contents.VpcSecurityGroups = [];
|
|
10929
10997
|
}
|
|
10930
|
-
if (output["VpcSecurityGroups"] !== undefined &&
|
|
10998
|
+
else if (output["VpcSecurityGroups"] !== undefined &&
|
|
10999
|
+
output["VpcSecurityGroups"]["VpcSecurityGroup"] !== undefined) {
|
|
10931
11000
|
contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList((0, smithy_client_1.getArrayIfSingleItem)(output["VpcSecurityGroups"]["VpcSecurityGroup"]), context);
|
|
10932
11001
|
}
|
|
10933
11002
|
if (output.ClusterParameterGroups === "") {
|
|
10934
11003
|
contents.ClusterParameterGroups = [];
|
|
10935
11004
|
}
|
|
10936
|
-
if (output["ClusterParameterGroups"] !== undefined &&
|
|
11005
|
+
else if (output["ClusterParameterGroups"] !== undefined &&
|
|
10937
11006
|
output["ClusterParameterGroups"]["ClusterParameterGroup"] !== undefined) {
|
|
10938
11007
|
contents.ClusterParameterGroups = deserializeAws_queryClusterParameterGroupStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["ClusterParameterGroups"]["ClusterParameterGroup"]), context);
|
|
10939
11008
|
}
|
|
@@ -10985,7 +11054,7 @@ const deserializeAws_queryCluster = (output, context) => {
|
|
|
10985
11054
|
if (output.ClusterNodes === "") {
|
|
10986
11055
|
contents.ClusterNodes = [];
|
|
10987
11056
|
}
|
|
10988
|
-
if (output["ClusterNodes"] !== undefined && output["ClusterNodes"]["member"] !== undefined) {
|
|
11057
|
+
else if (output["ClusterNodes"] !== undefined && output["ClusterNodes"]["member"] !== undefined) {
|
|
10989
11058
|
contents.ClusterNodes = deserializeAws_queryClusterNodesList((0, smithy_client_1.getArrayIfSingleItem)(output["ClusterNodes"]["member"]), context);
|
|
10990
11059
|
}
|
|
10991
11060
|
if (output["ElasticIpStatus"] !== undefined) {
|
|
@@ -10997,7 +11066,7 @@ const deserializeAws_queryCluster = (output, context) => {
|
|
|
10997
11066
|
if (output.Tags === "") {
|
|
10998
11067
|
contents.Tags = [];
|
|
10999
11068
|
}
|
|
11000
|
-
if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
11069
|
+
else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
11001
11070
|
contents.Tags = deserializeAws_queryTagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["Tag"]), context);
|
|
11002
11071
|
}
|
|
11003
11072
|
if (output["KmsKeyId"] !== undefined) {
|
|
@@ -11009,13 +11078,13 @@ const deserializeAws_queryCluster = (output, context) => {
|
|
|
11009
11078
|
if (output.IamRoles === "") {
|
|
11010
11079
|
contents.IamRoles = [];
|
|
11011
11080
|
}
|
|
11012
|
-
if (output["IamRoles"] !== undefined && output["IamRoles"]["ClusterIamRole"] !== undefined) {
|
|
11081
|
+
else if (output["IamRoles"] !== undefined && output["IamRoles"]["ClusterIamRole"] !== undefined) {
|
|
11013
11082
|
contents.IamRoles = deserializeAws_queryClusterIamRoleList((0, smithy_client_1.getArrayIfSingleItem)(output["IamRoles"]["ClusterIamRole"]), context);
|
|
11014
11083
|
}
|
|
11015
11084
|
if (output.PendingActions === "") {
|
|
11016
11085
|
contents.PendingActions = [];
|
|
11017
11086
|
}
|
|
11018
|
-
if (output["PendingActions"] !== undefined && output["PendingActions"]["member"] !== undefined) {
|
|
11087
|
+
else if (output["PendingActions"] !== undefined && output["PendingActions"]["member"] !== undefined) {
|
|
11019
11088
|
contents.PendingActions = deserializeAws_queryPendingActionsList((0, smithy_client_1.getArrayIfSingleItem)(output["PendingActions"]["member"]), context);
|
|
11020
11089
|
}
|
|
11021
11090
|
if (output["MaintenanceTrackName"] !== undefined) {
|
|
@@ -11027,7 +11096,7 @@ const deserializeAws_queryCluster = (output, context) => {
|
|
|
11027
11096
|
if (output.DeferredMaintenanceWindows === "") {
|
|
11028
11097
|
contents.DeferredMaintenanceWindows = [];
|
|
11029
11098
|
}
|
|
11030
|
-
if (output["DeferredMaintenanceWindows"] !== undefined &&
|
|
11099
|
+
else if (output["DeferredMaintenanceWindows"] !== undefined &&
|
|
11031
11100
|
output["DeferredMaintenanceWindows"]["DeferredMaintenanceWindow"] !== undefined) {
|
|
11032
11101
|
contents.DeferredMaintenanceWindows = deserializeAws_queryDeferredMaintenanceWindowsList((0, smithy_client_1.getArrayIfSingleItem)(output["DeferredMaintenanceWindows"]["DeferredMaintenanceWindow"]), context);
|
|
11033
11102
|
}
|
|
@@ -11127,7 +11196,7 @@ const deserializeAws_queryClusterDbRevision = (output, context) => {
|
|
|
11127
11196
|
if (output.RevisionTargets === "") {
|
|
11128
11197
|
contents.RevisionTargets = [];
|
|
11129
11198
|
}
|
|
11130
|
-
if (output["RevisionTargets"] !== undefined && output["RevisionTargets"]["RevisionTarget"] !== undefined) {
|
|
11199
|
+
else if (output["RevisionTargets"] !== undefined && output["RevisionTargets"]["RevisionTarget"] !== undefined) {
|
|
11131
11200
|
contents.RevisionTargets = deserializeAws_queryRevisionTargetsList((0, smithy_client_1.getArrayIfSingleItem)(output["RevisionTargets"]["RevisionTarget"]), context);
|
|
11132
11201
|
}
|
|
11133
11202
|
return contents;
|
|
@@ -11153,11 +11222,33 @@ const deserializeAws_queryClusterDbRevisionsMessage = (output, context) => {
|
|
|
11153
11222
|
if (output.ClusterDbRevisions === "") {
|
|
11154
11223
|
contents.ClusterDbRevisions = [];
|
|
11155
11224
|
}
|
|
11156
|
-
if (output["ClusterDbRevisions"] !== undefined &&
|
|
11225
|
+
else if (output["ClusterDbRevisions"] !== undefined &&
|
|
11226
|
+
output["ClusterDbRevisions"]["ClusterDbRevision"] !== undefined) {
|
|
11157
11227
|
contents.ClusterDbRevisions = deserializeAws_queryClusterDbRevisionsList((0, smithy_client_1.getArrayIfSingleItem)(output["ClusterDbRevisions"]["ClusterDbRevision"]), context);
|
|
11158
11228
|
}
|
|
11159
11229
|
return contents;
|
|
11160
11230
|
};
|
|
11231
|
+
const deserializeAws_queryClusterExtendedCredentials = (output, context) => {
|
|
11232
|
+
const contents = {
|
|
11233
|
+
DbUser: undefined,
|
|
11234
|
+
DbPassword: undefined,
|
|
11235
|
+
Expiration: undefined,
|
|
11236
|
+
NextRefreshTime: undefined,
|
|
11237
|
+
};
|
|
11238
|
+
if (output["DbUser"] !== undefined) {
|
|
11239
|
+
contents.DbUser = (0, smithy_client_1.expectString)(output["DbUser"]);
|
|
11240
|
+
}
|
|
11241
|
+
if (output["DbPassword"] !== undefined) {
|
|
11242
|
+
contents.DbPassword = (0, smithy_client_1.expectString)(output["DbPassword"]);
|
|
11243
|
+
}
|
|
11244
|
+
if (output["Expiration"] !== undefined) {
|
|
11245
|
+
contents.Expiration = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["Expiration"]));
|
|
11246
|
+
}
|
|
11247
|
+
if (output["NextRefreshTime"] !== undefined) {
|
|
11248
|
+
contents.NextRefreshTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["NextRefreshTime"]));
|
|
11249
|
+
}
|
|
11250
|
+
return contents;
|
|
11251
|
+
};
|
|
11161
11252
|
const deserializeAws_queryClusterIamRole = (output, context) => {
|
|
11162
11253
|
const contents = {
|
|
11163
11254
|
IamRoleArn: undefined,
|
|
@@ -11255,7 +11346,7 @@ const deserializeAws_queryClusterParameterGroup = (output, context) => {
|
|
|
11255
11346
|
if (output.Tags === "") {
|
|
11256
11347
|
contents.Tags = [];
|
|
11257
11348
|
}
|
|
11258
|
-
if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
11349
|
+
else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
11259
11350
|
contents.Tags = deserializeAws_queryTagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["Tag"]), context);
|
|
11260
11351
|
}
|
|
11261
11352
|
return contents;
|
|
@@ -11277,7 +11368,7 @@ const deserializeAws_queryClusterParameterGroupDetails = (output, context) => {
|
|
|
11277
11368
|
if (output.Parameters === "") {
|
|
11278
11369
|
contents.Parameters = [];
|
|
11279
11370
|
}
|
|
11280
|
-
if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
|
|
11371
|
+
else if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
|
|
11281
11372
|
contents.Parameters = deserializeAws_queryParametersList((0, smithy_client_1.getArrayIfSingleItem)(output["Parameters"]["Parameter"]), context);
|
|
11282
11373
|
}
|
|
11283
11374
|
if (output["Marker"] !== undefined) {
|
|
@@ -11327,7 +11418,8 @@ const deserializeAws_queryClusterParameterGroupsMessage = (output, context) => {
|
|
|
11327
11418
|
if (output.ParameterGroups === "") {
|
|
11328
11419
|
contents.ParameterGroups = [];
|
|
11329
11420
|
}
|
|
11330
|
-
if (output["ParameterGroups"] !== undefined &&
|
|
11421
|
+
else if (output["ParameterGroups"] !== undefined &&
|
|
11422
|
+
output["ParameterGroups"]["ClusterParameterGroup"] !== undefined) {
|
|
11331
11423
|
contents.ParameterGroups = deserializeAws_queryParameterGroupList((0, smithy_client_1.getArrayIfSingleItem)(output["ParameterGroups"]["ClusterParameterGroup"]), context);
|
|
11332
11424
|
}
|
|
11333
11425
|
return contents;
|
|
@@ -11347,7 +11439,7 @@ const deserializeAws_queryClusterParameterGroupStatus = (output, context) => {
|
|
|
11347
11439
|
if (output.ClusterParameterStatusList === "") {
|
|
11348
11440
|
contents.ClusterParameterStatusList = [];
|
|
11349
11441
|
}
|
|
11350
|
-
if (output["ClusterParameterStatusList"] !== undefined &&
|
|
11442
|
+
else if (output["ClusterParameterStatusList"] !== undefined &&
|
|
11351
11443
|
output["ClusterParameterStatusList"]["member"] !== undefined) {
|
|
11352
11444
|
contents.ClusterParameterStatusList = deserializeAws_queryClusterParameterStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["ClusterParameterStatusList"]["member"]), context);
|
|
11353
11445
|
}
|
|
@@ -11416,19 +11508,20 @@ const deserializeAws_queryClusterSecurityGroup = (output, context) => {
|
|
|
11416
11508
|
if (output.EC2SecurityGroups === "") {
|
|
11417
11509
|
contents.EC2SecurityGroups = [];
|
|
11418
11510
|
}
|
|
11419
|
-
if (output["EC2SecurityGroups"] !== undefined &&
|
|
11511
|
+
else if (output["EC2SecurityGroups"] !== undefined &&
|
|
11512
|
+
output["EC2SecurityGroups"]["EC2SecurityGroup"] !== undefined) {
|
|
11420
11513
|
contents.EC2SecurityGroups = deserializeAws_queryEC2SecurityGroupList((0, smithy_client_1.getArrayIfSingleItem)(output["EC2SecurityGroups"]["EC2SecurityGroup"]), context);
|
|
11421
11514
|
}
|
|
11422
11515
|
if (output.IPRanges === "") {
|
|
11423
11516
|
contents.IPRanges = [];
|
|
11424
11517
|
}
|
|
11425
|
-
if (output["IPRanges"] !== undefined && output["IPRanges"]["IPRange"] !== undefined) {
|
|
11518
|
+
else if (output["IPRanges"] !== undefined && output["IPRanges"]["IPRange"] !== undefined) {
|
|
11426
11519
|
contents.IPRanges = deserializeAws_queryIPRangeList((0, smithy_client_1.getArrayIfSingleItem)(output["IPRanges"]["IPRange"]), context);
|
|
11427
11520
|
}
|
|
11428
11521
|
if (output.Tags === "") {
|
|
11429
11522
|
contents.Tags = [];
|
|
11430
11523
|
}
|
|
11431
|
-
if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
11524
|
+
else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
11432
11525
|
contents.Tags = deserializeAws_queryTagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["Tag"]), context);
|
|
11433
11526
|
}
|
|
11434
11527
|
return contents;
|
|
@@ -11476,7 +11569,7 @@ const deserializeAws_queryClusterSecurityGroupMessage = (output, context) => {
|
|
|
11476
11569
|
if (output.ClusterSecurityGroups === "") {
|
|
11477
11570
|
contents.ClusterSecurityGroups = [];
|
|
11478
11571
|
}
|
|
11479
|
-
if (output["ClusterSecurityGroups"] !== undefined &&
|
|
11572
|
+
else if (output["ClusterSecurityGroups"] !== undefined &&
|
|
11480
11573
|
output["ClusterSecurityGroups"]["ClusterSecurityGroup"] !== undefined) {
|
|
11481
11574
|
contents.ClusterSecurityGroups = deserializeAws_queryClusterSecurityGroups((0, smithy_client_1.getArrayIfSingleItem)(output["ClusterSecurityGroups"]["ClusterSecurityGroup"]), context);
|
|
11482
11575
|
}
|
|
@@ -11521,7 +11614,7 @@ const deserializeAws_queryClustersMessage = (output, context) => {
|
|
|
11521
11614
|
if (output.Clusters === "") {
|
|
11522
11615
|
contents.Clusters = [];
|
|
11523
11616
|
}
|
|
11524
|
-
if (output["Clusters"] !== undefined && output["Clusters"]["Cluster"] !== undefined) {
|
|
11617
|
+
else if (output["Clusters"] !== undefined && output["Clusters"]["Cluster"] !== undefined) {
|
|
11525
11618
|
contents.Clusters = deserializeAws_queryClusterList((0, smithy_client_1.getArrayIfSingleItem)(output["Clusters"]["Cluster"]), context);
|
|
11526
11619
|
}
|
|
11527
11620
|
return contents;
|
|
@@ -11598,13 +11691,13 @@ const deserializeAws_queryClusterSubnetGroup = (output, context) => {
|
|
|
11598
11691
|
if (output.Subnets === "") {
|
|
11599
11692
|
contents.Subnets = [];
|
|
11600
11693
|
}
|
|
11601
|
-
if (output["Subnets"] !== undefined && output["Subnets"]["Subnet"] !== undefined) {
|
|
11694
|
+
else if (output["Subnets"] !== undefined && output["Subnets"]["Subnet"] !== undefined) {
|
|
11602
11695
|
contents.Subnets = deserializeAws_querySubnetList((0, smithy_client_1.getArrayIfSingleItem)(output["Subnets"]["Subnet"]), context);
|
|
11603
11696
|
}
|
|
11604
11697
|
if (output.Tags === "") {
|
|
11605
11698
|
contents.Tags = [];
|
|
11606
11699
|
}
|
|
11607
|
-
if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
11700
|
+
else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
11608
11701
|
contents.Tags = deserializeAws_queryTagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["Tag"]), context);
|
|
11609
11702
|
}
|
|
11610
11703
|
return contents;
|
|
@@ -11629,7 +11722,7 @@ const deserializeAws_queryClusterSubnetGroupMessage = (output, context) => {
|
|
|
11629
11722
|
if (output.ClusterSubnetGroups === "") {
|
|
11630
11723
|
contents.ClusterSubnetGroups = [];
|
|
11631
11724
|
}
|
|
11632
|
-
if (output["ClusterSubnetGroups"] !== undefined &&
|
|
11725
|
+
else if (output["ClusterSubnetGroups"] !== undefined &&
|
|
11633
11726
|
output["ClusterSubnetGroups"]["ClusterSubnetGroup"] !== undefined) {
|
|
11634
11727
|
contents.ClusterSubnetGroups = deserializeAws_queryClusterSubnetGroups((0, smithy_client_1.getArrayIfSingleItem)(output["ClusterSubnetGroups"]["ClusterSubnetGroup"]), context);
|
|
11635
11728
|
}
|
|
@@ -11710,7 +11803,7 @@ const deserializeAws_queryClusterVersionsMessage = (output, context) => {
|
|
|
11710
11803
|
if (output.ClusterVersions === "") {
|
|
11711
11804
|
contents.ClusterVersions = [];
|
|
11712
11805
|
}
|
|
11713
|
-
if (output["ClusterVersions"] !== undefined && output["ClusterVersions"]["ClusterVersion"] !== undefined) {
|
|
11806
|
+
else if (output["ClusterVersions"] !== undefined && output["ClusterVersions"]["ClusterVersion"] !== undefined) {
|
|
11714
11807
|
contents.ClusterVersions = deserializeAws_queryClusterVersionList((0, smithy_client_1.getArrayIfSingleItem)(output["ClusterVersions"]["ClusterVersion"]), context);
|
|
11715
11808
|
}
|
|
11716
11809
|
return contents;
|
|
@@ -11860,7 +11953,7 @@ const deserializeAws_queryDataShare = (output, context) => {
|
|
|
11860
11953
|
if (output.DataShareAssociations === "") {
|
|
11861
11954
|
contents.DataShareAssociations = [];
|
|
11862
11955
|
}
|
|
11863
|
-
if (output["DataShareAssociations"] !== undefined && output["DataShareAssociations"]["member"] !== undefined) {
|
|
11956
|
+
else if (output["DataShareAssociations"] !== undefined && output["DataShareAssociations"]["member"] !== undefined) {
|
|
11864
11957
|
contents.DataShareAssociations = deserializeAws_queryDataShareAssociationList((0, smithy_client_1.getArrayIfSingleItem)(output["DataShareAssociations"]["member"]), context);
|
|
11865
11958
|
}
|
|
11866
11959
|
if (output["ManagedBy"] !== undefined) {
|
|
@@ -11957,7 +12050,7 @@ const deserializeAws_queryDefaultClusterParameters = (output, context) => {
|
|
|
11957
12050
|
if (output.Parameters === "") {
|
|
11958
12051
|
contents.Parameters = [];
|
|
11959
12052
|
}
|
|
11960
|
-
if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
|
|
12053
|
+
else if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
|
|
11961
12054
|
contents.Parameters = deserializeAws_queryParametersList((0, smithy_client_1.getArrayIfSingleItem)(output["Parameters"]["Parameter"]), context);
|
|
11962
12055
|
}
|
|
11963
12056
|
return contents;
|
|
@@ -12041,7 +12134,8 @@ const deserializeAws_queryDescribeAuthenticationProfilesResult = (output, contex
|
|
|
12041
12134
|
if (output.AuthenticationProfiles === "") {
|
|
12042
12135
|
contents.AuthenticationProfiles = [];
|
|
12043
12136
|
}
|
|
12044
|
-
if (output["AuthenticationProfiles"] !== undefined &&
|
|
12137
|
+
else if (output["AuthenticationProfiles"] !== undefined &&
|
|
12138
|
+
output["AuthenticationProfiles"]["member"] !== undefined) {
|
|
12045
12139
|
contents.AuthenticationProfiles = deserializeAws_queryAuthenticationProfileList((0, smithy_client_1.getArrayIfSingleItem)(output["AuthenticationProfiles"]["member"]), context);
|
|
12046
12140
|
}
|
|
12047
12141
|
return contents;
|
|
@@ -12054,7 +12148,7 @@ const deserializeAws_queryDescribeDataSharesForConsumerResult = (output, context
|
|
|
12054
12148
|
if (output.DataShares === "") {
|
|
12055
12149
|
contents.DataShares = [];
|
|
12056
12150
|
}
|
|
12057
|
-
if (output["DataShares"] !== undefined && output["DataShares"]["member"] !== undefined) {
|
|
12151
|
+
else if (output["DataShares"] !== undefined && output["DataShares"]["member"] !== undefined) {
|
|
12058
12152
|
contents.DataShares = deserializeAws_queryDataShareList((0, smithy_client_1.getArrayIfSingleItem)(output["DataShares"]["member"]), context);
|
|
12059
12153
|
}
|
|
12060
12154
|
if (output["Marker"] !== undefined) {
|
|
@@ -12070,7 +12164,7 @@ const deserializeAws_queryDescribeDataSharesForProducerResult = (output, context
|
|
|
12070
12164
|
if (output.DataShares === "") {
|
|
12071
12165
|
contents.DataShares = [];
|
|
12072
12166
|
}
|
|
12073
|
-
if (output["DataShares"] !== undefined && output["DataShares"]["member"] !== undefined) {
|
|
12167
|
+
else if (output["DataShares"] !== undefined && output["DataShares"]["member"] !== undefined) {
|
|
12074
12168
|
contents.DataShares = deserializeAws_queryDataShareList((0, smithy_client_1.getArrayIfSingleItem)(output["DataShares"]["member"]), context);
|
|
12075
12169
|
}
|
|
12076
12170
|
if (output["Marker"] !== undefined) {
|
|
@@ -12086,7 +12180,7 @@ const deserializeAws_queryDescribeDataSharesResult = (output, context) => {
|
|
|
12086
12180
|
if (output.DataShares === "") {
|
|
12087
12181
|
contents.DataShares = [];
|
|
12088
12182
|
}
|
|
12089
|
-
if (output["DataShares"] !== undefined && output["DataShares"]["member"] !== undefined) {
|
|
12183
|
+
else if (output["DataShares"] !== undefined && output["DataShares"]["member"] !== undefined) {
|
|
12090
12184
|
contents.DataShares = deserializeAws_queryDataShareList((0, smithy_client_1.getArrayIfSingleItem)(output["DataShares"]["member"]), context);
|
|
12091
12185
|
}
|
|
12092
12186
|
if (output["Marker"] !== undefined) {
|
|
@@ -12110,7 +12204,7 @@ const deserializeAws_queryDescribePartnersOutputMessage = (output, context) => {
|
|
|
12110
12204
|
if (output.PartnerIntegrationInfoList === "") {
|
|
12111
12205
|
contents.PartnerIntegrationInfoList = [];
|
|
12112
12206
|
}
|
|
12113
|
-
if (output["PartnerIntegrationInfoList"] !== undefined &&
|
|
12207
|
+
else if (output["PartnerIntegrationInfoList"] !== undefined &&
|
|
12114
12208
|
output["PartnerIntegrationInfoList"]["PartnerIntegrationInfo"] !== undefined) {
|
|
12115
12209
|
contents.PartnerIntegrationInfoList = deserializeAws_queryPartnerIntegrationInfoList((0, smithy_client_1.getArrayIfSingleItem)(output["PartnerIntegrationInfoList"]["PartnerIntegrationInfo"]), context);
|
|
12116
12210
|
}
|
|
@@ -12124,7 +12218,7 @@ const deserializeAws_queryDescribeReservedNodeExchangeStatusOutputMessage = (out
|
|
|
12124
12218
|
if (output.ReservedNodeExchangeStatusDetails === "") {
|
|
12125
12219
|
contents.ReservedNodeExchangeStatusDetails = [];
|
|
12126
12220
|
}
|
|
12127
|
-
if (output["ReservedNodeExchangeStatusDetails"] !== undefined &&
|
|
12221
|
+
else if (output["ReservedNodeExchangeStatusDetails"] !== undefined &&
|
|
12128
12222
|
output["ReservedNodeExchangeStatusDetails"]["ReservedNodeExchangeStatus"] !== undefined) {
|
|
12129
12223
|
contents.ReservedNodeExchangeStatusDetails = deserializeAws_queryReservedNodeExchangeStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["ReservedNodeExchangeStatusDetails"]["ReservedNodeExchangeStatus"]), context);
|
|
12130
12224
|
}
|
|
@@ -12141,7 +12235,8 @@ const deserializeAws_queryDescribeSnapshotSchedulesOutputMessage = (output, cont
|
|
|
12141
12235
|
if (output.SnapshotSchedules === "") {
|
|
12142
12236
|
contents.SnapshotSchedules = [];
|
|
12143
12237
|
}
|
|
12144
|
-
if (output["SnapshotSchedules"] !== undefined &&
|
|
12238
|
+
else if (output["SnapshotSchedules"] !== undefined &&
|
|
12239
|
+
output["SnapshotSchedules"]["SnapshotSchedule"] !== undefined) {
|
|
12145
12240
|
contents.SnapshotSchedules = deserializeAws_querySnapshotScheduleList((0, smithy_client_1.getArrayIfSingleItem)(output["SnapshotSchedules"]["SnapshotSchedule"]), context);
|
|
12146
12241
|
}
|
|
12147
12242
|
if (output["Marker"] !== undefined) {
|
|
@@ -12177,7 +12272,7 @@ const deserializeAws_queryEC2SecurityGroup = (output, context) => {
|
|
|
12177
12272
|
if (output.Tags === "") {
|
|
12178
12273
|
contents.Tags = [];
|
|
12179
12274
|
}
|
|
12180
|
-
if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
12275
|
+
else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
12181
12276
|
contents.Tags = deserializeAws_queryTagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["Tag"]), context);
|
|
12182
12277
|
}
|
|
12183
12278
|
return contents;
|
|
@@ -12239,7 +12334,7 @@ const deserializeAws_queryEndpoint = (output, context) => {
|
|
|
12239
12334
|
if (output.VpcEndpoints === "") {
|
|
12240
12335
|
contents.VpcEndpoints = [];
|
|
12241
12336
|
}
|
|
12242
|
-
if (output["VpcEndpoints"] !== undefined && output["VpcEndpoints"]["VpcEndpoint"] !== undefined) {
|
|
12337
|
+
else if (output["VpcEndpoints"] !== undefined && output["VpcEndpoints"]["VpcEndpoint"] !== undefined) {
|
|
12243
12338
|
contents.VpcEndpoints = deserializeAws_queryVpcEndpointsList((0, smithy_client_1.getArrayIfSingleItem)(output["VpcEndpoints"]["VpcEndpoint"]), context);
|
|
12244
12339
|
}
|
|
12245
12340
|
return contents;
|
|
@@ -12284,7 +12379,8 @@ const deserializeAws_queryEndpointAccess = (output, context) => {
|
|
|
12284
12379
|
if (output.VpcSecurityGroups === "") {
|
|
12285
12380
|
contents.VpcSecurityGroups = [];
|
|
12286
12381
|
}
|
|
12287
|
-
if (output["VpcSecurityGroups"] !== undefined &&
|
|
12382
|
+
else if (output["VpcSecurityGroups"] !== undefined &&
|
|
12383
|
+
output["VpcSecurityGroups"]["VpcSecurityGroup"] !== undefined) {
|
|
12288
12384
|
contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList((0, smithy_client_1.getArrayIfSingleItem)(output["VpcSecurityGroups"]["VpcSecurityGroup"]), context);
|
|
12289
12385
|
}
|
|
12290
12386
|
if (output["VpcEndpoint"] !== undefined) {
|
|
@@ -12310,7 +12406,7 @@ const deserializeAws_queryEndpointAccessList = (output, context) => {
|
|
|
12310
12406
|
if (output.EndpointAccessList === "") {
|
|
12311
12407
|
contents.EndpointAccessList = [];
|
|
12312
12408
|
}
|
|
12313
|
-
if (output["EndpointAccessList"] !== undefined && output["EndpointAccessList"]["member"] !== undefined) {
|
|
12409
|
+
else if (output["EndpointAccessList"] !== undefined && output["EndpointAccessList"]["member"] !== undefined) {
|
|
12314
12410
|
contents.EndpointAccessList = deserializeAws_queryEndpointAccesses((0, smithy_client_1.getArrayIfSingleItem)(output["EndpointAccessList"]["member"]), context);
|
|
12315
12411
|
}
|
|
12316
12412
|
if (output["Marker"] !== undefined) {
|
|
@@ -12363,7 +12459,7 @@ const deserializeAws_queryEndpointAuthorization = (output, context) => {
|
|
|
12363
12459
|
if (output.AllowedVPCs === "") {
|
|
12364
12460
|
contents.AllowedVPCs = [];
|
|
12365
12461
|
}
|
|
12366
|
-
if (output["AllowedVPCs"] !== undefined && output["AllowedVPCs"]["VpcIdentifier"] !== undefined) {
|
|
12462
|
+
else if (output["AllowedVPCs"] !== undefined && output["AllowedVPCs"]["VpcIdentifier"] !== undefined) {
|
|
12367
12463
|
contents.AllowedVPCs = deserializeAws_queryVpcIdentifierList((0, smithy_client_1.getArrayIfSingleItem)(output["AllowedVPCs"]["VpcIdentifier"]), context);
|
|
12368
12464
|
}
|
|
12369
12465
|
if (output["EndpointCount"] !== undefined) {
|
|
@@ -12388,7 +12484,7 @@ const deserializeAws_queryEndpointAuthorizationList = (output, context) => {
|
|
|
12388
12484
|
if (output.EndpointAuthorizationList === "") {
|
|
12389
12485
|
contents.EndpointAuthorizationList = [];
|
|
12390
12486
|
}
|
|
12391
|
-
if (output["EndpointAuthorizationList"] !== undefined &&
|
|
12487
|
+
else if (output["EndpointAuthorizationList"] !== undefined &&
|
|
12392
12488
|
output["EndpointAuthorizationList"]["member"] !== undefined) {
|
|
12393
12489
|
contents.EndpointAuthorizationList = deserializeAws_queryEndpointAuthorizations((0, smithy_client_1.getArrayIfSingleItem)(output["EndpointAuthorizationList"]["member"]), context);
|
|
12394
12490
|
}
|
|
@@ -12474,7 +12570,7 @@ const deserializeAws_queryEvent = (output, context) => {
|
|
|
12474
12570
|
if (output.EventCategories === "") {
|
|
12475
12571
|
contents.EventCategories = [];
|
|
12476
12572
|
}
|
|
12477
|
-
if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
|
|
12573
|
+
else if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
|
|
12478
12574
|
contents.EventCategories = deserializeAws_queryEventCategoriesList((0, smithy_client_1.getArrayIfSingleItem)(output["EventCategories"]["EventCategory"]), context);
|
|
12479
12575
|
}
|
|
12480
12576
|
if (output["Severity"] !== undefined) {
|
|
@@ -12509,7 +12605,7 @@ const deserializeAws_queryEventCategoriesMap = (output, context) => {
|
|
|
12509
12605
|
if (output.Events === "") {
|
|
12510
12606
|
contents.Events = [];
|
|
12511
12607
|
}
|
|
12512
|
-
if (output["Events"] !== undefined && output["Events"]["EventInfoMap"] !== undefined) {
|
|
12608
|
+
else if (output["Events"] !== undefined && output["Events"]["EventInfoMap"] !== undefined) {
|
|
12513
12609
|
contents.Events = deserializeAws_queryEventInfoMapList((0, smithy_client_1.getArrayIfSingleItem)(output["Events"]["EventInfoMap"]), context);
|
|
12514
12610
|
}
|
|
12515
12611
|
return contents;
|
|
@@ -12531,7 +12627,7 @@ const deserializeAws_queryEventCategoriesMessage = (output, context) => {
|
|
|
12531
12627
|
if (output.EventCategoriesMapList === "") {
|
|
12532
12628
|
contents.EventCategoriesMapList = [];
|
|
12533
12629
|
}
|
|
12534
|
-
if (output["EventCategoriesMapList"] !== undefined &&
|
|
12630
|
+
else if (output["EventCategoriesMapList"] !== undefined &&
|
|
12535
12631
|
output["EventCategoriesMapList"]["EventCategoriesMap"] !== undefined) {
|
|
12536
12632
|
contents.EventCategoriesMapList = deserializeAws_queryEventCategoriesMapList((0, smithy_client_1.getArrayIfSingleItem)(output["EventCategoriesMapList"]["EventCategoriesMap"]), context);
|
|
12537
12633
|
}
|
|
@@ -12550,7 +12646,7 @@ const deserializeAws_queryEventInfoMap = (output, context) => {
|
|
|
12550
12646
|
if (output.EventCategories === "") {
|
|
12551
12647
|
contents.EventCategories = [];
|
|
12552
12648
|
}
|
|
12553
|
-
if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
|
|
12649
|
+
else if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
|
|
12554
12650
|
contents.EventCategories = deserializeAws_queryEventCategoriesList((0, smithy_client_1.getArrayIfSingleItem)(output["EventCategories"]["EventCategory"]), context);
|
|
12555
12651
|
}
|
|
12556
12652
|
if (output["EventDescription"] !== undefined) {
|
|
@@ -12592,7 +12688,7 @@ const deserializeAws_queryEventsMessage = (output, context) => {
|
|
|
12592
12688
|
if (output.Events === "") {
|
|
12593
12689
|
contents.Events = [];
|
|
12594
12690
|
}
|
|
12595
|
-
if (output["Events"] !== undefined && output["Events"]["Event"] !== undefined) {
|
|
12691
|
+
else if (output["Events"] !== undefined && output["Events"]["Event"] !== undefined) {
|
|
12596
12692
|
contents.Events = deserializeAws_queryEventList((0, smithy_client_1.getArrayIfSingleItem)(output["Events"]["Event"]), context);
|
|
12597
12693
|
}
|
|
12598
12694
|
return contents;
|
|
@@ -12632,13 +12728,14 @@ const deserializeAws_queryEventSubscription = (output, context) => {
|
|
|
12632
12728
|
if (output.SourceIdsList === "") {
|
|
12633
12729
|
contents.SourceIdsList = [];
|
|
12634
12730
|
}
|
|
12635
|
-
if (output["SourceIdsList"] !== undefined && output["SourceIdsList"]["SourceId"] !== undefined) {
|
|
12731
|
+
else if (output["SourceIdsList"] !== undefined && output["SourceIdsList"]["SourceId"] !== undefined) {
|
|
12636
12732
|
contents.SourceIdsList = deserializeAws_querySourceIdsList((0, smithy_client_1.getArrayIfSingleItem)(output["SourceIdsList"]["SourceId"]), context);
|
|
12637
12733
|
}
|
|
12638
12734
|
if (output.EventCategoriesList === "") {
|
|
12639
12735
|
contents.EventCategoriesList = [];
|
|
12640
12736
|
}
|
|
12641
|
-
if (output["EventCategoriesList"] !== undefined &&
|
|
12737
|
+
else if (output["EventCategoriesList"] !== undefined &&
|
|
12738
|
+
output["EventCategoriesList"]["EventCategory"] !== undefined) {
|
|
12642
12739
|
contents.EventCategoriesList = deserializeAws_queryEventCategoriesList((0, smithy_client_1.getArrayIfSingleItem)(output["EventCategoriesList"]["EventCategory"]), context);
|
|
12643
12740
|
}
|
|
12644
12741
|
if (output["Severity"] !== undefined) {
|
|
@@ -12650,7 +12747,7 @@ const deserializeAws_queryEventSubscription = (output, context) => {
|
|
|
12650
12747
|
if (output.Tags === "") {
|
|
12651
12748
|
contents.Tags = [];
|
|
12652
12749
|
}
|
|
12653
|
-
if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
12750
|
+
else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
12654
12751
|
contents.Tags = deserializeAws_queryTagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["Tag"]), context);
|
|
12655
12752
|
}
|
|
12656
12753
|
return contents;
|
|
@@ -12685,7 +12782,7 @@ const deserializeAws_queryEventSubscriptionsMessage = (output, context) => {
|
|
|
12685
12782
|
if (output.EventSubscriptionsList === "") {
|
|
12686
12783
|
contents.EventSubscriptionsList = [];
|
|
12687
12784
|
}
|
|
12688
|
-
if (output["EventSubscriptionsList"] !== undefined &&
|
|
12785
|
+
else if (output["EventSubscriptionsList"] !== undefined &&
|
|
12689
12786
|
output["EventSubscriptionsList"]["EventSubscription"] !== undefined) {
|
|
12690
12787
|
contents.EventSubscriptionsList = deserializeAws_queryEventSubscriptionsList((0, smithy_client_1.getArrayIfSingleItem)(output["EventSubscriptionsList"]["EventSubscription"]), context);
|
|
12691
12788
|
}
|
|
@@ -12702,7 +12799,7 @@ const deserializeAws_queryGetReservedNodeExchangeConfigurationOptionsOutputMessa
|
|
|
12702
12799
|
if (output.ReservedNodeConfigurationOptionList === "") {
|
|
12703
12800
|
contents.ReservedNodeConfigurationOptionList = [];
|
|
12704
12801
|
}
|
|
12705
|
-
if (output["ReservedNodeConfigurationOptionList"] !== undefined &&
|
|
12802
|
+
else if (output["ReservedNodeConfigurationOptionList"] !== undefined &&
|
|
12706
12803
|
output["ReservedNodeConfigurationOptionList"]["ReservedNodeConfigurationOption"] !== undefined) {
|
|
12707
12804
|
contents.ReservedNodeConfigurationOptionList = deserializeAws_queryReservedNodeConfigurationOptionList((0, smithy_client_1.getArrayIfSingleItem)(output["ReservedNodeConfigurationOptionList"]["ReservedNodeConfigurationOption"]), context);
|
|
12708
12805
|
}
|
|
@@ -12719,7 +12816,7 @@ const deserializeAws_queryGetReservedNodeExchangeOfferingsOutputMessage = (outpu
|
|
|
12719
12816
|
if (output.ReservedNodeOfferings === "") {
|
|
12720
12817
|
contents.ReservedNodeOfferings = [];
|
|
12721
12818
|
}
|
|
12722
|
-
if (output["ReservedNodeOfferings"] !== undefined &&
|
|
12819
|
+
else if (output["ReservedNodeOfferings"] !== undefined &&
|
|
12723
12820
|
output["ReservedNodeOfferings"]["ReservedNodeOffering"] !== undefined) {
|
|
12724
12821
|
contents.ReservedNodeOfferings = deserializeAws_queryReservedNodeOfferingList((0, smithy_client_1.getArrayIfSingleItem)(output["ReservedNodeOfferings"]["ReservedNodeOffering"]), context);
|
|
12725
12822
|
}
|
|
@@ -12740,7 +12837,7 @@ const deserializeAws_queryHsmClientCertificate = (output, context) => {
|
|
|
12740
12837
|
if (output.Tags === "") {
|
|
12741
12838
|
contents.Tags = [];
|
|
12742
12839
|
}
|
|
12743
|
-
if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
12840
|
+
else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
12744
12841
|
contents.Tags = deserializeAws_queryTagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["Tag"]), context);
|
|
12745
12842
|
}
|
|
12746
12843
|
return contents;
|
|
@@ -12775,7 +12872,7 @@ const deserializeAws_queryHsmClientCertificateMessage = (output, context) => {
|
|
|
12775
12872
|
if (output.HsmClientCertificates === "") {
|
|
12776
12873
|
contents.HsmClientCertificates = [];
|
|
12777
12874
|
}
|
|
12778
|
-
if (output["HsmClientCertificates"] !== undefined &&
|
|
12875
|
+
else if (output["HsmClientCertificates"] !== undefined &&
|
|
12779
12876
|
output["HsmClientCertificates"]["HsmClientCertificate"] !== undefined) {
|
|
12780
12877
|
contents.HsmClientCertificates = deserializeAws_queryHsmClientCertificateList((0, smithy_client_1.getArrayIfSingleItem)(output["HsmClientCertificates"]["HsmClientCertificate"]), context);
|
|
12781
12878
|
}
|
|
@@ -12822,7 +12919,7 @@ const deserializeAws_queryHsmConfiguration = (output, context) => {
|
|
|
12822
12919
|
if (output.Tags === "") {
|
|
12823
12920
|
contents.Tags = [];
|
|
12824
12921
|
}
|
|
12825
|
-
if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
12922
|
+
else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
12826
12923
|
contents.Tags = deserializeAws_queryTagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["Tag"]), context);
|
|
12827
12924
|
}
|
|
12828
12925
|
return contents;
|
|
@@ -12857,7 +12954,8 @@ const deserializeAws_queryHsmConfigurationMessage = (output, context) => {
|
|
|
12857
12954
|
if (output.HsmConfigurations === "") {
|
|
12858
12955
|
contents.HsmConfigurations = [];
|
|
12859
12956
|
}
|
|
12860
|
-
if (output["HsmConfigurations"] !== undefined &&
|
|
12957
|
+
else if (output["HsmConfigurations"] !== undefined &&
|
|
12958
|
+
output["HsmConfigurations"]["HsmConfiguration"] !== undefined) {
|
|
12861
12959
|
contents.HsmConfigurations = deserializeAws_queryHsmConfigurationList((0, smithy_client_1.getArrayIfSingleItem)(output["HsmConfigurations"]["HsmConfiguration"]), context);
|
|
12862
12960
|
}
|
|
12863
12961
|
return contents;
|
|
@@ -13248,7 +13346,7 @@ const deserializeAws_queryIPRange = (output, context) => {
|
|
|
13248
13346
|
if (output.Tags === "") {
|
|
13249
13347
|
contents.Tags = [];
|
|
13250
13348
|
}
|
|
13251
|
-
if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
13349
|
+
else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
13252
13350
|
contents.Tags = deserializeAws_queryTagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["Tag"]), context);
|
|
13253
13351
|
}
|
|
13254
13352
|
return contents;
|
|
@@ -13307,7 +13405,7 @@ const deserializeAws_queryLoggingStatus = (output, context) => {
|
|
|
13307
13405
|
if (output.LogExports === "") {
|
|
13308
13406
|
contents.LogExports = [];
|
|
13309
13407
|
}
|
|
13310
|
-
if (output["LogExports"] !== undefined && output["LogExports"]["member"] !== undefined) {
|
|
13408
|
+
else if (output["LogExports"] !== undefined && output["LogExports"]["member"] !== undefined) {
|
|
13311
13409
|
contents.LogExports = deserializeAws_queryLogTypeList((0, smithy_client_1.getArrayIfSingleItem)(output["LogExports"]["member"]), context);
|
|
13312
13410
|
}
|
|
13313
13411
|
return contents;
|
|
@@ -13337,7 +13435,7 @@ const deserializeAws_queryMaintenanceTrack = (output, context) => {
|
|
|
13337
13435
|
if (output.UpdateTargets === "") {
|
|
13338
13436
|
contents.UpdateTargets = [];
|
|
13339
13437
|
}
|
|
13340
|
-
if (output["UpdateTargets"] !== undefined && output["UpdateTargets"]["UpdateTarget"] !== undefined) {
|
|
13438
|
+
else if (output["UpdateTargets"] !== undefined && output["UpdateTargets"]["UpdateTarget"] !== undefined) {
|
|
13341
13439
|
contents.UpdateTargets = deserializeAws_queryEligibleTracksToUpdateList((0, smithy_client_1.getArrayIfSingleItem)(output["UpdateTargets"]["UpdateTarget"]), context);
|
|
13342
13440
|
}
|
|
13343
13441
|
return contents;
|
|
@@ -13506,7 +13604,7 @@ const deserializeAws_queryNodeConfigurationOptionsMessage = (output, context) =>
|
|
|
13506
13604
|
if (output.NodeConfigurationOptionList === "") {
|
|
13507
13605
|
contents.NodeConfigurationOptionList = [];
|
|
13508
13606
|
}
|
|
13509
|
-
if (output["NodeConfigurationOptionList"] !== undefined &&
|
|
13607
|
+
else if (output["NodeConfigurationOptionList"] !== undefined &&
|
|
13510
13608
|
output["NodeConfigurationOptionList"]["NodeConfigurationOption"] !== undefined) {
|
|
13511
13609
|
contents.NodeConfigurationOptionList = deserializeAws_queryNodeConfigurationOptionList((0, smithy_client_1.getArrayIfSingleItem)(output["NodeConfigurationOptionList"]["NodeConfigurationOption"]), context);
|
|
13512
13610
|
}
|
|
@@ -13552,7 +13650,8 @@ const deserializeAws_queryOrderableClusterOption = (output, context) => {
|
|
|
13552
13650
|
if (output.AvailabilityZones === "") {
|
|
13553
13651
|
contents.AvailabilityZones = [];
|
|
13554
13652
|
}
|
|
13555
|
-
if (output["AvailabilityZones"] !== undefined &&
|
|
13653
|
+
else if (output["AvailabilityZones"] !== undefined &&
|
|
13654
|
+
output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
|
|
13556
13655
|
contents.AvailabilityZones = deserializeAws_queryAvailabilityZoneList((0, smithy_client_1.getArrayIfSingleItem)(output["AvailabilityZones"]["AvailabilityZone"]), context);
|
|
13557
13656
|
}
|
|
13558
13657
|
return contents;
|
|
@@ -13575,7 +13674,7 @@ const deserializeAws_queryOrderableClusterOptionsMessage = (output, context) =>
|
|
|
13575
13674
|
if (output.OrderableClusterOptions === "") {
|
|
13576
13675
|
contents.OrderableClusterOptions = [];
|
|
13577
13676
|
}
|
|
13578
|
-
if (output["OrderableClusterOptions"] !== undefined &&
|
|
13677
|
+
else if (output["OrderableClusterOptions"] !== undefined &&
|
|
13579
13678
|
output["OrderableClusterOptions"]["OrderableClusterOption"] !== undefined) {
|
|
13580
13679
|
contents.OrderableClusterOptions = deserializeAws_queryOrderableClusterOptionsList((0, smithy_client_1.getArrayIfSingleItem)(output["OrderableClusterOptions"]["OrderableClusterOption"]), context);
|
|
13581
13680
|
}
|
|
@@ -13876,7 +13975,7 @@ const deserializeAws_queryReservedNode = (output, context) => {
|
|
|
13876
13975
|
if (output.RecurringCharges === "") {
|
|
13877
13976
|
contents.RecurringCharges = [];
|
|
13878
13977
|
}
|
|
13879
|
-
if (output["RecurringCharges"] !== undefined && output["RecurringCharges"]["RecurringCharge"] !== undefined) {
|
|
13978
|
+
else if (output["RecurringCharges"] !== undefined && output["RecurringCharges"]["RecurringCharge"] !== undefined) {
|
|
13880
13979
|
contents.RecurringCharges = deserializeAws_queryRecurringChargeList((0, smithy_client_1.getArrayIfSingleItem)(output["RecurringCharges"]["RecurringCharge"]), context);
|
|
13881
13980
|
}
|
|
13882
13981
|
if (output["ReservedNodeOfferingType"] !== undefined) {
|
|
@@ -14044,7 +14143,7 @@ const deserializeAws_queryReservedNodeOffering = (output, context) => {
|
|
|
14044
14143
|
if (output.RecurringCharges === "") {
|
|
14045
14144
|
contents.RecurringCharges = [];
|
|
14046
14145
|
}
|
|
14047
|
-
if (output["RecurringCharges"] !== undefined && output["RecurringCharges"]["RecurringCharge"] !== undefined) {
|
|
14146
|
+
else if (output["RecurringCharges"] !== undefined && output["RecurringCharges"]["RecurringCharge"] !== undefined) {
|
|
14048
14147
|
contents.RecurringCharges = deserializeAws_queryRecurringChargeList((0, smithy_client_1.getArrayIfSingleItem)(output["RecurringCharges"]["RecurringCharge"]), context);
|
|
14049
14148
|
}
|
|
14050
14149
|
if (output["ReservedNodeOfferingType"] !== undefined) {
|
|
@@ -14082,7 +14181,7 @@ const deserializeAws_queryReservedNodeOfferingsMessage = (output, context) => {
|
|
|
14082
14181
|
if (output.ReservedNodeOfferings === "") {
|
|
14083
14182
|
contents.ReservedNodeOfferings = [];
|
|
14084
14183
|
}
|
|
14085
|
-
if (output["ReservedNodeOfferings"] !== undefined &&
|
|
14184
|
+
else if (output["ReservedNodeOfferings"] !== undefined &&
|
|
14086
14185
|
output["ReservedNodeOfferings"]["ReservedNodeOffering"] !== undefined) {
|
|
14087
14186
|
contents.ReservedNodeOfferings = deserializeAws_queryReservedNodeOfferingList((0, smithy_client_1.getArrayIfSingleItem)(output["ReservedNodeOfferings"]["ReservedNodeOffering"]), context);
|
|
14088
14187
|
}
|
|
@@ -14108,7 +14207,7 @@ const deserializeAws_queryReservedNodesMessage = (output, context) => {
|
|
|
14108
14207
|
if (output.ReservedNodes === "") {
|
|
14109
14208
|
contents.ReservedNodes = [];
|
|
14110
14209
|
}
|
|
14111
|
-
if (output["ReservedNodes"] !== undefined && output["ReservedNodes"]["ReservedNode"] !== undefined) {
|
|
14210
|
+
else if (output["ReservedNodes"] !== undefined && output["ReservedNodes"]["ReservedNode"] !== undefined) {
|
|
14112
14211
|
contents.ReservedNodes = deserializeAws_queryReservedNodeList((0, smithy_client_1.getArrayIfSingleItem)(output["ReservedNodes"]["ReservedNode"]), context);
|
|
14113
14212
|
}
|
|
14114
14213
|
return contents;
|
|
@@ -14211,19 +14310,21 @@ const deserializeAws_queryResizeProgressMessage = (output, context) => {
|
|
|
14211
14310
|
if (output.ImportTablesCompleted === "") {
|
|
14212
14311
|
contents.ImportTablesCompleted = [];
|
|
14213
14312
|
}
|
|
14214
|
-
if (output["ImportTablesCompleted"] !== undefined && output["ImportTablesCompleted"]["member"] !== undefined) {
|
|
14313
|
+
else if (output["ImportTablesCompleted"] !== undefined && output["ImportTablesCompleted"]["member"] !== undefined) {
|
|
14215
14314
|
contents.ImportTablesCompleted = deserializeAws_queryImportTablesCompleted((0, smithy_client_1.getArrayIfSingleItem)(output["ImportTablesCompleted"]["member"]), context);
|
|
14216
14315
|
}
|
|
14217
14316
|
if (output.ImportTablesInProgress === "") {
|
|
14218
14317
|
contents.ImportTablesInProgress = [];
|
|
14219
14318
|
}
|
|
14220
|
-
if (output["ImportTablesInProgress"] !== undefined &&
|
|
14319
|
+
else if (output["ImportTablesInProgress"] !== undefined &&
|
|
14320
|
+
output["ImportTablesInProgress"]["member"] !== undefined) {
|
|
14221
14321
|
contents.ImportTablesInProgress = deserializeAws_queryImportTablesInProgress((0, smithy_client_1.getArrayIfSingleItem)(output["ImportTablesInProgress"]["member"]), context);
|
|
14222
14322
|
}
|
|
14223
14323
|
if (output.ImportTablesNotStarted === "") {
|
|
14224
14324
|
contents.ImportTablesNotStarted = [];
|
|
14225
14325
|
}
|
|
14226
|
-
if (output["ImportTablesNotStarted"] !== undefined &&
|
|
14326
|
+
else if (output["ImportTablesNotStarted"] !== undefined &&
|
|
14327
|
+
output["ImportTablesNotStarted"]["member"] !== undefined) {
|
|
14227
14328
|
contents.ImportTablesNotStarted = deserializeAws_queryImportTablesNotStarted((0, smithy_client_1.getArrayIfSingleItem)(output["ImportTablesNotStarted"]["member"]), context);
|
|
14228
14329
|
}
|
|
14229
14330
|
if (output["AvgResizeRateInMegaBytesPerSecond"] !== undefined) {
|
|
@@ -14426,7 +14527,8 @@ const deserializeAws_queryScheduledAction = (output, context) => {
|
|
|
14426
14527
|
if (output.NextInvocations === "") {
|
|
14427
14528
|
contents.NextInvocations = [];
|
|
14428
14529
|
}
|
|
14429
|
-
if (output["NextInvocations"] !== undefined &&
|
|
14530
|
+
else if (output["NextInvocations"] !== undefined &&
|
|
14531
|
+
output["NextInvocations"]["ScheduledActionTime"] !== undefined) {
|
|
14430
14532
|
contents.NextInvocations = deserializeAws_queryScheduledActionTimeList((0, smithy_client_1.getArrayIfSingleItem)(output["NextInvocations"]["ScheduledActionTime"]), context);
|
|
14431
14533
|
}
|
|
14432
14534
|
if (output["StartTime"] !== undefined) {
|
|
@@ -14485,7 +14587,7 @@ const deserializeAws_queryScheduledActionsMessage = (output, context) => {
|
|
|
14485
14587
|
if (output.ScheduledActions === "") {
|
|
14486
14588
|
contents.ScheduledActions = [];
|
|
14487
14589
|
}
|
|
14488
|
-
if (output["ScheduledActions"] !== undefined && output["ScheduledActions"]["ScheduledAction"] !== undefined) {
|
|
14590
|
+
else if (output["ScheduledActions"] !== undefined && output["ScheduledActions"]["ScheduledAction"] !== undefined) {
|
|
14489
14591
|
contents.ScheduledActions = deserializeAws_queryScheduledActionList((0, smithy_client_1.getArrayIfSingleItem)(output["ScheduledActions"]["ScheduledAction"]), context);
|
|
14490
14592
|
}
|
|
14491
14593
|
return contents;
|
|
@@ -14649,7 +14751,7 @@ const deserializeAws_querySnapshot = (output, context) => {
|
|
|
14649
14751
|
if (output.AccountsWithRestoreAccess === "") {
|
|
14650
14752
|
contents.AccountsWithRestoreAccess = [];
|
|
14651
14753
|
}
|
|
14652
|
-
if (output["AccountsWithRestoreAccess"] !== undefined &&
|
|
14754
|
+
else if (output["AccountsWithRestoreAccess"] !== undefined &&
|
|
14653
14755
|
output["AccountsWithRestoreAccess"]["AccountWithRestoreAccess"] !== undefined) {
|
|
14654
14756
|
contents.AccountsWithRestoreAccess = deserializeAws_queryAccountsWithRestoreAccessList((0, smithy_client_1.getArrayIfSingleItem)(output["AccountsWithRestoreAccess"]["AccountWithRestoreAccess"]), context);
|
|
14655
14757
|
}
|
|
@@ -14680,13 +14782,13 @@ const deserializeAws_querySnapshot = (output, context) => {
|
|
|
14680
14782
|
if (output.Tags === "") {
|
|
14681
14783
|
contents.Tags = [];
|
|
14682
14784
|
}
|
|
14683
|
-
if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
14785
|
+
else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
14684
14786
|
contents.Tags = deserializeAws_queryTagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["Tag"]), context);
|
|
14685
14787
|
}
|
|
14686
14788
|
if (output.RestorableNodeTypes === "") {
|
|
14687
14789
|
contents.RestorableNodeTypes = [];
|
|
14688
14790
|
}
|
|
14689
|
-
if (output["RestorableNodeTypes"] !== undefined && output["RestorableNodeTypes"]["NodeType"] !== undefined) {
|
|
14791
|
+
else if (output["RestorableNodeTypes"] !== undefined && output["RestorableNodeTypes"]["NodeType"] !== undefined) {
|
|
14690
14792
|
contents.RestorableNodeTypes = deserializeAws_queryRestorableNodeTypeList((0, smithy_client_1.getArrayIfSingleItem)(output["RestorableNodeTypes"]["NodeType"]), context);
|
|
14691
14793
|
}
|
|
14692
14794
|
if (output["EnhancedVpcRouting"] !== undefined) {
|
|
@@ -14748,7 +14850,7 @@ const deserializeAws_querySnapshotCopyGrant = (output, context) => {
|
|
|
14748
14850
|
if (output.Tags === "") {
|
|
14749
14851
|
contents.Tags = [];
|
|
14750
14852
|
}
|
|
14751
|
-
if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
14853
|
+
else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
14752
14854
|
contents.Tags = deserializeAws_queryTagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["Tag"]), context);
|
|
14753
14855
|
}
|
|
14754
14856
|
return contents;
|
|
@@ -14783,7 +14885,8 @@ const deserializeAws_querySnapshotCopyGrantMessage = (output, context) => {
|
|
|
14783
14885
|
if (output.SnapshotCopyGrants === "") {
|
|
14784
14886
|
contents.SnapshotCopyGrants = [];
|
|
14785
14887
|
}
|
|
14786
|
-
if (output["SnapshotCopyGrants"] !== undefined &&
|
|
14888
|
+
else if (output["SnapshotCopyGrants"] !== undefined &&
|
|
14889
|
+
output["SnapshotCopyGrants"]["SnapshotCopyGrant"] !== undefined) {
|
|
14787
14890
|
contents.SnapshotCopyGrants = deserializeAws_querySnapshotCopyGrantList((0, smithy_client_1.getArrayIfSingleItem)(output["SnapshotCopyGrants"]["SnapshotCopyGrant"]), context);
|
|
14788
14891
|
}
|
|
14789
14892
|
return contents;
|
|
@@ -14858,7 +14961,7 @@ const deserializeAws_querySnapshotMessage = (output, context) => {
|
|
|
14858
14961
|
if (output.Snapshots === "") {
|
|
14859
14962
|
contents.Snapshots = [];
|
|
14860
14963
|
}
|
|
14861
|
-
if (output["Snapshots"] !== undefined && output["Snapshots"]["Snapshot"] !== undefined) {
|
|
14964
|
+
else if (output["Snapshots"] !== undefined && output["Snapshots"]["Snapshot"] !== undefined) {
|
|
14862
14965
|
contents.Snapshots = deserializeAws_querySnapshotList((0, smithy_client_1.getArrayIfSingleItem)(output["Snapshots"]["Snapshot"]), context);
|
|
14863
14966
|
}
|
|
14864
14967
|
return contents;
|
|
@@ -14876,7 +14979,7 @@ const deserializeAws_querySnapshotSchedule = (output, context) => {
|
|
|
14876
14979
|
if (output.ScheduleDefinitions === "") {
|
|
14877
14980
|
contents.ScheduleDefinitions = [];
|
|
14878
14981
|
}
|
|
14879
|
-
if (output["ScheduleDefinitions"] !== undefined &&
|
|
14982
|
+
else if (output["ScheduleDefinitions"] !== undefined &&
|
|
14880
14983
|
output["ScheduleDefinitions"]["ScheduleDefinition"] !== undefined) {
|
|
14881
14984
|
contents.ScheduleDefinitions = deserializeAws_queryScheduleDefinitionList((0, smithy_client_1.getArrayIfSingleItem)(output["ScheduleDefinitions"]["ScheduleDefinition"]), context);
|
|
14882
14985
|
}
|
|
@@ -14889,13 +14992,13 @@ const deserializeAws_querySnapshotSchedule = (output, context) => {
|
|
|
14889
14992
|
if (output.Tags === "") {
|
|
14890
14993
|
contents.Tags = [];
|
|
14891
14994
|
}
|
|
14892
|
-
if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
14995
|
+
else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
14893
14996
|
contents.Tags = deserializeAws_queryTagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["Tag"]), context);
|
|
14894
14997
|
}
|
|
14895
14998
|
if (output.NextInvocations === "") {
|
|
14896
14999
|
contents.NextInvocations = [];
|
|
14897
15000
|
}
|
|
14898
|
-
if (output["NextInvocations"] !== undefined && output["NextInvocations"]["SnapshotTime"] !== undefined) {
|
|
15001
|
+
else if (output["NextInvocations"] !== undefined && output["NextInvocations"]["SnapshotTime"] !== undefined) {
|
|
14899
15002
|
contents.NextInvocations = deserializeAws_queryScheduledSnapshotTimeList((0, smithy_client_1.getArrayIfSingleItem)(output["NextInvocations"]["SnapshotTime"]), context);
|
|
14900
15003
|
}
|
|
14901
15004
|
if (output["AssociatedClusterCount"] !== undefined) {
|
|
@@ -14904,7 +15007,7 @@ const deserializeAws_querySnapshotSchedule = (output, context) => {
|
|
|
14904
15007
|
if (output.AssociatedClusters === "") {
|
|
14905
15008
|
contents.AssociatedClusters = [];
|
|
14906
15009
|
}
|
|
14907
|
-
if (output["AssociatedClusters"] !== undefined &&
|
|
15010
|
+
else if (output["AssociatedClusters"] !== undefined &&
|
|
14908
15011
|
output["AssociatedClusters"]["ClusterAssociatedToSchedule"] !== undefined) {
|
|
14909
15012
|
contents.AssociatedClusters = deserializeAws_queryAssociatedClusterList((0, smithy_client_1.getArrayIfSingleItem)(output["AssociatedClusters"]["ClusterAssociatedToSchedule"]), context);
|
|
14910
15013
|
}
|
|
@@ -15218,7 +15321,7 @@ const deserializeAws_queryTableRestoreStatusMessage = (output, context) => {
|
|
|
15218
15321
|
if (output.TableRestoreStatusDetails === "") {
|
|
15219
15322
|
contents.TableRestoreStatusDetails = [];
|
|
15220
15323
|
}
|
|
15221
|
-
if (output["TableRestoreStatusDetails"] !== undefined &&
|
|
15324
|
+
else if (output["TableRestoreStatusDetails"] !== undefined &&
|
|
15222
15325
|
output["TableRestoreStatusDetails"]["TableRestoreStatus"] !== undefined) {
|
|
15223
15326
|
contents.TableRestoreStatusDetails = deserializeAws_queryTableRestoreStatusList((0, smithy_client_1.getArrayIfSingleItem)(output["TableRestoreStatusDetails"]["TableRestoreStatus"]), context);
|
|
15224
15327
|
}
|
|
@@ -15275,7 +15378,7 @@ const deserializeAws_queryTaggedResourceListMessage = (output, context) => {
|
|
|
15275
15378
|
if (output.TaggedResources === "") {
|
|
15276
15379
|
contents.TaggedResources = [];
|
|
15277
15380
|
}
|
|
15278
|
-
if (output["TaggedResources"] !== undefined && output["TaggedResources"]["TaggedResource"] !== undefined) {
|
|
15381
|
+
else if (output["TaggedResources"] !== undefined && output["TaggedResources"]["TaggedResource"] !== undefined) {
|
|
15279
15382
|
contents.TaggedResources = deserializeAws_queryTaggedResourceList((0, smithy_client_1.getArrayIfSingleItem)(output["TaggedResources"]["TaggedResource"]), context);
|
|
15280
15383
|
}
|
|
15281
15384
|
if (output["Marker"] !== undefined) {
|
|
@@ -15320,7 +15423,8 @@ const deserializeAws_queryTrackListMessage = (output, context) => {
|
|
|
15320
15423
|
if (output.MaintenanceTracks === "") {
|
|
15321
15424
|
contents.MaintenanceTracks = [];
|
|
15322
15425
|
}
|
|
15323
|
-
if (output["MaintenanceTracks"] !== undefined &&
|
|
15426
|
+
else if (output["MaintenanceTracks"] !== undefined &&
|
|
15427
|
+
output["MaintenanceTracks"]["MaintenanceTrack"] !== undefined) {
|
|
15324
15428
|
contents.MaintenanceTracks = deserializeAws_queryTrackList((0, smithy_client_1.getArrayIfSingleItem)(output["MaintenanceTracks"]["MaintenanceTrack"]), context);
|
|
15325
15429
|
}
|
|
15326
15430
|
if (output["Marker"] !== undefined) {
|
|
@@ -15388,7 +15492,7 @@ const deserializeAws_queryUpdateTarget = (output, context) => {
|
|
|
15388
15492
|
if (output.SupportedOperations === "") {
|
|
15389
15493
|
contents.SupportedOperations = [];
|
|
15390
15494
|
}
|
|
15391
|
-
if (output["SupportedOperations"] !== undefined &&
|
|
15495
|
+
else if (output["SupportedOperations"] !== undefined &&
|
|
15392
15496
|
output["SupportedOperations"]["SupportedOperation"] !== undefined) {
|
|
15393
15497
|
contents.SupportedOperations = deserializeAws_querySupportedOperationList((0, smithy_client_1.getArrayIfSingleItem)(output["SupportedOperations"]["SupportedOperation"]), context);
|
|
15394
15498
|
}
|
|
@@ -15429,7 +15533,7 @@ const deserializeAws_queryUsageLimit = (output, context) => {
|
|
|
15429
15533
|
if (output.Tags === "") {
|
|
15430
15534
|
contents.Tags = [];
|
|
15431
15535
|
}
|
|
15432
|
-
if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
15536
|
+
else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
15433
15537
|
contents.Tags = deserializeAws_queryTagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["Tag"]), context);
|
|
15434
15538
|
}
|
|
15435
15539
|
return contents;
|
|
@@ -15451,7 +15555,7 @@ const deserializeAws_queryUsageLimitList = (output, context) => {
|
|
|
15451
15555
|
if (output.UsageLimits === "") {
|
|
15452
15556
|
contents.UsageLimits = [];
|
|
15453
15557
|
}
|
|
15454
|
-
if (output["UsageLimits"] !== undefined && output["UsageLimits"]["member"] !== undefined) {
|
|
15558
|
+
else if (output["UsageLimits"] !== undefined && output["UsageLimits"]["member"] !== undefined) {
|
|
15455
15559
|
contents.UsageLimits = deserializeAws_queryUsageLimits((0, smithy_client_1.getArrayIfSingleItem)(output["UsageLimits"]["member"]), context);
|
|
15456
15560
|
}
|
|
15457
15561
|
if (output["Marker"] !== undefined) {
|
|
@@ -15493,7 +15597,8 @@ const deserializeAws_queryVpcEndpoint = (output, context) => {
|
|
|
15493
15597
|
if (output.NetworkInterfaces === "") {
|
|
15494
15598
|
contents.NetworkInterfaces = [];
|
|
15495
15599
|
}
|
|
15496
|
-
if (output["NetworkInterfaces"] !== undefined &&
|
|
15600
|
+
else if (output["NetworkInterfaces"] !== undefined &&
|
|
15601
|
+
output["NetworkInterfaces"]["NetworkInterface"] !== undefined) {
|
|
15497
15602
|
contents.NetworkInterfaces = deserializeAws_queryNetworkInterfaceList((0, smithy_client_1.getArrayIfSingleItem)(output["NetworkInterfaces"]["NetworkInterface"]), context);
|
|
15498
15603
|
}
|
|
15499
15604
|
return contents;
|