@aws-sdk/client-docdb 3.31.0 → 3.32.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 +8 -0
- package/dist/cjs/DocDBClient.js +13 -13
- package/dist/cjs/DocDBClient.js.map +1 -1
- package/dist/cjs/commands/AddSourceIdentifierToSubscriptionCommand.js +3 -3
- package/dist/cjs/commands/AddSourceIdentifierToSubscriptionCommand.js.map +1 -1
- package/dist/cjs/commands/AddTagsToResourceCommand.js +3 -3
- package/dist/cjs/commands/AddTagsToResourceCommand.js.map +1 -1
- package/dist/cjs/commands/ApplyPendingMaintenanceActionCommand.js +3 -3
- package/dist/cjs/commands/ApplyPendingMaintenanceActionCommand.js.map +1 -1
- package/dist/cjs/commands/CopyDBClusterParameterGroupCommand.js +3 -3
- package/dist/cjs/commands/CopyDBClusterParameterGroupCommand.js.map +1 -1
- package/dist/cjs/commands/CopyDBClusterSnapshotCommand.js +4 -4
- package/dist/cjs/commands/CopyDBClusterSnapshotCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDBClusterCommand.js +3 -3
- package/dist/cjs/commands/CreateDBClusterCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDBClusterParameterGroupCommand.js +3 -3
- package/dist/cjs/commands/CreateDBClusterParameterGroupCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDBClusterSnapshotCommand.js +3 -3
- package/dist/cjs/commands/CreateDBClusterSnapshotCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDBInstanceCommand.js +3 -3
- package/dist/cjs/commands/CreateDBInstanceCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDBSubnetGroupCommand.js +3 -3
- package/dist/cjs/commands/CreateDBSubnetGroupCommand.js.map +1 -1
- package/dist/cjs/commands/CreateEventSubscriptionCommand.js +3 -3
- package/dist/cjs/commands/CreateEventSubscriptionCommand.js.map +1 -1
- package/dist/cjs/commands/CreateGlobalClusterCommand.js +3 -3
- package/dist/cjs/commands/CreateGlobalClusterCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDBClusterCommand.js +3 -3
- package/dist/cjs/commands/DeleteDBClusterCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDBClusterParameterGroupCommand.js +3 -3
- package/dist/cjs/commands/DeleteDBClusterParameterGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDBClusterSnapshotCommand.js +3 -3
- package/dist/cjs/commands/DeleteDBClusterSnapshotCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDBInstanceCommand.js +3 -3
- package/dist/cjs/commands/DeleteDBInstanceCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDBSubnetGroupCommand.js +3 -3
- package/dist/cjs/commands/DeleteDBSubnetGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteEventSubscriptionCommand.js +3 -3
- package/dist/cjs/commands/DeleteEventSubscriptionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteGlobalClusterCommand.js +3 -3
- package/dist/cjs/commands/DeleteGlobalClusterCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeCertificatesCommand.js +3 -3
- package/dist/cjs/commands/DescribeCertificatesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeDBClusterParameterGroupsCommand.js +3 -3
- package/dist/cjs/commands/DescribeDBClusterParameterGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeDBClusterParametersCommand.js +3 -3
- package/dist/cjs/commands/DescribeDBClusterParametersCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeDBClusterSnapshotAttributesCommand.js +3 -3
- package/dist/cjs/commands/DescribeDBClusterSnapshotAttributesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeDBClusterSnapshotsCommand.js +3 -3
- package/dist/cjs/commands/DescribeDBClusterSnapshotsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeDBClustersCommand.js +3 -3
- package/dist/cjs/commands/DescribeDBClustersCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeDBEngineVersionsCommand.js +3 -3
- package/dist/cjs/commands/DescribeDBEngineVersionsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeDBInstancesCommand.js +3 -3
- package/dist/cjs/commands/DescribeDBInstancesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeDBSubnetGroupsCommand.js +3 -3
- package/dist/cjs/commands/DescribeDBSubnetGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeEngineDefaultClusterParametersCommand.js +3 -3
- package/dist/cjs/commands/DescribeEngineDefaultClusterParametersCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeEventCategoriesCommand.js +3 -3
- package/dist/cjs/commands/DescribeEventCategoriesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeEventSubscriptionsCommand.js +3 -3
- package/dist/cjs/commands/DescribeEventSubscriptionsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeEventsCommand.js +3 -3
- package/dist/cjs/commands/DescribeEventsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeGlobalClustersCommand.js +3 -3
- package/dist/cjs/commands/DescribeGlobalClustersCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeOrderableDBInstanceOptionsCommand.js +3 -3
- package/dist/cjs/commands/DescribeOrderableDBInstanceOptionsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribePendingMaintenanceActionsCommand.js +3 -3
- package/dist/cjs/commands/DescribePendingMaintenanceActionsCommand.js.map +1 -1
- package/dist/cjs/commands/FailoverDBClusterCommand.js +3 -3
- package/dist/cjs/commands/FailoverDBClusterCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/ModifyDBClusterCommand.js +3 -3
- package/dist/cjs/commands/ModifyDBClusterCommand.js.map +1 -1
- package/dist/cjs/commands/ModifyDBClusterParameterGroupCommand.js +3 -3
- package/dist/cjs/commands/ModifyDBClusterParameterGroupCommand.js.map +1 -1
- package/dist/cjs/commands/ModifyDBClusterSnapshotAttributeCommand.js +3 -3
- package/dist/cjs/commands/ModifyDBClusterSnapshotAttributeCommand.js.map +1 -1
- package/dist/cjs/commands/ModifyDBInstanceCommand.js +3 -3
- package/dist/cjs/commands/ModifyDBInstanceCommand.js.map +1 -1
- package/dist/cjs/commands/ModifyDBSubnetGroupCommand.js +3 -3
- package/dist/cjs/commands/ModifyDBSubnetGroupCommand.js.map +1 -1
- package/dist/cjs/commands/ModifyEventSubscriptionCommand.js +3 -3
- package/dist/cjs/commands/ModifyEventSubscriptionCommand.js.map +1 -1
- package/dist/cjs/commands/ModifyGlobalClusterCommand.js +3 -3
- package/dist/cjs/commands/ModifyGlobalClusterCommand.js.map +1 -1
- package/dist/cjs/commands/RebootDBInstanceCommand.js +3 -3
- package/dist/cjs/commands/RebootDBInstanceCommand.js.map +1 -1
- package/dist/cjs/commands/RemoveFromGlobalClusterCommand.js +3 -3
- package/dist/cjs/commands/RemoveFromGlobalClusterCommand.js.map +1 -1
- package/dist/cjs/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +3 -3
- package/dist/cjs/commands/RemoveSourceIdentifierFromSubscriptionCommand.js.map +1 -1
- package/dist/cjs/commands/RemoveTagsFromResourceCommand.js +3 -3
- package/dist/cjs/commands/RemoveTagsFromResourceCommand.js.map +1 -1
- package/dist/cjs/commands/ResetDBClusterParameterGroupCommand.js +3 -3
- package/dist/cjs/commands/ResetDBClusterParameterGroupCommand.js.map +1 -1
- package/dist/cjs/commands/RestoreDBClusterFromSnapshotCommand.js +3 -3
- package/dist/cjs/commands/RestoreDBClusterFromSnapshotCommand.js.map +1 -1
- package/dist/cjs/commands/RestoreDBClusterToPointInTimeCommand.js +3 -3
- package/dist/cjs/commands/RestoreDBClusterToPointInTimeCommand.js.map +1 -1
- package/dist/cjs/commands/StartDBClusterCommand.js +3 -3
- package/dist/cjs/commands/StartDBClusterCommand.js.map +1 -1
- package/dist/cjs/commands/StopDBClusterCommand.js +3 -3
- package/dist/cjs/commands/StopDBClusterCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +71 -71
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +33 -33
- package/dist/cjs/protocols/Aws_query.js +294 -294
- package/dist/cjs/protocols/Aws_query.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/cjs/waiters/waitForDBInstanceAvailable.js +3 -3
- package/dist/cjs/waiters/waitForDBInstanceAvailable.js.map +1 -1
- package/dist/es/package.json +33 -33
- package/dist/es/pagination/DescribeCertificatesPaginator.js +4 -4
- package/dist/es/pagination/DescribeCertificatesPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeDBClusterParameterGroupsPaginator.js +4 -4
- package/dist/es/pagination/DescribeDBClusterParameterGroupsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeDBClusterParametersPaginator.js +4 -4
- package/dist/es/pagination/DescribeDBClusterParametersPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeDBClusterSnapshotsPaginator.js +4 -4
- package/dist/es/pagination/DescribeDBClusterSnapshotsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeDBClustersPaginator.js +4 -4
- package/dist/es/pagination/DescribeDBClustersPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeDBEngineVersionsPaginator.js +4 -4
- package/dist/es/pagination/DescribeDBEngineVersionsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeDBInstancesPaginator.js +4 -4
- package/dist/es/pagination/DescribeDBInstancesPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeDBSubnetGroupsPaginator.js +4 -4
- package/dist/es/pagination/DescribeDBSubnetGroupsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeEventSubscriptionsPaginator.js +4 -4
- package/dist/es/pagination/DescribeEventSubscriptionsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeEventsPaginator.js +4 -4
- package/dist/es/pagination/DescribeEventsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeGlobalClustersPaginator.js +4 -4
- package/dist/es/pagination/DescribeGlobalClustersPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +4 -4
- package/dist/es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribePendingMaintenanceActionsPaginator.js +4 -4
- package/dist/es/pagination/DescribePendingMaintenanceActionsPaginator.js.map +1 -1
- package/dist/es/waiters/waitForDBInstanceAvailable.js +6 -6
- package/dist/es/waiters/waitForDBInstanceAvailable.js.map +1 -1
- package/package.json +33 -33
- package/tsconfig.json +1 -2
|
@@ -6339,7 +6339,7 @@ const deserializeAws_queryAttributeValueList = (output, context) => {
|
|
|
6339
6339
|
if (entry === null) {
|
|
6340
6340
|
return null;
|
|
6341
6341
|
}
|
|
6342
|
-
return
|
|
6342
|
+
return smithy_client_1.expectString(entry);
|
|
6343
6343
|
});
|
|
6344
6344
|
};
|
|
6345
6345
|
const deserializeAws_queryAuthorizationNotFoundFault = (output, context) => {
|
|
@@ -6347,7 +6347,7 @@ const deserializeAws_queryAuthorizationNotFoundFault = (output, context) => {
|
|
|
6347
6347
|
message: undefined,
|
|
6348
6348
|
};
|
|
6349
6349
|
if (output["message"] !== undefined) {
|
|
6350
|
-
contents.message =
|
|
6350
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6351
6351
|
}
|
|
6352
6352
|
return contents;
|
|
6353
6353
|
};
|
|
@@ -6356,7 +6356,7 @@ const deserializeAws_queryAvailabilityZone = (output, context) => {
|
|
|
6356
6356
|
Name: undefined,
|
|
6357
6357
|
};
|
|
6358
6358
|
if (output["Name"] !== undefined) {
|
|
6359
|
-
contents.Name =
|
|
6359
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
6360
6360
|
}
|
|
6361
6361
|
return contents;
|
|
6362
6362
|
};
|
|
@@ -6377,7 +6377,7 @@ const deserializeAws_queryAvailabilityZones = (output, context) => {
|
|
|
6377
6377
|
if (entry === null) {
|
|
6378
6378
|
return null;
|
|
6379
6379
|
}
|
|
6380
|
-
return
|
|
6380
|
+
return smithy_client_1.expectString(entry);
|
|
6381
6381
|
});
|
|
6382
6382
|
};
|
|
6383
6383
|
const deserializeAws_queryCertificate = (output, context) => {
|
|
@@ -6390,22 +6390,22 @@ const deserializeAws_queryCertificate = (output, context) => {
|
|
|
6390
6390
|
CertificateArn: undefined,
|
|
6391
6391
|
};
|
|
6392
6392
|
if (output["CertificateIdentifier"] !== undefined) {
|
|
6393
|
-
contents.CertificateIdentifier =
|
|
6393
|
+
contents.CertificateIdentifier = smithy_client_1.expectString(output["CertificateIdentifier"]);
|
|
6394
6394
|
}
|
|
6395
6395
|
if (output["CertificateType"] !== undefined) {
|
|
6396
|
-
contents.CertificateType =
|
|
6396
|
+
contents.CertificateType = smithy_client_1.expectString(output["CertificateType"]);
|
|
6397
6397
|
}
|
|
6398
6398
|
if (output["Thumbprint"] !== undefined) {
|
|
6399
|
-
contents.Thumbprint =
|
|
6399
|
+
contents.Thumbprint = smithy_client_1.expectString(output["Thumbprint"]);
|
|
6400
6400
|
}
|
|
6401
6401
|
if (output["ValidFrom"] !== undefined) {
|
|
6402
|
-
contents.ValidFrom =
|
|
6402
|
+
contents.ValidFrom = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ValidFrom"]));
|
|
6403
6403
|
}
|
|
6404
6404
|
if (output["ValidTill"] !== undefined) {
|
|
6405
|
-
contents.ValidTill =
|
|
6405
|
+
contents.ValidTill = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ValidTill"]));
|
|
6406
6406
|
}
|
|
6407
6407
|
if (output["CertificateArn"] !== undefined) {
|
|
6408
|
-
contents.CertificateArn =
|
|
6408
|
+
contents.CertificateArn = smithy_client_1.expectString(output["CertificateArn"]);
|
|
6409
6409
|
}
|
|
6410
6410
|
return contents;
|
|
6411
6411
|
};
|
|
@@ -6428,10 +6428,10 @@ const deserializeAws_queryCertificateMessage = (output, context) => {
|
|
|
6428
6428
|
contents.Certificates = [];
|
|
6429
6429
|
}
|
|
6430
6430
|
if (output["Certificates"] !== undefined && output["Certificates"]["Certificate"] !== undefined) {
|
|
6431
|
-
contents.Certificates = deserializeAws_queryCertificateList(
|
|
6431
|
+
contents.Certificates = deserializeAws_queryCertificateList(smithy_client_1.getArrayIfSingleItem(output["Certificates"]["Certificate"]), context);
|
|
6432
6432
|
}
|
|
6433
6433
|
if (output["Marker"] !== undefined) {
|
|
6434
|
-
contents.Marker =
|
|
6434
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
6435
6435
|
}
|
|
6436
6436
|
return contents;
|
|
6437
6437
|
};
|
|
@@ -6440,7 +6440,7 @@ const deserializeAws_queryCertificateNotFoundFault = (output, context) => {
|
|
|
6440
6440
|
message: undefined,
|
|
6441
6441
|
};
|
|
6442
6442
|
if (output["message"] !== undefined) {
|
|
6443
|
-
contents.message =
|
|
6443
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6444
6444
|
}
|
|
6445
6445
|
return contents;
|
|
6446
6446
|
};
|
|
@@ -6563,115 +6563,115 @@ const deserializeAws_queryDBCluster = (output, context) => {
|
|
|
6563
6563
|
contents.AvailabilityZones = [];
|
|
6564
6564
|
}
|
|
6565
6565
|
if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
|
|
6566
|
-
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(
|
|
6566
|
+
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(smithy_client_1.getArrayIfSingleItem(output["AvailabilityZones"]["AvailabilityZone"]), context);
|
|
6567
6567
|
}
|
|
6568
6568
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
6569
|
-
contents.BackupRetentionPeriod =
|
|
6569
|
+
contents.BackupRetentionPeriod = smithy_client_1.strictParseInt32(output["BackupRetentionPeriod"]);
|
|
6570
6570
|
}
|
|
6571
6571
|
if (output["DBClusterIdentifier"] !== undefined) {
|
|
6572
|
-
contents.DBClusterIdentifier =
|
|
6572
|
+
contents.DBClusterIdentifier = smithy_client_1.expectString(output["DBClusterIdentifier"]);
|
|
6573
6573
|
}
|
|
6574
6574
|
if (output["DBClusterParameterGroup"] !== undefined) {
|
|
6575
|
-
contents.DBClusterParameterGroup =
|
|
6575
|
+
contents.DBClusterParameterGroup = smithy_client_1.expectString(output["DBClusterParameterGroup"]);
|
|
6576
6576
|
}
|
|
6577
6577
|
if (output["DBSubnetGroup"] !== undefined) {
|
|
6578
|
-
contents.DBSubnetGroup =
|
|
6578
|
+
contents.DBSubnetGroup = smithy_client_1.expectString(output["DBSubnetGroup"]);
|
|
6579
6579
|
}
|
|
6580
6580
|
if (output["Status"] !== undefined) {
|
|
6581
|
-
contents.Status =
|
|
6581
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
6582
6582
|
}
|
|
6583
6583
|
if (output["PercentProgress"] !== undefined) {
|
|
6584
|
-
contents.PercentProgress =
|
|
6584
|
+
contents.PercentProgress = smithy_client_1.expectString(output["PercentProgress"]);
|
|
6585
6585
|
}
|
|
6586
6586
|
if (output["EarliestRestorableTime"] !== undefined) {
|
|
6587
|
-
contents.EarliestRestorableTime =
|
|
6587
|
+
contents.EarliestRestorableTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["EarliestRestorableTime"]));
|
|
6588
6588
|
}
|
|
6589
6589
|
if (output["Endpoint"] !== undefined) {
|
|
6590
|
-
contents.Endpoint =
|
|
6590
|
+
contents.Endpoint = smithy_client_1.expectString(output["Endpoint"]);
|
|
6591
6591
|
}
|
|
6592
6592
|
if (output["ReaderEndpoint"] !== undefined) {
|
|
6593
|
-
contents.ReaderEndpoint =
|
|
6593
|
+
contents.ReaderEndpoint = smithy_client_1.expectString(output["ReaderEndpoint"]);
|
|
6594
6594
|
}
|
|
6595
6595
|
if (output["MultiAZ"] !== undefined) {
|
|
6596
|
-
contents.MultiAZ =
|
|
6596
|
+
contents.MultiAZ = smithy_client_1.parseBoolean(output["MultiAZ"]);
|
|
6597
6597
|
}
|
|
6598
6598
|
if (output["Engine"] !== undefined) {
|
|
6599
|
-
contents.Engine =
|
|
6599
|
+
contents.Engine = smithy_client_1.expectString(output["Engine"]);
|
|
6600
6600
|
}
|
|
6601
6601
|
if (output["EngineVersion"] !== undefined) {
|
|
6602
|
-
contents.EngineVersion =
|
|
6602
|
+
contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
|
|
6603
6603
|
}
|
|
6604
6604
|
if (output["LatestRestorableTime"] !== undefined) {
|
|
6605
|
-
contents.LatestRestorableTime =
|
|
6605
|
+
contents.LatestRestorableTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LatestRestorableTime"]));
|
|
6606
6606
|
}
|
|
6607
6607
|
if (output["Port"] !== undefined) {
|
|
6608
|
-
contents.Port =
|
|
6608
|
+
contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
|
|
6609
6609
|
}
|
|
6610
6610
|
if (output["MasterUsername"] !== undefined) {
|
|
6611
|
-
contents.MasterUsername =
|
|
6611
|
+
contents.MasterUsername = smithy_client_1.expectString(output["MasterUsername"]);
|
|
6612
6612
|
}
|
|
6613
6613
|
if (output["PreferredBackupWindow"] !== undefined) {
|
|
6614
|
-
contents.PreferredBackupWindow =
|
|
6614
|
+
contents.PreferredBackupWindow = smithy_client_1.expectString(output["PreferredBackupWindow"]);
|
|
6615
6615
|
}
|
|
6616
6616
|
if (output["PreferredMaintenanceWindow"] !== undefined) {
|
|
6617
|
-
contents.PreferredMaintenanceWindow =
|
|
6617
|
+
contents.PreferredMaintenanceWindow = smithy_client_1.expectString(output["PreferredMaintenanceWindow"]);
|
|
6618
6618
|
}
|
|
6619
6619
|
if (output["ReplicationSourceIdentifier"] !== undefined) {
|
|
6620
|
-
contents.ReplicationSourceIdentifier =
|
|
6620
|
+
contents.ReplicationSourceIdentifier = smithy_client_1.expectString(output["ReplicationSourceIdentifier"]);
|
|
6621
6621
|
}
|
|
6622
6622
|
if (output.ReadReplicaIdentifiers === "") {
|
|
6623
6623
|
contents.ReadReplicaIdentifiers = [];
|
|
6624
6624
|
}
|
|
6625
6625
|
if (output["ReadReplicaIdentifiers"] !== undefined &&
|
|
6626
6626
|
output["ReadReplicaIdentifiers"]["ReadReplicaIdentifier"] !== undefined) {
|
|
6627
|
-
contents.ReadReplicaIdentifiers = deserializeAws_queryReadReplicaIdentifierList(
|
|
6627
|
+
contents.ReadReplicaIdentifiers = deserializeAws_queryReadReplicaIdentifierList(smithy_client_1.getArrayIfSingleItem(output["ReadReplicaIdentifiers"]["ReadReplicaIdentifier"]), context);
|
|
6628
6628
|
}
|
|
6629
6629
|
if (output.DBClusterMembers === "") {
|
|
6630
6630
|
contents.DBClusterMembers = [];
|
|
6631
6631
|
}
|
|
6632
6632
|
if (output["DBClusterMembers"] !== undefined && output["DBClusterMembers"]["DBClusterMember"] !== undefined) {
|
|
6633
|
-
contents.DBClusterMembers = deserializeAws_queryDBClusterMemberList(
|
|
6633
|
+
contents.DBClusterMembers = deserializeAws_queryDBClusterMemberList(smithy_client_1.getArrayIfSingleItem(output["DBClusterMembers"]["DBClusterMember"]), context);
|
|
6634
6634
|
}
|
|
6635
6635
|
if (output.VpcSecurityGroups === "") {
|
|
6636
6636
|
contents.VpcSecurityGroups = [];
|
|
6637
6637
|
}
|
|
6638
6638
|
if (output["VpcSecurityGroups"] !== undefined &&
|
|
6639
6639
|
output["VpcSecurityGroups"]["VpcSecurityGroupMembership"] !== undefined) {
|
|
6640
|
-
contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList(
|
|
6640
|
+
contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList(smithy_client_1.getArrayIfSingleItem(output["VpcSecurityGroups"]["VpcSecurityGroupMembership"]), context);
|
|
6641
6641
|
}
|
|
6642
6642
|
if (output["HostedZoneId"] !== undefined) {
|
|
6643
|
-
contents.HostedZoneId =
|
|
6643
|
+
contents.HostedZoneId = smithy_client_1.expectString(output["HostedZoneId"]);
|
|
6644
6644
|
}
|
|
6645
6645
|
if (output["StorageEncrypted"] !== undefined) {
|
|
6646
|
-
contents.StorageEncrypted =
|
|
6646
|
+
contents.StorageEncrypted = smithy_client_1.parseBoolean(output["StorageEncrypted"]);
|
|
6647
6647
|
}
|
|
6648
6648
|
if (output["KmsKeyId"] !== undefined) {
|
|
6649
|
-
contents.KmsKeyId =
|
|
6649
|
+
contents.KmsKeyId = smithy_client_1.expectString(output["KmsKeyId"]);
|
|
6650
6650
|
}
|
|
6651
6651
|
if (output["DbClusterResourceId"] !== undefined) {
|
|
6652
|
-
contents.DbClusterResourceId =
|
|
6652
|
+
contents.DbClusterResourceId = smithy_client_1.expectString(output["DbClusterResourceId"]);
|
|
6653
6653
|
}
|
|
6654
6654
|
if (output["DBClusterArn"] !== undefined) {
|
|
6655
|
-
contents.DBClusterArn =
|
|
6655
|
+
contents.DBClusterArn = smithy_client_1.expectString(output["DBClusterArn"]);
|
|
6656
6656
|
}
|
|
6657
6657
|
if (output.AssociatedRoles === "") {
|
|
6658
6658
|
contents.AssociatedRoles = [];
|
|
6659
6659
|
}
|
|
6660
6660
|
if (output["AssociatedRoles"] !== undefined && output["AssociatedRoles"]["DBClusterRole"] !== undefined) {
|
|
6661
|
-
contents.AssociatedRoles = deserializeAws_queryDBClusterRoles(
|
|
6661
|
+
contents.AssociatedRoles = deserializeAws_queryDBClusterRoles(smithy_client_1.getArrayIfSingleItem(output["AssociatedRoles"]["DBClusterRole"]), context);
|
|
6662
6662
|
}
|
|
6663
6663
|
if (output["ClusterCreateTime"] !== undefined) {
|
|
6664
|
-
contents.ClusterCreateTime =
|
|
6664
|
+
contents.ClusterCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ClusterCreateTime"]));
|
|
6665
6665
|
}
|
|
6666
6666
|
if (output.EnabledCloudwatchLogsExports === "") {
|
|
6667
6667
|
contents.EnabledCloudwatchLogsExports = [];
|
|
6668
6668
|
}
|
|
6669
6669
|
if (output["EnabledCloudwatchLogsExports"] !== undefined &&
|
|
6670
6670
|
output["EnabledCloudwatchLogsExports"]["member"] !== undefined) {
|
|
6671
|
-
contents.EnabledCloudwatchLogsExports = deserializeAws_queryLogTypeList(
|
|
6671
|
+
contents.EnabledCloudwatchLogsExports = deserializeAws_queryLogTypeList(smithy_client_1.getArrayIfSingleItem(output["EnabledCloudwatchLogsExports"]["member"]), context);
|
|
6672
6672
|
}
|
|
6673
6673
|
if (output["DeletionProtection"] !== undefined) {
|
|
6674
|
-
contents.DeletionProtection =
|
|
6674
|
+
contents.DeletionProtection = smithy_client_1.parseBoolean(output["DeletionProtection"]);
|
|
6675
6675
|
}
|
|
6676
6676
|
return contents;
|
|
6677
6677
|
};
|
|
@@ -6680,7 +6680,7 @@ const deserializeAws_queryDBClusterAlreadyExistsFault = (output, context) => {
|
|
|
6680
6680
|
message: undefined,
|
|
6681
6681
|
};
|
|
6682
6682
|
if (output["message"] !== undefined) {
|
|
6683
|
-
contents.message =
|
|
6683
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6684
6684
|
}
|
|
6685
6685
|
return contents;
|
|
6686
6686
|
};
|
|
@@ -6702,16 +6702,16 @@ const deserializeAws_queryDBClusterMember = (output, context) => {
|
|
|
6702
6702
|
PromotionTier: undefined,
|
|
6703
6703
|
};
|
|
6704
6704
|
if (output["DBInstanceIdentifier"] !== undefined) {
|
|
6705
|
-
contents.DBInstanceIdentifier =
|
|
6705
|
+
contents.DBInstanceIdentifier = smithy_client_1.expectString(output["DBInstanceIdentifier"]);
|
|
6706
6706
|
}
|
|
6707
6707
|
if (output["IsClusterWriter"] !== undefined) {
|
|
6708
|
-
contents.IsClusterWriter =
|
|
6708
|
+
contents.IsClusterWriter = smithy_client_1.parseBoolean(output["IsClusterWriter"]);
|
|
6709
6709
|
}
|
|
6710
6710
|
if (output["DBClusterParameterGroupStatus"] !== undefined) {
|
|
6711
|
-
contents.DBClusterParameterGroupStatus =
|
|
6711
|
+
contents.DBClusterParameterGroupStatus = smithy_client_1.expectString(output["DBClusterParameterGroupStatus"]);
|
|
6712
6712
|
}
|
|
6713
6713
|
if (output["PromotionTier"] !== undefined) {
|
|
6714
|
-
contents.PromotionTier =
|
|
6714
|
+
contents.PromotionTier = smithy_client_1.strictParseInt32(output["PromotionTier"]);
|
|
6715
6715
|
}
|
|
6716
6716
|
return contents;
|
|
6717
6717
|
};
|
|
@@ -6731,13 +6731,13 @@ const deserializeAws_queryDBClusterMessage = (output, context) => {
|
|
|
6731
6731
|
DBClusters: undefined,
|
|
6732
6732
|
};
|
|
6733
6733
|
if (output["Marker"] !== undefined) {
|
|
6734
|
-
contents.Marker =
|
|
6734
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
6735
6735
|
}
|
|
6736
6736
|
if (output.DBClusters === "") {
|
|
6737
6737
|
contents.DBClusters = [];
|
|
6738
6738
|
}
|
|
6739
6739
|
if (output["DBClusters"] !== undefined && output["DBClusters"]["DBCluster"] !== undefined) {
|
|
6740
|
-
contents.DBClusters = deserializeAws_queryDBClusterList(
|
|
6740
|
+
contents.DBClusters = deserializeAws_queryDBClusterList(smithy_client_1.getArrayIfSingleItem(output["DBClusters"]["DBCluster"]), context);
|
|
6741
6741
|
}
|
|
6742
6742
|
return contents;
|
|
6743
6743
|
};
|
|
@@ -6746,7 +6746,7 @@ const deserializeAws_queryDBClusterNotFoundFault = (output, context) => {
|
|
|
6746
6746
|
message: undefined,
|
|
6747
6747
|
};
|
|
6748
6748
|
if (output["message"] !== undefined) {
|
|
6749
|
-
contents.message =
|
|
6749
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6750
6750
|
}
|
|
6751
6751
|
return contents;
|
|
6752
6752
|
};
|
|
@@ -6758,16 +6758,16 @@ const deserializeAws_queryDBClusterParameterGroup = (output, context) => {
|
|
|
6758
6758
|
DBClusterParameterGroupArn: undefined,
|
|
6759
6759
|
};
|
|
6760
6760
|
if (output["DBClusterParameterGroupName"] !== undefined) {
|
|
6761
|
-
contents.DBClusterParameterGroupName =
|
|
6761
|
+
contents.DBClusterParameterGroupName = smithy_client_1.expectString(output["DBClusterParameterGroupName"]);
|
|
6762
6762
|
}
|
|
6763
6763
|
if (output["DBParameterGroupFamily"] !== undefined) {
|
|
6764
|
-
contents.DBParameterGroupFamily =
|
|
6764
|
+
contents.DBParameterGroupFamily = smithy_client_1.expectString(output["DBParameterGroupFamily"]);
|
|
6765
6765
|
}
|
|
6766
6766
|
if (output["Description"] !== undefined) {
|
|
6767
|
-
contents.Description =
|
|
6767
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
6768
6768
|
}
|
|
6769
6769
|
if (output["DBClusterParameterGroupArn"] !== undefined) {
|
|
6770
|
-
contents.DBClusterParameterGroupArn =
|
|
6770
|
+
contents.DBClusterParameterGroupArn = smithy_client_1.expectString(output["DBClusterParameterGroupArn"]);
|
|
6771
6771
|
}
|
|
6772
6772
|
return contents;
|
|
6773
6773
|
};
|
|
@@ -6780,10 +6780,10 @@ const deserializeAws_queryDBClusterParameterGroupDetails = (output, context) =>
|
|
|
6780
6780
|
contents.Parameters = [];
|
|
6781
6781
|
}
|
|
6782
6782
|
if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
|
|
6783
|
-
contents.Parameters = deserializeAws_queryParametersList(
|
|
6783
|
+
contents.Parameters = deserializeAws_queryParametersList(smithy_client_1.getArrayIfSingleItem(output["Parameters"]["Parameter"]), context);
|
|
6784
6784
|
}
|
|
6785
6785
|
if (output["Marker"] !== undefined) {
|
|
6786
|
-
contents.Marker =
|
|
6786
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
6787
6787
|
}
|
|
6788
6788
|
return contents;
|
|
6789
6789
|
};
|
|
@@ -6802,7 +6802,7 @@ const deserializeAws_queryDBClusterParameterGroupNameMessage = (output, context)
|
|
|
6802
6802
|
DBClusterParameterGroupName: undefined,
|
|
6803
6803
|
};
|
|
6804
6804
|
if (output["DBClusterParameterGroupName"] !== undefined) {
|
|
6805
|
-
contents.DBClusterParameterGroupName =
|
|
6805
|
+
contents.DBClusterParameterGroupName = smithy_client_1.expectString(output["DBClusterParameterGroupName"]);
|
|
6806
6806
|
}
|
|
6807
6807
|
return contents;
|
|
6808
6808
|
};
|
|
@@ -6811,7 +6811,7 @@ const deserializeAws_queryDBClusterParameterGroupNotFoundFault = (output, contex
|
|
|
6811
6811
|
message: undefined,
|
|
6812
6812
|
};
|
|
6813
6813
|
if (output["message"] !== undefined) {
|
|
6814
|
-
contents.message =
|
|
6814
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6815
6815
|
}
|
|
6816
6816
|
return contents;
|
|
6817
6817
|
};
|
|
@@ -6821,14 +6821,14 @@ const deserializeAws_queryDBClusterParameterGroupsMessage = (output, context) =>
|
|
|
6821
6821
|
DBClusterParameterGroups: undefined,
|
|
6822
6822
|
};
|
|
6823
6823
|
if (output["Marker"] !== undefined) {
|
|
6824
|
-
contents.Marker =
|
|
6824
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
6825
6825
|
}
|
|
6826
6826
|
if (output.DBClusterParameterGroups === "") {
|
|
6827
6827
|
contents.DBClusterParameterGroups = [];
|
|
6828
6828
|
}
|
|
6829
6829
|
if (output["DBClusterParameterGroups"] !== undefined &&
|
|
6830
6830
|
output["DBClusterParameterGroups"]["DBClusterParameterGroup"] !== undefined) {
|
|
6831
|
-
contents.DBClusterParameterGroups = deserializeAws_queryDBClusterParameterGroupList(
|
|
6831
|
+
contents.DBClusterParameterGroups = deserializeAws_queryDBClusterParameterGroupList(smithy_client_1.getArrayIfSingleItem(output["DBClusterParameterGroups"]["DBClusterParameterGroup"]), context);
|
|
6832
6832
|
}
|
|
6833
6833
|
return contents;
|
|
6834
6834
|
};
|
|
@@ -6837,7 +6837,7 @@ const deserializeAws_queryDBClusterQuotaExceededFault = (output, context) => {
|
|
|
6837
6837
|
message: undefined,
|
|
6838
6838
|
};
|
|
6839
6839
|
if (output["message"] !== undefined) {
|
|
6840
|
-
contents.message =
|
|
6840
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6841
6841
|
}
|
|
6842
6842
|
return contents;
|
|
6843
6843
|
};
|
|
@@ -6847,10 +6847,10 @@ const deserializeAws_queryDBClusterRole = (output, context) => {
|
|
|
6847
6847
|
Status: undefined,
|
|
6848
6848
|
};
|
|
6849
6849
|
if (output["RoleArn"] !== undefined) {
|
|
6850
|
-
contents.RoleArn =
|
|
6850
|
+
contents.RoleArn = smithy_client_1.expectString(output["RoleArn"]);
|
|
6851
6851
|
}
|
|
6852
6852
|
if (output["Status"] !== undefined) {
|
|
6853
|
-
contents.Status =
|
|
6853
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
6854
6854
|
}
|
|
6855
6855
|
return contents;
|
|
6856
6856
|
};
|
|
@@ -6888,55 +6888,55 @@ const deserializeAws_queryDBClusterSnapshot = (output, context) => {
|
|
|
6888
6888
|
contents.AvailabilityZones = [];
|
|
6889
6889
|
}
|
|
6890
6890
|
if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
|
|
6891
|
-
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(
|
|
6891
|
+
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(smithy_client_1.getArrayIfSingleItem(output["AvailabilityZones"]["AvailabilityZone"]), context);
|
|
6892
6892
|
}
|
|
6893
6893
|
if (output["DBClusterSnapshotIdentifier"] !== undefined) {
|
|
6894
|
-
contents.DBClusterSnapshotIdentifier =
|
|
6894
|
+
contents.DBClusterSnapshotIdentifier = smithy_client_1.expectString(output["DBClusterSnapshotIdentifier"]);
|
|
6895
6895
|
}
|
|
6896
6896
|
if (output["DBClusterIdentifier"] !== undefined) {
|
|
6897
|
-
contents.DBClusterIdentifier =
|
|
6897
|
+
contents.DBClusterIdentifier = smithy_client_1.expectString(output["DBClusterIdentifier"]);
|
|
6898
6898
|
}
|
|
6899
6899
|
if (output["SnapshotCreateTime"] !== undefined) {
|
|
6900
|
-
contents.SnapshotCreateTime =
|
|
6900
|
+
contents.SnapshotCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["SnapshotCreateTime"]));
|
|
6901
6901
|
}
|
|
6902
6902
|
if (output["Engine"] !== undefined) {
|
|
6903
|
-
contents.Engine =
|
|
6903
|
+
contents.Engine = smithy_client_1.expectString(output["Engine"]);
|
|
6904
6904
|
}
|
|
6905
6905
|
if (output["Status"] !== undefined) {
|
|
6906
|
-
contents.Status =
|
|
6906
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
6907
6907
|
}
|
|
6908
6908
|
if (output["Port"] !== undefined) {
|
|
6909
|
-
contents.Port =
|
|
6909
|
+
contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
|
|
6910
6910
|
}
|
|
6911
6911
|
if (output["VpcId"] !== undefined) {
|
|
6912
|
-
contents.VpcId =
|
|
6912
|
+
contents.VpcId = smithy_client_1.expectString(output["VpcId"]);
|
|
6913
6913
|
}
|
|
6914
6914
|
if (output["ClusterCreateTime"] !== undefined) {
|
|
6915
|
-
contents.ClusterCreateTime =
|
|
6915
|
+
contents.ClusterCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ClusterCreateTime"]));
|
|
6916
6916
|
}
|
|
6917
6917
|
if (output["MasterUsername"] !== undefined) {
|
|
6918
|
-
contents.MasterUsername =
|
|
6918
|
+
contents.MasterUsername = smithy_client_1.expectString(output["MasterUsername"]);
|
|
6919
6919
|
}
|
|
6920
6920
|
if (output["EngineVersion"] !== undefined) {
|
|
6921
|
-
contents.EngineVersion =
|
|
6921
|
+
contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
|
|
6922
6922
|
}
|
|
6923
6923
|
if (output["SnapshotType"] !== undefined) {
|
|
6924
|
-
contents.SnapshotType =
|
|
6924
|
+
contents.SnapshotType = smithy_client_1.expectString(output["SnapshotType"]);
|
|
6925
6925
|
}
|
|
6926
6926
|
if (output["PercentProgress"] !== undefined) {
|
|
6927
|
-
contents.PercentProgress =
|
|
6927
|
+
contents.PercentProgress = smithy_client_1.strictParseInt32(output["PercentProgress"]);
|
|
6928
6928
|
}
|
|
6929
6929
|
if (output["StorageEncrypted"] !== undefined) {
|
|
6930
|
-
contents.StorageEncrypted =
|
|
6930
|
+
contents.StorageEncrypted = smithy_client_1.parseBoolean(output["StorageEncrypted"]);
|
|
6931
6931
|
}
|
|
6932
6932
|
if (output["KmsKeyId"] !== undefined) {
|
|
6933
|
-
contents.KmsKeyId =
|
|
6933
|
+
contents.KmsKeyId = smithy_client_1.expectString(output["KmsKeyId"]);
|
|
6934
6934
|
}
|
|
6935
6935
|
if (output["DBClusterSnapshotArn"] !== undefined) {
|
|
6936
|
-
contents.DBClusterSnapshotArn =
|
|
6936
|
+
contents.DBClusterSnapshotArn = smithy_client_1.expectString(output["DBClusterSnapshotArn"]);
|
|
6937
6937
|
}
|
|
6938
6938
|
if (output["SourceDBClusterSnapshotArn"] !== undefined) {
|
|
6939
|
-
contents.SourceDBClusterSnapshotArn =
|
|
6939
|
+
contents.SourceDBClusterSnapshotArn = smithy_client_1.expectString(output["SourceDBClusterSnapshotArn"]);
|
|
6940
6940
|
}
|
|
6941
6941
|
return contents;
|
|
6942
6942
|
};
|
|
@@ -6945,7 +6945,7 @@ const deserializeAws_queryDBClusterSnapshotAlreadyExistsFault = (output, context
|
|
|
6945
6945
|
message: undefined,
|
|
6946
6946
|
};
|
|
6947
6947
|
if (output["message"] !== undefined) {
|
|
6948
|
-
contents.message =
|
|
6948
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
6949
6949
|
}
|
|
6950
6950
|
return contents;
|
|
6951
6951
|
};
|
|
@@ -6955,13 +6955,13 @@ const deserializeAws_queryDBClusterSnapshotAttribute = (output, context) => {
|
|
|
6955
6955
|
AttributeValues: undefined,
|
|
6956
6956
|
};
|
|
6957
6957
|
if (output["AttributeName"] !== undefined) {
|
|
6958
|
-
contents.AttributeName =
|
|
6958
|
+
contents.AttributeName = smithy_client_1.expectString(output["AttributeName"]);
|
|
6959
6959
|
}
|
|
6960
6960
|
if (output.AttributeValues === "") {
|
|
6961
6961
|
contents.AttributeValues = [];
|
|
6962
6962
|
}
|
|
6963
6963
|
if (output["AttributeValues"] !== undefined && output["AttributeValues"]["AttributeValue"] !== undefined) {
|
|
6964
|
-
contents.AttributeValues = deserializeAws_queryAttributeValueList(
|
|
6964
|
+
contents.AttributeValues = deserializeAws_queryAttributeValueList(smithy_client_1.getArrayIfSingleItem(output["AttributeValues"]["AttributeValue"]), context);
|
|
6965
6965
|
}
|
|
6966
6966
|
return contents;
|
|
6967
6967
|
};
|
|
@@ -6981,14 +6981,14 @@ const deserializeAws_queryDBClusterSnapshotAttributesResult = (output, context)
|
|
|
6981
6981
|
DBClusterSnapshotAttributes: undefined,
|
|
6982
6982
|
};
|
|
6983
6983
|
if (output["DBClusterSnapshotIdentifier"] !== undefined) {
|
|
6984
|
-
contents.DBClusterSnapshotIdentifier =
|
|
6984
|
+
contents.DBClusterSnapshotIdentifier = smithy_client_1.expectString(output["DBClusterSnapshotIdentifier"]);
|
|
6985
6985
|
}
|
|
6986
6986
|
if (output.DBClusterSnapshotAttributes === "") {
|
|
6987
6987
|
contents.DBClusterSnapshotAttributes = [];
|
|
6988
6988
|
}
|
|
6989
6989
|
if (output["DBClusterSnapshotAttributes"] !== undefined &&
|
|
6990
6990
|
output["DBClusterSnapshotAttributes"]["DBClusterSnapshotAttribute"] !== undefined) {
|
|
6991
|
-
contents.DBClusterSnapshotAttributes = deserializeAws_queryDBClusterSnapshotAttributeList(
|
|
6991
|
+
contents.DBClusterSnapshotAttributes = deserializeAws_queryDBClusterSnapshotAttributeList(smithy_client_1.getArrayIfSingleItem(output["DBClusterSnapshotAttributes"]["DBClusterSnapshotAttribute"]), context);
|
|
6992
6992
|
}
|
|
6993
6993
|
return contents;
|
|
6994
6994
|
};
|
|
@@ -7008,13 +7008,13 @@ const deserializeAws_queryDBClusterSnapshotMessage = (output, context) => {
|
|
|
7008
7008
|
DBClusterSnapshots: undefined,
|
|
7009
7009
|
};
|
|
7010
7010
|
if (output["Marker"] !== undefined) {
|
|
7011
|
-
contents.Marker =
|
|
7011
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
7012
7012
|
}
|
|
7013
7013
|
if (output.DBClusterSnapshots === "") {
|
|
7014
7014
|
contents.DBClusterSnapshots = [];
|
|
7015
7015
|
}
|
|
7016
7016
|
if (output["DBClusterSnapshots"] !== undefined && output["DBClusterSnapshots"]["DBClusterSnapshot"] !== undefined) {
|
|
7017
|
-
contents.DBClusterSnapshots = deserializeAws_queryDBClusterSnapshotList(
|
|
7017
|
+
contents.DBClusterSnapshots = deserializeAws_queryDBClusterSnapshotList(smithy_client_1.getArrayIfSingleItem(output["DBClusterSnapshots"]["DBClusterSnapshot"]), context);
|
|
7018
7018
|
}
|
|
7019
7019
|
return contents;
|
|
7020
7020
|
};
|
|
@@ -7023,7 +7023,7 @@ const deserializeAws_queryDBClusterSnapshotNotFoundFault = (output, context) =>
|
|
|
7023
7023
|
message: undefined,
|
|
7024
7024
|
};
|
|
7025
7025
|
if (output["message"] !== undefined) {
|
|
7026
|
-
contents.message =
|
|
7026
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7027
7027
|
}
|
|
7028
7028
|
return contents;
|
|
7029
7029
|
};
|
|
@@ -7039,34 +7039,34 @@ const deserializeAws_queryDBEngineVersion = (output, context) => {
|
|
|
7039
7039
|
SupportsLogExportsToCloudwatchLogs: undefined,
|
|
7040
7040
|
};
|
|
7041
7041
|
if (output["Engine"] !== undefined) {
|
|
7042
|
-
contents.Engine =
|
|
7042
|
+
contents.Engine = smithy_client_1.expectString(output["Engine"]);
|
|
7043
7043
|
}
|
|
7044
7044
|
if (output["EngineVersion"] !== undefined) {
|
|
7045
|
-
contents.EngineVersion =
|
|
7045
|
+
contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
|
|
7046
7046
|
}
|
|
7047
7047
|
if (output["DBParameterGroupFamily"] !== undefined) {
|
|
7048
|
-
contents.DBParameterGroupFamily =
|
|
7048
|
+
contents.DBParameterGroupFamily = smithy_client_1.expectString(output["DBParameterGroupFamily"]);
|
|
7049
7049
|
}
|
|
7050
7050
|
if (output["DBEngineDescription"] !== undefined) {
|
|
7051
|
-
contents.DBEngineDescription =
|
|
7051
|
+
contents.DBEngineDescription = smithy_client_1.expectString(output["DBEngineDescription"]);
|
|
7052
7052
|
}
|
|
7053
7053
|
if (output["DBEngineVersionDescription"] !== undefined) {
|
|
7054
|
-
contents.DBEngineVersionDescription =
|
|
7054
|
+
contents.DBEngineVersionDescription = smithy_client_1.expectString(output["DBEngineVersionDescription"]);
|
|
7055
7055
|
}
|
|
7056
7056
|
if (output.ValidUpgradeTarget === "") {
|
|
7057
7057
|
contents.ValidUpgradeTarget = [];
|
|
7058
7058
|
}
|
|
7059
7059
|
if (output["ValidUpgradeTarget"] !== undefined && output["ValidUpgradeTarget"]["UpgradeTarget"] !== undefined) {
|
|
7060
|
-
contents.ValidUpgradeTarget = deserializeAws_queryValidUpgradeTargetList(
|
|
7060
|
+
contents.ValidUpgradeTarget = deserializeAws_queryValidUpgradeTargetList(smithy_client_1.getArrayIfSingleItem(output["ValidUpgradeTarget"]["UpgradeTarget"]), context);
|
|
7061
7061
|
}
|
|
7062
7062
|
if (output.ExportableLogTypes === "") {
|
|
7063
7063
|
contents.ExportableLogTypes = [];
|
|
7064
7064
|
}
|
|
7065
7065
|
if (output["ExportableLogTypes"] !== undefined && output["ExportableLogTypes"]["member"] !== undefined) {
|
|
7066
|
-
contents.ExportableLogTypes = deserializeAws_queryLogTypeList(
|
|
7066
|
+
contents.ExportableLogTypes = deserializeAws_queryLogTypeList(smithy_client_1.getArrayIfSingleItem(output["ExportableLogTypes"]["member"]), context);
|
|
7067
7067
|
}
|
|
7068
7068
|
if (output["SupportsLogExportsToCloudwatchLogs"] !== undefined) {
|
|
7069
|
-
contents.SupportsLogExportsToCloudwatchLogs =
|
|
7069
|
+
contents.SupportsLogExportsToCloudwatchLogs = smithy_client_1.parseBoolean(output["SupportsLogExportsToCloudwatchLogs"]);
|
|
7070
7070
|
}
|
|
7071
7071
|
return contents;
|
|
7072
7072
|
};
|
|
@@ -7086,13 +7086,13 @@ const deserializeAws_queryDBEngineVersionMessage = (output, context) => {
|
|
|
7086
7086
|
DBEngineVersions: undefined,
|
|
7087
7087
|
};
|
|
7088
7088
|
if (output["Marker"] !== undefined) {
|
|
7089
|
-
contents.Marker =
|
|
7089
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
7090
7090
|
}
|
|
7091
7091
|
if (output.DBEngineVersions === "") {
|
|
7092
7092
|
contents.DBEngineVersions = [];
|
|
7093
7093
|
}
|
|
7094
7094
|
if (output["DBEngineVersions"] !== undefined && output["DBEngineVersions"]["DBEngineVersion"] !== undefined) {
|
|
7095
|
-
contents.DBEngineVersions = deserializeAws_queryDBEngineVersionList(
|
|
7095
|
+
contents.DBEngineVersions = deserializeAws_queryDBEngineVersionList(smithy_client_1.getArrayIfSingleItem(output["DBEngineVersions"]["DBEngineVersion"]), context);
|
|
7096
7096
|
}
|
|
7097
7097
|
return contents;
|
|
7098
7098
|
};
|
|
@@ -7126,93 +7126,93 @@ const deserializeAws_queryDBInstance = (output, context) => {
|
|
|
7126
7126
|
EnabledCloudwatchLogsExports: undefined,
|
|
7127
7127
|
};
|
|
7128
7128
|
if (output["DBInstanceIdentifier"] !== undefined) {
|
|
7129
|
-
contents.DBInstanceIdentifier =
|
|
7129
|
+
contents.DBInstanceIdentifier = smithy_client_1.expectString(output["DBInstanceIdentifier"]);
|
|
7130
7130
|
}
|
|
7131
7131
|
if (output["DBInstanceClass"] !== undefined) {
|
|
7132
|
-
contents.DBInstanceClass =
|
|
7132
|
+
contents.DBInstanceClass = smithy_client_1.expectString(output["DBInstanceClass"]);
|
|
7133
7133
|
}
|
|
7134
7134
|
if (output["Engine"] !== undefined) {
|
|
7135
|
-
contents.Engine =
|
|
7135
|
+
contents.Engine = smithy_client_1.expectString(output["Engine"]);
|
|
7136
7136
|
}
|
|
7137
7137
|
if (output["DBInstanceStatus"] !== undefined) {
|
|
7138
|
-
contents.DBInstanceStatus =
|
|
7138
|
+
contents.DBInstanceStatus = smithy_client_1.expectString(output["DBInstanceStatus"]);
|
|
7139
7139
|
}
|
|
7140
7140
|
if (output["Endpoint"] !== undefined) {
|
|
7141
7141
|
contents.Endpoint = deserializeAws_queryEndpoint(output["Endpoint"], context);
|
|
7142
7142
|
}
|
|
7143
7143
|
if (output["InstanceCreateTime"] !== undefined) {
|
|
7144
|
-
contents.InstanceCreateTime =
|
|
7144
|
+
contents.InstanceCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["InstanceCreateTime"]));
|
|
7145
7145
|
}
|
|
7146
7146
|
if (output["PreferredBackupWindow"] !== undefined) {
|
|
7147
|
-
contents.PreferredBackupWindow =
|
|
7147
|
+
contents.PreferredBackupWindow = smithy_client_1.expectString(output["PreferredBackupWindow"]);
|
|
7148
7148
|
}
|
|
7149
7149
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
7150
|
-
contents.BackupRetentionPeriod =
|
|
7150
|
+
contents.BackupRetentionPeriod = smithy_client_1.strictParseInt32(output["BackupRetentionPeriod"]);
|
|
7151
7151
|
}
|
|
7152
7152
|
if (output.VpcSecurityGroups === "") {
|
|
7153
7153
|
contents.VpcSecurityGroups = [];
|
|
7154
7154
|
}
|
|
7155
7155
|
if (output["VpcSecurityGroups"] !== undefined &&
|
|
7156
7156
|
output["VpcSecurityGroups"]["VpcSecurityGroupMembership"] !== undefined) {
|
|
7157
|
-
contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList(
|
|
7157
|
+
contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList(smithy_client_1.getArrayIfSingleItem(output["VpcSecurityGroups"]["VpcSecurityGroupMembership"]), context);
|
|
7158
7158
|
}
|
|
7159
7159
|
if (output["AvailabilityZone"] !== undefined) {
|
|
7160
|
-
contents.AvailabilityZone =
|
|
7160
|
+
contents.AvailabilityZone = smithy_client_1.expectString(output["AvailabilityZone"]);
|
|
7161
7161
|
}
|
|
7162
7162
|
if (output["DBSubnetGroup"] !== undefined) {
|
|
7163
7163
|
contents.DBSubnetGroup = deserializeAws_queryDBSubnetGroup(output["DBSubnetGroup"], context);
|
|
7164
7164
|
}
|
|
7165
7165
|
if (output["PreferredMaintenanceWindow"] !== undefined) {
|
|
7166
|
-
contents.PreferredMaintenanceWindow =
|
|
7166
|
+
contents.PreferredMaintenanceWindow = smithy_client_1.expectString(output["PreferredMaintenanceWindow"]);
|
|
7167
7167
|
}
|
|
7168
7168
|
if (output["PendingModifiedValues"] !== undefined) {
|
|
7169
7169
|
contents.PendingModifiedValues = deserializeAws_queryPendingModifiedValues(output["PendingModifiedValues"], context);
|
|
7170
7170
|
}
|
|
7171
7171
|
if (output["LatestRestorableTime"] !== undefined) {
|
|
7172
|
-
contents.LatestRestorableTime =
|
|
7172
|
+
contents.LatestRestorableTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LatestRestorableTime"]));
|
|
7173
7173
|
}
|
|
7174
7174
|
if (output["EngineVersion"] !== undefined) {
|
|
7175
|
-
contents.EngineVersion =
|
|
7175
|
+
contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
|
|
7176
7176
|
}
|
|
7177
7177
|
if (output["AutoMinorVersionUpgrade"] !== undefined) {
|
|
7178
|
-
contents.AutoMinorVersionUpgrade =
|
|
7178
|
+
contents.AutoMinorVersionUpgrade = smithy_client_1.parseBoolean(output["AutoMinorVersionUpgrade"]);
|
|
7179
7179
|
}
|
|
7180
7180
|
if (output["PubliclyAccessible"] !== undefined) {
|
|
7181
|
-
contents.PubliclyAccessible =
|
|
7181
|
+
contents.PubliclyAccessible = smithy_client_1.parseBoolean(output["PubliclyAccessible"]);
|
|
7182
7182
|
}
|
|
7183
7183
|
if (output.StatusInfos === "") {
|
|
7184
7184
|
contents.StatusInfos = [];
|
|
7185
7185
|
}
|
|
7186
7186
|
if (output["StatusInfos"] !== undefined && output["StatusInfos"]["DBInstanceStatusInfo"] !== undefined) {
|
|
7187
|
-
contents.StatusInfos = deserializeAws_queryDBInstanceStatusInfoList(
|
|
7187
|
+
contents.StatusInfos = deserializeAws_queryDBInstanceStatusInfoList(smithy_client_1.getArrayIfSingleItem(output["StatusInfos"]["DBInstanceStatusInfo"]), context);
|
|
7188
7188
|
}
|
|
7189
7189
|
if (output["DBClusterIdentifier"] !== undefined) {
|
|
7190
|
-
contents.DBClusterIdentifier =
|
|
7190
|
+
contents.DBClusterIdentifier = smithy_client_1.expectString(output["DBClusterIdentifier"]);
|
|
7191
7191
|
}
|
|
7192
7192
|
if (output["StorageEncrypted"] !== undefined) {
|
|
7193
|
-
contents.StorageEncrypted =
|
|
7193
|
+
contents.StorageEncrypted = smithy_client_1.parseBoolean(output["StorageEncrypted"]);
|
|
7194
7194
|
}
|
|
7195
7195
|
if (output["KmsKeyId"] !== undefined) {
|
|
7196
|
-
contents.KmsKeyId =
|
|
7196
|
+
contents.KmsKeyId = smithy_client_1.expectString(output["KmsKeyId"]);
|
|
7197
7197
|
}
|
|
7198
7198
|
if (output["DbiResourceId"] !== undefined) {
|
|
7199
|
-
contents.DbiResourceId =
|
|
7199
|
+
contents.DbiResourceId = smithy_client_1.expectString(output["DbiResourceId"]);
|
|
7200
7200
|
}
|
|
7201
7201
|
if (output["CACertificateIdentifier"] !== undefined) {
|
|
7202
|
-
contents.CACertificateIdentifier =
|
|
7202
|
+
contents.CACertificateIdentifier = smithy_client_1.expectString(output["CACertificateIdentifier"]);
|
|
7203
7203
|
}
|
|
7204
7204
|
if (output["PromotionTier"] !== undefined) {
|
|
7205
|
-
contents.PromotionTier =
|
|
7205
|
+
contents.PromotionTier = smithy_client_1.strictParseInt32(output["PromotionTier"]);
|
|
7206
7206
|
}
|
|
7207
7207
|
if (output["DBInstanceArn"] !== undefined) {
|
|
7208
|
-
contents.DBInstanceArn =
|
|
7208
|
+
contents.DBInstanceArn = smithy_client_1.expectString(output["DBInstanceArn"]);
|
|
7209
7209
|
}
|
|
7210
7210
|
if (output.EnabledCloudwatchLogsExports === "") {
|
|
7211
7211
|
contents.EnabledCloudwatchLogsExports = [];
|
|
7212
7212
|
}
|
|
7213
7213
|
if (output["EnabledCloudwatchLogsExports"] !== undefined &&
|
|
7214
7214
|
output["EnabledCloudwatchLogsExports"]["member"] !== undefined) {
|
|
7215
|
-
contents.EnabledCloudwatchLogsExports = deserializeAws_queryLogTypeList(
|
|
7215
|
+
contents.EnabledCloudwatchLogsExports = deserializeAws_queryLogTypeList(smithy_client_1.getArrayIfSingleItem(output["EnabledCloudwatchLogsExports"]["member"]), context);
|
|
7216
7216
|
}
|
|
7217
7217
|
return contents;
|
|
7218
7218
|
};
|
|
@@ -7221,7 +7221,7 @@ const deserializeAws_queryDBInstanceAlreadyExistsFault = (output, context) => {
|
|
|
7221
7221
|
message: undefined,
|
|
7222
7222
|
};
|
|
7223
7223
|
if (output["message"] !== undefined) {
|
|
7224
|
-
contents.message =
|
|
7224
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7225
7225
|
}
|
|
7226
7226
|
return contents;
|
|
7227
7227
|
};
|
|
@@ -7241,13 +7241,13 @@ const deserializeAws_queryDBInstanceMessage = (output, context) => {
|
|
|
7241
7241
|
DBInstances: undefined,
|
|
7242
7242
|
};
|
|
7243
7243
|
if (output["Marker"] !== undefined) {
|
|
7244
|
-
contents.Marker =
|
|
7244
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
7245
7245
|
}
|
|
7246
7246
|
if (output.DBInstances === "") {
|
|
7247
7247
|
contents.DBInstances = [];
|
|
7248
7248
|
}
|
|
7249
7249
|
if (output["DBInstances"] !== undefined && output["DBInstances"]["DBInstance"] !== undefined) {
|
|
7250
|
-
contents.DBInstances = deserializeAws_queryDBInstanceList(
|
|
7250
|
+
contents.DBInstances = deserializeAws_queryDBInstanceList(smithy_client_1.getArrayIfSingleItem(output["DBInstances"]["DBInstance"]), context);
|
|
7251
7251
|
}
|
|
7252
7252
|
return contents;
|
|
7253
7253
|
};
|
|
@@ -7256,7 +7256,7 @@ const deserializeAws_queryDBInstanceNotFoundFault = (output, context) => {
|
|
|
7256
7256
|
message: undefined,
|
|
7257
7257
|
};
|
|
7258
7258
|
if (output["message"] !== undefined) {
|
|
7259
|
-
contents.message =
|
|
7259
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7260
7260
|
}
|
|
7261
7261
|
return contents;
|
|
7262
7262
|
};
|
|
@@ -7268,16 +7268,16 @@ const deserializeAws_queryDBInstanceStatusInfo = (output, context) => {
|
|
|
7268
7268
|
Message: undefined,
|
|
7269
7269
|
};
|
|
7270
7270
|
if (output["StatusType"] !== undefined) {
|
|
7271
|
-
contents.StatusType =
|
|
7271
|
+
contents.StatusType = smithy_client_1.expectString(output["StatusType"]);
|
|
7272
7272
|
}
|
|
7273
7273
|
if (output["Normal"] !== undefined) {
|
|
7274
|
-
contents.Normal =
|
|
7274
|
+
contents.Normal = smithy_client_1.parseBoolean(output["Normal"]);
|
|
7275
7275
|
}
|
|
7276
7276
|
if (output["Status"] !== undefined) {
|
|
7277
|
-
contents.Status =
|
|
7277
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
7278
7278
|
}
|
|
7279
7279
|
if (output["Message"] !== undefined) {
|
|
7280
|
-
contents.Message =
|
|
7280
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
7281
7281
|
}
|
|
7282
7282
|
return contents;
|
|
7283
7283
|
};
|
|
@@ -7296,7 +7296,7 @@ const deserializeAws_queryDBParameterGroupAlreadyExistsFault = (output, context)
|
|
|
7296
7296
|
message: undefined,
|
|
7297
7297
|
};
|
|
7298
7298
|
if (output["message"] !== undefined) {
|
|
7299
|
-
contents.message =
|
|
7299
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7300
7300
|
}
|
|
7301
7301
|
return contents;
|
|
7302
7302
|
};
|
|
@@ -7305,7 +7305,7 @@ const deserializeAws_queryDBParameterGroupNotFoundFault = (output, context) => {
|
|
|
7305
7305
|
message: undefined,
|
|
7306
7306
|
};
|
|
7307
7307
|
if (output["message"] !== undefined) {
|
|
7308
|
-
contents.message =
|
|
7308
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7309
7309
|
}
|
|
7310
7310
|
return contents;
|
|
7311
7311
|
};
|
|
@@ -7314,7 +7314,7 @@ const deserializeAws_queryDBParameterGroupQuotaExceededFault = (output, context)
|
|
|
7314
7314
|
message: undefined,
|
|
7315
7315
|
};
|
|
7316
7316
|
if (output["message"] !== undefined) {
|
|
7317
|
-
contents.message =
|
|
7317
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7318
7318
|
}
|
|
7319
7319
|
return contents;
|
|
7320
7320
|
};
|
|
@@ -7323,7 +7323,7 @@ const deserializeAws_queryDBSecurityGroupNotFoundFault = (output, context) => {
|
|
|
7323
7323
|
message: undefined,
|
|
7324
7324
|
};
|
|
7325
7325
|
if (output["message"] !== undefined) {
|
|
7326
|
-
contents.message =
|
|
7326
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7327
7327
|
}
|
|
7328
7328
|
return contents;
|
|
7329
7329
|
};
|
|
@@ -7332,7 +7332,7 @@ const deserializeAws_queryDBSnapshotAlreadyExistsFault = (output, context) => {
|
|
|
7332
7332
|
message: undefined,
|
|
7333
7333
|
};
|
|
7334
7334
|
if (output["message"] !== undefined) {
|
|
7335
|
-
contents.message =
|
|
7335
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7336
7336
|
}
|
|
7337
7337
|
return contents;
|
|
7338
7338
|
};
|
|
@@ -7341,7 +7341,7 @@ const deserializeAws_queryDBSnapshotNotFoundFault = (output, context) => {
|
|
|
7341
7341
|
message: undefined,
|
|
7342
7342
|
};
|
|
7343
7343
|
if (output["message"] !== undefined) {
|
|
7344
|
-
contents.message =
|
|
7344
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7345
7345
|
}
|
|
7346
7346
|
return contents;
|
|
7347
7347
|
};
|
|
@@ -7355,25 +7355,25 @@ const deserializeAws_queryDBSubnetGroup = (output, context) => {
|
|
|
7355
7355
|
DBSubnetGroupArn: undefined,
|
|
7356
7356
|
};
|
|
7357
7357
|
if (output["DBSubnetGroupName"] !== undefined) {
|
|
7358
|
-
contents.DBSubnetGroupName =
|
|
7358
|
+
contents.DBSubnetGroupName = smithy_client_1.expectString(output["DBSubnetGroupName"]);
|
|
7359
7359
|
}
|
|
7360
7360
|
if (output["DBSubnetGroupDescription"] !== undefined) {
|
|
7361
|
-
contents.DBSubnetGroupDescription =
|
|
7361
|
+
contents.DBSubnetGroupDescription = smithy_client_1.expectString(output["DBSubnetGroupDescription"]);
|
|
7362
7362
|
}
|
|
7363
7363
|
if (output["VpcId"] !== undefined) {
|
|
7364
|
-
contents.VpcId =
|
|
7364
|
+
contents.VpcId = smithy_client_1.expectString(output["VpcId"]);
|
|
7365
7365
|
}
|
|
7366
7366
|
if (output["SubnetGroupStatus"] !== undefined) {
|
|
7367
|
-
contents.SubnetGroupStatus =
|
|
7367
|
+
contents.SubnetGroupStatus = smithy_client_1.expectString(output["SubnetGroupStatus"]);
|
|
7368
7368
|
}
|
|
7369
7369
|
if (output.Subnets === "") {
|
|
7370
7370
|
contents.Subnets = [];
|
|
7371
7371
|
}
|
|
7372
7372
|
if (output["Subnets"] !== undefined && output["Subnets"]["Subnet"] !== undefined) {
|
|
7373
|
-
contents.Subnets = deserializeAws_querySubnetList(
|
|
7373
|
+
contents.Subnets = deserializeAws_querySubnetList(smithy_client_1.getArrayIfSingleItem(output["Subnets"]["Subnet"]), context);
|
|
7374
7374
|
}
|
|
7375
7375
|
if (output["DBSubnetGroupArn"] !== undefined) {
|
|
7376
|
-
contents.DBSubnetGroupArn =
|
|
7376
|
+
contents.DBSubnetGroupArn = smithy_client_1.expectString(output["DBSubnetGroupArn"]);
|
|
7377
7377
|
}
|
|
7378
7378
|
return contents;
|
|
7379
7379
|
};
|
|
@@ -7382,7 +7382,7 @@ const deserializeAws_queryDBSubnetGroupAlreadyExistsFault = (output, context) =>
|
|
|
7382
7382
|
message: undefined,
|
|
7383
7383
|
};
|
|
7384
7384
|
if (output["message"] !== undefined) {
|
|
7385
|
-
contents.message =
|
|
7385
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7386
7386
|
}
|
|
7387
7387
|
return contents;
|
|
7388
7388
|
};
|
|
@@ -7391,7 +7391,7 @@ const deserializeAws_queryDBSubnetGroupDoesNotCoverEnoughAZs = (output, context)
|
|
|
7391
7391
|
message: undefined,
|
|
7392
7392
|
};
|
|
7393
7393
|
if (output["message"] !== undefined) {
|
|
7394
|
-
contents.message =
|
|
7394
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7395
7395
|
}
|
|
7396
7396
|
return contents;
|
|
7397
7397
|
};
|
|
@@ -7401,13 +7401,13 @@ const deserializeAws_queryDBSubnetGroupMessage = (output, context) => {
|
|
|
7401
7401
|
DBSubnetGroups: undefined,
|
|
7402
7402
|
};
|
|
7403
7403
|
if (output["Marker"] !== undefined) {
|
|
7404
|
-
contents.Marker =
|
|
7404
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
7405
7405
|
}
|
|
7406
7406
|
if (output.DBSubnetGroups === "") {
|
|
7407
7407
|
contents.DBSubnetGroups = [];
|
|
7408
7408
|
}
|
|
7409
7409
|
if (output["DBSubnetGroups"] !== undefined && output["DBSubnetGroups"]["DBSubnetGroup"] !== undefined) {
|
|
7410
|
-
contents.DBSubnetGroups = deserializeAws_queryDBSubnetGroups(
|
|
7410
|
+
contents.DBSubnetGroups = deserializeAws_queryDBSubnetGroups(smithy_client_1.getArrayIfSingleItem(output["DBSubnetGroups"]["DBSubnetGroup"]), context);
|
|
7411
7411
|
}
|
|
7412
7412
|
return contents;
|
|
7413
7413
|
};
|
|
@@ -7416,7 +7416,7 @@ const deserializeAws_queryDBSubnetGroupNotFoundFault = (output, context) => {
|
|
|
7416
7416
|
message: undefined,
|
|
7417
7417
|
};
|
|
7418
7418
|
if (output["message"] !== undefined) {
|
|
7419
|
-
contents.message =
|
|
7419
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7420
7420
|
}
|
|
7421
7421
|
return contents;
|
|
7422
7422
|
};
|
|
@@ -7425,7 +7425,7 @@ const deserializeAws_queryDBSubnetGroupQuotaExceededFault = (output, context) =>
|
|
|
7425
7425
|
message: undefined,
|
|
7426
7426
|
};
|
|
7427
7427
|
if (output["message"] !== undefined) {
|
|
7428
|
-
contents.message =
|
|
7428
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7429
7429
|
}
|
|
7430
7430
|
return contents;
|
|
7431
7431
|
};
|
|
@@ -7444,7 +7444,7 @@ const deserializeAws_queryDBSubnetQuotaExceededFault = (output, context) => {
|
|
|
7444
7444
|
message: undefined,
|
|
7445
7445
|
};
|
|
7446
7446
|
if (output["message"] !== undefined) {
|
|
7447
|
-
contents.message =
|
|
7447
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7448
7448
|
}
|
|
7449
7449
|
return contents;
|
|
7450
7450
|
};
|
|
@@ -7453,7 +7453,7 @@ const deserializeAws_queryDBUpgradeDependencyFailureFault = (output, context) =>
|
|
|
7453
7453
|
message: undefined,
|
|
7454
7454
|
};
|
|
7455
7455
|
if (output["message"] !== undefined) {
|
|
7456
|
-
contents.message =
|
|
7456
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7457
7457
|
}
|
|
7458
7458
|
return contents;
|
|
7459
7459
|
};
|
|
@@ -7527,13 +7527,13 @@ const deserializeAws_queryEndpoint = (output, context) => {
|
|
|
7527
7527
|
HostedZoneId: undefined,
|
|
7528
7528
|
};
|
|
7529
7529
|
if (output["Address"] !== undefined) {
|
|
7530
|
-
contents.Address =
|
|
7530
|
+
contents.Address = smithy_client_1.expectString(output["Address"]);
|
|
7531
7531
|
}
|
|
7532
7532
|
if (output["Port"] !== undefined) {
|
|
7533
|
-
contents.Port =
|
|
7533
|
+
contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
|
|
7534
7534
|
}
|
|
7535
7535
|
if (output["HostedZoneId"] !== undefined) {
|
|
7536
|
-
contents.HostedZoneId =
|
|
7536
|
+
contents.HostedZoneId = smithy_client_1.expectString(output["HostedZoneId"]);
|
|
7537
7537
|
}
|
|
7538
7538
|
return contents;
|
|
7539
7539
|
};
|
|
@@ -7544,16 +7544,16 @@ const deserializeAws_queryEngineDefaults = (output, context) => {
|
|
|
7544
7544
|
Parameters: undefined,
|
|
7545
7545
|
};
|
|
7546
7546
|
if (output["DBParameterGroupFamily"] !== undefined) {
|
|
7547
|
-
contents.DBParameterGroupFamily =
|
|
7547
|
+
contents.DBParameterGroupFamily = smithy_client_1.expectString(output["DBParameterGroupFamily"]);
|
|
7548
7548
|
}
|
|
7549
7549
|
if (output["Marker"] !== undefined) {
|
|
7550
|
-
contents.Marker =
|
|
7550
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
7551
7551
|
}
|
|
7552
7552
|
if (output.Parameters === "") {
|
|
7553
7553
|
contents.Parameters = [];
|
|
7554
7554
|
}
|
|
7555
7555
|
if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
|
|
7556
|
-
contents.Parameters = deserializeAws_queryParametersList(
|
|
7556
|
+
contents.Parameters = deserializeAws_queryParametersList(smithy_client_1.getArrayIfSingleItem(output["Parameters"]["Parameter"]), context);
|
|
7557
7557
|
}
|
|
7558
7558
|
return contents;
|
|
7559
7559
|
};
|
|
@@ -7567,25 +7567,25 @@ const deserializeAws_queryEvent = (output, context) => {
|
|
|
7567
7567
|
SourceArn: undefined,
|
|
7568
7568
|
};
|
|
7569
7569
|
if (output["SourceIdentifier"] !== undefined) {
|
|
7570
|
-
contents.SourceIdentifier =
|
|
7570
|
+
contents.SourceIdentifier = smithy_client_1.expectString(output["SourceIdentifier"]);
|
|
7571
7571
|
}
|
|
7572
7572
|
if (output["SourceType"] !== undefined) {
|
|
7573
|
-
contents.SourceType =
|
|
7573
|
+
contents.SourceType = smithy_client_1.expectString(output["SourceType"]);
|
|
7574
7574
|
}
|
|
7575
7575
|
if (output["Message"] !== undefined) {
|
|
7576
|
-
contents.Message =
|
|
7576
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
7577
7577
|
}
|
|
7578
7578
|
if (output.EventCategories === "") {
|
|
7579
7579
|
contents.EventCategories = [];
|
|
7580
7580
|
}
|
|
7581
7581
|
if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
|
|
7582
|
-
contents.EventCategories = deserializeAws_queryEventCategoriesList(
|
|
7582
|
+
contents.EventCategories = deserializeAws_queryEventCategoriesList(smithy_client_1.getArrayIfSingleItem(output["EventCategories"]["EventCategory"]), context);
|
|
7583
7583
|
}
|
|
7584
7584
|
if (output["Date"] !== undefined) {
|
|
7585
|
-
contents.Date =
|
|
7585
|
+
contents.Date = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Date"]));
|
|
7586
7586
|
}
|
|
7587
7587
|
if (output["SourceArn"] !== undefined) {
|
|
7588
|
-
contents.SourceArn =
|
|
7588
|
+
contents.SourceArn = smithy_client_1.expectString(output["SourceArn"]);
|
|
7589
7589
|
}
|
|
7590
7590
|
return contents;
|
|
7591
7591
|
};
|
|
@@ -7596,7 +7596,7 @@ const deserializeAws_queryEventCategoriesList = (output, context) => {
|
|
|
7596
7596
|
if (entry === null) {
|
|
7597
7597
|
return null;
|
|
7598
7598
|
}
|
|
7599
|
-
return
|
|
7599
|
+
return smithy_client_1.expectString(entry);
|
|
7600
7600
|
});
|
|
7601
7601
|
};
|
|
7602
7602
|
const deserializeAws_queryEventCategoriesMap = (output, context) => {
|
|
@@ -7605,13 +7605,13 @@ const deserializeAws_queryEventCategoriesMap = (output, context) => {
|
|
|
7605
7605
|
EventCategories: undefined,
|
|
7606
7606
|
};
|
|
7607
7607
|
if (output["SourceType"] !== undefined) {
|
|
7608
|
-
contents.SourceType =
|
|
7608
|
+
contents.SourceType = smithy_client_1.expectString(output["SourceType"]);
|
|
7609
7609
|
}
|
|
7610
7610
|
if (output.EventCategories === "") {
|
|
7611
7611
|
contents.EventCategories = [];
|
|
7612
7612
|
}
|
|
7613
7613
|
if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
|
|
7614
|
-
contents.EventCategories = deserializeAws_queryEventCategoriesList(
|
|
7614
|
+
contents.EventCategories = deserializeAws_queryEventCategoriesList(smithy_client_1.getArrayIfSingleItem(output["EventCategories"]["EventCategory"]), context);
|
|
7615
7615
|
}
|
|
7616
7616
|
return contents;
|
|
7617
7617
|
};
|
|
@@ -7634,7 +7634,7 @@ const deserializeAws_queryEventCategoriesMessage = (output, context) => {
|
|
|
7634
7634
|
}
|
|
7635
7635
|
if (output["EventCategoriesMapList"] !== undefined &&
|
|
7636
7636
|
output["EventCategoriesMapList"]["EventCategoriesMap"] !== undefined) {
|
|
7637
|
-
contents.EventCategoriesMapList = deserializeAws_queryEventCategoriesMapList(
|
|
7637
|
+
contents.EventCategoriesMapList = deserializeAws_queryEventCategoriesMapList(smithy_client_1.getArrayIfSingleItem(output["EventCategoriesMapList"]["EventCategoriesMap"]), context);
|
|
7638
7638
|
}
|
|
7639
7639
|
return contents;
|
|
7640
7640
|
};
|
|
@@ -7654,13 +7654,13 @@ const deserializeAws_queryEventsMessage = (output, context) => {
|
|
|
7654
7654
|
Events: undefined,
|
|
7655
7655
|
};
|
|
7656
7656
|
if (output["Marker"] !== undefined) {
|
|
7657
|
-
contents.Marker =
|
|
7657
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
7658
7658
|
}
|
|
7659
7659
|
if (output.Events === "") {
|
|
7660
7660
|
contents.Events = [];
|
|
7661
7661
|
}
|
|
7662
7662
|
if (output["Events"] !== undefined && output["Events"]["Event"] !== undefined) {
|
|
7663
|
-
contents.Events = deserializeAws_queryEventList(
|
|
7663
|
+
contents.Events = deserializeAws_queryEventList(smithy_client_1.getArrayIfSingleItem(output["Events"]["Event"]), context);
|
|
7664
7664
|
}
|
|
7665
7665
|
return contents;
|
|
7666
7666
|
};
|
|
@@ -7678,40 +7678,40 @@ const deserializeAws_queryEventSubscription = (output, context) => {
|
|
|
7678
7678
|
EventSubscriptionArn: undefined,
|
|
7679
7679
|
};
|
|
7680
7680
|
if (output["CustomerAwsId"] !== undefined) {
|
|
7681
|
-
contents.CustomerAwsId =
|
|
7681
|
+
contents.CustomerAwsId = smithy_client_1.expectString(output["CustomerAwsId"]);
|
|
7682
7682
|
}
|
|
7683
7683
|
if (output["CustSubscriptionId"] !== undefined) {
|
|
7684
|
-
contents.CustSubscriptionId =
|
|
7684
|
+
contents.CustSubscriptionId = smithy_client_1.expectString(output["CustSubscriptionId"]);
|
|
7685
7685
|
}
|
|
7686
7686
|
if (output["SnsTopicArn"] !== undefined) {
|
|
7687
|
-
contents.SnsTopicArn =
|
|
7687
|
+
contents.SnsTopicArn = smithy_client_1.expectString(output["SnsTopicArn"]);
|
|
7688
7688
|
}
|
|
7689
7689
|
if (output["Status"] !== undefined) {
|
|
7690
|
-
contents.Status =
|
|
7690
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
7691
7691
|
}
|
|
7692
7692
|
if (output["SubscriptionCreationTime"] !== undefined) {
|
|
7693
|
-
contents.SubscriptionCreationTime =
|
|
7693
|
+
contents.SubscriptionCreationTime = smithy_client_1.expectString(output["SubscriptionCreationTime"]);
|
|
7694
7694
|
}
|
|
7695
7695
|
if (output["SourceType"] !== undefined) {
|
|
7696
|
-
contents.SourceType =
|
|
7696
|
+
contents.SourceType = smithy_client_1.expectString(output["SourceType"]);
|
|
7697
7697
|
}
|
|
7698
7698
|
if (output.SourceIdsList === "") {
|
|
7699
7699
|
contents.SourceIdsList = [];
|
|
7700
7700
|
}
|
|
7701
7701
|
if (output["SourceIdsList"] !== undefined && output["SourceIdsList"]["SourceId"] !== undefined) {
|
|
7702
|
-
contents.SourceIdsList = deserializeAws_querySourceIdsList(
|
|
7702
|
+
contents.SourceIdsList = deserializeAws_querySourceIdsList(smithy_client_1.getArrayIfSingleItem(output["SourceIdsList"]["SourceId"]), context);
|
|
7703
7703
|
}
|
|
7704
7704
|
if (output.EventCategoriesList === "") {
|
|
7705
7705
|
contents.EventCategoriesList = [];
|
|
7706
7706
|
}
|
|
7707
7707
|
if (output["EventCategoriesList"] !== undefined && output["EventCategoriesList"]["EventCategory"] !== undefined) {
|
|
7708
|
-
contents.EventCategoriesList = deserializeAws_queryEventCategoriesList(
|
|
7708
|
+
contents.EventCategoriesList = deserializeAws_queryEventCategoriesList(smithy_client_1.getArrayIfSingleItem(output["EventCategoriesList"]["EventCategory"]), context);
|
|
7709
7709
|
}
|
|
7710
7710
|
if (output["Enabled"] !== undefined) {
|
|
7711
|
-
contents.Enabled =
|
|
7711
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
7712
7712
|
}
|
|
7713
7713
|
if (output["EventSubscriptionArn"] !== undefined) {
|
|
7714
|
-
contents.EventSubscriptionArn =
|
|
7714
|
+
contents.EventSubscriptionArn = smithy_client_1.expectString(output["EventSubscriptionArn"]);
|
|
7715
7715
|
}
|
|
7716
7716
|
return contents;
|
|
7717
7717
|
};
|
|
@@ -7720,7 +7720,7 @@ const deserializeAws_queryEventSubscriptionQuotaExceededFault = (output, context
|
|
|
7720
7720
|
message: undefined,
|
|
7721
7721
|
};
|
|
7722
7722
|
if (output["message"] !== undefined) {
|
|
7723
|
-
contents.message =
|
|
7723
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7724
7724
|
}
|
|
7725
7725
|
return contents;
|
|
7726
7726
|
};
|
|
@@ -7740,14 +7740,14 @@ const deserializeAws_queryEventSubscriptionsMessage = (output, context) => {
|
|
|
7740
7740
|
EventSubscriptionsList: undefined,
|
|
7741
7741
|
};
|
|
7742
7742
|
if (output["Marker"] !== undefined) {
|
|
7743
|
-
contents.Marker =
|
|
7743
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
7744
7744
|
}
|
|
7745
7745
|
if (output.EventSubscriptionsList === "") {
|
|
7746
7746
|
contents.EventSubscriptionsList = [];
|
|
7747
7747
|
}
|
|
7748
7748
|
if (output["EventSubscriptionsList"] !== undefined &&
|
|
7749
7749
|
output["EventSubscriptionsList"]["EventSubscription"] !== undefined) {
|
|
7750
|
-
contents.EventSubscriptionsList = deserializeAws_queryEventSubscriptionsList(
|
|
7750
|
+
contents.EventSubscriptionsList = deserializeAws_queryEventSubscriptionsList(smithy_client_1.getArrayIfSingleItem(output["EventSubscriptionsList"]["EventSubscription"]), context);
|
|
7751
7751
|
}
|
|
7752
7752
|
return contents;
|
|
7753
7753
|
};
|
|
@@ -7774,38 +7774,38 @@ const deserializeAws_queryGlobalCluster = (output, context) => {
|
|
|
7774
7774
|
GlobalClusterMembers: undefined,
|
|
7775
7775
|
};
|
|
7776
7776
|
if (output["GlobalClusterIdentifier"] !== undefined) {
|
|
7777
|
-
contents.GlobalClusterIdentifier =
|
|
7777
|
+
contents.GlobalClusterIdentifier = smithy_client_1.expectString(output["GlobalClusterIdentifier"]);
|
|
7778
7778
|
}
|
|
7779
7779
|
if (output["GlobalClusterResourceId"] !== undefined) {
|
|
7780
|
-
contents.GlobalClusterResourceId =
|
|
7780
|
+
contents.GlobalClusterResourceId = smithy_client_1.expectString(output["GlobalClusterResourceId"]);
|
|
7781
7781
|
}
|
|
7782
7782
|
if (output["GlobalClusterArn"] !== undefined) {
|
|
7783
|
-
contents.GlobalClusterArn =
|
|
7783
|
+
contents.GlobalClusterArn = smithy_client_1.expectString(output["GlobalClusterArn"]);
|
|
7784
7784
|
}
|
|
7785
7785
|
if (output["Status"] !== undefined) {
|
|
7786
|
-
contents.Status =
|
|
7786
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
7787
7787
|
}
|
|
7788
7788
|
if (output["Engine"] !== undefined) {
|
|
7789
|
-
contents.Engine =
|
|
7789
|
+
contents.Engine = smithy_client_1.expectString(output["Engine"]);
|
|
7790
7790
|
}
|
|
7791
7791
|
if (output["EngineVersion"] !== undefined) {
|
|
7792
|
-
contents.EngineVersion =
|
|
7792
|
+
contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
|
|
7793
7793
|
}
|
|
7794
7794
|
if (output["DatabaseName"] !== undefined) {
|
|
7795
|
-
contents.DatabaseName =
|
|
7795
|
+
contents.DatabaseName = smithy_client_1.expectString(output["DatabaseName"]);
|
|
7796
7796
|
}
|
|
7797
7797
|
if (output["StorageEncrypted"] !== undefined) {
|
|
7798
|
-
contents.StorageEncrypted =
|
|
7798
|
+
contents.StorageEncrypted = smithy_client_1.parseBoolean(output["StorageEncrypted"]);
|
|
7799
7799
|
}
|
|
7800
7800
|
if (output["DeletionProtection"] !== undefined) {
|
|
7801
|
-
contents.DeletionProtection =
|
|
7801
|
+
contents.DeletionProtection = smithy_client_1.parseBoolean(output["DeletionProtection"]);
|
|
7802
7802
|
}
|
|
7803
7803
|
if (output.GlobalClusterMembers === "") {
|
|
7804
7804
|
contents.GlobalClusterMembers = [];
|
|
7805
7805
|
}
|
|
7806
7806
|
if (output["GlobalClusterMembers"] !== undefined &&
|
|
7807
7807
|
output["GlobalClusterMembers"]["GlobalClusterMember"] !== undefined) {
|
|
7808
|
-
contents.GlobalClusterMembers = deserializeAws_queryGlobalClusterMemberList(
|
|
7808
|
+
contents.GlobalClusterMembers = deserializeAws_queryGlobalClusterMemberList(smithy_client_1.getArrayIfSingleItem(output["GlobalClusterMembers"]["GlobalClusterMember"]), context);
|
|
7809
7809
|
}
|
|
7810
7810
|
return contents;
|
|
7811
7811
|
};
|
|
@@ -7814,7 +7814,7 @@ const deserializeAws_queryGlobalClusterAlreadyExistsFault = (output, context) =>
|
|
|
7814
7814
|
message: undefined,
|
|
7815
7815
|
};
|
|
7816
7816
|
if (output["message"] !== undefined) {
|
|
7817
|
-
contents.message =
|
|
7817
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7818
7818
|
}
|
|
7819
7819
|
return contents;
|
|
7820
7820
|
};
|
|
@@ -7835,16 +7835,16 @@ const deserializeAws_queryGlobalClusterMember = (output, context) => {
|
|
|
7835
7835
|
IsWriter: undefined,
|
|
7836
7836
|
};
|
|
7837
7837
|
if (output["DBClusterArn"] !== undefined) {
|
|
7838
|
-
contents.DBClusterArn =
|
|
7838
|
+
contents.DBClusterArn = smithy_client_1.expectString(output["DBClusterArn"]);
|
|
7839
7839
|
}
|
|
7840
7840
|
if (output.Readers === "") {
|
|
7841
7841
|
contents.Readers = [];
|
|
7842
7842
|
}
|
|
7843
7843
|
if (output["Readers"] !== undefined && output["Readers"]["member"] !== undefined) {
|
|
7844
|
-
contents.Readers = deserializeAws_queryReadersArnList(
|
|
7844
|
+
contents.Readers = deserializeAws_queryReadersArnList(smithy_client_1.getArrayIfSingleItem(output["Readers"]["member"]), context);
|
|
7845
7845
|
}
|
|
7846
7846
|
if (output["IsWriter"] !== undefined) {
|
|
7847
|
-
contents.IsWriter =
|
|
7847
|
+
contents.IsWriter = smithy_client_1.parseBoolean(output["IsWriter"]);
|
|
7848
7848
|
}
|
|
7849
7849
|
return contents;
|
|
7850
7850
|
};
|
|
@@ -7863,7 +7863,7 @@ const deserializeAws_queryGlobalClusterNotFoundFault = (output, context) => {
|
|
|
7863
7863
|
message: undefined,
|
|
7864
7864
|
};
|
|
7865
7865
|
if (output["message"] !== undefined) {
|
|
7866
|
-
contents.message =
|
|
7866
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7867
7867
|
}
|
|
7868
7868
|
return contents;
|
|
7869
7869
|
};
|
|
@@ -7872,7 +7872,7 @@ const deserializeAws_queryGlobalClusterQuotaExceededFault = (output, context) =>
|
|
|
7872
7872
|
message: undefined,
|
|
7873
7873
|
};
|
|
7874
7874
|
if (output["message"] !== undefined) {
|
|
7875
|
-
contents.message =
|
|
7875
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7876
7876
|
}
|
|
7877
7877
|
return contents;
|
|
7878
7878
|
};
|
|
@@ -7882,13 +7882,13 @@ const deserializeAws_queryGlobalClustersMessage = (output, context) => {
|
|
|
7882
7882
|
GlobalClusters: undefined,
|
|
7883
7883
|
};
|
|
7884
7884
|
if (output["Marker"] !== undefined) {
|
|
7885
|
-
contents.Marker =
|
|
7885
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
7886
7886
|
}
|
|
7887
7887
|
if (output.GlobalClusters === "") {
|
|
7888
7888
|
contents.GlobalClusters = [];
|
|
7889
7889
|
}
|
|
7890
7890
|
if (output["GlobalClusters"] !== undefined && output["GlobalClusters"]["GlobalClusterMember"] !== undefined) {
|
|
7891
|
-
contents.GlobalClusters = deserializeAws_queryGlobalClusterList(
|
|
7891
|
+
contents.GlobalClusters = deserializeAws_queryGlobalClusterList(smithy_client_1.getArrayIfSingleItem(output["GlobalClusters"]["GlobalClusterMember"]), context);
|
|
7892
7892
|
}
|
|
7893
7893
|
return contents;
|
|
7894
7894
|
};
|
|
@@ -7897,7 +7897,7 @@ const deserializeAws_queryInstanceQuotaExceededFault = (output, context) => {
|
|
|
7897
7897
|
message: undefined,
|
|
7898
7898
|
};
|
|
7899
7899
|
if (output["message"] !== undefined) {
|
|
7900
|
-
contents.message =
|
|
7900
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7901
7901
|
}
|
|
7902
7902
|
return contents;
|
|
7903
7903
|
};
|
|
@@ -7906,7 +7906,7 @@ const deserializeAws_queryInsufficientDBClusterCapacityFault = (output, context)
|
|
|
7906
7906
|
message: undefined,
|
|
7907
7907
|
};
|
|
7908
7908
|
if (output["message"] !== undefined) {
|
|
7909
|
-
contents.message =
|
|
7909
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7910
7910
|
}
|
|
7911
7911
|
return contents;
|
|
7912
7912
|
};
|
|
@@ -7915,7 +7915,7 @@ const deserializeAws_queryInsufficientDBInstanceCapacityFault = (output, context
|
|
|
7915
7915
|
message: undefined,
|
|
7916
7916
|
};
|
|
7917
7917
|
if (output["message"] !== undefined) {
|
|
7918
|
-
contents.message =
|
|
7918
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7919
7919
|
}
|
|
7920
7920
|
return contents;
|
|
7921
7921
|
};
|
|
@@ -7924,7 +7924,7 @@ const deserializeAws_queryInsufficientStorageClusterCapacityFault = (output, con
|
|
|
7924
7924
|
message: undefined,
|
|
7925
7925
|
};
|
|
7926
7926
|
if (output["message"] !== undefined) {
|
|
7927
|
-
contents.message =
|
|
7927
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7928
7928
|
}
|
|
7929
7929
|
return contents;
|
|
7930
7930
|
};
|
|
@@ -7933,7 +7933,7 @@ const deserializeAws_queryInvalidDBClusterSnapshotStateFault = (output, context)
|
|
|
7933
7933
|
message: undefined,
|
|
7934
7934
|
};
|
|
7935
7935
|
if (output["message"] !== undefined) {
|
|
7936
|
-
contents.message =
|
|
7936
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7937
7937
|
}
|
|
7938
7938
|
return contents;
|
|
7939
7939
|
};
|
|
@@ -7942,7 +7942,7 @@ const deserializeAws_queryInvalidDBClusterStateFault = (output, context) => {
|
|
|
7942
7942
|
message: undefined,
|
|
7943
7943
|
};
|
|
7944
7944
|
if (output["message"] !== undefined) {
|
|
7945
|
-
contents.message =
|
|
7945
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7946
7946
|
}
|
|
7947
7947
|
return contents;
|
|
7948
7948
|
};
|
|
@@ -7951,7 +7951,7 @@ const deserializeAws_queryInvalidDBInstanceStateFault = (output, context) => {
|
|
|
7951
7951
|
message: undefined,
|
|
7952
7952
|
};
|
|
7953
7953
|
if (output["message"] !== undefined) {
|
|
7954
|
-
contents.message =
|
|
7954
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7955
7955
|
}
|
|
7956
7956
|
return contents;
|
|
7957
7957
|
};
|
|
@@ -7960,7 +7960,7 @@ const deserializeAws_queryInvalidDBParameterGroupStateFault = (output, context)
|
|
|
7960
7960
|
message: undefined,
|
|
7961
7961
|
};
|
|
7962
7962
|
if (output["message"] !== undefined) {
|
|
7963
|
-
contents.message =
|
|
7963
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7964
7964
|
}
|
|
7965
7965
|
return contents;
|
|
7966
7966
|
};
|
|
@@ -7969,7 +7969,7 @@ const deserializeAws_queryInvalidDBSecurityGroupStateFault = (output, context) =
|
|
|
7969
7969
|
message: undefined,
|
|
7970
7970
|
};
|
|
7971
7971
|
if (output["message"] !== undefined) {
|
|
7972
|
-
contents.message =
|
|
7972
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7973
7973
|
}
|
|
7974
7974
|
return contents;
|
|
7975
7975
|
};
|
|
@@ -7978,7 +7978,7 @@ const deserializeAws_queryInvalidDBSnapshotStateFault = (output, context) => {
|
|
|
7978
7978
|
message: undefined,
|
|
7979
7979
|
};
|
|
7980
7980
|
if (output["message"] !== undefined) {
|
|
7981
|
-
contents.message =
|
|
7981
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7982
7982
|
}
|
|
7983
7983
|
return contents;
|
|
7984
7984
|
};
|
|
@@ -7987,7 +7987,7 @@ const deserializeAws_queryInvalidDBSubnetGroupStateFault = (output, context) =>
|
|
|
7987
7987
|
message: undefined,
|
|
7988
7988
|
};
|
|
7989
7989
|
if (output["message"] !== undefined) {
|
|
7990
|
-
contents.message =
|
|
7990
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7991
7991
|
}
|
|
7992
7992
|
return contents;
|
|
7993
7993
|
};
|
|
@@ -7996,7 +7996,7 @@ const deserializeAws_queryInvalidDBSubnetStateFault = (output, context) => {
|
|
|
7996
7996
|
message: undefined,
|
|
7997
7997
|
};
|
|
7998
7998
|
if (output["message"] !== undefined) {
|
|
7999
|
-
contents.message =
|
|
7999
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8000
8000
|
}
|
|
8001
8001
|
return contents;
|
|
8002
8002
|
};
|
|
@@ -8005,7 +8005,7 @@ const deserializeAws_queryInvalidEventSubscriptionStateFault = (output, context)
|
|
|
8005
8005
|
message: undefined,
|
|
8006
8006
|
};
|
|
8007
8007
|
if (output["message"] !== undefined) {
|
|
8008
|
-
contents.message =
|
|
8008
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8009
8009
|
}
|
|
8010
8010
|
return contents;
|
|
8011
8011
|
};
|
|
@@ -8014,7 +8014,7 @@ const deserializeAws_queryInvalidGlobalClusterStateFault = (output, context) =>
|
|
|
8014
8014
|
message: undefined,
|
|
8015
8015
|
};
|
|
8016
8016
|
if (output["message"] !== undefined) {
|
|
8017
|
-
contents.message =
|
|
8017
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8018
8018
|
}
|
|
8019
8019
|
return contents;
|
|
8020
8020
|
};
|
|
@@ -8023,7 +8023,7 @@ const deserializeAws_queryInvalidRestoreFault = (output, context) => {
|
|
|
8023
8023
|
message: undefined,
|
|
8024
8024
|
};
|
|
8025
8025
|
if (output["message"] !== undefined) {
|
|
8026
|
-
contents.message =
|
|
8026
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8027
8027
|
}
|
|
8028
8028
|
return contents;
|
|
8029
8029
|
};
|
|
@@ -8032,7 +8032,7 @@ const deserializeAws_queryInvalidSubnet = (output, context) => {
|
|
|
8032
8032
|
message: undefined,
|
|
8033
8033
|
};
|
|
8034
8034
|
if (output["message"] !== undefined) {
|
|
8035
|
-
contents.message =
|
|
8035
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8036
8036
|
}
|
|
8037
8037
|
return contents;
|
|
8038
8038
|
};
|
|
@@ -8041,7 +8041,7 @@ const deserializeAws_queryInvalidVPCNetworkStateFault = (output, context) => {
|
|
|
8041
8041
|
message: undefined,
|
|
8042
8042
|
};
|
|
8043
8043
|
if (output["message"] !== undefined) {
|
|
8044
|
-
contents.message =
|
|
8044
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8045
8045
|
}
|
|
8046
8046
|
return contents;
|
|
8047
8047
|
};
|
|
@@ -8050,7 +8050,7 @@ const deserializeAws_queryKMSKeyNotAccessibleFault = (output, context) => {
|
|
|
8050
8050
|
message: undefined,
|
|
8051
8051
|
};
|
|
8052
8052
|
if (output["message"] !== undefined) {
|
|
8053
|
-
contents.message =
|
|
8053
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8054
8054
|
}
|
|
8055
8055
|
return contents;
|
|
8056
8056
|
};
|
|
@@ -8061,7 +8061,7 @@ const deserializeAws_queryLogTypeList = (output, context) => {
|
|
|
8061
8061
|
if (entry === null) {
|
|
8062
8062
|
return null;
|
|
8063
8063
|
}
|
|
8064
|
-
return
|
|
8064
|
+
return smithy_client_1.expectString(entry);
|
|
8065
8065
|
});
|
|
8066
8066
|
};
|
|
8067
8067
|
const deserializeAws_queryModifyDBClusterResult = (output, context) => {
|
|
@@ -8128,25 +8128,25 @@ const deserializeAws_queryOrderableDBInstanceOption = (output, context) => {
|
|
|
8128
8128
|
Vpc: undefined,
|
|
8129
8129
|
};
|
|
8130
8130
|
if (output["Engine"] !== undefined) {
|
|
8131
|
-
contents.Engine =
|
|
8131
|
+
contents.Engine = smithy_client_1.expectString(output["Engine"]);
|
|
8132
8132
|
}
|
|
8133
8133
|
if (output["EngineVersion"] !== undefined) {
|
|
8134
|
-
contents.EngineVersion =
|
|
8134
|
+
contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
|
|
8135
8135
|
}
|
|
8136
8136
|
if (output["DBInstanceClass"] !== undefined) {
|
|
8137
|
-
contents.DBInstanceClass =
|
|
8137
|
+
contents.DBInstanceClass = smithy_client_1.expectString(output["DBInstanceClass"]);
|
|
8138
8138
|
}
|
|
8139
8139
|
if (output["LicenseModel"] !== undefined) {
|
|
8140
|
-
contents.LicenseModel =
|
|
8140
|
+
contents.LicenseModel = smithy_client_1.expectString(output["LicenseModel"]);
|
|
8141
8141
|
}
|
|
8142
8142
|
if (output.AvailabilityZones === "") {
|
|
8143
8143
|
contents.AvailabilityZones = [];
|
|
8144
8144
|
}
|
|
8145
8145
|
if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
|
|
8146
|
-
contents.AvailabilityZones = deserializeAws_queryAvailabilityZoneList(
|
|
8146
|
+
contents.AvailabilityZones = deserializeAws_queryAvailabilityZoneList(smithy_client_1.getArrayIfSingleItem(output["AvailabilityZones"]["AvailabilityZone"]), context);
|
|
8147
8147
|
}
|
|
8148
8148
|
if (output["Vpc"] !== undefined) {
|
|
8149
|
-
contents.Vpc =
|
|
8149
|
+
contents.Vpc = smithy_client_1.parseBoolean(output["Vpc"]);
|
|
8150
8150
|
}
|
|
8151
8151
|
return contents;
|
|
8152
8152
|
};
|
|
@@ -8170,10 +8170,10 @@ const deserializeAws_queryOrderableDBInstanceOptionsMessage = (output, context)
|
|
|
8170
8170
|
}
|
|
8171
8171
|
if (output["OrderableDBInstanceOptions"] !== undefined &&
|
|
8172
8172
|
output["OrderableDBInstanceOptions"]["OrderableDBInstanceOption"] !== undefined) {
|
|
8173
|
-
contents.OrderableDBInstanceOptions = deserializeAws_queryOrderableDBInstanceOptionsList(
|
|
8173
|
+
contents.OrderableDBInstanceOptions = deserializeAws_queryOrderableDBInstanceOptionsList(smithy_client_1.getArrayIfSingleItem(output["OrderableDBInstanceOptions"]["OrderableDBInstanceOption"]), context);
|
|
8174
8174
|
}
|
|
8175
8175
|
if (output["Marker"] !== undefined) {
|
|
8176
|
-
contents.Marker =
|
|
8176
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
8177
8177
|
}
|
|
8178
8178
|
return contents;
|
|
8179
8179
|
};
|
|
@@ -8191,34 +8191,34 @@ const deserializeAws_queryParameter = (output, context) => {
|
|
|
8191
8191
|
ApplyMethod: undefined,
|
|
8192
8192
|
};
|
|
8193
8193
|
if (output["ParameterName"] !== undefined) {
|
|
8194
|
-
contents.ParameterName =
|
|
8194
|
+
contents.ParameterName = smithy_client_1.expectString(output["ParameterName"]);
|
|
8195
8195
|
}
|
|
8196
8196
|
if (output["ParameterValue"] !== undefined) {
|
|
8197
|
-
contents.ParameterValue =
|
|
8197
|
+
contents.ParameterValue = smithy_client_1.expectString(output["ParameterValue"]);
|
|
8198
8198
|
}
|
|
8199
8199
|
if (output["Description"] !== undefined) {
|
|
8200
|
-
contents.Description =
|
|
8200
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
8201
8201
|
}
|
|
8202
8202
|
if (output["Source"] !== undefined) {
|
|
8203
|
-
contents.Source =
|
|
8203
|
+
contents.Source = smithy_client_1.expectString(output["Source"]);
|
|
8204
8204
|
}
|
|
8205
8205
|
if (output["ApplyType"] !== undefined) {
|
|
8206
|
-
contents.ApplyType =
|
|
8206
|
+
contents.ApplyType = smithy_client_1.expectString(output["ApplyType"]);
|
|
8207
8207
|
}
|
|
8208
8208
|
if (output["DataType"] !== undefined) {
|
|
8209
|
-
contents.DataType =
|
|
8209
|
+
contents.DataType = smithy_client_1.expectString(output["DataType"]);
|
|
8210
8210
|
}
|
|
8211
8211
|
if (output["AllowedValues"] !== undefined) {
|
|
8212
|
-
contents.AllowedValues =
|
|
8212
|
+
contents.AllowedValues = smithy_client_1.expectString(output["AllowedValues"]);
|
|
8213
8213
|
}
|
|
8214
8214
|
if (output["IsModifiable"] !== undefined) {
|
|
8215
|
-
contents.IsModifiable =
|
|
8215
|
+
contents.IsModifiable = smithy_client_1.parseBoolean(output["IsModifiable"]);
|
|
8216
8216
|
}
|
|
8217
8217
|
if (output["MinimumEngineVersion"] !== undefined) {
|
|
8218
|
-
contents.MinimumEngineVersion =
|
|
8218
|
+
contents.MinimumEngineVersion = smithy_client_1.expectString(output["MinimumEngineVersion"]);
|
|
8219
8219
|
}
|
|
8220
8220
|
if (output["ApplyMethod"] !== undefined) {
|
|
8221
|
-
contents.ApplyMethod =
|
|
8221
|
+
contents.ApplyMethod = smithy_client_1.expectString(output["ApplyMethod"]);
|
|
8222
8222
|
}
|
|
8223
8223
|
return contents;
|
|
8224
8224
|
};
|
|
@@ -8241,13 +8241,13 @@ const deserializeAws_queryPendingCloudwatchLogsExports = (output, context) => {
|
|
|
8241
8241
|
contents.LogTypesToEnable = [];
|
|
8242
8242
|
}
|
|
8243
8243
|
if (output["LogTypesToEnable"] !== undefined && output["LogTypesToEnable"]["member"] !== undefined) {
|
|
8244
|
-
contents.LogTypesToEnable = deserializeAws_queryLogTypeList(
|
|
8244
|
+
contents.LogTypesToEnable = deserializeAws_queryLogTypeList(smithy_client_1.getArrayIfSingleItem(output["LogTypesToEnable"]["member"]), context);
|
|
8245
8245
|
}
|
|
8246
8246
|
if (output.LogTypesToDisable === "") {
|
|
8247
8247
|
contents.LogTypesToDisable = [];
|
|
8248
8248
|
}
|
|
8249
8249
|
if (output["LogTypesToDisable"] !== undefined && output["LogTypesToDisable"]["member"] !== undefined) {
|
|
8250
|
-
contents.LogTypesToDisable = deserializeAws_queryLogTypeList(
|
|
8250
|
+
contents.LogTypesToDisable = deserializeAws_queryLogTypeList(smithy_client_1.getArrayIfSingleItem(output["LogTypesToDisable"]["member"]), context);
|
|
8251
8251
|
}
|
|
8252
8252
|
return contents;
|
|
8253
8253
|
};
|
|
@@ -8261,22 +8261,22 @@ const deserializeAws_queryPendingMaintenanceAction = (output, context) => {
|
|
|
8261
8261
|
Description: undefined,
|
|
8262
8262
|
};
|
|
8263
8263
|
if (output["Action"] !== undefined) {
|
|
8264
|
-
contents.Action =
|
|
8264
|
+
contents.Action = smithy_client_1.expectString(output["Action"]);
|
|
8265
8265
|
}
|
|
8266
8266
|
if (output["AutoAppliedAfterDate"] !== undefined) {
|
|
8267
|
-
contents.AutoAppliedAfterDate =
|
|
8267
|
+
contents.AutoAppliedAfterDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["AutoAppliedAfterDate"]));
|
|
8268
8268
|
}
|
|
8269
8269
|
if (output["ForcedApplyDate"] !== undefined) {
|
|
8270
|
-
contents.ForcedApplyDate =
|
|
8270
|
+
contents.ForcedApplyDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ForcedApplyDate"]));
|
|
8271
8271
|
}
|
|
8272
8272
|
if (output["OptInStatus"] !== undefined) {
|
|
8273
|
-
contents.OptInStatus =
|
|
8273
|
+
contents.OptInStatus = smithy_client_1.expectString(output["OptInStatus"]);
|
|
8274
8274
|
}
|
|
8275
8275
|
if (output["CurrentApplyDate"] !== undefined) {
|
|
8276
|
-
contents.CurrentApplyDate =
|
|
8276
|
+
contents.CurrentApplyDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CurrentApplyDate"]));
|
|
8277
8277
|
}
|
|
8278
8278
|
if (output["Description"] !== undefined) {
|
|
8279
|
-
contents.Description =
|
|
8279
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
8280
8280
|
}
|
|
8281
8281
|
return contents;
|
|
8282
8282
|
};
|
|
@@ -8310,10 +8310,10 @@ const deserializeAws_queryPendingMaintenanceActionsMessage = (output, context) =
|
|
|
8310
8310
|
}
|
|
8311
8311
|
if (output["PendingMaintenanceActions"] !== undefined &&
|
|
8312
8312
|
output["PendingMaintenanceActions"]["ResourcePendingMaintenanceActions"] !== undefined) {
|
|
8313
|
-
contents.PendingMaintenanceActions = deserializeAws_queryPendingMaintenanceActions(
|
|
8313
|
+
contents.PendingMaintenanceActions = deserializeAws_queryPendingMaintenanceActions(smithy_client_1.getArrayIfSingleItem(output["PendingMaintenanceActions"]["ResourcePendingMaintenanceActions"]), context);
|
|
8314
8314
|
}
|
|
8315
8315
|
if (output["Marker"] !== undefined) {
|
|
8316
|
-
contents.Marker =
|
|
8316
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
8317
8317
|
}
|
|
8318
8318
|
return contents;
|
|
8319
8319
|
};
|
|
@@ -8335,43 +8335,43 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
|
|
|
8335
8335
|
PendingCloudwatchLogsExports: undefined,
|
|
8336
8336
|
};
|
|
8337
8337
|
if (output["DBInstanceClass"] !== undefined) {
|
|
8338
|
-
contents.DBInstanceClass =
|
|
8338
|
+
contents.DBInstanceClass = smithy_client_1.expectString(output["DBInstanceClass"]);
|
|
8339
8339
|
}
|
|
8340
8340
|
if (output["AllocatedStorage"] !== undefined) {
|
|
8341
|
-
contents.AllocatedStorage =
|
|
8341
|
+
contents.AllocatedStorage = smithy_client_1.strictParseInt32(output["AllocatedStorage"]);
|
|
8342
8342
|
}
|
|
8343
8343
|
if (output["MasterUserPassword"] !== undefined) {
|
|
8344
|
-
contents.MasterUserPassword =
|
|
8344
|
+
contents.MasterUserPassword = smithy_client_1.expectString(output["MasterUserPassword"]);
|
|
8345
8345
|
}
|
|
8346
8346
|
if (output["Port"] !== undefined) {
|
|
8347
|
-
contents.Port =
|
|
8347
|
+
contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
|
|
8348
8348
|
}
|
|
8349
8349
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
8350
|
-
contents.BackupRetentionPeriod =
|
|
8350
|
+
contents.BackupRetentionPeriod = smithy_client_1.strictParseInt32(output["BackupRetentionPeriod"]);
|
|
8351
8351
|
}
|
|
8352
8352
|
if (output["MultiAZ"] !== undefined) {
|
|
8353
|
-
contents.MultiAZ =
|
|
8353
|
+
contents.MultiAZ = smithy_client_1.parseBoolean(output["MultiAZ"]);
|
|
8354
8354
|
}
|
|
8355
8355
|
if (output["EngineVersion"] !== undefined) {
|
|
8356
|
-
contents.EngineVersion =
|
|
8356
|
+
contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
|
|
8357
8357
|
}
|
|
8358
8358
|
if (output["LicenseModel"] !== undefined) {
|
|
8359
|
-
contents.LicenseModel =
|
|
8359
|
+
contents.LicenseModel = smithy_client_1.expectString(output["LicenseModel"]);
|
|
8360
8360
|
}
|
|
8361
8361
|
if (output["Iops"] !== undefined) {
|
|
8362
|
-
contents.Iops =
|
|
8362
|
+
contents.Iops = smithy_client_1.strictParseInt32(output["Iops"]);
|
|
8363
8363
|
}
|
|
8364
8364
|
if (output["DBInstanceIdentifier"] !== undefined) {
|
|
8365
|
-
contents.DBInstanceIdentifier =
|
|
8365
|
+
contents.DBInstanceIdentifier = smithy_client_1.expectString(output["DBInstanceIdentifier"]);
|
|
8366
8366
|
}
|
|
8367
8367
|
if (output["StorageType"] !== undefined) {
|
|
8368
|
-
contents.StorageType =
|
|
8368
|
+
contents.StorageType = smithy_client_1.expectString(output["StorageType"]);
|
|
8369
8369
|
}
|
|
8370
8370
|
if (output["CACertificateIdentifier"] !== undefined) {
|
|
8371
|
-
contents.CACertificateIdentifier =
|
|
8371
|
+
contents.CACertificateIdentifier = smithy_client_1.expectString(output["CACertificateIdentifier"]);
|
|
8372
8372
|
}
|
|
8373
8373
|
if (output["DBSubnetGroupName"] !== undefined) {
|
|
8374
|
-
contents.DBSubnetGroupName =
|
|
8374
|
+
contents.DBSubnetGroupName = smithy_client_1.expectString(output["DBSubnetGroupName"]);
|
|
8375
8375
|
}
|
|
8376
8376
|
if (output["PendingCloudwatchLogsExports"] !== undefined) {
|
|
8377
8377
|
contents.PendingCloudwatchLogsExports = deserializeAws_queryPendingCloudwatchLogsExports(output["PendingCloudwatchLogsExports"], context);
|
|
@@ -8385,7 +8385,7 @@ const deserializeAws_queryReadersArnList = (output, context) => {
|
|
|
8385
8385
|
if (entry === null) {
|
|
8386
8386
|
return null;
|
|
8387
8387
|
}
|
|
8388
|
-
return
|
|
8388
|
+
return smithy_client_1.expectString(entry);
|
|
8389
8389
|
});
|
|
8390
8390
|
};
|
|
8391
8391
|
const deserializeAws_queryReadReplicaIdentifierList = (output, context) => {
|
|
@@ -8395,7 +8395,7 @@ const deserializeAws_queryReadReplicaIdentifierList = (output, context) => {
|
|
|
8395
8395
|
if (entry === null) {
|
|
8396
8396
|
return null;
|
|
8397
8397
|
}
|
|
8398
|
-
return
|
|
8398
|
+
return smithy_client_1.expectString(entry);
|
|
8399
8399
|
});
|
|
8400
8400
|
};
|
|
8401
8401
|
const deserializeAws_queryRebootDBInstanceResult = (output, context) => {
|
|
@@ -8430,7 +8430,7 @@ const deserializeAws_queryResourceNotFoundFault = (output, context) => {
|
|
|
8430
8430
|
message: undefined,
|
|
8431
8431
|
};
|
|
8432
8432
|
if (output["message"] !== undefined) {
|
|
8433
|
-
contents.message =
|
|
8433
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8434
8434
|
}
|
|
8435
8435
|
return contents;
|
|
8436
8436
|
};
|
|
@@ -8440,14 +8440,14 @@ const deserializeAws_queryResourcePendingMaintenanceActions = (output, context)
|
|
|
8440
8440
|
PendingMaintenanceActionDetails: undefined,
|
|
8441
8441
|
};
|
|
8442
8442
|
if (output["ResourceIdentifier"] !== undefined) {
|
|
8443
|
-
contents.ResourceIdentifier =
|
|
8443
|
+
contents.ResourceIdentifier = smithy_client_1.expectString(output["ResourceIdentifier"]);
|
|
8444
8444
|
}
|
|
8445
8445
|
if (output.PendingMaintenanceActionDetails === "") {
|
|
8446
8446
|
contents.PendingMaintenanceActionDetails = [];
|
|
8447
8447
|
}
|
|
8448
8448
|
if (output["PendingMaintenanceActionDetails"] !== undefined &&
|
|
8449
8449
|
output["PendingMaintenanceActionDetails"]["PendingMaintenanceAction"] !== undefined) {
|
|
8450
|
-
contents.PendingMaintenanceActionDetails = deserializeAws_queryPendingMaintenanceActionDetails(
|
|
8450
|
+
contents.PendingMaintenanceActionDetails = deserializeAws_queryPendingMaintenanceActionDetails(smithy_client_1.getArrayIfSingleItem(output["PendingMaintenanceActionDetails"]["PendingMaintenanceAction"]), context);
|
|
8451
8451
|
}
|
|
8452
8452
|
return contents;
|
|
8453
8453
|
};
|
|
@@ -8474,7 +8474,7 @@ const deserializeAws_querySharedSnapshotQuotaExceededFault = (output, context) =
|
|
|
8474
8474
|
message: undefined,
|
|
8475
8475
|
};
|
|
8476
8476
|
if (output["message"] !== undefined) {
|
|
8477
|
-
contents.message =
|
|
8477
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8478
8478
|
}
|
|
8479
8479
|
return contents;
|
|
8480
8480
|
};
|
|
@@ -8483,7 +8483,7 @@ const deserializeAws_querySnapshotQuotaExceededFault = (output, context) => {
|
|
|
8483
8483
|
message: undefined,
|
|
8484
8484
|
};
|
|
8485
8485
|
if (output["message"] !== undefined) {
|
|
8486
|
-
contents.message =
|
|
8486
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8487
8487
|
}
|
|
8488
8488
|
return contents;
|
|
8489
8489
|
};
|
|
@@ -8492,7 +8492,7 @@ const deserializeAws_querySNSInvalidTopicFault = (output, context) => {
|
|
|
8492
8492
|
message: undefined,
|
|
8493
8493
|
};
|
|
8494
8494
|
if (output["message"] !== undefined) {
|
|
8495
|
-
contents.message =
|
|
8495
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8496
8496
|
}
|
|
8497
8497
|
return contents;
|
|
8498
8498
|
};
|
|
@@ -8501,7 +8501,7 @@ const deserializeAws_querySNSNoAuthorizationFault = (output, context) => {
|
|
|
8501
8501
|
message: undefined,
|
|
8502
8502
|
};
|
|
8503
8503
|
if (output["message"] !== undefined) {
|
|
8504
|
-
contents.message =
|
|
8504
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8505
8505
|
}
|
|
8506
8506
|
return contents;
|
|
8507
8507
|
};
|
|
@@ -8510,7 +8510,7 @@ const deserializeAws_querySNSTopicArnNotFoundFault = (output, context) => {
|
|
|
8510
8510
|
message: undefined,
|
|
8511
8511
|
};
|
|
8512
8512
|
if (output["message"] !== undefined) {
|
|
8513
|
-
contents.message =
|
|
8513
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8514
8514
|
}
|
|
8515
8515
|
return contents;
|
|
8516
8516
|
};
|
|
@@ -8521,7 +8521,7 @@ const deserializeAws_querySourceIdsList = (output, context) => {
|
|
|
8521
8521
|
if (entry === null) {
|
|
8522
8522
|
return null;
|
|
8523
8523
|
}
|
|
8524
|
-
return
|
|
8524
|
+
return smithy_client_1.expectString(entry);
|
|
8525
8525
|
});
|
|
8526
8526
|
};
|
|
8527
8527
|
const deserializeAws_querySourceNotFoundFault = (output, context) => {
|
|
@@ -8529,7 +8529,7 @@ const deserializeAws_querySourceNotFoundFault = (output, context) => {
|
|
|
8529
8529
|
message: undefined,
|
|
8530
8530
|
};
|
|
8531
8531
|
if (output["message"] !== undefined) {
|
|
8532
|
-
contents.message =
|
|
8532
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8533
8533
|
}
|
|
8534
8534
|
return contents;
|
|
8535
8535
|
};
|
|
@@ -8556,7 +8556,7 @@ const deserializeAws_queryStorageQuotaExceededFault = (output, context) => {
|
|
|
8556
8556
|
message: undefined,
|
|
8557
8557
|
};
|
|
8558
8558
|
if (output["message"] !== undefined) {
|
|
8559
|
-
contents.message =
|
|
8559
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8560
8560
|
}
|
|
8561
8561
|
return contents;
|
|
8562
8562
|
};
|
|
@@ -8565,7 +8565,7 @@ const deserializeAws_queryStorageTypeNotSupportedFault = (output, context) => {
|
|
|
8565
8565
|
message: undefined,
|
|
8566
8566
|
};
|
|
8567
8567
|
if (output["message"] !== undefined) {
|
|
8568
|
-
contents.message =
|
|
8568
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8569
8569
|
}
|
|
8570
8570
|
return contents;
|
|
8571
8571
|
};
|
|
@@ -8576,13 +8576,13 @@ const deserializeAws_querySubnet = (output, context) => {
|
|
|
8576
8576
|
SubnetStatus: undefined,
|
|
8577
8577
|
};
|
|
8578
8578
|
if (output["SubnetIdentifier"] !== undefined) {
|
|
8579
|
-
contents.SubnetIdentifier =
|
|
8579
|
+
contents.SubnetIdentifier = smithy_client_1.expectString(output["SubnetIdentifier"]);
|
|
8580
8580
|
}
|
|
8581
8581
|
if (output["SubnetAvailabilityZone"] !== undefined) {
|
|
8582
8582
|
contents.SubnetAvailabilityZone = deserializeAws_queryAvailabilityZone(output["SubnetAvailabilityZone"], context);
|
|
8583
8583
|
}
|
|
8584
8584
|
if (output["SubnetStatus"] !== undefined) {
|
|
8585
|
-
contents.SubnetStatus =
|
|
8585
|
+
contents.SubnetStatus = smithy_client_1.expectString(output["SubnetStatus"]);
|
|
8586
8586
|
}
|
|
8587
8587
|
return contents;
|
|
8588
8588
|
};
|
|
@@ -8591,7 +8591,7 @@ const deserializeAws_querySubnetAlreadyInUse = (output, context) => {
|
|
|
8591
8591
|
message: undefined,
|
|
8592
8592
|
};
|
|
8593
8593
|
if (output["message"] !== undefined) {
|
|
8594
|
-
contents.message =
|
|
8594
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8595
8595
|
}
|
|
8596
8596
|
return contents;
|
|
8597
8597
|
};
|
|
@@ -8610,7 +8610,7 @@ const deserializeAws_querySubscriptionAlreadyExistFault = (output, context) => {
|
|
|
8610
8610
|
message: undefined,
|
|
8611
8611
|
};
|
|
8612
8612
|
if (output["message"] !== undefined) {
|
|
8613
|
-
contents.message =
|
|
8613
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8614
8614
|
}
|
|
8615
8615
|
return contents;
|
|
8616
8616
|
};
|
|
@@ -8619,7 +8619,7 @@ const deserializeAws_querySubscriptionCategoryNotFoundFault = (output, context)
|
|
|
8619
8619
|
message: undefined,
|
|
8620
8620
|
};
|
|
8621
8621
|
if (output["message"] !== undefined) {
|
|
8622
|
-
contents.message =
|
|
8622
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8623
8623
|
}
|
|
8624
8624
|
return contents;
|
|
8625
8625
|
};
|
|
@@ -8628,7 +8628,7 @@ const deserializeAws_querySubscriptionNotFoundFault = (output, context) => {
|
|
|
8628
8628
|
message: undefined,
|
|
8629
8629
|
};
|
|
8630
8630
|
if (output["message"] !== undefined) {
|
|
8631
|
-
contents.message =
|
|
8631
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8632
8632
|
}
|
|
8633
8633
|
return contents;
|
|
8634
8634
|
};
|
|
@@ -8638,10 +8638,10 @@ const deserializeAws_queryTag = (output, context) => {
|
|
|
8638
8638
|
Value: undefined,
|
|
8639
8639
|
};
|
|
8640
8640
|
if (output["Key"] !== undefined) {
|
|
8641
|
-
contents.Key =
|
|
8641
|
+
contents.Key = smithy_client_1.expectString(output["Key"]);
|
|
8642
8642
|
}
|
|
8643
8643
|
if (output["Value"] !== undefined) {
|
|
8644
|
-
contents.Value =
|
|
8644
|
+
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
8645
8645
|
}
|
|
8646
8646
|
return contents;
|
|
8647
8647
|
};
|
|
@@ -8663,7 +8663,7 @@ const deserializeAws_queryTagListMessage = (output, context) => {
|
|
|
8663
8663
|
contents.TagList = [];
|
|
8664
8664
|
}
|
|
8665
8665
|
if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
|
|
8666
|
-
contents.TagList = deserializeAws_queryTagList(
|
|
8666
|
+
contents.TagList = deserializeAws_queryTagList(smithy_client_1.getArrayIfSingleItem(output["TagList"]["Tag"]), context);
|
|
8667
8667
|
}
|
|
8668
8668
|
return contents;
|
|
8669
8669
|
};
|
|
@@ -8676,19 +8676,19 @@ const deserializeAws_queryUpgradeTarget = (output, context) => {
|
|
|
8676
8676
|
IsMajorVersionUpgrade: undefined,
|
|
8677
8677
|
};
|
|
8678
8678
|
if (output["Engine"] !== undefined) {
|
|
8679
|
-
contents.Engine =
|
|
8679
|
+
contents.Engine = smithy_client_1.expectString(output["Engine"]);
|
|
8680
8680
|
}
|
|
8681
8681
|
if (output["EngineVersion"] !== undefined) {
|
|
8682
|
-
contents.EngineVersion =
|
|
8682
|
+
contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
|
|
8683
8683
|
}
|
|
8684
8684
|
if (output["Description"] !== undefined) {
|
|
8685
|
-
contents.Description =
|
|
8685
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
8686
8686
|
}
|
|
8687
8687
|
if (output["AutoUpgrade"] !== undefined) {
|
|
8688
|
-
contents.AutoUpgrade =
|
|
8688
|
+
contents.AutoUpgrade = smithy_client_1.parseBoolean(output["AutoUpgrade"]);
|
|
8689
8689
|
}
|
|
8690
8690
|
if (output["IsMajorVersionUpgrade"] !== undefined) {
|
|
8691
|
-
contents.IsMajorVersionUpgrade =
|
|
8691
|
+
contents.IsMajorVersionUpgrade = smithy_client_1.parseBoolean(output["IsMajorVersionUpgrade"]);
|
|
8692
8692
|
}
|
|
8693
8693
|
return contents;
|
|
8694
8694
|
};
|
|
@@ -8708,10 +8708,10 @@ const deserializeAws_queryVpcSecurityGroupMembership = (output, context) => {
|
|
|
8708
8708
|
Status: undefined,
|
|
8709
8709
|
};
|
|
8710
8710
|
if (output["VpcSecurityGroupId"] !== undefined) {
|
|
8711
|
-
contents.VpcSecurityGroupId =
|
|
8711
|
+
contents.VpcSecurityGroupId = smithy_client_1.expectString(output["VpcSecurityGroupId"]);
|
|
8712
8712
|
}
|
|
8713
8713
|
if (output["Status"] !== undefined) {
|
|
8714
|
-
contents.Status =
|
|
8714
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
8715
8715
|
}
|
|
8716
8716
|
return contents;
|
|
8717
8717
|
};
|
|
@@ -8763,12 +8763,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
8763
8763
|
};
|
|
8764
8764
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
8765
8765
|
if (encoded.length) {
|
|
8766
|
-
const parsedObj =
|
|
8766
|
+
const parsedObj = fast_xml_parser_1.parse(encoded, {
|
|
8767
8767
|
attributeNamePrefix: "",
|
|
8768
8768
|
ignoreAttributes: false,
|
|
8769
8769
|
parseNodeValue: false,
|
|
8770
8770
|
trimValues: false,
|
|
8771
|
-
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" :
|
|
8771
|
+
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)),
|
|
8772
8772
|
});
|
|
8773
8773
|
const textNodeName = "#text";
|
|
8774
8774
|
const key = Object.keys(parsedObj)[0];
|
|
@@ -8777,12 +8777,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
8777
8777
|
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
8778
8778
|
delete parsedObjToReturn[textNodeName];
|
|
8779
8779
|
}
|
|
8780
|
-
return
|
|
8780
|
+
return smithy_client_1.getValueFromTextNode(parsedObjToReturn);
|
|
8781
8781
|
}
|
|
8782
8782
|
return {};
|
|
8783
8783
|
});
|
|
8784
8784
|
const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
8785
|
-
.map(([key, value]) =>
|
|
8785
|
+
.map(([key, value]) => smithy_client_1.extendedEncodeURIComponent(key) + "=" + smithy_client_1.extendedEncodeURIComponent(value))
|
|
8786
8786
|
.join("&");
|
|
8787
8787
|
const loadQueryErrorCode = (output, data) => {
|
|
8788
8788
|
if (data.Error.Code !== undefined) {
|