@aws-sdk/client-rds 3.381.0 → 3.385.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.
Files changed (48) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/RDS.js +4 -0
  3. package/dist-cjs/commands/DeleteDBClusterAutomatedBackupCommand.js +46 -0
  4. package/dist-cjs/commands/DescribeDBClusterAutomatedBackupsCommand.js +46 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/endpoint/ruleset.js +1 -1
  7. package/dist-cjs/models/models_0.js +40 -1
  8. package/dist-cjs/protocols/Aws_query.js +301 -6
  9. package/dist-es/RDS.js +4 -0
  10. package/dist-es/commands/DeleteDBClusterAutomatedBackupCommand.js +42 -0
  11. package/dist-es/commands/DescribeDBClusterAutomatedBackupsCommand.js +42 -0
  12. package/dist-es/commands/index.js +2 -0
  13. package/dist-es/endpoint/ruleset.js +1 -1
  14. package/dist-es/models/models_0.js +36 -0
  15. package/dist-es/protocols/Aws_query.js +292 -1
  16. package/dist-types/RDS.d.ts +14 -0
  17. package/dist-types/RDSClient.d.ts +4 -2
  18. package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +1 -0
  19. package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +1 -0
  20. package/dist-types/commands/DeleteDBClusterAutomatedBackupCommand.d.ts +110 -0
  21. package/dist-types/commands/DeleteDBClusterCommand.d.ts +5 -0
  22. package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +1 -0
  23. package/dist-types/commands/DeleteDBInstanceCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeDBClusterAutomatedBackupsCommand.d.ts +122 -0
  25. package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +2 -0
  26. package/dist-types/commands/DescribeDBInstanceAutomatedBackupsCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeDBInstancesCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeDBLogFilesCommand.d.ts +1 -1
  29. package/dist-types/commands/DescribeDBParameterGroupsCommand.d.ts +1 -2
  30. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +5 -1
  31. package/dist-types/commands/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +1 -1
  32. package/dist-types/commands/index.d.ts +2 -0
  33. package/dist-types/models/models_0.d.ts +1319 -285
  34. package/dist-types/models/models_1.d.ts +1156 -2
  35. package/dist-types/protocols/Aws_query.d.ts +18 -0
  36. package/dist-types/ts3.4/RDS.d.ts +40 -0
  37. package/dist-types/ts3.4/RDSClient.d.ts +12 -0
  38. package/dist-types/ts3.4/commands/DeleteDBClusterAutomatedBackupCommand.d.ts +42 -0
  39. package/dist-types/ts3.4/commands/DescribeDBClusterAutomatedBackupsCommand.d.ts +42 -0
  40. package/dist-types/ts3.4/commands/DescribeDBInstanceAutomatedBackupsCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/DescribeDBInstancesCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/DescribeDBLogFilesCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/DescribeDBParameterGroupsCommand.d.ts +4 -2
  44. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +79 -48
  46. package/dist-types/ts3.4/models/models_1.d.ts +47 -1
  47. package/dist-types/ts3.4/protocols/Aws_query.d.ts +24 -0
  48. package/package.json +5 -5
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_DescribeBlueGreenDeploymentsCommand = exports.se_DescribeAccountAttributesCommand = exports.se_DeregisterDBProxyTargetsCommand = exports.se_DeleteOptionGroupCommand = exports.se_DeleteGlobalClusterCommand = exports.se_DeleteEventSubscriptionCommand = exports.se_DeleteDBSubnetGroupCommand = exports.se_DeleteDBSnapshotCommand = exports.se_DeleteDBSecurityGroupCommand = exports.se_DeleteDBProxyEndpointCommand = exports.se_DeleteDBProxyCommand = exports.se_DeleteDBParameterGroupCommand = exports.se_DeleteDBInstanceAutomatedBackupCommand = exports.se_DeleteDBInstanceCommand = exports.se_DeleteDBClusterSnapshotCommand = exports.se_DeleteDBClusterParameterGroupCommand = exports.se_DeleteDBClusterEndpointCommand = exports.se_DeleteDBClusterCommand = exports.se_DeleteCustomDBEngineVersionCommand = exports.se_DeleteBlueGreenDeploymentCommand = exports.se_CreateOptionGroupCommand = exports.se_CreateGlobalClusterCommand = exports.se_CreateEventSubscriptionCommand = exports.se_CreateDBSubnetGroupCommand = exports.se_CreateDBSnapshotCommand = exports.se_CreateDBSecurityGroupCommand = exports.se_CreateDBProxyEndpointCommand = exports.se_CreateDBProxyCommand = exports.se_CreateDBParameterGroupCommand = exports.se_CreateDBInstanceReadReplicaCommand = exports.se_CreateDBInstanceCommand = exports.se_CreateDBClusterSnapshotCommand = exports.se_CreateDBClusterParameterGroupCommand = exports.se_CreateDBClusterEndpointCommand = exports.se_CreateDBClusterCommand = exports.se_CreateCustomDBEngineVersionCommand = exports.se_CreateBlueGreenDeploymentCommand = exports.se_CopyOptionGroupCommand = exports.se_CopyDBSnapshotCommand = exports.se_CopyDBParameterGroupCommand = exports.se_CopyDBClusterSnapshotCommand = exports.se_CopyDBClusterParameterGroupCommand = exports.se_CancelExportTaskCommand = exports.se_BacktrackDBClusterCommand = exports.se_AuthorizeDBSecurityGroupIngressCommand = exports.se_ApplyPendingMaintenanceActionCommand = exports.se_AddTagsToResourceCommand = exports.se_AddSourceIdentifierToSubscriptionCommand = exports.se_AddRoleToDBInstanceCommand = exports.se_AddRoleToDBClusterCommand = void 0;
4
- exports.se_ModifyDBInstanceCommand = exports.se_ModifyDBClusterSnapshotAttributeCommand = exports.se_ModifyDBClusterParameterGroupCommand = exports.se_ModifyDBClusterEndpointCommand = exports.se_ModifyDBClusterCommand = exports.se_ModifyCustomDBEngineVersionCommand = exports.se_ModifyCurrentDBClusterCapacityCommand = exports.se_ModifyCertificatesCommand = exports.se_ModifyActivityStreamCommand = exports.se_ListTagsForResourceCommand = exports.se_FailoverGlobalClusterCommand = exports.se_FailoverDBClusterCommand = exports.se_DownloadDBLogFilePortionCommand = exports.se_DescribeValidDBInstanceModificationsCommand = exports.se_DescribeSourceRegionsCommand = exports.se_DescribeReservedDBInstancesOfferingsCommand = exports.se_DescribeReservedDBInstancesCommand = exports.se_DescribePendingMaintenanceActionsCommand = exports.se_DescribeOrderableDBInstanceOptionsCommand = exports.se_DescribeOptionGroupsCommand = exports.se_DescribeOptionGroupOptionsCommand = exports.se_DescribeGlobalClustersCommand = exports.se_DescribeExportTasksCommand = exports.se_DescribeEventSubscriptionsCommand = exports.se_DescribeEventsCommand = exports.se_DescribeEventCategoriesCommand = exports.se_DescribeEngineDefaultParametersCommand = exports.se_DescribeEngineDefaultClusterParametersCommand = exports.se_DescribeDBSubnetGroupsCommand = exports.se_DescribeDBSnapshotsCommand = exports.se_DescribeDBSnapshotAttributesCommand = exports.se_DescribeDBSecurityGroupsCommand = exports.se_DescribeDBProxyTargetsCommand = exports.se_DescribeDBProxyTargetGroupsCommand = exports.se_DescribeDBProxyEndpointsCommand = exports.se_DescribeDBProxiesCommand = exports.se_DescribeDBParametersCommand = exports.se_DescribeDBParameterGroupsCommand = exports.se_DescribeDBLogFilesCommand = exports.se_DescribeDBInstancesCommand = exports.se_DescribeDBInstanceAutomatedBackupsCommand = exports.se_DescribeDBEngineVersionsCommand = exports.se_DescribeDBClusterSnapshotsCommand = exports.se_DescribeDBClusterSnapshotAttributesCommand = exports.se_DescribeDBClustersCommand = exports.se_DescribeDBClusterParametersCommand = exports.se_DescribeDBClusterParameterGroupsCommand = exports.se_DescribeDBClusterEndpointsCommand = exports.se_DescribeDBClusterBacktracksCommand = exports.se_DescribeCertificatesCommand = void 0;
5
- exports.de_CopyDBClusterParameterGroupCommand = exports.de_CancelExportTaskCommand = exports.de_BacktrackDBClusterCommand = exports.de_AuthorizeDBSecurityGroupIngressCommand = exports.de_ApplyPendingMaintenanceActionCommand = exports.de_AddTagsToResourceCommand = exports.de_AddSourceIdentifierToSubscriptionCommand = exports.de_AddRoleToDBInstanceCommand = exports.de_AddRoleToDBClusterCommand = exports.se_SwitchoverReadReplicaCommand = exports.se_SwitchoverBlueGreenDeploymentCommand = exports.se_StopDBInstanceAutomatedBackupsReplicationCommand = exports.se_StopDBInstanceCommand = exports.se_StopDBClusterCommand = exports.se_StopActivityStreamCommand = exports.se_StartExportTaskCommand = exports.se_StartDBInstanceAutomatedBackupsReplicationCommand = exports.se_StartDBInstanceCommand = exports.se_StartDBClusterCommand = exports.se_StartActivityStreamCommand = exports.se_RevokeDBSecurityGroupIngressCommand = exports.se_RestoreDBInstanceToPointInTimeCommand = exports.se_RestoreDBInstanceFromS3Command = exports.se_RestoreDBInstanceFromDBSnapshotCommand = exports.se_RestoreDBClusterToPointInTimeCommand = exports.se_RestoreDBClusterFromSnapshotCommand = exports.se_RestoreDBClusterFromS3Command = exports.se_ResetDBParameterGroupCommand = exports.se_ResetDBClusterParameterGroupCommand = exports.se_RemoveTagsFromResourceCommand = exports.se_RemoveSourceIdentifierFromSubscriptionCommand = exports.se_RemoveRoleFromDBInstanceCommand = exports.se_RemoveRoleFromDBClusterCommand = exports.se_RemoveFromGlobalClusterCommand = exports.se_RegisterDBProxyTargetsCommand = exports.se_RebootDBInstanceCommand = exports.se_RebootDBClusterCommand = exports.se_PurchaseReservedDBInstancesOfferingCommand = exports.se_PromoteReadReplicaDBClusterCommand = exports.se_PromoteReadReplicaCommand = exports.se_ModifyOptionGroupCommand = exports.se_ModifyGlobalClusterCommand = exports.se_ModifyEventSubscriptionCommand = exports.se_ModifyDBSubnetGroupCommand = exports.se_ModifyDBSnapshotAttributeCommand = exports.se_ModifyDBSnapshotCommand = exports.se_ModifyDBProxyTargetGroupCommand = exports.se_ModifyDBProxyEndpointCommand = exports.se_ModifyDBProxyCommand = exports.se_ModifyDBParameterGroupCommand = void 0;
6
- exports.de_DescribeDBEngineVersionsCommand = exports.de_DescribeDBClusterSnapshotsCommand = exports.de_DescribeDBClusterSnapshotAttributesCommand = exports.de_DescribeDBClustersCommand = exports.de_DescribeDBClusterParametersCommand = exports.de_DescribeDBClusterParameterGroupsCommand = exports.de_DescribeDBClusterEndpointsCommand = exports.de_DescribeDBClusterBacktracksCommand = exports.de_DescribeCertificatesCommand = exports.de_DescribeBlueGreenDeploymentsCommand = exports.de_DescribeAccountAttributesCommand = exports.de_DeregisterDBProxyTargetsCommand = exports.de_DeleteOptionGroupCommand = exports.de_DeleteGlobalClusterCommand = exports.de_DeleteEventSubscriptionCommand = exports.de_DeleteDBSubnetGroupCommand = exports.de_DeleteDBSnapshotCommand = exports.de_DeleteDBSecurityGroupCommand = exports.de_DeleteDBProxyEndpointCommand = exports.de_DeleteDBProxyCommand = exports.de_DeleteDBParameterGroupCommand = exports.de_DeleteDBInstanceAutomatedBackupCommand = exports.de_DeleteDBInstanceCommand = exports.de_DeleteDBClusterSnapshotCommand = exports.de_DeleteDBClusterParameterGroupCommand = exports.de_DeleteDBClusterEndpointCommand = exports.de_DeleteDBClusterCommand = exports.de_DeleteCustomDBEngineVersionCommand = exports.de_DeleteBlueGreenDeploymentCommand = exports.de_CreateOptionGroupCommand = exports.de_CreateGlobalClusterCommand = exports.de_CreateEventSubscriptionCommand = exports.de_CreateDBSubnetGroupCommand = exports.de_CreateDBSnapshotCommand = exports.de_CreateDBSecurityGroupCommand = exports.de_CreateDBProxyEndpointCommand = exports.de_CreateDBProxyCommand = exports.de_CreateDBParameterGroupCommand = exports.de_CreateDBInstanceReadReplicaCommand = exports.de_CreateDBInstanceCommand = exports.de_CreateDBClusterSnapshotCommand = exports.de_CreateDBClusterParameterGroupCommand = exports.de_CreateDBClusterEndpointCommand = exports.de_CreateDBClusterCommand = exports.de_CreateCustomDBEngineVersionCommand = exports.de_CreateBlueGreenDeploymentCommand = exports.de_CopyOptionGroupCommand = exports.de_CopyDBSnapshotCommand = exports.de_CopyDBParameterGroupCommand = exports.de_CopyDBClusterSnapshotCommand = void 0;
7
- exports.de_ModifyGlobalClusterCommand = exports.de_ModifyEventSubscriptionCommand = exports.de_ModifyDBSubnetGroupCommand = exports.de_ModifyDBSnapshotAttributeCommand = exports.de_ModifyDBSnapshotCommand = exports.de_ModifyDBProxyTargetGroupCommand = exports.de_ModifyDBProxyEndpointCommand = exports.de_ModifyDBProxyCommand = exports.de_ModifyDBParameterGroupCommand = exports.de_ModifyDBInstanceCommand = exports.de_ModifyDBClusterSnapshotAttributeCommand = exports.de_ModifyDBClusterParameterGroupCommand = exports.de_ModifyDBClusterEndpointCommand = exports.de_ModifyDBClusterCommand = exports.de_ModifyCustomDBEngineVersionCommand = exports.de_ModifyCurrentDBClusterCapacityCommand = exports.de_ModifyCertificatesCommand = exports.de_ModifyActivityStreamCommand = exports.de_ListTagsForResourceCommand = exports.de_FailoverGlobalClusterCommand = exports.de_FailoverDBClusterCommand = exports.de_DownloadDBLogFilePortionCommand = exports.de_DescribeValidDBInstanceModificationsCommand = exports.de_DescribeSourceRegionsCommand = exports.de_DescribeReservedDBInstancesOfferingsCommand = exports.de_DescribeReservedDBInstancesCommand = exports.de_DescribePendingMaintenanceActionsCommand = exports.de_DescribeOrderableDBInstanceOptionsCommand = exports.de_DescribeOptionGroupsCommand = exports.de_DescribeOptionGroupOptionsCommand = exports.de_DescribeGlobalClustersCommand = exports.de_DescribeExportTasksCommand = exports.de_DescribeEventSubscriptionsCommand = exports.de_DescribeEventsCommand = exports.de_DescribeEventCategoriesCommand = exports.de_DescribeEngineDefaultParametersCommand = exports.de_DescribeEngineDefaultClusterParametersCommand = exports.de_DescribeDBSubnetGroupsCommand = exports.de_DescribeDBSnapshotsCommand = exports.de_DescribeDBSnapshotAttributesCommand = exports.de_DescribeDBSecurityGroupsCommand = exports.de_DescribeDBProxyTargetsCommand = exports.de_DescribeDBProxyTargetGroupsCommand = exports.de_DescribeDBProxyEndpointsCommand = exports.de_DescribeDBProxiesCommand = exports.de_DescribeDBParametersCommand = exports.de_DescribeDBParameterGroupsCommand = exports.de_DescribeDBLogFilesCommand = exports.de_DescribeDBInstancesCommand = exports.de_DescribeDBInstanceAutomatedBackupsCommand = void 0;
8
- exports.de_SwitchoverReadReplicaCommand = exports.de_SwitchoverBlueGreenDeploymentCommand = exports.de_StopDBInstanceAutomatedBackupsReplicationCommand = exports.de_StopDBInstanceCommand = exports.de_StopDBClusterCommand = exports.de_StopActivityStreamCommand = exports.de_StartExportTaskCommand = exports.de_StartDBInstanceAutomatedBackupsReplicationCommand = exports.de_StartDBInstanceCommand = exports.de_StartDBClusterCommand = exports.de_StartActivityStreamCommand = exports.de_RevokeDBSecurityGroupIngressCommand = exports.de_RestoreDBInstanceToPointInTimeCommand = exports.de_RestoreDBInstanceFromS3Command = exports.de_RestoreDBInstanceFromDBSnapshotCommand = exports.de_RestoreDBClusterToPointInTimeCommand = exports.de_RestoreDBClusterFromSnapshotCommand = exports.de_RestoreDBClusterFromS3Command = exports.de_ResetDBParameterGroupCommand = exports.de_ResetDBClusterParameterGroupCommand = exports.de_RemoveTagsFromResourceCommand = exports.de_RemoveSourceIdentifierFromSubscriptionCommand = exports.de_RemoveRoleFromDBInstanceCommand = exports.de_RemoveRoleFromDBClusterCommand = exports.de_RemoveFromGlobalClusterCommand = exports.de_RegisterDBProxyTargetsCommand = exports.de_RebootDBInstanceCommand = exports.de_RebootDBClusterCommand = exports.de_PurchaseReservedDBInstancesOfferingCommand = exports.de_PromoteReadReplicaDBClusterCommand = exports.de_PromoteReadReplicaCommand = exports.de_ModifyOptionGroupCommand = void 0;
3
+ exports.se_DescribeAccountAttributesCommand = exports.se_DeregisterDBProxyTargetsCommand = exports.se_DeleteOptionGroupCommand = exports.se_DeleteGlobalClusterCommand = exports.se_DeleteEventSubscriptionCommand = exports.se_DeleteDBSubnetGroupCommand = exports.se_DeleteDBSnapshotCommand = exports.se_DeleteDBSecurityGroupCommand = exports.se_DeleteDBProxyEndpointCommand = exports.se_DeleteDBProxyCommand = exports.se_DeleteDBParameterGroupCommand = exports.se_DeleteDBInstanceAutomatedBackupCommand = exports.se_DeleteDBInstanceCommand = exports.se_DeleteDBClusterSnapshotCommand = exports.se_DeleteDBClusterParameterGroupCommand = exports.se_DeleteDBClusterEndpointCommand = exports.se_DeleteDBClusterAutomatedBackupCommand = exports.se_DeleteDBClusterCommand = exports.se_DeleteCustomDBEngineVersionCommand = exports.se_DeleteBlueGreenDeploymentCommand = exports.se_CreateOptionGroupCommand = exports.se_CreateGlobalClusterCommand = exports.se_CreateEventSubscriptionCommand = exports.se_CreateDBSubnetGroupCommand = exports.se_CreateDBSnapshotCommand = exports.se_CreateDBSecurityGroupCommand = exports.se_CreateDBProxyEndpointCommand = exports.se_CreateDBProxyCommand = exports.se_CreateDBParameterGroupCommand = exports.se_CreateDBInstanceReadReplicaCommand = exports.se_CreateDBInstanceCommand = exports.se_CreateDBClusterSnapshotCommand = exports.se_CreateDBClusterParameterGroupCommand = exports.se_CreateDBClusterEndpointCommand = exports.se_CreateDBClusterCommand = exports.se_CreateCustomDBEngineVersionCommand = exports.se_CreateBlueGreenDeploymentCommand = exports.se_CopyOptionGroupCommand = exports.se_CopyDBSnapshotCommand = exports.se_CopyDBParameterGroupCommand = exports.se_CopyDBClusterSnapshotCommand = exports.se_CopyDBClusterParameterGroupCommand = exports.se_CancelExportTaskCommand = exports.se_BacktrackDBClusterCommand = exports.se_AuthorizeDBSecurityGroupIngressCommand = exports.se_ApplyPendingMaintenanceActionCommand = exports.se_AddTagsToResourceCommand = exports.se_AddSourceIdentifierToSubscriptionCommand = exports.se_AddRoleToDBInstanceCommand = exports.se_AddRoleToDBClusterCommand = void 0;
4
+ exports.se_ModifyDBClusterParameterGroupCommand = exports.se_ModifyDBClusterEndpointCommand = exports.se_ModifyDBClusterCommand = exports.se_ModifyCustomDBEngineVersionCommand = exports.se_ModifyCurrentDBClusterCapacityCommand = exports.se_ModifyCertificatesCommand = exports.se_ModifyActivityStreamCommand = exports.se_ListTagsForResourceCommand = exports.se_FailoverGlobalClusterCommand = exports.se_FailoverDBClusterCommand = exports.se_DownloadDBLogFilePortionCommand = exports.se_DescribeValidDBInstanceModificationsCommand = exports.se_DescribeSourceRegionsCommand = exports.se_DescribeReservedDBInstancesOfferingsCommand = exports.se_DescribeReservedDBInstancesCommand = exports.se_DescribePendingMaintenanceActionsCommand = exports.se_DescribeOrderableDBInstanceOptionsCommand = exports.se_DescribeOptionGroupsCommand = exports.se_DescribeOptionGroupOptionsCommand = exports.se_DescribeGlobalClustersCommand = exports.se_DescribeExportTasksCommand = exports.se_DescribeEventSubscriptionsCommand = exports.se_DescribeEventsCommand = exports.se_DescribeEventCategoriesCommand = exports.se_DescribeEngineDefaultParametersCommand = exports.se_DescribeEngineDefaultClusterParametersCommand = exports.se_DescribeDBSubnetGroupsCommand = exports.se_DescribeDBSnapshotsCommand = exports.se_DescribeDBSnapshotAttributesCommand = exports.se_DescribeDBSecurityGroupsCommand = exports.se_DescribeDBProxyTargetsCommand = exports.se_DescribeDBProxyTargetGroupsCommand = exports.se_DescribeDBProxyEndpointsCommand = exports.se_DescribeDBProxiesCommand = exports.se_DescribeDBParametersCommand = exports.se_DescribeDBParameterGroupsCommand = exports.se_DescribeDBLogFilesCommand = exports.se_DescribeDBInstancesCommand = exports.se_DescribeDBInstanceAutomatedBackupsCommand = exports.se_DescribeDBEngineVersionsCommand = exports.se_DescribeDBClusterSnapshotsCommand = exports.se_DescribeDBClusterSnapshotAttributesCommand = exports.se_DescribeDBClustersCommand = exports.se_DescribeDBClusterParametersCommand = exports.se_DescribeDBClusterParameterGroupsCommand = exports.se_DescribeDBClusterEndpointsCommand = exports.se_DescribeDBClusterBacktracksCommand = exports.se_DescribeDBClusterAutomatedBackupsCommand = exports.se_DescribeCertificatesCommand = exports.se_DescribeBlueGreenDeploymentsCommand = void 0;
5
+ exports.de_BacktrackDBClusterCommand = exports.de_AuthorizeDBSecurityGroupIngressCommand = exports.de_ApplyPendingMaintenanceActionCommand = exports.de_AddTagsToResourceCommand = exports.de_AddSourceIdentifierToSubscriptionCommand = exports.de_AddRoleToDBInstanceCommand = exports.de_AddRoleToDBClusterCommand = exports.se_SwitchoverReadReplicaCommand = exports.se_SwitchoverBlueGreenDeploymentCommand = exports.se_StopDBInstanceAutomatedBackupsReplicationCommand = exports.se_StopDBInstanceCommand = exports.se_StopDBClusterCommand = exports.se_StopActivityStreamCommand = exports.se_StartExportTaskCommand = exports.se_StartDBInstanceAutomatedBackupsReplicationCommand = exports.se_StartDBInstanceCommand = exports.se_StartDBClusterCommand = exports.se_StartActivityStreamCommand = exports.se_RevokeDBSecurityGroupIngressCommand = exports.se_RestoreDBInstanceToPointInTimeCommand = exports.se_RestoreDBInstanceFromS3Command = exports.se_RestoreDBInstanceFromDBSnapshotCommand = exports.se_RestoreDBClusterToPointInTimeCommand = exports.se_RestoreDBClusterFromSnapshotCommand = exports.se_RestoreDBClusterFromS3Command = exports.se_ResetDBParameterGroupCommand = exports.se_ResetDBClusterParameterGroupCommand = exports.se_RemoveTagsFromResourceCommand = exports.se_RemoveSourceIdentifierFromSubscriptionCommand = exports.se_RemoveRoleFromDBInstanceCommand = exports.se_RemoveRoleFromDBClusterCommand = exports.se_RemoveFromGlobalClusterCommand = exports.se_RegisterDBProxyTargetsCommand = exports.se_RebootDBInstanceCommand = exports.se_RebootDBClusterCommand = exports.se_PurchaseReservedDBInstancesOfferingCommand = exports.se_PromoteReadReplicaDBClusterCommand = exports.se_PromoteReadReplicaCommand = exports.se_ModifyOptionGroupCommand = exports.se_ModifyGlobalClusterCommand = exports.se_ModifyEventSubscriptionCommand = exports.se_ModifyDBSubnetGroupCommand = exports.se_ModifyDBSnapshotAttributeCommand = exports.se_ModifyDBSnapshotCommand = exports.se_ModifyDBProxyTargetGroupCommand = exports.se_ModifyDBProxyEndpointCommand = exports.se_ModifyDBProxyCommand = exports.se_ModifyDBParameterGroupCommand = exports.se_ModifyDBInstanceCommand = exports.se_ModifyDBClusterSnapshotAttributeCommand = void 0;
6
+ exports.de_DescribeDBClusterParametersCommand = exports.de_DescribeDBClusterParameterGroupsCommand = exports.de_DescribeDBClusterEndpointsCommand = exports.de_DescribeDBClusterBacktracksCommand = exports.de_DescribeDBClusterAutomatedBackupsCommand = exports.de_DescribeCertificatesCommand = exports.de_DescribeBlueGreenDeploymentsCommand = exports.de_DescribeAccountAttributesCommand = exports.de_DeregisterDBProxyTargetsCommand = exports.de_DeleteOptionGroupCommand = exports.de_DeleteGlobalClusterCommand = exports.de_DeleteEventSubscriptionCommand = exports.de_DeleteDBSubnetGroupCommand = exports.de_DeleteDBSnapshotCommand = exports.de_DeleteDBSecurityGroupCommand = exports.de_DeleteDBProxyEndpointCommand = exports.de_DeleteDBProxyCommand = exports.de_DeleteDBParameterGroupCommand = exports.de_DeleteDBInstanceAutomatedBackupCommand = exports.de_DeleteDBInstanceCommand = exports.de_DeleteDBClusterSnapshotCommand = exports.de_DeleteDBClusterParameterGroupCommand = exports.de_DeleteDBClusterEndpointCommand = exports.de_DeleteDBClusterAutomatedBackupCommand = exports.de_DeleteDBClusterCommand = exports.de_DeleteCustomDBEngineVersionCommand = exports.de_DeleteBlueGreenDeploymentCommand = exports.de_CreateOptionGroupCommand = exports.de_CreateGlobalClusterCommand = exports.de_CreateEventSubscriptionCommand = exports.de_CreateDBSubnetGroupCommand = exports.de_CreateDBSnapshotCommand = exports.de_CreateDBSecurityGroupCommand = exports.de_CreateDBProxyEndpointCommand = exports.de_CreateDBProxyCommand = exports.de_CreateDBParameterGroupCommand = exports.de_CreateDBInstanceReadReplicaCommand = exports.de_CreateDBInstanceCommand = exports.de_CreateDBClusterSnapshotCommand = exports.de_CreateDBClusterParameterGroupCommand = exports.de_CreateDBClusterEndpointCommand = exports.de_CreateDBClusterCommand = exports.de_CreateCustomDBEngineVersionCommand = exports.de_CreateBlueGreenDeploymentCommand = exports.de_CopyOptionGroupCommand = exports.de_CopyDBSnapshotCommand = exports.de_CopyDBParameterGroupCommand = exports.de_CopyDBClusterSnapshotCommand = exports.de_CopyDBClusterParameterGroupCommand = exports.de_CancelExportTaskCommand = void 0;
7
+ exports.de_ModifyDBSnapshotCommand = exports.de_ModifyDBProxyTargetGroupCommand = exports.de_ModifyDBProxyEndpointCommand = exports.de_ModifyDBProxyCommand = exports.de_ModifyDBParameterGroupCommand = exports.de_ModifyDBInstanceCommand = exports.de_ModifyDBClusterSnapshotAttributeCommand = exports.de_ModifyDBClusterParameterGroupCommand = exports.de_ModifyDBClusterEndpointCommand = exports.de_ModifyDBClusterCommand = exports.de_ModifyCustomDBEngineVersionCommand = exports.de_ModifyCurrentDBClusterCapacityCommand = exports.de_ModifyCertificatesCommand = exports.de_ModifyActivityStreamCommand = exports.de_ListTagsForResourceCommand = exports.de_FailoverGlobalClusterCommand = exports.de_FailoverDBClusterCommand = exports.de_DownloadDBLogFilePortionCommand = exports.de_DescribeValidDBInstanceModificationsCommand = exports.de_DescribeSourceRegionsCommand = exports.de_DescribeReservedDBInstancesOfferingsCommand = exports.de_DescribeReservedDBInstancesCommand = exports.de_DescribePendingMaintenanceActionsCommand = exports.de_DescribeOrderableDBInstanceOptionsCommand = exports.de_DescribeOptionGroupsCommand = exports.de_DescribeOptionGroupOptionsCommand = exports.de_DescribeGlobalClustersCommand = exports.de_DescribeExportTasksCommand = exports.de_DescribeEventSubscriptionsCommand = exports.de_DescribeEventsCommand = exports.de_DescribeEventCategoriesCommand = exports.de_DescribeEngineDefaultParametersCommand = exports.de_DescribeEngineDefaultClusterParametersCommand = exports.de_DescribeDBSubnetGroupsCommand = exports.de_DescribeDBSnapshotsCommand = exports.de_DescribeDBSnapshotAttributesCommand = exports.de_DescribeDBSecurityGroupsCommand = exports.de_DescribeDBProxyTargetsCommand = exports.de_DescribeDBProxyTargetGroupsCommand = exports.de_DescribeDBProxyEndpointsCommand = exports.de_DescribeDBProxiesCommand = exports.de_DescribeDBParametersCommand = exports.de_DescribeDBParameterGroupsCommand = exports.de_DescribeDBLogFilesCommand = exports.de_DescribeDBInstancesCommand = exports.de_DescribeDBInstanceAutomatedBackupsCommand = exports.de_DescribeDBEngineVersionsCommand = exports.de_DescribeDBClusterSnapshotsCommand = exports.de_DescribeDBClusterSnapshotAttributesCommand = exports.de_DescribeDBClustersCommand = void 0;
8
+ exports.de_SwitchoverReadReplicaCommand = exports.de_SwitchoverBlueGreenDeploymentCommand = exports.de_StopDBInstanceAutomatedBackupsReplicationCommand = exports.de_StopDBInstanceCommand = exports.de_StopDBClusterCommand = exports.de_StopActivityStreamCommand = exports.de_StartExportTaskCommand = exports.de_StartDBInstanceAutomatedBackupsReplicationCommand = exports.de_StartDBInstanceCommand = exports.de_StartDBClusterCommand = exports.de_StartActivityStreamCommand = exports.de_RevokeDBSecurityGroupIngressCommand = exports.de_RestoreDBInstanceToPointInTimeCommand = exports.de_RestoreDBInstanceFromS3Command = exports.de_RestoreDBInstanceFromDBSnapshotCommand = exports.de_RestoreDBClusterToPointInTimeCommand = exports.de_RestoreDBClusterFromSnapshotCommand = exports.de_RestoreDBClusterFromS3Command = exports.de_ResetDBParameterGroupCommand = exports.de_ResetDBClusterParameterGroupCommand = exports.de_RemoveTagsFromResourceCommand = exports.de_RemoveSourceIdentifierFromSubscriptionCommand = exports.de_RemoveRoleFromDBInstanceCommand = exports.de_RemoveRoleFromDBClusterCommand = exports.de_RemoveFromGlobalClusterCommand = exports.de_RegisterDBProxyTargetsCommand = exports.de_RebootDBInstanceCommand = exports.de_RebootDBClusterCommand = exports.de_PurchaseReservedDBInstancesOfferingCommand = exports.de_PromoteReadReplicaDBClusterCommand = exports.de_PromoteReadReplicaCommand = exports.de_ModifyOptionGroupCommand = exports.de_ModifyGlobalClusterCommand = exports.de_ModifyEventSubscriptionCommand = exports.de_ModifyDBSubnetGroupCommand = exports.de_ModifyDBSnapshotAttributeCommand = void 0;
9
9
  const protocol_http_1 = require("@smithy/protocol-http");
