Файл: sngine-v2.8/Script/includes/libs/AWS/Aws/Rds/RdsClient.php
Строк: 881
<?php
namespace AwsRds;
use AwsAwsClient;
use AwsApiService;
use AwsApiDocModel;
use AwsApiApiProvider;
use AwsPresignUrlMiddleware;
/**
* This client is used to interact with the **Amazon Relational Database Service (Amazon RDS)**.
*
* @method AwsResult addSourceIdentifierToSubscription(array $args = [])
* @method GuzzleHttpPromisePromise addSourceIdentifierToSubscriptionAsync(array $args = [])
* @method AwsResult addTagsToResource(array $args = [])
* @method GuzzleHttpPromisePromise addTagsToResourceAsync(array $args = [])
* @method AwsResult authorizeDBSecurityGroupIngress(array $args = [])
* @method GuzzleHttpPromisePromise authorizeDBSecurityGroupIngressAsync(array $args = [])
* @method AwsResult copyDBParameterGroup(array $args = [])
* @method GuzzleHttpPromisePromise copyDBParameterGroupAsync(array $args = [])
* @method AwsResult copyDBSnapshot(array $args = [])
* @method GuzzleHttpPromisePromise copyDBSnapshotAsync(array $args = [])
* @method AwsResult copyOptionGroup(array $args = [])
* @method GuzzleHttpPromisePromise copyOptionGroupAsync(array $args = [])
* @method AwsResult createDBInstance(array $args = [])
* @method GuzzleHttpPromisePromise createDBInstanceAsync(array $args = [])
* @method AwsResult createDBInstanceReadReplica(array $args = [])
* @method GuzzleHttpPromisePromise createDBInstanceReadReplicaAsync(array $args = [])
* @method AwsResult createDBParameterGroup(array $args = [])
* @method GuzzleHttpPromisePromise createDBParameterGroupAsync(array $args = [])
* @method AwsResult createDBSecurityGroup(array $args = [])
* @method GuzzleHttpPromisePromise createDBSecurityGroupAsync(array $args = [])
* @method AwsResult createDBSnapshot(array $args = [])
* @method GuzzleHttpPromisePromise createDBSnapshotAsync(array $args = [])
* @method AwsResult createDBSubnetGroup(array $args = [])
* @method GuzzleHttpPromisePromise createDBSubnetGroupAsync(array $args = [])
* @method AwsResult createEventSubscription(array $args = [])
* @method GuzzleHttpPromisePromise createEventSubscriptionAsync(array $args = [])
* @method AwsResult createOptionGroup(array $args = [])
* @method GuzzleHttpPromisePromise createOptionGroupAsync(array $args = [])
* @method AwsResult deleteDBInstance(array $args = [])
* @method GuzzleHttpPromisePromise deleteDBInstanceAsync(array $args = [])
* @method AwsResult deleteDBParameterGroup(array $args = [])
* @method GuzzleHttpPromisePromise deleteDBParameterGroupAsync(array $args = [])
* @method AwsResult deleteDBSecurityGroup(array $args = [])
* @method GuzzleHttpPromisePromise deleteDBSecurityGroupAsync(array $args = [])
* @method AwsResult deleteDBSnapshot(array $args = [])
* @method GuzzleHttpPromisePromise deleteDBSnapshotAsync(array $args = [])
* @method AwsResult deleteDBSubnetGroup(array $args = [])
* @method GuzzleHttpPromisePromise deleteDBSubnetGroupAsync(array $args = [])
* @method AwsResult deleteEventSubscription(array $args = [])
* @method GuzzleHttpPromisePromise deleteEventSubscriptionAsync(array $args = [])
* @method AwsResult deleteOptionGroup(array $args = [])
* @method GuzzleHttpPromisePromise deleteOptionGroupAsync(array $args = [])
* @method AwsResult describeDBEngineVersions(array $args = [])
* @method GuzzleHttpPromisePromise describeDBEngineVersionsAsync(array $args = [])
* @method AwsResult describeDBInstances(array $args = [])
* @method GuzzleHttpPromisePromise describeDBInstancesAsync(array $args = [])
* @method AwsResult describeDBLogFiles(array $args = [])
* @method GuzzleHttpPromisePromise describeDBLogFilesAsync(array $args = [])
* @method AwsResult describeDBParameterGroups(array $args = [])
* @method GuzzleHttpPromisePromise describeDBParameterGroupsAsync(array $args = [])
* @method AwsResult describeDBParameters(array $args = [])
* @method GuzzleHttpPromisePromise describeDBParametersAsync(array $args = [])
* @method AwsResult describeDBSecurityGroups(array $args = [])
* @method GuzzleHttpPromisePromise describeDBSecurityGroupsAsync(array $args = [])
* @method AwsResult describeDBSnapshots(array $args = [])
* @method GuzzleHttpPromisePromise describeDBSnapshotsAsync(array $args = [])
* @method AwsResult describeDBSubnetGroups(array $args = [])
* @method GuzzleHttpPromisePromise describeDBSubnetGroupsAsync(array $args = [])
* @method AwsResult describeEngineDefaultParameters(array $args = [])
* @method GuzzleHttpPromisePromise describeEngineDefaultParametersAsync(array $args = [])
* @method AwsResult describeEventCategories(array $args = [])
* @method GuzzleHttpPromisePromise describeEventCategoriesAsync(array $args = [])
* @method AwsResult describeEventSubscriptions(array $args = [])
* @method GuzzleHttpPromisePromise describeEventSubscriptionsAsync(array $args = [])
* @method AwsResult describeEvents(array $args = [])
* @method GuzzleHttpPromisePromise describeEventsAsync(array $args = [])
* @method AwsResult describeOptionGroupOptions(array $args = [])
* @method GuzzleHttpPromisePromise describeOptionGroupOptionsAsync(array $args = [])
* @method AwsResult describeOptionGroups(array $args = [])
* @method GuzzleHttpPromisePromise describeOptionGroupsAsync(array $args = [])
* @method AwsResult describeOrderableDBInstanceOptions(array $args = [])
* @method GuzzleHttpPromisePromise describeOrderableDBInstanceOptionsAsync(array $args = [])
* @method AwsResult describeReservedDBInstances(array $args = [])
* @method GuzzleHttpPromisePromise describeReservedDBInstancesAsync(array $args = [])
* @method AwsResult describeReservedDBInstancesOfferings(array $args = [])
* @method GuzzleHttpPromisePromise describeReservedDBInstancesOfferingsAsync(array $args = [])
* @method AwsResult downloadDBLogFilePortion(array $args = [])
* @method GuzzleHttpPromisePromise downloadDBLogFilePortionAsync(array $args = [])
* @method AwsResult listTagsForResource(array $args = [])
* @method GuzzleHttpPromisePromise listTagsForResourceAsync(array $args = [])
* @method AwsResult modifyDBInstance(array $args = [])
* @method GuzzleHttpPromisePromise modifyDBInstanceAsync(array $args = [])
* @method AwsResult modifyDBParameterGroup(array $args = [])
* @method GuzzleHttpPromisePromise modifyDBParameterGroupAsync(array $args = [])
* @method AwsResult modifyDBSubnetGroup(array $args = [])
* @method GuzzleHttpPromisePromise modifyDBSubnetGroupAsync(array $args = [])
* @method AwsResult modifyEventSubscription(array $args = [])
* @method GuzzleHttpPromisePromise modifyEventSubscriptionAsync(array $args = [])
* @method AwsResult modifyOptionGroup(array $args = [])
* @method GuzzleHttpPromisePromise modifyOptionGroupAsync(array $args = [])
* @method AwsResult promoteReadReplica(array $args = [])
* @method GuzzleHttpPromisePromise promoteReadReplicaAsync(array $args = [])
* @method AwsResult purchaseReservedDBInstancesOffering(array $args = [])
* @method GuzzleHttpPromisePromise purchaseReservedDBInstancesOfferingAsync(array $args = [])
* @method AwsResult rebootDBInstance(array $args = [])
* @method GuzzleHttpPromisePromise rebootDBInstanceAsync(array $args = [])
* @method AwsResult removeSourceIdentifierFromSubscription(array $args = [])
* @method GuzzleHttpPromisePromise removeSourceIdentifierFromSubscriptionAsync(array $args = [])
* @method AwsResult removeTagsFromResource(array $args = [])
* @method GuzzleHttpPromisePromise removeTagsFromResourceAsync(array $args = [])
* @method AwsResult resetDBParameterGroup(array $args = [])
* @method GuzzleHttpPromisePromise resetDBParameterGroupAsync(array $args = [])
* @method AwsResult restoreDBInstanceFromDBSnapshot(array $args = [])
* @method GuzzleHttpPromisePromise restoreDBInstanceFromDBSnapshotAsync(array $args = [])
* @method AwsResult restoreDBInstanceToPointInTime(array $args = [])
* @method GuzzleHttpPromisePromise restoreDBInstanceToPointInTimeAsync(array $args = [])
* @method AwsResult revokeDBSecurityGroupIngress(array $args = [])
* @method GuzzleHttpPromisePromise revokeDBSecurityGroupIngressAsync(array $args = [])
* @method AwsResult addRoleToDBCluster(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise addRoleToDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult addRoleToDBInstance(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise addRoleToDBInstanceAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult applyPendingMaintenanceAction(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise applyPendingMaintenanceActionAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult backtrackDBCluster(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise backtrackDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult cancelExportTask(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise cancelExportTaskAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult copyDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise copyDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult copyDBClusterSnapshot(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise copyDBClusterSnapshotAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult createCustomAvailabilityZone(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise createCustomAvailabilityZoneAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult createDBCluster(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise createDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult createDBClusterEndpoint(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise createDBClusterEndpointAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult createDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise createDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult createDBClusterSnapshot(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise createDBClusterSnapshotAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult createDBProxy(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise createDBProxyAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult createGlobalCluster(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise createGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult deleteCustomAvailabilityZone(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise deleteCustomAvailabilityZoneAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult deleteDBCluster(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise deleteDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult deleteDBClusterEndpoint(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise deleteDBClusterEndpointAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult deleteDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise deleteDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult deleteDBClusterSnapshot(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise deleteDBClusterSnapshotAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult deleteDBInstanceAutomatedBackup(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise deleteDBInstanceAutomatedBackupAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult deleteDBProxy(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise deleteDBProxyAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult deleteGlobalCluster(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise deleteGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult deleteInstallationMedia(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise deleteInstallationMediaAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult deregisterDBProxyTargets(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise deregisterDBProxyTargetsAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeAccountAttributes(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeAccountAttributesAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeCertificates(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeCertificatesAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeCustomAvailabilityZones(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeCustomAvailabilityZonesAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeDBClusterBacktracks(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeDBClusterBacktracksAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeDBClusterEndpoints(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeDBClusterEndpointsAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeDBClusterParameterGroups(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeDBClusterParameterGroupsAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeDBClusterParameters(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeDBClusterParametersAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeDBClusterSnapshotAttributes(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeDBClusterSnapshotAttributesAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeDBClusterSnapshots(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeDBClusterSnapshotsAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeDBClusters(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeDBClustersAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeDBInstanceAutomatedBackups(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeDBInstanceAutomatedBackupsAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeDBProxies(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeDBProxiesAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeDBProxyTargetGroups(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeDBProxyTargetGroupsAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeDBProxyTargets(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeDBProxyTargetsAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeDBSnapshotAttributes(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeDBSnapshotAttributesAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeEngineDefaultClusterParameters(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeEngineDefaultClusterParametersAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeExportTasks(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeExportTasksAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeGlobalClusters(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeGlobalClustersAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeInstallationMedia(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeInstallationMediaAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describePendingMaintenanceActions(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describePendingMaintenanceActionsAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeSourceRegions(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeSourceRegionsAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult describeValidDBInstanceModifications(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise describeValidDBInstanceModificationsAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult failoverDBCluster(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise failoverDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult importInstallationMedia(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise importInstallationMediaAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult modifyCertificates(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise modifyCertificatesAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult modifyCurrentDBClusterCapacity(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise modifyCurrentDBClusterCapacityAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult modifyDBCluster(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise modifyDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult modifyDBClusterEndpoint(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise modifyDBClusterEndpointAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult modifyDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise modifyDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult modifyDBClusterSnapshotAttribute(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise modifyDBClusterSnapshotAttributeAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult modifyDBProxy(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise modifyDBProxyAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult modifyDBProxyTargetGroup(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise modifyDBProxyTargetGroupAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult modifyDBSnapshot(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise modifyDBSnapshotAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult modifyDBSnapshotAttribute(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise modifyDBSnapshotAttributeAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult modifyGlobalCluster(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise modifyGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult promoteReadReplicaDBCluster(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise promoteReadReplicaDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult registerDBProxyTargets(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise registerDBProxyTargetsAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult removeFromGlobalCluster(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise removeFromGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult removeRoleFromDBCluster(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise removeRoleFromDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult removeRoleFromDBInstance(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise removeRoleFromDBInstanceAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult resetDBClusterParameterGroup(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise resetDBClusterParameterGroupAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult restoreDBClusterFromS3(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise restoreDBClusterFromS3Async(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult restoreDBClusterFromSnapshot(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise restoreDBClusterFromSnapshotAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult restoreDBClusterToPointInTime(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise restoreDBClusterToPointInTimeAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult restoreDBInstanceFromS3(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise restoreDBInstanceFromS3Async(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult startActivityStream(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise startActivityStreamAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult startDBCluster(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise startDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult startDBInstance(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise startDBInstanceAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult startExportTask(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise startExportTaskAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult stopActivityStream(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise stopActivityStreamAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult stopDBCluster(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise stopDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
* @method AwsResult stopDBInstance(array $args = []) (supported in versions 2014-10-31)
* @method GuzzleHttpPromisePromise stopDBInstanceAsync(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'
],
'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)
];
}
}