in src/Rds/RdsClient.php [371:437]
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)
];
}