10
10
  const smithy_client_1 = require("@smithy/smithy-client");
11
11
  const fast_xml_parser_1 = require("fast-xml-parser");
@@ -375,6 +375,17 @@ const se_DeleteDBClusterCommand = async (input, context) => {
375
375
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
376
376
  };
377
377
  exports.se_DeleteDBClusterCommand = se_DeleteDBClusterCommand;
378
+ const se_DeleteDBClusterAutomatedBackupCommand = async (input, context) => {
379
+ const headers = SHARED_HEADERS;
380
+ let body;
381
+ body = buildFormUrlencodedString({
382
+ ...se_DeleteDBClusterAutomatedBackupMessage(input, context),
383
+ Action: "DeleteDBClusterAutomatedBackup",
384
+ Version: "2014-10-31",
385
+ });
386
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
387
+ };
388
+ exports.se_DeleteDBClusterAutomatedBackupCommand = se_DeleteDBClusterAutomatedBackupCommand;
378
389
  const se_DeleteDBClusterEndpointCommand = async (input, context) => {
379
390
  const headers = SHARED_HEADERS;
380
391
  let body;
@@ -573,6 +584,17 @@ const se_DescribeCertificatesCommand = async (input, context) => {
573
584
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
574
585
  };
575
586
  exports.se_DescribeCertificatesCommand = se_DescribeCertificatesCommand;
587
+ const se_DescribeDBClusterAutomatedBackupsCommand = async (input, context) => {
588
+ const headers = SHARED_HEADERS;
589
+ let body;
590
+ body = buildFormUrlencodedString({
591
+ ...se_DescribeDBClusterAutomatedBackupsMessage(input, context),
592
+ Action: "DescribeDBClusterAutomatedBackups",
593
+ Version: "2014-10-31",
594
+ });
595
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
596
+ };
597
+ exports.se_DescribeDBClusterAutomatedBackupsCommand = se_DescribeDBClusterAutomatedBackupsCommand;
576
598
  const se_DescribeDBClusterBacktracksCommand = async (input, context) => {
577
599
  const headers = SHARED_HEADERS;
578
600
  let body;
@@ -3066,6 +3088,9 @@ const de_DeleteDBClusterCommandError = async (output, context) => {
3066
3088
  };
3067
3089
  const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3068
3090
  switch (errorCode) {
3091
+ case "DBClusterAutomatedBackupQuotaExceededFault":
3092
+ case "com.amazonaws.rds#DBClusterAutomatedBackupQuotaExceededFault":
3093
+ throw await de_DBClusterAutomatedBackupQuotaExceededFaultRes(parsedOutput, context);
3069
3094
  case "DBClusterNotFoundFault":
3070
3095
  case "com.amazonaws.rds#DBClusterNotFoundFault":
3071
3096
  throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
@@ -3090,6 +3115,42 @@ const de_DeleteDBClusterCommandError = async (output, context) => {
3090
3115
  });
3091
3116
  }
3092
3117
  };
