在使用RAM账号调用 API前,需要主账号通过创建授权策略对RAM账号进行授权。

可授权的地址标准化接口

下表列举了地址标准化中可授权的API及其描述方式:

API 资源描述
ClassifyPOI acs:address-purification::$accountid:*
CorrectAddress acs:address-purification::$accountid:*
ExtractAddress acs:address-purification::$accountid:*
ExtractName acs:address-purification::$accountid:*
ExtractPhone acs:address-purification::$accountid:*
GetAddressDivisionCode acs:address-purification::$accountid:*
GetAddressSimilarity acs:address-purification::$accountid:*
GetZipcode acs:address-purification::$accountid:*
StructureAddress acs:address-purification::$accountid:*
CompleteAddress acs:address-purification::$accountid:*
ExtractExpress acs:address-purification::$accountid:*
PredictPOI acs:address-purification::$accountid:*
GetAddressGeocode acs:address-purification::$accountid:*
TransferCoord acs:address-purification::$accountid:*
GetAddressSearch acs:address-purification::$accountid:*
GetInputSearch acs:address-purification::$accountid:*
GetAddressEvaluate acs:address-purification::$accountid:*
* acs:address-purification::$accountid:*

地址结构化授权示例

{ "Statement": [ { "Effect": "Allow", "Action": "address-purification:StructureAddress", "Resource": "acs:address-purification:*:*:*" } ], "Version": "1" }

地址抽取授权示例

{ "Statement": [ { "Effect": "Allow", "Action": "address-purification:ExtractAddress", "Resource": "acs:address-purification:*:*:*" } ], "Version": "1" }