@aws-sdk/client-neptune 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/NeptuneClient.js +13 -13
- package/dist/cjs/NeptuneClient.js.map +1 -1
- package/dist/cjs/commands/AddRoleToDBClusterCommand.js +3 -3
- package/dist/cjs/commands/AddRoleToDBClusterCommand.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/CopyDBParameterGroupCommand.js +3 -3
- package/dist/cjs/commands/CopyDBParameterGroupCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDBClusterCommand.js +4 -4
- package/dist/cjs/commands/CreateDBClusterCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDBClusterEndpointCommand.js +3 -3
- package/dist/cjs/commands/CreateDBClusterEndpointCommand.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/CreateDBParameterGroupCommand.js +3 -3
- package/dist/cjs/commands/CreateDBParameterGroupCommand.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/DeleteDBClusterCommand.js +3 -3
- package/dist/cjs/commands/DeleteDBClusterCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDBClusterEndpointCommand.js +3 -3
- package/dist/cjs/commands/DeleteDBClusterEndpointCommand.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/DeleteDBParameterGroupCommand.js +3 -3
- package/dist/cjs/commands/DeleteDBParameterGroupCommand.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/DescribeDBClusterEndpointsCommand.js +3 -3
- package/dist/cjs/commands/DescribeDBClusterEndpointsCommand.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/DescribeDBParameterGroupsCommand.js +3 -3
- package/dist/cjs/commands/DescribeDBParameterGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeDBParametersCommand.js +3 -3
- package/dist/cjs/commands/DescribeDBParametersCommand.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/DescribeEngineDefaultParametersCommand.js +3 -3
- package/dist/cjs/commands/DescribeEngineDefaultParametersCommand.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/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/DescribeValidDBInstanceModificationsCommand.js +3 -3
- package/dist/cjs/commands/DescribeValidDBInstanceModificationsCommand.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/ModifyDBClusterEndpointCommand.js +3 -3
- package/dist/cjs/commands/ModifyDBClusterEndpointCommand.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/ModifyDBParameterGroupCommand.js +3 -3
- package/dist/cjs/commands/ModifyDBParameterGroupCommand.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/PromoteReadReplicaDBClusterCommand.js +3 -3
- package/dist/cjs/commands/PromoteReadReplicaDBClusterCommand.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/RemoveRoleFromDBClusterCommand.js +3 -3
- package/dist/cjs/commands/RemoveRoleFromDBClusterCommand.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/ResetDBParameterGroupCommand.js +3 -3
- package/dist/cjs/commands/ResetDBParameterGroupCommand.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 +83 -83
- 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 +412 -412
- 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/DescribeDBClusterEndpointsPaginator.js +4 -4
- package/dist/es/pagination/DescribeDBClusterEndpointsPaginator.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/DescribeDBParameterGroupsPaginator.js +4 -4
- package/dist/es/pagination/DescribeDBParameterGroupsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeDBParametersPaginator.js +4 -4
- package/dist/es/pagination/DescribeDBParametersPaginator.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/DescribeEngineDefaultParametersPaginator.js +4 -4
- package/dist/es/pagination/DescribeEngineDefaultParametersPaginator.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/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
|
@@ -7640,7 +7640,7 @@ const deserializeAws_queryAttributeValueList = (output, context) => {
|
|
|
7640
7640
|
if (entry === null) {
|
|
7641
7641
|
return null;
|
|
7642
7642
|
}
|
|
7643
|
-
return
|
|
7643
|
+
return smithy_client_1.expectString(entry);
|
|
7644
7644
|
});
|
|
7645
7645
|
};
|
|
7646
7646
|
const deserializeAws_queryAuthorizationNotFoundFault = (output, context) => {
|
|
@@ -7648,7 +7648,7 @@ const deserializeAws_queryAuthorizationNotFoundFault = (output, context) => {
|
|
|
7648
7648
|
message: undefined,
|
|
7649
7649
|
};
|
|
7650
7650
|
if (output["message"] !== undefined) {
|
|
7651
|
-
contents.message =
|
|
7651
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7652
7652
|
}
|
|
7653
7653
|
return contents;
|
|
7654
7654
|
};
|
|
@@ -7657,7 +7657,7 @@ const deserializeAws_queryAvailabilityZone = (output, context) => {
|
|
|
7657
7657
|
Name: undefined,
|
|
7658
7658
|
};
|
|
7659
7659
|
if (output["Name"] !== undefined) {
|
|
7660
|
-
contents.Name =
|
|
7660
|
+
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
7661
7661
|
}
|
|
7662
7662
|
return contents;
|
|
7663
7663
|
};
|
|
@@ -7678,7 +7678,7 @@ const deserializeAws_queryAvailabilityZones = (output, context) => {
|
|
|
7678
7678
|
if (entry === null) {
|
|
7679
7679
|
return null;
|
|
7680
7680
|
}
|
|
7681
|
-
return
|
|
7681
|
+
return smithy_client_1.expectString(entry);
|
|
7682
7682
|
});
|
|
7683
7683
|
};
|
|
7684
7684
|
const deserializeAws_queryCertificateNotFoundFault = (output, context) => {
|
|
@@ -7686,7 +7686,7 @@ const deserializeAws_queryCertificateNotFoundFault = (output, context) => {
|
|
|
7686
7686
|
message: undefined,
|
|
7687
7687
|
};
|
|
7688
7688
|
if (output["message"] !== undefined) {
|
|
7689
|
-
contents.message =
|
|
7689
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
7690
7690
|
}
|
|
7691
7691
|
return contents;
|
|
7692
7692
|
};
|
|
@@ -7696,10 +7696,10 @@ const deserializeAws_queryCharacterSet = (output, context) => {
|
|
|
7696
7696
|
CharacterSetDescription: undefined,
|
|
7697
7697
|
};
|
|
7698
7698
|
if (output["CharacterSetName"] !== undefined) {
|
|
7699
|
-
contents.CharacterSetName =
|
|
7699
|
+
contents.CharacterSetName = smithy_client_1.expectString(output["CharacterSetName"]);
|
|
7700
7700
|
}
|
|
7701
7701
|
if (output["CharacterSetDescription"] !== undefined) {
|
|
7702
|
-
contents.CharacterSetDescription =
|
|
7702
|
+
contents.CharacterSetDescription = smithy_client_1.expectString(output["CharacterSetDescription"]);
|
|
7703
7703
|
}
|
|
7704
7704
|
return contents;
|
|
7705
7705
|
};
|
|
@@ -7744,40 +7744,40 @@ const deserializeAws_queryCreateDBClusterEndpointOutput = (output, context) => {
|
|
|
7744
7744
|
DBClusterEndpointArn: undefined,
|
|
7745
7745
|
};
|
|
7746
7746
|
if (output["DBClusterEndpointIdentifier"] !== undefined) {
|
|
7747
|
-
contents.DBClusterEndpointIdentifier =
|
|
7747
|
+
contents.DBClusterEndpointIdentifier = smithy_client_1.expectString(output["DBClusterEndpointIdentifier"]);
|
|
7748
7748
|
}
|
|
7749
7749
|
if (output["DBClusterIdentifier"] !== undefined) {
|
|
7750
|
-
contents.DBClusterIdentifier =
|
|
7750
|
+
contents.DBClusterIdentifier = smithy_client_1.expectString(output["DBClusterIdentifier"]);
|
|
7751
7751
|
}
|
|
7752
7752
|
if (output["DBClusterEndpointResourceIdentifier"] !== undefined) {
|
|
7753
|
-
contents.DBClusterEndpointResourceIdentifier =
|
|
7753
|
+
contents.DBClusterEndpointResourceIdentifier = smithy_client_1.expectString(output["DBClusterEndpointResourceIdentifier"]);
|
|
7754
7754
|
}
|
|
7755
7755
|
if (output["Endpoint"] !== undefined) {
|
|
7756
|
-
contents.Endpoint =
|
|
7756
|
+
contents.Endpoint = smithy_client_1.expectString(output["Endpoint"]);
|
|
7757
7757
|
}
|
|
7758
7758
|
if (output["Status"] !== undefined) {
|
|
7759
|
-
contents.Status =
|
|
7759
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
7760
7760
|
}
|
|
7761
7761
|
if (output["EndpointType"] !== undefined) {
|
|
7762
|
-
contents.EndpointType =
|
|
7762
|
+
contents.EndpointType = smithy_client_1.expectString(output["EndpointType"]);
|
|
7763
7763
|
}
|
|
7764
7764
|
if (output["CustomEndpointType"] !== undefined) {
|
|
7765
|
-
contents.CustomEndpointType =
|
|
7765
|
+
contents.CustomEndpointType = smithy_client_1.expectString(output["CustomEndpointType"]);
|
|
7766
7766
|
}
|
|
7767
7767
|
if (output.StaticMembers === "") {
|
|
7768
7768
|
contents.StaticMembers = [];
|
|
7769
7769
|
}
|
|
7770
7770
|
if (output["StaticMembers"] !== undefined && output["StaticMembers"]["member"] !== undefined) {
|
|
7771
|
-
contents.StaticMembers = deserializeAws_queryStringList(
|
|
7771
|
+
contents.StaticMembers = deserializeAws_queryStringList(smithy_client_1.getArrayIfSingleItem(output["StaticMembers"]["member"]), context);
|
|
7772
7772
|
}
|
|
7773
7773
|
if (output.ExcludedMembers === "") {
|
|
7774
7774
|
contents.ExcludedMembers = [];
|
|
7775
7775
|
}
|
|
7776
7776
|
if (output["ExcludedMembers"] !== undefined && output["ExcludedMembers"]["member"] !== undefined) {
|
|
7777
|
-
contents.ExcludedMembers = deserializeAws_queryStringList(
|
|
7777
|
+
contents.ExcludedMembers = deserializeAws_queryStringList(smithy_client_1.getArrayIfSingleItem(output["ExcludedMembers"]["member"]), context);
|
|
7778
7778
|
}
|
|
7779
7779
|
if (output["DBClusterEndpointArn"] !== undefined) {
|
|
7780
|
-
contents.DBClusterEndpointArn =
|
|
7780
|
+
contents.DBClusterEndpointArn = smithy_client_1.expectString(output["DBClusterEndpointArn"]);
|
|
7781
7781
|
}
|
|
7782
7782
|
return contents;
|
|
7783
7783
|
};
|
|
@@ -7888,149 +7888,149 @@ const deserializeAws_queryDBCluster = (output, context) => {
|
|
|
7888
7888
|
AutomaticRestartTime: undefined,
|
|
7889
7889
|
};
|
|
7890
7890
|
if (output["AllocatedStorage"] !== undefined) {
|
|
7891
|
-
contents.AllocatedStorage =
|
|
7891
|
+
contents.AllocatedStorage = smithy_client_1.strictParseInt32(output["AllocatedStorage"]);
|
|
7892
7892
|
}
|
|
7893
7893
|
if (output.AvailabilityZones === "") {
|
|
7894
7894
|
contents.AvailabilityZones = [];
|
|
7895
7895
|
}
|
|
7896
7896
|
if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
|
|
7897
|
-
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(
|
|
7897
|
+
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(smithy_client_1.getArrayIfSingleItem(output["AvailabilityZones"]["AvailabilityZone"]), context);
|
|
7898
7898
|
}
|
|
7899
7899
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
7900
|
-
contents.BackupRetentionPeriod =
|
|
7900
|
+
contents.BackupRetentionPeriod = smithy_client_1.strictParseInt32(output["BackupRetentionPeriod"]);
|
|
7901
7901
|
}
|
|
7902
7902
|
if (output["CharacterSetName"] !== undefined) {
|
|
7903
|
-
contents.CharacterSetName =
|
|
7903
|
+
contents.CharacterSetName = smithy_client_1.expectString(output["CharacterSetName"]);
|
|
7904
7904
|
}
|
|
7905
7905
|
if (output["DatabaseName"] !== undefined) {
|
|
7906
|
-
contents.DatabaseName =
|
|
7906
|
+
contents.DatabaseName = smithy_client_1.expectString(output["DatabaseName"]);
|
|
7907
7907
|
}
|
|
7908
7908
|
if (output["DBClusterIdentifier"] !== undefined) {
|
|
7909
|
-
contents.DBClusterIdentifier =
|
|
7909
|
+
contents.DBClusterIdentifier = smithy_client_1.expectString(output["DBClusterIdentifier"]);
|
|
7910
7910
|
}
|
|
7911
7911
|
if (output["DBClusterParameterGroup"] !== undefined) {
|
|
7912
|
-
contents.DBClusterParameterGroup =
|
|
7912
|
+
contents.DBClusterParameterGroup = smithy_client_1.expectString(output["DBClusterParameterGroup"]);
|
|
7913
7913
|
}
|
|
7914
7914
|
if (output["DBSubnetGroup"] !== undefined) {
|
|
7915
|
-
contents.DBSubnetGroup =
|
|
7915
|
+
contents.DBSubnetGroup = smithy_client_1.expectString(output["DBSubnetGroup"]);
|
|
7916
7916
|
}
|
|
7917
7917
|
if (output["Status"] !== undefined) {
|
|
7918
|
-
contents.Status =
|
|
7918
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
7919
7919
|
}
|
|
7920
7920
|
if (output["PercentProgress"] !== undefined) {
|
|
7921
|
-
contents.PercentProgress =
|
|
7921
|
+
contents.PercentProgress = smithy_client_1.expectString(output["PercentProgress"]);
|
|
7922
7922
|
}
|
|
7923
7923
|
if (output["EarliestRestorableTime"] !== undefined) {
|
|
7924
|
-
contents.EarliestRestorableTime =
|
|
7924
|
+
contents.EarliestRestorableTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["EarliestRestorableTime"]));
|
|
7925
7925
|
}
|
|
7926
7926
|
if (output["Endpoint"] !== undefined) {
|
|
7927
|
-
contents.Endpoint =
|
|
7927
|
+
contents.Endpoint = smithy_client_1.expectString(output["Endpoint"]);
|
|
7928
7928
|
}
|
|
7929
7929
|
if (output["ReaderEndpoint"] !== undefined) {
|
|
7930
|
-
contents.ReaderEndpoint =
|
|
7930
|
+
contents.ReaderEndpoint = smithy_client_1.expectString(output["ReaderEndpoint"]);
|
|
7931
7931
|
}
|
|
7932
7932
|
if (output["MultiAZ"] !== undefined) {
|
|
7933
|
-
contents.MultiAZ =
|
|
7933
|
+
contents.MultiAZ = smithy_client_1.parseBoolean(output["MultiAZ"]);
|
|
7934
7934
|
}
|
|
7935
7935
|
if (output["Engine"] !== undefined) {
|
|
7936
|
-
contents.Engine =
|
|
7936
|
+
contents.Engine = smithy_client_1.expectString(output["Engine"]);
|
|
7937
7937
|
}
|
|
7938
7938
|
if (output["EngineVersion"] !== undefined) {
|
|
7939
|
-
contents.EngineVersion =
|
|
7939
|
+
contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
|
|
7940
7940
|
}
|
|
7941
7941
|
if (output["LatestRestorableTime"] !== undefined) {
|
|
7942
|
-
contents.LatestRestorableTime =
|
|
7942
|
+
contents.LatestRestorableTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LatestRestorableTime"]));
|
|
7943
7943
|
}
|
|
7944
7944
|
if (output["Port"] !== undefined) {
|
|
7945
|
-
contents.Port =
|
|
7945
|
+
contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
|
|
7946
7946
|
}
|
|
7947
7947
|
if (output["MasterUsername"] !== undefined) {
|
|
7948
|
-
contents.MasterUsername =
|
|
7948
|
+
contents.MasterUsername = smithy_client_1.expectString(output["MasterUsername"]);
|
|
7949
7949
|
}
|
|
7950
7950
|
if (output.DBClusterOptionGroupMemberships === "") {
|
|
7951
7951
|
contents.DBClusterOptionGroupMemberships = [];
|
|
7952
7952
|
}
|
|
7953
7953
|
if (output["DBClusterOptionGroupMemberships"] !== undefined &&
|
|
7954
7954
|
output["DBClusterOptionGroupMemberships"]["DBClusterOptionGroup"] !== undefined) {
|
|
7955
|
-
contents.DBClusterOptionGroupMemberships = deserializeAws_queryDBClusterOptionGroupMemberships(
|
|
7955
|
+
contents.DBClusterOptionGroupMemberships = deserializeAws_queryDBClusterOptionGroupMemberships(smithy_client_1.getArrayIfSingleItem(output["DBClusterOptionGroupMemberships"]["DBClusterOptionGroup"]), context);
|
|
7956
7956
|
}
|
|
7957
7957
|
if (output["PreferredBackupWindow"] !== undefined) {
|
|
7958
|
-
contents.PreferredBackupWindow =
|
|
7958
|
+
contents.PreferredBackupWindow = smithy_client_1.expectString(output["PreferredBackupWindow"]);
|
|
7959
7959
|
}
|
|
7960
7960
|
if (output["PreferredMaintenanceWindow"] !== undefined) {
|
|
7961
|
-
contents.PreferredMaintenanceWindow =
|
|
7961
|
+
contents.PreferredMaintenanceWindow = smithy_client_1.expectString(output["PreferredMaintenanceWindow"]);
|
|
7962
7962
|
}
|
|
7963
7963
|
if (output["ReplicationSourceIdentifier"] !== undefined) {
|
|
7964
|
-
contents.ReplicationSourceIdentifier =
|
|
7964
|
+
contents.ReplicationSourceIdentifier = smithy_client_1.expectString(output["ReplicationSourceIdentifier"]);
|
|
7965
7965
|
}
|
|
7966
7966
|
if (output.ReadReplicaIdentifiers === "") {
|
|
7967
7967
|
contents.ReadReplicaIdentifiers = [];
|
|
7968
7968
|
}
|
|
7969
7969
|
if (output["ReadReplicaIdentifiers"] !== undefined &&
|
|
7970
7970
|
output["ReadReplicaIdentifiers"]["ReadReplicaIdentifier"] !== undefined) {
|
|
7971
|
-
contents.ReadReplicaIdentifiers = deserializeAws_queryReadReplicaIdentifierList(
|
|
7971
|
+
contents.ReadReplicaIdentifiers = deserializeAws_queryReadReplicaIdentifierList(smithy_client_1.getArrayIfSingleItem(output["ReadReplicaIdentifiers"]["ReadReplicaIdentifier"]), context);
|
|
7972
7972
|
}
|
|
7973
7973
|
if (output.DBClusterMembers === "") {
|
|
7974
7974
|
contents.DBClusterMembers = [];
|
|
7975
7975
|
}
|
|
7976
7976
|
if (output["DBClusterMembers"] !== undefined && output["DBClusterMembers"]["DBClusterMember"] !== undefined) {
|
|
7977
|
-
contents.DBClusterMembers = deserializeAws_queryDBClusterMemberList(
|
|
7977
|
+
contents.DBClusterMembers = deserializeAws_queryDBClusterMemberList(smithy_client_1.getArrayIfSingleItem(output["DBClusterMembers"]["DBClusterMember"]), context);
|
|
7978
7978
|
}
|
|
7979
7979
|
if (output.VpcSecurityGroups === "") {
|
|
7980
7980
|
contents.VpcSecurityGroups = [];
|
|
7981
7981
|
}
|
|
7982
7982
|
if (output["VpcSecurityGroups"] !== undefined &&
|
|
7983
7983
|
output["VpcSecurityGroups"]["VpcSecurityGroupMembership"] !== undefined) {
|
|
7984
|
-
contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList(
|
|
7984
|
+
contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList(smithy_client_1.getArrayIfSingleItem(output["VpcSecurityGroups"]["VpcSecurityGroupMembership"]), context);
|
|
7985
7985
|
}
|
|
7986
7986
|
if (output["HostedZoneId"] !== undefined) {
|
|
7987
|
-
contents.HostedZoneId =
|
|
7987
|
+
contents.HostedZoneId = smithy_client_1.expectString(output["HostedZoneId"]);
|
|
7988
7988
|
}
|
|
7989
7989
|
if (output["StorageEncrypted"] !== undefined) {
|
|
7990
|
-
contents.StorageEncrypted =
|
|
7990
|
+
contents.StorageEncrypted = smithy_client_1.parseBoolean(output["StorageEncrypted"]);
|
|
7991
7991
|
}
|
|
7992
7992
|
if (output["KmsKeyId"] !== undefined) {
|
|
7993
|
-
contents.KmsKeyId =
|
|
7993
|
+
contents.KmsKeyId = smithy_client_1.expectString(output["KmsKeyId"]);
|
|
7994
7994
|
}
|
|
7995
7995
|
if (output["DbClusterResourceId"] !== undefined) {
|
|
7996
|
-
contents.DbClusterResourceId =
|
|
7996
|
+
contents.DbClusterResourceId = smithy_client_1.expectString(output["DbClusterResourceId"]);
|
|
7997
7997
|
}
|
|
7998
7998
|
if (output["DBClusterArn"] !== undefined) {
|
|
7999
|
-
contents.DBClusterArn =
|
|
7999
|
+
contents.DBClusterArn = smithy_client_1.expectString(output["DBClusterArn"]);
|
|
8000
8000
|
}
|
|
8001
8001
|
if (output.AssociatedRoles === "") {
|
|
8002
8002
|
contents.AssociatedRoles = [];
|
|
8003
8003
|
}
|
|
8004
8004
|
if (output["AssociatedRoles"] !== undefined && output["AssociatedRoles"]["DBClusterRole"] !== undefined) {
|
|
8005
|
-
contents.AssociatedRoles = deserializeAws_queryDBClusterRoles(
|
|
8005
|
+
contents.AssociatedRoles = deserializeAws_queryDBClusterRoles(smithy_client_1.getArrayIfSingleItem(output["AssociatedRoles"]["DBClusterRole"]), context);
|
|
8006
8006
|
}
|
|
8007
8007
|
if (output["IAMDatabaseAuthenticationEnabled"] !== undefined) {
|
|
8008
|
-
contents.IAMDatabaseAuthenticationEnabled =
|
|
8008
|
+
contents.IAMDatabaseAuthenticationEnabled = smithy_client_1.parseBoolean(output["IAMDatabaseAuthenticationEnabled"]);
|
|
8009
8009
|
}
|
|
8010
8010
|
if (output["CloneGroupId"] !== undefined) {
|
|
8011
|
-
contents.CloneGroupId =
|
|
8011
|
+
contents.CloneGroupId = smithy_client_1.expectString(output["CloneGroupId"]);
|
|
8012
8012
|
}
|
|
8013
8013
|
if (output["ClusterCreateTime"] !== undefined) {
|
|
8014
|
-
contents.ClusterCreateTime =
|
|
8014
|
+
contents.ClusterCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ClusterCreateTime"]));
|
|
8015
8015
|
}
|
|
8016
8016
|
if (output["CopyTagsToSnapshot"] !== undefined) {
|
|
8017
|
-
contents.CopyTagsToSnapshot =
|
|
8017
|
+
contents.CopyTagsToSnapshot = smithy_client_1.parseBoolean(output["CopyTagsToSnapshot"]);
|
|
8018
8018
|
}
|
|
8019
8019
|
if (output.EnabledCloudwatchLogsExports === "") {
|
|
8020
8020
|
contents.EnabledCloudwatchLogsExports = [];
|
|
8021
8021
|
}
|
|
8022
8022
|
if (output["EnabledCloudwatchLogsExports"] !== undefined &&
|
|
8023
8023
|
output["EnabledCloudwatchLogsExports"]["member"] !== undefined) {
|
|
8024
|
-
contents.EnabledCloudwatchLogsExports = deserializeAws_queryLogTypeList(
|
|
8024
|
+
contents.EnabledCloudwatchLogsExports = deserializeAws_queryLogTypeList(smithy_client_1.getArrayIfSingleItem(output["EnabledCloudwatchLogsExports"]["member"]), context);
|
|
8025
8025
|
}
|
|
8026
8026
|
if (output["DeletionProtection"] !== undefined) {
|
|
8027
|
-
contents.DeletionProtection =
|
|
8027
|
+
contents.DeletionProtection = smithy_client_1.parseBoolean(output["DeletionProtection"]);
|
|
8028
8028
|
}
|
|
8029
8029
|
if (output["CrossAccountClone"] !== undefined) {
|
|
8030
|
-
contents.CrossAccountClone =
|
|
8030
|
+
contents.CrossAccountClone = smithy_client_1.parseBoolean(output["CrossAccountClone"]);
|
|
8031
8031
|
}
|
|
8032
8032
|
if (output["AutomaticRestartTime"] !== undefined) {
|
|
8033
|
-
contents.AutomaticRestartTime =
|
|
8033
|
+
contents.AutomaticRestartTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["AutomaticRestartTime"]));
|
|
8034
8034
|
}
|
|
8035
8035
|
return contents;
|
|
8036
8036
|
};
|
|
@@ -8039,7 +8039,7 @@ const deserializeAws_queryDBClusterAlreadyExistsFault = (output, context) => {
|
|
|
8039
8039
|
message: undefined,
|
|
8040
8040
|
};
|
|
8041
8041
|
if (output["message"] !== undefined) {
|
|
8042
|
-
contents.message =
|
|
8042
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8043
8043
|
}
|
|
8044
8044
|
return contents;
|
|
8045
8045
|
};
|
|
@@ -8057,40 +8057,40 @@ const deserializeAws_queryDBClusterEndpoint = (output, context) => {
|
|
|
8057
8057
|
DBClusterEndpointArn: undefined,
|
|
8058
8058
|
};
|
|
8059
8059
|
if (output["DBClusterEndpointIdentifier"] !== undefined) {
|
|
8060
|
-
contents.DBClusterEndpointIdentifier =
|
|
8060
|
+
contents.DBClusterEndpointIdentifier = smithy_client_1.expectString(output["DBClusterEndpointIdentifier"]);
|
|
8061
8061
|
}
|
|
8062
8062
|
if (output["DBClusterIdentifier"] !== undefined) {
|
|
8063
|
-
contents.DBClusterIdentifier =
|
|
8063
|
+
contents.DBClusterIdentifier = smithy_client_1.expectString(output["DBClusterIdentifier"]);
|
|
8064
8064
|
}
|
|
8065
8065
|
if (output["DBClusterEndpointResourceIdentifier"] !== undefined) {
|
|
8066
|
-
contents.DBClusterEndpointResourceIdentifier =
|
|
8066
|
+
contents.DBClusterEndpointResourceIdentifier = smithy_client_1.expectString(output["DBClusterEndpointResourceIdentifier"]);
|
|
8067
8067
|
}
|
|
8068
8068
|
if (output["Endpoint"] !== undefined) {
|
|
8069
|
-
contents.Endpoint =
|
|
8069
|
+
contents.Endpoint = smithy_client_1.expectString(output["Endpoint"]);
|
|
8070
8070
|
}
|
|
8071
8071
|
if (output["Status"] !== undefined) {
|
|
8072
|
-
contents.Status =
|
|
8072
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
8073
8073
|
}
|
|
8074
8074
|
if (output["EndpointType"] !== undefined) {
|
|
8075
|
-
contents.EndpointType =
|
|
8075
|
+
contents.EndpointType = smithy_client_1.expectString(output["EndpointType"]);
|
|
8076
8076
|
}
|
|
8077
8077
|
if (output["CustomEndpointType"] !== undefined) {
|
|
8078
|
-
contents.CustomEndpointType =
|
|
8078
|
+
contents.CustomEndpointType = smithy_client_1.expectString(output["CustomEndpointType"]);
|
|
8079
8079
|
}
|
|
8080
8080
|
if (output.StaticMembers === "") {
|
|
8081
8081
|
contents.StaticMembers = [];
|
|
8082
8082
|
}
|
|
8083
8083
|
if (output["StaticMembers"] !== undefined && output["StaticMembers"]["member"] !== undefined) {
|
|
8084
|
-
contents.StaticMembers = deserializeAws_queryStringList(
|
|
8084
|
+
contents.StaticMembers = deserializeAws_queryStringList(smithy_client_1.getArrayIfSingleItem(output["StaticMembers"]["member"]), context);
|
|
8085
8085
|
}
|
|
8086
8086
|
if (output.ExcludedMembers === "") {
|
|
8087
8087
|
contents.ExcludedMembers = [];
|
|
8088
8088
|
}
|
|
8089
8089
|
if (output["ExcludedMembers"] !== undefined && output["ExcludedMembers"]["member"] !== undefined) {
|
|
8090
|
-
contents.ExcludedMembers = deserializeAws_queryStringList(
|
|
8090
|
+
contents.ExcludedMembers = deserializeAws_queryStringList(smithy_client_1.getArrayIfSingleItem(output["ExcludedMembers"]["member"]), context);
|
|
8091
8091
|
}
|
|
8092
8092
|
if (output["DBClusterEndpointArn"] !== undefined) {
|
|
8093
|
-
contents.DBClusterEndpointArn =
|
|
8093
|
+
contents.DBClusterEndpointArn = smithy_client_1.expectString(output["DBClusterEndpointArn"]);
|
|
8094
8094
|
}
|
|
8095
8095
|
return contents;
|
|
8096
8096
|
};
|
|
@@ -8099,7 +8099,7 @@ const deserializeAws_queryDBClusterEndpointAlreadyExistsFault = (output, context
|
|
|
8099
8099
|
message: undefined,
|
|
8100
8100
|
};
|
|
8101
8101
|
if (output["message"] !== undefined) {
|
|
8102
|
-
contents.message =
|
|
8102
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8103
8103
|
}
|
|
8104
8104
|
return contents;
|
|
8105
8105
|
};
|
|
@@ -8119,14 +8119,14 @@ const deserializeAws_queryDBClusterEndpointMessage = (output, context) => {
|
|
|
8119
8119
|
DBClusterEndpoints: undefined,
|
|
8120
8120
|
};
|
|
8121
8121
|
if (output["Marker"] !== undefined) {
|
|
8122
|
-
contents.Marker =
|
|
8122
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
8123
8123
|
}
|
|
8124
8124
|
if (output.DBClusterEndpoints === "") {
|
|
8125
8125
|
contents.DBClusterEndpoints = [];
|
|
8126
8126
|
}
|
|
8127
8127
|
if (output["DBClusterEndpoints"] !== undefined &&
|
|
8128
8128
|
output["DBClusterEndpoints"]["DBClusterEndpointList"] !== undefined) {
|
|
8129
|
-
contents.DBClusterEndpoints = deserializeAws_queryDBClusterEndpointList(
|
|
8129
|
+
contents.DBClusterEndpoints = deserializeAws_queryDBClusterEndpointList(smithy_client_1.getArrayIfSingleItem(output["DBClusterEndpoints"]["DBClusterEndpointList"]), context);
|
|
8130
8130
|
}
|
|
8131
8131
|
return contents;
|
|
8132
8132
|
};
|
|
@@ -8135,7 +8135,7 @@ const deserializeAws_queryDBClusterEndpointNotFoundFault = (output, context) =>
|
|
|
8135
8135
|
message: undefined,
|
|
8136
8136
|
};
|
|
8137
8137
|
if (output["message"] !== undefined) {
|
|
8138
|
-
contents.message =
|
|
8138
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8139
8139
|
}
|
|
8140
8140
|
return contents;
|
|
8141
8141
|
};
|
|
@@ -8144,7 +8144,7 @@ const deserializeAws_queryDBClusterEndpointQuotaExceededFault = (output, context
|
|
|
8144
8144
|
message: undefined,
|
|
8145
8145
|
};
|
|
8146
8146
|
if (output["message"] !== undefined) {
|
|
8147
|
-
contents.message =
|
|
8147
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8148
8148
|
}
|
|
8149
8149
|
return contents;
|
|
8150
8150
|
};
|
|
@@ -8166,16 +8166,16 @@ const deserializeAws_queryDBClusterMember = (output, context) => {
|
|
|
8166
8166
|
PromotionTier: undefined,
|
|
8167
8167
|
};
|
|
8168
8168
|
if (output["DBInstanceIdentifier"] !== undefined) {
|
|
8169
|
-
contents.DBInstanceIdentifier =
|
|
8169
|
+
contents.DBInstanceIdentifier = smithy_client_1.expectString(output["DBInstanceIdentifier"]);
|
|
8170
8170
|
}
|
|
8171
8171
|
if (output["IsClusterWriter"] !== undefined) {
|
|
8172
|
-
contents.IsClusterWriter =
|
|
8172
|
+
contents.IsClusterWriter = smithy_client_1.parseBoolean(output["IsClusterWriter"]);
|
|
8173
8173
|
}
|
|
8174
8174
|
if (output["DBClusterParameterGroupStatus"] !== undefined) {
|
|
8175
|
-
contents.DBClusterParameterGroupStatus =
|
|
8175
|
+
contents.DBClusterParameterGroupStatus = smithy_client_1.expectString(output["DBClusterParameterGroupStatus"]);
|
|
8176
8176
|
}
|
|
8177
8177
|
if (output["PromotionTier"] !== undefined) {
|
|
8178
|
-
contents.PromotionTier =
|
|
8178
|
+
contents.PromotionTier = smithy_client_1.strictParseInt32(output["PromotionTier"]);
|
|
8179
8179
|
}
|
|
8180
8180
|
return contents;
|
|
8181
8181
|
};
|
|
@@ -8195,13 +8195,13 @@ const deserializeAws_queryDBClusterMessage = (output, context) => {
|
|
|
8195
8195
|
DBClusters: undefined,
|
|
8196
8196
|
};
|
|
8197
8197
|
if (output["Marker"] !== undefined) {
|
|
8198
|
-
contents.Marker =
|
|
8198
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
8199
8199
|
}
|
|
8200
8200
|
if (output.DBClusters === "") {
|
|
8201
8201
|
contents.DBClusters = [];
|
|
8202
8202
|
}
|
|
8203
8203
|
if (output["DBClusters"] !== undefined && output["DBClusters"]["DBCluster"] !== undefined) {
|
|
8204
|
-
contents.DBClusters = deserializeAws_queryDBClusterList(
|
|
8204
|
+
contents.DBClusters = deserializeAws_queryDBClusterList(smithy_client_1.getArrayIfSingleItem(output["DBClusters"]["DBCluster"]), context);
|
|
8205
8205
|
}
|
|
8206
8206
|
return contents;
|
|
8207
8207
|
};
|
|
@@ -8210,7 +8210,7 @@ const deserializeAws_queryDBClusterNotFoundFault = (output, context) => {
|
|
|
8210
8210
|
message: undefined,
|
|
8211
8211
|
};
|
|
8212
8212
|
if (output["message"] !== undefined) {
|
|
8213
|
-
contents.message =
|
|
8213
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8214
8214
|
}
|
|
8215
8215
|
return contents;
|
|
8216
8216
|
};
|
|
@@ -8230,10 +8230,10 @@ const deserializeAws_queryDBClusterOptionGroupStatus = (output, context) => {
|
|
|
8230
8230
|
Status: undefined,
|
|
8231
8231
|
};
|
|
8232
8232
|
if (output["DBClusterOptionGroupName"] !== undefined) {
|
|
8233
|
-
contents.DBClusterOptionGroupName =
|
|
8233
|
+
contents.DBClusterOptionGroupName = smithy_client_1.expectString(output["DBClusterOptionGroupName"]);
|
|
8234
8234
|
}
|
|
8235
8235
|
if (output["Status"] !== undefined) {
|
|
8236
|
-
contents.Status =
|
|
8236
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
8237
8237
|
}
|
|
8238
8238
|
return contents;
|
|
8239
8239
|
};
|
|
@@ -8245,16 +8245,16 @@ const deserializeAws_queryDBClusterParameterGroup = (output, context) => {
|
|
|
8245
8245
|
DBClusterParameterGroupArn: undefined,
|
|
8246
8246
|
};
|
|
8247
8247
|
if (output["DBClusterParameterGroupName"] !== undefined) {
|
|
8248
|
-
contents.DBClusterParameterGroupName =
|
|
8248
|
+
contents.DBClusterParameterGroupName = smithy_client_1.expectString(output["DBClusterParameterGroupName"]);
|
|
8249
8249
|
}
|
|
8250
8250
|
if (output["DBParameterGroupFamily"] !== undefined) {
|
|
8251
|
-
contents.DBParameterGroupFamily =
|
|
8251
|
+
contents.DBParameterGroupFamily = smithy_client_1.expectString(output["DBParameterGroupFamily"]);
|
|
8252
8252
|
}
|
|
8253
8253
|
if (output["Description"] !== undefined) {
|
|
8254
|
-
contents.Description =
|
|
8254
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
8255
8255
|
}
|
|
8256
8256
|
if (output["DBClusterParameterGroupArn"] !== undefined) {
|
|
8257
|
-
contents.DBClusterParameterGroupArn =
|
|
8257
|
+
contents.DBClusterParameterGroupArn = smithy_client_1.expectString(output["DBClusterParameterGroupArn"]);
|
|
8258
8258
|
}
|
|
8259
8259
|
return contents;
|
|
8260
8260
|
};
|
|
@@ -8267,10 +8267,10 @@ const deserializeAws_queryDBClusterParameterGroupDetails = (output, context) =>
|
|
|
8267
8267
|
contents.Parameters = [];
|
|
8268
8268
|
}
|
|
8269
8269
|
if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
|
|
8270
|
-
contents.Parameters = deserializeAws_queryParametersList(
|
|
8270
|
+
contents.Parameters = deserializeAws_queryParametersList(smithy_client_1.getArrayIfSingleItem(output["Parameters"]["Parameter"]), context);
|
|
8271
8271
|
}
|
|
8272
8272
|
if (output["Marker"] !== undefined) {
|
|
8273
|
-
contents.Marker =
|
|
8273
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
8274
8274
|
}
|
|
8275
8275
|
return contents;
|
|
8276
8276
|
};
|
|
@@ -8289,7 +8289,7 @@ const deserializeAws_queryDBClusterParameterGroupNameMessage = (output, context)
|
|
|
8289
8289
|
DBClusterParameterGroupName: undefined,
|
|
8290
8290
|
};
|
|
8291
8291
|
if (output["DBClusterParameterGroupName"] !== undefined) {
|
|
8292
|
-
contents.DBClusterParameterGroupName =
|
|
8292
|
+
contents.DBClusterParameterGroupName = smithy_client_1.expectString(output["DBClusterParameterGroupName"]);
|
|
8293
8293
|
}
|
|
8294
8294
|
return contents;
|
|
8295
8295
|
};
|
|
@@ -8298,7 +8298,7 @@ const deserializeAws_queryDBClusterParameterGroupNotFoundFault = (output, contex
|
|
|
8298
8298
|
message: undefined,
|
|
8299
8299
|
};
|
|
8300
8300
|
if (output["message"] !== undefined) {
|
|
8301
|
-
contents.message =
|
|
8301
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8302
8302
|
}
|
|
8303
8303
|
return contents;
|
|
8304
8304
|
};
|
|
@@ -8308,14 +8308,14 @@ const deserializeAws_queryDBClusterParameterGroupsMessage = (output, context) =>
|
|
|
8308
8308
|
DBClusterParameterGroups: undefined,
|
|
8309
8309
|
};
|
|
8310
8310
|
if (output["Marker"] !== undefined) {
|
|
8311
|
-
contents.Marker =
|
|
8311
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
8312
8312
|
}
|
|
8313
8313
|
if (output.DBClusterParameterGroups === "") {
|
|
8314
8314
|
contents.DBClusterParameterGroups = [];
|
|
8315
8315
|
}
|
|
8316
8316
|
if (output["DBClusterParameterGroups"] !== undefined &&
|
|
8317
8317
|
output["DBClusterParameterGroups"]["DBClusterParameterGroup"] !== undefined) {
|
|
8318
|
-
contents.DBClusterParameterGroups = deserializeAws_queryDBClusterParameterGroupList(
|
|
8318
|
+
contents.DBClusterParameterGroups = deserializeAws_queryDBClusterParameterGroupList(smithy_client_1.getArrayIfSingleItem(output["DBClusterParameterGroups"]["DBClusterParameterGroup"]), context);
|
|
8319
8319
|
}
|
|
8320
8320
|
return contents;
|
|
8321
8321
|
};
|
|
@@ -8324,7 +8324,7 @@ const deserializeAws_queryDBClusterQuotaExceededFault = (output, context) => {
|
|
|
8324
8324
|
message: undefined,
|
|
8325
8325
|
};
|
|
8326
8326
|
if (output["message"] !== undefined) {
|
|
8327
|
-
contents.message =
|
|
8327
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8328
8328
|
}
|
|
8329
8329
|
return contents;
|
|
8330
8330
|
};
|
|
@@ -8335,13 +8335,13 @@ const deserializeAws_queryDBClusterRole = (output, context) => {
|
|
|
8335
8335
|
FeatureName: undefined,
|
|
8336
8336
|
};
|
|
8337
8337
|
if (output["RoleArn"] !== undefined) {
|
|
8338
|
-
contents.RoleArn =
|
|
8338
|
+
contents.RoleArn = smithy_client_1.expectString(output["RoleArn"]);
|
|
8339
8339
|
}
|
|
8340
8340
|
if (output["Status"] !== undefined) {
|
|
8341
|
-
contents.Status =
|
|
8341
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
8342
8342
|
}
|
|
8343
8343
|
if (output["FeatureName"] !== undefined) {
|
|
8344
|
-
contents.FeatureName =
|
|
8344
|
+
contents.FeatureName = smithy_client_1.expectString(output["FeatureName"]);
|
|
8345
8345
|
}
|
|
8346
8346
|
return contents;
|
|
8347
8347
|
};
|
|
@@ -8350,7 +8350,7 @@ const deserializeAws_queryDBClusterRoleAlreadyExistsFault = (output, context) =>
|
|
|
8350
8350
|
message: undefined,
|
|
8351
8351
|
};
|
|
8352
8352
|
if (output["message"] !== undefined) {
|
|
8353
|
-
contents.message =
|
|
8353
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8354
8354
|
}
|
|
8355
8355
|
return contents;
|
|
8356
8356
|
};
|
|
@@ -8359,7 +8359,7 @@ const deserializeAws_queryDBClusterRoleNotFoundFault = (output, context) => {
|
|
|
8359
8359
|
message: undefined,
|
|
8360
8360
|
};
|
|
8361
8361
|
if (output["message"] !== undefined) {
|
|
8362
|
-
contents.message =
|
|
8362
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8363
8363
|
}
|
|
8364
8364
|
return contents;
|
|
8365
8365
|
};
|
|
@@ -8368,7 +8368,7 @@ const deserializeAws_queryDBClusterRoleQuotaExceededFault = (output, context) =>
|
|
|
8368
8368
|
message: undefined,
|
|
8369
8369
|
};
|
|
8370
8370
|
if (output["message"] !== undefined) {
|
|
8371
|
-
contents.message =
|
|
8371
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8372
8372
|
}
|
|
8373
8373
|
return contents;
|
|
8374
8374
|
};
|
|
@@ -8409,64 +8409,64 @@ const deserializeAws_queryDBClusterSnapshot = (output, context) => {
|
|
|
8409
8409
|
contents.AvailabilityZones = [];
|
|
8410
8410
|
}
|
|
8411
8411
|
if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
|
|
8412
|
-
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(
|
|
8412
|
+
contents.AvailabilityZones = deserializeAws_queryAvailabilityZones(smithy_client_1.getArrayIfSingleItem(output["AvailabilityZones"]["AvailabilityZone"]), context);
|
|
8413
8413
|
}
|
|
8414
8414
|
if (output["DBClusterSnapshotIdentifier"] !== undefined) {
|
|
8415
|
-
contents.DBClusterSnapshotIdentifier =
|
|
8415
|
+
contents.DBClusterSnapshotIdentifier = smithy_client_1.expectString(output["DBClusterSnapshotIdentifier"]);
|
|
8416
8416
|
}
|
|
8417
8417
|
if (output["DBClusterIdentifier"] !== undefined) {
|
|
8418
|
-
contents.DBClusterIdentifier =
|
|
8418
|
+
contents.DBClusterIdentifier = smithy_client_1.expectString(output["DBClusterIdentifier"]);
|
|
8419
8419
|
}
|
|
8420
8420
|
if (output["SnapshotCreateTime"] !== undefined) {
|
|
8421
|
-
contents.SnapshotCreateTime =
|
|
8421
|
+
contents.SnapshotCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["SnapshotCreateTime"]));
|
|
8422
8422
|
}
|
|
8423
8423
|
if (output["Engine"] !== undefined) {
|
|
8424
|
-
contents.Engine =
|
|
8424
|
+
contents.Engine = smithy_client_1.expectString(output["Engine"]);
|
|
8425
8425
|
}
|
|
8426
8426
|
if (output["AllocatedStorage"] !== undefined) {
|
|
8427
|
-
contents.AllocatedStorage =
|
|
8427
|
+
contents.AllocatedStorage = smithy_client_1.strictParseInt32(output["AllocatedStorage"]);
|
|
8428
8428
|
}
|
|
8429
8429
|
if (output["Status"] !== undefined) {
|
|
8430
|
-
contents.Status =
|
|
8430
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
8431
8431
|
}
|
|
8432
8432
|
if (output["Port"] !== undefined) {
|
|
8433
|
-
contents.Port =
|
|
8433
|
+
contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
|
|
8434
8434
|
}
|
|
8435
8435
|
if (output["VpcId"] !== undefined) {
|
|
8436
|
-
contents.VpcId =
|
|
8436
|
+
contents.VpcId = smithy_client_1.expectString(output["VpcId"]);
|
|
8437
8437
|
}
|
|
8438
8438
|
if (output["ClusterCreateTime"] !== undefined) {
|
|
8439
|
-
contents.ClusterCreateTime =
|
|
8439
|
+
contents.ClusterCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ClusterCreateTime"]));
|
|
8440
8440
|
}
|
|
8441
8441
|
if (output["MasterUsername"] !== undefined) {
|
|
8442
|
-
contents.MasterUsername =
|
|
8442
|
+
contents.MasterUsername = smithy_client_1.expectString(output["MasterUsername"]);
|
|
8443
8443
|
}
|
|
8444
8444
|
if (output["EngineVersion"] !== undefined) {
|
|
8445
|
-
contents.EngineVersion =
|
|
8445
|
+
contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
|
|
8446
8446
|
}
|
|
8447
8447
|
if (output["LicenseModel"] !== undefined) {
|
|
8448
|
-
contents.LicenseModel =
|
|
8448
|
+
contents.LicenseModel = smithy_client_1.expectString(output["LicenseModel"]);
|
|
8449
8449
|
}
|
|
8450
8450
|
if (output["SnapshotType"] !== undefined) {
|
|
8451
|
-
contents.SnapshotType =
|
|
8451
|
+
contents.SnapshotType = smithy_client_1.expectString(output["SnapshotType"]);
|
|
8452
8452
|
}
|
|
8453
8453
|
if (output["PercentProgress"] !== undefined) {
|
|
8454
|
-
contents.PercentProgress =
|
|
8454
|
+
contents.PercentProgress = smithy_client_1.strictParseInt32(output["PercentProgress"]);
|
|
8455
8455
|
}
|
|
8456
8456
|
if (output["StorageEncrypted"] !== undefined) {
|
|
8457
|
-
contents.StorageEncrypted =
|
|
8457
|
+
contents.StorageEncrypted = smithy_client_1.parseBoolean(output["StorageEncrypted"]);
|
|
8458
8458
|
}
|
|
8459
8459
|
if (output["KmsKeyId"] !== undefined) {
|
|
8460
|
-
contents.KmsKeyId =
|
|
8460
|
+
contents.KmsKeyId = smithy_client_1.expectString(output["KmsKeyId"]);
|
|
8461
8461
|
}
|
|
8462
8462
|
if (output["DBClusterSnapshotArn"] !== undefined) {
|
|
8463
|
-
contents.DBClusterSnapshotArn =
|
|
8463
|
+
contents.DBClusterSnapshotArn = smithy_client_1.expectString(output["DBClusterSnapshotArn"]);
|
|
8464
8464
|
}
|
|
8465
8465
|
if (output["SourceDBClusterSnapshotArn"] !== undefined) {
|
|
8466
|
-
contents.SourceDBClusterSnapshotArn =
|
|
8466
|
+
contents.SourceDBClusterSnapshotArn = smithy_client_1.expectString(output["SourceDBClusterSnapshotArn"]);
|
|
8467
8467
|
}
|
|
8468
8468
|
if (output["IAMDatabaseAuthenticationEnabled"] !== undefined) {
|
|
8469
|
-
contents.IAMDatabaseAuthenticationEnabled =
|
|
8469
|
+
contents.IAMDatabaseAuthenticationEnabled = smithy_client_1.parseBoolean(output["IAMDatabaseAuthenticationEnabled"]);
|
|
8470
8470
|
}
|
|
8471
8471
|
return contents;
|
|
8472
8472
|
};
|
|
@@ -8475,7 +8475,7 @@ const deserializeAws_queryDBClusterSnapshotAlreadyExistsFault = (output, context
|
|
|
8475
8475
|
message: undefined,
|
|
8476
8476
|
};
|
|
8477
8477
|
if (output["message"] !== undefined) {
|
|
8478
|
-
contents.message =
|
|
8478
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8479
8479
|
}
|
|
8480
8480
|
return contents;
|
|
8481
8481
|
};
|
|
@@ -8485,13 +8485,13 @@ const deserializeAws_queryDBClusterSnapshotAttribute = (output, context) => {
|
|
|
8485
8485
|
AttributeValues: undefined,
|
|
8486
8486
|
};
|
|
8487
8487
|
if (output["AttributeName"] !== undefined) {
|
|
8488
|
-
contents.AttributeName =
|
|
8488
|
+
contents.AttributeName = smithy_client_1.expectString(output["AttributeName"]);
|
|
8489
8489
|
}
|
|
8490
8490
|
if (output.AttributeValues === "") {
|
|
8491
8491
|
contents.AttributeValues = [];
|
|
8492
8492
|
}
|
|
8493
8493
|
if (output["AttributeValues"] !== undefined && output["AttributeValues"]["AttributeValue"] !== undefined) {
|
|
8494
|
-
contents.AttributeValues = deserializeAws_queryAttributeValueList(
|
|
8494
|
+
contents.AttributeValues = deserializeAws_queryAttributeValueList(smithy_client_1.getArrayIfSingleItem(output["AttributeValues"]["AttributeValue"]), context);
|
|
8495
8495
|
}
|
|
8496
8496
|
return contents;
|
|
8497
8497
|
};
|
|
@@ -8511,14 +8511,14 @@ const deserializeAws_queryDBClusterSnapshotAttributesResult = (output, context)
|
|
|
8511
8511
|
DBClusterSnapshotAttributes: undefined,
|
|
8512
8512
|
};
|
|
8513
8513
|
if (output["DBClusterSnapshotIdentifier"] !== undefined) {
|
|
8514
|
-
contents.DBClusterSnapshotIdentifier =
|
|
8514
|
+
contents.DBClusterSnapshotIdentifier = smithy_client_1.expectString(output["DBClusterSnapshotIdentifier"]);
|
|
8515
8515
|
}
|
|
8516
8516
|
if (output.DBClusterSnapshotAttributes === "") {
|
|
8517
8517
|
contents.DBClusterSnapshotAttributes = [];
|
|
8518
8518
|
}
|
|
8519
8519
|
if (output["DBClusterSnapshotAttributes"] !== undefined &&
|
|
8520
8520
|
output["DBClusterSnapshotAttributes"]["DBClusterSnapshotAttribute"] !== undefined) {
|
|
8521
|
-
contents.DBClusterSnapshotAttributes = deserializeAws_queryDBClusterSnapshotAttributeList(
|
|
8521
|
+
contents.DBClusterSnapshotAttributes = deserializeAws_queryDBClusterSnapshotAttributeList(smithy_client_1.getArrayIfSingleItem(output["DBClusterSnapshotAttributes"]["DBClusterSnapshotAttribute"]), context);
|
|
8522
8522
|
}
|
|
8523
8523
|
return contents;
|
|
8524
8524
|
};
|
|
@@ -8538,13 +8538,13 @@ const deserializeAws_queryDBClusterSnapshotMessage = (output, context) => {
|
|
|
8538
8538
|
DBClusterSnapshots: undefined,
|
|
8539
8539
|
};
|
|
8540
8540
|
if (output["Marker"] !== undefined) {
|
|
8541
|
-
contents.Marker =
|
|
8541
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
8542
8542
|
}
|
|
8543
8543
|
if (output.DBClusterSnapshots === "") {
|
|
8544
8544
|
contents.DBClusterSnapshots = [];
|
|
8545
8545
|
}
|
|
8546
8546
|
if (output["DBClusterSnapshots"] !== undefined && output["DBClusterSnapshots"]["DBClusterSnapshot"] !== undefined) {
|
|
8547
|
-
contents.DBClusterSnapshots = deserializeAws_queryDBClusterSnapshotList(
|
|
8547
|
+
contents.DBClusterSnapshots = deserializeAws_queryDBClusterSnapshotList(smithy_client_1.getArrayIfSingleItem(output["DBClusterSnapshots"]["DBClusterSnapshot"]), context);
|
|
8548
8548
|
}
|
|
8549
8549
|
return contents;
|
|
8550
8550
|
};
|
|
@@ -8553,7 +8553,7 @@ const deserializeAws_queryDBClusterSnapshotNotFoundFault = (output, context) =>
|
|
|
8553
8553
|
message: undefined,
|
|
8554
8554
|
};
|
|
8555
8555
|
if (output["message"] !== undefined) {
|
|
8556
|
-
contents.message =
|
|
8556
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8557
8557
|
}
|
|
8558
8558
|
return contents;
|
|
8559
8559
|
};
|
|
@@ -8573,19 +8573,19 @@ const deserializeAws_queryDBEngineVersion = (output, context) => {
|
|
|
8573
8573
|
SupportsReadReplica: undefined,
|
|
8574
8574
|
};
|
|
8575
8575
|
if (output["Engine"] !== undefined) {
|
|
8576
|
-
contents.Engine =
|
|
8576
|
+
contents.Engine = smithy_client_1.expectString(output["Engine"]);
|
|
8577
8577
|
}
|
|
8578
8578
|
if (output["EngineVersion"] !== undefined) {
|
|
8579
|
-
contents.EngineVersion =
|
|
8579
|
+
contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
|
|
8580
8580
|
}
|
|
8581
8581
|
if (output["DBParameterGroupFamily"] !== undefined) {
|
|
8582
|
-
contents.DBParameterGroupFamily =
|
|
8582
|
+
contents.DBParameterGroupFamily = smithy_client_1.expectString(output["DBParameterGroupFamily"]);
|
|
8583
8583
|
}
|
|
8584
8584
|
if (output["DBEngineDescription"] !== undefined) {
|
|
8585
|
-
contents.DBEngineDescription =
|
|
8585
|
+
contents.DBEngineDescription = smithy_client_1.expectString(output["DBEngineDescription"]);
|
|
8586
8586
|
}
|
|
8587
8587
|
if (output["DBEngineVersionDescription"] !== undefined) {
|
|
8588
|
-
contents.DBEngineVersionDescription =
|
|
8588
|
+
contents.DBEngineVersionDescription = smithy_client_1.expectString(output["DBEngineVersionDescription"]);
|
|
8589
8589
|
}
|
|
8590
8590
|
if (output["DefaultCharacterSet"] !== undefined) {
|
|
8591
8591
|
contents.DefaultCharacterSet = deserializeAws_queryCharacterSet(output["DefaultCharacterSet"], context);
|
|
@@ -8595,31 +8595,31 @@ const deserializeAws_queryDBEngineVersion = (output, context) => {
|
|
|
8595
8595
|
}
|
|
8596
8596
|
if (output["SupportedCharacterSets"] !== undefined &&
|
|
8597
8597
|
output["SupportedCharacterSets"]["CharacterSet"] !== undefined) {
|
|
8598
|
-
contents.SupportedCharacterSets = deserializeAws_querySupportedCharacterSetsList(
|
|
8598
|
+
contents.SupportedCharacterSets = deserializeAws_querySupportedCharacterSetsList(smithy_client_1.getArrayIfSingleItem(output["SupportedCharacterSets"]["CharacterSet"]), context);
|
|
8599
8599
|
}
|
|
8600
8600
|
if (output.ValidUpgradeTarget === "") {
|
|
8601
8601
|
contents.ValidUpgradeTarget = [];
|
|
8602
8602
|
}
|
|
8603
8603
|
if (output["ValidUpgradeTarget"] !== undefined && output["ValidUpgradeTarget"]["UpgradeTarget"] !== undefined) {
|
|
8604
|
-
contents.ValidUpgradeTarget = deserializeAws_queryValidUpgradeTargetList(
|
|
8604
|
+
contents.ValidUpgradeTarget = deserializeAws_queryValidUpgradeTargetList(smithy_client_1.getArrayIfSingleItem(output["ValidUpgradeTarget"]["UpgradeTarget"]), context);
|
|
8605
8605
|
}
|
|
8606
8606
|
if (output.SupportedTimezones === "") {
|
|
8607
8607
|
contents.SupportedTimezones = [];
|
|
8608
8608
|
}
|
|
8609
8609
|
if (output["SupportedTimezones"] !== undefined && output["SupportedTimezones"]["Timezone"] !== undefined) {
|
|
8610
|
-
contents.SupportedTimezones = deserializeAws_querySupportedTimezonesList(
|
|
8610
|
+
contents.SupportedTimezones = deserializeAws_querySupportedTimezonesList(smithy_client_1.getArrayIfSingleItem(output["SupportedTimezones"]["Timezone"]), context);
|
|
8611
8611
|
}
|
|
8612
8612
|
if (output.ExportableLogTypes === "") {
|
|
8613
8613
|
contents.ExportableLogTypes = [];
|
|
8614
8614
|
}
|
|
8615
8615
|
if (output["ExportableLogTypes"] !== undefined && output["ExportableLogTypes"]["member"] !== undefined) {
|
|
8616
|
-
contents.ExportableLogTypes = deserializeAws_queryLogTypeList(
|
|
8616
|
+
contents.ExportableLogTypes = deserializeAws_queryLogTypeList(smithy_client_1.getArrayIfSingleItem(output["ExportableLogTypes"]["member"]), context);
|
|
8617
8617
|
}
|
|
8618
8618
|
if (output["SupportsLogExportsToCloudwatchLogs"] !== undefined) {
|
|
8619
|
-
contents.SupportsLogExportsToCloudwatchLogs =
|
|
8619
|
+
contents.SupportsLogExportsToCloudwatchLogs = smithy_client_1.parseBoolean(output["SupportsLogExportsToCloudwatchLogs"]);
|
|
8620
8620
|
}
|
|
8621
8621
|
if (output["SupportsReadReplica"] !== undefined) {
|
|
8622
|
-
contents.SupportsReadReplica =
|
|
8622
|
+
contents.SupportsReadReplica = smithy_client_1.parseBoolean(output["SupportsReadReplica"]);
|
|
8623
8623
|
}
|
|
8624
8624
|
return contents;
|
|
8625
8625
|
};
|
|
@@ -8639,13 +8639,13 @@ const deserializeAws_queryDBEngineVersionMessage = (output, context) => {
|
|
|
8639
8639
|
DBEngineVersions: undefined,
|
|
8640
8640
|
};
|
|
8641
8641
|
if (output["Marker"] !== undefined) {
|
|
8642
|
-
contents.Marker =
|
|
8642
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
8643
8643
|
}
|
|
8644
8644
|
if (output.DBEngineVersions === "") {
|
|
8645
8645
|
contents.DBEngineVersions = [];
|
|
8646
8646
|
}
|
|
8647
8647
|
if (output["DBEngineVersions"] !== undefined && output["DBEngineVersions"]["DBEngineVersion"] !== undefined) {
|
|
8648
|
-
contents.DBEngineVersions = deserializeAws_queryDBEngineVersionList(
|
|
8648
|
+
contents.DBEngineVersions = deserializeAws_queryDBEngineVersionList(smithy_client_1.getArrayIfSingleItem(output["DBEngineVersions"]["DBEngineVersion"]), context);
|
|
8649
8649
|
}
|
|
8650
8650
|
return contents;
|
|
8651
8651
|
};
|
|
@@ -8706,195 +8706,195 @@ const deserializeAws_queryDBInstance = (output, context) => {
|
|
|
8706
8706
|
DeletionProtection: undefined,
|
|
8707
8707
|
};
|
|
8708
8708
|
if (output["DBInstanceIdentifier"] !== undefined) {
|
|
8709
|
-
contents.DBInstanceIdentifier =
|
|
8709
|
+
contents.DBInstanceIdentifier = smithy_client_1.expectString(output["DBInstanceIdentifier"]);
|
|
8710
8710
|
}
|
|
8711
8711
|
if (output["DBInstanceClass"] !== undefined) {
|
|
8712
|
-
contents.DBInstanceClass =
|
|
8712
|
+
contents.DBInstanceClass = smithy_client_1.expectString(output["DBInstanceClass"]);
|
|
8713
8713
|
}
|
|
8714
8714
|
if (output["Engine"] !== undefined) {
|
|
8715
|
-
contents.Engine =
|
|
8715
|
+
contents.Engine = smithy_client_1.expectString(output["Engine"]);
|
|
8716
8716
|
}
|
|
8717
8717
|
if (output["DBInstanceStatus"] !== undefined) {
|
|
8718
|
-
contents.DBInstanceStatus =
|
|
8718
|
+
contents.DBInstanceStatus = smithy_client_1.expectString(output["DBInstanceStatus"]);
|
|
8719
8719
|
}
|
|
8720
8720
|
if (output["MasterUsername"] !== undefined) {
|
|
8721
|
-
contents.MasterUsername =
|
|
8721
|
+
contents.MasterUsername = smithy_client_1.expectString(output["MasterUsername"]);
|
|
8722
8722
|
}
|
|
8723
8723
|
if (output["DBName"] !== undefined) {
|
|
8724
|
-
contents.DBName =
|
|
8724
|
+
contents.DBName = smithy_client_1.expectString(output["DBName"]);
|
|
8725
8725
|
}
|
|
8726
8726
|
if (output["Endpoint"] !== undefined) {
|
|
8727
8727
|
contents.Endpoint = deserializeAws_queryEndpoint(output["Endpoint"], context);
|
|
8728
8728
|
}
|
|
8729
8729
|
if (output["AllocatedStorage"] !== undefined) {
|
|
8730
|
-
contents.AllocatedStorage =
|
|
8730
|
+
contents.AllocatedStorage = smithy_client_1.strictParseInt32(output["AllocatedStorage"]);
|
|
8731
8731
|
}
|
|
8732
8732
|
if (output["InstanceCreateTime"] !== undefined) {
|
|
8733
|
-
contents.InstanceCreateTime =
|
|
8733
|
+
contents.InstanceCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["InstanceCreateTime"]));
|
|
8734
8734
|
}
|
|
8735
8735
|
if (output["PreferredBackupWindow"] !== undefined) {
|
|
8736
|
-
contents.PreferredBackupWindow =
|
|
8736
|
+
contents.PreferredBackupWindow = smithy_client_1.expectString(output["PreferredBackupWindow"]);
|
|
8737
8737
|
}
|
|
8738
8738
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
8739
|
-
contents.BackupRetentionPeriod =
|
|
8739
|
+
contents.BackupRetentionPeriod = smithy_client_1.strictParseInt32(output["BackupRetentionPeriod"]);
|
|
8740
8740
|
}
|
|
8741
8741
|
if (output.DBSecurityGroups === "") {
|
|
8742
8742
|
contents.DBSecurityGroups = [];
|
|
8743
8743
|
}
|
|
8744
8744
|
if (output["DBSecurityGroups"] !== undefined && output["DBSecurityGroups"]["DBSecurityGroup"] !== undefined) {
|
|
8745
|
-
contents.DBSecurityGroups = deserializeAws_queryDBSecurityGroupMembershipList(
|
|
8745
|
+
contents.DBSecurityGroups = deserializeAws_queryDBSecurityGroupMembershipList(smithy_client_1.getArrayIfSingleItem(output["DBSecurityGroups"]["DBSecurityGroup"]), context);
|
|
8746
8746
|
}
|
|
8747
8747
|
if (output.VpcSecurityGroups === "") {
|
|
8748
8748
|
contents.VpcSecurityGroups = [];
|
|
8749
8749
|
}
|
|
8750
8750
|
if (output["VpcSecurityGroups"] !== undefined &&
|
|
8751
8751
|
output["VpcSecurityGroups"]["VpcSecurityGroupMembership"] !== undefined) {
|
|
8752
|
-
contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList(
|
|
8752
|
+
contents.VpcSecurityGroups = deserializeAws_queryVpcSecurityGroupMembershipList(smithy_client_1.getArrayIfSingleItem(output["VpcSecurityGroups"]["VpcSecurityGroupMembership"]), context);
|
|
8753
8753
|
}
|
|
8754
8754
|
if (output.DBParameterGroups === "") {
|
|
8755
8755
|
contents.DBParameterGroups = [];
|
|
8756
8756
|
}
|
|
8757
8757
|
if (output["DBParameterGroups"] !== undefined && output["DBParameterGroups"]["DBParameterGroup"] !== undefined) {
|
|
8758
|
-
contents.DBParameterGroups = deserializeAws_queryDBParameterGroupStatusList(
|
|
8758
|
+
contents.DBParameterGroups = deserializeAws_queryDBParameterGroupStatusList(smithy_client_1.getArrayIfSingleItem(output["DBParameterGroups"]["DBParameterGroup"]), context);
|
|
8759
8759
|
}
|
|
8760
8760
|
if (output["AvailabilityZone"] !== undefined) {
|
|
8761
|
-
contents.AvailabilityZone =
|
|
8761
|
+
contents.AvailabilityZone = smithy_client_1.expectString(output["AvailabilityZone"]);
|
|
8762
8762
|
}
|
|
8763
8763
|
if (output["DBSubnetGroup"] !== undefined) {
|
|
8764
8764
|
contents.DBSubnetGroup = deserializeAws_queryDBSubnetGroup(output["DBSubnetGroup"], context);
|
|
8765
8765
|
}
|
|
8766
8766
|
if (output["PreferredMaintenanceWindow"] !== undefined) {
|
|
8767
|
-
contents.PreferredMaintenanceWindow =
|
|
8767
|
+
contents.PreferredMaintenanceWindow = smithy_client_1.expectString(output["PreferredMaintenanceWindow"]);
|
|
8768
8768
|
}
|
|
8769
8769
|
if (output["PendingModifiedValues"] !== undefined) {
|
|
8770
8770
|
contents.PendingModifiedValues = deserializeAws_queryPendingModifiedValues(output["PendingModifiedValues"], context);
|
|
8771
8771
|
}
|
|
8772
8772
|
if (output["LatestRestorableTime"] !== undefined) {
|
|
8773
|
-
contents.LatestRestorableTime =
|
|
8773
|
+
contents.LatestRestorableTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LatestRestorableTime"]));
|
|
8774
8774
|
}
|
|
8775
8775
|
if (output["MultiAZ"] !== undefined) {
|
|
8776
|
-
contents.MultiAZ =
|
|
8776
|
+
contents.MultiAZ = smithy_client_1.parseBoolean(output["MultiAZ"]);
|
|
8777
8777
|
}
|
|
8778
8778
|
if (output["EngineVersion"] !== undefined) {
|
|
8779
|
-
contents.EngineVersion =
|
|
8779
|
+
contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
|
|
8780
8780
|
}
|
|
8781
8781
|
if (output["AutoMinorVersionUpgrade"] !== undefined) {
|
|
8782
|
-
contents.AutoMinorVersionUpgrade =
|
|
8782
|
+
contents.AutoMinorVersionUpgrade = smithy_client_1.parseBoolean(output["AutoMinorVersionUpgrade"]);
|
|
8783
8783
|
}
|
|
8784
8784
|
if (output["ReadReplicaSourceDBInstanceIdentifier"] !== undefined) {
|
|
8785
|
-
contents.ReadReplicaSourceDBInstanceIdentifier =
|
|
8785
|
+
contents.ReadReplicaSourceDBInstanceIdentifier = smithy_client_1.expectString(output["ReadReplicaSourceDBInstanceIdentifier"]);
|
|
8786
8786
|
}
|
|
8787
8787
|
if (output.ReadReplicaDBInstanceIdentifiers === "") {
|
|
8788
8788
|
contents.ReadReplicaDBInstanceIdentifiers = [];
|
|
8789
8789
|
}
|
|
8790
8790
|
if (output["ReadReplicaDBInstanceIdentifiers"] !== undefined &&
|
|
8791
8791
|
output["ReadReplicaDBInstanceIdentifiers"]["ReadReplicaDBInstanceIdentifier"] !== undefined) {
|
|
8792
|
-
contents.ReadReplicaDBInstanceIdentifiers = deserializeAws_queryReadReplicaDBInstanceIdentifierList(
|
|
8792
|
+
contents.ReadReplicaDBInstanceIdentifiers = deserializeAws_queryReadReplicaDBInstanceIdentifierList(smithy_client_1.getArrayIfSingleItem(output["ReadReplicaDBInstanceIdentifiers"]["ReadReplicaDBInstanceIdentifier"]), context);
|
|
8793
8793
|
}
|
|
8794
8794
|
if (output.ReadReplicaDBClusterIdentifiers === "") {
|
|
8795
8795
|
contents.ReadReplicaDBClusterIdentifiers = [];
|
|
8796
8796
|
}
|
|
8797
8797
|
if (output["ReadReplicaDBClusterIdentifiers"] !== undefined &&
|
|
8798
8798
|
output["ReadReplicaDBClusterIdentifiers"]["ReadReplicaDBClusterIdentifier"] !== undefined) {
|
|
8799
|
-
contents.ReadReplicaDBClusterIdentifiers = deserializeAws_queryReadReplicaDBClusterIdentifierList(
|
|
8799
|
+
contents.ReadReplicaDBClusterIdentifiers = deserializeAws_queryReadReplicaDBClusterIdentifierList(smithy_client_1.getArrayIfSingleItem(output["ReadReplicaDBClusterIdentifiers"]["ReadReplicaDBClusterIdentifier"]), context);
|
|
8800
8800
|
}
|
|
8801
8801
|
if (output["LicenseModel"] !== undefined) {
|
|
8802
|
-
contents.LicenseModel =
|
|
8802
|
+
contents.LicenseModel = smithy_client_1.expectString(output["LicenseModel"]);
|
|
8803
8803
|
}
|
|
8804
8804
|
if (output["Iops"] !== undefined) {
|
|
8805
|
-
contents.Iops =
|
|
8805
|
+
contents.Iops = smithy_client_1.strictParseInt32(output["Iops"]);
|
|
8806
8806
|
}
|
|
8807
8807
|
if (output.OptionGroupMemberships === "") {
|
|
8808
8808
|
contents.OptionGroupMemberships = [];
|
|
8809
8809
|
}
|
|
8810
8810
|
if (output["OptionGroupMemberships"] !== undefined &&
|
|
8811
8811
|
output["OptionGroupMemberships"]["OptionGroupMembership"] !== undefined) {
|
|
8812
|
-
contents.OptionGroupMemberships = deserializeAws_queryOptionGroupMembershipList(
|
|
8812
|
+
contents.OptionGroupMemberships = deserializeAws_queryOptionGroupMembershipList(smithy_client_1.getArrayIfSingleItem(output["OptionGroupMemberships"]["OptionGroupMembership"]), context);
|
|
8813
8813
|
}
|
|
8814
8814
|
if (output["CharacterSetName"] !== undefined) {
|
|
8815
|
-
contents.CharacterSetName =
|
|
8815
|
+
contents.CharacterSetName = smithy_client_1.expectString(output["CharacterSetName"]);
|
|
8816
8816
|
}
|
|
8817
8817
|
if (output["SecondaryAvailabilityZone"] !== undefined) {
|
|
8818
|
-
contents.SecondaryAvailabilityZone =
|
|
8818
|
+
contents.SecondaryAvailabilityZone = smithy_client_1.expectString(output["SecondaryAvailabilityZone"]);
|
|
8819
8819
|
}
|
|
8820
8820
|
if (output["PubliclyAccessible"] !== undefined) {
|
|
8821
|
-
contents.PubliclyAccessible =
|
|
8821
|
+
contents.PubliclyAccessible = smithy_client_1.parseBoolean(output["PubliclyAccessible"]);
|
|
8822
8822
|
}
|
|
8823
8823
|
if (output.StatusInfos === "") {
|
|
8824
8824
|
contents.StatusInfos = [];
|
|
8825
8825
|
}
|
|
8826
8826
|
if (output["StatusInfos"] !== undefined && output["StatusInfos"]["DBInstanceStatusInfo"] !== undefined) {
|
|
8827
|
-
contents.StatusInfos = deserializeAws_queryDBInstanceStatusInfoList(
|
|
8827
|
+
contents.StatusInfos = deserializeAws_queryDBInstanceStatusInfoList(smithy_client_1.getArrayIfSingleItem(output["StatusInfos"]["DBInstanceStatusInfo"]), context);
|
|
8828
8828
|
}
|
|
8829
8829
|
if (output["StorageType"] !== undefined) {
|
|
8830
|
-
contents.StorageType =
|
|
8830
|
+
contents.StorageType = smithy_client_1.expectString(output["StorageType"]);
|
|
8831
8831
|
}
|
|
8832
8832
|
if (output["TdeCredentialArn"] !== undefined) {
|
|
8833
|
-
contents.TdeCredentialArn =
|
|
8833
|
+
contents.TdeCredentialArn = smithy_client_1.expectString(output["TdeCredentialArn"]);
|
|
8834
8834
|
}
|
|
8835
8835
|
if (output["DbInstancePort"] !== undefined) {
|
|
8836
|
-
contents.DbInstancePort =
|
|
8836
|
+
contents.DbInstancePort = smithy_client_1.strictParseInt32(output["DbInstancePort"]);
|
|
8837
8837
|
}
|
|
8838
8838
|
if (output["DBClusterIdentifier"] !== undefined) {
|
|
8839
|
-
contents.DBClusterIdentifier =
|
|
8839
|
+
contents.DBClusterIdentifier = smithy_client_1.expectString(output["DBClusterIdentifier"]);
|
|
8840
8840
|
}
|
|
8841
8841
|
if (output["StorageEncrypted"] !== undefined) {
|
|
8842
|
-
contents.StorageEncrypted =
|
|
8842
|
+
contents.StorageEncrypted = smithy_client_1.parseBoolean(output["StorageEncrypted"]);
|
|
8843
8843
|
}
|
|
8844
8844
|
if (output["KmsKeyId"] !== undefined) {
|
|
8845
|
-
contents.KmsKeyId =
|
|
8845
|
+
contents.KmsKeyId = smithy_client_1.expectString(output["KmsKeyId"]);
|
|
8846
8846
|
}
|
|
8847
8847
|
if (output["DbiResourceId"] !== undefined) {
|
|
8848
|
-
contents.DbiResourceId =
|
|
8848
|
+
contents.DbiResourceId = smithy_client_1.expectString(output["DbiResourceId"]);
|
|
8849
8849
|
}
|
|
8850
8850
|
if (output["CACertificateIdentifier"] !== undefined) {
|
|
8851
|
-
contents.CACertificateIdentifier =
|
|
8851
|
+
contents.CACertificateIdentifier = smithy_client_1.expectString(output["CACertificateIdentifier"]);
|
|
8852
8852
|
}
|
|
8853
8853
|
if (output.DomainMemberships === "") {
|
|
8854
8854
|
contents.DomainMemberships = [];
|
|
8855
8855
|
}
|
|
8856
8856
|
if (output["DomainMemberships"] !== undefined && output["DomainMemberships"]["DomainMembership"] !== undefined) {
|
|
8857
|
-
contents.DomainMemberships = deserializeAws_queryDomainMembershipList(
|
|
8857
|
+
contents.DomainMemberships = deserializeAws_queryDomainMembershipList(smithy_client_1.getArrayIfSingleItem(output["DomainMemberships"]["DomainMembership"]), context);
|
|
8858
8858
|
}
|
|
8859
8859
|
if (output["CopyTagsToSnapshot"] !== undefined) {
|
|
8860
|
-
contents.CopyTagsToSnapshot =
|
|
8860
|
+
contents.CopyTagsToSnapshot = smithy_client_1.parseBoolean(output["CopyTagsToSnapshot"]);
|
|
8861
8861
|
}
|
|
8862
8862
|
if (output["MonitoringInterval"] !== undefined) {
|
|
8863
|
-
contents.MonitoringInterval =
|
|
8863
|
+
contents.MonitoringInterval = smithy_client_1.strictParseInt32(output["MonitoringInterval"]);
|
|
8864
8864
|
}
|
|
8865
8865
|
if (output["EnhancedMonitoringResourceArn"] !== undefined) {
|
|
8866
|
-
contents.EnhancedMonitoringResourceArn =
|
|
8866
|
+
contents.EnhancedMonitoringResourceArn = smithy_client_1.expectString(output["EnhancedMonitoringResourceArn"]);
|
|
8867
8867
|
}
|
|
8868
8868
|
if (output["MonitoringRoleArn"] !== undefined) {
|
|
8869
|
-
contents.MonitoringRoleArn =
|
|
8869
|
+
contents.MonitoringRoleArn = smithy_client_1.expectString(output["MonitoringRoleArn"]);
|
|
8870
8870
|
}
|
|
8871
8871
|
if (output["PromotionTier"] !== undefined) {
|
|
8872
|
-
contents.PromotionTier =
|
|
8872
|
+
contents.PromotionTier = smithy_client_1.strictParseInt32(output["PromotionTier"]);
|
|
8873
8873
|
}
|
|
8874
8874
|
if (output["DBInstanceArn"] !== undefined) {
|
|
8875
|
-
contents.DBInstanceArn =
|
|
8875
|
+
contents.DBInstanceArn = smithy_client_1.expectString(output["DBInstanceArn"]);
|
|
8876
8876
|
}
|
|
8877
8877
|
if (output["Timezone"] !== undefined) {
|
|
8878
|
-
contents.Timezone =
|
|
8878
|
+
contents.Timezone = smithy_client_1.expectString(output["Timezone"]);
|
|
8879
8879
|
}
|
|
8880
8880
|
if (output["IAMDatabaseAuthenticationEnabled"] !== undefined) {
|
|
8881
|
-
contents.IAMDatabaseAuthenticationEnabled =
|
|
8881
|
+
contents.IAMDatabaseAuthenticationEnabled = smithy_client_1.parseBoolean(output["IAMDatabaseAuthenticationEnabled"]);
|
|
8882
8882
|
}
|
|
8883
8883
|
if (output["PerformanceInsightsEnabled"] !== undefined) {
|
|
8884
|
-
contents.PerformanceInsightsEnabled =
|
|
8884
|
+
contents.PerformanceInsightsEnabled = smithy_client_1.parseBoolean(output["PerformanceInsightsEnabled"]);
|
|
8885
8885
|
}
|
|
8886
8886
|
if (output["PerformanceInsightsKMSKeyId"] !== undefined) {
|
|
8887
|
-
contents.PerformanceInsightsKMSKeyId =
|
|
8887
|
+
contents.PerformanceInsightsKMSKeyId = smithy_client_1.expectString(output["PerformanceInsightsKMSKeyId"]);
|
|
8888
8888
|
}
|
|
8889
8889
|
if (output.EnabledCloudwatchLogsExports === "") {
|
|
8890
8890
|
contents.EnabledCloudwatchLogsExports = [];
|
|
8891
8891
|
}
|
|
8892
8892
|
if (output["EnabledCloudwatchLogsExports"] !== undefined &&
|
|
8893
8893
|
output["EnabledCloudwatchLogsExports"]["member"] !== undefined) {
|
|
8894
|
-
contents.EnabledCloudwatchLogsExports = deserializeAws_queryLogTypeList(
|
|
8894
|
+
contents.EnabledCloudwatchLogsExports = deserializeAws_queryLogTypeList(smithy_client_1.getArrayIfSingleItem(output["EnabledCloudwatchLogsExports"]["member"]), context);
|
|
8895
8895
|
}
|
|
8896
8896
|
if (output["DeletionProtection"] !== undefined) {
|
|
8897
|
-
contents.DeletionProtection =
|
|
8897
|
+
contents.DeletionProtection = smithy_client_1.parseBoolean(output["DeletionProtection"]);
|
|
8898
8898
|
}
|
|
8899
8899
|
return contents;
|
|
8900
8900
|
};
|
|
@@ -8903,7 +8903,7 @@ const deserializeAws_queryDBInstanceAlreadyExistsFault = (output, context) => {
|
|
|
8903
8903
|
message: undefined,
|
|
8904
8904
|
};
|
|
8905
8905
|
if (output["message"] !== undefined) {
|
|
8906
|
-
contents.message =
|
|
8906
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8907
8907
|
}
|
|
8908
8908
|
return contents;
|
|
8909
8909
|
};
|
|
@@ -8923,13 +8923,13 @@ const deserializeAws_queryDBInstanceMessage = (output, context) => {
|
|
|
8923
8923
|
DBInstances: undefined,
|
|
8924
8924
|
};
|
|
8925
8925
|
if (output["Marker"] !== undefined) {
|
|
8926
|
-
contents.Marker =
|
|
8926
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
8927
8927
|
}
|
|
8928
8928
|
if (output.DBInstances === "") {
|
|
8929
8929
|
contents.DBInstances = [];
|
|
8930
8930
|
}
|
|
8931
8931
|
if (output["DBInstances"] !== undefined && output["DBInstances"]["DBInstance"] !== undefined) {
|
|
8932
|
-
contents.DBInstances = deserializeAws_queryDBInstanceList(
|
|
8932
|
+
contents.DBInstances = deserializeAws_queryDBInstanceList(smithy_client_1.getArrayIfSingleItem(output["DBInstances"]["DBInstance"]), context);
|
|
8933
8933
|
}
|
|
8934
8934
|
return contents;
|
|
8935
8935
|
};
|
|
@@ -8938,7 +8938,7 @@ const deserializeAws_queryDBInstanceNotFoundFault = (output, context) => {
|
|
|
8938
8938
|
message: undefined,
|
|
8939
8939
|
};
|
|
8940
8940
|
if (output["message"] !== undefined) {
|
|
8941
|
-
contents.message =
|
|
8941
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
8942
8942
|
}
|
|
8943
8943
|
return contents;
|
|
8944
8944
|
};
|
|
@@ -8950,16 +8950,16 @@ const deserializeAws_queryDBInstanceStatusInfo = (output, context) => {
|
|
|
8950
8950
|
Message: undefined,
|
|
8951
8951
|
};
|
|
8952
8952
|
if (output["StatusType"] !== undefined) {
|
|
8953
|
-
contents.StatusType =
|
|
8953
|
+
contents.StatusType = smithy_client_1.expectString(output["StatusType"]);
|
|
8954
8954
|
}
|
|
8955
8955
|
if (output["Normal"] !== undefined) {
|
|
8956
|
-
contents.Normal =
|
|
8956
|
+
contents.Normal = smithy_client_1.parseBoolean(output["Normal"]);
|
|
8957
8957
|
}
|
|
8958
8958
|
if (output["Status"] !== undefined) {
|
|
8959
|
-
contents.Status =
|
|
8959
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
8960
8960
|
}
|
|
8961
8961
|
if (output["Message"] !== undefined) {
|
|
8962
|
-
contents.Message =
|
|
8962
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
8963
8963
|
}
|
|
8964
8964
|
return contents;
|
|
8965
8965
|
};
|
|
@@ -8981,16 +8981,16 @@ const deserializeAws_queryDBParameterGroup = (output, context) => {
|
|
|
8981
8981
|
DBParameterGroupArn: undefined,
|
|
8982
8982
|
};
|
|
8983
8983
|
if (output["DBParameterGroupName"] !== undefined) {
|
|
8984
|
-
contents.DBParameterGroupName =
|
|
8984
|
+
contents.DBParameterGroupName = smithy_client_1.expectString(output["DBParameterGroupName"]);
|
|
8985
8985
|
}
|
|
8986
8986
|
if (output["DBParameterGroupFamily"] !== undefined) {
|
|
8987
|
-
contents.DBParameterGroupFamily =
|
|
8987
|
+
contents.DBParameterGroupFamily = smithy_client_1.expectString(output["DBParameterGroupFamily"]);
|
|
8988
8988
|
}
|
|
8989
8989
|
if (output["Description"] !== undefined) {
|
|
8990
|
-
contents.Description =
|
|
8990
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
8991
8991
|
}
|
|
8992
8992
|
if (output["DBParameterGroupArn"] !== undefined) {
|
|
8993
|
-
contents.DBParameterGroupArn =
|
|
8993
|
+
contents.DBParameterGroupArn = smithy_client_1.expectString(output["DBParameterGroupArn"]);
|
|
8994
8994
|
}
|
|
8995
8995
|
return contents;
|
|
8996
8996
|
};
|
|
@@ -8999,7 +8999,7 @@ const deserializeAws_queryDBParameterGroupAlreadyExistsFault = (output, context)
|
|
|
8999
8999
|
message: undefined,
|
|
9000
9000
|
};
|
|
9001
9001
|
if (output["message"] !== undefined) {
|
|
9002
|
-
contents.message =
|
|
9002
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9003
9003
|
}
|
|
9004
9004
|
return contents;
|
|
9005
9005
|
};
|
|
@@ -9012,10 +9012,10 @@ const deserializeAws_queryDBParameterGroupDetails = (output, context) => {
|
|
|
9012
9012
|
contents.Parameters = [];
|
|
9013
9013
|
}
|
|
9014
9014
|
if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
|
|
9015
|
-
contents.Parameters = deserializeAws_queryParametersList(
|
|
9015
|
+
contents.Parameters = deserializeAws_queryParametersList(smithy_client_1.getArrayIfSingleItem(output["Parameters"]["Parameter"]), context);
|
|
9016
9016
|
}
|
|
9017
9017
|
if (output["Marker"] !== undefined) {
|
|
9018
|
-
contents.Marker =
|
|
9018
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
9019
9019
|
}
|
|
9020
9020
|
return contents;
|
|
9021
9021
|
};
|
|
@@ -9034,7 +9034,7 @@ const deserializeAws_queryDBParameterGroupNameMessage = (output, context) => {
|
|
|
9034
9034
|
DBParameterGroupName: undefined,
|
|
9035
9035
|
};
|
|
9036
9036
|
if (output["DBParameterGroupName"] !== undefined) {
|
|
9037
|
-
contents.DBParameterGroupName =
|
|
9037
|
+
contents.DBParameterGroupName = smithy_client_1.expectString(output["DBParameterGroupName"]);
|
|
9038
9038
|
}
|
|
9039
9039
|
return contents;
|
|
9040
9040
|
};
|
|
@@ -9043,7 +9043,7 @@ const deserializeAws_queryDBParameterGroupNotFoundFault = (output, context) => {
|
|
|
9043
9043
|
message: undefined,
|
|
9044
9044
|
};
|
|
9045
9045
|
if (output["message"] !== undefined) {
|
|
9046
|
-
contents.message =
|
|
9046
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9047
9047
|
}
|
|
9048
9048
|
return contents;
|
|
9049
9049
|
};
|
|
@@ -9052,7 +9052,7 @@ const deserializeAws_queryDBParameterGroupQuotaExceededFault = (output, context)
|
|
|
9052
9052
|
message: undefined,
|
|
9053
9053
|
};
|
|
9054
9054
|
if (output["message"] !== undefined) {
|
|
9055
|
-
contents.message =
|
|
9055
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9056
9056
|
}
|
|
9057
9057
|
return contents;
|
|
9058
9058
|
};
|
|
@@ -9062,13 +9062,13 @@ const deserializeAws_queryDBParameterGroupsMessage = (output, context) => {
|
|
|
9062
9062
|
DBParameterGroups: undefined,
|
|
9063
9063
|
};
|
|
9064
9064
|
if (output["Marker"] !== undefined) {
|
|
9065
|
-
contents.Marker =
|
|
9065
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
9066
9066
|
}
|
|
9067
9067
|
if (output.DBParameterGroups === "") {
|
|
9068
9068
|
contents.DBParameterGroups = [];
|
|
9069
9069
|
}
|
|
9070
9070
|
if (output["DBParameterGroups"] !== undefined && output["DBParameterGroups"]["DBParameterGroup"] !== undefined) {
|
|
9071
|
-
contents.DBParameterGroups = deserializeAws_queryDBParameterGroupList(
|
|
9071
|
+
contents.DBParameterGroups = deserializeAws_queryDBParameterGroupList(smithy_client_1.getArrayIfSingleItem(output["DBParameterGroups"]["DBParameterGroup"]), context);
|
|
9072
9072
|
}
|
|
9073
9073
|
return contents;
|
|
9074
9074
|
};
|
|
@@ -9078,10 +9078,10 @@ const deserializeAws_queryDBParameterGroupStatus = (output, context) => {
|
|
|
9078
9078
|
ParameterApplyStatus: undefined,
|
|
9079
9079
|
};
|
|
9080
9080
|
if (output["DBParameterGroupName"] !== undefined) {
|
|
9081
|
-
contents.DBParameterGroupName =
|
|
9081
|
+
contents.DBParameterGroupName = smithy_client_1.expectString(output["DBParameterGroupName"]);
|
|
9082
9082
|
}
|
|
9083
9083
|
if (output["ParameterApplyStatus"] !== undefined) {
|
|
9084
|
-
contents.ParameterApplyStatus =
|
|
9084
|
+
contents.ParameterApplyStatus = smithy_client_1.expectString(output["ParameterApplyStatus"]);
|
|
9085
9085
|
}
|
|
9086
9086
|
return contents;
|
|
9087
9087
|
};
|
|
@@ -9101,10 +9101,10 @@ const deserializeAws_queryDBSecurityGroupMembership = (output, context) => {
|
|
|
9101
9101
|
Status: undefined,
|
|
9102
9102
|
};
|
|
9103
9103
|
if (output["DBSecurityGroupName"] !== undefined) {
|
|
9104
|
-
contents.DBSecurityGroupName =
|
|
9104
|
+
contents.DBSecurityGroupName = smithy_client_1.expectString(output["DBSecurityGroupName"]);
|
|
9105
9105
|
}
|
|
9106
9106
|
if (output["Status"] !== undefined) {
|
|
9107
|
-
contents.Status =
|
|
9107
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
9108
9108
|
}
|
|
9109
9109
|
return contents;
|
|
9110
9110
|
};
|
|
@@ -9123,7 +9123,7 @@ const deserializeAws_queryDBSecurityGroupNotFoundFault = (output, context) => {
|
|
|
9123
9123
|
message: undefined,
|
|
9124
9124
|
};
|
|
9125
9125
|
if (output["message"] !== undefined) {
|
|
9126
|
-
contents.message =
|
|
9126
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9127
9127
|
}
|
|
9128
9128
|
return contents;
|
|
9129
9129
|
};
|
|
@@ -9132,7 +9132,7 @@ const deserializeAws_queryDBSnapshotAlreadyExistsFault = (output, context) => {
|
|
|
9132
9132
|
message: undefined,
|
|
9133
9133
|
};
|
|
9134
9134
|
if (output["message"] !== undefined) {
|
|
9135
|
-
contents.message =
|
|
9135
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9136
9136
|
}
|
|
9137
9137
|
return contents;
|
|
9138
9138
|
};
|
|
@@ -9141,7 +9141,7 @@ const deserializeAws_queryDBSnapshotNotFoundFault = (output, context) => {
|
|
|
9141
9141
|
message: undefined,
|
|
9142
9142
|
};
|
|
9143
9143
|
if (output["message"] !== undefined) {
|
|
9144
|
-
contents.message =
|
|
9144
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9145
9145
|
}
|
|
9146
9146
|
return contents;
|
|
9147
9147
|
};
|
|
@@ -9155,25 +9155,25 @@ const deserializeAws_queryDBSubnetGroup = (output, context) => {
|
|
|
9155
9155
|
DBSubnetGroupArn: undefined,
|
|
9156
9156
|
};
|
|
9157
9157
|
if (output["DBSubnetGroupName"] !== undefined) {
|
|
9158
|
-
contents.DBSubnetGroupName =
|
|
9158
|
+
contents.DBSubnetGroupName = smithy_client_1.expectString(output["DBSubnetGroupName"]);
|
|
9159
9159
|
}
|
|
9160
9160
|
if (output["DBSubnetGroupDescription"] !== undefined) {
|
|
9161
|
-
contents.DBSubnetGroupDescription =
|
|
9161
|
+
contents.DBSubnetGroupDescription = smithy_client_1.expectString(output["DBSubnetGroupDescription"]);
|
|
9162
9162
|
}
|
|
9163
9163
|
if (output["VpcId"] !== undefined) {
|
|
9164
|
-
contents.VpcId =
|
|
9164
|
+
contents.VpcId = smithy_client_1.expectString(output["VpcId"]);
|
|
9165
9165
|
}
|
|
9166
9166
|
if (output["SubnetGroupStatus"] !== undefined) {
|
|
9167
|
-
contents.SubnetGroupStatus =
|
|
9167
|
+
contents.SubnetGroupStatus = smithy_client_1.expectString(output["SubnetGroupStatus"]);
|
|
9168
9168
|
}
|
|
9169
9169
|
if (output.Subnets === "") {
|
|
9170
9170
|
contents.Subnets = [];
|
|
9171
9171
|
}
|
|
9172
9172
|
if (output["Subnets"] !== undefined && output["Subnets"]["Subnet"] !== undefined) {
|
|
9173
|
-
contents.Subnets = deserializeAws_querySubnetList(
|
|
9173
|
+
contents.Subnets = deserializeAws_querySubnetList(smithy_client_1.getArrayIfSingleItem(output["Subnets"]["Subnet"]), context);
|
|
9174
9174
|
}
|
|
9175
9175
|
if (output["DBSubnetGroupArn"] !== undefined) {
|
|
9176
|
-
contents.DBSubnetGroupArn =
|
|
9176
|
+
contents.DBSubnetGroupArn = smithy_client_1.expectString(output["DBSubnetGroupArn"]);
|
|
9177
9177
|
}
|
|
9178
9178
|
return contents;
|
|
9179
9179
|
};
|
|
@@ -9182,7 +9182,7 @@ const deserializeAws_queryDBSubnetGroupAlreadyExistsFault = (output, context) =>
|
|
|
9182
9182
|
message: undefined,
|
|
9183
9183
|
};
|
|
9184
9184
|
if (output["message"] !== undefined) {
|
|
9185
|
-
contents.message =
|
|
9185
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9186
9186
|
}
|
|
9187
9187
|
return contents;
|
|
9188
9188
|
};
|
|
@@ -9191,7 +9191,7 @@ const deserializeAws_queryDBSubnetGroupDoesNotCoverEnoughAZs = (output, context)
|
|
|
9191
9191
|
message: undefined,
|
|
9192
9192
|
};
|
|
9193
9193
|
if (output["message"] !== undefined) {
|
|
9194
|
-
contents.message =
|
|
9194
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9195
9195
|
}
|
|
9196
9196
|
return contents;
|
|
9197
9197
|
};
|
|
@@ -9201,13 +9201,13 @@ const deserializeAws_queryDBSubnetGroupMessage = (output, context) => {
|
|
|
9201
9201
|
DBSubnetGroups: undefined,
|
|
9202
9202
|
};
|
|
9203
9203
|
if (output["Marker"] !== undefined) {
|
|
9204
|
-
contents.Marker =
|
|
9204
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
9205
9205
|
}
|
|
9206
9206
|
if (output.DBSubnetGroups === "") {
|
|
9207
9207
|
contents.DBSubnetGroups = [];
|
|
9208
9208
|
}
|
|
9209
9209
|
if (output["DBSubnetGroups"] !== undefined && output["DBSubnetGroups"]["DBSubnetGroup"] !== undefined) {
|
|
9210
|
-
contents.DBSubnetGroups = deserializeAws_queryDBSubnetGroups(
|
|
9210
|
+
contents.DBSubnetGroups = deserializeAws_queryDBSubnetGroups(smithy_client_1.getArrayIfSingleItem(output["DBSubnetGroups"]["DBSubnetGroup"]), context);
|
|
9211
9211
|
}
|
|
9212
9212
|
return contents;
|
|
9213
9213
|
};
|
|
@@ -9216,7 +9216,7 @@ const deserializeAws_queryDBSubnetGroupNotFoundFault = (output, context) => {
|
|
|
9216
9216
|
message: undefined,
|
|
9217
9217
|
};
|
|
9218
9218
|
if (output["message"] !== undefined) {
|
|
9219
|
-
contents.message =
|
|
9219
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9220
9220
|
}
|
|
9221
9221
|
return contents;
|
|
9222
9222
|
};
|
|
@@ -9225,7 +9225,7 @@ const deserializeAws_queryDBSubnetGroupQuotaExceededFault = (output, context) =>
|
|
|
9225
9225
|
message: undefined,
|
|
9226
9226
|
};
|
|
9227
9227
|
if (output["message"] !== undefined) {
|
|
9228
|
-
contents.message =
|
|
9228
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9229
9229
|
}
|
|
9230
9230
|
return contents;
|
|
9231
9231
|
};
|
|
@@ -9244,7 +9244,7 @@ const deserializeAws_queryDBSubnetQuotaExceededFault = (output, context) => {
|
|
|
9244
9244
|
message: undefined,
|
|
9245
9245
|
};
|
|
9246
9246
|
if (output["message"] !== undefined) {
|
|
9247
|
-
contents.message =
|
|
9247
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9248
9248
|
}
|
|
9249
9249
|
return contents;
|
|
9250
9250
|
};
|
|
@@ -9253,7 +9253,7 @@ const deserializeAws_queryDBUpgradeDependencyFailureFault = (output, context) =>
|
|
|
9253
9253
|
message: undefined,
|
|
9254
9254
|
};
|
|
9255
9255
|
if (output["message"] !== undefined) {
|
|
9256
|
-
contents.message =
|
|
9256
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9257
9257
|
}
|
|
9258
9258
|
return contents;
|
|
9259
9259
|
};
|
|
@@ -9271,40 +9271,40 @@ const deserializeAws_queryDeleteDBClusterEndpointOutput = (output, context) => {
|
|
|
9271
9271
|
DBClusterEndpointArn: undefined,
|
|
9272
9272
|
};
|
|
9273
9273
|
if (output["DBClusterEndpointIdentifier"] !== undefined) {
|
|
9274
|
-
contents.DBClusterEndpointIdentifier =
|
|
9274
|
+
contents.DBClusterEndpointIdentifier = smithy_client_1.expectString(output["DBClusterEndpointIdentifier"]);
|
|
9275
9275
|
}
|
|
9276
9276
|
if (output["DBClusterIdentifier"] !== undefined) {
|
|
9277
|
-
contents.DBClusterIdentifier =
|
|
9277
|
+
contents.DBClusterIdentifier = smithy_client_1.expectString(output["DBClusterIdentifier"]);
|
|
9278
9278
|
}
|
|
9279
9279
|
if (output["DBClusterEndpointResourceIdentifier"] !== undefined) {
|
|
9280
|
-
contents.DBClusterEndpointResourceIdentifier =
|
|
9280
|
+
contents.DBClusterEndpointResourceIdentifier = smithy_client_1.expectString(output["DBClusterEndpointResourceIdentifier"]);
|
|
9281
9281
|
}
|
|
9282
9282
|
if (output["Endpoint"] !== undefined) {
|
|
9283
|
-
contents.Endpoint =
|
|
9283
|
+
contents.Endpoint = smithy_client_1.expectString(output["Endpoint"]);
|
|
9284
9284
|
}
|
|
9285
9285
|
if (output["Status"] !== undefined) {
|
|
9286
|
-
contents.Status =
|
|
9286
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
9287
9287
|
}
|
|
9288
9288
|
if (output["EndpointType"] !== undefined) {
|
|
9289
|
-
contents.EndpointType =
|
|
9289
|
+
contents.EndpointType = smithy_client_1.expectString(output["EndpointType"]);
|
|
9290
9290
|
}
|
|
9291
9291
|
if (output["CustomEndpointType"] !== undefined) {
|
|
9292
|
-
contents.CustomEndpointType =
|
|
9292
|
+
contents.CustomEndpointType = smithy_client_1.expectString(output["CustomEndpointType"]);
|
|
9293
9293
|
}
|
|
9294
9294
|
if (output.StaticMembers === "") {
|
|
9295
9295
|
contents.StaticMembers = [];
|
|
9296
9296
|
}
|
|
9297
9297
|
if (output["StaticMembers"] !== undefined && output["StaticMembers"]["member"] !== undefined) {
|
|
9298
|
-
contents.StaticMembers = deserializeAws_queryStringList(
|
|
9298
|
+
contents.StaticMembers = deserializeAws_queryStringList(smithy_client_1.getArrayIfSingleItem(output["StaticMembers"]["member"]), context);
|
|
9299
9299
|
}
|
|
9300
9300
|
if (output.ExcludedMembers === "") {
|
|
9301
9301
|
contents.ExcludedMembers = [];
|
|
9302
9302
|
}
|
|
9303
9303
|
if (output["ExcludedMembers"] !== undefined && output["ExcludedMembers"]["member"] !== undefined) {
|
|
9304
|
-
contents.ExcludedMembers = deserializeAws_queryStringList(
|
|
9304
|
+
contents.ExcludedMembers = deserializeAws_queryStringList(smithy_client_1.getArrayIfSingleItem(output["ExcludedMembers"]["member"]), context);
|
|
9305
9305
|
}
|
|
9306
9306
|
if (output["DBClusterEndpointArn"] !== undefined) {
|
|
9307
|
-
contents.DBClusterEndpointArn =
|
|
9307
|
+
contents.DBClusterEndpointArn = smithy_client_1.expectString(output["DBClusterEndpointArn"]);
|
|
9308
9308
|
}
|
|
9309
9309
|
return contents;
|
|
9310
9310
|
};
|
|
@@ -9388,16 +9388,16 @@ const deserializeAws_queryDomainMembership = (output, context) => {
|
|
|
9388
9388
|
IAMRoleName: undefined,
|
|
9389
9389
|
};
|
|
9390
9390
|
if (output["Domain"] !== undefined) {
|
|
9391
|
-
contents.Domain =
|
|
9391
|
+
contents.Domain = smithy_client_1.expectString(output["Domain"]);
|
|
9392
9392
|
}
|
|
9393
9393
|
if (output["Status"] !== undefined) {
|
|
9394
|
-
contents.Status =
|
|
9394
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
9395
9395
|
}
|
|
9396
9396
|
if (output["FQDN"] !== undefined) {
|
|
9397
|
-
contents.FQDN =
|
|
9397
|
+
contents.FQDN = smithy_client_1.expectString(output["FQDN"]);
|
|
9398
9398
|
}
|
|
9399
9399
|
if (output["IAMRoleName"] !== undefined) {
|
|
9400
|
-
contents.IAMRoleName =
|
|
9400
|
+
contents.IAMRoleName = smithy_client_1.expectString(output["IAMRoleName"]);
|
|
9401
9401
|
}
|
|
9402
9402
|
return contents;
|
|
9403
9403
|
};
|
|
@@ -9416,7 +9416,7 @@ const deserializeAws_queryDomainNotFoundFault = (output, context) => {
|
|
|
9416
9416
|
message: undefined,
|
|
9417
9417
|
};
|
|
9418
9418
|
if (output["message"] !== undefined) {
|
|
9419
|
-
contents.message =
|
|
9419
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9420
9420
|
}
|
|
9421
9421
|
return contents;
|
|
9422
9422
|
};
|
|
@@ -9426,10 +9426,10 @@ const deserializeAws_queryDoubleRange = (output, context) => {
|
|
|
9426
9426
|
To: undefined,
|
|
9427
9427
|
};
|
|
9428
9428
|
if (output["From"] !== undefined) {
|
|
9429
|
-
contents.From =
|
|
9429
|
+
contents.From = smithy_client_1.strictParseFloat(output["From"]);
|
|
9430
9430
|
}
|
|
9431
9431
|
if (output["To"] !== undefined) {
|
|
9432
|
-
contents.To =
|
|
9432
|
+
contents.To = smithy_client_1.strictParseFloat(output["To"]);
|
|
9433
9433
|
}
|
|
9434
9434
|
return contents;
|
|
9435
9435
|
};
|
|
@@ -9450,13 +9450,13 @@ const deserializeAws_queryEndpoint = (output, context) => {
|
|
|
9450
9450
|
HostedZoneId: undefined,
|
|
9451
9451
|
};
|
|
9452
9452
|
if (output["Address"] !== undefined) {
|
|
9453
|
-
contents.Address =
|
|
9453
|
+
contents.Address = smithy_client_1.expectString(output["Address"]);
|
|
9454
9454
|
}
|
|
9455
9455
|
if (output["Port"] !== undefined) {
|
|
9456
|
-
contents.Port =
|
|
9456
|
+
contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
|
|
9457
9457
|
}
|
|
9458
9458
|
if (output["HostedZoneId"] !== undefined) {
|
|
9459
|
-
contents.HostedZoneId =
|
|
9459
|
+
contents.HostedZoneId = smithy_client_1.expectString(output["HostedZoneId"]);
|
|
9460
9460
|
}
|
|
9461
9461
|
return contents;
|
|
9462
9462
|
};
|
|
@@ -9467,16 +9467,16 @@ const deserializeAws_queryEngineDefaults = (output, context) => {
|
|
|
9467
9467
|
Parameters: undefined,
|
|
9468
9468
|
};
|
|
9469
9469
|
if (output["DBParameterGroupFamily"] !== undefined) {
|
|
9470
|
-
contents.DBParameterGroupFamily =
|
|
9470
|
+
contents.DBParameterGroupFamily = smithy_client_1.expectString(output["DBParameterGroupFamily"]);
|
|
9471
9471
|
}
|
|
9472
9472
|
if (output["Marker"] !== undefined) {
|
|
9473
|
-
contents.Marker =
|
|
9473
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
9474
9474
|
}
|
|
9475
9475
|
if (output.Parameters === "") {
|
|
9476
9476
|
contents.Parameters = [];
|
|
9477
9477
|
}
|
|
9478
9478
|
if (output["Parameters"] !== undefined && output["Parameters"]["Parameter"] !== undefined) {
|
|
9479
|
-
contents.Parameters = deserializeAws_queryParametersList(
|
|
9479
|
+
contents.Parameters = deserializeAws_queryParametersList(smithy_client_1.getArrayIfSingleItem(output["Parameters"]["Parameter"]), context);
|
|
9480
9480
|
}
|
|
9481
9481
|
return contents;
|
|
9482
9482
|
};
|
|
@@ -9490,25 +9490,25 @@ const deserializeAws_queryEvent = (output, context) => {
|
|
|
9490
9490
|
SourceArn: undefined,
|
|
9491
9491
|
};
|
|
9492
9492
|
if (output["SourceIdentifier"] !== undefined) {
|
|
9493
|
-
contents.SourceIdentifier =
|
|
9493
|
+
contents.SourceIdentifier = smithy_client_1.expectString(output["SourceIdentifier"]);
|
|
9494
9494
|
}
|
|
9495
9495
|
if (output["SourceType"] !== undefined) {
|
|
9496
|
-
contents.SourceType =
|
|
9496
|
+
contents.SourceType = smithy_client_1.expectString(output["SourceType"]);
|
|
9497
9497
|
}
|
|
9498
9498
|
if (output["Message"] !== undefined) {
|
|
9499
|
-
contents.Message =
|
|
9499
|
+
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
9500
9500
|
}
|
|
9501
9501
|
if (output.EventCategories === "") {
|
|
9502
9502
|
contents.EventCategories = [];
|
|
9503
9503
|
}
|
|
9504
9504
|
if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
|
|
9505
|
-
contents.EventCategories = deserializeAws_queryEventCategoriesList(
|
|
9505
|
+
contents.EventCategories = deserializeAws_queryEventCategoriesList(smithy_client_1.getArrayIfSingleItem(output["EventCategories"]["EventCategory"]), context);
|
|
9506
9506
|
}
|
|
9507
9507
|
if (output["Date"] !== undefined) {
|
|
9508
|
-
contents.Date =
|
|
9508
|
+
contents.Date = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Date"]));
|
|
9509
9509
|
}
|
|
9510
9510
|
if (output["SourceArn"] !== undefined) {
|
|
9511
|
-
contents.SourceArn =
|
|
9511
|
+
contents.SourceArn = smithy_client_1.expectString(output["SourceArn"]);
|
|
9512
9512
|
}
|
|
9513
9513
|
return contents;
|
|
9514
9514
|
};
|
|
@@ -9519,7 +9519,7 @@ const deserializeAws_queryEventCategoriesList = (output, context) => {
|
|
|
9519
9519
|
if (entry === null) {
|
|
9520
9520
|
return null;
|
|
9521
9521
|
}
|
|
9522
|
-
return
|
|
9522
|
+
return smithy_client_1.expectString(entry);
|
|
9523
9523
|
});
|
|
9524
9524
|
};
|
|
9525
9525
|
const deserializeAws_queryEventCategoriesMap = (output, context) => {
|
|
@@ -9528,13 +9528,13 @@ const deserializeAws_queryEventCategoriesMap = (output, context) => {
|
|
|
9528
9528
|
EventCategories: undefined,
|
|
9529
9529
|
};
|
|
9530
9530
|
if (output["SourceType"] !== undefined) {
|
|
9531
|
-
contents.SourceType =
|
|
9531
|
+
contents.SourceType = smithy_client_1.expectString(output["SourceType"]);
|
|
9532
9532
|
}
|
|
9533
9533
|
if (output.EventCategories === "") {
|
|
9534
9534
|
contents.EventCategories = [];
|
|
9535
9535
|
}
|
|
9536
9536
|
if (output["EventCategories"] !== undefined && output["EventCategories"]["EventCategory"] !== undefined) {
|
|
9537
|
-
contents.EventCategories = deserializeAws_queryEventCategoriesList(
|
|
9537
|
+
contents.EventCategories = deserializeAws_queryEventCategoriesList(smithy_client_1.getArrayIfSingleItem(output["EventCategories"]["EventCategory"]), context);
|
|
9538
9538
|
}
|
|
9539
9539
|
return contents;
|
|
9540
9540
|
};
|
|
@@ -9557,7 +9557,7 @@ const deserializeAws_queryEventCategoriesMessage = (output, context) => {
|
|
|
9557
9557
|
}
|
|
9558
9558
|
if (output["EventCategoriesMapList"] !== undefined &&
|
|
9559
9559
|
output["EventCategoriesMapList"]["EventCategoriesMap"] !== undefined) {
|
|
9560
|
-
contents.EventCategoriesMapList = deserializeAws_queryEventCategoriesMapList(
|
|
9560
|
+
contents.EventCategoriesMapList = deserializeAws_queryEventCategoriesMapList(smithy_client_1.getArrayIfSingleItem(output["EventCategoriesMapList"]["EventCategoriesMap"]), context);
|
|
9561
9561
|
}
|
|
9562
9562
|
return contents;
|
|
9563
9563
|
};
|
|
@@ -9577,13 +9577,13 @@ const deserializeAws_queryEventsMessage = (output, context) => {
|
|
|
9577
9577
|
Events: undefined,
|
|
9578
9578
|
};
|
|
9579
9579
|
if (output["Marker"] !== undefined) {
|
|
9580
|
-
contents.Marker =
|
|
9580
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
9581
9581
|
}
|
|
9582
9582
|
if (output.Events === "") {
|
|
9583
9583
|
contents.Events = [];
|
|
9584
9584
|
}
|
|
9585
9585
|
if (output["Events"] !== undefined && output["Events"]["Event"] !== undefined) {
|
|
9586
|
-
contents.Events = deserializeAws_queryEventList(
|
|
9586
|
+
contents.Events = deserializeAws_queryEventList(smithy_client_1.getArrayIfSingleItem(output["Events"]["Event"]), context);
|
|
9587
9587
|
}
|
|
9588
9588
|
return contents;
|
|
9589
9589
|
};
|
|
@@ -9601,40 +9601,40 @@ const deserializeAws_queryEventSubscription = (output, context) => {
|
|
|
9601
9601
|
EventSubscriptionArn: undefined,
|
|
9602
9602
|
};
|
|
9603
9603
|
if (output["CustomerAwsId"] !== undefined) {
|
|
9604
|
-
contents.CustomerAwsId =
|
|
9604
|
+
contents.CustomerAwsId = smithy_client_1.expectString(output["CustomerAwsId"]);
|
|
9605
9605
|
}
|
|
9606
9606
|
if (output["CustSubscriptionId"] !== undefined) {
|
|
9607
|
-
contents.CustSubscriptionId =
|
|
9607
|
+
contents.CustSubscriptionId = smithy_client_1.expectString(output["CustSubscriptionId"]);
|
|
9608
9608
|
}
|
|
9609
9609
|
if (output["SnsTopicArn"] !== undefined) {
|
|
9610
|
-
contents.SnsTopicArn =
|
|
9610
|
+
contents.SnsTopicArn = smithy_client_1.expectString(output["SnsTopicArn"]);
|
|
9611
9611
|
}
|
|
9612
9612
|
if (output["Status"] !== undefined) {
|
|
9613
|
-
contents.Status =
|
|
9613
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
9614
9614
|
}
|
|
9615
9615
|
if (output["SubscriptionCreationTime"] !== undefined) {
|
|
9616
|
-
contents.SubscriptionCreationTime =
|
|
9616
|
+
contents.SubscriptionCreationTime = smithy_client_1.expectString(output["SubscriptionCreationTime"]);
|
|
9617
9617
|
}
|
|
9618
9618
|
if (output["SourceType"] !== undefined) {
|
|
9619
|
-
contents.SourceType =
|
|
9619
|
+
contents.SourceType = smithy_client_1.expectString(output["SourceType"]);
|
|
9620
9620
|
}
|
|
9621
9621
|
if (output.SourceIdsList === "") {
|
|
9622
9622
|
contents.SourceIdsList = [];
|
|
9623
9623
|
}
|
|
9624
9624
|
if (output["SourceIdsList"] !== undefined && output["SourceIdsList"]["SourceId"] !== undefined) {
|
|
9625
|
-
contents.SourceIdsList = deserializeAws_querySourceIdsList(
|
|
9625
|
+
contents.SourceIdsList = deserializeAws_querySourceIdsList(smithy_client_1.getArrayIfSingleItem(output["SourceIdsList"]["SourceId"]), context);
|
|
9626
9626
|
}
|
|
9627
9627
|
if (output.EventCategoriesList === "") {
|
|
9628
9628
|
contents.EventCategoriesList = [];
|
|
9629
9629
|
}
|
|
9630
9630
|
if (output["EventCategoriesList"] !== undefined && output["EventCategoriesList"]["EventCategory"] !== undefined) {
|
|
9631
|
-
contents.EventCategoriesList = deserializeAws_queryEventCategoriesList(
|
|
9631
|
+
contents.EventCategoriesList = deserializeAws_queryEventCategoriesList(smithy_client_1.getArrayIfSingleItem(output["EventCategoriesList"]["EventCategory"]), context);
|
|
9632
9632
|
}
|
|
9633
9633
|
if (output["Enabled"] !== undefined) {
|
|
9634
|
-
contents.Enabled =
|
|
9634
|
+
contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
|
|
9635
9635
|
}
|
|
9636
9636
|
if (output["EventSubscriptionArn"] !== undefined) {
|
|
9637
|
-
contents.EventSubscriptionArn =
|
|
9637
|
+
contents.EventSubscriptionArn = smithy_client_1.expectString(output["EventSubscriptionArn"]);
|
|
9638
9638
|
}
|
|
9639
9639
|
return contents;
|
|
9640
9640
|
};
|
|
@@ -9643,7 +9643,7 @@ const deserializeAws_queryEventSubscriptionQuotaExceededFault = (output, context
|
|
|
9643
9643
|
message: undefined,
|
|
9644
9644
|
};
|
|
9645
9645
|
if (output["message"] !== undefined) {
|
|
9646
|
-
contents.message =
|
|
9646
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9647
9647
|
}
|
|
9648
9648
|
return contents;
|
|
9649
9649
|
};
|
|
@@ -9663,14 +9663,14 @@ const deserializeAws_queryEventSubscriptionsMessage = (output, context) => {
|
|
|
9663
9663
|
EventSubscriptionsList: undefined,
|
|
9664
9664
|
};
|
|
9665
9665
|
if (output["Marker"] !== undefined) {
|
|
9666
|
-
contents.Marker =
|
|
9666
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
9667
9667
|
}
|
|
9668
9668
|
if (output.EventSubscriptionsList === "") {
|
|
9669
9669
|
contents.EventSubscriptionsList = [];
|
|
9670
9670
|
}
|
|
9671
9671
|
if (output["EventSubscriptionsList"] !== undefined &&
|
|
9672
9672
|
output["EventSubscriptionsList"]["EventSubscription"] !== undefined) {
|
|
9673
|
-
contents.EventSubscriptionsList = deserializeAws_queryEventSubscriptionsList(
|
|
9673
|
+
contents.EventSubscriptionsList = deserializeAws_queryEventSubscriptionsList(smithy_client_1.getArrayIfSingleItem(output["EventSubscriptionsList"]["EventSubscription"]), context);
|
|
9674
9674
|
}
|
|
9675
9675
|
return contents;
|
|
9676
9676
|
};
|
|
@@ -9688,7 +9688,7 @@ const deserializeAws_queryInstanceQuotaExceededFault = (output, context) => {
|
|
|
9688
9688
|
message: undefined,
|
|
9689
9689
|
};
|
|
9690
9690
|
if (output["message"] !== undefined) {
|
|
9691
|
-
contents.message =
|
|
9691
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9692
9692
|
}
|
|
9693
9693
|
return contents;
|
|
9694
9694
|
};
|
|
@@ -9697,7 +9697,7 @@ const deserializeAws_queryInsufficientDBClusterCapacityFault = (output, context)
|
|
|
9697
9697
|
message: undefined,
|
|
9698
9698
|
};
|
|
9699
9699
|
if (output["message"] !== undefined) {
|
|
9700
|
-
contents.message =
|
|
9700
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9701
9701
|
}
|
|
9702
9702
|
return contents;
|
|
9703
9703
|
};
|
|
@@ -9706,7 +9706,7 @@ const deserializeAws_queryInsufficientDBInstanceCapacityFault = (output, context
|
|
|
9706
9706
|
message: undefined,
|
|
9707
9707
|
};
|
|
9708
9708
|
if (output["message"] !== undefined) {
|
|
9709
|
-
contents.message =
|
|
9709
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9710
9710
|
}
|
|
9711
9711
|
return contents;
|
|
9712
9712
|
};
|
|
@@ -9715,7 +9715,7 @@ const deserializeAws_queryInsufficientStorageClusterCapacityFault = (output, con
|
|
|
9715
9715
|
message: undefined,
|
|
9716
9716
|
};
|
|
9717
9717
|
if (output["message"] !== undefined) {
|
|
9718
|
-
contents.message =
|
|
9718
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9719
9719
|
}
|
|
9720
9720
|
return contents;
|
|
9721
9721
|
};
|
|
@@ -9724,7 +9724,7 @@ const deserializeAws_queryInvalidDBClusterEndpointStateFault = (output, context)
|
|
|
9724
9724
|
message: undefined,
|
|
9725
9725
|
};
|
|
9726
9726
|
if (output["message"] !== undefined) {
|
|
9727
|
-
contents.message =
|
|
9727
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9728
9728
|
}
|
|
9729
9729
|
return contents;
|
|
9730
9730
|
};
|
|
@@ -9733,7 +9733,7 @@ const deserializeAws_queryInvalidDBClusterSnapshotStateFault = (output, context)
|
|
|
9733
9733
|
message: undefined,
|
|
9734
9734
|
};
|
|
9735
9735
|
if (output["message"] !== undefined) {
|
|
9736
|
-
contents.message =
|
|
9736
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9737
9737
|
}
|
|
9738
9738
|
return contents;
|
|
9739
9739
|
};
|
|
@@ -9742,7 +9742,7 @@ const deserializeAws_queryInvalidDBClusterStateFault = (output, context) => {
|
|
|
9742
9742
|
message: undefined,
|
|
9743
9743
|
};
|
|
9744
9744
|
if (output["message"] !== undefined) {
|
|
9745
|
-
contents.message =
|
|
9745
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9746
9746
|
}
|
|
9747
9747
|
return contents;
|
|
9748
9748
|
};
|
|
@@ -9751,7 +9751,7 @@ const deserializeAws_queryInvalidDBInstanceStateFault = (output, context) => {
|
|
|
9751
9751
|
message: undefined,
|
|
9752
9752
|
};
|
|
9753
9753
|
if (output["message"] !== undefined) {
|
|
9754
|
-
contents.message =
|
|
9754
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9755
9755
|
}
|
|
9756
9756
|
return contents;
|
|
9757
9757
|
};
|
|
@@ -9760,7 +9760,7 @@ const deserializeAws_queryInvalidDBParameterGroupStateFault = (output, context)
|
|
|
9760
9760
|
message: undefined,
|
|
9761
9761
|
};
|
|
9762
9762
|
if (output["message"] !== undefined) {
|
|
9763
|
-
contents.message =
|
|
9763
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9764
9764
|
}
|
|
9765
9765
|
return contents;
|
|
9766
9766
|
};
|
|
@@ -9769,7 +9769,7 @@ const deserializeAws_queryInvalidDBSecurityGroupStateFault = (output, context) =
|
|
|
9769
9769
|
message: undefined,
|
|
9770
9770
|
};
|
|
9771
9771
|
if (output["message"] !== undefined) {
|
|
9772
|
-
contents.message =
|
|
9772
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9773
9773
|
}
|
|
9774
9774
|
return contents;
|
|
9775
9775
|
};
|
|
@@ -9778,7 +9778,7 @@ const deserializeAws_queryInvalidDBSnapshotStateFault = (output, context) => {
|
|
|
9778
9778
|
message: undefined,
|
|
9779
9779
|
};
|
|
9780
9780
|
if (output["message"] !== undefined) {
|
|
9781
|
-
contents.message =
|
|
9781
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9782
9782
|
}
|
|
9783
9783
|
return contents;
|
|
9784
9784
|
};
|
|
@@ -9787,7 +9787,7 @@ const deserializeAws_queryInvalidDBSubnetGroupStateFault = (output, context) =>
|
|
|
9787
9787
|
message: undefined,
|
|
9788
9788
|
};
|
|
9789
9789
|
if (output["message"] !== undefined) {
|
|
9790
|
-
contents.message =
|
|
9790
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9791
9791
|
}
|
|
9792
9792
|
return contents;
|
|
9793
9793
|
};
|
|
@@ -9796,7 +9796,7 @@ const deserializeAws_queryInvalidDBSubnetStateFault = (output, context) => {
|
|
|
9796
9796
|
message: undefined,
|
|
9797
9797
|
};
|
|
9798
9798
|
if (output["message"] !== undefined) {
|
|
9799
|
-
contents.message =
|
|
9799
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9800
9800
|
}
|
|
9801
9801
|
return contents;
|
|
9802
9802
|
};
|
|
@@ -9805,7 +9805,7 @@ const deserializeAws_queryInvalidEventSubscriptionStateFault = (output, context)
|
|
|
9805
9805
|
message: undefined,
|
|
9806
9806
|
};
|
|
9807
9807
|
if (output["message"] !== undefined) {
|
|
9808
|
-
contents.message =
|
|
9808
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9809
9809
|
}
|
|
9810
9810
|
return contents;
|
|
9811
9811
|
};
|
|
@@ -9814,7 +9814,7 @@ const deserializeAws_queryInvalidRestoreFault = (output, context) => {
|
|
|
9814
9814
|
message: undefined,
|
|
9815
9815
|
};
|
|
9816
9816
|
if (output["message"] !== undefined) {
|
|
9817
|
-
contents.message =
|
|
9817
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9818
9818
|
}
|
|
9819
9819
|
return contents;
|
|
9820
9820
|
};
|
|
@@ -9823,7 +9823,7 @@ const deserializeAws_queryInvalidSubnet = (output, context) => {
|
|
|
9823
9823
|
message: undefined,
|
|
9824
9824
|
};
|
|
9825
9825
|
if (output["message"] !== undefined) {
|
|
9826
|
-
contents.message =
|
|
9826
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9827
9827
|
}
|
|
9828
9828
|
return contents;
|
|
9829
9829
|
};
|
|
@@ -9832,7 +9832,7 @@ const deserializeAws_queryInvalidVPCNetworkStateFault = (output, context) => {
|
|
|
9832
9832
|
message: undefined,
|
|
9833
9833
|
};
|
|
9834
9834
|
if (output["message"] !== undefined) {
|
|
9835
|
-
contents.message =
|
|
9835
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9836
9836
|
}
|
|
9837
9837
|
return contents;
|
|
9838
9838
|
};
|
|
@@ -9841,7 +9841,7 @@ const deserializeAws_queryKMSKeyNotAccessibleFault = (output, context) => {
|
|
|
9841
9841
|
message: undefined,
|
|
9842
9842
|
};
|
|
9843
9843
|
if (output["message"] !== undefined) {
|
|
9844
|
-
contents.message =
|
|
9844
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9845
9845
|
}
|
|
9846
9846
|
return contents;
|
|
9847
9847
|
};
|
|
@@ -9852,7 +9852,7 @@ const deserializeAws_queryLogTypeList = (output, context) => {
|
|
|
9852
9852
|
if (entry === null) {
|
|
9853
9853
|
return null;
|
|
9854
9854
|
}
|
|
9855
|
-
return
|
|
9855
|
+
return smithy_client_1.expectString(entry);
|
|
9856
9856
|
});
|
|
9857
9857
|
};
|
|
9858
9858
|
const deserializeAws_queryModifyDBClusterEndpointOutput = (output, context) => {
|
|
@@ -9869,40 +9869,40 @@ const deserializeAws_queryModifyDBClusterEndpointOutput = (output, context) => {
|
|
|
9869
9869
|
DBClusterEndpointArn: undefined,
|
|
9870
9870
|
};
|
|
9871
9871
|
if (output["DBClusterEndpointIdentifier"] !== undefined) {
|
|
9872
|
-
contents.DBClusterEndpointIdentifier =
|
|
9872
|
+
contents.DBClusterEndpointIdentifier = smithy_client_1.expectString(output["DBClusterEndpointIdentifier"]);
|
|
9873
9873
|
}
|
|
9874
9874
|
if (output["DBClusterIdentifier"] !== undefined) {
|
|
9875
|
-
contents.DBClusterIdentifier =
|
|
9875
|
+
contents.DBClusterIdentifier = smithy_client_1.expectString(output["DBClusterIdentifier"]);
|
|
9876
9876
|
}
|
|
9877
9877
|
if (output["DBClusterEndpointResourceIdentifier"] !== undefined) {
|
|
9878
|
-
contents.DBClusterEndpointResourceIdentifier =
|
|
9878
|
+
contents.DBClusterEndpointResourceIdentifier = smithy_client_1.expectString(output["DBClusterEndpointResourceIdentifier"]);
|
|
9879
9879
|
}
|
|
9880
9880
|
if (output["Endpoint"] !== undefined) {
|
|
9881
|
-
contents.Endpoint =
|
|
9881
|
+
contents.Endpoint = smithy_client_1.expectString(output["Endpoint"]);
|
|
9882
9882
|
}
|
|
9883
9883
|
if (output["Status"] !== undefined) {
|
|
9884
|
-
contents.Status =
|
|
9884
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
9885
9885
|
}
|
|
9886
9886
|
if (output["EndpointType"] !== undefined) {
|
|
9887
|
-
contents.EndpointType =
|
|
9887
|
+
contents.EndpointType = smithy_client_1.expectString(output["EndpointType"]);
|
|
9888
9888
|
}
|
|
9889
9889
|
if (output["CustomEndpointType"] !== undefined) {
|
|
9890
|
-
contents.CustomEndpointType =
|
|
9890
|
+
contents.CustomEndpointType = smithy_client_1.expectString(output["CustomEndpointType"]);
|
|
9891
9891
|
}
|
|
9892
9892
|
if (output.StaticMembers === "") {
|
|
9893
9893
|
contents.StaticMembers = [];
|
|
9894
9894
|
}
|
|
9895
9895
|
if (output["StaticMembers"] !== undefined && output["StaticMembers"]["member"] !== undefined) {
|
|
9896
|
-
contents.StaticMembers = deserializeAws_queryStringList(
|
|
9896
|
+
contents.StaticMembers = deserializeAws_queryStringList(smithy_client_1.getArrayIfSingleItem(output["StaticMembers"]["member"]), context);
|
|
9897
9897
|
}
|
|
9898
9898
|
if (output.ExcludedMembers === "") {
|
|
9899
9899
|
contents.ExcludedMembers = [];
|
|
9900
9900
|
}
|
|
9901
9901
|
if (output["ExcludedMembers"] !== undefined && output["ExcludedMembers"]["member"] !== undefined) {
|
|
9902
|
-
contents.ExcludedMembers = deserializeAws_queryStringList(
|
|
9902
|
+
contents.ExcludedMembers = deserializeAws_queryStringList(smithy_client_1.getArrayIfSingleItem(output["ExcludedMembers"]["member"]), context);
|
|
9903
9903
|
}
|
|
9904
9904
|
if (output["DBClusterEndpointArn"] !== undefined) {
|
|
9905
|
-
contents.DBClusterEndpointArn =
|
|
9905
|
+
contents.DBClusterEndpointArn = smithy_client_1.expectString(output["DBClusterEndpointArn"]);
|
|
9906
9906
|
}
|
|
9907
9907
|
return contents;
|
|
9908
9908
|
};
|
|
@@ -9957,10 +9957,10 @@ const deserializeAws_queryOptionGroupMembership = (output, context) => {
|
|
|
9957
9957
|
Status: undefined,
|
|
9958
9958
|
};
|
|
9959
9959
|
if (output["OptionGroupName"] !== undefined) {
|
|
9960
|
-
contents.OptionGroupName =
|
|
9960
|
+
contents.OptionGroupName = smithy_client_1.expectString(output["OptionGroupName"]);
|
|
9961
9961
|
}
|
|
9962
9962
|
if (output["Status"] !== undefined) {
|
|
9963
|
-
contents.Status =
|
|
9963
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
9964
9964
|
}
|
|
9965
9965
|
return contents;
|
|
9966
9966
|
};
|
|
@@ -9979,7 +9979,7 @@ const deserializeAws_queryOptionGroupNotFoundFault = (output, context) => {
|
|
|
9979
9979
|
message: undefined,
|
|
9980
9980
|
};
|
|
9981
9981
|
if (output["message"] !== undefined) {
|
|
9982
|
-
contents.message =
|
|
9982
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
9983
9983
|
}
|
|
9984
9984
|
return contents;
|
|
9985
9985
|
};
|
|
@@ -10007,67 +10007,67 @@ const deserializeAws_queryOrderableDBInstanceOption = (output, context) => {
|
|
|
10007
10007
|
MaxIopsPerGib: undefined,
|
|
10008
10008
|
};
|
|
10009
10009
|
if (output["Engine"] !== undefined) {
|
|
10010
|
-
contents.Engine =
|
|
10010
|
+
contents.Engine = smithy_client_1.expectString(output["Engine"]);
|
|
10011
10011
|
}
|
|
10012
10012
|
if (output["EngineVersion"] !== undefined) {
|
|
10013
|
-
contents.EngineVersion =
|
|
10013
|
+
contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
|
|
10014
10014
|
}
|
|
10015
10015
|
if (output["DBInstanceClass"] !== undefined) {
|
|
10016
|
-
contents.DBInstanceClass =
|
|
10016
|
+
contents.DBInstanceClass = smithy_client_1.expectString(output["DBInstanceClass"]);
|
|
10017
10017
|
}
|
|
10018
10018
|
if (output["LicenseModel"] !== undefined) {
|
|
10019
|
-
contents.LicenseModel =
|
|
10019
|
+
contents.LicenseModel = smithy_client_1.expectString(output["LicenseModel"]);
|
|
10020
10020
|
}
|
|
10021
10021
|
if (output.AvailabilityZones === "") {
|
|
10022
10022
|
contents.AvailabilityZones = [];
|
|
10023
10023
|
}
|
|
10024
10024
|
if (output["AvailabilityZones"] !== undefined && output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
|
|
10025
|
-
contents.AvailabilityZones = deserializeAws_queryAvailabilityZoneList(
|
|
10025
|
+
contents.AvailabilityZones = deserializeAws_queryAvailabilityZoneList(smithy_client_1.getArrayIfSingleItem(output["AvailabilityZones"]["AvailabilityZone"]), context);
|
|
10026
10026
|
}
|
|
10027
10027
|
if (output["MultiAZCapable"] !== undefined) {
|
|
10028
|
-
contents.MultiAZCapable =
|
|
10028
|
+
contents.MultiAZCapable = smithy_client_1.parseBoolean(output["MultiAZCapable"]);
|
|
10029
10029
|
}
|
|
10030
10030
|
if (output["ReadReplicaCapable"] !== undefined) {
|
|
10031
|
-
contents.ReadReplicaCapable =
|
|
10031
|
+
contents.ReadReplicaCapable = smithy_client_1.parseBoolean(output["ReadReplicaCapable"]);
|
|
10032
10032
|
}
|
|
10033
10033
|
if (output["Vpc"] !== undefined) {
|
|
10034
|
-
contents.Vpc =
|
|
10034
|
+
contents.Vpc = smithy_client_1.parseBoolean(output["Vpc"]);
|
|
10035
10035
|
}
|
|
10036
10036
|
if (output["SupportsStorageEncryption"] !== undefined) {
|
|
10037
|
-
contents.SupportsStorageEncryption =
|
|
10037
|
+
contents.SupportsStorageEncryption = smithy_client_1.parseBoolean(output["SupportsStorageEncryption"]);
|
|
10038
10038
|
}
|
|
10039
10039
|
if (output["StorageType"] !== undefined) {
|
|
10040
|
-
contents.StorageType =
|
|
10040
|
+
contents.StorageType = smithy_client_1.expectString(output["StorageType"]);
|
|
10041
10041
|
}
|
|
10042
10042
|
if (output["SupportsIops"] !== undefined) {
|
|
10043
|
-
contents.SupportsIops =
|
|
10043
|
+
contents.SupportsIops = smithy_client_1.parseBoolean(output["SupportsIops"]);
|
|
10044
10044
|
}
|
|
10045
10045
|
if (output["SupportsEnhancedMonitoring"] !== undefined) {
|
|
10046
|
-
contents.SupportsEnhancedMonitoring =
|
|
10046
|
+
contents.SupportsEnhancedMonitoring = smithy_client_1.parseBoolean(output["SupportsEnhancedMonitoring"]);
|
|
10047
10047
|
}
|
|
10048
10048
|
if (output["SupportsIAMDatabaseAuthentication"] !== undefined) {
|
|
10049
|
-
contents.SupportsIAMDatabaseAuthentication =
|
|
10049
|
+
contents.SupportsIAMDatabaseAuthentication = smithy_client_1.parseBoolean(output["SupportsIAMDatabaseAuthentication"]);
|
|
10050
10050
|
}
|
|
10051
10051
|
if (output["SupportsPerformanceInsights"] !== undefined) {
|
|
10052
|
-
contents.SupportsPerformanceInsights =
|
|
10052
|
+
contents.SupportsPerformanceInsights = smithy_client_1.parseBoolean(output["SupportsPerformanceInsights"]);
|
|
10053
10053
|
}
|
|
10054
10054
|
if (output["MinStorageSize"] !== undefined) {
|
|
10055
|
-
contents.MinStorageSize =
|
|
10055
|
+
contents.MinStorageSize = smithy_client_1.strictParseInt32(output["MinStorageSize"]);
|
|
10056
10056
|
}
|
|
10057
10057
|
if (output["MaxStorageSize"] !== undefined) {
|
|
10058
|
-
contents.MaxStorageSize =
|
|
10058
|
+
contents.MaxStorageSize = smithy_client_1.strictParseInt32(output["MaxStorageSize"]);
|
|
10059
10059
|
}
|
|
10060
10060
|
if (output["MinIopsPerDbInstance"] !== undefined) {
|
|
10061
|
-
contents.MinIopsPerDbInstance =
|
|
10061
|
+
contents.MinIopsPerDbInstance = smithy_client_1.strictParseInt32(output["MinIopsPerDbInstance"]);
|
|
10062
10062
|
}
|
|
10063
10063
|
if (output["MaxIopsPerDbInstance"] !== undefined) {
|
|
10064
|
-
contents.MaxIopsPerDbInstance =
|
|
10064
|
+
contents.MaxIopsPerDbInstance = smithy_client_1.strictParseInt32(output["MaxIopsPerDbInstance"]);
|
|
10065
10065
|
}
|
|
10066
10066
|
if (output["MinIopsPerGib"] !== undefined) {
|
|
10067
|
-
contents.MinIopsPerGib =
|
|
10067
|
+
contents.MinIopsPerGib = smithy_client_1.strictParseFloat(output["MinIopsPerGib"]);
|
|
10068
10068
|
}
|
|
10069
10069
|
if (output["MaxIopsPerGib"] !== undefined) {
|
|
10070
|
-
contents.MaxIopsPerGib =
|
|
10070
|
+
contents.MaxIopsPerGib = smithy_client_1.strictParseFloat(output["MaxIopsPerGib"]);
|
|
10071
10071
|
}
|
|
10072
10072
|
return contents;
|
|
10073
10073
|
};
|
|
@@ -10091,10 +10091,10 @@ const deserializeAws_queryOrderableDBInstanceOptionsMessage = (output, context)
|
|
|
10091
10091
|
}
|
|
10092
10092
|
if (output["OrderableDBInstanceOptions"] !== undefined &&
|
|
10093
10093
|
output["OrderableDBInstanceOptions"]["OrderableDBInstanceOption"] !== undefined) {
|
|
10094
|
-
contents.OrderableDBInstanceOptions = deserializeAws_queryOrderableDBInstanceOptionsList(
|
|
10094
|
+
contents.OrderableDBInstanceOptions = deserializeAws_queryOrderableDBInstanceOptionsList(smithy_client_1.getArrayIfSingleItem(output["OrderableDBInstanceOptions"]["OrderableDBInstanceOption"]), context);
|
|
10095
10095
|
}
|
|
10096
10096
|
if (output["Marker"] !== undefined) {
|
|
10097
|
-
contents.Marker =
|
|
10097
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
10098
10098
|
}
|
|
10099
10099
|
return contents;
|
|
10100
10100
|
};
|
|
@@ -10112,34 +10112,34 @@ const deserializeAws_queryParameter = (output, context) => {
|
|
|
10112
10112
|
ApplyMethod: undefined,
|
|
10113
10113
|
};
|
|
10114
10114
|
if (output["ParameterName"] !== undefined) {
|
|
10115
|
-
contents.ParameterName =
|
|
10115
|
+
contents.ParameterName = smithy_client_1.expectString(output["ParameterName"]);
|
|
10116
10116
|
}
|
|
10117
10117
|
if (output["ParameterValue"] !== undefined) {
|
|
10118
|
-
contents.ParameterValue =
|
|
10118
|
+
contents.ParameterValue = smithy_client_1.expectString(output["ParameterValue"]);
|
|
10119
10119
|
}
|
|
10120
10120
|
if (output["Description"] !== undefined) {
|
|
10121
|
-
contents.Description =
|
|
10121
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
10122
10122
|
}
|
|
10123
10123
|
if (output["Source"] !== undefined) {
|
|
10124
|
-
contents.Source =
|
|
10124
|
+
contents.Source = smithy_client_1.expectString(output["Source"]);
|
|
10125
10125
|
}
|
|
10126
10126
|
if (output["ApplyType"] !== undefined) {
|
|
10127
|
-
contents.ApplyType =
|
|
10127
|
+
contents.ApplyType = smithy_client_1.expectString(output["ApplyType"]);
|
|
10128
10128
|
}
|
|
10129
10129
|
if (output["DataType"] !== undefined) {
|
|
10130
|
-
contents.DataType =
|
|
10130
|
+
contents.DataType = smithy_client_1.expectString(output["DataType"]);
|
|
10131
10131
|
}
|
|
10132
10132
|
if (output["AllowedValues"] !== undefined) {
|
|
10133
|
-
contents.AllowedValues =
|
|
10133
|
+
contents.AllowedValues = smithy_client_1.expectString(output["AllowedValues"]);
|
|
10134
10134
|
}
|
|
10135
10135
|
if (output["IsModifiable"] !== undefined) {
|
|
10136
|
-
contents.IsModifiable =
|
|
10136
|
+
contents.IsModifiable = smithy_client_1.parseBoolean(output["IsModifiable"]);
|
|
10137
10137
|
}
|
|
10138
10138
|
if (output["MinimumEngineVersion"] !== undefined) {
|
|
10139
|
-
contents.MinimumEngineVersion =
|
|
10139
|
+
contents.MinimumEngineVersion = smithy_client_1.expectString(output["MinimumEngineVersion"]);
|
|
10140
10140
|
}
|
|
10141
10141
|
if (output["ApplyMethod"] !== undefined) {
|
|
10142
|
-
contents.ApplyMethod =
|
|
10142
|
+
contents.ApplyMethod = smithy_client_1.expectString(output["ApplyMethod"]);
|
|
10143
10143
|
}
|
|
10144
10144
|
return contents;
|
|
10145
10145
|
};
|
|
@@ -10162,13 +10162,13 @@ const deserializeAws_queryPendingCloudwatchLogsExports = (output, context) => {
|
|
|
10162
10162
|
contents.LogTypesToEnable = [];
|
|
10163
10163
|
}
|
|
10164
10164
|
if (output["LogTypesToEnable"] !== undefined && output["LogTypesToEnable"]["member"] !== undefined) {
|
|
10165
|
-
contents.LogTypesToEnable = deserializeAws_queryLogTypeList(
|
|
10165
|
+
contents.LogTypesToEnable = deserializeAws_queryLogTypeList(smithy_client_1.getArrayIfSingleItem(output["LogTypesToEnable"]["member"]), context);
|
|
10166
10166
|
}
|
|
10167
10167
|
if (output.LogTypesToDisable === "") {
|
|
10168
10168
|
contents.LogTypesToDisable = [];
|
|
10169
10169
|
}
|
|
10170
10170
|
if (output["LogTypesToDisable"] !== undefined && output["LogTypesToDisable"]["member"] !== undefined) {
|
|
10171
|
-
contents.LogTypesToDisable = deserializeAws_queryLogTypeList(
|
|
10171
|
+
contents.LogTypesToDisable = deserializeAws_queryLogTypeList(smithy_client_1.getArrayIfSingleItem(output["LogTypesToDisable"]["member"]), context);
|
|
10172
10172
|
}
|
|
10173
10173
|
return contents;
|
|
10174
10174
|
};
|
|
@@ -10182,22 +10182,22 @@ const deserializeAws_queryPendingMaintenanceAction = (output, context) => {
|
|
|
10182
10182
|
Description: undefined,
|
|
10183
10183
|
};
|
|
10184
10184
|
if (output["Action"] !== undefined) {
|
|
10185
|
-
contents.Action =
|
|
10185
|
+
contents.Action = smithy_client_1.expectString(output["Action"]);
|
|
10186
10186
|
}
|
|
10187
10187
|
if (output["AutoAppliedAfterDate"] !== undefined) {
|
|
10188
|
-
contents.AutoAppliedAfterDate =
|
|
10188
|
+
contents.AutoAppliedAfterDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["AutoAppliedAfterDate"]));
|
|
10189
10189
|
}
|
|
10190
10190
|
if (output["ForcedApplyDate"] !== undefined) {
|
|
10191
|
-
contents.ForcedApplyDate =
|
|
10191
|
+
contents.ForcedApplyDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ForcedApplyDate"]));
|
|
10192
10192
|
}
|
|
10193
10193
|
if (output["OptInStatus"] !== undefined) {
|
|
10194
|
-
contents.OptInStatus =
|
|
10194
|
+
contents.OptInStatus = smithy_client_1.expectString(output["OptInStatus"]);
|
|
10195
10195
|
}
|
|
10196
10196
|
if (output["CurrentApplyDate"] !== undefined) {
|
|
10197
|
-
contents.CurrentApplyDate =
|
|
10197
|
+
contents.CurrentApplyDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CurrentApplyDate"]));
|
|
10198
10198
|
}
|
|
10199
10199
|
if (output["Description"] !== undefined) {
|
|
10200
|
-
contents.Description =
|
|
10200
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
10201
10201
|
}
|
|
10202
10202
|
return contents;
|
|
10203
10203
|
};
|
|
@@ -10231,10 +10231,10 @@ const deserializeAws_queryPendingMaintenanceActionsMessage = (output, context) =
|
|
|
10231
10231
|
}
|
|
10232
10232
|
if (output["PendingMaintenanceActions"] !== undefined &&
|
|
10233
10233
|
output["PendingMaintenanceActions"]["ResourcePendingMaintenanceActions"] !== undefined) {
|
|
10234
|
-
contents.PendingMaintenanceActions = deserializeAws_queryPendingMaintenanceActions(
|
|
10234
|
+
contents.PendingMaintenanceActions = deserializeAws_queryPendingMaintenanceActions(smithy_client_1.getArrayIfSingleItem(output["PendingMaintenanceActions"]["ResourcePendingMaintenanceActions"]), context);
|
|
10235
10235
|
}
|
|
10236
10236
|
if (output["Marker"] !== undefined) {
|
|
10237
|
-
contents.Marker =
|
|
10237
|
+
contents.Marker = smithy_client_1.expectString(output["Marker"]);
|
|
10238
10238
|
}
|
|
10239
10239
|
return contents;
|
|
10240
10240
|
};
|
|
@@ -10256,43 +10256,43 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
|
|
|
10256
10256
|
PendingCloudwatchLogsExports: undefined,
|
|
10257
10257
|
};
|
|
10258
10258
|
if (output["DBInstanceClass"] !== undefined) {
|
|
10259
|
-
contents.DBInstanceClass =
|
|
10259
|
+
contents.DBInstanceClass = smithy_client_1.expectString(output["DBInstanceClass"]);
|
|
10260
10260
|
}
|
|
10261
10261
|
if (output["AllocatedStorage"] !== undefined) {
|
|
10262
|
-
contents.AllocatedStorage =
|
|
10262
|
+
contents.AllocatedStorage = smithy_client_1.strictParseInt32(output["AllocatedStorage"]);
|
|
10263
10263
|
}
|
|
10264
10264
|
if (output["MasterUserPassword"] !== undefined) {
|
|
10265
|
-
contents.MasterUserPassword =
|
|
10265
|
+
contents.MasterUserPassword = smithy_client_1.expectString(output["MasterUserPassword"]);
|
|
10266
10266
|
}
|
|
10267
10267
|
if (output["Port"] !== undefined) {
|
|
10268
|
-
contents.Port =
|
|
10268
|
+
contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
|
|
10269
10269
|
}
|
|
10270
10270
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
10271
|
-
contents.BackupRetentionPeriod =
|
|
10271
|
+
contents.BackupRetentionPeriod = smithy_client_1.strictParseInt32(output["BackupRetentionPeriod"]);
|
|
10272
10272
|
}
|
|
10273
10273
|
if (output["MultiAZ"] !== undefined) {
|
|
10274
|
-
contents.MultiAZ =
|
|
10274
|
+
contents.MultiAZ = smithy_client_1.parseBoolean(output["MultiAZ"]);
|
|
10275
10275
|
}
|
|
10276
10276
|
if (output["EngineVersion"] !== undefined) {
|
|
10277
|
-
contents.EngineVersion =
|
|
10277
|
+
contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
|
|
10278
10278
|
}
|
|
10279
10279
|
if (output["LicenseModel"] !== undefined) {
|
|
10280
|
-
contents.LicenseModel =
|
|
10280
|
+
contents.LicenseModel = smithy_client_1.expectString(output["LicenseModel"]);
|
|
10281
10281
|
}
|
|
10282
10282
|
if (output["Iops"] !== undefined) {
|
|
10283
|
-
contents.Iops =
|
|
10283
|
+
contents.Iops = smithy_client_1.strictParseInt32(output["Iops"]);
|
|
10284
10284
|
}
|
|
10285
10285
|
if (output["DBInstanceIdentifier"] !== undefined) {
|
|
10286
|
-
contents.DBInstanceIdentifier =
|
|
10286
|
+
contents.DBInstanceIdentifier = smithy_client_1.expectString(output["DBInstanceIdentifier"]);
|
|
10287
10287
|
}
|
|
10288
10288
|
if (output["StorageType"] !== undefined) {
|
|
10289
|
-
contents.StorageType =
|
|
10289
|
+
contents.StorageType = smithy_client_1.expectString(output["StorageType"]);
|
|
10290
10290
|
}
|
|
10291
10291
|
if (output["CACertificateIdentifier"] !== undefined) {
|
|
10292
|
-
contents.CACertificateIdentifier =
|
|
10292
|
+
contents.CACertificateIdentifier = smithy_client_1.expectString(output["CACertificateIdentifier"]);
|
|
10293
10293
|
}
|
|
10294
10294
|
if (output["DBSubnetGroupName"] !== undefined) {
|
|
10295
|
-
contents.DBSubnetGroupName =
|
|
10295
|
+
contents.DBSubnetGroupName = smithy_client_1.expectString(output["DBSubnetGroupName"]);
|
|
10296
10296
|
}
|
|
10297
10297
|
if (output["PendingCloudwatchLogsExports"] !== undefined) {
|
|
10298
10298
|
contents.PendingCloudwatchLogsExports = deserializeAws_queryPendingCloudwatchLogsExports(output["PendingCloudwatchLogsExports"], context);
|
|
@@ -10313,7 +10313,7 @@ const deserializeAws_queryProvisionedIopsNotAvailableInAZFault = (output, contex
|
|
|
10313
10313
|
message: undefined,
|
|
10314
10314
|
};
|
|
10315
10315
|
if (output["message"] !== undefined) {
|
|
10316
|
-
contents.message =
|
|
10316
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
10317
10317
|
}
|
|
10318
10318
|
return contents;
|
|
10319
10319
|
};
|
|
@@ -10324,13 +10324,13 @@ const deserializeAws_queryRange = (output, context) => {
|
|
|
10324
10324
|
Step: undefined,
|
|
10325
10325
|
};
|
|
10326
10326
|
if (output["From"] !== undefined) {
|
|
10327
|
-
contents.From =
|
|
10327
|
+
contents.From = smithy_client_1.strictParseInt32(output["From"]);
|
|
10328
10328
|
}
|
|
10329
10329
|
if (output["To"] !== undefined) {
|
|
10330
|
-
contents.To =
|
|
10330
|
+
contents.To = smithy_client_1.strictParseInt32(output["To"]);
|
|
10331
10331
|
}
|
|
10332
10332
|
if (output["Step"] !== undefined) {
|
|
10333
|
-
contents.Step =
|
|
10333
|
+
contents.Step = smithy_client_1.strictParseInt32(output["Step"]);
|
|
10334
10334
|
}
|
|
10335
10335
|
return contents;
|
|
10336
10336
|
};
|
|
@@ -10351,7 +10351,7 @@ const deserializeAws_queryReadReplicaDBClusterIdentifierList = (output, context)
|
|
|
10351
10351
|
if (entry === null) {
|
|
10352
10352
|
return null;
|
|
10353
10353
|
}
|
|
10354
|
-
return
|
|
10354
|
+
return smithy_client_1.expectString(entry);
|
|
10355
10355
|
});
|
|
10356
10356
|
};
|
|
10357
10357
|
const deserializeAws_queryReadReplicaDBInstanceIdentifierList = (output, context) => {
|
|
@@ -10361,7 +10361,7 @@ const deserializeAws_queryReadReplicaDBInstanceIdentifierList = (output, context
|
|
|
10361
10361
|
if (entry === null) {
|
|
10362
10362
|
return null;
|
|
10363
10363
|
}
|
|
10364
|
-
return
|
|
10364
|
+
return smithy_client_1.expectString(entry);
|
|
10365
10365
|
});
|
|
10366
10366
|
};
|
|
10367
10367
|
const deserializeAws_queryReadReplicaIdentifierList = (output, context) => {
|
|
@@ -10371,7 +10371,7 @@ const deserializeAws_queryReadReplicaIdentifierList = (output, context) => {
|
|
|
10371
10371
|
if (entry === null) {
|
|
10372
10372
|
return null;
|
|
10373
10373
|
}
|
|
10374
|
-
return
|
|
10374
|
+
return smithy_client_1.expectString(entry);
|
|
10375
10375
|
});
|
|
10376
10376
|
};
|
|
10377
10377
|
const deserializeAws_queryRebootDBInstanceResult = (output, context) => {
|
|
@@ -10397,7 +10397,7 @@ const deserializeAws_queryResourceNotFoundFault = (output, context) => {
|
|
|
10397
10397
|
message: undefined,
|
|
10398
10398
|
};
|
|
10399
10399
|
if (output["message"] !== undefined) {
|
|
10400
|
-
contents.message =
|
|
10400
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
10401
10401
|
}
|
|
10402
10402
|
return contents;
|
|
10403
10403
|
};
|
|
@@ -10407,14 +10407,14 @@ const deserializeAws_queryResourcePendingMaintenanceActions = (output, context)
|
|
|
10407
10407
|
PendingMaintenanceActionDetails: undefined,
|
|
10408
10408
|
};
|
|
10409
10409
|
if (output["ResourceIdentifier"] !== undefined) {
|
|
10410
|
-
contents.ResourceIdentifier =
|
|
10410
|
+
contents.ResourceIdentifier = smithy_client_1.expectString(output["ResourceIdentifier"]);
|
|
10411
10411
|
}
|
|
10412
10412
|
if (output.PendingMaintenanceActionDetails === "") {
|
|
10413
10413
|
contents.PendingMaintenanceActionDetails = [];
|
|
10414
10414
|
}
|
|
10415
10415
|
if (output["PendingMaintenanceActionDetails"] !== undefined &&
|
|
10416
10416
|
output["PendingMaintenanceActionDetails"]["PendingMaintenanceAction"] !== undefined) {
|
|
10417
|
-
contents.PendingMaintenanceActionDetails = deserializeAws_queryPendingMaintenanceActionDetails(
|
|
10417
|
+
contents.PendingMaintenanceActionDetails = deserializeAws_queryPendingMaintenanceActionDetails(smithy_client_1.getArrayIfSingleItem(output["PendingMaintenanceActionDetails"]["PendingMaintenanceAction"]), context);
|
|
10418
10418
|
}
|
|
10419
10419
|
return contents;
|
|
10420
10420
|
};
|
|
@@ -10441,7 +10441,7 @@ const deserializeAws_querySharedSnapshotQuotaExceededFault = (output, context) =
|
|
|
10441
10441
|
message: undefined,
|
|
10442
10442
|
};
|
|
10443
10443
|
if (output["message"] !== undefined) {
|
|
10444
|
-
contents.message =
|
|
10444
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
10445
10445
|
}
|
|
10446
10446
|
return contents;
|
|
10447
10447
|
};
|
|
@@ -10450,7 +10450,7 @@ const deserializeAws_querySnapshotQuotaExceededFault = (output, context) => {
|
|
|
10450
10450
|
message: undefined,
|
|
10451
10451
|
};
|
|
10452
10452
|
if (output["message"] !== undefined) {
|
|
10453
|
-
contents.message =
|
|
10453
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
10454
10454
|
}
|
|
10455
10455
|
return contents;
|
|
10456
10456
|
};
|
|
@@ -10459,7 +10459,7 @@ const deserializeAws_querySNSInvalidTopicFault = (output, context) => {
|
|
|
10459
10459
|
message: undefined,
|
|
10460
10460
|
};
|
|
10461
10461
|
if (output["message"] !== undefined) {
|
|
10462
|
-
contents.message =
|
|
10462
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
10463
10463
|
}
|
|
10464
10464
|
return contents;
|
|
10465
10465
|
};
|
|
@@ -10468,7 +10468,7 @@ const deserializeAws_querySNSNoAuthorizationFault = (output, context) => {
|
|
|
10468
10468
|
message: undefined,
|
|
10469
10469
|
};
|
|
10470
10470
|
if (output["message"] !== undefined) {
|
|
10471
|
-
contents.message =
|
|
10471
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
10472
10472
|
}
|
|
10473
10473
|
return contents;
|
|
10474
10474
|
};
|
|
@@ -10477,7 +10477,7 @@ const deserializeAws_querySNSTopicArnNotFoundFault = (output, context) => {
|
|
|
10477
10477
|
message: undefined,
|
|
10478
10478
|
};
|
|
10479
10479
|
if (output["message"] !== undefined) {
|
|
10480
|
-
contents.message =
|
|
10480
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
10481
10481
|
}
|
|
10482
10482
|
return contents;
|
|
10483
10483
|
};
|
|
@@ -10488,7 +10488,7 @@ const deserializeAws_querySourceIdsList = (output, context) => {
|
|
|
10488
10488
|
if (entry === null) {
|
|
10489
10489
|
return null;
|
|
10490
10490
|
}
|
|
10491
|
-
return
|
|
10491
|
+
return smithy_client_1.expectString(entry);
|
|
10492
10492
|
});
|
|
10493
10493
|
};
|
|
10494
10494
|
const deserializeAws_querySourceNotFoundFault = (output, context) => {
|
|
@@ -10496,7 +10496,7 @@ const deserializeAws_querySourceNotFoundFault = (output, context) => {
|
|
|
10496
10496
|
message: undefined,
|
|
10497
10497
|
};
|
|
10498
10498
|
if (output["message"] !== undefined) {
|
|
10499
|
-
contents.message =
|
|
10499
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
10500
10500
|
}
|
|
10501
10501
|
return contents;
|
|
10502
10502
|
};
|
|
@@ -10523,7 +10523,7 @@ const deserializeAws_queryStorageQuotaExceededFault = (output, context) => {
|
|
|
10523
10523
|
message: undefined,
|
|
10524
10524
|
};
|
|
10525
10525
|
if (output["message"] !== undefined) {
|
|
10526
|
-
contents.message =
|
|
10526
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
10527
10527
|
}
|
|
10528
10528
|
return contents;
|
|
10529
10529
|
};
|
|
@@ -10532,7 +10532,7 @@ const deserializeAws_queryStorageTypeNotSupportedFault = (output, context) => {
|
|
|
10532
10532
|
message: undefined,
|
|
10533
10533
|
};
|
|
10534
10534
|
if (output["message"] !== undefined) {
|
|
10535
|
-
contents.message =
|
|
10535
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
10536
10536
|
}
|
|
10537
10537
|
return contents;
|
|
10538
10538
|
};
|
|
@@ -10543,7 +10543,7 @@ const deserializeAws_queryStringList = (output, context) => {
|
|
|
10543
10543
|
if (entry === null) {
|
|
10544
10544
|
return null;
|
|
10545
10545
|
}
|
|
10546
|
-
return
|
|
10546
|
+
return smithy_client_1.expectString(entry);
|
|
10547
10547
|
});
|
|
10548
10548
|
};
|
|
10549
10549
|
const deserializeAws_querySubnet = (output, context) => {
|
|
@@ -10553,13 +10553,13 @@ const deserializeAws_querySubnet = (output, context) => {
|
|
|
10553
10553
|
SubnetStatus: undefined,
|
|
10554
10554
|
};
|
|
10555
10555
|
if (output["SubnetIdentifier"] !== undefined) {
|
|
10556
|
-
contents.SubnetIdentifier =
|
|
10556
|
+
contents.SubnetIdentifier = smithy_client_1.expectString(output["SubnetIdentifier"]);
|
|
10557
10557
|
}
|
|
10558
10558
|
if (output["SubnetAvailabilityZone"] !== undefined) {
|
|
10559
10559
|
contents.SubnetAvailabilityZone = deserializeAws_queryAvailabilityZone(output["SubnetAvailabilityZone"], context);
|
|
10560
10560
|
}
|
|
10561
10561
|
if (output["SubnetStatus"] !== undefined) {
|
|
10562
|
-
contents.SubnetStatus =
|
|
10562
|
+
contents.SubnetStatus = smithy_client_1.expectString(output["SubnetStatus"]);
|
|
10563
10563
|
}
|
|
10564
10564
|
return contents;
|
|
10565
10565
|
};
|
|
@@ -10568,7 +10568,7 @@ const deserializeAws_querySubnetAlreadyInUse = (output, context) => {
|
|
|
10568
10568
|
message: undefined,
|
|
10569
10569
|
};
|
|
10570
10570
|
if (output["message"] !== undefined) {
|
|
10571
|
-
contents.message =
|
|
10571
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
10572
10572
|
}
|
|
10573
10573
|
return contents;
|
|
10574
10574
|
};
|
|
@@ -10587,7 +10587,7 @@ const deserializeAws_querySubscriptionAlreadyExistFault = (output, context) => {
|
|
|
10587
10587
|
message: undefined,
|
|
10588
10588
|
};
|
|
10589
10589
|
if (output["message"] !== undefined) {
|
|
10590
|
-
contents.message =
|
|
10590
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
10591
10591
|
}
|
|
10592
10592
|
return contents;
|
|
10593
10593
|
};
|
|
@@ -10596,7 +10596,7 @@ const deserializeAws_querySubscriptionCategoryNotFoundFault = (output, context)
|
|
|
10596
10596
|
message: undefined,
|
|
10597
10597
|
};
|
|
10598
10598
|
if (output["message"] !== undefined) {
|
|
10599
|
-
contents.message =
|
|
10599
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
10600
10600
|
}
|
|
10601
10601
|
return contents;
|
|
10602
10602
|
};
|
|
@@ -10605,7 +10605,7 @@ const deserializeAws_querySubscriptionNotFoundFault = (output, context) => {
|
|
|
10605
10605
|
message: undefined,
|
|
10606
10606
|
};
|
|
10607
10607
|
if (output["message"] !== undefined) {
|
|
10608
|
-
contents.message =
|
|
10608
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
10609
10609
|
}
|
|
10610
10610
|
return contents;
|
|
10611
10611
|
};
|
|
@@ -10635,10 +10635,10 @@ const deserializeAws_queryTag = (output, context) => {
|
|
|
10635
10635
|
Value: undefined,
|
|
10636
10636
|
};
|
|
10637
10637
|
if (output["Key"] !== undefined) {
|
|
10638
|
-
contents.Key =
|
|
10638
|
+
contents.Key = smithy_client_1.expectString(output["Key"]);
|
|
10639
10639
|
}
|
|
10640
10640
|
if (output["Value"] !== undefined) {
|
|
10641
|
-
contents.Value =
|
|
10641
|
+
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
10642
10642
|
}
|
|
10643
10643
|
return contents;
|
|
10644
10644
|
};
|
|
@@ -10660,7 +10660,7 @@ const deserializeAws_queryTagListMessage = (output, context) => {
|
|
|
10660
10660
|
contents.TagList = [];
|
|
10661
10661
|
}
|
|
10662
10662
|
if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
|
|
10663
|
-
contents.TagList = deserializeAws_queryTagList(
|
|
10663
|
+
contents.TagList = deserializeAws_queryTagList(smithy_client_1.getArrayIfSingleItem(output["TagList"]["Tag"]), context);
|
|
10664
10664
|
}
|
|
10665
10665
|
return contents;
|
|
10666
10666
|
};
|
|
@@ -10669,7 +10669,7 @@ const deserializeAws_queryTimezone = (output, context) => {
|
|
|
10669
10669
|
TimezoneName: undefined,
|
|
10670
10670
|
};
|
|
10671
10671
|
if (output["TimezoneName"] !== undefined) {
|
|
10672
|
-
contents.TimezoneName =
|
|
10672
|
+
contents.TimezoneName = smithy_client_1.expectString(output["TimezoneName"]);
|
|
10673
10673
|
}
|
|
10674
10674
|
return contents;
|
|
10675
10675
|
};
|
|
@@ -10682,19 +10682,19 @@ const deserializeAws_queryUpgradeTarget = (output, context) => {
|
|
|
10682
10682
|
IsMajorVersionUpgrade: undefined,
|
|
10683
10683
|
};
|
|
10684
10684
|
if (output["Engine"] !== undefined) {
|
|
10685
|
-
contents.Engine =
|
|
10685
|
+
contents.Engine = smithy_client_1.expectString(output["Engine"]);
|
|
10686
10686
|
}
|
|
10687
10687
|
if (output["EngineVersion"] !== undefined) {
|
|
10688
|
-
contents.EngineVersion =
|
|
10688
|
+
contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
|
|
10689
10689
|
}
|
|
10690
10690
|
if (output["Description"] !== undefined) {
|
|
10691
|
-
contents.Description =
|
|
10691
|
+
contents.Description = smithy_client_1.expectString(output["Description"]);
|
|
10692
10692
|
}
|
|
10693
10693
|
if (output["AutoUpgrade"] !== undefined) {
|
|
10694
|
-
contents.AutoUpgrade =
|
|
10694
|
+
contents.AutoUpgrade = smithy_client_1.parseBoolean(output["AutoUpgrade"]);
|
|
10695
10695
|
}
|
|
10696
10696
|
if (output["IsMajorVersionUpgrade"] !== undefined) {
|
|
10697
|
-
contents.IsMajorVersionUpgrade =
|
|
10697
|
+
contents.IsMajorVersionUpgrade = smithy_client_1.parseBoolean(output["IsMajorVersionUpgrade"]);
|
|
10698
10698
|
}
|
|
10699
10699
|
return contents;
|
|
10700
10700
|
};
|
|
@@ -10706,7 +10706,7 @@ const deserializeAws_queryValidDBInstanceModificationsMessage = (output, context
|
|
|
10706
10706
|
contents.Storage = [];
|
|
10707
10707
|
}
|
|
10708
10708
|
if (output["Storage"] !== undefined && output["Storage"]["ValidStorageOptions"] !== undefined) {
|
|
10709
|
-
contents.Storage = deserializeAws_queryValidStorageOptionsList(
|
|
10709
|
+
contents.Storage = deserializeAws_queryValidStorageOptionsList(smithy_client_1.getArrayIfSingleItem(output["Storage"]["ValidStorageOptions"]), context);
|
|
10710
10710
|
}
|
|
10711
10711
|
return contents;
|
|
10712
10712
|
};
|
|
@@ -10718,25 +10718,25 @@ const deserializeAws_queryValidStorageOptions = (output, context) => {
|
|
|
10718
10718
|
IopsToStorageRatio: undefined,
|
|
10719
10719
|
};
|
|
10720
10720
|
if (output["StorageType"] !== undefined) {
|
|
10721
|
-
contents.StorageType =
|
|
10721
|
+
contents.StorageType = smithy_client_1.expectString(output["StorageType"]);
|
|
10722
10722
|
}
|
|
10723
10723
|
if (output.StorageSize === "") {
|
|
10724
10724
|
contents.StorageSize = [];
|
|
10725
10725
|
}
|
|
10726
10726
|
if (output["StorageSize"] !== undefined && output["StorageSize"]["Range"] !== undefined) {
|
|
10727
|
-
contents.StorageSize = deserializeAws_queryRangeList(
|
|
10727
|
+
contents.StorageSize = deserializeAws_queryRangeList(smithy_client_1.getArrayIfSingleItem(output["StorageSize"]["Range"]), context);
|
|
10728
10728
|
}
|
|
10729
10729
|
if (output.ProvisionedIops === "") {
|
|
10730
10730
|
contents.ProvisionedIops = [];
|
|
10731
10731
|
}
|
|
10732
10732
|
if (output["ProvisionedIops"] !== undefined && output["ProvisionedIops"]["Range"] !== undefined) {
|
|
10733
|
-
contents.ProvisionedIops = deserializeAws_queryRangeList(
|
|
10733
|
+
contents.ProvisionedIops = deserializeAws_queryRangeList(smithy_client_1.getArrayIfSingleItem(output["ProvisionedIops"]["Range"]), context);
|
|
10734
10734
|
}
|
|
10735
10735
|
if (output.IopsToStorageRatio === "") {
|
|
10736
10736
|
contents.IopsToStorageRatio = [];
|
|
10737
10737
|
}
|
|
10738
10738
|
if (output["IopsToStorageRatio"] !== undefined && output["IopsToStorageRatio"]["DoubleRange"] !== undefined) {
|
|
10739
|
-
contents.IopsToStorageRatio = deserializeAws_queryDoubleRangeList(
|
|
10739
|
+
contents.IopsToStorageRatio = deserializeAws_queryDoubleRangeList(smithy_client_1.getArrayIfSingleItem(output["IopsToStorageRatio"]["DoubleRange"]), context);
|
|
10740
10740
|
}
|
|
10741
10741
|
return contents;
|
|
10742
10742
|
};
|
|
@@ -10766,10 +10766,10 @@ const deserializeAws_queryVpcSecurityGroupMembership = (output, context) => {
|
|
|
10766
10766
|
Status: undefined,
|
|
10767
10767
|
};
|
|
10768
10768
|
if (output["VpcSecurityGroupId"] !== undefined) {
|
|
10769
|
-
contents.VpcSecurityGroupId =
|
|
10769
|
+
contents.VpcSecurityGroupId = smithy_client_1.expectString(output["VpcSecurityGroupId"]);
|
|
10770
10770
|
}
|
|
10771
10771
|
if (output["Status"] !== undefined) {
|
|
10772
|
-
contents.Status =
|
|
10772
|
+
contents.Status = smithy_client_1.expectString(output["Status"]);
|
|
10773
10773
|
}
|
|
10774
10774
|
return contents;
|
|
10775
10775
|
};
|
|
@@ -10821,12 +10821,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
10821
10821
|
};
|
|
10822
10822
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
10823
10823
|
if (encoded.length) {
|
|
10824
|
-
const parsedObj =
|
|
10824
|
+
const parsedObj = fast_xml_parser_1.parse(encoded, {
|
|
10825
10825
|
attributeNamePrefix: "",
|
|
10826
10826
|
ignoreAttributes: false,
|
|
10827
10827
|
parseNodeValue: false,
|
|
10828
10828
|
trimValues: false,
|
|
10829
|
-
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" :
|
|
10829
|
+
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)),
|
|
10830
10830
|
});
|
|
10831
10831
|
const textNodeName = "#text";
|
|
10832
10832
|
const key = Object.keys(parsedObj)[0];
|
|
@@ -10835,12 +10835,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
10835
10835
|
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
10836
10836
|
delete parsedObjToReturn[textNodeName];
|
|
10837
10837
|
}
|
|
10838
|
-
return
|
|
10838
|
+
return smithy_client_1.getValueFromTextNode(parsedObjToReturn);
|
|
10839
10839
|
}
|
|
10840
10840
|
return {};
|
|
10841
10841
|
});
|
|
10842
10842
|
const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
10843
|
-
.map(([key, value]) =>
|
|
10843
|
+
.map(([key, value]) => smithy_client_1.extendedEncodeURIComponent(key) + "=" + smithy_client_1.extendedEncodeURIComponent(value))
|
|
10844
10844
|
.join("&");
|
|
10845
10845
|
const loadQueryErrorCode = (output, data) => {
|
|
10846
10846
|
if (data.Error.Code !== undefined) {
|