1. AcsClient インスタンスの作成
    $clientProfile = DefaultProfile::getProfile(
    $mps_region_id,                   # The ID of the region in which you use the ApsaraVideo Media Processing (MPS) service.
    $access_key_id、# あなたのAccessKey ID。
    $access_key_secret# AccessKey secret。
    );
    $client = new DefaultAcsClient($clientProfile);
  2. Create a request and set the required parameters.
    $request = new Mts\SubmitJobsRequest();
    $request->setAcceptFormat('JSON');
  3. Initiate the request and obtain the response.
    $response = $client->getAcsResponse($request);
    print 'PipelineName is:'。 $response->{'PipelineList'}->{'Pipeline'}[0]->{'Name'} 。 "\n";
    print 'PipelineId is:' . $response->{'PipelineList'}->{'Pipeline'}[0]->{'Id'} 。 "\n";
サンプルコード
<?php
include_once 'aliyun-openapi-php-sdk/aliyun-php-sdk-core/Config.php';
Mts\Request\V20140618をMtsとして使用します。$access_key_id = 'xxx';
$access_key_secret = 'xxx';
$mps_region_ids=配列 ('cn-hangzhou' 、'cn-beij' 、'cn-shenzhen' 、
                            'cn-shanghai', 'cn-hongkong', 'us-west-1',
                            'ap-southeast-1', 'ap-northeast-1', 'eu-central-1',
                            'ap-south-1 ');
foreach ($mps_region_idとして $mps_region_ids) {
    print 'region is:'です。 $mps_region_idです。 "\n";
    # DefaultAcsClientインスタンスを作成して初期化します。
    $clientProfile = DefaultProfile::getProfile(
        $mps_region_id,                   # The ID of the region in which you use the MPS service.
        $access_key_id、# あなたのAccessKey ID。
        $access_key_secret                # Your AccessKey secret.
    );
    $client = new DefaultAcsClient($clientProfile);
    # リクエストを作成してパラメーターを設定します。
    $request = new Mts\SearchPipelineRequest();
    # リクエストを開始し、レスポンスを処理します。
    try {
        $response = $client->getAcsResponse($request);
        print 'PipelineName is:'。 $response->{'PipelineList'}->{'Pipeline'}[0]->{'Name'} 。 "\n";
        print 'PipelineId is:' . $response->{'PipelineList'}->{'Pipeline'}[0]->{'Id'} 。 "\n";
    } catch(ServerException $e) {
        「エラー: 」を印刷します。 $e->getErrorCode() 。 'メッセージ:'. $e->getMessage() 。 "\n";
    } catch(ClientException $e) {
        「エラー: 」を印刷します。 $e->getErrorCode() . 'メッセージ:'. $e->getMessage() 。 "\n";
    }
}