3118
+ const de_DeleteDBClusterAutomatedBackupCommand = async (output, context) => {
3119
+ if (output.statusCode >= 300) {
3120
+ return de_DeleteDBClusterAutomatedBackupCommandError(output, context);
3121
+ }
3122
+ const data = await parseBody(output.body, context);
3123
+ let contents = {};
3124
+ contents = de_DeleteDBClusterAutomatedBackupResult(data.DeleteDBClusterAutomatedBackupResult, context);
3125
+ const response = {
3126
+ $metadata: deserializeMetadata(output),
3127
+ ...contents,
3128
+ };
3129
+ return response;
3130
+ };
3131
+ exports.de_DeleteDBClusterAutomatedBackupCommand = de_DeleteDBClusterAutomatedBackupCommand;
3132
+ const de_DeleteDBClusterAutomatedBackupCommandError = async (output, context) => {
3133
+ const parsedOutput = {
3134
+ ...output,
3135
+ body: await parseErrorBody(output.body, context),
3136
+ };
3137
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3138
+ switch (errorCode) {
3139
+ case "DBClusterAutomatedBackupNotFoundFault":
3140
+ case "com.amazonaws.rds#DBClusterAutomatedBackupNotFoundFault":
3141
+ throw await de_DBClusterAutomatedBackupNotFoundFaultRes(parsedOutput, context);
3142
+ case "InvalidDBClusterAutomatedBackupStateFault":
3143
+ case "com.amazonaws.rds#InvalidDBClusterAutomatedBackupStateFault":
3144
+ throw await de_InvalidDBClusterAutomatedBackupStateFaultRes(parsedOutput, context);
3145
+ default:
3146
+ const parsedBody = parsedOutput.body;
3147
+ return throwDefaultError({
3148
+ output,
3149
+ parsedBody: parsedBody.Error,
3150
+ errorCode,
3151
+ });
3152
+ }
3153
+ };
3093
3154
  const de_DeleteDBClusterEndpointCommand = async (output, context) => {
3094
3155
  if (output.statusCode >= 300) {
3095
3156
  return de_DeleteDBClusterEndpointCommandError(output, context);
@@ -3732,6 +3793,39 @@ const de_DescribeCertificatesCommandError = async (output, context) => {
3732
3793
  });
3733
3794
  }
