Skip to content

Commit

Permalink
Updated endpoints & improved docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aliguyong authored and JacksonTian committed Dec 30, 2019
1 parent 4bbe05e commit e18c5d7
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 27 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 1.5.20 - 2019-12-30
- Improved Docs.
- Updated Endpoints.

## 1.5.19 - 2019-12-17
- Updated Endpoints.

Expand Down
1 change: 1 addition & 0 deletions docs/en-US/3-Request.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ try {
->serviceCode('cs') // Set ServiceCode for addressing, optional
->endpointType('openAPI') // Set type, optional
->method('GET') // Set request method
->scheme('https') // Specify scheme, default is HTTP
->host('cs.aliyun.com') // Location Service will not be enabled if the host is specified. For example, service with a Certification type-Bearer Token should be specified
->pathPattern('/clusters/[ClusterId]/services') // Specify path rule with ROA-style
->connectTimeout(0.1) // 10 milliseconds of connection timeout. When the units < 1, units will be converted to milliseconds automatically
Expand Down
1 change: 1 addition & 0 deletions docs/zh-CN/3-Request.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ try {
->serviceCode('cs') // 设置 ServiceCode 以备寻址,非必须
->endpointType('openAPI') // 设置类型,非必须
->method('GET') // 指定请求方式
->scheme('https') // 指定请求方案,默认HTTP
->host('cs.aliyun.com') // 指定域名则不会寻址,如认证方式为 Bearer Token 的服务则需要指定
->pathPattern('/clusters/[ClusterId]/services') // 指定ROA风格路径规则
->connectTimeout(0.1) // 设置连接超时10毫秒,当单位小于1,则自动转换为毫秒
Expand Down
2 changes: 1 addition & 1 deletion src/AlibabaCloud.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AlibabaCloud
/**
* Version of the Client
*/
const VERSION = '1.5.19';
const VERSION = '1.5.20';

/**
* This static method can directly call the specific service.
Expand Down
95 changes: 69 additions & 26 deletions src/Config/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -1279,31 +1279,33 @@
],
'ots' =>
[
'us-east-1' => 'ots.us-east-1.aliyuncs.com',
'cn-hongkong' => 'ots.cn-hongkong.aliyuncs.com',
'cn-qingdao-cm9' => 'ots-pop.aliyuncs.com',
'cn-shanghai' => 'ots.cn-shanghai.aliyuncs.com',
'cn-shenzhen-inner' => 'ots-pop.aliyuncs.com',
'us-west-1' => 'ots.us-west-1.aliyuncs.com',
'cn-shanghai-inner' => 'ots-pop.aliyuncs.com',
'cn-hangzhou' => 'ots.cn-hangzhou.aliyuncs.com',
'cn-beijing-inner' => 'ots-pop.aliyuncs.com',
'cn-shenzhen' => 'ots.cn-shenzhen.aliyuncs.com',
'cn-qingdao' => 'ots-pop.aliyuncs.com',
'cn-beijing' => 'ots.cn-beijing.aliyuncs.com',
'cn-hangzhou-d' => 'ots-pop.aliyuncs.com',
'cn-shanghai-et2-b01' => 'ots-pop.aliyuncs.com',
'ap-southeast-1' => 'ots.ap-southeast-1.aliyuncs.com',
'cn-zhangjiakou' => 'ots.cn-zhangjiakou.aliyuncs.com',
'cn-huhehaote' => 'ots.cn-huhehaote.aliyuncs.com',
'ap-southeast-2' => 'ots.ap-southeast-2.aliyuncs.com',
'ap-southeast-3' => 'ots.ap-southeast-3.aliyuncs.com',
'ap-southeast-5' => 'ots.ap-southeast-5.aliyuncs.com',
'ap-northeast-1' => 'ots.ap-northeast-1.aliyuncs.com',
'eu-west-1' => 'ots.eu-west-1.aliyuncs.com',
'eu-central-1' => 'ots.eu-central-1.aliyuncs.com',
'me-east-1' => 'ots.me-east-1.aliyuncs.com',
'ap-south-1' => 'ots.ap-south-1.aliyuncs.com',
'us-east-1' => 'ots.us-east-1.aliyuncs.com',
'cn-hongkong' => 'ots.cn-hongkong.aliyuncs.com',
'cn-qingdao-cm9' => 'ots-pop.aliyuncs.com',
'cn-shanghai' => 'ots.cn-shanghai.aliyuncs.com',
'cn-shenzhen-inner' => 'ots-pop.aliyuncs.com',
'us-west-1' => 'ots.us-west-1.aliyuncs.com',
'cn-shanghai-inner' => 'ots-pop.aliyuncs.com',
'cn-hangzhou' => 'ots.cn-hangzhou.aliyuncs.com',
'cn-beijing-inner' => 'ots-pop.aliyuncs.com',
'cn-shenzhen' => 'ots.cn-shenzhen.aliyuncs.com',
'cn-qingdao' => 'ots.cn-qingdao.aliyuncs.com',
'cn-beijing' => 'ots.cn-beijing.aliyuncs.com',
'cn-hangzhou-d' => 'ots-pop.aliyuncs.com',
'cn-shanghai-et2-b01' => 'ots-pop.aliyuncs.com',
'ap-southeast-1' => 'ots.ap-southeast-1.aliyuncs.com',
'cn-zhangjiakou' => 'ots.cn-zhangjiakou.aliyuncs.com',
'cn-huhehaote' => 'ots.cn-huhehaote.aliyuncs.com',
'ap-southeast-2' => 'ots.ap-southeast-2.aliyuncs.com',
'ap-southeast-3' => 'ots.ap-southeast-3.aliyuncs.com',
'ap-southeast-5' => 'ots.ap-southeast-5.aliyuncs.com',
'ap-northeast-1' => 'ots.ap-northeast-1.aliyuncs.com',
'eu-west-1' => 'ots.eu-west-1.aliyuncs.com',
'eu-central-1' => 'ots.eu-central-1.aliyuncs.com',
'me-east-1' => 'ots.me-east-1.aliyuncs.com',
'ap-south-1' => 'ots.ap-south-1.aliyuncs.com',
'cn-chengdu' => 'ots.cn-chengdu.aliyuncs.com',
'cn-shanghai-finance-1' => 'ots.cn-shanghai-finance-1.aliyuncs.com',
],
'oss' =>
[
Expand Down Expand Up @@ -1776,6 +1778,7 @@
'cn-hangzhou-finance' => 'polardb.aliyuncs.com',
'cn-shanghai-finance-1' => 'polardb.aliyuncs.com',
'eu-central-1' => 'polardb.eu-central-1.aliyuncs.com',
'cn-shenzhen-finance-1' => 'polardb.aliyuncs.com',
],
'actiontrail' =>
[
Expand Down Expand Up @@ -1872,6 +1875,8 @@
'ap-southeast-1' => 'hsm.aliyuncs.com',
'cn-shanghai-finance-1' => 'hsm.aliyuncs.com',
'cn-shenzhen-finance-1' => 'hsm.aliyuncs.com',
'cn-hangzhou-finance' => 'hsm.aliyuncs.com',
'cn-north-2-gov-1' => 'hsm.aliyuncs.com',
],
'petadata' =>
[
Expand Down Expand Up @@ -2350,6 +2355,7 @@
'ap-southeast-5' => 'privatelink.ap-southeast-5.aliyuncs.com',
'ap-northeast-1' => 'privatelink.ap-northeast-1.aliyuncs.com',
'ap-south-1' => 'privatelink.ap-south-1.aliyuncs.com',
'cn-shenzhen' => 'privatelink.cn-shenzhen.aliyuncs.com',
],
'batchcomputenew' =>
[
Expand Down Expand Up @@ -2415,6 +2421,12 @@
'eu-west-1' => 'oos.eu-west-1.aliyuncs.com',
'eu-central-1' => 'oos.eu-central-1.aliyuncs.com',
'ap-south-1' => 'oos.ap-south-1.aliyuncs.com',
'cn-chengdu' => 'oos.cn-chengdu.aliyuncs.com',
'ap-southeast-1' => 'oos.ap-southeast-1.aliyuncs.com',
'ap-southeast-2' => 'oos.ap-southeast-2.aliyuncs.com',
'ap-southeast-3' => 'oos.ap-southeast-3.aliyuncs.com',
'ap-southeast-5' => 'oos.ap-southeast-5.aliyuncs.com',
'ap-northeast-1' => 'oos.ap-northeast-1.aliyuncs.com',
],
'fnf' =>
[
Expand Down Expand Up @@ -2596,6 +2608,8 @@
'cn-shanghai-finance-1' => 'yundun-dbaudit.aliyuncs.com',
'cn-shenzhen-finance-1' => 'yundun-dbaudit.aliyuncs.com',
'cn-north-2-gov-1' => 'yundun-dbaudit.aliyuncs.com',
'cn-chengdu' => 'yundun-dbaudit.aliyuncs.com',
'eu-west-1' => 'yundun-dbaudit.aliyuncs.com',
],
'bssopenapi' =>
[
Expand Down Expand Up @@ -2765,6 +2779,8 @@
'cn-huhehaote' => 'gws.cn-huhehaote.aliyuncs.com',
'cn-hangzhou' => 'gws.cn-hangzhou.aliyuncs.com',
'cn-shenzhen' => 'gws.cn-shenzhen.aliyuncs.com',
'cn-chengdu' => 'gws.cn-chengdu.aliyuncs.com',
'ap-southeast-1' => 'gws.ap-southeast-1.aliyuncs.com',
],
'gds' =>
[
Expand All @@ -2774,6 +2790,7 @@
'cn-hangzhou' => 'gdb-api.aliyuncs.com',
'cn-shanghai' => 'gdb-api.aliyuncs.com',
'cn-shenzhen' => 'gdb-api.aliyuncs.com',
'ap-southeast-5' => 'gdb-api.ap-southeast-5.aliyuncs.com',
],
'eais' =>
[
Expand Down Expand Up @@ -2864,7 +2881,7 @@
],
'gaplus' =>
[
'cn-hangzhou' => 'http://ga.cn-hangzhou.aliyuncs.com/',
'cn-hangzhou' => 'ga.cn-hangzhou.aliyuncs.com',
],
'datav' =>
[
Expand Down Expand Up @@ -2906,5 +2923,31 @@
[
'cn-shanghai' => 'facebody.cn-shanghai.aliyuncs.com',
],
'voicebot' =>
[
'cn-hangzhou' => 'voicenavigator.cn-hangzhou.aliyuncs.com',
'cn-shanghai' => 'voicenavigator.cn-shanghai.aliyuncs.com',
],
'dyiot' =>
[
'cn-hangzhou' => 'dyiotapi.aliyuncs.com',
],
'drp' =>
[
'cn-hangzhou' => 'drp-share.cn-hangzhou.aliyuncs.com',
],
'uem' =>
[
'cn-hangzhou' => 'uem.aliyuncs.com',
],
'outboundbot' =>
[
'cn-hangzhou' => 'outboundbot.cn-hangzhou.aliyuncs.com',
'cn-shanghai' => 'outboundbot.cn-shanghai.aliyuncs.com',
],
'hcs_hgw' =>
[
'cn-shanghai' => 'hgw.cn-shanghai.aliyuncs.com',
],
],
];

0 comments on commit e18c5d7

Please sign in to comment.