123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438 |
- <?php
- namespace Aws\Rds;
- use Aws\AwsClient;
- use Aws\Api\Service;
- use Aws\Api\DocModel;
- use Aws\Api\ApiProvider;
- use Aws\PresignUrlMiddleware;
- /**
- * This client is used to interact with the **Amazon Relational Database Service (Amazon RDS)**.
- *
- * @method \Aws\Result addSourceIdentifierToSubscription(array $args = [])
- * @method \GuzzleHttp\Promise\Promise addSourceIdentifierToSubscriptionAsync(array $args = [])
- * @method \Aws\Result addTagsToResource(array $args = [])
- * @method \GuzzleHttp\Promise\Promise addTagsToResourceAsync(array $args = [])
- * @method \Aws\Result authorizeDBSecurityGroupIngress(array $args = [])
- * @method \GuzzleHttp\Promise\Promise authorizeDBSecurityGroupIngressAsync(array $args = [])
- * @method \Aws\Result copyDBParameterGroup(array $args = [])
- * @method \GuzzleHttp\Promise\Promise copyDBParameterGroupAsync(array $args = [])
- * @method \Aws\Result copyDBSnapshot(array $args = [])
- * @method \GuzzleHttp\Promise\Promise copyDBSnapshotAsync(array $args = [])
- * @method \Aws\Result copyOptionGroup(array $args = [])
- * @method \GuzzleHttp\Promise\Promise copyOptionGroupAsync(array $args = [])
- * @method \Aws\Result createDBInstance(array $args = [])
- * @method \GuzzleHttp\Promise\Promise createDBInstanceAsync(array $args = [])
- * @method \Aws\Result createDBInstanceReadReplica(array $args = [])
- * @method \GuzzleHttp\Promise\Promise createDBInstanceReadReplicaAsync(array $args = [])
- * @method \Aws\Result createDBParameterGroup(array $args = [])
- * @method \GuzzleHttp\Promise\Promise createDBParameterGroupAsync(array $args = [])
- * @method \Aws\Result createDBSecurityGroup(array $args = [])
- * @method \GuzzleHttp\Promise\Promise createDBSecurityGroupAsync(array $args = [])
- * @method \Aws\Result createDBSnapshot(array $args = [])
- * @method \GuzzleHttp\Promise\Promise createDBSnapshotAsync(array $args = [])
- * @method \Aws\Result createDBSubnetGroup(array $args = [])
- * @method \GuzzleHttp\Promise\Promise createDBSubnetGroupAsync(array $args = [])
- * @method \Aws\Result createEventSubscription(array $args = [])
- * @method \GuzzleHttp\Promise\Promise createEventSubscriptionAsync(array $args = [])
- * @method \Aws\Result createOptionGroup(array $args = [])
- * @method \GuzzleHttp\Promise\Promise createOptionGroupAsync(array $args = [])
- * @method \Aws\Result deleteDBInstance(array $args = [])
- * @method \GuzzleHttp\Promise\Promise deleteDBInstanceAsync(array $args = [])
- * @method \Aws\Result deleteDBParameterGroup(array $args = [])
- * @method \GuzzleHttp\Promise\Promise deleteDBParameterGroupAsync(array $args = [])
- * @method \Aws\Result deleteDBSecurityGroup(array $args = [])
- * @method \GuzzleHttp\Promise\Promise deleteDBSecurityGroupAsync(array $args = [])
- * @method \Aws\Result deleteDBSnapshot(array $args = [])
- * @method \GuzzleHttp\Promise\Promise deleteDBSnapshotAsync(array $args = [])
- * @method \Aws\Result deleteDBSubnetGroup(array $args = [])
- * @method \GuzzleHttp\Promise\Promise deleteDBSubnetGroupAsync(array $args = [])
- * @method \Aws\Result deleteEventSubscription(array $args = [])
- * @method \GuzzleHttp\Promise\Promise deleteEventSubscriptionAsync(array $args = [])
- * @method \Aws\Result deleteOptionGroup(array $args = [])
- * @method \GuzzleHttp\Promise\Promise deleteOptionGroupAsync(array $args = [])
- * @method \Aws\Result describeDBEngineVersions(array $args = [])
- * @method \GuzzleHttp\Promise\Promise describeDBEngineVersionsAsync(array $args = [])
- * @method \Aws\Result describeDBInstances(array $args = [])
- * @method \GuzzleHttp\Promise\Promise describeDBInstancesAsync(array $args = [])
- * @method \Aws\Result describeDBLogFiles(array $args = [])
- * @method \GuzzleHttp\Promise\Promise describeDBLogFilesAsync(array $args = [])
- * @method \Aws\Result describeDBParameterGroups(array $args = [])
- * @method \GuzzleHttp\Promise\Promise describeDBParameterGroupsAsync(array $args = [])
- * @method \Aws\Result describeDBParameters(array $args = [])
- * @method \GuzzleHttp\Promise\Promise describeDBParametersAsync(array $args = [])
- * @method \Aws\Result describeDBSecurityGroups(array $args = [])
- * @method \GuzzleHttp\Promise\Promise describeDBSecurityGroupsAsync(array $args = [])
- * @method \Aws\Result describeDBSnapshots(array $args = [])
- * @method \GuzzleHttp\Promise\Promise describeDBSnapshotsAsync(array $args = [])
- * @method \Aws\Result describeDBSubnetGroups(array $args = [])
- * @method \GuzzleHttp\Promise\Promise describeDBSubnetGroupsAsync(array $args = [])
- * @method \Aws\Result describeEngineDefaultParameters(array $args = [])
- * @method \GuzzleHttp\Promise\Promise describeEngineDefaultParametersAsync(array $args = [])
- * @method \Aws\Result describeEventCategories(array $args = [])
- * @method \GuzzleHttp\Promise\Promise describeEventCategoriesAsync(array $args = [])
- * @method \Aws\Result describeEventSubscriptions(array $args = [])
- * @method \GuzzleHttp\Promise\Promise describeEventSubscriptionsAsync(array $args = [])
- * @method \Aws\Result describeEvents(array $args = [])
- * @method \GuzzleHttp\Promise\Promise describeEventsAsync(array $args = [])
- * @method \Aws\Result describeOptionGroupOptions(array $args = [])
- * @method \GuzzleHttp\Promise\Promise describeOptionGroupOptionsAsync(array $args = [])
- * @method \Aws\Result describeOptionGroups(array $args = [])
- * @method \GuzzleHttp\Promise\Promise describeOptionGroupsAsync(array $args = [])
- * @method \Aws\Result describeOrderableDBInstanceOptions(array $args = [])
- * @method \GuzzleHttp\Promise\Promise describeOrderableDBInstanceOptionsAsync(array $args = [])
- * @method \Aws\Result describeReservedDBInstances(array $args = [])
- * @method \GuzzleHttp\Promise\Promise describeReservedDBInstancesAsync(array $args = [])
- * @method \Aws\Result describeReservedDBInstancesOfferings(array $args = [])
- * @method \GuzzleHttp\Promise\Promise describeReservedDBInstancesOfferingsAsync(array $args = [])
- * @method \Aws\Result downloadDBLogFilePortion(array $args = [])
- * @method \GuzzleHttp\Promise\Promise downloadDBLogFilePortionAsync(array $args = [])
- * @method \Aws\Result listTagsForResource(array $args = [])
- * @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
- * @method \Aws\Result modifyDBInstance(array $args = [])
- * @method \GuzzleHttp\Promise\Promise modifyDBInstanceAsync(array $args = [])
- * @method \Aws\Result modifyDBParameterGroup(array $args = [])
- * @method \GuzzleHttp\Promise\Promise modifyDBParameterGroupAsync(array $args = [])
- * @method \Aws\Result modifyDBSubnetGroup(array $args = [])
- * @method \GuzzleHttp\Promise\Promise modifyDBSubnetGroupAsync(array $args = [])
- * @method \Aws\Result modifyEventSubscription(array $args = [])
- * @method \GuzzleHttp\Promise\Promise modifyEventSubscriptionAsync(array $args = [])
- * @method \Aws\Result modifyOptionGroup(array $args = [])
- * @method \GuzzleHttp\Promise\Promise modifyOptionGroupAsync(array $args = [])
- * @method \Aws\Result promoteReadReplica(array $args = [])
- * @method \GuzzleHttp\Promise\Promise promoteReadReplicaAsync(array $args = [])
- * @method \Aws\Result purchaseReservedDBInstancesOffering(array $args = [])
- * @method \GuzzleHttp\Promise\Promise purchaseReservedDBInstancesOfferingAsync(array $args = [])
- * @method \Aws\Result rebootDBInstance(array $args = [])
- * @method \GuzzleHttp\Promise\Promise rebootDBInstanceAsync(array $args = [])
- * @method \Aws\Result removeSourceIdentifierFromSubscription(array $args = [])
- * @method \GuzzleHttp\Promise\Promise removeSourceIdentifierFromSubscriptionAsync(array $args = [])
- * @method \Aws\Result removeTagsFromResource(array $args = [])
- * @method \GuzzleHttp\Promise\Promise removeTagsFromResourceAsync(array $args = [])
- * @method \Aws\Result resetDBParameterGroup(array $args = [])
- * @method \GuzzleHttp\Promise\Promise resetDBParameterGroupAsync(array $args = [])
- * @method \Aws\Result restoreDBInstanceFromDBSnapshot(array $args = [])
- * @method \GuzzleHttp\Promise\Promise restoreDBInstanceFromDBSnapshotAsync(array $args = [])
- * @method \Aws\Result restoreDBInstanceToPointInTime(array $args = [])
- * @method \GuzzleHttp\Promise\Promise restoreDBInstanceToPointInTimeAsync(array $args = [])
- * @method \Aws\Result revokeDBSecurityGroupIngress(array $args = [])
- * @method \GuzzleHttp\Promise\Promise revokeDBSecurityGroupIngressAsync(array $args = [])
- * @method \Aws\Result addRoleToDBCluster(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise addRoleToDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result addRoleToDBInstance(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise addRoleToDBInstanceAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result applyPendingMaintenanceAction(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise applyPendingMaintenanceActionAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result backtrackDBCluster(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise backtrackDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result cancelExportTask(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise cancelExportTaskAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result copyDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise copyDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result copyDBClusterSnapshot(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise copyDBClusterSnapshotAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result createBlueGreenDeployment(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise createBlueGreenDeploymentAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result createCustomDBEngineVersion(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise createCustomDBEngineVersionAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result createDBCluster(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise createDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result createDBClusterEndpoint(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise createDBClusterEndpointAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result createDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise createDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result createDBClusterSnapshot(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise createDBClusterSnapshotAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result createDBProxy(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise createDBProxyAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result createDBProxyEndpoint(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise createDBProxyEndpointAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result createDBShardGroup(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise createDBShardGroupAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result createGlobalCluster(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise createGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result createIntegration(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise createIntegrationAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result createTenantDatabase(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise createTenantDatabaseAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result deleteBlueGreenDeployment(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise deleteBlueGreenDeploymentAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result deleteCustomDBEngineVersion(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise deleteCustomDBEngineVersionAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result deleteDBCluster(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise deleteDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result deleteDBClusterAutomatedBackup(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise deleteDBClusterAutomatedBackupAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result deleteDBClusterEndpoint(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise deleteDBClusterEndpointAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result deleteDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise deleteDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result deleteDBClusterSnapshot(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise deleteDBClusterSnapshotAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result deleteDBInstanceAutomatedBackup(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise deleteDBInstanceAutomatedBackupAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result deleteDBProxy(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise deleteDBProxyAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result deleteDBProxyEndpoint(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise deleteDBProxyEndpointAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result deleteDBShardGroup(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise deleteDBShardGroupAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result deleteGlobalCluster(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise deleteGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result deleteIntegration(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise deleteIntegrationAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result deleteTenantDatabase(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise deleteTenantDatabaseAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result deregisterDBProxyTargets(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise deregisterDBProxyTargetsAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeAccountAttributes(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeAccountAttributesAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeBlueGreenDeployments(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeBlueGreenDeploymentsAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeCertificates(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeCertificatesAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeDBClusterAutomatedBackups(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeDBClusterAutomatedBackupsAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeDBClusterBacktracks(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeDBClusterBacktracksAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeDBClusterEndpoints(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeDBClusterEndpointsAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeDBClusterParameterGroups(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeDBClusterParameterGroupsAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeDBClusterParameters(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeDBClusterParametersAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeDBClusterSnapshotAttributes(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeDBClusterSnapshotAttributesAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeDBClusterSnapshots(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeDBClusterSnapshotsAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeDBClusters(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeDBClustersAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeDBInstanceAutomatedBackups(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeDBInstanceAutomatedBackupsAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeDBProxies(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeDBProxiesAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeDBProxyEndpoints(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeDBProxyEndpointsAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeDBProxyTargetGroups(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeDBProxyTargetGroupsAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeDBProxyTargets(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeDBProxyTargetsAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeDBRecommendations(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeDBRecommendationsAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeDBShardGroups(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeDBShardGroupsAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeDBSnapshotAttributes(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeDBSnapshotAttributesAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeDBSnapshotTenantDatabases(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeDBSnapshotTenantDatabasesAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeEngineDefaultClusterParameters(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeEngineDefaultClusterParametersAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeExportTasks(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeExportTasksAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeGlobalClusters(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeGlobalClustersAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeIntegrations(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeIntegrationsAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describePendingMaintenanceActions(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describePendingMaintenanceActionsAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeSourceRegions(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeSourceRegionsAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeTenantDatabases(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeTenantDatabasesAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result describeValidDBInstanceModifications(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise describeValidDBInstanceModificationsAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result disableHttpEndpoint(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise disableHttpEndpointAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result enableHttpEndpoint(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise enableHttpEndpointAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result failoverDBCluster(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise failoverDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result failoverGlobalCluster(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise failoverGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result modifyActivityStream(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise modifyActivityStreamAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result modifyCertificates(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise modifyCertificatesAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result modifyCurrentDBClusterCapacity(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise modifyCurrentDBClusterCapacityAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result modifyCustomDBEngineVersion(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise modifyCustomDBEngineVersionAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result modifyDBCluster(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise modifyDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result modifyDBClusterEndpoint(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise modifyDBClusterEndpointAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result modifyDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise modifyDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result modifyDBClusterSnapshotAttribute(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise modifyDBClusterSnapshotAttributeAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result modifyDBProxy(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise modifyDBProxyAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result modifyDBProxyEndpoint(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise modifyDBProxyEndpointAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result modifyDBProxyTargetGroup(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise modifyDBProxyTargetGroupAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result modifyDBRecommendation(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise modifyDBRecommendationAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result modifyDBShardGroup(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise modifyDBShardGroupAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result modifyDBSnapshot(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise modifyDBSnapshotAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result modifyDBSnapshotAttribute(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise modifyDBSnapshotAttributeAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result modifyGlobalCluster(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise modifyGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result modifyIntegration(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise modifyIntegrationAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result modifyTenantDatabase(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise modifyTenantDatabaseAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result promoteReadReplicaDBCluster(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise promoteReadReplicaDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result rebootDBCluster(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise rebootDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result rebootDBShardGroup(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise rebootDBShardGroupAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result registerDBProxyTargets(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise registerDBProxyTargetsAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result removeFromGlobalCluster(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise removeFromGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result removeRoleFromDBCluster(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise removeRoleFromDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result removeRoleFromDBInstance(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise removeRoleFromDBInstanceAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result resetDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise resetDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result restoreDBClusterFromS3(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise restoreDBClusterFromS3Async(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result restoreDBClusterFromSnapshot(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise restoreDBClusterFromSnapshotAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result restoreDBClusterToPointInTime(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise restoreDBClusterToPointInTimeAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result restoreDBInstanceFromS3(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise restoreDBInstanceFromS3Async(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result startActivityStream(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise startActivityStreamAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result startDBCluster(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise startDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result startDBInstance(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise startDBInstanceAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result startDBInstanceAutomatedBackupsReplication(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise startDBInstanceAutomatedBackupsReplicationAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result startExportTask(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise startExportTaskAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result stopActivityStream(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise stopActivityStreamAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result stopDBCluster(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise stopDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result stopDBInstance(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise stopDBInstanceAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result stopDBInstanceAutomatedBackupsReplication(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise stopDBInstanceAutomatedBackupsReplicationAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result switchoverBlueGreenDeployment(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise switchoverBlueGreenDeploymentAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result switchoverGlobalCluster(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise switchoverGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31)
- * @method \Aws\Result switchoverReadReplica(array $args = []) (supported in versions 2014-10-31)
- * @method \GuzzleHttp\Promise\Promise switchoverReadReplicaAsync(array $args = []) (supported in versions 2014-10-31)
- */
- class RdsClient extends AwsClient
- {
- public function __construct(array $args)
- {
- $args['with_resolved'] = function (array $args) {
- $this->getHandlerList()->appendInit(
- PresignUrlMiddleware::wrap(
- $this,
- $args['endpoint_provider'],
- [
- 'operations' => [
- 'CopyDBSnapshot',
- 'CreateDBInstanceReadReplica',
- 'CopyDBClusterSnapshot',
- 'CreateDBCluster',
- 'StartDBInstanceAutomatedBackupsReplication'
- ],
- 'service' => 'rds',
- 'presign_param' => 'PreSignedUrl',
- 'require_different_region' => true,
- ]
- ),
- 'rds.presigner'
- );
- };
- parent::__construct($args);
- }
- /**
- * @internal
- * @codeCoverageIgnore
- */
- public static function applyDocFilters(array $api, array $docs)
- {
- // Add the SourceRegion parameter
- $docs['shapes']['SourceRegion']['base'] = 'A required parameter that indicates '
- . 'the region that the DB snapshot will be copied from.';
- $api['shapes']['SourceRegion'] = ['type' => 'string'];
- $api['shapes']['CopyDBSnapshotMessage']['members']['SourceRegion'] = ['shape' => 'SourceRegion'];
- $api['shapes']['CreateDBInstanceReadReplicaMessage']['members']['SourceRegion'] = ['shape' => 'SourceRegion'];
- // Add the DestinationRegion parameter
- $docs['shapes']['DestinationRegion']['base']
- = '<div class="alert alert-info">The SDK will populate this '
- . 'parameter on your behalf using the configured region value of '
- . 'the client.</div>';
- $api['shapes']['DestinationRegion'] = ['type' => 'string'];
- $api['shapes']['CopyDBSnapshotMessage']['members']['DestinationRegion'] = ['shape' => 'DestinationRegion'];
- $api['shapes']['CreateDBInstanceReadReplicaMessage']['members']['DestinationRegion'] = ['shape' => 'DestinationRegion'];
- // Several parameters in presign APIs are optional.
- $docs['shapes']['String']['refs']['CopyDBSnapshotMessage$PreSignedUrl']
- = '<div class="alert alert-info">The SDK will compute this value '
- . 'for you on your behalf.</div>';
- $docs['shapes']['String']['refs']['CopyDBSnapshotMessage$DestinationRegion']
- = '<div class="alert alert-info">The SDK will populate this '
- . 'parameter on your behalf using the configured region value of '
- . 'the client.</div>';
- // Several parameters in presign APIs are optional.
- $docs['shapes']['String']['refs']['CreateDBInstanceReadReplicaMessage$PreSignedUrl']
- = '<div class="alert alert-info">The SDK will compute this value '
- . 'for you on your behalf.</div>';
- $docs['shapes']['String']['refs']['CreateDBInstanceReadReplicaMessage$DestinationRegion']
- = '<div class="alert alert-info">The SDK will populate this '
- . 'parameter on your behalf using the configured region value of '
- . 'the client.</div>';
- if ($api['metadata']['apiVersion'] != '2014-09-01') {
- $api['shapes']['CopyDBClusterSnapshotMessage']['members']['SourceRegion'] = ['shape' => 'SourceRegion'];
- $api['shapes']['CreateDBClusterMessage']['members']['SourceRegion'] = ['shape' => 'SourceRegion'];
- $api['shapes']['CopyDBClusterSnapshotMessage']['members']['DestinationRegion'] = ['shape' => 'DestinationRegion'];
- $api['shapes']['CreateDBClusterMessage']['members']['DestinationRegion'] = ['shape' => 'DestinationRegion'];
- // Several parameters in presign APIs are optional.
- $docs['shapes']['String']['refs']['CopyDBClusterSnapshotMessage$PreSignedUrl']
- = '<div class="alert alert-info">The SDK will compute this value '
- . 'for you on your behalf.</div>';
- $docs['shapes']['String']['refs']['CopyDBClusterSnapshotMessage$DestinationRegion']
- = '<div class="alert alert-info">The SDK will populate this '
- . 'parameter on your behalf using the configured region value of '
- . 'the client.</div>';
- // Several parameters in presign APIs are optional.
- $docs['shapes']['String']['refs']['CreateDBClusterMessage$PreSignedUrl']
- = '<div class="alert alert-info">The SDK will compute this value '
- . 'for you on your behalf.</div>';
- $docs['shapes']['String']['refs']['CreateDBClusterMessage$DestinationRegion']
- = '<div class="alert alert-info">The SDK will populate this '
- . 'parameter on your behalf using the configured region value of '
- . 'the client.</div>';
- }
- return [
- new Service($api, ApiProvider::defaultProvider()),
- new DocModel($docs)
- ];
- }
- }
|