3734
3795
  };
3796
+ const de_DescribeDBClusterAutomatedBackupsCommand = async (output, context) => {
3797
+ if (output.statusCode >= 300) {
3798
+ return de_DescribeDBClusterAutomatedBackupsCommandError(output, context);
3799
+ }
3800
+ const data = await parseBody(output.body, context);
3801
+ let contents = {};
3802
+ contents = de_DBClusterAutomatedBackupMessage(data.DescribeDBClusterAutomatedBackupsResult, context);
3803
+ const response = {
3804
+ $metadata: deserializeMetadata(output),
3805
+ ...contents,
3806
+ };
3807
+ return response;
3808
+ };
3809
+ exports.de_DescribeDBClusterAutomatedBackupsCommand = de_DescribeDBClusterAutomatedBackupsCommand;
3810
+ const de_DescribeDBClusterAutomatedBackupsCommandError = async (output, context) => {
3811
+ const parsedOutput = {
3812
+ ...output,
3813
+ body: await parseErrorBody(output.body, context),
3814
+ };
3815
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3816
+ switch (errorCode) {
3817
+ case "DBClusterAutomatedBackupNotFoundFault":
3818
+ case "com.amazonaws.rds#DBClusterAutomatedBackupNotFoundFault":
3819
+ throw await de_DBClusterAutomatedBackupNotFoundFaultRes(parsedOutput, context);
3820
+ default:
3821
+ const parsedBody = parsedOutput.body;
3822
+ return throwDefaultError({
3823
+ output,
3824
+ parsedBody: parsedBody.Error,
3825
+ errorCode,
3826
+ });
3827
+ }
3828
+ };
3735
3829
  const de_DescribeDBClusterBacktracksCommand = async (output, context) => {
3736
3830
  if (output.statusCode >= 300) {
3737
3831
  return de_DescribeDBClusterBacktracksCommandError(output, context);
@@ -6579,6 +6673,9 @@ const de_RestoreDBClusterToPointInTimeCommandError = async (output, context) =>
6579
6673
  case "DBClusterAlreadyExistsFault":
6580
6674
  case "com.amazonaws.rds#DBClusterAlreadyExistsFault":
6581
6675
  throw await de_DBClusterAlreadyExistsFaultRes(parsedOutput, context);
6676
+ case "DBClusterAutomatedBackupNotFoundFault":
6677
+ case "com.amazonaws.rds#DBClusterAutomatedBackupNotFoundFault":
6678
+ throw await de_DBClusterAutomatedBackupNotFoundFaultRes(parsedOutput, context);
6582
6679
  case "DBClusterNotFoundFault":
6583
6680
  case "com.amazonaws.rds#DBClusterNotFoundFault":
6584
6681
  throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
@@ -7566,6 +7663,24 @@ const de_DBClusterAlreadyExistsFaultRes = async (parsedOutput, context) => {
7566
7663
  });
7567
7664
  return (0, smithy_client_1.decorateServiceException)(exception, body);
7568
7665
  };
