diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/iotcc/2021-05-13 | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/en_us/iotcc/2021-05-13')
| -rw-r--r-- | data/en_us/iotcc/2021-05-13/api-docs.php | 17290 |
1 files changed, 8525 insertions, 8765 deletions
diff --git a/data/en_us/iotcc/2021-05-13/api-docs.php b/data/en_us/iotcc/2021-05-13/api-docs.php index b1ddf85..7501739 100644 --- a/data/en_us/iotcc/2021-05-13/api-docs.php +++ b/data/en_us/iotcc/2021-05-13/api-docs.php @@ -1,242 +1,111 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'IoTCC', - 'version' => '2021-05-13', - ], + 'info' => ['style' => 'RPC', 'product' => 'IoTCC', 'version' => '2021-05-13'], 'directories' => [ [ - 'id' => 171122, - 'title' => null, + 'children' => ['OpenIoTCloudConnectorService'], 'type' => 'directory', - 'children' => [ - 'OpenIoTCloudConnectorService', - ], + 'title' => 'Service activation', ], [ - 'id' => 181681, - 'title' => null, + 'children' => ['ListAPNs'], 'type' => 'directory', - 'children' => [ - 'ListRegions', - ], + 'title' => 'APN', ], [ - 'id' => 171128, - 'title' => null, + 'children' => ['CreateIoTCloudConnector', 'UpdateIoTCloudConnectorAttribute', 'ListIoTCloudConnectors', 'ListIoTCloudConnectorAvailableZones', 'AssociateVSwitchWithIoTCloudConnector', 'DissociateVSwitchFromIoTCloudConnector', 'ListIoTCloudConnectorEIPs', 'DeleteIoTCloudConnector'], 'type' => 'directory', - 'children' => [ - 'ListAPNs', - ], + 'title' => 'Cloud connectors', ], [ - 'id' => 172548, - 'title' => null, + 'children' => ['CreateConnectionPool', 'AddCidrToConnectionPool', 'UpdateConnectionPoolAttribute', 'ListConnectionPools', 'ListConnectionPoolIps', 'GetStsInfoAndOssPath', 'AssociateIpWithConnectionPool', 'DissociateIpFromConnectionPool', 'GetConnectionPoolIpOperationResult', 'ListConnectionPoolAllIps', 'DeleteConnectionPool'], 'type' => 'directory', - 'children' => [ - 'CreateIoTCloudConnector', - 'UpdateIoTCloudConnectorAttribute', - 'ListIoTCloudConnectors', - 'ListIoTCloudConnectorAvailableZones', - 'AssociateVSwitchWithIoTCloudConnector', - 'DissociateVSwitchFromIoTCloudConnector', - 'ListIoTCloudConnectorEIPs', - 'DeleteIoTCloudConnector', - ], + 'title' => 'Connection pools', ], [ - 'id' => 171130, - 'title' => null, + 'children' => ['CreateAuthorizationRule', 'CreateAuthorizationRules', 'UpdateAuthorizationRuleAttribute', 'ListAuthorizationRules', 'DeleteAuthorizationRule'], 'type' => 'directory', - 'children' => [ - 'CreateConnectionPool', - 'AddCidrToConnectionPool', - 'UpdateConnectionPoolAttribute', - 'ListConnectionPools', - 'ListConnectionPoolIps', - 'GetStsInfoAndOssPath', - 'AssociateIpWithConnectionPool', - 'DissociateIpFromConnectionPool', - 'GetConnectionPoolIpOperationResult', - 'ListConnectionPoolAllIps', - 'DeleteConnectionPool', - ], + 'title' => 'Authorization rules', ], [ - 'id' => 171124, - 'title' => null, + 'children' => ['CreateIoTCloudConnectorGroup', 'AddIoTCloudConnectorToGroup', 'UpdateIoTCloudConnectorGroupAttribute', 'ListIoTCloudConnectorGroups', 'RemoveIoTCloudConnectorFromGroup', 'DeleteIoTCloudConnectorGroup'], 'type' => 'directory', - 'children' => [ - 'CreateAuthorizationRule', - 'CreateAuthorizationRules', - 'UpdateAuthorizationRuleAttribute', - 'ListAuthorizationRules', - 'DeleteAuthorizationRule', - ], + 'title' => 'Instance groups', ], [ - 'id' => 172549, - 'title' => null, + 'children' => ['CreateGroupAuthorizationRule', 'UpdateGroupAuthorizationRuleAttribute', 'ListGroupAuthorizationRules', 'DeleteGroupAuthorizationRule'], 'type' => 'directory', - 'children' => [ - 'CreateIoTCloudConnectorGroup', - 'AddIoTCloudConnectorToGroup', - 'UpdateIoTCloudConnectorGroupAttribute', - 'ListIoTCloudConnectorGroups', - 'RemoveIoTCloudConnectorFromGroup', - 'DeleteIoTCloudConnectorGroup', - ], - ], - [ - 'id' => 181641, - 'title' => null, - 'type' => 'directory', - 'children' => [ - 'CreateGroupAuthorizationRule', - 'UpdateGroupAuthorizationRuleAttribute', - 'ListGroupAuthorizationRules', - 'DeleteGroupAuthorizationRule', - ], + 'title' => 'Instance group authorization rules', ], [ - 'id' => 181682, - 'title' => null, + 'children' => ['GrantVirtualBorderRouter'], 'type' => 'directory', - 'children' => [ - 'GrantVirtualBorderRouter', - ], + 'title' => 'VBR authorization', ], [ - 'id' => 181683, - 'title' => null, + 'children' => ['CreateDNSServiceRule', 'UpdateDNSServiceRuleAttribute', 'ListDNSServiceRules', 'DeleteDNSServiceRule', 'MoveAuthorizationRuleToDNSService'], 'type' => 'directory', - 'children' => [ - 'CreateDNSServiceRule', - 'UpdateDNSServiceRuleAttribute', - 'ListDNSServiceRules', - 'DeleteDNSServiceRule', - 'MoveAuthorizationRuleToDNSService', - ], + 'title' => 'DNS authorization rules', ], [ - 'id' => 181684, - 'title' => null, + 'children' => ['CreateGroupDNSServiceRule', 'UpdateGroupDNSServiceRuleAttribute', 'ListGroupDNSServiceRules', 'MoveGroupAuthorizationRuleToDNSService', 'DeleteGroupDNSServiceRule'], 'type' => 'directory', - 'children' => [ - 'CreateGroupDNSServiceRule', - 'UpdateGroupDNSServiceRuleAttribute', - 'ListGroupDNSServiceRules', - 'MoveGroupAuthorizationRuleToDNSService', - 'DeleteGroupDNSServiceRule', - ], + 'title' => 'Instance group DNS authorization rules', ], [ - 'id' => 181685, - 'title' => null, + 'children' => ['EnableIoTCloudConnectorAccessLog', 'DisableIoTCloudConnectorAccessLog', 'GetIoTCloudConnectorAccessLog'], 'type' => 'directory', - 'children' => [ - 'EnableIoTCloudConnectorAccessLog', - 'DisableIoTCloudConnectorAccessLog', - 'GetIoTCloudConnectorAccessLog', - ], + 'title' => 'Access logs', ], [ - 'id' => 171117, - 'title' => null, + 'children' => ['UpdateServiceAttribute', 'ListService'], 'type' => 'directory', - 'children' => [ - 'CreateService', - 'UpdateServiceAttribute', - 'ListService', - 'DeleteService', - ], + 'title' => 'Per-application statistics service', ], [ - 'id' => 181686, - 'title' => null, + 'children' => ['CreateServiceEntry', 'UpdateServiceEntryAttribute', 'ListServiceEntries', 'DeleteServiceEntry'], 'type' => 'directory', - 'children' => [ - 'CreateServiceEntry', - 'UpdateServiceEntryAttribute', - 'ListServiceEntries', - 'DeleteServiceEntry', - ], + 'title' => 'Application entries', ], [ - 'id' => 181642, - 'title' => null, + 'children' => ['SubmitDiagnoseTaskForSingleCard', 'GetDiagnoseResultForSingleCard', 'ListDiagnoseInfoForSingleCard'], 'type' => 'directory', - 'children' => [ - 'SubmitDiagnoseTaskForSingleCard', - 'GetDiagnoseResultForSingleCard', - 'ListDiagnoseInfoForSingleCard', - ], + 'title' => 'Network diagnostics', ], [ - 'id' => 181687, - 'title' => null, + 'children' => ['CreateIoTCloudConnectorBackhaulRoute', 'ListIoTCoudConnectorBackhaulRoute', 'DeleteIoTCloudConnetorBackhaulRoute'], 'type' => 'directory', - 'children' => [ - 'CreateIoTCloudConnectorBackhaulRoute', - 'ListIoTCoudConnectorBackhaulRoute', - 'DeleteIoTCloudConnetorBackhaulRoute', - ], + 'title' => 'Return routes', ], [ - 'id' => 181688, - 'title' => null, + 'children' => ['CreateIpMappingRule', 'UpdateIpMappingRule', 'ListIpMappingRules', 'DeleteIpMappingRule'], 'type' => 'directory', - 'children' => [ - 'CreateIpMappingRule', - 'UpdateIpMappingRule', - 'ListIpMappingRules', - 'DeleteIpMappingRule', - ], + 'title' => 'Authorization rule IP redirection', ], [ - 'id' => 181689, - 'title' => null, + 'children' => ['CreateGroupIpMappingRule', 'UpdateGroupIpMappingRule', 'ListGroupIpMappingRules', 'DeleteGroupIpMappingRule'], 'type' => 'directory', - 'children' => [ - 'CreateGroupIpMappingRule', - 'UpdateGroupIpMappingRule', - 'ListGroupIpMappingRules', - 'DeleteGroupIpMappingRule', - ], + 'title' => 'Instance group authorization rule IP redirection', ], [ - 'id' => 181690, - 'title' => null, + 'children' => ['ConfirmIoTCloudConnector', 'RevertIoTCloudConnector'], 'type' => 'directory', - 'children' => [ - 'ConfirmIoTCloudConnector', - 'RevertIoTCloudConnector', - ], + 'title' => 'Instance transfer', ], [ - 'id' => 171254, - 'title' => null, + 'children' => ['DeleteAuthorizationRules', 'CreateService', 'DeleteService', 'ListRegions'], 'type' => 'directory', - 'children' => [ - 'DeleteAuthorizationRules', - ], + 'title' => 'Others', ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'OpenIoTCloudConnectorService' => [ - 'summary' => 'iotcc开通服务', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddCidrToConnectionPool' => [ + 'summary' => 'Add CIDR blocks to a connection pool. This method is primarily used for dynamic IP scenarios and differs from adding individual card IPs.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -248,61 +117,121 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'IoTCloudConnectorId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID of the cloud connector.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], + ], + [ + 'name' => 'ConnectionPoolId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the connection address pool.', 'type' => 'string', 'required' => true, 'example' => 'cp-bp11234abctmno0hdq****', 'title' => ''], + ], + [ + 'name' => 'Cidrs', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + 'description' => 'The CIDR blocks to be associated with the connection address pool.', + 'type' => 'array', + 'items' => ['description' => 'The CIDR blocks to add to the connection address pool. A maximum of 20 CIDR blocks are supported.'."\n" + ."\n" + .'Multiple CIDR blocks are separated using ampersands (&), in the format `Cidrs.1=CIDR block 1&Cidrs.2=CIDR block 2`.', 'type' => 'string', 'required' => false, 'example' => 'Cidrs.1=192.168.1.32/24&Cidrs.2=10.0.10.3/24', 'title' => ''], + 'required' => false, + 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['description' => 'A client token used to ensure the idempotence of the request.'."\n" + ."\n" + .'The client generates this parameter value, which must be unique across different requests and contain a maximum of 64 ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], + ], + [ + 'name' => 'DryRun', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to perform only a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without adding the CIDR block. The system checks whether required parameters are specified, whether the request format is valid, and whether business limits are met. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. If the check passes, the CIDR block is added immediately.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID where the cloud connector instance resides.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) API to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'OperationDenied.IoTCloudConnectorServiceOpened', - 'errorMessage' => 'The operation is not allowed because of iotcc service have opened.', - ], + ['errorCode' => 'IllegalParam.Cidrs', 'errorMessage' => 'The param of Cidrs is too many, only most 2 can be supported at a time.', 'description' => ''], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['errorCode' => 'ResourceNotFound.ConnectionPool', 'errorMessage' => 'The param of ConnectionPoolId is illegal.', 'description' => ''], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'IllegalParam.ConnectionPoolId', 'errorMessage' => 'The param of ConnectionPoolId is illegal.', 'description' => ''], + ['errorCode' => 'IllegalParamSize.Cidr', 'errorMessage' => 'The param size of Cidr is illegal, only support one.', 'description' => ''], + ['errorCode' => 'IncorrectStatus.IP', 'errorMessage' => 'The status of IP is incorrect.', 'description' => ''], + ['errorCode' => 'OperationDenied.GrantedInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of granted instance not support.', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","errorExample":""},{"type":"xml","example":"<OpenIoTCloudConnectorServiceResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n</OpenIoTCloudConnectorServiceResponse>","errorExample":""}]', - ], - 'ListRegions' => [ - 'summary' => '查询CCIoT支持Region', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","type":"json"}]', + 'title' => 'Add CIDR Blocks to Connection Pool', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:38.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-02-25T07:54:45.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-02-25T07:54:45.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-01-20T04:23:20.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-12-20T08:35:35.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-12-16T16:15:30.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddCidrToConnectionPool'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:AddCidrToConnectionPool', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], ], + ], + 'AddIoTCloudConnectorToGroup' => [ + 'summary' => 'Add a cloud connector instance to an instance group.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -311,96 +240,107 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'AcceptLanguage', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh-CN', + 'description' => 'The ID of the cloud connector instance. Valid values for **N**: **1** to **20**.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the cloud connector instance. Valid values for **N**: **1** to **20**.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], + 'required' => true, + 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], [ + 'name' => 'IoTCloudConnectorGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The instance group ID.', 'type' => 'string', 'required' => true, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['description' => 'The client token used to ensure the idempotence of the request.'."\n" + ."\n" + .'This value is generated by the client and must be unique among different requests. It can contain up to 64 ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], + ], + [ + 'name' => 'DryRun', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to perform a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without adding the cloud connector instance to the instance group. The system checks whether required parameters are specified, whether the request format is valid, and whether business limits are exceeded. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. If the check passes, an HTTP 2xx status code is returned and the operation is performed.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the instance group.'."\n" + ."\n" + .'You can call the [DescribeRegions](~~36063~~) API to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The list of returned information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], - 'Regions' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'LocalName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'RegionEndpoint' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cciot.cn-hangzhou.aliyuncs.com', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], + ['errorCode' => 'ResourceAlreadyAssociated.CloudConnector', 'errorMessage' => 'The specified resource of CloudConnector is already associated.', 'description' => ''], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"Regions\\": [\\n {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"LocalName\\": \\"华东1(杭州)\\",\\n \\"RegionEndpoint\\": \\"cciot.cn-hangzhou.aliyuncs.com\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListRegionsResponse>\\n <RequestId>79FAFC4C-6251-5C2D-818A-FD26FFFF10A5</RequestId>\\n <Regions>\\n <RegionId>cn-hangzhou</RegionId>\\n <RegionEndpoint>cciot.cn-hangzhou.aliyuncs.com</RegionEndpoint>\\n <LocalName>华东1(杭州)</LocalName>\\n </Regions>\\n <Regions>\\n <RegionId>cn-shanghai</RegionId>\\n <RegionEndpoint>cciot.cn-shanghai.aliyuncs.com</RegionEndpoint>\\n <LocalName>华东2(上海)</LocalName>\\n </Regions>\\n <Regions>\\n <RegionId>cn-qingdao</RegionId>\\n <RegionEndpoint>cciot.cn-qingdao.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北1(青岛)</LocalName>\\n </Regions>\\n <Regions>\\n <RegionId>cn-beijing</RegionId>\\n <RegionEndpoint>cciot.cn-beijing.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北2(北京)</LocalName>\\n </Regions>\\n <Regions>\\n <RegionId>cn-huhehaote</RegionId>\\n <RegionEndpoint>cciot.cn-huhehaote.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北5(呼和浩特)</LocalName>\\n </Regions>\\n <Regions>\\n <RegionId>cn-wulanchabu</RegionId>\\n <RegionEndpoint>cciot.cn-wulanchabu.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北6(乌兰察布)</LocalName>\\n </Regions>\\n <Regions>\\n <RegionId>cn-shenzhen</RegionId>\\n <RegionEndpoint>cciot.cn-shenzhen.aliyuncs.com</RegionEndpoint>\\n <LocalName>华南1(深圳)</LocalName>\\n </Regions>\\n <Regions>\\n <RegionId>cn-guangzhou</RegionId>\\n <RegionEndpoint>cciot.cn-guangzhou.aliyuncs.com</RegionEndpoint>\\n <LocalName>华南3(广州)</LocalName>\\n </Regions>\\n <Regions>\\n <RegionId>cn-chengdu</RegionId>\\n <RegionEndpoint>cciot.cn-chengdu.aliyuncs.com</RegionEndpoint>\\n <LocalName>西南1(成都)</LocalName>\\n </Regions>\\n <Regions>\\n <RegionId>eu-central-1</RegionId>\\n <RegionEndpoint>cciot.eu-central-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>德国(法兰克福)</LocalName>\\n </Regions>\\n</ListRegionsResponse>","errorExample":""}]', - 'title' => 'ListRegions', - ], - 'ListAPNs' => [ - 'summary' => '查询APN信息', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"cn-hangzhou\\"\\n}","type":"json"}]', + 'title' => 'Add a cloud connector to a group', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:38.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-12-27T09:07:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-12-14T09:32:05.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddIoTCloudConnectorToGroup'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:AddIoTCloudConnectorToGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'AssociateIpWithConnectionPool' => [ + 'summary' => 'Attach an existing IP access control policy.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -409,180 +349,131 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'NextToken', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], + 'schema' => ['description' => 'Ensures idempotence of the request.'."\n" + .'Generate a unique value from your client for this parameter to guarantee uniqueness across different requests. ClientToken supports only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '50', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'Specifies whether to perform only a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without actually binding the IP addresses to the connection address pool associated with the cloud connector. The system checks whether required parameters are specified, whether the request format is valid, and whether business limits are exceeded. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. After passing all checks, the IP addresses are bound to the connection address pool associated with the cloud connector.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the cloud connector instance.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) API to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'APN', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'CMWAP', - ], + 'schema' => ['description' => 'The instance ID of the cloud connector.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'ISP', + 'name' => 'ConnectionPoolId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'mobile', - ], + 'schema' => ['description' => 'The ID of the connection address pool.', 'type' => 'string', 'required' => true, 'example' => 'cp-bp11234abctmno0hdq****', 'title' => ''], ], [ - 'name' => 'Type', + 'name' => 'Ips', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The list of IP addresses to bind.'."\n" + .'You can specify up to 500 IP addresses. Separate multiple IP addresses with commas (,).', + 'type' => 'array', + 'items' => ['description' => 'The list of IP addresses to bind.'."\n" + .'You can specify up to 500 IP addresses. Separate multiple IP addresses with commas (,).'."\n" + ."\n" + .'You cannot specify both **Ips** and **IpsFilePath**. If you have a small number of IP addresses, use **Ips**. If you have a large number of IP addresses, we recommend using **IpsFilePath** to record all IP addresses in a template file for bulk binding.', 'type' => 'string', 'required' => false, 'example' => '192.168.1.10,10.0.10.0,172.16.8.190', 'title' => ''], 'required' => false, - 'example' => 'Standard', + 'maxItems' => 1000, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'IpsFilePath', + 'in' => 'query', + 'schema' => ['description' => 'The OSS path of the template file, which corresponds to the **OssPath** parameter returned by the [GetStsInfoAndOssPath](~~313331~~) API.'."\n" + ."\n" + .'The format is `<BucketName>/<uid>/<FileName>`.'."\n" + ."\n" + .'You cannot specify both **Ips** and **IpsFilePath**. If you have a small number of IP addresses, use **Ips**. If you have a large number of IP addresses, we recommend using **IpsFilePath** to record all IP addresses in a template file for bulk binding.', 'type' => 'string', 'required' => false, 'example' => 'cciot-cn-hangzhou/127859184306****/test.csv', 'title' => ''], + ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ - 'description' => '', + 'description' => 'The list of returned information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'APNs' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ISP' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'mobile', - ], - 'APN' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CMWAP', - ], - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'ZoneList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '["eu-central-1a", "eu-central-1b"]', - ], - ], - 'FeatureList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'trafficMirror', - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceNotFound.UploadFile', 'errorMessage' => 'The specified resource of uploaded ip file is not found.', 'description' => ''], + ['errorCode' => 'MissingParam.IpParam', 'errorMessage' => 'The param of ip or ip path is missing.', 'description' => ''], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'OperationDenied.GrantedInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of granted instance not support.', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], + ['errorCode' => 'ResourceInConfiguring.APN', 'errorMessage' => 'The specified resource of apn is being configured, please try again later.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"TotalCount\\": 1,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 10,\\n \\"APNs\\": [\\n {\\n \\"ISP\\": \\"mobile\\",\\n \\"APN\\": \\"CMWAP\\",\\n \\"Name\\": \\"test\\",\\n \\"Description\\": \\"test\\",\\n \\"ZoneList\\": [\\n \\"[\\\\\\"eu-central-1a\\\\\\", \\\\\\"eu-central-1b\\\\\\"]\\"\\n ],\\n \\"FeatureList\\": [\\n \\"trafficMirror\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListAPNsResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n <TotalCount>1</TotalCount>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <MaxResults>10</MaxResults>\\n <APNs>\\n <ISP>mobile</ISP>\\n <APN>CMWAP</APN>\\n <Name>test</Name>\\n <Description>test</Description>\\n <ZoneList>[\\"eu-central-1a\\", \\"eu-central-1b\\"]</ZoneList>\\n <FeatureList>trafficMirror</FeatureList>\\n </APNs>\\n</ListAPNsResponse>","errorExample":""}]', - 'title' => 'ListAPNs', - ], - 'CreateIoTCloudConnector' => [ - 'summary' => '创建IoTCloudConnector', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","type":"json"}]', + 'title' => 'Bind IP addresses to the connection address pool associated with a cloud connector', + 'changeSet' => [ + ['createdAt' => '2023-01-05T09:14:01.000Z', 'description' => 'Error codes changed, Response parameters changed'], + ['createdAt' => '2022-08-26T16:03:39.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-08-27T02:33:48.000Z', 'description' => 'Error codes changed, Request parameters changed'], + ['createdAt' => '2021-08-27T02:33:48.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-08-27T02:33:48.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AssociateIpWithConnectionPool'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:AssociateIpWithConnectionPool', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + ], + ], + 'AssociateVSwitchWithIoTCloudConnector' => [ + 'summary' => 'Associate a vSwitch with a cloud connector instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -591,186 +482,130 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'ISP', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'mobile', - ], - ], - [ - 'name' => 'APN', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'CMWAP', - ], - ], - [ - 'name' => 'IoTCloudConnectorName', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The instance ID of the cloud connector.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'IoTCloudConnectorDescription', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The ID of the VPC to associate with the cloud connector instance.'."\n" + ."\n" + .'If this parameter is specified, **VSwitchList** must also be specified. If this parameter is not specified, **VSwitchList** must not be specified either.', 'type' => 'string', 'required' => true, 'example' => 'vpc-bp1aevy8sofi8mh1q****', 'title' => ''], ], [ - 'name' => 'WildcardDomainEnabled', + 'name' => 'VSwitchList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'deprecated' => true, - 'required' => false, - 'example' => 'true', - 'default' => 'true', + 'description' => 'The list of vSwitches in the client\'s VPC. The zone of each vSwitch must match the zone of the cloud connector instance.'."\n" + ."\n" + .'**N** is set to **2**, indicating that exactly two vSwitches are required.', + 'type' => 'array', + 'items' => ['description' => 'The list of vSwitches in the client\'s VPC. The zone of each vSwitch must match the zone of the cloud connector instance.'."\n" + .'**N** is set to **2**, indicating that exactly two vSwitches are required.', 'type' => 'string', 'required' => false, 'example' => 'vsw-m5e3r57pxkgijcdvfcdvf****', 'title' => ''], + 'required' => true, + 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'A client token used to ensure the idempotence of the request.'."\n" + ."\n" + .'This value is generated by the client and must be unique across different requests. It can contain up to 64 ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform only a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without associating the vSwitches with the cloud connector instance. The system checks whether required parameters are provided, whether the request format is valid, and whether business limits are met. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. After passing the checks, the vSwitches are associated with the cloud connector instance.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ResourceUid', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '132193271328****', - ], - ], - [ - 'name' => 'Type', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Standard', - ], + 'schema' => ['description' => 'The region ID where the cloud connector instance is located.'."\n" + ."\n" + .'You can call the [DescribeRegions](~~36063~~) API to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The list of returned information.', 'type' => 'object', 'properties' => [ - 'IoTCloudConnectorId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'OperationDenied.ApnDisabledWildcardDomain', - 'errorMessage' => 'The operation is not allowed because of apn disabled wildcardDomain.', - ], - [ - 'errorCode' => 'OperationDenied.NotOpenIoTCloudConnectorService', - 'errorMessage' => 'The operation is not allowed because of not open iotcc service.', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'QuotaExceeded.iotccInstanceLimit', - 'errorMessage' => 'The quota of IoTCCPerUser is exceeded', - ], - [ - 'errorCode' => 'ResourceNotEnough.APN', - 'errorMessage' => 'The specified resource of APN is not enough.', - ], - [ - 'errorCode' => 'IncorrectStatus.APNNotReady', - 'errorMessage' => 'The status of APN is incorrect.', - ], - [ - 'errorCode' => 'OperationDenied.ApnNotSupportBasicType', - 'errorMessage' => 'The operation is not allowed because of apn do not support basic type cciot instance.', - ], + ['errorCode' => 'ResourceNotEnough.CIDRNotHaveEnoughIp', 'errorMessage' => 'The specified resource of IP in CIDR is not enough.', 'description' => ''], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'IllegalParam.VSwitchZone', 'errorMessage' => 'The param of VSwitch zone is illegal.', 'description' => ''], + ['errorCode' => 'IllegalParamSize.VSwitchList', 'errorMessage' => 'The param size of VSwitch is illegal', 'description' => 'Invalid vSwitch parameter length.'], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['errorCode' => 'ResourceAlreadyAssociated.VpcId', 'errorMessage' => 'The specified resource of VpcId already associated', 'description' => ''], + ['errorCode' => 'IllegalParam.VSwitch', 'errorMessage' => 'The param of VSwitch is illegal.', 'description' => ''], + ['errorCode' => 'IllegalParam.VpcId', 'errorMessage' => 'The param of Vpc is illegal.', 'description' => ''], + ['errorCode' => 'OperationDenied.VpcStatusNotSupport', 'errorMessage' => 'The operation is not allowed because of vpc status not support.', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], + ['errorCode' => 'IllegalParam.VSwitchSize', 'errorMessage' => 'The param of VSwitch size is illegal.', 'description' => ''], + ['errorCode' => 'OperationDenied.OneVpcOnlySupportOneSpecIoTCC', 'errorMessage' => 'The operation is not allowed because of one vpc create different spec IoTCC not support.', 'description' => 'A VPC does not support different types of CC instances.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"IoTCloudConnectorId\\": \\"iotcc-bp1odcab8tmno0hdq****\\",\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateIoTCloudConnectorResponse>\\n <IoTCloudConnectorId>iotcc-bp1odcab8tmno0hdq****</IoTCloudConnectorId>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n</CreateIoTCloudConnectorResponse>","errorExample":""}]', - ], - 'UpdateIoTCloudConnectorAttribute' => [ - 'summary' => '修改IoTCloudConnector', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","type":"json"}]', + 'title' => 'Associate a vSwitch with a cloud connector instance', + 'changeSet' => [ + ['createdAt' => '2023-05-19T02:45:45.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-09-16T07:34:56.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-09-16T07:34:56.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-03-08T07:52:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AssociateVSwitchWithIoTCloudConnector'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:AssociateVSwitchWithIoTCloudConnector', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'VSwitch', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}'], + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'VPC', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}'], + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'ConfirmIoTCloudConnector' => [ + 'summary' => 'Invoke the ConfirmIoTCloudConnector API to confirm or deny the transfer of a cloud connector instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -782,160 +617,96 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], - ], - [ - 'name' => 'IoTCloudConnectorName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - ], - [ - 'name' => 'IoTCloudConnectorDescription', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - ], - [ - 'name' => 'WildcardDomainEnabled', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The cloud connector instance ID.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'A client token used to ensure the idempotence of the request.'."\n" + ."\n" + .'Generate a unique value for this parameter from your client to guarantee uniqueness across different requests. ClientToken supports only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without confirming or denying the transfer of the cloud connector instance. The system checks whether required parameters are specified, whether the request format is valid, and whether business limits are met. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. If the request passes all checks, an HTTP 2xx status code is returned and the operation is performed.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID where the cloud connector instance resides.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) API to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Mode', + 'name' => 'ConfirmStatus', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'PassThrough', - ], + 'schema' => ['description' => 'The confirmation status. Valid values:'."\n" + .'- **Confirm**: Confirm.'."\n" + .'- **Refuse**: Deny.', 'type' => 'string', 'required' => true, 'example' => 'Confirm', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], + 'ResourceId' => ['description' => 'The cloud connector instance ID.', 'type' => 'string', 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], - [ - 'errorCode' => 'OperationDenied.NotAssociateVpc', - 'errorMessage' => 'The operation is not allowed because of not associate vpc.', - ], - [ - 'errorCode' => 'OperationDenied.BasicInstanceNotSupportPassThrough', - 'errorMessage' => 'The operation is not allowed because of basic instance not support.', - ], - [ - 'errorCode' => 'IllegalParam.Mode', - 'errorMessage' => 'The param of Mode is illegal.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"ResourceId\\": \\"iotcc-bp1odcab8tmno0hdq****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateIoTCloudConnectorAttributeResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n <ResourceId>iotcc-bp1odcab8tmno0hdq****</ResourceId>\\n</UpdateIoTCloudConnectorAttributeResponse>","errorExample":""}]', - ], - 'ListIoTCloudConnectors' => [ - 'summary' => '显示IoTCloudConnector', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"ResourceId\\": \\"iotcc-bp1odcab8tmno0hdq****\\"\\n}","type":"json"}]', + 'title' => 'Confirm or Deny Transfer of a Cloud Connector Instance', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:58.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfirmIoTCloudConnector'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:ConfirmIoTCloudConnector', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'CreateAuthorizationRule' => [ + 'summary' => 'Create an authorization rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -944,345 +715,177 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorStatus', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Created', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The cloud connector instance ID.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'IoTCloudConnectorIds', + 'name' => 'DestinationType', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The type of the access target. Valid values:'."\n" + .'- **Cidr**: CIDR block.'."\n" + .'- **Domain**: Domain name.', 'type' => 'string', 'required' => true, 'example' => 'Cidr', 'title' => ''], ], [ - 'name' => 'IoTCloudConnectorName', + 'name' => 'DestinationPort', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => 'Target port range. Valid values:'."\n" + ."\n" + .'- For TCP and UDP protocols: 1 to 65535. Separate the start port and end port with a forward slash (/). Example: 1/200.'."\n" + ."\n" + .'- For ICMP protocol: -1/-1.'."\n" + ."\n" + .'- For ALL: -1/-1.', 'type' => 'string', 'required' => false, 'example' => '80/80', 'title' => ''], ], [ - 'name' => 'ISP', + 'name' => 'Protocol', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'mobile', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => 'Protocol Type. Valid values:'."\n" + ."\n" + .'- **tcp**.'."\n" + .'- **udp**.'."\n" + .'- **icmp**.'."\n" + .'- **all**: Supports all protocols.', 'type' => 'string', 'required' => false, 'example' => 'tcp', 'title' => ''], ], [ - 'name' => 'VpcId', + 'name' => 'Destination', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-bp1aevy8sofi8mh1q****', - ], - 'required' => false, - 'maxItems' => 20, - ], + 'schema' => ['description' => 'The access target.', 'type' => 'string', 'required' => true, 'example' => '47.0.XX.XX', 'title' => ''], ], [ - 'name' => 'APN', + 'name' => 'Policy', + 'in' => 'query', + 'schema' => ['description' => 'The access policy. Valid values:'."\n" + .'- **Permit**: Allow.'."\n" + .'- **Deny**: Deny.', 'type' => 'string', 'required' => true, 'example' => 'Permit', 'title' => ''], + ], + [ + 'name' => 'SourceCidrs', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'The source CIDR blocks. A maximum of 20 source CIDR blocks are supported.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'CMWAP', - ], - 'required' => false, + 'items' => ['description' => 'The source CIDR blocks. A maximum of 20 source CIDR blocks are supported.', 'type' => 'string', 'required' => false, 'example' => '192.168.XX.XX', 'title' => ''], + 'required' => true, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'NextToken', + 'name' => 'AuthorizationRuleName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'caeba0bbb2be03f84eb48b699f0a****', - ], + 'schema' => ['description' => 'Authorization rule name.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length, and can contain letters (uppercase or lowercase), Chinese characters, digits, periods (.), underscores (_), or hyphens (-). It must start with a letter or a Chinese character.', 'type' => 'string', 'required' => false, 'example' => 'rule01', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'AuthorizationRuleDescription', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '50', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'The description of the authorization rule.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length. It must start with a letter (uppercase or lowercase) or a Chinese character, and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'rule01', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'Client token used to ensure the idempotence of the API Request.'."\n" + ."\n" + .'Generate a unique value for this parameter from your client to guarantee uniqueness across different requests. ClientToken supports only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API Request as the **ClientToken** identity. The **RequestId** may differ for each API Request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'IsInGroup', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without creating the authorization rule. The system checks whether required parameters are specified, whether the request format is valid, and whether business limits are exceeded. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. If the check passes, the authorization rule is created immediately.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'IoTCloudConnectorGroupId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'iotccg-g00epppbi9di9y****', - ], + 'schema' => ['description' => 'The region ID of the cloud connector instance.'."\n" + ."\n" + .'You can call the [DescribeRegions](~~36063~~) API to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The list of returned information.', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], - 'IoTCloudConnectors' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'IoTCloudConnectorId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], - 'IoTCloudConnectorStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Created', - ], - 'ISP' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'mobile', - ], - 'IoTCloudConnectorBusinessStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Normal', - ], - 'APN' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CMWAP', - ], - 'RateLimit' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-bp1aevy8sofi8mh1q****', - ], - 'VSwitchList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-m5e3r57pxkgijcdvfcdvf****', - ], - ], - 'IoTCloudConnectorName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'IoTCloudConnectorDescription' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'WildcardDomainEnabled' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], - 'CreateTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2021-10-01T00:00:00Z', - ], - 'ModifyTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2021-10-01T10:00:00Z', - ], - 'IoTCloudConnectorGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotccg-g00epppbi9di9y****', - ], - 'Mode' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PassThrough', - ], - 'IpFeature' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.0.1', - ], - 'Type' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Standard', - ], - 'ServiceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Normal', - ], - 'GrantAliUid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '253460731706911258', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], + 'AuthorizationRuleId' => ['description' => 'The authorization rule ID.', 'type' => 'string', 'example' => 'ar-1234abcb8tmno0hdq****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'SystemBusy', - 'errorMessage' => 'System is busy, please try again later.', + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'OperationDenied.DomainFeatureDisabled', 'errorMessage' => 'The operation is not allowed because of domain feature disabled.', 'description' => ''], + ['errorCode' => 'IllegalParam.Destination', 'errorMessage' => 'The param of Destination is illegal.', 'description' => 'The error message returned because the value of the Destination parameter is invalid.'], + ['errorCode' => 'ResourceAlreadyExist.AuthorizationRule', 'errorMessage' => 'The specified resource of AuthorizationRule already exists.', 'description' => 'The error message returned because the rule already exists.'], + ['errorCode' => 'Conflict.Param', 'errorMessage' => 'The param is conflict.', 'description' => ''], + ['errorCode' => 'Conflict.Cidr', 'errorMessage' => 'The cidr is conflict.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['errorCode' => 'QuotaExceeded.sourceCidrLimit', 'errorMessage' => 'The quota of SourceCidrsPerAuthorizationRule is exceeded', 'description' => ''], + ['errorCode' => 'IllegalParam', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'QuotaExceeded.authorizationRuleInstanceLimit', 'errorMessage' => 'The quota of AuthorizationRulePerIotCC is exceeded.', 'description' => 'The number of authorization rules that you can configure for a cloud connector exceeds the limit.'], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'OperationDenied.DomainInHumanNetwork', 'errorMessage' => 'The operation is not allowed because of domain or CIDR in human network.', 'description' => ''], + ['errorCode' => 'OperationDenied.CIDRMaskTooLarge', 'errorMessage' => 'The operation is not allowed because of CIDR too large.', 'description' => 'The error message returned because the length of the subnet mask of the CIDR block exceeds the upper limit.'], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], + ['errorCode' => 'IllegalParam.AuthorizationRule.DestinationType', 'errorMessage' => 'The param of DestinationType is illegal.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"AuthorizationRuleId\\": \\"ar-1234abcb8tmno0hdq****\\"\\n}","type":"json"}]', + 'title' => 'Create an authorization rule', + 'changeSet' => [ + ['createdAt' => '2023-03-23T08:47:39.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-08-26T16:03:38.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-06-23T05:13:55.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-06-07T09:57:44.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAuthorizationRule'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateAuthorizationRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 20,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 10,\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"IoTCloudConnectors\\": [\\n {\\n \\"IoTCloudConnectorId\\": \\"iotcc-bp1odcab8tmno0hdq****\\",\\n \\"IoTCloudConnectorStatus\\": \\"Created\\",\\n \\"ISP\\": \\"mobile\\",\\n \\"IoTCloudConnectorBusinessStatus\\": \\"Normal\\",\\n \\"APN\\": \\"CMWAP\\",\\n \\"RateLimit\\": 2,\\n \\"VpcId\\": \\"vpc-bp1aevy8sofi8mh1q****\\",\\n \\"VSwitchList\\": [\\n \\"vsw-m5e3r57pxkgijcdvfcdvf****\\"\\n ],\\n \\"IoTCloudConnectorName\\": \\"test\\",\\n \\"IoTCloudConnectorDescription\\": \\"test\\",\\n \\"WildcardDomainEnabled\\": false,\\n \\"CreateTime\\": 0,\\n \\"ModifyTime\\": 0,\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"Mode\\": \\"PassThrough\\",\\n \\"IpFeature\\": \\"192.168.0.1\\",\\n \\"Type\\": \\"Standard\\",\\n \\"ServiceType\\": \\"Normal\\",\\n \\"GrantAliUid\\": \\"253460731706911258\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListIoTCloudConnectorsResponse>\\n <TotalCount>20</TotalCount>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <MaxResults>10</MaxResults>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <IoTCloudConnectors>\\n <IoTCloudConnectorId>iotcc-bp1odcab8tmno0hdq****</IoTCloudConnectorId>\\n <IoTCloudConnectorStatus>Created</IoTCloudConnectorStatus>\\n <ISP>mobile</ISP>\\n <IoTCloudConnectorBusinessStatus>Normal</IoTCloudConnectorBusinessStatus>\\n <APN>CMWAP</APN>\\n <RateLimit>2</RateLimit>\\n <VpcId>vpc-bp1aevy8sofi8mh1q****</VpcId>\\n <VSwitchList>vsw-m5e3r57pxkgijcdvfcdvf****</VSwitchList>\\n <IoTCloudConnectorName>test</IoTCloudConnectorName>\\n <IoTCloudConnectorDescription>test</IoTCloudConnectorDescription>\\n <WildcardDomainEnabled>false</WildcardDomainEnabled>\\n <IoTCloudConnectorGroupId>iotccg-g00epppbi9di9y****</IoTCloudConnectorGroupId>\\n <Mode>PassThrough</Mode>\\n <IpFeature>192.168.0.1</IpFeature>\\n <Type>Standard</Type>\\n <ServiceType>Normal</ServiceType>\\n <GrantAliUid>253460731706911258</GrantAliUid>\\n </IoTCloudConnectors>\\n</ListIoTCloudConnectorsResponse>","errorExample":""}]', - 'title' => 'ListIoTCloudConnectors', ], - 'ListIoTCloudConnectorAvailableZones' => [ - 'summary' => '查询IoTCloudConnector可以绑定vsw的可用区', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateAuthorizationRules' => [ + 'summary' => 'You can invoke the CreateAuthorizationRules API to create multiple authorization rules.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1291,89 +894,167 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ + 'name' => 'IoTCloudConnectorId', + 'in' => 'query', + 'schema' => ['description' => 'Instance ID of the cloud connector. ', 'type' => 'string', 'required' => true, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['description' => 'Client token used to ensure idempotence of the request. '."\n" + ."\n" + .'Generate a unique value from your client for this parameter to guarantee uniqueness across different requests. ClientToken supports only ASCII characters. '."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request. ', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], + ], + [ + 'name' => 'DryRun', + 'in' => 'query', + 'schema' => ['description' => 'Indicates whether to perform only a dry run of the request. Valid values: '."\n" + .'- **true**: Sends a dry run request without creating multiple authorization rules. The system checks whether required parameters are specified, whether the request format is valid, and whether business limits are exceeded. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned. '."\n" + .'- **false** (default): Sends a normal request. If the check passes, an HTTP 2xx status code is returned and the operation is performed immediately. ', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'Region ID of the instance. '."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) API to obtain the region ID. ', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'AuthorizationRules', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'List of authorization rules.', + 'type' => 'array', + 'items' => [ + 'description' => 'List of authorization rules.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Name of the authorization rule. You can specify up to 20 authorization rule names. '."\n" + ."\n" + .'The name must be 2–128 characters in length, and start with a letter (uppercase or lowercase) or a Chinese character. It can contain digits, periods (.), underscores (_), or hyphens (-). ', 'type' => 'string', 'required' => false, 'example' => 'rule01', 'title' => ''], + 'Description' => ['description' => 'Description of the authorization rule. A maximum of 20 descriptions are supported.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length, start with an uppercase or lowercase English letter or a Chinese character, and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'rule01', 'title' => ''], + 'SourceCidr' => ['description' => 'Source CIDR block. A maximum of 20 CIDR blocks are supported.', 'type' => 'string', 'required' => true, 'example' => '192.168.0.1/24', 'title' => ''], + 'DestinationType' => ['description' => 'Type of access destination. A maximum of 20 destination types are supported. Valid values:'."\n" + ."\n" + .'- **Cidr**: CIDR block.'."\n" + .'- **Domain**: Domain name.', 'type' => 'string', 'required' => true, 'example' => 'Cidr', 'title' => ''], + 'DestinationPort' => ['description' => 'Target port range. You can specify up to 20 destination ports for access. Valid values: '."\n" + ."\n" + .'- For TCP and UDP protocols: **1–65535**. Separate the start and end ports with a forward slash (/). Example: 1/200. '."\n" + ."\n" + .'- For ICMP protocol: -1/-1. '."\n" + ."\n" + .'- For ALL: -1/-1. '."\n", 'type' => 'string', 'required' => false, 'example' => '80/80', 'title' => ''], + 'Protocol' => ['description' => 'Protocol type. A maximum of 20 protocol types are supported. Valid values:'."\n" + ."\n" + .'- **TCP**.'."\n" + ."\n" + .'- **UDP**.'."\n" + ."\n" + .'- **ICMP**.'."\n" + ."\n" + .'- **ALL**: All protocols are supported.', 'type' => 'string', 'required' => false, 'example' => 'TCP', 'title' => ''], + 'Destination' => ['description' => 'Destination address for access. A maximum of 20 destination addresses are supported.', 'type' => 'string', 'required' => true, 'example' => '47.0.XX.XX', 'title' => ''], + 'Policy' => ['description' => 'Access policy. A maximum of 20 access policies are supported. Valid values:'."\n" + ."\n" + .'- **Permit**: Allow.'."\n" + .'- **Deny**: Deny.', 'type' => 'string', 'required' => true, 'example' => 'Permit', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', + 'maxItems' => 100, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'Request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], - 'IoTCloudConnectorId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], - 'AvailableZoneList' => [ - 'description' => '', + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], + 'AuthorizationRuleIds' => [ + 'description' => 'Authorization rule IDs.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou-h', - ], + 'items' => ['description' => 'Authorization rule ID.', 'type' => 'string', 'example' => 'ar-1234abcb8tmno0hdq****', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'OperationDenied.DomainFeatureDisabled', 'errorMessage' => 'The operation is not allowed because of domain feature disabled.', 'description' => ''], + ['errorCode' => 'IllegalParam.Destination', 'errorMessage' => 'The param of Destination is illegal.', 'description' => 'The error message returned because the value of the Destination parameter is invalid.'], + ['errorCode' => 'ResourceAlreadyExist.AuthorizationRule', 'errorMessage' => 'The specified resource of AuthorizationRule already exists.', 'description' => 'The error message returned because the rule already exists.'], + ['errorCode' => 'Conflict.Param', 'errorMessage' => 'The param is conflict.', 'description' => ''], + ['errorCode' => 'Conflict.Cidr', 'errorMessage' => 'The cidr is conflict.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['errorCode' => 'QuotaExceeded.sourceCidrLimit', 'errorMessage' => 'The quota of SourceCidrsPerAuthorizationRule is exceeded', 'description' => ''], + ['errorCode' => 'IllegalParam', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'QuotaExceeded.authorizationRuleInstanceLimit', 'errorMessage' => 'The quota of AuthorizationRulePerIotCC is exceeded', 'description' => ''], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'OperationDenied.DomainInHumanNetwork', 'errorMessage' => 'The operation is not allowed because of domain or CIDR in human network.', 'description' => ''], + ['errorCode' => 'OperationDenied.CIDRMaskTooLarge', 'errorMessage' => 'The operation is not allowed because of CIDR too large.', 'description' => 'The error message returned because the length of the subnet mask of the CIDR block exceeds the upper limit.'], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], + ['errorCode' => 'IllegalParam.AuthorizationRule.DestinationType', 'errorMessage' => 'The param of DestinationType is illegal.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"AuthorizationRuleIds\\": [\\n \\"ar-1234abcb8tmno0hdq****\\"\\n ]\\n}","type":"json"}]', + 'title' => 'Create Multiple Authorization Rules', + 'changeSet' => [ + ['createdAt' => '2023-03-23T08:47:39.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-08-26T16:03:38.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-08-02T07:48:37.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAuthorizationRules'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateAuthorizationRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"IoTCloudConnectorId\\": \\"iotcc-bp1odcab8tmno0hdq****\\",\\n \\"AvailableZoneList\\": [\\n \\"cn-hangzhou-h\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListIoTCloudConnectorAvailableZonesResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <IoTCloudConnectorId>iotcc-bp1odcab8tmno0hdq****</IoTCloudConnectorId>\\n <AvailableZoneList>cn-hangzhou-h</AvailableZoneList>\\n</ListIoTCloudConnectorAvailableZonesResponse>","errorExample":""}]', - 'title' => ' ListIoTCloudConnectorAvailableZones', ], - 'AssociateVSwitchWithIoTCloudConnector' => [ - 'summary' => 'IoTCloudConnector关联用户Vpc和Vswitch', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateConnectionPool' => [ + 'summary' => 'Create a connection address pool.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1382,166 +1063,142 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The instance ID of the cloud connector.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'VpcId', + 'name' => 'Count', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-bp1aevy8sofi8mh1q****', - ], + 'schema' => ['description' => 'The number of IP addresses in the connection address pool. Valid values: **1** to **500**.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'VSwitchList', + 'name' => 'ConnectionPoolName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the connection address pool.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character, and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'pool01', 'title' => ''], + ], + [ + 'name' => 'ConnectionPoolDescription', + 'in' => 'query', + 'schema' => ['description' => 'The description of the connection address pool.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length, must start with a letter or a Chinese character, and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'pool01', 'title' => ''], + ], + [ + 'name' => 'Cidrs', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'The Classless Inter-Domain Routing (CIDR) blocks to which the connection address pool belongs. The value range of **N** is **1** to **20**.'."\n" + ."\n" + .'Multiple CIDR blocks are separated by ampersands (&), in the format `Cidrs.1=CIDR block 1&Cidrs.2=CIDR block 2`.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-m5e3r57pxkgijcdvfcdvf****', - ], - 'required' => true, + 'items' => ['description' => 'The CIDR block to which the connection address pool belongs. The value of **N** ranges from **1** to **20**.'."\n" + ."\n" + .'Multiple CIDR blocks are separated by ampersands (&), in the format `Cidrs.1=CIDR block 1&Cidrs.2=CIDR block 2`.', 'type' => 'string', 'required' => false, 'example' => 'Cidrs.1=192.168.XX.XX/24&Cidrs.2=10.0.XX.XX/24', 'title' => ''], + 'required' => false, 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The client token used to ensure the idempotence of the request.'."\n" + ."\n" + .'This parameter value is generated by the client and must be unique across different requests. It can contain up to 64 ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform only a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without creating the connection address pool. The system checks whether required parameters are specified, whether the request format is valid, and whether business limits are exceeded. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. If the check passes, the connection address pool is created immediately.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the cloud connector instance.'."\n" + ."\n" + .'You can call the [DescribeRegions](~~36063~~) API to obtain the region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The list of returned information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], + 'ConnectionPoolId' => ['description' => 'The ID of the connection address pool.', 'type' => 'string', 'example' => 'cp-bp11234abctmno0hdq****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ResourceNotEnough.CIDRNotHaveEnoughIp', - 'errorMessage' => 'The specified resource of IP in CIDR is not enough.', - ], - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'IllegalParam.VSwitchZone', - 'errorMessage' => 'The param of VSwitch zone is illegal.', - ], - [ - 'errorCode' => 'IllegalParamSize.VSwitchList', - 'errorMessage' => 'The param size of VSwitch is illegal', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], - [ - 'errorCode' => 'ResourceAlreadyAssociated.VpcId', - 'errorMessage' => 'The specified resource of VpcId already associated', - ], - [ - 'errorCode' => 'IllegalParam.VSwitch', - 'errorMessage' => 'The param of VSwitch is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.VpcId', - 'errorMessage' => 'The param of Vpc is illegal.', - ], - [ - 'errorCode' => 'OperationDenied.VpcStatusNotSupport', - 'errorMessage' => 'The operation is not allowed because of vpc status not support.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], - [ - 'errorCode' => 'IllegalParam.VSwitchSize', - 'errorMessage' => 'The param of VSwitch size is illegal.', - ], - [ - 'errorCode' => 'OperationDenied.OneVpcOnlySupportOneSpecIoTCC', - 'errorMessage' => 'The operation is not allowed because of one vpc create different spec IoTCC not support.', - ], + ['errorCode' => 'QuotaExceeded.CIDRLimit', 'errorMessage' => 'The quota of cidr_limit is exceeded.', 'description' => ''], + ['errorCode' => 'Forbidden.IPUsedInCIDR', 'errorMessage' => 'IP has been used in CIDR.', 'description' => 'The error message returned because the specified IP address in the CIDR block is already in use.'], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceInUse.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCC is in use.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['errorCode' => 'ResourceInCreating.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is creating, please try again later.', 'description' => ''], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'QuotaExceeded.ConnectionPoolPerIoTCC', 'errorMessage' => 'The quota of ConnectionPoolPerIoTCC is exceeded', 'description' => ''], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'IllegalParam.Cidrs', 'errorMessage' => 'The param of Cidrs is illegal.', 'description' => ''], + ['errorCode' => 'IllegalParamSize.Cidr', 'errorMessage' => 'The param size of Cidr is illegal, only support one.', 'description' => ''], + ['errorCode' => 'OperationDenied.GrantedInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of granted instance not support.', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","errorExample":""},{"type":"xml","example":"<AssociateVSwitchWithIoTCloudConnectorResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n</AssociateVSwitchWithIoTCloudConnectorResponse>","errorExample":""}]', - 'title' => 'AssociateVSwitchWithIoTCloudConnector', - ], - 'DissociateVSwitchFromIoTCloudConnector' => [ - 'summary' => 'IoTCloudConnector取消关联用户Vpc和Vswitch', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"ConnectionPoolId\\": \\"cp-bp11234abctmno0hdq****\\"\\n}","type":"json"}]', + 'title' => 'Create a connection address pool', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:39.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-01-20T04:23:20.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-01-12T08:49:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-12-21T07:37:32.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateConnectionPool'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateConnectionPool', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + ], + ], + 'CreateDNSServiceRule' => [ + 'summary' => 'Create a DNS authorization rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1550,351 +1207,349 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The ID of the cloud connector instance.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-1y6h8z7imd2yu4****', 'title' => ''], + ], + [ + 'name' => 'ServiceType', + 'in' => 'query', + 'schema' => ['description' => 'The target type of the DNS authorization rule. Valid values:'."\n" + ."\n" + .'- **Normal**: Normal type.'."\n" + ."\n" + .'- **DNSRedirect**: Redirection type. This type redirects the current DNS service endpoint to another endpoint.', 'type' => 'string', 'required' => true, 'example' => 'Normal', 'title' => ''], + ], + [ + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => 'The DNS service endpoint after redirection.'."\n" + ."\n" + .'> This parameter is required when the **ServiceType** parameter is set to **DNSRedirect**.', 'type' => 'string', 'required' => false, 'example' => '192.168.0.2', 'title' => ''], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => ['description' => 'The source DNS IP address. Valid values:'."\n" + ."\n" + .'**100.100.2.136**, **100.100.2.137**, **100.100.2.138**, **114.114.114.114**, **8.8.8.8**, **8.8.4.4**, **223.5.5.5**, **223.6.6.6**, **221.5.88.88**, **116.116.116.116**, **221.228.15.26**, **61.139.2.69**, **218.6.200.139**, **119.29.29.29**, **218.2.2.2**, **208.67.220.220**, **208.67.222.222**, **218.4.4.4**.'."\n" + ."\n" + .'<props="china">'."\n" + ."\n" + .'If you need other DNS authorization rule IP addresses beyond the default ones listed, submit a ticket and include the requested DNS authorization rule IP addresses in the ticket.'."\n" + ."\n" + .'</props>'."\n" + ."\n" + .'<props="intl">'."\n" + ."\n" + .'If you need other DNS authorization rule IP addresses beyond the default ones listed, submit a ticket and include the requested DNS authorization rule IP addresses in the ticket.'."\n" + ."\n" + .'</props>', 'type' => 'string', 'required' => true, 'example' => '100.100.2.138', 'title' => ''], + ], + [ + 'name' => 'DNSServiceRuleName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the DNS authorization rule.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length. It must start with an English letter or a Chinese character. It can contain digits, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'DNSServiceRuleDescription', + 'in' => 'query', + 'schema' => ['description' => 'The description of the DNS authorization rule.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length. It must start with an English letter or a Chinese character, but cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'description', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The client token ensures the idempotence of the request.'."\n" + ."\n" + .'Generate a parameter value from your client to ensure that the parameter value is unique among different requests. ClientToken supports only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** of each API request may be different.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Check the request without creating the DNS authorization rule. Valid values:'."\n" + ."\n" + .'- **true**: Send a check request. The DNS authorization rule is not created. The system checks for required parameters, request format, and service limits. If the check fails, an error is returned. If the check passes, the `DryRunOperation` error code is returned.'."\n" + ."\n" + .'- **false** (default value): Send a normal request. After the check passes, an HTTP 2xx status code is returned, and the DNS authorization rule is created.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region where the DNS authorization rule is located.'."\n" + ."\n" + .'For more information, see [ListRegions](~~313836~~) to query region IDs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'BC6D1C1D-6DBD-568C-B867-BC9CA699ED01', 'title' => ''], + 'DNSServiceRuleId' => ['description' => 'The ID of the DNS authorization rule.', 'type' => 'string', 'example' => 'ar-r56ijpurlu50gi****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceNotAssociated.VpcId', - 'errorMessage' => 'The specified resource of VpcId is not associated.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'OperationDenied.DomainFeatureDisabled', 'errorMessage' => 'The operation is not allowed because of domain feature disabled.', 'description' => ''], + ['errorCode' => 'IllegalParam.Destination', 'errorMessage' => 'The param of Destination is illegal.', 'description' => 'The error message returned because the value of the Destination parameter is invalid.'], + ['errorCode' => 'ResourceAlreadyExist.AuthorizationRule', 'errorMessage' => 'The specified resource of AuthorizationRule already exists.', 'description' => 'The error message returned because the rule already exists.'], + ['errorCode' => 'Conflict.Param', 'errorMessage' => 'The param is conflict.', 'description' => ''], + ['errorCode' => 'Conflict.Cidr', 'errorMessage' => 'The cidr is conflict.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['errorCode' => 'QuotaExceeded.sourceCidrLimit', 'errorMessage' => 'The quota of SourceCidrsPerAuthorizationRule is exceeded', 'description' => ''], + ['errorCode' => 'IllegalParam', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'QuotaExceeded.authorizationRuleInstanceLimit', 'errorMessage' => 'The quota of AuthorizationRulePerIotCC is exceeded', 'description' => ''], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","errorExample":""},{"type":"xml","example":"<DissociateVSwitchFromIoTCloudConnectorResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n</DissociateVSwitchFromIoTCloudConnectorResponse>","errorExample":""}]', - 'title' => 'DissociateVSwitchFromIoTCloudConnector', - ], - 'ListIoTCloudConnectorEIPs' => [ - 'summary' => '显示IoTCloudConnector绑定的EIP信息', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BC6D1C1D-6DBD-568C-B867-BC9CA699ED01\\",\\n \\"DNSServiceRuleId\\": \\"ar-r56ijpurlu50gi****\\"\\n}","type":"json"}]', + 'title' => 'Create a DNS Authorization Rule', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:38.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-02-17T07:06:31.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-02-17T05:32:11.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-02-15T11:56:00.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDNSServiceRule'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateDNSServiceRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'CreateGroupAuthorizationRule' => [ + 'summary' => 'Authorization rule for creating an instance group.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'NextToken', + 'name' => 'IoTCloudConnectorGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'NextToken', - ], + 'schema' => ['description' => 'ID of the IoT Cloud Connector group.', 'type' => 'string', 'required' => true, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'AuthorizationRuleDescription', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '50', - 'minimum' => '1', - 'example' => '20', - 'default' => '10', - ], + 'schema' => ['description' => 'Description of the authorization rule.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length. It must start with a letter or Chinese character. It cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'rule', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'AuthorizationRuleName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'Name of the authorization rule.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length. It must start with a letter or Chinese character. It can contain numbers, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'ruletest', 'title' => ''], ], [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'SourceCidrs', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'Source CIDR blocks. You can specify up to 20 CIDR blocks.', + 'type' => 'array', + 'items' => ['description' => 'Source CIDR block. You can specify up to 20 CIDR blocks.', 'type' => 'string', 'required' => false, 'example' => '192.168.0.1/24', 'title' => ''], 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'EIPs' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '["42.1.XX.XX", "42.2.XX.XX", … "42.3.XX.XX"]', - ], - ], - ], + 'maxItems' => 200, + 'title' => '', + 'example' => '', ], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], + [ + 'name' => 'DestinationType', + 'in' => 'query', + 'schema' => ['description' => 'Type of destination. Valid values:'."\n" + ."\n" + .'- **Cidr**: A CIDR block.'."\n" + ."\n" + .'- **Domain**: A domain name.', 'type' => 'string', 'required' => true, 'example' => 'Cidr', 'title' => ''], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 20,\\n \\"EIPs\\": [\\n \\"[\\\\\\"42.1.XX.XX\\\\\\", \\\\\\"42.2.XX.XX\\\\\\", … \\\\\\"42.3.XX.XX\\\\\\"]\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListIoTCloudConnectorEIPsResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n <TotalCount>10</TotalCount>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <MaxResults>20</MaxResults>\\n <EIPs>[\\"42.1.XX.XX\\", \\"42.2.XX.XX\\", … \\"42.3.XX.XX\\"]</EIPs>\\n</ListIoTCloudConnectorEIPsResponse>","errorExample":""}]', - 'title' => 'ListIoTCloudConnectorEIPs', - ], - 'DeleteIoTCloudConnector' => [ - 'summary' => '删除IoTCloudConnector', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'DestinationPort', + 'in' => 'query', + 'schema' => ['description' => 'Destination port range. Valid values:'."\n" + ."\n" + .'- TCP or UDP: 1 to 65535. Use a forward slash (/) to separate the start and end ports. Example: 1/200.'."\n" + ."\n" + .'- ICMP: -1/-1.'."\n" + ."\n" + .'- ALL: -1/-1.', 'type' => 'string', 'required' => false, 'example' => '80/80', 'title' => ''], ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', + [ + 'name' => 'Protocol', + 'in' => 'query', + 'schema' => ['description' => 'Protocol type. Valid values:'."\n" + ."\n" + .'- **tcp**.'."\n" + ."\n" + .'- **udp**.'."\n" + ."\n" + .'- **icmp**.'."\n" + ."\n" + .'- **all**: All protocols.', 'type' => 'string', 'required' => false, 'example' => 'tcp', 'title' => ''], ], - ], - 'parameters' => [ [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'Destination', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'Destination address.', 'type' => 'string', 'required' => true, 'example' => '47.0.XX.XX', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'A client token that ensures the idempotence of the request.'."\n" + ."\n" + .'Generate a unique value on your client side for each request. The ClientToken parameter supports only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system uses the **RequestId** of the API request as the **ClientToken**. Each API request may have a different **RequestId**.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Indicates whether to perform a dry run. Valid values:'."\n" + ."\n" + .'- **true**: Perform a check. No authorization rule is created. The system checks required parameters, request format, and service limits. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + ."\n" + .'- **false** (default): Send a normal request. After the check passes, the system returns an HTTP 2xx status code and performs the operation.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'ID of the region where the IoT Cloud Connector group resides.'."\n" + ."\n" + .'You can call the [DescribeRegions](~~36063~~) operation to query region IDs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'Policy', + 'in' => 'query', + 'schema' => ['description' => 'Access policy. Valid values:'."\n" + ."\n" + .'- **Permit**: Allow access.'."\n" + ."\n" + .'- **Deny**: Deny access.', 'type' => 'string', 'required' => true, 'example' => 'Permit', 'title' => ''], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['description' => 'Type of authorization rule. Valid values:'."\n" + ."\n" + .'- **System**: System-defined rule.'."\n" + ."\n" + .'- **Customer**: Custom rule.'."\n" + ."\n" + .'- **Default**: Default rule.', 'type' => 'string', 'required' => false, 'example' => 'System', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'List of response items.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], + 'IoTCloudConnectorGroupId' => ['description' => 'ID of the IoT Cloud Connector group.', 'type' => 'string', 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], + 'RequestId' => ['description' => 'ID of the request.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], + 'AuthorizationRuleId' => ['description' => 'ID of the authorization rule.', 'type' => 'string', 'example' => 'gar-ez91t41jvi6tr8****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'OperationDenied.IotCloudConnectorInGroup', - 'errorMessage' => 'The operation is not allowed because of IotCloudConnector In Group.', - ], - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceInUse.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCC is in use.', - ], - [ - 'errorCode' => 'IncorrectStatus.CloudConnector', - 'errorMessage' => 'The status of CloudConnector is incorrect.', - ], - [ - 'errorCode' => 'ResourceInCreating.IoTCloudConnector', - 'errorMessage' => 'ResourceInCreating.IoTCloudConnector', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', 'description' => ''], + ['errorCode' => 'ResourceAlreadyExist.AuthorizationRule', 'errorMessage' => 'The specified resource of AuthorizationRule already exists.', 'description' => 'The error message returned because the rule already exists.'], + ['errorCode' => 'OperationDenied.DomainInHumanNetwork', 'errorMessage' => 'The operation is not allowed because of domain or CIDR in human network.', 'description' => ''], + ['errorCode' => 'OperationDenied.CIDRMaskTooLarge', 'errorMessage' => 'The operation is not allowed because of CIDR too large.', 'description' => 'The error message returned because the length of the subnet mask of the CIDR block exceeds the upper limit.'], + ['errorCode' => 'IllegalParam.Destination', 'errorMessage' => 'The param of Destination is illegal.', 'description' => 'The error message returned because the value of the Destination parameter is invalid.'], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteIoTCloudConnectorResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n</DeleteIoTCloudConnectorResponse>","errorExample":""}]', - 'title' => 'DeleteIoTCloudConnector', - ], - 'CreateConnectionPool' => [ - 'summary' => '创建ConnectionPool', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"AuthorizationRuleId\\": \\"gar-ez91t41jvi6tr8****\\"\\n}","type":"json"}]', + 'title' => 'Create an authorization rule for an instance group', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:38.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-08-05T08:40:14.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-06-23T06:27:36.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-06-13T11:44:38.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-06-07T09:57:44.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-01-04T12:38:26.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-12-14T12:33:41.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-14T12:19:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-14T09:32:05.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGroupAuthorizationRule'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateGroupAuthorizationRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'CreateGroupDNSServiceRule' => [ + 'summary' => 'Create a DNS authorization rule for an instance group.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1906,189 +1561,143 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'IoTCloudConnectorGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The ID of the IoT Cloud Connector instance group.', 'type' => 'string', 'required' => true, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], ], [ - 'name' => 'Count', + 'name' => 'DNSServiceRuleDescription', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'A description of the DNS authorization rule.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length. It must start with a letter or a Chinese character. It cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'description', 'title' => ''], ], [ - 'name' => 'ConnectionPoolName', + 'name' => 'DNSServiceRuleName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'pool01', - ], + 'schema' => ['description' => 'The name of the DNS authorization rule.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length. It must start with a letter or a Chinese character. It can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'ConnectionPoolDescription', + 'name' => 'Source', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'pool01', - ], + 'schema' => ['description' => 'The source IP address of the DNS authorization rule. Valid values include the following:'."\n" + ."\n" + .'**100.100.2.136**, **100.100.2.137**, **100.100.2.138**, **114.114.114.114**, **8.8.8.8**, **8.8.4.4**, **223.5.5.5**, **223.6.6.6**, **221.5.88.88**, **116.116.116.116**, **221.228.15.26**, **61.139.2.69**, **218.6.200.139**, **119.29.29.29**, **218.2.2.2**, **208.67.220.220**, **208.67.222.222**, and **218.4.4.4**.'."\n" + ."\n" + .'<props="china">'."\n" + ."\n" + .'To use other IP addresses, [submit a ticket](https://selfservice.console.aliyun.com/ticket/category/ga/today). Include the required IP addresses in your ticket.'."\n" + ."\n" + .'</props>'."\n" + ."\n" + .'<props="intl">'."\n" + ."\n" + .'To use other IP addresses, [submit a ticket](https://workorder-intl.console.aliyun.com/?spm=5176.11182188.console-base-top.dworkorder.18ae4882n3v6ZW#/ticket/createIndex). Include the required IP addresses in your ticket.'."\n" + ."\n" + .'</props>', 'type' => 'string', 'required' => true, 'example' => '100.100.2.136', 'title' => ''], ], [ - 'name' => 'Cidrs', + 'name' => 'ServiceType', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Cidrs.1=192.168.XX.XX/24&Cidrs.2=10.0.XX.XX/24', - ], - 'required' => false, - 'maxItems' => 20, - ], + 'schema' => ['description' => 'The target type of the DNS authorization rule. Valid values:'."\n" + ."\n" + .'- **Normal**: The target type is normal DNS.'."\n" + ."\n" + .'- **DNSRedirect**: The target type is DNS redirection.', 'type' => 'string', 'required' => true, 'example' => 'Normal', 'title' => ''], + ], + [ + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => 'The destination IP address of the DNS authorization rule.'."\n" + ."\n" + .'> This parameter is required when **ServiceType** is set to **DNSRedirect**.', 'type' => 'string', 'required' => false, 'example' => '192.168.0.2', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'A client token that ensures the idempotence of the request.'."\n" + ."\n" + .'Generate a unique value on your client. The value must contain only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system uses the **RequestId** of the API request as the **ClientToken**. Each API request may have a different **RequestId**.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run. Valid values:'."\n" + ."\n" + .'- **true**: Performs a check. No DNS authorization rule is created. The system checks required parameters, request format, and business limits. If the check fails, the system returns the corresponding error. If the check passes, the system returns the error code `DryRunOperation`.'."\n" + ."\n" + .'- **false** (default): Performs the operation. After passing the check, the system returns an HTTP 2xx status code and creates the DNS authorization rule.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the IoT Cloud Connector instance group.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) operation to query region IDs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], - 'ConnectionPoolId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cp-bp11234abctmno0hdq****', - ], + 'IoTCloudConnectorGroupId' => ['description' => 'The ID of the IoT Cloud Connector instance group.', 'type' => 'string', 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '77111A6A-56BA-59B2-8CAA-7CBF21648FB8', 'title' => ''], + 'DNSServiceRuleId' => ['description' => 'The ID of the DNS authorization rule.', 'type' => 'string', 'example' => 'gar-ffnn1ewe2nmf3y****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'QuotaExceeded.CIDRLimit', - 'errorMessage' => 'The quota of cidr_limit is exceeded.', - ], - [ - 'errorCode' => 'Forbidden.IPUsedInCIDR', - 'errorMessage' => 'IP has been used in CIDR.', - ], - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceInUse.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCC is in use.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], - [ - 'errorCode' => 'ResourceInCreating.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is creating, please try again later.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'QuotaExceeded.ConnectionPoolPerIoTCC', - 'errorMessage' => 'The quota of ConnectionPoolPerIoTCC is exceeded', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.Cidrs', - 'errorMessage' => 'The param of Cidrs is illegal.', - ], - [ - 'errorCode' => 'IllegalParamSize.Cidr', - 'errorMessage' => 'The param size of Cidr is illegal, only support one.', - ], - [ - 'errorCode' => 'OperationDenied.GrantedInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of granted instance not support.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', 'description' => ''], + ['errorCode' => 'ResourceAlreadyExist.AuthorizationRule', 'errorMessage' => 'The specified resource of AuthorizationRule already exists.', 'description' => 'The error message returned because the rule already exists.'], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"ConnectionPoolId\\": \\"cp-bp11234abctmno0hdq****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateConnectionPoolResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n <ConnectionPoolId>cp-bp11234abctmno0hdq****</ConnectionPoolId>\\n</CreateConnectionPoolResponse>","errorExample":""}]', - 'title' => 'CreateConnectionPool', - ], - 'AddCidrToConnectionPool' => [ - 'summary' => 'ConnectionPool新增地址池', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"RequestId\\": \\"77111A6A-56BA-59B2-8CAA-7CBF21648FB8\\",\\n \\"DNSServiceRuleId\\": \\"gar-ffnn1ewe2nmf3y****\\"\\n}","type":"json"}]', + 'title' => 'Create a DNS Authorization Rule for an Instance Group', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:38.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-02-22T06:47:54.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-02-15T11:56:00.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGroupDNSServiceRule'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateGroupDNSServiceRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'CreateGroupIpMappingRule' => [ + 'summary' => 'Invoke the CreateGroupIpMappingRule API to create an IP redirection rule for an instance group authorization rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2100,155 +1709,115 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'IoTCloudConnectorGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The ID of the cloud connector instance group.', 'type' => 'string', 'required' => true, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], ], [ - 'name' => 'ConnectionPoolId', + 'name' => 'IpMappingRuleDescription', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cp-bp11234abctmno0hdq****', - ], + 'schema' => ['description' => 'The description of the authorization rule that requires IP redirection for the instance group.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length, start with a letter or Chinese character, and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'description', 'title' => ''], ], [ - 'name' => 'Cidrs', + 'name' => 'IpMappingRuleName', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Cidrs.1=192.168.1.32/24&Cidrs.2=10.0.10.3/24', - ], - 'required' => false, - 'maxItems' => 20, - ], + 'schema' => ['description' => 'The name of the authorization rule that requires IP redirection for the instance group.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length, start with a letter (uppercase or lowercase) or a Chinese character, and can contain digits, periods (.), underscores (_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''], + ], + [ + 'name' => 'DestinationIp', + 'in' => 'query', + 'schema' => ['description' => 'The target IP address for redirection.', 'type' => 'string', 'required' => true, 'example' => '192.168.10.8', 'title' => ''], + ], + [ + 'name' => 'MappingIp', + 'in' => 'query', + 'schema' => ['description' => 'The IP address that requires redirection.', 'type' => 'string', 'required' => true, 'example' => '47.0.XX.XX', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The client token used to ensure idempotence of the request.'."\n" + ."\n" + .'Generate a unique value from your client for this parameter to guarantee uniqueness across different requests. ClientToken supports only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without creating the IP redirection feature for the instance group authorization rule. The system checks whether required parameters are specified, whether the request format is valid, and whether the request complies with business limits. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. If the check passes, an HTTP 2xx status code is returned and the operation is performed.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the instance group.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) API to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], + 'GroupIpMappingRuleId' => ['description' => 'The ID of the authorization rule that requires IP redirection.', 'type' => 'string', 'example' => 'im-irrp3bzuu5nrbx****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'IllegalParam.Cidrs', - 'errorMessage' => 'The param of Cidrs is too many, only most 2 can be supported at a time.', - ], - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], - [ - 'errorCode' => 'ResourceNotFound.ConnectionPool', - 'errorMessage' => 'The param of ConnectionPoolId is illegal.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.ConnectionPoolId', - 'errorMessage' => 'The param of ConnectionPoolId is illegal.', - ], - [ - 'errorCode' => 'IllegalParamSize.Cidr', - 'errorMessage' => 'The param size of Cidr is illegal, only support one.', - ], - [ - 'errorCode' => 'IncorrectStatus.IP', - 'errorMessage' => 'The status of IP is incorrect.', - ], - [ - 'errorCode' => 'OperationDenied.GrantedInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of granted instance not support.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', 'description' => ''], + ['errorCode' => 'ResourceAlreadyExist.AuthorizationRule', 'errorMessage' => 'The specified resource of AuthorizationRule already exists.', 'description' => 'The error message returned because the rule already exists.'], + ['errorCode' => 'OperationDenied.DomainInHumanNetwork', 'errorMessage' => 'The operation is not allowed because of domain or CIDR in human network.', 'description' => ''], + ['errorCode' => 'OperationDenied.CIDRMaskTooLarge', 'errorMessage' => 'The operation is not allowed because of CIDR too large.', 'description' => 'The error message returned because the length of the subnet mask of the CIDR block exceeds the upper limit.'], + ['errorCode' => 'IllegalParam.Destination', 'errorMessage' => 'The param of Destination is illegal.', 'description' => 'The error message returned because the value of the Destination parameter is invalid.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","errorExample":""},{"type":"xml","example":"<AddCidrToConnectionPoolResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n</AddCidrToConnectionPoolResponse>","errorExample":""}]', - 'title' => 'AddCidrToConnectionPool', - ], - 'UpdateConnectionPoolAttribute' => [ - 'summary' => '创建ConnectionPool', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"GroupIpMappingRuleId\\": \\"im-irrp3bzuu5nrbx****\\"\\n}","type":"json"}]', + 'title' => 'Create an IP redirection rule for an instance group authorization rule', + 'changeSet' => [ + ['createdAt' => '2022-08-23T06:53:44.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGroupIpMappingRule'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateGroupIpMappingRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], ], + ], + 'CreateIoTCloudConnector' => [ + 'summary' => 'Create a cloud connector instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2257,181 +1826,149 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'ISP', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The carrier of the cloud connector instance. Valid values:'."\n" + .'- **telecom**: China Telecom.'."\n" + .'- **mobile**: China Mobile.'."\n" + .'- **unicom**: China Unicom.', 'type' => 'string', 'required' => true, 'example' => 'mobile', 'title' => ''], ], [ - 'name' => 'ConnectionPoolId', + 'name' => 'APN', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cp-bp11234abctmno0hdq****', - ], + 'schema' => ['description' => 'The carrier APN ID.', 'type' => 'string', 'required' => true, 'example' => 'CMWAP', 'title' => ''], ], [ - 'name' => 'Count', + 'name' => 'IoTCloudConnectorName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The name of the cloud connector instance.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length, start with an uppercase or lowercase letter or a Chinese character, and can contain digits, underscores (_), or hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'ConnectionPoolName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'pool01', - ], - ], - [ - 'name' => 'ConnectionPoolDescription', + 'name' => 'IoTCloudConnectorDescription', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'pool01', - ], + 'schema' => ['description' => 'The description of the cloud connector instance.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length, start with a letter or Chinese character, and cannot start with `http://` or `https://`.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'Cidrs', + 'name' => 'WildcardDomainEnabled', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Cidrs.1=192.168.XX.XX/24&Cidrs.2=10.0.XX.XX/24', - ], - 'required' => false, - 'maxItems' => 20, - ], + 'schema' => ['description' => 'Specifies whether to enable the wildcard domain name feature.'."\n" + .'- **true** (Default Value): Enabled.'."\n" + .'- **false**: Shutdown.'."\n" + ."\n" + .'> The wildcard domain name feature is enabled by default. The value passed in this field is invalid.', 'type' => 'boolean', 'deprecated' => true, 'required' => false, 'example' => 'true', 'default' => 'true', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'Client token used to ensure the idempotence of the Request.'."\n" + ."\n" + .'Generate a parameter value from your client and ensure that this value is unique across different requests. **ClientToken** supports only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API Request as the **ClientToken** identity. The **RequestId** may differ for each API Request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform only a dry run for this request. Valid values:'."\n" + .'- **true**: Sends a validation request without creating an instance. The validation checks include whether required parameters are provided, whether the request format is valid, and whether business limits are met. If validation fails, the corresponding error is returned. If validation passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (Default Value): Sends a normal request. After passing validation, the instance is created immediately.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The Region ID of the cloud connector instance.'."\n" + ."\n" + .'You can obtain the Region ID by invoking the [ListRegions](~~313836~~) API.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'ResourceUid', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the cloud connector instance user.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '132193271328****', 'title' => ''], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['description' => 'The version of the cloud connector instance. Different versions have different feature limitations and billing policies. Valid values:'."\n" + ."\n" + .'- **Basic**: Basic Edition.'."\n" + ."\n" + .'- **Standard**: Standard Edition.'."\n" + ."\n" + .'<props="china">By default, cloud connector instances are created as Standard Edition. To create a Basic Edition instance, [submit a ticket](https://selfservice.console.aliyun.com/ticket/category/ga/today).</props>'."\n" + ."\n" + .'<props="intl">By default, cloud connector instances are created as Standard Edition. To create a Basic Edition instance, [submit a ticket](https://workorder-intl.console.aliyun.com/?spm=5176.11182188.console-base-top.dworkorder.18ae4882n3v6ZW#/ticket/createIndex).</props>'."\n", 'type' => 'string', 'required' => false, 'example' => 'Standard', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The list of returned information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], + 'IoTCloudConnectorId' => ['description' => 'The cloud connector instance ID.', 'type' => 'string', 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], - [ - 'errorCode' => 'ResourceNotFound.ConnectionPool', - 'errorMessage' => 'The param of ConnectionPoolId is illegal.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.Cidrs', - 'errorMessage' => 'The param of Cidrs is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.ConnectionPoolId', - 'errorMessage' => 'The param of ConnectionPoolId is illegal.', - ], - [ - 'errorCode' => 'OperationDenied.GrantedInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of granted instance not support.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'OperationDenied.ApnDisabledWildcardDomain', 'errorMessage' => 'The operation is not allowed because of apn disabled wildcardDomain.', 'description' => ''], + ['errorCode' => 'OperationDenied.NotOpenIoTCloudConnectorService', 'errorMessage' => 'The operation is not allowed because of not open iotcc service.', 'description' => ''], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'QuotaExceeded.iotccInstanceLimit', 'errorMessage' => 'The quota of IoTCCPerUser is exceeded', 'description' => ''], + ['errorCode' => 'ResourceNotEnough.APN', 'errorMessage' => 'The specified resource of APN is not enough.', 'description' => ''], + ['errorCode' => 'IncorrectStatus.APNNotReady', 'errorMessage' => 'The status of APN is incorrect.', 'description' => ''], + ['errorCode' => 'OperationDenied.ApnNotSupportBasicType', 'errorMessage' => 'The operation is not allowed because of apn do not support basic type cciot instance.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateConnectionPoolAttributeResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n</UpdateConnectionPoolAttributeResponse>","errorExample":""}]', - 'title' => 'UpdateConnectionPoolAttribute', - ], - 'ListConnectionPools' => [ - 'summary' => '显示ConnectionPool', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IoTCloudConnectorId\\": \\"iotcc-bp1odcab8tmno0hdq****\\",\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","type":"json"}]', + 'title' => 'Create a cloud connector instance', + 'changeSet' => [ + ['createdAt' => '2023-04-23T12:16:22.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-03-10T06:55:59.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-11-16T08:41:06.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-02-25T07:54:45.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIoTCloudConnector'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateIoTCloudConnector', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/*'], + ], + ], + ], + ], + ], + 'CreateIoTCloudConnectorBackhaulRoute' => [ + 'summary' => 'Call the CreateIoTCloudConnectorBackhaulRoute operation to create a backhaul route after binding a cloud connector instance to a VPC.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2440,373 +1977,214 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], - ], - [ - 'name' => 'ConnectionPoolIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cp-bp11234abctmno0hdq****', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], - ], - [ - 'name' => 'ConnectionPoolName', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'pool01', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The ID of the cloud connector instance.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'ConnectionPoolStatus', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Running', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], - ], - [ - 'name' => 'NextToken', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'caeba0bbb2be03f84eb48b699f0a****', - ], + 'schema' => ['description' => 'The client token that ensures the idempotence of the request.'."\n" + ."\n" + .'Generate a unique value on your client. The value must be unique among different requests. ClientToken supports only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system uses the **RequestId** of the API request as the **ClientToken**. Each API request may have a different **RequestId**.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '50', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run. Valid values:'."\n" + ."\n" + .'- **true**: Performs a check. The backhaul route is not created. The system checks required parameters, request format, and service limits. If the check fails, the system returns the corresponding error code. If the check passes, the system returns the error code `DryRunOperation`.'."\n" + ."\n" + .'- **false** (default): Sends the request normally. After passing the check, the system returns an HTTP 2xx status code and creates the backhaul route.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the cloud connector instance.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) operation to query region IDs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The ID of the cloud connector instance.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'caeba0bbb2be03f84eb48b699f0a****', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'ConnectionPools' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ConnectionPoolId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cp-bp11234abctmno0hdq****', - ], - 'ConnectionPoolStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Running', - ], - 'ConnectionPoolName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'pool01', - ], - 'ConnectionPoolDescription' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'pool01', - ], - 'Cidrs' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.XX.XX/32', - ], - ], - 'OperateResultRequestID' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA651', - ], - ], - ], - ], + 'IoTCloudConnectorId' => ['description' => 'The ID of the cloud connector instance.', 'type' => 'string', 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'OperationDenied.UserVpcRouteAlreadyPublished', 'errorMessage' => 'The operation is not allowed because of user vpc route already published.', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"TotalCount\\": 2,\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a****\\",\\n \\"MaxResults\\": 10,\\n \\"ConnectionPools\\": [\\n {\\n \\"ConnectionPoolId\\": \\"cp-bp11234abctmno0hdq****\\",\\n \\"ConnectionPoolStatus\\": \\"Running\\",\\n \\"ConnectionPoolName\\": \\"pool01\\",\\n \\"ConnectionPoolDescription\\": \\"pool01\\",\\n \\"Cidrs\\": [\\n \\"192.168.XX.XX/32\\"\\n ],\\n \\"OperateResultRequestID\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA651\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListConnectionPoolsResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n <TotalCount>2</TotalCount>\\n <NextToken>caeba0bbb2be03f84eb48b699f0a****</NextToken>\\n <MaxResults>50</MaxResults>\\n <ConnectionPools>\\n <ConnectionPoolId>cp-bp11234abctmno0hdq****</ConnectionPoolId>\\n <ConnectionPoolStatus>Running</ConnectionPoolStatus>\\n <ConnectionPoolName>pool01</ConnectionPoolName>\\n <ConnectionPoolDescription>pool01</ConnectionPoolDescription>\\n <Cidrs>192.168.XX.XX/32</Cidrs>\\n <OperateResultRequestID>CEF72CEB-54B6-4AE8-B225-F876FF7BA651</OperateResultRequestID>\\n </ConnectionPools>\\n</ListConnectionPoolsResponse>","errorExample":""}]', - 'title' => 'ListConnectionPools', - ], - 'ListConnectionPoolIps' => [ - 'summary' => '查询地址池IP信息', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IoTCloudConnectorId\\": \\"iotcc-bp1odcab8tmno0hdq****\\",\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","type":"json"}]', + 'title' => 'Create a backhaul route after the current cloud connector instance is attached to a VPC', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:37.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-05-06T12:57:35.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-05-06T12:57:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-05-06T12:57:35.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIoTCloudConnectorBackhaulRoute'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateIoTCloudConnectorBackhaulRoute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], ], + ], + 'CreateIoTCloudConnectorGroup' => [ + 'summary' => 'Create an instance group.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'NextToken', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'caeba0bbb2be03f84eb48b699f0a****', - ], + 'schema' => ['description' => 'The name of the instance group.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length, start with a letter (uppercase or lowercase) or a Chinese character, and can contain digits, periods (.), underscores (_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'cctest', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '2000', - 'minimum' => '1', - 'example' => '10', - 'default' => '50', - ], + 'schema' => ['description' => 'The description of the instance group.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length, start with a letter or Chinese character, and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The client token used to ensure the idempotence of the request.'."\n" + ."\n" + .'Generate a unique value from your client for this parameter to guarantee uniqueness across different requests. ClientToken supports only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'Specifies whether to perform only a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without creating the instance group. The system checks whether required parameters are specified, whether the request format is valid, and whether business limits are met. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. If the check passes, an HTTP 2xx status code is returned and the operation is performed.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'ConnectionPoolId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cp-bp11234abctmno0hdq****', - ], + 'schema' => ['description' => 'The region ID of the instance group.'."\n" + ."\n" + .'You can call the [DescribeRegions](~~36063~~) API to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Ip', + 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.XX.XX', - ], + 'schema' => ['description' => 'The edition of the cloud connector instance. Different editions have different feature limitations and billing policies. Valid values:'."\n" + ."\n" + .'- **Basic**: Basic Edition.'."\n" + ."\n" + .'- **Standard**: Standard Edition.'."\n" + ."\n" + .'<props="china">By default, cloud connector instances are created as Standard Edition. To create a Basic Edition instance, [submit a ticket](https://selfservice.console.aliyun.com/ticket/category/ga/today).</props>'."\n" + ."\n" + .'<props="intl">By default, cloud connector instances are created as Standard Edition. To create a Basic Edition instance, [submit a ticket](https://workorder-intl.console.aliyun.com/?spm=5176.11182188.console-base-top.dworkorder.18ae4882n3v6ZW#/ticket/createIndex).</props>'."\n", 'type' => 'string', 'required' => false, 'example' => 'Standard', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The list of returned information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'caeba0bbb2be03f84eb48b699f0a****', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'ConnectionPoolIps' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ConnectionPoolId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cp-bp11234abctmno0hdq****', - ], - 'Ip' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'activated', - ], - ], - ], - ], + 'IoTCloudConnectorGroupId' => ['description' => 'The instance group ID.', 'type' => 'string', 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"TotalCount\\": 2,\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a****\\",\\n \\"MaxResults\\": 10,\\n \\"ConnectionPoolIps\\": [\\n {\\n \\"ConnectionPoolId\\": \\"cp-bp11234abctmno0hdq****\\",\\n \\"Ip\\": \\"192.168.XX.XX\\",\\n \\"Status\\": \\"activated\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListConnectionPoolIpsResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n <TotalCount>2</TotalCount>\\n <NextToken>caeba0bbb2be03f84eb48b699f0a****</NextToken>\\n <MaxResults>10</MaxResults>\\n <ConnectionPoolIps>\\n <ConnectionPoolId>cp-bp11234abctmno0hdq****</ConnectionPoolId>\\n <Ip>192.168.XX.XX</Ip>\\n <Status>activated</Status>\\n </ConnectionPoolIps>\\n</ListConnectionPoolIpsResponse>","errorExample":""}]', - 'title' => 'ListConnectionPoolIps', - ], - 'GetStsInfoAndOssPath' => [ - 'summary' => '获取服务账号sts信息和提交Ip绑定关系文件提交地址', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","type":"json"}]', + 'title' => 'Create an Instance Group', + 'changeSet' => [ + ['createdAt' => '2022-06-13T11:44:38.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-14T09:32:05.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIoTCloudConnectorGroup'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateIoTCloudConnectorGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateIpMappingRule' => [ + 'summary' => 'Call the CreateIpMappingRule operation to enable IP redirection for an authorization rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2815,146 +2193,129 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'ClientToken', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'ID of the cloud connector instance.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'DryRun', + 'name' => 'DestinationIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Target IP address for redirection.', 'type' => 'string', 'required' => true, 'example' => '192.168.10.8', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'MappingIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'IP address to redirect.', 'type' => 'string', 'required' => true, 'example' => '47.0.XX.XX', 'title' => ''], ], [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'IpMappingRuleName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'Name of the authorization rule that enables IP redirection.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length. It must start with a letter or Chinese character. It can contain digits, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''], ], [ - 'name' => 'ConnectionPoolId', + 'name' => 'IpMappingRuleDescription', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cp-bp11234abctmno0hdq****', - ], + 'schema' => ['description' => 'Description of the authorization rule that enables IP redirection.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length. It must start with a letter or Chinese character. It cannot start with `http:// `or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'description', 'title' => ''], ], [ - 'name' => 'FileName', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test.csv', - ], + 'schema' => ['description' => 'Client token used to ensure idempotence.'."\n" + ."\n" + .'Generate a unique value on your client. The value must be unique across different requests. Only ASCII characters are supported.'."\n" + ."\n" + .'> If you do not specify this parameter, the system uses the **RequestId** of the API request as the **ClientToken**. Each API request has a different **RequestId**.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], + ], + [ + 'name' => 'DryRun', + 'in' => 'query', + 'schema' => ['description' => 'Indicates whether to perform only a dry run.'."\n" + ."\n" + .'- **true**: Performs a check. Does not create the IP redirection rule. Checks include required parameters, request format, and business limits. If the check fails, the corresponding error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + ."\n" + .'- **false** (default): Performs the operation. Returns an HTTP 2xx status code if the check passes.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'ID of the region where the instance resides.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) operation to query region IDs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'Request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], - 'Expiration' => [ - 'title' => 'Sts info expiration time', - 'description' => '', - 'type' => 'string', - 'example' => '1633060876', - ], - 'AccessKeyId' => [ - 'title' => 'Sts info of accessKeyId', - 'description' => '', - 'type' => 'string', - 'example' => '<yourAccessKeyId>', - ], - 'AccessKeySecret' => [ - 'title' => 'Sts info of accessKeySecret', - 'description' => '', - 'type' => 'string', - 'example' => '<yourAccessKeySecret>', - ], - 'SecurityToken' => [ - 'title' => 'Sts info of securityToken', - 'description' => '', - 'type' => 'string', - 'example' => '<yourSecurityToken>', - ], - 'OssPath' => [ - 'title' => 'OssPath', - 'description' => '', - 'type' => 'string', - 'example' => 'cciot-cn-hangzhou/127859184306****/test.csv', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], + 'IpMappingRuleId' => ['description' => 'ID of the authorization rule that enables IP redirection.', 'type' => 'string', 'example' => 'im-irrp3bzuu5nrbx****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'OperationDenied.DomainFeatureDisabled', 'errorMessage' => 'The operation is not allowed because of domain feature disabled.', 'description' => ''], + ['errorCode' => 'IllegalParam.Destination', 'errorMessage' => 'The param of Destination is illegal.', 'description' => 'The error message returned because the value of the Destination parameter is invalid.'], + ['errorCode' => 'ResourceAlreadyExist.AuthorizationRule', 'errorMessage' => 'The specified resource of AuthorizationRule already exists.', 'description' => 'The error message returned because the rule already exists.'], + ['errorCode' => 'Conflict.Param', 'errorMessage' => 'The param is conflict.', 'description' => ''], + ['errorCode' => 'Conflict.Cidr', 'errorMessage' => 'The cidr is conflict.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['errorCode' => 'QuotaExceeded.sourceCidrLimit', 'errorMessage' => 'The quota of SourceCidrsPerAuthorizationRule is exceeded', 'description' => ''], + ['errorCode' => 'IllegalParam', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'QuotaExceeded.authorizationRuleInstanceLimit', 'errorMessage' => 'The quota of AuthorizationRulePerIotCC is exceeded', 'description' => ''], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'OperationDenied.DomainInHumanNetwork', 'errorMessage' => 'The operation is not allowed because of domain or CIDR in human network.', 'description' => ''], + ['errorCode' => 'OperationDenied.CIDRMaskTooLarge', 'errorMessage' => 'The operation is not allowed because of CIDR too large.', 'description' => 'The error message returned because the length of the subnet mask of the CIDR block exceeds the upper limit.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"Expiration\\": \\"1633060876\\",\\n \\"AccessKeyId\\": \\"<yourAccessKeyId>\\",\\n \\"AccessKeySecret\\": \\"<yourAccessKeySecret>\\",\\n \\"SecurityToken\\": \\"<yourSecurityToken>\\",\\n \\"OssPath\\": \\"cciot-cn-hangzhou/127859184306****/test.csv\\"\\n}","errorExample":""},{"type":"xml","example":"<GetStsInfoAndOssPathResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n <Expiration>1633060876</Expiration>\\n <AccessKeyId><yourAccessKeyId></AccessKeyId>\\n <AccessKeySecret><yourAccessKeySecret></AccessKeySecret>\\n <SecurityToken><yourSecurityToken></SecurityToken>\\n <OssPath>cciot-cn-hangzhou/127859184306****/test.csv</OssPath>\\n</GetStsInfoAndOssPathResponse>","errorExample":""}]', - 'title' => 'GetStsInfoAndOssPath', - ], - 'AssociateIpWithConnectionPool' => [ - 'summary' => '绑定ip到cciot关联ConnectionPool上面', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"IpMappingRuleId\\": \\"im-irrp3bzuu5nrbx****\\"\\n}","type":"json"}]', + 'title' => 'Create the IP redirection feature for an authorization rule', + 'changeSet' => [ + ['createdAt' => '2022-08-29T07:23:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-08-19T03:29:20.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIpMappingRule'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateIpMappingRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'CreateService' => [ + 'summary' => 'Creates an application-specific statistics service.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2963,152 +2324,105 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'ClientToken', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The ID of the IoT Cloud Connector instance.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'DryRun', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'RegionId', + 'name' => 'ServiceName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The name of the application-specific statistics service.'."\n" + ."\n" + .'The name must be 2 to 128 characters long. It must start with an English letter (uppercase or lowercase) or a Chinese character. It can contain numbers, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'service_name', 'title' => ''], ], [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'ServiceDescription', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The description of the application-specific statistics service.'."\n" + ."\n" + .'The description must be 2 to 256 characters long. It must start with an English letter (uppercase or lowercase) or a Chinese character. It cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'service_description', 'title' => ''], ], [ - 'name' => 'ConnectionPoolId', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cp-bp11234abctmno0hdq****', - ], + 'schema' => ['description' => 'The client token. Use it to ensure request idempotence.'."\n" + ."\n" + .'The client generates this parameter value. Ensure it is unique across different requests. The maximum length is 64 ASCII characters.'."\n" + ."\n" + .'> If not specified, the system automatically uses the API request\'s **RequestId** as the **ClientToken**. The **RequestId** might differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'Ips', + 'name' => 'DryRun', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.1.10,10.0.10.0,172.16.8.190', - ], - 'required' => false, - 'maxItems' => 1000, - ], + 'schema' => ['description' => 'Check if this request is a dry run. Valid values:'."\n" + ."\n" + .'- **true**: Send a check request. This does not create the service. The check includes required parameters, request format, and business limits. If the check fails, an error is returned. If the check passes, the `DryRunOperation` error code is returned.'."\n" + ."\n" + .'- **false** (default): Send a normal request. If the check passes, an HTTP 2xx status code is returned, and the service is created directly.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'IpsFilePath', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cciot-cn-hangzhou/127859184306****/test.csv', - ], + 'schema' => ['description' => 'The region ID where the application-specific statistics service is located.'."\n" + ."\n" + .'For more information, see [ListRegions]().', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'description' => '', + 'description' => 'List of returned information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', 'title' => ''], + 'ServiceId' => ['description' => 'The ID generated by the system for the application-specific statistics service. It is unique across the entire network.', 'type' => 'string', 'example' => 'c910061f-****-44e6-b659-***c', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceNotFound.UploadFile', - 'errorMessage' => 'The specified resource of uploaded ip file is not found.', - ], - [ - 'errorCode' => 'MissingParam.IpParam', - 'errorMessage' => 'The param of ip or ip path is missing.', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'OperationDenied.GrantedInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of granted instance not support.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.APN', - 'errorMessage' => 'The specified resource of apn is being configured, please try again later.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","errorExample":""},{"type":"xml","example":"<AssociateIpWithConnectionPoolResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n</AssociateIpWithConnectionPoolResponse>","errorExample":""}]', - ], - 'DissociateIpFromConnectionPool' => [ - 'summary' => '解除ip到cciot关联ConnectionPool上面的关联关系', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"ServiceId\\": \\"c910061f-****-44e6-b659-***c\\"\\n}","type":"json"}]', + 'title' => 'Create an application-specific statistics service', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateService'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateServiceEntry' => [ + 'summary' => 'Add application entries to the service list to enable per-application statistics.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3117,440 +2431,332 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'ClientToken', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The ID of the service for application-specific statistics. This ID is globally unique.', 'type' => 'string', 'required' => true, 'example' => 'c910061f-****-44e6-b659-***c', 'title' => ''], ], [ - 'name' => 'DryRun', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The ID of the IoT Cloud Connector instance.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'Target', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The destination address of the application entry.', 'type' => 'string', 'required' => true, 'example' => '192.168.1.32/27', 'title' => ''], ], [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'TargetType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The type of the destination address for the application entry. Valid values:'."\n" + ."\n" + .'- **Cidr**: A CIDR block.'."\n" + ."\n" + .'- **Domain**: A domain name.', 'type' => 'string', 'required' => true, 'example' => 'Cidr', 'title' => ''], ], [ - 'name' => 'ConnectionPoolId', + 'name' => 'ServiceEntryName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cp-bp11234abctmno0hdq****', - ], + 'schema' => ['description' => 'The name of the application entry.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length and must start with a letter or a Chinese character. It can contain digits, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'entry_name', 'title' => ''], ], [ - 'name' => 'Ips', + 'name' => 'ServiceEntryDescription', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.XX.XX,10.0.XX.XX,172.16.XX.XX', - ], - 'required' => false, - 'maxItems' => 1000, - ], + 'schema' => ['description' => 'The description of the application entry.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length and must start with a letter or a Chinese character. It cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'entry_description', 'title' => ''], ], [ - 'name' => 'IpsFilePath', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cciot-cn-hangzhou/127859184306****/test.csv', - ], + 'schema' => ['description' => 'A client token used to ensure the idempotence of the request.'."\n" + ."\n" + .'This token is generated by the client and must be unique for each request. The token can contain a maximum of 64 ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may be different for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], + ], + [ + 'name' => 'DryRun', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to perform a dry run. Valid values:'."\n" + ."\n" + .'- **true**: Sends a check request without adding the application entry. The system checks if required parameters are provided, the request format, and business limits. If the check fails, the corresponding error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + ."\n" + .'- **false** (default): Sends a normal request. After the check passes, an HTTP 2xx status code is returned and the application entry is added.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the region where the application entry is located.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) operation to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'Request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], + 'ServiceEntryId' => ['description' => 'The ID of the application entry.', 'type' => 'string', 'example' => 'fwd-119smw5tkasdf****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ResourceInConfiguring.ConnectionPool', - 'errorMessage' => 'The specified resource of ConnectionPool is being configured, please try again later.', - ], - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'MissingParam.IpParam', - 'errorMessage' => 'The param of ip or ip path is missing.', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'OperationDenied.GrantedInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of granted instance not support.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","errorExample":""},{"type":"xml","example":"<DissociateIpFromConnectionPoolResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n</DissociateIpFromConnectionPoolResponse>","errorExample":""}]', - 'title' => 'DissociateIpFromConnectionPool', - ], - 'GetConnectionPoolIpOperationResult' => [ - 'summary' => '获取地址池Ip操作结果', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"ServiceEntryId\\": \\"fwd-119smw5tkasdf****\\"\\n}","type":"json"}]', + 'title' => 'Add an application entry to the per-application feature list', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceEntry'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateServiceEntry', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + ], + ], + 'DeleteAuthorizationRule' => [ + 'summary' => 'Delete an authorization rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The instance ID of the cloud connector.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'AuthorizationRuleId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The ID of the authorization rule.', 'type' => 'string', 'required' => true, 'example' => 'ar-1234abcb8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'ConnectionPoolId', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cp-0gd9qnmv8431rh****', - ], + 'schema' => ['description' => 'The client token used to ensure the idempotence of the request.'."\n" + ."\n" + .'You must generate this parameter value on the client side and ensure that it is unique across different requests. It can contain up to 64 ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'QueryRequestId', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'CFA63CEB-15B6-4AE8-B203-F855FF7BA962', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without deleting the authorization rule. The system checks whether required parameters are specified, whether the request format is valid, and whether the request complies with service limits. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. If the check passes, the authorization rule is deleted.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the cloud connector instance.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) API to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The list of returned information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA651', - ], - 'ResultFilePaths' => [ - 'title' => 'OssPath', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'https://examplebucket.oss-eu-central-1.aliyuncs.com/ipma/cp-0gd9qnmv8431rh****-IOTCCGW67cbd****-error.xlsx?Expires=163239****&OSSAccessKeyId=TMP.3Kiw6QS****&Signature=isbvgluXxHv****&versionId=CAEQOhiBgMC****&response-content-type=application%2Foctet-stream', - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], + ['errorCode' => 'OperationDenied.IotCloudConnectorInGroup', 'errorMessage' => 'The operation is not allowed because of IotCloudConnector In Group.', 'description' => ''], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.AuthorizationRule', 'errorMessage' => 'The param of AuthorizationRuleId is illegal.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['errorCode' => 'IllegalParam.AuthoriztionRuleId', 'errorMessage' => 'The param of AuthoriztionRuleId is illegal.', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA651\\",\\n \\"ResultFilePaths\\": [\\n \\"https://examplebucket.oss-eu-central-1.aliyuncs.com/ipma/cp-0gd9qnmv8431rh****-IOTCCGW67cbd****-error.xlsx?Expires=163239****&OSSAccessKeyId=TMP.3Kiw6QS****&Signature=isbvgluXxHv****&versionId=CAEQOhiBgMC****&response-content-type=application%2Foctet-stream\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetConnectionPoolIpOperationResultResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA651</RequestId>\\n <ResultFilePaths>https://examplebucket.oss-eu-central-1.aliyuncs.com/ipma/cp-0gd9qnmv8431rh****-IOTCCGW67cbd****-error.xlsx?Expires=163239****&OSSAccessKeyId=TMP.3Kiw6QS****&Signature=isbvgluXxHv****&versionId=CAEQOhiBgMC****&response-content-type=application%2Foctet-stream</ResultFilePaths>\\n</GetConnectionPoolIpOperationResultResponse>","errorExample":""}]', - 'title' => 'GetConnectionPoolIpOperationResult', - ], - 'ListConnectionPoolAllIps' => [ - 'summary' => '查询地址池IP(CIDR)信息', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","type":"json"}]', + 'title' => 'Delete an Authorization Rule', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:37.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-12-20T08:55:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAuthorizationRule'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteAuthorizationRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'DeleteAuthorizationRules' => [ + 'summary' => 'Batch delete authorization rules.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], - ], - [ - 'name' => 'MaxResults', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '2000', - 'minimum' => '1', - 'example' => '10', - 'default' => '50', - ], - ], - [ - 'name' => 'RegionId', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'Cloud connector instance ID.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'AuthorizationRuleIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'List of authorization rule IDs. You can specify up to 200 authorization rule IDs.', + 'type' => 'array', + 'items' => ['description' => 'Authorization rule ID.', 'type' => 'string', 'required' => false, 'example' => 'ar-1234abcb8tmno0hdq****', 'title' => ''], 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', + 'maxItems' => 200, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ConnectionPoolId', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cp-bp11234abctmno0hdq****', - ], + 'schema' => ['description' => 'Ensures idempotence of the request.'."\n" + .'Generate a unique value for this parameter from your client to guarantee uniqueness across different requests. ClientToken supports only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'Ip', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.0.1', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without updating the authorization rules. The system checks whether required parameters are specified, whether the request format is valid, and whether business limits are exceeded. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. If the check passes, the authorization rules are updated immediately.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'Type', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Cidr', - ], + 'schema' => ['description' => 'Region ID. Default value: cn-hangzhou.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'Response body', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], - 'TotalIpsCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'ConnectionPoolIps' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ConnectionPoolId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cp-bp11234abctmno0hdq****', - ], - 'Ip' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.0.1', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'activated', - ], - 'Type' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Cidr', - ], - 'IpNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '254', - ], - ], - ], - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceNotFound.ConnectionPool', - 'errorMessage' => 'The specified resource of connection pool is not found.', + ['errorCode' => 'OperationDenied.IotCloudConnectorInGroup', 'errorMessage' => 'The operation is not allowed because of IotCloudConnector In Group.', 'description' => ''], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.AuthorizationRule', 'errorMessage' => 'The param of AuthorizationRuleId is illegal.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['errorCode' => 'IllegalParam.AuthoriztionRuleId', 'errorMessage' => 'The param of AuthoriztionRuleId is illegal.', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","type":"json"}]', + 'title' => 'Batch Delete Authorization Rules', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAuthorizationRules'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteAuthorizationRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"TotalIpsCount\\": 1,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 10,\\n \\"ConnectionPoolIps\\": [\\n {\\n \\"ConnectionPoolId\\": \\"cp-bp11234abctmno0hdq****\\",\\n \\"Ip\\": \\"192.168.0.1\\",\\n \\"Status\\": \\"activated\\",\\n \\"Type\\": \\"Cidr\\",\\n \\"IpNum\\": 254\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListConnectionPoolAllIpsResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n <TotalIpsCount>1</TotalIpsCount>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <MaxResults>10</MaxResults>\\n <ConnectionPoolIps>\\n <ConnectionPoolId>cp-bp11234abctmno0hdq****</ConnectionPoolId>\\n <Ip>192.168.0.1</Ip>\\n <Status>activated</Status>\\n <Type>Cidr</Type>\\n <IpNum>254</IpNum>\\n </ConnectionPoolIps>\\n</ListConnectionPoolAllIpsResponse>","errorExample":""}]', - 'title' => 'ListConnectionPoolAllIps', ], 'DeleteConnectionPool' => [ - 'summary' => '删除ConnectionPool', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Delete a connection address pool.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3562,126 +2768,94 @@ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The instance ID of the cloud connector.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ 'name' => 'ConnectionPoolId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1234abc', - ], + 'schema' => ['description' => 'The ID of the connection address pool.', 'type' => 'string', 'required' => true, 'example' => '1234abc', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'Ensures idempotence of the request.'."\n" + ."\n" + .'Generate a unique value for this parameter from your client to guarantee uniqueness across different requests. ClientToken supports only ASCII characters and cannot exceed 64 characters.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform only a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without deleting the connection address pool. The system checks whether required parameters are specified, whether the request format is valid, and whether business limits are exceeded. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. If the check passes, the connection address pool is deleted immediately.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the cloud connector instance. Only **cn-hangzhou** is supported.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The list of returned information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceExist.AuthorizationRule', - 'errorMessage' => 'The specified resource of AuthorizationRule exists.', - ], - [ - 'errorCode' => 'ResourceNotFound.ConnectionPool', - 'errorMessage' => 'The param of ConnectionPoolId is illegal.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.ConnectionPoolId', - 'errorMessage' => 'The param of ConnectionPoolId is illegal.', - ], - [ - 'errorCode' => 'OperationDenied.GrantedInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of granted instance not support.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceExist.AuthorizationRule', 'errorMessage' => 'The specified resource of AuthorizationRule exists.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.ConnectionPool', 'errorMessage' => 'The param of ConnectionPoolId is illegal.', 'description' => ''], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['errorCode' => 'IllegalParam.ConnectionPoolId', 'errorMessage' => 'The param of ConnectionPoolId is illegal.', 'description' => ''], + ['errorCode' => 'OperationDenied.GrantedInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of granted instance not support.', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteConnectionPoolResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n</DeleteConnectionPoolResponse>","errorExample":""}]', - 'title' => 'DeleteConnectionPool', - ], - 'CreateAuthorizationRule' => [ - 'summary' => '创建AuthorizationRule', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","type":"json"}]', + 'title' => 'Delete a connection address pool', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:39.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteConnectionPool'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteConnectionPool', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], ], + ], + 'DeleteDNSServiceRule' => [ + 'summary' => 'Deletes a DNS authorization rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3690,243 +2864,202 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The ID of the cloud connector instance.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-1y6h8z7imd2yu4****', 'title' => ''], ], [ - 'name' => 'DestinationType', + 'name' => 'DNSServiceRuleId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Cidr', - ], + 'schema' => ['description' => 'The ID of the DNS authorization rule.', 'type' => 'string', 'required' => true, 'example' => 'ar-r56ijpurlu50gi****', 'title' => ''], ], [ - 'name' => 'DestinationPort', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '80/80', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n" + ."\n" + .'The client generates this value. Make sure that the value is unique among different requests. The client token can contain a maximum of 64 ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may be different for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'Protocol', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'tcp', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run. Valid values:'."\n" + ."\n" + .'- **true**: Sends a check request without deleting the DNS authorization rule. The system checks for required parameters, request format, and service limits. If the check fails, the system returns the corresponding error. If the check passes, the system returns the error code `DryRunOperation`.'."\n" + ."\n" + .'- **false** (default): Sends a normal request. After the request passes the check, the system returns an HTTP 2xx status code and deletes the DNS authorization rule.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'Destination', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '47.0.XX.XX', - ], + 'schema' => ['description' => 'The region ID of the DNS authorization rule.'."\n" + ."\n" + .'> Currently, cloud connector is available in the following regions: China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Guangzhou), China (Chengdu), and Germany (Frankfurt).', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], - [ - 'name' => 'Policy', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'BC6D1C1D-6DBD-568C-B867-BC9CA699ED01', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Permit', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'OperationDenied.IotCloudConnectorInGroup', 'errorMessage' => 'The operation is not allowed because of IotCloudConnector In Group.', 'description' => ''], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.AuthorizationRule', 'errorMessage' => 'The param of AuthorizationRuleId is illegal.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['errorCode' => 'IllegalParam.AuthoriztionRuleId', 'errorMessage' => 'The param of AuthoriztionRuleId is illegal.', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BC6D1C1D-6DBD-568C-B867-BC9CA699ED01\\"\\n}","type":"json"}]', + 'title' => 'Delete a DNS authorization rule', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:37.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-02-15T11:56:00.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDNSServiceRule'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], + ], + 'ramActions' => [ [ - 'name' => 'SourceCidrs', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.XX.XX', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteDNSServiceRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], ], - 'required' => true, - 'maxItems' => 20, - 'minItems' => 1, ], ], + ], + ], + 'DeleteGroupAuthorizationRule' => [ + 'summary' => 'Deletes an authorization rule for an instance group.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], + ], + 'parameters' => [ [ - 'name' => 'AuthorizationRuleName', + 'name' => 'IoTCloudConnectorGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'rule01', - ], + 'schema' => ['description' => 'The ID of the instance group.', 'type' => 'string', 'required' => true, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], ], [ - 'name' => 'AuthorizationRuleDescription', + 'name' => 'AuthorizationRuleId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'rule01', - ], + 'schema' => ['description' => 'The ID of the authorization rule.', 'type' => 'string', 'required' => true, 'example' => 'gar-ez91t41jvi6tr8****', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n" + ."\n" + .'Generate the value from your client. The value must be unique for each request and can be up to 64 ASCII characters long.'."\n" + ."\n" + .'> If you do not specify this parameter, the system uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may be different for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run. Valid values:'."\n" + ."\n" + .'- **true**: Sends a check request. The authorization rule is not deleted. The check verifies required parameters, request format, and service limits. If the check fails, an error is returned. If the check passes, the `DryRunOperation` error code is returned.'."\n" + ."\n" + .'- **false** (default): Sends a normal request. After the check passes, an HTTP 2xx status code is returned and the operation is performed.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the instance group.'."\n" + ."\n" + .'Call [DescribeRegions](~~36063~~) to get the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The returned data.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], - 'AuthorizationRuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ar-1234abcb8tmno0hdq****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'OperationDenied.DomainFeatureDisabled', - 'errorMessage' => 'The operation is not allowed because of domain feature disabled.', - ], - [ - 'errorCode' => 'IllegalParam.Destination', - 'errorMessage' => 'The param of Destination is illegal.', - ], - [ - 'errorCode' => 'ResourceAlreadyExist.AuthorizationRule', - 'errorMessage' => 'The specified resource of AuthorizationRule already exists.', - ], - [ - 'errorCode' => 'Conflict.Param', - 'errorMessage' => 'The param is conflict.', - ], - [ - 'errorCode' => 'Conflict.Cidr', - 'errorMessage' => 'The cidr is conflict.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], - [ - 'errorCode' => 'QuotaExceeded.sourceCidrLimit', - 'errorMessage' => 'The quota of SourceCidrsPerAuthorizationRule is exceeded', - ], - [ - 'errorCode' => 'IllegalParam', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'QuotaExceeded.authorizationRuleInstanceLimit', - 'errorMessage' => 'The quota of AuthorizationRulePerIotCC is exceeded.', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'OperationDenied.DomainInHumanNetwork', - 'errorMessage' => 'The operation is not allowed because of domain or CIDR in human network.', - ], - [ - 'errorCode' => 'OperationDenied.CIDRMaskTooLarge', - 'errorMessage' => 'The operation is not allowed because of CIDR too large.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], - [ - 'errorCode' => 'IllegalParam.AuthorizationRule.DestinationType', - 'errorMessage' => 'The param of DestinationType is illegal.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"AuthorizationRuleId\\": \\"ar-1234abcb8tmno0hdq****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateAuthorizationRuleResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n <AuthorizationRuleId>ar-1234abcb8tmno0hdq****</AuthorizationRuleId>\\n</CreateAuthorizationRuleResponse>","errorExample":""}]', - ], - 'CreateAuthorizationRules' => [ - 'summary' => '批量创建AuthorizationRule', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","type":"json"}]', + 'title' => 'Delete an authorization rule for an instance group', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:37.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-12-14T09:32:05.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGroupAuthorizationRule'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteGroupAuthorizationRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], ], + ], + 'DeleteGroupDNSServiceRule' => [ + 'summary' => 'Deletes a DNS authorization rule for an instance group.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3935,227 +3068,98 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'IoTCloudConnectorGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotccg-g00epppbi9di9y****', - ], + 'schema' => ['description' => 'The ID of the cloud connector instance group.', 'type' => 'string', 'required' => true, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'DNSServiceRuleId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The ID of the DNS authorization rule.', 'type' => 'string', 'required' => true, 'example' => 'gar-ffnn1ewe2nmf3y****', 'title' => ''], ], [ - 'name' => 'DryRun', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n" + ."\n" + .'Make sure that the client token is unique among different requests. The token can contain a maximum of 64 ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** of each API request may be different.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run. Valid values:'."\n" + ."\n" + .'- **true**: Performs a dry run to check the request for validity. The system checks the required parameters, request format, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned. The DNS authorization rule is not deleted.'."\n" + ."\n" + .'- **false** (default): Sends a normal request. After the request passes the check, an HTTP 2xx status code is returned and the DNS authorization rule is deleted.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'AuthorizationRules', + 'name' => 'RegionId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'rule01', - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'rule01', - ], - 'SourceCidr' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '192.168.0.1/24', - ], - 'DestinationType' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Cidr', - ], - 'DestinationPort' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '80/80', - ], - 'Protocol' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'TCP', - ], - 'Destination' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '47.0.XX.XX', - ], - 'Policy' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Permit', - ], - ], - 'required' => false, - ], - 'required' => true, - 'maxItems' => 100, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The region ID of the cloud connector instance group.'."\n" + ."\n" + .'> Currently, cloud connector is available in the following regions: China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Guangzhou), China (Chengdu), and Germany (Frankfurt).', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], - 'AuthorizationRuleIds' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ar-1234abcb8tmno0hdq****', - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '77111A6A-56BA-59B2-8CAA-7CBF21648FB8', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'OperationDenied.DomainFeatureDisabled', - 'errorMessage' => 'The operation is not allowed because of domain feature disabled.', - ], - [ - 'errorCode' => 'IllegalParam.Destination', - 'errorMessage' => 'The param of Destination is illegal.', - ], - [ - 'errorCode' => 'ResourceAlreadyExist.AuthorizationRule', - 'errorMessage' => 'The specified resource of AuthorizationRule already exists.', - ], - [ - 'errorCode' => 'Conflict.Param', - 'errorMessage' => 'The param is conflict.', - ], - [ - 'errorCode' => 'Conflict.Cidr', - 'errorMessage' => 'The cidr is conflict.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], - [ - 'errorCode' => 'QuotaExceeded.sourceCidrLimit', - 'errorMessage' => 'The quota of SourceCidrsPerAuthorizationRule is exceeded', - ], - [ - 'errorCode' => 'IllegalParam', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'QuotaExceeded.authorizationRuleInstanceLimit', - 'errorMessage' => 'The quota of AuthorizationRulePerIotCC is exceeded', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'OperationDenied.DomainInHumanNetwork', - 'errorMessage' => 'The operation is not allowed because of domain or CIDR in human network.', - ], - [ - 'errorCode' => 'OperationDenied.CIDRMaskTooLarge', - 'errorMessage' => 'The operation is not allowed because of CIDR too large.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], - [ - 'errorCode' => 'IllegalParam.AuthorizationRule.DestinationType', - 'errorMessage' => 'The param of DestinationType is illegal.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"AuthorizationRuleIds\\": [\\n \\"ar-1234abcb8tmno0hdq****\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<CreateAuthorizationRulesResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n <AuthorizationRuleIds>ar-1234abcb8tmno0hdq****</AuthorizationRuleIds>\\n</CreateAuthorizationRulesResponse>","errorExample":""}]', - 'title' => 'CreateAuthorizationRules', - ], - 'UpdateAuthorizationRuleAttribute' => [ - 'summary' => '更新AuthorizationRule', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"77111A6A-56BA-59B2-8CAA-7CBF21648FB8\\"\\n}","type":"json"}]', + 'title' => 'Delete the DNS authorization rule of an instance group', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:37.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-02-15T11:56:00.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGroupDNSServiceRule'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteGroupDNSServiceRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'DeleteGroupIpMappingRule' => [ + 'summary' => 'Invoke the DeleteGroupIpMappingRule API to delete the IP redirection information of an instance group authorization rule. ', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4164,237 +3168,189 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'IoTCloudConnectorGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The ID of the cloud connector instance group. ', 'type' => 'string', 'required' => true, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], ], [ - 'name' => 'AuthorizationRuleId', + 'name' => 'GroupIpMappingRuleId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ar-1234abcb8tmno0hdq****', - ], + 'schema' => ['description' => 'The ID of the instance group IP redirection authorization rule to be deleted. ', 'type' => 'string', 'required' => true, 'example' => 'im-irrp3bzuu5nrbx****', 'title' => ''], ], [ - 'name' => 'DestinationType', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Cidr', - ], + 'schema' => ['description' => 'The client token used to ensure the idempotence of the request. '."\n" + ."\n" + .'Generate a unique value for this parameter from your client to guarantee uniqueness across different requests. ClientToken supports only ASCII characters. '."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request. ', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'DestinationPort', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '80/80', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run of the request. Valid values: '."\n" + .'- **true**: Sends a dry run request without deleting the IP redirection information of the instance group authorization rule. The system checks whether required parameters are specified, whether the request format is valid, and whether the request complies with business limits. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned. '."\n" + .'- **false** (default): Sends a normal request. If the check passes, an HTTP 2xx status code is returned and the operation is performed. ', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'Protocol', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'tcp', - ], + 'schema' => ['description' => 'The region ID of the instance group. '."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) API to obtain the region ID. '."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], - [ - 'name' => 'Destination', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.XX.XX', + 'description' => 'The request ID. ', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID. ', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'Policy', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Permit', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', 'description' => ''], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","type":"json"}]', + 'title' => 'Delete IP Redirection Information of an Instance Group Authorization Rule ', + 'changeSet' => [ + ['createdAt' => '2022-08-22T09:44:29.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGroupIpMappingRule'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], + ], + 'ramActions' => [ [ - 'name' => 'SourceCidrs', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.XX.XX', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteGroupIpMappingRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, ], ], + ], + ], + 'DeleteIoTCloudConnector' => [ + 'summary' => 'Delete a cloud connector instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'AuthorizationRuleName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'rule01', - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], + ], + 'parameters' => [ [ - 'name' => 'AuthorizationRuleDescription', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'rule01', - ], + 'schema' => ['description' => 'The instance ID of the cloud connector.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'Ensures the idempotence of the request.'."\n" + ."\n" + .'Generate a unique value for this parameter from your client to guarantee uniqueness across different requests. ClientToken supports only ASCII characters and cannot exceed 64 characters.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without deleting the instance. The system checks whether required parameters are specified, whether the request format is valid, and whether the request complies with service limits. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. If the check passes, the instance is deleted immediately.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the cloud connector instance. Valid value: **cn-hangzhou** only.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The list of returned information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'OperationDenied.NoParamModify', - 'errorMessage' => 'The operation is not allowed because of no param modified.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], - [ - 'errorCode' => 'QuotaExceeded.sourceCidrLimit', - 'errorMessage' => 'The quota of SourceCidrsPerAuthorizationRule is exceeded', - ], - [ - 'errorCode' => 'QuotaExceeded.authorizationRuleInstanceLimit', - 'errorMessage' => 'The quota of AuthorizationRulePerIotCC is exceeded', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'IllegalParam', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'ResourceNotFound.AuthorizationRule', - 'errorMessage' => 'The param of AuthorizationRuleId is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.Destination', - 'errorMessage' => 'The param of Destination is illegal.', - ], - [ - 'errorCode' => 'OperationDenied.NotSupportModify', - 'errorMessage' => 'The operation is not allowed because of this type not support modify.', - ], - [ - 'errorCode' => 'OperationDenied.CIDRMaskTooLarge', - 'errorMessage' => 'The operation is not allowed because of CIDR too large.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], + ['errorCode' => 'OperationDenied.IotCloudConnectorInGroup', 'errorMessage' => 'The operation is not allowed because of IotCloudConnector In Group.', 'description' => ''], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceInUse.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCC is in use.', 'description' => ''], + ['errorCode' => 'IncorrectStatus.CloudConnector', 'errorMessage' => 'The status of CloudConnector is incorrect.', 'description' => ''], + ['errorCode' => 'ResourceInCreating.IoTCloudConnector', 'errorMessage' => 'ResourceInCreating.IoTCloudConnector', 'description' => ''], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateAuthorizationRuleAttributeResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n</UpdateAuthorizationRuleAttributeResponse>","errorExample":""}]', - 'title' => 'UpdateAuthorizationRuleAttribute', - ], - 'ListAuthorizationRules' => [ - 'summary' => '显示AuthorizationRule', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","type":"json"}]', + 'title' => 'Delete a cloud connector instance', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:37.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-12-20T08:55:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteIoTCloudConnector'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteIoTCloudConnector', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'DeleteIoTCloudConnectorGroup' => [ + 'summary' => 'Delete an instance group.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4403,361 +3359,293 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'IoTCloudConnectorGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The ID of the instance group to delete.', 'type' => 'string', 'required' => true, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], ], [ - 'name' => 'AuthorizationRuleIds', + 'name' => 'ClientToken', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ar-1234abcb8tmno0hdq****', - ], - 'required' => false, - 'maxItems' => 100, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The client token used to ensure the idempotence of the request.'."\n" + ."\n" + .'This parameter value is generated by the client and must be unique across different requests. It can contain up to 64 ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'DestinationType', + 'name' => 'DryRun', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Cidr', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => 'Specifies whether to only perform a dry run for this request. Valid values:'."\n" + .'- **true**: Sends a dry run request without deleting the instance group. The system checks whether required parameters are specified, whether the request format is valid, and whether business limits are met. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. If the check passes, an HTTP 2xx status code is returned and the operation is performed immediately.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ - 'name' => 'Protocol', + 'name' => 'RegionId', 'in' => 'query', - 'style' => 'repeatList', + 'schema' => ['description' => 'The region ID of the instance group.'."\n" + ."\n" + .'You can call the [DescribeRegions](~~36063~~) API to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'tcp', + 'description' => 'The list of returned information.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceInCreating.IoTCloudConnectorGroup', 'errorMessage' => 'ResourceInCreating.IoTCloudConnectorGroup', 'description' => ''], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnectorGroup', 'errorMessage' => 'The specified resource of IoTCloudConnector Group is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnectorGroup', 'errorMessage' => 'The param of IoTCloudConnectorId Group is illegal.', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","type":"json"}]', + 'title' => 'Delete Instance Group', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:37.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-12-14T09:32:05.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteIoTCloudConnectorGroup'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], + ], + 'ramActions' => [ [ - 'name' => 'DestinationPort', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '80/80', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteIoTCloudConnectorGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, ], ], + ], + ], + 'DeleteIoTCloudConnetorBackhaulRoute' => [ + 'summary' => 'Call the DeleteIoTCloudConnectorBackhaulRoute operation to delete the backhaul route of a cloud connector instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Destination', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], + ], + 'parameters' => [ + [ + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.XX.XX', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The ID of the cloud connector instance.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'AuthorizationRuleStatus', + 'name' => 'ClientToken', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Created', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => 'A client token to ensure the idempotence of the request.'."\n" + ."\n" + .'Generate a unique value from your client for this parameter. ClientToken must consist of only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may be different for each request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'AuthorizationRuleName', + 'name' => 'DryRun', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'rule01', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run. Valid values:'."\n" + ."\n" + .'- **true**: Performs a dry run. The system checks the request for potential issues, including missing parameters, incorrect formatting, and service limits. The system does not delete the backhaul route. If the check fails, an error message is returned. If the check passes, the `DryRunOperation` error code is returned.'."\n" + ."\n" + .'- **false** (default): Sends the request. If the request passes the check, an HTTP 2xx status code is returned and the backhaul route is deleted.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'Policy', + 'name' => 'RegionId', 'in' => 'query', - 'style' => 'repeatList', + 'schema' => ['description' => 'The ID of the region where the cloud connector instance is deployed.'."\n" + ."\n" + .'Call the [ListRegions](~~313836~~) operation to get the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Permit', + 'description' => 'Request ID.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', 'title' => ''], ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'OperationDenied.IotCloudConnectorInGroup', 'errorMessage' => 'The operation is not allowed because of IotCloudConnector In Group.', 'description' => ''], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceInUse.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCC is in use.', 'description' => ''], + ['errorCode' => 'IncorrectStatus.CloudConnector', 'errorMessage' => 'The status of CloudConnector is incorrect.', 'description' => ''], + ['errorCode' => 'ResourceInCreating.IoTCloudConnector', 'errorMessage' => 'ResourceInCreating.IoTCloudConnector', 'description' => ''], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","type":"json"}]', + 'title' => 'Delete the backhaul route of the current cloud connector instance after it is attached to a VPC', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:37.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-05-06T12:57:35.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteIoTCloudConnetorBackhaulRoute'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], + ], + 'ramActions' => [ [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'caeba0bbb2be03f84eb48b699f0a****', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteIoTCloudConnetorBackhaulRoute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], ], ], + ], + ], + 'DeleteIpMappingRule' => [ + 'summary' => 'Invoke the DeleteIpMappingRule API to delete the IP redirection information of an authorization rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], + ], + 'parameters' => [ [ - 'name' => 'MaxResults', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '50', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'The instance ID of the cloud connector.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'IpMappingRuleId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the authorization rule whose IP redirection information you want to delete.', 'type' => 'string', 'required' => true, 'example' => 'im-irrp3bzuu5nrbx****', 'title' => ''], ], [ - 'name' => 'AuthorizationRuleType', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'System', - ], + 'schema' => ['description' => 'The client token that ensures the idempotence of the request.'."\n" + ."\n" + .'Generate a unique value for this parameter from your client to ensure uniqueness across different requests. ClientToken supports only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'FuzzyDestination', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without deleting the IP redirection information of the authorization rule. The system checks whether required parameters are specified, whether the request format is valid, and whether the request complies with business limits. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. If the check passes, an HTTP 2xx status code is returned and the operation is performed.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'FuzzyAuthorizationRuleName', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => 'The region ID of the instance.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) API to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'description' => '', + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'caeba0bbb2be03f84eb48b699f0a****', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'AuthorizationRules' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'IoTCloudConnectorId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], - 'Policy' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Permit', - ], - 'AuthorizationRuleStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Created', - ], - 'SourceCidrs' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], - ], - 'DestinationType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Cidr', - ], - 'Protocol' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tcp', - ], - 'DestinationPort' => [ - 'description' => '', - 'type' => 'string', - 'example' => '80/80', - ], - 'Destination' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], - 'AuthorizationRuleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'rule01', - ], - 'AuthorizationRuleDescription' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'rule01', - ], - 'AuthorizationRuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ar-1234abcb8tmno0hdq****', - ], - 'AuthorizationRuleType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'System', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], + ['errorCode' => 'OperationDenied.IotCloudConnectorInGroup', 'errorMessage' => 'The operation is not allowed because of IotCloudConnector In Group.', 'description' => ''], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.AuthorizationRule', 'errorMessage' => 'The param of AuthorizationRuleId is illegal.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['errorCode' => 'IllegalParam.AuthoriztionRuleId', 'errorMessage' => 'The param of AuthoriztionRuleId is illegal.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a****\\",\\n \\"MaxResults\\": 10,\\n \\"AuthorizationRules\\": [\\n {\\n \\"IoTCloudConnectorId\\": \\"iotcc-bp1odcab8tmno0hdq****\\",\\n \\"Policy\\": \\"Permit\\",\\n \\"AuthorizationRuleStatus\\": \\"Created\\",\\n \\"SourceCidrs\\": [\\n \\"192.168.XX.XX\\"\\n ],\\n \\"DestinationType\\": \\"Cidr\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"DestinationPort\\": \\"80/80\\",\\n \\"Destination\\": \\"192.168.XX.XX\\",\\n \\"AuthorizationRuleName\\": \\"rule01\\",\\n \\"AuthorizationRuleDescription\\": \\"rule01\\",\\n \\"AuthorizationRuleId\\": \\"ar-1234abcb8tmno0hdq****\\",\\n \\"AuthorizationRuleType\\": \\"System\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListAuthorizationRulesResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n <TotalCount>10</TotalCount>\\n <NextToken>caeba0bbb2be03f84eb48b699f0a****</NextToken>\\n <MaxResults>10</MaxResults>\\n <AuthorizationRules>\\n <IoTCloudConnectorId>iotcc-bp1odcab8tmno0hdq****</IoTCloudConnectorId>\\n <Policy>Permit</Policy>\\n <AuthorizationRuleStatus>Created</AuthorizationRuleStatus>\\n <SourceCidrs>192.168.XX.XX</SourceCidrs>\\n <DestinationType>Cidr</DestinationType>\\n <Protocol>tcp</Protocol>\\n <DestinationPort>80/80</DestinationPort>\\n <Destination>192.168.XX.XX</Destination>\\n <AuthorizationRuleName>rule01</AuthorizationRuleName>\\n <AuthorizationRuleDescription>rule01</AuthorizationRuleDescription>\\n <AuthorizationRuleId>ar-1234abcb8tmno0hdq****</AuthorizationRuleId>\\n <AuthorizationRuleType>System</AuthorizationRuleType>\\n </AuthorizationRules>\\n</ListAuthorizationRulesResponse>","errorExample":""}]', - 'title' => 'ListAuthorizationRules', - ], - 'DeleteAuthorizationRule' => [ - 'summary' => '删除AuthorizationRule', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","type":"json"}]', + 'title' => 'Delete IP Redirection Information of an Authorization Rule', + 'changeSet' => [ + ['createdAt' => '2022-08-22T09:44:29.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteIpMappingRule'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteIpMappingRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], ], + ], + 'DeleteService' => [ + 'summary' => 'Deletes the application-specific statistics service.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4769,122 +3657,92 @@ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The system-generated ID for the application-specific statistics service. This ID is unique across the network.', 'type' => 'string', 'required' => true, 'example' => 'c910061f-****-44e6-b659-***c', 'title' => ''], ], [ - 'name' => 'AuthorizationRuleId', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ar-1234abcb8tmno0hdq****', - ], + 'schema' => ['description' => 'The cloud connector instance ID.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The client token. This token ensures request idempotence. Generate this value on the client side. Ensure it is unique across different requests. The maximum length is 64 ASCII characters.'."\n" + ."\n" + .'The client generates this parameter value, which must be unique across requests and have a maximum length of 64 ASCII characters.'."\n" + ."\n" + .'> If not specified, the system automatically uses the API request\'s **RequestId** as the **ClientToken** identifier. The **RequestId** for each API request may differ.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Whether to only dry run this request. Valid values:'."\n" + ."\n" + .'- **true**: Sends a check request. This does not delete the service. The check includes required parameters, request format, and business constraints. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + ."\n" + .'- **false** (default value): Sends a normal request. If the check passes, it returns an HTTP 2xx status code and deletes the service.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID where the application-specific statistics service is located.'."\n" + ."\n" + .'Obtain the region ID by calling the [ListRegions](~~313836~~) API.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'List of returned information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'OperationDenied.IotCloudConnectorInGroup', - 'errorMessage' => 'The operation is not allowed because of IotCloudConnector In Group.', - ], - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'ResourceNotFound.AuthorizationRule', - 'errorMessage' => 'The param of AuthorizationRuleId is illegal.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.AuthoriztionRuleId', - 'errorMessage' => 'The param of AuthoriztionRuleId is illegal.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteAuthorizationRuleResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n</DeleteAuthorizationRuleResponse>","errorExample":""}]', - 'title' => 'DeleteAuthorizationRule', - ], - 'CreateIoTCloudConnectorGroup' => [ - 'summary' => '创建IoTCC Group', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","type":"json"}]', + 'title' => 'Delete the per-application statistics service', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteService'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'DeleteServiceEntry' => [ + 'summary' => 'Delete an application statistics entry.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4893,125 +3751,100 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'Name', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cctest', - ], + 'schema' => ['description' => 'The globally unique ID that the system generates for the application statistics service.', 'type' => 'string', 'required' => true, 'example' => 'c910061f-****-44e6-b659-***c', 'title' => ''], ], [ - 'name' => 'Description', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The ID of the cloud connector instance.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'ServiceEntryId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The ID of the application entry.', 'type' => 'string', 'required' => true, 'example' => 'fwd-119smw5tkasdf****', 'title' => ''], ], [ - 'name' => 'DryRun', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'A client token that ensures idempotence.'."\n" + ."\n" + .'Generate a unique value on the client side. The value must be unique across requests and contain no more than 64 ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system uses the **RequestId** of the API request as the **ClientToken**. Each API request may have a different **RequestId**.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'Specify whether to perform a dry run.'."\n" + ."\n" + .'- **true**: Run a check only. The system does not delete the application entry. The check includes required parameters, request format, and business limits. If the check fails, the system returns the corresponding error. If the check passes, the system returns the error code `DryRunOperation`.'."\n" + ."\n" + .'- **false** (default): Run the request normally. After passing the check, the system returns an HTTP 2xx status code and deletes the application entry.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'Type', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Standard', - ], + 'schema' => ['description' => 'The region ID where the application entry resides.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) operation to query region IDs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'IoTCloudConnectorGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotccg-g00epppbi9di9y****', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', - 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateIoTCloudConnectorGroupResponse>\\n <IoTCloudConnectorGroupId>iotccg-g00epppbi9di9y****</IoTCloudConnectorGroupId>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n</CreateIoTCloudConnectorGroupResponse>","errorExample":""}]', - 'title' => 'CreateIoTCloudConnectorGroup', - ], - 'AddIoTCloudConnectorToGroup' => [ - 'summary' => '增加IoTCC到Group', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","type":"json"}]', + 'title' => 'Delete an application-specific statistics entry', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceEntry'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteServiceEntry', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], ], + ], + 'DisableIoTCloudConnectorAccessLog' => [ + 'summary' => 'Disables the access log feature.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5020,120 +3853,90 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], - 'required' => true, - 'maxItems' => 20, - ], - ], - [ - 'name' => 'IoTCloudConnectorGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotccg-g00epppbi9di9y****', - ], + 'schema' => ['description' => 'The ID of the cloud connector instance.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n" + ."\n" + .'The client generates this parameter value. Make sure that the value is unique for different requests. The value can contain a maximum of 64 ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system uses the **RequestId** of the request as the **ClientToken**. The **RequestId** of each request may be different.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run. Valid values:'."\n" + ."\n" + .'- **true**: Sends a check request but does not disable the access log feature. The system checks for required parameters, request format, and service limits. If the check fails, an error is returned. If the check passes, the `DryRunOperation` error code is returned.'."\n" + ."\n" + .'- **false** (default): Sends a normal request. If the request passes the check, an HTTP 2xx status code is returned and the access log feature is disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region where the cloud connector instance is deployed.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) operation to query the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'This section lists the response information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ResourceAlreadyAssociated.CloudConnector', - 'errorMessage' => 'The specified resource of CloudConnector is already associated.', - ], - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', - 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"cn-hangzhou\\"\\n}","errorExample":""},{"type":"xml","example":"<AddIoTCloudConnectorToGroupResponse>\\n <RequestId>cn-hangzhou</RequestId>\\n</AddIoTCloudConnectorToGroupResponse>","errorExample":""}]', - 'title' => 'AddIoTCloudConnectorToGroup', - ], - 'UpdateIoTCloudConnectorGroupAttribute' => [ - 'summary' => '修改IoTCC Group属性', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","type":"json"}]', + 'title' => 'Disable the access log feature', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableIoTCloudConnectorAccessLog'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:DisableIoTCloudConnectorAccessLog', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'DissociateIpFromConnectionPool' => [ + 'summary' => 'Detach the binding relationship between IP addresses and the connection address pool associated with the cloud connector.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5145,124 +3948,122 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorGroupId', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotccg-g00epppbi9di9y****', - ], + 'schema' => ['description' => 'Ensures the idempotence of the request.'."\n" + .'Generate a unique value from your client for this parameter to guarantee uniqueness across different requests. ClientToken supports only ASCII characters and cannot exceed 64 characters.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'Name', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without detaching the binding relationship between the IP addresses and the connection address pool associated with the cloud connector. The system checks whether required parameters are specified, whether the request format is valid, and whether business limits are met. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. After passing the checks, the binding relationship between the IP addresses and the connection address pool associated with the cloud connector is detached immediately.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'Description', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'description', - ], + 'schema' => ['description' => 'Region ID of the cloud connector instance. Only **cn-hangzhou** is supported.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'Cloud connector instance ID.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'DryRun', + 'name' => 'ConnectionPoolId', + 'in' => 'query', + 'schema' => ['description' => 'Connection address pool ID.', 'type' => 'string', 'required' => true, 'example' => 'cp-bp11234abctmno0hdq****', 'title' => ''], + ], + [ + 'name' => 'Ips', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'boolean', + 'description' => 'List of IP addresses to be detached.'."\n" + .'Up to 500 IP addresses can be specified. Separate multiple IP addresses with commas (,).', + 'type' => 'array', + 'items' => ['description' => 'List of IP addresses to be detached.'."\n" + .'Up to 500 IP addresses can be specified. Separate multiple IP addresses with commas (,).'."\n" + ."\n" + .'**Ips** and **IpsFilePath** cannot be specified at the same time. If the number of IP addresses is small, use **Ips**. If the number of IP addresses is large, we recommend using **IpsFilePath** to record all IP addresses to be detached in a template file and detach them in bulk.', 'type' => 'string', 'required' => false, 'example' => '192.168.XX.XX,10.0.XX.XX,172.16.XX.XX', 'title' => ''], 'required' => false, - 'example' => 'false', + 'maxItems' => 1000, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'RegionId', + 'name' => 'IpsFilePath', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'OSS path of the template file, which corresponds to the **OssPath** parameter returned by the [GetStsInfoAndOssPath](~~313331~~) API.'."\n" + ."\n" + .'The format is `<BucketName>/<uid>/<FileName>`.'."\n" + ."\n" + .'**Ips** and **IpsFilePath** cannot be specified at the same time. If the number of IP addresses is small, use **Ips**. If the number of IP addresses is large, we recommend using **IpsFilePath** to record all IP addresses to be detached in a template file and detach them in bulk.', 'type' => 'string', 'required' => false, 'example' => 'cciot-cn-hangzhou/127859184306****/test.csv', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'List of returned messages.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnectorGroup', - 'errorMessage' => 'The specified resource of IoTCloudConnectorGroup is configuring, please try again later.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnectorGroup', - 'errorMessage' => 'The param of IoTCloudConnectorGroupId is illegal.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], + ['errorCode' => 'ResourceInConfiguring.ConnectionPool', 'errorMessage' => 'The specified resource of ConnectionPool is being configured, please try again later.', 'description' => ''], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'MissingParam.IpParam', 'errorMessage' => 'The param of ip or ip path is missing.', 'description' => ''], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'OperationDenied.GrantedInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of granted instance not support.', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateIoTCloudConnectorGroupAttributeResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</UpdateIoTCloudConnectorGroupAttributeResponse>","errorExample":""}]', - 'title' => ' UpdateIoTCloudConnectorGroupAttribute', - ], - 'ListIoTCloudConnectorGroups' => [ - 'summary' => '查询IoTCC Group分组列表', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","type":"json"}]', + 'title' => 'Detach Card IP', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:39.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-12-21T10:11:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-08-27T02:33:48.000Z', 'description' => 'Error codes changed, Request parameters changed'], + ['createdAt' => '2021-08-27T02:33:48.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-08-27T02:33:48.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DissociateIpFromConnectionPool'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:DissociateIpFromConnectionPool', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + ], + ], + 'DissociateVSwitchFromIoTCloudConnector' => [ + 'summary' => 'Detach a vSwitch from a cloud connector instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5271,263 +4072,91 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorGroupStatus', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Created', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], - ], - [ - 'name' => 'IoTCloudConnectorGroupIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'iotccg-g00epppbi9di9y****', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], - ], - [ - 'name' => 'IoTCloudConnectorGroupName', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cctest', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The instance ID of the cloud connector.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'NextToken', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], + 'schema' => ['description' => 'Ensures idempotence of the request.'."\n" + ."\n" + .'Generate a unique value for this parameter from your client to guarantee uniqueness across different requests. ClientToken supports only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '50', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without detaching the vSwitch from the cloud connector instance. The system checks whether required parameters are specified, whether the request format is valid, and whether business limits are met. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. After passing the check, the vSwitch is detached from the cloud connector instance.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'Type', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Standard', - ], + 'schema' => ['description' => 'The region ID of the cloud connector instance.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) API to obtain the region ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The list of returned information.', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], - 'IoTCloudConnectorGroups' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'IoTCloudConnectorGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotccg-g00epppbi9di9y****', - ], - 'IoTCloudConnectorGroupStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Created', - ], - 'IoTCloudConnectors' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'IoTCloudConnectorId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], - 'IoTCloudConnectorStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Created', - ], - 'IoTCloudConnectorName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cc01', - ], - 'IoTCloudConnectorDescription' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cc01', - ], - 'CreateTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2021-10-01 00:00:00', - ], - 'ISP' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'mobile', - ], - 'APN' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CMWAP', - ], - 'ServiceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Normal', - ], - ], - ], - ], - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cctest', - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'CreateTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2021-10-01 00:00:00', - ], - 'Type' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Standard', - ], - 'ServiceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Normal', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceNotAssociated.VpcId', 'errorMessage' => 'The specified resource of VpcId is not associated.', 'description' => 'The error message returned because the VPC of the user does not exist.'], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 10,\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"IoTCloudConnectorGroups\\": [\\n {\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"IoTCloudConnectorGroupStatus\\": \\"Created\\",\\n \\"IoTCloudConnectors\\": [\\n {\\n \\"IoTCloudConnectorId\\": \\"iotcc-bp1odcab8tmno0hdq****\\",\\n \\"IoTCloudConnectorStatus\\": \\"Created\\",\\n \\"IoTCloudConnectorName\\": \\"cc01\\",\\n \\"IoTCloudConnectorDescription\\": \\"cc01\\",\\n \\"CreateTime\\": 0,\\n \\"ISP\\": \\"mobile\\",\\n \\"APN\\": \\"CMWAP\\",\\n \\"ServiceType\\": \\"Normal\\"\\n }\\n ],\\n \\"Name\\": \\"cctest\\",\\n \\"Description\\": \\"test\\",\\n \\"CreateTime\\": 0,\\n \\"Type\\": \\"Standard\\",\\n \\"ServiceType\\": \\"Normal\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListIoTCloudConnectorGroupsResponse>\\n <TotalCount>10</TotalCount>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <MaxResults>10</MaxResults>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n <IoTCloudConnectorGroups>\\n <IoTCloudConnectorGroupId>iotccg-g00epppbi9di9y****</IoTCloudConnectorGroupId>\\n <IoTCloudConnectorGroupStatus>Created</IoTCloudConnectorGroupStatus>\\n <IoTCloudConnectors>\\n <IoTCloudConnectorId>iotcc-bp1odcab8tmno0hdq****</IoTCloudConnectorId>\\n <IoTCloudConnectorStatus>Created</IoTCloudConnectorStatus>\\n <IoTCloudConnectorName>cc01</IoTCloudConnectorName>\\n <IoTCloudConnectorDescription>cc01</IoTCloudConnectorDescription>\\n <ISP>mobile</ISP>\\n <APN>CMWAP</APN>\\n <ServiceType>Normal</ServiceType>\\n </IoTCloudConnectors>\\n <Name>cctest</Name>\\n <Description>test</Description>\\n <Type>Standard</Type>\\n <ServiceType>Normal</ServiceType>\\n </IoTCloudConnectorGroups>\\n</ListIoTCloudConnectorGroupsResponse>","errorExample":""}]', - 'title' => 'ListIoTCloudConnectorGroups', - ], - 'RemoveIoTCloudConnectorFromGroup' => [ - 'summary' => '移除IoTCC Group中的IoTCC', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","type":"json"}]', + 'title' => 'Detach vSwitch/VPC', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DissociateVSwitchFromIoTCloudConnector'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:DissociateVSwitchFromIoTCloudConnector', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], ], + ], + 'EnableIoTCloudConnectorAccessLog' => [ + 'summary' => 'Enables access logging for a cloud connector.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5539,445 +4168,555 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], - 'required' => true, - ], + 'schema' => ['description' => 'The ID of the cloud connector instance.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'IoTCloudConnectorGroupId', + 'name' => 'AccessLogSlsProject', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotccg-g00epppbi9di9y****', - ], + 'schema' => ['description' => 'The Log Service project that receives access logs.', 'type' => 'string', 'required' => true, 'example' => 'sls-setter', 'title' => ''], + ], + [ + 'name' => 'AccessLogSlsLogStore', + 'in' => 'query', + 'schema' => ['description' => 'The Logstore that receives access logs.', 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'A client token that ensures the idempotence of the request.'."\n" + ."\n" + .'Generate a unique value on the client side. The value must be unique across requests and contain no more than 64 ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system uses the **RequestId** of the API request as the **ClientToken**. Each API request may have a different **RequestId**.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'Specifies whether to perform only a dry run.'."\n" + ."\n" + .'- **true**: Performs a check. Does not enable access logging. Checks include required parameters, request format, and business limits. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + ."\n" + .'- **false** (default): Performs the operation. Returns an HTTP 2xx status code and enables access logging after passing the check.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region where the cloud connector instance resides.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) operation to query region IDs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The response information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', - 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","errorExample":""},{"type":"xml","example":"<RemoveIoTCloudConnectorFromGroupResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n</RemoveIoTCloudConnectorFromGroupResponse>","errorExample":""}]', - 'title' => 'RemoveIoTCloudConnectorFromGroup', - ], - 'DeleteIoTCloudConnectorGroup' => [ - 'summary' => '删除CloudConnector分组', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","type":"json"}]', + 'title' => 'Enable the access log feature', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableIoTCloudConnectorAccessLog'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:EnableIoTCloudConnectorAccessLog', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], ], + ], + 'GetConnectionPoolIpOperationResult' => [ + 'summary' => 'Obtain the operation results of binding and detaching IP addresses from an address pool.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorGroupId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotccg-g00epppbi9di9y****', - ], + 'schema' => ['description' => 'The region ID where the cloud connector instance resides.'."\n" + ."\n" + .'You can obtain the region ID by invoking the [DescribeRegions](~~36063~~) API.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The cloud connector instance ID.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'DryRun', + 'name' => 'ConnectionPoolId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The connection address pool ID.', 'type' => 'string', 'required' => true, 'example' => 'cp-0gd9qnmv8431rh****', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'QueryRequestId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The request ID used for the query. This is the **RequestId** returned after successfully invoking the [AssociateIpWithConnectionPool](~~313334~~) or [DissociateIpFromConnectionPool](~~313335~~) API.', 'type' => 'string', 'required' => true, 'example' => 'CFA63CEB-15B6-4AE8-B203-F855FF7BA962', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'Returns a list of requests.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA651'], + 'ResultFilePaths' => [ + 'title' => 'OssPath', + 'description' => 'The OSS file URLs containing the execution results of the attach and detach operations. These are the download URLs for the result files returned after invoking the [AssociateIpWithConnectionPool](~~313334~~) or [DissociateIpFromConnectionPool](~~313335~~) API. The URL format is `https://<BucketName.oss domain name>/ipma/<result file>?<expiration info>&<temporary AK/SK info>&<signature info>`.'."\n" + ."\n" + .'The file content includes a list of failed IP addresses or error reasons for the attach and detach operations. If this field is empty, it indicates that there are no failure records.', + 'type' => 'array', + 'items' => ['description' => 'The OSS file URLs containing the execution results of the attach and detach operations. These are the download URLs for the result files returned after invoking the [AssociateIpWithConnectionPool](~~313334~~) or [DissociateIpFromConnectionPool](~~313335~~) API. The URL format is `https://<BucketName.oss domain name>/ipma/<result file>?<expiration info>&<temporary AK/SK info>&<signature info>`.'."\n" + ."\n" + .'The file content includes a list of failed IP addresses or error reasons for the attach and detach operations. If this field is empty, it indicates that there are no failure records.', 'type' => 'string', 'example' => 'https://examplebucket.oss-eu-central-1.aliyuncs.com/ipma/cp-0gd9qnmv8431rh****-IOTCCGW67cbd****-error.xlsx?Expires=163239****&OSSAccessKeyId=TMP.3Kiw6QS****&Signature=isbvgluXxHv****&versionId=CAEQOhiBgMC****&response-content-type=application%2Foctet-stream', 'title' => ''], + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceInCreating.IoTCloudConnectorGroup', - 'errorMessage' => 'ResourceInCreating.IoTCloudConnectorGroup', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnectorGroup', - 'errorMessage' => 'The specified resource of IoTCloudConnector Group is configuring, please try again later.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnectorGroup', - 'errorMessage' => 'The param of IoTCloudConnectorId Group is illegal.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteIoTCloudConnectorGroupResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n</DeleteIoTCloudConnectorGroupResponse>","errorExample":""}]', - 'title' => 'DeleteIoTCloudConnectorGroup', - ], - 'CreateGroupAuthorizationRule' => [ - 'summary' => '创建CloudConnector分组白名单', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA651\\",\\n \\"ResultFilePaths\\": [\\n \\"https://examplebucket.oss-eu-central-1.aliyuncs.com/ipma/cp-0gd9qnmv8431rh****-IOTCCGW67cbd****-error.xlsx?Expires=163239****&OSSAccessKeyId=TMP.3Kiw6QS****&Signature=isbvgluXxHv****&versionId=CAEQOhiBgMC****&response-content-type=application%2Foctet-stream\\"\\n ]\\n}","type":"json"}]', + 'title' => 'Obtain the Results of IP Address Attach and Detach Operations', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetConnectionPoolIpOperationResult'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:GetConnectionPoolIpOperationResult', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], ], + ], + 'GetDiagnoseResultForSingleCard' => [ + 'summary' => 'Retrieves the diagnostic result for a single card.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorGroupId', + 'name' => 'DiagnoseTaskId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotccg-g00epppbi9di9y****', - ], + 'schema' => ['description' => 'The ID of the network diagnostic task.', 'type' => 'string', 'required' => true, 'example' => 'diagnoseTask-bp2qhwdp2n9x6zkvq****', 'title' => ''], ], [ - 'name' => 'AuthorizationRuleDescription', + 'name' => 'RegionId', 'in' => 'query', + 'schema' => ['description' => 'The region ID of the Cloud Connector instance.'."\n" + ."\n" + .'For more information, see [ListRegions](~~313836~~).', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'rule', + 'description' => 'The request ID.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], + 'IoTCloudConnectorId' => ['description' => 'The ID of the Cloud Connector instance.', 'type' => 'string', 'example' => 'iotcc-smy9a5ockzp08n****', 'title' => ''], + 'CardIp' => ['description' => 'The source IP address of the card.', 'type' => 'string', 'example' => '169.254.XX.XX', 'title' => ''], + 'IccId' => ['description' => 'The ID of the source card.', 'type' => 'string', 'example' => '89860477*******27546', 'title' => ''], + 'Destination' => ['description' => 'The destination IP address or domain name of the diagnosis.', 'type' => 'string', 'example' => '114.114.XX.XX', 'title' => ''], + 'BeginTime' => ['description' => 'The UNIX timestamp for the start of the diagnosis. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1643077466', 'title' => ''], + 'EndTime' => ['description' => 'The UNIX timestamp for the end of the diagnosis. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1643077666', 'title' => ''], + 'Status' => ['description' => 'The status of the network diagnostic task. Valid values:'."\n" + ."\n" + .'- **success**: The diagnosis is successful.'."\n" + ."\n" + .'- **failed**: The diagnosis failed.'."\n" + ."\n" + .'- **diagnosing**: The diagnosis is in progress.', 'type' => 'string', 'example' => 'failed', 'title' => ''], + 'ErrorResult' => [ + 'description' => 'The list of diagnostic results.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of diagnostic results.', + 'type' => 'object', + 'properties' => [ + 'ErrorLevel' => ['description' => 'The severity level of the issue. Valid values:'."\n" + ."\n" + .'- **Error**: an error.'."\n" + ."\n" + .'- **Warning**: a warning.', 'type' => 'string', 'example' => 'Warning', 'title' => ''], + 'ErrorPart' => ['description' => 'The component where the issue occurred. Valid values:'."\n" + ."\n" + .'- **CCIOT**: The issue is with the Cloud Connector instance.'."\n" + ."\n" + .'- **Card**: The issue is with the Internet of Things (IoT) card.'."\n" + ."\n" + .'- **Terminal**: The issue is with the terminal.'."\n" + ."\n" + .'- **Server**: The issue is with the server.'."\n" + ."\n" + .'- **Apn**: The issue is with the Access Point Name (APN).', 'type' => 'string', 'example' => 'Terminal', 'title' => ''], + 'ErrorDesc' => ['description' => 'The cause of the issue.', 'type' => 'string', 'example' => 'Terminal abnormal', 'title' => ''], + 'ErrorSuggestion' => ['description' => 'The suggested solution.', 'type' => 'string', 'example' => 'Please check whether the terminal and card are compatible or whether the terminal can send messages', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'DiagnoseItem' => [ + 'description' => 'The list of diagnostic items.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of diagnostic items.', + 'type' => 'object', + 'properties' => [ + 'Part' => ['description' => 'The name of the diagnosed component. Valid values:'."\n" + ."\n" + .'- **CCIOT**: Cloud Connector.'."\n" + ."\n" + .'- **Card**: IoT card.'."\n" + ."\n" + .'- **Terminal**: terminal.'."\n" + ."\n" + .'- **Server**: server.'."\n" + ."\n" + .'- **Apn**: APN.', 'type' => 'string', 'example' => 'Terminal', 'title' => ''], + 'Status' => ['description' => 'The status of the diagnosed component. Valid values:'."\n" + ."\n" + .'- **Normal**: The component is working as expected.'."\n" + ."\n" + .'- **Wrong**: An error occurred on the component.'."\n" + ."\n" + .'- **Unknown**: The status of the component is unknown.', 'type' => 'string', 'example' => 'Normal', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"IoTCloudConnectorId\\": \\"iotcc-smy9a5ockzp08n****\\",\\n \\"CardIp\\": \\"169.254.XX.XX\\",\\n \\"IccId\\": \\"89860477*******27546\\",\\n \\"Destination\\": \\"114.114.XX.XX\\",\\n \\"BeginTime\\": 1643077466,\\n \\"EndTime\\": 1643077666,\\n \\"Status\\": \\"failed\\",\\n \\"ErrorResult\\": [\\n {\\n \\"ErrorLevel\\": \\"Warning\\",\\n \\"ErrorPart\\": \\"Terminal\\",\\n \\"ErrorDesc\\": \\"Terminal abnormal\\",\\n \\"ErrorSuggestion\\": \\"Please check whether the terminal and card are compatible or whether the terminal can send messages\\"\\n }\\n ],\\n \\"DiagnoseItem\\": [\\n {\\n \\"Part\\": \\"Terminal\\",\\n \\"Status\\": \\"Normal\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Obtain single-card diagnosis results', + 'changeSet' => [ + ['createdAt' => '2022-02-15T02:36:16.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDiagnoseResultForSingleCard'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], + ], + 'ramActions' => [ [ - 'name' => 'AuthorizationRuleName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ruletest', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:GetDiagnoseResultForSingleCard', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'GetIoTCloudConnectorAccessLog' => [ + 'summary' => 'Retrieves the access log status for a specified cloud connector.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], + ], + 'parameters' => [ [ - 'name' => 'SourceCidrs', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.0.1/24', - ], - 'required' => true, - 'maxItems' => 200, - ], + 'schema' => ['description' => 'The ID of the cloud connector instance.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'DestinationType', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Cidr', - ], + 'schema' => ['description' => 'A client token that ensures the idempotence of the request.'."\n" + ."\n" + .'Generate this value on the client side. It must be unique across requests and contain no more than 64 ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system uses the **RequestId** of the API request as the **ClientToken**. Each API request may have a different **RequestId**.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'DestinationPort', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '80/80', - ], + 'schema' => ['description' => 'Specify whether to perform only a dry run of this request. Valid values:'."\n" + ."\n" + .'- **true**: Submit a dry-run request. The system does not return access log status information. Instead, it checks required parameters, request format, and business limits. If the check fails, the system returns the corresponding error code. If the check passes, the system returns the error code `DryRunOperation`.'."\n" + ."\n" + .'- **false** (default): Submit a normal request. After passing the check, the system returns an HTTP 2xx status code and the access log status information.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'Protocol', + 'name' => 'RegionId', 'in' => 'query', + 'schema' => ['description' => 'The region ID of the cloud connector instance.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) operation to query region IDs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'tcp', + 'description' => 'The response data.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], + 'AccessLogSlsProject' => ['description' => 'The Log Service project that receives access logs.', 'type' => 'string', 'example' => 'sls-setter', 'title' => ''], + 'AccessLogSlsLogStore' => ['description' => 'The Logstore that receives access logs.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'AccessLogStatus' => ['description' => 'The status of access logging. Valid values:'."\n" + ."\n" + .'- **Opening**: Enabling access logging.'."\n" + ."\n" + .'- **Opened**: Access logging is enabled.'."\n" + ."\n" + .'- **Closed**: Access logging is disabled.'."\n" + ."\n" + .'- **Closing**: Disabling access logging.', 'type' => 'string', 'example' => 'Opened', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"AccessLogSlsProject\\": \\"sls-setter\\",\\n \\"AccessLogSlsLogStore\\": \\"test\\",\\n \\"AccessLogStatus\\": \\"Opened\\"\\n}","type":"json"}]', + 'title' => 'Obtain the access log of a specified cloud connector', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIoTCloudConnectorAccessLog'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], + ], + 'ramActions' => [ [ - 'name' => 'Destination', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '47.0.XX.XX', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:GetIoTCloudConnectorAccessLog', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], ], ], + ], + ], + 'GetStsInfoAndOssPath' => [ + 'summary' => 'Obtain the Security Token Service (STS) information of the service account and the temporary submission URL for the template file.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], + ], + 'parameters' => [ [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'Ensures request idempotence.'."\n" + ."\n" + .'You can generate a parameter value from your client to guarantee that this value is unique across different requests. ClientToken supports only ASCII characters and must not exceed 64 characters.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without retrieving information. The system checks whether required parameters are provided, whether the request format is valid, and whether business limits are met. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request and retrieves information if all checks pass.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the cloud connector instance. Valid value: **cn-hangzhou** only.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Policy', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Permit', - ], + 'schema' => ['description' => 'The instance ID of the cloud connector.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'Type', + 'name' => 'ConnectionPoolId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'System', - ], + 'schema' => ['description' => 'ID of the address pool.', 'type' => 'string', 'required' => true, 'example' => 'cp-bp11234abctmno0hdq****', 'title' => ''], + ], + [ + 'name' => 'FileName', + 'in' => 'query', + 'schema' => ['description' => 'Template file name.'."\n" + ."\n" + .'The template file supports only the CSV format.', 'type' => 'string', 'required' => false, 'example' => 'test.csv', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'Returns list information.', 'type' => 'object', 'properties' => [ - 'IoTCloudConnectorGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotccg-g00epppbi9di9y****', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], - 'AuthorizationRuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'gar-ez91t41jvi6tr8****', - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984'], + 'Expiration' => ['title' => 'Sts info expiration time', 'description' => 'UNIX timestamp indicating when the STS credentials expire.', 'type' => 'string', 'example' => '1633060876'], + 'AccessKeyId' => ['title' => 'Sts info of accessKeyId', 'description' => 'Temporary AccessKey ID from STS.', 'type' => 'string', 'example' => '<yourAccessKeyId>'], + 'AccessKeySecret' => ['title' => 'Sts info of accessKeySecret', 'description' => 'Temporary AccessKey secret from STS.', 'type' => 'string', 'example' => '<yourAccessKeySecret>'], + 'SecurityToken' => ['title' => 'Sts info of securityToken', 'description' => 'Security Token Service (STS) token.', 'type' => 'string', 'example' => '<yourSecurityToken>'], + 'OssPath' => ['title' => 'OssPath', 'description' => 'Temporary submission URL for the template file.'."\n" + ."\n" + .'The format is `<BucketName>/<uid>/<FileName>`.'."\n" + ."\n" + .'Based on the uploaded file name and user information, the system returns temporary STS credentials and the submission URL for the IP binding relationship CSV file. You must invoke the [PutObject](~~31978~~) API to upload the file to this URL.', 'type' => 'string', 'example' => 'cciot-cn-hangzhou/127859184306****/test.csv'], + ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', - 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', - ], - [ - 'errorCode' => 'ResourceAlreadyExist.AuthorizationRule', - 'errorMessage' => 'The specified resource of AuthorizationRule already exists.', - ], - [ - 'errorCode' => 'OperationDenied.DomainInHumanNetwork', - 'errorMessage' => 'The operation is not allowed because of domain or CIDR in human network.', - ], - [ - 'errorCode' => 'OperationDenied.CIDRMaskTooLarge', - 'errorMessage' => 'The operation is not allowed because of CIDR too large.', - ], - [ - 'errorCode' => 'IllegalParam.Destination', - 'errorMessage' => 'The param of Destination is illegal.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"AuthorizationRuleId\\": \\"gar-ez91t41jvi6tr8****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateGroupAuthorizationRuleResponse>\\n <IoTCloudConnectorGroupId>iotccg-g00epppbi9di9y****</IoTCloudConnectorGroupId>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n <AuthorizationRuleId>gar-ez91t41jvi6tr8****</AuthorizationRuleId>\\n</CreateGroupAuthorizationRuleResponse>","errorExample":""}]', - 'title' => 'CreateGroupAuthorizationRule', - ], - 'UpdateGroupAuthorizationRuleAttribute' => [ - 'summary' => '修改CloudConnector分组白名单属性', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"Expiration\\": \\"1633060876\\",\\n \\"AccessKeyId\\": \\"<yourAccessKeyId>\\",\\n \\"AccessKeySecret\\": \\"<yourAccessKeySecret>\\",\\n \\"SecurityToken\\": \\"<yourSecurityToken>\\",\\n \\"OssPath\\": \\"cciot-cn-hangzhou/127859184306****/test.csv\\"\\n}","type":"json"}]', + 'title' => 'Obtain service account information and submission address', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetStsInfoAndOssPath'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:GetStsInfoAndOssPath', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + ], + ], + 'GrantVirtualBorderRouter' => [ + 'summary' => 'Grant the service-linked role (SLR) permissions for a virtual border router (VBR).', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5989,215 +4728,231 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorGroupId', + 'name' => 'VirtualBorderRouterId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotccg-g00epppbi9di9y****', - ], + 'schema' => ['description' => 'The ID of the virtual border router (VBR) instance.', 'type' => 'string', 'required' => false, 'example' => 'vbr-bp1svadp4lq38janc****', 'title' => ''], ], [ - 'name' => 'AuthorizationRuleDescription', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'rule', - ], + 'schema' => ['description' => 'The ID of the region where the VBR instance resides.'."\n" + ."\n" + .'You can call the [DescribeRegions](~~36063~~) operation to query region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], - [ - 'name' => 'AuthorizationRuleName', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ruletest', + 'title' => 'Schema of Response', + 'description' => 'The list of response information.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45'], + ], + 'example' => '', ], ], - [ - 'name' => 'AuthorizationRuleId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'gar-ez91t41jvi6tr8****', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], ], - [ - 'name' => 'SourceCidrs', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.0.1', - ], - 'required' => false, - 'maxItems' => 200, - ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","type":"json"}]', + 'title' => 'Attach authorization to VBR', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-08-02T03:06:14.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GrantVirtualBorderRouter'], ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], + ], + 'ramActions' => [ [ - 'name' => 'DestinationType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Cidr', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:GrantVirtualBorderRouter', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'ListAPNs' => [ + 'summary' => 'Query the list of APNs supported by cloud connector instances. ', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DestinationPort', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '80/80', - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], + ], + 'parameters' => [ [ - 'name' => 'Protocol', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'tcp', - ], + 'schema' => ['description' => 'Indicates whether a token for the next query exists. Valid values: '."\n" + ."\n" + .'- Do not specify this parameter for the first query or when there is no subsequent query. '."\n" + ."\n" + .'- If there is a subsequent query, set this parameter to the **NextToken** value returned by the previous API call. ', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], ], [ - 'name' => 'Destination', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '47.0.XX.XX', - ], + 'schema' => ['description' => 'The number of entries to return per page when performing a paginated query. Valid values: **1** to **50**. Default Value: **10**. ', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'example' => '10', 'default' => '10', 'title' => ''], ], [ - 'name' => 'Policy', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Permit', - ], + 'schema' => ['description' => 'The region ID of the cloud connector instance. '."\n" + ."\n" + .'You can obtain the region ID by invoking the [DescribeRegions](~~36063~~) API. ', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'APN', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The carrier APN ID. ', 'type' => 'string', 'required' => false, 'example' => 'CMWAP', 'title' => ''], ], [ - 'name' => 'DryRun', + 'name' => 'ISP', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The carrier corresponding to the APN. Valid values: '."\n" + ."\n" + .'- **telecom**: China Telecom. '."\n" + ."\n" + .'- **mobile**: China Mobile. '."\n" + ."\n" + .'- **unicom**: China Unicom. ', 'type' => 'string', 'required' => false, 'example' => 'mobile', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The edition of the cloud connector instance. Different editions have different feature limitations and billing policies. Valid values: '."\n" + ."\n" + .'- **Basic**: Basic Edition. '."\n" + ."\n" + .'- **Standard**: Standard Edition. '."\n" + ."\n" + .'<props="china">By default, cloud connector instances are created as Standard Edition. If you need to create a Basic Edition instance, [submit a ticket](https://selfservice.console.aliyun.com/ticket/category/ga/today) to request approval.</props> '."\n" + ."\n" + .'<props="intl">By default, cloud connector instances are created as Standard Edition. If you need to create a Basic Edition instance, [submit a ticket](https://workorder-intl.console.aliyun.com/?spm=5176.11182188.console-base-top.dworkorder.18ae4882n3v6ZW#/ticket/createIndex) to request approval.</props> '."\n", 'type' => 'string', 'required' => false, 'example' => 'Standard', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'List of returned information. ', 'type' => 'object', 'properties' => [ - 'IoTCloudConnectorGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotccg-g00epppbi9di9y****', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], - 'AuthorizationRuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'gar-ez91t41jvi6tr8****', + 'RequestId' => ['description' => 'Request ID. ', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], + 'TotalCount' => ['description' => 'Total number of entries in the list. ', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'NextToken' => ['description' => 'Indicates whether a token for the next query exists. Valid values: '."\n" + .'- If **NextToken** is empty, there is no subsequent query. '."\n" + .'- If **NextToken** has a return value, this value represents the token to start the next query. ', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], + 'MaxResults' => ['description' => 'Number of entries displayed per batch during paginated queries. ', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'APNs' => [ + 'description' => 'List of APNs. ', + 'type' => 'array', + 'items' => [ + 'description' => 'List of APNs. ', + 'type' => 'object', + 'properties' => [ + 'ISP' => ['description' => 'Carrier corresponding to the APN. Valid values: '."\n" + .'- **telecom**: China Telecom. '."\n" + .'- **mobile**: China Mobile. '."\n" + .'- **unicom**: China Unicom. ', 'type' => 'string', 'example' => 'mobile', 'title' => ''], + 'APN' => ['description' => 'Carrier APN ID. ', 'type' => 'string', 'example' => 'CMWAP', 'title' => ''], + 'Name' => ['description' => 'APN name.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Description' => ['description' => 'Description of the APN. ', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'ZoneList' => [ + 'description' => 'The list of zones to which the APN belongs. '."\n" + .'You can filter the list of available vSwitches based on this zone list. ', + 'type' => 'array', + 'items' => ['description' => 'The list of zones to which the APN belongs. '."\n" + .'You can filter the list of available vSwitches based on this zone list. ', 'type' => 'string', 'example' => '["eu-central-1a", "eu-central-1b"]', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'FeatureList' => [ + 'description' => 'Properties of the current APN. Valid values: '."\n" + .'- **trafficMirror**: traffic mirroring. '."\n" + .'- **wildcardDomain**: wildcard domain name. '."\n", + 'type' => 'array', + 'items' => ['description' => 'Properties of the current APN. Valid values: '."\n" + .'- **trafficMirror**: traffic mirroring. '."\n" + .'- **wildcardDomain**: wildcard domain name. '."\n", 'type' => 'string', 'example' => 'trafficMirror', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', - 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', - ], - [ - 'errorCode' => 'OperationDenied.NoFieldModify', - 'errorMessage' => 'The operation is not allowed because of no field modify.', - ], - [ - 'errorCode' => 'OperationDenied.CIDRMaskTooLarge', - 'errorMessage' => 'The operation is not allowed because of CIDR too large.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], - [ - 'errorCode' => 'IllegalParam.Destination', - 'errorMessage' => 'The param of Destination is illegal.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"AuthorizationRuleId\\": \\"gar-ez91t41jvi6tr8****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateGroupAuthorizationRuleAttributeResponse>\\n <IoTCloudConnectorGroupId>iotccg-g00epppbi9di9y****</IoTCloudConnectorGroupId>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n <AuthorizationRuleId>gar-ez91t41jvi6tr8****</AuthorizationRuleId>\\n</UpdateGroupAuthorizationRuleAttributeResponse>","errorExample":""}]', - 'title' => 'UpdateGroupAuthorizationRuleAttribute', - ], - 'ListGroupAuthorizationRules' => [ - 'summary' => '显示分组AuthorizationRule', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"TotalCount\\": 1,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 10,\\n \\"APNs\\": [\\n {\\n \\"ISP\\": \\"mobile\\",\\n \\"APN\\": \\"CMWAP\\",\\n \\"Name\\": \\"test\\",\\n \\"Description\\": \\"test\\",\\n \\"ZoneList\\": [\\n \\"[\\\\\\"eu-central-1a\\\\\\", \\\\\\"eu-central-1b\\\\\\"]\\"\\n ],\\n \\"FeatureList\\": [\\n \\"trafficMirror\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query APN ', + 'changeSet' => [ + ['createdAt' => '2022-06-20T09:08:14.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-08-27T02:33:48.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAPNs'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iotcc:ListAPNs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListAuthorizationRules' => [ + 'summary' => 'Query authorization rule information.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6206,40 +4961,30 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorGroupId', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotccg-g00epppbi9di9y****', - ], + 'schema' => ['description' => 'The instance ID of the cloud connector. ', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ 'name' => 'AuthorizationRuleIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'A list of authorization rule IDs. You can specify up to 20 authorization rule IDs. ', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'gar-ez91t41jvi6tr8****', - ], + 'items' => ['description' => 'A list of authorization rule IDs. You can specify up to 20 authorization rule IDs. ', 'type' => 'string', 'required' => false, 'example' => 'ar-1234abcb8tmno0hdq****', 'title' => ''], 'required' => false, - 'maxItems' => 20, + 'maxItems' => 100, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ @@ -6247,71 +4992,78 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'The type of access target. You can specify up to 20 access target types. Valid values:'."\n" + .'- **Cidr**: CIDR block.'."\n" + .'- **Domain**: Domain name.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Cidr', - ], + 'items' => ['description' => 'The type of access target. You can specify up to 20 access target types. Valid values:'."\n" + .'- **Cidr**: CIDR block.'."\n" + .'- **Domain**: Domain name.', 'type' => 'string', 'required' => false, 'example' => 'Cidr', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Destination', + 'name' => 'Protocol', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'The protocol type. You can specify up to 20 protocol types. Valid values: '."\n" + .'- **tcp** '."\n" + .'- **udp** '."\n" + .'- **icmp** '."\n" + .'- **all**: Supports all protocols.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '47.0.XX.XX', - ], + 'items' => ['description' => 'Protocol Type. You can specify up to 20 protocol types. Valid values:'."\n" + ."\n" + .'- **tcp**.'."\n" + .'- **udp**.'."\n" + .'- **icmp**.'."\n" + .'- **all**: supports all protocols.', 'type' => 'string', 'required' => false, 'example' => 'tcp', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Protocol', + 'name' => 'DestinationPort', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'The destination port range. You can specify up to 20 port ranges. Valid values: '."\n" + .'- For TCP and UDP protocols: 1 to 65535. Separate the start and end ports with a forward slash (/). Example: 1/200. '."\n" + .'- For ICMP protocol: -1/-1. '."\n" + .'- For ALL: -1/-1. ', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'tcp', - ], + 'items' => ['description' => 'The destination port range. You can specify up to 20 port ranges. Valid values: '."\n" + .'- For TCP and UDP protocols: 1 to 65535. Separate the start and end ports with a forward slash (/). Example: 1/200. '."\n" + .'- For ICMP protocol: -1/-1. '."\n" + .'- For ALL: -1/-1. ', 'type' => 'string', 'required' => false, 'example' => '80/80', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'DestinationPort', + 'name' => 'Destination', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'Access target.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '80/80', - ], + 'items' => ['description' => 'Access target. You can specify up to 20 access targets.', 'type' => 'string', 'required' => false, 'example' => '192.168.XX.XX', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ @@ -6319,17 +5071,22 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'The status of the authorization rule. You can specify up to 20 authorization rule statuses. Valid values:'."\n" + .'- **Creating**: Creation in progress.'."\n" + .'- **Created**: Creation completed.'."\n" + .'- **Deleting**: Deletion in progress.'."\n" + .'- **Updating**: Update in progress.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Created', - ], + 'items' => ['description' => 'The status of the authorization rule. You can specify up to 20 authorization rule statuses. Valid values: '."\n" + .'- **Creating**: The rule is being created. '."\n" + .'- **Created**: The rule has been created. '."\n" + .'- **Deleting**: The rule is being deleted. '."\n" + .'- **Updating**: The rule is being updated. ', 'type' => 'string', 'required' => false, 'example' => 'Created', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ @@ -6337,17 +5094,18 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'Authorization rule name. You can specify up to 20 authorization rule names.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ruletest', - ], + 'items' => ['description' => 'Authorization rule name. You can specify up to 20 authorization rule names.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.', 'type' => 'string', 'required' => false, 'example' => 'rule01', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ @@ -6355,576 +5113,422 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'Access policy. You can specify up to 20 access policies.'."\n" + .'- **Permit**: Allow.'."\n" + .'- **Deny**: Deny.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Permit', - ], + 'items' => ['description' => 'Access policy. You can specify up to 20 access policies. Valid values:'."\n" + .'- **Permit**: Allow.'."\n" + .'- **Deny**: Deny.', 'type' => 'string', 'required' => false, 'example' => 'Permit', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], + 'schema' => ['description' => 'Indicates whether a token for the next query exists. Valid values:'."\n" + .'- Do not specify this parameter for the first query or when there is no subsequent query.'."\n" + .'- If there is a subsequent query, set this parameter to the NextToken value returned by the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a****', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '50', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'The paging size. Valid values: **1** to **50**. If you leave this parameter empty, the default value is **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'example' => '10', 'default' => '10', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID where the cloud connector instance resides. '."\n" + ."\n" + .'You can obtain the region ID by invoking the [ListRegions](~~313836~~) API. ', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Type', + 'name' => 'AuthorizationRuleType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'System', - ], + 'schema' => ['description' => 'The type of the authorization rule. Valid values: '."\n" + .'- **System**: Indicates a system-defined authorization rule. '."\n" + .'- **Customer**: Indicates a custom authorization rule. '."\n" + .'- **Default**: Indicates a default authorization rule. ', 'type' => 'string', 'required' => false, 'example' => 'System', 'title' => ''], + ], + [ + 'name' => 'FuzzyDestination', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The fuzzy access target. ', 'example' => 'aliyuncs', 'title' => ''], + ], + [ + 'name' => 'FuzzyAuthorizationRuleName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The fuzzy authorization rule name.', 'example' => '测试', 'title' => ''], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ - 'description' => '', + 'description' => 'Returns a list of information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'GroupAuthorizationRules' => [ - 'description' => '', + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], + 'TotalCount' => ['description' => 'Total number of authorization rules.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'NextToken' => ['description' => 'Indicates whether a token for the next query exists. Valid values:'."\n" + .'- If **NextToken** is empty, there is no subsequent query.'."\n" + .'- If **NextToken** has a return value, this value represents the token to start the next query.', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a****', 'title' => ''], + 'MaxResults' => ['description' => 'The paging size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'AuthorizationRules' => [ + 'description' => 'List of authorization rules.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'List of authorization rules.', 'type' => 'object', 'properties' => [ - 'IoTCloudConnectorGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotccg-g00epppbi9di9y****', - ], - 'Policy' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Permit', - ], - 'AuthorizationRuleStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Created', - ], + 'IoTCloudConnectorId' => ['description' => 'Cloud connector instance ID. ', 'type' => 'string', 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], + 'Policy' => ['description' => 'Access policy. Valid values:'."\n" + .'- **Permit**: Allow.'."\n" + .'- **Deny**: Deny.', 'type' => 'string', 'example' => 'Permit', 'title' => ''], + 'AuthorizationRuleStatus' => ['description' => 'Authorization rule status. Valid values: '."\n" + .'- **Creating**: Creating. '."\n" + .'- **Created**: Created. '."\n" + .'- **Deleting**: Deleting. '."\n" + .'- **Updating**: Updating. ', 'type' => 'string', 'example' => 'Created', 'title' => ''], 'SourceCidrs' => [ - 'description' => '', + 'description' => 'Source CIDR blocks.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.0.0/32', - ], - ], - 'DestinationType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Cidr', - ], - 'DestinationPort' => [ - 'description' => '', - 'type' => 'string', - 'example' => '80/80', - ], - 'Protocol' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tcp', - ], - 'Destination' => [ - 'description' => '', - 'type' => 'string', - 'example' => '47.0.XX.XX', - ], - 'AuthorizationRuleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ruletest', - ], - 'AuthorizationRuleDescription' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'rule', - ], - 'AuthorizationRuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'gar-ez91t41jvi6tr8****', - ], - 'Type' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'System', + 'items' => ['description' => 'Source CIDR block. ', 'type' => 'string', 'example' => '192.168.XX.XX', 'title' => ''], + 'title' => '', + 'example' => '', ], + 'DestinationType' => ['description' => 'Target type for access. Valid values: '."\n" + .'- **Cidr**: CIDR block. '."\n" + .'- **Domain**: Domain name. ', 'type' => 'string', 'example' => 'Cidr', 'title' => ''], + 'Protocol' => ['description' => 'Protocol type. Valid values: '."\n" + .'- **tcp** '."\n" + .'- **udp** '."\n" + .'- **icmp** '."\n" + .'- **all**: Supports all protocols. ', 'type' => 'string', 'example' => 'tcp', 'title' => ''], + 'DestinationPort' => ['description' => 'Destination port range. Valid values: '."\n" + .'- For TCP and UDP protocols: 1 to 65535. Separate the start and end ports with a forward slash (/). Example: 1/200. '."\n" + .'- For ICMP protocol: -1/-1. '."\n" + .'- For ALL: -1/-1. ', 'type' => 'string', 'example' => '80/80', 'title' => ''], + 'Destination' => ['description' => 'Access target.', 'type' => 'string', 'example' => '192.168.XX.XX', 'title' => ''], + 'AuthorizationRuleName' => ['description' => 'Authorization rule name. '."\n" + ."\n" + .'The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character. ', 'type' => 'string', 'example' => 'rule01', 'title' => ''], + 'AuthorizationRuleDescription' => ['description' => 'Authorization rule description. ', 'type' => 'string', 'example' => 'rule01', 'title' => ''], + 'AuthorizationRuleId' => ['description' => 'Authorization rule ID.', 'type' => 'string', 'example' => 'ar-1234abcb8tmno0hdq****', 'title' => ''], + 'AuthorizationRuleType' => ['description' => 'Type of the authorization rule. Valid values:'."\n" + ."\n" + .'- **System**: Indicates that the authorization rule is of the system type.'."\n" + ."\n" + .'- **Customer**: Indicates that the authorization rule is of the custom type.'."\n" + ."\n" + .'- **Default**: Indicates that the authorization rule is of the default type.', 'type' => 'string', 'example' => 'System', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnectorGroup', - 'errorMessage' => 'The param of IoTCloudConnectorGroupId is illegal.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 10,\\n \\"GroupAuthorizationRules\\": [\\n {\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"Policy\\": \\"Permit\\",\\n \\"AuthorizationRuleStatus\\": \\"Created\\",\\n \\"SourceCidrs\\": [\\n \\"192.168.0.0/32\\"\\n ],\\n \\"DestinationType\\": \\"Cidr\\",\\n \\"DestinationPort\\": \\"80/80\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"Destination\\": \\"47.0.XX.XX\\",\\n \\"AuthorizationRuleName\\": \\"ruletest\\",\\n \\"AuthorizationRuleDescription\\": \\"rule\\",\\n \\"AuthorizationRuleId\\": \\"gar-ez91t41jvi6tr8****\\",\\n \\"Type\\": \\"System\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListGroupAuthorizationRulesResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n <TotalCount>10</TotalCount>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <MaxResults>10</MaxResults>\\n <GroupAuthorizationRules>\\n <IoTCloudConnectorGroupId>iotccg-g00epppbi9di9y****</IoTCloudConnectorGroupId>\\n <Policy>Permit</Policy>\\n <AuthorizationRuleStatus>Created</AuthorizationRuleStatus>\\n <SourceCidrs>192.168.0.0/32</SourceCidrs>\\n <DestinationType>Cidr</DestinationType>\\n <DestinationPort>80/80</DestinationPort>\\n <Protocol>tcp</Protocol>\\n <Destination>47.0.XX.XX</Destination>\\n <AuthorizationRuleName>ruletest</AuthorizationRuleName>\\n <AuthorizationRuleDescription>rule</AuthorizationRuleDescription>\\n <AuthorizationRuleId>gar-ez91t41jvi6tr8****</AuthorizationRuleId>\\n <Type>System</Type>\\n </GroupAuthorizationRules>\\n</ListGroupAuthorizationRulesResponse>","errorExample":""}]', - 'title' => 'ListGroupAuthorizationRules', - ], - 'DeleteGroupAuthorizationRule' => [ - 'summary' => '删除CloudConnector分组白名单', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a****\\",\\n \\"MaxResults\\": 10,\\n \\"AuthorizationRules\\": [\\n {\\n \\"IoTCloudConnectorId\\": \\"iotcc-bp1odcab8tmno0hdq****\\",\\n \\"Policy\\": \\"Permit\\",\\n \\"AuthorizationRuleStatus\\": \\"Created\\",\\n \\"SourceCidrs\\": [\\n \\"192.168.XX.XX\\"\\n ],\\n \\"DestinationType\\": \\"Cidr\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"DestinationPort\\": \\"80/80\\",\\n \\"Destination\\": \\"192.168.XX.XX\\",\\n \\"AuthorizationRuleName\\": \\"rule01\\",\\n \\"AuthorizationRuleDescription\\": \\"rule01\\",\\n \\"AuthorizationRuleId\\": \\"ar-1234abcb8tmno0hdq****\\",\\n \\"AuthorizationRuleType\\": \\"System\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query authorization rules', + 'changeSet' => [ + ['createdAt' => '2023-03-02T09:17:07.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-08-18T12:16:22.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-08-04T08:05:47.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2021-07-07T09:41:08.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAuthorizationRules'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListAuthorizationRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + ], + ], + 'ListConnectionPoolAllIps' => [ + 'summary' => 'Query all IP address information in the connection address pool.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorGroupId', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotccg-g00epppbi9di9y****', - ], + 'schema' => ['description' => 'Indicates whether a token for the next query exists. Valid values:'."\n" + .'- Do not specify this parameter for the first query or when there is no subsequent query.'."\n" + .'- If there is a subsequent query, set this parameter to the NextToken value returned by the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], ], [ - 'name' => 'AuthorizationRuleId', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'gar-ez91t41jvi6tr8****', - ], + 'schema' => ['description' => 'The number of entries to return per page during a paginated query. Valid values: **1** to **50**. Default Value: **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2000', 'minimum' => '1', 'example' => '10', 'default' => '50', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The Region ID of the cloud connector instance.'."\n" + ."\n" + .'You can invoke the [DescribeRegions](~~36063~~) API to obtain the Region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'DryRun', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The instance ID of the cloud connector.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'ConnectionPoolId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the connection address pool to query.', 'type' => 'string', 'required' => true, 'example' => 'cp-bp11234abctmno0hdq****', 'title' => ''], + ], + [ + 'name' => 'Ip', + 'in' => 'query', + 'schema' => ['description' => 'The IP address in the connection address pool.', 'type' => 'string', 'required' => false, 'example' => '192.168.0.1', 'title' => ''], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['description' => 'The type of IP address in the connection address pool. Valid values:'."\n" + ."\n" + .'- **Cidr**: The CIDR block to which the connection address pool belongs.'."\n" + ."\n" + .'- **Host**: The IP address of the Internet of Things SIM card.', 'type' => 'string', 'required' => false, 'example' => 'Cidr', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'List of returned information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], + 'TotalIpsCount' => ['description' => 'Total number of entries in the list.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'NextToken' => ['description' => 'Indicates whether a token for the next query exists. Valid values:'."\n" + .'- If **NextToken** is empty, there is no subsequent query.'."\n" + .'- If **NextToken** has a return value, this value represents the token to start the next query.', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], + 'MaxResults' => ['description' => 'Number of entries displayed per batch during paginated queries.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'ConnectionPoolIps' => [ + 'description' => 'List of IP addresses in the connection address pool.', + 'type' => 'array', + 'items' => [ + 'description' => 'List of IP addresses in the connection address pool.', + 'type' => 'object', + 'properties' => [ + 'ConnectionPoolId' => ['description' => 'Connection address pool ID.', 'type' => 'string', 'example' => 'cp-bp11234abctmno0hdq****', 'title' => ''], + 'Ip' => ['description' => 'IP address in the connection address pool.', 'type' => 'string', 'example' => '192.168.0.1', 'title' => ''], + 'Status' => ['description' => 'IP address status. Only **activated** is returned, indicating that the IP address has been activated and successfully attached to a cloud connector.', 'type' => 'string', 'example' => 'activated', 'title' => ''], + 'Type' => ['description' => 'Type of IP address in the connection address pool. Valid values:'."\n" + .'- **Cidr**: The CIDR block to which the connection address pool belongs.'."\n" + .'- **Host**: IP address of an Internet of Things (IoT) card.', 'type' => 'string', 'example' => 'Cidr', 'title' => ''], + 'IpNum' => ['description' => 'Available IP address count.'."\n" + .'- When **Type** is **Host**, the available IP address count is **1**.'."\n" + .'- When **Type** is **Cidr**, the available IP address count is the total number of IP addresses in the CIDR block.', 'type' => 'integer', 'format' => 'int64', 'example' => '254', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', - 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceNotFound.ConnectionPool', 'errorMessage' => 'The specified resource of connection pool is not found.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteGroupAuthorizationRuleResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n</DeleteGroupAuthorizationRuleResponse>","errorExample":""}]', - 'title' => 'DeleteGroupAuthorizationRule', - ], - 'GrantVirtualBorderRouter' => [ - 'summary' => '授权VirtualBorderRouter给后端创建云上APN', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"TotalIpsCount\\": 1,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 10,\\n \\"ConnectionPoolIps\\": [\\n {\\n \\"ConnectionPoolId\\": \\"cp-bp11234abctmno0hdq****\\",\\n \\"Ip\\": \\"192.168.0.1\\",\\n \\"Status\\": \\"activated\\",\\n \\"Type\\": \\"Cidr\\",\\n \\"IpNum\\": 254\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query all IP addresses in the connection address pool', + 'changeSet' => [ + ['createdAt' => '2022-06-08T06:27:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-12-21T08:47:54.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-12-16T11:28:01.000Z', 'description' => 'OpenAPI offline'], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListConnectionPoolAllIps'], ], - 'tenantRelevance' => 'publicInformation', + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], - 'parameters' => [ - [ - 'name' => 'VirtualBorderRouterId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vbr-bp1svadp4lq38janc****', - ], - ], + 'ramActions' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListConnectionPoolAllIps', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","errorExample":""},{"type":"xml","example":"<GrantVirtualBorderRouterResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n</GrantVirtualBorderRouterResponse>","errorExample":""}]', - 'title' => 'GrantVirtualBorderRouter', ], - 'CreateDNSServiceRule' => [ - 'summary' => '创建DNSServiceRule', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListConnectionPoolIps' => [ + 'summary' => 'Query the IP address status information in the connection address pool.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-1y6h8z7imd2yu4****', - ], - ], - [ - 'name' => 'ServiceType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Normal', - ], - ], - [ - 'name' => 'Destination', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.0.2', - ], + 'schema' => ['description' => 'A token used to mark the starting position for the current read operation. An empty value indicates reading from the beginning.'."\n" + ."\n" + .'> Do not provide this parameter in the first call. The response will include a NextToken for the second call. Each subsequent response will contain the NextToken for the next call.', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a****', 'title' => ''], ], [ - 'name' => 'Source', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '100.100.2.138', - ], + 'schema' => ['description' => 'Paging size. Valid values: **1** to **2000**. If left empty, the default value is **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2000', 'minimum' => '1', 'example' => '10', 'default' => '50', 'title' => ''], ], [ - 'name' => 'DNSServiceRuleName', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The Region ID where the cloud connector instance is located. Valid value: **cn-hangzhou** only.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'DNSServiceRuleDescription', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'description', - ], + 'schema' => ['description' => 'The instance ID of the cloud connector.', 'type' => 'string', 'required' => false, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'ConnectionPoolId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The ID of the connection address pool.', 'type' => 'string', 'required' => false, 'example' => 'cp-bp11234abctmno0hdq****', 'title' => ''], ], [ - 'name' => 'DryRun', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'RegionId', + 'name' => 'Ip', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'IP address in the connection address pool.', 'type' => 'string', 'required' => false, 'example' => '192.168.XX.XX', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Return the request list.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'BC6D1C1D-6DBD-568C-B867-BC9CA699ED01', - ], - 'DNSServiceRuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ar-r56ijpurlu50gi****', + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], + 'TotalCount' => ['description' => 'Total number of IPs in the connection address pool.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'NextToken' => ['description' => 'Token indicating the start of the next query. An empty value indicates that there is no next page.', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a****', 'title' => ''], + 'MaxResults' => ['description' => 'Paging size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'ConnectionPoolIps' => [ + 'description' => 'List of IPs in the connection address pool.', + 'type' => 'array', + 'items' => [ + 'description' => 'List of IPs in the connection address pool.', + 'type' => 'object', + 'properties' => [ + 'ConnectionPoolId' => ['description' => 'Connection address pool ID.', 'type' => 'string', 'example' => 'cp-bp11234abctmno0hdq****', 'title' => ''], + 'Ip' => ['description' => 'IP address in the connection address pool.', 'type' => 'string', 'example' => '192.168.XX.XX', 'title' => ''], + 'Status' => ['description' => 'IP address status. The only valid value is **activated**, which indicates that the IP address has been activated and successfully attached to a cloud connector.', 'type' => 'string', 'example' => 'activated', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'OperationDenied.DomainFeatureDisabled', - 'errorMessage' => 'The operation is not allowed because of domain feature disabled.', - ], - [ - 'errorCode' => 'IllegalParam.Destination', - 'errorMessage' => 'The param of Destination is illegal.', - ], - [ - 'errorCode' => 'ResourceAlreadyExist.AuthorizationRule', - 'errorMessage' => 'The specified resource of AuthorizationRule already exists.', - ], - [ - 'errorCode' => 'Conflict.Param', - 'errorMessage' => 'The param is conflict.', - ], - [ - 'errorCode' => 'Conflict.Cidr', - 'errorMessage' => 'The cidr is conflict.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], - [ - 'errorCode' => 'QuotaExceeded.sourceCidrLimit', - 'errorMessage' => 'The quota of SourceCidrsPerAuthorizationRule is exceeded', - ], - [ - 'errorCode' => 'IllegalParam', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'QuotaExceeded.authorizationRuleInstanceLimit', - 'errorMessage' => 'The quota of AuthorizationRulePerIotCC is exceeded', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BC6D1C1D-6DBD-568C-B867-BC9CA699ED01\\",\\n \\"DNSServiceRuleId\\": \\"ar-r56ijpurlu50gi****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateDNSServiceRuleResponse>\\n <RequestId>BC6D1C1D-6DBD-568C-B867-BC9CA699ED01</RequestId>\\n <DNSServiceRuleId>ar-r56ijpurlu50gi****</DNSServiceRuleId>\\n</CreateDNSServiceRuleResponse>","errorExample":""}]', - ], - 'UpdateDNSServiceRuleAttribute' => [ - 'summary' => '更新DNSServiceRule', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"TotalCount\\": 2,\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a****\\",\\n \\"MaxResults\\": 10,\\n \\"ConnectionPoolIps\\": [\\n {\\n \\"ConnectionPoolId\\": \\"cp-bp11234abctmno0hdq****\\",\\n \\"Ip\\": \\"192.168.XX.XX\\",\\n \\"Status\\": \\"activated\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query the IP address status in the connection address pool', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListConnectionPoolIps'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListConnectionPoolIps', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + ], + ], + 'ListConnectionPools' => [ + 'summary' => 'Query cloud connection address pools.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6933,190 +5537,179 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-1y6h8z7imd2yu4****', - ], + 'schema' => ['description' => 'The cloud connector instance ID.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'DNSServiceRuleId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ar-r56ijpurlu50gi****', - ], - ], - [ - 'name' => 'ServiceType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Normal', - ], - ], - [ - 'name' => 'Destination', + 'name' => 'ConnectionPoolIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'A list of connection address pool IDs. You can specify up to 20 connection address pool IDs.', + 'type' => 'array', + 'items' => ['description' => 'A list of connection address pool IDs. You can specify up to 20 connection address pool IDs.', 'type' => 'string', 'required' => false, 'example' => 'cp-bp11234abctmno0hdq****', 'title' => ''], 'required' => false, - 'example' => '192.168.0.2', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Source', + 'name' => 'ConnectionPoolName', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The name of the connection address pool. You can specify up to 20 connection address pool names.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.', + 'type' => 'array', + 'items' => ['description' => 'The name of the connection address pool. You can specify up to 20 connection address pool names.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.', 'type' => 'string', 'required' => false, 'example' => 'pool01', 'title' => ''], 'required' => false, - 'example' => '100.100.2.138', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'DNSServiceRuleName', + 'name' => 'ConnectionPoolStatus', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The status of the connection address pool. You can specify up to 20 connection address pool statuses.'."\n" + .'- **Creating**: Creation in progress.'."\n" + .'- **Running**: Running.'."\n" + .'- **Deleting**: Deletion in progress.'."\n" + .'- **Deleted**: Deleted.'."\n" + .'- **Associating**: IP attaching in progress.'."\n" + .'- **Dissociating**: IP detaching in progress.', + 'type' => 'array', + 'items' => ['description' => 'The status of the connection address pool. You can specify up to 20 connection address pool statuses. Valid values:'."\n" + .'- **Creating**: Creation in progress.'."\n" + .'- **Running**: Running.'."\n" + .'- **Deleting**: Deletion in progress.'."\n" + .'- **Deleted**: Deleted.'."\n" + .'- **Associating**: IP attaching in progress.'."\n" + .'- **Dissociating**: IP detaching in progress.', 'type' => 'string', 'required' => false, 'example' => 'Running', 'title' => ''], 'required' => false, - 'example' => 'test', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'DNSServiceRuleDescription', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'description', - ], + 'schema' => ['description' => 'A token used to mark the starting position for the current read operation. An empty value indicates reading from the beginning.'."\n" + ."\n" + .'> You do not need to specify this parameter in the first call. The response will include a NextToken for the next call. Each subsequent response will contain the NextToken for the following call.', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a****', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], - ], - [ - 'name' => 'DryRun', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The maximum number of data records to read in this request. Valid values: **1** to **50**. If this parameter is left empty, the default value is **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'example' => '10', 'default' => '10', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the cloud connector instance. Valid value: **cn-hangzhou** only.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Returns a list of information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'BC6D1C1D-6DBD-568C-B867-BC9CA699ED01', + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], + 'TotalCount' => ['description' => 'Total number of connection address pools.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'NextToken' => ['description' => 'Token for the next query. An empty value indicates there is no next page.', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a****', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of records returned in this request.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'ConnectionPools' => [ + 'description' => 'Information about connection address pools.', + 'type' => 'array', + 'items' => [ + 'description' => 'Information about a connection address pool.', + 'type' => 'object', + 'properties' => [ + 'ConnectionPoolId' => ['description' => 'ID of the connection address pool.', 'type' => 'string', 'example' => 'cp-bp11234abctmno0hdq****', 'title' => ''], + 'ConnectionPoolStatus' => ['description' => 'Status of the connection address pool. Valid values:'."\n" + .'- **Creating**: Creating.'."\n" + .'- **Running**: Running.'."\n" + .'- **Deleting**: Deleting.'."\n" + .'- **Deleted**: Deleted.'."\n" + .'- **Associating**: Attaching IP.'."\n" + .'- **Dissociating**: Detaching IP.', 'type' => 'string', 'example' => 'Running', 'title' => ''], + 'ConnectionPoolName' => ['description' => 'Name of the connection address pool.', 'type' => 'string', 'example' => 'pool01', 'title' => ''], + 'ConnectionPoolDescription' => ['description' => 'Description of the connection address pool.', 'type' => 'string', 'example' => 'pool01', 'title' => ''], + 'Cidrs' => [ + 'description' => 'The CIDR block to which the connection address pool belongs.', + 'type' => 'array', + 'items' => ['description' => 'The CIDR block to which the connection address pool belongs.', 'type' => 'string', 'example' => '192.168.XX.XX/32', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'OperateResultRequestID' => ['description' => 'The **RequestId** returned by the last attach or detach operation. You can use this ID to invoke **GetConnectionPoolIpOperationResult** to retrieve the reason for a failed attach or detach operation.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA651', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'OperationDenied.NoParamModify', - 'errorMessage' => 'The operation is not allowed because of no param modified.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], - [ - 'errorCode' => 'QuotaExceeded.sourceCidrLimit', - 'errorMessage' => 'The quota of SourceCidrsPerAuthorizationRule is exceeded', - ], - [ - 'errorCode' => 'QuotaExceeded.authorizationRuleInstanceLimit', - 'errorMessage' => 'The quota of AuthorizationRulePerIotCC is exceeded', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'IllegalParam', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'ResourceNotFound.AuthorizationRule', - 'errorMessage' => 'The param of AuthorizationRuleId is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.Destination', - 'errorMessage' => 'The param of Destination is illegal.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"TotalCount\\": 2,\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a****\\",\\n \\"MaxResults\\": 10,\\n \\"ConnectionPools\\": [\\n {\\n \\"ConnectionPoolId\\": \\"cp-bp11234abctmno0hdq****\\",\\n \\"ConnectionPoolStatus\\": \\"Running\\",\\n \\"ConnectionPoolName\\": \\"pool01\\",\\n \\"ConnectionPoolDescription\\": \\"pool01\\",\\n \\"Cidrs\\": [\\n \\"192.168.XX.XX/32\\"\\n ],\\n \\"OperateResultRequestID\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA651\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query cloud connection address pools', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListConnectionPools'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListConnectionPools', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BC6D1C1D-6DBD-568C-B867-BC9CA699ED01\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateDNSServiceRuleAttributeResponse>\\n <RequestId>BC6D1C1D-6DBD-568C-B867-BC9CA699ED01</RequestId>\\n</UpdateDNSServiceRuleAttributeResponse>","errorExample":""}]', - 'title' => 'UpdateDNSServiceRuleAttribute', ], 'ListDNSServiceRules' => [ - 'summary' => '显示DNSServiceRule', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'List DNS authorization rules.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7128,65 +5721,53 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-1y6h8z7imd2yu4****', - ], + 'schema' => ['description' => 'ID of the cloud connector instance.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-1y6h8z7imd2yu4****', 'title' => ''], ], [ 'name' => 'DNSServiceRuleIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'IDs of DNS authorization rules.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ar-c1dk4jb73j5791****', - ], + 'items' => ['description' => 'ID of a DNS authorization rule. You can specify up to 20 rule IDs.', 'type' => 'string', 'required' => false, 'example' => 'ar-c1dk4jb73j5791****', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'ServiceType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Normal', - ], + 'schema' => ['description' => 'Type of the DNS authorization rule. Valid values:'."\n" + ."\n" + .'- **Normal**: normal type.'."\n" + ."\n" + .'- **DNSRedirect**: redirection type. This type redirects the current DNS service endpoint to another endpoint.', 'type' => 'string', 'required' => false, 'example' => 'Normal', 'title' => ''], ], [ 'name' => 'Destination', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'IP addresses of destination DNS authorization rules.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.0.2', - ], + 'items' => ['description' => 'Redirected DNS service endpoint. You can specify up to 20 destination IP addresses.'."\n" + ."\n" + .'> This parameter is required when **ServiceType** is set to **DNSRedirect**.', 'type' => 'string', 'required' => false, 'example' => '192.168.0.2', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ @@ -7194,17 +5775,22 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'Status of the DNS authorization rule.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Created', - ], + 'items' => ['description' => 'Status of the DNS authorization rule. You can specify up to 20 statuses. Valid values:'."\n" + ."\n" + .'- **Creating**: creating.'."\n" + ."\n" + .'- **Created**: created.'."\n" + ."\n" + .'- **Deleting**: deleting.'."\n" + ."\n" + .'- **Updating**: updating.', 'type' => 'string', 'required' => false, 'example' => 'Created', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ @@ -7212,17 +5798,16 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'Names of DNS authorization rules. You can specify up to 20 rule names.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'items' => ['description' => 'Name of a DNS authorization rule. You can specify up to 20 rule names.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length and start with an English letter or Chinese character. It can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ @@ -7230,398 +5815,310 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'IP addresses of source DNS authorization rules.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '100.100.2.138', - ], + 'items' => ['description' => 'Source DNS IP address. You can specify up to 20 source IP addresses. Examples include the following:'."\n" + ."\n" + .'**100.100.2.136**, **100.100.2.137**, **100.100.2.138**, **114.114.114.114**, **8.8.8.8**, **8.8.4.4**, **223.5.5.5**, **223.6.6.6**, **221.5.88.88**, **116.116.116.116**, **221.228.15.26**, **61.139.2.69**, **218.6.200.139**, **119.29.29.29**, **218.2.2.2**, **208.67.220.220**, **208.67.222.222**, and **218.4.4.4**.'."\n" + ."\n" + .'<props="china">'."\n" + ."\n" + .'If you need other DNS IP addresses beyond this list, [submit a ticket](https://selfservice.console.aliyun.com/ticket/category/ga/today). Include the required DNS IP addresses in your ticket.'."\n" + ."\n" + .'</props>'."\n" + ."\n" + .'<props="intl">'."\n" + ."\n" + .'If you need other DNS IP addresses beyond this list, [submit a ticket](https://workorder-intl.console.aliyun.com/?spm=5176.11182188.console-base-top.dworkorder.18ae4882n3v6ZW#/ticket/createIndex). Include the required DNS IP addresses in your ticket.'."\n" + ."\n" + .'</props>', 'type' => 'string', 'required' => false, 'example' => '100.100.2.138', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], + 'schema' => ['description' => 'Token for the next query. Valid values:'."\n" + ."\n" + .'- Omit this parameter for the first query or if no more results are available.'."\n" + ."\n" + .'- For subsequent queries, use the NextToken value returned by the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '50', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'Maximum number of entries to return per page. Valid values: **1 to 50**. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'default' => '10', 'example' => '10', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'ID of the region where the cloud connector instance resides.'."\n" + ."\n" + .'You can call the [DescribeRegions](~~313836~~) operation to query region IDs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'Request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '4A63118E-B375-5718-8F03-30F6804E1DCD', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A63118E-B375-5718-8F03-30F6804E1DCD', 'title' => ''], + 'TotalCount' => ['description' => 'Total number of entries in the list.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'NextToken' => ['description' => 'Token for the next query. Valid values:'."\n" + ."\n" + .'- If **NextToken** is empty, no more results are available.'."\n" + ."\n" + .'- If **NextToken** has a value, it is the token for the next query.', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], + 'MaxResults' => ['description' => 'Maximum number of entries to return per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'DNSServiceRules' => [ - 'description' => '', + 'description' => 'List of DNS authorization rules.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'List of DNS authorization rules.', 'type' => 'object', 'properties' => [ - 'IoTCloudConnectorId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotcc-1y6h8z7imd2yu4****', - ], - 'ServiceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Normal', - ], - 'Source' => [ - 'description' => '', - 'type' => 'string', - 'example' => '100.100.2.138', - ], - 'Destination' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.0.2', - ], - 'DNSServiceRuleStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Created', - ], - 'DNSServiceRuleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'DNSServiceRuleDescription' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'description', - ], - 'DNSServiceRuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ar-c1dk4jb73j5791****', - ], + 'IoTCloudConnectorId' => ['description' => 'ID of the cloud connector instance.', 'type' => 'string', 'example' => 'iotcc-1y6h8z7imd2yu4****', 'title' => ''], + 'ServiceType' => ['description' => 'Type of the DNS authorization rule. Valid values:'."\n" + ."\n" + .'- **Normal**: normal type.'."\n" + ."\n" + .'- **DNSRedirect**: redirection type. This type redirects the current DNS service endpoint to another endpoint.', 'type' => 'string', 'example' => 'Normal', 'title' => ''], + 'Source' => ['description' => 'Source DNS IP address. Examples include the following:'."\n" + ."\n" + .'**100.100.2.136**, **100.100.2.137**, **100.100.2.138**, **114.114.114.114**, **8.8.8.8**, **8.8.4.4**, **223.5.5.5**, **223.6.6.6**, **221.5.88.88**, **116.116.116.116**, **221.228.15.26**, **61.139.2.69**, **218.6.200.139**, **119.29.29.29**, **218.2.2.2**, **208.67.220.220**, **208.67.222.222**, and **218.4.4.4**.'."\n" + ."\n" + .'<props="china">'."\n" + ."\n" + .'If you need other DNS IP addresses beyond this list, [submit a ticket](https://selfservice.console.aliyun.com/ticket/category/ga/today). Include the required DNS IP addresses in your ticket.'."\n" + ."\n" + .'</props>'."\n" + ."\n" + .'<props="intl">'."\n" + ."\n" + .'If you need other DNS IP addresses beyond this list, [submit a ticket](https://workorder-intl.console.aliyun.com/?spm=5176.11182188.console-base-top.dworkorder.18ae4882n3v6ZW#/ticket/createIndex). Include the required DNS IP addresses in your ticket.'."\n" + ."\n" + .'</props>', 'type' => 'string', 'example' => '100.100.2.138', 'title' => ''], + 'Destination' => ['description' => 'Redirected DNS service endpoint.'."\n" + ."\n" + .'> This parameter is required when **ServiceType** is set to **DNSRedirect**.', 'type' => 'string', 'example' => '192.168.0.2', 'title' => ''], + 'DNSServiceRuleStatus' => ['description' => 'Status of the DNS authorization rule. Valid values:'."\n" + ."\n" + .'- **Creating**: creating.'."\n" + ."\n" + .'- **Created**: created.'."\n" + ."\n" + .'- **Deleting**: deleting.'."\n" + ."\n" + .'- **Updating**: updating.', 'type' => 'string', 'example' => 'Created', 'title' => ''], + 'DNSServiceRuleName' => ['description' => 'Name of the DNS authorization rule.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length and start with an English letter or Chinese character. It can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'DNSServiceRuleDescription' => ['description' => 'Description of the DNS authorization rule.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length and start with an English letter or Chinese character. It cannot start with `http://` or `https://`.', 'type' => 'string', 'example' => 'description', 'title' => ''], + 'DNSServiceRuleId' => ['description' => 'ID of the DNS authorization rule.', 'type' => 'string', 'example' => 'ar-c1dk4jb73j5791****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4A63118E-B375-5718-8F03-30F6804E1DCD\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 10,\\n \\"DNSServiceRules\\": [\\n {\\n \\"IoTCloudConnectorId\\": \\"iotcc-1y6h8z7imd2yu4****\\",\\n \\"ServiceType\\": \\"Normal\\",\\n \\"Source\\": \\"100.100.2.138\\",\\n \\"Destination\\": \\"192.168.0.2\\",\\n \\"DNSServiceRuleStatus\\": \\"Created\\",\\n \\"DNSServiceRuleName\\": \\"test\\",\\n \\"DNSServiceRuleDescription\\": \\"description\\",\\n \\"DNSServiceRuleId\\": \\"ar-c1dk4jb73j5791****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListDNSServiceRulesResponse>\\n <RequestId>4A63118E-B375-5718-8F03-30F6804E1DCD</RequestId>\\n <TotalCount>10</TotalCount>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <MaxResults>10</MaxResults>\\n <DNSServiceRules>\\n <IoTCloudConnectorId>iotcc-1y6h8z7imd2yu4****</IoTCloudConnectorId>\\n <ServiceType>Normal</ServiceType>\\n <Source>100.100.2.138</Source>\\n <Destination>192.168.0.2</Destination>\\n <DNSServiceRuleStatus>Created</DNSServiceRuleStatus>\\n <DNSServiceRuleName>test</DNSServiceRuleName>\\n <DNSServiceRuleDescription>description</DNSServiceRuleDescription>\\n <DNSServiceRuleId>ar-c1dk4jb73j5791****</DNSServiceRuleId>\\n </DNSServiceRules>\\n</ListDNSServiceRulesResponse>","errorExample":""}]', - 'title' => 'ListDNSServiceRules', - ], - 'DeleteDNSServiceRule' => [ - 'summary' => '删除DNSServiceRule', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4A63118E-B375-5718-8F03-30F6804E1DCD\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 10,\\n \\"DNSServiceRules\\": [\\n {\\n \\"IoTCloudConnectorId\\": \\"iotcc-1y6h8z7imd2yu4****\\",\\n \\"ServiceType\\": \\"Normal\\",\\n \\"Source\\": \\"100.100.2.138\\",\\n \\"Destination\\": \\"192.168.0.2\\",\\n \\"DNSServiceRuleStatus\\": \\"Created\\",\\n \\"DNSServiceRuleName\\": \\"test\\",\\n \\"DNSServiceRuleDescription\\": \\"description\\",\\n \\"DNSServiceRuleId\\": \\"ar-c1dk4jb73j5791****\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query DNS authorization rules', + 'changeSet' => [ + ['createdAt' => '2022-02-15T11:56:00.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDNSServiceRules'], ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], - ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'IoTCloudConnectorId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-1y6h8z7imd2yu4****', - ], - ], - [ - 'name' => 'DNSServiceRuleId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ar-r56ijpurlu50gi****', - ], - ], - [ - 'name' => 'ClientToken', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], - ], - [ - 'name' => 'DryRun', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'BC6D1C1D-6DBD-568C-B867-BC9CA699ED01', - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListDNSServiceRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'OperationDenied.IotCloudConnectorInGroup', - 'errorMessage' => 'The operation is not allowed because of IotCloudConnector In Group.', - ], - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'ResourceNotFound.AuthorizationRule', - 'errorMessage' => 'The param of AuthorizationRuleId is illegal.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.AuthoriztionRuleId', - 'errorMessage' => 'The param of AuthoriztionRuleId is illegal.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"BC6D1C1D-6DBD-568C-B867-BC9CA699ED01\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteDNSServiceRuleResponse>\\n <RequestId>BC6D1C1D-6DBD-568C-B867-BC9CA699ED01</RequestId>\\n</DeleteDNSServiceRuleResponse>","errorExample":""}]', - 'title' => 'DeleteDNSServiceRule', ], - 'MoveAuthorizationRuleToDNSService' => [ - 'summary' => '移动普通白名单规则里面的DNS条目到DNS服务中', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDiagnoseInfoForSingleCard' => [ + 'summary' => 'Query the diagnostic results for a single-card diagnosis.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the cloud connector instance used for network diagnostics.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) operation to query region IDs.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-1y6h8z7imd2yu4****', - ], + 'schema' => ['description' => 'The ID of the cloud connector instance used for network diagnostics.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-smy9a5ockzp08n****', 'title' => ''], ], [ - 'name' => 'AuthorizationRuleId', + 'name' => 'SourceType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ar-la6sn6gng90e1x****', - ], + 'schema' => ['description' => 'The source type for network diagnostics. Valid values:'."\n" + ."\n" + .'- **CardIP**: Use the IoT card\'s IP address for diagnostics.'."\n" + ."\n" + .'- **CardID**: Use the IoT card\'s ID for diagnostics.', 'type' => 'string', 'required' => false, 'example' => '卡IP', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'Source', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The IoT card\'s IP address or ID used as the source for network diagnostics.', 'type' => 'string', 'required' => false, 'example' => '169.254.XX.XX', 'title' => ''], ], [ - 'name' => 'DryRun', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'A token that indicates whether more results are available. Valid values:'."\n" + ."\n" + .'- Omit this parameter for the first request or when no more results are available.'."\n" + ."\n" + .'- If more results are available, set this parameter to the **NextToken** value returned by the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The maximum number of entries to return per page. Valid values: **1 to 100**. Default value: **20**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '862D2D7E-E6A9-5645-9CA0-64B520256A7B', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], + 'NextToken' => ['description' => 'A token that indicates whether more results are available. Valid values:'."\n" + ."\n" + .'- If **NextToken** is empty, no more results are available.'."\n" + ."\n" + .'- If **NextToken** has a value, use it to start the next request.', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of entries returned per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''], + 'DiagnoseInfo' => [ + 'description' => 'The list of diagnostic results.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of diagnostic results.', + 'type' => 'object', + 'properties' => [ + 'IoTCloudConnectorId' => ['description' => 'The ID of the cloud connector instance used for network diagnostics.', 'type' => 'string', 'example' => 'iotcc-smy9a5ockzp08n****', 'title' => ''], + 'CardIp' => ['description' => 'The IP address of the IoT card used as the source for network diagnostics.', 'type' => 'string', 'example' => '169.254.XX.XX', 'title' => ''], + 'IccId' => ['description' => 'The ID of the IoT card used as the source for network diagnostics.', 'type' => 'string', 'example' => '89860477*******27546', 'title' => ''], + 'SourceType' => ['description' => 'The source type for network diagnostics. Valid values:'."\n" + ."\n" + .'- **CardIP**: Use the IoT card\'s IP address for diagnostics.'."\n" + ."\n" + .'- **CardID**: Use the IoT card\'s ID for diagnostics.', 'type' => 'string', 'example' => '卡IP', 'title' => ''], + 'Source' => ['description' => 'The IoT card\'s IP address or ID used as the source for network diagnostics.', 'type' => 'string', 'example' => '169.254.XX.XX', 'title' => ''], + 'DestinationType' => ['description' => 'The destination type for network diagnostics. Valid values:'."\n" + ."\n" + .'- **IP**: The destination is an IP address.'."\n" + ."\n" + .'- **DomainName**: The destination is a domain name.', 'type' => 'string', 'example' => 'IP', 'title' => ''], + 'Destination' => ['description' => 'The destination IP address or domain name for network diagnostics.', 'type' => 'string', 'example' => '114.114.XX.XX', 'title' => ''], + 'BeginTime' => ['description' => 'The start timestamp of the network diagnostics task. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1643077466', 'title' => ''], + 'EndTime' => ['description' => 'The end timestamp of the network diagnostics task. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1643077666', 'title' => ''], + 'Status' => ['description' => 'The status of the diagnostic task. Valid values:'."\n" + ."\n" + .'- **completed**: The task completed successfully.'."\n" + ."\n" + .'- **diagnosing**: The task is in progress.', 'type' => 'string', 'example' => 'completed', 'title' => ''], + 'DiagnoseTime' => ['description' => 'The timestamp when the diagnostic task was created. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1649669904', 'title' => ''], + 'TaskId' => ['description' => 'The ID of the network diagnostics task.', 'type' => 'string', 'example' => 'diagnoseTask-bp2qhwdp2n9x6zkvq****', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['description' => 'The total number of entries in the result list.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', - 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"862D2D7E-E6A9-5645-9CA0-64B520256A7B\\"\\n}","errorExample":""},{"type":"xml","example":"<MoveAuthorizationRuleToDNSServiceResponse>\\n <RequestId>862D2D7E-E6A9-5645-9CA0-64B520256A7B</RequestId>\\n</MoveAuthorizationRuleToDNSServiceResponse>","errorExample":""}]', - 'title' => 'MoveAuthorizationRuleToDNSService', - ], - 'CreateGroupDNSServiceRule' => [ - 'summary' => '创建CloudConnector分组DNS服务规则', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 20,\\n \\"DiagnoseInfo\\": [\\n {\\n \\"IoTCloudConnectorId\\": \\"iotcc-smy9a5ockzp08n****\\",\\n \\"CardIp\\": \\"169.254.XX.XX\\",\\n \\"IccId\\": \\"89860477*******27546\\",\\n \\"SourceType\\": \\"卡IP\\",\\n \\"Source\\": \\"169.254.XX.XX\\",\\n \\"DestinationType\\": \\"IP\\",\\n \\"Destination\\": \\"114.114.XX.XX\\",\\n \\"BeginTime\\": 1643077466,\\n \\"EndTime\\": 1643077666,\\n \\"Status\\": \\"completed\\",\\n \\"DiagnoseTime\\": 1649669904,\\n \\"TaskId\\": \\"diagnoseTask-bp2qhwdp2n9x6zkvq****\\"\\n }\\n ],\\n \\"TotalCount\\": 10\\n}","type":"json"}]', + 'title' => 'Query the diagnosis result information for a single card diagnosis', + 'changeSet' => [ + ['createdAt' => '2022-02-21T08:46:11.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-02-15T02:32:00.000Z', 'description' => 'Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDiagnoseInfoForSingleCard'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListDiagnoseInfoForSingleCard', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'ListGroupAuthorizationRules' => [ + 'summary' => 'Retrieves the authorization rules for an instance group.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7630,322 +6127,359 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotccg-g00epppbi9di9y****', - ], + 'schema' => ['description' => 'ID of the IoT Cloud Connector group.', 'type' => 'string', 'required' => true, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], ], [ - 'name' => 'DNSServiceRuleDescription', + 'name' => 'AuthorizationRuleIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'IDs of authorization rules. You can specify up to 20 rule IDs.', + 'type' => 'array', + 'items' => ['description' => 'ID of an authorization rule. You can specify up to 20 rule IDs.', 'type' => 'string', 'required' => false, 'example' => 'gar-ez91t41jvi6tr8****', 'title' => ''], 'required' => false, - 'example' => 'description', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'DNSServiceRuleName', + 'name' => 'DestinationType', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'Type of destination. You can specify up to 20 destination types. Valid values:'."\n" + ."\n" + .'- **Cidr**: CIDR block.'."\n" + ."\n" + .'- **Domain**: Domain name.', + 'type' => 'array', + 'items' => ['description' => 'Type of destination. You can specify up to 20 destination types. Valid values:'."\n" + ."\n" + .'- **Cidr**: CIDR block.'."\n" + ."\n" + .'- **Domain**: Domain name.', 'type' => 'string', 'required' => false, 'example' => 'Cidr', 'title' => ''], 'required' => false, - 'example' => 'test', - ], - ], - [ - 'name' => 'Source', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '100.100.2.136', - ], - ], - [ - 'name' => 'ServiceType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Normal', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'Destination', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.0.2', - ], - ], - [ - 'name' => 'ClientToken', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'Destination address. You can specify up to 20 destination addresses.', + 'type' => 'array', + 'items' => ['description' => 'Destination address. You can specify up to 20 destination addresses.', 'type' => 'string', 'required' => false, 'example' => '47.0.XX.XX', 'title' => ''], 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'DryRun', + 'name' => 'Protocol', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'boolean', + 'description' => 'Protocol type. Valid values:'."\n" + ."\n" + .'- **tcp**.'."\n" + ."\n" + .'- **udp**.'."\n" + ."\n" + .'- **icmp**.'."\n" + ."\n" + .'- **all**: All protocols.', + 'type' => 'array', + 'items' => ['description' => 'Protocol type. You can specify up to 20 protocol types. Valid values:'."\n" + ."\n" + .'- **tcp**.'."\n" + ."\n" + .'- **udp**.'."\n" + ."\n" + .'- **icmp**.'."\n" + ."\n" + .'- **all**: All protocols.', 'type' => 'string', 'required' => false, 'example' => 'tcp', 'title' => ''], 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'IoTCloudConnectorGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotccg-g00epppbi9di9y****', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '77111A6A-56BA-59B2-8CAA-7CBF21648FB8', - ], - 'DNSServiceRuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'gar-ffnn1ewe2nmf3y****', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', - 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', - ], - [ - 'errorCode' => 'ResourceAlreadyExist.AuthorizationRule', - 'errorMessage' => 'The specified resource of AuthorizationRule already exists.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"RequestId\\": \\"77111A6A-56BA-59B2-8CAA-7CBF21648FB8\\",\\n \\"DNSServiceRuleId\\": \\"gar-ffnn1ewe2nmf3y****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateGroupDNSServiceRuleResponse>\\n <IoTCloudConnectorGroupId>iotccg-g00epppbi9di9y****</IoTCloudConnectorGroupId>\\n <RequestId>77111A6A-56BA-59B2-8CAA-7CBF21648FB8</RequestId>\\n <DNSServiceRuleId>gar-ffnn1ewe2nmf3y****</DNSServiceRuleId>\\n</CreateGroupDNSServiceRuleResponse>","errorExample":""}]', - 'title' => 'CreateGroupDNSServiceRule', - ], - 'UpdateGroupDNSServiceRuleAttribute' => [ - 'summary' => '修改CloudConnector分组DNS服务规则属性', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], - ], - 'parameters' => [ - [ - 'name' => 'IoTCloudConnectorGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotccg-g00epppbi9di9y****', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'DNSServiceRuleDescription', + 'name' => 'DestinationPort', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'Destination port range. You can specify up to 20 destination ports. Valid values:'."\n" + ."\n" + .'- TCP and UDP: 1 to 65535. Use a forward slash (/) to separate the start and end ports. Example: 1/200.'."\n" + ."\n" + .'- ICMP: -1/-1.'."\n" + ."\n" + .'- ALL: -1/-1.', + 'type' => 'array', + 'items' => ['description' => 'Destination port range. You can specify up to 20 destination ports. Valid values:'."\n" + ."\n" + .'- TCP and UDP: 1 to 65535. Use a forward slash (/) to separate the start and end ports. Example: 1/200.'."\n" + ."\n" + .'- ICMP: -1/-1.'."\n" + ."\n" + .'- ALL: -1/-1.', 'type' => 'string', 'required' => false, 'example' => '80/80', 'title' => ''], 'required' => false, - 'example' => 'description', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'DNSServiceRuleName', + 'name' => 'AuthorizationRuleStatus', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'Status of the authorization rule. You can specify up to 20 rule statuses. Valid values:'."\n" + ."\n" + .'- **Creating**: Creating.'."\n" + ."\n" + .'- **Created**: Created.'."\n" + ."\n" + .'- **Deleting**: Deleting.'."\n" + ."\n" + .'- **Updating**: Updating.', + 'type' => 'array', + 'items' => ['description' => 'Status of the authorization rule. You can specify up to 20 rule statuses. Valid values:'."\n" + ."\n" + .'- **Creating**: Creating.'."\n" + ."\n" + .'- **Created**: Created.'."\n" + ."\n" + .'- **Deleting**: Deleting.'."\n" + ."\n" + .'- **Updating**: Updating.', 'type' => 'string', 'required' => false, 'example' => 'Created', 'title' => ''], 'required' => false, - 'example' => 'test', - ], - ], - [ - 'name' => 'DNSServiceRuleId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'gar-ffnn1ewe2nmf3y****', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Source', + 'name' => 'AuthorizationRuleName', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'Name of the authorization rule. You can specify up to 20 rule names.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length. It must start with a letter or Chinese character. It can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).', + 'type' => 'array', + 'items' => ['description' => 'Name of the authorization rule. You can specify up to 20 rule names.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length. It must start with a letter or Chinese character. It can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'ruletest', 'title' => ''], 'required' => false, - 'example' => '100.100.2.136', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ServiceType', + 'name' => 'Policy', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'Access policy. You can specify up to 20 policies. Valid values:'."\n" + ."\n" + .'- **Permit**: Allow.'."\n" + ."\n" + .'- **Deny**: Deny.', + 'type' => 'array', + 'items' => ['description' => 'Access policy. You can specify up to 20 policies. Valid values:'."\n" + ."\n" + .'- **Permit**: Allow.'."\n" + ."\n" + .'- **Deny**: Deny.', 'type' => 'string', 'required' => false, 'example' => 'Permit', 'title' => ''], 'required' => false, - 'example' => 'Normal', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Destination', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.0.2', - ], + 'schema' => ['description' => 'Token for the next query. Valid values:'."\n" + ."\n" + .'- Leave this parameter empty for the first query or when no more results are available.'."\n" + ."\n" + .'- If more results are available, set this parameter to the **NextToken** value returned by the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'Maximum number of entries to return per page. Valid values: 1 to 50. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'default' => '10', 'example' => '10', 'title' => ''], ], [ - 'name' => 'DryRun', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'ID of the region where the IoT Cloud Connector group resides.'."\n" + ."\n" + .'You can call the [DescribeRegions](~~36063~~) operation to query region IDs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'Type of the authorization rule. Valid values:'."\n" + ."\n" + .'- **System**: System-defined rule.'."\n" + ."\n" + .'- **Customer**: Custom rule.'."\n" + ."\n" + .'- **Default**: Default rule.', 'type' => 'string', 'required' => false, 'example' => 'System', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Response information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '77111A6A-56BA-59B2-8CAA-7CBF21648FB8', + 'RequestId' => ['description' => 'ID of the request.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], + 'TotalCount' => ['description' => 'Total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'NextToken' => ['description' => 'Token for the next query. Valid values:'."\n" + ."\n" + .'- An empty **NextToken** indicates no more results.'."\n" + ."\n" + .'- A non-empty **NextToken** is the token for the next query.', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], + 'MaxResults' => ['description' => 'Maximum number of entries to return per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'GroupAuthorizationRules' => [ + 'description' => 'List of authorization rules.', + 'type' => 'array', + 'items' => [ + 'description' => 'A list of authorization rules.', + 'type' => 'object', + 'properties' => [ + 'IoTCloudConnectorGroupId' => ['description' => 'ID of the IoT Cloud Connector group.', 'type' => 'string', 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], + 'Policy' => ['description' => 'Access policy. Valid values:'."\n" + ."\n" + .'- **Permit**: Allow.'."\n" + ."\n" + .'- **Deny**: Deny.', 'type' => 'string', 'example' => 'Permit', 'title' => ''], + 'AuthorizationRuleStatus' => ['description' => 'Status of the authorization rule. Valid values:'."\n" + ."\n" + .'- **Creating**: Creating.'."\n" + ."\n" + .'- **Created**: Created.'."\n" + ."\n" + .'- **Deleting**: Deleting.'."\n" + ."\n" + .'- **Updating**: Updating.', 'type' => 'string', 'example' => 'Created', 'title' => ''], + 'SourceCidrs' => [ + 'description' => 'Source CIDR blocks.', + 'type' => 'array', + 'items' => ['description' => 'Source CIDR block.', 'type' => 'string', 'example' => '192.168.0.0/32', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'DestinationType' => ['description' => 'Type of destination. Valid values:'."\n" + ."\n" + .'- **Cidr**: CIDR block.'."\n" + ."\n" + .'- **Domain**: Domain name.', 'type' => 'string', 'example' => 'Cidr', 'title' => ''], + 'DestinationPort' => ['description' => 'Destination port range. Valid values:'."\n" + ."\n" + .'- TCP and UDP: 1 to 65535. Use a forward slash (/) to separate the start and end ports. Example: 1/200.'."\n" + ."\n" + .'- ICMP: -1/-1.'."\n" + ."\n" + .'- ALL: -1/-1.', 'type' => 'string', 'example' => '80/80', 'title' => ''], + 'Protocol' => ['description' => 'Protocol type. Valid values:'."\n" + ."\n" + .'- **tcp**.'."\n" + ."\n" + .'- **udp**.'."\n" + ."\n" + .'- **icmp**.'."\n" + ."\n" + .'- **all**: All protocols.', 'type' => 'string', 'example' => 'tcp', 'title' => ''], + 'Destination' => ['description' => 'Destination address.', 'type' => 'string', 'example' => '47.0.XX.XX', 'title' => ''], + 'AuthorizationRuleName' => ['description' => 'Name of the authorization rule.', 'type' => 'string', 'example' => 'ruletest', 'title' => ''], + 'AuthorizationRuleDescription' => ['description' => 'Description of the authorization rule.', 'type' => 'string', 'example' => 'rule', 'title' => ''], + 'AuthorizationRuleId' => ['description' => 'ID of the authorization rule.', 'type' => 'string', 'example' => 'gar-ez91t41jvi6tr8****', 'title' => ''], + 'Type' => ['description' => 'Type of the authorization rule. Valid values:'."\n" + ."\n" + .'- **System**: System-defined rule.'."\n" + ."\n" + .'- **Customer**: Custom rule.'."\n" + ."\n" + .'- **Default**: Default rule.', 'type' => 'string', 'example' => 'System', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', - 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceNotFound.IoTCloudConnectorGroup', 'errorMessage' => 'The param of IoTCloudConnectorGroupId is illegal.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 10,\\n \\"GroupAuthorizationRules\\": [\\n {\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"Policy\\": \\"Permit\\",\\n \\"AuthorizationRuleStatus\\": \\"Created\\",\\n \\"SourceCidrs\\": [\\n \\"192.168.0.0/32\\"\\n ],\\n \\"DestinationType\\": \\"Cidr\\",\\n \\"DestinationPort\\": \\"80/80\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"Destination\\": \\"47.0.XX.XX\\",\\n \\"AuthorizationRuleName\\": \\"ruletest\\",\\n \\"AuthorizationRuleDescription\\": \\"rule\\",\\n \\"AuthorizationRuleId\\": \\"gar-ez91t41jvi6tr8****\\",\\n \\"Type\\": \\"System\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query authorization rules of an instance group', + 'changeSet' => [ + ['createdAt' => '2022-08-18T12:16:22.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-06-13T11:44:38.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2021-12-16T05:13:55.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGroupAuthorizationRules'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iotcc:ListGroupAuthorizationRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"77111A6A-56BA-59B2-8CAA-7CBF21648FB8\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateGroupDNSServiceRuleAttributeResponse>\\n <RequestId>77111A6A-56BA-59B2-8CAA-7CBF21648FB8</RequestId>\\n</UpdateGroupDNSServiceRuleAttributeResponse>","errorExample":""}]', - 'title' => 'UpdateGroupDNSServiceRuleAttribute', ], 'ListGroupDNSServiceRules' => [ - 'summary' => '显示分组DNSServiceRule', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Queries DNS authorization rules for an instance group.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7957,65 +6491,53 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotccg-g00epppbi9di9y****', - ], + 'schema' => ['description' => 'The ID of the Cloud Connector instance group.', 'type' => 'string', 'required' => true, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], ], [ 'name' => 'DNSServiceRuleIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'The ID of the DNS authorization rule.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'gar-ffnn1ewe2nmf3y****', - ], + 'items' => ['description' => 'The IDs of DNS authorization rules. You can specify up to 20 rule IDs.', 'type' => 'string', 'required' => false, 'example' => 'gar-ffnn1ewe2nmf3y****', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'ServiceType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Normal', - ], + 'schema' => ['description' => 'The target type of the DNS authorization rule. Valid values:'."\n" + ."\n" + .'- **Normal**: The target type is a standard DNS type.'."\n" + ."\n" + .'- **DNSRedirect**: The target type is a DNS redirection type.', 'type' => 'string', 'required' => false, 'example' => 'Normal', 'title' => ''], ], [ 'name' => 'Destination', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'The destination IP addresses of the DNS authorization rule.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.0.2', - ], + 'items' => ['description' => 'The destination IP addresses of the DNS authorization rule. You can specify up to 20 destination IP addresses.'."\n" + ."\n" + .'> This parameter is required when **ServiceType** is set to **DNSRedirect**.', 'type' => 'string', 'required' => false, 'example' => '192.168.0.2', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ @@ -8023,17 +6545,28 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'The source IP addresses of the DNS authorization rule.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '100.100.2.136', - ], + 'items' => ['description' => 'The source IP addresses of the DNS authorization rule. You can specify up to 20 source IP addresses. Valid values include but are not limited to the following:'."\n" + ."\n" + .'**100.100.2.136**, **100.100.2.137**, **100.100.2.138**, **114.114.114.114**, **8.8.8.8**, **8.8.4.4**, **223.5.5.5**, **223.6.6.6**, **221.5.88.88**, **116.116.116.116**, **221.228.15.26**, **61.139.2.69**, **218.6.200.139**, **119.29.29.29**, **218.2.2.2**, **208.67.220.220**, **208.67.222.222**, **218.4.4.4**.'."\n" + ."\n" + .'<props="china">'."\n" + ."\n" + .'To use other DNS authorization rule IP addresses beyond the default ones listed above, [submit a ticket](https://selfservice.console.aliyun.com/ticket/category/ga/today) and include the requested IP addresses in your ticket.'."\n" + ."\n" + .'</props>'."\n" + ."\n" + .'<props="intl">'."\n" + ."\n" + .'To use other DNS authorization rule IP addresses beyond the default ones listed above, [submit a ticket](https://workorder-intl.console.aliyun.com/?spm=5176.11182188.console-base-top.dworkorder.18ae4882n3v6ZW#/ticket/createIndex) and include the requested IP addresses in your ticket.'."\n" + ."\n" + .'</props>', 'type' => 'string', 'required' => false, 'example' => '100.100.2.136', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ @@ -8041,17 +6574,22 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'The status of the DNS authorization rule.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Created', - ], + 'items' => ['description' => 'The status of the DNS authorization rule. You can specify up to 20 statuses. Valid values:'."\n" + ."\n" + .'- **Creating**: The rule is being created.'."\n" + ."\n" + .'- **Created**: The rule has been created.'."\n" + ."\n" + .'- **Deleting**: The rule is being deleted.'."\n" + ."\n" + .'- **Updating**: The rule is being updated.', 'type' => 'string', 'required' => false, 'example' => 'Created', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ @@ -8059,161 +6597,149 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'The names of DNS authorization rules. You can specify up to 20 rule names.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'items' => ['description' => 'The names of DNS authorization rules. You can specify up to 20 rule names.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). It must start with a letter or a Chinese character.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], + 'schema' => ['description' => 'The token used to retrieve the next page of results. Valid values:'."\n" + ."\n" + .'- Leave this parameter empty for the first query or if no further queries are needed.'."\n" + ."\n" + .'- If more results are available, set this parameter to the NextToken value returned in the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '50', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Valid values: **1–50**. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'default' => '10', 'example' => '10', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the Cloud Connector instance group.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) operation to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '77111A6A-56BA-59B2-8CAA-7CBF21648FB8', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '77111A6A-56BA-59B2-8CAA-7CBF21648FB8', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'NextToken' => ['description' => 'The token used to retrieve the next page of results. Valid values:'."\n" + ."\n" + .'- If **NextToken** is empty, no further queries are available.'."\n" + ."\n" + .'- If **NextToken** returns a value, it indicates the starting token for the next query.', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], + 'MaxResults' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'DNSServiceRules' => [ - 'description' => '', + 'description' => 'The list of DNS authorization rules.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The list of DNS authorization rules.', 'type' => 'object', 'properties' => [ - 'IoTCloudConnectorGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotccg-g00epppbi9di9y****', - ], - 'DNSServiceRuleStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Created', - ], - 'Source' => [ - 'description' => '', - 'type' => 'string', - 'example' => '100.100.2.136', - ], - 'ServiceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Normal', - ], - 'Destination' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.0.2', - ], - 'DNSServiceRuleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'DNSServiceRuleDescription' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'description', - ], - 'DNSServiceRuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'gar-ffnn1ewe2nmf3y****', - ], + 'IoTCloudConnectorGroupId' => ['description' => 'The ID of the Cloud Connector instance group.', 'type' => 'string', 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], + 'DNSServiceRuleStatus' => ['description' => 'The status of the DNS authorization rule. Valid values:'."\n" + ."\n" + .'- **Creating**: The rule is being created.'."\n" + ."\n" + .'- **Created**: The rule has been created.'."\n" + ."\n" + .'- **Deleting**: The rule is being deleted.'."\n" + ."\n" + .'- **Updating**: The rule is being updated.', 'type' => 'string', 'example' => 'Created', 'title' => ''], + 'Source' => ['description' => 'The source IP address of the DNS authorization rule. Valid values include but are not limited to the following:'."\n" + ."\n" + .'**100.100.2.136**, **100.100.2.137**, **100.100.2.138**, **114.114.114.114**, **8.8.8.8**, **8.8.4.4**, **223.5.5.5**, **223.6.6.6**, **221.5.88.88**, **116.116.116.116**, **221.228.15.26**, **61.139.2.69**, **218.6.200.139**, **119.29.29.29**, **218.2.2.2**, **208.67.220.220**, **208.67.222.222**, **218.4.4.4**.'."\n" + ."\n" + .'<props="china">'."\n" + ."\n" + .'To use other DNS authorization rule IP addresses beyond the default ones listed above, [submit a ticket](https://selfservice.console.aliyun.com/ticket/category/ga/today) and include the requested IP addresses in your ticket.'."\n" + ."\n" + .'</props>'."\n" + ."\n" + .'<props="intl">'."\n" + ."\n" + .'To use other DNS authorization rule IP addresses beyond the default ones listed above, [submit a ticket](https://workorder-intl.console.aliyun.com/?spm=5176.11182188.console-base-top.dworkorder.18ae4882n3v6ZW#/ticket/createIndex) and include the requested IP addresses in your ticket.'."\n" + ."\n" + .'</props>', 'type' => 'string', 'example' => '100.100.2.136', 'title' => ''], + 'ServiceType' => ['description' => 'The target type of the DNS authorization rule. Valid values:'."\n" + ."\n" + .'- **Normal**: The target type is a standard DNS type.'."\n" + ."\n" + .'- **DNSRedirect**: The target type is a DNS redirection type.', 'type' => 'string', 'example' => 'Normal', 'title' => ''], + 'Destination' => ['description' => 'The destination IP address of the DNS authorization rule.'."\n" + ."\n" + .'> This parameter is required when **ServiceType** is set to **DNSRedirect**.', 'type' => 'string', 'example' => '192.168.0.2', 'title' => ''], + 'DNSServiceRuleName' => ['description' => 'The name of the DNS authorization rule.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). It must start with a letter or a Chinese character.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'DNSServiceRuleDescription' => ['description' => 'The description of the DNS authorization rule.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length. It must start with a letter or a Chinese character and cannot begin with `http://` or `https://`.', 'type' => 'string', 'example' => 'description', 'title' => ''], + 'DNSServiceRuleId' => ['description' => 'The ID of the DNS authorization rule.', 'type' => 'string', 'example' => 'gar-ffnn1ewe2nmf3y****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnectorGroup', - 'errorMessage' => 'The param of IoTCloudConnectorGroupId is illegal.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceNotFound.IoTCloudConnectorGroup', 'errorMessage' => 'The param of IoTCloudConnectorGroupId is illegal.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"77111A6A-56BA-59B2-8CAA-7CBF21648FB8\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 10,\\n \\"DNSServiceRules\\": [\\n {\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"DNSServiceRuleStatus\\": \\"Created\\",\\n \\"Source\\": \\"100.100.2.136\\",\\n \\"ServiceType\\": \\"Normal\\",\\n \\"Destination\\": \\"192.168.0.2\\",\\n \\"DNSServiceRuleName\\": \\"test\\",\\n \\"DNSServiceRuleDescription\\": \\"description\\",\\n \\"DNSServiceRuleId\\": \\"gar-ffnn1ewe2nmf3y****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListGroupDNSServiceRulesResponse>\\n <RequestId>77111A6A-56BA-59B2-8CAA-7CBF21648FB8</RequestId>\\n <TotalCount>10</TotalCount>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <MaxResults>10</MaxResults>\\n <DNSServiceRules>\\n <IoTCloudConnectorGroupId>iotccg-g00epppbi9di9y****</IoTCloudConnectorGroupId>\\n <DNSServiceRuleStatus>Created</DNSServiceRuleStatus>\\n <Source>100.100.2.136</Source>\\n <ServiceType>Normal</ServiceType>\\n <Destination>192.168.0.2</Destination>\\n <DNSServiceRuleName>test</DNSServiceRuleName>\\n <DNSServiceRuleDescription>description</DNSServiceRuleDescription>\\n <DNSServiceRuleId>gar-ffnn1ewe2nmf3y****</DNSServiceRuleId>\\n </DNSServiceRules>\\n</ListGroupDNSServiceRulesResponse>","errorExample":""}]', - 'title' => 'ListGroupDNSServiceRules', - ], - 'MoveGroupAuthorizationRuleToDNSService' => [ - 'summary' => '移动普通分组白名单规则里面的DNS条目到分组DNS服务中', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"77111A6A-56BA-59B2-8CAA-7CBF21648FB8\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 10,\\n \\"DNSServiceRules\\": [\\n {\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"DNSServiceRuleStatus\\": \\"Created\\",\\n \\"Source\\": \\"100.100.2.136\\",\\n \\"ServiceType\\": \\"Normal\\",\\n \\"Destination\\": \\"192.168.0.2\\",\\n \\"DNSServiceRuleName\\": \\"test\\",\\n \\"DNSServiceRuleDescription\\": \\"description\\",\\n \\"DNSServiceRuleId\\": \\"gar-ffnn1ewe2nmf3y****\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query DNS authorization rules of an instance group', + 'changeSet' => [ + ['createdAt' => '2022-02-15T11:56:00.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGroupDNSServiceRules'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListGroupDNSServiceRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], ], + ], + 'ListGroupIpMappingRules' => [ + 'summary' => 'Invoke the ListGroupIpMappingRules API to query the IP redirection information of authorization rules for an instance group. ', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8222,219 +6748,204 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotccg-g00epppbi9di9y****', - ], + 'schema' => ['description' => 'The ID of the cloud connector instance group.', 'type' => 'string', 'required' => true, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], ], [ - 'name' => 'AuthorizationRuleId', + 'name' => 'IpMappingRuleIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'gar-ez91t41jvi6tr8****', + 'description' => 'The IDs of authorization rules that require IP redirection. You can specify up to 20 rule IDs.', + 'type' => 'array', + 'items' => ['description' => 'The IDs of authorization rules that require IP redirection. You can specify up to 20 rule IDs.', 'type' => 'string', 'required' => false, 'example' => 'im-irrp3bzuu5nrbx****', 'title' => ''], + 'required' => false, + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ClientToken', + 'name' => 'DestinationIps', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The target IP addresses for redirection. A maximum of 20 IP addresses is supported.', + 'type' => 'array', + 'items' => ['description' => 'The target IP addresses for redirection. A maximum of 20 IP addresses is supported.', 'type' => 'string', 'required' => false, 'example' => '192.168.10.8', 'title' => ''], 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'DryRun', + 'name' => 'IpMappingRuleStatuses', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'boolean', + 'description' => 'The status of IP redirection for authorization rules. You can specify up to 20 statuses.', + 'type' => 'array', + 'items' => ['description' => 'The status of IP redirection for authorization rules. You can specify up to 20 statuses. Valid values:'."\n" + ."\n" + .'- **Creating**: Creation in progress.'."\n" + .'- **Created**: Creation completed.'."\n" + .'- **Updating**: Update in progress.'."\n" + .'- **Associating**: IP attaching in progress.'."\n" + .'- **Dissociating**: IP detaching in progress.'."\n" + .'- **Deleting**: Deletion in progress.'."\n" + .'- **Deleted**: Deleted.', 'type' => 'string', 'required' => false, 'example' => 'Created', 'title' => ''], 'required' => false, - 'example' => 'false', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'RegionId', + 'name' => 'IpMappingRuleNames', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', - 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', + 'description' => 'The names of authorization rules that require IP redirection. A maximum of 20 authorization rule names is supported.', + 'type' => 'array', + 'items' => ['description' => 'The names of authorization rules that require IP redirection. A maximum of 20 authorization rule names is supported.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter or a Chinese character.', 'type' => 'string', 'required' => false, 'example' => 'Name', 'title' => ''], + 'required' => false, + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","errorExample":""},{"type":"xml","example":"<MoveGroupAuthorizationRuleToDNSServiceResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n</MoveGroupAuthorizationRuleToDNSServiceResponse>","errorExample":""}]', - 'title' => 'MoveGroupAuthorizationRuleToDNSService', - ], - 'DeleteGroupDNSServiceRule' => [ - 'summary' => '删除CloudConnector分组DNS服务规则', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], - ], - 'parameters' => [ - [ - 'name' => 'IoTCloudConnectorGroupId', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotccg-g00epppbi9di9y****', - ], + 'schema' => ['description' => 'Indicates whether a token for the next query exists. Valid values:'."\n" + .'- If **NextToken** is empty, there is no subsequent query.'."\n" + .'- If **NextToken** has a return value, this value represents the token to start the next query.', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], ], [ - 'name' => 'DNSServiceRuleId', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'gar-ffnn1ewe2nmf3y****', - ], + 'schema' => ['description' => 'The number of entries returned per page when queries are performed in batches. Valid values: **1** to **100**. Default value: **20**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'example' => '20', 'default' => '10', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The region ID of the instance group.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) API to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'DryRun', + 'name' => 'MappingIps', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'boolean', + 'description' => 'The IP addresses that require redirection. You can specify up to 20 IP addresses.', + 'type' => 'array', + 'items' => ['description' => 'The IP addresses that require redirection. You can specify up to 20 IP addresses.', 'type' => 'string', 'required' => false, 'example' => '47.0.XX.XX', 'title' => ''], 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + 'maxItems' => 20, + 'minItems' => 0, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Request ID. ', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '77111A6A-56BA-59B2-8CAA-7CBF21648FB8', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], + 'TotalCount' => ['description' => 'The number of entries in the list.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'NextToken' => ['description' => 'Indicates whether a token for the next query exists. Valid values:'."\n" + .'- If **NextToken** is empty, there is no subsequent query.'."\n" + .'- If **NextToken** has a return value, this value represents the token to start the next query.', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], + 'MaxResults' => ['description' => 'The number of entries returned per page when queries are performed in batches.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'IpMappingRules' => [ + 'description' => 'List of IP addresses that require redirection. ', + 'type' => 'array', + 'items' => [ + 'description' => 'List of IP addresses that require redirection. ', + 'type' => 'object', + 'properties' => [ + 'IoTCloudConnectorGroupId' => ['description' => 'Cloud connector instance group ID. ', 'type' => 'string', 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], + 'IpMappingRuleStatus' => ['description' => 'Status of the authorization rule IP redirection. Valid values:'."\n" + ."\n" + .'- **Creating**: Being created.'."\n" + .'- **Created**: Creation completed.'."\n" + .'- **Updating**: Being updated.'."\n" + .'- **Associating**: IP binding in progress.'."\n" + .'- **Dissociating**: IP unbinding in progress.'."\n" + .'- **Deleting**: Being deleted.'."\n" + .'- **Deleted**: Deleted. ', 'type' => 'string', 'example' => 'Created', 'title' => ''], + 'MappingIp' => ['description' => 'IP address that requires redirection. ', 'type' => 'string', 'example' => '47.0.XX.XX', 'title' => ''], + 'DestinationIp' => ['description' => 'Target IP address for redirection. ', 'type' => 'string', 'example' => '192.168.10.8', 'title' => ''], + 'IpMappingRuleName' => ['description' => 'Name of the authorization rule that requires IP redirection. ', 'type' => 'string', 'example' => 'name', 'title' => ''], + 'IpMappingRuleDescription' => ['description' => 'Description of the authorization rule that requires IP redirection. ', 'type' => 'string', 'example' => 'description', 'title' => ''], + 'IpMappingRuleId' => ['description' => 'ID of the authorization rule that requires IP redirection. ', 'type' => 'string', 'example' => 'im-irrp3bzuu5nrbx****', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', - 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceNotFound.IoTCloudConnectorGroup', 'errorMessage' => 'The param of IoTCloudConnectorGroupId is illegal.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"77111A6A-56BA-59B2-8CAA-7CBF21648FB8\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteGroupDNSServiceRuleResponse>\\n <RequestId>77111A6A-56BA-59B2-8CAA-7CBF21648FB8</RequestId>\\n</DeleteGroupDNSServiceRuleResponse>","errorExample":""}]', - 'title' => 'DeleteGroupDNSServiceRule', - ], - 'EnableIoTCloudConnectorAccessLog' => [ - 'summary' => 'EnableIoTCloudConnectorAccessLog', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 20,\\n \\"IpMappingRules\\": [\\n {\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"IpMappingRuleStatus\\": \\"Created\\",\\n \\"MappingIp\\": \\"47.0.XX.XX\\",\\n \\"DestinationIp\\": \\"192.168.10.8\\",\\n \\"IpMappingRuleName\\": \\"name\\",\\n \\"IpMappingRuleDescription\\": \\"description\\",\\n \\"IpMappingRuleId\\": \\"im-irrp3bzuu5nrbx****\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query IP redirection information of authorization rules for instance groups', + 'changeSet' => [ + ['createdAt' => '2022-08-23T06:53:43.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGroupIpMappingRules'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListGroupIpMappingRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'ListIoTCloudConnectorAvailableZones' => [ + 'summary' => 'Queries the zones where vSwitches can be attached to cloud connector instances.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8443,204 +6954,185 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], - ], - [ - 'name' => 'AccessLogSlsProject', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'sls-setter', - ], - ], - [ - 'name' => 'AccessLogSlsLogStore', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], - ], - [ - 'name' => 'ClientToken', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The region ID of the cloud connector instance. Valid value: **cn-hangzhou** only.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'DryRun', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The cloud connector instance ID.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The list of returned information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', 'title' => ''], + 'IoTCloudConnectorId' => ['description' => 'The cloud connector instance ID.', 'type' => 'string', 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], + 'AvailableZoneList' => [ + 'description' => 'The list of supported zones.', + 'type' => 'array', + 'items' => ['description' => 'The list of supported zones.', 'type' => 'string', 'example' => 'cn-hangzhou-h', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","errorExample":""},{"type":"xml","example":"<EnableIoTCloudConnectorAccessLogResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n</EnableIoTCloudConnectorAccessLogResponse>","errorExample":""}]', - 'title' => 'EnableIoTCloudConnectorAccessLog', - ], - 'DisableIoTCloudConnectorAccessLog' => [ - 'summary' => 'DisableIoTCloudConnectorAccessLog', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"IoTCloudConnectorId\\": \\"iotcc-bp1odcab8tmno0hdq****\\",\\n \\"AvailableZoneList\\": [\\n \\"cn-hangzhou-h\\"\\n ]\\n}","type":"json"}]', + 'title' => 'Zones for Attaching vSwitches to IoTCC Instances', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIoTCloudConnectorAvailableZones'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListIoTCloudConnectorAvailableZones', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListIoTCloudConnectorEIPs' => [ + 'summary' => 'Invoke the ListIoTCloudConnectorEIPs API to query the list of Elastic IP Addresses (EIPs) associated with a cloud connector instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'Indicates whether a token for the next query exists. Valid values:'."\n" + .'- Do not specify this parameter for the first query or when there is no subsequent query.'."\n" + .'- If there is a subsequent query, set this parameter to the **NextToken** value returned by the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'NextToken', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The number of entries returned per page when querying results in batches. Valid values: **1** to **100**. Default value: **20**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'example' => '20', 'default' => '10', 'title' => ''], ], [ - 'name' => 'DryRun', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The region ID of the cloud connector instance.'."\n" + ."\n" + .'You can obtain the region ID by invoking the [ListRegions](~~313836~~) API.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The cloud connector instance ID.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], + 'TotalCount' => ['description' => 'The number of entries in the list.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'NextToken' => ['description' => 'Indicates whether a token for the next query exists. Valid values:'."\n" + .'- If **NextToken** is empty, there is no subsequent query.'."\n" + .'- If **NextToken** has a return value, this value represents the token to start the next query.', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], + 'MaxResults' => ['description' => 'The number of entries returned per page when querying results in batches. Valid values: **1** to **100**. Default value: **20**.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'EIPs' => [ + 'description' => 'The associated Elastic IP Addresses (EIPs).', + 'type' => 'array', + 'items' => ['description' => 'The list of associated Elastic IP Addresses (EIPs).'."\n" + ."\n" + .'The value can be a JSON array consisting of multiple IP addresses separated by commas (,).'."\n" + ."\n" + .'> Only cloud connector instances of the Basic Edition support returning a list of associated Elastic IP Addresses (EIPs).', 'type' => 'string', 'example' => '["42.1.XX.XX", "42.2.XX.XX", … "42.3.XX.XX"]', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","errorExample":""},{"type":"xml","example":"<DisableIoTCloudConnectorAccessLogResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n</DisableIoTCloudConnectorAccessLogResponse>","errorExample":""}]', - 'title' => 'DisableIoTCloudConnectorAccessLog', - ], - 'GetIoTCloudConnectorAccessLog' => [ - 'summary' => 'GetIoTCloudConnectorAccessLog', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 20,\\n \\"EIPs\\": [\\n \\"[\\\\\\"42.1.XX.XX\\\\\\", \\\\\\"42.2.XX.XX\\\\\\", … \\\\\\"42.3.XX.XX\\\\\\"]\\"\\n ]\\n}","type":"json"}]', + 'title' => 'Query the list of Elastic IP Addresses (EIPs) associated with a cloud connector instance', + 'changeSet' => [ + ['createdAt' => '2022-06-21T08:03:29.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-06-21T07:43:00.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-06-21T07:38:17.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-06-20T09:09:27.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIoTCloudConnectorEIPs'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListIoTCloudConnectorEIPs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'ListIoTCloudConnectorGroups' => [ + 'summary' => 'Query the list of instance groups.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8652,103 +7144,232 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'IoTCloudConnectorGroupStatus', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', + 'description' => 'The status of the instance groups. A maximum of 20 instance group statuses are supported. Valid values:'."\n" + .'- **Creating**: Creation in progress.'."\n" + .'- **Created**: Creation completed.'."\n" + .'- **Deleting**: Deletion in progress.'."\n" + .'- **Updating**: Update in progress.', + 'type' => 'array', + 'items' => ['description' => 'The status of the instance groups. A maximum of 20 instance group statuses are supported. Valid values:'."\n" + .'- **Creating**: Creation in progress.'."\n" + .'- **Created**: Creation completed.'."\n" + .'- **Deleting**: Deletion in progress.'."\n" + .'- **Updating**: Update in progress.', 'type' => 'string', 'required' => false, 'example' => 'Created', 'title' => ''], + 'required' => false, + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ClientToken', + 'name' => 'IoTCloudConnectorGroupIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The list of instance group IDs. A maximum of 20 instance group IDs are supported.', + 'type' => 'array', + 'items' => ['description' => 'The list of instance group IDs. A maximum of 20 instance group IDs are supported.', 'type' => 'string', 'required' => false, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'DryRun', + 'name' => 'IoTCloudConnectorGroupName', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'boolean', + 'description' => 'The name of the instance group. A maximum of 20 instance group names are supported.', + 'type' => 'array', + 'items' => ['description' => 'The name of the instance group. A maximum of 20 instance group names are supported.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length and can contain letters, Chinese characters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter or a Chinese character.', 'type' => 'string', 'required' => false, 'example' => 'cctest', 'title' => ''], 'required' => false, - 'example' => 'false', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'Indicates whether a token for the next query exists. Valid values:'."\n" + .'- Do not specify this parameter for the first query or when there is no subsequent query.'."\n" + .'- If there is a subsequent query, set this parameter to the **NextToken** value returned by the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return per page when using batch queries. Valid values: **1** to **50**. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'example' => '10', 'default' => '10', 'title' => ''], + ], + [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID where the instance groups are located.'."\n" + ."\n" + .'You can obtain the region ID by invoking the [DescribeRegions](~~36063~~) API.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['description' => 'The edition of the cloud connector instance. Different editions have different feature limitations and billing policies. Valid values:'."\n" + .'- **Basic**: Basic Edition.'."\n" + .'- **Standard**: Standard Edition.'."\n" + ."\n" + .'<props="china">By default, cloud connector instances are created as Standard Edition. If you need to create a Basic Edition instance, [submit a ticket](https://selfservice.console.aliyun.com/ticket/category/ga/today) to request it.</props>'."\n" + ."\n" + .'<props="intl">By default, cloud connector instances are created as Standard Edition. If you need to create a Basic Edition instance, [submit a ticket](https://workorder-intl.console.aliyun.com/?spm=5176.11182188.console-base-top.dworkorder.18ae4882n3v6ZW#/ticket/createIndex) to request it.</props>'."\n", 'type' => 'string', 'required' => false, 'example' => 'Standard', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'Returns a list of information entries.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], - 'AccessLogSlsProject' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sls-setter', - ], - 'AccessLogSlsLogStore' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'AccessLogStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Opened', + 'TotalCount' => ['description' => 'Number of entries in the list.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'NextToken' => ['description' => 'Indicates whether a token for the next query exists. Values:'."\n" + .'- If **NextToken** is empty, there is no subsequent query.'."\n" + .'- If **NextToken** has a return value, this value represents the token to start the next query.', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], + 'MaxResults' => ['description' => 'Number of entries displayed per batch during paginated queries.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], + 'IoTCloudConnectorGroups' => [ + 'description' => 'List of instance group information.', + 'type' => 'array', + 'items' => [ + 'description' => 'Instance group information.', + 'type' => 'object', + 'properties' => [ + 'IoTCloudConnectorGroupId' => ['description' => 'The instance group ID.', 'type' => 'string', 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], + 'IoTCloudConnectorGroupStatus' => ['description' => 'Status of the instance group. Values:'."\n" + .'- **Creating**: Creation in progress.'."\n" + ."\n" + .'- **Created**: Creation completed.'."\n" + ."\n" + .'- **Deleting**: Deletion in progress.'."\n" + ."\n" + .'- **Updating**: Update in progress.'."\n", 'type' => 'string', 'example' => 'Created', 'title' => ''], + 'IoTCloudConnectors' => [ + 'description' => 'List of cloud connector instances. ', + 'type' => 'array', + 'items' => [ + 'description' => 'List of cloud connector instances. ', + 'type' => 'object', + 'properties' => [ + 'IoTCloudConnectorId' => ['description' => 'The instance ID of the cloud connector.', 'type' => 'string', 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], + 'IoTCloudConnectorStatus' => ['description' => 'The status of the cloud connector instance. Valid values:'."\n" + ."\n" + .'- **Creating**: The instance is being created.'."\n" + ."\n" + .'- **Created**: The instance has been created.'."\n" + ."\n" + .'- **Deleting**: The instance is being deleted.'."\n" + ."\n" + .'- **Updating**: The instance is being updated.', 'type' => 'string', 'example' => 'Created', 'title' => ''], + 'IoTCloudConnectorName' => ['description' => 'Name of the cloud connector instance. ', 'type' => 'string', 'example' => 'cc01', 'title' => ''], + 'IoTCloudConnectorDescription' => ['description' => 'Description of the cloud connector instance. ', 'type' => 'string', 'example' => 'cc01', 'title' => ''], + 'CreateTime' => ['description' => 'Creation Time of the cloud connector instance. ', 'type' => 'integer', 'format' => 'int64', 'example' => '2021-10-01 00:00:00', 'title' => ''], + 'ISP' => ['description' => 'Carrier of the cloud connector instance. Valid values:'."\n" + ."\n" + .'- **telecom**: China Telecom.'."\n" + ."\n" + .'- **mobile**: China Mobile.'."\n" + ."\n" + .'- **unicom**: China Unicom.', 'type' => 'string', 'example' => 'mobile', 'title' => ''], + 'APN' => ['description' => 'The carrier APN ID.', 'type' => 'string', 'example' => 'CMWAP', 'title' => ''], + 'ServiceType' => ['description' => 'Service Type. Valid values:'."\n" + ."\n" + .'- **Normal**: Standard type.'."\n" + .'- **CC5G**: Cloud connector 5G instance hosting type.'."\n" + .'- **CC5GCCIoT**: Cloud connector 5G transfer type. ', 'type' => 'string', 'example' => 'Normal', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Name' => ['description' => 'The name of the instance group.', 'type' => 'string', 'example' => 'cctest', 'title' => ''], + 'Description' => ['description' => 'Description of the instance group.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'CreateTime' => ['description' => 'The creation time of the instance group.', 'type' => 'integer', 'format' => 'int64', 'example' => '2021-10-01 00:00:00', 'title' => ''], + 'Type' => ['description' => 'Version of the cloud connector instance. Different versions have different feature limitations and billing policies. Values:'."\n" + ."\n" + .'- **Basic**: Basic Edition.'."\n" + ."\n" + .'- **Standard**: Standard Edition.'."\n" + ."\n" + .'<props="china">By default, cloud connector instances are created as Standard Edition. To create a Basic Edition instance, you can [submit a ticket](https://selfservice.console.aliyun.com/ticket/category/ga/today).</props>'."\n" + ."\n" + .'<props="intl">By default, cloud connector instances are created as Standard Edition. To create a Basic Edition instance, you can [submit a ticket](https://workorder-intl.console.aliyun.com/?spm=5176.11182188.console-base-top.dworkorder.18ae4882n3v6ZW#/ticket/createIndex).</props>'."\n", 'type' => 'string', 'example' => 'Standard', 'title' => ''], + 'ServiceType' => ['description' => 'The service type. Valid values:'."\n" + ."\n" + .'- **Normal**: Standard type.'."\n" + ."\n" + .'- **CC5G**: Cloud connector 5G instance hosting type.'."\n" + ."\n" + .'- **CC5GCCIoT**: Cloud connector 5G transfer type.', 'type' => 'string', 'example' => 'Normal', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"AccessLogSlsProject\\": \\"sls-setter\\",\\n \\"AccessLogSlsLogStore\\": \\"test\\",\\n \\"AccessLogStatus\\": \\"Opened\\"\\n}","errorExample":""},{"type":"xml","example":"<GetIoTCloudConnectorAccessLogResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n <AccessLogSlsProject>sls-setter</AccessLogSlsProject>\\n <AccessLogSlsLogStore>test</AccessLogSlsLogStore>\\n <AccessLogStatus>Opened</AccessLogStatus>\\n</GetIoTCloudConnectorAccessLogResponse>","errorExample":""}]', - 'title' => 'GetIoTCloudConnectorAccessLog', - ], - 'CreateService' => [ - 'summary' => '创建Service', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 10,\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"IoTCloudConnectorGroups\\": [\\n {\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"IoTCloudConnectorGroupStatus\\": \\"Created\\",\\n \\"IoTCloudConnectors\\": [\\n {\\n \\"IoTCloudConnectorId\\": \\"iotcc-bp1odcab8tmno0hdq****\\",\\n \\"IoTCloudConnectorStatus\\": \\"Created\\",\\n \\"IoTCloudConnectorName\\": \\"cc01\\",\\n \\"IoTCloudConnectorDescription\\": \\"cc01\\",\\n \\"CreateTime\\": 0,\\n \\"ISP\\": \\"mobile\\",\\n \\"APN\\": \\"CMWAP\\",\\n \\"ServiceType\\": \\"Normal\\"\\n }\\n ],\\n \\"Name\\": \\"cctest\\",\\n \\"Description\\": \\"test\\",\\n \\"CreateTime\\": 0,\\n \\"Type\\": \\"Standard\\",\\n \\"ServiceType\\": \\"Normal\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query the list of instance groups', + 'changeSet' => [ + ['createdAt' => '2022-09-02T08:28:41.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-06-13T11:44:38.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2021-12-21T08:47:54.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-12-14T09:32:05.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIoTCloudConnectorGroups'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListIoTCloudConnectorGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'ListIoTCloudConnectors' => [ + 'summary' => 'Query cloud connector instance information.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8757,116 +7378,282 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'IoTCloudConnectorStatus', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', + 'description' => 'The status of the cloud connector instance. You can specify up to 20 instance statuses. Valid values: '."\n" + .'- **Creating**: Creation in progress. '."\n" + .'- **Created**: Creation completed. '."\n" + .'- **Deleting**: Deletion in progress. '."\n" + .'- **Updating**: Modification in progress. ', + 'type' => 'array', + 'items' => ['description' => 'The status of the cloud connector instance. You can specify up to 20 instance statuses. Valid values: '."\n" + .'- **Creating**: Creation in progress. '."\n" + .'- **Created**: Creation completed. '."\n" + .'- **Deleting**: Deletion in progress. '."\n" + .'- **Updating**: Modification in progress. ', 'type' => 'string', 'required' => false, 'example' => 'Created', 'title' => ''], + 'required' => false, + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ServiceName', + 'name' => 'IoTCloudConnectorIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'A list of cloud connector instance IDs.', + 'type' => 'array', + 'items' => ['description' => 'A list of cloud connector instance IDs. You can specify up to 20 instance IDs.', 'type' => 'string', 'required' => false, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], 'required' => false, - 'example' => 'service_name', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ServiceDescription', + 'name' => 'IoTCloudConnectorName', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The name of the cloud connector instance. You can specify up to 20 instance names.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.', + 'type' => 'array', + 'items' => ['description' => 'The name of the cloud connector instance. You can specify up to 20 instance names.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], 'required' => false, - 'example' => 'service_description', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ClientToken', + 'name' => 'ISP', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The carrier of the cloud connector instance. You can specify up to 20 carriers. Valid values:'."\n" + .'- **telecom**: China Telecom.'."\n" + .'- **mobile**: China Mobile.'."\n" + .'- **unicom**: China Unicom.', + 'type' => 'array', + 'items' => ['description' => 'The carrier of the cloud connector instance. You can specify carriers for up to 20 instances. Valid values: '."\n" + .'- **telecom**: China Telecom. '."\n" + .'- **mobile**: China Mobile. '."\n" + .'- **unicom**: China Unicom. ', 'type' => 'string', 'required' => false, 'example' => 'mobile', 'title' => ''], 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'DryRun', + 'name' => 'VpcId', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'boolean', + 'description' => 'The ID of the VPC connected to the cloud connector instance.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the VPC connected to the cloud connector instance. You can specify up to 20 VPC IDs.', 'type' => 'string', 'required' => false, 'example' => 'vpc-bp1aevy8sofi8mh1q****', 'title' => ''], 'required' => false, - 'example' => 'false', + 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'RegionId', + 'name' => 'APN', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + 'description' => 'The ID of the carrier APN. ', + 'type' => 'array', + 'items' => ['description' => 'The ID of the carrier APN. You can specify up to 20 APN IDs. ', 'type' => 'string', 'required' => false, 'example' => 'CMWAP', 'title' => ''], + 'required' => false, + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'Indicates whether a token for the next query exists. Valid values:'."\n" + .'- Do not specify this parameter for the first query or when there is no subsequent query.'."\n" + .'- If there is a subsequent query, set this parameter to the **NextToken** value returned by the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a****', 'title' => ''], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return per page when querying results in batches. Valid values: **1** to **50**. Default Value: **10**. ', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'example' => '10', 'default' => '10', 'title' => ''], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the cloud connector instance. '."\n" + ."\n" + .'You can invoke the [ListRegions](~~313836~~) API to obtain the region ID. ', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'IsInGroup', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to query instances in an instance group. Valid values:'."\n" + ."\n" + .'- **true**: Query instances in an instance group.'."\n" + ."\n" + .'- **false** (default): Do not query instances in an instance group.'."\n" + ."\n" + .'- **null**: Query all instances regardless of whether they belong to an instance group.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'IoTCloudConnectorGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The group ID of the cloud connector instance. ', 'type' => 'string', 'required' => false, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The list of returned information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], - 'ServiceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'c910061f-****-44e6-b659-***c', + 'TotalCount' => ['description' => 'Total number of entries in the list.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'NextToken' => ['description' => 'Indicates whether a token for the next query exists. Valid values:'."\n" + .'- If **NextToken** is empty, there is no subsequent query.'."\n" + .'- If **NextToken** has a return value, this value represents the token to start the next query.', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], + 'MaxResults' => ['description' => 'The number of entries to display per page when performing a paginated query.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', 'title' => ''], + 'IoTCloudConnectors' => [ + 'description' => 'List of cloud connector instances.', + 'type' => 'array', + 'items' => [ + 'description' => 'List of cloud connector instances.', + 'type' => 'object', + 'properties' => [ + 'IoTCloudConnectorId' => ['description' => 'The instance ID of the cloud connector.', 'type' => 'string', 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], + 'IoTCloudConnectorStatus' => ['description' => 'The status of the cloud connector instance. Valid values:'."\n" + .'- **Creating**: Creating.'."\n" + .'- **Created**: Created.'."\n" + .'- **Deleting**: Deleting.'."\n" + .'- **Updating**: Updating.', 'type' => 'string', 'example' => 'Created', 'title' => ''], + 'ISP' => ['description' => 'Carrier of the cloud connector instance. Valid values:'."\n" + .'- **telecom**: China Telecom.'."\n" + .'- **mobile**: China Mobile.'."\n" + .'- **unicom**: China Unicom.', 'type' => 'string', 'example' => 'mobile', 'title' => ''], + 'IoTCloudConnectorBusinessStatus' => ['description' => 'The Run status of the cloud connector instance. Valid values:'."\n" + .'- **Normal**: Normal.'."\n" + .'- **Abnormal**: Abnormal.'."\n", 'type' => 'string', 'example' => 'Normal', 'title' => ''], + 'APN' => ['description' => 'The ID of the carrier APN.', 'type' => 'string', 'example' => 'CMWAP', 'title' => ''], + 'RateLimit' => ['description' => 'The peak bandwidth of the cloud connector instance. Unit: **Gbps**. Valid values: **1** to **10**.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'VpcId' => ['description' => 'The ID of the VPC to which the cloud connector instance is connected.', 'type' => 'string', 'example' => 'vpc-bp1aevy8sofi8mh1q****', 'title' => ''], + 'VSwitchList' => [ + 'description' => 'vSwitch ID.', + 'type' => 'array', + 'items' => ['description' => 'The vSwitch ID.', 'type' => 'string', 'example' => 'vsw-m5e3r57pxkgijcdvfcdvf****', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'IoTCloudConnectorName' => ['description' => 'Name of the cloud connector instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'IoTCloudConnectorDescription' => ['description' => 'Description of the cloud connector instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'WildcardDomainEnabled' => ['description' => 'Whether the wildcard domain name feature is Enabled. Valid values:'."\n" + .'- **true**: Enabled.'."\n" + .'- **false**: shutdown.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'CreateTime' => ['description' => 'The Creation Time of the cloud connector instance.'."\n" + ."\n" + .'It is represented in ISO 8601 standard and uses UTC. The format is: `YYYY-MM-DDThh:mm:ssZ`.', 'type' => 'integer', 'format' => 'int64', 'example' => '2021-10-01T00:00:00Z', 'title' => ''], + 'ModifyTime' => ['description' => 'The time when the cloud connector instance information was modified.'."\n" + ."\n" + .'This time is represented in ISO 8601 format and uses UTC. The format is: `YYYY-MM-DDThh:mm:ssZ`.', 'type' => 'integer', 'format' => 'int64', 'example' => '2021-10-01T10:00:00Z', 'title' => ''], + 'IoTCloudConnectorGroupId' => ['description' => 'The group ID of the cloud connector instance.', 'type' => 'string', 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], + 'Mode' => ['description' => 'The Attribute Value of the cloud connector. Indicates that return Ingress is displayed when the current mode is **passTrough**.', 'type' => 'string', 'example' => 'PassThrough', 'title' => ''], + 'IpFeature' => ['description' => 'Dynamic or Static IP.', 'type' => 'string', 'example' => '192.168.0.1', 'title' => ''], + 'Type' => ['description' => 'The version of the cloud connector instance. Different versions have different feature limitations and billing policies. Valid values:'."\n" + ."\n" + .'- **Basic**: Basic Edition.'."\n" + ."\n" + .'- **Standard**: Standard Edition.'."\n" + ."\n" + .'<props="china">By default, cloud connector instances are created as Standard Edition. To create a Basic Edition instance, [submit a ticket](https://selfservice.console.aliyun.com/ticket/category/ga/today).</props>'."\n" + ."\n" + .'<props="intl">By default, cloud connector instances are created as Standard Edition. To create a Basic Edition instance, [submit a ticket](https://workorder-intl.console.aliyun.com/?spm=5176.11182188.console-base-top.dworkorder.18ae4882n3v6ZW#/ticket/createIndex).</props>'."\n", 'type' => 'string', 'example' => 'Standard', 'title' => ''], + 'ServiceType' => ['description' => 'Service Type. Valid values:'."\n" + ."\n" + .'- **Normal**: Normal type.'."\n" + .'- **CC5G**: Cloud connector 5G instance hosting type.'."\n" + .'- **CC5GCCIoT**: Cloud connector 5G transfer type.', 'type' => 'string', 'example' => 'Normal', 'title' => ''], + 'GrantAliUid' => ['description' => 'The UID of the Alibaba Cloud authorizer.', 'type' => 'string', 'example' => '253460731706911258', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'SystemBusy', 'errorMessage' => 'System is busy, please try again later.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"ServiceId\\": \\"c910061f-****-44e6-b659-***c\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateServiceResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <ServiceId>c910061f-****-44e6-b659-***c</ServiceId>\\n</CreateServiceResponse>","errorExample":""}]', - 'title' => 'CreateService', - ], - 'UpdateServiceAttribute' => [ - 'summary' => '修改Service', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 20,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 10,\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"IoTCloudConnectors\\": [\\n {\\n \\"IoTCloudConnectorId\\": \\"iotcc-bp1odcab8tmno0hdq****\\",\\n \\"IoTCloudConnectorStatus\\": \\"Created\\",\\n \\"ISP\\": \\"mobile\\",\\n \\"IoTCloudConnectorBusinessStatus\\": \\"Normal\\",\\n \\"APN\\": \\"CMWAP\\",\\n \\"RateLimit\\": 2,\\n \\"VpcId\\": \\"vpc-bp1aevy8sofi8mh1q****\\",\\n \\"VSwitchList\\": [\\n \\"vsw-m5e3r57pxkgijcdvfcdvf****\\"\\n ],\\n \\"IoTCloudConnectorName\\": \\"test\\",\\n \\"IoTCloudConnectorDescription\\": \\"test\\",\\n \\"WildcardDomainEnabled\\": false,\\n \\"CreateTime\\": 0,\\n \\"ModifyTime\\": 0,\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"Mode\\": \\"PassThrough\\",\\n \\"IpFeature\\": \\"192.168.0.1\\",\\n \\"Type\\": \\"Standard\\",\\n \\"ServiceType\\": \\"Normal\\",\\n \\"GrantAliUid\\": \\"253460731706911258\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query cloud connector instance information', + 'changeSet' => [ + ['createdAt' => '2022-09-07T17:01:30.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-08-26T16:07:02.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-08-10T10:09:37.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-06-13T09:41:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-12-21T16:06:13.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-21T16:06:13.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-12-20T07:02:08.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-07-07T09:41:11.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIoTCloudConnectors'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListIoTCloudConnectors', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/*'], + ], + ], + ], ], + ], + 'ListIoTCoudConnectorBackhaulRoute' => [ + 'summary' => 'Call the ListIoTCloudConnectorBackhaulRoute operation to query backhaul routes for a cloud connector instance after it is attached to a VPC.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8875,121 +7662,128 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeCode' => '136568', + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'ServiceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'c910061f-****-44e6-b659-***c', - ], - ], - [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The cloud connector instance ID.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'ServiceName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'service_name', - ], - ], - [ - 'name' => 'ServiceDescription', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'service_description', - ], - ], - [ - 'name' => 'ClientToken', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The token to retrieve the next page of results.'."\n" + ."\n" + .'- For the first query, leave this parameter empty.'."\n" + ."\n" + .'- For subsequent queries, set this parameter to the **NextToken** value from the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], ], [ - 'name' => 'DryRun', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Valid values: **1** to **100**. Default value: **20**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'default' => '10', 'example' => '20', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the cloud connector instance.'."\n" + ."\n" + .'Call the [ListRegions](~~313836~~) operation to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The number of entries in the list.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', + 'TotalCount' => ['description' => 'The total number of entries in the list.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'NextToken' => ['description' => 'The token that indicates whether more results are available. Valid values:'."\n" + ."\n" + .'- If **NextToken** is empty, no more results are available.'."\n" + ."\n" + .'- If **NextToken** has a value, use it as the starting token for the next query.', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', 'title' => ''], + 'Routes' => [ + 'description' => 'The list of routes.', + 'type' => 'array', + 'items' => [ + 'description' => 'List of routes.', + 'type' => 'object', + 'properties' => [ + 'DestinationCidrBlock' => ['description' => 'The destination CIDR block of the route entry.', 'type' => 'string', 'example' => '192.168.2.0/24', 'title' => ''], + 'NextHopId' => ['description' => 'The ID of the next hop instance.', 'type' => 'string', 'example' => 'eni-bp1d66qjxb3qoin3****', 'title' => ''], + 'NextHopType' => ['description' => 'The type of the next hop. Set this parameter to **NetworkInterface** to specify an elastic network interface (ENI) as the next hop.', 'type' => 'string', 'example' => 'NetworkInterface', 'title' => ''], + 'Status' => ['description' => 'The publishing status of the route entry in the cloud connector. Valid values:'."\n" + ."\n" + .'- **Published**: The route is published.'."\n" + ."\n" + .'- **Publishing**: The route is being published.'."\n" + ."\n" + .'- **Unpublished**: The route is unpublished.'."\n" + ."\n" + .'- **Unpublishing**: The route is being unpublished.'."\n" + ."\n" + .'- **Init**: The route is not published.'."\n" + ."\n" + .'- **Deleting**: The route is being deleted.', 'type' => 'string', 'example' => 'Published', 'title' => ''], + 'Description' => ['description' => 'The description of the route entry.', 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateServiceAttributeResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</UpdateServiceAttributeResponse>","errorExample":""}]', - 'title' => 'UpdateServiceAttribute', - ], - 'ListService' => [ - 'summary' => '显示Service', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 20,\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"Routes\\": [\\n {\\n \\"DestinationCidrBlock\\": \\"192.168.2.0/24\\",\\n \\"NextHopId\\": \\"eni-bp1d66qjxb3qoin3****\\",\\n \\"NextHopType\\": \\"NetworkInterface\\",\\n \\"Status\\": \\"Published\\",\\n \\"Description\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query the backhaul routes of the current cloud connector instance after it is attached to a VPC', + 'changeSet' => [ + ['createdAt' => '2024-11-19T07:41:56.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-05-06T12:57:35.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2022-05-06T12:57:35.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIoTCoudConnectorBackhaulRoute'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListIoTCoudConnectorBackhaulRoute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'ListIpMappingRules' => [ + 'summary' => 'Call the ListIpMappingRules API to retrieve IP redirection information for authorization rules.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8998,304 +7792,234 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', + 'schema' => ['description' => 'ID of the cloud connector instance.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], + ], + [ + 'name' => 'IpMappingRuleIds', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', + 'description' => 'IDs of authorization rules that require IP redirection.', + 'type' => 'array', + 'items' => ['description' => 'IDs of authorization rules that require IP redirection. You can specify up to 20 IDs.', 'type' => 'string', 'required' => false, 'example' => 'im-irrp3bzuu5nrbx****', 'title' => ''], + 'required' => false, + 'maxItems' => 100, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ServiceIds', + 'name' => 'MappingIps', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'IP addresses that require redirection.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'c910061f-****-44e6-b659-***c', - ], + 'items' => ['description' => 'IP addresses that require redirection. You can specify up to 20 addresses.', 'type' => 'string', 'required' => false, 'example' => '47.0.XX.XX', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ServiceNames', + 'name' => 'IpMappingRuleStatuses', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'Status of IP redirection for authorization rules. You can specify up to 20 statuses. Valid values:'."\n" + ."\n" + .'- **Creating**: The rule is being created.'."\n" + ."\n" + .'- **Created**: The rule is created.'."\n" + ."\n" + .'- **Updating**: The rule is being updated.'."\n" + ."\n" + .'- **Associating**: An IP address is being attached.'."\n" + ."\n" + .'- **Dissociating**: An IP address is being detached.'."\n" + ."\n" + .'- **Deleting**: The rule is being deleted.'."\n" + ."\n" + .'- **Deleted**: The rule is deleted.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'service_name', - ], + 'items' => ['description' => 'Status of IP redirection for authorization rules. You can specify up to 20 statuses. Valid values:'."\n" + ."\n" + .'- **Creating**: The rule is being created.'."\n" + ."\n" + .'- **Created**: The rule is created.'."\n" + ."\n" + .'- **Updating**: The rule is being updated.'."\n" + ."\n" + .'- **Associating**: An IP address is being attached.'."\n" + ."\n" + .'- **Dissociating**: An IP address is being detached.'."\n" + ."\n" + .'- **Deleting**: The rule is being deleted.'."\n" + ."\n" + .'- **Deleted**: The rule is deleted.', 'type' => 'string', 'required' => false, 'example' => 'Created', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ResourceStatuses', + 'name' => 'IpMappingRuleNames', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'Names of authorization rules that require IP redirection.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Created', - ], + 'items' => ['description' => 'Names of authorization rules that require IP redirection. You can specify up to 20 names.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). It must start with a letter or Chinese character.', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'NextToken', + 'name' => 'DestinationIps', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'Target IP addresses for redirection.', + 'type' => 'array', + 'items' => ['description' => 'Target IP addresses for redirection. You can specify up to 20 addresses.', 'type' => 'string', 'required' => false, 'example' => '192.168.10.8', 'title' => ''], 'required' => false, - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'Token for the next query. Valid values:'."\n" + ."\n" + .'- Omit this parameter for the first query or when no more results are available.'."\n" + ."\n" + .'- For subsequent queries, use the **NextToken** value returned by the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], + ], + [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '50', - 'minimum' => '1', - 'example' => '20', - 'default' => '10', - ], + 'schema' => ['description' => 'The number of entries to display per page when you query in batches. Valid values are 1 to 100. The default value is 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'default' => '10', 'example' => '20', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'ID of the region where the instance resides.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) API to query region IDs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'Request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'NextToken FFmyTO70tTpLG6I3FmYAXGKPd****', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'Services' => [ - 'description' => '', + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], + 'TotalCount' => ['description' => 'Total number of entries in the list.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'NextToken' => ['description' => 'Token for the next query. Valid values:'."\n" + ."\n" + .'- If **NextToken** is empty, no more results are available.'."\n" + ."\n" + .'- If **NextToken** has a value, use it as the starting token for the next query.', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], + 'MaxResults' => ['description' => 'Maximum number of entries to return per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'IpMappingRules' => [ + 'description' => 'List of IP redirection rules for authorization.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'List of IP redirection rules for authorization.', 'type' => 'object', 'properties' => [ - 'IoTCloudConnectorId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], - 'ServiceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'c910061f-****-44e6-b659-***c', - ], - 'ServiceStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Created', - ], - 'ServiceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'service_name', - ], - 'ServiceDescription' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'service_description', - ], + 'IoTCloudConnectorId' => ['description' => 'ID of the cloud connector instance.', 'type' => 'string', 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], + 'IpMappingRuleId' => ['description' => 'ID of the authorization rule that requires IP redirection.', 'type' => 'string', 'example' => 'im-irrp3bzuu5nrbx****', 'title' => ''], + 'IpMappingRuleStatus' => ['description' => 'Status of IP redirection for the authorization rule. Valid values:'."\n" + ."\n" + .'- **Creating**: The rule is being created.'."\n" + ."\n" + .'- **Created**: The rule is created.'."\n" + ."\n" + .'- **Updating**: The rule is being updated.'."\n" + ."\n" + .'- **Associating**: An IP address is being attached.'."\n" + ."\n" + .'- **Dissociating**: An IP address is being detached.'."\n" + ."\n" + .'- **Deleting**: The rule is being deleted.'."\n" + ."\n" + .'- **Deleted**: The rule is deleted.', 'type' => 'string', 'example' => 'Created', 'title' => ''], + 'MappingIp' => ['description' => 'IP address that requires redirection.', 'type' => 'string', 'example' => '47.0.XX.XX', 'title' => ''], + 'DestinationIp' => ['description' => 'Target IP address for redirection.', 'type' => 'string', 'example' => '192.168.10.8', 'title' => ''], + 'IpMappingRuleName' => ['description' => 'Name of the authorization rule that requires IP redirection.', 'type' => 'string', 'example' => 'name', 'title' => ''], + 'IpMappingRuleDescription' => ['description' => 'Description of the authorization rule that requires IP redirection.', 'type' => 'string', 'example' => 'description', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"NextToken\\\\tFFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 20,\\n \\"Services\\": [\\n {\\n \\"IoTCloudConnectorId\\": \\"iotcc-bp1odcab8tmno0hdq****\\",\\n \\"ServiceId\\": \\"c910061f-****-44e6-b659-***c\\",\\n \\"ServiceStatus\\": \\"Created\\",\\n \\"ServiceName\\": \\"service_name\\",\\n \\"ServiceDescription\\": \\"service_description\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListServiceResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <TotalCount>10</TotalCount>\\n <NextToken>NextToken\\tFFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <MaxResults>20</MaxResults>\\n <Services>\\n <IoTCloudConnectorId>iotcc-bp1odcab8tmno0hdq****</IoTCloudConnectorId>\\n <ServiceId>c910061f-****-44e6-b659-***c</ServiceId>\\n <ServiceStatus>Created</ServiceStatus>\\n <ServiceName>service_name</ServiceName>\\n <ServiceDescription>service_description</ServiceDescription>\\n </Services>\\n</ListServiceResponse>","errorExample":""}]', - 'title' => 'ListService', - ], - 'DeleteService' => [ - 'summary' => '删除Service', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 20,\\n \\"IpMappingRules\\": [\\n {\\n \\"IoTCloudConnectorId\\": \\"iotcc-bp1odcab8tmno0hdq****\\",\\n \\"IpMappingRuleId\\": \\"im-irrp3bzuu5nrbx****\\",\\n \\"IpMappingRuleStatus\\": \\"Created\\",\\n \\"MappingIp\\": \\"47.0.XX.XX\\",\\n \\"DestinationIp\\": \\"192.168.10.8\\",\\n \\"IpMappingRuleName\\": \\"name\\",\\n \\"IpMappingRuleDescription\\": \\"description\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query IP redirection information of authorization rules', + 'changeSet' => [ + ['createdAt' => '2022-08-20T01:35:13.000Z', 'description' => 'OpenAPI offline'], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIpMappingRules'], ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], - 'parameters' => [ - [ - 'name' => 'ServiceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'c910061f-****-44e6-b659-***c', - ], - ], + 'ramActions' => [ [ - 'name' => 'IoTCloudConnectorId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], - ], - [ - 'name' => 'ClientToken', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], - ], - [ - 'name' => 'DryRun', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iotcc:ListIpMappingRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteServiceResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</DeleteServiceResponse>","errorExample":""}]', - 'title' => 'DeleteService', ], - 'CreateServiceEntry' => [ - 'summary' => '创建ServiceEntry', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListRegions' => [ + 'summary' => 'Lists the regions supported by Cloud Connector.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9304,146 +8028,93 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'ServiceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'c910061f-****-44e6-b659-***c', - ], - ], - [ - 'name' => 'IoTCloudConnectorId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], - ], - [ - 'name' => 'Target', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '192.168.1.32/27', - ], - ], - [ - 'name' => 'TargetType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Cidr', - ], - ], - [ - 'name' => 'ServiceEntryName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'entry_name', - ], - ], - [ - 'name' => 'ServiceEntryDescription', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'entry_description', - ], - ], - [ - 'name' => 'ClientToken', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], - ], - [ - 'name' => 'DryRun', + 'name' => 'AcceptLanguage', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Supported language. Valid values:'."\n" + ."\n" + .'- **zh-CN**: Chinese.'."\n" + ."\n" + .'- **en-US**: English.'."\n" + ."\n" + .'- **ja**: Japanese.', 'type' => 'string', 'required' => false, 'example' => 'zh-CN', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the Cloud Connector instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The response information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], - 'ServiceEntryId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'fwd-119smw5tkasdf****', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], + 'Regions' => [ + 'description' => 'The list of regions.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of regions.', + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'LocalName' => ['description' => 'The region name.', 'type' => 'string', 'example' => '华东1(杭州)', 'title' => ''], + 'RegionEndpoint' => ['description' => 'The endpoint address for the region service.', 'type' => 'string', 'example' => 'cciot.cn-hangzhou.aliyuncs.com', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"ServiceEntryId\\": \\"fwd-119smw5tkasdf****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateServiceEntryResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n <ServiceEntryId>fwd-119smw5tkasdf****</ServiceEntryId>\\n</CreateServiceEntryResponse>","errorExample":""}]', - 'title' => 'CreateServiceEntry', - ], - 'UpdateServiceEntryAttribute' => [ - 'summary' => '更新ServiceEntry', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"Regions\\": [\\n {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"LocalName\\": \\"华东1(杭州)\\",\\n \\"RegionEndpoint\\": \\"cciot.cn-hangzhou.aliyuncs.com\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query the list of regions supported by cloud connectors', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRegions'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iotcc:ListRegions', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListService' => [ + 'summary' => 'Queries services for application statistics.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9452,131 +8123,179 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'ServiceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'c910061f-****-44e6-b659-***c', - ], - ], - [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'Cloud connector instance ID.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'ServiceEntryId', + 'name' => 'ServiceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fwd-119smw5tkasdf****', + 'description' => 'List of application statistics service IDs.', + 'type' => 'array', + 'items' => ['description' => 'The system-generated ID for the application statistics service, unique across the entire network. Enter a maximum of 20 service IDs.', 'type' => 'string', 'required' => false, 'example' => 'c910061f-****-44e6-b659-***c', 'title' => ''], + 'required' => false, + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ServiceEntryName', + 'name' => 'ServiceNames', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'A list of service names, grouped by application.', + 'type' => 'array', + 'items' => ['description' => 'Application statistics service name. Enter a maximum of 20 service names.'."\n" + ."\n" + .'The length is 2 to 128 characters. It must start with an uppercase or lowercase English letter. It can contain numbers, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'service_name', 'title' => ''], 'required' => false, - 'example' => 'entry_name', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ServiceEntryDescription', + 'name' => 'ResourceStatuses', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'List the statuses of service resources by application.', + 'type' => 'array', + 'items' => ['description' => 'The status of the service resource. Enter a maximum of 20 service resources. Values:'."\n" + ."\n" + .'- **Creating**: Creating.'."\n" + ."\n" + .'- **Created**: Created.'."\n" + ."\n" + .'- **Deleting**: Deleting.'."\n" + ."\n" + .'- **Updating**: Updating.', 'type' => 'string', 'required' => false, 'example' => 'Created', 'title' => ''], 'required' => false, - 'example' => 'entry_description', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ClientToken', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'Whether a token exists for the next query. Values:'."\n" + ."\n" + .'- Do not enter a value for the first query or if no next query exists.'."\n" + ."\n" + .'- If a next query exists, the value is the **NextToken** returned by the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], ], [ - 'name' => 'DryRun', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The number of entries displayed per paged query. Value range: **1** to **100**. Default value: **20**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'default' => '10', 'example' => '20', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID where the application statistics service is located.'."\n" + ."\n" + .'Call the [ListRegions](~~313836~~) API to get the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'List of returned information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', 'title' => ''], + 'TotalCount' => ['description' => 'Total number of list entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'NextToken' => ['description' => 'Whether a token exists for the next query. Values:'."\n" + ."\n" + .'- If **NextToken** is empty, no next query exists.'."\n" + ."\n" + .'- If **NextToken** has a return value, it indicates the token for the start of the next query.', 'type' => 'string', 'example' => 'NextToken FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], + 'MaxResults' => ['description' => 'The number of entries displayed per paged query.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'Services' => [ + 'description' => 'List of services.', + 'type' => 'array', + 'items' => [ + 'description' => 'List of services.', + 'type' => 'object', + 'properties' => [ + 'IoTCloudConnectorId' => ['description' => 'Cloud connector instance ID.', 'type' => 'string', 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], + 'ServiceId' => ['description' => 'The system-generated ID for the application statistics service, unique across the entire network.', 'type' => 'string', 'example' => 'c910061f-****-44e6-b659-***c', 'title' => ''], + 'ServiceStatus' => ['description' => 'The status of the service resource. Values:'."\n" + ."\n" + .'- **Creating**: Creating.'."\n" + ."\n" + .'- **Created**: Created.'."\n" + ."\n" + .'- **Deleting**: Deleting.'."\n" + ."\n" + .'- **Updating**: Updating.', 'type' => 'string', 'example' => 'Created', 'title' => ''], + 'ServiceName' => ['description' => 'The name of the application statistics service.'."\n" + ."\n" + .'The length is 2 to 128 characters. It must start with an uppercase or lowercase English letter. It can contain numbers, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'example' => 'service_name', 'title' => ''], + 'ServiceDescription' => ['description' => 'Description of the application statistics service.'."\n" + ."\n" + .'The length is 2 to 256 characters. It must start with an uppercase or lowercase English letter. However, it cannot be `http://` or `https://`.', 'type' => 'string', 'example' => 'service_description', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"NextToken\\\\tFFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 20,\\n \\"Services\\": [\\n {\\n \\"IoTCloudConnectorId\\": \\"iotcc-bp1odcab8tmno0hdq****\\",\\n \\"ServiceId\\": \\"c910061f-****-44e6-b659-***c\\",\\n \\"ServiceStatus\\": \\"Created\\",\\n \\"ServiceName\\": \\"service_name\\",\\n \\"ServiceDescription\\": \\"service_description\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query application-based statistics services', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListService'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateServiceEntryAttributeResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n</UpdateServiceEntryAttributeResponse>","errorExample":""}]', - 'title' => 'UpdateServiceEntryAttribute', ], 'ListServiceEntries' => [ - 'summary' => '显示ServiceEntry', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Query statistics entries for an application.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9588,47 +8307,32 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'c910061f-****-44e6-b659-***c', - ], + 'schema' => ['description' => 'The globally unique ID that the system assigns to the application-based statistics service.', 'type' => 'string', 'required' => true, 'example' => 'c910061f-****-44e6-b659-***c', 'title' => ''], ], [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The ID of the cloud connector instance.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ 'name' => 'Target', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'The destination address of the service entry.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.1.32/27', - ], + 'items' => ['description' => 'The destination address of the service entry. You can specify up to 20 destination addresses.', 'type' => 'string', 'required' => false, 'example' => '192.168.1.32/27', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ @@ -9636,17 +8340,18 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'The type of the destination address of the service entry.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Cidr', - ], + 'items' => ['description' => 'The type of the destination address of the service entry. You can specify up to 20 destination address types. Valid values:'."\n" + ."\n" + .'- **Cidr**: A CIDR block.'."\n" + ."\n" + .'- **Domain**: A domain name.', 'type' => 'string', 'required' => false, 'example' => 'Cidr', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ @@ -9654,17 +8359,22 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'The status of the service entry.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Created', - ], + 'items' => ['description' => 'The status of the service entry. You can specify up to 20 statuses. Valid values:'."\n" + ."\n" + .'- **Creating**: The service entry is being created.'."\n" + ."\n" + .'- **Created**: The service entry is created.'."\n" + ."\n" + .'- **Deleting**: The service entry is being deleted.'."\n" + ."\n" + .'- **Updating**: The service entry is being updated.', 'type' => 'string', 'required' => false, 'example' => 'Created', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ @@ -9672,169 +8382,145 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'The name of the service entry.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'entry_name', - ], + 'items' => ['description' => 'The name of the service entry. You can specify up to 20 names.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length. It must start with a letter or Chinese character. It can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'entry_name', 'title' => ''], 'required' => false, 'maxItems' => 20, 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], + 'schema' => ['description' => 'The token used for the next query. Valid values:'."\n" + ."\n" + .'- Leave this parameter empty for the first query or when no more results are available.'."\n" + ."\n" + .'- If more results are available, set this parameter to the value of **NextToken** returned by the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '50', - 'minimum' => '1', - 'example' => '20', - 'default' => '10', - ], + 'schema' => ['description' => 'The maximum number of entries to return on each page. Valid values: **1 to 100**. Default value: **20**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'default' => '10', 'example' => '20', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID where the service entries reside.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) operation to query the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ServiceEntryIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'Application entry ID.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'fwd-119smw5tkasdf****', - ], + 'items' => ['description' => 'The IDs of the service entries. You can specify up to 20 IDs.', 'type' => 'string', 'required' => false, 'example' => 'fwd-119smw5tkasdf****', 'title' => ''], 'required' => false, 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries in the list.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'NextToken' => ['description' => 'The token used for the next query. Valid values:'."\n" + ."\n" + .'- If **NextToken** is empty, no more results are available.'."\n" + ."\n" + .'- If **NextToken** has a value, use it as the starting token for the next query.', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], 'ServiceEntries' => [ - 'description' => '', + 'description' => 'The list of service entries.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The list of service entries.', 'type' => 'object', 'properties' => [ - 'ServiceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'c910061f-****-44e6-b659-***c', - ], - 'ServiceEntryStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Created', - ], - 'Target' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.1.32/27', - ], - 'TargetType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Cidr', - ], - 'ServiceEntryName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'entry_name', - ], - 'ServiceEntryDescription' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'entry_description', - ], - 'ServiceEntryId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'fwd-119smw5tkasdf****', - ], + 'ServiceId' => ['description' => 'The globally unique ID that the system assigns to the application-based statistics service.', 'type' => 'string', 'example' => 'c910061f-****-44e6-b659-***c', 'title' => ''], + 'ServiceEntryStatus' => ['description' => 'The status of the service entry. Valid values:'."\n" + ."\n" + .'- **Creating**: The service entry is being created.'."\n" + ."\n" + .'- **Created**: The service entry is created.'."\n" + ."\n" + .'- **Deleting**: The service entry is being deleted.'."\n" + ."\n" + .'- **Updating**: The service entry is being updated.', 'type' => 'string', 'example' => 'Created', 'title' => ''], + 'Target' => ['description' => 'The destination address of the service entry.', 'type' => 'string', 'example' => '192.168.1.32/27', 'title' => ''], + 'TargetType' => ['description' => 'The type of the destination address of the service entry. Valid values:'."\n" + ."\n" + .'- **Cidr**: A CIDR block.'."\n" + ."\n" + .'- **Domain**: A domain name.', 'type' => 'string', 'example' => 'Cidr', 'title' => ''], + 'ServiceEntryName' => ['description' => 'The name of the service entry.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length. It must start with a letter or Chinese character. It can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'example' => 'entry_name', 'title' => ''], + 'ServiceEntryDescription' => ['description' => 'The description of the service entry.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length. It must start with a letter or Chinese character. It cannot start with `http://` or `https://`.', 'type' => 'string', 'example' => 'entry_description', 'title' => ''], + 'ServiceEntryId' => ['description' => 'The ID of the service entry.', 'type' => 'string', 'example' => 'fwd-119smw5tkasdf****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 20,\\n \\"ServiceEntries\\": [\\n {\\n \\"ServiceId\\": \\"c910061f-****-44e6-b659-***c\\",\\n \\"ServiceEntryStatus\\": \\"Created\\",\\n \\"Target\\": \\"192.168.1.32/27\\",\\n \\"TargetType\\": \\"Cidr\\",\\n \\"ServiceEntryName\\": \\"entry_name\\",\\n \\"ServiceEntryDescription\\": \\"entry_description\\",\\n \\"ServiceEntryId\\": \\"fwd-119smw5tkasdf****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListServiceEntriesResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n <TotalCount>10</TotalCount>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <MaxResults>20</MaxResults>\\n <ServiceEntries>\\n <ServiceId>c910061f-****-44e6-b659-***c</ServiceId>\\n <ServiceEntryStatus>Created</ServiceEntryStatus>\\n <Target>192.168.1.32/27</Target>\\n <TargetType>Cidr</TargetType>\\n <ServiceEntryName>entry_name</ServiceEntryName>\\n <ServiceEntryDescription>entry_description</ServiceEntryDescription>\\n <ServiceEntryId>fwd-119smw5tkasdf****</ServiceEntryId>\\n </ServiceEntries>\\n</ListServiceEntriesResponse>","errorExample":""}]', - 'title' => 'ListServiceEntries', - ], - 'DeleteServiceEntry' => [ - 'summary' => '删除ServiceEntry', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 20,\\n \\"ServiceEntries\\": [\\n {\\n \\"ServiceId\\": \\"c910061f-****-44e6-b659-***c\\",\\n \\"ServiceEntryStatus\\": \\"Created\\",\\n \\"Target\\": \\"192.168.1.32/27\\",\\n \\"TargetType\\": \\"Cidr\\",\\n \\"ServiceEntryName\\": \\"entry_name\\",\\n \\"ServiceEntryDescription\\": \\"entry_description\\",\\n \\"ServiceEntryId\\": \\"fwd-119smw5tkasdf****\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query application-specific statistics entries ', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceEntries'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListServiceEntries', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + ], + ], + 'MoveAuthorizationRuleToDNSService' => [ + 'summary' => 'Moves authorization rules to DNS authorization rules.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9843,111 +8529,99 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'ServiceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'c910061f-****-44e6-b659-***c', - ], - ], - [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The ID of the cloud connector instance.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-1y6h8z7imd2yu4****', 'title' => ''], ], [ - 'name' => 'ServiceEntryId', + 'name' => 'AuthorizationRuleId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fwd-119smw5tkasdf****', - ], + 'schema' => ['description' => 'The authorization rule ID.', 'type' => 'string', 'required' => true, 'example' => 'ar-la6sn6gng90e1x****', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The client token, used to ensure request idempotence.'."\n" + ."\n" + .'The client generates this value. Ensure it is unique across different requests. The maximum length is 64 ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system uses the **RequestId** of the API request as the **ClientToken**. Each API request has a different **RequestId**.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run for this request. Valid values:'."\n" + ."\n" + .'- **true**: Sends a check request without moving the authorization rule. The check includes required parameters, request format, and business restrictions. If the check fails, an error returns. If it passes, the `DryRunOperation` error code returns.'."\n" + ."\n" + .'- **false** (default): Sends a normal request. If the check passes, the system returns an HTTP 2xx status code and moves the rule.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID where the cloud connector instance resides.'."\n" + ."\n" + .'> Regions that support cloud connectors include China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Guangzhou), China (Chengdu), and Germany (Frankfurt).', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '862D2D7E-E6A9-5645-9CA0-64B520256A7B', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteServiceEntryResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n</DeleteServiceEntryResponse>","errorExample":""}]', - 'title' => 'DeleteServiceEntry', - ], - 'SubmitDiagnoseTaskForSingleCard' => [ - 'summary' => '开启cciot单卡一键诊断', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"862D2D7E-E6A9-5645-9CA0-64B520256A7B\\"\\n}","type":"json"}]', + 'title' => 'Transfer an authorization rule to a DNS authorization rule', + 'description' => '> You can move only rules with an access target type of **Cidr** and a destination address that is a DNS IP to DNS authorization rules. Call the [ListAuthorizationRules](~~298298~~) API to view the access target type and destination address of instance group authorization rules.', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:37.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-02-15T11:56:00.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'MoveAuthorizationRuleToDNSService'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:MoveAuthorizationRuleToDNSService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'MoveGroupAuthorizationRuleToDNSService' => [ + 'summary' => 'Move an authorization rule from an instance group to a DNS authorization rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9956,537 +8630,275 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-smy9a5ockzp08n****', - ], - ], - [ - 'name' => 'SourceType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '', - ], - ], - [ - 'name' => 'Source', + 'name' => 'IoTCloudConnectorGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '169.254.XX.XX', - ], + 'schema' => ['description' => 'The ID of the cloud connector instance group.', 'type' => 'string', 'required' => true, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], ], [ - 'name' => 'DestinationType', + 'name' => 'AuthorizationRuleId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'IP', - ], + 'schema' => ['description' => 'The ID of the authorization rule.', 'type' => 'string', 'required' => true, 'example' => 'gar-ez91t41jvi6tr8****', 'title' => ''], ], [ - 'name' => 'Destination', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '114.114.XX.XX', - ], - ], - [ - 'name' => 'BeginTime', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1643077466', - ], + 'schema' => ['description' => 'A client token that ensures the idempotence of the request.'."\n" + ."\n" + .'Generate a unique value on the client side. The value must be unique across requests and contain no more than 64 ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system uses the **RequestId** of the API request as the **ClientToken**. Each API request has a different **RequestId**.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1643077666', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run. Valid values:'."\n" + ."\n" + .'- **true**: Performs a check. The authorization rule is not moved. The check includes required parameters, request format, and business limits. If the check fails, the corresponding error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + ."\n" + .'- **false** (default): Performs the operation. After the check passes, the HTTP status code 2xx is returned and the authorization rule is moved.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ResourceUid', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '253460731706911258', - ], + 'schema' => ['description' => 'The ID of the region where the cloud connector instance group resides.'."\n" + ."\n" + .'> Cloud Connector is available in these regions: China East 1 (Hangzhou), China East 2 (Shanghai), China North 1 (Qingdao), China North 2 (Beijing), China North 5 (Hohhot), China North 6 (Ulanqab), China South 1 (Shenzhen), China South 3 (Guangzhou), China Southwest 1 (Chengdu), and Germany (Frankfurt).', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], - 'DiagnoseTaskId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'diagnoseTask-bp2qhwdp2n9x6zkvq****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'cardIdNotExist', - 'errorMessage' => 'diagnose task iccid not exist', - ], - [ - 'errorCode' => 'CardIPNotBind', - 'errorMessage' => 'card ip not bind', - ], - [ - 'errorCode' => 'CardIPAndIccIdNotMatch', - 'errorMessage' => 'card ip and iccid not match', - ], - [ - 'errorCode' => 'CardIPNotExist', - 'errorMessage' => 'card ip not exist', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"DiagnoseTaskId\\": \\"diagnoseTask-bp2qhwdp2n9x6zkvq****\\"\\n}","errorExample":""},{"type":"xml","example":"<SubmitDiagnoseTaskForSingleCardResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n <DiagnoseTaskId>diagnoseTask-bp2qhwdp2n9x6zkvq****</DiagnoseTaskId>\\n</SubmitDiagnoseTaskForSingleCardResponse>","errorExample":""}]', - 'title' => 'SubmitDiagnoseTaskForSingleCard', - ], - 'GetDiagnoseResultForSingleCard' => [ - 'summary' => '查询单卡诊断结果', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","type":"json"}]', + 'title' => 'Transfer Instance Group Rules to DNS Authorization Rules ', + 'description' => '> You can move only authorization rules that meet both conditions: the access destination type is **Cidr** and the destination address is a DNS IP address. To view the access destination type and destination address of an instance group’s authorization rules, call the [ListGroupAuthorizationRules](~~402441~~) operation.', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:37.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-02-15T11:56:00.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'MoveGroupAuthorizationRuleToDNSService'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:MoveGroupAuthorizationRuleToDNSService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'OpenIoTCloudConnectorService' => [ + 'summary' => 'Activate the cloud connector service.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'DiagnoseTaskId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'diagnoseTask-bp2qhwdp2n9x6zkvq****', - ], - ], - [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The Region ID of the cloud connector instance.'."\n" + ."\n" + .'You can invoke the [ListRegions](~~313836~~) API to obtain the Region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'Request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], - 'IoTCloudConnectorId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotcc-smy9a5ockzp08n****', - ], - 'CardIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '169.254.XX.XX', - ], - 'IccId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '89860477*******27546', - ], - 'Destination' => [ - 'description' => '', - 'type' => 'string', - 'example' => '114.114.XX.XX', - ], - 'BeginTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1643077466', - ], - 'EndTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1643077666', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'failed', - ], - 'ErrorResult' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ErrorLevel' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Warning', - ], - 'ErrorPart' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Terminal', - ], - 'ErrorDesc' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Terminal abnormal', - ], - 'ErrorSuggestion' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Please check whether the terminal and card are compatible or whether the terminal can send messages', - ], - ], - ], - ], - 'DiagnoseItem' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Part' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Terminal', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Normal', - ], - ], - ], - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'OperationDenied.IoTCloudConnectorServiceOpened', 'errorMessage' => 'The operation is not allowed because of iotcc service have opened.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"IoTCloudConnectorId\\": \\"iotcc-smy9a5ockzp08n****\\",\\n \\"CardIp\\": \\"169.254.XX.XX\\",\\n \\"IccId\\": \\"89860477*******27546\\",\\n \\"Destination\\": \\"114.114.XX.XX\\",\\n \\"BeginTime\\": 1643077466,\\n \\"EndTime\\": 1643077666,\\n \\"Status\\": \\"failed\\",\\n \\"ErrorResult\\": [\\n {\\n \\"ErrorLevel\\": \\"Warning\\",\\n \\"ErrorPart\\": \\"Terminal\\",\\n \\"ErrorDesc\\": \\"Terminal abnormal\\",\\n \\"ErrorSuggestion\\": \\"Please check whether the terminal and card are compatible or whether the terminal can send messages\\"\\n }\\n ],\\n \\"DiagnoseItem\\": [\\n {\\n \\"Part\\": \\"Terminal\\",\\n \\"Status\\": \\"Normal\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetDiagnoseResultForSingleCardResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n <IoTCloudConnectorId>iotcc-smy9a5ockzp08n****</IoTCloudConnectorId>\\n <CardIp>169.254.XX.XX</CardIp>\\n <IccId>89860477*******27546</IccId>\\n <Destination>114.114.XX.XX</Destination>\\n <BeginTime>1643077466</BeginTime>\\n <EndTime>1643077666</EndTime>\\n <Status>failed</Status>\\n <ErrorResult>\\n <ErrorLevel>Warning</ErrorLevel>\\n <ErrorPart>Terminal</ErrorPart>\\n <ErrorDesc>Terminal abnormal</ErrorDesc>\\n <ErrorSuggestion>Please check whether the terminal and card are compatible or whether the terminal can send messages</ErrorSuggestion>\\n </ErrorResult>\\n <DiagnoseItem>\\n <Part>Terminal</Part>\\n <Status>Normal</Status>\\n </DiagnoseItem>\\n</GetDiagnoseResultForSingleCardResponse>","errorExample":""}]', - 'title' => 'GetDiagnoseResultForSingleCard', - ], - 'ListDiagnoseInfoForSingleCard' => [ - 'summary' => '查询单卡诊断信息列表', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","type":"json"}]', + 'title' => 'Activate the cloud connector service', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'OpenIoTCloudConnectorService'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:OpenIoTCloudConnectorService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'RemoveIoTCloudConnectorFromGroup' => [ + 'summary' => 'Remove a cloud connector instance from an instance group.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - ], - [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The ID of the cloud connector instance. Valid values for **N**: **1** to **20**.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the cloud connector instance. Valid values for **N**: **1** to **20**.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], 'required' => true, - 'example' => 'iotcc-smy9a5ockzp08n****', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'SourceType', + 'name' => 'IoTCloudConnectorGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - ], + 'schema' => ['description' => 'The ID of the instance group.', 'type' => 'string', 'required' => true, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], ], [ - 'name' => 'Source', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '169.254.XX.XX', - ], + 'schema' => ['description' => 'The client token used to ensure the idempotence of the request.'."\n" + ."\n" + .'The client generates this parameter value, which must be unique across different requests and contain no more than 64 ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'NextToken', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without removing the cloud connector instance from the instance group. The system checks whether required parameters are specified, whether the request format is valid, and whether the request complies with service limits. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. If the check passes, an HTTP 2xx status code is returned and the operation is performed.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The region ID of the instance group.'."\n" + ."\n" + .'You can call the [DescribeRegions](~~36063~~) API to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The list of returned information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'DiagnoseInfo' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'IoTCloudConnectorId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotcc-smy9a5ockzp08n****', - ], - 'CardIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '169.254.XX.XX', - ], - 'IccId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '89860477*******27546', - ], - 'SourceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Source' => [ - 'description' => '', - 'type' => 'string', - 'example' => '169.254.XX.XX', - ], - 'DestinationType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'IP', - ], - 'Destination' => [ - 'description' => '', - 'type' => 'string', - 'example' => '114.114.XX.XX', - ], - 'BeginTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1643077466', - ], - 'EndTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1643077666', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'completed', - ], - 'DiagnoseTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1649669904', - ], - 'TaskId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'diagnoseTask-bp2qhwdp2n9x6zkvq****', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 20,\\n \\"DiagnoseInfo\\": [\\n {\\n \\"IoTCloudConnectorId\\": \\"iotcc-smy9a5ockzp08n****\\",\\n \\"CardIp\\": \\"169.254.XX.XX\\",\\n \\"IccId\\": \\"89860477*******27546\\",\\n \\"SourceType\\": \\"卡IP\\",\\n \\"Source\\": \\"169.254.XX.XX\\",\\n \\"DestinationType\\": \\"IP\\",\\n \\"Destination\\": \\"114.114.XX.XX\\",\\n \\"BeginTime\\": 1643077466,\\n \\"EndTime\\": 1643077666,\\n \\"Status\\": \\"completed\\",\\n \\"DiagnoseTime\\": 1649669904,\\n \\"TaskId\\": \\"diagnoseTask-bp2qhwdp2n9x6zkvq****\\"\\n }\\n ],\\n \\"TotalCount\\": 10\\n}","errorExample":""},{"type":"xml","example":"<ListDiagnoseInfoForSingleCardResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <MaxResults>20</MaxResults>\\n <DiagnoseInfo>\\n <IoTCloudConnectorId>iotcc-smy9a5ockzp08n****</IoTCloudConnectorId>\\n <CardIp>169.254.XX.XX</CardIp>\\n <IccId>89860477*******27546</IccId>\\n <SourceType>卡IP</SourceType>\\n <Source>169.254.XX.XX</Source>\\n <DestinationType>IP</DestinationType>\\n <Destination>114.114.XX.XX</Destination>\\n <BeginTime>1643077466</BeginTime>\\n <EndTime>1643077666</EndTime>\\n <Status>completed</Status>\\n <DiagnoseTime>1649669904</DiagnoseTime>\\n <TaskId>diagnoseTask-bp2qhwdp2n9x6zkvq****</TaskId>\\n </DiagnoseInfo>\\n <TotalCount>10</TotalCount>\\n</ListDiagnoseInfoForSingleCardResponse>","errorExample":""}]', - 'title' => 'ListDiagnoseInfoForSingleCard', - ], - 'CreateIoTCloudConnectorBackhaulRoute' => [ - 'summary' => '创建IoTCloudConnector回程路由', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","type":"json"}]', + 'title' => 'Remove a cloud connector instance from an instance group', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:36.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-12-14T09:32:05.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveIoTCloudConnectorFromGroup'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:RemoveIoTCloudConnectorFromGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], ], + ], + 'RevertIoTCloudConnector' => [ + 'summary' => 'Invoke the RevertIoTCloudConnector API to revert a cloud connector instance whose transfer was denied.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10495,108 +8907,92 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'Cloud connector instance ID.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'Client token used to ensure the idempotence of the request.'."\n" + ."\n" + .'Generate a unique value for this parameter from your client to guarantee uniqueness across different requests. ClientToken supports only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** is different for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without reverting the cloud connector instance whose transfer was denied. The system checks whether required parameters are specified, whether the request format is valid, and whether business limits are met. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. If the check passes, an HTTP 2xx status code is returned and the operation is performed.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'Region ID of the cloud connector instance.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) API to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'List of response parameters.', 'type' => 'object', 'properties' => [ - 'IoTCloudConnectorId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], + 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], + 'ResourceId' => ['description' => 'Cloud connector instance ID.', 'type' => 'string', 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'OperationDenied.UserVpcRouteAlreadyPublished', - 'errorMessage' => 'The operation is not allowed because of user vpc route already published.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"IoTCloudConnectorId\\": \\"iotcc-bp1odcab8tmno0hdq****\\",\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateIoTCloudConnectorBackhaulRouteResponse>\\n <IoTCloudConnectorId>iotcc-bp1odcab8tmno0hdq****</IoTCloudConnectorId>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</CreateIoTCloudConnectorBackhaulRouteResponse>","errorExample":""}]', - 'title' => ' CreateIoTCloudConnectorBackhaulRoute', - ], - 'ListIoTCoudConnectorBackhaulRoute' => [ - 'summary' => '显示IoTCloudConnector回程路由', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"ResourceId\\": \\"iotcc-bp1odcab8tmno0hdq****\\"\\n}","type":"json"}]', + 'title' => 'Revert a Cloud Connector Instance Whose Transfer Was Denied', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:58.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RevertIoTCloudConnector'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:RevertIoTCloudConnector', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'SubmitDiagnoseTaskForSingleCard' => [ + 'summary' => 'Submit a diagnostic task for a single IoT card.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10605,273 +9001,121 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '136568', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The ID of the cloud connector instance that runs the diagnostic task for a single IoT card.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-smy9a5ockzp08n****', 'title' => ''], ], [ - 'name' => 'NextToken', + 'name' => 'SourceType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], + 'schema' => ['description' => 'The source type for the network diagnostic task. Valid values:'."\n" + ."\n" + .'- **Card IP**: Use the IP address assigned to the IoT card.'."\n" + ."\n" + .'- **Card ID**: Use the ID of the IoT card.', 'type' => 'string', 'required' => true, 'example' => '卡IP', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'Source', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '50', - 'minimum' => '1', - 'example' => '20', - 'default' => '10', - ], + 'schema' => ['description' => 'The source IP address or ID of the IoT card.', 'type' => 'string', 'required' => true, 'example' => '169.254.XX.XX', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'DestinationType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], - 'Routes' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'DestinationCidrBlock' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.2.0/24', - ], - 'NextHopId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'eni-bp1d66qjxb3qoin3****', - ], - 'NextHopType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'NetworkInterface', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Published', - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], + 'schema' => ['description' => 'The destination type for the network diagnostic task. Valid values:'."\n" + ."\n" + .'- **IP**: The destination is an IP address.'."\n" + ."\n" + .'- **Domain Name**: The destination is a domain name.', 'type' => 'string', 'required' => false, 'example' => 'IP', 'title' => ''], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 20,\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\",\\n \\"Routes\\": [\\n {\\n \\"DestinationCidrBlock\\": \\"192.168.2.0/24\\",\\n \\"NextHopId\\": \\"eni-bp1d66qjxb3qoin3****\\",\\n \\"NextHopType\\": \\"NetworkInterface\\",\\n \\"Status\\": \\"Published\\",\\n \\"Description\\": \\"test\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListIoTCoudConnectorBackhaulRouteResponse>\\n <TotalCount>10</TotalCount>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <MaxResults>20</MaxResults>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n <Routes>\\n <DestinationCidrBlock>192.168.2.0/24</DestinationCidrBlock>\\n <NextHopId>eni-bp1d66qjxb3qoin3****</NextHopId>\\n <NextHopType>NetworkInterface</NextHopType>\\n <Status>Published</Status>\\n <Description>test</Description>\\n </Routes>\\n</ListIoTCoudConnectorBackhaulRouteResponse>","errorExample":""}]', - 'title' => ' ListIoTCoudConnectorBackhaulRoute', - ], - 'DeleteIoTCloudConnetorBackhaulRoute' => [ - 'summary' => '删除IoTCloudConnector回程路由', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => 'The destination IP address or domain name.', 'type' => 'string', 'required' => false, 'example' => '114.114.XX.XX', 'title' => ''], ], - ], - 'parameters' => [ [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The start timestamp of the diagnostic task, in seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1643077466', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The end timestamp of the diagnostic task, in seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1643077666', 'title' => ''], ], [ - 'name' => 'DryRun', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The region ID where the diagnostic task runs.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) operation to query region IDs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'ResourceUid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The Alibaba Cloud account ID of the cloud connector instance owner.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '253460731706911258', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], + 'DiagnoseTaskId' => ['description' => 'The ID of the diagnostic task.', 'type' => 'string', 'example' => 'diagnoseTask-bp2qhwdp2n9x6zkvq****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'OperationDenied.IotCloudConnectorInGroup', - 'errorMessage' => 'The operation is not allowed because of IotCloudConnector In Group.', - ], - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceInUse.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCC is in use.', - ], - [ - 'errorCode' => 'IncorrectStatus.CloudConnector', - 'errorMessage' => 'The status of CloudConnector is incorrect.', - ], - [ - 'errorCode' => 'ResourceInCreating.IoTCloudConnector', - 'errorMessage' => 'ResourceInCreating.IoTCloudConnector', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'cardIdNotExist', 'errorMessage' => 'diagnose task iccid not exist', 'description' => ''], + ['errorCode' => 'CardIPNotBind', 'errorMessage' => 'card ip not bind', 'description' => 'The card IP is not bound.'], + ['errorCode' => 'CardIPAndIccIdNotMatch', 'errorMessage' => 'card ip and iccid not match', 'description' => 'The card IP does not match the card ID.'], + ['errorCode' => 'CardIPNotExist', 'errorMessage' => 'card ip not exist', 'description' => 'The card IP does not exist.'], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteIoTCloudConnetorBackhaulRouteResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</DeleteIoTCloudConnetorBackhaulRouteResponse>","errorExample":""}]', - 'title' => 'DeleteIoTCloudConnetorBackhaulRoute', - ], - 'CreateIpMappingRule' => [ - 'summary' => '创建IpMappingRule', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"DiagnoseTaskId\\": \\"diagnoseTask-bp2qhwdp2n9x6zkvq****\\"\\n}","type":"json"}]', + 'title' => 'Submit a single-card diagnostic task', + 'changeSet' => [ + ['createdAt' => '2022-02-21T08:46:11.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitDiagnoseTaskForSingleCard'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:SubmitDiagnoseTaskForSingleCard', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], ], + ], + 'UpdateAuthorizationRuleAttribute' => [ + 'summary' => 'Update authorization rule information.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10880,188 +9124,175 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The cloud connector instance ID.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'DestinationIp', + 'name' => 'AuthorizationRuleId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '192.168.10.8', - ], + 'schema' => ['description' => 'The authorization rule ID.', 'type' => 'string', 'required' => true, 'example' => 'ar-1234abcb8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'MappingIp', + 'name' => 'DestinationType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '47.0.XX.XX', - ], + 'schema' => ['description' => 'The type of the access target.'."\n" + .'- **Cidr**: CIDR block.'."\n" + .'- **Domain**: Domain name.', 'type' => 'string', 'required' => false, 'example' => 'Cidr', 'title' => ''], ], [ - 'name' => 'IpMappingRuleName', + 'name' => 'DestinationPort', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'name', - ], + 'schema' => ['description' => 'The destination port range. Valid values:'."\n" + ."\n" + .'- For TCP and UDP protocols: 1 to 65535. Separate the start and end ports with a forward slash (/). Example: 1/200.'."\n" + .'- For the ICMP protocol: -1/-1.'."\n" + .'- For ALL: -1/-1.', 'type' => 'string', 'required' => false, 'example' => '80/80', 'title' => ''], ], [ - 'name' => 'IpMappingRuleDescription', + 'name' => 'Protocol', + 'in' => 'query', + 'schema' => ['description' => 'Protocol Type. Valid values:'."\n" + ."\n" + .'- **tcp**.'."\n" + .'- **udp**.'."\n" + .'- **icmp**.'."\n" + .'- **all**: Supports all protocols.', 'type' => 'string', 'required' => false, 'example' => 'tcp', 'title' => ''], + ], + [ + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => 'The access target.', 'type' => 'string', 'required' => false, 'example' => '192.168.XX.XX', 'title' => ''], + ], + [ + 'name' => 'Policy', 'in' => 'query', + 'schema' => ['description' => 'The access policy.'."\n" + .'- **Permit**: Allow.'."\n" + .'- **Deny**: Deny.', 'type' => 'string', 'required' => false, 'example' => 'Permit', 'title' => ''], + ], + [ + 'name' => 'SourceCidrs', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The source CIDR blocks. You can specify up to 20 source CIDR blocks.', + 'type' => 'array', + 'items' => ['description' => 'The source CIDR blocks. You can specify up to 20 source CIDR blocks.', 'type' => 'string', 'required' => false, 'example' => '192.168.XX.XX', 'title' => ''], 'required' => false, - 'example' => 'description', + 'maxItems' => 20, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], [ + 'name' => 'AuthorizationRuleName', + 'in' => 'query', + 'schema' => ['description' => 'Authorization rule Name.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter or a Chinese character.', 'type' => 'string', 'required' => false, 'example' => 'rule01', 'title' => ''], + ], + [ + 'name' => 'AuthorizationRuleDescription', + 'in' => 'query', + 'schema' => ['description' => 'The description of the authorization rule.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length, and must start with a letter (uppercase or lowercase) or a Chinese character. It cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'rule01', 'title' => ''], + ], + [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'Client token used to ensure the idempotence of the API Request.'."\n" + ."\n" + .'Generate a unique value for this parameter from your client to guarantee uniqueness across different requests. ClientToken supports only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API Request as the **ClientToken** identity. The **RequestId** may differ for each API Request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform only a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without updating the authorization rule. The system checks whether required parameters are specified, whether the request format is valid, and whether business limits are exceeded. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. After passing all checks, the authorization rule is updated directly.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the cloud connector instance.'."\n" + ."\n" + .'You can obtain the region ID by invoking the [ListRegions](~~313836~~) API.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The list of returned information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], - 'IpMappingRuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'im-irrp3bzuu5nrbx****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'OperationDenied.DomainFeatureDisabled', - 'errorMessage' => 'The operation is not allowed because of domain feature disabled.', - ], - [ - 'errorCode' => 'IllegalParam.Destination', - 'errorMessage' => 'The param of Destination is illegal.', - ], - [ - 'errorCode' => 'ResourceAlreadyExist.AuthorizationRule', - 'errorMessage' => 'The specified resource of AuthorizationRule already exists.', - ], - [ - 'errorCode' => 'Conflict.Param', - 'errorMessage' => 'The param is conflict.', - ], - [ - 'errorCode' => 'Conflict.Cidr', - 'errorMessage' => 'The cidr is conflict.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], - [ - 'errorCode' => 'QuotaExceeded.sourceCidrLimit', - 'errorMessage' => 'The quota of SourceCidrsPerAuthorizationRule is exceeded', - ], - [ - 'errorCode' => 'IllegalParam', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'QuotaExceeded.authorizationRuleInstanceLimit', - 'errorMessage' => 'The quota of AuthorizationRulePerIotCC is exceeded', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'OperationDenied.DomainInHumanNetwork', - 'errorMessage' => 'The operation is not allowed because of domain or CIDR in human network.', - ], - [ - 'errorCode' => 'OperationDenied.CIDRMaskTooLarge', - 'errorMessage' => 'The operation is not allowed because of CIDR too large.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'OperationDenied.NoParamModify', 'errorMessage' => 'The operation is not allowed because of no param modified.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['errorCode' => 'QuotaExceeded.sourceCidrLimit', 'errorMessage' => 'The quota of SourceCidrsPerAuthorizationRule is exceeded', 'description' => ''], + ['errorCode' => 'QuotaExceeded.authorizationRuleInstanceLimit', 'errorMessage' => 'The quota of AuthorizationRulePerIotCC is exceeded', 'description' => ''], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'IllegalParam', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.AuthorizationRule', 'errorMessage' => 'The param of AuthorizationRuleId is illegal.', 'description' => ''], + ['errorCode' => 'IllegalParam.Destination', 'errorMessage' => 'The param of Destination is illegal.', 'description' => 'The error message returned because the value of the Destination parameter is invalid.'], + ['errorCode' => 'OperationDenied.NotSupportModify', 'errorMessage' => 'The operation is not allowed because of this type not support modify.', 'description' => ''], + ['errorCode' => 'OperationDenied.CIDRMaskTooLarge', 'errorMessage' => 'The operation is not allowed because of CIDR too large.', 'description' => 'The error message returned because the length of the subnet mask of the CIDR block exceeds the upper limit.'], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"IpMappingRuleId\\": \\"im-irrp3bzuu5nrbx****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateIpMappingRuleResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n <IpMappingRuleId>im-irrp3bzuu5nrbx****</IpMappingRuleId>\\n</CreateIpMappingRuleResponse>","errorExample":""}]', - 'title' => 'CreateIpMappingRule', - ], - 'UpdateIpMappingRule' => [ - 'summary' => '更新IpMappingRule', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","type":"json"}]', + 'title' => 'Update authorization rule information', + 'changeSet' => [ + ['createdAt' => '2022-06-23T05:13:55.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-03-08T07:52:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-07-23T09:49:14.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAuthorizationRuleAttribute'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateAuthorizationRuleAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'UpdateConnectionPoolAttribute' => [ + 'summary' => 'Update the connection address pool.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11073,182 +9304,136 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The instance ID of the cloud connector.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'IpMappingRuleId', + 'name' => 'ConnectionPoolId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'im-irrp3bzuu5nrbx****', - ], + 'schema' => ['description' => 'The ID of the connection address pool.', 'type' => 'string', 'required' => true, 'example' => 'cp-bp11234abctmno0hdq****', 'title' => ''], ], [ - 'name' => 'DestinationIp', + 'name' => 'Count', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.10.8', - ], + 'schema' => ['description' => 'The number of Internet of Things SIM cards.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'MappingIp', + 'name' => 'ConnectionPoolName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '47.0.XX.XX', - ], + 'schema' => ['description' => 'The name of the connection address pool.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length, and start with a letter or a Chinese character. It can contain digits, underscores (_), and hyphens (-). It cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'pool01', 'title' => ''], ], [ - 'name' => 'IpMappingRuleName', + 'name' => 'ConnectionPoolDescription', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'name', - ], + 'schema' => ['description' => 'The description of the connection address pool.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length, and start with a letter or a Chinese character. It cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'pool01', 'title' => ''], ], [ - 'name' => 'IpMappingRuleDescription', + 'name' => 'Cidrs', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The Classless Inter-Domain Routing (CIDR) blocks associated with the connection address pool. The value range of **N** is **1** to **20**.'."\n" + ."\n" + .'Multiple CIDR blocks are separated by ampersands (&), in the format `Cidrs.1=CIDR block 1&Cidrs.2=CIDR block 2`.', + 'type' => 'array', + 'items' => ['description' => 'The CIDR block to which the connection address pool belongs. The value of **N** ranges from **1** to **20**.'."\n" + ."\n" + .'Multiple CIDR blocks are separated by ampersands (&), in the format `Cidrs.1=CIDR block 1&Cidrs.2=CIDR block 2`.', 'type' => 'string', 'required' => false, 'example' => 'Cidrs.1=192.168.XX.XX/24&Cidrs.2=10.0.XX.XX/24', 'title' => ''], 'required' => false, - 'example' => 'description', + 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The client token used to ensure the idempotence of the request.'."\n" + ."\n" + .'This value is generated by the client and must be unique across different requests. It can contain up to 64 ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform only a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without updating the connection address pool. The system checks whether required parameters are specified, whether the request format is valid, and whether business limits are exceeded. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. If the check passes, the connection address pool is updated immediately.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the cloud connector instance.'."\n" + ."\n" + .'You can call the [DescribeRegions](~~36063~~) API to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The list of returned information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'OperationDenied.NoParamModify', - 'errorMessage' => 'The operation is not allowed because of no param modified.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], - [ - 'errorCode' => 'QuotaExceeded.sourceCidrLimit', - 'errorMessage' => 'The quota of SourceCidrsPerAuthorizationRule is exceeded', - ], - [ - 'errorCode' => 'QuotaExceeded.authorizationRuleInstanceLimit', - 'errorMessage' => 'The quota of AuthorizationRulePerIotCC is exceeded', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'IllegalParam', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'ResourceNotFound.IpMapping', - 'errorMessage' => 'The param of IpMapping is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.Destination', - 'errorMessage' => 'The param of Destination is illegal.', - ], - [ - 'errorCode' => 'OperationDenied.NotSupportModify', - 'errorMessage' => 'The operation is not allowed because of this type not support modify.', - ], - [ - 'errorCode' => 'OperationDenied.CIDRMaskTooLarge', - 'errorMessage' => 'The operation is not allowed because of CIDR too large.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['errorCode' => 'ResourceNotFound.ConnectionPool', 'errorMessage' => 'The param of ConnectionPoolId is illegal.', 'description' => ''], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'IllegalParam.Cidrs', 'errorMessage' => 'The param of Cidrs is illegal.', 'description' => ''], + ['errorCode' => 'IllegalParam.ConnectionPoolId', 'errorMessage' => 'The param of ConnectionPoolId is illegal.', 'description' => ''], + ['errorCode' => 'OperationDenied.GrantedInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of granted instance not support.', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateIpMappingRuleResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n</UpdateIpMappingRuleResponse>","errorExample":""}]', - 'title' => 'UpdateIpMappingRule', - ], - 'ListIpMappingRules' => [ - 'summary' => '显示IpMapping', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","type":"json"}]', + 'title' => 'Update the connection address pool', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:38.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateConnectionPoolAttribute'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateConnectionPoolAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'UpdateDNSServiceRuleAttribute' => [ + 'summary' => 'Modifies a DNS authorization rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11257,251 +9442,157 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The cloud connector instance ID.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-1y6h8z7imd2yu4****', 'title' => ''], ], [ - 'name' => 'IpMappingRuleIds', + 'name' => 'DNSServiceRuleId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'im-irrp3bzuu5nrbx****', - ], - 'required' => false, - 'maxItems' => 100, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The DNS authorization rule ID.', 'type' => 'string', 'required' => true, 'example' => 'ar-r56ijpurlu50gi****', 'title' => ''], ], [ - 'name' => 'MappingIps', + 'name' => 'ServiceType', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '47.0.XX.XX', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The destination type for the DNS authorization rule. Valid values:'."\n" + ."\n" + .'- **Normal**: a standard rule.'."\n" + ."\n" + .'- **DNSRedirect**: a redirection rule. This type redirects the current DNS service endpoint to another endpoint.', 'type' => 'string', 'required' => false, 'example' => 'Normal', 'title' => ''], ], [ - 'name' => 'IpMappingRuleStatuses', + 'name' => 'Destination', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Created', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The DNS service endpoint after redirection.'."\n" + ."\n" + .'> This parameter is required when **ServiceType** is set to **DNSRedirect**.', 'type' => 'string', 'required' => false, 'example' => '192.168.0.2', 'title' => ''], ], [ - 'name' => 'IpMappingRuleNames', + 'name' => 'Source', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'name', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The source DNS IP address. Examples include but are not limited to:'."\n" + ."\n" + .'**100.100.2.136**, **100.100.2.137**, **100.100.2.138**, **114.114.114.114**, **8.8.8.8**, **8.8.4.4**, **223.5.5.5**, **223.6.6.6**, **221.5.88.88**, **116.116.116.116**, **221.228.15.26**, **61.139.2.69**, **218.6.200.139**, **119.29.29.29**, **218.2.2.2**, **208.67.220.220**, **208.67.222.222**, and **218.4.4.4**.'."\n" + ."\n" + .'<props="china">'."\n" + ."\n" + .'To use other source DNS IP addresses, [submit a ticket](https://selfservice.console.aliyun.com/ticket/category/ga/today) and include the required IP addresses in the ticket.'."\n" + ."\n" + .'</props>'."\n" + ."\n" + .'<props="intl">'."\n" + ."\n" + .'To use other source DNS IP addresses, [submit a ticket](https://workorder-intl.console.aliyun.com/?spm=5176.11182188.console-base-top.dworkorder.18ae4882n3v6ZW#/ticket/createIndex) and include the required IP addresses in the ticket.'."\n" + ."\n" + .'</props>', 'type' => 'string', 'required' => false, 'example' => '100.100.2.138', 'title' => ''], ], [ - 'name' => 'DestinationIps', + 'name' => 'DNSServiceRuleName', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.10.8', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The name of the DNS authorization rule.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length. It must start with a letter or a Chinese character and can contain digits, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'NextToken', + 'name' => 'DNSServiceRuleDescription', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], + 'schema' => ['description' => 'The description of the DNS authorization rule.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length. It must start with a letter or a Chinese character. It cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'description', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '50', - 'minimum' => '1', - 'example' => '20', - 'default' => '10', - ], + 'schema' => ['description' => 'A client token that is used to ensure the idempotence of the request.'."\n" + ."\n" + .'Generate a unique value from your client to ensure that the same request is not repeated. The client token supports only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the request as the **ClientToken**. The **RequestId** may be different for each request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], + ], + [ + 'name' => 'DryRun', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to perform a dry run. Valid values:'."\n" + ."\n" + .'- **true**: sends a check request without modifying the DNS authorization rule. The system checks the required parameters, request format, and service limits. If the check fails, an error is returned. If the check passes, the `DryRunOperation` error code is returned.'."\n" + ."\n" + .'- **false** (default): sends a normal request. After the check passes, an HTTP 2xx status code is returned and the rule is modified.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the DNS authorization rule.'."\n" + ."\n" + .'Call the [ListRegions](~~313836~~) operation to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'IpMappingRules' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'IoTCloudConnectorId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], - 'IpMappingRuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'im-irrp3bzuu5nrbx****', - ], - 'IpMappingRuleStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Created', - ], - 'MappingIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '47.0.XX.XX', - ], - 'DestinationIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.10.8', - ], - 'IpMappingRuleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'name', - ], - 'IpMappingRuleDescription' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'description', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'BC6D1C1D-6DBD-568C-B867-BC9CA699ED01', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'OperationDenied.NoParamModify', 'errorMessage' => 'The operation is not allowed because of no param modified.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['errorCode' => 'QuotaExceeded.sourceCidrLimit', 'errorMessage' => 'The quota of SourceCidrsPerAuthorizationRule is exceeded', 'description' => ''], + ['errorCode' => 'QuotaExceeded.authorizationRuleInstanceLimit', 'errorMessage' => 'The quota of AuthorizationRulePerIotCC is exceeded', 'description' => ''], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'IllegalParam', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.AuthorizationRule', 'errorMessage' => 'The param of AuthorizationRuleId is illegal.', 'description' => ''], + ['errorCode' => 'IllegalParam.Destination', 'errorMessage' => 'The param of Destination is illegal.', 'description' => 'The error message returned because the value of the Destination parameter is invalid.'], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 20,\\n \\"IpMappingRules\\": [\\n {\\n \\"IoTCloudConnectorId\\": \\"iotcc-bp1odcab8tmno0hdq****\\",\\n \\"IpMappingRuleId\\": \\"im-irrp3bzuu5nrbx****\\",\\n \\"IpMappingRuleStatus\\": \\"Created\\",\\n \\"MappingIp\\": \\"47.0.XX.XX\\",\\n \\"DestinationIp\\": \\"192.168.10.8\\",\\n \\"IpMappingRuleName\\": \\"name\\",\\n \\"IpMappingRuleDescription\\": \\"description\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListIpMappingRulesResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n <TotalCount>10</TotalCount>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <MaxResults>20</MaxResults>\\n <IpMappingRules>\\n <IoTCloudConnectorId>iotcc-bp1odcab8tmno0hdq****</IoTCloudConnectorId>\\n <IpMappingRuleId>im-irrp3bzuu5nrbx****</IpMappingRuleId>\\n <IpMappingRuleStatus>Created</IpMappingRuleStatus>\\n <MappingIp>47.0.XX.XX</MappingIp>\\n <DestinationIp>192.168.10.8</DestinationIp>\\n <IpMappingRuleName>name</IpMappingRuleName>\\n <IpMappingRuleDescription>description</IpMappingRuleDescription>\\n </IpMappingRules>\\n</ListIpMappingRulesResponse>","errorExample":""}]', - 'title' => 'ListIpMappingRules', - ], - 'DeleteIpMappingRule' => [ - 'summary' => '删除IpMapping', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BC6D1C1D-6DBD-568C-B867-BC9CA699ED01\\"\\n}","type":"json"}]', + 'title' => 'Modify a DNS authorization rule', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:36.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-02-17T07:06:31.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-02-17T05:32:11.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-02-15T11:56:00.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDNSServiceRuleAttribute'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateDNSServiceRuleAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], ], + ], + 'UpdateGroupAuthorizationRuleAttribute' => [ + 'summary' => 'You can modify the authorization rules for an instance group.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11510,121 +9601,182 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorId', + 'name' => 'IoTCloudConnectorGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The ID of the IoT Cloud Connector group.', 'type' => 'string', 'required' => true, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], ], [ - 'name' => 'IpMappingRuleId', + 'name' => 'AuthorizationRuleDescription', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'im-irrp3bzuu5nrbx****', - ], + 'schema' => ['description' => 'A description of the authorization rule.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length. It must start with a letter or a Chinese character. It cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'rule', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'AuthorizationRuleName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the authorization rule.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length. It must start with a letter or a Chinese character. It can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'ruletest', 'title' => ''], + ], + [ + 'name' => 'AuthorizationRuleId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the authorization rule to update.', 'type' => 'string', 'required' => true, 'example' => 'gar-ez91t41jvi6tr8****', 'title' => ''], + ], + [ + 'name' => 'SourceCidrs', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The source CIDR blocks. Valid values of N: **1** to **20**.', + 'type' => 'array', + 'items' => ['description' => 'A source CIDR block. Valid values of N: **1** to **20**.', 'type' => 'string', 'required' => false, 'example' => '192.168.0.1', 'title' => ''], 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', + 'maxItems' => 200, + 'title' => '', + 'example' => '', ], ], [ + 'name' => 'DestinationType', + 'in' => 'query', + 'schema' => ['description' => 'The type of destination. Valid values:'."\n" + ."\n" + .'- **Cidr**: A CIDR block.'."\n" + ."\n" + .'- **Domain**: A domain name.', 'type' => 'string', 'required' => false, 'example' => 'Cidr', 'title' => ''], + ], + [ + 'name' => 'DestinationPort', + 'in' => 'query', + 'schema' => ['description' => 'The destination port range. Valid values:'."\n" + ."\n" + .'- TCP or UDP: 1 to 65535. Use a forward slash (/) to separate the start port from the end port. Example: 1/200.'."\n" + ."\n" + .'- ICMP: -1/-1.'."\n" + ."\n" + .'- ALL: -1/-1.', 'type' => 'string', 'required' => false, 'example' => '80/80', 'title' => ''], + ], + [ + 'name' => 'Protocol', + 'in' => 'query', + 'schema' => ['description' => 'The protocol type. Valid values:'."\n" + ."\n" + .'- **tcp**.'."\n" + ."\n" + .'- **udp**.'."\n" + ."\n" + .'- **icmp**.'."\n" + ."\n" + .'- **all**: All protocols.', 'type' => 'string', 'required' => false, 'example' => 'tcp', 'title' => ''], + ], + [ + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => 'The destination to access.', 'type' => 'string', 'required' => false, 'example' => '47.0.XX.XX', 'title' => ''], + ], + [ + 'name' => 'Policy', + 'in' => 'query', + 'schema' => ['description' => 'The access policy. Valid values:'."\n" + ."\n" + .'- **Permit**: Allow access.'."\n" + ."\n" + .'- **Deny**: Deny access.', 'type' => 'string', 'required' => false, 'example' => 'Permit', 'title' => ''], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['description' => 'A client token that ensures the idempotence of the request.'."\n" + ."\n" + .'You must generate a unique value for this parameter. The value can be up to 64 ASCII characters in length.'."\n" + ."\n" + .'> If you do not specify this parameter, the system uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], + ], + [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform only a dry run. Valid values:'."\n" + ."\n" + .'- **true**: Perform a check. The authorization rule is not updated. The system checks required parameters, request format, and business limits. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + ."\n" + .'- **false** (default): Perform the operation. After the check passes, the system returns an HTTP 2xx status code and updates the authorization rule.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the IoT Cloud Connector group.'."\n" + ."\n" + .'You can call the [DescribeRegions](~~36063~~) operation to query the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The response information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], + 'IoTCloudConnectorGroupId' => ['description' => 'The ID of the IoT Cloud Connector group.', 'type' => 'string', 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], + 'AuthorizationRuleId' => ['description' => 'The ID of the authorization rule.', 'type' => 'string', 'example' => 'gar-ez91t41jvi6tr8****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'OperationDenied.IotCloudConnectorInGroup', - 'errorMessage' => 'The operation is not allowed because of IotCloudConnector In Group.', - ], - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'ResourceNotFound.AuthorizationRule', - 'errorMessage' => 'The param of AuthorizationRuleId is illegal.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.AuthoriztionRuleId', - 'errorMessage' => 'The param of AuthoriztionRuleId is illegal.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', 'description' => ''], + ['errorCode' => 'OperationDenied.NoFieldModify', 'errorMessage' => 'The operation is not allowed because of no field modify.', 'description' => ''], + ['errorCode' => 'OperationDenied.CIDRMaskTooLarge', 'errorMessage' => 'The operation is not allowed because of CIDR too large.', 'description' => 'The error message returned because the length of the subnet mask of the CIDR block exceeds the upper limit.'], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], + ['errorCode' => 'IllegalParam.Destination', 'errorMessage' => 'The param of Destination is illegal.', 'description' => 'The error message returned because the value of the Destination parameter is invalid.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteIpMappingRuleResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n</DeleteIpMappingRuleResponse>","errorExample":""}]', - 'title' => 'DeleteIpMappingRule', - ], - 'CreateGroupIpMappingRule' => [ - 'summary' => '创建CloudConnector分组IpMapping', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"AuthorizationRuleId\\": \\"gar-ez91t41jvi6tr8****\\"\\n}","type":"json"}]', + 'title' => 'Modify the authorization rule of an instance group', + 'changeSet' => [ + ['createdAt' => '2022-08-27T16:03:41.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-06-23T06:27:36.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-01-04T12:38:26.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-12-16T05:13:55.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-14T12:33:41.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-14T09:32:05.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGroupAuthorizationRuleAttribute'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateGroupAuthorizationRuleAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'UpdateGroupDNSServiceRuleAttribute' => [ + 'summary' => 'Modifies the DNS authorization rules for an instance group.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11636,153 +9788,144 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotccg-g00epppbi9di9y****', - ], + 'schema' => ['description' => 'The ID of the cloud connector instance group.', 'type' => 'string', 'required' => true, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], ], [ - 'name' => 'IpMappingRuleDescription', + 'name' => 'DNSServiceRuleDescription', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'description', - ], + 'schema' => ['description' => 'The description of the DNS authorization rule.'."\n" + ."\n" + .'The length is 2 to 256 characters. It must start with an uppercase or lowercase English letter or a Chinese character. It cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'description', 'title' => ''], ], [ - 'name' => 'IpMappingRuleName', + 'name' => 'DNSServiceRuleName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'name', - ], + 'schema' => ['description' => 'The name of the DNS authorization rule.'."\n" + ."\n" + .'The length is 2 to 128 English or Chinese characters. It must start with an uppercase or lowercase English letter or a Chinese character. It can contain numbers, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'DestinationIp', + 'name' => 'DNSServiceRuleId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '192.168.10.8', - ], + 'schema' => ['description' => 'The ID of the DNS authorization rule.', 'type' => 'string', 'required' => true, 'example' => 'gar-ffnn1ewe2nmf3y****', 'title' => ''], ], [ - 'name' => 'MappingIp', + 'name' => 'Source', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '47.0.XX.XX', - ], + 'schema' => ['description' => 'The source IP address of the DNS authorization rule. This includes, but is not limited to, the following values:'."\n" + ."\n" + .'**100.100.2.136**, **100.100.2.137**, **100.100.2.138**, **114.114.114.114**, **8.8.8.8**, **8.8.4.4**, **223.5.5.5**, **223.6.6.6**, **221.5.88.88**, **116.116.116.116**, **221.228.15.26**, **61.139.2.69**, **218.6.200.139**, **119.29.29.29**, **218.2.2.2**, **208.67.220.220**, **208.67.222.222**, **218.4.4.4**.'."\n" + ."\n" + .'<props="china">'."\n" + ."\n" + .'If you need other DNS authorization rule IP addresses beyond these defaults, [submit a ticket](https://selfservice.console.aliyun.com/ticket/category/ga/today). Include the DNS authorization rule IP addresses you want to request in the ticket.'."\n" + ."\n" + .'</props>'."\n" + ."\n" + .'<props="intl">'."\n" + ."\n" + .'If you need other DNS authorization rule IP addresses beyond these defaults, [submit a ticket](https://workorder-intl.console.aliyun.com/?spm=5176.11182188.console-base-top.dworkorder.18ae4882n3v6ZW#/ticket/createIndex). Include the DNS authorization rule IP addresses you want to request in the ticket.'."\n" + ."\n" + .'</props>', 'type' => 'string', 'required' => false, 'example' => '100.100.2.136', 'title' => ''], + ], + [ + 'name' => 'ServiceType', + 'in' => 'query', + 'schema' => ['description' => 'The target type of the DNS authorization rule. Valid values:'."\n" + ."\n" + .'- **Normal**: The target type is a normal DNS type.'."\n" + ."\n" + .'- **DNSRedirect**: The target type is a DNS redirection type.', 'type' => 'string', 'required' => false, 'example' => 'Normal', 'title' => ''], + ], + [ + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => 'The destination IP address of the DNS authorization rule.'."\n" + ."\n" + .'> If the **ServiceType** parameter is set to **DNSRedirect**, this parameter is required.', 'type' => 'string', 'required' => false, 'example' => '192.168.0.2', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'A client token used to ensure the idempotence of the request.'."\n" + ."\n" + .'Generate a parameter value from your client. Ensure this value is unique across different requests. ClientToken only supports ASCII characters.'."\n" + ."\n" + .'> If you do not specify a value, the system automatically uses the **RequestId** of the API request as the **ClientToken** identifier. The **RequestId** for each API request might differ.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Checks whether this request would succeed. Valid values:'."\n" + ."\n" + .'- **true**: Send a check request. This does not modify the DNS authorization rule. The check items include required parameters, request format, and business restrictions. If the check fails, the system returns an error. If the check passes, the system returns the `DryRunOperation` error code.'."\n" + ."\n" + .'- **false** (default value): Send a normal request. If the check passes, the system returns an HTTP 2xx status code and directly modifies the rule.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID where the cloud connector instance group resides.'."\n" + ."\n" + .'Call the [ListRegions](~~313836~~) interface to get the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], - 'GroupIpMappingRuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'im-irrp3bzuu5nrbx****', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '77111A6A-56BA-59B2-8CAA-7CBF21648FB8', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', - 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', - ], - [ - 'errorCode' => 'ResourceAlreadyExist.AuthorizationRule', - 'errorMessage' => 'The specified resource of AuthorizationRule already exists.', - ], - [ - 'errorCode' => 'OperationDenied.DomainInHumanNetwork', - 'errorMessage' => 'The operation is not allowed because of domain or CIDR in human network.', - ], - [ - 'errorCode' => 'OperationDenied.CIDRMaskTooLarge', - 'errorMessage' => 'The operation is not allowed because of CIDR too large.', - ], - [ - 'errorCode' => 'IllegalParam.Destination', - 'errorMessage' => 'The param of Destination is illegal.', + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"77111A6A-56BA-59B2-8CAA-7CBF21648FB8\\"\\n}","type":"json"}]', + 'title' => 'Modify the DNS authorization rule of an instance group', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:36.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-02-15T11:56:00.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGroupDNSServiceRuleAttribute'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:UpdateGroupDNSServiceRuleAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"GroupIpMappingRuleId\\": \\"im-irrp3bzuu5nrbx****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateGroupIpMappingRuleResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n <GroupIpMappingRuleId>im-irrp3bzuu5nrbx****</GroupIpMappingRuleId>\\n</CreateGroupIpMappingRuleResponse>","errorExample":""}]', - 'title' => 'CreateGroupIpMappingRule', ], 'UpdateGroupIpMappingRule' => [ - 'summary' => '修改CloudConnector分组IpMapping属性', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Invoke the UpdateGroupIpMappingRule API to modify the IP redirection settings of an authorization rule for an instance group.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11794,156 +9937,118 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotccg-g00epppbi9di9y****', - ], + 'schema' => ['description' => 'The ID of the cloud connector instance group. ', 'type' => 'string', 'required' => true, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], ], [ 'name' => 'IpMappingRuleDescription', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'description', - ], + 'schema' => ['description' => 'The description of the authorization rule for IP redirection in the instance group.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length, start with a letter or Chinese character, and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'description', 'title' => ''], ], [ 'name' => 'IpMappingRuleName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'name', - ], + 'schema' => ['description' => 'The name of the authorization rule for IP redirection in the instance group.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length, start with a letter (uppercase or lowercase) or a Chinese character, and can contain digits, periods (.), underscores (_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''], ], [ 'name' => 'GroupIpMappingRuleId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'im-irrp3bzuu5nrbx****', - ], + 'schema' => ['description' => 'The ID of the authorization rule to be redirected.', 'type' => 'string', 'required' => true, 'example' => 'im-irrp3bzuu5nrbx****', 'title' => ''], ], [ 'name' => 'MappingIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '47.0.XX.XX', - ], + 'schema' => ['description' => 'The IP address that requires redirection. ', 'type' => 'string', 'required' => false, 'example' => '47.0.XX.XX', 'title' => ''], ], [ 'name' => 'DestinationIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.10.8', - ], + 'schema' => ['description' => 'The destination IP address to access.', 'type' => 'string', 'required' => false, 'example' => '192.168.10.8', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The client token used to ensure the idempotence of the request.'."\n" + ."\n" + .'Generate a unique value from your client for this parameter to guarantee uniqueness across different requests. ClientToken supports only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without modifying the IP redirection settings of the instance group authorization rule. The system checks whether required parameters are specified, whether the request format is valid, and whether business limits are met. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. If the check passes, an HTTP 2xx status code is returned and the operation is performed.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the instance group.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) API to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The ID of the cloud connector instance group.', 'type' => 'object', 'properties' => [ - 'IoTCloudConnectorGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotccg-g00epppbi9di9y****', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], - 'AuthorizationRuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ar-1234abcb8tmno0hdq****', - ], + 'IoTCloudConnectorGroupId' => ['description' => 'The ID of the cloud connector instance group.', 'type' => 'string', 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], + 'AuthorizationRuleId' => ['description' => 'The ID of the authorization rule.', 'type' => 'string', 'example' => 'ar-1234abcb8tmno0hdq****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'OperationDenied.NoFieldModify', - 'errorMessage' => 'The operation is not allowed because of no field modify.', - ], - [ - 'errorCode' => 'OperationDenied.CIDRMaskTooLarge', - 'errorMessage' => 'The operation is not allowed because of CIDR too large.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'OperationDenied.NoFieldModify', 'errorMessage' => 'The operation is not allowed because of no field modify.', 'description' => ''], + ['errorCode' => 'OperationDenied.CIDRMaskTooLarge', 'errorMessage' => 'The operation is not allowed because of CIDR too large.', 'description' => 'The error message returned because the length of the subnet mask of the CIDR block exceeds the upper limit.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"AuthorizationRuleId\\": \\"ar-1234abcb8tmno0hdq****\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateGroupIpMappingRuleResponse>\\n <IoTCloudConnectorGroupId>iotccg-g00epppbi9di9y****</IoTCloudConnectorGroupId>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n <AuthorizationRuleId>ar-1234abcb8tmno0hdq****</AuthorizationRuleId>\\n</UpdateGroupIpMappingRuleResponse>","errorExample":""}]', - 'title' => 'UpdateGroupIpMappingRule', - ], - 'ListGroupIpMappingRules' => [ - 'summary' => '显示分组IpMappingRule', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"AuthorizationRuleId\\": \\"ar-1234abcb8tmno0hdq****\\"\\n}","type":"json"}]', + 'title' => 'Modify the IP redirection settings of an authorization rule for an instance group', + 'changeSet' => [ + ['createdAt' => '2022-08-23T06:53:44.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGroupIpMappingRule'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateGroupIpMappingRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], ], + ], + 'UpdateIoTCloudConnectorAttribute' => [ + 'summary' => 'Update the cloud connector instance information.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11952,251 +10057,129 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ - 'name' => 'IoTCloudConnectorGroupId', + 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotccg-g00epppbi9di9y****', - ], + 'schema' => ['description' => 'The cloud connector instance ID.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'IpMappingRuleIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'im-irrp3bzuu5nrbx****', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], - ], - [ - 'name' => 'DestinationIps', + 'name' => 'IoTCloudConnectorName', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.10.8', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The name of the cloud connector instance.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length, start with an uppercase or lowercase letter or a Chinese character, and can contain digits, periods (.), underscores (_), or hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'IpMappingRuleStatuses', + 'name' => 'IoTCloudConnectorDescription', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Created', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The description of the cloud connector instance.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length, start with a letter or a Chinese character, and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'IpMappingRuleNames', + 'name' => 'WildcardDomainEnabled', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Name', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => 'Whether to enable the wildcard domain name feature. Valid values:'."\n" + .'- **true** (default): Enabled.'."\n" + .'- **false**: Disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ - 'name' => 'NextToken', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], + 'schema' => ['description' => 'The client token used to ensure the idempotence of the request.'."\n" + ."\n" + .'Generate a unique value for this parameter from your client to guarantee uniqueness across different requests. ClientToken supports only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'MaxResults', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '50', - 'minimum' => '1', - 'example' => '20', - 'default' => '10', - ], + 'schema' => ['description' => 'Whether to perform only a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without updating the instance information. The system checks whether required parameters are specified, whether the request format is valid, and whether business limits are met. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. After passing the checks, the instance information is updated directly.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the cloud connector instance.'."\n" + ."\n" + .'You can call the [DescribeRegions](~~36063~~) API to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'MappingIps', + 'name' => 'Mode', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '47.0.XX.XX', - ], - 'required' => false, - 'maxItems' => 20, - 'minItems' => 0, - ], + 'schema' => ['description' => 'The instance mode. Valid values:'."\n" + ."\n" + .'- **PassThrough**: Pass-through mode.'."\n" + .'- **VpcNat**: Private network NAT mode.', 'type' => 'string', 'required' => false, 'example' => 'PassThrough', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The list of returned information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'IpMappingRules' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'IoTCloudConnectorGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotccg-g00epppbi9di9y****', - ], - 'IpMappingRuleStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Created', - ], - 'MappingIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '47.0.XX.XX', - ], - 'DestinationIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.10.8', - ], - 'IpMappingRuleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'name', - ], - 'IpMappingRuleDescription' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'description', - ], - 'IpMappingRuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'im-irrp3bzuu5nrbx****', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], + 'ResourceId' => ['description' => 'The cloud connector instance ID.', 'type' => 'string', 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnectorGroup', - 'errorMessage' => 'The param of IoTCloudConnectorGroupId is illegal.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], + ['errorCode' => 'OperationDenied.NotAssociateVpc', 'errorMessage' => 'The operation is not allowed because of not associate vpc.', 'description' => ''], + ['errorCode' => 'OperationDenied.BasicInstanceNotSupportPassThrough', 'errorMessage' => 'The operation is not allowed because of basic instance not support.', 'description' => ''], + ['errorCode' => 'IllegalParam.Mode', 'errorMessage' => 'The param of Mode is illegal.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"TotalCount\\": 10,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 20,\\n \\"IpMappingRules\\": [\\n {\\n \\"IoTCloudConnectorGroupId\\": \\"iotccg-g00epppbi9di9y****\\",\\n \\"IpMappingRuleStatus\\": \\"Created\\",\\n \\"MappingIp\\": \\"47.0.XX.XX\\",\\n \\"DestinationIp\\": \\"192.168.10.8\\",\\n \\"IpMappingRuleName\\": \\"name\\",\\n \\"IpMappingRuleDescription\\": \\"description\\",\\n \\"IpMappingRuleId\\": \\"im-irrp3bzuu5nrbx****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListGroupIpMappingRulesResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n <TotalCount>10</TotalCount>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <MaxResults>20</MaxResults>\\n <IpMappingRules>\\n <IoTCloudConnectorGroupId>iotccg-g00epppbi9di9y****</IoTCloudConnectorGroupId>\\n <IpMappingRuleStatus>Created</IpMappingRuleStatus>\\n <MappingIp>47.0.XX.XX</MappingIp>\\n <DestinationIp>192.168.10.8</DestinationIp>\\n <IpMappingRuleName>name</IpMappingRuleName>\\n <IpMappingRuleDescription>description</IpMappingRuleDescription>\\n <IpMappingRuleId>im-irrp3bzuu5nrbx****</IpMappingRuleId>\\n </IpMappingRules>\\n</ListGroupIpMappingRulesResponse>","errorExample":""}]', - 'title' => 'ListGroupIpMappingRules', - ], - 'DeleteGroupIpMappingRule' => [ - 'summary' => '删除CloudConnector分组IpMapping', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"ResourceId\\": \\"iotcc-bp1odcab8tmno0hdq****\\"\\n}","type":"json"}]', + 'title' => 'Update Cloud Connector Instance Information', + 'changeSet' => [ + ['createdAt' => '2022-11-24T03:04:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-09-14T07:10:46.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-09-14T07:10:46.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2022-07-26T07:05:10.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateIoTCloudConnectorAttribute'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateIoTCloudConnectorAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'UpdateIoTCloudConnectorGroupAttribute' => [ + 'summary' => 'Modify the properties of a cloud connector group.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12205,105 +10188,107 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotccg-g00epppbi9di9y****', - ], + 'schema' => ['description' => 'The ID of the instance group.', 'type' => 'string', 'required' => true, 'example' => 'iotccg-g00epppbi9di9y****', 'title' => ''], ], [ - 'name' => 'GroupIpMappingRuleId', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'im-irrp3bzuu5nrbx****', - ], + 'schema' => ['description' => 'The name of the instance group to be modified.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length and start with an uppercase or lowercase English letter or a Chinese character. It can contain digits, periods (.), underscores (_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description of the instance group to be modified.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length. It must start with an uppercase or lowercase English letter or a Chinese character, and it cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'description', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The client token used to ensure the idempotence of the request.'."\n" + ."\n" + .'This value is generated by the client and must be unique across different requests. It can contain up to 64 ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without modifying the instance group properties. The system checks whether required parameters are specified, whether the request format is valid, and whether the request complies with business restrictions. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. If the check passes, an HTTP 2xx status code is returned and the modification is performed.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the instance group.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) API to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'QuotaExceeded.IoTCCGroupInstanceLimit', - 'errorMessage' => 'The quota of IoTCCGroupPerUser is exceeded', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnectorGroup', 'errorMessage' => 'The specified resource of IoTCloudConnectorGroup is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnectorGroup', 'errorMessage' => 'The param of IoTCloudConnectorGroupId is illegal.', 'description' => ''], + ['errorCode' => 'OperationDenied.CC5GInstanceNotSupport', 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteGroupIpMappingRuleResponse>\\n <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>\\n</DeleteGroupIpMappingRuleResponse>","errorExample":""}]', - 'title' => 'DeleteGroupIpMappingRule', - ], - 'ConfirmIoTCloudConnector' => [ - 'summary' => '被授权方进行授权IoTCloudConnector确认或者拒绝', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","type":"json"}]', + 'title' => 'Modify the properties of a cloud connector group', + 'changeSet' => [ + ['createdAt' => '2022-08-26T16:03:36.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2021-12-14T09:32:05.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateIoTCloudConnectorGroupAttribute'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateIoTCloudConnectorGroupAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], ], + ], + 'UpdateIpMappingRule' => [ + 'summary' => 'Invoke the UpdateIpMappingRule API to modify information about IP redirection for an authorization rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12315,115 +10300,125 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The instance ID of the cloud connector.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'IpMappingRuleId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The ID of the authorization rule to be redirected.', 'type' => 'string', 'required' => true, 'example' => 'im-irrp3bzuu5nrbx****', 'title' => ''], ], [ - 'name' => 'DryRun', + 'name' => 'DestinationIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The target IP address for redirection.', 'type' => 'string', 'required' => false, 'example' => '192.168.10.8', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'MappingIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The IP address to be redirected.', 'type' => 'string', 'required' => false, 'example' => '47.0.XX.XX', 'title' => ''], ], [ - 'name' => 'ConfirmStatus', + 'name' => 'IpMappingRuleName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Confirm', - ], + 'schema' => ['description' => 'The name of the authorization rule for which IP redirection is configured.'."\n" + ."\n" + .'The name must be 2 to 128 English or Chinese characters in length, start with an uppercase or lowercase English letter or a Chinese character, and can contain digits, periods (.), underscores (_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''], + ], + [ + 'name' => 'IpMappingRuleDescription', + 'in' => 'query', + 'schema' => ['description' => 'The description of the authorization rule for which IP redirection is configured.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length, start with a letter or a Chinese character, and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'description', 'title' => ''], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['description' => 'The client token used to ensure the idempotence of the request.'."\n" + ."\n" + .'Generate a unique value from your client for this parameter to guarantee uniqueness across different requests. ClientToken supports only ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the API request as the **ClientToken**. The **RequestId** may differ for each API request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], + ], + [ + 'name' => 'DryRun', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to perform a dry run of the request. Valid values:'."\n" + .'- **true**: Sends a dry run request without modifying the IP redirection information for the authorization rule. The system checks whether required parameters are specified, whether the request format is valid, and whether business limits are exceeded. If the check fails, an error is returned. If the check passes, the error code `DryRunOperation` is returned.'."\n" + .'- **false** (default): Sends a normal request. If the check passes, an HTTP 2xx status code is returned and the operation is performed.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the instance.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) API to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', - ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['errorCode' => 'OperationDenied.NoParamModify', 'errorMessage' => 'The operation is not allowed because of no param modified.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IoTCloudConnector', 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['errorCode' => 'QuotaExceeded.sourceCidrLimit', 'errorMessage' => 'The quota of SourceCidrsPerAuthorizationRule is exceeded', 'description' => ''], + ['errorCode' => 'QuotaExceeded.authorizationRuleInstanceLimit', 'errorMessage' => 'The quota of AuthorizationRulePerIotCC is exceeded', 'description' => ''], + ['errorCode' => 'IllegalParamFormat', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'IllegalParam', 'errorMessage' => 'The param is illegal.', 'description' => ''], + ['errorCode' => 'ResourceInConfiguring.IoTCloudConnector', 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.IpMapping', 'errorMessage' => 'The param of IpMapping is illegal.', 'description' => ''], + ['errorCode' => 'IllegalParam.Destination', 'errorMessage' => 'The param of Destination is illegal.', 'description' => 'The error message returned because the value of the Destination parameter is invalid.'], + ['errorCode' => 'OperationDenied.NotSupportModify', 'errorMessage' => 'The operation is not allowed because of this type not support modify.', 'description' => ''], + ['errorCode' => 'OperationDenied.CIDRMaskTooLarge', 'errorMessage' => 'The operation is not allowed because of CIDR too large.', 'description' => 'The error message returned because the length of the subnet mask of the CIDR block exceeds the upper limit.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"ResourceId\\": \\"iotcc-bp1odcab8tmno0hdq****\\"\\n}","errorExample":""},{"type":"xml","example":"<ConfirmIoTCloudConnectorResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n <ResourceId>iotcc-bp1odcab8tmno0hdq****</ResourceId>\\n</ConfirmIoTCloudConnectorResponse>","errorExample":""}]', - 'title' => 'ConfirmIoTCloudConnector', - ], - 'RevertIoTCloudConnector' => [ - 'summary' => '归还IoTCloudConnector', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","type":"json"}]', + 'title' => 'Modify information about IP redirection for an authorization rule', + 'changeSet' => [ + ['createdAt' => '2022-08-23T06:53:44.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateIpMappingRule'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateIpMappingRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'UpdateServiceAttribute' => [ + 'summary' => 'Update an application-based statistics service.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12435,105 +10430,106 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => ['description' => 'The unique ID that the system generates for the application-based statistics service.', 'type' => 'string', 'required' => true, 'example' => 'c910061f-****-44e6-b659-***c', 'title' => ''], + ], + [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The ID of the cloud connector instance.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], + ], + [ + 'name' => 'ServiceName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the application-based statistics service.'."\n" + ."\n" + .'The name must be 2 to 128 characters in length. It must start with a letter or Chinese character. It can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'service_name', 'title' => ''], + ], + [ + 'name' => 'ServiceDescription', + 'in' => 'query', + 'schema' => ['description' => 'The description of the application-based statistics service.'."\n" + ."\n" + .'The description must be 2 to 256 characters in length. It must start with a letter or Chinese character. It cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'service_description', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'A client token that ensures the idempotence of the request.'."\n" + ."\n" + .'Generate a unique value for this parameter on the client side. The value must be unique across requests and cannot exceed 64 ASCII characters.'."\n" + ."\n" + .'> If you do not specify this parameter, the system uses the **RequestId** of the API request as the **ClientToken**. Each API request has a different **RequestId**.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run. Valid values:'."\n" + ."\n" + .'- **true**: Performs a check only. Does not modify the service. Checks include required parameters, request format, and business limits. If the check fails, the system returns the corresponding error. If the check passes, the system returns the error code `DryRunOperation`.'."\n" + ."\n" + .'- **false** (default): Performs the operation. After passing the check, the system returns an HTTP 2xx status code and modifies the service.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID where the application-based statistics service is located.'."\n" + ."\n" + .'You can call the [ListRegions](~~313836~~) operation to query region IDs.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The response information.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '04F0F334-1335-436C-A1D7-6C044FE73368', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'IllegalParamFormat', - 'errorMessage' => 'The param is illegal.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\",\\n \\"ResourceId\\": \\"iotcc-bp1odcab8tmno0hdq****\\"\\n}","errorExample":""},{"type":"xml","example":"<RevertIoTCloudConnectorResponse>\\n <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>\\n <ResourceId>iotcc-bp1odcab8tmno0hdq****</ResourceId>\\n</RevertIoTCloudConnectorResponse>","errorExample":""}]', - 'title' => 'RevertIoTCloudConnector', - ], - 'DeleteAuthorizationRules' => [ - 'summary' => '批量删除AuthorizationRule', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"04F0F334-1335-436C-A1D7-6C044FE73368\\"\\n}","type":"json"}]', + 'title' => 'Modify the per-application statistics service', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceAttribute'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateServiceAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + ], + ], + 'UpdateServiceEntryAttribute' => [ + 'summary' => 'Updates an application entry in the service list to support application-specific statistics.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12542,158 +10538,1922 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREuisYFDH9T', - ], + 'abilityTreeNodes' => ['FEATUREuisYFDH9T'], ], 'parameters' => [ [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the service for application-specific statistics. The system generates this ID, and it is globally unique.', 'type' => 'string', 'required' => true, 'example' => 'c910061f-****-44e6-b659-***c', 'title' => ''], + ], + [ 'name' => 'IoTCloudConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'iotcc-bp1odcab8tmno0hdq****', - ], + 'schema' => ['description' => 'The ID of the Cloud Connector instance.', 'type' => 'string', 'required' => true, 'example' => 'iotcc-bp1odcab8tmno0hdq****', 'title' => ''], ], [ - 'name' => 'AuthorizationRuleIds', + 'name' => 'ServiceEntryId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ar-1234abcb8tmno0hdq****', - ], - 'required' => true, - 'maxItems' => 200, - ], + 'schema' => ['description' => 'The ID of the application entry.', 'type' => 'string', 'required' => true, 'example' => 'fwd-119smw5tkasdf****', 'title' => ''], + ], + [ + 'name' => 'ServiceEntryName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the application entry.'."\n" + ."\n" + .'The name must be 2 to 128 characters long. It must start with an uppercase or lowercase letter or a Chinese character, and can contain digits, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'entry_name', 'title' => ''], + ], + [ + 'name' => 'ServiceEntryDescription', + 'in' => 'query', + 'schema' => ['description' => 'The description of the application entry.'."\n" + ."\n" + .'The description must be 2 to 256 characters long. It must start with an uppercase or lowercase letter or a Chinese character, and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'entry_description', 'title' => ''], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The client token to ensure the idempotence of the request.'."\n" + ."\n" + .'A client-generated token that is unique for different requests. The token can be up to 64 ASCII characters long.'."\n" + ."\n" + .'> If you do not specify this parameter, the system uses the **RequestId** of the request as the **ClientToken**. The **RequestId** may be different for each request.', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to perform a dry run. Valid values:'."\n" + ."\n" + .'- **true**: Sends a check request without modifying the application entry. The system checks for required parameters, the request format, and service limits. If the request fails the check, an error is returned. If the request passes the check, the `DryRunOperation` error code is returned.'."\n" + ."\n" + .'- **false** (default): Sends a normal request. After the request passes the check, the system returns an HTTP 2xx status code and modifies the application entry.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region where the application entry is located.'."\n" + ."\n" + .'Call the [ListRegions](~~313836~~) operation to obtain the region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'The request ID.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CEF72CEB-54B6-4AE8-B225-F876FF7BA984', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'OperationDenied.IotCloudConnectorInGroup', - 'errorMessage' => 'The operation is not allowed because of IotCloudConnector In Group.', - ], - [ - 'errorCode' => 'Forbidden.RAM', - 'errorMessage' => 'Ram user does not have permission to perform this operation.', - ], - [ - 'errorCode' => 'ResourceInConfiguring.IoTCloudConnector', - 'errorMessage' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', - ], - [ - 'errorCode' => 'ResourceNotFound.AuthorizationRule', - 'errorMessage' => 'The param of AuthorizationRuleId is illegal.', - ], - [ - 'errorCode' => 'ResourceNotFound.IoTCloudConnector', - 'errorMessage' => 'The param of IoTCloudConnectorId is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.AuthoriztionRuleId', - 'errorMessage' => 'The param of AuthoriztionRuleId is illegal.', - ], - [ - 'errorCode' => 'OperationDenied.CC5GInstanceNotSupport', - 'errorMessage' => 'The operation is not allowed because of CC5G instance not support.', + ['errorCode' => 'Forbidden.RAM', 'errorMessage' => 'Ram user does not have permission to perform this operation.', 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","type":"json"}]', + 'title' => 'Modify an application entry in the per-application statistics list', + 'changeSet' => [ + ['createdAt' => '2021-11-18T06:52:02.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceEntryAttribute'], + ], + 'product' => ['code' => 'uis', 'title' => '云连接器'], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateServiceEntryAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CEF72CEB-54B6-4AE8-B225-F876FF7BA984\\"\\n}","type":"json"}]', ], ], 'endpoints' => [ + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'iotcc.cn-beijing.aliyuncs.com', 'endpoint' => 'iotcc.cn-beijing.aliyuncs.com', 'vpc' => 'iotcc-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'iotcc.cn-chengdu.aliyuncs.com', 'endpoint' => 'iotcc.cn-chengdu.aliyuncs.com', 'vpc' => 'iotcc-vpc.cn-chengdu.aliyuncs.com'], + ['regionId' => 'cn-guangzhou', 'regionName' => 'China (Guangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'iotcc.cn-guangzhou.aliyuncs.com', 'endpoint' => 'iotcc.cn-guangzhou.aliyuncs.com', 'vpc' => 'iotcc-vpc.cn-guangzhou.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'iotcc.cn-hangzhou.aliyuncs.com', 'endpoint' => 'iotcc.cn-hangzhou.aliyuncs.com', 'vpc' => 'iotcc-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'iotcc.cn-huhehaote.aliyuncs.com', 'endpoint' => 'iotcc.cn-huhehaote.aliyuncs.com', 'vpc' => 'iotcc-vpc.cn-huhehaote.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'iotcc.cn-qingdao.aliyuncs.com', 'endpoint' => 'iotcc.cn-qingdao.aliyuncs.com', 'vpc' => 'iotcc-vpc.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'iotcc.cn-shanghai.aliyuncs.com', 'endpoint' => 'iotcc.cn-shanghai.aliyuncs.com', 'vpc' => 'iotcc-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'iotcc.cn-shenzhen.aliyuncs.com', 'endpoint' => 'iotcc.cn-shenzhen.aliyuncs.com', 'vpc' => 'iotcc-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'iotcc.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'iotcc.cn-wulanchabu.aliyuncs.com', 'vpc' => 'iotcc-vpc.cn-wulanchabu.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'cardIdNotExist', 'message' => 'diagnose task iccid not exist', 'http_code' => 400, 'description' => ''], + ['code' => 'CardIPAndIccIdNotMatch', 'message' => 'card ip and iccid not match', 'http_code' => 400, 'description' => 'The card IP does not match the card ID.'], + ['code' => 'CardIPNotBind', 'message' => 'card ip not bind', 'http_code' => 400, 'description' => 'The card IP is not bound.'], + ['code' => 'CardIPNotExist', 'message' => 'card ip not exist', 'http_code' => 400, 'description' => 'The card IP does not exist.'], + ['code' => 'Conflict.Cidr', 'message' => 'The CIDR is in conflict.', 'http_code' => 400, 'description' => ''], + ['code' => 'Conflict.Param', 'message' => 'The parameter conflicts with an existing rule.', 'http_code' => 400, 'description' => 'The error message returned because the parameter conflicts with an existing rule.'], + ['code' => 'DomainAuthorizationRuleNotExist', 'message' => 'Domain authorization rule not exist.', 'http_code' => 400, 'description' => ''], + ['code' => 'DomainIpNotExistInSourceCciot', 'message' => 'Domain Ip mapping not exist in source cciot.', 'http_code' => 400, 'description' => ''], + ['code' => 'Forbidden.IPUsedInCIDR', 'message' => 'IP has been used in CIDR.', 'http_code' => 400, 'description' => 'The error message returned because the specified IP address in the CIDR block is already in use.'], + ['code' => 'Forbidden.RAM', 'message' => 'Ram user does not have permission to perform this operation.', 'http_code' => 400, 'description' => 'The error message returned because the RAM user does not have the permissions to perform the operation.'], + ['code' => 'IllegalParam', 'message' => 'The param is illegal.', 'http_code' => 400, 'description' => ''], + ['code' => 'IllegalParam.AsynchronousOperateId', 'message' => 'The param of AsynchronousOperateId is illegal.', 'http_code' => 400, 'description' => ''], + ['code' => 'IllegalParam.AuthoriztionRuleId', 'message' => 'The param of AuthoriztionRuleId is illegal.', 'http_code' => 400, 'description' => ''], + ['code' => 'IllegalParam.Cidrs', 'message' => 'The param of Cidrs is too many, only most 2 can be supported at a time.', 'http_code' => 400, 'description' => ''], + ['code' => 'IllegalParam.Cidrs', 'message' => 'The param of Cidrs is illegal.', 'http_code' => 400, 'description' => ''], + ['code' => 'IllegalParam.ConnectionPoolId', 'message' => 'The param of ConnectionPoolId is illegal.', 'http_code' => 400, 'description' => ''], + ['code' => 'IllegalParam.Destination', 'message' => 'The param of Destination is illegal.', 'http_code' => 400, 'description' => 'The error message returned because the value of the Destination parameter is invalid.'], + ['code' => 'IllegalParam.DomainIps', 'message' => 'IP is invalid.', 'http_code' => 400, 'description' => 'The IP address is invalid.'], + ['code' => 'IllegalParam.DomainIps', 'message' => 'The param of DomainIps is illegal.', 'http_code' => 400, 'description' => ''], + ['code' => 'IllegalParam.DurationMustBeLessThan2Hours', 'message' => 'The param of StartTime/EndTime is illegal.', 'http_code' => 400, 'description' => ''], + ['code' => 'IllegalParam.EndTimeMustBeGreaterThanStartTime', 'message' => 'The param of StartTime/EndTime is illegal.', 'http_code' => 400, 'description' => ''], + ['code' => 'IllegalParam.Ips.Empty', 'message' => 'The param of Ips is illegal, Ips is empty', 'http_code' => 400, 'description' => ''], + ['code' => 'IllegalParam.Mode', 'message' => 'The param of Mode is illegal.', 'http_code' => 400, 'description' => ''], + ['code' => 'IllegalParam.SourceAndDestinationIoTCloudConnector.APN', 'message' => 'The param of SourceIoTCloudConnectorId and DestinationIoTCloudConnectorId is illegal, SourceIoTCloudConnector and DestinationIoTCloudConnector not in a APN.', 'http_code' => 400, 'description' => 'The original and destination cloud connector instances are not in the same APN.'], + ['code' => 'IllegalParam.VpcId', 'message' => 'The param of Vpc is illegal.', 'http_code' => 400, 'description' => ''], + ['code' => 'IllegalParam.VSwitch', 'message' => 'The param of VSwitch is illegal.', 'http_code' => 400, 'description' => ''], + ['code' => 'IllegalParam.VSwitchSize', 'message' => 'The param of VSwitch size is illegal.', 'http_code' => 400, 'description' => ''], + ['code' => 'IllegalParamFormat', 'message' => 'The parameter format is illegal.', 'http_code' => 400, 'description' => 'The specified parameter format is invalid.'], + ['code' => 'IllegalParamFormat', 'message' => 'Invalid parameter value.', 'http_code' => 400, 'description' => ''], + ['code' => 'IllegalParamSize.Cidr', 'message' => 'The param size of Cidr is illegal, only support one.', 'http_code' => 400, 'description' => ''], + ['code' => 'IllegalParamSize.VSwitchList', 'message' => 'The param size of VSwitch is illegal', 'http_code' => 400, 'description' => 'Invalid vSwitch parameter length.'], + ['code' => 'IncorrectStatus.APNNotReady', 'message' => 'The status of APN is incorrect.', 'http_code' => 400, 'description' => ''], + ['code' => 'IncorrectStatus.IP', 'message' => 'The status of IP is incorrect.', 'http_code' => 400, 'description' => ''], + ['code' => 'MissingParam.IpParam', 'message' => 'The parameter of IP or IP path is missing.', 'http_code' => 400, 'description' => 'The error message returned because the IP or IP file path parameter does not exist.'], + ['code' => 'OperationDenied.AliUidNotSupport', 'message' => 'The operation is not allowed because of aliuid not support.', 'http_code' => 400, 'description' => ''], + ['code' => 'OperationDenied.ApnDisabledWildcardDomain', 'message' => 'The operation failed because APN gateway has not enabled wildcard domain.', 'http_code' => 400, 'description' => 'The wildcard domain feature is not enabled for the APN gateway.'], + ['code' => 'OperationDenied.ApnNotOpenWildcardDomain', 'message' => 'The operation failed because APN gateway has not enabled wildcard domain.', 'http_code' => 400, 'description' => 'The wildcard domain feature is not enabled for the APN gateway.'], + ['code' => 'OperationDenied.BasicInstanceNotSupportPassThrough', 'message' => 'The operation is not allowed because of basic instance not support.', 'http_code' => 400, 'description' => ''], + ['code' => 'OperationDenied.CC5GInstanceNotSupport', 'message' => 'The operation is not allowed because of CC5G instance not support.', 'http_code' => 400, 'description' => ''], + ['code' => 'OperationDenied.CIDRMaskTooLarge', 'message' => 'The operation is not allowed because of CIDR too large.', 'http_code' => 400, 'description' => 'The error message returned because the length of the subnet mask of the CIDR block exceeds the upper limit.'], + ['code' => 'OperationDenied.DomainFeatureDisabled', 'message' => 'The operation failed. The wildcard domain is not enabled.', 'http_code' => 400, 'description' => 'This operation fails because the wildcard domain name feature is not enabled.'], + ['code' => 'OperationDenied.DomainInHumanNetwork', 'message' => 'The operation is not allowed because of domain or CIDR in human network.', 'http_code' => 400, 'description' => ''], + ['code' => 'OperationDenied.GrantedInstanceNotSupport', 'message' => 'The operation is not allowed because of granted instance not support.', 'http_code' => 400, 'description' => ''], + ['code' => 'OperationDenied.IotCloudConnectorInGroup', 'message' => 'The operation is not allowed because of IotCloudConnector In Group.', 'http_code' => 400, 'description' => ''], + ['code' => 'OperationDenied.IoTCloudConnectorServiceOpened', 'message' => 'The operation is not allowed because the IoTCC service has been activated.', 'http_code' => 400, 'description' => 'The IoTCC service has been activated.'], + ['code' => 'OperationDenied.NoFieldModify', 'message' => 'The operation is not allowed because of no field modify.', 'http_code' => 400, 'description' => ''], + ['code' => 'OperationDenied.NoParamModify', 'message' => 'No parameter is modified. The operation is not allowed.', 'http_code' => 400, 'description' => 'This operation is not allowed because no parameter is modified.'], + ['code' => 'OperationDenied.NotAssociateVpc', 'message' => 'The operation is not allowed because of not associate vpc.', 'http_code' => 400, 'description' => ''], + ['code' => 'OperationDenied.NotOpenIoTCloudConnectorService', 'message' => 'The operation is not allowed because the IoTCC service is not activated.', 'http_code' => 400, 'description' => 'Instances cannot be created because the IoTCC service is not activated.'], + ['code' => 'OperationDenied.NotSupportModify', 'message' => 'The operation is not allowed because of this type not support modify.', 'http_code' => 400, 'description' => ''], + ['code' => 'OperationDenied.OneVpcOnlySupportOneSpecIoTCC', 'message' => 'The operation is not allowed because of one vpc create different spec IoTCC not support.', 'http_code' => 400, 'description' => 'A VPC does not support different types of CC instances.'], + ['code' => 'OperationDenied.UserVpcRouteAlreadyPublished', 'message' => 'The operation is not allowed because of user vpc route already published.', 'http_code' => 400, 'description' => ''], + ['code' => 'OperationDenied.VpcStatusNotSupport', 'message' => 'The operation is not allowed because of vpc status not support.', 'http_code' => 400, 'description' => ''], + ['code' => 'QuotaExceeded.authorizationRuleInstanceLimit', 'message' => 'The quota of AuthorizationRulePerIotCC is exceeded.', 'http_code' => 400, 'description' => 'The number of authorization rules that you can configure for a cloud connector exceeds the limit.'], + ['code' => 'QuotaExceeded.AuthorizationRulePerIotCC', 'message' => 'The quota of AuthorizationRulePerIotCC is exceeded', 'http_code' => 400, 'description' => ''], + ['code' => 'QuotaExceeded.CIDRLimit', 'message' => 'The quota of cidr_limit is exceeded.', 'http_code' => 400, 'description' => ''], + ['code' => 'QuotaExceeded.ConnectionPoolPerIoTCC', 'message' => 'The quota of ConnectionPoolPerIoTCC is exceeded', 'http_code' => 400, 'description' => ''], + ['code' => 'QuotaExceeded.IoTCCGroupInstanceLimit', 'message' => 'The quota of IoTCCGroupPerUser is exceeded', 'http_code' => 400, 'description' => ''], + ['code' => 'QuotaExceeded.IoTCCGroupInstanceLimit', 'message' => 'The quota of IoTCC Group Per User is exceeded', 'http_code' => 400, 'description' => ''], + ['code' => 'QuotaExceeded.iotccInstanceLimit', 'message' => 'The quota of IoTCCPerUser is exceeded.', 'http_code' => 400, 'description' => 'The maximum value of IoTCCPerUser is exceeded.'], + ['code' => 'QuotaExceeded.IoTCCPerUser', 'message' => 'The quota of IoTCCPerUser is exceeded', 'http_code' => 400, 'description' => ''], + ['code' => 'QuotaExceeded.sourceCidrLimit', 'message' => 'The quota of SourceCidrsPerAuthorizationRule is exceeded', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceAlreadyAssociated.CloudConnector', 'message' => 'The specified resource of CloudConnector is already associated.', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceAlreadyAssociated.VpcId', 'message' => 'The specified resource of VpcId already associated', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceAlreadyExist.AuthorizationRule', 'message' => 'The specified resource of AuthorizationRule already exists.', 'http_code' => 400, 'description' => 'The error message returned because the rule already exists.'], + ['code' => 'ResourceInConfiguring.APN', 'message' => 'The specified resource of apn is being configured, please try again later.', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceInConfiguring.ConnectionPool', 'message' => 'The specified resource of ConnectionPool is being configured, please try again later.', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceInConfiguring.DestinationIoTCloudConnector', 'message' => 'The specified resource of Destination IoTCloudConnector is configuring, please try again later.', 'http_code' => 400, 'description' => 'The destination cloud connector instance is being configured. Try again later.'], + ['code' => 'ResourceInConfiguring.IoTCloudConnector', 'message' => 'The specified resource of IoTCloudConnector is configuring, please try again later.', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceInConfiguring.SourceIoTCloudConnector', 'message' => 'The specified resource of Source IoTCloudConnector is configuring, please try again later.', 'http_code' => 400, 'description' => 'The original cloud connector instance is being configured. Try again later.'], + ['code' => 'ResourceInCreating.IoTCloudConnector', 'message' => 'The specified resource of IoTCloudConnector is being created. Please try again later.', 'http_code' => 400, 'description' => 'Creating the instance. Please try again later.'], + ['code' => 'ResourceInUse.IoTCloudConnector', 'message' => 'The specified resource of IoTCC is in use.', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceNotAssociated.VpcId', 'message' => 'The specified resource of VpcId is not associated.', 'http_code' => 400, 'description' => 'The error message returned because the VPC of the user does not exist.'], + ['code' => 'ResourceNotEnough.APN', 'message' => 'The specified resource of APN is not enough.', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceNotEnough.CIDRNotHaveEnoughIp', 'message' => 'The specified resource of IP in CIDR is not enough.', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceNotFound.AuthorizationRule', 'message' => 'The specified resource of AuthorizationRule is not found.', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceNotFound.AuthorizationRule', 'message' => 'The param of AuthorizationRuleId is illegal.', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceNotFound.ConnectionPool', 'message' => 'The specified resource of connection pool is not found.', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceNotFound.ConnectionPool', 'message' => 'The param of ConnectionPoolId is illegal.', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceNotFound.DestinationIoTCloudConnector', 'message' => 'The param of DestinationIoTCloudConnectorId is illegal.', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceNotFound.DestinationIoTCloudConnector.ConnectionPool', 'message' => 'The param of DestinationIoTCloudConnectorId is illegal, not exist ConnectionPool in Source IoTCloudConnector.', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceNotFound.IoTCloudConnector', 'message' => 'The param of IoTCloudConnectorId is illegal.', 'http_code' => 400, 'description' => 'The error message returned because the value of the IoTCloudConnectorId parameter is invalid.'], + ['code' => 'ResourceNotFound.Ip', 'message' => 'Ips:%s', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceNotFound.IpMapping', 'message' => 'The param of IpMapping is illegal.', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceNotFound.SourceAndDestinationIoTCloudConnector', 'message' => 'The param of SourceIoTCloudConnectorId and DestinationIoTCloudConnectorId is illegal.', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceNotFound.SourceIoTCloudConnector', 'message' => 'The param of SourceIoTCloudConnectorId is illegal.', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceNotFound.SourceIoTCloudConnector.ConnectionPool', 'message' => 'The param of SourceIoTCloudConnectorId is illegal, not exist ConnectionPool in Source IoTCloudConnector.', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceNotFound.UploadFile', 'message' => 'The uploaded IP parameter file is not found.', 'http_code' => 400, 'description' => 'The error message returned because the uploaded IP parameter file is not found.'], + ['code' => 'ResourceNotFound.UploadFile', 'message' => 'The specified resource of uploaded ip file is not found.', 'http_code' => 400, 'description' => ''], + ['code' => 'ResourceNotSupport.CidrContainedIp', 'message' => 'The specified resource of Source IoTCloudConnector is not support.', 'http_code' => 400, 'description' => ''], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'ListIoTCoudConnectorBackhaulRoute'], + ], + 'createdAt' => '2024-11-19T07:42:06.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'AssociateVSwitchWithIoTCloudConnector'], + ], + 'createdAt' => '2023-05-19T02:45:56.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateIoTCloudConnector'], + ], + 'createdAt' => '2023-04-23T12:16:33.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListAuthorizationRules'], + ], + 'createdAt' => '2023-03-24T08:25:21.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateIoTCloudConnector'], + ], + 'createdAt' => '2023-03-24T08:22:59.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateAuthorizationRule'], + ['description' => 'Error codes changed', 'api' => 'CreateAuthorizationRules'], + ], + 'createdAt' => '2023-03-24T08:19:58.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed, Response parameters changed', 'api' => 'AssociateIpWithConnectionPool'], + ], + 'createdAt' => '2023-01-05T09:15:20.000Z', + 'description' => '增加错误码', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'UpdateIoTCloudConnectorAttribute'], + ], + 'createdAt' => '2022-11-24T03:05:41.000Z', + 'description' => '错误码更新', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateIoTCloudConnector'], + ], + 'createdAt' => '2022-11-16T08:45:21.000Z', + 'description' => '下线cc创建接口泛域名开启关闭字段', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateAuthorizationRule'], + ['description' => 'Error codes changed', 'api' => 'UpdateAuthorizationRuleAttribute'], + ], + 'createdAt' => '2022-10-17T02:12:05.000Z', + 'description' => '增加错误码', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateGroupAuthorizationRule'], + ['description' => 'Error codes changed', 'api' => 'UpdateGroupAuthorizationRuleAttribute'], + ], + 'createdAt' => '2022-10-17T02:12:05.000Z', + 'description' => '增加错误码', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'AssociateVSwitchWithIoTCloudConnector'], + ['description' => 'Error codes changed', 'api' => 'AssociateVSwitchWithIoTCloudConnector'], + ], + 'createdAt' => '2022-09-16T07:35:20.000Z', + 'description' => '增加错误码', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'UpdateIoTCloudConnectorAttribute'], + ['description' => 'Error codes changed', 'api' => 'UpdateIoTCloudConnectorAttribute'], + ], + 'createdAt' => '2022-09-14T07:10:58.000Z', + 'description' => '增加错误码', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'ListIoTCloudConnectors'], + ], + 'createdAt' => '2022-09-07T17:02:02.000Z', + 'description' => '增加错误码', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListIoTCloudConnectorGroups'], + ], + 'createdAt' => '2022-09-02T08:28:55.000Z', + 'description' => '增加字段', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'CreateIpMappingRule'], + ], + 'createdAt' => '2022-08-29T07:23:34.000Z', + 'description' => 'ipmapping发布', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'UpdateGroupAuthorizationRuleAttribute'], + ], + 'createdAt' => '2022-08-27T16:04:02.000Z', + 'description' => '新增错误吗', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListIoTCloudConnectors'], + ], + 'createdAt' => '2022-08-26T16:07:17.000Z', + 'description' => 'cc过户', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'AddCidrToConnectionPool'], + ['description' => 'Error codes changed', 'api' => 'AddIoTCloudConnectorToGroup'], + ['description' => 'Error codes changed', 'api' => 'AssociateIpWithConnectionPool'], + ['description' => 'OpenAPI offline', 'api' => 'ConfirmIoTCloudConnector'], + ['description' => 'Error codes changed', 'api' => 'CreateAuthorizationRule'], + ['description' => 'Error codes changed', 'api' => 'CreateAuthorizationRules'], + ['description' => 'Error codes changed', 'api' => 'CreateConnectionPool'], + ['description' => 'Error codes changed', 'api' => 'CreateDNSServiceRule'], + ['description' => 'Error codes changed', 'api' => 'CreateGroupAuthorizationRule'], + ['description' => 'Error codes changed', 'api' => 'CreateGroupDNSServiceRule'], + ], + 'createdAt' => '2022-08-26T16:04:13.000Z', + 'description' => 'cc过户', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreateGroupIpMappingRule'], + ['description' => 'Request parameters changed', 'api' => 'ListGroupIpMappingRules'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateGroupIpMappingRule'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateIpMappingRule'], + ], + 'createdAt' => '2022-08-23T06:53:59.000Z', + 'description' => 'IpMapping接口发布', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DeleteGroupIpMappingRule'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteIpMappingRule'], + ], + 'createdAt' => '2022-08-22T09:44:48.000Z', + 'description' => 'IpMapping相关接口新发布', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'ListIpMappingRules'], + ], + 'createdAt' => '2022-08-20T01:37:11.000Z', + 'description' => 'ListIpMappingRule', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreateIpMappingRule'], + ], + 'createdAt' => '2022-08-19T03:29:34.000Z', + 'description' => 'IpMapping功能发布', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListAuthorizationRules'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListGroupAuthorizationRules'], + ], + 'createdAt' => '2022-08-18T12:30:54.000Z', + 'description' => '支持端口级别白名单规则', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListIoTCloudConnectors'], + ], + 'createdAt' => '2022-08-10T10:09:51.000Z', + 'description' => '增加服务类型', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateGroupAuthorizationRule'], + ], + 'createdAt' => '2022-08-05T08:40:50.000Z', + 'description' => '新增错误吗', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListAuthorizationRules'], + ], + 'createdAt' => '2022-08-04T08:06:07.000Z', + 'description' => '变更', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreateAuthorizationRules'], + ], + 'createdAt' => '2022-08-02T07:48:53.000Z', + 'description' => '批量创建ar', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateIoTCloudConnectorAttribute'], + ], + 'createdAt' => '2022-07-26T07:05:41.000Z', + 'description' => '源IP保持', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListIoTCloudConnectorEIPs'], + ], + 'createdAt' => '2022-06-21T08:03:53.000Z', + 'description' => '字段更新', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListIoTCloudConnectorEIPs'], + ], + 'createdAt' => '2022-06-21T07:43:19.000Z', + 'description' => '字段属性修改', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListIoTCloudConnectorEIPs'], + ], + 'createdAt' => '2022-06-21T07:38:39.000Z', + 'description' => '返回值修改', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListAPNs'], + ['description' => 'OpenAPI offline', 'api' => 'ListIoTCloudConnectorEIPs'], + ], + 'createdAt' => '2022-06-20T09:09:49.000Z', + 'description' => '基础版', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateGroupAuthorizationRule'], + ['description' => 'Request parameters changed', 'api' => 'CreateIoTCloudConnectorGroup'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListGroupAuthorizationRules'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListIoTCloudConnectorGroups'], + ], + 'createdAt' => '2022-06-13T11:45:20.000Z', + 'description' => 'group新增type字段', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListIoTCloudConnectors'], + ], + 'createdAt' => '2022-06-13T09:41:53.000Z', + 'description' => '添加ListCC的Type字段', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'ListConnectionPoolAllIps'], + ], + 'createdAt' => '2022-06-08T06:27:48.000Z', + 'description' => '增加错误码', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateAuthorizationRule'], + ['description' => 'Error codes changed', 'api' => 'CreateGroupAuthorizationRule'], + ], + 'createdAt' => '2022-06-07T11:37:08.000Z', + 'description' => '增加错误码', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateGroupAuthorizationRule'], + ], + 'createdAt' => '2022-05-23T04:51:53.000Z', + 'description' => '增加错误码', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'AddCidrToConnectionPool'], + ], + 'createdAt' => '2022-05-10T11:40:23.000Z', + 'description' => '错误码', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateIoTCloudConnectorBackhaulRoute'], + ], + 'createdAt' => '2022-05-10T11:39:17.000Z', + 'description' => '增加错误码', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateIoTCloudConnectorBackhaulRoute'], + ['description' => 'Request parameters changed', 'api' => 'ListIoTCoudConnectorBackhaulRoute'], + ], + 'createdAt' => '2022-05-07T02:01:03.000Z', + 'description' => '发布新接口', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreateIoTCloudConnectorBackhaulRoute'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteIoTCloudConnetorBackhaulRoute'], + ['description' => 'Response parameters changed', 'api' => 'ListIoTCloudConnectors'], + ['description' => 'OpenAPI offline', 'api' => 'ListIoTCoudConnectorBackhaulRoute'], + ], + 'createdAt' => '2022-05-06T12:58:12.000Z', + 'description' => '新发布接口', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'UpdateGroupAuthorizationRuleAttribute'], + ], + 'createdAt' => '2022-04-13T07:20:44.000Z', + 'description' => '增加错误码', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListIoTCloudConnectorAccessSessionLogs'], + ], + 'createdAt' => '2022-04-11T03:36:23.000Z', + 'description' => '变更一下时间字段,且时间必填', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'ListIoTCloudConnectorAccessSessionLogs'], + ], + 'createdAt' => '2022-04-11T03:35:18.000Z', + 'description' => '增加错误码', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'AssociateVSwitchWithIoTCloudConnector'], + ['description' => 'Error codes changed', 'api' => 'UpdateAuthorizationRuleAttribute'], + ], + 'createdAt' => '2022-03-08T07:55:10.000Z', + 'description' => '增加错误码', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'AddCidrToConnectionPool'], + ['description' => 'Error codes changed', 'api' => 'CreateIoTCloudConnector'], + ], + 'createdAt' => '2022-02-25T07:55:26.000Z', + 'description' => '增加错误码', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateGroupDNSServiceRule'], + ], + 'createdAt' => '2022-02-22T11:32:48.000Z', + 'description' => '增加错误码', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'ListDiagnoseInfoForSingleCard'], + ['description' => 'Error codes changed', 'api' => 'SubmitDiagnoseTaskForSingleCard'], + ], + 'createdAt' => '2022-02-21T08:46:30.000Z', + 'description' => '增加错误码返回', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListAuthorizationRules'], + ], + 'createdAt' => '2022-02-18T03:00:48.000Z', + 'description' => '添加规则类型查询和展示', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateDNSServiceRule'], + ['description' => 'Request parameters changed', 'api' => 'UpdateDNSServiceRuleAttribute'], + ], + 'createdAt' => '2022-02-17T07:30:36.000Z', + 'description' => '描述和名称字段变更', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateDNSServiceRule'], + ['description' => 'Request parameters changed', 'api' => 'UpdateDNSServiceRuleAttribute'], + ], + 'createdAt' => '2022-02-17T07:30:09.000Z', + 'description' => '名称和描述字段名称调整', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreateDNSServiceRule'], + ['description' => 'OpenAPI offline', 'api' => 'CreateGroupDNSServiceRule'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteDNSServiceRule'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteGroupDNSServiceRule'], + ['description' => 'OpenAPI offline', 'api' => 'ListDNSServiceRules'], + ['description' => 'OpenAPI offline', 'api' => 'ListGroupDNSServiceRules'], + ['description' => 'OpenAPI offline', 'api' => 'MoveAuthorizationRuleToDNSService'], + ['description' => 'OpenAPI offline', 'api' => 'MoveGroupAuthorizationRuleToDNSService'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateDNSServiceRuleAttribute'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateGroupDNSServiceRuleAttribute'], + ], + 'createdAt' => '2022-02-15T11:56:48.000Z', + 'description' => 'DNS服务/DNS重定向功能', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListDiagnoseInfoForSingleCard'], + ], + 'createdAt' => '2022-02-15T03:26:57.000Z', + 'description' => '修改字段名', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetDiagnoseResultForSingleCard'], + ], + 'createdAt' => '2022-02-15T03:26:17.000Z', + 'description' => '修改字段名', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'AddCidrToConnectionPool'], + ['description' => 'Error codes changed', 'api' => 'CreateConnectionPool'], + ], + 'createdAt' => '2022-01-20T05:15:32.000Z', + 'description' => '增加错误码', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateConnectionPool'], + ], + 'createdAt' => '2022-01-12T08:50:06.000Z', + 'description' => '增加错误码', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'AddIoTCloudConnectorToGroup'], + ], + 'createdAt' => '2021-12-28T04:34:20.000Z', + 'description' => '增加错误码', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListIoTCloudConnectors'], + ], + 'createdAt' => '2021-12-21T16:07:14.000Z', + 'description' => 'cc查询接口新增group id过滤条件', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'DissociateIpFromConnectionPool'], + ], + 'createdAt' => '2021-12-21T10:12:16.000Z', + 'description' => '增加错误码', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListConnectionPoolAllIps'], + ['description' => 'Response parameters changed', 'api' => 'ListIoTCloudConnectorGroups'], + ], + 'createdAt' => '2021-12-21T08:49:05.000Z', + 'description' => 'group的cc信息增加isp/apnall ips返回cout是所有ip的总数(包括cidr打散的)', + ], [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'iotcc.cn-chengdu.aliyuncs.com', + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateConnectionPool'], + ], + 'createdAt' => '2021-12-21T07:37:59.000Z', + 'description' => '增加错误码', ], [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'iotcc.cn-qingdao.aliyuncs.com', + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'DeleteAuthorizationRule'], + ['description' => 'Error codes changed', 'api' => 'DeleteIoTCloudConnector'], + ], + 'createdAt' => '2021-12-20T08:55:48.000Z', + 'description' => '增加错误码', ], [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'iotcc.cn-beijing.aliyuncs.com', + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'AddCidrToConnectionPool'], + ], + 'createdAt' => '2021-12-20T08:36:10.000Z', + 'description' => '增加错误码', ], [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'iotcc.cn-huhehaote.aliyuncs.com', + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListIoTCloudConnectors'], + ], + 'createdAt' => '2021-12-20T07:13:27.000Z', + 'description' => '增加cc分组筛选功能', ], [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'iotcc.cn-wulanchabu.aliyuncs.com', + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'AddCidrToConnectionPool'], + ], + 'createdAt' => '2021-12-16T16:16:27.000Z', + 'description' => '新增给地址池增量加网段功能', ], [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'iotcc.cn-hangzhou.aliyuncs.com', + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'ListConnectionPoolAllIps'], + ], + 'createdAt' => '2021-12-16T11:28:29.000Z', + 'description' => '动态IP', ], [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'iotcc.cn-shanghai.aliyuncs.com', + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'ListGroupAuthorizationRules'], + ['description' => 'Request parameters changed', 'api' => 'UpdateGroupAuthorizationRuleAttribute'], + ], + 'createdAt' => '2021-12-16T05:14:33.000Z', + 'description' => '分组规则更新和查询接口发布', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateGroupAuthorizationRule'], + ['description' => 'Request parameters changed', 'api' => 'UpdateGroupAuthorizationRuleAttribute'], + ], + 'createdAt' => '2021-12-15T03:36:12.000Z', + 'description' => 'sourcecidrs拼写错误', ], [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'iotcc.cn-shenzhen.aliyuncs.com', + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateGroupAuthorizationRule'], + ], + 'createdAt' => '2021-12-14T12:19:46.000Z', + 'description' => 'group ar增加policy字段', ], [ - 'regionId' => 'cn-guangzhou', - 'endpoint' => 'iotcc.cn-guangzhou.aliyuncs.com', + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'AddIoTCloudConnectorToGroup'], + ['description' => 'OpenAPI offline', 'api' => 'CreateGroupAuthorizationRule'], + ['description' => 'OpenAPI offline', 'api' => 'CreateIoTCloudConnectorGroup'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteGroupAuthorizationRule'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteIoTCloudConnectorGroup'], + ['description' => 'OpenAPI offline', 'api' => 'ListIoTCloudConnectorGroups'], + ['description' => 'OpenAPI offline', 'api' => 'RemoveIoTCloudConnectorFromGroup'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateGroupAuthorizationRuleAttribute'], + ['description' => 'OpenAPI offline', 'api' => 'UpdateIoTCloudConnectorGroupAttribute'], + ], + 'createdAt' => '2021-12-14T09:32:44.000Z', + 'description' => '规则分组功能', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'AssociateIpWithConnectionPool'], + ['description' => 'Error codes changed', 'api' => 'AssociateVSwitchWithIoTCloudConnector'], + ['description' => 'Error codes changed', 'api' => 'CreateAuthorizationRule'], + ['description' => 'Error codes changed', 'api' => 'CreateConnectionPool'], + ['description' => 'Error codes changed', 'api' => 'CreateIoTCloudConnector'], + ['description' => 'Error codes changed', 'api' => 'CreateService'], + ['description' => 'Error codes changed', 'api' => 'CreateServiceEntry'], + ['description' => 'Error codes changed', 'api' => 'DeleteAuthorizationRule'], + ['description' => 'Error codes changed', 'api' => 'DeleteConnectionPool'], + ['description' => 'Error codes changed', 'api' => 'DeleteIoTCloudConnector'], + ], + 'createdAt' => '2021-11-18T06:53:45.000Z', + 'description' => '增加RAM错误码信息', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListAPNs'], + ], + 'createdAt' => '2021-11-18T05:36:27.000Z', + 'description' => 'ListAPN增加ISP字段', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'UpdateAuthorizationRuleAttribute'], + ], + 'createdAt' => '2021-10-22T14:32:21.000Z', + 'description' => '修改白名单接口新增错误码', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListAuthorizationRules'], + ], + 'createdAt' => '2021-09-22T10:09:43.000Z', + 'description' => '白名单支持domain过滤', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'AssociateIpWithConnectionPool'], + ['description' => 'Request parameters changed', 'api' => 'DissociateIpFromConnectionPool'], + ], + 'createdAt' => '2021-09-09T10:07:50.000Z', + 'description' => 'ip限定到1000个', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'AssociateIpWithConnectionPool'], + ['description' => 'Request parameters changed', 'api' => 'DissociateIpFromConnectionPool'], + ], + 'createdAt' => '2021-09-09T09:51:48.000Z', + 'description' => 'ip变更成2000', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed, Request parameters changed', 'api' => 'AssociateIpWithConnectionPool'], + ['description' => 'Error codes changed, Request parameters changed', 'api' => 'DissociateIpFromConnectionPool'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListIoTCloudConnectors'], + ], + 'createdAt' => '2021-09-07T13:13:07.000Z', + 'description' => '绑定解绑支持文件参数', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'GrantVirtualBorderRouter'], + ], + 'createdAt' => '2021-08-06T04:03:43.000Z', + 'description' => '新增一个授权vbr的接口,授权后端cciotgw网关能够绑定这个专线vbr', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIpMappingRules'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteIoTCloudConnectorGroup'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveIoTCloudConnectorFromGroup'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteIoTCloudConnetorBackhaulRoute'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GrantVirtualBorderRouter'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDNSServiceRule'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'OpenIoTCloudConnectorService'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDNSServiceRuleAttribute'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AssociateVSwitchWithIoTCloudConnector'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAPNs'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateConnectionPoolAttribute'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableIoTCloudConnectorAccessLog'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListConnectionPoolAllIps'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateConnectionPool'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetConnectionPoolIpOperationResult'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateIoTCloudConnectorAttribute'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RevertIoTCloudConnector'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGroupDNSServiceRule'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGroupAuthorizationRule'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIoTCloudConnectorEIPs'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGroupAuthorizationRuleAttribute'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteIoTCloudConnector'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIoTCoudConnectorBackhaulRoute'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'MoveAuthorizationRuleToDNSService'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIoTCloudConnectorAccessLog'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAuthorizationRule'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AssociateIpWithConnectionPool'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteConnectionPool'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGroupAuthorizationRule'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAuthorizationRules'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableIoTCloudConnectorAccessLog'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceEntries'], + ['threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetStsInfoAndOssPath'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateService'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIoTCloudConnectors'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteIpMappingRule'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAuthorizationRuleAttribute'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGroupIpMappingRule'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfirmIoTCloudConnector'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAuthorizationRules'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteGroupDNSServiceRule'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteService'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDNSServiceRule'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddCidrToConnectionPool'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGroupAuthorizationRules'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceEntry'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceEntryAttribute'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateGroupIpMappingRule'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateIoTCloudConnectorGroupAttribute'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAuthorizationRules'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceAttribute'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIoTCloudConnectorBackhaulRoute'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListService'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIoTCloudConnectorGroups'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGroupDNSServiceRuleAttribute'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateIpMappingRule'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListConnectionPools'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDiagnoseInfoForSingleCard'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAuthorizationRule'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDNSServiceRules'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRegions'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitDiagnoseTaskForSingleCard'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDiagnoseResultForSingleCard'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGroupDNSServiceRules'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIpMappingRule'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'MoveGroupAuthorizationRuleToDNSService'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListConnectionPoolIps'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIoTCloudConnectorAvailableZones'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DissociateVSwitchFromIoTCloudConnector'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateGroupIpMappingRule'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIoTCloudConnectorGroup'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIoTCloudConnector'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DissociateIpFromConnectionPool'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListGroupIpMappingRules'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceEntry'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddIoTCloudConnectorToGroup'], + ], + 'product' => ['code' => 'uis', 'title' => 'IoTCC'], + ], + 'ram' => [ + 'productCode' => 'UIS', + 'productName' => 'cloud connector', + 'ramCodes' => ['fivegcc', 'iotcc'], + 'ramLevel' => 'RESOURCE', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'EnableIoTCloudConnectorAccessLog', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:EnableIoTCloudConnectorAccessLog', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'MoveGroupAuthorizationRuleToDNSService', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:MoveGroupAuthorizationRuleToDNSService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateConnectionPoolAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateConnectionPoolAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'ListDiagnoseInfoForSingleCard', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListDiagnoseInfoForSingleCard', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'CreateDNSServiceRule', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateDNSServiceRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'GetIoTCloudConnectorAccessLog', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:GetIoTCloudConnectorAccessLog', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateGroupDNSServiceRuleAttribute', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:UpdateGroupDNSServiceRuleAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'SubmitDiagnoseTaskForSingleCard', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:SubmitDiagnoseTaskForSingleCard', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'AssociateVSwitchWithIoTCloudConnector', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:AssociateVSwitchWithIoTCloudConnector', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'VSwitch', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}'], + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'VPC', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}'], + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateGroupIpMappingRule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateGroupIpMappingRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'CreateGroupDNSServiceRule', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateGroupDNSServiceRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'AddCidrToConnectionPool', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:AddCidrToConnectionPool', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteService', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'CreateService', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteServiceEntry', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteServiceEntry', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateDNSServiceRuleAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateDNSServiceRuleAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateIoTCloudConnectorAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateIoTCloudConnectorAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'CreateAuthorizationRules', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateAuthorizationRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'ListAPNs', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iotcc:ListAPNs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'MoveAuthorizationRuleToDNSService', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:MoveAuthorizationRuleToDNSService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'DisableIoTCloudConnectorAccessLog', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:DisableIoTCloudConnectorAccessLog', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'ListIoTCoudConnectorBackhaulRoute', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListIoTCoudConnectorBackhaulRoute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'ListGroupIpMappingRules', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListGroupIpMappingRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'CreateGroupAuthorizationRule', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateGroupAuthorizationRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'CreateConnectionPool', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateConnectionPool', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateIpMappingRule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateIpMappingRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'CreateAuthorizationRule', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateAuthorizationRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteIoTCloudConnetorBackhaulRoute', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteIoTCloudConnetorBackhaulRoute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'GrantVirtualBorderRouter', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:GrantVirtualBorderRouter', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateIpMappingRule', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateIpMappingRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'ListIoTCloudConnectors', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListIoTCloudConnectors', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/*'], + ], + ], + ], + [ + 'apiName' => 'ConfirmIoTCloudConnector', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:ConfirmIoTCloudConnector', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateServiceEntryAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateServiceEntryAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteDNSServiceRule', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteDNSServiceRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'GetConnectionPoolIpOperationResult', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:GetConnectionPoolIpOperationResult', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateServiceAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateServiceAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteIoTCloudConnector', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteIoTCloudConnector', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteGroupDNSServiceRule', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteGroupDNSServiceRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'ListConnectionPoolAllIps', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListConnectionPoolAllIps', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'ListIoTCloudConnectorGroups', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListIoTCloudConnectorGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteGroupIpMappingRule', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteGroupIpMappingRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'OpenIoTCloudConnectorService', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:OpenIoTCloudConnectorService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetStsInfoAndOssPath', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:GetStsInfoAndOssPath', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'ListConnectionPools', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListConnectionPools', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'ListServiceEntries', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListServiceEntries', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'ListIpMappingRules', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iotcc:ListIpMappingRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'ListAuthorizationRules', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListAuthorizationRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'ListDNSServiceRules', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListDNSServiceRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListRegions', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iotcc:ListRegions', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateAuthorizationRuleAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateAuthorizationRuleAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'ListConnectionPoolIps', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListConnectionPoolIps', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteAuthorizationRule', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteAuthorizationRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'CreateIoTCloudConnector', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateIoTCloudConnector', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/*'], + ], + ], + ], + [ + 'apiName' => 'DeleteAuthorizationRules', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteAuthorizationRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteIoTCloudConnectorGroup', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteIoTCloudConnectorGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'ListGroupAuthorizationRules', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'iotcc:ListGroupAuthorizationRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'ListGroupDNSServiceRules', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListGroupDNSServiceRules', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'ListService', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'UpdateGroupAuthorizationRuleAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateGroupAuthorizationRuleAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'RevertIoTCloudConnector', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:RevertIoTCloudConnector', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'GetDiagnoseResultForSingleCard', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:GetDiagnoseResultForSingleCard', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateIoTCloudConnectorGroupAttribute', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:UpdateIoTCloudConnectorGroupAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'ListIoTCloudConnectorEIPs', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListIoTCloudConnectorEIPs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'CreateIoTCloudConnectorGroup', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateIoTCloudConnectorGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListIoTCloudConnectorAvailableZones', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'iotcc:ListIoTCloudConnectorAvailableZones', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DissociateIpFromConnectionPool', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:DissociateIpFromConnectionPool', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'CreateIoTCloudConnectorBackhaulRoute', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateIoTCloudConnectorBackhaulRoute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'AssociateIpWithConnectionPool', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:AssociateIpWithConnectionPool', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteIpMappingRule', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteIpMappingRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'CreateGroupIpMappingRule', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateGroupIpMappingRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'RemoveIoTCloudConnectorFromGroup', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:RemoveIoTCloudConnectorFromGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteGroupAuthorizationRule', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteGroupAuthorizationRule', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'AddIoTCloudConnectorToGroup', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:AddIoTCloudConnectorToGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteConnectionPool', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'iotcc:DeleteConnectionPool', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'DissociateVSwitchFromIoTCloudConnector', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'iotcc:DissociateVSwitchFromIoTCloudConnector', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ], + ], + ], + [ + 'apiName' => 'CreateServiceEntry', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'iotcc:CreateServiceEntry', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'UIS', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], + ], + ], + ], + ], + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#CloudConnectorId}'], + ['validationType' => 'always', 'resourceType' => 'VSwitch', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}'], + ['validationType' => 'always', 'resourceType' => 'VPC', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}'], + ['validationType' => 'always', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/*'], + ['validationType' => 'always', 'resourceType' => 'CloudConnector', 'arn' => 'acs:iotcc:{#regionId}:{#accountId}:cloudconnector/{#IoTCloudConnectorId}'], ], ], ]; |
