From 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 17:11:17 +0800 Subject: update APIs 20260712 --- data/en_us/eais/2019-06-24/api-docs.php | 5133 +++++++++++++++---------------- 1 file changed, 2399 insertions(+), 2734 deletions(-) (limited to 'data/en_us/eais/2019-06-24/api-docs.php') diff --git a/data/en_us/eais/2019-06-24/api-docs.php b/data/en_us/eais/2019-06-24/api-docs.php index 527e813..79f1aeb 100644 --- a/data/en_us/eais/2019-06-24/api-docs.php +++ b/data/en_us/eais/2019-06-24/api-docs.php @@ -1,175 +1,96 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'eais', - 'version' => '2019-06-24', - ], + 'info' => ['style' => 'RPC', 'product' => 'eais', 'version' => '2019-06-24'], 'directories' => [ [ - 'id' => 186392, - 'title' => 'Geography', - 'type' => 'directory', - 'children' => [ - 'DescribeRegions', - ], - ], - [ - 'id' => 186394, - 'title' => 'Examples', + 'children' => ['CreateEaisEi', 'AttachEaisEi', 'StartEaisEi', 'StopEaisEi', 'DetachEaisEi', 'DeleteEaisEi', 'DescribeEais', 'CreateEaiJupyter', 'StopEaiJupyter', 'StartEaiJupyter', 'GetInstanceMetrics', 'CreateEai', 'AttachEai', 'DetachEai', 'DeleteEai', 'CreateEaiEci', 'CreateEaiEcs', 'DeleteEaiAll'], 'type' => 'directory', - 'children' => [ - 'CreateEaisEi', - 'AttachEaisEi', - 'StartEaisEi', - 'StopEaisEi', - 'DetachEaisEi', - 'DeleteEaisEi', - 'DescribeEais', - 'CreateEaiJupyter', - 'StopEaiJupyter', - 'StartEaiJupyter', - 'GetInstanceMetrics', - 'CreateEai', - 'AttachEai', - 'DetachEai', - 'DeleteEai', - 'CreateEaiEci', - 'CreateEaiEcs', - 'DeleteEaiAll', - 'ChangeResourceGroup', - ], + 'title' => 'Instance', ], [ - 'id' => 194869, - 'title' => 'Label', + 'children' => ['ChangeResourceGroup', 'DescribeRegions', 'ListTagResources', 'TagResources', 'UntagResources'], + 'title' => 'Others', 'type' => 'directory', - 'children' => [ - 'TagResources', - 'UntagResources', - 'ListTagResources', - ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'DescribeRegions' => [ - 'summary' => '查询您可以使用的阿里云地域', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AttachEai' => [ + 'summary' => 'After creating an Elastic Accelerated Computing Instances (EAIS) instance, call the AttachEai API to attach the EAIS instance to a client instance—either an ECS instance or an ECI instance—to provide GPU resources.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shenzhen', 'title' => ''], + ], + [ + 'name' => 'ElasticAcceleratedInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The EAIS instance ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eais-sz8t15a7gt7z7j7i****', 'title' => ''], + ], + [ + 'name' => 'ClientInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the ECS or ECI instance to attach.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'i-wz93g6pyat2g7t7o****', 'title' => ''], + ], ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'example' => 'F5FEB9AA-C108-577C-AB3D-D13524AF1840', - 'type' => 'string', - ], - 'Regions' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Region' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'properties' => [ - 'RegionEndpoint' => [ - 'description' => '', - 'example' => 'eais.cn-shenzhen.aliyuncs.com', - 'type' => 'string', - ], - 'LocalName' => [ - 'description' => '', - 'example' => '', - 'type' => 'string', - ], - 'RegionId' => [ - 'description' => '', - 'example' => 'cn-shenzhen', - 'type' => 'string', - ], - ], - 'type' => 'object', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C3BCB7DA-BEB6-4982-A765-6EA61EC8****', 'title' => ''], + 'ElasticAcceleratedInstanceId' => ['description' => 'The EAIS instance ID.', 'type' => 'string', 'example' => 'eais-sz8t15a7gt7z7j7i****', 'title' => ''], + 'ClientInstanceId' => ['description' => 'The ECS or ECI instance ID.', 'type' => 'string', 'example' => 'i-wz93g6pyat2g7t7o****', 'title' => ''], ], 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'CheckTimeout', - 'errorMessage' => 'Check timed out.', - ], - [ - 'errorCode' => 'InconsistentSignature', - 'errorMessage' => 'The signatures are inconsistent.', - ], - [ - 'errorCode' => 'Timeout', - 'errorMessage' => 'Operation timed out.', - ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C3BCB7DA-BEB6-4982-A765-6EA61EC8****\\",\\n \\"ElasticAcceleratedInstanceId\\": \\"eais-sz8t15a7gt7z7j7i****\\",\\n \\"ClientInstanceId\\": \\"i-wz93g6pyat2g7t7o****\\"\\n}","type":"json"}]', + 'title' => 'Attach an EAIS instance', + 'changeSet' => [ + ['createdAt' => '2023-01-03T06:39:13.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachEai'], ], + ], + 'ramActions' => [ [ - [ - 'errorCode' => 'CallRamApiFailed', - 'errorMessage' => 'Failed to call the Alibaba Cloud RAM service.', - ], - ], - 403 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation. %s', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eais:AttachEai', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ['validationType' => 'conditional', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:ecs:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ['validationType' => 'conditional', 'product' => 'EAIS', 'resourceType' => 'ContainerGroup', 'arn' => 'acs:eci:{#regionId}:{#accountId}:containergroup/{#ContainerGroupId}'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F5FEB9AA-C108-577C-AB3D-D13524AF****\\",\\n \\"Regions\\": {\\n \\"Region\\": [\\n {\\n \\"RegionEndpoint\\": \\"eais.cn-shenzhen.aliyuncs.com\\",\\n \\"LocalName\\": \\"华南1(深圳)\\",\\n \\"RegionId\\": \\"cn-shenzhen\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n F5FEB9AA-C108-577C-AB3D-D13524AF****\\n \\n eais.cn-shenzhen.aliyuncs.com\\n 华南1(深圳)\\n cn-shenzhen\\n \\n","errorExample":""}]', - 'extraInfo' => ' ', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'title' => 'DescribeRegions', ], - 'CreateEaisEi' => [ - 'summary' => '创建一个弹性加速计算实例', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AttachEaisEi' => [ + 'summary' => 'After creating an Elastic Accelerated Computing Instances (EAIS) instance, you can call the AttachEaisEi API to attach the EAIS instance to a client instance (an ECS instance or an ECI instance) to provide it with GPU resources.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -177,103 +98,35 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'high', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'InstanceType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'eais.ei-a6.2xlarge', - ], - ], - [ - 'name' => 'VSwitchId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'vsw-bp17wmd1wb6fwlimk****', - ], - ], - [ - 'name' => 'SecurityGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'sg-bp16jgp51ttnkbdr****', - ], - ], - [ - 'name' => 'InstanceName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test_ei', - ], + 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'ClientInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfmvpuy4a5****', - ], + 'schema' => ['description' => 'The ID of the ECS or ECI instance to attach.', 'type' => 'string', 'required' => true, 'example' => 'i-bp14ws9hbt1oe0u9****', 'title' => ''], ], [ - 'name' => 'ClientToken', + 'name' => 'EiInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => 'The EAIS instance ID. If this parameter is not set, the system automatically queries for attachable instances under your account that meet the conditions and selects the first queried instance for attachment.', 'type' => 'string', 'required' => false, 'example' => 'eais-hzu00xufs1c8j5nn****', 'title' => ''], ], [ - 'name' => 'Tag', + 'name' => 'EiInstanceType', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], - ], - ], - 'maxItems' => 21, - ], + 'schema' => ['description' => 'The specifications of the EAIS instance. When the `EiInstanceId` parameter is not specified, set this parameter to limit the specifications of the attached EAIS instance. If the `EiInstanceId` parameter is specified, this parameter does not take effect. Valid values:'."\n" + ."\n" + .'- eais.ei-a6.4xlarge'."\n" + ."\n" + .'- eais.ei-a6.2xlarge'."\n" + ."\n" + .'- eais.ei-a6.xlarge'."\n" + ."\n" + .'- eais.ei-a6.large', 'type' => 'string', 'required' => false, 'example' => 'eais.ei-a6.2xlarge', 'title' => ''], ], ], 'responses' => [ @@ -283,872 +136,889 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'F5FEB9AA-C108-577C-AB3D-D13524AF****', - ], - 'EiInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'eais-hzu00xufs1c8j5nn****', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C3BCB7DA-BEB6-4982-A765-6EA61EC8****'], + 'EiInstanceId' => ['description' => 'The EAIS instance ID.', 'type' => 'string', 'example' => 'eais-hzu00xufs1c8j5nn****', 'title' => ''], + 'ClientInstanceId' => ['description' => 'The ECS or ECI instance ID.', 'type' => 'string', 'example' => 'i-bp14ws9hbt1oe0u9****', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRegionId', - 'errorMessage' => 'The service does not support the region. You can call the DescribeRegions API to view the supported regions.', - ], - [ - 'errorCode' => 'CheckTimeout', - 'errorMessage' => 'Check timed out.', - ], - [ - 'errorCode' => 'InconsistentSignature', - 'errorMessage' => 'The signatures are inconsistent.', - ], - [ - 'errorCode' => 'Duplicate.TagKey', - 'errorMessage' => 'The Tag.N.Key contains a duplicated key.', - ], - [ - 'errorCode' => 'CustomTag.NumberExceed', - 'errorMessage' => 'The maximum number of system tags for each resource is 20.', - ], - [ - 'errorCode' => 'InvalidInstanceType', - 'errorMessage' => 'The instance type is invalid.', - ], - [ - 'errorCode' => 'NumberExceed.Tags', - 'errorMessage' => 'The maximum number of Tags is exceeded. The maximum is 20.', - ], - [ - 'errorCode' => 'Timeout', - 'errorMessage' => 'Operation timed out.', - ], + ['errorCode' => 'InvalidClientInstanceId.NotBound', 'errorMessage' => 'The client instance is not bound.', 'description' => ''], + ['errorCode' => 'InvalidClientInstanceId.NotFound', 'errorMessage' => 'The client instance does not exist or is not bound.', 'description' => ''], + ['errorCode' => 'InvalidClientInstanceId.TypeError', 'errorMessage' => 'The client instance ID is invalid. Currently, only ECS or ECI instances can be bound.', 'description' => ''], + ['errorCode' => 'InvalidClientInstanceId.VpcIdError', 'errorMessage' => 'The client instance is invalid. Please make sure that the VpcId of the client instance and the VpcId of the EAIS instance are the same.', 'description' => ''], + ['errorCode' => 'InvalidClientInstanceId.VSwitchIdError', 'errorMessage' => 'The client instance is invalid. Please make sure that the VSwitchId of the client instance and the VSwitchId of the EAIS instance are the same.', 'description' => ''], ], - [ - [ - 'errorCode' => 'CallRamApiFailed', - 'errorMessage' => 'Failed to call the Alibaba Cloud RAM service.', - ], + 404 => [ + ['errorCode' => 'InvalidClientInstanceId.Forbidden', 'errorMessage' => 'Please make sure the ClientInstanceId exists and belongs to you.', 'description' => ''], ], - 403 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation. %s', - ], - [ - 'errorCode' => 'NoResources', - 'errorMessage' => 'The current regional resources are insufficient.', - ], - [ - 'errorCode' => 'CreateOrderFailed', - 'errorMessage' => 'Create order failed: %s.', - ], - [ - 'errorCode' => 'InDebt', - 'errorMessage' => 'The current user has an overdue payment. Please top up first.', - ], - [ - 'errorCode' => 'OperationDenied.KeyValueNotNull', - 'errorMessage' => 'The key value cannot be null.', - ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C3BCB7DA-BEB6-4982-A765-6EA61EC8****\\",\\n \\"EiInstanceId\\": \\"eais-hzu00xufs1c8j5nn****\\",\\n \\"ClientInstanceId\\": \\"i-bp14ws9hbt1oe0u9****\\"\\n}","type":"json"}]', + 'title' => 'Attach an EAIS Instance', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachEaisEi'], ], ], - 'staticInfo' => [ - 'returnType' => 'asynchronous', - 'callback' => 'eais::2019-06-24::DescribeEais', - 'callbackInterval' => 10000, - 'maxCallbackTimes' => 60, + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eais:AttachEaisEi', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F5FEB9AA-C108-577C-AB3D-D13524AF****\\",\\n \\"EiInstanceId\\": \\"eais-hzu00xufs1c8j5nn****\\"\\n}","type":"json"}]', - 'title' => 'CreateEaisEi', ], - 'AttachEaisEi' => [ - 'summary' => '将EI绑定到ECS或ECI实例上', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ChangeResourceGroup' => [ + 'summary' => 'Modify the resource group for an Elastic Accelerated Computing Instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'], 'parameters' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ClientInstanceId', + 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'i-bp14ws9hbt1oe0u9****', - ], + 'schema' => ['description' => 'Resource ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'eais-hzs4h26yyt5xkcke****'], ], [ - 'name' => 'EiInstanceId', + 'name' => 'ResourceRegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'eais-hzu00xufs1c8j5nn****', - ], + 'schema' => ['description' => 'The region ID of the resource.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'EiInstanceType', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'eais.ei-a6.2xlarge', - ], + 'schema' => ['description' => 'The ID of the target resource group.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'rg-acfmvpuy4a5****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', 'description' => 'Schema of Response', - 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'C3BCB7DA-BEB6-4982-A765-6EA61EC8****', - ], - 'EiInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'eais-hzu00xufs1c8j5nn****', - ], - 'ClientInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'i-bp14ws9hbt1oe0u9****', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'C3BCB7DA-BEB6-4982-A765-6EA61EC8****'], ], + 'title' => 'Schema of Response', + 'type' => 'object', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidClientInstanceId.NotBound', - 'errorMessage' => 'The client instance is not bound.', - ], - [ - 'errorCode' => 'InvalidClientInstanceId.NotFound', - 'errorMessage' => 'The client instance does not exist or is not bound.', - ], - [ - 'errorCode' => 'InvalidClientInstanceId.TypeError', - 'errorMessage' => 'The client instance ID is invalid. Currently, only ECS or ECI instances can be bound.', - ], - [ - 'errorCode' => 'InvalidClientInstanceId.VpcIdError', - 'errorMessage' => 'The client instance is invalid. Please make sure that the VpcId of the client instance and the VpcId of the EAIS instance are the same.', - ], - [ - 'errorCode' => 'InvalidClientInstanceId.VSwitchIdError', - 'errorMessage' => 'The client instance is invalid. Please make sure that the VSwitchId of the client instance and the VSwitchId of the EAIS instance are the same.', - ], - ], - 404 => [ - [ - 'errorCode' => 'InvalidClientInstanceId.Forbidden', - 'errorMessage' => 'Please make sure the ClientInstanceId exists and belongs to you.', + ['errorCode' => 'NoPermission.ChangeResourceGroup', 'errorMessage' => 'You are not authorized to change resourcegroup', 'description' => ''], + ['errorCode' => 'MissingParameter.ResourceRegionId', 'errorMessage' => 'The ResourceRegionId parameters that are required for processing this request are missing', 'description' => ''], + ['errorCode' => 'MissingParameter.ResourceId', 'errorMessage' => 'The ResourceId parameters that are required for processing this request are missing', 'description' => ''], + ['errorCode' => 'MissingParameter.ResourceGroupId', 'errorMessage' => 'The ResourceGroupId parameters that are required for processing this request are missing', 'description' => ''], + ['errorCode' => 'InvalidResourceGroup', 'errorMessage' => 'The specified ResourceGroupId is invalid', 'description' => ''], + ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred while processing your request', 'description' => ''], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => ' The specified resource is not found', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C3BCB7DA-BEB6-4982-A765-6EA61EC8****\\"\\n}","type":"json"}]', + 'title' => 'Change Resource Group', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ChangeResourceGroup'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eais:ChangeResourceGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C3BCB7DA-BEB6-4982-A765-6EA61EC8****\\",\\n \\"EiInstanceId\\": \\"eais-hzu00xufs1c8j5nn****\\",\\n \\"ClientInstanceId\\": \\"i-bp14ws9hbt1oe0u9****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n C3BCB7DA-BEB6-4982-A765-6EA61EC8****\\n eais-hzu00xufs1c8j5nn****\\n i-bp14ws9hbt1oe0u9****\\n","errorExample":""}]', - 'title' => 'AttachEaisEi', ], - 'StartEaisEi' => [ - 'summary' => '启动一个弹性加速计算实例', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateEai' => [ + 'summary' => 'You can invoke the CreateEai API to create an Elastic Accelerated Computing Instance (EAIS) and attach it to a client instance (an ECS instance or an ECI instance) to flexibly provide the GPU resources required by your business and reduce costs. Taking an ECS instance as an example, by attaching an EAIS to a non-GPU ECS instance, you can effectively create a new type of GPU-accelerated instance. Compared with directly purchasing a GPU-accelerated instance, this approach enables elastic usage of GPU resources—you can attach, detach, or release EAIS instances based on actual needs—thereby significantly lowering both deployment and usage costs.'."\n", + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', - 'chargeType' => 'paid', - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'high', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the Region where the instance is located. You can call [DescribeRegions](~~364379~~) to view the latest list of Alibaba Cloud regions.'."\n", 'docRequired' => true, 'example' => 'cn-shenzhen', 'required' => true, 'type' => 'string', 'title' => ''], ], [ - 'name' => 'EiInstanceId', + 'name' => 'InstanceType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'eais-hzu00xufs1c8j5nn****', - ], + 'schema' => ['description' => 'The instance type of the EAIS instance. Valid values:'."\n" + ."\n" + .'- eais.ei-a6.4xlarge'."\n" + ."\n" + .'- eais.ei-a6.2xlarge'."\n" + ."\n" + .'- eais.ei-a6.xlarge'."\n" + ."\n" + .'- eais.ei-a6.large', 'docRequired' => true, 'example' => 'eais.ei-a6.2xlarge', 'required' => true, 'type' => 'string', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'F23AEEC7-4D98-4657-A104-02692701****', - ], - ], - ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['description' => 'An idempotence parameter that ensures request idempotence. 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 in length. For more information, see [How to ensure idempotence](~~25693~~).', 'example' => '123e4567-e89b-12d3-a456-426655440000', 'required' => false, 'type' => 'string', 'title' => ''], ], - ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation. %s', - ], + [ + 'name' => 'InstanceName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the EAIS instance. It must be 2 to 128 characters in length and can contain letters (including English, Chinese, and digits) from the Unicode letter category. It can also include colons (:), underscores (_), periods (.), or hyphens (-).'."\n", 'example' => 'eais-test01', 'required' => false, 'type' => 'string', 'title' => ''], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F23AEEC7-4D98-4657-A104-02692701****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n F23AEEC7-4D98-4657-A104-02692701****\\n","errorExample":""}]', - 'title' => 'StartEaisEi', - ], - 'StopEaisEi' => [ - 'summary' => '停止一个弹性加速计算实例', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'SecurityGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the security group to which the instance belongs.'."\n", 'docRequired' => true, 'example' => 'sg-uf66jeqopgqa9hdn****', 'required' => false, 'type' => 'string', 'title' => ''], ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'VSwitchId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the virtual switch (vSwitch) to which the instance belongs.'."\n" + ."\n" + .'> The number of available IP addresses in the vSwitch CIDR block determines the maximum number of EAIS instances that can be created in the vSwitch. Ensure that you plan your CIDR block settings in advance.'."\n", 'docRequired' => true, 'example' => 'vsw-uf6h3rbwbm90urjwa****', 'required' => false, 'type' => 'string', 'title' => ''], ], [ - 'name' => 'EiInstanceId', + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rg-acfmvpuy4a5****', 'title' => ''], + ], + [ + 'name' => 'Image', + 'in' => 'query', + 'schema' => ['description' => 'The image for the EAIS instance. By default, an internal EAIS image is used to provide the service. You can also specify a custom image by using the Image parameter. The following limits apply to custom images:'."\n" + ."\n" + .'- The image must be downloadable over the Internet.'."\n" + ."\n" + .'- Only ports 1688, 42000, and 50000 can be used.'."\n" + ."\n" + .'- We recommend that the file size of the image be less than 5 GB.'."\n" + ."\n" + .'> If the image is too large, the download process may take too long, which could cause the creation request to time out and fail.', 'type' => 'string', 'required' => false, 'example' => 'ubuntu:20.04', 'title' => ''], + ], + [ + 'name' => 'Tag', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'eais-hzu00xufs1c8j5nn****', + 'maxItems' => 21, + 'description' => 'A list of tags. It can contain up to 20 subkeys.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'Tag information.'."\n", + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key. Constraints:'."\n" + ."\n" + .'- It cannot be empty.'."\n" + .'- It can contain up to 128 characters.'."\n" + .'- It cannot start with "aliyun" or "acs:".'."\n" + .'- It cannot contain "http://" or "https://".'."\n", 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''], + 'Value' => ['description' => 'The tag value. Constraints:'."\n" + ."\n" + .'- It can contain up to 128 characters.'."\n" + .'- It cannot start with "aliyun" or "acs:".'."\n" + .'- It cannot contain "http://" or "https://".'."\n", 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'F23AEEC7-4D98-4657-A104-02692701****', - ], + 'ElasticAcceleratedInstanceId' => ['description' => 'The ID of the EAIS instance.'."\n", 'example' => 'eais-sz8t15a7gt7z7j7i****', 'type' => 'string', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'example' => 'F5FEB9AA-C108-577C-AB3D-D13524AF****', 'type' => 'string', 'title' => ''], ], + 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ + 400 => [ + ['errorCode' => 'CheckTimeout', 'errorMessage' => 'Check timed out.', 'description' => ''], + ['errorCode' => 'CustomTag.NumberExceed', 'errorMessage' => 'The maximum number of system tags for each resource is 20.', 'description' => ''], + ['errorCode' => 'Duplicate.TagKey', 'errorMessage' => 'The Tag.N.Key contains a duplicated key.', 'description' => ''], + ['errorCode' => 'InvalidInstanceType', 'errorMessage' => 'The instance type is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.TagKey', 'errorMessage' => 'The specified Tag.n.Key is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.TagValue', 'errorMessage' => 'The specified Tag.n.Value is invalid.', 'description' => ''], + ['errorCode' => 'InvalidRegionId', 'errorMessage' => 'The service does not support the region. You can call the DescribeRegions API to view the supported regions.', 'description' => ''], + ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of Tags is exceeded. The maximum is 20.', 'description' => ''], + ['errorCode' => 'Timeout', 'errorMessage' => 'Operation timed out.', 'description' => ''], + ], + [ + ['errorCode' => 'CallRamApiFailed', 'errorMessage' => 'Failed to call the Alibaba Cloud RAM service.', 'description' => ''], + ], 403 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation. %s', - ], + ['errorCode' => 'CreateOrderFailed', 'errorMessage' => 'Create order failed: %s.', 'description' => ''], + ['errorCode' => 'InDebt', 'errorMessage' => 'The current user has an overdue payment. Please top up first.', 'description' => ''], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation. %s', 'description' => ''], + ['errorCode' => 'NoResources', 'errorMessage' => 'The current regional resources are insufficient.', 'description' => ''], + ['errorCode' => 'OperationDenied.KeyValueNotNull', 'errorMessage' => 'The key value cannot be null.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'eais::2019-06-24::DescribeEais', 'callbackInterval' => 20000, 'maxCallbackTimes' => 30], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ElasticAcceleratedInstanceId\\": \\"eais-sz8t15a7gt7z7j7i****\\",\\n \\"RequestId\\": \\"F5FEB9AA-C108-577C-AB3D-D13524AF****\\"\\n}","type":"json"}]', + 'title' => 'Create an EAIS Instance'."\n", + 'description' => '**Before using this API, ensure that you fully understand the [billing documentation](~~191197~~) for Elastic Accelerated Computing Instances (EAIS).**'."\n", + 'changeSet' => [ + ['createdAt' => '2025-01-15T01:59:38.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-23T05:59:34.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-04-10T09:04:43.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-01-03T06:39:12.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEai'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eais:CreateEai', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/*'], + ], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F23AEEC7-4D98-4657-A104-02692701****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n F23AEEC7-4D98-4657-A104-02692701****\\n","errorExample":""}]', - 'title' => 'StopEaisEi', + 'translator' => 'machine', ], - 'DetachEaisEi' => [ - 'summary' => '将EI实例与ECS或ECI实例解绑', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateEaiEci' => [ + 'summary' => 'Creates an Elastic Accelerated Computing Instance (EAIS) and a client Elastic Container Instance (ECI), and attaches the EAIS to the ECI instance.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'high', 'chargeType' => 'paid', 'tenantRelevance' => 'tenant'], 'parameters' => [ + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'An idempotency parameter. It ensures request idempotence. Generate a unique value for each request. ClientToken supports only ASCII characters and cannot exceed 64 characters. For more information, see [How to ensure idempotence](~~25693~~).', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'], + ], [ 'name' => 'RegionId', 'in' => 'query', + 'schema' => ['description' => 'The region ID of the instance. Call [DescribeRegions](~~364379~~) to view the latest Alibaba Cloud regions.', 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen', 'title' => ''], + ], + [ + 'name' => 'EaisName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the EAIS instance. It can be 2 to 128 characters long. It must start with a letter. It cannot start with http\\:// or https\\://. It can contain numbers, colons (:), underscores (\\_), periods (.), or hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'eais-test01', 'title' => ''], + ], + [ + 'name' => 'EaisType', + 'in' => 'query', + 'schema' => ['description' => 'The instance type of the EAIS instance. Valid values:'."\n" + ."\n" + .'- eais.ei-a6.4xlarge'."\n" + ."\n" + .'- eais.ei-a6.2xlarge'."\n" + ."\n" + .'- eais.ei-a6.xlarge'."\n" + ."\n" + .'- eais.ei-a6.large', 'type' => 'string', 'required' => true, 'example' => 'eais.ei-a6.2xlarge', 'title' => ''], + ], + [ + 'name' => 'VSwitchId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the virtual switch to which the instance belongs.'."\n" + ."\n" + .'> The number of IP addresses in the vSwitch CIDR block determines the maximum number of EAIS instances that can be created in this vSwitch. Plan your CIDR block settings in advance.', 'type' => 'string', 'required' => true, 'example' => 'vsw-uf6h3rbwbm90urjwa****', 'title' => ''], + ], + [ + 'name' => 'SecurityGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the security group to which the instance belongs.', 'type' => 'string', 'required' => true, 'example' => 'sg-uf66jeqopgqa9hdn****', 'title' => ''], + ], + [ + 'name' => 'Eci', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + 'description' => 'The ECI instance parameter object.', + 'properties' => [ + 'Container' => [ + 'description' => 'The container parameter object.', + 'properties' => [ + 'Arg' => ['description' => 'The arguments for the container start command. Up to 10 arguments.', 'type' => 'string', 'required' => false, 'example' => '100', 'title' => ''], + 'Command' => ['description' => 'The container start command. Up to 20 commands. Each command can contain up to 256 characters.', 'type' => 'string', 'required' => false, 'example' => 'sleep', 'title' => ''], + 'Image' => ['description' => 'The runtime image used by the container.', 'type' => 'string', 'required' => false, 'example' => 'nginx', 'title' => ''], + 'Name' => ['description' => 'The container name.', 'type' => 'string', 'required' => false, 'example' => 'test1', 'title' => ''], + 'Volumes' => ['description' => 'The volumes mounted by the container.', 'type' => 'string', 'required' => false, 'example' => '/mnt/eais=eais,/models=eais/models', 'title' => ''], + ], + 'required' => false, + 'type' => 'object', + 'title' => '', + 'example' => '', + ], + 'EipId' => ['description' => 'The Elastic IP (EIP) ID used by the ECI instance.', 'type' => 'string', 'required' => false, 'example' => 'eip-uf66jeqopgqa9hdn****', 'title' => ''], + 'Name' => ['description' => 'The ECI instance name.', 'type' => 'string', 'required' => false, 'example' => 'test-nginx', 'title' => ''], + 'Type' => ['description' => 'The instance type of the ECI instance.', 'type' => 'string', 'required' => false, 'example' => 'ecs.c5.xlarge', 'title' => ''], + 'Volume' => ['description' => 'The volumes mounted by the ECI instance.', 'type' => 'string', 'required' => false, 'example' => '00c7****-rivj.cn-hangzhou.extreme.nas.aliyuncs.com:/share', 'title' => ''], + ], + 'required' => false, + 'type' => 'object', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'EiInstanceId', + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The resource group ID to which the EAIS instance belongs.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmvpuy4a5****', 'title' => ''], + ], + [ + 'name' => 'Tag', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'eais-hzu00xufs1c8j5nn****', + 'maxItems' => 21, + 'description' => 'The tag list. It contains up to 20 tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag information.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key. Limits:'."\n" + ."\n" + .'- Cannot be empty.'."\n" + ."\n" + .'- Supports up to 128 characters.'."\n" + ."\n" + .'- Cannot start with aliyun or acs:.'."\n" + ."\n" + .'- Cannot contain http\\:// or https\\://.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''], + 'Value' => ['description' => 'The tag value. Limits:'."\n" + ."\n" + .'- Supports up to 128 characters.'."\n" + ."\n" + .'- Cannot start with aliyun or acs:.'."\n" + ."\n" + .'- Cannot contain http\\:// or https\\://.', 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', + 'description' => 'Response schema', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '04DEB304-2436-4CB9-BB63-468BCEA0****', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'F5FEB9AA-C108-577C-AB3D-D13524AF****'], + 'ElasticAcceleratedInstanceId' => ['description' => 'The EAIS instance ID.', 'type' => 'string', 'example' => 'eais-sz8t15a7gt7z7j7i****', 'title' => ''], + 'ClientInstanceId' => ['description' => 'The ECI instance ID.', 'type' => 'string', 'example' => 'eci-2zeh03ygxlrzmfi6****', 'title' => ''], ], + 'title' => 'Schema of Response', + 'type' => 'object', + 'example' => '', ], ], ], 'errorCodes' => [ + 400 => [ + ['errorCode' => 'CheckTimeout', 'errorMessage' => 'Check timed out.', 'description' => ''], + ['errorCode' => 'CustomTag.NumberExceed', 'errorMessage' => 'The maximum number of system tags for each resource is 20.', 'description' => ''], + ['errorCode' => 'Duplicate.TagKey', 'errorMessage' => 'The Tag.N.Key contains a duplicated key.', 'description' => ''], + ['errorCode' => 'InvalidInstanceType', 'errorMessage' => 'The instance type is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.TagKey', 'errorMessage' => 'The specified Tag.n.Key is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.TagValue', 'errorMessage' => 'The specified Tag.n.Value is invalid.', 'description' => ''], + ['errorCode' => 'InvalidRegionId', 'errorMessage' => 'The service does not support the region. You can call the DescribeRegions API to view the supported regions.', 'description' => ''], + ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of Tags is exceeded. The maximum is 20.', 'description' => ''], + ['errorCode' => 'Timeout', 'errorMessage' => 'Operation timed out.', 'description' => ''], + ], + [ + ['errorCode' => 'CallRamApiFailed', 'errorMessage' => 'Failed to call the Alibaba Cloud RAM service.', 'description' => ''], + ], 403 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation. %s', - ], + ['errorCode' => 'CreateOrderFailed', 'errorMessage' => 'Create order failed: %s.', 'description' => ''], + ['errorCode' => 'InDebt', 'errorMessage' => 'The current user has an overdue payment. Please top up first.', 'description' => ''], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation. %s', 'description' => ''], + ['errorCode' => 'NoResources', 'errorMessage' => 'The current regional resources are insufficient.', 'description' => ''], + ['errorCode' => 'OperationDenied.KeyValueNotNull', 'errorMessage' => 'The key value cannot be null.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F5FEB9AA-C108-577C-AB3D-D13524AF****\\",\\n \\"ElasticAcceleratedInstanceId\\": \\"eais-sz8t15a7gt7z7j7i****\\",\\n \\"ClientInstanceId\\": \\"eci-2zeh03ygxlrzmfi6****\\"\\n}","type":"json"}]', + 'title' => 'Create an EAIS instance and attach it to a client instance', + 'changeSet' => [ + ['createdAt' => '2025-01-15T01:59:38.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-23T05:59:34.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-04-27T01:42:53.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEaiEci'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eais:CreateEaiEci', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/*'], + ], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04DEB304-2436-4CB9-BB63-468BCEA0****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 04DEB304-2436-4CB9-BB63-468BCEA0****\\n","errorExample":""}]', - 'title' => 'DetachEaisEi', ], - 'DeleteEaisEi' => [ - 'summary' => '释放弹性加速计算实例', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateEaiEcs' => [ + 'summary' => 'Creates an Elastic Accelerated Computing Instance and a client ECS instance, and then attaches the Elastic Accelerated Computing Instance to the ECS instance.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'high', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'high', 'chargeType' => 'paid', 'tenantRelevance' => 'tenant'], 'parameters' => [ + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. Generate a value for this parameter on your client. Make sure that the value is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'], + ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region. Call the [DescribeRegions](~~364379~~) operation to query the most recent region list.', 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen', 'title' => ''], ], [ - 'name' => 'EiInstanceId', + 'name' => 'EaisName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the EAIS instance. The name must be 2 to 128 characters in length. It must start with a letter or a Chinese character, and cannot start with \\`http\\://\\` or \\`https\\://\\`. It can contain digits, colons (:), underscores (\\_), periods (.), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'eais-test01', 'title' => ''], + ], + [ + 'name' => 'Ecs', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'eais-hzu00xufs1c8j5nn****', + 'description' => 'The parameters of the ECS instance.', + 'properties' => [ + 'ImageId' => ['description' => 'The ID of the image used to create the ECS instance.', 'type' => 'string', 'required' => false, 'example' => 'aliyun_2_1903_x64_20G_alibase_20200324.vhd', 'title' => ''], + 'InternetMaxBandwidthIn' => ['description' => 'The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:'."\n" + ."\n" + .'- If the outbound public bandwidth is 10 Mbit/s or less: 1 to 10. Default value: 10.'."\n" + ."\n" + .'- If the outbound public bandwidth is greater than 10 Mbit/s: 1 to the value of `InternetMaxBandwidthOut`. Default value: the value of `InternetMaxBandwidthOut`.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], + 'InternetMaxBandwidthOut' => ['description' => 'The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100. Default value: 0.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], + 'Name' => ['description' => 'The name of the ECS instance. The name must be 2 to 128 characters in length. It must start with a letter or a Chinese character, and cannot start with \\`http\\://\\` or \\`https\\://\\`. It can contain Chinese characters, letters, digits, colons (:), underscores (\\_), periods (.), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'test1', 'title' => ''], + 'Password' => ['description' => 'The password of the ECS instance. The password must be 8 to 30 characters in length. It must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. The supported special characters are `()~!@#$%^&*-_+=|{}[]:;\'<>,.?/`.', 'type' => 'string', 'required' => false, 'example' => 'EcsV587!', 'title' => ''], + 'SystemDiskCategory' => ['description' => 'The category of the system disk for the ECS instance. Valid values:'."\n" + ."\n" + .'- cloud\\_efficiency: ultra disk.'."\n" + ."\n" + .'- cloud\\_ssd: standard SSD.'."\n" + ."\n" + .'- cloud\\_essd: ESSD.'."\n" + ."\n" + .'- cloud: basic disk.'."\n" + ."\n" + .'- cloud\\_auto: ESSD AutoPL disk.'."\n" + ."\n" + .'For retired instance types and non-I/O optimized instances, the default value is \\`cloud\\`. For other instance types, the default value is \\`cloud\\_efficiency\\`.', 'type' => 'string', 'required' => false, 'example' => 'cloud_ssd', 'title' => ''], + 'SystemDiskSize' => ['description' => 'The size of the system disk for the ECS instance. Unit: GiB. Valid values: 20 to 500.'."\n" + ."\n" + .'The value must be greater than or equal to max{20, `ImageSize`}.'."\n" + ."\n" + .'Default value: max{40, the size of the image that corresponds to `ImageId`}.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '40', 'title' => ''], + 'Type' => ['description' => 'The instance type of the ECS instance.', 'type' => 'string', 'required' => false, 'example' => 'ecs.g7.4xlarge', 'title' => ''], + 'ZoneId' => ['description' => 'The ID of the zone in which to create the ECS instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-shenzhen-e', 'title' => ''], + ], + 'required' => false, + 'type' => 'object', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Force', + 'name' => 'EaisType', + 'in' => 'query', + 'schema' => ['description' => 'The instance type of the EAIS instance. Valid values:'."\n" + ."\n" + .'- eais.ei-a6.4xlarge'."\n" + ."\n" + .'- eais.ei-a6.2xlarge'."\n" + ."\n" + .'- eais.ei-a6.xlarge'."\n" + ."\n" + .'- eais.ei-a6.large', 'type' => 'string', 'required' => true, 'example' => 'eais.ei-a6.2xlarge', 'title' => ''], + ], + [ + 'name' => 'VSwitchId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the vSwitch to which the instance belongs.'."\n" + ."\n" + .'> The number of available IP addresses in the vSwitch determines the maximum number of EAIS instances that can be created in the vSwitch. Plan your CIDR block in advance.', 'type' => 'string', 'required' => true, 'example' => 'vsw-uf6h3rbwbm90urjwa****', 'title' => ''], + ], + [ + 'name' => 'SecurityGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the security group to which the instance belongs.', 'type' => 'string', 'required' => true, 'example' => 'sg-uf66jeqopgqa9hdn****', 'title' => ''], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group to which the EAIS instance belongs.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmvpuy4a5****', 'title' => ''], + ], + [ + 'name' => 'Tag', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'boolean', + 'maxItems' => 21, + 'description' => 'The tags of the instance. You can add up to 20 tags to an instance.', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the tag.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The key of the tag. Constraints:'."\n" + ."\n" + .'- The key cannot be an empty string.'."\n" + ."\n" + .'- The key can be up to 128 characters in length.'."\n" + ."\n" + .'- The key cannot start with \\`aliyun\\` or \\`acs:\\`.'."\n" + ."\n" + .'- The key cannot contain \\`http\\://\\` or \\`https\\://\\`.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''], + 'Value' => ['description' => 'The value of the tag. Constraints:'."\n" + ."\n" + .'- The value can be up to 128 characters in length.'."\n" + ."\n" + .'- The value cannot start with \\`aliyun\\` or \\`acs:\\`.'."\n" + ."\n" + .'- The value cannot contain \\`http\\://\\` or \\`https\\://\\`.', 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => 'false', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', + 'description' => 'Response schema', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'F23AEEC7-4D98-4657-A104-02692701****', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => 'F5FEB9AA-C108-577C-AB3D-D13524AF****'], + 'ElasticAcceleratedInstanceId' => ['description' => 'The ID of the EAIS instance.', 'type' => 'string', 'example' => 'eais-sz8t15a7gt7z7j7i****', 'title' => ''], + 'ClientInstanceId' => ['description' => 'The ID of the ECS instance.', 'type' => 'string', 'example' => 'i-bp1hjrvleawl4ogb****', 'title' => ''], ], + 'title' => 'Schema of Response', + 'type' => 'object', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidInstanceId', - 'errorMessage' => 'The InstanceId is invalid.', - ], - [ - 'errorCode' => 'InvalidRegionId', - 'errorMessage' => 'The service does not support the region. You can call the DescribeRegions API to view the supported regions.', - ], + ['errorCode' => 'CheckTimeout', 'errorMessage' => 'Check timed out.', 'description' => ''], + ['errorCode' => 'CustomTag.NumberExceed', 'errorMessage' => 'The maximum number of system tags for each resource is 20.', 'description' => ''], + ['errorCode' => 'Duplicate.TagKey', 'errorMessage' => 'The Tag.N.Key contains a duplicated key.', 'description' => ''], + ['errorCode' => 'InvalidInstanceType', 'errorMessage' => 'The instance type is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.TagKey', 'errorMessage' => 'The specified Tag.n.Key is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.TagValue', 'errorMessage' => 'The specified Tag.n.Value is invalid.', 'description' => ''], + ['errorCode' => 'InvalidRegionId', 'errorMessage' => 'The service does not support the region. You can call the DescribeRegions API to view the supported regions.', 'description' => ''], + ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of Tags is exceeded. The maximum is 20.', 'description' => ''], + ['errorCode' => 'Timeout', 'errorMessage' => 'Operation timed out.', 'description' => ''], + ], + [ + ['errorCode' => 'CallRamApiFailed', 'errorMessage' => 'Failed to call the Alibaba Cloud RAM service.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation. %s', - ], + ['errorCode' => 'CreateOrderFailed', 'errorMessage' => 'Create order failed: %s.', 'description' => ''], + ['errorCode' => 'InDebt', 'errorMessage' => 'The current user has an overdue payment. Please top up first.', 'description' => ''], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation. %s', 'description' => ''], + ['errorCode' => 'NoResources', 'errorMessage' => 'The current regional resources are insufficient.', 'description' => ''], + ['errorCode' => 'OperationDenied.KeyValueNotNull', 'errorMessage' => 'The key value cannot be null.', 'description' => ''], ], - [ - [ - 'errorCode' => 'InvalidParameter.InstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F5FEB9AA-C108-577C-AB3D-D13524AF****\\",\\n \\"ElasticAcceleratedInstanceId\\": \\"eais-sz8t15a7gt7z7j7i****\\",\\n \\"ClientInstanceId\\": \\"i-bp1hjrvleawl4ogb****\\"\\n}","type":"json"}]', + 'title' => 'Create an EAIS instance and attach it to a client instance ', + 'changeSet' => [ + ['createdAt' => '2025-01-15T01:59:38.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-23T05:59:34.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-04-27T01:42:53.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEaiEcs'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eais:CreateEaiEcs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F23AEEC7-4D98-4657-A104-02692701****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n F23AEEC7-4D98-4657-A104-02692701****\\n","errorExample":""}]', - 'title' => 'DeleteEaisEi', ], - 'DescribeEais' => [ - 'summary' => '查询一个或多个弹性加速计算实例的详细信息', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateEaiJupyter' => [ + 'summary' => 'Creates an Elastic Accelerated Computing Instance (EAIS) with a notebook deployed.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'high', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'enumValueTitles' => [], - 'example' => 'cn-shenzhen', - 'required' => true, + 'description' => 'The ID of the region where the instance resides. For a list of the latest Alibaba Cloud regions, see [DescribeRegions](~~364379~~).', + 'enumValueTitles' => ['cn-hangzhou' => 'cn-hangzhou'], 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + 'title' => '', ], ], [ - 'name' => 'ElasticAcceleratedInstanceIds', + 'name' => 'EaisType', 'in' => 'query', 'schema' => [ - 'description' => '', - 'docRequired' => false, - 'example' => '["eais-id1", "eais-id2"]', - 'required' => false, + 'description' => 'The instance type of the EAIS instance. This parameter can only be set to **eais.ei-a6.2xlarge**.', + 'enumValueTitles' => ['eais.ei-a6.2xlarge' => 'eais.ei-a6.2xlarge'], 'type' => 'string', + 'required' => true, + 'example' => 'eais.ei-a6.2xlarge', + 'title' => '', ], ], [ - 'name' => 'InstanceName', + 'name' => 'VSwitchId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'eais*', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the vSwitch to which the instance belongs.'."\n" + ."\n" + .'> The number of available IP addresses in the vSwitch CIDR block determines the maximum number of EAIS instances that can be created in the vSwitch. Plan your CIDR block settings in advance.', 'type' => 'string', 'required' => true, 'example' => 'vsw-uf6h3rbwbm90urjwa****', 'title' => ''], ], [ - 'name' => 'Status', + 'name' => 'SecurityGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'InUse', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the security group to which the instance belongs.', 'type' => 'string', 'required' => true, 'example' => 'sg-uf66jeqopgqa9hdn****', 'title' => ''], ], [ - 'name' => 'InstanceType', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'eais.ei-a6.2xlarge', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'A client-generated token that ensures the idempotence of the request. Generate a parameter value from your client to make sure that the value is unique among different requests. ClientToken can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ - 'name' => 'ClientInstanceId', + 'name' => 'EnvironmentVar', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'description' => 'Set one or more environment variables during the initialization of the EAIS instance.', + 'items' => [ + 'properties' => [ + 'Key' => ['description' => 'The name of the environment variable. The name must be 1 to 128 characters in length. It can contain letters, digits, and underscores (\\_), and cannot start with a digit.', 'type' => 'string', 'required' => false, 'example' => 'MY_USER_NAME', 'title' => ''], + 'Value' => ['description' => 'The value of the environment variable. The value can be 0 to 256 characters in length.', 'type' => 'string', 'required' => false, 'example' => 'test123', 'title' => ''], + ], + 'required' => false, + 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'type' => 'array', + 'title' => '', + 'example' => '', ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the resource group to which the EAIS instance belongs.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmvpuy4a5****', 'title' => ''], + ], + [ + 'name' => 'EaisName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the EAIS instance. The name must be 2 to 128 characters in length. It must start with a letter or a Chinese character. It cannot start with http\\:// or https\\://. The name can contain digits, colons (:), underscores (\\_), periods (.), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ + 'maxItems' => 21, + 'description' => 'The list of tags. The list can contain up to 20 tags.', 'type' => 'array', 'items' => [ + 'description' => 'The tag information.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], + 'Key' => ['description' => 'The tag key. Constraints:'."\n" + ."\n" + .'- The tag key cannot be empty.'."\n" + ."\n" + .'- The tag key can be up to 128 characters in length.'."\n" + ."\n" + .'- The tag key cannot start with \\`aliyun\\` or \\`acs:\\`.'."\n" + ."\n" + .'- The tag key cannot contain \\`http\\://\\` or \\`https\\://\\`.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''], + 'Value' => ['description' => 'The tag value. Constraints:'."\n" + ."\n" + .'- The tag value can be up to 128 characters in length.'."\n" + ."\n" + .'- The tag value cannot start with \\`aliyun\\` or \\`acs:\\`.'."\n" + ."\n" + .'- The tag value cannot contain \\`http\\://\\` or \\`https\\://\\`.', 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'maxItems' => 21, - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => '1', - 'format' => 'int32', - 'required' => false, - 'type' => 'integer', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => '200', - 'format' => 'int32', 'required' => false, - 'type' => 'integer', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response object.', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'example' => '1E23D585-BBD8-436F-9615-54CACD6*****', - 'type' => 'string', - ], - 'PageNumber' => [ - 'description' => '', - 'example' => '1', - 'format' => 'int32', - 'type' => 'integer', - ], - 'PageSize' => [ - 'description' => '', - 'example' => '10', - 'format' => 'int32', - 'type' => 'integer', - ], - 'TotalCount' => [ - 'description' => '', - 'example' => '1', - 'format' => 'int32', - 'type' => 'integer', - ], - 'Instances' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Instance' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'properties' => [ - 'Status' => [ - 'description' => '', - 'example' => 'InUse', - 'type' => 'string', - ], - 'CreationTime' => [ - 'description' => '', - 'example' => '2020-11-11T03:11Z', - 'type' => 'string', - ], - 'ClientInstanceName' => [ - 'description' => '', - 'example' => 'test1', - 'type' => 'string', - ], - 'Description' => [ - 'description' => '', - 'example' => 'testDescription', - 'type' => 'string', - ], - 'ElasticAcceleratedInstanceId' => [ - 'description' => '', - 'example' => 'eais-sz8t15a7gt7****', - 'type' => 'string', - ], - 'InstanceName' => [ - 'description' => '', - 'example' => 'testName', - 'type' => 'string', - ], - 'ClientInstanceType' => [ - 'description' => '', - 'example' => 'ecs.g5ne.large', - 'type' => 'string', - ], - 'ClientInstanceId' => [ - 'description' => '', - 'example' => 'i-wz93g6pyat2g****', - 'type' => 'string', - ], - 'ZoneId' => [ - 'description' => '', - 'example' => 'cn-shenzhen-e', - 'type' => 'string', - ], - 'InstanceType' => [ - 'description' => '', - 'example' => 'eais.ei-a6.2xlarge', - 'type' => 'string', - ], - 'RegionId' => [ - 'description' => '', - 'example' => 'cn-shenzhen', - 'type' => 'string', - ], - 'Tags' => [ - 'type' => 'object', - 'itemNode' => true, - 'properties' => [ - 'Tag' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'properties' => [ - 'TagKey' => [ - 'description' => '', - 'example' => 'TestKey', - 'type' => 'string', - ], - 'TagValue' => [ - 'description' => '', - 'example' => 'TestValue', - 'type' => 'string', - ], - ], - 'type' => 'object', - ], - ], - ], - ], - 'Category' => [ - 'description' => '', - 'enumValueTitles' => [], - 'example' => 'jupyter', - 'type' => 'string', - ], - 'JupyterUrl' => [ - 'description' => '', - 'example' => 'http://121.41.**.24:8888', - 'type' => 'string', - ], - 'VSwitchId' => [ - 'description' => '', - 'example' => 'vsw-bp1sd131hfmd76r******', - 'type' => 'string', - ], - 'SecurityGroupId' => [ - 'description' => '', - 'example' => 'sg-bp1gppir818lx4******', - 'type' => 'string', - ], - 'StartTime' => [ - 'type' => 'string', - ], - 'ResourceGroupId' => [ - 'type' => 'string', - ], - 'PaymentType' => [ - 'type' => 'string', - ], - ], - 'type' => 'object', - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'A655AB0E-31BB-45AD-9255-FCE93F65****'], + 'ElasticAcceleratedInstanceId' => ['description' => 'The ID of the EAIS instance.', 'type' => 'string', 'example' => 'eais-hz8t15a7gt7z7j7i****', 'title' => ''], ], + 'title' => 'Schema of Response', 'type' => 'object', + 'example' => '', ], ], ], 'errorCodes' => [ - 404 => [ - [ - 'errorCode' => 'InvalidParameter.InstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], + 400 => [ + ['errorCode' => 'Timeout', 'errorMessage' => 'Operation timed out.', 'description' => ''], + ['errorCode' => 'CheckTimeout', 'errorMessage' => 'Check timed out.', 'description' => ''], + ['errorCode' => 'InconsistentSignature', 'errorMessage' => 'The signatures are inconsistent.', 'description' => ''], + ['errorCode' => 'InvalidInstanceType', 'errorMessage' => 'The instance type is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.TagKey', 'errorMessage' => 'The specified Tag.n.Key is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.TagValue', 'errorMessage' => 'The specified Tag.n.Value is invalid.', 'description' => ''], + ['errorCode' => 'InvalidRegionId', 'errorMessage' => 'The service does not support the region. You can call the DescribeRegions API to view the supported regions.', 'description' => ''], + ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of Tags is exceeded. The maximum is 20.', 'description' => ''], + ], + [ + ['errorCode' => 'CallRamApiFailed', 'errorMessage' => 'Failed to call the Alibaba Cloud RAM service.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'CreateOrderFailed', 'errorMessage' => 'Create order failed: %s.', 'description' => ''], + ['errorCode' => 'InDebt', 'errorMessage' => 'The current user has an overdue payment. Please top up first.', 'description' => ''], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation. %s', 'description' => ''], + ['errorCode' => 'NoResources', 'errorMessage' => 'The current regional resources are insufficient.', 'description' => ''], + ['errorCode' => 'OperationDenied.KeyValueNotNull', 'errorMessage' => 'The key value cannot be null.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A655AB0E-31BB-45AD-9255-FCE93F65****\\",\\n \\"ElasticAcceleratedInstanceId\\": \\"eais-hz8t15a7gt7z7j7i****\\"\\n}","type":"json"}]', + 'title' => 'Create a Jupyter EAIS Instance', + 'changeSet' => [ + ['createdAt' => '2025-01-15T01:59:38.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-23T05:59:35.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-05-23T02:28:46.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-10-25T01:41:51.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEaiJupyter'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eais:CreateEaiJupyter', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1E23D585-BBD8-436F-9615-54CACD67****\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"Instances\\": {\\n \\"Instance\\": [\\n {\\n \\"Status\\": \\"InUse\\",\\n \\"CreationTime\\": \\"1669945859000\\",\\n \\"ClientInstanceName\\": \\"test1\\",\\n \\"Description\\": \\"testDescription\\",\\n \\"ElasticAcceleratedInstanceId\\": \\"eais-sz8t15a7gt7****\\",\\n \\"InstanceName\\": \\"testName\\",\\n \\"ClientInstanceType\\": \\"ecs.g5ne.large\\",\\n \\"ClientInstanceId\\": \\"i-wz93g6pyat2g****\\",\\n \\"ZoneId\\": \\"cn-shenzhen-e\\",\\n \\"InstanceType\\": \\"eais.ei-a6.2xlarge\\",\\n \\"RegionId\\": \\"cn-shenzhen\\",\\n \\"Tags\\": {\\n \\"Tag\\": [\\n {\\n \\"TagKey\\": \\"TestKey\\",\\n \\"TagValue\\": \\"TestValue\\"\\n }\\n ]\\n },\\n \\"Category\\": \\"jupyter\\",\\n \\"JupyterUrl\\": \\"http://121.41.**.24:8888\\",\\n \\"VSwitchId\\": \\"vsw-bp1sd131hfmd76r******\\",\\n \\"SecurityGroupId\\": \\"sg-bp1gppir818lx4******\\",\\n \\"StartTime\\": \\"1669945889000\\",\\n \\"ResourceGroupId\\": \\"rg-acfmvpuy4a5****\\",\\n \\"PaymentType\\": \\"PayAsYouGo\\"\\n }\\n ]\\n }\\n}","type":"json"}]', - 'extraInfo' => ' ', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'title' => 'DescribeEais', ], - 'CreateEaiJupyter' => [ - 'summary' => '创建一个EAIS Jupyter环境', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateEaisEi' => [ + 'summary' => 'You can invoke the CreateEaisEi API to create an Elastic Accelerated Computing Instances (EAIS) instance and attach it to a client instance (an ECS instance or an ECI instance) to flexibly provide the GPU resources required by your business workloads and reduce costs. Taking an ECS instance as an example, you can bind an EAIS instance to a non-GPU ECS instance to create a new type of GPU-accelerated instance. Compared with directly purchasing a GPU-accelerated instance, this approach enables elastic usage of GPU resources (you can attach, detach, or release EAIS instances as needed), effectively reducing your deployment and usage costs.'."\n", + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1156,353 +1026,238 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'high', - 'chargeType' => 'paid', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'high', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'enumValueTitles' => [ - 'cn-hangzhou' => 'cn-hangzhou', - ], - 'example' => 'cn-hangzhou', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the region where the instance is deployed. You can call the [DescribeRegions](~~364379~~) operation to view the latest list of Alibaba Cloud regions. ', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'EaisType', + 'name' => 'InstanceType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'enumValueTitles' => [ - 'eais.ei-a6.2xlarge' => 'eais.ei-a6.2xlarge', - ], - 'example' => 'eais.ei-a6.2xlarge', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The instance type of the EAIS instance. Valid values:'."\n" + ."\n" + .'- eais.ei-a6.4xlarge'."\n" + .'- eais.ei-a6.2xlarge'."\n" + .'- eais.ei-a6.xlarge'."\n" + .'- eais.ei-a6.large', 'type' => 'string', 'required' => true, 'example' => 'eais.ei-a6.2xlarge', 'title' => ''], ], [ 'name' => 'VSwitchId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'vsw-uf6h3rbwbm90urjwa****', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the virtual switch (vSwitch) to which the instance belongs. ', 'type' => 'string', 'required' => true, 'example' => 'vsw-bp17wmd1wb6fwlimk****', 'title' => ''], ], [ 'name' => 'SecurityGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'sg-uf66jeqopgqa9hdn****', - 'required' => true, - 'type' => 'string', - ], - ], - [ - 'name' => 'ClientToken', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => '123e4567-e89b-12d3-a456-426655440000', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the security group to which the instance belongs. ', 'type' => 'string', 'required' => true, 'example' => 'sg-bp16jgp51ttnkbdr****', 'title' => ''], ], [ - 'name' => 'EnvironmentVar', + 'name' => 'InstanceName', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => '', - 'items' => [ - 'properties' => [ - 'Key' => [ - 'description' => '', - 'example' => 'MY_USER_NAME', - 'required' => false, - 'type' => 'string', - ], - 'Value' => [ - 'description' => '', - 'example' => 'test123', - 'required' => false, - 'type' => 'string', - ], - ], - 'required' => false, - 'type' => 'object', - ], - 'required' => false, - 'type' => 'array', - ], + 'schema' => ['description' => 'The name of the EAIS instance. The name must be 2 to 128 characters in length and can contain letters from the Unicode "letter" category (including English letters, Chinese characters, and digits). It can also include colons (:), underscores (_), periods (.), or hyphens (-). ', 'type' => 'string', 'required' => false, 'example' => 'test_ei', 'title' => ''], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the resource group to which the instance belongs. ', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmvpuy4a5****', 'title' => ''], ], [ - 'name' => 'EaisName', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'An idempotence parameter that ensures request idempotence. 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 in length. For more information, see [How to ensure idempotence](~~25693~~).', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000', 'title' => ''], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ + 'maxItems' => 21, + 'description' => 'A list of tags. The list can contain up to 20 subkeys. ', 'type' => 'array', 'items' => [ + 'description' => 'Tag information. ', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], + 'Key' => ['description' => 'The tag key. Constraints: '."\n" + .'- Cannot be empty. '."\n" + .'- Cannot exceed 128 characters. '."\n" + .'- Cannot start with aliyun or acs:. '."\n" + .'- Cannot contain http:// or https://.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''], + 'Value' => ['description' => 'The tag value. Constraints: '."\n" + .'- Cannot exceed 128 characters. '."\n" + .'- Cannot start with aliyun or acs:. '."\n" + .'- Cannot contain http:// or https://. ', 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'maxItems' => 21, + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', 'description' => 'Schema of Response', + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'example' => 'A655AB0E-31BB-45AD-9255-FCE93F6*****', - 'title' => 'Id of the request', - 'type' => 'string', - ], - 'ElasticAcceleratedInstanceId' => [ - 'description' => '', - 'example' => 'eais-hz8t15a7gt7z7j7i****', - 'type' => 'string', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request. ', 'type' => 'string', 'example' => 'F5FEB9AA-C108-577C-AB3D-D13524AF****'], + 'EiInstanceId' => ['description' => 'The ID of the EAIS instance. ', 'type' => 'string', 'example' => 'eais-hzu00xufs1c8j5nn****', 'title' => ''], ], - 'title' => 'Schema of Response', - 'type' => 'object', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Timeout', - 'errorMessage' => 'Operation timed out.', - ], - [ - 'errorCode' => 'CheckTimeout', - 'errorMessage' => 'Check timed out.', - ], - [ - 'errorCode' => 'InconsistentSignature', - 'errorMessage' => 'The signatures are inconsistent.', - ], - [ - 'errorCode' => 'InvalidInstanceType', - 'errorMessage' => 'The instance type is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter.TagKey', - 'errorMessage' => 'The specified Tag.n.Key is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter.TagValue', - 'errorMessage' => 'The specified Tag.n.Value is invalid.', - ], - [ - 'errorCode' => 'InvalidRegionId', - 'errorMessage' => 'The service does not support the region. You can call the DescribeRegions API to view the supported regions.', - ], - [ - 'errorCode' => 'NumberExceed.Tags', - 'errorMessage' => 'The maximum number of Tags is exceeded. The maximum is 20.', - ], + ['errorCode' => 'InvalidRegionId', 'errorMessage' => 'The service does not support the region. You can call the DescribeRegions API to view the supported regions.', 'description' => ''], + ['errorCode' => 'CheckTimeout', 'errorMessage' => 'Check timed out.', 'description' => ''], + ['errorCode' => 'InconsistentSignature', 'errorMessage' => 'The signatures are inconsistent.', 'description' => ''], + ['errorCode' => 'Duplicate.TagKey', 'errorMessage' => 'The Tag.N.Key contains a duplicated key.', 'description' => ''], + ['errorCode' => 'CustomTag.NumberExceed', 'errorMessage' => 'The maximum number of system tags for each resource is 20.', 'description' => ''], + ['errorCode' => 'InvalidInstanceType', 'errorMessage' => 'The instance type is invalid.', 'description' => ''], + ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of Tags is exceeded. The maximum is 20.', 'description' => ''], + ['errorCode' => 'Timeout', 'errorMessage' => 'Operation timed out.', 'description' => ''], ], [ - [ - 'errorCode' => 'CallRamApiFailed', - 'errorMessage' => 'Failed to call the Alibaba Cloud RAM service.', - ], + ['errorCode' => 'CallRamApiFailed', 'errorMessage' => 'Failed to call the Alibaba Cloud RAM service.', 'description' => ''], ], 403 => [ - [ - 'errorCode' => 'CreateOrderFailed', - 'errorMessage' => 'Create order failed: %s.', - ], - [ - 'errorCode' => 'InDebt', - 'errorMessage' => 'The current user has an overdue payment. Please top up first.', - ], - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation. %s', - ], - [ - 'errorCode' => 'NoResources', - 'errorMessage' => 'The current regional resources are insufficient.', - ], - [ - 'errorCode' => 'OperationDenied.KeyValueNotNull', - 'errorMessage' => 'The key value cannot be null.', - ], + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation. %s', 'description' => ''], + ['errorCode' => 'NoResources', 'errorMessage' => 'The current regional resources are insufficient.', 'description' => ''], + ['errorCode' => 'CreateOrderFailed', 'errorMessage' => 'Create order failed: %s.', 'description' => ''], + ['errorCode' => 'InDebt', 'errorMessage' => 'The current user has an overdue payment. Please top up first.', 'description' => ''], + ['errorCode' => 'OperationDenied.KeyValueNotNull', 'errorMessage' => 'The key value cannot be null.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A655AB0E-31BB-45AD-9255-FCE93F65****\\",\\n \\"ElasticAcceleratedInstanceId\\": \\"eais-hz8t15a7gt7z7j7i****\\"\\n}","type":"json"}]', - 'title' => 'CreateEaiJupyter', - ], - 'StopEaiJupyter' => [ - 'summary' => '停止一个部署了notebook的弹性加速计算实例', - 'methods' => [ - 'post', + 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'eais::2019-06-24::DescribeEais', 'callbackInterval' => 10000, 'maxCallbackTimes' => 60], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F5FEB9AA-C108-577C-AB3D-D13524AF****\\",\\n \\"EiInstanceId\\": \\"eais-hzu00xufs1c8j5nn****\\"\\n}","type":"json"}]', + 'title' => '(Recommended) Create an EAIS Instance '."\n", + 'changeSet' => [ + ['createdAt' => '2025-01-15T01:59:38.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-08-23T05:59:35.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEaisEi'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eais:CreateEaisEi', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/*'], + ], + ], + ], ], + 'translator' => 'machine', + ], + 'DeleteEai' => [ + 'summary' => 'If you no longer need an Elastic Accelerated Computing Instance (EAIS), you can call the DeleteEai API to release it.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'high', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region where the instance is located.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shenzhen', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'ElasticAcceleratedInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'eais-hze3x2gv9wimdj0k****', - ], + 'schema' => ['description' => 'The ID of the EAIS instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eais-sz8t15a7gt7z7j7i****', 'title' => ''], + ], + [ + 'name' => 'Force', + 'in' => 'query', + 'schema' => ['description' => 'Whether to force delete the instance when its status does not meet the deletion requirements. Valid values:'."\n" + ."\n" + .'- true: Force delete.'."\n" + ."\n" + .'- false: Do not force delete.'."\n" + ."\n" + .'Default value: false.'."\n" + ."\n" + .'Instance status and this parameter work as follows:'."\n" + ."\n" + .'- If the instance status is **Attachable** or **Attached**, you do not need to set this parameter. The instance releases normally.'."\n" + ."\n" + .'- If the instance status is **Creating**, **Attaching**, or **Detaching**, set this parameter to `true` to force release the instance.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'Schema of Response', - 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'F5FEB9AA-C108-577C-AB3D-D13524AF****', - ], - 'AccessDeniedDetail' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'AuthAction' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'eais:StopEaiJupyter', - ], - 'AuthPrincipalDisplayName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '20560152949032****', - ], - 'AuthPrincipalOwnerId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '170718266783****', - ], - 'AuthPrincipalType' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'SubUser' => 'SubUser', - 'AssumedRoleUser' => 'AssumedRoleUser', - ], - 'example' => 'SubUser', - ], - 'EncodedDiagnosticMessage' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'AQFmj0FOZo9BTjMyQTFDRkIzLUE5MTItNUIwNC1BQzkxLTcyMUFFQTUyQjhGQQ==', - ], - 'NoPermissionType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ExplicitDeny', - ], - 'PolicyType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'AccountLevelIdentityBasedPolicy', - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'F23AEEC7-4D98-4657-A104-02692701****', 'title' => ''], ], + 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidInstanceId', - 'errorMessage' => 'The InstanceId is invalid.', - ], + ['errorCode' => 'InvalidEaiStatus', 'errorMessage' => 'The current state of the EAIS instance does not support the operation.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation. %s', 'description' => ''], + ], + [ + ['errorCode' => 'InvalidParameter.InstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'asynchronous', - 'callback' => 'eais::2019-06-24::DescribeEais', - 'callbackInterval' => 3000, - 'maxCallbackTimes' => 5, - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F23AEEC7-4D98-4657-A104-02692701****\\"\\n}","type":"json"}]', + 'title' => 'Release an EAIS instance ', + 'changeSet' => [ + ['createdAt' => '2023-08-23T05:59:33.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-01-03T06:39:12.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F5FEB9AA-C108-577C-AB3D-D13524AF****\\",\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"eais:StopEaiJupyter\\",\\n \\"AuthPrincipalDisplayName\\": \\"20560152949032****\\",\\n \\"AuthPrincipalOwnerId\\": \\"170718266783****\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFmj0FOZo9BTjMyQTFDRkIzLUE5MTItNUIwNC1BQzkxLTcyMUFFQTUyQjhGQQ==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"AccountLevelIdentityBasedPolicy\\"\\n }\\n}","type":"json"}]', - ], - 'StartEaiJupyter' => [ - 'summary' => '启动一个部署了notebook的弹性加速计算实例', - 'methods' => [ - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEai'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eais:DeleteEai', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], ], + ], + 'DeleteEaiAll' => [ + 'summary' => 'Releases an Elastic Accelerated Computing Instance (EAIS) and its attached client instance. The client instance can be an Elastic Compute Service (ECS) instance or an Elastic Container Instance (ECI) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1510,126 +1265,160 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', - 'chargeType' => 'paid', - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'high', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shenzhen', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'ElasticAcceleratedInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the EAIS instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eais-hza1ahi0uuw0re33****', 'title' => ''], + ], + [ + 'name' => 'ClientInstanceId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the ECS or ECI instance that is attached to the EAIS instance.', 'type' => 'string', 'required' => false, 'example' => 'i-bp1fvhi60e1zizsp****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'AD4EA714-A35B-4710-BF92-8275BCDD****', 'title' => ''], + ], + 'type' => 'object', 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'eais-hze3x2gv9wimdj0k****', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD4EA714-A35B-4710-BF92-8275BCDD****\\"\\n}","type":"json"}]', + 'title' => 'Release an EAIS instance and its attached client instance', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-10-10T05:59:59.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEaiAll'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eais:DeleteEaiAll', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ['validationType' => 'conditional', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:ecs:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ['validationType' => 'conditional', 'product' => 'EAIS', 'resourceType' => 'ContainerGroup', 'arn' => 'acs:eci:{#regionId}:{#accountId}:containergroup/{#ContainerGroupId}'], + ], ], ], ], + ], + 'DeleteEaisEi' => [ + 'summary' => 'If you no longer need an Elastic Accelerated Computing Instance (EAIS), you can call the DeleteEaisEi operation to release the instance.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'high', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'EiInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the EAIS instance.', 'type' => 'string', 'required' => true, 'example' => 'eais-hzu00xufs1c8j5nn****', 'title' => ''], + ], + [ + 'name' => 'Force', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to forcefully delete the instance if its status does not meet the deletion criteria. Valid values:'."\n" + ."\n" + .'- true: Force deletes the instance.'."\n" + ."\n" + .'- false: Does not force delete the instance.'."\n" + ."\n" + .'Default value: false.'."\n" + ."\n" + .'The relationship between the instance status and this parameter is as follows:'."\n" + ."\n" + .'- If the instance is in the **Attachable** state, you do not need to set this parameter. The instance is released normally.'."\n" + ."\n" + .'- If the instance is not in the **Attachable** state, set this parameter to true to force release the instance.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '04DEB304-2436-4CB9-BB63-468BCEA0****', - ], - 'AccessDeniedDetail' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'AuthAction' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'eais:StartEaiJupyter', - ], - 'AuthPrincipalDisplayName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '20560152949032****', - ], - 'AuthPrincipalOwnerId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '170718266783****', - ], - 'AuthPrincipalType' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'SubUser' => 'SubUser', - 'AssumedRoleUser' => 'AssumedRoleUser', - ], - 'example' => 'SubUser', - ], - 'EncodedDiagnosticMessage' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'AQFmfh3BZn4dwUQyNzY4MDVELTgzQkUtNTBEOC04QjQyLTNGM0U1QUI5MjhBRA==', - ], - 'NoPermissionType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ExplicitDeny', - ], - 'PolicyType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'AccountLevelIdentityBasedPolicy', - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'F23AEEC7-4D98-4657-A104-02692701****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidInstanceId', - 'errorMessage' => 'The InstanceId is invalid.', - ], + ['errorCode' => 'InvalidInstanceId', 'errorMessage' => 'The InstanceId is invalid.', 'description' => ''], + ['errorCode' => 'InvalidRegionId', 'errorMessage' => 'The service does not support the region. You can call the DescribeRegions API to view the supported regions.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation. %s', 'description' => ''], + ], + [ + ['errorCode' => 'InvalidParameter.InstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'asynchronous', - 'callback' => 'eais::2019-06-24::DescribeEais', - 'callbackInterval' => 10000, - 'maxCallbackTimes' => 60, + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F23AEEC7-4D98-4657-A104-02692701****\\"\\n}","type":"json"}]', + 'title' => 'Release an EAIS instance ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEaisEi'], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eais:DeleteEaisEi', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"04DEB304-2436-4CB9-BB63-468BCEA0****\\",\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"eais:StartEaiJupyter\\",\\n \\"AuthPrincipalDisplayName\\": \\"20560152949032****\\",\\n \\"AuthPrincipalOwnerId\\": \\"170718266783****\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFmfh3BZn4dwUQyNzY4MDVELTgzQkUtNTBEOC04QjQyLTNGM0U1QUI5MjhBRA==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"AccountLevelIdentityBasedPolicy\\"\\n }\\n}","type":"json"}]', ], - 'GetInstanceMetrics' => [ - 'summary' => '获取EAIS实例级别的监控数据', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeEais' => [ + 'summary' => 'Call this API to retrieve details about one or more Elastic Accelerated Computing Instances (EAIS). The response includes the EAIS instance ID, instance status, instance type, and any attached client instances—such as ECS instances or ECI instances.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1637,1060 +1426,642 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ + 'description' => 'The region ID of the instance. Call [DescribeRegions](~~364379~~) to query the latest list of Alibaba Cloud regions.', + 'enumValueTitles' => [], 'type' => 'string', - 'required' => false, + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-shenzhen', + 'title' => '', ], ], [ - 'name' => 'InstanceId', + 'name' => 'ElasticAcceleratedInstanceIds', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'eais-hznzre6ffmz9num4****', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The IDs of the EAIS instances. The value is a JSON array of instance IDs. You can specify up to 200 IDs.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '["eais-id1", "eais-id2"]', 'title' => ''], ], [ - 'name' => 'MetricType', + 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'MemoryUsage', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The name of the EAIS instance. Fuzzy search with the asterisk (\\*) wildcard is supported.', 'type' => 'string', 'required' => false, 'example' => 'eais*', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => '2022-11-22T16:00:00Z', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The status of the EAIS instance. The status varies based on how the instance was created:'."\n" + ."\n" + .'- If you call [CreateEaisEi](~~2618548~~) to create the EAIS instance:'."\n" + ."\n" + .' - Pending: The instance is being prepared.'."\n" + ."\n" + .' - Creating: The instance is being created.'."\n" + ."\n" + .' - Bindable: The instance can be attached.'."\n" + ."\n" + .' - Bound: The instance is attached.'."\n" + ."\n" + .' - InUse: The instance is in use.'."\n" + ."\n" + .'- If you call [CreateEai](~~2618555~~) to create the EAIS instance:'."\n" + ."\n" + .' - Starting: The instance is being created.'."\n" + ."\n" + .' - Available: The instance can be attached.'."\n" + ."\n" + .' - Attaching: The instance is being attached.'."\n" + ."\n" + .' - InUse: The instance is attached.'."\n" + ."\n" + .' - Detaching: The instance is being detached.', 'type' => 'string', 'required' => false, 'example' => 'InUse', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'InstanceType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => '2022-11-22T16:30:00Z', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The instance type of the EAIS instance. Valid values:'."\n" + ."\n" + .'- eais.ei-a6.4xlarge'."\n" + ."\n" + .'- eais.ei-a6.2xlarge'."\n" + ."\n" + .'- eais.ei-a6.xlarge'."\n" + ."\n" + .'- eais.ei-a6.large', 'type' => 'string', 'required' => false, 'example' => 'eais.ei-a6.2xlarge', 'title' => ''], ], [ - 'name' => 'TimeStep', + 'name' => 'ClientInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the attached ECS instance or ECI instance.', 'type' => 'string', 'required' => false, 'example' => 'i-wz96zm231cua8hbv****', 'title' => ''], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmvpuy4a5****', 'title' => ''], + ], + [ + 'name' => 'Tag', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'example' => '5m', + 'maxItems' => 21, + 'description' => 'The tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The key of a tag. You can specify up to 20 tags. If you filter resources by a single tag, up to 1,000 resources can be returned. If you filter resources by multiple tags, up to 1,000 resources that have all the specified tags can be returned.'."\n" + ."\n" + .'If you filter resources by a single tag, the number of resources returned for that tag is limited to 1,000. If you filter resources by multiple tags, the number of resources that match all specified tags is limited to 1,000.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''], + 'Value' => ['description' => 'The tag value of the instance. Valid values for N are 1 to 20.', 'type' => 'string', 'required' => false, 'example' => 'TestValue', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'type' => 'string', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => 'Schema of Response', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****', - 'title' => 'Id of the request', - 'type' => 'string', - ], - 'InstanceId' => [ - 'description' => '', - 'example' => 'eais-bj8b53it29hfhj******', - 'type' => 'string', - ], - 'PodMetrics' => [ - 'description' => '', - 'items' => [ - 'properties' => [ - 'PodId' => [ - 'description' => 'Pod ID。', - 'example' => 'eais-hznzre6ffmz9num4****-579b587ddf-9txr6', - 'type' => 'string', - ], - 'Metrics' => [ - 'description' => '', - 'items' => [ - 'properties' => [ - 'Time' => [ - 'description' => '', - 'example' => '1669107528450', - 'type' => 'string', - ], - 'Value' => [ - 'description' => '', - 'example' => '4.536552540058814', - 'type' => 'string', - ], - ], - 'type' => 'object', - ], - 'type' => 'array', - ], - ], - 'type' => 'object', - ], - 'type' => 'array', - ], - ], - 'title' => 'Schema of Response', - 'type' => 'object', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"InstanceId\\": \\"eais-bj8b53it29hfhj******\\",\\n \\"PodMetrics\\": [\\n {\\n \\"PodId\\": \\"eais-hznzre6ffmz9num4****-579b587ddf-9txr6\\",\\n \\"Metrics\\": [\\n {\\n \\"Time\\": \\"1669107528450\\",\\n \\"Value\\": \\"4.536552540058814\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\n eais-bj8b53it29hfhj******\\n \\n eais-hznzre6ffmz9num4****-579b587ddf-9txr6\\n \\n \\n 4.536552540058814\\n \\n \\n","errorExample":""}]', - 'title' => 'GetInstanceMetrics', - ], - 'CreateEai' => [ - 'summary' => '创建一个弹性加速计算实例', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'high', - 'chargeType' => 'paid', - ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'cn-shenzhen', - 'required' => true, - 'type' => 'string', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'InstanceType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'eais.ei-a6.2xlarge', - 'required' => true, - 'type' => 'string', - ], - ], - [ - 'name' => 'ClientToken', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => '123e4567-e89b-12d3-a456-426655440000', - 'required' => false, - 'type' => 'string', - ], - ], - [ - 'name' => 'InstanceName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'eais-test01', - 'required' => false, - 'type' => 'string', - ], - ], - [ - 'name' => 'SecurityGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'sg-uf66jeqopgqa9hdn****', - 'required' => false, - 'type' => 'string', - ], - ], - [ - 'name' => 'VSwitchId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'vsw-uf6h3rbwbm90urjwa****', - 'required' => false, - 'type' => 'string', - ], - ], - [ - 'name' => 'ResourceGroupId', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The page number. The value must be 1 or greater. Default value: 1.'."\n" + ."\n" + .'Minimum value: 1.'."\n" + ."\n" + .'Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'Image', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], - ], - [ - 'name' => 'Tag', + 'name' => 'PageSize', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], - ], - ], - 'maxItems' => 21, - ], + 'schema' => ['description' => 'The number of entries per page. Valid values: 1 to 200. Default value: 20.'."\n" + ."\n" + .'Maximum: 200.'."\n" + ."\n" + .'Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'properties' => [ - 'ElasticAcceleratedInstanceId' => [ - 'description' => '', - 'example' => 'eais-sz8t15a7gt7z7j7i****', - 'type' => 'string', - ], - 'RequestId' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1E23D585-BBD8-436F-9615-54CACD67****', 'title' => ''], + 'PageNumber' => ['description' => 'The page number of the returned list.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Instances' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Instance' => [ + 'description' => 'The details of the EAIS instances.', + 'type' => 'array', + 'items' => [ + 'description' => 'The instance details.', + 'properties' => [ + 'Status' => ['description' => 'The status of the EAIS instance.', 'type' => 'string', 'example' => 'InUse', 'title' => ''], + 'CreationTime' => ['description' => 'The time when the instance was created. The time is a UNIX timestamp in milliseconds.', 'type' => 'string', 'example' => '1669945859000', 'title' => ''], + 'ClientInstanceName' => ['description' => 'The name of the ECS or ECI instance to which the EAIS instance is attached.', 'type' => 'string', 'example' => 'test1', 'title' => ''], + 'Description' => ['description' => 'The description of the EAIS instance.', 'type' => 'string', 'example' => 'testDescription', 'title' => ''], + 'ElasticAcceleratedInstanceId' => ['description' => 'The ID of the EAIS instance.', 'type' => 'string', 'example' => 'eais-sz8t15a7gt7****', 'title' => ''], + 'InstanceName' => ['description' => 'The name of the EAIS instance.', 'type' => 'string', 'example' => 'testName', 'title' => ''], + 'ClientInstanceType' => ['description' => 'The instance type of the ECS or ECI instance to which the EAIS instance is attached.', 'type' => 'string', 'example' => 'ecs.g5ne.large', 'title' => ''], + 'ClientInstanceId' => ['description' => 'The ID of the ECS or ECI instance to which the EAIS instance is attached.', 'type' => 'string', 'example' => 'i-wz93g6pyat2g****', 'title' => ''], + 'ZoneId' => ['description' => 'The zone ID of the EAIS instance.', 'type' => 'string', 'example' => 'cn-shenzhen-e', 'title' => ''], + 'InstanceType' => ['description' => 'The instance type of the EAIS instance. Valid values:'."\n" + ."\n" + .'- eais.ei-a6.4xlarge'."\n" + ."\n" + .'- eais.ei-a6.2xlarge'."\n" + ."\n" + .'- eais.ei-a6.xlarge'."\n" + ."\n" + .'- eais.ei-a6.large', 'type' => 'string', 'example' => 'eais.ei-a6.2xlarge', 'title' => ''], + 'RegionId' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'example' => 'cn-shenzhen', 'title' => ''], + 'Tags' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Tag' => [ + 'description' => 'The tags of the EAIS instance.', + 'type' => 'array', + 'items' => [ + 'description' => 'The collection of tags associated with the instance.', + 'properties' => [ + 'TagKey' => ['description' => 'The key of the tag.', 'type' => 'string', 'example' => 'TestKey', 'title' => ''], + 'TagValue' => ['description' => 'The value of the tag.', 'type' => 'string', 'example' => 'TestValue', 'title' => ''], + ], + 'type' => 'object', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Category' => [ + 'description' => 'The category of the EAIS instance. Valid values:'."\n" + ."\n" + .'- eais: a standard Elastic Accelerated Instance.'."\n" + ."\n" + .'- jupyter: an Elastic Accelerated Instance that is deployed with a specific ModelScope image and supports Jupyter Notebook.', + 'enumValueTitles' => [], + 'type' => 'string', + 'example' => 'jupyter', + 'title' => '', + ], + 'JupyterUrl' => ['description' => 'The endpoint of the Jupyter Notebook. This parameter is returned only when `Category` is set to `jupyter`. If `Category` is set to `eais`, an empty string is returned.', 'type' => 'string', 'example' => 'http://121.41.**.24:8888', 'title' => ''], + 'VSwitchId' => ['description' => 'The ID of the vSwitch.', 'type' => 'string', 'example' => 'vsw-bp1sd131hfmd76r******', 'title' => ''], + 'SecurityGroupId' => ['description' => 'The ID of the security group.', 'type' => 'string', 'example' => 'sg-bp1gppir818lx4******', 'title' => ''], + 'StartTime' => ['description' => 'The time when the instance was started. The time is a UNIX timestamp in milliseconds.', 'type' => 'string', 'example' => '1669945889000', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The ID of the resource group.', 'type' => 'string', 'example' => 'rg-acfmvpuy4a5****', 'title' => ''], + 'PaymentType' => ['description' => 'The billing method. Only pay-as-you-go (`PayAsYouGo`) is supported.', 'type' => 'string', 'example' => 'PayAsYouGo', 'title' => ''], + ], + 'type' => 'object', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'example' => 'A655AB0E-31BB-45AD-9255-FCE93F6*****', - 'type' => 'string', + 'title' => '', + 'example' => '', ], ], 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'CheckTimeout', - 'errorMessage' => 'Check timed out.', - ], - [ - 'errorCode' => 'CustomTag.NumberExceed', - 'errorMessage' => 'The maximum number of system tags for each resource is 20.', - ], - [ - 'errorCode' => 'Duplicate.TagKey', - 'errorMessage' => 'The Tag.N.Key contains a duplicated key.', - ], - [ - 'errorCode' => 'InvalidInstanceType', - 'errorMessage' => 'The instance type is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter.TagKey', - 'errorMessage' => 'The specified Tag.n.Key is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter.TagValue', - 'errorMessage' => 'The specified Tag.n.Value is invalid.', - ], - [ - 'errorCode' => 'InvalidRegionId', - 'errorMessage' => 'The service does not support the region. You can call the DescribeRegions API to view the supported regions.', - ], - [ - 'errorCode' => 'NumberExceed.Tags', - 'errorMessage' => 'The maximum number of Tags is exceeded. The maximum is 20.', - ], - [ - 'errorCode' => 'Timeout', - 'errorMessage' => 'Operation timed out.', - ], - ], - [ - [ - 'errorCode' => 'CallRamApiFailed', - 'errorMessage' => 'Failed to call the Alibaba Cloud RAM service.', - ], - ], - 403 => [ - [ - 'errorCode' => 'CreateOrderFailed', - 'errorMessage' => 'Create order failed: %s.', - ], - [ - 'errorCode' => 'InDebt', - 'errorMessage' => 'The current user has an overdue payment. Please top up first.', - ], - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation. %s', - ], - [ - 'errorCode' => 'NoResources', - 'errorMessage' => 'The current regional resources are insufficient.', - ], - [ - 'errorCode' => 'OperationDenied.KeyValueNotNull', - 'errorMessage' => 'The key value cannot be null.', - ], + 404 => [ + ['errorCode' => 'InvalidParameter.InstanceId.NotFound', 'errorMessage' => 'The specified InstanceId does not exist.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'asynchronous', - 'callback' => 'eais::2019-06-24::DescribeEais', - 'callbackInterval' => 20000, - 'maxCallbackTimes' => 30, - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ElasticAcceleratedInstanceId\\": \\"eais-sz8t15a7gt7z7j7i****\\",\\n \\"RequestId\\": \\"F5FEB9AA-C108-577C-AB3D-D13524AF****\\"\\n}","type":"json"}]', - 'extraInfo' => ' ', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1E23D585-BBD8-436F-9615-54CACD67****\\",\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 1,\\n \\"Instances\\": {\\n \\"Instance\\": [\\n {\\n \\"Status\\": \\"InUse\\",\\n \\"CreationTime\\": \\"1669945859000\\",\\n \\"ClientInstanceName\\": \\"test1\\",\\n \\"Description\\": \\"testDescription\\",\\n \\"ElasticAcceleratedInstanceId\\": \\"eais-sz8t15a7gt7****\\",\\n \\"InstanceName\\": \\"testName\\",\\n \\"ClientInstanceType\\": \\"ecs.g5ne.large\\",\\n \\"ClientInstanceId\\": \\"i-wz93g6pyat2g****\\",\\n \\"ZoneId\\": \\"cn-shenzhen-e\\",\\n \\"InstanceType\\": \\"eais.ei-a6.2xlarge\\",\\n \\"RegionId\\": \\"cn-shenzhen\\",\\n \\"Tags\\": {\\n \\"Tag\\": [\\n {\\n \\"TagKey\\": \\"TestKey\\",\\n \\"TagValue\\": \\"TestValue\\"\\n }\\n ]\\n },\\n \\"Category\\": \\"jupyter\\",\\n \\"JupyterUrl\\": \\"http://121.41.**.24:8888\\",\\n \\"VSwitchId\\": \\"vsw-bp1sd131hfmd76r******\\",\\n \\"SecurityGroupId\\": \\"sg-bp1gppir818lx4******\\",\\n \\"StartTime\\": \\"1669945889000\\",\\n \\"ResourceGroupId\\": \\"rg-acfmvpuy4a5****\\",\\n \\"PaymentType\\": \\"PayAsYouGo\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Query the list of EAIS instances', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', - 'title' => 'CreateEai', - ], - 'AttachEai' => [ - 'summary' => '将弹性加速计算实例挂载到ECS实例上', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'cn-shenzhen', - 'required' => true, - 'type' => 'string', - ], - ], - [ - 'name' => 'ElasticAcceleratedInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'eais-sz8t15a7gt7z7j7i****', - 'required' => true, - 'type' => 'string', - ], - ], - [ - 'name' => 'ClientInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'i-wz93g6pyat2g7t7o****', - 'required' => true, - 'type' => 'string', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'example' => 'C3BCB7DA-BEB6-4982-A765-6EA61EC84474', - 'type' => 'string', - ], - 'ElasticAcceleratedInstanceId' => [ - 'description' => '', - 'example' => 'eais-sz8t15a7gt7z7j7i****', - 'type' => 'string', - ], - 'ClientInstanceId' => [ - 'description' => '', - 'example' => 'i-wz93g6pyat2g7t7o****', - 'type' => 'string', - ], - ], - 'type' => 'object', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C3BCB7DA-BEB6-4982-A765-6EA61EC8****\\",\\n \\"ElasticAcceleratedInstanceId\\": \\"eais-sz8t15a7gt7z7j7i****\\",\\n \\"ClientInstanceId\\": \\"i-wz93g6pyat2g7t7o****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n C3BCB7DA-BEB6-4982-A765-6EA61EC8****\\n eais-sz8t15a7gt7z7j7i****\\n i-wz93g6pyat2g7t7o****\\n","errorExample":""}]', 'extraInfo' => ' ', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'title' => 'AttachEai', - ], - 'DetachEai' => [ - 'summary' => '从ECS实例上卸载弹性加速计算实例', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'cn-shenzhen', - 'required' => true, - 'type' => 'string', - ], - ], - [ - 'name' => 'ElasticAcceleratedInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'eais-sz8t15a7gt7z7j7i****', - 'required' => true, - 'type' => 'string', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'example' => '04DEB304-2436-4CB9-BB63-468BCEA03D9D', - 'type' => 'string', - ], + 'changeSet' => [ + ['createdAt' => '2025-03-06T02:49:53.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-09-15T07:10:06.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-09-01T09:20:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-27T01:42:53.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-01-03T06:39:12.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-11-22T07:56:31.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-10-10T05:59:59.000Z', 'description' => 'Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEais'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'eais:DescribeEais', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/*'], ], - 'type' => 'object', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"04DEB304-2436-4CB9-BB63-468BCEA0****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 04DEB304-2436-4CB9-BB63-468BCEA0****\\n","errorExample":""}]', - 'extraInfo' => ' ', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'title' => 'DetachEai', ], - 'DeleteEai' => [ - 'summary' => '释放一个弹性加速计算实例', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeRegions' => [ + 'summary' => 'List the Alibaba Cloud regions that are available to you.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'high', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'cn-shenzhen', - 'required' => true, - 'type' => 'string', - ], - ], - [ - 'name' => 'ElasticAcceleratedInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'eais-sz8t15a7gt7z7j7i****', - 'required' => true, - 'type' => 'string', - ], - ], - [ - 'name' => 'Force', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'false', - 'required' => false, - 'type' => 'boolean', - ], - ], - ], + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'example' => 'F23AEEC7-4D98-4657-A104-0269270*****', - 'type' => 'string', - ], - ], - 'type' => 'object', - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidEaiStatus', - 'errorMessage' => 'The current state of the EAIS instance does not support the operation.', - ], - ], - 403 => [ - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation. %s', - ], - ], - [ - [ - 'errorCode' => 'InvalidParameter.InstanceId.NotFound', - 'errorMessage' => 'The specified InstanceId does not exist.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F23AEEC7-4D98-4657-A104-02692701****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n F23AEEC7-4D98-4657-A104-02692701****\\n","errorExample":""}]', - 'extraInfo' => ' ', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'title' => 'DeleteEai', - ], - 'CreateEaiEci' => [ - 'summary' => '创建一个EAIS实例和ECI实例并绑定', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'high', - 'chargeType' => 'paid', - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [ - [ - 'name' => 'ClientToken', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '', - 'example' => '123e4567-e89b-12d3-a456-426655440000', - 'required' => false, - 'title' => '幂等参数', - 'type' => 'string', - ], - ], - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'cn-shenzhen', - 'required' => true, - 'type' => 'string', - ], - ], - [ - 'name' => 'EaisName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'eais-test01', - 'required' => false, - 'type' => 'string', - ], - ], - [ - 'name' => 'EaisType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'eais.ei-a6.2xlarge', - 'required' => true, - 'type' => 'string', - ], - ], - [ - 'name' => 'VSwitchId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'vsw-uf6h3rbwbm90urjwa****', - 'required' => true, - 'type' => 'string', - ], - ], - [ - 'name' => 'SecurityGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'sg-uf66jeqopgqa9hdn****', - 'required' => true, - 'type' => 'string', - ], - ], - [ - 'name' => 'Eci', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => '', - 'properties' => [ - 'Container' => [ - 'description' => '', - 'properties' => [ - 'Arg' => [ - 'description' => '', - 'example' => '100', - 'required' => false, - 'type' => 'string', - ], - 'Command' => [ - 'description' => '', - 'example' => 'sleep', - 'required' => false, - 'type' => 'string', - ], - 'Image' => [ - 'description' => '', - 'example' => 'nginx', - 'required' => false, - 'type' => 'string', - ], - 'Name' => [ - 'description' => '', - 'example' => 'test1', - 'required' => false, - 'type' => 'string', - ], - 'Volumes' => [ - 'description' => '', - 'example' => '/mnt/eais=eais,/models=eais/models', - 'required' => false, - 'type' => 'string', - ], - ], - 'required' => false, + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'F5FEB9AA-C108-577C-AB3D-D13524AF****', 'title' => ''], + 'Regions' => [ 'type' => 'object', - ], - 'EipId' => [ - 'description' => '', - 'example' => 'eip-uf66jeqopgqa9hdn****', - 'required' => false, - 'type' => 'string', - ], - 'Name' => [ - 'description' => '', - 'example' => 'test-nginx', - 'required' => false, - 'type' => 'string', - ], - 'Type' => [ - 'description' => '', - 'example' => 'ecs.c5.xlarge', - 'required' => false, - 'type' => 'string', - ], - 'Volume' => [ + 'itemNode' => true, + 'properties' => [ + 'Region' => [ + 'description' => 'A collection of region information.', + 'type' => 'array', + 'items' => [ + 'properties' => [ + 'RegionEndpoint' => ['description' => 'The endpoint for the region.', 'type' => 'string', 'example' => 'eais.cn-shenzhen.aliyuncs.com', 'title' => ''], + 'LocalName' => ['description' => 'The name of the region.', 'type' => 'string', 'example' => '华南1(深圳)', 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region.', 'type' => 'string', 'example' => 'cn-shenzhen', 'title' => ''], + ], + 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'example' => '00c7****-rivj.cn-hangzhou.extreme.nas.aliyuncs.com:/share', - 'required' => false, - 'type' => 'string', + 'title' => '', + 'example' => '', ], ], - 'required' => false, 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'CheckTimeout', 'errorMessage' => 'Check timed out.', 'description' => ''], + ['errorCode' => 'InconsistentSignature', 'errorMessage' => 'The signatures are inconsistent.', 'description' => ''], + ['errorCode' => 'Timeout', 'errorMessage' => 'Operation timed out.', 'description' => ''], + ], [ - 'name' => 'ResourceGroupId', + ['errorCode' => 'CallRamApiFailed', 'errorMessage' => 'Failed to call the Alibaba Cloud RAM service.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation. %s', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F5FEB9AA-C108-577C-AB3D-D13524AF****\\",\\n \\"Regions\\": {\\n \\"Region\\": [\\n {\\n \\"RegionEndpoint\\": \\"eais.cn-shenzhen.aliyuncs.com\\",\\n \\"LocalName\\": \\"华南1(深圳)\\",\\n \\"RegionId\\": \\"cn-shenzhen\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Query Regions', + 'changeSet' => [ + ['createdAt' => '2023-08-23T05:59:35.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'], + ], + ], + 'ramActions' => [], + ], + 'DetachEai' => [ + 'summary' => 'To improve business flexibility, you can call the DetachEai API to detach a target Elastic Accelerated Computing Instance (EAIS) from a client instance, such as an ECS or ECI instance. After detachment, the client instance no longer has access to the acceleration provided by the EAIS instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-shenzhen', 'title' => ''], + ], + [ + 'name' => 'ElasticAcceleratedInstanceId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the EAIS instance.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eais-sz8t15a7gt7z7j7i****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '04DEB304-2436-4CB9-BB63-468BCEA0****', 'title' => ''], + ], + 'type' => 'object', 'description' => '', - 'example' => 'rg-acfmvpuy4a5****', - 'required' => false, - 'type' => 'string', + 'title' => '', + 'example' => '', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"04DEB304-2436-4CB9-BB63-468BCEA0****\\"\\n}","type":"json"}]', + 'title' => 'Detach an EAIS instance ', + 'changeSet' => [ + ['createdAt' => '2023-01-03T06:39:12.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetachEai'], + ], + ], + 'ramActions' => [ [ - 'name' => 'Tag', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], - ], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eais:DetachEai', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], - 'maxItems' => 21, ], ], ], + ], + 'DetachEaisEi' => [ + 'summary' => 'For business flexibility, you can call the DetachEaisEi operation to detach an Elastic Accelerated Computing Instances (EAIS) instance from a client instance, such as an ECS or ECI instance. After the EAIS instance is detached, the client instance loses the acceleration benefits from the EAIS instance.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'EiInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the EAIS instance.', 'type' => 'string', 'required' => true, 'example' => 'eais-hzu00xufs1c8j5nn****', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', 'description' => 'Schema of Response', + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'example' => 'F5FEB9AA-C108-577C-AB3D-D13524AF****', - 'title' => 'Id of the request', - 'type' => 'string', - ], - 'ElasticAcceleratedInstanceId' => [ - 'description' => '', - 'example' => 'eais-sz8t15a7gt7z7j7i****', - 'type' => 'string', - ], - 'ClientInstanceId' => [ - 'description' => '', - 'example' => 'eci-2zeh03ygxlrzmfi6****', - 'type' => 'string', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '04DEB304-2436-4CB9-BB63-468BCEA0****'], ], - 'title' => 'Schema of Response', - 'type' => 'object', + 'example' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'CheckTimeout', - 'errorMessage' => 'Check timed out.', - ], - [ - 'errorCode' => 'CustomTag.NumberExceed', - 'errorMessage' => 'The maximum number of system tags for each resource is 20.', - ], - [ - 'errorCode' => 'Duplicate.TagKey', - 'errorMessage' => 'The Tag.N.Key contains a duplicated key.', - ], - [ - 'errorCode' => 'InvalidInstanceType', - 'errorMessage' => 'The instance type is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter.TagKey', - 'errorMessage' => 'The specified Tag.n.Key is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter.TagValue', - 'errorMessage' => 'The specified Tag.n.Value is invalid.', - ], - [ - 'errorCode' => 'InvalidRegionId', - 'errorMessage' => 'The service does not support the region. You can call the DescribeRegions API to view the supported regions.', - ], - [ - 'errorCode' => 'NumberExceed.Tags', - 'errorMessage' => 'The maximum number of Tags is exceeded. The maximum is 20.', - ], - [ - 'errorCode' => 'Timeout', - 'errorMessage' => 'Operation timed out.', - ], + 403 => [ + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation. %s', 'description' => ''], ], - [ - [ - 'errorCode' => 'CallRamApiFailed', - 'errorMessage' => 'Failed to call the Alibaba Cloud RAM service.', - ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"04DEB304-2436-4CB9-BB63-468BCEA0****\\"\\n}","type":"json"}]', + 'title' => 'Detach an EAIS instance ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetachEaisEi'], ], - 403 => [ - [ - 'errorCode' => 'CreateOrderFailed', - 'errorMessage' => 'Create order failed: %s.', - ], - [ - 'errorCode' => 'InDebt', - 'errorMessage' => 'The current user has an overdue payment. Please top up first.', - ], - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation. %s', - ], - [ - 'errorCode' => 'NoResources', - 'errorMessage' => 'The current regional resources are insufficient.', - ], - [ - 'errorCode' => 'OperationDenied.KeyValueNotNull', - 'errorMessage' => 'The key value cannot be null.', + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eais:DetachEaisEi', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F5FEB9AA-C108-577C-AB3D-D13524AF****\\",\\n \\"ElasticAcceleratedInstanceId\\": \\"eais-sz8t15a7gt7z7j7i****\\",\\n \\"ClientInstanceId\\": \\"eci-2zeh03ygxlrzmfi6****\\"\\n}","type":"json"}]', - 'title' => 'CreateEaiEci', ], - 'CreateEaiEcs' => [ - 'summary' => '创建一个EAIS实例和ECS实例并绑定', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetInstanceMetrics' => [ + 'summary' => 'Retrieves monitoring data for an EAIS Jupyter instance. The data includes GPU utilization, GPU memory utilization, CPU utilization, and memory utilization.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'high', - 'chargeType' => 'paid', - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'], 'parameters' => [ [ - 'name' => 'ClientToken', + 'name' => 'RegionId', 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '', - 'example' => '123e4567-e89b-12d3-a456-426655440000', - 'required' => false, - 'title' => '幂等参数', - 'type' => 'string', - ], + 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ - 'name' => 'RegionId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'cn-shenzhen', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the EAIS instance.', 'type' => 'string', 'required' => true, 'example' => 'eais-hznzre6ffmz9num4****', 'title' => ''], ], [ - 'name' => 'EaisName', + 'name' => 'MetricType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'eais-test01', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The metric type. Valid values:'."\n" + ."\n" + .'- GpuCoreUsage: GPU utilization'."\n" + ."\n" + .'- GpuMemoryUsage: GPU memory utilization'."\n" + ."\n" + .'- CpuCoreUsage: CPU utilization'."\n" + ."\n" + .'- MemoryUsage: Memory utilization', 'type' => 'string', 'required' => true, 'example' => 'MemoryUsage', 'title' => ''], ], [ - 'name' => 'Ecs', + 'name' => 'StartTime', 'in' => 'query', - 'style' => 'json', + 'schema' => ['description' => 'The start time of the query. The default value is one hour before the current time. Both UNIX timestamps and time strings are supported. Time strings must be in UTC and in the yyyy-MM-ddTHH:mm:SSZ format.', 'type' => 'string', 'required' => false, 'example' => '2022-11-22T16:00:00Z', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the query. The default value is the current time. Both UNIX timestamps and time strings are supported. Time strings must be in UTC and in the yyyy-MM-ddTHH:mm:SSZ format.', 'type' => 'string', 'required' => false, 'example' => '2022-11-22T16:30:00Z', 'title' => ''], + ], + [ + 'name' => 'TimeStep', + 'in' => 'query', + 'schema' => ['description' => 'The time step size. The default value is 5m. Valid units:'."\n" + ."\n" + .'- h: hour'."\n" + ."\n" + .'- m: minute'."\n" + ."\n" + .'- s: second'."\n" + ."\n" + .'If a unit is not specified, seconds (s) is used by default.', 'type' => 'string', 'required' => false, 'example' => '5m', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', + 'description' => 'Schema of Response', 'properties' => [ - 'ImageId' => [ - 'description' => '', - 'example' => 'aliyun_2_1903_x64_20G_alibase_20200324.vhd', - 'required' => false, - 'type' => 'string', - ], - 'InternetMaxBandwidthIn' => [ - 'description' => '', - 'example' => '10', - 'required' => false, - 'type' => 'string', - ], - 'InternetMaxBandwidthOut' => [ - 'description' => '', - 'example' => '10', - 'required' => false, - 'type' => 'string', - ], - 'Name' => [ - 'description' => '', - 'example' => 'test1', - 'required' => false, - 'type' => 'string', - ], - 'Password' => [ - 'description' => '', - 'example' => 'EcsV587!', - 'required' => false, - 'type' => 'string', - ], - 'SystemDiskCategory' => [ - 'description' => '', - 'example' => 'cloud_ssd', - 'required' => false, - 'type' => 'string', - ], - 'SystemDiskSize' => [ - 'description' => '', - 'example' => '40', - 'format' => 'int64', - 'required' => false, - 'type' => 'integer', - ], - 'Type' => [ - 'description' => '', - 'example' => 'ecs.g7.4xlarge', - 'required' => false, - 'type' => 'string', - ], - 'ZoneId' => [ - 'description' => '', - 'example' => 'cn-shenzhen-e', - 'required' => false, - 'type' => 'string', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3****'], + 'InstanceId' => ['description' => 'The ID of the EAIS instance.', 'type' => 'string', 'example' => 'eais-bj8b53it29hfhj******', 'title' => ''], + 'PodMetrics' => [ + 'description' => 'A list of pod metrics.', + 'items' => [ + 'properties' => [ + 'PodId' => ['description' => 'The pod ID.', 'type' => 'string', 'example' => 'eais-hznzre6ffmz9num4****-579b587ddf-9txr6', 'title' => ''], + 'Metrics' => [ + 'description' => 'A list of metric data.', + 'items' => [ + 'properties' => [ + 'Time' => ['description' => 'The timestamp. Unit: milliseconds.', 'type' => 'string', 'example' => '1669107528450', 'title' => ''], + 'Value' => ['description' => 'The utilization percentage. The value is between 0 and 100.', 'type' => 'string', 'example' => '4.536552540058814', 'title' => ''], + ], + 'type' => 'object', + 'description' => 'The metric data.', + 'title' => '', + 'example' => '', + ], + 'type' => 'array', + 'title' => '', + 'example' => '', + ], + ], + 'type' => 'object', + 'description' => 'The pod metrics.', + 'title' => '', + 'example' => '', + ], + 'type' => 'array', + 'title' => '', + 'example' => '', ], ], - 'required' => false, + 'title' => 'Schema of Response', 'type' => 'object', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\\",\\n \\"InstanceId\\": \\"eais-bj8b53it29hfhj******\\",\\n \\"PodMetrics\\": [\\n {\\n \\"PodId\\": \\"eais-hznzre6ffmz9num4****-579b587ddf-9txr6\\",\\n \\"Metrics\\": [\\n {\\n \\"Time\\": \\"1669107528450\\",\\n \\"Value\\": \\"4.536552540058814\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query Monitoring Data of an EAIS Jupyter Instance', + 'changeSet' => [ + ['createdAt' => '2023-08-28T07:31:29.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-27T01:42:53.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetInstanceMetrics'], + ], + ], + 'ramActions' => [ [ - 'name' => 'EaisType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'eais.ei-a6.2xlarge', - 'required' => true, - 'type' => 'string', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eais:GetInstanceMetrics', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], ], ], + ], + ], + 'ListTagResources' => [ + 'summary' => 'Queries the tags attached to one or more EAIS resources.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'VSwitchId', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'], + 'parameters' => [ + [ + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'vsw-uf6h3rbwbm90urjwa****', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the region where the resource resides. Call [DescribeRegions](~~364379~~) to view the latest list of Alibaba Cloud regions.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'SecurityGroupId', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'sg-uf66jeqopgqa9hdn****', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The token to start the next query.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'caeba0bbb2be03f84eb48b699f0a4884'], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['description' => 'The resource type. The only valid value is `instance`.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'instance'], + ], + [ + 'name' => 'ResourceId', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'example' => 'rg-acfmvpuy4a5****', + 'title' => '', + 'description' => 'The resource ID. A maximum of 50 IDs can be specified.', + 'type' => 'array', + 'items' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => false, 'example' => 'eais-hzs4h26yyt5xkcke****', 'title' => ''], 'required' => false, - 'type' => 'string', + 'maxItems' => 51, + 'example' => '', ], ], [ @@ -2698,130 +2069,120 @@ 'in' => 'query', 'style' => 'repeatList', 'schema' => [ + 'title' => '', + 'description' => 'A list of tags. The list can contain a maximum of 20 tags.', 'type' => 'array', 'items' => [ + 'description' => 'The tag object.', 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'type' => 'string', - ], - 'Value' => [ - 'type' => 'string', - ], + 'properties' => [ + 'Key' => ['description' => 'The tag key. Constraints:'."\n" + ."\n" + .'- Cannot be empty.'."\n" + ."\n" + .'- A maximum of 128 characters in length.'."\n" + ."\n" + .'- Cannot start with \\`aliyun\\` or \\`acs:\\`.'."\n" + ."\n" + .'- Cannot contain \\`http\\://\\` or \\`https\\://\\`.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'TestKey'], + 'Value' => ['description' => 'The tag value. Constraints:'."\n" + ."\n" + .'- A maximum of 128 characters in length.'."\n" + ."\n" + .'- Cannot start with \\`aliyun\\` or \\`acs:\\`.'."\n" + ."\n" + .'- Cannot contain \\`http\\://\\` or \\`https\\://\\`.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'TestValue'], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, 'maxItems' => 21, + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'Schema of Response', + 'title' => 'Schema of Response', + 'description' => 'The response schema.', + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'example' => 'F5FEB9AA-C108-577C-AB3D-D13524AF****', - 'title' => 'Id of the request', - 'type' => 'string', - ], - 'ElasticAcceleratedInstanceId' => [ - 'description' => '', - 'example' => 'eais-sz8t15a7gt7z7j7i****', - 'type' => 'string', - ], - 'ClientInstanceId' => [ - 'description' => '', - 'example' => 'i-bp1hjrvleawl4ogb****', - 'type' => 'string', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'F23AEEC7-4D98-4657-A104-02692701****'], + 'NextToken' => ['description' => 'The token to start the next query. If this parameter is empty, all results have been returned.', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a4885', 'title' => ''], + 'TagResources' => [ + 'description' => 'A collection of resources and their tags. This collection includes information such as resource IDs, resource types, and tag key-value pairs.', + 'type' => 'array', + 'items' => [ + 'description' => 'An object that contains information about a resource and its tags.', + 'type' => 'object', + 'properties' => [ + 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'TestKey', 'title' => ''], + 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'TestValue', 'title' => ''], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'example' => 'eais-hzs4h26yyt5xkcke****', 'title' => ''], + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'instance', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], - 'title' => 'Schema of Response', - 'type' => 'object', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'CheckTimeout', - 'errorMessage' => 'Check timed out.', - ], - [ - 'errorCode' => 'CustomTag.NumberExceed', - 'errorMessage' => 'The maximum number of system tags for each resource is 20.', - ], - [ - 'errorCode' => 'Duplicate.TagKey', - 'errorMessage' => 'The Tag.N.Key contains a duplicated key.', - ], - [ - 'errorCode' => 'InvalidInstanceType', - 'errorMessage' => 'The instance type is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter.TagKey', - 'errorMessage' => 'The specified Tag.n.Key is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter.TagValue', - 'errorMessage' => 'The specified Tag.n.Value is invalid.', - ], - [ - 'errorCode' => 'InvalidRegionId', - 'errorMessage' => 'The service does not support the region. You can call the DescribeRegions API to view the supported regions.', - ], - [ - 'errorCode' => 'NumberExceed.Tags', - 'errorMessage' => 'The maximum number of Tags is exceeded. The maximum is 20.', - ], - [ - 'errorCode' => 'Timeout', - 'errorMessage' => 'Operation timed out.', - ], - ], - [ - [ - 'errorCode' => 'CallRamApiFailed', - 'errorMessage' => 'Failed to call the Alibaba Cloud RAM service.', - ], - ], - 403 => [ - [ - 'errorCode' => 'CreateOrderFailed', - 'errorMessage' => 'Create order failed: %s.', - ], - [ - 'errorCode' => 'InDebt', - 'errorMessage' => 'The current user has an overdue payment. Please top up first.', - ], - [ - 'errorCode' => 'NoPermission', - 'errorMessage' => 'You are not authorized to perform this operation. %s', - ], - [ - 'errorCode' => 'NoResources', - 'errorMessage' => 'The current regional resources are insufficient.', - ], - [ - 'errorCode' => 'OperationDenied.KeyValueNotNull', - 'errorMessage' => 'The key value cannot be null.', + ['errorCode' => 'MissingParameter.ResourceIdOrTag', 'errorMessage' => 'Either ResourceId or Tag must be specified.', 'description' => ''], + ['errorCode' => 'InvalidNextToken', 'errorMessage' => 'The NextToken is invalid.', 'description' => ''], + ['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of ResourceIds is exceeded. The maximum is 50.', 'description' => ''], + ['errorCode' => 'MissingParameter.ResourceIds', 'errorMessage' => 'You must specify ResourceIds.', 'description' => ''], + ['errorCode' => 'Duplicate.ResourceId', 'errorMessage' => 'The request contains duplicated ResourceId.', 'description' => ''], + ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of Tags is exceeded. The maximum is 20.', 'description' => ''], + ['errorCode' => 'Duplicate.TagKey', 'errorMessage' => 'The Tag.N.Key contains a duplicated key.', 'description' => ''], + ['errorCode' => 'InvalidResourceId.NotFound', 'errorMessage' => 'The ResourceId does not exist.', 'description' => ''], + ['errorCode' => 'InvalidParameter.TagKey', 'errorMessage' => 'The specified Tag.n.Key is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.TagValue', 'errorMessage' => 'The specified Tag.n.Value is invalid.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F23AEEC7-4D98-4657-A104-02692701****\\",\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4885\\",\\n \\"TagResources\\": [\\n {\\n \\"TagKey\\": \\"TestKey\\",\\n \\"TagValue\\": \\"TestValue\\",\\n \\"ResourceId\\": \\"eais-hzs4h26yyt5xkcke****\\",\\n \\"ResourceType\\": \\"instance\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query Tag List ', + 'description' => 'You can specify at least one of the following parameters in the request to identify the resources to query.'."\n" + ."\n" + .'- ResourceId.N'."\n" + ."\n" + .'- Tag.N (Tag.N.Key and Tag.N.Value)'."\n" + ."\n" + .'If you specify both the Tag.N and ResourceId.N parameters, the response includes only the EAIS resources that meet both conditions.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'eais:ListTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F5FEB9AA-C108-577C-AB3D-D13524AF****\\",\\n \\"ElasticAcceleratedInstanceId\\": \\"eais-sz8t15a7gt7z7j7i****\\",\\n \\"ClientInstanceId\\": \\"i-bp1hjrvleawl4ogb****\\"\\n}","type":"json"}]', - 'title' => 'CreateEaiEcs', ], - 'DeleteEaiAll' => [ - 'summary' => '释放一个弹性加速计算实例以及与其绑定的ECS或ECI实例', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'StartEaiJupyter' => [ + 'summary' => 'Start a notebook on an Elastic Accelerated Computing Instance.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2829,80 +2190,91 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'high', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'high', 'chargeType' => 'paid', 'autoTest' => true, 'tenantRelevance' => 'tenant'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'cn-shenzhen', - 'required' => true, - 'type' => 'string', - ], - ], - [ - 'name' => 'ElasticAcceleratedInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => 'eais-hza1ahi0uuw0re33****', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The region ID of the instance. Call [DescribeRegions](~~364379~~) to view the latest Alibaba Cloud regions.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ClientInstanceId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'i-bp1fvhi60e1zizsp****', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The EAIS instance ID.', 'type' => 'string', 'required' => true, 'example' => 'eais-hze3x2gv9wimdj0k****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Schema of Response', + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'example' => 'AD4EA714-A35B-4710-BF92-8275BCDDB69F', - 'type' => 'string', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '04DEB304-2436-4CB9-BB63-468BCEA0****'], + 'AccessDeniedDetail' => [ + 'description' => 'Access denied details.'."\n" + ."\n" + .'> This field is returned only if RAM authentication fails.', + 'type' => 'object', + 'properties' => [ + 'AuthAction' => ['description' => 'The permission requiring authentication.', 'type' => 'string', 'example' => 'eais:StartEaiJupyter', 'title' => ''], + 'AuthPrincipalDisplayName' => ['description' => 'The authorization entity display name.', 'type' => 'string', 'example' => '20560152949032****', 'title' => ''], + 'AuthPrincipalOwnerId' => ['description' => 'The authorization entity owner ID.', 'type' => 'string', 'example' => '170718266783****', 'title' => ''], + 'AuthPrincipalType' => [ + 'description' => 'The authorization entity type.', + 'enumValueTitles' => ['SubUser' => 'SubUser', 'AssumedRoleUser' => 'AssumedRoleUser'], + 'type' => 'string', + 'example' => 'SubUser', + 'title' => '', + ], + 'EncodedDiagnosticMessage' => ['description' => 'The encoded diagnostic message.', 'type' => 'string', 'example' => 'AQFmfh3BZn4dwUQyNzY4MDVELTgzQkUtNTBEOC04QjQyLTNGM0U1QUI5MjhBRA==', 'title' => ''], + 'NoPermissionType' => ['description' => 'No specific permission type is identified.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], + 'PolicyType' => ['description' => 'The policy type.', 'type' => 'string', 'example' => 'AccountLevelIdentityBasedPolicy', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], - 'type' => 'object', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidInstanceId', 'errorMessage' => 'The InstanceId is invalid.', 'description' => ''], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AD4EA714-A35B-4710-BF92-8275BCDD****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n AD4EA714-A35B-4710-BF92-8275BCDD****\\n","errorExample":""}]', - 'extraInfo' => ' ', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'title' => 'DeleteEaiAll', - ], - 'ChangeResourceGroup' => [ - 'summary' => '资源转组', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'eais::2019-06-24::DescribeEais', 'callbackInterval' => 10000, 'maxCallbackTimes' => 60], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"04DEB304-2436-4CB9-BB63-468BCEA0****\\",\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"eais:StartEaiJupyter\\",\\n \\"AuthPrincipalDisplayName\\": \\"20560152949032****\\",\\n \\"AuthPrincipalOwnerId\\": \\"170718266783****\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFmfh3BZn4dwUQyNzY4MDVELTgzQkUtNTBEOC04QjQyLTNGM0U1QUI5MjhBRA==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"AccountLevelIdentityBasedPolicy\\"\\n }\\n}","type":"json"}]', + 'title' => 'Start a Jupyter EAIS instance ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartEaiJupyter'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eais:StartEaiJupyter', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], ], + ], + 'StartEaisEi' => [ + 'summary' => 'After you create an EAIS instance and attach it to a client instance, call the StartEaisEi API. This API starts an Elastic Accelerated Computing (EAIS) instance to provide GPU resources for your client, enabling flexible scaling of GPU resources.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2910,198 +2282,175 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'high', 'chargeType' => 'paid', 'autoTest' => true, 'tenantRelevance' => 'tenant'], 'parameters' => [ [ - 'name' => 'ResourceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'eais-hzs4h26yyt5xkcke****', - 'required' => true, - 'title' => '资源Id', - 'type' => 'string', - ], - ], - [ - 'name' => 'ResourceRegionId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'cn-hangzhou', - 'required' => true, - 'title' => '地域Id', - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the region where the instance resides.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'EiInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'rg-acfmvpuy4a5****', - 'required' => true, - 'title' => '目标资源组', - 'type' => 'string', - ], + 'schema' => ['description' => 'The EAIS instance ID.', 'type' => 'string', 'required' => true, 'example' => 'eais-hzu00xufs1c8j5nn****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', 'description' => 'Schema of Response', + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'example' => 'C3BCB7DA-BEB6-4982-A765-6EA61EC8****', - 'title' => 'Id of the request', - 'type' => 'string', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'F23AEEC7-4D98-4657-A104-02692701****'], ], - 'title' => 'Schema of Response', - 'type' => 'object', + 'example' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'NoPermission.ChangeResourceGroup', - 'errorMessage' => 'You are not authorized to change resourcegroup', - ], - [ - 'errorCode' => 'MissingParameter.ResourceRegionId', - 'errorMessage' => 'The ResourceRegionId parameters that are required for processing this request are missing', - ], - [ - 'errorCode' => 'MissingParameter.ResourceId', - 'errorMessage' => 'The ResourceId parameters that are required for processing this request are missing', - ], - [ - 'errorCode' => 'MissingParameter.ResourceGroupId', - 'errorMessage' => 'The ResourceGroupId parameters that are required for processing this request are missing', - ], - [ - 'errorCode' => 'InvalidResourceGroup', - 'errorMessage' => 'The specified ResourceGroupId is invalid', - ], - [ - 'errorCode' => 'SystemError', - 'errorMessage' => 'A system error occurred while processing your request', - ], - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => ' The specified resource is not found', - ], + 403 => [ + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation. %s', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C3BCB7DA-BEB6-4982-A765-6EA61EC8****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n C3BCB7DA-BEB6-4982-A765-6EA61EC8****\\n","errorExample":""}]', - 'title' => 'ChangeResourceGroup', - ], - 'TagResources' => [ - 'summary' => '为弹性加速计算实例创建并绑定标签', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F23AEEC7-4D98-4657-A104-02692701****\\"\\n}","type":"json"}]', + 'title' => 'Start an EAIS instance', + 'description' => '**Before using this API, understand the [billing information](~~191197~~) for EAIS products.**', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartEaisEi'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eais:StartEaisEi', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], ], + ], + 'StopEaiJupyter' => [ + 'summary' => 'Stop an Elastic Accelerated Computing Instances (EAIS) instance that has a Jupyter notebook deployed.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the instance. You can call [DescribeRegions](~~364379~~) to view the latest list of Alibaba Cloud regions.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ResourceType', + 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The EAIS instance ID.', 'type' => 'string', 'required' => true, 'example' => 'eais-hze3x2gv9wimdj0k****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '资源类型', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'instance', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'F5FEB9AA-C108-577C-AB3D-D13524AF****'], + 'AccessDeniedDetail' => [ + 'description' => 'Details about the access denial.'."\n" + ."\n" + .'> This field is returned only when RAM verification fails.', + 'type' => 'object', + 'properties' => [ + 'AuthAction' => ['description' => 'The permission point that requires authentication.', 'type' => 'string', 'example' => 'eais:StopEaiJupyter', 'title' => ''], + 'AuthPrincipalDisplayName' => ['description' => 'The display name of the entity.', 'type' => 'string', 'example' => '20560152949032****', 'title' => ''], + 'AuthPrincipalOwnerId' => ['description' => 'The owner ID of the entity.', 'type' => 'string', 'example' => '170718266783****', 'title' => ''], + 'AuthPrincipalType' => [ + 'description' => 'The type of the entity.', + 'enumValueTitles' => ['SubUser' => 'SubUser', 'AssumedRoleUser' => 'AssumedRoleUser'], + 'type' => 'string', + 'example' => 'SubUser', + 'title' => '', + ], + 'EncodedDiagnosticMessage' => ['description' => 'The encoded diagnostic message.', 'type' => 'string', 'example' => 'AQFmj0FOZo9BTjMyQTFDRkIzLUE5MTItNUIwNC1BQzkxLTcyMUFFQTUyQjhGQQ==', 'title' => ''], + 'NoPermissionType' => ['description' => 'The type of missing permission.', 'type' => 'string', 'example' => 'ExplicitDeny', 'title' => ''], + 'PolicyType' => ['description' => 'The policy type.', 'type' => 'string', 'example' => 'AccountLevelIdentityBasedPolicy', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'ResourceId', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'title' => '资源ID,最多 50个子项', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'eais-hzgv8uxixkho5b3w****', + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidInstanceId', 'errorMessage' => 'The InstanceId is invalid.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'eais::2019-06-24::DescribeEais', 'callbackInterval' => 3000, 'maxCallbackTimes' => 5], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F5FEB9AA-C108-577C-AB3D-D13524AF****\\",\\n \\"AccessDeniedDetail\\": {\\n \\"AuthAction\\": \\"eais:StopEaiJupyter\\",\\n \\"AuthPrincipalDisplayName\\": \\"20560152949032****\\",\\n \\"AuthPrincipalOwnerId\\": \\"170718266783****\\",\\n \\"AuthPrincipalType\\": \\"SubUser\\",\\n \\"EncodedDiagnosticMessage\\": \\"AQFmj0FOZo9BTjMyQTFDRkIzLUE5MTItNUIwNC1BQzkxLTcyMUFFQTUyQjhGQQ==\\",\\n \\"NoPermissionType\\": \\"ExplicitDeny\\",\\n \\"PolicyType\\": \\"AccountLevelIdentityBasedPolicy\\"\\n }\\n}","type":"json"}]', + 'title' => 'Stop a Jupyter EAIS instance', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopEaiJupyter'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eais:StopEaiJupyter', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], ], - 'required' => true, - 'maxItems' => 51, ], ], + ], + ], + 'StopEaisEi' => [ + 'summary' => 'Call the StopEaisEi API to stop an EAIS instance when you no longer need Elastic Accelerated Computing Instances to provide GPU resources for your client instance. This action prevents resource waste and reduces costs.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'], + 'parameters' => [ [ - 'name' => 'Tag', + 'name' => 'RegionId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'title' => '标签列表,最多包含20个子项', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => '标签键', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'TestKey', - ], - 'Value' => [ - 'title' => '标签值', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'TestValue', - ], - ], - 'required' => false, - ], - 'required' => true, - 'maxItems' => 21, - ], + 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'EiInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The EAIS instance ID.', 'type' => 'string', 'required' => true, 'example' => 'eais-hzu00xufs1c8j5nn****', 'title' => ''], ], ], 'responses' => [ @@ -3111,76 +2460,44 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'F23AEEC7-4D98-4657-A104-02692701****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'NumberExceed.ResourceIds', - 'errorMessage' => 'The maximum number of ResourceIds is exceeded. The maximum is 50.', - ], - [ - 'errorCode' => 'MissingParameter.ResourceIds', - 'errorMessage' => 'You must specify ResourceIds.', - ], - [ - 'errorCode' => 'Duplicate.ResourceId', - 'errorMessage' => 'The request contains duplicated ResourceId.', - ], - [ - 'errorCode' => 'NumberExceed.Tags', - 'errorMessage' => 'The maximum number of Tags is exceeded. The maximum is 20.', - ], - [ - 'errorCode' => 'Duplicate.TagKey', - 'errorMessage' => 'The Tag.N.Key contains a duplicated key.', - ], - [ - 'errorCode' => 'InvalidResourceId.NotFound', - 'errorMessage' => 'The ResourceId does not exist.', - ], - [ - 'errorCode' => 'InvalidParameter.TagKey', - 'errorMessage' => 'The specified Tag.n.Key is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter.TagValue', - 'errorMessage' => 'The specified Tag.n.Value is invalid.', - ], - [ - 'errorCode' => 'CustomTag.NumberExceed', - 'errorMessage' => 'The maximum number of system tags for each resource is 20.', - ], - ], 403 => [ - [ - 'errorCode' => 'OperationDenied.KeyValueNotNull', - 'errorMessage' => 'The key value cannot be null.', + ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation. %s', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F23AEEC7-4D98-4657-A104-02692701****\\"\\n}","type":"json"}]', + 'title' => 'Stop an EAIS instance ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopEaisEi'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eais:StopEaisEi', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\n","errorExample":""}]', ], - 'UntagResources' => [ - 'summary' => '解绑并删除标签', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'TagResources' => [ + 'summary' => 'Create and attach tags to specified EAIS resources.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -3188,80 +2505,68 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the resource. Call [DescribeRegions](~~364379~~) to view the latest Alibaba Cloud region list.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'title' => '资源类型', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'instance', - ], - ], - [ - 'name' => 'All', - 'in' => 'query', - 'schema' => [ - 'title' => '是否全部删除,只针对TagKey.N为空时有效。 取值范围: true false True False 默认是 false', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The resource type definition. Currently, only `instance` is supported.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'instance'], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'title' => '资源ID,最多50个子项', - 'description' => '', + 'title' => '', + 'description' => 'Resource ID, up to 50 subkeys.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'eais-hzs4h26yyt5xkcke****', - ], + 'items' => ['description' => 'Resource ID.', 'type' => 'string', 'required' => false, 'example' => 'eais-hzgv8uxixkho5b3w****', 'title' => ''], 'required' => true, 'maxItems' => 51, + 'example' => '', ], ], [ - 'name' => 'TagKey', + 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'title' => '标签键,最多20个子项', - 'description' => '', + 'title' => '', + 'description' => 'Tag list, up to 20 subkeys.', 'type' => 'array', 'items' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'Tag object.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'Tag key. Limits:'."\n" + ."\n" + .'- Cannot be empty.'."\n" + ."\n" + .'- Supports up to 128 characters.'."\n" + ."\n" + .'- Cannot start with aliyun or acs:.'."\n" + ."\n" + .'- Cannot contain http\\:// or https\\://.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'TestKey'], + 'Value' => ['description' => 'Tag value. Limits:'."\n" + ."\n" + .'- Supports up to 128 characters.'."\n" + ."\n" + .'- Cannot start with aliyun or acs:.'."\n" + ."\n" + .'- Cannot contain http\\:// or https\\://.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'TestValue'], + ], 'required' => false, - 'example' => 'TestKey', + 'title' => '', + 'example' => '', ], - 'required' => false, + 'required' => true, 'maxItems' => 21, + 'example' => '', ], ], ], @@ -3272,154 +2577,113 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '1E23D585-BBD8-436F-9615-54CACD67****', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NumberExceed.ResourceIds', - 'errorMessage' => 'The maximum number of ResourceIds is exceeded. The maximum is 50.', - ], - [ - 'errorCode' => 'Duplicate.ResourceId', - 'errorMessage' => 'The request contains duplicated ResourceId.', - ], - [ - 'errorCode' => 'MissingParameter.ResourceIds', - 'errorMessage' => 'You must specify ResourceIds.', - ], - [ - 'errorCode' => 'Duplicate.TagKey', - 'errorMessage' => 'The Tag.N.Key contains a duplicated key.', - ], - [ - 'errorCode' => 'InvalidParameter.TagKey', - 'errorMessage' => 'The specified Tag.n.Key is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter.TagValue', - 'errorMessage' => 'The specified Tag.n.Value is invalid.', - ], + ['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of ResourceIds is exceeded. The maximum is 50.', 'description' => ''], + ['errorCode' => 'MissingParameter.ResourceIds', 'errorMessage' => 'You must specify ResourceIds.', 'description' => ''], + ['errorCode' => 'Duplicate.ResourceId', 'errorMessage' => 'The request contains duplicated ResourceId.', 'description' => ''], + ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of Tags is exceeded. The maximum is 20.', 'description' => ''], + ['errorCode' => 'Duplicate.TagKey', 'errorMessage' => 'The Tag.N.Key contains a duplicated key.', 'description' => ''], + ['errorCode' => 'InvalidResourceId.NotFound', 'errorMessage' => 'The ResourceId does not exist.', 'description' => ''], + ['errorCode' => 'InvalidParameter.TagKey', 'errorMessage' => 'The specified Tag.n.Key is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.TagValue', 'errorMessage' => 'The specified Tag.n.Value is invalid.', 'description' => ''], + ['errorCode' => 'CustomTag.NumberExceed', 'errorMessage' => 'The maximum number of system tags for each resource is 20.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'OperationDenied.KeyValueNotNull', 'errorMessage' => 'The key value cannot be null.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1E23D585-BBD8-436F-9615-54CACD67****\\"\\n}","type":"json"}]', - ], - 'ListTagResources' => [ - 'summary' => '查询标签列表', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\"\\n}","type":"json"}]', + 'title' => 'Create and Attach Tags', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'eais:TagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], ], + ], + 'UntagResources' => [ + 'summary' => 'Detaches tags from one or more specified EAIS resources. When a tag is detached, it is automatically deleted if it is not attached to any other resources.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => true, 'tenantRelevance' => 'tenant'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the region where the resource is located. Call [DescribeRegions](~~364379~~) to query the latest list of Alibaba Cloud regions.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'NextToken', + 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'title' => '下一个查询开始Token', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'caeba0bbb2be03f84eb48b699f0a4884', - ], + 'schema' => ['description' => 'The resource type. The only valid value is `instance`.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'instance'], ], [ - 'name' => 'ResourceType', + 'name' => 'All', 'in' => 'query', - 'schema' => [ - 'title' => '资源类型', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'instance', - ], + 'schema' => ['description' => 'Specifies whether to detach all tags from the resources.'."\n" + ."\n" + .'This parameter takes effect only when TagKey.N is not specified in the request.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- true: Detaches all tags from the specified resources. If a resource has no tags, the operation is skipped and a success message is returned.'."\n" + ."\n" + .'- false (default): Does not perform any tag operation and returns a success message.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'title' => '资源ID,最多 50个子项', - 'description' => '', + 'title' => '', + 'description' => 'The IDs of the resources. You can specify up to 50 resource IDs.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'eais-hzs4h26yyt5xkcke****', - ], - 'required' => false, + 'items' => ['description' => 'A resource ID.', 'type' => 'string', 'required' => false, 'example' => 'eais-hzs4h26yyt5xkcke****', 'title' => ''], + 'required' => true, 'maxItems' => 51, + 'example' => '', ], ], [ - 'name' => 'Tag', + 'name' => 'TagKey', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'title' => '标签列表,最多包含20个子项', - 'description' => '', + 'title' => '', + 'description' => 'The tag keys. You can specify up to 20 tag keys.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => '标签键', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'TestKey', - ], - 'Value' => [ - 'title' => '标签值', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'TestValue', - ], - ], - 'required' => false, - ], + 'items' => ['description' => 'The tag key of the resource.', 'type' => 'string', 'required' => false, 'example' => 'TestKey', 'title' => ''], 'required' => false, 'maxItems' => 21, + 'example' => '', ], ], ], @@ -3430,121 +2694,522 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'F23AEEC7-4D98-4657-A104-02692701****', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'caeba0bbb2be03f84eb48b699f0a4885', - ], - 'TagResources' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'TagKey' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'TestKey', - ], - 'TagValue' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'TestValue', - ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'eais-hzs4h26yyt5xkcke****', - ], - 'ResourceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'instance', - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '1E23D585-BBD8-436F-9615-54CACD67****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'MissingParameter.ResourceIdOrTag', - 'errorMessage' => 'Either ResourceId or Tag must be specified.', - ], - [ - 'errorCode' => 'InvalidNextToken', - 'errorMessage' => 'The NextToken is invalid.', - ], - [ - 'errorCode' => 'NumberExceed.ResourceIds', - 'errorMessage' => 'The maximum number of ResourceIds is exceeded. The maximum is 50.', - ], - [ - 'errorCode' => 'MissingParameter.ResourceIds', - 'errorMessage' => 'You must specify ResourceIds.', - ], - [ - 'errorCode' => 'Duplicate.ResourceId', - 'errorMessage' => 'The request contains duplicated ResourceId.', - ], - [ - 'errorCode' => 'NumberExceed.Tags', - 'errorMessage' => 'The maximum number of Tags is exceeded. The maximum is 20.', - ], - [ - 'errorCode' => 'Duplicate.TagKey', - 'errorMessage' => 'The Tag.N.Key contains a duplicated key.', - ], - [ - 'errorCode' => 'InvalidResourceId.NotFound', - 'errorMessage' => 'The ResourceId does not exist.', - ], - [ - 'errorCode' => 'InvalidParameter.TagKey', - 'errorMessage' => 'The specified Tag.n.Key is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter.TagValue', - 'errorMessage' => 'The specified Tag.n.Value is invalid.', - ], + ['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of ResourceIds is exceeded. The maximum is 50.', 'description' => ''], + ['errorCode' => 'Duplicate.ResourceId', 'errorMessage' => 'The request contains duplicated ResourceId.', 'description' => ''], + ['errorCode' => 'MissingParameter.ResourceIds', 'errorMessage' => 'You must specify ResourceIds.', 'description' => ''], + ['errorCode' => 'Duplicate.TagKey', 'errorMessage' => 'The Tag.N.Key contains a duplicated key.', 'description' => ''], + ['errorCode' => 'InvalidParameter.TagKey', 'errorMessage' => 'The specified Tag.n.Key is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.TagValue', 'errorMessage' => 'The specified Tag.n.Value is invalid.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1E23D585-BBD8-436F-9615-54CACD67****\\"\\n}","type":"json"}]', + 'title' => 'Detach and Delete Tags', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'eais:UntagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F23AEEC7-4D98-4657-A104-02692701****\\",\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4885\\",\\n \\"TagResources\\": [\\n {\\n \\"TagKey\\": \\"TestKey\\",\\n \\"TagValue\\": \\"TestValue\\",\\n \\"ResourceId\\": \\"eais-hzs4h26yyt5xkcke****\\",\\n \\"ResourceType\\": \\"instance\\"\\n }\\n ]\\n}","type":"json"}]', ], ], 'endpoints' => [ + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eais.cn-beijing.aliyuncs.com', 'endpoint' => 'eais.cn-beijing.aliyuncs.com', 'vpc' => 'eais-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eais.cn-chengdu.aliyuncs.com', 'endpoint' => 'eais.cn-chengdu.aliyuncs.com', 'vpc' => 'eais-vpc.cn-chengdu.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eais.cn-hangzhou.aliyuncs.com', 'endpoint' => 'eais.cn-hangzhou.aliyuncs.com', 'vpc' => 'eais-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eais.cn-shanghai.aliyuncs.com', 'endpoint' => 'eais.cn-shanghai.aliyuncs.com', 'vpc' => 'eais-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'eais.cn-shenzhen.aliyuncs.com', 'endpoint' => 'eais.cn-shenzhen.aliyuncs.com', 'vpc' => 'eais-vpc.cn-shenzhen.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'ApiUnavailable', 'message' => 'The API is temporarily unavailable.', 'http_code' => 403, 'description' => ''], + ['code' => 'CallFailed', 'message' => 'API call failed.', 'http_code' => 400, 'description' => ''], + ['code' => 'CallRamApiFailed', 'message' => 'Failed to call the Alibaba Cloud RAM service.', 'http_code' => 401, 'description' => ''], + ['code' => 'CheckTimeout', 'message' => 'Check timed out.', 'http_code' => 400, 'description' => ''], + ['code' => 'CreateOrderFailed', 'message' => 'Create order failed: %s.', 'http_code' => 403, 'description' => ''], + ['code' => 'CustomTag.NumberExceed', 'message' => 'The maximum number of system tags for each resource is 20.', 'http_code' => 400, 'description' => ''], + ['code' => 'Duplicate.ResourceId', 'message' => 'The request contains duplicated ResourceId.', 'http_code' => 400, 'description' => ''], + ['code' => 'Duplicate.TagKey', 'message' => 'The Tag.N.Key contains a duplicated key.', 'http_code' => 400, 'description' => ''], + ['code' => 'InconsistentSignature', 'message' => 'The signatures are inconsistent.', 'http_code' => 400, 'description' => ''], + ['code' => 'InDebt', 'message' => 'The current user has an overdue payment. Please top up first.', 'http_code' => 403, 'description' => ''], + ['code' => 'InvalidClientInstanceChargeType', 'message' => 'The client instance billing type is invalid. Currently, only pay-as-you-go client instances can be bound.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidClientInstanceId.Forbidden', 'message' => 'Please make sure the ClientInstanceId exists and belongs to you.', 'http_code' => 404, 'description' => ''], + ['code' => 'InvalidClientInstanceId.NotBound', 'message' => 'The client instance is not bound.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidClientInstanceId.NotFound', 'message' => 'The client instance does not exist or is not bound.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidClientInstanceId.TypeError', 'message' => 'The client instance ID is invalid. The current instance only supports binding ECS instances.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidClientInstanceId.TypeError', 'message' => 'The client instance ID is invalid. Currently, only ECS or ECI instances can be bound.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidClientInstanceId.VpcIdError', 'message' => 'The client instance is invalid. Please make sure that the VpcId of the client instance and the VpcId of the EAIS instance are the same.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidClientInstanceId.VSwitchIdError', 'message' => 'The client instance is invalid. Please make sure that the VSwitchId of the client instance and the VSwitchId of the EAIS instance are the same.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidEaiInstance', 'message' => 'EAIS instance is not bound to the client instance.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidEaiStatus', 'message' => 'The current state of the EAIS instance does not support the operation.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidElasticAcceleratedInstanceId.Forbidden', 'message' => 'The EAIS instance does not belong to the current user.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidInstanceId', 'message' => 'The InstanceId is invalid.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidInstanceType', 'message' => 'The instance type is invalid.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidNextToken', 'message' => 'The NextToken is invalid.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidParameter', 'message' => 'The specified parameter %s is invalid.', 'http_code' => 400, 'description' => 'The specified parameter is invalid.'], + ['code' => 'InvalidParameter.InstanceId.NotFound', 'message' => 'The specified parameter InstanceId cannot be found.', 'http_code' => 404, 'description' => 'The specified parameter InstanceId cannot be found.'], + ['code' => 'InvalidParameter.TagKey', 'message' => 'The specified Tag.n.Key is invalid.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidParameter.TagValue', 'message' => 'The specified Tag.n.Value is invalid.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidRegionId', 'message' => 'The service does not support the region. You can call the DescribeRegions API to view the supported regions.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidResourceId.NotFound', 'message' => 'The ResourceId does not exist.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidZonId', 'message' => 'The availability zone of the client instance is invalid.', 'http_code' => 400, 'description' => ''], + ['code' => 'MissingParameter.ResourceIdOrTag', 'message' => 'Either ResourceId or Tag must be specified.', 'http_code' => 400, 'description' => ''], + ['code' => 'MissingParameter.ResourceIds', 'message' => 'You must specify ResourceIds.', 'http_code' => 400, 'description' => ''], + ['code' => 'NoPermission', 'message' => 'You are not authorized to perform this operation. %s', 'http_code' => 403, 'description' => ''], + ['code' => 'NoPermission', 'message' => 'You do not have permission to create the service linked role AliyunServiceRoleForEais.', 'http_code' => 403, 'description' => ''], + ['code' => 'NoResources', 'message' => 'The current regional resources are insufficient.', 'http_code' => 403, 'description' => ''], + ['code' => 'NumberExceed.ResourceIds', 'message' => 'The maximum number of ResourceIds is exceeded. The maximum is 50.', 'http_code' => 400, 'description' => ''], + ['code' => 'NumberExceed.Tags', 'message' => 'The maximum number of Tags is exceeded. The maximum is 20.', 'http_code' => 400, 'description' => ''], + ['code' => 'OperationDenied.KeyValueNotNull', 'message' => 'The key value cannot be null.', 'http_code' => 403, 'description' => ''], + ['code' => 'RepeatBinding', 'message' => 'The EAIS instance has been bound to the client instance and cannot be bound repeatedly.', 'http_code' => 400, 'description' => ''], + ['code' => 'RepeatedlyBound', 'message' => 'The client instance has been bound by the EAIS instance and cannot be bound repeatedly.', 'http_code' => 400, 'description' => ''], + ['code' => 'SYSTEM.SALE_VALIDATE_FAILED', 'message' => 'The sales expression validation system is incorrect.', 'http_code' => 500, 'description' => 'Sales expression validation system error.'], + ['code' => 'Timeout', 'message' => 'Operation timed out.', 'http_code' => 400, 'description' => ''], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeEais'], + ], + 'createdAt' => '2023-09-15T07:10:11.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeEais'], + ], + 'createdAt' => '2023-09-01T09:20:43.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'GetInstanceMetrics'], + ], + 'createdAt' => '2023-08-28T07:31:33.000Z', + 'description' => '', + ], [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'eais.cn-beijing.aliyuncs.com', + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateEai'], + ['description' => 'Error codes changed', 'api' => 'CreateEaiEci'], + ['description' => 'Error codes changed', 'api' => 'CreateEaiEcs'], + ['description' => 'Error codes changed', 'api' => 'CreateEaiJupyter'], + ['description' => 'Error codes changed', 'api' => 'CreateEaisEi'], + ['description' => 'Error codes changed', 'api' => 'DeleteEai'], + ['description' => 'Error codes changed', 'api' => 'DescribeRegions'], + ], + 'createdAt' => '2023-08-23T06:00:24.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEaiJupyter'], + ], + 'createdAt' => '2023-05-23T02:28:51.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEaiEci'], + ['description' => 'Request parameters changed', 'api' => 'CreateEaiEcs'], + ['description' => 'Error codes changed', 'api' => 'DescribeEais'], + ['description' => 'Request parameters changed', 'api' => 'GetInstanceMetrics'], + ], + 'createdAt' => '2023-04-27T01:42:58.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEai'], + ], + 'createdAt' => '2023-04-10T09:04:47.000Z', + 'description' => '', ], [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'eais.cn-hangzhou.aliyuncs.com', + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'AttachEai'], + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'CreateEai'], + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'CreateEaiAll'], + ['description' => 'Error codes changed', 'api' => 'DeleteEai'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeEais'], + ['description' => 'Error codes changed', 'api' => 'DetachEai'], + ], + 'createdAt' => '2023-01-03T06:44:47.000Z', + 'description' => 'eais接入资源组相关api配置更新', ], [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'eais.cn-shanghai.aliyuncs.com', + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeEais'], + ], + 'createdAt' => '2022-11-22T07:58:26.000Z', + 'description' => '新增GetInstanceMetrics api', ], [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'eais.cn-shenzhen.aliyuncs.com', + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateEaiJupyter'], + ], + 'createdAt' => '2022-10-25T01:43:04.000Z', + 'description' => 'CreateEaiJupyter OpenAPI中新增可选入参EnvironmentVar', ], [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'eais.cn-chengdu.aliyuncs.com', + 'apis' => [ + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'DeleteEaiAll'], + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeEais'], + ], + 'createdAt' => '2022-10-10T06:00:58.000Z', + 'description' => 'eais notebook创建OpenAPI发布', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEaisEi'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEaiEcs'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopEaiJupyter'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachEai'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEai'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEais'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEaiJupyter'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEai'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartEaiJupyter'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEaiAll'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartEaisEi'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetInstanceMetrics'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopEaisEi'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetachEai'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachEaisEi'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEaiEci'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ChangeResourceGroup'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEaisEi'], + ['threshold' => '30', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetachEaisEi'], + ], + ], + 'ram' => [ + 'productCode' => 'EAIS', + 'productName' => 'Elastic Accelerated Computing Instances', + 'ramCodes' => ['eais'], + 'ramLevel' => 'RESOURCE', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'CreateEaiJupyter', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eais:CreateEaiJupyter', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/*'], + ], + ], + ], + [ + 'apiName' => 'GetInstanceMetrics', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eais:GetInstanceMetrics', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'StartEaisEi', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eais:StartEaisEi', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteEaisEi', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eais:DeleteEaisEi', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ChangeResourceGroup', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eais:ChangeResourceGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'DeleteEaiAll', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eais:DeleteEaiAll', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ['validationType' => 'conditional', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:ecs:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ['validationType' => 'conditional', 'product' => 'EAIS', 'resourceType' => 'ContainerGroup', 'arn' => 'acs:eci:{#regionId}:{#accountId}:containergroup/{#ContainerGroupId}'], + ], + ], + ], + [ + 'apiName' => 'CreateEaiEci', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eais:CreateEaiEci', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/*'], + ], + ], + ], + [ + 'apiName' => 'UntagResources', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'eais:UntagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'StartEaiJupyter', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eais:StartEaiJupyter', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'CreateEaiEcs', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eais:CreateEaiEcs', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/*'], + ], + ], + ], + [ + 'apiName' => 'AttachEaisEi', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eais:AttachEaisEi', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'CreateEaisEi', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eais:CreateEaisEi', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/*'], + ], + ], + ], + [ + 'apiName' => 'DetachEaisEi', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eais:DetachEaisEi', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'DetachEai', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eais:DetachEai', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'CreateEai', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eais:CreateEai', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/*'], + ], + ], + ], + [ + 'apiName' => 'DeleteEai', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eais:DeleteEai', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'StopEaiJupyter', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eais:StopEaiJupyter', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'DescribeEais', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'eais:DescribeEais', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/*'], + ], + ], + ], + [ + 'apiName' => 'StopEaisEi', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eais:StopEaisEi', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'TagResources', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'eais:TagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ListTagResources', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'eais:ListTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'AttachEai', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eais:AttachEai', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ['validationType' => 'conditional', 'product' => 'EAIS', 'resourceType' => 'Instance', 'arn' => 'acs:ecs:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ['validationType' => 'conditional', 'product' => 'EAIS', 'resourceType' => 'ContainerGroup', 'arn' => 'acs:eci:{#regionId}:{#accountId}:containergroup/{#ContainerGroupId}'], + ], + ], + ], + ], + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/*'], + ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:eais:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ['validationType' => 'conditional', 'resourceType' => 'Instance', 'arn' => 'acs:ecs:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ['validationType' => 'conditional', 'resourceType' => 'ContainerGroup', 'arn' => 'acs:eci:{#regionId}:{#accountId}:containergroup/{#ContainerGroupId}'], ], ], ]; -- cgit v1.2.3