7666
+ const de_DBClusterAutomatedBackupNotFoundFaultRes = async (parsedOutput, context) => {
7667
+ const body = parsedOutput.body;
7668
+ const deserialized = de_DBClusterAutomatedBackupNotFoundFault(body.Error, context);
7669
+ const exception = new models_0_1.DBClusterAutomatedBackupNotFoundFault({
7670
+ $metadata: deserializeMetadata(parsedOutput),
7671
+ ...deserialized,
7672
+ });
7673
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
7674
+ };
7675
+ const de_DBClusterAutomatedBackupQuotaExceededFaultRes = async (parsedOutput, context) => {
7676
+ const body = parsedOutput.body;
7677
+ const deserialized = de_DBClusterAutomatedBackupQuotaExceededFault(body.Error, context);
7678
+ const exception = new models_0_1.DBClusterAutomatedBackupQuotaExceededFault({
7679
+ $metadata: deserializeMetadata(parsedOutput),
7680
+ ...deserialized,
7681
+ });
7682
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
7683
+ };
7569
7684
  const de_DBClusterBacktrackNotFoundFaultRes = async (parsedOutput, context) => {
7570
7685
  const body = parsedOutput.body;
7571
7686
  const deserialized = de_DBClusterBacktrackNotFoundFault(body.Error, context);
@@ -8124,6 +8239,15 @@ const de_InvalidCustomDBEngineVersionStateFaultRes = async (parsedOutput, contex
8124
8239
  });
