RdsClient.php
419 lines
| 1 | <?php |
| 2 | namespace Aws\Rds; |
| 3 | |
| 4 | use Aws\AwsClient; |
| 5 | use Aws\Api\Service; |
| 6 | use Aws\Api\DocModel; |
| 7 | use Aws\Api\ApiProvider; |
| 8 | use Aws\PresignUrlMiddleware; |
| 9 | |
| 10 | /** |
| 11 | * This client is used to interact with the **Amazon Relational Database Service (Amazon RDS)**. |
| 12 | * |
| 13 | * @method \Aws\Result addSourceIdentifierToSubscription(array $args = []) |
| 14 | * @method \GuzzleHttp\Promise\Promise addSourceIdentifierToSubscriptionAsync(array $args = []) |
| 15 | * @method \Aws\Result addTagsToResource(array $args = []) |
| 16 | * @method \GuzzleHttp\Promise\Promise addTagsToResourceAsync(array $args = []) |
| 17 | * @method \Aws\Result authorizeDBSecurityGroupIngress(array $args = []) |
| 18 | * @method \GuzzleHttp\Promise\Promise authorizeDBSecurityGroupIngressAsync(array $args = []) |
| 19 | * @method \Aws\Result copyDBParameterGroup(array $args = []) |
| 20 | * @method \GuzzleHttp\Promise\Promise copyDBParameterGroupAsync(array $args = []) |
| 21 | * @method \Aws\Result copyDBSnapshot(array $args = []) |
| 22 | * @method \GuzzleHttp\Promise\Promise copyDBSnapshotAsync(array $args = []) |
| 23 | * @method \Aws\Result copyOptionGroup(array $args = []) |
| 24 | * @method \GuzzleHttp\Promise\Promise copyOptionGroupAsync(array $args = []) |
| 25 | * @method \Aws\Result createDBInstance(array $args = []) |
| 26 | * @method \GuzzleHttp\Promise\Promise createDBInstanceAsync(array $args = []) |
| 27 | * @method \Aws\Result createDBInstanceReadReplica(array $args = []) |
| 28 | * @method \GuzzleHttp\Promise\Promise createDBInstanceReadReplicaAsync(array $args = []) |
| 29 | * @method \Aws\Result createDBParameterGroup(array $args = []) |
| 30 | * @method \GuzzleHttp\Promise\Promise createDBParameterGroupAsync(array $args = []) |
| 31 | * @method \Aws\Result createDBSecurityGroup(array $args = []) |
| 32 | * @method \GuzzleHttp\Promise\Promise createDBSecurityGroupAsync(array $args = []) |
| 33 | * @method \Aws\Result createDBSnapshot(array $args = []) |
| 34 | * @method \GuzzleHttp\Promise\Promise createDBSnapshotAsync(array $args = []) |
| 35 | * @method \Aws\Result createDBSubnetGroup(array $args = []) |
| 36 | * @method \GuzzleHttp\Promise\Promise createDBSubnetGroupAsync(array $args = []) |
| 37 | * @method \Aws\Result createEventSubscription(array $args = []) |
| 38 | * @method \GuzzleHttp\Promise\Promise createEventSubscriptionAsync(array $args = []) |
| 39 | * @method \Aws\Result createOptionGroup(array $args = []) |
| 40 | * @method \GuzzleHttp\Promise\Promise createOptionGroupAsync(array $args = []) |
| 41 | * @method \Aws\Result deleteDBInstance(array $args = []) |
| 42 | * @method \GuzzleHttp\Promise\Promise deleteDBInstanceAsync(array $args = []) |
| 43 | * @method \Aws\Result deleteDBParameterGroup(array $args = []) |
| 44 | * @method \GuzzleHttp\Promise\Promise deleteDBParameterGroupAsync(array $args = []) |
| 45 | * @method \Aws\Result deleteDBSecurityGroup(array $args = []) |
| 46 | * @method \GuzzleHttp\Promise\Promise deleteDBSecurityGroupAsync(array $args = []) |
| 47 | * @method \Aws\Result deleteDBSnapshot(array $args = []) |
| 48 | * @method \GuzzleHttp\Promise\Promise deleteDBSnapshotAsync(array $args = []) |
| 49 | * @method \Aws\Result deleteDBSubnetGroup(array $args = []) |
| 50 | * @method \GuzzleHttp\Promise\Promise deleteDBSubnetGroupAsync(array $args = []) |
| 51 | * @method \Aws\Result deleteEventSubscription(array $args = []) |
| 52 | * @method \GuzzleHttp\Promise\Promise deleteEventSubscriptionAsync(array $args = []) |
| 53 | * @method \Aws\Result deleteOptionGroup(array $args = []) |
| 54 | * @method \GuzzleHttp\Promise\Promise deleteOptionGroupAsync(array $args = []) |
| 55 | * @method \Aws\Result describeDBEngineVersions(array $args = []) |
| 56 | * @method \GuzzleHttp\Promise\Promise describeDBEngineVersionsAsync(array $args = []) |
| 57 | * @method \Aws\Result describeDBInstances(array $args = []) |
| 58 | * @method \GuzzleHttp\Promise\Promise describeDBInstancesAsync(array $args = []) |
| 59 | * @method \Aws\Result describeDBLogFiles(array $args = []) |
| 60 | * @method \GuzzleHttp\Promise\Promise describeDBLogFilesAsync(array $args = []) |
| 61 | * @method \Aws\Result describeDBParameterGroups(array $args = []) |
| 62 | * @method \GuzzleHttp\Promise\Promise describeDBParameterGroupsAsync(array $args = []) |
| 63 | * @method \Aws\Result describeDBParameters(array $args = []) |
| 64 | * @method \GuzzleHttp\Promise\Promise describeDBParametersAsync(array $args = []) |
| 65 | * @method \Aws\Result describeDBSecurityGroups(array $args = []) |
| 66 | * @method \GuzzleHttp\Promise\Promise describeDBSecurityGroupsAsync(array $args = []) |
| 67 | * @method \Aws\Result describeDBSnapshots(array $args = []) |
| 68 | * @method \GuzzleHttp\Promise\Promise describeDBSnapshotsAsync(array $args = []) |
| 69 | * @method \Aws\Result describeDBSubnetGroups(array $args = []) |
| 70 | * @method \GuzzleHttp\Promise\Promise describeDBSubnetGroupsAsync(array $args = []) |
| 71 | * @method \Aws\Result describeEngineDefaultParameters(array $args = []) |
| 72 | * @method \GuzzleHttp\Promise\Promise describeEngineDefaultParametersAsync(array $args = []) |
| 73 | * @method \Aws\Result describeEventCategories(array $args = []) |
| 74 | * @method \GuzzleHttp\Promise\Promise describeEventCategoriesAsync(array $args = []) |
| 75 | * @method \Aws\Result describeEventSubscriptions(array $args = []) |
| 76 | * @method \GuzzleHttp\Promise\Promise describeEventSubscriptionsAsync(array $args = []) |
| 77 | * @method \Aws\Result describeEvents(array $args = []) |
| 78 | * @method \GuzzleHttp\Promise\Promise describeEventsAsync(array $args = []) |
| 79 | * @method \Aws\Result describeOptionGroupOptions(array $args = []) |
| 80 | * @method \GuzzleHttp\Promise\Promise describeOptionGroupOptionsAsync(array $args = []) |
| 81 | * @method \Aws\Result describeOptionGroups(array $args = []) |
| 82 | * @method \GuzzleHttp\Promise\Promise describeOptionGroupsAsync(array $args = []) |
| 83 | * @method \Aws\Result describeOrderableDBInstanceOptions(array $args = []) |
| 84 | * @method \GuzzleHttp\Promise\Promise describeOrderableDBInstanceOptionsAsync(array $args = []) |
| 85 | * @method \Aws\Result describeReservedDBInstances(array $args = []) |
| 86 | * @method \GuzzleHttp\Promise\Promise describeReservedDBInstancesAsync(array $args = []) |
| 87 | * @method \Aws\Result describeReservedDBInstancesOfferings(array $args = []) |
| 88 | * @method \GuzzleHttp\Promise\Promise describeReservedDBInstancesOfferingsAsync(array $args = []) |
| 89 | * @method \Aws\Result downloadDBLogFilePortion(array $args = []) |
| 90 | * @method \GuzzleHttp\Promise\Promise downloadDBLogFilePortionAsync(array $args = []) |
| 91 | * @method \Aws\Result listTagsForResource(array $args = []) |
| 92 | * @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = []) |
| 93 | * @method \Aws\Result modifyDBInstance(array $args = []) |
| 94 | * @method \GuzzleHttp\Promise\Promise modifyDBInstanceAsync(array $args = []) |
| 95 | * @method \Aws\Result modifyDBParameterGroup(array $args = []) |
| 96 | * @method \GuzzleHttp\Promise\Promise modifyDBParameterGroupAsync(array $args = []) |
| 97 | * @method \Aws\Result modifyDBSubnetGroup(array $args = []) |
| 98 | * @method \GuzzleHttp\Promise\Promise modifyDBSubnetGroupAsync(array $args = []) |
| 99 | * @method \Aws\Result modifyEventSubscription(array $args = []) |
| 100 | * @method \GuzzleHttp\Promise\Promise modifyEventSubscriptionAsync(array $args = []) |
| 101 | * @method \Aws\Result modifyOptionGroup(array $args = []) |
| 102 | * @method \GuzzleHttp\Promise\Promise modifyOptionGroupAsync(array $args = []) |
| 103 | * @method \Aws\Result promoteReadReplica(array $args = []) |
| 104 | * @method \GuzzleHttp\Promise\Promise promoteReadReplicaAsync(array $args = []) |
| 105 | * @method \Aws\Result purchaseReservedDBInstancesOffering(array $args = []) |
| 106 | * @method \GuzzleHttp\Promise\Promise purchaseReservedDBInstancesOfferingAsync(array $args = []) |
| 107 | * @method \Aws\Result rebootDBInstance(array $args = []) |
| 108 | * @method \GuzzleHttp\Promise\Promise rebootDBInstanceAsync(array $args = []) |
| 109 | * @method \Aws\Result removeSourceIdentifierFromSubscription(array $args = []) |
| 110 | * @method \GuzzleHttp\Promise\Promise removeSourceIdentifierFromSubscriptionAsync(array $args = []) |
| 111 | * @method \Aws\Result removeTagsFromResource(array $args = []) |
| 112 | * @method \GuzzleHttp\Promise\Promise removeTagsFromResourceAsync(array $args = []) |
| 113 | * @method \Aws\Result resetDBParameterGroup(array $args = []) |
| 114 | * @method \GuzzleHttp\Promise\Promise resetDBParameterGroupAsync(array $args = []) |
| 115 | * @method \Aws\Result restoreDBInstanceFromDBSnapshot(array $args = []) |
| 116 | * @method \GuzzleHttp\Promise\Promise restoreDBInstanceFromDBSnapshotAsync(array $args = []) |
| 117 | * @method \Aws\Result restoreDBInstanceToPointInTime(array $args = []) |
| 118 | * @method \GuzzleHttp\Promise\Promise restoreDBInstanceToPointInTimeAsync(array $args = []) |
| 119 | * @method \Aws\Result revokeDBSecurityGroupIngress(array $args = []) |
| 120 | * @method \GuzzleHttp\Promise\Promise revokeDBSecurityGroupIngressAsync(array $args = []) |
| 121 | * @method \Aws\Result addRoleToDBCluster(array $args = []) (supported in versions 2014-10-31) |
| 122 | * @method \GuzzleHttp\Promise\Promise addRoleToDBClusterAsync(array $args = []) (supported in versions 2014-10-31) |
| 123 | * @method \Aws\Result addRoleToDBInstance(array $args = []) (supported in versions 2014-10-31) |
| 124 | * @method \GuzzleHttp\Promise\Promise addRoleToDBInstanceAsync(array $args = []) (supported in versions 2014-10-31) |
| 125 | * @method \Aws\Result applyPendingMaintenanceAction(array $args = []) (supported in versions 2014-10-31) |
| 126 | * @method \GuzzleHttp\Promise\Promise applyPendingMaintenanceActionAsync(array $args = []) (supported in versions 2014-10-31) |
| 127 | * @method \Aws\Result backtrackDBCluster(array $args = []) (supported in versions 2014-10-31) |
| 128 | * @method \GuzzleHttp\Promise\Promise backtrackDBClusterAsync(array $args = []) (supported in versions 2014-10-31) |
| 129 | * @method \Aws\Result cancelExportTask(array $args = []) (supported in versions 2014-10-31) |
| 130 | * @method \GuzzleHttp\Promise\Promise cancelExportTaskAsync(array $args = []) (supported in versions 2014-10-31) |
| 131 | * @method \Aws\Result copyDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31) |
| 132 | * @method \GuzzleHttp\Promise\Promise copyDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31) |
| 133 | * @method \Aws\Result copyDBClusterSnapshot(array $args = []) (supported in versions 2014-10-31) |
| 134 | * @method \GuzzleHttp\Promise\Promise copyDBClusterSnapshotAsync(array $args = []) (supported in versions 2014-10-31) |
| 135 | * @method \Aws\Result createBlueGreenDeployment(array $args = []) (supported in versions 2014-10-31) |
| 136 | * @method \GuzzleHttp\Promise\Promise createBlueGreenDeploymentAsync(array $args = []) (supported in versions 2014-10-31) |
| 137 | * @method \Aws\Result createCustomDBEngineVersion(array $args = []) (supported in versions 2014-10-31) |
| 138 | * @method \GuzzleHttp\Promise\Promise createCustomDBEngineVersionAsync(array $args = []) (supported in versions 2014-10-31) |
| 139 | * @method \Aws\Result createDBCluster(array $args = []) (supported in versions 2014-10-31) |
| 140 | * @method \GuzzleHttp\Promise\Promise createDBClusterAsync(array $args = []) (supported in versions 2014-10-31) |
| 141 | * @method \Aws\Result createDBClusterEndpoint(array $args = []) (supported in versions 2014-10-31) |
| 142 | * @method \GuzzleHttp\Promise\Promise createDBClusterEndpointAsync(array $args = []) (supported in versions 2014-10-31) |
| 143 | * @method \Aws\Result createDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31) |
| 144 | * @method \GuzzleHttp\Promise\Promise createDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31) |
| 145 | * @method \Aws\Result createDBClusterSnapshot(array $args = []) (supported in versions 2014-10-31) |
| 146 | * @method \GuzzleHttp\Promise\Promise createDBClusterSnapshotAsync(array $args = []) (supported in versions 2014-10-31) |
| 147 | * @method \Aws\Result createDBProxy(array $args = []) (supported in versions 2014-10-31) |
| 148 | * @method \GuzzleHttp\Promise\Promise createDBProxyAsync(array $args = []) (supported in versions 2014-10-31) |
| 149 | * @method \Aws\Result createDBProxyEndpoint(array $args = []) (supported in versions 2014-10-31) |
| 150 | * @method \GuzzleHttp\Promise\Promise createDBProxyEndpointAsync(array $args = []) (supported in versions 2014-10-31) |
| 151 | * @method \Aws\Result createGlobalCluster(array $args = []) (supported in versions 2014-10-31) |
| 152 | * @method \GuzzleHttp\Promise\Promise createGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31) |
| 153 | * @method \Aws\Result createIntegration(array $args = []) (supported in versions 2014-10-31) |
| 154 | * @method \GuzzleHttp\Promise\Promise createIntegrationAsync(array $args = []) (supported in versions 2014-10-31) |
| 155 | * @method \Aws\Result createTenantDatabase(array $args = []) (supported in versions 2014-10-31) |
| 156 | * @method \GuzzleHttp\Promise\Promise createTenantDatabaseAsync(array $args = []) (supported in versions 2014-10-31) |
| 157 | * @method \Aws\Result deleteBlueGreenDeployment(array $args = []) (supported in versions 2014-10-31) |
| 158 | * @method \GuzzleHttp\Promise\Promise deleteBlueGreenDeploymentAsync(array $args = []) (supported in versions 2014-10-31) |
| 159 | * @method \Aws\Result deleteCustomDBEngineVersion(array $args = []) (supported in versions 2014-10-31) |
| 160 | * @method \GuzzleHttp\Promise\Promise deleteCustomDBEngineVersionAsync(array $args = []) (supported in versions 2014-10-31) |
| 161 | * @method \Aws\Result deleteDBCluster(array $args = []) (supported in versions 2014-10-31) |
| 162 | * @method \GuzzleHttp\Promise\Promise deleteDBClusterAsync(array $args = []) (supported in versions 2014-10-31) |
| 163 | * @method \Aws\Result deleteDBClusterAutomatedBackup(array $args = []) (supported in versions 2014-10-31) |
| 164 | * @method \GuzzleHttp\Promise\Promise deleteDBClusterAutomatedBackupAsync(array $args = []) (supported in versions 2014-10-31) |
| 165 | * @method \Aws\Result deleteDBClusterEndpoint(array $args = []) (supported in versions 2014-10-31) |
| 166 | * @method \GuzzleHttp\Promise\Promise deleteDBClusterEndpointAsync(array $args = []) (supported in versions 2014-10-31) |
| 167 | * @method \Aws\Result deleteDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31) |
| 168 | * @method \GuzzleHttp\Promise\Promise deleteDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31) |
| 169 | * @method \Aws\Result deleteDBClusterSnapshot(array $args = []) (supported in versions 2014-10-31) |
| 170 | * @method \GuzzleHttp\Promise\Promise deleteDBClusterSnapshotAsync(array $args = []) (supported in versions 2014-10-31) |
| 171 | * @method \Aws\Result deleteDBInstanceAutomatedBackup(array $args = []) (supported in versions 2014-10-31) |
| 172 | * @method \GuzzleHttp\Promise\Promise deleteDBInstanceAutomatedBackupAsync(array $args = []) (supported in versions 2014-10-31) |
| 173 | * @method \Aws\Result deleteDBProxy(array $args = []) (supported in versions 2014-10-31) |
| 174 | * @method \GuzzleHttp\Promise\Promise deleteDBProxyAsync(array $args = []) (supported in versions 2014-10-31) |
| 175 | * @method \Aws\Result deleteDBProxyEndpoint(array $args = []) (supported in versions 2014-10-31) |
| 176 | * @method \GuzzleHttp\Promise\Promise deleteDBProxyEndpointAsync(array $args = []) (supported in versions 2014-10-31) |
| 177 | * @method \Aws\Result deleteGlobalCluster(array $args = []) (supported in versions 2014-10-31) |
| 178 | * @method \GuzzleHttp\Promise\Promise deleteGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31) |
| 179 | * @method \Aws\Result deleteIntegration(array $args = []) (supported in versions 2014-10-31) |
| 180 | * @method \GuzzleHttp\Promise\Promise deleteIntegrationAsync(array $args = []) (supported in versions 2014-10-31) |
| 181 | * @method \Aws\Result deleteTenantDatabase(array $args = []) (supported in versions 2014-10-31) |
| 182 | * @method \GuzzleHttp\Promise\Promise deleteTenantDatabaseAsync(array $args = []) (supported in versions 2014-10-31) |
| 183 | * @method \Aws\Result deregisterDBProxyTargets(array $args = []) (supported in versions 2014-10-31) |
| 184 | * @method \GuzzleHttp\Promise\Promise deregisterDBProxyTargetsAsync(array $args = []) (supported in versions 2014-10-31) |
| 185 | * @method \Aws\Result describeAccountAttributes(array $args = []) (supported in versions 2014-10-31) |
| 186 | * @method \GuzzleHttp\Promise\Promise describeAccountAttributesAsync(array $args = []) (supported in versions 2014-10-31) |
| 187 | * @method \Aws\Result describeBlueGreenDeployments(array $args = []) (supported in versions 2014-10-31) |
| 188 | * @method \GuzzleHttp\Promise\Promise describeBlueGreenDeploymentsAsync(array $args = []) (supported in versions 2014-10-31) |
| 189 | * @method \Aws\Result describeCertificates(array $args = []) (supported in versions 2014-10-31) |
| 190 | * @method \GuzzleHttp\Promise\Promise describeCertificatesAsync(array $args = []) (supported in versions 2014-10-31) |
| 191 | * @method \Aws\Result describeDBClusterAutomatedBackups(array $args = []) (supported in versions 2014-10-31) |
| 192 | * @method \GuzzleHttp\Promise\Promise describeDBClusterAutomatedBackupsAsync(array $args = []) (supported in versions 2014-10-31) |
| 193 | * @method \Aws\Result describeDBClusterBacktracks(array $args = []) (supported in versions 2014-10-31) |
| 194 | * @method \GuzzleHttp\Promise\Promise describeDBClusterBacktracksAsync(array $args = []) (supported in versions 2014-10-31) |
| 195 | * @method \Aws\Result describeDBClusterEndpoints(array $args = []) (supported in versions 2014-10-31) |
| 196 | * @method \GuzzleHttp\Promise\Promise describeDBClusterEndpointsAsync(array $args = []) (supported in versions 2014-10-31) |
| 197 | * @method \Aws\Result describeDBClusterParameterGroups(array $args = []) (supported in versions 2014-10-31) |
| 198 | * @method \GuzzleHttp\Promise\Promise describeDBClusterParameterGroupsAsync(array $args = []) (supported in versions 2014-10-31) |
| 199 | * @method \Aws\Result describeDBClusterParameters(array $args = []) (supported in versions 2014-10-31) |
| 200 | * @method \GuzzleHttp\Promise\Promise describeDBClusterParametersAsync(array $args = []) (supported in versions 2014-10-31) |
| 201 | * @method \Aws\Result describeDBClusterSnapshotAttributes(array $args = []) (supported in versions 2014-10-31) |
| 202 | * @method \GuzzleHttp\Promise\Promise describeDBClusterSnapshotAttributesAsync(array $args = []) (supported in versions 2014-10-31) |
| 203 | * @method \Aws\Result describeDBClusterSnapshots(array $args = []) (supported in versions 2014-10-31) |
| 204 | * @method \GuzzleHttp\Promise\Promise describeDBClusterSnapshotsAsync(array $args = []) (supported in versions 2014-10-31) |
| 205 | * @method \Aws\Result describeDBClusters(array $args = []) (supported in versions 2014-10-31) |
| 206 | * @method \GuzzleHttp\Promise\Promise describeDBClustersAsync(array $args = []) (supported in versions 2014-10-31) |
| 207 | * @method \Aws\Result describeDBInstanceAutomatedBackups(array $args = []) (supported in versions 2014-10-31) |
| 208 | * @method \GuzzleHttp\Promise\Promise describeDBInstanceAutomatedBackupsAsync(array $args = []) (supported in versions 2014-10-31) |
| 209 | * @method \Aws\Result describeDBProxies(array $args = []) (supported in versions 2014-10-31) |
| 210 | * @method \GuzzleHttp\Promise\Promise describeDBProxiesAsync(array $args = []) (supported in versions 2014-10-31) |
| 211 | * @method \Aws\Result describeDBProxyEndpoints(array $args = []) (supported in versions 2014-10-31) |
| 212 | * @method \GuzzleHttp\Promise\Promise describeDBProxyEndpointsAsync(array $args = []) (supported in versions 2014-10-31) |
| 213 | * @method \Aws\Result describeDBProxyTargetGroups(array $args = []) (supported in versions 2014-10-31) |
| 214 | * @method \GuzzleHttp\Promise\Promise describeDBProxyTargetGroupsAsync(array $args = []) (supported in versions 2014-10-31) |
| 215 | * @method \Aws\Result describeDBProxyTargets(array $args = []) (supported in versions 2014-10-31) |
| 216 | * @method \GuzzleHttp\Promise\Promise describeDBProxyTargetsAsync(array $args = []) (supported in versions 2014-10-31) |
| 217 | * @method \Aws\Result describeDBSnapshotAttributes(array $args = []) (supported in versions 2014-10-31) |
| 218 | * @method \GuzzleHttp\Promise\Promise describeDBSnapshotAttributesAsync(array $args = []) (supported in versions 2014-10-31) |
| 219 | * @method \Aws\Result describeDBSnapshotTenantDatabases(array $args = []) (supported in versions 2014-10-31) |
| 220 | * @method \GuzzleHttp\Promise\Promise describeDBSnapshotTenantDatabasesAsync(array $args = []) (supported in versions 2014-10-31) |
| 221 | * @method \Aws\Result describeEngineDefaultClusterParameters(array $args = []) (supported in versions 2014-10-31) |
| 222 | * @method \GuzzleHttp\Promise\Promise describeEngineDefaultClusterParametersAsync(array $args = []) (supported in versions 2014-10-31) |
| 223 | * @method \Aws\Result describeExportTasks(array $args = []) (supported in versions 2014-10-31) |
| 224 | * @method \GuzzleHttp\Promise\Promise describeExportTasksAsync(array $args = []) (supported in versions 2014-10-31) |
| 225 | * @method \Aws\Result describeGlobalClusters(array $args = []) (supported in versions 2014-10-31) |
| 226 | * @method \GuzzleHttp\Promise\Promise describeGlobalClustersAsync(array $args = []) (supported in versions 2014-10-31) |
| 227 | * @method \Aws\Result describeIntegrations(array $args = []) (supported in versions 2014-10-31) |
| 228 | * @method \GuzzleHttp\Promise\Promise describeIntegrationsAsync(array $args = []) (supported in versions 2014-10-31) |
| 229 | * @method \Aws\Result describePendingMaintenanceActions(array $args = []) (supported in versions 2014-10-31) |
| 230 | * @method \GuzzleHttp\Promise\Promise describePendingMaintenanceActionsAsync(array $args = []) (supported in versions 2014-10-31) |
| 231 | * @method \Aws\Result describeSourceRegions(array $args = []) (supported in versions 2014-10-31) |
| 232 | * @method \GuzzleHttp\Promise\Promise describeSourceRegionsAsync(array $args = []) (supported in versions 2014-10-31) |
| 233 | * @method \Aws\Result describeTenantDatabases(array $args = []) (supported in versions 2014-10-31) |
| 234 | * @method \GuzzleHttp\Promise\Promise describeTenantDatabasesAsync(array $args = []) (supported in versions 2014-10-31) |
| 235 | * @method \Aws\Result describeValidDBInstanceModifications(array $args = []) (supported in versions 2014-10-31) |
| 236 | * @method \GuzzleHttp\Promise\Promise describeValidDBInstanceModificationsAsync(array $args = []) (supported in versions 2014-10-31) |
| 237 | * @method \Aws\Result failoverDBCluster(array $args = []) (supported in versions 2014-10-31) |
| 238 | * @method \GuzzleHttp\Promise\Promise failoverDBClusterAsync(array $args = []) (supported in versions 2014-10-31) |
| 239 | * @method \Aws\Result failoverGlobalCluster(array $args = []) (supported in versions 2014-10-31) |
| 240 | * @method \GuzzleHttp\Promise\Promise failoverGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31) |
| 241 | * @method \Aws\Result modifyActivityStream(array $args = []) (supported in versions 2014-10-31) |
| 242 | * @method \GuzzleHttp\Promise\Promise modifyActivityStreamAsync(array $args = []) (supported in versions 2014-10-31) |
| 243 | * @method \Aws\Result modifyCertificates(array $args = []) (supported in versions 2014-10-31) |
| 244 | * @method \GuzzleHttp\Promise\Promise modifyCertificatesAsync(array $args = []) (supported in versions 2014-10-31) |
| 245 | * @method \Aws\Result modifyCurrentDBClusterCapacity(array $args = []) (supported in versions 2014-10-31) |
| 246 | * @method \GuzzleHttp\Promise\Promise modifyCurrentDBClusterCapacityAsync(array $args = []) (supported in versions 2014-10-31) |
| 247 | * @method \Aws\Result modifyCustomDBEngineVersion(array $args = []) (supported in versions 2014-10-31) |
| 248 | * @method \GuzzleHttp\Promise\Promise modifyCustomDBEngineVersionAsync(array $args = []) (supported in versions 2014-10-31) |
| 249 | * @method \Aws\Result modifyDBCluster(array $args = []) (supported in versions 2014-10-31) |
| 250 | * @method \GuzzleHttp\Promise\Promise modifyDBClusterAsync(array $args = []) (supported in versions 2014-10-31) |
| 251 | * @method \Aws\Result modifyDBClusterEndpoint(array $args = []) (supported in versions 2014-10-31) |
| 252 | * @method \GuzzleHttp\Promise\Promise modifyDBClusterEndpointAsync(array $args = []) (supported in versions 2014-10-31) |
| 253 | * @method \Aws\Result modifyDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31) |
| 254 | * @method \GuzzleHttp\Promise\Promise modifyDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31) |
| 255 | * @method \Aws\Result modifyDBClusterSnapshotAttribute(array $args = []) (supported in versions 2014-10-31) |
| 256 | * @method \GuzzleHttp\Promise\Promise modifyDBClusterSnapshotAttributeAsync(array $args = []) (supported in versions 2014-10-31) |
| 257 | * @method \Aws\Result modifyDBProxy(array $args = []) (supported in versions 2014-10-31) |
| 258 | * @method \GuzzleHttp\Promise\Promise modifyDBProxyAsync(array $args = []) (supported in versions 2014-10-31) |
| 259 | * @method \Aws\Result modifyDBProxyEndpoint(array $args = []) (supported in versions 2014-10-31) |
| 260 | * @method \GuzzleHttp\Promise\Promise modifyDBProxyEndpointAsync(array $args = []) (supported in versions 2014-10-31) |
| 261 | * @method \Aws\Result modifyDBProxyTargetGroup(array $args = []) (supported in versions 2014-10-31) |
| 262 | * @method \GuzzleHttp\Promise\Promise modifyDBProxyTargetGroupAsync(array $args = []) (supported in versions 2014-10-31) |
| 263 | * @method \Aws\Result modifyDBSnapshot(array $args = []) (supported in versions 2014-10-31) |
| 264 | * @method \GuzzleHttp\Promise\Promise modifyDBSnapshotAsync(array $args = []) (supported in versions 2014-10-31) |
| 265 | * @method \Aws\Result modifyDBSnapshotAttribute(array $args = []) (supported in versions 2014-10-31) |
| 266 | * @method \GuzzleHttp\Promise\Promise modifyDBSnapshotAttributeAsync(array $args = []) (supported in versions 2014-10-31) |
| 267 | * @method \Aws\Result modifyGlobalCluster(array $args = []) (supported in versions 2014-10-31) |
| 268 | * @method \GuzzleHttp\Promise\Promise modifyGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31) |
| 269 | * @method \Aws\Result modifyTenantDatabase(array $args = []) (supported in versions 2014-10-31) |
| 270 | * @method \GuzzleHttp\Promise\Promise modifyTenantDatabaseAsync(array $args = []) (supported in versions 2014-10-31) |
| 271 | * @method \Aws\Result promoteReadReplicaDBCluster(array $args = []) (supported in versions 2014-10-31) |
| 272 | * @method \GuzzleHttp\Promise\Promise promoteReadReplicaDBClusterAsync(array $args = []) (supported in versions 2014-10-31) |
| 273 | * @method \Aws\Result rebootDBCluster(array $args = []) (supported in versions 2014-10-31) |
| 274 | * @method \GuzzleHttp\Promise\Promise rebootDBClusterAsync(array $args = []) (supported in versions 2014-10-31) |
| 275 | * @method \Aws\Result registerDBProxyTargets(array $args = []) (supported in versions 2014-10-31) |
| 276 | * @method \GuzzleHttp\Promise\Promise registerDBProxyTargetsAsync(array $args = []) (supported in versions 2014-10-31) |
| 277 | * @method \Aws\Result removeFromGlobalCluster(array $args = []) (supported in versions 2014-10-31) |
| 278 | * @method \GuzzleHttp\Promise\Promise removeFromGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31) |
| 279 | * @method \Aws\Result removeRoleFromDBCluster(array $args = []) (supported in versions 2014-10-31) |
| 280 | * @method \GuzzleHttp\Promise\Promise removeRoleFromDBClusterAsync(array $args = []) (supported in versions 2014-10-31) |
| 281 | * @method \Aws\Result removeRoleFromDBInstance(array $args = []) (supported in versions 2014-10-31) |
| 282 | * @method \GuzzleHttp\Promise\Promise removeRoleFromDBInstanceAsync(array $args = []) (supported in versions 2014-10-31) |
| 283 | * @method \Aws\Result resetDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31) |
| 284 | * @method \GuzzleHttp\Promise\Promise resetDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31) |
| 285 | * @method \Aws\Result restoreDBClusterFromS3(array $args = []) (supported in versions 2014-10-31) |
| 286 | * @method \GuzzleHttp\Promise\Promise restoreDBClusterFromS3Async(array $args = []) (supported in versions 2014-10-31) |
| 287 | * @method \Aws\Result restoreDBClusterFromSnapshot(array $args = []) (supported in versions 2014-10-31) |
| 288 | * @method \GuzzleHttp\Promise\Promise restoreDBClusterFromSnapshotAsync(array $args = []) (supported in versions 2014-10-31) |
| 289 | * @method \Aws\Result restoreDBClusterToPointInTime(array $args = []) (supported in versions 2014-10-31) |
| 290 | * @method \GuzzleHttp\Promise\Promise restoreDBClusterToPointInTimeAsync(array $args = []) (supported in versions 2014-10-31) |
| 291 | * @method \Aws\Result restoreDBInstanceFromS3(array $args = []) (supported in versions 2014-10-31) |
| 292 | * @method \GuzzleHttp\Promise\Promise restoreDBInstanceFromS3Async(array $args = []) (supported in versions 2014-10-31) |
| 293 | * @method \Aws\Result startActivityStream(array $args = []) (supported in versions 2014-10-31) |
| 294 | * @method \GuzzleHttp\Promise\Promise startActivityStreamAsync(array $args = []) (supported in versions 2014-10-31) |
| 295 | * @method \Aws\Result startDBCluster(array $args = []) (supported in versions 2014-10-31) |
| 296 | * @method \GuzzleHttp\Promise\Promise startDBClusterAsync(array $args = []) (supported in versions 2014-10-31) |
| 297 | * @method \Aws\Result startDBInstance(array $args = []) (supported in versions 2014-10-31) |
| 298 | * @method \GuzzleHttp\Promise\Promise startDBInstanceAsync(array $args = []) (supported in versions 2014-10-31) |
| 299 | * @method \Aws\Result startDBInstanceAutomatedBackupsReplication(array $args = []) (supported in versions 2014-10-31) |
| 300 | * @method \GuzzleHttp\Promise\Promise startDBInstanceAutomatedBackupsReplicationAsync(array $args = []) (supported in versions 2014-10-31) |
| 301 | * @method \Aws\Result startExportTask(array $args = []) (supported in versions 2014-10-31) |
| 302 | * @method \GuzzleHttp\Promise\Promise startExportTaskAsync(array $args = []) (supported in versions 2014-10-31) |
| 303 | * @method \Aws\Result stopActivityStream(array $args = []) (supported in versions 2014-10-31) |
| 304 | * @method \GuzzleHttp\Promise\Promise stopActivityStreamAsync(array $args = []) (supported in versions 2014-10-31) |
| 305 | * @method \Aws\Result stopDBCluster(array $args = []) (supported in versions 2014-10-31) |
| 306 | * @method \GuzzleHttp\Promise\Promise stopDBClusterAsync(array $args = []) (supported in versions 2014-10-31) |
| 307 | * @method \Aws\Result stopDBInstance(array $args = []) (supported in versions 2014-10-31) |
| 308 | * @method \GuzzleHttp\Promise\Promise stopDBInstanceAsync(array $args = []) (supported in versions 2014-10-31) |
| 309 | * @method \Aws\Result stopDBInstanceAutomatedBackupsReplication(array $args = []) (supported in versions 2014-10-31) |
| 310 | * @method \GuzzleHttp\Promise\Promise stopDBInstanceAutomatedBackupsReplicationAsync(array $args = []) (supported in versions 2014-10-31) |
| 311 | * @method \Aws\Result switchoverBlueGreenDeployment(array $args = []) (supported in versions 2014-10-31) |
| 312 | * @method \GuzzleHttp\Promise\Promise switchoverBlueGreenDeploymentAsync(array $args = []) (supported in versions 2014-10-31) |
| 313 | * @method \Aws\Result switchoverGlobalCluster(array $args = []) (supported in versions 2014-10-31) |
| 314 | * @method \GuzzleHttp\Promise\Promise switchoverGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31) |
| 315 | * @method \Aws\Result switchoverReadReplica(array $args = []) (supported in versions 2014-10-31) |
| 316 | * @method \GuzzleHttp\Promise\Promise switchoverReadReplicaAsync(array $args = []) (supported in versions 2014-10-31) |
| 317 | */ |
| 318 | class RdsClient extends AwsClient |
| 319 | { |
| 320 | public function __construct(array $args) |
| 321 | { |
| 322 | $args['with_resolved'] = function (array $args) { |
| 323 | $this->getHandlerList()->appendInit( |
| 324 | PresignUrlMiddleware::wrap( |
| 325 | $this, |
| 326 | $args['endpoint_provider'], |
| 327 | [ |
| 328 | 'operations' => [ |
| 329 | 'CopyDBSnapshot', |
| 330 | 'CreateDBInstanceReadReplica', |
| 331 | 'CopyDBClusterSnapshot', |
| 332 | 'CreateDBCluster', |
| 333 | 'StartDBInstanceAutomatedBackupsReplication' |
| 334 | ], |
| 335 | 'service' => 'rds', |
| 336 | 'presign_param' => 'PreSignedUrl', |
| 337 | 'require_different_region' => true, |
| 338 | ] |
| 339 | ), |
| 340 | 'rds.presigner' |
| 341 | ); |
| 342 | }; |
| 343 | |
| 344 | parent::__construct($args); |
| 345 | } |
| 346 | |
| 347 | /** |
| 348 | * @internal |
| 349 | * @codeCoverageIgnore |
| 350 | */ |
| 351 | public static function applyDocFilters(array $api, array $docs) |
| 352 | { |
| 353 | // Add the SourceRegion parameter |
| 354 | $docs['shapes']['SourceRegion']['base'] = 'A required parameter that indicates ' |
| 355 | . 'the region that the DB snapshot will be copied from.'; |
| 356 | $api['shapes']['SourceRegion'] = ['type' => 'string']; |
| 357 | $api['shapes']['CopyDBSnapshotMessage']['members']['SourceRegion'] = ['shape' => 'SourceRegion']; |
| 358 | $api['shapes']['CreateDBInstanceReadReplicaMessage']['members']['SourceRegion'] = ['shape' => 'SourceRegion']; |
| 359 | |
| 360 | // Add the DestinationRegion parameter |
| 361 | $docs['shapes']['DestinationRegion']['base'] |
| 362 | = '<div class="alert alert-info">The SDK will populate this ' |
| 363 | . 'parameter on your behalf using the configured region value of ' |
| 364 | . 'the client.</div>'; |
| 365 | $api['shapes']['DestinationRegion'] = ['type' => 'string']; |
| 366 | $api['shapes']['CopyDBSnapshotMessage']['members']['DestinationRegion'] = ['shape' => 'DestinationRegion']; |
| 367 | $api['shapes']['CreateDBInstanceReadReplicaMessage']['members']['DestinationRegion'] = ['shape' => 'DestinationRegion']; |
| 368 | |
| 369 | // Several parameters in presign APIs are optional. |
| 370 | $docs['shapes']['String']['refs']['CopyDBSnapshotMessage$PreSignedUrl'] |
| 371 | = '<div class="alert alert-info">The SDK will compute this value ' |
| 372 | . 'for you on your behalf.</div>'; |
| 373 | $docs['shapes']['String']['refs']['CopyDBSnapshotMessage$DestinationRegion'] |
| 374 | = '<div class="alert alert-info">The SDK will populate this ' |
| 375 | . 'parameter on your behalf using the configured region value of ' |
| 376 | . 'the client.</div>'; |
| 377 | |
| 378 | // Several parameters in presign APIs are optional. |
| 379 | $docs['shapes']['String']['refs']['CreateDBInstanceReadReplicaMessage$PreSignedUrl'] |
| 380 | = '<div class="alert alert-info">The SDK will compute this value ' |
| 381 | . 'for you on your behalf.</div>'; |
| 382 | $docs['shapes']['String']['refs']['CreateDBInstanceReadReplicaMessage$DestinationRegion'] |
| 383 | = '<div class="alert alert-info">The SDK will populate this ' |
| 384 | . 'parameter on your behalf using the configured region value of ' |
| 385 | . 'the client.</div>'; |
| 386 | |
| 387 | if ($api['metadata']['apiVersion'] != '2014-09-01') { |
| 388 | $api['shapes']['CopyDBClusterSnapshotMessage']['members']['SourceRegion'] = ['shape' => 'SourceRegion']; |
| 389 | $api['shapes']['CreateDBClusterMessage']['members']['SourceRegion'] = ['shape' => 'SourceRegion']; |
| 390 | |
| 391 | $api['shapes']['CopyDBClusterSnapshotMessage']['members']['DestinationRegion'] = ['shape' => 'DestinationRegion']; |
| 392 | $api['shapes']['CreateDBClusterMessage']['members']['DestinationRegion'] = ['shape' => 'DestinationRegion']; |
| 393 | |
| 394 | // Several parameters in presign APIs are optional. |
| 395 | $docs['shapes']['String']['refs']['CopyDBClusterSnapshotMessage$PreSignedUrl'] |
| 396 | = '<div class="alert alert-info">The SDK will compute this value ' |
| 397 | . 'for you on your behalf.</div>'; |
| 398 | $docs['shapes']['String']['refs']['CopyDBClusterSnapshotMessage$DestinationRegion'] |
| 399 | = '<div class="alert alert-info">The SDK will populate this ' |
| 400 | . 'parameter on your behalf using the configured region value of ' |
| 401 | . 'the client.</div>'; |
| 402 | |
| 403 | // Several parameters in presign APIs are optional. |
| 404 | $docs['shapes']['String']['refs']['CreateDBClusterMessage$PreSignedUrl'] |
| 405 | = '<div class="alert alert-info">The SDK will compute this value ' |
| 406 | . 'for you on your behalf.</div>'; |
| 407 | $docs['shapes']['String']['refs']['CreateDBClusterMessage$DestinationRegion'] |
| 408 | = '<div class="alert alert-info">The SDK will populate this ' |
| 409 | . 'parameter on your behalf using the configured region value of ' |
| 410 | . 'the client.</div>'; |
| 411 | } |
| 412 | |
| 413 | return [ |
| 414 | new Service($api, ApiProvider::defaultProvider()), |
| 415 | new DocModel($docs) |
| 416 | ]; |
| 417 | } |
| 418 | } |
| 419 |