8125
8240
  return (0, smithy_client_1.decorateServiceException)(exception, body);
8126
8241
  };
8242
+ const de_InvalidDBClusterAutomatedBackupStateFaultRes = async (parsedOutput, context) => {
8243
+ const body = parsedOutput.body;
8244
+ const deserialized = de_InvalidDBClusterAutomatedBackupStateFault(body.Error, context);
8245
+ const exception = new models_0_1.InvalidDBClusterAutomatedBackupStateFault({
8246
+ $metadata: deserializeMetadata(parsedOutput),
8247
+ ...deserialized,
8248
+ });
8249
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8250
+ };
8127
8251
  const de_InvalidDBClusterCapacityFaultRes = async (parsedOutput, context) => {
8128
8252
  const body = parsedOutput.body;
8129
8253
  const deserialized = de_InvalidDBClusterCapacityFault(body.Error, context);
@@ -9962,6 +10086,13 @@ const se_DeleteCustomDBEngineVersionMessage = (input, context) => {
9962
10086
  }
9963
10087
  return entries;
9964
10088
  };
10089
+ const se_DeleteDBClusterAutomatedBackupMessage = (input, context) => {
10090
+ const entries = {};
10091
+ if (input.DbClusterResourceId != null) {
10092
+ entries["DbClusterResourceId"] = input.DbClusterResourceId;
10093
+ }
10094
+ return entries;
10095
+ };
9965
10096
  const se_DeleteDBClusterEndpointMessage = (input, context) => {
9966
10097
  const entries = {};
9967
10098
  if (input.DBClusterEndpointIdentifier != null) {
@@ -9980,6 +10111,9 @@ const se_DeleteDBClusterMessage = (input, context) => {
9980
10111
  if (input.FinalDBSnapshotIdentifier != null) {
9981
10112
  entries["FinalDBSnapshotIdentifier"] = input.FinalDBSnapshotIdentifier;
9982
10113
  }
10114
+ if (input.DeleteAutomatedBackups != null) {
10115
+ entries["DeleteAutomatedBackups"] = input.DeleteAutomatedBackups;
10116
+ }
9983
10117
  return entries;
9984
10118
  };
9985
10119
  const se_DeleteDBClusterParameterGroupMessage = (input, context) => {
@@ -10165,6 +10299,32 @@ const se_DescribeCertificatesMessage = (input, context) => {
10165
10299
  }
10166
10300
  return entries;
10167
10301
  };
10302
+ const se_DescribeDBClusterAutomatedBackupsMessage = (input, context) => {
10303
+ const entries = {};
10304
+ if (input.DbClusterResourceId != null) {
10305
+ entries["DbClusterResourceId"] = input.DbClusterResourceId;
10306
+ }
10307
+ if (input.DBClusterIdentifier != null) {
10308
+ entries["DBClusterIdentifier"] = input.DBClusterIdentifier;
10309
+ }
10310
+ if (input.Filters != null) {
10311
+ const memberEntries = se_FilterList(input.Filters, context);
10312
+ if (input.Filters?.length === 0) {
10313
+ entries.Filters = [];
10314
+ }
10315
+ Object.entries(memberEntries).forEach(([key, value]) => {
10316
+ const loc = `Filters.${key}`;
10317
+ entries[loc] = value;
10318
+ });
10319
+ }
10320
+ if (input.MaxRecords != null) {
10321
+ entries["MaxRecords"] = input.MaxRecords;
10322
+ }
10323
+ if (input.Marker != null) {
10324
+ entries["Marker"] = input.Marker;
10325
+ }
10326
+ return entries;
10327
+ };
10168
10328
  const se_DescribeDBClusterBacktracksMessage = (input, context) => {
10169
10329
  const entries = {};
10170
10330
  if (input.DBClusterIdentifier != null) {
@@ -10332,6 +10492,9 @@ const se_DescribeDBClusterSnapshotsMessage = (input, context) => {
10332
10492
  if (input.IncludePublic != null) {
10333
10493
  entries["IncludePublic"] = input.IncludePublic;
10334
10494
  }
10495
+ if (input.DbClusterResourceId != null) {
10496
+ entries["DbClusterResourceId"] = input.DbClusterResourceId;
10497
+ }
10335
10498
  return entries;
10336
10499
  };
10337
10500
  const se_DescribeDBEngineVersionsMessage = (input, context) => {
@@ -12754,6 +12917,9 @@ const se_RestoreDBClusterToPointInTimeMessage = (input, context) => {
12754
12917
  if (input.NetworkType != null) {
12755
12918
  entries["NetworkType"] = input.NetworkType;
12756
12919
  }
12920
+ if (input.SourceDbClusterResourceId != null) {
12921
+ entries["SourceDbClusterResourceId"] = input.SourceDbClusterResourceId;
12922
+ }
12757
12923
  return entries;
12758
12924
  };
12759
12925
  const se_RestoreDBInstanceFromDBSnapshotMessage = (input, context) => {
@@ -14360,6 +14526,118 @@ const de_DBClusterAlreadyExistsFault = (output, context) => {
14360
14526
  }
14361
14527
  return contents;
14362
14528
  };
14529
+ const de_DBClusterAutomatedBackup = (output, context) => {
14530
+ const contents = {};
14531
+ if (output["Engine"] !== undefined) {
14532
+ contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
14533
+ }
14534
+ if (output["VpcId"] !== undefined) {
14535
+ contents.VpcId = (0, smithy_client_1.expectString)(output["VpcId"]);
14536
+ }
14537
+ if (output["DBClusterAutomatedBackupsArn"] !== undefined) {
14538
+ contents.DBClusterAutomatedBackupsArn = (0, smithy_client_1.expectString)(output["DBClusterAutomatedBackupsArn"]);
14539
+ }
14540
+ if (output["DBClusterIdentifier"] !== undefined) {
14541
+ contents.DBClusterIdentifier = (0, smithy_client_1.expectString)(output["DBClusterIdentifier"]);
14542
+ }
14543
+ if (output["RestoreWindow"] !== undefined) {
14544
+ contents.RestoreWindow = de_RestoreWindow(output["RestoreWindow"], context);
14545
+ }
14546
+ if (output["MasterUsername"] !== undefined) {
14547
+ contents.MasterUsername = (0, smithy_client_1.expectString)(output["MasterUsername"]);
14548
+ }
14549
+ if (output["DbClusterResourceId"] !== undefined) {
14550
+ contents.DbClusterResourceId = (0, smithy_client_1.expectString)(output["DbClusterResourceId"]);
14551
+ }
14552
+ if (output["Region"] !== undefined) {
14553
+ contents.Region = (0, smithy_client_1.expectString)(output["Region"]);
14554
+ }
14555
+ if (output["LicenseModel"] !== undefined) {
14556
+ contents.LicenseModel = (0, smithy_client_1.expectString)(output["LicenseModel"]);
14557
+ }
14558
+ if (output["Status"] !== undefined) {
14559
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
14560
+ }
14561
+ if (output["IAMDatabaseAuthenticationEnabled"] !== undefined) {
14562
+ contents.IAMDatabaseAuthenticationEnabled = (0, smithy_client_1.parseBoolean)(output["IAMDatabaseAuthenticationEnabled"]);
14563
+ }
14564
+ if (output["ClusterCreateTime"] !== undefined) {
14565
+ contents.ClusterCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["ClusterCreateTime"]));
14566
+ }
14567
+ if (output["StorageEncrypted"] !== undefined) {
14568
+ contents.StorageEncrypted = (0, smithy_client_1.parseBoolean)(output["StorageEncrypted"]);
14569
+ }
14570
+ if (output["AllocatedStorage"] !== undefined) {
14571
+ contents.AllocatedStorage = (0, smithy_client_1.strictParseInt32)(output["AllocatedStorage"]);
14572
+ }
14573
+ if (output["EngineVersion"] !== undefined) {
14574
+ contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
14575
+ }
14576
+ if (output["DBClusterArn"] !== undefined) {
14577
+ contents.DBClusterArn = (0, smithy_client_1.expectString)(output["DBClusterArn"]);
14578
+ }
14579
+ if (output["BackupRetentionPeriod"] !== undefined) {
14580
+ contents.BackupRetentionPeriod = (0, smithy_client_1.strictParseInt32)(output["BackupRetentionPeriod"]);
14581
+ }
14582
+ if (output["EngineMode"] !== undefined) {
14583
+ contents.EngineMode = (0, smithy_client_1.expectString)(output["EngineMode"]);
14584
+ }
14585
+ if (output.AvailabilityZones === "") {
14586
+ contents.AvailabilityZones = [];
14587
+ }
14588
+ else if (output["AvailabilityZones"] !== undefined &&
14589
+ output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
14590
+ contents.AvailabilityZones = de_AvailabilityZones((0, smithy_client_1.getArrayIfSingleItem)(output["AvailabilityZones"]["AvailabilityZone"]), context);
14591
+ }
14592
+ if (output["Port"] !== undefined) {
14593
+ contents.Port = (0, smithy_client_1.strictParseInt32)(output["Port"]);
14594
+ }
14595
+ if (output["KmsKeyId"] !== undefined) {
14596
+ contents.KmsKeyId = (0, smithy_client_1.expectString)(output["KmsKeyId"]);
14597
+ }
14598
+ if (output["StorageType"] !== undefined) {
14599
+ contents.StorageType = (0, smithy_client_1.expectString)(output["StorageType"]);
14600
+ }
14601
+ if (output["Iops"] !== undefined) {
14602
+ contents.Iops = (0, smithy_client_1.strictParseInt32)(output["Iops"]);
14603
+ }
14604
+ return contents;
14605
+ };
14606
+ const de_DBClusterAutomatedBackupList = (output, context) => {
14607
+ return (output || [])
14608
+ .filter((e) => e != null)
14609
+ .map((entry) => {
14610
+ return de_DBClusterAutomatedBackup(entry, context);
14611
+ });
14612
+ };
14613
+ const de_DBClusterAutomatedBackupMessage = (output, context) => {
14614
+ const contents = {};
14615
+ if (output["Marker"] !== undefined) {
14616
+ contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
14617
+ }
14618
+ if (output.DBClusterAutomatedBackups === "") {
14619
+ contents.DBClusterAutomatedBackups = [];
14620
+ }
14621
+ else if (output["DBClusterAutomatedBackups"] !== undefined &&
14622
+ output["DBClusterAutomatedBackups"]["DBClusterAutomatedBackup"] !== undefined) {
14623
+ contents.DBClusterAutomatedBackups = de_DBClusterAutomatedBackupList((0, smithy_client_1.getArrayIfSingleItem)(output["DBClusterAutomatedBackups"]["DBClusterAutomatedBackup"]), context);
14624
+ }
14625
+ return contents;
14626
+ };
14627
+ const de_DBClusterAutomatedBackupNotFoundFault = (output, context) => {
14628
+ const contents = {};
14629
+ if (output["message"] !== undefined) {
14630
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
14631
+ }
14632
+ return contents;
14633
+ };
14634
+ const de_DBClusterAutomatedBackupQuotaExceededFault = (output, context) => {
14635
+ const contents = {};
14636
+ if (output["message"] !== undefined) {
14637
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
14638
+ }
14639
+ return contents;
14640
+ };
14363
14641
  const de_DBClusterBacktrack = (output, context) => {
14364
14642
  const contents = {};
14365
14643
  if (output["DBClusterIdentifier"] !== undefined) {
@@ -14771,6 +15049,9 @@ const de_DBClusterSnapshot = (output, context) => {
14771
15049
  if (output["StorageType"] !== undefined) {
14772
15050
  contents.StorageType = (0, smithy_client_1.expectString)(output["StorageType"]);
14773
15051
  }
15052
+ if (output["DbClusterResourceId"] !== undefined) {
15053
+ contents.DbClusterResourceId = (0, smithy_client_1.expectString)(output["DbClusterResourceId"]);
15054
+ }
14774
15055
  return contents;
14775
15056
  };
14776
15057
  const de_DBClusterSnapshotAlreadyExistsFault = (output, context) => {
@@ -16251,6 +16532,13 @@ const de_DeleteBlueGreenDeploymentResponse = (output, context) => {
16251
16532
  }
16252
16533
  return contents;
16253
16534
  };
16535
+ const de_DeleteDBClusterAutomatedBackupResult = (output, context) => {
16536
+ const contents = {};
16537
+ if (output["DBClusterAutomatedBackup"] !== undefined) {
16538
+ contents.DBClusterAutomatedBackup = de_DBClusterAutomatedBackup(output["DBClusterAutomatedBackup"], context);
16539
+ }
16540
+ return contents;
16541
+ };
16254
16542
  const de_DeleteDBClusterResult = (output, context) => {
16255
16543
  const contents = {};
16256
16544
  if (output["DBCluster"] !== undefined) {
@@ -17036,6 +17324,13 @@ const de_InvalidCustomDBEngineVersionStateFault = (output, context) => {
17036
17324
  }
17037
17325
  return contents;
17038
17326
  };
17327
+ const de_InvalidDBClusterAutomatedBackupStateFault = (output, context) => {
17328
+ const contents = {};
17329
+ if (output["message"] !== undefined) {
17330
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
17331
+ }
17332
+ return contents;
17333
+ };
17039
17334
  const de_InvalidDBClusterCapacityFault = (output, context) => {
17040
17335
  const contents = {};
17041
17336
  if (output["message"] !== undefined) {
package/dist-es/RDS.js CHANGED
@@ -31,6 +31,7 @@ import { CreateGlobalClusterCommand, } from "./commands/CreateGlobalClusterComma
31
31
  import { CreateOptionGroupCommand, } from "./commands/CreateOptionGroupCommand";
32
32
  import { DeleteBlueGreenDeploymentCommand, } from "./commands/DeleteBlueGreenDeploymentCommand";
33
33
  import { DeleteCustomDBEngineVersionCommand, } from "./commands/DeleteCustomDBEngineVersionCommand";
34
+ import { DeleteDBClusterAutomatedBackupCommand, } from "./commands/DeleteDBClusterAutomatedBackupCommand";
34
35
  import { DeleteDBClusterCommand, } from "./commands/DeleteDBClusterCommand";
35
36
  import { DeleteDBClusterEndpointCommand, } from "./commands/DeleteDBClusterEndpointCommand";
36
37
  import { DeleteDBClusterParameterGroupCommand, } from "./commands/DeleteDBClusterParameterGroupCommand";
@@ -50,6 +51,7 @@ import { DeregisterDBProxyTargetsCommand, } from "./commands/DeregisterDBProxyTa
50
51
  import { DescribeAccountAttributesCommand, } from "./commands/DescribeAccountAttributesCommand";
51
52
  import { DescribeBlueGreenDeploymentsCommand, } from "./commands/DescribeBlueGreenDeploymentsCommand";
52
53
  import { DescribeCertificatesCommand, } from "./commands/DescribeCertificatesCommand";
54
+ import { DescribeDBClusterAutomatedBackupsCommand, } from "./commands/DescribeDBClusterAutomatedBackupsCommand";
53
55
  import { DescribeDBClusterBacktracksCommand, } from "./commands/DescribeDBClusterBacktracksCommand";
54
56
  import { DescribeDBClusterEndpointsCommand, } from "./commands/DescribeDBClusterEndpointsCommand";
55
57
  import { DescribeDBClusterParameterGroupsCommand, } from "./commands/DescribeDBClusterParameterGroupsCommand";
@@ -175,6 +177,7 @@ const commands = {
175
177
  DeleteBlueGreenDeploymentCommand,
176
178
  DeleteCustomDBEngineVersionCommand,
177
179
  DeleteDBClusterCommand,
180
+ DeleteDBClusterAutomatedBackupCommand,
178
181
  DeleteDBClusterEndpointCommand,
179
182
  DeleteDBClusterParameterGroupCommand,
180
183
  DeleteDBClusterSnapshotCommand,
@@ -193,6 +196,7 @@ const commands = {
193
196
  DescribeAccountAttributesCommand,
194
197
  DescribeBlueGreenDeploymentsCommand,
195
198
  DescribeCertificatesCommand,
199
+ DescribeDBClusterAutomatedBackupsCommand,
196
200
  DescribeDBClusterBacktracksCommand,
197
201
  DescribeDBClusterEndpointsCommand,
198
202
  DescribeDBClusterParameterGroupsCommand,
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_DeleteDBClusterAutomatedBackupCommand, se_DeleteDBClusterAutomatedBackupCommand, } from "../protocols/Aws_query";
5
+ export { $Command };
6
+ export class DeleteDBClusterAutomatedBackupCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteDBClusterAutomatedBackupCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "RDSClient";
25
+ const commandName = "DeleteDBClusterAutomatedBackupCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DeleteDBClusterAutomatedBackupCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DeleteDBClusterAutomatedBackupCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_DescribeDBClusterAutomatedBackupsCommand, se_DescribeDBClusterAutomatedBackupsCommand, } from "../protocols/Aws_query";
5
+ export { $Command };
6
+ export class DescribeDBClusterAutomatedBackupsCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeDBClusterAutomatedBackupsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "RDSClient";
25
+ const commandName = "DescribeDBClusterAutomatedBackupsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_DescribeDBClusterAutomatedBackupsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_DescribeDBClusterAutomatedBackupsCommand(output, context);
41
+ }
42
+ }
@@ -30,6 +30,7 @@ export * from "./CreateGlobalClusterCommand";
30
30
  export * from "./CreateOptionGroupCommand";
31
31
  export * from "./DeleteBlueGreenDeploymentCommand";
32
32
  export * from "./DeleteCustomDBEngineVersionCommand";
33
+ export * from "./DeleteDBClusterAutomatedBackupCommand";
33
34
  export * from "./DeleteDBClusterCommand";
34
35
  export * from "./DeleteDBClusterEndpointCommand";
35
36
  export * from "./DeleteDBClusterParameterGroupCommand";
@@ -49,6 +50,7 @@ export * from "./DeregisterDBProxyTargetsCommand";
49
50
  export * from "./DescribeAccountAttributesCommand";
50
51
  export * from "./DescribeBlueGreenDeploymentsCommand";
51
52
  export * from "./DescribeCertificatesCommand";
53
+ export * from "./DescribeDBClusterAutomatedBackupsCommand";
52
54
  export * from "./DescribeDBClusterBacktracksCommand";
53
55
  export * from "./DescribeDBClusterEndpointsCommand";
54
56
  export * from "./DescribeDBClusterParameterGroupsCommand";
@@ -1,4 +1,4 @@
1
1
  const s = "required", t = "fn", u = "argv", v = "ref";
2
2
  const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
3
- const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://rds-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://rds.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://rds-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://rds.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://rds.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
3
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ endpoint: { url: "https://rds-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://rds.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://rds-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ endpoint: { url: "https://rds.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://rds.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;