'1.0', 'info' => ['style' => 'ROA', 'product' => 'FC-Open', 'version' => '2021-04-06'], 'directories' => [ [ 'children' => ['InvokeFunction'], 'type' => 'directory', 'title' => 'Functions', ], [ 'children' => ['PutFunctionAsyncInvokeConfig', 'GetFunctionAsyncInvokeConfig', 'ListFunctionAsyncInvokeConfigs'], 'type' => 'directory', 'title' => 'Function asynchronous configuration', ], [ 'children' => [ 'CreateAlias', 'CreateCustomDomain', 'CreateFunction', 'CreateLayerVersion', 'CreateService', 'CreateTrigger', 'CreateVpcBinding', 'DeleteAlias', 'DeleteCustomDomain', 'DeleteFunction', 'DeleteFunctionAsyncInvokeConfig', 'DeleteFunctionOnDemandConfig', 'DeleteLayerVersion', 'DeleteService', 'DeleteServiceVersion', 'DeleteTrigger', 'DeleteVpcBinding', 'DeregisterEventSource', 'DescribeRegions', 'GetAccountSettings', 'GetAlias', 'GetCustomDomain', 'GetFunction', 'GetFunctionCode', 'GetFunctionOnDemandConfig', 'GetLayerVersion', 'GetProvisionConfig', 'GetResourceTags', 'GetService', 'GetStatefulAsyncInvocation', 'GetTrigger', 'ListAliases', 'ListCustomDomains', 'ListEventSources', 'ListFunctions', 'ListInstances', 'ListLayerVersions', 'ListLayers', 'ListOnDemandConfigs', 'ListProvisionConfigs', 'ListReservedCapacities', 'ListServiceVersions', 'ListServices', 'ListStatefulAsyncInvocationFunctions', 'ListStatefulAsyncInvocations', 'ListTaggedResources', 'ListTriggers', 'ListVpcBindings', 'PublishServiceVersion', 'PutFunctionOnDemandConfig', 'PutLayerACL', 'PutProvisionConfig', 'RegisterEventSource', 'StopStatefulAsyncInvocation', 'TagResource', 'UntagResource', 'UpdateAlias', 'UpdateCustomDomain', 'UpdateFunction', 'UpdateService', 'UpdateTrigger', ], 'title' => 'Others', 'type' => 'directory', ], ], 'components' => [ 'schemas' => [ 'AccelerationInfo' => [ 'title' => 'A short description of struct', 'description' => 'The acceleration information about the custom container.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'status' => ['title' => '镜像加速状态,取值 Preparing 或 Ready', 'description' => 'The status of the acceleration for function invocations. Valid values:'."\n" ."\n" .'* **Preparing**: The acceleration is being prepared. When the acceleration is being prepared, an original image is used to invoke functions without acceleration.'."\n" .'* **Ready**: The acceleration is complete. Function invocations are accelerated.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'Preparing', 'backendName' => 'status'], ], ], 'AsyncConfigMeta' => [ 'title' => '异步配置所属函数及服务元数据。', 'description' => 'The metadata of the service and function to which the asynchronous task belongs.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'serviceName' => ['title' => '异步配置所属服务名称。', 'description' => 'The name of the service to which the asynchronous task belongs.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'serviceName', 'backendName' => 'serviceName'], 'functionName' => ['title' => '异步配置所属函数名称。', 'description' => 'The name of the function to which the asynchronous task belongs.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'functionName', 'backendName' => 'functionName'], 'qualifier' => ['title' => '异步配置所属服务版本/别名。', 'description' => 'The version or alias of the service to which the asynchronous task belongs.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'LATEST', 'backendName' => 'qualifier'], ], ], 'AvailableAZ' => [ 'title' => 'A short description of struct', 'description' => 'The zones.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'availableAZs' => ['title' => 'az', 'description' => 'The zone.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '[\'cn-chengdu-a\', \'cn-chengdu-b\']', 'backendName' => 'availableAZs'], ], ], 'BatchWindow' => [ 'title' => 'A short description of struct', 'description' => 'The batch window configurations.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'CountBasedWindow' => ['title' => 'CountBasedWindow', 'description' => 'The maximum number of events that are allowed in the batch window. When this threshold is reached, data in the window is pushed downstream. If multiple batch windows exist, data is pushed if triggering conditions are met in one of the windows.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'backendName' => 'CountBasedWindow'], 'TimeBasedWindow' => ['title' => 'TimeBasedWindow', 'description' => 'The maximum period of time during which events are allowed in the batch window. Unit: seconds. When this threshold is reached, data in the window is pushed downstream. If multiple batch windows exist, data is pushed if triggering conditions are met in one of the windows.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'backendName' => 'TimeBasedWindow'], ], ], 'CDNEventsTriggerConfig' => [ 'title' => 'A short description of struct', 'description' => 'The configurations of the Alibaba Cloud CDN (CDN) event trigger.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'eventName' => ['title' => 'eventName', 'description' => 'The trigger event type. For more information about how to select a trigger event type, see the description about CDN triggers.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'CdnDomainStarted', 'backendName' => 'eventName'], 'eventVersion' => ['title' => 'eventVersion', 'description' => 'The version of the trigger event. Only event version 1.0.0 is supported.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '1.0.1', 'backendName' => 'eventVersion'], 'notes' => ['title' => 'notes', 'description' => 'The description of the trigger.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'Cache event trigger'."\n", 'backendName' => 'notes'], 'filter' => [ 'title' => 'filter', 'description' => 'The description of the event filtering rule.'."\n", 'visibility' => 'Public', 'type' => 'object', 'additionalProperties' => [ 'description' => 'The collection of event filtering rules.'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'The key string for event filter.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '“filter-key”', 'extendType' => 'true'], 'enumValueTitles' => [], 'itemName' => 'elem', ], 'backendName' => 'filter', ], ], ], 'CertConfig' => [ 'description' => 'HTTPS certificate configurations.', 'properties' => [ 'certName' => ['description' => 'The name of the certificate. The name can be customized. ', 'example' => 'my-cert', 'title' => '证书名称', 'type' => 'string'], 'certificate' => ['description' => 'The certificate. To configure a certificate chain, specify multiple certificates in sequence. '."\n" ."\n", 'example' => '-----BEGIN CERTIFICATE----- xxxxx -----END CERTIFICATE-----', 'title' => '证书,如果是证书链则依次填写多个证书', 'type' => 'string'], 'privateKey' => ['description' => 'The private key. ', 'example' => '-----BEGIN RSA PRIVATE KEY----- xxxxx -----END RSA PRIVATE KEY-----', 'title' => '私钥', 'type' => 'string'], ], 'title' => 'HTTPS 证书配置', 'type' => 'object', 'example' => '', ], 'Code' => [ 'title' => 'A short description of struct', 'description' => 'The function code.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'ossBucketName' => ['title' => '函数代码包的OSS bucket name', 'description' => 'The name of the Object Storage Service (OSS) bucket that stores the ZIP package of the function code.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'demo-bucket', 'backendName' => 'ossBucketName'], 'ossObjectName' => ['title' => '函数代码包的OSS对象名', 'description' => 'The name of the OSS object (ZIP package) that contains the function code.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'demo-key', 'backendName' => 'ossObjectName'], 'zipFile' => ['title' => '直接在request body中上传code zip包的base64编码', 'description' => 'The ZIP package of the function code that is encoded in Base64 format.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'cHJpbnQoImhlbGxvIHdvcmxkIikK', 'backendName' => 'zipFile'], ], ], 'CustomContainerConfig' => [ 'title' => 'custom-container 运行时相关配置,配置后function可以使用自定义容器镜像执行函数', 'description' => 'The function configurations for a custom container.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'args' => ['title' => '容器启动参数', 'description' => 'The startup argument of the container.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '["-arg1", "value1"]', 'backendName' => 'args'], 'command' => ['title' => '容器启动命令,等同于 Docker ENTRYPOINT', 'description' => 'The startup command of the container.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '["/code/myserver"]', 'backendName' => 'command'], 'image' => ['title' => '容器镜像地址,实例值: registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1beta1', 'description' => 'The endpoint of the container image.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1beta1', 'backendName' => 'image'], 'accelerationType' => ['title' => '镜像加速类型,取值Default为开启加速,None为关闭加速,默认开启', 'description' => 'Specifies whether to enable image acceleration. Valid values:'."\n" ."\n" .'* **Default**: enables image acceleration.'."\n" .'* **None**: disables image acceleration.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'Default', 'backendName' => 'accelerationType'], 'instanceID' => ['title' => 'ACR企业版镜像仓库ID,使用ACR企业版镜像时须传入', 'description' => 'The ID of the image repository for the Container Registry Enterprise Edition. You must specify this parameter if you use an image of Container Registry Enterprise Edition.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'cri-xxxxxxxxxx', 'backendName' => 'instanceID'], 'webServerMode' => ['title' => '镜像运行是否为Web Server模式,取值true需要在容器镜像中实现Web Server来监听端口并处理请求,取值false需要容器运行后主动退出进程,并且ExitCode需要为0。默认true', 'description' => 'Specifies whether to enable the web server mode. Valid values:'."\n" ."\n" .'* true (default): enables web server mode. In this case, web servers must be implemented in container images to listen for and process requests.'."\n" .'* false: disables web server mode. In this case, the container exits the process after running and the exit code must be 0.'."\n", 'visibility' => 'Public', 'type' => 'boolean', 'example' => 'true', 'backendName' => 'webServerMode', 'default' => 'true'], ], ], 'CustomContainerConfigInfo' => [ 'title' => 'A short description of struct', 'description' => 'The function configurations for a custom container.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'args' => ['title' => '容器启动参数', 'description' => 'The startup argument of the container.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '["-arg1", "value1"]', 'backendName' => 'args'], 'command' => ['title' => '容器启动命令,等同于 Docker ENTRYPOINT', 'description' => 'The startup command of the container.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '["/code/myserver"]', 'backendName' => 'command'], 'image' => ['title' => '容器镜像地址,实例值: registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1beta1', 'description' => 'The endpoint of the container image.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1beta1', 'backendName' => 'image'], 'accelerationType' => ['title' => '镜像加速类型,取值Default为开启加速,None为关闭加速,默认开启', 'description' => 'Specifies whether to enable image acceleration. Valid values:'."\n" ."\n" .'* Default: enables image acceleration.'."\n" .'* None: disables image acceleration.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'Default', 'backendName' => 'accelerationType'], 'accelerationInfo' => ['description' => 'The information about the acceleration of the custom container.'."\n", 'visibility' => 'Public', 'backendName' => 'accelerationInfo', '$ref' => '#/components/schemas/AccelerationInfo'], 'instanceID' => ['title' => 'ACR企业版镜像仓库ID,使用ACR企业版镜像时须传入', 'description' => 'The ID of the image repository for the Container Registry Enterprise Edition. You must specify this parameter if you use an image of Container Registry Enterprise Edition.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'cri-xxxxxxxxxx', 'backendName' => 'instanceID'], 'webServerMode' => ['title' => '镜像运行是否为Web Server模式,取值true需要在容器镜像中实现Web Server来监听端口并处理请求,取值false需要容器运行后主动退出进程,并且ExitCode需要为0。默认true', 'description' => 'Specifies whether to enable web server mode.'."\n" ."\n" .'* true (default): enables web server mode. In this case, web servers must be implemented in container images to listen for and process requests.'."\n" .'* false: disables web server mode. In this case, the container exits the process after running and the exit code must be 0.'."\n", 'visibility' => 'Public', 'type' => 'boolean', 'example' => 'true', 'backendName' => 'webServerMode', 'default' => 'true'], ], ], 'CustomDNS' => [ 'title' => 'A short description of struct', 'description' => 'The custom Domain Name System (DNS) configurations of the function.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'nameServers' => [ 'title' => 'DNS 服务器的 IP 地址列表', 'description' => 'The IP addresses of DNS servers.'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'The IP address of the DNS server.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '8.8.x.x', 'extendType' => 'true'], 'backendName' => 'nameServers', ], 'searches' => [ 'title' => 'DNS 搜索域的列表', 'description' => 'The search domains of the DNS server.'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'The search domain of the DNS server.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'ns1.svc.cluster-domain.example', 'extendType' => 'true'], 'backendName' => 'searches', ], 'dnsOptions' => [ 'title' => 'DNS resolver 配置参数列表', 'description' => 'The configuration items in the resolv.conf file. Each item is a key-value pair in the key:value format, in which the key is required.'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'The configuration item in the resolv.conf file.'."\n", 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/DNSOption'], 'backendName' => 'dnsOptions', ], ], ], 'CustomHealthCheckConfig' => [ 'title' => '自定义健康检查配置结构体', 'description' => 'The custom health check configurations of custom runtimes and Custom Container runtimes.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'httpGetUrl' => ['title' => '容器自定义健康检查URL地址', 'description' => 'The custom health check URL of the container. The URL length cannot exceed 2,048 characters.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => '/ready', 'backendName' => 'httpGetUrl'], 'initialDelaySeconds' => ['title' => '容器启动到发起健康检查的延迟', 'description' => 'The duration after the container is started before health checks are initiated. Valid values: 0 to 120. Unit: seconds. Default value: 0.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'initialDelaySeconds'], 'periodSeconds' => ['title' => '健康检查周期', 'description' => 'The interval between two consecutive health checks. Valid values: 1 to 120. Unit: seconds. Default value: 3.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'periodSeconds'], 'timeoutSeconds' => ['title' => '健康检查超时时间', 'description' => 'The timeout period of a health check. Valid values: 1 to 3. Unit: seconds. Default value: 1.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'backendName' => 'timeoutSeconds'], 'failureThreshold' => ['title' => '健康检查失败次数阈值,达到该值后系统认为检查失败', 'description' => 'The threshold for health check failures. When this value is reached, the system considers the check failed. Valid values: 1 to 120. Unit: seconds. Default value: 3.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'failureThreshold'], 'successThreshold' => ['title' => '健康检查成功次数阈值,达到该值后系统认为检查成功', 'description' => 'The threshold for health check successes. When this value is reached, the system considers the check succeeded. Valid values: 1 to 120. Unit: seconds. Default value: 1.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'backendName' => 'successThreshold'], ], ], 'CustomRuntimeConfig' => [ 'title' => 'Custom Runtime函数详细配置', 'description' => 'The configurations of the function that runs in the custom runtime.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'command' => [ 'title' => '启动入口命令', 'description' => 'The custom commands that are used to start containers in the custom runtime. If multiple commands are specified, the commands are concatenated in order.'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'The command that is used to start the container.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '/code/myBootstrap', 'extendType' => 'true'], 'backendName' => 'command', ], 'args' => [ 'title' => '启动入口命令接收的参数', 'description' => 'The arguments that are used to start containers in the custom runtime. Pass the arguments in order.'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'The startup argument of the container.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'args1', 'extendType' => 'true'], 'backendName' => 'args', ], ], ], 'DeadLetterQueue' => [ 'title' => 'A short description of struct', 'description' => 'The identifier of the dead-letter queue. The following Alibaba Cloud services can be used as dead-letter queues:'."\n" ."\n" .'* Simple Message Queue (formerly MNS)'."\n" .'* ApsaraMQ for RocketMQ'."\n" .'* ApsaraMQ for Kafka'."\n" .'* EventBridge'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'Arn' => ['title' => 'Arn', 'description' => 'The Alibaba Cloud Resource Name (ARN) of the dead-letter queue.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'acs:mq:cn-shanghai:14319991365*****:/instances/MQ_INST_14319991365*****_BYWs****/topic/testTopic', 'backendName' => 'Arn'], ], ], 'DeliveryOption' => [ 'title' => 'A short description of struct', 'description' => 'The event pushing configurations.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'mode' => [ 'title' => 'mode', 'description' => '> This parameter is deprecated.'."\n" ."\n" .'The underlying application mode when message data is pushed to Function Compute:'."\n" ."\n" .'* event-streaming: the event streaming mode. In this mode, events are pushed in arrays. One or more message events are pushed to functions in batches based on push configurations. This mode is suitable for processing end-to-end streaming data.'."\n" .'* event-driven: the event mode. Individual messages are passed as the event parameter to the function. The event follows the CloudEvents standard. Take note that batch configurations are not supported in this mode.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'event-streaming', 'backendName' => 'mode', 'enum' => ['event-driven', 'event-streaming'], ], 'eventSchema' => [ 'title' => 'eventSchema', 'description' => 'Specifies the format of each data element in event.'."\n" ."\n" .'* CloudEvents: a set of specifications that describes event data in a common format, including event descriptions and event payload data. CloudEvents is designed to simplify event declaration and transmission between different services and platforms.'."\n" .'* RawData: delivers only the event payload data and does not include other metadata information in the CloudEvents format.'."\n", 'visibility' => 'Public', 'type' => 'string', 'enumValueTitles' => ['RawData' => 'RawData', 'CloudEvents' => 'CloudEvents'], 'example' => 'RawData', 'backendName' => 'eventSchema', ], 'concurrency' => ['title' => 'concurrency', 'description' => '> This parameter takes effect only when ApsaraMQ for Kafka is used as the event source.'."\n" ."\n" .'The maximum concurrency for the upstream event source to deliver events to Function Compute.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'backendName' => 'concurrency'], ], ], 'Destination' => [ 'title' => 'A short description of struct', 'description' => 'The destination structure for the asynchronous invocation.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'destination' => ['title' => 'destination', 'description' => 'The descriptor for the destination resources of the asynchronous invocation.'."\n", 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'destination', 'example' => 'acs:fc:cn-shanghai:xxx:services/s1/functions/f1'], ], ], 'DestinationConfig' => [ 'title' => '异步调用目标配置', 'description' => 'The destination configurations for an asynchronous invocation.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'onSuccess' => ['description' => 'The destination struct of a successful callback.'."\n", 'visibility' => 'Public', 'backendName' => 'onSuccess', '$ref' => '#/components/schemas/Destination', 'example' => '{ "destination":"acs:fc:cn-shanghai:xxx:services/s1/functions/f1" }', 'title' => ''], 'onFailure' => ['description' => 'The destination struct of a failed callback.'."\n", 'visibility' => 'Public', 'backendName' => 'onFailure', '$ref' => '#/components/schemas/Destination', 'example' => '{ "destination":"acs:fc:cn-shanghai:xxx:services/s1/functions/f1" }', 'title' => ''], ], ], 'DNSOption' => [ 'title' => 'A short description of struct', 'description' => 'The DNS resolver configurations that are in the key-value format.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'name' => ['title' => 'DNS option 名称', 'description' => 'The parameter.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'ndots', 'backendName' => 'name'], 'value' => ['title' => 'DNS option 值', 'description' => 'The value.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '2', 'backendName' => 'value'], ], 'example' => 't', ], 'Error' => [ 'title' => '错误', 'description' => 'The error information.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'errorCode' => ['title' => '错误码', 'description' => 'The error code.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'FUNCTION_NOT_FOUND', 'backendName' => 'errorCode'], 'errorMessage' => ['title' => '错误信息描述', 'description' => 'The error message.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'function not found', 'backendName' => 'errorMessage'], ], ], 'EventBridgeTriggerConfig' => [ 'title' => 'A short description of struct', 'description' => 'The EventBridge trigger configurations.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'triggerEnable' => ['title' => 'triggerEnable', 'description' => 'The trigger switch. This switch is equivalent to the [Disable](~~163710~~) switch for the event rule on the EventBridge side. Valid values:'."\n" ."\n" .'* true: enables the trigger.'."\n" .'* false: disables the trigger.'."\n", 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'triggerEnable', 'example' => 'true'], 'asyncInvocationType' => ['title' => 'asyncInvocationType', 'description' => 'Specifies whether to invoke the function in asynchronous mode. Valid values:'."\n" ."\n" .'* true: invokes the function in asynchronous mode.'."\n" .'* false: invokes the function in synchronous mode.'."\n", 'visibility' => 'Public', 'type' => 'boolean', 'backendName' => 'asyncInvocationType', 'example' => 'true'], 'eventRuleFilterPattern' => ['title' => 'eventRuleFilterPattern', 'description' => 'The event pattern. The pattern is in JSON format. For more information, see [EventBridge event patterns](~~181432~~).'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'backendName' => 'eventRuleFilterPattern', 'example' => '\'{"source":["acs.oss"],"type":["oss:BucketCreated:PutBucket"]}\''], 'eventSourceConfig' => ['description' => 'The event source configurations.'."\n", 'visibility' => 'Public', 'required' => true, 'backendName' => 'eventSourceConfig', '$ref' => '#/components/schemas/EventSourceConfig', 'title' => '', 'example' => ''], 'eventSinkConfig' => ['description' => 'The event destination configurations.'."\n", 'visibility' => 'Public', 'backendName' => 'eventSinkConfig', '$ref' => '#/components/schemas/EventSinkConfig', 'title' => '', 'example' => ''], 'runOptions' => ['description' => 'The runtime configurations.'."\n", 'visibility' => 'Public', 'backendName' => 'runOptions', '$ref' => '#/components/schemas/RunOptions', 'title' => '', 'example' => ''], ], 'example' => '', ], 'EventSinkConfig' => [ 'title' => 'A short description of struct', 'description' => 'The event destination configurations.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'deliveryOption' => ['title' => 'deliveryOption', 'description' => 'The event push configurations.'."\n", 'visibility' => 'Public', 'backendName' => 'deliveryOption', '$ref' => '#/components/schemas/DeliveryOption'], ], ], 'EventSourceConfig' => [ 'title' => 'A short description of struct', 'description' => 'The event source configurations of the EventBridge trigger.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'eventSourceType' => [ 'title' => 'eventSourceType', 'description' => 'The type of the event source. The following types of trigger sources are supported:'."\n" ."\n" .'* Default: Alibaba Cloud service event sources in EventBridge'."\n" .'* MNS: Message Service (MNS)'."\n" .'* RocketMQ: ApsaraMQ for RocketMQ'."\n" .'* RabbitMQ: ApsaraMQ for RabbitMQ'."\n" .'* Kafka: ApsaraMQ for Kafka'."\n" .'* MQTT: ApsaraMQ for MQTT'."\n" .'* DTS: Data Transmission Service (DTS)'."\n" ."\n" .'> This field cannot be updated. This field is ignored if it is passed during an update.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'enumValueTitles' => ['RabbitMQ' => 'RabbitMQ', 'MQTT' => 'MQTT', 'DTS' => 'DTS', 'MNS' => 'MNS', 'Kafka' => 'Kafka', 'Default' => 'Default', 'RocketMQ' => 'RocketMQ'], 'example' => 'Default', 'backendName' => 'eventSourceType', ], 'eventSourceParameters' => ['description' => 'The event source parameters. Custom event sources include MNS, ApsaraMQ for RocketMQ, ApsaraMQ for RabbitMQ, ApsaraMQ for Kafka, ApsaraMQ for MQTT, and DTS.'."\n", 'visibility' => 'Public', 'backendName' => 'eventSourceParameters', '$ref' => '#/components/schemas/EventSourceParameters'], ], ], 'EventSourceParameters' => [ 'title' => 'A short description of struct', 'description' => 'The custom event source parameters for the EventBridge trigger.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'sourceMNSParameters' => ['description' => 'The custom parameter configurations when the event source is Simple Message Queue (formerly MNS). For more information, see [SourceMNSParameters](~~343386~~).'."\n", 'visibility' => 'Public', 'backendName' => 'sourceMNSParameters', '$ref' => '#/components/schemas/SourceMNSParameters'], 'sourceRocketMQParameters' => ['description' => 'The custom parameter configurations when the event source is ApsaraMQ for RocketMQ. For more information, see [SourceRocketMQParameters](~~343386~~).'."\n", 'visibility' => 'Public', 'backendName' => 'sourceRocketMQParameters', '$ref' => '#/components/schemas/SourceRocketMQParameters'], 'sourceRabbitMQParameters' => ['description' => 'The custom parameter configurations when the event source is ApsaraMQ for RabbitMQ.'."\n", 'visibility' => 'Public', 'backendName' => 'sourceRabbitMQParameters', '$ref' => '#/components/schemas/SourceRabbitMQParameters'], 'sourceKafkaParameters' => ['description' => 'The custom parameter configurations when the event source is ApsaraMQ for Kafka.'."\n", 'visibility' => 'Public', 'backendName' => 'sourceKafkaParameters', '$ref' => '#/components/schemas/SourceKafkaParameters'], 'sourceDTSParameters' => ['description' => 'The custom parameter configurations when the event source is Data Transmission Service (DTS).'."\n", 'visibility' => 'Public', 'backendName' => 'sourceDTSParameters', '$ref' => '#/components/schemas/SourceDTSParameters'], 'sourceMQTTParameters' => ['description' => 'The custom parameter configurations when the event source is ApsaraMQ for MQTT.'."\n", 'visibility' => 'Public', 'backendName' => 'sourceMQTTParameters', '$ref' => '#/components/schemas/SourceMQTTParameters'], ], ], 'HTTPTriggerConfig' => [ 'title' => 'HTTP触发器配置', 'description' => 'HTTP trigger configuration.', 'type' => 'object', 'properties' => [ 'authType' => [ 'title' => '认证类型', 'description' => 'Authentication type. Default value is function, which means authentication is required.', 'type' => 'string', 'example' => 'anonymous, function', 'default' => 'function', 'enum' => ['anonymous', 'function'], 'visibility' => 'Public', 'backendName' => 'authType', ], 'methods' => [ 'title' => '允许的HTTP方法列表', 'description' => 'List of HTTP request methods. Multiple methods can be supported at the same time.', 'type' => 'array', 'items' => [ 'description' => 'Name of an HTTP request method.', 'enumValueTitles' => ['HEAD' => 'HEAD', 'DELETE' => 'DELETE', 'POST' => 'POST', 'GET' => 'GET', 'OPTIONS' => 'OPTIONS', 'PUT' => 'PUT', 'PATCH' => 'PATCH'], 'type' => 'string', 'example' => 'GET, POST', 'default' => 'GET', 'enum' => ['HEAD', 'GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'OPTIONS'], 'title' => '', 'visibility' => 'Public', 'extendType' => 'true', ], 'example' => '', 'visibility' => 'Public', 'backendName' => 'methods', 'itemName' => 'method', ], 'disableURLInternet' => [ 'title' => '禁用默认公网域名访问', 'description' => 'Toggle to disable access through the default public endpoint. When set to true, requests to the function\'s default public URL return a 403 error. When set to false, this setting has no effect.', 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], 'type' => 'boolean', 'default' => 'false', 'example' => '', 'visibility' => 'Public', 'backendName' => 'disableURLInternet', ], 'authConfig' => ['title' => '鉴权配置', 'description' => 'Authentication configuration.', 'type' => 'string', 'example' => '', 'visibility' => 'Public', 'backendName' => 'authConfig'], ], 'example' => '', 'visibility' => 'Public', ], 'InstanceLifecycleConfig' => [ 'title' => 'A short description of struct', 'description' => 'The instance lifecycle configurations of the function.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'preFreeze' => ['description' => 'The configuration of the PreFreeze function.'."\n", 'visibility' => 'Public', 'backendName' => 'preFreeze', '$ref' => '#/components/schemas/LifecycleHook'], 'preStop' => ['description' => 'The configuration of the PreStop function.'."\n", 'visibility' => 'Public', 'backendName' => 'preStop', '$ref' => '#/components/schemas/LifecycleHook'], ], ], 'JaegerConfig' => [ 'title' => 'A short description of struct', 'description' => 'The configurations of Managed Service for OpenTelemetry.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'endpoint' => ['title' => 'endpoint', 'description' => 'The endpoint of Managed Service for OpenTelemetry.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'http://tracing-analysis-dc-hz-internal.aliyuncs.com/adapt_******_******/api/traces', 'backendName' => 'endpoint'], ], ], 'JobConfig' => [ 'title' => 'A short description of struct', 'description' => 'The job configurations.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'maxRetryTime' => ['title' => 'maxRetryTime', 'description' => 'The maximum number of retries. Valid values: 0 to 100. This parameter specifies the maximum number of retries allowed when Simple Log Service triggers a function based on the trigger interval if an error occurs, such as insufficient permissions, network failures, and function execution exceptions. If the trigger fails after the maximum number of retries is reached, Simple Log Service triggers the function again when the next trigger interval arrives.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'backendName' => 'maxRetryTime'], 'triggerInterval' => ['title' => 'triggerInterval', 'description' => 'The time interval at which Simple Log Service triggers function execution. For example, you can retrieve data from the Logstore within the last 120 seconds to Function Compute every 120 seconds to perform custom computing.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '60', 'backendName' => 'triggerInterval'], ], ], 'JobLogConfig' => [ 'title' => 'A short description of struct', 'description' => 'The log configurations of the trigger.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'project' => ['title' => 'project', 'description' => 'The project name. Exceptions that occur during function triggering and execution statistics are recorded in a Logstore of this project.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'my-sls-project-name'."\n", 'backendName' => 'project'], 'logstore' => ['title' => 'logstore', 'description' => 'The Logstore name. Exceptions and function execution statistics during function triggering are recorded in this Logstore.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'my-sls-logstore-name', 'backendName' => 'logstore'], ], ], 'Layer' => [ 'title' => '层结构', 'description' => 'The layer configurations.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'layerName' => ['title' => '层名称', 'description' => 'The layer name.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'MyLayer', 'backendName' => 'layerName'], 'version' => ['title' => '层版本', 'description' => 'The layer version.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'backendName' => 'version'], 'description' => ['title' => '层描述', 'description' => 'The description of the layer version.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'the first layer', 'backendName' => 'description'], 'code' => ['title' => '层代码', 'description' => 'The information about the layer code package.'."\n", 'visibility' => 'Public', 'backendName' => 'code', '$ref' => '#/components/schemas/LayerCode'], 'codeSize' => ['title' => '层代码大小', 'description' => 'The size of the layer code package. Unit: Byte.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '421', 'backendName' => 'codeSize'], 'codeChecksum' => ['title' => '层Checksum', 'description' => 'The crc64 verification code of the layer code package, which is calculated according to the **ECMA-182 standard**.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '2825179536350****', 'backendName' => 'codeChecksum'], 'createTime' => ['title' => '层创建时间', 'description' => 'The time when the layer version was created.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '2022-01-01T11:08:00Z', 'backendName' => 'createTime'], 'acl' => ['title' => '层访问类型', 'description' => 'The permissions of the layer. A value of 0 indicates private and a value of 1 indicates public. By default, public layers are public. Custom layers can be set to private or public.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'backendName' => 'acl'], 'arn' => ['title' => 'arn', 'description' => 'The ARN of the layer resource. This field is about to be discarded.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'xxxxxxxx#Layer-name#1', 'backendName' => 'arn'], 'arnV2' => ['title' => 'arnV2', 'description' => 'The name of the layer resource. The name follows the following format: `acs:fc:{region}:{accountID}:layers/{layerName}/versions/{layerVersion}`.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1', 'backendName' => 'arnV2'], 'license' => ['title' => '许可协议', 'description' => 'The license agreement.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'MIT', 'backendName' => 'license'], 'compatibleRuntime' => [ 'title' => 'compatibleRuntime', 'description' => 'The runtime environments that are supported by the layer.'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'The runtime. Valid values: **nodejs16**, **nodejs14**, **nodejs12**, **nodejs10**, **nodejs8**, **nodejs6**, **python3.9**, **python3**, **python2.7**, **java11**, **java8**, **php7.2**, **go1**, **dotnetcore3.1**, **dotnetcore2.1**, and **custom**.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'python3', 'extendType' => 'true'], 'backendName' => 'compatibleRuntime', ], ], ], 'LayerCode' => [ 'title' => '层代码结构', 'description' => 'The layer code.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'repositoryType' => ['title' => '层代码类型', 'description' => 'The type of the layer code.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'OSS', 'backendName' => 'repositoryType'], 'location' => ['title' => '层代码位置', 'description' => 'The address of the layer code.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'https://xyz.oss-cnxxx.aliyuncs.com/xxx/xxx/xxx', 'backendName' => 'location'], ], ], 'LifecycleHook' => [ 'title' => 'A short description of struct', 'description' => 'The lifecycle hook configurations.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'handler' => ['title' => 'handler name', 'description' => 'The handler of the function. For more information, see [Function handler](~~157704~~).'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'index.preStop', 'backendName' => 'handler'], 'timeout' => ['title' => 'timeout in second', 'description' => 'The timeout period for function execution. Unit: seconds.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'backendName' => 'timeout'], ], ], 'LogConfig' => [ 'title' => '日志配置', 'description' => 'The log configurations of the function.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'logstore' => ['title' => '日志库', 'description' => 'The Logstore name.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'test-prj', 'backendName' => 'logstore'], 'project' => ['title' => '日志项目', 'description' => 'The project name.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'test-logstore', 'backendName' => 'project'], 'enableRequestMetrics' => ['title' => '开启请求级别指标', 'description' => 'Specifies whether to enable request-level metrics. If you enable this feature, you can view the amount of time and memory consumed for a specific invocation of each function in the service. Valid values:'."\n" ."\n" .'* **false**: disables request-level metrics.'."\n" .'* **true** (default): enables request-level metrics.'."\n", 'visibility' => 'Public', 'type' => 'boolean', 'example' => 'true', 'backendName' => 'enableRequestMetrics'], 'enableInstanceMetrics' => ['title' => '开启实例级别指标', 'description' => 'Specifies whether to enable instance-level metrics. If you enable this feature, you can view instance-level core metrics, such as CPU utilization, memory usage, instance network conditions, and requests within an instance. Valid values:'."\n" ."\n" .'* **false** (default): disables instance-level metrics.'."\n" .'* **true**: enables instance-level metrics.'."\n", 'visibility' => 'Public', 'type' => 'boolean', 'example' => 'true', 'backendName' => 'enableInstanceMetrics'], 'logBeginRule' => ['title' => '日志切分规则', 'description' => 'The log segmentation rule. Logs are segmented based on rules. Log segments are written to Simple Log Service.'."\n" ."\n" .'* **None** (default): disables log segmentation.'."\n" .'* **DefaultRegex**: sets the log segmentation rule to the default regex rule. If you set this parameter to DefaultRegex, logs are segmented based on date-containing lines. For example, if a line is 2021-10-10 in a log, the log is segmented based on the line, and the line is used as the first line of a continuous segment of log data until another date-containing line is detected. The segment is written to Simple Log Service as a whole.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'DefaultRegex', 'backendName' => 'logBeginRule'], ], ], 'LogTriggerConfig' => [ 'title' => 'A short description of struct', 'description' => 'The configurations of the Simple Log Service trigger.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'sourceConfig' => ['description' => 'The trigger source configuration.'."\n", 'visibility' => 'Public', 'backendName' => 'sourceConfig', '$ref' => '#/components/schemas/SourceConfig'], 'jobConfig' => ['description' => 'The interval at which the trigger reads logs, and the retry configuration upon errors.'."\n", 'visibility' => 'Public', 'backendName' => 'jobConfig', '$ref' => '#/components/schemas/JobConfig'], 'functionParameter' => [ 'title' => 'functionParameter', 'description' => 'The invocation parameter.'."\n", 'visibility' => 'Public', 'type' => 'object', 'additionalProperties' => ['description' => 'The content of the invocation configuration. Simple Log Service passes the configurations into the function as part of the event. The configuration content must be a JSON string.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '"serverless"'], 'backendName' => 'functionParameter', ], 'logConfig' => ['description' => 'The log configurations of the trigger.'."\n", 'visibility' => 'Public', 'example' => '{\'project\': \'my-sls-project\', \'logstore\': \'my-sls-logstore\'}', 'backendName' => 'logConfig', '$ref' => '#/components/schemas/JobLogConfig'], 'enable' => ['title' => 'enable', 'description' => 'Specifies whether to enable the trigger.'."\n" ."\n" .'* **true**: enables the trigger.'."\n" .'* **false**: does not enable the trigger. In this case, the log configurations do not take effect.'."\n", 'visibility' => 'Public', 'type' => 'boolean', 'example' => 'true', 'backendName' => 'enable'], ], ], 'MnsTopicTriggerConfig' => [ 'title' => 'A short description of struct', 'description' => 'The configurations of the Message Service (MNS) topic trigger.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'filterTag' => ['title' => 'filterTag', 'description' => 'The filtering tag. Function execution is triggered only when a message that contains the specified filter tag is received.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '“serverless”', 'backendName' => 'filterTag'], 'notifyContentFormat' => [ 'title' => 'notifyContentFormat', 'description' => 'The content format of the trigger event. The following two content formats are supported:'."\n" ."\n" .'* **JSON**'."\n" .'* **STREAM**'."\n", 'visibility' => 'Public', 'type' => 'string', 'enumValueTitles' => ['STREAM' => 'STREAM', 'JSON' => 'JSON'], 'example' => 'JSON', 'backendName' => 'notifyContentFormat', ], 'notifyStrategy' => [ 'title' => 'notifyStrategy', 'description' => 'The retry policy. The following two retry policies are supported:'."\n" ."\n" .'* **BACKOFF_RETRY**: a backoff retry. It retries three times. The interval between consecutive retries is a random value between 10 seconds and 20 seconds.'."\n" .'* **EXPONENTIAL_DECAY_RETRY**: an exponential decay retry policy. A total of 176 retries are performed, with the interval between consecutive retries increasing exponentially to 512 seconds. The total retry period is 1 day. The specific intervals are 1, 2, 4, 8, 16, 32, 64, 128, 256, and 512 seconds. The interval of 512 seconds are used for 167 times.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* EXPONENTIAL_DECAY_RETRY'."\n" .'* BACKOFF_RETRY', 'visibility' => 'Public', 'type' => 'string', 'enumValueTitles' => ['EXPONENTIAL_DECAY_RETRY' => 'EXPONENTIAL_DECAY_RETRY', 'BACKOFF_RETRY' => 'BACKOFF_RETRY'], 'example' => 'BACKOFF_RETRY', 'backendName' => 'notifyStrategy', ], ], ], 'NASConfig' => [ 'title' => 'NAS配置', 'description' => 'The File Storage NAS (NAS) configurations.', 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'groupId' => ['title' => 'groupID', 'description' => 'The group ID.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'backendName' => 'groupId'], 'mountPoints' => [ 'title' => '挂载点', 'description' => 'The mount targets.'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'description' => 'The mount target.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'mountDir' => ['title' => '本地挂载目录', 'description' => 'The local mount directory.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '/home/test', 'backendName' => 'mountDir'], 'serverAddr' => ['title' => 'NAS服务器地址', 'description' => 'The NAS server address.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '***-uni85.cn-hangzhou.nas.aliyuncs.com:/', 'backendName' => 'serverAddr'], 'enableTLS' => ['title' => '使用传输加密方式挂载', 'description' => 'Specifies whether to use the Transport Layer Security (TLS) protocol to secure data transmission. Take note that only general-purpose NAS file systems support transmission encryption.'."\n", 'visibility' => 'Public', 'type' => 'boolean', 'example' => 'false', 'backendName' => 'enableTLS'], ], 'extendType' => 'true', ], 'backendName' => 'mountPoints', ], 'userId' => ['title' => 'userID', 'description' => 'The account ID.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'backendName' => 'userId'], ], ], 'OnDemandConfig' => [ 'title' => '按量资源配置', 'description' => 'The on-demand resource configurations.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'resource' => ['title' => '函数详情', 'description' => 'The resource description.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '123#serviceName#alias#functionName', 'backendName' => 'resource'], 'maximumInstanceCount' => ['title' => 'todo', 'description' => 'The maximum number of on-demand instances. The minimum value is 0, which specifies not to configure on-demand instances. The maximum value cannot exceed the account-level concurrency limit, which is 300 by default.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'backendName' => 'maximumInstanceCount'], ], ], 'OpenReservedCapacity' => [ 'title' => 'A short description of struct', 'description' => 'The information about the subscription instance.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'instanceId' => ['title' => 'instanceId', 'description' => 'The instance ID.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'fc-xxxx', 'backendName' => 'instanceId'], 'cu' => ['title' => 'cu', 'description' => 'The number of subscription CUs that are purchased.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '15', 'backendName' => 'cu'], 'deadline' => ['title' => 'deadline', 'description' => 'The timeout period of function execution. The value is in the UNIX timestamp format. Unit: milliseconds.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '150000000', 'backendName' => 'deadline'], 'createdTime' => ['title' => 'createdTime', 'description' => 'The time when the instance was created.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '2020-04-03T05:57:28Z', 'backendName' => 'createdTime'], 'lastModifiedTime' => ['title' => 'lastModifiedTime', 'description' => 'The time when the instance was last updated.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '2020-04-03T05:57:28Z', 'backendName' => 'lastModifiedTime'], 'isRefunded' => ['title' => 'isRefunded', 'description' => 'Indicates whether a refund has been made.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'true', 'backendName' => 'isRefunded'], ], ], 'OSSMountConfig' => [ 'title' => 'OSS挂载配置', 'description' => 'The Object Storage Service (OSS) mounting configurations.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'mountPoints' => [ 'title' => 'OSS挂载点配置', 'description' => 'The configurations of the OSS mount points.'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'description' => 'The configurations of the OSS mount point.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'bucketName' => ['title' => '挂载的OSS bucket', 'description' => 'The OSS bucket that you want to mount.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'my-bucket', 'backendName' => 'bucketName'], 'mountDir' => ['title' => '挂载目录', 'description' => 'The mount directory.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '/mnt/dir', 'backendName' => 'mountDir'], 'readOnly' => ['title' => '是否只读', 'description' => 'Specifies whether the mounted directory is read-only after the OSS bucket is mounted. Valid values:'."\n" ."\n" .'* true: read-only'."\n" .'* false: read and write'."\n", 'visibility' => 'Public', 'type' => 'boolean', 'example' => 'true', 'backendName' => 'readOnly'], 'endpoint' => ['title' => 'OSS访问地址', 'description' => 'The OSS endpoint.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'http://oss-cn-shanghai.aliyuncs.com', 'backendName' => 'endpoint'], 'bucketPath' => ['title' => '挂载的OSS bucket路径', 'description' => 'The path of the mounted OSS bucket.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '/my-dir', 'backendName' => 'bucketPath'], ], 'extendType' => 'true', ], 'backendName' => 'mountPoints', ], ], 'required' => false, ], 'OSSTriggerConfig' => [ 'title' => 'A short description of struct', 'description' => 'The Object Storage Service (OSS) trigger configurations.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'events' => [ 'title' => 'events', 'description' => 'The events. Specify OSS-related events.'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'The name of the event type. The name of the event type can contain wildcard characters. For more information about event types, see [OSS events](~~62922~~).'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '"oss:ObjectCreated:*"', 'extendType' => 'true'], 'backendName' => 'events', ], 'filter' => ['description' => 'The event filtering rule.'."\n", 'visibility' => 'Public', 'backendName' => 'filter', '$ref' => '#/components/schemas/OSSTriggerFilter', 'example' => ''], ], ], 'OSSTriggerFilter' => [ 'title' => 'A short description of struct', 'description' => 'The event filtering rule.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'key' => ['description' => 'The description of the event filtering rule.'."\n", 'visibility' => 'Public', 'backendName' => 'key', '$ref' => '#/components/schemas/OSSTriggerKey', 'example' => 'Refer to the format and content of the key section in the following configuration: {"events": \\["oss:ObjectCreated:\\*"], "filter": {"key": {"prefix": "/prefix", "suffix": ".zip"}}}'."\n", 'title' => ''], ], ], 'OSSTriggerKey' => [ 'title' => 'A short description of struct', 'description' => 'The description of the event filtering rule.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'prefix' => ['title' => 'prefix', 'description' => 'The prefix that is used to filter the event-related resources. Only events related to the resources whose names are prefixed with the specified value of Prefix are traced. For example, if you set Prefix to serverless\\_, only events related to the resources that are prefixed with serverless\\_ can trigger the function.'."\n", 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'prefix', 'example' => '"serverless_"'], 'suffix' => ['title' => 'suffix', 'description' => 'The suffix that is used to filter the event-related resources. Only events related to the resources whose names are suffixed with the specified value of Suffix are traced. For example, if you set Suffix to .zip, only events related to the resources that are suffixed with .zip can trigger the function.'."\n", 'visibility' => 'Public', 'type' => 'string', 'backendName' => 'suffix', 'example' => '".zip"'], ], ], 'OutputCodeLocation' => [ 'title' => 'A short description of struct', 'description' => 'The address of the layer code.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'repositoryType' => ['title' => 'repositoryType', 'description' => 'The type of the layer code.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'oss', 'backendName' => 'repositoryType'], 'location' => ['title' => 'location', 'description' => 'The address of the layer code.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'https://xyz.oss-cnxxx.aliyuncs.com/xxx/xxx/xxx', 'backendName' => 'location'], ], ], 'PathConfig' => [ 'title' => '单条路径匹配规则,根据请求的路径和方法匹配指定版本/别名的函数', 'description' => 'The single routing rule for a custom domain name.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'functionName' => ['title' => '该路径/方法对应的函数名称', 'description' => 'The name of the function that corresponds to the routing rule.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'f1', 'backendName' => 'functionName'], 'methods' => [ 'title' => '请求方法,不填表示当前路径的所有方法匹配同一函数', 'description' => 'The request methods supported by the routing rule.'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'description' => 'The request method.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* HEAD'."\n" .'* DELETE'."\n" .'* POST'."\n" .'* GET'."\n" .'* OPTIONS'."\n" .'* PUT'."\n" .'* PATCH'."\n", 'visibility' => 'Public', 'type' => 'string', 'enumValueTitles' => ['HEAD' => 'HEAD', 'DELETE' => 'DELETE', 'POST' => 'POST', 'GET' => 'GET', 'OPTIONS' => 'OPTIONS', 'PUT' => 'PUT', 'PATCH' => 'PATCH'], 'example' => 'GET', 'extendType' => 'true', 'enum' => ['HEAD', 'GET', 'POST', 'PUT', 'DELETE', 'PATCH'], ], 'backendName' => 'methods', ], 'path' => ['title' => '请求路径', 'description' => 'The request path that corresponds to the routing rule.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '/login', 'backendName' => 'path'], 'qualifier' => ['title' => '该路径/方法对应服务的版本/别名', 'description' => 'The version of the service to which the function that corresponds to the routing rule belongs. For more information, see [Overview](~~96351~~).'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'prod', 'backendName' => 'qualifier'], 'serviceName' => ['title' => '该路径/方法对应的服务名称', 'description' => 'The name of the service to which the function that corresponds to the routing rule belongs.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 's1', 'backendName' => 'serviceName'], 'rewriteConfig' => ['title' => 'URI重写配置', 'description' => 'The URI rewrite configuration.'."\n", 'visibility' => 'Public', 'backendName' => 'rewriteConfig', '$ref' => '#/components/schemas/RewriteConfig'], ], ], 'PolicyItem' => [ 'title' => '灰度规则项', 'description' => 'The policy details.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'type' => [ 'title' => '参数类型。可以取HTTP请求中的有关值。', 'description' => 'The parameter types. You can use values in HTTP requests.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'Header', 'backendName' => 'type', 'enum' => ['Header', 'Cookie', 'Param'], ], 'key' => ['title' => 'key指定控制流量灰度的字段名。 例如key为"x-test-uid",则请求中"x-test-uid" 字段的值将决定请求是否被路由到灰度版本上', 'description' => 'key specifies the name of the field that controls traffic of a canary release policy. For example, if you set key to `x-test-uid`, the value of the `x-test-uid` field in a request determines whether the request is routed to the canary release version.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'x-test-uid', 'backendName' => 'key'], 'value' => ['title' => 'value指定控制流量灰度的字段值。 请求中由参数key指定的字段实际值会和参数value字段值,按指定的运算符进行比较,决定请求是否被路由到灰度版本上', 'description' => 'value specifies the value of the field that controls traffic of canary releases. The actual value of the field specified by the key parameter in a request is compared with the value of the value parameter based on the specified operator to determine whether a request is routed to the canary release version.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => '11111', 'backendName' => 'value'], 'operator' => [ 'title' => 'operator指定运算符。 将请求中由参数key指定的字段的实际值和参数 value 指定的值,按指定的运算符进行比较。 取值: ● >, <, >=, <=, = 和 != ,大小比较规则遵循字典序; ● in :字符串包含关系; ● percent: 百分比值(取值范围 (0,100] 的整数) 表示根据请求中指定字段key对应的实际值分布,按百分比灰度。其中字段由参数key指定,百分比值由参数 value 指定 。 例如一条 { type=Header, key=uid, value=20, operator=percent } 的规则,表示根据请求 header 中字段 uid 的值的分布,其中 20% 的请求路由到灰度版本上。', 'description' => 'operator specifies the operator, which is used to compare the actual value of the field specified by key and the value specified by value in a request. Valid values:'."\n" ."\n" .'* **>**, **<**, **>=**, **<=**, **=**, and **!=**: follows the lexicographic order of comparison.'."\n" .'* **in**: string inclusion relationship.'."\n" .'* **percentage**: the percentage value. Valid values: (0,100]. The value must be an integer. The system routes traffic of specified proportion based on actual values of key in requests. The field is specified by the key parameter, and the percentage is specified by the value parameter. For example, `{ type=Header, key=uid, value=20, operator=percent }` indicates that 20% of the requests are routed to the canary release version based on the distribution of values of the uid field in the request header.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => '=', 'backendName' => 'operator', 'enum' => ['>', '<', '>=', '<=', '=', '!=', 'in', 'percent'], ], ], 'required' => false, ], 'PreFreeze' => [ 'title' => 'A short description of struct', 'description' => 'The definition of the PreFreeze hook.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'handler' => ['title' => 'preFreeze handler name', 'description' => 'The handler of the PreFreeze hook.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'index.preFreeze', 'backendName' => 'handler'], 'timeout' => ['title' => 'handler timeout', 'description' => 'The timeout period of the PreFreeze hook.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'backendName' => 'timeout'], ], ], 'PreStop' => [ 'title' => 'A short description of struct', 'description' => 'The definition of the PreStop function.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'handler' => ['title' => 'PreStop handler', 'description' => 'The handler of the PreStop function.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'index.PreStop', 'backendName' => 'handler'], 'timeout' => ['title' => 'PreStop hander timeout', 'description' => 'The timeout period of the PreStop function.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'backendName' => 'timeout'], ], ], 'Resource' => [ 'title' => 'A short description of struct', 'description' => 'Resource'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'resourceArn' => ['title' => 'resourceArn', 'description' => 'The Alibaba Cloud Resource Name (ARN) of the resource.'."\n" ."\n" .'> You can use the value of this parameter to query information about the resource, such as the account, service, and region to which the resource belongs. You can manage tags only for services for top level resources.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'acs:fc:cn-shanghai:188077086902****:services/demo', 'backendName' => 'resourceArn'], 'tags' => [ 'title' => 'tags', 'description' => 'The tag dictionary. Value description:'."\n" ."\n" .'* **key**: the tag key'."\n" .'* **value**: the tag value'."\n", 'visibility' => 'Public', 'type' => 'object', 'additionalProperties' => ['description' => 'The tag value.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '{"k1":"v1" , "k2":"v2"}'], 'backendName' => 'tags', ], ], ], 'RetryStrategy' => [ 'title' => 'A short description of struct', 'description' => 'The retry policy that is used when an event fails to be pushed.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'PushRetryStrategy' => [ 'title' => 'PushRetryStrategy', 'description' => 'The retry policy. Valid values:'."\n" ."\n" .'* BACKOFF_RETRY'."\n" .'* EXPONENTIAL_DECAY_RETRY'."\n", 'visibility' => 'Public', 'type' => 'string', 'enumValueTitles' => ['EXPONENTIAL_DECAY_RETRY' => 'EXPONENTIAL_DECAY_RETRY', 'BACKOFF_RETRY' => 'BACKOFF_RETRY'], 'example' => 'BACKOFF_RETRY', 'backendName' => 'PushRetryStrategy', ], 'MaximumEventAgeInSeconds' => ['title' => 'MaximumEventAgeInSeconds', 'description' => 'The maximum period during which retries can be performed. Unit: seconds.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '512', 'backendName' => 'MaximumEventAgeInSeconds'], 'MaximumRetryAttempts' => ['title' => 'MaximumRetryAttempts', 'description' => 'The maximum number of retries.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'backendName' => 'MaximumRetryAttempts'], ], ], 'RewriteConfig' => [ 'title' => 'URI重写配置', 'description' => 'The URI rewrite configurations.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'equalRules' => [ 'title' => '完全匹配规则', 'description' => 'The exact match rules.'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'match' => ['title' => '匹配规则', 'description' => 'The matching rule.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '/old', 'backendName' => 'match'], 'replacement' => ['title' => '替换规则', 'description' => 'The replacement rule.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '/new', 'backendName' => 'replacement'], ], 'extendType' => 'true', 'description' => '', ], 'backendName' => 'equalRules', ], 'wildcardRules' => [ 'title' => '通配符匹配规则', 'description' => 'The wildcard match rules.'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'match' => ['title' => '匹配规则', 'description' => 'The matching rule.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '/api/*', 'backendName' => 'match'], 'replacement' => ['title' => '替换规则', 'description' => 'The replacement rule.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '/$1', 'backendName' => 'replacement'], ], 'extendType' => 'true', 'description' => '', ], 'backendName' => 'wildcardRules', ], 'regexRules' => [ 'title' => '正则匹配规则', 'description' => 'The regex match rules.'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => [ 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'match' => ['title' => '匹配规则', 'description' => 'The matching rule.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '^/js/(.*?)$', 'backendName' => 'match'], 'replacement' => ['title' => '替换规则', 'description' => 'The replacement rule.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '/public/javascripts/$1', 'backendName' => 'replacement'], ], 'extendType' => 'true', 'description' => '', ], 'backendName' => 'regexRules', ], ], ], 'RouteConfig' => [ 'title' => 'A short description of struct', 'description' => 'The route configurations.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'routes' => [ 'title' => 'routes', 'description' => 'The routes, which specify the mappings between PATH and Function during access to a custom domain name.'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'The mapping between PATH and Function during access to a custom domain name.'."\n", 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/PathConfig'], 'backendName' => 'routes', 'itemName' => 'route', ], ], ], 'RoutePolicy' => [ 'title' => '灰度规则:满足灰度规则的流量,将被路由至灰度实例', 'description' => 'The canary release rule. The traffic that meets the conditions of the canary release rule is diverted to the canary release instances.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'condition' => ['title' => '条件模式:灰度规则项的逻辑运算。 枚举值: AND: 全部灰度规则项满足则命中。 OR: 任意一个灰度规则项满足则命中。', 'description' => 'The condition mode, which specifies the logical operation of the canary release rule. Valid values:'."\n" ."\n" .'* **AND**: The canary release rule is triggered when the conditions of all items are met.'."\n" .'* **OR**: The canary release rule is triggered when the condition of any item is met.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'AND', 'backendName' => 'condition'], 'policyItems' => [ 'title' => '灰度规则项数组', 'description' => 'The canary release rule items.'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'The canary release rule item.'."\n", 'visibility' => 'Public', 'required' => true, 'extendType' => 'true', '$ref' => '#/components/schemas/PolicyItem'], 'required' => true, 'backendName' => 'policyItems', ], ], 'parseType' => 'struct', ], 'RunOptions' => [ 'title' => 'A short description of struct', 'description' => 'The parameters that are configured for the runtime environment.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'batchWindow' => ['title' => 'batchWindow', 'description' => 'The batch window configurations.'."\n", 'visibility' => 'Public', 'backendName' => 'batchWindow', '$ref' => '#/components/schemas/BatchWindow'], 'retryStrategy' => ['title' => 'retryStrategy', 'description' => 'The information about the retry policy that is used if events fail to be pushed.'."\n", 'visibility' => 'Public', 'backendName' => 'retryStrategy', '$ref' => '#/components/schemas/RetryStrategy'], 'deadLetterQueue' => ['title' => 'deadLetterQueue', 'description' => 'Specifies whether to enable dead-letter queues. By default, dead-letter queues are disabled. Messages that fail to be pushed are discarded after the maximum number of retries specified by the retry policy is reached.'."\n", 'visibility' => 'Public', 'backendName' => 'deadLetterQueue', '$ref' => '#/components/schemas/DeadLetterQueue'], 'maximumTasks' => ['title' => 'maximumTasks', 'description' => 'The concurrency quota. This quota indicates the number of consumers.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'backendName' => 'maximumTasks'], 'errorsTolerance' => [ 'title' => 'errorsTolerance', 'description' => 'The exception tolerance policy. Valid values:'."\n" ."\n" .'* NONE: does not tolerate exceptions.'."\n" .'* ALL: tolerates all exceptions.'."\n", 'visibility' => 'Public', 'type' => 'string', 'enumValueTitles' => ['ALL' => 'ALL', 'NONE' => 'NONE'], 'example' => 'ALL', 'backendName' => 'errorsTolerance', ], 'mode' => [ 'title' => 'mode', 'description' => 'The underlying application mode when message data is pushed to Function Compute. Valid values:'."\n" ."\n" .'* event-streaming: the event streaming mode. In this mode, events are pushed in arrays. One or more message events are pushed to functions in batches based on push configurations. This mode is suitable for processing end-to-end streaming data.'."\n" .'* event-driven: the event mode. Individual messages are passed as the event parameter to the function. The event follows the CloudEvents standard. Note: Batch configurations are not supported in this mode.'."\n", 'visibility' => 'Public', 'type' => 'string', 'enumValueTitles' => ['event-streaming' => 'event-streaming', 'event-driven' => 'event-driven'], 'example' => 'event-streaming', 'backendName' => 'mode', ], ], ], 'ScheduledActions' => [ 'title' => 'A short description of struct', 'description' => 'The scheduled scaling configurations.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'name' => ['title' => 'name', 'description' => 'The name of the scaling policy.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'name', 'backendName' => 'name'], 'startTime' => ['title' => 'startTime', 'description' => 'The time when the policy takes effect.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '2020-10-10T10:10:10Z', 'backendName' => 'startTime'], 'endTime' => ['title' => 'endTime', 'description' => 'The time when the policy expires.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '2021-10-10T10:10:10Z', 'backendName' => 'endTime'], 'target' => ['title' => 'target', 'description' => 'The number of provisioned instances.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '50', 'backendName' => 'target'], 'scheduleExpression' => ['title' => 'scheduleExpression', 'description' => 'The schedule expression.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'cron(0/30 * * * *)', 'backendName' => 'scheduleExpression'], ], ], 'SourceConfig' => [ 'title' => 'A short description of struct', 'description' => 'The trigger source configurations.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'logstore' => ['title' => 'logstore', 'description' => 'The Logstore name. The trigger periodically subscribes to data from this Logstore to trigger the function.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'my-sls-logstore-name'."\n", 'backendName' => 'logstore'], ], ], 'SourceDTSParameters' => [ 'title' => 'A short description of struct', 'description' => 'The custom parameter configurations when the event source is Data Transmission Service (DTS).'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'RegionId' => ['title' => 'RegionId', 'description' => 'The region ID.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'backendName' => 'RegionId'], 'BrokerUrl' => ['title' => 'BrokerUrl', 'description' => 'The network address and port number of the data subscription channel.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'dts-cn-shanghai-vpc.aliyuncs.com:18003', 'backendName' => 'BrokerUrl'], 'Topic' => ['title' => 'Topic', 'description' => 'The subscribed topic of the data subscription channel.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'cn_shanghai_vpc_rm_uf6398ykj0218****_dts_trigger_upgrade_from_old_version2', 'backendName' => 'Topic'], 'Sid' => ['title' => 'Sid', 'description' => 'The ID of the consumer group.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'dtse34j22j025a****', 'backendName' => 'Sid'], 'Username' => ['title' => 'Username', 'description' => 'The account of the consumer group.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'dts_trigger', 'backendName' => 'Username'], 'Password' => ['title' => 'Password', 'description' => 'The password of the consumer group.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'dtsTest123', 'backendName' => 'Password'], 'InitCheckPoint' => ['title' => 'InitCheckPoint', 'description' => 'The UNIX timestamp that is generated when the SDK client consumes the first data record.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1677340805', 'backendName' => 'InitCheckPoint'], 'TaskId' => ['title' => 'TaskId', 'description' => 'The task ID.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'e34z2gm325q****', 'backendName' => 'TaskId'], ], ], 'SourceKafkaParameters' => [ 'title' => 'A short description of struct', 'description' => 'The custom parameter configurations when the event source is ApsaraMQ for Kafka.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'RegionId' => ['title' => 'RegionId', 'description' => 'The region ID.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'cn-hangzhou', 'backendName' => 'RegionId'], 'InstanceId' => ['title' => 'InstanceId', 'description' => 'The instance ID.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'r-8vb64581862c****'."\n", 'backendName' => 'InstanceId'], 'Topic' => ['title' => 'Topic', 'description' => 'The topic name.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'popvip_center_robot_order', 'backendName' => 'Topic'], 'ConsumerGroup' => ['title' => 'ConsumerGroup', 'description' => 'The group ID of the consumer that subscribes to the topic.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'DEFAULT_GROUP', 'backendName' => 'ConsumerGroup'], 'OffsetReset' => [ 'title' => 'OffsetReset', 'description' => 'The offset. Valid values:'."\n" ."\n" .'* earliest: consumes messages from the earliest offset.'."\n" .'* latest: consumes messages from the latest offset.'."\n", 'visibility' => 'Public', 'type' => 'string', 'enumValueTitles' => ['earliest' => 'earliest', 'latest' => 'latest'], 'example' => 'latest', 'backendName' => 'OffsetReset', ], 'Network' => ['title' => 'Network', 'description' => 'The network type. Default value: Default. The value PublicNetwork specifies a virtual private cloud (VPC) network.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'Default', 'backendName' => 'Network'], 'VpcId' => ['title' => 'VpcId', 'description' => 'The VPC ID.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'vpc-8vblalsi0vbhizr77****'."\n", 'backendName' => 'VpcId'], 'VSwitchIds' => ['title' => 'VSwitchIds', 'description' => 'The vSwitch ID.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'vsw-bp179l3llg3jjxwrq72****'."\n", 'backendName' => 'VSwitchIds'], 'SecurityGroupId' => ['title' => 'SecurityGroupId', 'description' => 'The security group ID.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'sg-bp1iv19sp1msc7zot4****'."\n", 'backendName' => 'SecurityGroupId'], ], ], 'SourceMNSParameters' => [ 'title' => 'A short description of struct', 'description' => 'The custom parameter configurations when the event source is Simple Message Queue (formerly MNS).'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'RegionId' => ['title' => 'RegionId', 'description' => 'The region to which the Simple Message Queue (formerly MNS) queue belongs.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'cn-hangzhou', 'backendName' => 'RegionId'], 'QueueName' => ['title' => 'QueueName', 'description' => 'The name of the Simple Message Queue (formerly MNS) queue.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'demo', 'backendName' => 'QueueName'], 'IsBase64Decode' => ['title' => 'IsBase64Decode', 'description' => 'Specify whether to enable Base64 encoding. Default value: true.'."\n", 'visibility' => 'Public', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'backendName' => 'IsBase64Decode'], ], ], 'SourceMQTTParameters' => [ 'title' => 'A short description of struct', 'description' => 'The custom parameter configurations when the event source is ApsaraMQ for MQTT.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'RegionId' => ['title' => 'RegionId', 'description' => 'The region ID.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'cn-shanghai', 'backendName' => 'RegionId'], 'InstanceId' => ['title' => 'InstanceId', 'description' => 'The instance ID.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'mqtt-****', 'backendName' => 'InstanceId'], 'Topic' => ['title' => 'Topic', 'description' => 'The topic from which messages are sent.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'testTopic', 'backendName' => 'Topic'], ], ], 'SourceRabbitMQParameters' => [ 'title' => 'A short description of struct', 'description' => 'The custom parameter configurations when the event source is ApsaraMQ for RabbitMQ.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'RegionId' => ['title' => 'RegionId', 'description' => 'The region in which the ApsaraMQ for RabbitMQ instance resides.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'cn-hangzhou', 'backendName' => 'RegionId'], 'InstanceId' => ['title' => 'InstanceId', 'description' => 'The ID of the ApsaraMQ for RabbitMQ instance. For more information, see [Limits](~~101627~~).'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'amqp-cn-nif22u74****', 'backendName' => 'InstanceId'], 'VirtualHostName' => ['title' => 'VirtualHostName', 'description' => 'The vhost name of the ApsaraMQ for RabbitMQ instance. For more information, see [Limits](~~101627~~).'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'eb-connect', 'backendName' => 'VirtualHostName'], 'QueueName' => ['title' => 'QueueName', 'description' => 'The name of the queue on the ApsaraMQ for RabbitMQ instance. For more information, see [Limits](~~101627~~).'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'demo', 'backendName' => 'QueueName'], ], ], 'SourceRocketMQParameters' => [ 'title' => 'A short description of struct', 'description' => 'The custom parameter configurations when the event source is ApsaraMQ for RocketMQ.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'RegionId' => ['title' => 'RegionId', 'description' => 'The region to which the ApsaraMQ for RocketMQ instance belongs.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'cn-hangzhou', 'backendName' => 'RegionId'], 'InstanceId' => ['title' => 'InstanceId', 'description' => 'The ID of the ApsaraMQ for RocketMQ instance. For more information, see [Limits](~~85006~~).'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'MQ_INST_164901546557****_BAAN****', 'backendName' => 'InstanceId'], 'Topic' => ['title' => 'Topic', 'description' => 'The name of the topic in the ApsaraMQ for RocketMQ instance. For more information, see [Limits](~~85006~~).'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'mytopic', 'backendName' => 'Topic'], 'Tag' => ['title' => 'Tag', 'description' => 'The tags that are used to filter messages.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'test', 'backendName' => 'Tag'], 'Offset' => ['title' => 'Offset', 'description' => 'The consumer offset of messages. Valid values:'."\n" ."\n" .'* CONSUME_FROM_LAST_OFFSET: Messages are consumed from the latest offset.'."\n" .'* CONSUME_FROM_FIRST_OFFSET: Messages are consumed from the earliest offset.'."\n" .'* CONSUME_FROM_TIMESTAMP: Messages are consumed from the offset at the specified point in time.'."\n" ."\n" .'Default value: CONSUME_FROM_LAST_OFFSET.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'CONSUME_FROM_TIMESTAMP', 'backendName' => 'Offset'], 'Timestamp' => ['title' => 'Timestamp', 'description' => 'The timestamp of the offset from which the consumption starts. This parameter is valid only when you set Offset to CONSUME_FROM_TIMESTAMP.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '1636597951964', 'backendName' => 'Timestamp'], 'GroupID' => ['title' => 'GroupID', 'description' => 'The ID of the consumer group on the ApsaraMQ for RocketMQ instance.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'GID_group1', 'backendName' => 'GroupID'], 'InstanceType' => ['title' => 'InstanceType', 'description' => 'The instance type of the ApsaraMQ for RocketMQ instance.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'Cloud_5', 'backendName' => 'InstanceType'], 'InstanceEndpoint' => ['title' => 'InstanceEndpoint', 'description' => 'The information about the endpoint of the ApsaraMQ for RocketMQ instance.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com', 'backendName' => 'InstanceEndpoint'], 'InstanceUsername' => ['title' => 'InstanceUsername', 'description' => 'The username of the ApsaraMQ for RocketMQ instance. If you use the Internet, you must configure the username and password of the instance in the SDK code for authentication.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '6W0xz2uPfiwp****', 'backendName' => 'InstanceUsername'], 'InstancePassword' => ['title' => 'InstancePassword', 'description' => 'The password of the ApsaraMQ for RocketMQ instance.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '****', 'backendName' => 'InstancePassword'], 'FilterType' => ['title' => 'FilterType', 'description' => 'The message filter type.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'Tag', 'backendName' => 'FilterType'], 'FilterSql' => ['title' => 'FilterSql', 'description' => 'This parameter is invalid. You do not need to configure the parameter.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '无', 'backendName' => 'FilterSql'], 'AuthType' => ['title' => 'AuthType', 'description' => 'The authentication type. Set the value to ACL or leave the value empty. The value ACL specifies that authentication is enabled. In this case, you must specify InstanceUsername and InstancePassword.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'ACL', 'backendName' => 'AuthType'], 'InstanceVpcId' => ['title' => 'InstanceVpcId', 'description' => 'The ID of the virtual private cloud (VPC) associated with the instance.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'vpc-uf6of9452b2pba82c****', 'backendName' => 'InstanceVpcId'], 'InstanceVSwitchIds' => ['title' => 'InstanceVSwitchIds', 'description' => 'The ID of the vSwitch associated with the instance.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'vsw-uf6gwtbn6etadpvz7****', 'backendName' => 'InstanceVSwitchIds'], 'InstanceSecurityGroupId' => ['title' => 'InstanceSecurityGroupId', 'description' => 'The ID of the security group.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'sg-hp35r2hc3a3sv8q2****', 'backendName' => 'InstanceSecurityGroupId'], 'InstanceNetwork' => ['title' => 'InstanceNetwork', 'description' => 'The network type.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'PrivateNetwork', 'backendName' => 'InstanceNetwork'], ], ], 'StatefulAsyncInvocation' => [ 'title' => '异步任务结构体。', 'description' => 'The struct of the asynchronous task.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'functionName' => ['title' => '异步任务所属的函数的名称。', 'description' => 'The name of the function to which the asynchronous task belongs.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'functionName', 'backendName' => 'functionName'], 'serviceName' => ['title' => '异步任务所属的服务的名称。', 'description' => 'The name of the service that contains the function to which the asynchronous task belongs.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'serviceName', 'backendName' => 'serviceName'], 'qualifier' => ['title' => '异步任务所属的服务的别名或版本。', 'description' => 'The version or alias of the service that contains the function to which the asynchronous task belongs.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'LATEST', 'backendName' => 'qualifier'], 'invocationId' => ['title' => '异步任务ID。', 'description' => 'The ID of the asynchronous task.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'demo-id', 'backendName' => 'invocationId'], 'status' => ['title' => '异步任务的执行状态。 Enqueued:异步消息已入队,等待处理。 Succeeded:调用执行成功。 Failed:调用执行失败。 Running:调用执行中。 Stopped:调用执行终止。 Stopping:执行停止中。 Invalid:您的执行因函数被删除等原因处于无效状态(任务未被执行)。 Expired:您为任务配置了最长排队等待的期限。该任务因为超期被丢弃(任务未被执行)。 Retrying:异步调用因执行错误重试中。', 'description' => 'The state of the asynchronous task.'."\n" ."\n" .'* **Enqueued**: The asynchronous task is enqueued and is waiting to be executed.'."\n" .'* **Succeeded**: The invocation succeeded.'."\n" .'* **Failed**: The invocation failed.'."\n" .'* **Running**: The invocation is being executed.'."\n" .'* **Stopped**: The invocation was terminated.'."\n" .'* **Stopping**: The invocation is being terminated.'."\n" .'* **Invalid**: The invocation is invalid and not executed due to specific reasons. For example, the function is deleted.'."\n" .'* **Expired**: The maximum validity period of messages is specified for the asynchronous invocation. The invocation is discarded and not executed because the specified maximum validity period of messages elapsed.'."\n" .'* **Retrying**: The asynchronous task is being retried due to an execution error.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'Running', 'backendName' => 'status'], 'startedTime' => ['title' => '异步任务的开始时间。', 'description' => 'The start time of the asynchronous task.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '1633449590000', 'backendName' => 'startedTime'], 'endTime' => ['title' => '异步任务的结束时间。', 'description' => 'The end time of the asynchronous task.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '1633449599000', 'backendName' => 'endTime'], 'destinationStatus' => ['title' => '异步任务的目的状态。', 'description' => 'The state of the asynchronous task.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'Succeeded', 'backendName' => 'destinationStatus'], 'invocationErrorMessage' => ['title' => '异步任务的错误消息。', 'description' => 'The error message for the failed asynchronous task.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'UnhandledInvocationError', 'backendName' => 'invocationErrorMessage'], 'invocationPayload' => ['title' => '异步任务的任务触发事件。', 'description' => 'The event triggered by the asynchronous task.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '"body"', 'backendName' => 'invocationPayload'], 'alreadyRetriedTimes' => ['title' => '异步任务调用失败后的已重试次数。', 'description' => 'The number of retries if the asynchronous task fails.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'backendName' => 'alreadyRetriedTimes'], 'requestId' => ['title' => '异步任务的请求ID。', 'description' => 'The request ID of the asynchronous task.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'ABA740D4-********-882707EADC37', 'backendName' => 'requestId'], 'instanceId' => ['title' => '异步任务的执行实例ID。', 'description' => 'The ID of the instance that is used to run the asynchronous task.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'D4-*******9FD1-882707E', 'backendName' => 'instanceId'], 'events' => [ 'title' => '异步任务事件列表。', 'description' => 'The list of events that trigger the asynchronous task.'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'The event that triggers the asynchronous task.'."\n", 'visibility' => 'Public', 'extendType' => 'true', '$ref' => '#/components/schemas/StatefulAsyncInvocationEvent'], 'required' => false, 'backendName' => 'events', ], 'durationMs' => ['title' => '异步任务执行时长。', 'description' => 'The execution duration of the asynchronous task.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'backendName' => 'durationMs'], 'returnPayload' => ['title' => '异步任务返回结果。', 'description' => 'The result returned by the asynchronous task. The size limit is 1 MB.\\'."\n" .'This field is in public beta. If you want to use this field, [contact us](~~53087~~).'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'my-result', 'backendName' => 'returnPayload'], ], ], 'StatefulAsyncInvocationEvent' => [ 'title' => '异步任务事件。', 'description' => 'The event of the asynchronous task.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'eventId' => ['title' => '事件ID。', 'description' => 'The ID of the event.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'backendName' => 'eventId'], 'status' => ['title' => '事件执行状态。', 'description' => 'The status of the event.'."\n" ."\n" .'* **Enqueued**: The asynchronous task is enqueued and is waiting to be executed.'."\n" .'* **Succeeded**: The invocation succeeded.'."\n" .'* **Failed**: The invocation failed.'."\n" .'* **Running**: The invocation is being executed.'."\n" .'* **Stopped**: The invocation was terminated.'."\n" .'* **Stopping**: The invocation is being terminated.'."\n" .'* **Invalid**: The invocation is invalid and not executed due to specific reasons. For example, the function is deleted.'."\n" .'* **Expired**: The maximum validity period of messages is specified for the asynchronous invocation. The invocation is discarded and not executed because the specified maximum validity period of messages elapsed.'."\n" .'* **Retrying**: The asynchronous task is being retried due to an execution error.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'Enqueued', 'backendName' => 'status'], 'timestamp' => ['title' => '事件时间。', 'description' => 'The time of the event.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '1647420449721', 'backendName' => 'timestamp'], 'eventDetail' => ['title' => '事件详细数据。', 'description' => 'The details of the event.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '{"Error":"UnhandledInvocationError"}', 'backendName' => 'eventDetail'], ], ], 'TargetTrackingPolicies' => [ 'title' => 'A short description of struct', 'description' => 'The configurations of metric-based auto scaling.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'name' => ['title' => 'name', 'description' => 'The policy name.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'test_1', 'backendName' => 'name'], 'startTime' => ['title' => 'startTime', 'description' => 'The time when the policy starts to take effect, in UTC.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '2020-10-10T10:10:10Z', 'backendName' => 'startTime'], 'endTime' => ['title' => 'endTime', 'description' => 'The end time of the policy, in UTC.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '2020-10-10T10:10:10Z', 'backendName' => 'endTime'], 'metricType' => ['title' => 'metricType', 'description' => 'The type of the tracked metrics:'."\n" ."\n" .'* **ProvisionedConcurrencyUtilization**: the concurrency utilization of provisioned instances'."\n" .'* **CPUUtilization** :CPU utilization'."\n" .'* **GPUMemUtilization**: GPU utilization'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'CPUUtilization', 'backendName' => 'metricType'], 'metricTarget' => ['title' => 'metricTarget', 'description' => 'The threshold value for metric-based auto scaling.'."\n", 'visibility' => 'Public', 'type' => 'number', 'format' => 'double', 'example' => '0.6', 'backendName' => 'metricTarget'], 'minCapacity' => ['title' => 'minCapacity', 'description' => 'The minimum number of provisioned instances for scale-in.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'backendName' => 'minCapacity'], 'maxCapacity' => ['title' => 'maxCapacity', 'description' => 'The maximum number of provisioned instances for scale-out.'."\n", 'visibility' => 'Public', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'backendName' => 'maxCapacity'], ], ], 'TimeTriggerConfig' => [ 'title' => 'A short description of struct', 'description' => 'The time trigger configurations.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'payload' => ['title' => 'payload', 'description' => 'The custom parameters. The trigger message is used as the value of the payload in event.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '{\\"workflowInstanceId\\":\\"39639\\"}', 'backendName' => 'payload'], 'cronExpression' => ['title' => 'cronExpression', 'description' => 'The trigger period expression. Two types of expressions are supported:'."\n" ."\n" .'* \\- Trigger based on time intervals: For example, the expression @every 4m indicates that the triggering is performed every four minutes.'."\n" .'* You can also specify to trigger based on a cron expression, for example, 0 0 4 \\* \\* \\*.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => '“0 0 4 * * *”', 'backendName' => 'cronExpression'], 'enable' => ['title' => 'enable', 'description' => 'Specifies whether to enable the trigger.'."\n" ."\n" .'* **true**: enables the trigger.'."\n" .'* **false**: does not enable the trigger. In this case, the configured parameters do not take effect.'."\n", 'visibility' => 'Public', 'type' => 'boolean', 'example' => 'true', 'backendName' => 'enable'], ], ], 'TLSConfig' => [ 'title' => 'FC支持的TLS配置', 'description' => 'The TLS configurations.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'minVersion' => [ 'title' => 'TLS最小版本号', 'description' => 'The minimum TLS version.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* TLSv1.3'."\n" .'* TLSv1.2'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'enumValueTitles' => ['TLSv1.3' => 'TLSv1.3', 'TLSv1.2' => 'TLSv1.2'], 'example' => 'TLSv1.0', 'backendName' => 'minVersion', ], 'cipherSuites' => [ 'title' => 'TLS加密套件列表', 'description' => 'The TLS cipher suites.'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'The TLS cipher suite.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'TLS_RSA_WITH_RC4_128_SHA', 'extendType' => 'true'], 'required' => true, 'backendName' => 'cipherSuites', ], 'maxVersion' => [ 'title' => 'TLS最大版本号', 'description' => 'The maximum TLS version.'."\n" ."\n" .'Valid values:'."\n" ."\n" .'* TLSv1.3'."\n" .'* TLSv1.2'."\n", 'visibility' => 'Public', 'type' => 'string', 'enumValueTitles' => ['TLSv1.3' => 'TLSv1.3', 'TLSv1.2' => 'TLSv1.2'], 'example' => 'TLSv1.3', 'backendName' => 'maxVersion', ], ], ], 'TracingConfig' => [ 'title' => '链路追踪配置', 'description' => 'The configurations of Managed Service for OpenTelemetry.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'type' => ['title' => '链路追踪协议类型,目前只支持 Jaeger', 'description' => 'The protocol type. Only Jaeger is supported.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => 'Jaeger', 'backendName' => 'type'], 'params' => [ 'title' => '链路追踪参数。当协议类型为 Jaeger 时,参数为 map[string]string,其中 key 为 "endpoint",value 为您的链路追踪内网接入点。例如 endpoint: http://tracing-analysis-dc-hz.aliyuncs.com/adapt_xxx/api/otlp/traces', 'description' => 'The parameters of Managed Service for OpenTelemetry. If the protocol type is set to Jaeger, the parameter is in map\\[string]string format, in which the key is "endpoint" and the value is the internal endpoint of Managed Service for OpenTelemetry. Sample endpoint: `http://tracing-analysis-dc-hz.aliyuncs.com/adapt_xxx/api/otlp/traces`.'."\n", 'visibility' => 'Public', 'type' => 'object', 'required' => true, 'additionalProperties' => ['description' => 'The parameters of Managed Service for OpenTelemetry.'."\n", 'visibility' => 'Public', 'type' => 'string', 'required' => true, 'example' => '{"endpoint": "tracing_analysis_jaeger_endpoint"}'], 'backendName' => 'params', ], ], ], 'VPCConfig' => [ 'title' => 'VPC配置', 'description' => 'The VPC configurations.'."\n", 'visibility' => 'Public', 'type' => 'object', 'properties' => [ 'securityGroupId' => ['title' => '安全组ID', 'description' => 'The security group ID.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'sg-bp18hj1wtxgy3b0***', 'backendName' => 'securityGroupId'], 'vSwitchIds' => [ 'title' => 'VSwitch ID列表', 'description' => 'The vSwitches.'."\n", 'visibility' => 'Public', 'type' => 'array', 'items' => ['description' => 'The vSwitch ID.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'vsw-bp1ozpcrdc6r****', 'extendType' => 'true'], 'backendName' => 'vSwitchIds', ], 'vpcId' => ['title' => 'VPC ID', 'description' => 'The VPC ID.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'vpc-***', 'backendName' => 'vpcId'], 'role' => ['title' => 'Role', 'description' => 'The role that is assumed by functions in the service to access resources.'."\n", 'visibility' => 'Public', 'type' => 'string', 'example' => 'acs:ram::1234567890:role/fc-test', 'backendName' => 'role'], ], ], 'WAFConfig' => [ 'type' => 'object', 'properties' => [ 'enableWAF' => ['title' => '是否开启Web应用防火墙', 'description' => 'Specifies whether to enable Web Application Firewall (WAF).', 'type' => 'boolean', 'example' => 'true', 'visibility' => 'Public', 'backendName' => 'enableWAF'], ], 'description' => '', 'title' => '', 'example' => '', 'visibility' => 'Public', ], ], ], 'apis' => [ 'CreateAlias' => [ 'summary' => 'Creates an alias.', 'path' => '/2021-04-06/services/{serviceName}/aliases', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '22376', 'abilityTreeNodes' => ['FEATUREfcI9H8B8'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'allowEmptyValue' => false, 'schema' => ['title' => '', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'service_name'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '', 'description' => 'The definition of the alias.'."\n", 'type' => 'object', 'properties' => [ 'additionalVersionWeight' => [ 'title' => '', 'description' => 'The canary release version to which the alias points and the weight of the canary release version.'."\n" ."\n" .'* The canary release version takes effect only when the function is invoked.'."\n" .'* The value consists of a version number and the corresponding weight. For example, 2:0.05 indicates that Version 2 is the canary release version and 5% of traffic is directed to the canary release version when the function is invoked. 95% of traffic is directed to the main version.'."\n", 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'number', 'format' => 'float', 'example' => '1', 'description' => 'The traffic weight. Valid values: 0 to 1.'."\n", 'title' => ''], ], 'aliasName' => ['title' => '', 'description' => 'The name of the alias. The value can contain only letters, digits, underscores (\\_) and hyphens (-). It cannot start with a digit or hyphen (-). It must be 1 to 128 characters in length and cannot be **LATEST**.'."\n", 'type' => 'string', 'required' => true, 'example' => 'alias_test'], 'description' => ['title' => '', 'description' => 'The description of the alias.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_description'], 'versionId' => ['title' => '', 'description' => 'The ID of the version to which the alias points.'."\n", 'type' => 'string', 'required' => true, 'example' => '1'], 'resolvePolicy' => ['title' => '', 'description' => 'The canary release mode. Valid values:'."\n" ."\n" .'* **Random**: random canary release.'."\n" .'* **Content**: rule-based canary release. Default value: null.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Random', 'default' => 'Random'], 'routePolicy' => ['title' => '', 'description' => 'The canary release rule. Traffic that meets the canary release rule is routed to the canary release instance.'."\n", 'required' => false, '$ref' => '#/components/schemas/RoutePolicy'], ], 'required' => false, ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the invocation request of Function Compute.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r9s89isisi****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [ 'etag' => [ 'schema' => ['type' => 'string'], ], ], 'schema' => [ 'title' => '', 'description' => 'The definition of the alias.'."\n", 'type' => 'object', 'properties' => [ 'additionalVersionWeight' => [ 'title' => '', 'description' => 'The additional version to which the alias points and the weight of the additional version.'."\n" ."\n" .'* The additional version takes effect only when the function is invoked.'."\n" .'* The value consists of a version number and a specific weight. For example, 2:0.05 indicates that when a function is invoked, Version 2 is the canary release version, 5% of the traffic is distributed to the canary release version, and 95% of the traffic is distributed to the major version.'."\n", 'type' => 'object', 'additionalProperties' => ['type' => 'number', 'format' => 'float', 'example' => '1', 'description' => 'The traffic weight. Valid values: 0 to 1.'."\n", 'title' => ''], ], 'aliasName' => ['title' => '', 'description' => 'The name of the alias.'."\n", 'type' => 'string', 'example' => 'alias_test'], 'createdTime' => ['title' => '', 'description' => 'The time when the alias was created.'."\n", 'type' => 'string', 'example' => '2020-04-23T06:32:43Z'], 'description' => ['title' => '', 'description' => 'The description of the alias.'."\n", 'type' => 'string', 'example' => 'test_description'], 'lastModifiedTime' => ['title' => '', 'description' => 'The time when the alias was last modified.'."\n", 'type' => 'string', 'example' => '2020-04-23T06:32:43Z'], 'versionId' => ['title' => '', 'description' => 'The ID of the version to which the alias points.'."\n", 'type' => 'string', 'example' => '1'], 'resolvePolicy' => ['description' => 'The canary release mode. Default values: off. Valid values:'."\n" ."\n" .'* **Random**: random canary release.'."\n" .'* **Content**: rule-based canary release.'."\n", 'type' => 'string', 'example' => 'Random', 'title' => ''], 'routePolicy' => ['description' => 'The canary release rule. The traffic that meets the conditions of the canary release rule is diverted to the canary release instances.'."\n", '$ref' => '#/components/schemas/RoutePolicy', 'title' => ''], ], ], ], 400 => [], 403 => [], [], 409 => [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"additionalVersionWeight\\": {\\n \\"key\\": 1\\n },\\n \\"aliasName\\": \\"alias_test\\",\\n \\"createdTime\\": \\"2020-04-23T06:32:43Z\\",\\n \\"description\\": \\"test_description\\",\\n \\"lastModifiedTime\\": \\"2020-04-23T06:32:43Z\\",\\n \\"versionId\\": \\"1\\",\\n \\"resolvePolicy\\": \\"Random\\",\\n \\"routePolicy\\": {\\n \\"condition\\": \\"AND\\",\\n \\"policyItems\\": [\\n {\\n \\"type\\": \\"Header\\",\\n \\"key\\": \\"x-test-uid\\",\\n \\"value\\": \\"11111\\",\\n \\"operator\\": \\"=\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n \\n 1\\n \\n alias_test\\n 2020-04-23T06:32:43Z\\n test_description\\n 2020-04-23T06:32:43Z\\n 1\\n","errorExample":""}]', 'title' => 'CreateAlias', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAlias'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:CreateAlias', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'CreateCustomDomain' => [ 'summary' => 'Adds a custom domain name.', 'path' => '/2021-04-06/custom-domains', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '34756', 'abilityTreeNodes' => ['FEATUREfcJ7WA06'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The definition of the domain name.'."\n", 'type' => 'object', 'properties' => [ 'domainName' => ['description' => 'The domain name. Enter a custom domain name that has obtained an Internet content provider (ICP) filing in the Alibaba Cloud ICP Filing system, or a custom domain name whose ICP filing information includes Alibaba Cloud as a service provider.'."\n", 'type' => 'string', 'required' => true, 'example' => 'example.com', 'title' => ''], 'protocol' => [ 'description' => 'The protocol types supported by the domain name. Valid values:'."\n" ."\n" .'* **HTTP**: Only HTTP is supported.'."\n" .'* **HTTPS**: Only HTTPS is supported.'."\n" .'* **HTTP,HTTPS**: Both HTTP and HTTPS are supported.'."\n", 'type' => 'string', 'required' => false, 'enumValueTitles' => [], 'example' => 'HTTP', 'title' => '', ], 'routeConfig' => ['description' => 'The route table configurations. The route table maps paths to functions when the functions are invoked by using custom domain names.'."\n", 'required' => false, '$ref' => '#/components/schemas/RouteConfig', 'title' => '', 'example' => ''], 'certConfig' => ['description' => 'The information about the HTTPS certificate.'."\n", 'required' => false, '$ref' => '#/components/schemas/CertConfig', 'title' => '', 'example' => ''], 'tlsConfig' => ['description' => 'The TLS configurations.'."\n", 'required' => false, '$ref' => '#/components/schemas/TLSConfig', 'title' => '', 'example' => ''], 'wafConfig' => ['description' => 'The Web Application Firewall (WAF) configurations.'."\n", 'required' => false, '$ref' => '#/components/schemas/WAFConfig', 'title' => '', 'example' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the operation is called. The format is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The custom request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rid281s******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The parameter returned.'."\n", 'type' => 'object', 'properties' => [ 'domainName' => ['title' => 'Id of the request', 'description' => 'The domain name.'."\n", 'type' => 'string', 'example' => 'example.com '], 'accountId' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'example' => '1986114****4305 ', 'title' => ''], 'protocol' => ['description' => 'The protocol types supported by the domain name. Valid values:'."\n" ."\n" .'* **HTTP**: Only HTTP is supported.'."\n" .'* **HTTPS**: Only HTTPS is supported.'."\n" .'* **HTTP,HTTPS**: HTTP and HTTPS are supported.'."\n", 'type' => 'string', 'example' => 'HTTP', 'title' => ''], 'certConfig' => ['description' => 'The HTTPS certificate configurations.'."\n", '$ref' => '#/components/schemas/CertConfig', 'title' => '', 'example' => ''], 'tlsConfig' => ['description' => 'The Transport Layer Security (TLS) configurations.'."\n", '$ref' => '#/components/schemas/TLSConfig', 'title' => '', 'example' => ''], 'apiVersion' => ['description' => 'The version of the API.'."\n", 'type' => 'string', 'example' => '2016-08-15 ', 'title' => ''], 'routeConfig' => ['description' => 'The configuration of the route table. The route table maps paths to functions when the functions are invoked by using custom domain names.'."\n", '$ref' => '#/components/schemas/RouteConfig', 'title' => '', 'example' => ''], 'createdTime' => ['description' => 'The time when the domain name was added.'."\n", 'type' => 'string', 'example' => '2020-07-27T08:02:19Z ', 'title' => ''], 'lastModifiedTime' => ['description' => 'The time when the domain name was last modified.'."\n", 'type' => 'string', 'example' => '2020-07-27T08:02:19Z', 'title' => ''], 'wafConfig' => ['description' => 'The WAF configurations.'."\n", '$ref' => '#/components/schemas/WAFConfig', 'title' => '', 'example' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"domainName\\": \\"example.com\\\\t\\",\\n \\"accountId\\": \\"1986114****4305\\\\t\\",\\n \\"protocol\\": \\"HTTP\\",\\n \\"certConfig\\": {\\n \\"certName\\": \\"my-cert\\",\\n \\"certificate\\": \\"-----BEGIN CERTIFICATE----- xxxxx -----END CERTIFICATE-----\\",\\n \\"privateKey\\": \\"-----BEGIN RSA PRIVATE KEY----- xxxxx -----END RSA PRIVATE KEY-----\\"\\n },\\n \\"tlsConfig\\": {\\n \\"minVersion\\": \\"TLSv1.0\\",\\n \\"cipherSuites\\": [\\n \\"TLS_RSA_WITH_RC4_128_SHA\\"\\n ],\\n \\"maxVersion\\": \\"TLSv1.3\\"\\n },\\n \\"apiVersion\\": \\"2016-08-15\\\\t\\",\\n \\"routeConfig\\": {\\n \\"routes\\": [\\n {\\n \\"functionName\\": \\"f1\\",\\n \\"methods\\": [\\n \\"GET\\"\\n ],\\n \\"path\\": \\"/login\\",\\n \\"qualifier\\": \\"prod\\",\\n \\"serviceName\\": \\"s1\\",\\n \\"rewriteConfig\\": {\\n \\"equalRules\\": [\\n {\\n \\"match\\": \\"/old\\",\\n \\"replacement\\": \\"/new\\"\\n }\\n ],\\n \\"wildcardRules\\": [\\n {\\n \\"match\\": \\"/api/*\\",\\n \\"replacement\\": \\"/$1\\"\\n }\\n ],\\n \\"regexRules\\": [\\n {\\n \\"match\\": \\"^/js/(.*?)$\\",\\n \\"replacement\\": \\"/public/javascripts/$1\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"createdTime\\": \\"2020-07-27T08:02:19Z\\\\t\\",\\n \\"lastModifiedTime\\": \\"2020-07-27T08:02:19Z\\",\\n \\"wafConfig\\": {\\n \\"enableWAF\\": true\\n }\\n}","type":"json"}]', 'title' => 'CreateCustomDomain', 'changeSet' => [ ['createdAt' => '2024-02-19T09:20:40.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCustomDomain'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:CreateCustomDomain', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'CreateFunction' => [ 'summary' => 'Creates a function.', 'path' => '/2021-04-06/services/{serviceName}/functions', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '22377', 'abilityTreeNodes' => ['FEATUREfcVF016G'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'serviceName'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'function', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '', 'description' => 'The definition of the function.'."\n", 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The ZIP package of function code. Configure either **code** or **customContainerConfig**.'."\n", 'required' => false, '$ref' => '#/components/schemas/Code', 'title' => ''], 'customContainerConfig' => ['description' => 'The configurations of the Custom Container runtime. After you configure the Custom Container runtime, Function Compute can execute the function in a container that is created from a custom image. Configure either **code** or **customContainerConfig**.'."\n", 'required' => false, '$ref' => '#/components/schemas/CustomContainerConfig', 'title' => ''], 'layers' => [ 'title' => '', 'description' => 'The layers.'."\n" ."\n" .'> Multiple layers are merged in the order determined by their array subscripts, from largest to smallest. When there are files with the same name, the content from the layer with the smaller subscript will overwrite the corresponding file in the layer with the larger subscript.'."\n", 'type' => 'array', 'items' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the layer. The format is acs:fc:{region}:{accountID}:layers/{layerName}/versions/{layerVersion}.'."\n", 'type' => 'string', 'required' => false, 'example' => 'layerName', 'title' => ''], 'required' => false, ], 'description' => ['title' => '', 'description' => 'The description of the function.'."\n", 'type' => 'string', 'required' => false, 'example' => 'function-description'], 'functionName' => ['title' => '', 'description' => 'The name of the function. The name must be 1 to 64 characters in length, and can contain only letters, digits, underscores (\\_), and hyphens (-). It cannot begin with a digit or a hyphen (-).'."\n", 'type' => 'string', 'required' => true, 'example' => 'functionName'], 'handler' => ['title' => '', 'description' => 'The handler of the function. The format varies based on the programming language you use. For more information, see [Function handlers](~~157704~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'index.handler'], 'initializationTimeout' => ['title' => '', 'description' => 'The timeout period for the Initializer hook. Unit: seconds. Default value: 3. Valid values: 1 to 300. The execution of the Initializer hook is terminated once the timeout period expires.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60'], 'initializer' => ['title' => '', 'description' => 'The Initializer hook. For more information, see [Initializer hooks](~~157704~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'index.initializer'], 'memorySize' => ['title' => '', 'description' => 'The memory capacity for the function. Unit: MB. The memory capacity must be a multiple of 64 MB. The capacity varies based on the type of the function instance. For more information, see [Instance types](~~179379~~).'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '512'], 'runtime' => ['title' => '', 'description' => 'The runtime of the function. Valid values: **nodejs20**, **nodejs18**, **nodejs16**, **nodejs14**, **nodejs12**, **nodejs10**, **nodejs8**, **nodejs6**, **nodejs4.4**, **python3.10**, **python3.9**, **python3**, **python2.7**, **java11**, **java8**, **go1**, **php7.2**, **dotnetcore3.1**, **dotnetcore2.1**, **custom.debian10**, **custom**, and **custom-container**.******** For more information, see [Runtimes that are supported by Function Compute](~~73338~~).'."\n", 'type' => 'string', 'required' => true, 'example' => 'python3.9'], 'timeout' => ['title' => '', 'description' => 'The timeout period for function execution. Unit: seconds. Minimum value: 1. Default value: 3. The execution of the function is terminated once the timeout period expires.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60'], 'caPort' => ['title' => '', 'description' => 'The listening port of the HTTP server in a custom runtime or a Custom Container runtime.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '9000'], 'environmentVariables' => [ 'description' => 'The environment variables configured for the function. You can obtain the values of the environment variables from the function. For more information, see [Environment variables](~~69777~~).'."\n", 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'string', 'description' => 'The configurations of environment variables.'."\n", 'example' => '{"key":"value"}', 'title' => ''], 'title' => '', ], 'instanceConcurrency' => ['description' => 'The maximum number of requests that a function instance can process at a time.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], 'instanceSoftConcurrency' => ['description' => 'The soft concurrency of the instance. You can use this property to implement graceful scale-out of instances. When the number of concurrent requests exceeds the instance\'s soft concurrency limit, scale-out is triggered. If your instance has a long startup time, you can specify a soft concurrency value to initiate the instance in advance.'."\n" ."\n" .'The value must be less than or equal to that of **instanceConcurrency**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', 'title' => ''], 'instanceType' => ['description' => 'The instance type of the function. Valid values:'."\n" ."\n" .'* **e1**: elastic instance'."\n" .'* **c1**: performance instance'."\n" .'* **fc.gpu.tesla.1**: GPU-accelerated instance utilizing Tesla series GPUs'."\n" .'* **fc.gpu.ampere.1**: GPU-accelerated instances utilizing Ampere series GPUs'."\n" .'* **fc.gpu.ada.1**: GPU-accelerated instances utilizing Ada series GPUs'."\n" .'* **g1**: same as **fc.gpu.tesla.1**'."\n" ."\n" .'Default value: e1'."\n", 'type' => 'string', 'required' => false, 'example' => 'e1', 'title' => ''], 'customRuntimeConfig' => ['title' => '', 'description' => 'The configurations of the custom runtime function.'."\n", 'required' => false, '$ref' => '#/components/schemas/CustomRuntimeConfig'], 'instanceLifecycleConfig' => ['description' => 'The lifecycle configurations of the instance.'."\n", 'required' => false, '$ref' => '#/components/schemas/InstanceLifecycleConfig', 'title' => ''], 'customDNS' => ['title' => '', 'description' => 'The custom Domain Name System (DNS) settings of the function.'."\n", 'required' => false, '$ref' => '#/components/schemas/CustomDNS'], 'customHealthCheckConfig' => ['title' => '', 'description' => 'The custom health check configurations of the function. This parameter is applicable only to custom runtimes and Custom Container runtimes.'."\n", 'required' => false, '$ref' => '#/components/schemas/CustomHealthCheckConfig'], 'cpu' => ['title' => '', 'description' => 'The CPU size of the function. Unit: vCPUs. The value is a multiple of 0.05.'."\n", 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1.5'], 'diskSize' => ['title' => '', 'description' => 'The disk size of the function. Unit: MB. Valid values: 512 and 10240.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '512'], 'gpuMemorySize' => ['title' => '', 'description' => 'The GPU memory size of the function. Unit: MB. The value is a multiple of 1024.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2048'], ], 'required' => false, ], ], [ 'name' => 'X-Fc-Code-Checksum', 'in' => 'header', 'schema' => ['description' => 'The CRC-64 value of the function code package.'."\n", 'type' => 'string', 'required' => false, 'example' => '1506052139770049xxxx', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request. The value is the same as that of the requestId parameter in the response.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test-trace-id', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [ 'ETag' => [ 'schema' => ['title' => 'function etag,用于更改function。以确保实际更改的function和期望更改的function是一致的.', 'type' => 'string'], ], ], 'schema' => [ 'title' => 'FunctionResponse', 'description' => 'The returned data.'."\n", 'type' => 'object', 'properties' => [ 'codeChecksum' => ['title' => '', 'description' => 'The CRC-64 value of the function code package.'."\n", 'type' => 'string', 'example' => '5434025278388143772'], 'codeSize' => ['title' => '', 'description' => 'The size of the function code package that is returned by the system. Unit: bytes.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1024'], 'createdTime' => ['title' => '', 'description' => 'The time when the function was created.'."\n", 'type' => 'string', 'example' => '2016-08-15T15:00:00.000+0000'], 'customContainerConfig' => ['description' => 'The configurations of the Custom Container runtime. After you configure the Custom Container runtime, Function Compute can execute the function in a container that is created from a custom image.'."\n", '$ref' => '#/components/schemas/CustomContainerConfig', 'title' => ''], 'layers' => [ 'description' => 'An array that consists of the information of layers.'."\n" ."\n" .'> If multiple layers exist, the layers are merged based on the array subscripts in descending order. The content of a layer with a smaller subscript overwrites that of a larger subscript.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the layer.'."\n", 'type' => 'string', 'example' => 'md5#layername#version', 'title' => ''], 'title' => '', ], 'description' => ['title' => '', 'description' => 'The description of the function.'."\n", 'type' => 'string', 'example' => 'This is a demo hello world function'], 'functionId' => ['title' => '', 'description' => 'The unique ID that is generated by the system for the function.'."\n", 'type' => 'string', 'example' => '2d28e0e9-9ba5-4eed-8b1a-d3d9cd24'."\n" .'****'], 'functionName' => ['title' => '', 'description' => 'The name of the function.'."\n", 'type' => 'string', 'example' => 'demo-function'], 'handler' => ['title' => '', 'description' => 'The handler of the function.'."\n", 'type' => 'string', 'example' => 'index.handler'], 'lastModifiedTime' => ['title' => '', 'description' => 'The time when the function was last modified.'."\n", 'type' => 'string', 'example' => '2016-08-15T17:00:00.000+0000'], 'memorySize' => ['title' => '', 'description' => 'The memory size that is configured for the function. Unit: MB.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '512'], 'runtime' => ['title' => '', 'description' => 'The runtime of the function. Valid values: **nodejs20**, **nodejs18**, **nodejs20**, **nodejs18**, **nodejs16**, **nodejs14**, **nodejs12**, **nodejs10**, **nodejs8**, **nodejs6**, **nodejs4.4**, **python3.10**, **python3.9**, **python3**, **python2.7**, **java11**, **java8**, **go1**, **php7.2**, **dotnetcore3.1**, **dotnetcore2.1**, **custom.debian10**, **custom**, and **custom-container**. For more information, see [Runtimes that are supported by Function Compute](~~73338~~).'."\n", 'type' => 'string', 'example' => 'python3.9'], 'timeout' => ['title' => '', 'description' => 'The timeout period for the execution of the function. Unit: seconds. Default value: 60. Valid values: 1 to 600. When this period expires, the execution of the function is terminated.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'initializationTimeout' => ['title' => '', 'description' => 'The timeout period for the execution of the Initializer hook. Unit: seconds. Default value: 3. Minimum value: 1. When the period ends, the execution of the Initializer hook is terminated.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '60'], 'initializer' => ['title' => '', 'description' => 'The handler of the Initializer hook. The format is determined by the programming language.'."\n", 'type' => 'string', 'example' => 'index.handler'], 'caPort' => ['title' => '', 'description' => 'The port on which the HTTP server listens for the custom runtime or custom container runtime.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '9000'], 'environmentVariables' => [ 'description' => 'The environment variables that are configured for the function. You can obtain the values of the environment variables from the function. For more information, see [Environment variables](~~69777~~).'."\n", 'type' => 'object', 'additionalProperties' => ['type' => 'string', 'description' => 'The environment variables that you configured for the function.'."\n", 'example' => '{"key":"value"}', 'title' => ''], 'title' => '', ], 'instanceConcurrency' => ['description' => 'The number of requests that can be concurrently processed by a single instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'instanceSoftConcurrency' => ['description' => 'The soft concurrency of the instance. You can use this parameter to implement graceful scale-up of instances. If the number of concurrent requests on an instance is greater than the value of soft concurrency, an instance scale-up is triggered. For example, if your instance requires a long time to start, you can specify a suitable soft concurrency to start the instance in advance.'."\n" ."\n" .'The value must be less than or equal to that of the **instanceConcurrency** parameter.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], 'instanceType' => ['description' => 'The instance type of the function. Valid values:'."\n" ."\n" .'* **e1**: elastic instances'."\n" .'* **c1**: performance instances'."\n" .'* **fc.gpu.tesla.1**: GPU-accelerated instances with Tesla series cards'."\n" .'* **fc.gpu.ampere.1**: GPU-accelerated instances with Ampere series cards'."\n" .'* **fc.gpu.ada.1**: GPU-accelerated instances with Ada series cards'."\n" .'* **g1**: same as **fc.gpu.tesla.1**'."\n", 'type' => 'string', 'example' => 'e1', 'title' => ''], 'instanceLifecycleConfig' => ['description' => 'The lifecycle configurations of the instance.'."\n", '$ref' => '#/components/schemas/InstanceLifecycleConfig', 'title' => ''], 'customDNS' => ['title' => '', 'description' => 'The custom DNS settings of the function.'."\n", '$ref' => '#/components/schemas/CustomDNS'], 'customRuntimeConfig' => ['title' => '', 'description' => 'The configurations of the custom runtime function.'."\n", '$ref' => '#/components/schemas/CustomRuntimeConfig'], 'customHealthCheckConfig' => ['title' => '', 'description' => 'The custom health check configurations of the function. This parameter is applicable only to custom runtimes and Custom Container runtimes.'."\n", '$ref' => '#/components/schemas/CustomHealthCheckConfig'], 'cpu' => ['title' => '', 'description' => 'The number of vCPUs of the function. The value is a multiple of 0.05.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1.5'], 'diskSize' => ['title' => '', 'description' => 'The disk size of the function. Unit: MB. Valid values: 512 and 10240.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '512'], 'gpuMemorySize' => ['title' => '', 'description' => 'The GPU memory capacity for the function. Unit: MB. The value is a multiple of 1,024.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2048'], 'layersArnV2' => [ 'title' => '', 'description' => 'ARN list of layers'."\n", 'type' => 'array', 'items' => ['title' => '', 'description' => 'The layer resource locator.'."\n", 'type' => 'string', 'example' => 'acs:fc:cn-hangzhou:official:layers/Python310/versions/2'], ], ], ], ], 400 => [], 403 => [], [], 409 => [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"codeChecksum\\": \\"5434025278388143772\\",\\n \\"codeSize\\": 1024,\\n \\"createdTime\\": \\"2016-08-15T15:00:00.000+0000\\",\\n \\"customContainerConfig\\": {\\n \\"args\\": \\"[\\\\\\"-arg1\\\\\\", \\\\\\"value1\\\\\\"]\\",\\n \\"command\\": \\"[\\\\\\"/code/myserver\\\\\\"]\\",\\n \\"image\\": \\"registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1beta1\\",\\n \\"accelerationType\\": \\"Default\\",\\n \\"instanceID\\": \\"cri-xxxxxxxxxx\\",\\n \\"webServerMode\\": true\\n },\\n \\"layers\\": [\\n \\"md5#layername#version\\"\\n ],\\n \\"description\\": \\"This is a demo hello world function\\",\\n \\"functionId\\": \\"2d28e0e9-9ba5-4eed-8b1a-d3d9cd24\\\\n****\\",\\n \\"functionName\\": \\"demo-function\\",\\n \\"handler\\": \\"index.handler\\",\\n \\"lastModifiedTime\\": \\"2016-08-15T17:00:00.000+0000\\",\\n \\"memorySize\\": 512,\\n \\"runtime\\": \\"python3.9\\",\\n \\"timeout\\": 10,\\n \\"initializationTimeout\\": 60,\\n \\"initializer\\": \\"index.handler\\",\\n \\"caPort\\": 9000,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"{\\\\\\"key\\\\\\":\\\\\\"value\\\\\\"}\\"\\n },\\n \\"instanceConcurrency\\": 10,\\n \\"instanceSoftConcurrency\\": 5,\\n \\"instanceType\\": \\"e1\\",\\n \\"instanceLifecycleConfig\\": {\\n \\"preFreeze\\": {\\n \\"handler\\": \\"index.preStop\\",\\n \\"timeout\\": 10\\n },\\n \\"preStop\\": {\\n \\"handler\\": \\"index.preStop\\",\\n \\"timeout\\": 10\\n }\\n },\\n \\"customDNS\\": {\\n \\"nameServers\\": [\\n \\"8.8.x.x\\"\\n ],\\n \\"searches\\": [\\n \\"ns1.svc.cluster-domain.example\\"\\n ],\\n \\"dnsOptions\\": [\\n {\\n \\"name\\": \\"ndots\\",\\n \\"value\\": \\"2\\"\\n }\\n ]\\n },\\n \\"customRuntimeConfig\\": {\\n \\"command\\": [\\n \\"/code/myBootstrap\\"\\n ],\\n \\"args\\": [\\n \\"args1\\"\\n ]\\n },\\n \\"customHealthCheckConfig\\": {\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 1,\\n \\"periodSeconds\\": 1,\\n \\"timeoutSeconds\\": 2,\\n \\"failureThreshold\\": 1,\\n \\"successThreshold\\": 2\\n },\\n \\"cpu\\": 1.5,\\n \\"diskSize\\": 512,\\n \\"gpuMemorySize\\": 2048,\\n \\"layersArnV2\\": [\\n \\"acs:fc:cn-hangzhou:official:layers/Python310/versions/2\\"\\n ]\\n}","type":"json"}]', 'title' => 'CreateFunction', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:CreateFunction', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFunction'], ], ], ], 'CreateLayerVersion' => [ 'summary' => 'Releases a layer version.', 'path' => '/2021-04-06/layers/{layerName}/versions', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREfcN46UH2'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'layerName', 'in' => 'path', 'schema' => ['title' => 'A short description of struct', 'description' => 'The layer name. The name can be up to 128 character in length.'."\n", 'type' => 'string', 'required' => true, 'example' => 'MyLayer'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The information about the layer.'."\n", 'type' => 'object', 'properties' => [ 'description' => ['description' => 'The layer description. The description can be up to 256 characters.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], 'compatibleRuntime' => [ 'description' => 'The runtimes that are supported by the layer.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The runtimes. Valid values: **nodejs20**, **nodejs18**, **nodejs16**, **nodejs14**, **nodejs12**, **nodejs10**, **nodejs8**, **nodejs6**, **python3.10**, **python3.9**, **python3**, **python2.7**, **java11**, **java8**, **php7.2**, **go1**, **dotnetcore3.1**, **dotnetcore2.1**, **custom.debian10**, and **custom**.'."\n", 'type' => 'string', 'required' => false, 'enumValueTitles' => [], 'example' => 'python3', 'title' => '', ], 'required' => false, 'title' => '', ], 'Code' => ['description' => 'The layer code.'."\n", 'required' => true, '$ref' => '#/components/schemas/Code', 'title' => ''], ], 'required' => false, 'title' => '', ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the invocation request of Function Compute.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r4isu4sls****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [ 'ETag' => [ 'schema' => ['type' => 'string'], ], ], 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The details of the layer.'."\n", 'type' => 'object', 'properties' => [ 'layerName' => ['description' => 'The layer name.'."\n", 'type' => 'string', 'example' => 'MyLayer', 'title' => ''], 'version' => ['description' => 'The layer version.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'description' => ['description' => 'The description of the layer version.'."\n", 'type' => 'string', 'example' => 'the first layer', 'title' => ''], 'code' => ['description' => 'The information about the layer code package.'."\n", '$ref' => '#/components/schemas/OutputCodeLocation', 'title' => ''], 'codesize' => ['description' => 'The size of the layer code package. Unit: bytes.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '421', 'title' => ''], 'codeChecksum' => ['description' => 'The CRC-64 value of the layer code package. The value is calculated based on the **ECMA-182 **standard.'."\n", 'type' => 'string', 'example' => '2825179536350****', 'title' => ''], 'createTime' => ['description' => 'The time when the layer version was created. The time is in the yyyy-MM-ddTHH:mm:ssZ format.'."\n", 'type' => 'string', 'example' => '2022-01-01T11:08:00Z', 'title' => ''], 'acl' => ['description' => 'The access mode of the layer. Digit 0 specifies that the layer is private and digit 1 specifies that the layer is public. By default, public layers are public. Custom layers can be set to private or public.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], 'compatibleRuntime' => [ 'description' => 'The runtimes that are supported by the layer.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The runtime. Valid values: **nodejs20**, **nodejs18**, **nodejs16**, **nodejs14**, **nodejs12**, **nodejs10**, **nodejs8**, **nodejs6**, **python3.10**, **python3.9**, **python3**, **python2.7**, **java11**, **java8**, **php7.2**, **go1**, **dotnetcore3.1**, **dotnetcore2.1**, **custom.debian10**, and **custom**.'."\n", 'type' => 'string', 'enumValueTitles' => [], 'example' => 'python3', 'title' => '', ], 'title' => '', ], 'arn' => ['description' => 'The Alibaba Cloud Resource Name (ARN) of the layer.'."\n", 'type' => 'string', 'example' => 'xxxxxxxx#Layer-name#1', 'title' => ''], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"layerName\\": \\"MyLayer\\",\\n \\"version\\": 1,\\n \\"description\\": \\"the first layer\\",\\n \\"code\\": {\\n \\"repositoryType\\": \\"oss\\",\\n \\"location\\": \\"https://xyz.oss-cnxxx.aliyuncs.com/xxx/xxx/xxx\\"\\n },\\n \\"codesize\\": 421,\\n \\"codeChecksum\\": \\"2825179536350****\\",\\n \\"createTime\\": \\"2022-01-01T11:08:00Z\\",\\n \\"acl\\": 0,\\n \\"compatibleRuntime\\": [\\n \\"python3\\"\\n ],\\n \\"arn\\": \\"xxxxxxxx#Layer-name#1\\"\\n}","type":"json"}]', 'title' => 'CreateLayerVersion', 'changeSet' => [ ['createdAt' => '2022-12-27T03:12:16.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-12-16T09:46:53.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLayerVersion'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:CreateLayerVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'LayerVersion', 'arn' => 'acs:fc:{#regionId}:{#accountId}:layers/{#layerName}/versions/*'], ], ], ], ], ], 'CreateService' => [ 'summary' => 'Create a service.', 'path' => '/2021-04-06/services', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '22405', 'abilityTreeNodes' => ['FEATUREfcVF016G'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '', 'description' => 'The definition of the service.'."\n", 'type' => 'object', 'properties' => [ 'description' => ['title' => '', 'description' => 'The description of the service.'."\n", 'type' => 'string', 'required' => false, 'example' => 'service_description'], 'internetAccess' => ['title' => '', 'description' => 'Specifies whether to allow functions to access the Internet. Default value: true. Valid values:'."\n" ."\n" .'* **true**'."\n" .'* **false**'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true'], 'logConfig' => ['description' => 'The log configurations. Function Compute writes function execution logs to the specified Logstore.'."\n", 'required' => false, '$ref' => '#/components/schemas/LogConfig', 'title' => ''], 'nasConfig' => ['description' => 'The File Storage NAS (NAS) configurations. The configurations allow functions to access the specified NAS file system.', 'required' => false, '$ref' => '#/components/schemas/NASConfig', 'title' => ''], 'role' => ['title' => '', 'description' => 'The Alibaba Cloud Resource Name (ARN) of the RAM role that is used to grant required permissions to Function Compute. The RAM role is used in the following scenarios:'."\n" ."\n" .'* Send function execution logs to your Logstore.'."\n" .'* Generate a token for a function to access other cloud resources during function executions.'."\n", 'type' => 'string', 'required' => false, 'example' => 'acs:ram::188077086902****:role/fc-test'], 'serviceName' => ['title' => '', 'description' => 'The name of the service. The name can contain only letters, digits, hyphens (-), and underscores (\\_). It cannot start with a digit or hyphen (-). The name must be 1 to 128 characters in length.'."\n", 'type' => 'string', 'required' => true, 'example' => 'service_Name'], 'vpcConfig' => ['description' => 'The Virtual Private Cloud (VPC) configurations. The configurations allow the function to access the specified VPCs.'."\n", 'required' => false, '$ref' => '#/components/schemas/VPCConfig', 'title' => ''], 'tracingConfig' => ['description' => 'The configuration of Managed Service for OpenTelemetry. After Function Compute is integrated with Managed Service for OpenTelemetry, you can record the duration of a request in Function Compute, view the cold start duration of a function, and record the execution duration of a function. For more information, see [Tracing analysis](~~189804~~).'."\n", 'required' => false, '$ref' => '#/components/schemas/TracingConfig', 'title' => ''], 'ossMountConfig' => ['title' => '', 'description' => 'The Object Storage Service (OSS) mounting configurations.'."\n", 'required' => false, '$ref' => '#/components/schemas/OSSMountConfig'], ], 'required' => false, ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The custom request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asdf****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [ 'etag' => [ 'schema' => ['title' => 'etag,用于更改服务。以确保实际更改的服务和期望更改的服务是一致的', 'type' => 'string', 'example' => '5e547e5605e1dc17a78a6191bc18fbc5'], ], ], 'schema' => [ 'title' => '', 'description' => 'The returned data.'."\n", 'type' => 'object', 'properties' => [ 'createdTime' => ['title' => '', 'description' => 'The time when the service was created.'."\n", 'type' => 'string', 'example' => '2016-08-15T16:06:05.000+0000'], 'description' => ['title' => '', 'description' => 'The description of the service.'."\n", 'type' => 'string', 'example' => 'service_description'], 'internetAccess' => ['title' => '', 'description' => 'Specifies whether to allow functions to access the Internet. Valid values:'."\n" ."\n" .'* **true**: allows functions in the specified service to access the Internet.'."\n" .'* **false**: does not allow functions in the specified service to access the Internet.'."\n", 'type' => 'boolean', 'example' => 'true'], 'lastModifiedTime' => ['title' => '', 'description' => 'The time when the service was last modified.'."\n", 'type' => 'string', 'example' => '2016-08-15T16:06:05.000+0000'], 'logConfig' => ['description' => 'The log configurations. Function Compute writes function execution logs to the specified Logstore.'."\n", '$ref' => '#/components/schemas/LogConfig', 'title' => ''], 'nasConfig' => ['description' => 'The NAS configurations. The configurations allow functions to access the specified NAS file system.'."\n", '$ref' => '#/components/schemas/NASConfig', 'title' => ''], 'role' => ['title' => '', 'description' => 'The RAM role that is used to grant required permissions to Function Compute. The RAM role is used in the following scenarios:'."\n" ."\n" .'* Sends function execution logs to your Logstore.'."\n" .'* Generates a token for a function to access other cloud resources during function execution.'."\n", 'type' => 'string', 'example' => 'acs:ram::188077086902****:role/fc-test'], 'serviceId' => ['title' => '', 'description' => 'The unique ID generated by the system for the service.'."\n", 'type' => 'string', 'example' => '2d28e0e9-9ba5-4eed-8b1a-d3d9cd24e737'], 'serviceName' => ['title' => '', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'example' => 'service_Name'], 'vpcConfig' => ['description' => 'The VPC configurations. The configurations allow the function to access the specified VPCs.'."\n", '$ref' => '#/components/schemas/VPCConfig', 'title' => ''], 'tracingConfig' => ['description' => 'The configuration of Managed Service for OpenTelemetry. After Function Compute is integrated with Managed Service for OpenTelemetry, you can record the duration of a request in Function Compute, view the cold start duration of a function, and record the execution duration of a function. For more information, see [Tracing analysis](~~189804~~).'."\n", '$ref' => '#/components/schemas/TracingConfig', 'title' => ''], 'ossMountConfig' => ['title' => '', 'description' => 'The OSS mounting configurations.'."\n", '$ref' => '#/components/schemas/OSSMountConfig'], 'useSLRAuthentication' => ['description' => 'Indicates whether service-linked role authorization is enabled. Valid values:'."\n" ."\n" .'* true'."\n" .'* false'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], ], ], 400 => [], 403 => [], 409 => [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"createdTime\\": \\"2016-08-15T16:06:05.000+0000\\",\\n \\"description\\": \\"service_description\\",\\n \\"internetAccess\\": true,\\n \\"lastModifiedTime\\": \\"2016-08-15T16:06:05.000+0000\\",\\n \\"logConfig\\": {\\n \\"logstore\\": \\"test-prj\\",\\n \\"project\\": \\"test-logstore\\",\\n \\"enableRequestMetrics\\": true,\\n \\"enableInstanceMetrics\\": true,\\n \\"logBeginRule\\": \\"DefaultRegex\\"\\n },\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.aliyuncs.com:/\\",\\n \\"enableTLS\\": false\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"role\\": \\"acs:ram::188077086902****:role/fc-test\\",\\n \\"serviceId\\": \\"2d28e0e9-9ba5-4eed-8b1a-d3d9cd24e737\\",\\n \\"serviceName\\": \\"service_Name\\",\\n \\"vpcConfig\\": {\\n \\"securityGroupId\\": \\"sg-bp18hj1wtxgy3b0***\\",\\n \\"vSwitchIds\\": [\\n \\"vsw-bp1ozpcrdc6r****\\"\\n ],\\n \\"vpcId\\": \\"vpc-***\\",\\n \\"role\\": \\"acs:ram::1234567890:role/fc-test\\"\\n },\\n \\"tracingConfig\\": {\\n \\"type\\": \\"Jaeger\\",\\n \\"params\\": {\\n \\"key\\": \\"{\\\\\\"endpoint\\\\\\": \\\\\\"tracing_analysis_jaeger_endpoint\\\\\\"}\\"\\n }\\n },\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true,\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"bucketPath\\": \\"/my-dir\\"\\n }\\n ]\\n },\\n \\"useSLRAuthentication\\": true\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', 'title' => 'CreateService', 'description' => "\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateService'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:CreateService', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'fc:EnableServiceSLSLogging'], ['conditionKey' => 'fc:EnableServiceInternetAccess'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'Service', 'arn' => 'acs:fc:{#regionId}:{#accountId}:services/{#serviceName}'], ], ], ], ], ], 'CreateTrigger' => [ 'summary' => 'A trigger is created.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/triggers', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '22395', 'abilityTreeNodes' => ['FEATUREfc0CDUNQ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoService'], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the function.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoFunction'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '', 'description' => 'The definition of the trigger.'."\n", 'type' => 'object', 'properties' => [ 'invocationRole' => ['title' => '', 'description' => 'The RAM role that is used by the event source such as Object Storage Service (OSS) to invoke the function. For more information, see [Overview](~~53102~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'acs:ram::1234567890:role/fc-test'], 'qualifier' => ['title' => '', 'description' => 'The version or alias of the service.'."\n", 'type' => 'string', 'required' => false, 'example' => 'LATEST'], 'sourceArn' => ['title' => '', 'description' => 'The Alibaba Cloud Resource Name (ARN) of the trigger event source. This parameter is optional for time triggers, HTTP triggers, and EventBridge-based triggers. This parameter is required for other types of triggers. For an EventBridge-based trigger, if you specify this parameter, the existing resources on the EventBridge side are associated with the trigger. **Do not specify the same sourceArn value for two different EventBridge triggers**. Otherwise, the update and delete operations of one trigger affect another.'."\n", 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-shanghai:12345:mybucket'], 'triggerConfig' => ['title' => '', 'description' => 'The trigger configurations. The configurations vary based on the trigger type. The following items list the configuration format for different triggers:'."\n" ."\n" .'* OSS triggers: [OSSTriggerConfig](~~415697~~).'."\n" .'* Simple Log Service triggers: [LogTriggerConfig](~~415694~~).'."\n" .'* Time triggers: [TimeTriggerConfig](~~415712~~).'."\n" .'* HTTP triggers: [HTTPTriggerConfig](~~415685~~)'."\n" .'* Tablestore triggers: Specify the **SourceArnm** parameter and leave this parameter empty.'."\n" .'* Alibaba Cloud CDN event triggers: [CDNEventsTriggerConfig](~~415674~~).'."\n" .'* Simple Message Queue (formerly MNS) (SMQ) topic triggers: [MnsTopicTriggerConfig](~~415695~~).'."\n" .'* EventBridge-based triggers: [EventBridgeTriggerConfig](~~2508622~~).'."\n", 'type' => 'string', 'required' => true, 'example' => '{"events": ["oss:ObjectCreated:*"], "filter": {"key": {"prefix": "/prefix", "suffix": ".zip"}}}'], 'triggerName' => ['title' => '', 'description' => 'The name of the trigger. The name can contain only letters, digits, hyphens (-), and underscores (\\_). The name must be 1 to 128 characters in length and cannot start with a digit or a hyphen (-).'."\n", 'type' => 'string', 'required' => true, 'example' => 'oss_create_object_demo'], 'triggerType' => [ 'title' => '', 'description' => 'The type of the trigger. Valid values:'."\n" ."\n" .'* **oss**: OSS event trigger. For more information, see [Overview of OSS event triggers](~~62922~~).'."\n" .'* **log**: Simple Log Service trigger. For more information, see [Simple Log Service triggers](~~84386~~).'."\n" .'* **timer**: time trigger. For more information, see [Configure a time trigger](~~68172~~).'."\n" .'* **http**: HTTP trigger. For more information, see [Overview](~~71229~~).'."\n" .'* **tablestore**: Tablestore trigger. For more information, see [Tablestore triggers](~~100092~~).'."\n" .'* **cdn_events**: Alibaba Cloud CDN event triggers. For more information, see [Overview](~~73333~~).'."\n" .'* **mns_topic**: SMQ topic triggers. For more information, see [Simple Message Queue (formerly MNS) topic triggers](~~97032~~).'."\n" .'* **eventbridge**: EventBridge-based triggers.'."\n", 'type' => 'string', 'required' => true, 'enumValueTitles' => ['cdn_events' => 'cdn_events', 'timer' => 'timer', 'log' => 'log', 'mns_topic' => 'mns_topic', 'eventbridge' => 'eventbridge', 'http' => 'http', 'oss' => 'oss', 'tablestore' => 'tablestore'], 'example' => 'oss', ], 'description' => ['description' => 'The description of the trigger.'."\n", 'type' => 'string', 'required' => false, 'example' => 'trigger for test', 'title' => ''], ], 'required' => false, ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the request is initiated on the client. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The custom request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'my-test-trace-id', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [ 'ETag' => [ 'schema' => ['title' => 'trigger etag,用于更改trigger。以确保实际更改的trigger和期望更改的trigger是一致的', 'type' => 'string'], ], ], 'schema' => [ 'title' => 'TriggerResponse', 'description' => 'The definition of the trigger.'."\n", 'type' => 'object', 'properties' => [ 'createdTime' => ['title' => '', 'description' => 'The time when the trigger was created.'."\n", 'type' => 'string', 'example' => '2016-08-15T15:00:00.000+0000'], 'invocationRole' => ['title' => '', 'description' => 'The ARN of the RAM role that is used by the event source to invoke the function.'."\n", 'type' => 'string', 'example' => 'acs:ram::1234567890:role/fc-test'], 'lastModifiedTime' => ['title' => '', 'description' => 'The time when the trigger was last modified.'."\n", 'type' => 'string', 'example' => '016-08-15T17:00:00.000+0000'], 'qualifier' => ['title' => '', 'description' => 'The version of the service.'."\n", 'type' => 'string', 'example' => 'LATEST'], 'sourceArn' => ['title' => '', 'description' => 'The ARN of the event source.'."\n", 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:12345:mybucket'], 'triggerConfig' => ['title' => '', 'description' => 'The configurations of the trigger. The configurations vary based on the trigger type.'."\n", 'type' => 'string', 'example' => '{"events": ["oss:ObjectCreated:*"], "filter": {"key": {"prefix": "/prefix", "suffix": ".zip"}}}'], 'triggerName' => ['title' => '', 'description' => 'The name of the trigger. The name contains only letters, digits, hyphens (-), and underscores (\\_). The name must be 1 to 128 characters in length and cannot start with a digit or hyphen (-).'."\n", 'type' => 'string', 'example' => 'oss_create_object_trigger_demo'], 'triggerType' => ['title' => '', 'description' => 'The trigger type. Valid values: **oss**, **log**, **tablestore**, **timer**, **http**, **cdn_events**, **mns_topic**, and **eventbridge**.'."\n", 'type' => 'string', 'example' => 'oss'], 'description' => ['description' => 'The description of the trigger.'."\n", 'type' => 'string', 'example' => 'trigger for test', 'title' => ''], 'triggerId' => ['description' => 'The unique ID of the trigger.'."\n", 'type' => 'string', 'example' => '3e270f2f-cef2-421a-bc86-ff4e8088****', 'title' => ''], 'domainName' => ['title' => '', 'description' => 'The domain name used to invoke the function by using HTTP. You can add this domain name as the prefix to the endpoint of Function Compute. This way, you can invoke the function that corresponds to the trigger by using HTTP. For example, `{domainName}.cn-shanghai.fc.aliyuncs.com`.'."\n", 'type' => 'string', 'example' => 'demo-service-demo-function-jkhksh'], 'urlInternet' => ['title' => '', 'description' => 'The public domain address. You can access HTTP triggers over the Internet by using HTTP or HTTPS.'."\n", 'type' => 'string', 'example' => 'https://svc-func-xxxxxxxx.cn-hangzhou.fcapp.run'], 'urlIntranet' => ['title' => '', 'description' => 'The private endpoint. In a VPC, you can access HTTP triggers by using HTTP or HTTPS.'."\n", 'type' => 'string', 'example' => 'https://svc-func-xxxxxxxx.cn-hangzhou-vpc.fcapp.run'], ], ], ], 400 => [], 403 => [], [], 409 => [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"createdTime\\": \\"2016-08-15T15:00:00.000+0000\\",\\n \\"invocationRole\\": \\"acs:ram::1234567890:role/fc-test\\",\\n \\"lastModifiedTime\\": \\"016-08-15T17:00:00.000+0000\\",\\n \\"qualifier\\": \\"LATEST\\",\\n \\"sourceArn\\": \\"acs:oss:cn-shanghai:12345:mybucket\\",\\n \\"triggerConfig\\": \\"{\\\\\\"events\\\\\\": [\\\\\\"oss:ObjectCreated:*\\\\\\"], \\\\\\"filter\\\\\\": {\\\\\\"key\\\\\\": {\\\\\\"prefix\\\\\\": \\\\\\"/prefix\\\\\\", \\\\\\"suffix\\\\\\": \\\\\\".zip\\\\\\"}}}\\",\\n \\"triggerName\\": \\"oss_create_object_trigger_demo\\",\\n \\"triggerType\\": \\"oss\\",\\n \\"description\\": \\"trigger for test\\",\\n \\"triggerId\\": \\"3e270f2f-cef2-421a-bc86-ff4e8088****\\",\\n \\"domainName\\": \\"demo-service-demo-function-jkhksh\\",\\n \\"urlInternet\\": \\"https://svc-func-xxxxxxxx.cn-hangzhou.fcapp.run\\",\\n \\"urlIntranet\\": \\"https://svc-func-xxxxxxxx.cn-hangzhou-vpc.fcapp.run\\"\\n}","type":"json"}]', 'title' => 'CreateTrigger', 'changeSet' => [ ['createdAt' => '2024-02-19T10:09:09.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-12-27T03:12:16.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:10.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:10.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:10.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2021-06-30T03:18:10.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:10.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTrigger'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:CreateTrigger', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'CreateVpcBinding' => [ 'summary' => 'Creates a VPC connection.', 'path' => '/2021-04-06/services/{serviceName}/bindings', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => [], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '34765', 'abilityTreeNodes' => ['FEATUREfcL3E8J5'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => 'A short description of struct', 'description' => 'The service name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.'."\n", 'type' => 'object', 'properties' => [ 'vpcId' => ['description' => 'The ID of the VPC to be bound.'."\n", 'type' => 'string', 'required' => true, 'example' => 'v-xxxx', 'title' => ''], ], 'required' => false, 'title' => '', ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asdf****', 'title' => ''], ], ], 'responses' => [ 200 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', 'title' => 'CreateVpcBinding', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVpcBinding'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:CreateVpcBinding', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DeleteAlias' => [ 'summary' => 'Deletes an alias.', 'path' => '/2021-04-06/services/{serviceName}/aliases/{aliasName}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => [], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '22392', 'abilityTreeNodes' => ['FEATUREfcI9H8B8'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => 'The name of the service.', 'description' => 'The service name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service'], ], [ 'name' => 'aliasName', 'in' => 'path', 'schema' => ['title' => 'The name of the alias.', 'description' => 'The alias.'."\n", 'type' => 'string', 'required' => true, 'example' => 'test'], ], [ 'name' => 'If-Match', 'in' => 'header', 'schema' => ['description' => 'If the ETag specified in a request matches the ETag value of the object, OSS transmits the object and returns 200 OK. If the ETag specified in a request does not match the ETag value of the object, OSS returns 412 Precondition Failed.'."\n" ."\n" .'The ETag value of a resource is used to check whether the resource has changed. You can check data integrity by using the ETag value. Default value: null.'."\n", 'type' => 'string', 'required' => false, 'example' => 'e19d5cd5af0378da05f63f891c7467af', 'title' => ''], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r9s89isisi****', 'title' => ''], ], ], 'responses' => [ 204 => [], 400 => [], 403 => [], [], 409 => [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', 'title' => 'DeleteAlias', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteAlias', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAlias'], ], ], ], 'DeleteCustomDomain' => [ 'summary' => 'Deletes a custom domain name.', 'path' => '/2021-04-06/custom-domains/{domainName}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '22385', 'abilityTreeNodes' => ['FEATUREfcJ7WA06'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'domainName', 'in' => 'path', 'schema' => ['title' => 'The domain name.', 'description' => 'The domain name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'example.com'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the API was called. Format: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rid281s******', 'title' => ''], ], ], 'responses' => [ 204 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', 'title' => 'DeleteCustomDomain', 'changeSet' => [ ['createdAt' => '2021-06-29T12:45:46.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-29T12:45:46.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:46.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:46.000Z', 'description' => 'Request parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteCustomDomain', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCustomDomain'], ], ], ], 'DeleteFunction' => [ 'summary' => 'Deletes a function. Before you delete a function, you must delete triggers of the function.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '22413', 'abilityTreeNodes' => ['FEATUREfcVF016G'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'If-Match', 'in' => 'header', 'schema' => ['title' => 'The ETag value of the resource. This value is used to ensure that the modified resource is consistent with the resource to be modified. The ETag value is returned in the responses of the CREATE, GET, and UPDATE operations.', 'description' => 'The header that is used to ensure that the changed resources are consistent with resources to be changed. The value comes from the response of the Create, Get, and Update API operations.'."\n", 'type' => 'string', 'required' => false, 'example' => 'e19d5cd5af0378da05f63f891c7467af'], ], [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => 'The name of the service.', 'description' => 'The service name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoService'], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['title' => 'The name of the function.', 'description' => 'The function name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoFunction'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API. The value is the same as that of the requestId parameter in the response.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test-trace-id', 'title' => ''], ], ], 'responses' => [ 204 => [], 400 => [], 403 => [], [], 409 => [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', 'title' => 'DeleteFunction', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteFunction', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [], ], ], 'DeleteFunctionAsyncInvokeConfig' => [ 'summary' => 'Deletes an asynchronous invocation configuration.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/async-invoke-config', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => [], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '22387', 'abilityTreeNodes' => ['FEATUREfcBKET2W'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => 'The name of the service.', 'description' => 'The service name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service'], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['title' => 'The name of the function.', 'description' => 'The function name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'helloworld'], ], [ 'name' => 'qualifier', 'in' => 'query', 'schema' => ['title' => 'The qualifier.', 'description' => 'The version or alias of the service.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asdf*****', 'title' => ''], ], ], 'responses' => [ 204 => [], 400 => [], 403 => [], [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', 'title' => 'DeleteFunctionAsyncInvokeConfig', 'changeSet' => [ ['createdAt' => '2021-06-29T12:45:46.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-29T12:45:46.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:46.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:46.000Z', 'description' => 'Request parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteFunctionAsyncInvokeConfig', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [], ], ], 'DeleteFunctionOnDemandConfig' => [ 'summary' => 'Deletes a concurrency configuration of a function.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/on-demand-config', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '34735', 'abilityTreeNodes' => ['FEATUREfcVF016G'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['description' => 'The service name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'service_Name', 'title' => ''], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['description' => 'The name of the function.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-function', 'title' => ''], ], [ 'name' => 'qualifier', 'in' => 'query', 'schema' => ['title' => 'If the ETag specified in the request matches the ETag value of the OndemandConfig, FC returns 200 OK. If the ETag specified in the request does not match the ETag value of the OndemandConfig, FC returns 412 Precondition Failed. ', 'description' => 'The service alias or LATEST. Versions are not supported.'."\n", 'type' => 'string', 'required' => true, 'example' => 'prod'], ], [ 'name' => 'If-Match', 'in' => 'header', 'schema' => ['description' => 'If the ETag specified in a request matches the ETag value of the object, OSS transmits the object and returns 200 OK. If the ETag specified in a request does not match the ETag value of the object, OSS returns 412 Precondition Failed.'."\n", 'type' => 'string', 'required' => false, 'example' => 'e19d5cd5af0378da05f63f891c7467af', 'title' => ''], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID, which is the unique identifier of a trace.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r9s89isisi****', 'title' => ''], ], ], 'responses' => [ 200 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', 'title' => 'DeleteFunctionOnDemandConfig', 'changeSet' => [ ['createdAt' => '2022-06-21T07:51:26.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-06-07T07:38:42.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteFunctionOnDemandConfig', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [], ], ], 'DeleteLayerVersion' => [ 'summary' => 'Deletes a layer version.', 'path' => '/2021-04-06/layers/{layerName}/versions/{version}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '22403', 'abilityTreeNodes' => ['FEATUREfcN46UH2'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'layerName', 'in' => 'path', 'schema' => ['title' => 'The name of the layer.', 'description' => 'The name of the layer.'."\n", 'type' => 'string', 'required' => true, 'example' => 'MyLayer'], ], [ 'name' => 'version', 'in' => 'path', 'schema' => ['title' => 'The version of the layer.', 'description' => 'The layer version.'."\n", 'type' => 'string', 'required' => true, 'example' => '1'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asdf****', 'title' => ''], ], ], 'responses' => [ 200 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', 'title' => 'DeleteLayerVersion', 'responseParamsDescription' => 'No response parameters are returned.'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLayerVersion'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteLayerVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DeleteService' => [ 'summary' => 'Deletes a service.', 'path' => '/2021-04-06/services/{serviceName}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => [], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '22373', 'abilityTreeNodes' => ['FEATUREfcVF016G'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'If-Match', 'in' => 'header', 'schema' => ['title' => 'The ETag value of the resource. This value is used to ensure that the modified resource is consistent with the resource to be modified. The ETag value is returned in the responses of the CREATE, GET, and UPDATE operations.', 'description' => 'The value that is used to ensure that the modified service is consistent with the service to be modified. The value of this parameter comes from responses of the [CreateService](~~175256~~), [UpdateService](~~188167~~), and [GetService](~~189225~~) operation.'."\n", 'type' => 'string', 'required' => false, 'example' => 'service_name'], ], [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => 'The name of the service.', 'description' => 'The service name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the Function Compute API was called. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r9s89isisi****', 'title' => ''], ], ], 'responses' => [ 204 => [], 400 => [], 403 => [], [], 409 => [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', 'title' => 'DeleteService', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [], ], ], 'DeleteServiceVersion' => [ 'summary' => 'Removes a service version.', 'path' => '/2021-04-06/services/{serviceName}/versions/{versionId}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => [], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '22397', 'abilityTreeNodes' => ['FEATUREfcDTB0I5'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'allowEmptyValue' => false, 'schema' => ['title' => 'The name of the service.', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service'], ], [ 'name' => 'versionId', 'in' => 'path', 'schema' => ['title' => 'The ID of the version.', 'description' => 'The version of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => '1'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rid281s******', 'title' => ''], ], ], 'responses' => [ 204 => [], 400 => [], 403 => [], [], 409 => [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', 'title' => 'DeleteServiceVersion', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteServiceVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DeleteTrigger' => [ 'summary' => 'Deletes a trigger.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/triggers/{triggerName}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => [], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '22382', 'abilityTreeNodes' => ['FEATUREfc0CDUNQ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'If-Match', 'in' => 'header', 'schema' => ['title' => '', 'description' => 'This parameter is used to ensure that the modified resource is consistent with the resource to be modified. You can obtain the parameter value from the responses of [CreateTrigger](~~415729~~), [GetTrigger](~~415732~~), and [UpdateTrigger](~~415731~~) operations.'."\n", 'type' => 'string', 'required' => false, 'example' => 'e19d5cd5af0378da05f63f891c74****'], ], [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoService'], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the function.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoFunction'], ], [ 'name' => 'triggerName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the trigger.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoTrigger'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the request is initiated on the client. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The custom request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'my-test-trace-id', 'title' => ''], ], ], 'responses' => [ 204 => [], 400 => [], 403 => [], [], 409 => [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', 'title' => 'DeleteTrigger', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteTrigger', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DeleteVpcBinding' => [ 'summary' => 'Deletes an access control policy from a specified policy group for a VPC firewall.', 'path' => '/2021-04-06/services/{serviceName}/bindings/{vpcId}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => [], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'abilityTreeCode' => '34766', 'abilityTreeNodes' => ['FEATUREfcL3E8J5'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['description' => 'The service name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoService', 'title' => ''], ], [ 'name' => 'vpcId', 'in' => 'path', 'schema' => ['description' => 'The VPC ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'vpc-xxxx', 'title' => ''], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of the Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asdf****', 'title' => ''], ], ], 'responses' => [ 200 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', 'title' => 'DeleteVpcBinding', 'changeSet' => [ ['createdAt' => '2022-11-28T05:01:03.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'Request parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteVpcBinding', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVpcBinding'], ], ], ], 'DeregisterEventSource' => [ 'summary' => 'Deregisters an event source for a function invocation. This API operation has been deprecated. We recommend that you do not continue to use it.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/event-sources/{sourceArn}', 'methods' => ['delete'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '59589', 'abilityTreeNodes' => ['FEATUREfcBAQXYJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => 'The name of the service.', 'description' => 'The service name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service'], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['title' => 'The name of the function.', 'description' => 'The function name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-function'], ], [ 'name' => 'qualifier', 'in' => 'query', 'schema' => ['title' => 'The version or alias of the service.', 'description' => 'The version or alias of the service.'."\n", 'type' => 'string', 'required' => false, 'example' => 'LATEST'], ], [ 'name' => 'sourceArn', 'in' => 'path', 'schema' => ['title' => 'The Alibaba Cloud Resource Name (ARN) of the event source.', 'description' => 'The ARN of the event source.'."\n", 'type' => 'string', 'required' => true, 'example' => 'acs:eventbridge:cn-shanghai:123456:eventbus/mns-test/rule/fc-test1/target/abc'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Sat, 14 Jul 2017 07:02:38 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asdf****', 'title' => ''], ], ], 'responses' => [ 204 => [], 400 => [], 403 => [], [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', 'title' => 'DeregisterEventSource', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'fc:DeregisterEventSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'DescribeRegions' => [ 'summary' => 'Queries the available regions for FC 2.0.', 'path' => '/2021-04-06/regions', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '22416', 'abilityTreeNodes' => ['FEATUREfcAXUA30'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'AcceptLanguage', 'in' => 'query', 'schema' => [ 'description' => 'The language of the response. For more information, see RFC 7231. Valid values:'."\n" ."\n" .'zh-CN: Chinese.'."\n" ."\n" .'en-US: English.'."\n" ."\n" .'ja: Japanese'."\n" ."\n" .'Default value: zh-CN.', 'type' => 'string', 'default' => 'zh-CN', 'enum' => ['zh-CN', 'en-US', 'ja'], 'title' => '', 'required' => false, 'example' => 'zh-CN', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Response', 'description' => 'Response', 'type' => 'object', 'properties' => [ 'Regions' => [ 'title' => '', 'description' => 'Region information', 'type' => 'object', 'properties' => [ 'Region' => [ 'title' => '', 'description' => 'A collection of region information', 'type' => 'array', 'items' => [ 'title' => '', 'description' => 'A region object', 'type' => 'object', 'properties' => [ 'RegionId' => ['description' => 'The region ID', 'type' => 'string', 'title' => '', 'example' => 'cn-qingdao'], 'LocalName' => ['description' => 'The name of the region', 'type' => 'string', 'title' => '', 'example' => '华北1(青岛)'], ], 'example' => '', ], 'example' => '', ], ], 'example' => '', ], ], 'example' => '', ], ], 400 => [], 403 => [], [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Regions\\": {\\n \\"Region\\": [\\n {\\n \\"RegionId\\": \\"cn-qingdao\\",\\n \\"LocalName\\": \\"华北1(青岛)\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'DescribeRegions', 'responseParamsDescription' => 'Sample JSON response'."\n" ."\n" .'```json'."\n" .'{'."\n" .' "Regions": {'."\n" .' "Region": ['."\n" .' {'."\n" .' "RegionId": "cn-qingdao",'."\n" .' "LocalName": "China (Qingdao)"'."\n" .' }'."\n" .' ]'."\n" .' }'."\n" .'}'."\n" .'```', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [], ], 'GetAccountSettings' => [ 'summary' => 'You can call this operation to query the information about an account.', 'path' => '/2021-04-06/account-settings', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => [ 'description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'enumValueTitles' => [], 'example' => '188077086902****', 'title' => '', ], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the Function Compute API was called. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rid281s******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The returned data.'."\n", 'type' => 'object', 'properties' => [ 'availableAZs' => [ 'title' => 'The list of available zones.', 'description' => 'The zone IDs.'."\n", 'type' => 'array', 'items' => ['description' => 'A region.'."\n", 'type' => 'string', 'example' => 'cn-hangzhou-f', 'title' => ''], ], 'defaultRole' => ['title' => '', 'description' => 'The default service role.'."\n", 'type' => 'string', 'example' => 'acs:ram::1234:role/aliyunfcdefaultrole'], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"availableAZs\\": [\\n \\"cn-hangzhou-f\\"\\n ],\\n \\"defaultRole\\": \\"acs:ram::1234:role/aliyunfcdefaultrole\\"\\n}","type":"json"}]', 'title' => 'GetAccountSettings', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetAccountSettings', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAccountSettings'], ], ], ], 'GetAlias' => [ 'summary' => 'Queries information about an alias.', 'path' => '/2021-04-06/services/{serviceName}/aliases/{aliasName}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '22412', 'abilityTreeNodes' => ['FEATUREfcI9H8B8'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'service_name'], ], [ 'name' => 'aliasName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the alias.'."\n", 'type' => 'string', 'required' => true, 'example' => 'alias_test'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the invocation request of Function Compute.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r4isu4sls****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [ 'ETag' => [ 'schema' => ['type' => 'string'], ], ], 'schema' => [ 'title' => '', 'description' => 'The definition of the alias.'."\n", 'type' => 'object', 'properties' => [ 'additionalVersionWeight' => [ 'title' => '', 'description' => 'The additional version to which the alias points and the weight of the additional version.'."\n" ."\n" .'* The additional version takes effect only when the function is invoked.'."\n" .'* The value consists of a version number and a specific weight. For example, 2:0.05 indicates that when a function is invoked, Version 2 is the canary release version, 5% of the traffic is distributed to the canary release version, and 95% of the traffic is distributed to the major version.'."\n", 'type' => 'object', 'additionalProperties' => ['type' => 'number', 'format' => 'float', 'description' => 'The traffic weight. Valid values: 0 to 1.'."\n", 'example' => '1', 'title' => ''], ], 'aliasName' => ['title' => '', 'description' => 'The name of the alias.'."\n", 'type' => 'string', 'example' => 'alias_test'], 'createdTime' => ['title' => '', 'description' => 'The time when the alias was created.'."\n", 'type' => 'string', 'example' => '2020-07-27T06:37:29Z'], 'description' => ['title' => '', 'description' => 'The description of the alias.'."\n", 'type' => 'string', 'example' => 'test_description'], 'lastModifiedTime' => ['title' => '', 'description' => 'The time when the alias was last modified.'."\n", 'type' => 'string', 'example' => '2020-07-27T06:37:29Z'], 'versionId' => ['title' => '', 'description' => 'The version to which the alias points.'."\n", 'type' => 'string', 'example' => '2'], 'resolvePolicy' => ['title' => '', 'description' => 'The canary release mode. Valid values:'."\n" ."\n" .'* **Random**: random canary release. This is the default value.'."\n" .'* **Content**: rule-based canary release.'."\n", 'type' => 'string', 'example' => 'Random', 'default' => 'Content'], 'routePolicy' => ['title' => '', 'description' => 'The canary release rule. Traffic that meets the canary release rule is routed to the canary release instance.'."\n", '$ref' => '#/components/schemas/RoutePolicy'], ], ], ], 400 => [], 403 => [], [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"additionalVersionWeight\\": {\\n \\"key\\": 1\\n },\\n \\"aliasName\\": \\"alias_test\\",\\n \\"createdTime\\": \\"2020-07-27T06:37:29Z\\",\\n \\"description\\": \\"test_description\\",\\n \\"lastModifiedTime\\": \\"2020-07-27T06:37:29Z\\",\\n \\"versionId\\": \\"2\\",\\n \\"resolvePolicy\\": \\"Random\\",\\n \\"routePolicy\\": {\\n \\"condition\\": \\"AND\\",\\n \\"policyItems\\": [\\n {\\n \\"type\\": \\"Header\\",\\n \\"key\\": \\"x-test-uid\\",\\n \\"value\\": \\"11111\\",\\n \\"operator\\": \\"=\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n \\n 1\\n \\n alias_test\\n 2020-07-27T06:37:29Z\\n test_description\\n 2020-07-27T06:37:29Z\\n 2\\n","errorExample":""}]', 'title' => 'GetAlias', 'changeSet' => [ ['createdAt' => '2022-08-04T06:26:25.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2021-06-29T12:45:39.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-29T12:45:39.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:39.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:39.000Z', 'description' => 'Request parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetAlias', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [], ], ], 'GetCustomDomain' => [ 'path' => '/2021-04-06/custom-domains/{domainName}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '34758', 'abilityTreeNodes' => ['FEATUREfcJ7WA06'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'domainName', 'in' => 'path', 'schema' => ['description' => 'The domain name.', 'type' => 'string', 'required' => true, 'example' => 'example.com ', 'title' => ''], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.', 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the operation is called. The format is: **EEE,d MMM yyyy HH:mm:ss GMT**.', 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The custom request ID.', 'type' => 'string', 'required' => false, 'example' => 'r4isu4sls****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ 'domainName' => ['title' => 'Id of the request', 'description' => 'The domain name.', 'type' => 'string', 'example' => 'example.com'], 'accountId' => ['description' => 'The ID of your Alibaba Cloud account.', 'type' => 'string', 'example' => '2016-08-15 ', 'title' => ''], 'protocol' => ['description' => 'The protocol types supported by the domain name. Valid values:'."\n" ."\n" .'- **HTTP**: Only HTTP is supported.'."\n" ."\n" .'- **HTTPS**: Only HTTPS is supported.'."\n" ."\n" .'- **HTTP,HTTPS**: HTTP and HTTPS are supported.', 'type' => 'string', 'example' => 'HTTP', 'title' => ''], 'apiVersion' => ['description' => 'The version of the API.', 'type' => 'string', 'example' => '2016-08-15 ', 'title' => ''], 'createdTime' => ['description' => 'The time when the custom domain name was created.', 'type' => 'string', 'example' => '2020-07-27T08:02:19Z ', 'title' => ''], 'lastModifiedTime' => ['description' => 'The time when the domain name was last modified.', 'type' => 'string', 'example' => '2020-07-27T08:02:19Z ', 'title' => ''], 'certConfig' => ['description' => 'The HTTPS certificate configurations.', '$ref' => '#/components/schemas/CertConfig', 'title' => '', 'example' => ''], 'tlsConfig' => ['description' => 'The Transport Layer Security (TLS) configurations.', '$ref' => '#/components/schemas/TLSConfig', 'title' => '', 'example' => ''], 'routeConfig' => ['description' => 'The configuration of the route table. The route table maps paths to functions when the functions are invoked by using custom domain names.', '$ref' => '#/components/schemas/RouteConfig', 'title' => '', 'example' => ''], 'wafConfig' => ['description' => 'The Web Application Firewall (WAF) configurations.', '$ref' => '#/components/schemas/WAFConfig', 'title' => '', 'example' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'GetCustomDomain', 'summary' => 'Queries the information about a custom domain name.', 'changeSet' => [ ['createdAt' => '2024-02-19T09:20:37.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2022-11-28T05:01:03.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCustomDomain'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetCustomDomain', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"domainName\\": \\"example.com\\",\\n \\"accountId\\": \\"2016-08-15\\\\t\\",\\n \\"protocol\\": \\"HTTP\\",\\n \\"apiVersion\\": \\"2016-08-15\\\\t\\",\\n \\"createdTime\\": \\"2020-07-27T08:02:19Z\\\\t\\",\\n \\"lastModifiedTime\\": \\"2020-07-27T08:02:19Z\\\\t\\",\\n \\"certConfig\\": {\\n \\"certName\\": \\"my-cert\\",\\n \\"certificate\\": \\"-----BEGIN CERTIFICATE----- xxxxx -----END CERTIFICATE-----\\",\\n \\"privateKey\\": \\"-----BEGIN RSA PRIVATE KEY----- xxxxx -----END RSA PRIVATE KEY-----\\"\\n },\\n \\"tlsConfig\\": {\\n \\"minVersion\\": \\"TLSv1.0\\",\\n \\"cipherSuites\\": [\\n \\"TLS_RSA_WITH_RC4_128_SHA\\"\\n ],\\n \\"maxVersion\\": \\"TLSv1.3\\"\\n },\\n \\"routeConfig\\": {\\n \\"routes\\": [\\n {\\n \\"functionName\\": \\"f1\\",\\n \\"methods\\": [\\n \\"GET\\"\\n ],\\n \\"path\\": \\"/login\\",\\n \\"qualifier\\": \\"prod\\",\\n \\"serviceName\\": \\"s1\\",\\n \\"rewriteConfig\\": {\\n \\"equalRules\\": [\\n {\\n \\"match\\": \\"/old\\",\\n \\"replacement\\": \\"/new\\"\\n }\\n ],\\n \\"wildcardRules\\": [\\n {\\n \\"match\\": \\"/api/*\\",\\n \\"replacement\\": \\"/$1\\"\\n }\\n ],\\n \\"regexRules\\": [\\n {\\n \\"match\\": \\"^/js/(.*?)$\\",\\n \\"replacement\\": \\"/public/javascripts/$1\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"wafConfig\\": {\\n \\"enableWAF\\": true\\n }\\n}","type":"json"}]', ], 'GetFunction' => [ 'summary' => 'Queries the information about a function.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '22416', 'abilityTreeNodes' => ['FEATUREfcVF016G'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'service_name'], ], [ 'name' => 'qualifier', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The version or alias of the service.'."\n", 'type' => 'string', 'required' => false, 'example' => 'demoQualifier'], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the function.'."\n", 'type' => 'string', 'required' => true, 'example' => 'function_name'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The custom request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asdf****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [ 'ETag' => [ 'schema' => ['title' => 'function etag,用于更改function。以确保实际更改的function和期望更改的function是一致的.', 'type' => 'string'], ], ], 'schema' => [ 'title' => 'FunctionResponse', 'description' => 'The definition of the function.'."\n", 'type' => 'object', 'properties' => [ 'codeChecksum' => ['title' => '', 'description' => 'The CRC-64 value of the function code package.'."\n", 'type' => 'string', 'example' => '2825179536350****'], 'codeSize' => ['title' => '', 'description' => 'The size of the function code package. Unit: byte.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '421'], 'createdTime' => ['title' => '', 'description' => 'The time when the function was created.'."\n", 'type' => 'string', 'example' => '2020-04-01T08:15:27Z'], 'description' => ['title' => '', 'description' => 'The description of the function.'."\n", 'type' => 'string', 'example' => 'test_description'], 'environmentVariables' => [ 'title' => '', 'description' => 'The environment variables that are configured for the function. You can obtain the values of the environment variables from the function. For more information, see [Environment variables](~~69777~~).'."\n", 'type' => 'object', 'additionalProperties' => ['type' => 'string', 'description' => 'The environment variables that you configured for the function.'."\n", 'example' => '{"key":"value"}', 'title' => ''], ], 'functionId' => ['title' => '', 'description' => 'The ID that is generated by the system for the function. Each function ID is unique in Function Compute.'."\n", 'type' => 'string', 'example' => 'aa715851-1c20-4b89-a8fb-***'], 'functionName' => ['title' => '', 'description' => 'The name of the function.'."\n", 'type' => 'string', 'example' => 'function_name'], 'handler' => ['title' => '', 'description' => 'The handler of the function. For more information, see [Function handler](~~157704~~).'."\n", 'type' => 'string', 'example' => 'index.handler'], 'lastModifiedTime' => ['title' => '', 'description' => 'The time when the function was last modified.'."\n", 'type' => 'string', 'example' => '2020-04-01T08:15:27Z'], 'memorySize' => ['title' => '', 'description' => 'The memory size for the function. Unit: MB. The value must be a multiple of 64. The memory size varies based on the function instance type. For more information, see [Instance types](~~179379~~).'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '256'], 'runtime' => ['title' => '', 'description' => 'The runtime of the function. Valid values: **nodejs20**, **nodejs18**, **nodejs16**, **nodejs14**, **nodejs12**, **nodejs10**, **nodejs8**, **nodejs6**, **nodejs4.4**, **python3.10**, **python3.9**, **python3**, **python2.7**, **java11**, **java8**, **go1**, **php7.2**, **dotnetcore2.1**, **custom.debian10**, **custom**, and **custom-container**.'."\n", 'type' => 'string', 'example' => 'python3'], 'timeout' => ['title' => '', 'description' => 'The timeout period for the execution of the function. Unit: seconds. Default value: 60. Valid values: 1 to 600. When this period expires, the execution of the function is terminated.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '60'], 'initializationTimeout' => ['title' => '', 'description' => 'The timeout period for the execution of the Initializer hook. Unit: seconds. Default value: 3. Valid values: 1 to 300. When this period ends, the execution of the Initializer hook is terminated.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '60'], 'initializer' => ['title' => '', 'description' => 'The handler of the Initializer hook. The format of the value is determined by the programming language that you use. For more information, see [Initializer hook](~~157704~~).'."\n", 'type' => 'string', 'example' => 'index.handler'], 'caPort' => ['title' => '', 'description' => 'The port on which the HTTP server listens for the custom runtime or custom container runtime.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '9000'], 'customContainerConfig' => ['description' => 'The configurations of the Custom Container runtime. After you configure the Custom Container runtime, you can use a custom container image to execute functions.'."\n", '$ref' => '#/components/schemas/CustomContainerConfigInfo', 'title' => ''], 'layers' => [ 'title' => '', 'description' => 'The list of layers (ARN V1).'."\n" ."\n" .'> If multiple layers exist, the layers are merged based on the array subscripts in descending order. The content of a layer with a smaller subscript overwrites that of a larger subscript.'."\n" ."\n" .'> This parameter is to be deprecated. Use layersArnV2.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the layer resource (ARN V1 version).'."\n", 'type' => 'string', 'example' => '02f81d283888f5ec63442a88fe82b260#Layer-name#1', 'title' => ''], ], 'instanceConcurrency' => ['description' => 'The number of requests that can be concurrently processed by a single instance.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'instanceSoftConcurrency' => ['description' => 'The soft concurrency of the instance. You can use this parameter to implement graceful scale-up of instances. If the number of concurrent requests on an instance is greater than the value of soft concurrency, an instance scale-up is triggered. For example, if your instance requires a long time to start, you can specify a suitable soft concurrency to start the instance in advance.'."\n" ."\n" .'The value must be less than or equal to that of the **instanceConcurrency** parameter.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], 'instanceType' => ['description' => 'The instance type of the function. Valid values:'."\n" ."\n" .'* **e1**: elastic instances'."\n" .'* **c1**: performance instances'."\n" .'* **fc.gpu.tesla.1**: GPU-accelerated instances with Tesla series cards'."\n" .'* **fc.gpu.ampere.1**: GPU-accelerated instances with Ampere series cards'."\n" .'* **fc.gpu.ada.1**:GPU-accelerated instances with Ada series cards'."\n" .'* **g1**: same as fc.gpu.tesla.1'."\n", 'type' => 'string', 'example' => 'e1', 'title' => ''], 'instanceLifecycleConfig' => ['description' => 'The lifecycle configurations of instances.'."\n", '$ref' => '#/components/schemas/InstanceLifecycleConfig', 'title' => ''], 'customDNS' => ['title' => '', 'description' => 'The custom Domain Name System (DNS) settings of the function.'."\n", '$ref' => '#/components/schemas/CustomDNS'], 'customRuntimeConfig' => ['title' => '', 'description' => 'The configurations of the function that runs in the custom runtime.'."\n", '$ref' => '#/components/schemas/CustomRuntimeConfig'], 'customHealthCheckConfig' => ['title' => '', 'description' => 'The custom health check configurations of the function. This parameter is applicable only to custom runtimes and Custom Container runtimes.'."\n", '$ref' => '#/components/schemas/CustomHealthCheckConfig'], 'layersArnV2' => [ 'title' => '', 'description' => 'The list of layers (ARN V2).'."\n" ."\n" .'> If multiple layers exist, the layers are merged based on the array subscripts in descending order. The content of a layer with a smaller subscript overwrites that of a larger subscript.'."\n", 'type' => 'array', 'items' => ['description' => 'The name of the layer resource (ARN V2 version).'."\n", 'type' => 'string', 'example' => 'acs:fc:{region}:{accountID}:layers/{layerName}/versions/{layerVersion}', 'title' => ''], ], 'cpu' => ['title' => '', 'description' => 'The number of vCPUs of the function. The value must be a multiple of 0.05.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '1.5'], 'diskSize' => ['title' => '', 'description' => 'The disk size of the function. Unit: MB. Valid values: 512 and 10240.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '512'], 'gpuMemorySize' => ['title' => '', 'description' => 'The GPU memory capacity for the function. Unit: MB. The value is a multiple of 1,024.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2048'], ], ], ], 400 => [], 403 => [], [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"codeChecksum\\": \\"2825179536350****\\",\\n \\"codeSize\\": 421,\\n \\"createdTime\\": \\"2020-04-01T08:15:27Z\\",\\n \\"description\\": \\"test_description\\",\\n \\"environmentVariables\\": {\\n \\"key\\": \\"{\\\\\\"key\\\\\\":\\\\\\"value\\\\\\"}\\"\\n },\\n \\"functionId\\": \\"aa715851-1c20-4b89-a8fb-***\\",\\n \\"functionName\\": \\"function_name\\",\\n \\"handler\\": \\"index.handler\\",\\n \\"lastModifiedTime\\": \\"2020-04-01T08:15:27Z\\",\\n \\"memorySize\\": 256,\\n \\"runtime\\": \\"python3\\",\\n \\"timeout\\": 60,\\n \\"initializationTimeout\\": 60,\\n \\"initializer\\": \\"index.handler\\",\\n \\"caPort\\": 9000,\\n \\"customContainerConfig\\": {\\n \\"args\\": \\"[\\\\\\"-arg1\\\\\\", \\\\\\"value1\\\\\\"]\\",\\n \\"command\\": \\"[\\\\\\"/code/myserver\\\\\\"]\\",\\n \\"image\\": \\"registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1beta1\\",\\n \\"accelerationType\\": \\"Default\\",\\n \\"accelerationInfo\\": {\\n \\"status\\": \\"Preparing\\"\\n },\\n \\"instanceID\\": \\"cri-xxxxxxxxxx\\",\\n \\"webServerMode\\": true\\n },\\n \\"layers\\": [\\n \\"02f81d283888f5ec63442a88fe82b260#Layer-name#1\\"\\n ],\\n \\"instanceConcurrency\\": 10,\\n \\"instanceSoftConcurrency\\": 5,\\n \\"instanceType\\": \\"e1\\",\\n \\"instanceLifecycleConfig\\": {\\n \\"preFreeze\\": {\\n \\"handler\\": \\"index.preStop\\",\\n \\"timeout\\": 10\\n },\\n \\"preStop\\": {\\n \\"handler\\": \\"index.preStop\\",\\n \\"timeout\\": 10\\n }\\n },\\n \\"customDNS\\": {\\n \\"nameServers\\": [\\n \\"8.8.x.x\\"\\n ],\\n \\"searches\\": [\\n \\"ns1.svc.cluster-domain.example\\"\\n ],\\n \\"dnsOptions\\": [\\n {\\n \\"name\\": \\"ndots\\",\\n \\"value\\": \\"2\\"\\n }\\n ]\\n },\\n \\"customRuntimeConfig\\": {\\n \\"command\\": [\\n \\"/code/myBootstrap\\"\\n ],\\n \\"args\\": [\\n \\"args1\\"\\n ]\\n },\\n \\"customHealthCheckConfig\\": {\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 1,\\n \\"periodSeconds\\": 1,\\n \\"timeoutSeconds\\": 2,\\n \\"failureThreshold\\": 1,\\n \\"successThreshold\\": 2\\n },\\n \\"layersArnV2\\": [\\n \\"acs:fc:{region}:{accountID}:layers/{layerName}/versions/{layerVersion}\\"\\n ],\\n \\"cpu\\": 1.5,\\n \\"diskSize\\": 512,\\n \\"gpuMemorySize\\": 2048\\n}","errorExample":""},{"type":"xml","example":"\\n 2825179536350****\\n 421\\n 2020-04-01T08:15:27Z\\n test_description\\n aa715851-1c20-4b89-a8fb-***\\n function_name\\n index.handler\\n 2020-04-01T08:15:27Z\\n 256\\n python3\\n 60\\n 60\\n index.handler\\n 9000\\n \\n [\\"-arg1\\", \\"value1\\"]\\n [\\"/code/myserver\\"]\\n registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1beta1\\n Default\\n \\n Preparing\\n \\n \\n 02f81d283888f5ec63442a88fe82b260#Layer-name#1\\n \\n \\n \\n \\n","errorExample":""}]', 'title' => 'GetFunction', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFunction'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetFunction', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetFunctionAsyncInvokeConfig' => [ 'summary' => 'Obtains asynchronous invocation configurations of a function.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/async-invoke-config', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '22398', 'abilityTreeNodes' => ['FEATUREfcBKET2W'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => '服务名称', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service'], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['title' => '函数名称', 'description' => 'The name of the function.'."\n", 'type' => 'string', 'required' => true, 'example' => 'helloworld'], ], [ 'name' => 'qualifier', 'in' => 'query', 'schema' => ['title' => '限定符', 'description' => 'The version or alias of the service.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the Function Compute is called. The format is **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Sat, 14 Jul 2017 07:02:38 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the invocation request of Function Compute.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asdf****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '异步调用配置', 'description' => 'The asynchronous invocation configurations.'."\n", 'type' => 'object', 'properties' => [ 'createdTime' => ['title' => '创建时间', 'description' => 'The time when the desktop group was created.'."\n", 'type' => 'string', 'example' => '2020-09-10T02:45:02Z'], 'destinationConfig' => ['description' => 'The configuration struct of the destination for asynchronous invocations.'."\n", '$ref' => '#/components/schemas/DestinationConfig', 'example' => ' {"onSuccess": null,"onFailure": {"destination": "acs:mns:cn-shanghai:123:/queues/xxx/messages"}}', 'title' => ''], 'function' => ['title' => '函数名称', 'description' => 'The name of the function.'."\n", 'type' => 'string', 'example' => 'helloworld'], 'lastModifiedTime' => ['title' => '最后更改时间', 'description' => 'The time when the configuration was last modified.'."\n", 'type' => 'string', 'example' => '2020-09-10T02:45:02Z'], 'maxAsyncEventAgeInSeconds' => ['title' => '消息最大存活时长', 'description' => 'The maximum validity period of a message.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '300'], 'maxAsyncRetryAttempts' => ['title' => '异步调用失败后的最大重试次数', 'description' => 'The maximum number of retries allowed after an asynchronous invocation fails.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3'], 'qualifier' => ['title' => '限定符', 'description' => 'The version or alias of the service.'."\n", 'type' => 'string', 'example' => 'test'], 'service' => ['title' => '服务名称', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'example' => 'demo-service'], 'statefulInvocation' => ['description' => 'Indicates whether the asynchronous task feature is enabled.'."\n" ."\n" .'* **true**: The asynchronous task feature is enabled.'."\n" .'* **false**: The asynchronous task feature is disabled.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], ], ], 400 => [], 403 => [], [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'GetFunctionAsyncInvokeConfig', 'description' => 'StatefulAsyncInvocation indicates whether the asynchronous task feature is enabled. If the value of StatefulAsyncInvocation is true, the asynchronous task feature is enabled. All asynchronous invocations change to asynchronous task mode.'."\n", 'changeSet' => [ ['createdAt' => '2021-06-29T12:45:42.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-29T12:45:42.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:42.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:42.000Z', 'description' => 'Request parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetFunctionAsyncInvokeConfig', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"createdTime\\": \\"2020-09-10T02:45:02Z\\",\\n \\"destinationConfig\\": {\\n \\"onSuccess\\": {\\n \\"destination\\": \\"acs:fc:cn-shanghai:xxx:services/s1/functions/f1\\"\\n },\\n \\"onFailure\\": {\\n \\"destination\\": \\"acs:fc:cn-shanghai:xxx:services/s1/functions/f1\\"\\n }\\n },\\n \\"function\\": \\"helloworld\\",\\n \\"lastModifiedTime\\": \\"2020-09-10T02:45:02Z\\",\\n \\"maxAsyncEventAgeInSeconds\\": 300,\\n \\"maxAsyncRetryAttempts\\": 3,\\n \\"qualifier\\": \\"test\\",\\n \\"service\\": \\"demo-service\\",\\n \\"statefulInvocation\\": true\\n}","type":"json"}]', 'flowControl' => [ 'flowControlList' => [], ], ], 'GetFunctionCode' => [ 'summary' => 'Queries the code package of a function.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/code', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '22386', 'abilityTreeNodes' => ['FEATUREfcVF016G'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoService'], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the function.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoFunction'], ], [ 'name' => 'qualifier', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The version or alias of the service.'."\n", 'type' => 'string', 'required' => false, 'example' => 'demoQualifier'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The custom request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rid281s******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The returned data.'."\n", 'type' => 'object', 'properties' => [ 'checksum' => ['title' => '', 'description' => 'The CRC-64 value of the function code package.'."\n", 'type' => 'string', 'example' => '1234567890'], 'url' => ['title' => '', 'description' => 'The URL of the function code package.'."\n", 'type' => 'string', 'example' => 'http://func-code.oss-cn-shanghai.aliyuncs.com/1a2b3c4d5e6f'], ], ], ], 403 => [], [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"checksum\\": \\"1234567890\\",\\n \\"url\\": \\"http://func-code.oss-cn-shanghai.aliyuncs.com/1a2b3c4d5e6f\\"\\n}","type":"json"}]', 'title' => 'GetFunctionCode', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFunctionCode'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetFunctionCode', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetFunctionOnDemandConfig' => [ 'summary' => 'Obtains configurations of on-demand instances.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/on-demand-config', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '34736', 'abilityTreeNodes' => ['FEATUREfcVF016G'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service', 'title' => ''], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['description' => 'The name of the function.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoFunction', 'title' => ''], ], [ 'name' => 'qualifier', 'in' => 'query', 'schema' => ['description' => 'Service alias or LATEST. Other versions are not supported.'."\n", 'type' => 'string', 'required' => true, 'example' => 'prod', 'title' => ''], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The unique ID of the trace.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asdf****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [ 'ETag' => [ 'schema' => ['title' => '当前按量配置的标识,用于修改时提供条件校验(If-Match),若传入的ETag与实际的不一致,则返回412 PreconditionFailed错误。', 'type' => 'string'], ], ], 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The returned data.'."\n", 'type' => 'object', 'properties' => [ 'resource' => ['title' => 'Id of the request', 'description' => 'The description of the resource.'."\n", 'type' => 'string', 'example' => '12345#servierName#qualifier#functionName'], 'maximumInstanceCount' => ['description' => 'The maximum number of instances.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resource\\": \\"12345#servierName#qualifier#functionName\\",\\n \\"maximumInstanceCount\\": 10\\n}","type":"json"}]', 'title' => 'GetFunctionOnDemandConfig', 'changeSet' => [ ['createdAt' => '2022-06-21T07:51:26.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-06-07T07:38:42.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetFunctionOnDemandConfig', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [], ], ], 'GetLayerVersion' => [ 'summary' => 'Queries versions of a layer.', 'path' => '/2021-04-06/layers/{layerName}/versions/{version}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '22384', 'abilityTreeNodes' => ['FEATUREfcN46UH2'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'layerName', 'in' => 'path', 'schema' => ['title' => 'The access mode of the layer.', 'description' => 'The name of the layer.'."\n", 'type' => 'string', 'required' => true, 'example' => 'MyLayer'], ], [ 'name' => 'version', 'in' => 'path', 'schema' => ['title' => 'The code of the layer.', 'description' => 'The layer version.'."\n", 'type' => 'string', 'required' => true, 'example' => '1'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asdf****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [ 'ETag' => [ 'schema' => ['title' => '层版本标识符', 'type' => 'string'], ], ], 'schema' => ['title' => 'Schema of Response', 'description' => 'The details of the layer.'."\n", 'example' => '无', '$ref' => '#/components/schemas/Layer'], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"layerName\\": \\"MyLayer\\",\\n \\"version\\": 1,\\n \\"description\\": \\"the first layer\\",\\n \\"code\\": {\\n \\"repositoryType\\": \\"OSS\\",\\n \\"location\\": \\"https://xyz.oss-cnxxx.aliyuncs.com/xxx/xxx/xxx\\"\\n },\\n \\"codeSize\\": 421,\\n \\"codeChecksum\\": \\"2825179536350****\\",\\n \\"createTime\\": \\"2022-01-01T11:08:00Z\\",\\n \\"acl\\": 0,\\n \\"arn\\": \\"xxxxxxxx#Layer-name#1\\",\\n \\"arnV2\\": \\"acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1\\",\\n \\"license\\": \\"MIT\\",\\n \\"compatibleRuntime\\": [\\n \\"python3\\"\\n ]\\n}","type":"json"}]', 'title' => 'GetLayerVersion', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLayerVersion'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetLayerVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetProvisionConfig' => [ 'summary' => 'Queries the details of provisioned configurations.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/provision-config', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '22380', 'abilityTreeNodes' => ['FEATUREfcHRC0TU'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => 'The name of the service.', 'description' => 'The service name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoService'], ], [ 'name' => 'qualifier', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => 'The name of the alias.', 'description' => 'The name of the alias.'."\n", 'type' => 'string', 'required' => true, 'example' => 'prod'], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['title' => 'The name of the function.', 'description' => 'The function name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoFunction'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rid281s******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [ 'ETag' => [ 'schema' => ['title' => 'provision config etag, 以确保实际更改的 provision config 和期望更改的 provision config 是一致的', 'type' => 'string'], ], ], 'schema' => [ 'title' => 'provisionConfigResponse', 'description' => 'The provisioned instance configurations of the function.'."\n", 'type' => 'object', 'properties' => [ 'resource' => ['title' => 'The description of the resource.', 'description' => 'The resource description.'."\n", 'type' => 'string', 'example' => '12345#servierName#qualifier#functionName'], 'target' => ['title' => 'The expected number of provisioned instances.', 'description' => 'The expected number of resources.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '5'], 'current' => ['title' => 'The actual number of provisioned instances.', 'description' => 'The number of current resources.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1'], 'scheduledActions' => [ 'title' => 'The configurations of scheduled auto scaling.', 'description' => 'The scheduled auto scaling policy.'."\n", 'type' => 'array', 'items' => ['description' => 'The details about the scheduled scaling policy. You can use a scheduled scaling policy to flexibly configure provisioned instances. You can set the number of provisioned instances to a specific value at the scheduled time. This way, the number of provisioned instances can meet the concurrency requirements of your business.'."\n", 'example' => '[ { "Name":"action_1", "StartTime":"2020-11-01T10:00:00Z", "EndTime":"2020-11-30T10:00:00Z", "TargetValue":50, "ScheduleExpression":"cron(0 0 20 * * *)" }, { "Name":"action_2", "StartTime":"2020-11-01T10:00:00Z", "EndTime":"2020-11-30T10:00:00Z", "TargetValue":10, "ScheduleExpression":"cron(0 0 22 * * *)" } ]', '$ref' => '#/components/schemas/ScheduledActions', 'title' => ''], ], 'targetTrackingPolicies' => [ 'title' => 'The configuration of metric-based auto scaling.', 'description' => 'The configurations of the metric-based scaling policy.'."\n", 'type' => 'array', 'items' => ['description' => 'The details about the metric-based scaling policy. Provisioned instances are scaled every minute based on the concurrency usage rate of provisioned instances.'."\n" ."\n" .'* When the metric value exceeds the value of metricTarget, the system starts to scale out provisioned instances with an active policy to restore the metric value close to the value of metricTarget.'."\n" .'* When the metric value is lower than the value metricTarget, the system starts to scale in provisioned instances with a conservative policy so that the metric value gradually reaches the value metricTarget.'."\n" ."\n" .'After you specify the maximum and minimum numbers of provisioned instances, the system scales in or out provisioned instances within the range from the minimum number to the maximum number. If the number of provisioned instances reaches the specified maximum or minimum number, scaling stops.'."\n", 'example' => '[ { "Name": "action_1", "StartTime": "2020-11-01T10:00:00Z", "EndTime": "2020-11-30T10:00:00Z", "MetricType": "ProvisionedConcurrencyUtilization", "MetricTarget": 0.6, "MinCapacity": 10, "MaxCapacity": 100 } ]', '$ref' => '#/components/schemas/TargetTrackingPolicies', 'title' => ''], ], 'currentError' => ['title' => 'The error message returned if a provisioned instance fails to be created.', 'description' => 'The error message returned if a provisioned instance fails to be created.'."\n", 'type' => 'string', 'example' => 'image not found'], 'alwaysAllocateCPU' => ['title' => 'Specifies whether to always allocate CPU to a function instance. ', 'description' => 'Specifies whether to always allocate CPU resources to function instances.'."\n", 'type' => 'boolean', 'example' => 'true'], ], ], ], 400 => [], 403 => [], [], 409 => [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resource\\": \\"12345#servierName#qualifier#functionName\\",\\n \\"target\\": 5,\\n \\"current\\": 1,\\n \\"scheduledActions\\": [\\n {\\n \\"name\\": \\"name\\",\\n \\"startTime\\": \\"2020-10-10T10:10:10Z\\",\\n \\"endTime\\": \\"2021-10-10T10:10:10Z\\",\\n \\"target\\": 50,\\n \\"scheduleExpression\\": \\"cron(0/30 * * * *)\\"\\n }\\n ],\\n \\"targetTrackingPolicies\\": [\\n {\\n \\"name\\": \\"test_1\\",\\n \\"startTime\\": \\"2020-10-10T10:10:10Z\\",\\n \\"endTime\\": \\"2020-10-10T10:10:10Z\\",\\n \\"metricType\\": \\"CPUUtilization\\",\\n \\"metricTarget\\": 0.6,\\n \\"minCapacity\\": 10,\\n \\"maxCapacity\\": 100\\n }\\n ],\\n \\"currentError\\": \\"image not found\\",\\n \\"alwaysAllocateCPU\\": true\\n}","type":"json"}]', 'title' => 'GetProvisionConfig', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetProvisionConfig', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProvisionConfig'], ], ], ], 'GetResourceTags' => [ 'summary' => 'Queries all the tags of a resource.', 'path' => '/2021-04-06/tag', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '22375', 'abilityTreeNodes' => ['FEATUREfcWG6KAJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'resourceArn', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => 'The ARN of the resource.', 'description' => 'The Alibaba Cloud Resource Name (ARN) of the resource.'."\n" ."\n" .'> You can use the value of this parameter to query information about the resource, such as the account, service, and region of the resource. You can manage tags only for services for top level resources.'."\n", 'type' => 'string', 'required' => true, 'example' => 'acs:fc:cn-shanghai:188077086902****:services/demo'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'my-test-trace-id', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'getResourceTagsResponse', 'description' => 'The returned data.'."\n", 'type' => 'object', 'properties' => [ 'resourceArn' => ['title' => 'The ARN of the resource.', 'description' => 'The Alibaba Cloud Resource Name (ARN) of the resource.'."\n" ."\n" .'> You can use the value of this parameter to query information about the resource, such as the account, service, and region of the resource.'."\n", 'type' => 'string', 'example' => 'acs:fc:cn-shanghai:188077086902****:services/demo'], 'tags' => [ 'title' => 'The tags.', 'description' => 'The tag dictionary.'."\n", 'type' => 'object', 'additionalProperties' => ['type' => 'string', 'example' => '{"k1":"v1"}', 'description' => 'A tag. A tag consists of the following parameters:'."\n" ."\n" .'* **key**: the key of a tag'."\n" .'* **value**: the value of a tag'."\n", 'title' => ''], 'example' => '{"k1":"v1"}', ], ], 'example' => 'acs:fc:cn-shanghai:188077086902****:services/demo', ], ], 400 => [], 403 => [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resourceArn\\": \\"acs:fc:cn-shanghai:188077086902****:services/demo\\",\\n \\"tags\\": {\\n \\"key\\": \\"{\\\\\\"k1\\\\\\":\\\\\\"v1\\\\\\"}\\"\\n }\\n}","type":"json"}]', 'title' => 'GetResourceTags', 'changeSet' => [ ['createdAt' => '2021-06-29T12:45:48.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-29T12:45:48.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:48.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:48.000Z', 'description' => 'Request parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetResourceTags', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceTags'], ], ], ], 'GetService' => [ 'summary' => 'Queries information about a specified service.', 'path' => '/2021-04-06/services/{serviceName}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '22415', 'abilityTreeNodes' => ['FEATUREfcVF016G'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service'], ], [ 'name' => 'qualifier', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The version or alias of the service.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The custom request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rid281s******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [ 'ETag' => [ 'schema' => ['title' => 'etag,用于更改服务。以确保实际更改的服务和期望更改的服务是一致的', 'type' => 'string', 'example' => '5e547e5605e1dc17a78a6191bc18fbc5'], ], ], 'schema' => [ 'title' => '', 'description' => 'The definition of the service.'."\n", 'type' => 'object', 'properties' => [ 'createdTime' => ['title' => '', 'description' => 'The time when the service was created.'."\n", 'type' => 'string', 'example' => '2020-04-03T05:57:28Z'], 'description' => ['title' => '', 'description' => 'The description of the service.'."\n", 'type' => 'string', 'example' => 'demo-service-test'], 'internetAccess' => ['title' => '', 'description' => 'Specifies whether to allow functions to access the Internet. Valid values:'."\n" ."\n" .'* **true**: allows functions in the specified service to access the Internet.'."\n" .'* **false**: does not allow functions to access the Internet.'."\n", 'type' => 'boolean', 'example' => 'true'], 'lastModifiedTime' => ['title' => '', 'description' => 'The time when the service was last modified.'."\n", 'type' => 'string', 'example' => '2020-04-03T05:57:28Z'], 'logConfig' => ['description' => 'The logging configurations. Function Compute writes function execution logs to the specified Logstore.'."\n", '$ref' => '#/components/schemas/LogConfig', 'title' => ''], 'nasConfig' => ['description' => 'The configuration of the Apsara File Storage NAS (NAS) file system. The configuration allows functions in the specified service in Function Compute to access the NAS file system.'."\n", '$ref' => '#/components/schemas/NASConfig', 'title' => ''], 'role' => ['title' => '', 'description' => 'The RAM role that is used to grant required permissions to Function Compute. Scenarios:'."\n" ."\n" .'* Sends function execution logs to your Logstore.'."\n" .'* Generates a token for a function to access other cloud resources during function execution.'."\n", 'type' => 'string', 'example' => 'acs:ram::1234567890:role/fc-test'], 'serviceId' => ['title' => '', 'description' => 'The unique ID generated by the system for the service.'."\n", 'type' => 'string', 'example' => '2d28e0e9-9ba5-4eed-8b1a-d3d9cd24e737'], 'serviceName' => ['title' => '', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'example' => 'demo-service'], 'vpcConfig' => ['description' => 'The VPC configurations, which allow functions in the specified service to access the specified VPC.'."\n", '$ref' => '#/components/schemas/VPCConfig', 'title' => ''], 'tracingConfig' => ['description' => 'The configurations of Managed Service for OpenTelemetry. After you configure Managed Service for OpenTelemetry for a service in Function Compute, you can record the execution durations of requests and internal processing durations of functions, and view the cold start durations. For more information, see [Overview](~~189804~~).'."\n", '$ref' => '#/components/schemas/TracingConfig', 'title' => ''], 'ossMountConfig' => ['title' => '', 'description' => 'The Object Storage Service (OSS) mounting configuration.'."\n", '$ref' => '#/components/schemas/OSSMountConfig'], 'useSLRAuthentication' => ['description' => 'Indicates whether service-linked role authorization is enabled. Valid values:'."\n" ."\n" .'* true'."\n" .'* false'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], ], ], 400 => [], 403 => [], [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"createdTime\\": \\"2020-04-03T05:57:28Z\\",\\n \\"description\\": \\"demo-service-test\\",\\n \\"internetAccess\\": true,\\n \\"lastModifiedTime\\": \\"2020-04-03T05:57:28Z\\",\\n \\"logConfig\\": {\\n \\"logstore\\": \\"test-prj\\",\\n \\"project\\": \\"test-logstore\\",\\n \\"enableRequestMetrics\\": true,\\n \\"enableInstanceMetrics\\": true,\\n \\"logBeginRule\\": \\"DefaultRegex\\"\\n },\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.aliyuncs.com:/\\",\\n \\"enableTLS\\": false\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"role\\": \\"acs:ram::1234567890:role/fc-test\\",\\n \\"serviceId\\": \\"2d28e0e9-9ba5-4eed-8b1a-d3d9cd24e737\\",\\n \\"serviceName\\": \\"demo-service\\",\\n \\"vpcConfig\\": {\\n \\"securityGroupId\\": \\"sg-bp18hj1wtxgy3b0***\\",\\n \\"vSwitchIds\\": [\\n \\"vsw-bp1ozpcrdc6r****\\"\\n ],\\n \\"vpcId\\": \\"vpc-***\\",\\n \\"role\\": \\"acs:ram::1234567890:role/fc-test\\"\\n },\\n \\"tracingConfig\\": {\\n \\"type\\": \\"Jaeger\\",\\n \\"params\\": {\\n \\"key\\": \\"{\\\\\\"endpoint\\\\\\": \\\\\\"tracing_analysis_jaeger_endpoint\\\\\\"}\\"\\n }\\n },\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true,\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"bucketPath\\": \\"/my-dir\\"\\n }\\n ]\\n },\\n \\"useSLRAuthentication\\": true\\n}","type":"json"}]', 'title' => 'GetService', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [], ], ], 'GetStatefulAsyncInvocation' => [ 'summary' => 'Gets asynchronous task records that meet specified conditions.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/stateful-async-invocations/{invocationId}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '35585', 'abilityTreeNodes' => ['FEATUREfcBKET2W'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['description' => 'The name of service to which the asynchronous tasks belong.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service', 'title' => ''], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['description' => 'The name of function to which the asynchronous task belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-function', 'title' => ''], ], [ 'name' => 'invocationId', 'in' => 'path', 'schema' => ['description' => 'The ID of the asynchronous task.'."\n" ."\n" .'> If you use an SDK to invoke a function, we recommend that you specify a business-related ID to facilitate subsequent operations. For example, a video processing function can use video file names as invocation IDs. This way, you can easily check whether a video is successfully processed or terminated before it is processed. The ID must start with a letter or an underscore (\\_) and can contain letters, digits (0-9), underscores (\\_), and hyphens (-). The ID can be up to 128 characters in length. If you do not specify the ID of an asynchronous invocation, Function Compute automatically generates an ID.'."\n", 'type' => 'string', 'required' => true, 'example' => 'e026ae92-61e5-472f-b32d-1c9e3c4e****', 'title' => ''], ], [ 'name' => 'qualifier', 'in' => 'query', 'schema' => ['description' => 'The version or alias of the service to which the asynchronous task belongs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'LATEST', 'title' => ''], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Code-Checksum', 'in' => 'header', 'schema' => ['description' => 'The CRC-64 value of the function code package. This value is used to check data integrity. The value is automatically calculated by a tool.'."\n", 'type' => 'string', 'required' => false, 'example' => '1506052139770049xxxx', 'title' => ''], ], [ 'name' => 'X-Fc-Log-Type', 'in' => 'header', 'schema' => ['description' => 'The method used to return logs. Default value: None. Valid values:'."\n" ."\n" .'* **Tail**: returns the last 4 KB of logs that are generated for the current request.'."\n" .'* **None**: does not return logs for the request.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Tail', 'title' => ''], ], [ 'name' => 'X-Fc-Invocation-Type', 'in' => 'header', 'schema' => ['description' => 'The method used to invoke the function. Valid values:'."\n" ."\n" .'* **Sync**: synchronous invocation mode'."\n" .'* **Async**: asynchronous invocation mode'."\n", 'type' => 'string', 'required' => false, 'example' => 'Async', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Sat, 14 Jul 2017 07:02:38 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asdf****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => ['description' => 'The information about the asynchronous task. The returnPayload parameter is in beta test. If you want to use this parameter, [contact us](~~53087~~).'."\n", 'example' => 'Alibaba Cloud CLI', '$ref' => '#/components/schemas/StatefulAsyncInvocation', 'title' => ''], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"functionName\\": \\"functionName\\",\\n \\"serviceName\\": \\"serviceName\\",\\n \\"qualifier\\": \\"LATEST\\",\\n \\"invocationId\\": \\"demo-id\\",\\n \\"status\\": \\"Running\\",\\n \\"startedTime\\": 1633449590000,\\n \\"endTime\\": 1633449599000,\\n \\"destinationStatus\\": \\"Succeeded\\",\\n \\"invocationErrorMessage\\": \\"UnhandledInvocationError\\",\\n \\"invocationPayload\\": \\"\\\\\\"body\\\\\\"\\",\\n \\"alreadyRetriedTimes\\": 3,\\n \\"requestId\\": \\"ABA740D4-********-882707EADC37\\",\\n \\"instanceId\\": \\"D4-*******9FD1-882707E\\",\\n \\"events\\": [\\n {\\n \\"eventId\\": 1,\\n \\"status\\": \\"Enqueued\\",\\n \\"timestamp\\": 1647420449721,\\n \\"eventDetail\\": \\"{\\\\\\"Error\\\\\\":\\\\\\"UnhandledInvocationError\\\\\\"}\\"\\n }\\n ],\\n \\"durationMs\\": 100,\\n \\"returnPayload\\": \\"my-result\\"\\n}","type":"json"}]', 'title' => 'GetStatefulAsyncInvocation', 'description' => 'StatefulAsyncInvocation represents asynchronous tasks. Asynchronous tasks (StatefulAsyncInvocation) allow you to manage the states of asynchronous invocations. The asynchronous task feature is more suitable for task scenarios.'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetStatefulAsyncInvocation'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetStatefulAsyncInvocation', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'GetTrigger' => [ 'summary' => 'Queries the information about a trigger.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/triggers/{triggerName}', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '22381', 'abilityTreeNodes' => ['FEATUREfc0CDUNQ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoService'], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the function.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoFunction'], ], [ 'name' => 'triggerName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the trigger.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoTrigger'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the request is initiated on the client. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The custom request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'my-test-trace-id', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [ 'ETag' => [ 'schema' => ['title' => 'trigger etag,用于更改trigger。以确保实际更改的trigger和期望更改的trigger是一致的', 'type' => 'string'], ], ], 'schema' => [ 'title' => 'TriggerResponse', 'description' => 'The details of the trigger.'."\n", 'type' => 'object', 'properties' => [ 'createdTime' => ['title' => '', 'description' => 'The time when the trigger was created.'."\n", 'type' => 'string', 'example' => '2016-08-15T15:00:00.000+0000'], 'invocationRole' => ['title' => '', 'description' => 'The ARN of the RAM role that is used by the event source to invoke the function.'."\n", 'type' => 'string', 'example' => 'acs:ram::123456xxxx:role/fc-test'], 'lastModifiedTime' => ['title' => '', 'description' => 'The time when the trigger was last modified.'."\n", 'type' => 'string', 'example' => '016-08-15T17:00:00.000+0000'], 'qualifier' => ['title' => '', 'description' => 'The version or alias of the service.'."\n", 'type' => 'string', 'example' => 'LATEST'], 'sourceArn' => ['title' => '', 'description' => 'The ARN of the event source.'."\n", 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:123456xxxx:mybucket'], 'triggerConfig' => ['title' => '', 'description' => 'The configurations of the trigger. The configurations vary based on the trigger type. For more information about the format, see the following topics:'."\n" ."\n" .'* Object Storage Service (OSS) trigger: [OSSTriggerConfig](~~415697~~).'."\n" .'* Simple Log Service trigger: [LogTriggerConfig](~~415694~~).'."\n" .'* Time trigger: [TimeTriggerConfig](~~415712~~).'."\n" .'* HTTP trigger: [HTTPTriggerConfig](~~415685~~).'."\n" .'* Tablestore trigger: Specify the **SourceArn** parameter and leave this parameter empty.'."\n" .'* Alibaba Cloud CDN event trigger: [CDNEventsTriggerConfig](~~415674~~).'."\n" .'* Message Service (MNS) topic trigger: [MnsTopicTriggerConfig](~~415695~~).'."\n" .'* EventBridge triggers: [EventBridgeTriggerConfig](~~2508622~~).'."\n", 'type' => 'string', 'example' => '{"events": ["oss:ObjectCreated:*"], "filter": {"key": {"prefix": "/prefix", "suffix": ".zip"}}}'], 'triggerName' => ['title' => '', 'description' => 'The name of the trigger.'."\n", 'type' => 'string', 'example' => 'demoTrigger'], 'triggerType' => ['title' => '', 'description' => 'The trigger type. Example values: **oss**, **log**, **tablestore**, **timer**, **http**, **cdn_events**, **mns_topic**, and **eventbridge**.'."\n", 'type' => 'string', 'example' => 'oss'], 'description' => ['description' => 'The description of the trigger.'."\n", 'type' => 'string', 'example' => 'trigger for test', 'title' => ''], 'triggerId' => ['description' => 'The unique ID of the trigger.'."\n", 'type' => 'string', 'example' => '3e270f2f-cef2-421a-bc86-ff4e8088476a', 'title' => ''], 'domainName' => ['title' => '', 'description' => 'The domain name used to invoke the function by using HTTP. You can add this domain name as the prefix to the endpoint of Function Compute. This way, you can invoke the function that corresponds to the trigger by using HTTP. For example, `{domainName}.cn-shanghai.fc.aliyuncs.com`.'."\n", 'type' => 'string', 'example' => 'demo-service-demo-function-jkhksh'], 'urlInternet' => ['title' => '', 'description' => 'The public domain address. You can access HTTP triggers over the Internet by using HTTP or HTTPS.'."\n", 'type' => 'string', 'example' => 'https://svc-func-xxxxxxxx.cn-hangzhou.fcapp.run'], 'urlIntranet' => ['title' => '', 'description' => 'The private endpoint. In a VPC, you can access HTTP triggers by using HTTP or HTTPS.'."\n", 'type' => 'string', 'example' => 'https://svc-func-xxxxxxxx.cn-hangzhou-vpc.fcapp.run'], ], ], ], 400 => [], 403 => [], [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"createdTime\\": \\"2016-08-15T15:00:00.000+0000\\",\\n \\"invocationRole\\": \\"acs:ram::123456xxxx:role/fc-test\\",\\n \\"lastModifiedTime\\": \\"016-08-15T17:00:00.000+0000\\",\\n \\"qualifier\\": \\"LATEST\\",\\n \\"sourceArn\\": \\"acs:oss:cn-shanghai:123456xxxx:mybucket\\",\\n \\"triggerConfig\\": \\"{\\\\\\"events\\\\\\": [\\\\\\"oss:ObjectCreated:*\\\\\\"], \\\\\\"filter\\\\\\": {\\\\\\"key\\\\\\": {\\\\\\"prefix\\\\\\": \\\\\\"/prefix\\\\\\", \\\\\\"suffix\\\\\\": \\\\\\".zip\\\\\\"}}}\\",\\n \\"triggerName\\": \\"demoTrigger\\",\\n \\"triggerType\\": \\"oss\\",\\n \\"description\\": \\"trigger for test\\",\\n \\"triggerId\\": \\"3e270f2f-cef2-421a-bc86-ff4e8088476a\\",\\n \\"domainName\\": \\"demo-service-demo-function-jkhksh\\",\\n \\"urlInternet\\": \\"https://svc-func-xxxxxxxx.cn-hangzhou.fcapp.run\\",\\n \\"urlIntranet\\": \\"https://svc-func-xxxxxxxx.cn-hangzhou-vpc.fcapp.run\\"\\n}","type":"json"}]', 'title' => 'GetTrigger', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTrigger'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetTrigger', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'InvokeFunction' => [ 'summary' => 'Invoke a function.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/invocations', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeCode' => '22390', 'abilityTreeNodes' => ['FEATUREfcVF016G'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'X-Fc-Invocation-Type', 'in' => 'header', 'schema' => ['description' => 'The invocation method. Valid values:'."\n" ."\n" .'- **Sync**: synchronous invocations'."\n" ."\n" .'- **Async**: asynchronous invocations'."\n" ."\n" .'Default value: Sync', 'type' => 'string', 'example' => 'Sync', 'title' => '', 'required' => false], ], [ 'name' => 'X-Fc-Log-Type', 'in' => 'header', 'schema' => ['description' => 'The method used to return logs. Valid values:'."\n" ."\n" .'- **Tail**: returns the last 4 KB of logs that are generated for the current request.'."\n" ."\n" .'- **None**: No logs are returned for the current request. Default value: None.', 'type' => 'string', 'example' => 'None', 'title' => '', 'required' => false], ], [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['description' => 'The name of the service.', 'type' => 'string', 'required' => true, 'example' => 'demoService', 'title' => ''], ], [ 'name' => 'qualifier', 'in' => 'query', 'schema' => ['description' => 'The version ID or alias of the service.', 'type' => 'string', 'example' => 'demoQualifier', 'default' => 'LATEST', 'title' => '', 'required' => false], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['description' => 'The name of the function.', 'type' => 'string', 'required' => true, 'example' => 'demoFunction', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'schema' => ['description' => 'The event to be processed by the function. Set this parameter to a binary string. Function Compute passes the event to the function for processing.', 'type' => 'string', 'format' => 'byte', 'title' => '', 'required' => false, 'example' => '{"key":"value"}'], ], [ 'name' => 'X-Fc-Stateful-Async-Invocation-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of the asynchronous task. You must enable the asynchronous task feature in advance.'."\n" ."\n" .'> When you use an SDK to invoke a function, we recommend that you specify a business-related ID to facilitate subsequent operations. For example, you can use the video name as the invocation ID for a video-processing function. This way, you can use the ID to check whether the video is processed or terminate the processing of the video. The ID must start with a letter or an underscore (\\_) and can contain letters, digits, underscores (\\_), and hyphens (-). The ID can be up to 128 characters in length. If you do not specify the ID of the asynchronous invocation, Function Compute automatically generates an ID.', 'type' => 'string', 'required' => false, 'example' => 'test-invoke-id', 'title' => ''], ], [ 'name' => 'X-Fc-Stateful-Async-Invocation-Enable', 'in' => 'header', 'schema' => ['description' => 'Specifies whether to enable the asynchronous task mode for requests. Default value: false. Valid values:'."\n" ."\n" .'- **true**'."\n" ."\n" .'- **false**'."\n" ."\n" .'> This parameter takes effect only for asynchronous invocations. It does not take effect for synchronous invocations.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.', 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The format is **EEE,d MMM yyyy HH:mm:ss GMT**.', 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API. The value is the same as that of the **requestId** parameter in the response.', 'type' => 'string', 'required' => false, 'example' => 'test-trace-id', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [ 'X-Fc-Log-Result' => [ 'schema' => ['title' => '调用function产生的日志Tail结果', 'type' => 'string', 'example' => 'demo log result'], ], 'X-Fc-Code-Checksum' => [ 'schema' => ['title' => '代码校验', 'type' => 'string', 'example' => '5697641582914695457'], ], 'X-Fc-Error-Type' => [ 'schema' => ['title' => '调用function的错误类型,分为HandledInvocationError和UnhandledInvocationError两种', 'type' => 'string', 'example' => 'UnhandledInvocationError'], ], 'X-Fc-Invocation-Duration' => [ 'schema' => ['title' => '本次函数执行的时间,单位是毫秒', 'type' => 'number'], ], 'X-Fc-Max-Memory-Usage' => [ 'schema' => ['title' => '本次函数执行消耗的最大内存,单位是MB', 'type' => 'number'], ], ], 'schema' => ['title' => 'InvokeResponse', 'description' => 'The return value for the request.', 'type' => 'string', 'format' => 'byte', 'example' => 'hello world'], ], 202 => [], 403 => [], [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'InvokeFunction', 'changeSet' => [ ['createdAt' => '2023-05-30T06:29:44.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:45.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-29T12:45:45.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:45.000Z', 'description' => 'Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InvokeFunction'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'fc:InvokeFunction', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"\\"hello world\\"","type":"json"}]', ], 'ListAliases' => [ 'summary' => 'Queries all aliases of a service.', 'path' => '/2021-04-06/services/{serviceName}/aliases', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '22388', 'abilityTreeNodes' => ['FEATUREfcI9H8B8'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service'], ], [ 'name' => 'limit', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The maximum number of resources to return. Default value: 20. Maximum value: 100. The number of returned resources is less than or equal to the specified number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The token required to obtain more results. If the number of resources exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call.'."\n", 'type' => 'string', 'required' => false, 'example' => 'caeba0be03****f84eb48b699f0a4883'], ], [ 'name' => 'prefix', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The prefix that the names of returned resources must contain.'."\n", 'type' => 'string', 'required' => false, 'example' => 'prefix_text'], ], [ 'name' => 'startKey', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The starting position of the result list. The returned resources are sorted in alphabetical order, and the resources that include and follow the resource specified by the startKey parameter are returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'nextkey'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the invocation request of Function Compute.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r9s89isisi****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The returned data.'."\n", 'type' => 'object', 'properties' => [ 'aliases' => [ 'title' => '', 'description' => 'The list of aliases.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The definition of the alias.'."\n", 'type' => 'object', 'properties' => [ 'additionalVersionWeight' => [ 'title' => '', 'description' => 'The additional version to which the alias points and the weight of the additional version.'."\n" ."\n" .'* The additional version takes effect only when the function is invoked.'."\n" .'* The value consists of a version number and a specific weight. For example, 2:0.05 indicates that when a function is invoked, Version 2 is the canary release version, 5% of the traffic is distributed to the canary release version, and 95% of the traffic is distributed to the major version.'."\n", 'type' => 'object', 'additionalProperties' => ['type' => 'number', 'format' => 'float', 'description' => 'The traffic weight. Valid values: 0 to 1.'."\n", 'example' => '1', 'title' => ''], ], 'aliasName' => ['title' => '', 'description' => 'The name of the alias.'."\n", 'type' => 'string', 'example' => 'test'], 'createdTime' => ['title' => '', 'description' => 'The time when the ConfigMaps were created.'."\n", 'type' => 'string', 'example' => '2016-08-15T16:06:05.000+0000'], 'description' => ['title' => '', 'description' => 'The description of the alias.'."\n", 'type' => 'string', 'example' => 'Sample alias.'."\n"], 'lastModifiedTime' => ['title' => '', 'description' => 'The time at which the system parameter was last modified.'."\n", 'type' => 'string', 'example' => '2016-08-15T16:06:05.000+0000'], 'versionId' => ['title' => '', 'description' => 'The ID of the version.'."\n", 'type' => 'string', 'example' => '1'], 'resolvePolicy' => ['title' => '', 'description' => 'The canary release mode. Default value: Random. Valid values:'."\n" ."\n" .'* **Random**: random canary release.'."\n" .'* **Content**: rule-based canary release.', 'type' => 'string', 'example' => 'Random', 'default' => 'Content'], 'routePolicy' => ['title' => '', 'description' => 'The canary release rule. Traffic that meets the canary release rule is routed to the canary release instances.'."\n", '$ref' => '#/components/schemas/RoutePolicy'], ], 'title' => '', ], ], 'nextToken' => ['title' => '', 'description' => 'The token used to obtain more results.'."\n", 'type' => 'string', 'example' => '8bj81uI8n****'], ], ], ], 400 => [], 403 => [], [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"aliases\\": [\\n {\\n \\"additionalVersionWeight\\": {\\n \\"key\\": 1\\n },\\n \\"aliasName\\": \\"test\\",\\n \\"createdTime\\": \\"2016-08-15T16:06:05.000+0000\\",\\n \\"description\\": \\"Sample alias.\\\\n\\",\\n \\"lastModifiedTime\\": \\"2016-08-15T16:06:05.000+0000\\",\\n \\"versionId\\": \\"1\\",\\n \\"resolvePolicy\\": \\"Random\\",\\n \\"routePolicy\\": {\\n \\"condition\\": \\"AND\\",\\n \\"policyItems\\": [\\n {\\n \\"type\\": \\"Header\\",\\n \\"key\\": \\"x-test-uid\\",\\n \\"value\\": \\"11111\\",\\n \\"operator\\": \\"=\\"\\n }\\n ]\\n }\\n }\\n ],\\n \\"nextToken\\": \\"8bj81uI8n****\\"\\n}","type":"json"}]', 'title' => 'ListAliases', 'changeSet' => [ ['createdAt' => '2022-08-04T06:26:25.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2021-06-29T12:45:46.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-29T12:45:46.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:46.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:46.000Z', 'description' => 'Request parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListAliases', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [], ], ], 'ListCustomDomains' => [ 'summary' => 'Queries available custom domain names.', 'path' => '/2021-04-06/custom-domains', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '34757', 'abilityTreeNodes' => ['FEATUREfcJ7WA06'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'prefix', 'in' => 'query', 'schema' => ['description' => 'The prefix that the returned domain names must contain.'."\n", 'type' => 'string', 'required' => false, 'example' => 'prefix_text ', 'title' => ''], ], [ 'name' => 'startKey', 'in' => 'query', 'schema' => ['description' => 'The returned resources are sorted in alphabetical order, and the resources that include and follow the resource specified by the startKey parameter are returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'next_service ', 'title' => ''], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['description' => 'The pagination token to use to request the next page of results. If the number of resources exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call.'."\n", 'type' => 'string', 'required' => false, 'example' => 'fc-thinkphp-demo.functioncompute.com ', 'title' => ''], ], [ 'name' => 'limit', 'in' => 'query', 'schema' => ['description' => 'The maximum number of resources to return. Valid values: \\[0,100]. Default value: 20. The number of returned results is less than or equal to the specified number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the operation is called. The format is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The custom request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asdf*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'nextToken' => ['description' => 'The pagination token to use to request the next page of results. If the number of resources exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call.'."\n", 'type' => 'string', 'example' => 'example.com', 'title' => ''], 'customDomains' => [ 'description' => 'The list of domain names.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The domain name information.'."\n", 'type' => 'object', 'properties' => [ 'domainName' => ['description' => 'The domain name.'."\n", 'type' => 'string', 'example' => 'example.com ', 'title' => ''], 'accountId' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'example' => '1986114****4305 ', 'title' => ''], 'protocol' => ['description' => 'The protocol type that is supported by the custom domain name. Valid values:'."\n" ."\n" .'* **HTTP**: Only HTTP is supported.'."\n" .'* **HTTPS**: Only HTTPS is supported.'."\n" .'* **HTTP,HTTPS**: Both HTTP and HTTPS are supported.'."\n", 'type' => 'string', 'example' => 'HTTP ', 'title' => ''], 'apiVersion' => ['description' => 'The version of the API.'."\n", 'type' => 'string', 'example' => '2016-08-15 ', 'title' => ''], 'createdTime' => ['description' => 'The time when the custom domain name was created.'."\n", 'type' => 'string', 'example' => '2020-07-27T08:02:19Z ', 'title' => ''], 'lastModifiedTime' => ['description' => 'The last time when the domain name was updated.'."\n", 'type' => 'string', 'example' => '2020-07-27T08:02:19Z ', 'title' => ''], 'certConfig' => ['description' => 'The HTTPS certificate configurations.'."\n", '$ref' => '#/components/schemas/CertConfig', 'title' => '', 'example' => ''], 'tlsConfig' => ['description' => 'The Transport Layer Security (TLS) configurations.'."\n", '$ref' => '#/components/schemas/TLSConfig', 'title' => '', 'example' => ''], 'routeConfig' => ['description' => 'The route table configurations. The route table maps paths to functions when the functions are invoked by using custom domain names.'."\n", '$ref' => '#/components/schemas/RouteConfig', 'title' => '', 'example' => ''], 'wafConfig' => ['description' => 'The Web Application Firewall (WAF) configurations.'."\n", '$ref' => '#/components/schemas/WAFConfig', 'title' => '', 'example' => ''], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"nextToken\\": \\"example.com\\",\\n \\"customDomains\\": [\\n {\\n \\"domainName\\": \\"example.com\\\\t\\",\\n \\"accountId\\": \\"1986114****4305\\\\t\\",\\n \\"protocol\\": \\"HTTP\\\\t\\",\\n \\"apiVersion\\": \\"2016-08-15\\\\t\\",\\n \\"createdTime\\": \\"2020-07-27T08:02:19Z\\\\t\\",\\n \\"lastModifiedTime\\": \\"2020-07-27T08:02:19Z\\\\t\\",\\n \\"certConfig\\": {\\n \\"certName\\": \\"my-cert\\",\\n \\"certificate\\": \\"-----BEGIN CERTIFICATE----- xxxxx -----END CERTIFICATE-----\\",\\n \\"privateKey\\": \\"-----BEGIN RSA PRIVATE KEY----- xxxxx -----END RSA PRIVATE KEY-----\\"\\n },\\n \\"tlsConfig\\": {\\n \\"minVersion\\": \\"TLSv1.0\\",\\n \\"cipherSuites\\": [\\n \\"TLS_RSA_WITH_RC4_128_SHA\\"\\n ],\\n \\"maxVersion\\": \\"TLSv1.3\\"\\n },\\n \\"routeConfig\\": {\\n \\"routes\\": [\\n {\\n \\"functionName\\": \\"f1\\",\\n \\"methods\\": [\\n \\"GET\\"\\n ],\\n \\"path\\": \\"/login\\",\\n \\"qualifier\\": \\"prod\\",\\n \\"serviceName\\": \\"s1\\",\\n \\"rewriteConfig\\": {\\n \\"equalRules\\": [\\n {\\n \\"match\\": \\"/old\\",\\n \\"replacement\\": \\"/new\\"\\n }\\n ],\\n \\"wildcardRules\\": [\\n {\\n \\"match\\": \\"/api/*\\",\\n \\"replacement\\": \\"/$1\\"\\n }\\n ],\\n \\"regexRules\\": [\\n {\\n \\"match\\": \\"^/js/(.*?)$\\",\\n \\"replacement\\": \\"/public/javascripts/$1\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"wafConfig\\": {\\n \\"enableWAF\\": true\\n }\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListCustomDomains', 'changeSet' => [ ['createdAt' => '2024-02-19T09:20:35.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCustomDomains'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListCustomDomains', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListEventSources' => [ 'summary' => 'Queries a list of event sources for function invocations.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/event-sources', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '59590', 'abilityTreeNodes' => ['FEATUREfcBAQXYJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => 'The name of the service.', 'description' => 'The service name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service'], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['title' => 'The name of the function.', 'description' => 'The function name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-function'], ], [ 'name' => 'qualifier', 'in' => 'query', 'schema' => ['title' => 'The version or alias of the service.', 'description' => 'The version or alias of the service.'."\n", 'type' => 'string', 'required' => false, 'example' => 'LATEST'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Sat, 14 Jul 2017 07:02:38 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asdf****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The returned data.'."\n", 'type' => 'object', 'properties' => [ 'eventSources' => [ 'title' => 'The information about event sources.', 'description' => 'The event sources.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The information about the event source. ', 'type' => 'object', 'properties' => [ 'sourceArn' => ['title' => 'The Alibaba Cloud Resource Name (ARN) of the event source.', 'description' => 'The Alibaba Cloud Resource Name (ARN) of the event source.'."\n", 'type' => 'string', 'example' => 'acs:eventbridge:cn-shanghai:123456:eventbus/mns-test/rule/fc-test1/target/abc'], 'createdTime' => ['title' => 'The creation time.', 'description' => 'The time when the event source was created.'."\n", 'type' => 'string', 'example' => '2016-08-15T16:06:05.000+0000'], ], 'title' => '', ], ], ], ], ], 403 => [], [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"eventSources\\": [\\n {\\n \\"sourceArn\\": \\"acs:eventbridge:cn-shanghai:123456:eventbus/mns-test/rule/fc-test1/target/abc\\",\\n \\"createdTime\\": \\"2016-08-15T16:06:05.000+0000\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListEventSources', 'changeSet' => [ ['createdAt' => '2021-10-26T07:26:20.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-10-26T07:26:20.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-10-26T07:26:20.000Z', 'description' => 'Request parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListEventSources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [], ], ], 'ListFunctionAsyncInvokeConfigs' => [ 'summary' => 'Queries all asynchronous invocation configurations of a function in a service. If the number of configurations exceeds the value of the limit parameter, the nextToken parameter is returned. You can use the nextToken parameter to query the next page of results.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/async-invoke-configs', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '22406', 'abilityTreeNodes' => ['FEATUREfcBKET2W'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service'], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the function.'."\n", 'type' => 'string', 'required' => true, 'example' => 'helloworld'], ], [ 'name' => 'limit', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The maximum number of resources to return. Default value: 20. The value cannot exceed 100. The number of returned configurations is less than or equal to the specified number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The token required to obtain more results. If the number of resources exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call.'."\n", 'type' => 'string', 'required' => false, 'example' => '8bj81uI8n****'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Code-Checksum', 'in' => 'header', 'schema' => ['description' => 'The CRC-64 value of the function code package. This value is used to check data integrity. The value is automatically calculated by the tool.'."\n", 'type' => 'string', 'required' => false, 'example' => '1506052139770049xxxx', 'title' => ''], ], [ 'name' => 'X-Fc-Log-Type', 'in' => 'header', 'schema' => ['description' => 'The method used to return logs. Valid values:'."\n" ."\n" .'* **Tail**: returns the last 4 KB of logs that are generated for the current request.'."\n" .'* **None**: No logs are returned for the current request. Default value: None.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Tail', 'title' => ''], ], [ 'name' => 'X-Fc-Invocation-Type', 'in' => 'header', 'schema' => ['description' => 'The invocation method.'."\n" ."\n" .'* **Sync**: synchronous'."\n" .'* **Async**: asynchronous'."\n", 'type' => 'string', 'required' => false, 'example' => 'Async', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the Function Compute is called. The format is **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Sat, 14 Jul 2017 07:02:38 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the invocation request of Function Compute.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asdf****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The data struct returned.'."\n", 'type' => 'object', 'properties' => [ 'configs' => [ 'title' => '', 'description' => 'The list of asynchronous invocation configurations.'."\n", 'type' => 'array', 'items' => [ 'title' => '', 'description' => 'The asynchronous invocation configurations.'."\n", 'type' => 'object', 'properties' => [ 'createdTime' => ['title' => '', 'description' => 'The time when the asynchronous invocation configuration was created.'."\n", 'type' => 'string', 'example' => '2020-09-10T02:45:02Z'], 'destinationConfig' => ['description' => 'The configuration struct of the destination for asynchronous invocations. If you did not configure this parameter, this parameter is null.'."\n", '$ref' => '#/components/schemas/DestinationConfig', 'example' => ' {"onSuccess": null,"onFailure": {"destination": "acs:mns:cn-shanghai:123:/queues/xxx/messages"}}', 'title' => ''], 'function' => ['title' => '', 'description' => 'The function name.'."\n", 'type' => 'string', 'example' => 'helloworld'], 'lastModifiedTime' => ['title' => '', 'description' => 'The time when the configuration was last modified.'."\n", 'type' => 'string', 'example' => '2020-09-10T02:45:02Z'], 'maxAsyncEventAgeInSeconds' => ['title' => '', 'description' => 'The maximum validity period of a message. If you have not configured this parameter, this parameter is null.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '300'], 'maxAsyncRetryAttempts' => ['title' => '', 'description' => 'The maximum number of retries allowed after an asynchronous invocation fails. If you have not configured this parameter, this parameter is null.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3'], 'qualifier' => ['title' => '', 'description' => 'The version or alias of the service.'."\n", 'type' => 'string', 'example' => 'test'], 'service' => ['title' => '', 'description' => 'The service name.'."\n", 'type' => 'string', 'example' => 'demo-service'], 'statefulInvocation' => ['description' => 'Specifies whether to enable the asynchronous task feature. Valid values:'."\n" ."\n" .'* **true**'."\n" .'* **false**'."\n" ."\n" .'If you have not configured this parameter, this parameter is null.'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], ], ], 'nextToken' => ['title' => '', 'description' => 'The token used to obtain more results.'."\n", 'type' => 'string', 'example' => 'caeba0be03****f84eb48b699f0a4883'], ], ], ], 400 => [], 403 => [], [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'ListFunctionAsyncInvokeConfigs', 'description' => '配置中的StatefulAsyncInvocation即为异步任务的配置项。当StatefulAsyncInvocation取值为true时,代表您已开启异步任务。该配置所对应应函数的所有的异步调用将变为异步任务模式。', 'changeSet' => [ ['createdAt' => '2021-06-29T12:45:41.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-29T12:45:41.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:41.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:41.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListFunctionAsyncInvokeConfigs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"configs\\": [\\n {\\n \\"createdTime\\": \\"2020-09-10T02:45:02Z\\",\\n \\"destinationConfig\\": {\\n \\"onSuccess\\": {\\n \\"destination\\": \\"acs:fc:cn-shanghai:xxx:services/s1/functions/f1\\"\\n },\\n \\"onFailure\\": {\\n \\"destination\\": \\"acs:fc:cn-shanghai:xxx:services/s1/functions/f1\\"\\n }\\n },\\n \\"function\\": \\"helloworld\\",\\n \\"lastModifiedTime\\": \\"2020-09-10T02:45:02Z\\",\\n \\"maxAsyncEventAgeInSeconds\\": 300,\\n \\"maxAsyncRetryAttempts\\": 3,\\n \\"qualifier\\": \\"test\\",\\n \\"service\\": \\"demo-service\\",\\n \\"statefulInvocation\\": true\\n }\\n ],\\n \\"nextToken\\": \\"caeba0be03****f84eb48b699f0a4883\\"\\n}","type":"json"}]', ], 'ListFunctions' => [ 'summary' => 'Lists functions.', 'path' => '/2021-04-06/services/{serviceName}/functions', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '22399', 'abilityTreeNodes' => ['FEATUREfcVF016G'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['description' => 'Service name.', 'type' => 'string', 'required' => true, 'example' => 'demoService', 'title' => ''], ], [ 'name' => 'qualifier', 'in' => 'query', 'schema' => ['description' => 'Version ID or alias of the service.', 'type' => 'string', 'example' => 'LATEST', 'title' => '', 'required' => false], ], [ 'name' => 'limit', 'in' => 'query', 'schema' => ['description' => 'Maximum number of resources to return. Default is 20. Maximum is 100. The actual number returned may be less than this value, but never more.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => '', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['description' => 'Token for returning additional results. Do not provide this parameter for the first request. Get the token from the response of each previous request.', 'type' => 'string', 'example' => '8bj81uI8n****', 'title' => '', 'required' => false], ], [ 'name' => 'prefix', 'in' => 'query', 'schema' => ['description' => 'Only return resources whose names start with this prefix.', 'type' => 'string', 'example' => 'demoFunctionsPrefix', 'title' => '', 'required' => false], ], [ 'name' => 'startKey', 'in' => 'query', 'schema' => ['description' => 'Return results starting from the first function name that is alphabetically equal to or greater than this value.', 'type' => 'string', 'example' => 'demoStartKey', 'title' => '', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'Your Alibaba Cloud account ID.', 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'Request date in **EEE, d MMM yyyy HH:mm:ss GMT** format.', 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'Custom request ID.', 'type' => 'string', 'required' => false, 'example' => 'rid281s******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ListFunctions Response', 'description' => 'Response body for ListFunctions.', 'type' => 'object', 'properties' => [ 'functions' => [ 'title' => '', 'description' => 'List of functions.', 'type' => 'array', 'items' => [ 'description' => 'Function definition.', 'type' => 'object', 'properties' => [ 'codeChecksum' => ['description' => 'CRC-64 checksum of the function code package.', 'type' => 'string', 'example' => '5434025278388143772', 'title' => ''], 'codeSize' => ['description' => 'Size of the function code package, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '1024', 'title' => ''], 'createdTime' => ['description' => 'Time when the function was created.', 'type' => 'string', 'example' => '2016-08-15T15:00:00.000+0000', 'title' => ''], 'customContainerConfig' => ['description' => 'Configuration for custom container runtime.', '$ref' => '#/components/schemas/CustomContainerConfig', 'title' => '', 'example' => ''], 'description' => ['description' => 'Function description.', 'type' => 'string', 'example' => 'This is a demo hello world function', 'title' => ''], 'environmentVariables' => [ 'title' => '', 'description' => 'Environment variables set for the function. Your function code can read these values.', 'type' => 'object', 'additionalProperties' => ['description' => 'Environment variable configuration.', 'type' => 'string', 'example' => '{"key":"value"}', 'title' => ''], 'example' => '', ], 'functionId' => ['description' => 'Unique ID assigned to the function by the system.', 'type' => 'string', 'example' => '2d28e0e9-9ba5-4eed-8b1a-d3d9cd24****', 'title' => ''], 'functionName' => ['description' => 'Function name.', 'type' => 'string', 'example' => 'demo-function', 'title' => ''], 'handler' => ['description' => 'Function entry point.', 'type' => 'string', 'example' => 'index.handler', 'title' => ''], 'lastModifiedTime' => ['description' => 'Time when the function was last modified.', 'type' => 'string', 'example' => '2016-08-15T17:00:00.000+0000', 'title' => ''], 'memorySize' => ['description' => 'Memory size allocated to the function, in MB.', 'type' => 'integer', 'format' => 'int32', 'example' => '512', 'title' => ''], 'runtime' => ['description' => 'Runtime environment for the function. Supported values include **nodejs16**, **nodejs14**, **nodejs12**, **nodejs10**, **nodejs8**, **nodejs6**, **nodejs4.4**, **python3.10**, **python3.9**, **python3**, **python2.7**, **java11**, **java8**, **go1**, **php7.2**, **dotnetcore3.1**, **dotnetcore2.1**, **custom.debian10**, **custom**, and **custom-container**. For more information, see [Supported runtimes](~~73338~~).', 'type' => 'string', 'example' => 'python3.9', 'title' => ''], 'timeout' => ['description' => 'Maximum execution time for the function, in seconds. Default is 60 seconds. Minimum is 1 second. Maximum is 10 minutes. If the function runs longer than this limit, it stops automatically.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'initializationTimeout' => ['description' => 'Maximum execution time for the initializer function, in seconds. Default is 3 seconds. Minimum is 1 second. Maximum is 5 minutes. If the initializer runs longer than this limit, it stops automatically.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''], 'initializer' => ['description' => 'Entry point for the initializer function. Format depends on the programming language. For more information, see [Initializer functions](~~157704~~).', 'type' => 'string', 'example' => 'index.handler', 'title' => ''], 'caPort' => ['description' => 'Listening port for the HTTP server in custom or custom container runtimes.', 'type' => 'integer', 'format' => 'int32', 'example' => '9000', 'title' => ''], 'instanceConcurrency' => ['description' => 'Maximum concurrency per function instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'instanceSoftConcurrency' => ['description' => 'Soft concurrency limit for graceful scaling. When concurrent requests on an instance exceed this value, the system starts new instances. Use this setting if your function has a slow startup time.'."\n" ."\n" .'Value must be less than or equal to **instanceConcurrency**.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], 'instanceType' => ['description' => 'Instance type for the function. Valid values:'."\n" ."\n" .'- **e1**: Elastic instance.'."\n" ."\n" .'- **c1**: Performance instance.'."\n" ."\n" .'- **fc.gpu.tesla.1**: GPU Tesla series instance.'."\n" ."\n" .'- **fc.gpu.ampere.1**: GPU Ampere series instance.'."\n" ."\n" .'- **fc.gpu.ada.1**: GPU Ada series instance.'."\n" ."\n" .'- **g1**: Same as **fc.gpu.tesla.1**.', 'type' => 'string', 'example' => 'e1', 'title' => ''], 'layers' => [ 'description' => 'List of layers.'."\n" ."\n" .'> Layers merge in descending order of array index. Files with the same name in lower-index layers overwrite those in higher-index layers.', 'type' => 'array', 'items' => ['description' => 'Name of the layer resource.', 'type' => 'string', 'example' => '02f81d283888f5ec63442a88fe82b260#Layer-name#1', 'title' => ''], 'title' => '', 'example' => '', ], 'layersArnV2' => [ 'title' => '', 'description' => 'List of layer ARNs.', 'type' => 'array', 'items' => ['type' => 'string', 'example' => 'acs:fc:cn-hangzhou:official:layers/Python310/versions/2', 'description' => '', 'title' => ''], 'example' => '', ], 'instanceLifecycleConfig' => ['description' => 'Instance lifecycle configuration.', '$ref' => '#/components/schemas/InstanceLifecycleConfig', 'title' => '', 'example' => ''], 'customDNS' => ['description' => 'Custom DNS configuration for the function.', '$ref' => '#/components/schemas/CustomDNS', 'title' => '', 'example' => ''], 'customRuntimeConfig' => ['description' => 'Detailed configuration for Custom Runtime functions.', '$ref' => '#/components/schemas/CustomRuntimeConfig', 'title' => '', 'example' => ''], 'customHealthCheckConfig' => ['description' => 'Custom health check configuration for Custom Runtime and Custom Container functions.', '$ref' => '#/components/schemas/CustomHealthCheckConfig', 'title' => '', 'example' => ''], 'cpu' => ['description' => 'CPU allocation for the function, in vCPUs. Must be a multiple of 0.05 vCPU.', 'type' => 'number', 'format' => 'float', 'example' => '1.5', 'title' => ''], 'diskSize' => ['description' => 'Disk size for the function, in MB. Valid values are 512 MB or 10240 MB.', 'type' => 'integer', 'format' => 'int32', 'example' => '512', 'title' => ''], 'gpuMemorySize' => ['description' => 'GPU memory size for the function, in MB. Must be a multiple of 1024 MB.', 'type' => 'integer', 'format' => 'int32', 'example' => '2048', 'title' => ''], ], 'title' => '', 'example' => '', ], 'example' => '', ], 'nextToken' => ['description' => 'Token for returning additional results. If this field is absent, no more results are available.', 'type' => 'string', 'title' => '', 'example' => '8bj81uI8n****'], ], 'example' => '', ], ], 400 => [], 403 => [], [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"functions\\": [\\n {\\n \\"codeChecksum\\": \\"5434025278388143772\\",\\n \\"codeSize\\": 1024,\\n \\"createdTime\\": \\"2016-08-15T15:00:00.000+0000\\",\\n \\"customContainerConfig\\": {\\n \\"args\\": \\"[\\\\\\"-arg1\\\\\\", \\\\\\"value1\\\\\\"]\\",\\n \\"command\\": \\"[\\\\\\"/code/myserver\\\\\\"]\\",\\n \\"image\\": \\"registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1beta1\\",\\n \\"accelerationType\\": \\"Default\\",\\n \\"instanceID\\": \\"cri-xxxxxxxxxx\\",\\n \\"webServerMode\\": true\\n },\\n \\"description\\": \\"This is a demo hello world function\\",\\n \\"environmentVariables\\": {\\n \\"key\\": \\"{\\\\\\"key\\\\\\":\\\\\\"value\\\\\\"}\\"\\n },\\n \\"functionId\\": \\"2d28e0e9-9ba5-4eed-8b1a-d3d9cd24****\\",\\n \\"functionName\\": \\"demo-function\\",\\n \\"handler\\": \\"index.handler\\",\\n \\"lastModifiedTime\\": \\"2016-08-15T17:00:00.000+0000\\",\\n \\"memorySize\\": 512,\\n \\"runtime\\": \\"python3.9\\",\\n \\"timeout\\": 10,\\n \\"initializationTimeout\\": 60,\\n \\"initializer\\": \\"index.handler\\",\\n \\"caPort\\": 9000,\\n \\"instanceConcurrency\\": 10,\\n \\"instanceSoftConcurrency\\": 5,\\n \\"instanceType\\": \\"e1\\",\\n \\"layers\\": [\\n \\"02f81d283888f5ec63442a88fe82b260#Layer-name#1\\"\\n ],\\n \\"layersArnV2\\": [\\n \\"acs:fc:cn-hangzhou:official:layers/Python310/versions/2\\"\\n ],\\n \\"instanceLifecycleConfig\\": {\\n \\"preFreeze\\": {\\n \\"handler\\": \\"index.preStop\\",\\n \\"timeout\\": 10\\n },\\n \\"preStop\\": {\\n \\"handler\\": \\"index.preStop\\",\\n \\"timeout\\": 10\\n }\\n },\\n \\"customDNS\\": {\\n \\"nameServers\\": [\\n \\"8.8.x.x\\"\\n ],\\n \\"searches\\": [\\n \\"ns1.svc.cluster-domain.example\\"\\n ],\\n \\"dnsOptions\\": [\\n {\\n \\"name\\": \\"ndots\\",\\n \\"value\\": \\"2\\"\\n }\\n ]\\n },\\n \\"customRuntimeConfig\\": {\\n \\"command\\": [\\n \\"/code/myBootstrap\\"\\n ],\\n \\"args\\": [\\n \\"args1\\"\\n ]\\n },\\n \\"customHealthCheckConfig\\": {\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 1,\\n \\"periodSeconds\\": 1,\\n \\"timeoutSeconds\\": 2,\\n \\"failureThreshold\\": 1,\\n \\"successThreshold\\": 2\\n },\\n \\"cpu\\": 1.5,\\n \\"diskSize\\": 512,\\n \\"gpuMemorySize\\": 2048\\n }\\n ],\\n \\"nextToken\\": \\"8bj81uI8n****\\"\\n}","type":"json"}]', 'title' => 'ListFunctions', 'changeSet' => [ ['createdAt' => '2023-12-22T08:01:42.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2022-11-28T05:01:03.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-07-21T02:41:31.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2021-06-30T03:18:08.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:08.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:08.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:08.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFunctions'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListFunctions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListInstances' => [ 'summary' => 'Lists the active instances for a function.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/instances', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '106320', 'abilityTreeNodes' => ['FEATUREfcW4XOQV'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['description' => 'Name of the service.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'demoService'], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['description' => 'Name of the function.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'demoFunction'], ], [ 'name' => 'qualifier', 'in' => 'query', 'schema' => ['description' => 'Version or alias.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'dev'], ], [ 'name' => 'instanceIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'title' => '', 'description' => 'The ID of the instance.', 'type' => 'array', 'items' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => false, 'example' => '["1ef6b6ff-7f7b-485e-ab49-501ac681****", "04db0821-c6d2-4c10-970b-93e36f1a****"]', 'title' => ''], 'required' => false, 'maxItems' => 1000, 'minItems' => 1, 'example' => '', ], ], [ 'name' => 'limit', 'in' => 'query', 'schema' => ['description' => 'Maximum number of instances to return. Valid values: 0 to 1000.'."\n" ."\n" .'The actual number of results may be less than this value, but never more.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '20'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'Your Alibaba Cloud account ID.', 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'List of instance information returned by the query.', 'type' => 'object', 'properties' => [ 'instances' => [ 'description' => 'List of instance information returned by the query.', 'type' => 'array', 'items' => [ 'description' => 'Instance information.', 'type' => 'object', 'properties' => [ 'instanceId' => ['description' => 'Instance ID.', 'type' => 'string', 'title' => '', 'example' => '1ef6b6ff-7f7b-485e-ab49-501ac681****'], 'versionId' => ['description' => 'Service edition that the instance belongs to. If the instance belongs to a function under the LATEST alias, the version ID is 0.', 'type' => 'string', 'title' => '', 'example' => '1'], ], 'title' => '', 'example' => '', ], 'title' => '', 'example' => '', ], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"instances\\": [\\n {\\n \\"instanceId\\": \\"1ef6b6ff-7f7b-485e-ab49-501ac681****\\",\\n \\"versionId\\": \\"1\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListInstances', 'description' => 'The ListInstances API lets you list the active instances for a function.'."\n" ."\n" .'An active instance is either processing a request or ready to be scheduled to process a request. The instances returned by ListInstances match the active instances in the traffic path of the InvokeFunction API with the same `ServiceName`, `FunctionName`, and `Qualifier`.', 'changeSet' => [ ['createdAt' => '2024-03-27T08:29:06.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListLayerVersions' => [ 'summary' => 'Gets a list of layer versions.', 'path' => '/2021-04-06/layers/{layerName}/versions', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '22404', 'abilityTreeNodes' => ['FEATUREfcN46UH2'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'layerName', 'in' => 'path', 'schema' => ['title' => 'The name of the layer.', 'description' => 'The layer name. You can query only custom layer versions. You cannot query versions of official public layers.'."\n", 'type' => 'string', 'required' => true, 'example' => 'MyLayer'], ], [ 'name' => 'startVersion', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => ['title' => 'The initial version of the layer.', 'description' => 'The initial version of the layer.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'limit', 'in' => 'query', 'allowEmptyValue' => true, 'schema' => ['title' => 'The maximum number of entries to return.', 'description' => 'The maximum number of resources to return. Default value: 20. The value cannot exceed 100. The number of returned configurations is less than or equal to the specified number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the operation is called. The format is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rid281s******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The data struct returned.'."\n", 'type' => 'object', 'properties' => [ 'layers' => [ 'title' => 'The information about layer versions.', 'description' => 'The list of layer versions.'."\n", 'type' => 'array', 'items' => ['description' => 'The details of the layer.'."\n", 'example' => 'None', '$ref' => '#/components/schemas/Layer', 'title' => ''], ], 'nextVersion' => ['title' => 'The initial version of the layer for the next query.', 'description' => 'The initial version of the layer for the next query.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '21'], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"layers\\": [\\n {\\n \\"layerName\\": \\"MyLayer\\",\\n \\"version\\": 1,\\n \\"description\\": \\"the first layer\\",\\n \\"code\\": {\\n \\"repositoryType\\": \\"OSS\\",\\n \\"location\\": \\"https://xyz.oss-cnxxx.aliyuncs.com/xxx/xxx/xxx\\"\\n },\\n \\"codeSize\\": 421,\\n \\"codeChecksum\\": \\"2825179536350****\\",\\n \\"createTime\\": \\"2022-01-01T11:08:00Z\\",\\n \\"acl\\": 0,\\n \\"arn\\": \\"xxxxxxxx#Layer-name#1\\",\\n \\"arnV2\\": \\"acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1\\",\\n \\"license\\": \\"MIT\\",\\n \\"compatibleRuntime\\": [\\n \\"python3\\"\\n ]\\n }\\n ],\\n \\"nextVersion\\": 21\\n}","type":"json"}]', 'title' => 'ListLayerVersions', 'changeSet' => [ ['createdAt' => '2021-06-29T12:45:42.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-29T12:45:42.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:42.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:42.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLayerVersions'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListLayerVersions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListLayers' => [ 'summary' => 'Gets a list of layers.', 'path' => '/2021-04-06/layers', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '22411', 'abilityTreeNodes' => ['FEATUREfcN46UH2'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'prefix', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The name prefix of the layer. The names of returned resources must contain the prefix. If the name prefix is a, the names of returned resources must start with a.'."\n", 'type' => 'string', 'required' => false, 'example' => 'prefix-Layer'], ], [ 'name' => 'startKey', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The name of the start layer. The returned layers are sorted in alphabetical order, and the layers that include and follow the layer specified by the startKey parameter are returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'start-layer-name'], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The token required to obtain more results. If the number of resources exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call.'."\n", 'type' => 'string', 'required' => false, 'example' => 'next-layer-name'], ], [ 'name' => 'limit', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The maximum number of resources to return. Default value: 20. Maximum value: 100. The number of returned configurations is less than or equal to the specified number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'public', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to obtain only the common layer. Default value: false.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'official', 'in' => 'query', 'schema' => ['description' => 'Specifies whether to obtain the official public layer. When the official parameter is set to true, the public field does not take effect. The default value is false.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The format is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rid281s******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The returned data.'."\n", 'type' => 'object', 'properties' => [ 'layers' => [ 'title' => '', 'description' => 'The list of layers.'."\n", 'type' => 'array', 'items' => ['description' => 'The details of the layer.'."\n", 'example' => 'None'."\n", '$ref' => '#/components/schemas/Layer', 'title' => ''], ], 'nextToken' => ['title' => '', 'description' => 'The name of the start layer for the next query, which is also the token used to obtain more results.'."\n", 'type' => 'string', 'example' => 'next-layer-name'], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"layers\\": [\\n {\\n \\"layerName\\": \\"MyLayer\\",\\n \\"version\\": 1,\\n \\"description\\": \\"the first layer\\",\\n \\"code\\": {\\n \\"repositoryType\\": \\"OSS\\",\\n \\"location\\": \\"https://xyz.oss-cnxxx.aliyuncs.com/xxx/xxx/xxx\\"\\n },\\n \\"codeSize\\": 421,\\n \\"codeChecksum\\": \\"2825179536350****\\",\\n \\"createTime\\": \\"2022-01-01T11:08:00Z\\",\\n \\"acl\\": 0,\\n \\"arn\\": \\"xxxxxxxx#Layer-name#1\\",\\n \\"arnV2\\": \\"acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1\\",\\n \\"license\\": \\"MIT\\",\\n \\"compatibleRuntime\\": [\\n \\"python3\\"\\n ]\\n }\\n ],\\n \\"nextToken\\": \\"next-layer-name\\"\\n}","type":"json"}]', 'title' => 'ListLayers', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListLayers', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListOnDemandConfigs' => [ 'summary' => 'Queries on-demand instance configurations a function.', 'path' => '/2021-04-06/on-demand-configs', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '28632', 'abilityTreeNodes' => ['FEATUREfcVF016G'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'prefix', 'in' => 'query', 'schema' => ['title' => 'The information about the provisioned configuration.', 'description' => 'The prefix that names of returned resources must contain. For example, if you set prefix to a, the names of returned resources must start with a.'."\n", 'type' => 'string', 'required' => false, 'example' => 'prefix_text'], ], [ 'name' => 'startKey', 'in' => 'query', 'schema' => ['title' => 'The token used to obtain more results. If the number of resources exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call. ', 'description' => 'The position from which the list begins. Results are sorted in alphabetical order and those results following startKey (inclusive) are listed.'."\n", 'type' => 'string', 'required' => false, 'example' => 'nextservice'], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['title' => 'The information about the on-demand configuration. ', 'description' => 'The token required to obtain more results. If the number of layers exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call.'."\n", 'type' => 'string', 'required' => false, 'example' => '8bj81uI8n****'], ], [ 'name' => 'limit', 'in' => 'query', 'schema' => ['title' => 'The prefix that the names of returned resources must contain. If the name prefix is a, the names of returned resources must start with a. ', 'description' => 'The maximum number of results to return. If this parameter is not set, 20 is returned by default, and the maximum value cannot exceed 100. The number of returned configurations is less than or equal to the specified number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rid281s******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The returned body.'."\n", 'type' => 'object', 'properties' => [ 'configs' => [ 'title' => '$.parameters[9].schema.example', 'description' => 'The configurations of on-demand instances.'."\n", 'type' => 'array', 'items' => ['description' => 'The configured parameters.'."\n", 'example' => '[{\'maximumInstanceCount\': 10, \'resource\': \'services/serviceName-bb7f36eb-7f1b-4c42-8f64-401b32ecbf31.aliasName/functions/functionName\'}]', '$ref' => '#/components/schemas/OnDemandConfig', 'title' => ''], ], 'nextToken' => ['title' => 'Queries on-demand configurations. ', 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If this parameter is not returned, all the layers are returned.'."\n", 'type' => 'string', 'example' => 'next_token'], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"configs\\": [\\n {\\n \\"resource\\": \\"123#serviceName#alias#functionName\\",\\n \\"maximumInstanceCount\\": 10\\n }\\n ],\\n \\"nextToken\\": \\"next_token\\"\\n}","type":"json"}]', 'title' => 'ListOnDemandConfigs', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListOnDemandConfigs'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListOnDemandConfigs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListProvisionConfigs' => [ 'summary' => 'Queries configurations of provisioned instances.', 'path' => '/2021-04-06/provision-configs', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '22391', 'abilityTreeNodes' => ['FEATUREfcHRC0TU'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'limit', 'in' => 'query', 'schema' => ['title' => 'The maximum number of resources to return. Default value: 20. Maximum value: 100. The number of returned resources is less than or equal to the specified number. ', 'description' => 'The maximum number of results to return. Default value: 20. Maximum value: 100. The number of returned resources is less than or equal to the specified number.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'], ], [ 'name' => 'nextToken', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => 'The token used to obtain more results. You do not need to provide this parameter in the first call. The tokens for subsequent queries are obtained from the returned results.', 'description' => 'The token required to obtain more results. You do not need to specify this parameter in the first call. If a NextToken value is returned by a previous call, more results are available.'."\n", 'type' => 'string', 'required' => false, 'example' => 'demoNextToken'], ], [ 'name' => 'serviceName', 'in' => 'query', 'schema' => ['title' => 'The name of the service to which resources belong.', 'description' => 'The name of the service to which resources belong.'."\n", 'type' => 'string', 'required' => false, 'example' => 'serviceName'], ], [ 'name' => 'qualifier', 'in' => 'query', 'schema' => ['title' => 'The qualifier of the service to which resources belong. The qualifier parameter must be used together with the serviceName parameter.', 'description' => 'The qualifier of the service to which resources belong. The qualifier must be aliasName and used together with the serviceName parameter.'."\n", 'type' => 'string', 'required' => false, 'example' => 'prod'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rid281s******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'listProvisionConfigResponse', 'description' => 'The list of provisioned instance configurations.'."\n", 'type' => 'object', 'properties' => [ 'nextToken' => ['title' => 'The token used to obtain more results. ', 'description' => 'The token used to obtain more results.'."\n", 'type' => 'string', 'example' => 'demoNextToken'], 'provisionConfigs' => [ 'title' => 'The information about provisioned instances.', 'description' => 'The provisioned instance configurations.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The provisioned configuration details.'."\n", 'type' => 'object', 'properties' => [ 'resource' => ['title' => 'The description of the resource.', 'description' => 'The description of the resource.'."\n", 'type' => 'string', 'example' => '12345#servierName#qualifier#functionName'], 'target' => ['title' => 'The expected number of provisioned instances.', 'description' => 'The expected number of resources.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '5'], 'current' => ['title' => 'The actual number of provisioned instances.', 'description' => 'The number of current resources.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '5'], 'scheduledActions' => [ 'title' => 'The configurations of scheduled auto scaling.', 'description' => 'The configurations of scheduled auto scaling.'."\n", 'type' => 'array', 'items' => ['description' => 'The details about the scheduled scaling policy. You can use the scheduled scaling policy to flexibly configure provisioned instances. You can set the number of provisioned instances to a desired value at the scheduled time. This way, the number of provisioned instances can meet the concurrency requirements of your business.'."\n", 'example' => '[ { "Name": "action_1", "StartTime": "2020-11-01T10:00:00Z", "EndTime": "2020-11-30T10:00:00Z", "TargetValue": 50, "ScheduleExpression": "cron(0 0 20 * * *)" }, { "Name": "action_2", "StartTime": "2020-11-01T10:00:00Z", "EndTime": "2020-11-30T10:00:00Z", "TargetValue": 10, "ScheduleExpression": "cron(0 0 22 * * *)" } ]', '$ref' => '#/components/schemas/ScheduledActions', 'title' => ''], ], 'targetTrackingPolicies' => [ 'title' => 'The configurations of metric-based auto scaling.', 'description' => 'The metric-based scaling policy.'."\n", 'type' => 'array', 'items' => ['description' => 'The details about the metric-based scaling policy. Provisioned instances are scaled every minute based on the concurrency usage rate of provisioned instances.'."\n" ."\n" .'* When the metric value exceeds the value of metricTarget, the system starts to scale out provisioned instances with an active policy to restore the metric value close to the value of metricTarget.'."\n" .'* When the metric value is lower than the value metricTarget, the system starts to scale in provisioned instances with a conservative policy so that the metric value gradually reaches the value metricTarget.'."\n" ."\n" .'If you specify the maximum and minimum numbers of provisioned instances, the system scales provisioned instances within the range. If the number of provisioned instances reaches the specified maximum or minimum number, scaling stops.'."\n", 'example' => '[ { "Name": "action_1", "StartTime": "2020-11-01T10:00:00Z", "EndTime": "2020-11-30T10:00:00Z", "MetricType": "ProvisionedConcurrencyUtilization", "MetricTarget": 0.6, "MinCapacity": 10, "MaxCapacity": 100, } ]', '$ref' => '#/components/schemas/TargetTrackingPolicies', 'title' => ''], ], 'currentError' => ['title' => 'The error message returned if a provisioned instance fails to be created.', 'description' => 'The error message returned if a provisioned instance fails to be created.'."\n", 'type' => 'string', 'example' => 'image not found'], 'alwaysAllocateCPU' => ['title' => 'Specifies whether to always allocate CPU to a function instance. ', 'description' => 'Specifies whether to always allocate CPU resources to function instances.'."\n", 'type' => 'boolean', 'example' => 'true'], ], 'title' => '', ], ], ], ], ], 400 => [], 403 => [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"nextToken\\": \\"demoNextToken\\",\\n \\"provisionConfigs\\": [\\n {\\n \\"resource\\": \\"12345#servierName#qualifier#functionName\\",\\n \\"target\\": 5,\\n \\"current\\": 5,\\n \\"scheduledActions\\": [\\n {\\n \\"name\\": \\"name\\",\\n \\"startTime\\": \\"2020-10-10T10:10:10Z\\",\\n \\"endTime\\": \\"2021-10-10T10:10:10Z\\",\\n \\"target\\": 50,\\n \\"scheduleExpression\\": \\"cron(0/30 * * * *)\\"\\n }\\n ],\\n \\"targetTrackingPolicies\\": [\\n {\\n \\"name\\": \\"test_1\\",\\n \\"startTime\\": \\"2020-10-10T10:10:10Z\\",\\n \\"endTime\\": \\"2020-10-10T10:10:10Z\\",\\n \\"metricType\\": \\"CPUUtilization\\",\\n \\"metricTarget\\": 0.6,\\n \\"minCapacity\\": 10,\\n \\"maxCapacity\\": 100\\n }\\n ],\\n \\"currentError\\": \\"image not found\\",\\n \\"alwaysAllocateCPU\\": true\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListProvisionConfigs', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListProvisionConfigs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProvisionConfigs'], ], ], ], 'ListReservedCapacities' => [ 'summary' => 'Queries purchased provisioned instances. This API operation has been deprecated. We recommend that you do not continue to use this API operation.', 'path' => '/2021-04-06/reserved-capacities', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'autoTest' => true, 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['description' => 'The token that determines the start point of the query.'."\n", 'type' => 'string', 'required' => false, 'example' => '8bj81uI8n****', 'title' => ''], ], [ 'name' => 'limit', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The maximum number of resources to return. Valid values: 1 to 100.'."\n", 'type' => 'string', 'required' => false, 'example' => '20'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the Function Compute API is called. The format is **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The custom request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asdf****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The returned data.'."\n", 'type' => 'object', 'properties' => [ 'reservedCapacities' => [ 'title' => 'reservedCapacities', 'description' => 'The information about subscription instances.'."\n", 'type' => 'array', 'items' => ['description' => 'The information about the subscription instance.'."\n", '$ref' => '#/components/schemas/OpenReservedCapacity', 'title' => ''], ], 'nextToken' => ['title' => 'nextToken', 'description' => 'The token used to obtain more results.'."\n", 'type' => 'string', 'example' => '8bj81uI8n****'], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"reservedCapacities\\": [\\n {\\n \\"instanceId\\": \\"fc-xxxx\\",\\n \\"cu\\": 15,\\n \\"deadline\\": \\"150000000\\",\\n \\"createdTime\\": \\"2020-04-03T05:57:28Z\\",\\n \\"lastModifiedTime\\": \\"2020-04-03T05:57:28Z\\",\\n \\"isRefunded\\": \\"true\\"\\n }\\n ],\\n \\"nextToken\\": \\"8bj81uI8n****\\"\\n}","type":"json"}]', 'title' => 'ListReservedCapacities', 'changeSet' => [ ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListReservedCapacities'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListReservedCapacities', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListServiceVersions' => [ 'summary' => 'Queries all the versions of a service.', 'path' => '/2021-04-06/services/{serviceName}/versions', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '22417', 'abilityTreeNodes' => ['FEATUREfcDTB0I5'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => 'The name of the service.', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service'], ], [ 'name' => 'limit', 'in' => 'query', 'schema' => ['title' => 'The maximum number of resources to return.', 'description' => 'The maximum number of results to return. Default value: 20. Maximum value: 100. The number of returned configurations is less than or equal to the specified number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['title' => 'The token used to obtain more results.', 'description' => 'The token required to obtain more results. If the number of layers exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call.'."\n", 'type' => 'string', 'required' => false, 'example' => '8bj81uI8n****'], ], [ 'name' => 'startKey', 'in' => 'query', 'schema' => ['title' => 'The starting position of the result list.', 'description' => 'The position from which the list begins. Results are sorted based on the version numbers.'."\n", 'type' => 'string', 'required' => false, 'example' => 'nextservice'], ], [ 'name' => 'direction', 'in' => 'query', 'schema' => ['title' => 'The order in which the returned versions are sorted.', 'description' => 'The order in which the returned versions are sorted. Valid values:'."\n" ."\n" .'* **FORWARD**: The results are sorted in ascending order.'."\n" .'* **BACKWARD**: The results are sorted in descending order.'."\n", 'type' => 'string', 'required' => false, 'example' => 'BACKWARD'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rid281s******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'The returned data.', 'description' => 'The returned data.'."\n", 'type' => 'object', 'properties' => [ 'direction' => ['title' => 'The order in which the returned versions are sorted.', 'description' => 'The order in which the returned versions are sorted. Valid values:'."\n" ."\n" .'* **FORWARD**: The results are sorted in ascending order.'."\n" .'* **BACKWARD**: The results are sorted in descending order.'."\n", 'type' => 'string', 'example' => 'BACKWARD'], 'nextToken' => ['title' => 'The token used to obtain more results.', 'description' => 'The token required to obtain more results. If the number of layers exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call.'."\n", 'type' => 'string', 'example' => 'eJhojW7N****'], 'versions' => [ 'title' => 'The information about versions.', 'description' => 'The versions.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The information about the version. ', 'type' => 'object', 'properties' => [ 'createdTime' => ['title' => 'The creation time.', 'description' => 'The time when the service version was created.'."\n", 'type' => 'string', 'example' => '2020-03-16T06:23:50Z'], 'description' => ['title' => 'The description of the service version.', 'description' => 'The description of the service version.'."\n", 'type' => 'string', 'example' => 'test_description'], 'lastModifiedTime' => ['title' => 'The last update time.', 'description' => 'The last time when the service version was updated.'."\n", 'type' => 'string', 'example' => '2020-07-15T06:12:31Z'], 'versionId' => ['title' => 'The ID of the version.', 'description' => 'The version of the service.'."\n", 'type' => 'string', 'example' => '1'], ], 'title' => '', ], ], ], ], ], 400 => [], 403 => [], [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"direction\\": \\"BACKWARD\\",\\n \\"nextToken\\": \\"eJhojW7N****\\",\\n \\"versions\\": [\\n {\\n \\"createdTime\\": \\"2020-03-16T06:23:50Z\\",\\n \\"description\\": \\"test_description\\",\\n \\"lastModifiedTime\\": \\"2020-07-15T06:12:31Z\\",\\n \\"versionId\\": \\"1\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListServiceVersions', 'changeSet' => [ ['createdAt' => '2021-06-29T12:45:39.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-29T12:45:39.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:39.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:39.000Z', 'description' => 'Request parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListServiceVersions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [], ], ], 'ListServices' => [ 'summary' => 'Queries a list of services.', 'path' => '/2021-04-06/services', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '22393', 'abilityTreeNodes' => ['FEATUREfcVF016G'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'limit', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => 'The maximum number of resources to return. Default value: 20. The value cannot exceed 100. The number of returned configurations is less than or equal to the specified number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'enumValueTitles' => [], 'example' => '20', ], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The starting position of the query. If this parameter is left empty, the query starts from the beginning. You do not need to specify this parameter in the first query. If the number of asynchronous tasks exceeds the limit, the nextToken parameter is returned, the value of which can be used in subsequent calls to obtain more results.'."\n", 'type' => 'string', 'required' => false, 'example' => 'caeba0****be03f84eb48b699f0a4883'], ], [ 'name' => 'prefix', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The prefix that the names of returned resources must contain. If the name prefix is a, the names of returned resources must start with a.'."\n", 'type' => 'string', 'required' => false, 'example' => 'prefix_text'], ], [ 'name' => 'startKey', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The returned resources are sorted in alphabetical order, and the resources that include and follow the resource specified by the startKey parameter are returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'nextService'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The custom request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rid281s******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => 'The definition of the service.'."\n", 'type' => 'object', 'properties' => [ 'nextToken' => ['title' => '', 'description' => 'The token used to obtain more results. If this parameter is left empty, all the results are returned.'."\n", 'type' => 'string', 'example' => 'caeba0****be03f84eb48b699f0a4883'], 'services' => [ 'title' => '', 'description' => 'The queried services.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The information about the service.'."\n", 'type' => 'object', 'properties' => [ 'createdTime' => ['title' => '', 'description' => 'The time when the service was created.'."\n", 'type' => 'string', 'example' => '2020-04-03T05:57:28Z'], 'description' => ['title' => '', 'description' => 'The description of the service.'."\n", 'type' => 'string', 'example' => 'test_description'], 'internetAccess' => ['title' => '', 'description' => 'Indicates whether to allow functions to access the Internet. Valid values:'."\n" ."\n" .'* **true**'."\n" .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true'], 'lastModifiedTime' => ['title' => '', 'description' => 'The last time when the service was updated.'."\n", 'type' => 'string', 'example' => '2020-04-03T05:57:28Z'], 'logConfig' => ['description' => 'The logging configurations. Function Compute writes function execution logs to the specified Logstores.'."\n", '$ref' => '#/components/schemas/LogConfig', 'title' => ''], 'nasConfig' => ['description' => 'The configurations of the File Storage NAS (NAS) file system. These configurations allow functions to access the specified NAS resources.'."\n", '$ref' => '#/components/schemas/NASConfig', 'title' => ''], 'role' => ['title' => '', 'description' => 'The Alibaba Cloud Resource Name (ARN) of the RAM role that is used to grant required permissions to Function Compute. The RAM role is used in the following scenarios:'."\n" ."\n" .'* Send function execution logs to your Logstore.'."\n" .'* Generate a token for a function to access other Alibaba Cloud resources during function execution.'."\n", 'type' => 'string', 'example' => 'acs:ram::198613743****:role/fc-public-test'], 'serviceId' => ['title' => '', 'description' => 'The ID generated by the system for each service, which is globally unique.'."\n", 'type' => 'string', 'example' => 'c910061f-****-44e6-b659-***c'], 'serviceName' => ['title' => '', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'example' => 'service_name'], 'vpcConfig' => ['description' => 'The configurations of virtual private clouds (VPCs). These configurations allow Function Compute to access the specified VPC resources.'."\n", '$ref' => '#/components/schemas/VPCConfig', 'title' => ''], 'tracingConfig' => ['description' => 'The configurations of Managed Service for OpenTelemetry. After you configure Managed Service for OpenTelemetry for functions in Function Compute, you can record the execution durations of requests and internal processing durations of functions, and view the cold start latencies. For more information, see [Overview](~~189804~~).'."\n", '$ref' => '#/components/schemas/TracingConfig', 'title' => ''], 'ossMountConfig' => ['title' => '', 'description' => 'The Object Storage Service (OSS) mounting configurations.'."\n", '$ref' => '#/components/schemas/OSSMountConfig'], 'useSLRAuthentication' => ['description' => 'Indicates whether service-linked role authorization is enabled. Valid values:'."\n" ."\n" .'* true'."\n" .'* false'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], 'title' => '', ], ], ], ], ], 400 => [], 403 => [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"nextToken\\": \\"caeba0****be03f84eb48b699f0a4883\\",\\n \\"services\\": [\\n {\\n \\"createdTime\\": \\"2020-04-03T05:57:28Z\\",\\n \\"description\\": \\"test_description\\",\\n \\"internetAccess\\": true,\\n \\"lastModifiedTime\\": \\"2020-04-03T05:57:28Z\\",\\n \\"logConfig\\": {\\n \\"logstore\\": \\"test-prj\\",\\n \\"project\\": \\"test-logstore\\",\\n \\"enableRequestMetrics\\": true,\\n \\"enableInstanceMetrics\\": true,\\n \\"logBeginRule\\": \\"DefaultRegex\\"\\n },\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.aliyuncs.com:/\\",\\n \\"enableTLS\\": false\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"role\\": \\"acs:ram::198613743****:role/fc-public-test\\",\\n \\"serviceId\\": \\"c910061f-****-44e6-b659-***c\\",\\n \\"serviceName\\": \\"service_name\\",\\n \\"vpcConfig\\": {\\n \\"securityGroupId\\": \\"sg-bp18hj1wtxgy3b0***\\",\\n \\"vSwitchIds\\": [\\n \\"vsw-bp1ozpcrdc6r****\\"\\n ],\\n \\"vpcId\\": \\"vpc-***\\",\\n \\"role\\": \\"acs:ram::1234567890:role/fc-test\\"\\n },\\n \\"tracingConfig\\": {\\n \\"type\\": \\"Jaeger\\",\\n \\"params\\": {\\n \\"key\\": \\"{\\\\\\"endpoint\\\\\\": \\\\\\"tracing_analysis_jaeger_endpoint\\\\\\"}\\"\\n }\\n },\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true,\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"bucketPath\\": \\"/my-dir\\"\\n }\\n ]\\n },\\n \\"useSLRAuthentication\\": true\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListServices', 'changeSet' => [ ['createdAt' => '2023-12-27T03:47:36.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2022-08-12T02:45:53.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2022-06-06T03:16:28.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2021-06-30T03:18:10.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:10.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:10.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:10.000Z', 'description' => 'Request parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListServices', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'Service', 'arn' => 'acs:fc:{#regionId}:{#accountId}:services/*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [], ], ], 'ListStatefulAsyncInvocationFunctions' => [ 'summary' => 'Queries all function resources that have enabled asynchronous tasks within the current account.', 'path' => '/2021-04-06/stateful-async-invocation-functions', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '123877', 'abilityTreeNodes' => ['FEATUREfcBKET2W'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'limit', 'in' => 'query', 'schema' => ['title' => 'The metadata of the service and function to which the asynchronous configurations belong. ', 'description' => 'The maximum number of results to return. Default value: 20. Maximum value: 100. The number of returned results is less than or equal to the specified number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '0', 'example' => '20', 'default' => '20'], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['title' => 'StatefulAsyncInvocation: asynchronous task. Asynchronous tasks allow you to manage the states on the basis of common asynchronous invocations, which is more suitable for task scenarios. ', 'description' => 'The starting position of the query. If this parameter is left empty, the query starts from the beginning. You do not need to specify this parameter in the first call. The tokens for subsequent queries are obtained from previous returned results.'."\n", 'type' => 'string', 'required' => false, 'example' => '""'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['title' => 'You can search for API operations, call and debug API operations online, and dynamically generate executable sample code for SDKs. ', 'description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '12348*****'], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['title' => 'Alibaba Cloud CLI', 'description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT'], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['title' => 'The starting position of the query. If this parameter is left empty, the query starts from the beginning. If the number of resources exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call. ', 'description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'duytnd-Xsdfasfd***'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'The metadata of the service and function to which the asynchronous task belongs. ', 'description' => 'The returned struct.'."\n", 'type' => 'object', 'properties' => [ 'nextToken' => ['title' => 'The ID of your Alibaba Cloud account. ', 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n", 'type' => 'string', 'example' => '""'], 'data' => [ 'title' => 'The time when Function Compute API is called. The value is used to sign the request. Specify the time in the yyyy-mm-ddhh:mm:ss format. ', 'description' => 'The details of returned data.'."\n", 'type' => 'array', 'items' => ['title' => 'The maximum number of resources to return. Default value: 20. Maximum value: 100. The number of returned resources is less than or equal to the specified number. ', 'description' => 'The metadata of the service and function to which the asynchronous task belongs.'."\n", '$ref' => '#/components/schemas/AsyncConfigMeta'], ], ], ], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"nextToken\\": \\"\\\\\\"\\\\\\"\\",\\n \\"data\\": [\\n {\\n \\"serviceName\\": \\"serviceName\\",\\n \\"functionName\\": \\"functionName\\",\\n \\"qualifier\\": \\"LATEST\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListStatefulAsyncInvocationFunctions', 'description' => 'StatefulAsyncInvocation represents asynchronous tasks. Asynchronous tasks (StatefulAsyncInvocation) allow you to manage the states of asynchronous invocations. The asynchronous task feature is more suitable for task scenarios.'."\n", 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListStatefulAsyncInvocationFunctions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [], ], ], 'ListStatefulAsyncInvocations' => [ 'summary' => 'Queries all asynchronous invocations in an asynchronous task that meets specific conditions.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/stateful-async-invocations', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '35581', 'abilityTreeNodes' => ['FEATUREfcBKET2W'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['description' => 'The name of the service to which the asynchronous task belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service', 'title' => ''], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['description' => 'The name of the function to which the asynchronous task belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-function', 'title' => ''], ], [ 'name' => 'qualifier', 'in' => 'query', 'schema' => ['description' => 'The version or alias of the service to which the asynchronous task belongs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'LATEST', 'title' => ''], ], [ 'name' => 'status', 'in' => 'query', 'schema' => ['description' => 'The state of the asynchronous task.'."\n" ."\n" .'* **Enqueued**: The asynchronous task is enqueued and is waiting to be executed.'."\n" .'* **Succeeded**: The invocation succeeded.'."\n" .'* **Failed**: The invocation failed.'."\n" .'* **Running**: The invocation is being executed.'."\n" .'* **Stopped**: The invocation was terminated.'."\n" .'* **Stopping**: The invocation is being terminated.'."\n" .'* **Invalid**: The invocation is invalid and not executed due to specific reasons. For example, the function is deleted.'."\n" .'* **Expired**: The maximum validity period of messages is specified for the asynchronous invocation. The invocation is discarded and not executed because the specified maximum validity period of messages elapsed.'."\n" .'* **Retrying**: The asynchronous task is being retried due to an execution error.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Running', 'title' => ''], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['description' => 'The token required to obtain more results. You do not need to specify this parameter in the first call. If a NextToken value is returned by a previous call, more results are available.'."\n", 'type' => 'string', 'required' => false, 'example' => 'caeba0****be03f84eb48b699f0a4883', 'title' => ''], ], [ 'name' => 'limit', 'in' => 'query', 'schema' => ['description' => 'The maximum number of asynchronous tasks to be returned. The default value is 20. Valid values: \\[1,100].'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'startedTimeBegin', 'in' => 'query', 'schema' => ['description' => 'The start time of the asynchronous task.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1640966400000', 'title' => ''], ], [ 'name' => 'startedTimeEnd', 'in' => 'query', 'schema' => ['description' => 'The end time of the asynchronous task.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1640966400000', 'title' => ''], ], [ 'name' => 'sortOrderByTime', 'in' => 'query', 'schema' => ['description' => 'The method that you want to use to sort the returned asynchronous tasks.'."\n" ."\n" .'* **asc**: the ascending order'."\n" .'* **desc**: the descending order'."\n", 'type' => 'string', 'required' => false, 'example' => 'desc', 'title' => ''], ], [ 'name' => 'invocationIdPrefix', 'in' => 'query', 'schema' => ['description' => 'The name prefix of the asynchronous tasks. This parameter is used to limit the names of the returned asynchronous tasks. For example, if you set the `invocationidPrefix` parameter to `job`, the names of the returned invocations must start with `job`.'."\n", 'type' => 'string', 'required' => false, 'example' => 'abcxxx', 'title' => ''], ], [ 'name' => 'includePayload', 'in' => 'query', 'schema' => ['description' => '* Specifies whether to return the invocationPayload parameter in the response. **true**: returns the `invocationPayload` parameter in the response.``'."\n" .'* **false**: does not return the `invocationPayload` parameter in the response.``'."\n" ."\n" .'> The `invocationPayload` parameter indicates the input parameters of an asynchronous task.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Code-Checksum', 'in' => 'header', 'schema' => ['description' => 'The CRC-64 value of the function code package. This value is used to check data integrity. The value is automatically calculated by the tool.'."\n", 'type' => 'string', 'required' => false, 'example' => '1506052139770049xxxx', 'title' => ''], ], [ 'name' => 'X-Fc-Log-Type', 'in' => 'header', 'schema' => ['description' => 'The method used to return logs.'."\n" ."\n" .'* **Tail**: returns the last 4 KB of logs that are generated for the current request.'."\n" .'* **None**: does not return logs for the current request. Default value: None.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Tail', 'title' => ''], ], [ 'name' => 'X-Fc-Invocation-Type', 'in' => 'header', 'schema' => ['description' => 'The method used to invoke the function.'."\n" ."\n" .'* **Sync**: synchronous invocations'."\n" .'* **Async**: asynchronous invocations'."\n", 'type' => 'string', 'required' => false, 'example' => 'Async', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Sat, 14 Jul 2017 07:02:38 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'abcxxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The data struct returned.'."\n", 'type' => 'object', 'properties' => [ 'nextToken' => ['description' => 'The token used to obtain more results. If this parameter is left empty, all the results are returned.'."\n", 'type' => 'string', 'example' => '8bj81uI8n****', 'title' => ''], 'invocations' => [ 'description' => 'The list of asynchronous tasks.'."\n", 'type' => 'array', 'items' => ['description' => 'The information about the asynchronous task.'."\n", 'example' => '[{"functionName": "demo-function","serviceName": "demo-service","qualifier": "LATEST","invocationId": "id","status": "Succeeded","startedTime": 1640966400000,"endTime": 1640966500000,"destinationStatus": "Succeeded","invocationErrorMessage": "","invocationPayload": "","requestId": "id","alreadyRetriedTimes": 0,}]', '$ref' => '#/components/schemas/StatefulAsyncInvocation', 'title' => ''], 'title' => '', ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"nextToken\\": \\"8bj81uI8n****\\",\\n \\"invocations\\": [\\n {\\n \\"functionName\\": \\"functionName\\",\\n \\"serviceName\\": \\"serviceName\\",\\n \\"qualifier\\": \\"LATEST\\",\\n \\"invocationId\\": \\"demo-id\\",\\n \\"status\\": \\"Running\\",\\n \\"startedTime\\": 1633449590000,\\n \\"endTime\\": 1633449599000,\\n \\"destinationStatus\\": \\"Succeeded\\",\\n \\"invocationErrorMessage\\": \\"UnhandledInvocationError\\",\\n \\"invocationPayload\\": \\"\\\\\\"body\\\\\\"\\",\\n \\"alreadyRetriedTimes\\": 3,\\n \\"requestId\\": \\"ABA740D4-********-882707EADC37\\",\\n \\"instanceId\\": \\"D4-*******9FD1-882707E\\",\\n \\"events\\": [\\n {\\n \\"eventId\\": 1,\\n \\"status\\": \\"Enqueued\\",\\n \\"timestamp\\": 1647420449721,\\n \\"eventDetail\\": \\"{\\\\\\"Error\\\\\\":\\\\\\"UnhandledInvocationError\\\\\\"}\\"\\n }\\n ],\\n \\"durationMs\\": 100,\\n \\"returnPayload\\": \\"my-result\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListStatefulAsyncInvocations', 'description' => 'StatefulAsyncInvocation represents asynchronous tasks. Asynchronous tasks (StatefulAsyncInvocation) allow you to manage the states of asynchronous invocations. The asynchronous task feature is more suitable for task scenarios.'."\n", 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListStatefulAsyncInvocations', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListTaggedResources' => [ 'summary' => 'Queries all tagged services.', 'path' => '/2021-04-06/tags', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '34764', 'abilityTreeNodes' => ['FEATUREfcWG6KAJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['description' => 'The token required to obtain more results. If the number of layers exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call.'."\n", 'type' => 'string', 'required' => false, 'example' => 'a-service', 'title' => ''], ], [ 'name' => 'limit', 'in' => 'query', 'schema' => ['description' => 'The maximum number of results to return. Default value: 20. Maximum value: 100. The number of returned resources is less than or equal to the specified number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'my-test-trace-id', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ 'nextToken' => ['description' => 'The token required to obtain more results. If the number of layers exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call.'."\n", 'type' => 'string', 'example' => 'a-service', 'title' => ''], 'resources' => [ 'description' => 'The information about tagged services.'."\n", 'type' => 'array', 'items' => ['description' => 'The information about the tagged resource.'."\n", '$ref' => '#/components/schemas/Resource', 'title' => ''], 'title' => '', ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"nextToken\\": \\"a-service\\",\\n \\"resources\\": [\\n {\\n \\"resourceArn\\": \\"acs:fc:cn-shanghai:188077086902****:services/demo\\",\\n \\"tags\\": {\\n \\"key\\": \\"{\\\\\\"k1\\\\\\":\\\\\\"v1\\\\\\" , \\\\\\"k2\\\\\\":\\\\\\"v2\\\\\\"}\\"\\n }\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListTaggedResources', 'changeSet' => [ ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListTaggedResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTaggedResources'], ], ], ], 'ListTriggers' => [ 'summary' => 'Queries the triggers of a function.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/triggers', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '22396', 'abilityTreeNodes' => ['FEATUREfc0CDUNQ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service'], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the function.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-function'], ], [ 'name' => 'limit', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The maximum number of resources to return. Default value: 20. Maximum value: 100. The number of returned resources is less than or equal to the specified number.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The token required to obtain more results. You do not need to provide this parameter in the first call. The tokens for subsequent queries are obtained from the returned results.'."\n", 'type' => 'string', 'required' => false, 'example' => 'f-trigger'], ], [ 'name' => 'prefix', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The prefix that the names of returned resources must contain.'."\n", 'type' => 'string', 'required' => false, 'example' => 'a'], ], [ 'name' => 'startKey', 'in' => 'query', 'schema' => ['title' => '', 'description' => 'The returned resources are sorted in alphabetical order, and the resources that include and follow the resource specified by the startKey parameter are returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'a-trigger'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the request is initiated on the client. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The custom request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'my-test-trace-id', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ListTriggers response', 'description' => 'The returned data.'."\n", 'type' => 'object', 'properties' => [ 'nextToken' => ['title' => '', 'description' => 'The token used to obtain more results. If this parameter is left empty, all the results are returned.'."\n", 'type' => 'string', 'example' => 'f-trigger'], 'triggers' => [ 'title' => '', 'description' => 'The information about triggers.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The details of the trigger.'."\n", 'type' => 'object', 'properties' => [ 'createdTime' => ['title' => '', 'description' => 'The time when the trigger was created.'."\n", 'type' => 'string', 'example' => '2016-08-15T15:00:00.000+0000'], 'invocationRole' => ['title' => '', 'description' => 'The Alibaba Cloud Resource Name (ARN) of the RAM role that is used by the event source to invoke the function.'."\n", 'type' => 'string', 'example' => 'acs:ram::123456xxxx:role/fc-test'], 'lastModifiedTime' => ['title' => '', 'description' => 'The time when the trigger was last modified.'."\n", 'type' => 'string', 'example' => '016-08-15T17:00:00.000+0000'], 'qualifier' => ['title' => '', 'description' => 'The version or alias of the service.'."\n", 'type' => 'string', 'example' => 'LATEST'], 'sourceArn' => ['title' => '', 'description' => 'The ARN of the event source.'."\n", 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:123456xxxx:mybucket'], 'triggerConfig' => ['title' => '', 'description' => 'The configurations of the trigger. The configurations vary based on the trigger type. For more information about the format, see the following topics:'."\n" ."\n" .'* Object Storage Service (OSS) trigger: [OSSTriggerConfig](~~415697~~).'."\n" .'* Simple Log Service trigger: [LogTriggerConfig](~~415694~~).'."\n" .'* Time trigger: [TimeTriggerConfig](~~415712~~).'."\n" .'* HTTP trigger: [HTTPTriggerConfig](~~415685~~).'."\n" .'* Tablestore trigger: Specify the **SourceArn** parameter and leave this parameter empty.'."\n" .'* Alibaba Cloud CDN event trigger: [CDNEventsTriggerConfig](~~73333~~).'."\n" .'* MNS topic trigger: [MnsTopicTriggerConfig](~~415695~~).'."\n" .'* EventBridge triggers: [EventBridgeTriggerConfig](~~333711~~).', 'type' => 'string', 'example' => '{"events": ["oss:ObjectCreated:*"], "filter": {"key": {"prefix": "/prefix", "suffix": ".zip"}}}'], 'triggerName' => ['title' => '', 'description' => 'The name of the trigger.'."\n", 'type' => 'string', 'example' => 'demoTrigger'], 'triggerType' => ['title' => '', 'description' => 'The trigger type. Valid values: **oss**, **log**, **tablestore**, **timer**, **http**, **cdn_events**, **mns_topic**, and **eventbridge**.'."\n", 'type' => 'string', 'example' => 'oss'], 'description' => ['description' => 'The description of the trigger.'."\n", 'type' => 'string', 'example' => 'trigger for test', 'title' => ''], 'triggerId' => ['description' => 'The unique ID of the trigger.'."\n", 'type' => 'string', 'example' => '3e270f2f-cef2-421a-bc86-ff4e8088****', 'title' => ''], 'domainName' => ['title' => '', 'description' => 'The domain name used to invoke the function by using HTTP. You can add this domain name as the prefix to the endpoint of Function Compute. This way, you can invoke the function that corresponds to the trigger by using HTTP. Example: `{domainName}.cn-shanghai.fc.aliyuncs.com`.'."\n", 'type' => 'string', 'example' => 'demo-service-demo-function-jkhksh'], 'urlInternet' => ['title' => '', 'description' => 'The public endpoint. You can access HTTP triggers over the Internet by using HTTP or HTTPS.'."\n", 'type' => 'string', 'example' => 'https://svc-func-xxxxxxxx.cn-hangzhou.fcapp.run'], 'urlIntranet' => ['title' => '', 'description' => 'The private endpoint. In a VPC, you can access HTTP triggers by using HTTP or HTTPS.'."\n", 'type' => 'string', 'example' => 'https://svc-func-xxxxxxxx.cn-hangzhou-vpc.fcapp.run'], ], 'title' => '', ], ], ], ], ], 400 => [], 403 => [], [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"nextToken\\": \\"f-trigger\\",\\n \\"triggers\\": [\\n {\\n \\"createdTime\\": \\"2016-08-15T15:00:00.000+0000\\",\\n \\"invocationRole\\": \\"acs:ram::123456xxxx:role/fc-test\\",\\n \\"lastModifiedTime\\": \\"016-08-15T17:00:00.000+0000\\",\\n \\"qualifier\\": \\"LATEST\\",\\n \\"sourceArn\\": \\"acs:oss:cn-shanghai:123456xxxx:mybucket\\",\\n \\"triggerConfig\\": \\"{\\\\\\"events\\\\\\": [\\\\\\"oss:ObjectCreated:*\\\\\\"], \\\\\\"filter\\\\\\": {\\\\\\"key\\\\\\": {\\\\\\"prefix\\\\\\": \\\\\\"/prefix\\\\\\", \\\\\\"suffix\\\\\\": \\\\\\".zip\\\\\\"}}}\\",\\n \\"triggerName\\": \\"demoTrigger\\",\\n \\"triggerType\\": \\"oss\\",\\n \\"description\\": \\"trigger for test\\",\\n \\"triggerId\\": \\"3e270f2f-cef2-421a-bc86-ff4e8088****\\",\\n \\"domainName\\": \\"demo-service-demo-function-jkhksh\\",\\n \\"urlInternet\\": \\"https://svc-func-xxxxxxxx.cn-hangzhou.fcapp.run\\",\\n \\"urlIntranet\\": \\"https://svc-func-xxxxxxxx.cn-hangzhou-vpc.fcapp.run\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'ListTriggers', 'changeSet' => [ ['createdAt' => '2021-06-30T03:18:09.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:09.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:09.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2021-06-30T03:18:09.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:09.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTriggers'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListTriggers', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'ListVpcBindings' => [ 'summary' => 'Queries a list of existing VPC connections.', 'path' => '/2021-04-06/services/{serviceName}/bindings', 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'abilityTreeCode' => '34767', 'abilityTreeNodes' => ['FEATUREfcL3E8J5'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'serviceName', 'title' => ''], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rid281s******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Returns a list of IDs of bound VPCs.'."\n", 'type' => 'object', 'properties' => [ 'vpcIds' => [ 'description' => 'The IDs of bound VPCs.'."\n", 'type' => 'array', 'items' => ['description' => 'The IDs of bound VPCs.'."\n", 'type' => 'string', 'example' => 'vpc-xxxx', 'title' => ''], 'title' => '', ], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"vpcIds\\": [\\n \\"vpc-xxxx\\"\\n ]\\n}","type":"json"}]', 'title' => 'ListVpcBindings', 'changeSet' => [ ['createdAt' => '2023-12-22T07:46:12.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListVpcBindings'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListVpcBindings', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'PublishServiceVersion' => [ 'summary' => 'Publishes a service version.', 'path' => '/2021-04-06/services/{serviceName}/versions', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '22400', 'abilityTreeNodes' => ['FEATUREfcDTB0I5'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['description' => 'The name of the service. ', 'example' => 'demo-service', 'required' => true, 'title' => 'The name of the service.', 'type' => 'string'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The definition of the service version. ', 'properties' => [ 'description' => ['description' => 'The description of the service version. ', 'example' => 'test_description', 'required' => false, 'title' => 'The description of the service version.', 'type' => 'string'], ], 'required' => false, 'title' => 'Edition', 'type' => 'object', ], ], [ 'name' => 'If-Match', 'in' => 'header', 'schema' => ['description' => 'The ETag value of the service. This value is used to ensure that the modified service is consistent with the service to be modified. The ETag value is returned in the responses of the [CreateService](~~175256~~), [UpdateService](~~188167~~), and [GetService](~~189225~~) operations. ', 'example' => 'e19d5cd5af0378da05f63f891c7467af', 'required' => false, 'title' => '', 'type' => 'string'], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account. ', 'example' => '188077086902****', 'required' => false, 'type' => 'string', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The start time when the function is invoked. Specify the time in the yyyy-mm-ddhh:mm:ss format. ', 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'required' => false, 'type' => 'string', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => '2020-12-1210:00:00', 'example' => 'rid281s******', 'required' => false, 'type' => 'string', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [ 'ETag' => [ 'schema' => ['type' => 'string'], ], ], 'schema' => [ 'description' => 'The trace ID of the invocation request of Function Compute.', 'properties' => [ 'createdTime' => ['description' => 'The returned data. ', 'example' => '2016-08-15T16:06:05.000+0000', 'title' => 'The time when the service version was created. ', 'type' => 'string'], 'description' => ['description' => 'The creation time.', 'example' => 'test_description', 'title' => 'The description of the service version. ', 'type' => 'string'], 'lastModifiedTime' => ['description' => 'The description of the service version.', 'example' => '2016-08-15T16:06:05.000+0000', 'title' => 'The time when the service version was last modified. ', 'type' => 'string'], 'versionId' => ['description' => 'The last update time.', 'example' => '1', 'title' => 'The version of the service. ', 'type' => 'string'], ], 'title' => 'The ID of the version.', 'type' => 'object', ], ], 400 => [], 403 => [], [], 409 => [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"createdTime\\": \\"2016-08-15T16:06:05.000+0000\\",\\n \\"description\\": \\"test_description\\",\\n \\"lastModifiedTime\\": \\"2016-08-15T16:06:05.000+0000\\",\\n \\"versionId\\": \\"1\\"\\n}","type":"json"}]', 'title' => 'PublishServiceVersion', 'changeSet' => [ ['createdAt' => '2021-06-30T03:18:08.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:08.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:08.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:08.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:08.000Z', 'description' => 'Request parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:PublishServiceVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PublishServiceVersion'], ], ], ], 'PutFunctionAsyncInvokeConfig' => [ 'summary' => 'Creates or modifies an asynchronous invocation configuration for a function.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/async-invoke-config', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '22394', 'abilityTreeNodes' => ['FEATUREfcBKET2W'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => 'Specifies whether to enable the asynchronous task feature. '."\n" ."\n" .'- **true**: enables the asynchronous task feature. '."\n" .'- **false**: does not enable the asynchronous task feature. ', 'description' => 'The service name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service'], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['title' => 'Creates or modifies an asynchronous invocation configuration for a function.', 'description' => 'The function name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'helloworld'], ], [ 'name' => 'qualifier', 'in' => 'query', 'schema' => [ 'title' => 'The configurations of the destination of an asynchronous invocation.', 'description' => 'The version or alias of the service.'."\n", 'type' => 'string', 'required' => false, 'enumValueTitles' => [], 'example' => 'test', ], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => 'StatefulAsyncInvocation specifies the configurations of the asynchronous task. Asynchronous tasks allow you to manage the states on the basis of common asynchronous invocations, which is more suitable for task scenarios. ', 'description' => 'The asynchronous invocation configurations.'."\n", 'type' => 'object', 'properties' => [ 'destinationConfig' => ['description' => 'The configuration struct of the destination for asynchronous invocations.'."\n", 'required' => false, '$ref' => '#/components/schemas/DestinationConfig', 'title' => ''], 'maxAsyncEventAgeInSeconds' => ['title' => 'It is a tool used to manage and configure Alibaba Cloud resources. After simple installation and configuration, you can use Alibaba Cloud CLI to manage multiple Alibaba Cloud services and migrate your data and business to the cloud with ease. ', 'description' => 'The maximum validity period of a message. Valid values: \\[1,604800]. Default value: 86400. Unit: seconds.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '300'], 'maxAsyncRetryAttempts' => ['title' => 'The qualifier. ', 'description' => 'Optional. The maximum number of retries if an asynchronous invocation fails. Valid values: \\[0,8]. If you do not configure this parameter, the default number of retries is 3.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3'], 'statefulInvocation' => ['description' => 'Specifies whether to enable the asynchronous task feature.'."\n" ."\n" .'* **true**'."\n" .'* **false**'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], 'required' => false, ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for the Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ksdfjkdmkki***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'The name of the service. ', 'description' => 'The asynchronous invocation configurations.'."\n", 'type' => 'object', 'properties' => [ 'createdTime' => ['title' => 'The time when Function Compute API is called. ', 'description' => 'The time when the alias was created.'."\n", 'type' => 'string', 'example' => '2020-09-10T02:45:02Z'], 'destinationConfig' => ['description' => 'The configuration struct of the destination for asynchronous invocations.'."\n", '$ref' => '#/components/schemas/DestinationConfig', 'example' => ' {"onSuccess": null,"onFailure": {"destination": "acs:mns:cn-shanghai:123:/queues/xxx/messages"}}', 'title' => ''], 'function' => ['title' => 'The maximum validity period of messages. Valid values: 1 to 2592000. Unit: seconds. ', 'description' => 'The function name.'."\n", 'type' => 'string', 'example' => 'helloworld'], 'lastModifiedTime' => ['title' => 'The maximum number of retries allowed after an asynchronous invocation fails. ', 'description' => 'The time when the configuration was last modified.'."\n", 'type' => 'string', 'example' => '2020-09-10T02:45:02Z'], 'maxAsyncEventAgeInSeconds' => ['title' => 'The name of the function. ', 'description' => 'The maximum validity period of a message.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '300'], 'maxAsyncRetryAttempts' => ['title' => 'The maximum validity period of messages. ', 'description' => 'The maximum number of retries allowed after an asynchronous invocation fails.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '3'], 'qualifier' => ['title' => 'The time when the configuration was last modified. ', 'description' => 'The version or alias of the service.'."\n", 'type' => 'string', 'example' => 'test'], 'service' => ['title' => 'Example 1', 'description' => 'The service name.'."\n", 'type' => 'string', 'example' => 'demo-service'], 'statefulInvocation' => ['description' => 'Specifies whether to enable the asynchronous task feature.'."\n" ."\n" .'* **true**'."\n" .'* **false**'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], ], ], 400 => [], 403 => [], [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'PutFunctionAsyncInvokeConfig', 'description' => '配置中的StatefulAsyncInvocation即为异步任务的配置项。异步任务在普通的异步调用基础上增加了状态管理的功能,更适用于各类任务场景。', 'changeSet' => [ ['createdAt' => '2021-06-29T12:45:44.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-29T12:45:44.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:44.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:44.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutFunctionAsyncInvokeConfig'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:PutFunctionAsyncInvokeConfig', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"createdTime\\": \\"2020-09-10T02:45:02Z\\",\\n \\"destinationConfig\\": {\\n \\"onSuccess\\": {\\n \\"destination\\": \\"acs:fc:cn-shanghai:xxx:services/s1/functions/f1\\"\\n },\\n \\"onFailure\\": {\\n \\"destination\\": \\"acs:fc:cn-shanghai:xxx:services/s1/functions/f1\\"\\n }\\n },\\n \\"function\\": \\"helloworld\\",\\n \\"lastModifiedTime\\": \\"2020-09-10T02:45:02Z\\",\\n \\"maxAsyncEventAgeInSeconds\\": 300,\\n \\"maxAsyncRetryAttempts\\": 3,\\n \\"qualifier\\": \\"test\\",\\n \\"service\\": \\"demo-service\\",\\n \\"statefulInvocation\\": true\\n}","type":"json"}]', ], 'PutFunctionOnDemandConfig' => [ 'summary' => 'Creates a function rule.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/on-demand-config', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '34734', 'abilityTreeNodes' => ['FEATUREfcVF016G'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service', 'title' => ''], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['description' => 'The name of the function.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-function', 'title' => ''], ], [ 'name' => 'qualifier', 'in' => 'query', 'schema' => ['description' => 'The service alias or latest version. Other versions are not supported.'."\n", 'type' => 'string', 'required' => true, 'example' => 'prod', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.'."\n", 'type' => 'object', 'properties' => [ 'maximumInstanceCount' => ['description' => 'The maximum number of on-demand instances. For more information, see [Configure provisioned instances and auto scaling rules](~~185038~~).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10', 'title' => ''], ], 'required' => false, 'title' => '', ], ], [ 'name' => 'If-Match', 'in' => 'header', 'schema' => ['description' => 'If the ETag specified in the request matches the ETag value of the object, the object and 200 OK are returned. Otherwise, 412 Precondition Failed is returned.'."\n", 'type' => 'string', 'required' => false, 'example' => 'e19d5cd5af0378da05f63f891c7467af', 'title' => ''], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The unique ID of the trace.'."\n", 'type' => 'string', 'required' => false, 'example' => 'r9s89isisi****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [ 'ETag' => [ 'schema' => ['title' => '当前按量配置的标识,用于修改时提供条件校验(If-Match),若传入的ETag与实际的不一致,则返回412 PreconditionFailed错误。', 'type' => 'string'], ], ], 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The response body.'."\n", 'type' => 'object', 'properties' => [ 'resource' => ['description' => 'The description of the resource.'."\n", 'type' => 'string', 'example' => '12345#servierName#qualifier#functionName', 'title' => ''], 'maximumInstanceCount' => ['description' => 'The maximum number of instances.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resource\\": \\"12345#servierName#qualifier#functionName\\",\\n \\"maximumInstanceCount\\": 10\\n}","type":"json"}]', 'title' => 'PutFunctionOnDemandConfig', 'changeSet' => [ ['createdAt' => '2022-06-21T07:51:26.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-06-07T07:38:42.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2021-06-30T03:18:08.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:08.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:08.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:08.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:08.000Z', 'description' => 'Request parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:PutFunctionOnDemandConfig', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutFunctionOnDemandConfig'], ], ], ], 'PutLayerACL' => [ 'summary' => 'Modifies permissions of a layer.', 'path' => '/2021-04-06/layers/{layerName}/acl', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '149819', 'abilityTreeNodes' => ['FEATUREfcN46UH2'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'layerName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the layer.'."\n", 'type' => 'string', 'required' => true, 'example' => 'MyLayer'], ], [ 'name' => 'public', 'in' => 'query', 'schema' => ['description' => 'Specifies whether the layer is public.'."\n" ."\n" .'* **true**: Public.'."\n" .'* **false**: Not public.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the operation is called. The format is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asdf****', 'title' => ''], ], ], 'responses' => [ 200 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', 'title' => 'PutLayerACL', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:PutLayerACL', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutLayerACL'], ], ], ], 'PutProvisionConfig' => [ 'summary' => 'Creates provisioned configurations.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/provision-config', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '22389', 'abilityTreeNodes' => ['FEATUREfcHRC0TU'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => 'The name of the service.', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoService'], ], [ 'name' => 'qualifier', 'in' => 'query', 'allowEmptyValue' => false, 'schema' => ['title' => 'The name of the alias.', 'description' => 'The service alias or latest version. Other versions are not supported.'."\n", 'type' => 'string', 'required' => true, 'example' => 'prod'], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['title' => 'The name of the function.', 'description' => 'The function name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoFunction'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => 'The provisioned configurations.', 'description' => 'The provisioned instance configurations.'."\n", 'type' => 'object', 'properties' => [ 'target' => ['title' => 'The expected number of provisioned instances.', 'description' => 'The number of provisioned instances. Valid values: \\[0,10000].'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], 'scheduledActions' => [ 'title' => 'The configurations of scheduled auto scaling.', 'description' => 'The configurations of scheduled auto scaling.'."\n", 'type' => 'array', 'items' => ['description' => 'The detailed configurations of the scheduled auto scaling.'."\n", 'required' => false, '$ref' => '#/components/schemas/ScheduledActions', 'title' => ''], 'required' => false, ], 'targetTrackingPolicies' => [ 'title' => 'The configurations of metric-based auto scaling.', 'description' => 'The configurations of metric-based auto scaling.'."\n", 'type' => 'array', 'items' => ['description' => 'The detailed configurations of metric-based auto scaling.'."\n", 'required' => false, '$ref' => '#/components/schemas/TargetTrackingPolicies', 'title' => ''], 'required' => false, ], 'alwaysAllocateCPU' => ['title' => 'Specifies whether to allocate CPU resources when the instance enters the idle state. ', 'description' => 'Specify whether to always allocate CPUs. Default value: true.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true'], ], 'required' => false, ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value follows the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the invocation request of Function Compute.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rid281s******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'provisionConfigResponse', 'description' => 'The provisioned instance configurations.'."\n", 'type' => 'object', 'properties' => [ 'resource' => ['title' => 'The description of the resource.', 'description' => 'The description of the resource.'."\n", 'type' => 'string', 'example' => '"12345#servierName#qualifier#functionName"'], 'target' => ['title' => 'The expected number of provisioned instances.', 'description' => 'The number of target provisioned instances.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '5'], 'current' => ['title' => 'The actual number of provisioned instances.', 'description' => 'The actual number of provisioned instances.'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '1'], 'scheduledActions' => [ 'title' => 'The configurations of scheduled auto scaling.', 'description' => 'The configuration of scheduled auto scaling.'."\n", 'type' => 'array', 'items' => ['description' => 'Details about the scheduled scaling policy. You can use the scheduled scaling policy to flexibly configure provisioned instances. You can specify the number of provisioned instances to the desired value at the scheduled time. This way, the number of provisioned instances can meet the concurrency requirements of your business.'."\n", 'example' => '[ { "Name": "action_1", "StartTime": "2020-11-01T10:00:00Z", "EndTime": "2020-11-30T10:00:00Z", "TargetValue": 50, "ScheduleExpression": "cron(0 0 20 * * *)" }, { "Name": "action_2", "StartTime": "2020-11-01T10:00:00Z", "EndTime": "2020-11-30T10:00:00Z", "TargetValue": 10, "ScheduleExpression": "cron(0 0 22 * * *)" } ]', '$ref' => '#/components/schemas/ScheduledActions', 'title' => ''], ], 'targetTrackingPolicies' => [ 'title' => 'The configurations of metric-based auto scaling.', 'description' => 'The configurations of metric-based auto scaling.'."\n", 'type' => 'array', 'items' => ['description' => 'Details about the metric-based scaling policy. Provisioned instances are scaled every minute based on the concurrency usage rate of provisioned instances.'."\n" ."\n" .'* When the metric value exceeds the value of metricTarget, the system starts to scale out provisioned instances with an active policy to restore the metric value close to the value of metricTarget.'."\n" .'* When the metric value is lower than the value metricTarget, the system starts to scale in provisioned instances with a conservative policy so that the metric value gradually reaches the value metricTarget.'."\n" ."\n" .'If you specify the maximum and minimum numbers of provisioned instances, the system scales provisioned instances within the range. If the number of provisioned instances reaches the specified maximum or minimum number, scaling stops.'."\n", 'example' => '[ { "Name": "action_1", "StartTime": "2020-11-01T10:00:00Z", "EndTime": "2020-11-30T10:00:00Z", "MetricType": "ProvisionedConcurrencyUtilization", "MetricTarget": 0.6, "MinCapacity": 10, "MaxCapacity": 100, } ]', '$ref' => '#/components/schemas/TargetTrackingPolicies', 'title' => ''], ], 'alwaysAllocateCPU' => ['title' => 'Specifies whether to always allocate CPU to a function instance. ', 'description' => 'Specifies whether to always allocate CPU to a function instance.'."\n", 'type' => 'boolean', 'example' => 'true'], ], ], ], 400 => [], 403 => [], [], 409 => [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resource\\": \\"\\\\\\"12345#servierName#qualifier#functionName\\\\\\"\\",\\n \\"target\\": 5,\\n \\"current\\": 1,\\n \\"scheduledActions\\": [\\n {\\n \\"name\\": \\"name\\",\\n \\"startTime\\": \\"2020-10-10T10:10:10Z\\",\\n \\"endTime\\": \\"2021-10-10T10:10:10Z\\",\\n \\"target\\": 50,\\n \\"scheduleExpression\\": \\"cron(0/30 * * * *)\\"\\n }\\n ],\\n \\"targetTrackingPolicies\\": [\\n {\\n \\"name\\": \\"test_1\\",\\n \\"startTime\\": \\"2020-10-10T10:10:10Z\\",\\n \\"endTime\\": \\"2020-10-10T10:10:10Z\\",\\n \\"metricType\\": \\"CPUUtilization\\",\\n \\"metricTarget\\": 0.6,\\n \\"minCapacity\\": 10,\\n \\"maxCapacity\\": 100\\n }\\n ],\\n \\"alwaysAllocateCPU\\": true\\n}","type":"json"}]', 'title' => 'PutProvisionConfig', 'changeSet' => [ ['createdAt' => '2021-06-30T03:18:10.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:10.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:10.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:10.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:PutProvisionConfig', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'RegisterEventSource' => [ 'summary' => 'Registers an event source.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/event-sources', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'abilityTreeCode' => '55511', 'abilityTreeNodes' => ['FEATUREfcBAQXYJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => 'The name of the service.', 'description' => 'The service name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service'], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['title' => 'The name of the function.', 'description' => 'The function name.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-function'], ], [ 'name' => 'qualifier', 'in' => 'query', 'schema' => ['title' => 'The version or alias of the service.', 'description' => 'The version or alias of the service.'."\n", 'type' => 'string', 'required' => false, 'example' => 'LATEST'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request parameters.'."\n", 'type' => 'object', 'properties' => [ 'sourceArn' => ['title' => 'The Alibaba Cloud Resource Name (ARN) of the event source.', 'description' => 'The Alibaba Cloud Resource Name (ARN) of the event source.'."\n", 'type' => 'string', 'required' => true, 'example' => 'acs:eventbridge:cn-shanghai:123456:eventbus/mns-test/rule/fc-test1/target/abc'], ], 'required' => false, 'title' => '', ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Sat, 14 Jul 2017 07:02:38 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asdf****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The returned data.'."\n", 'type' => 'object', 'properties' => [ 'sourceArn' => ['title' => 'The Alibaba Cloud Resource Name (ARN) of the event source.', 'description' => 'The Alibaba Cloud Resource Name (ARN) of the event source.'."\n", 'type' => 'string', 'example' => 'acs:eventbridge:cn-shanghai:123456:eventbus/mns-test/rule/fc-test1/target/abc'], 'createdTime' => ['title' => 'The creation time.', 'description' => 'The time when the event source was created.'."\n", 'type' => 'string', 'example' => '2016-08-15T16:06:05.000+0000'], ], ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"sourceArn\\": \\"acs:eventbridge:cn-shanghai:123456:eventbus/mns-test/rule/fc-test1/target/abc\\",\\n \\"createdTime\\": \\"2016-08-15T16:06:05.000+0000\\"\\n}","type":"json"}]', 'title' => 'RegisterEventSource', 'changeSet' => [ ['createdAt' => '2021-10-26T07:26:20.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-10-26T07:26:20.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-10-26T07:26:20.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-10-26T07:26:20.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RegisterEventSource'], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'fc:RegisterEventSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'StopStatefulAsyncInvocation' => [ 'summary' => 'Stops an asynchronous task.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/stateful-async-invocations/{invocationId}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '35586', 'abilityTreeNodes' => ['FEATUREfcBKET2W'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['description' => 'The name of the service to which the asynchronous task belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service', 'title' => ''], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['description' => 'The name of the function to which the asynchronous task belongs.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-function', 'title' => ''], ], [ 'name' => 'invocationId', 'in' => 'path', 'schema' => ['description' => 'The ID of the instance that is used to run the asynchronous task.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-id', 'title' => ''], ], [ 'name' => 'qualifier', 'in' => 'query', 'schema' => ['description' => 'The version or alias of the service to which the asynchronous task belongs.'."\n", 'type' => 'string', 'required' => false, 'example' => 'LATEST', 'title' => ''], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Sat, 14 Jul 2017 07:02:38 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the request for Function Compute API.'."\n", 'type' => 'string', 'required' => false, 'example' => 'asdf****', 'title' => ''], ], ], 'responses' => [ 200 => [], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', 'title' => 'StopStatefulAsyncInvocation', 'description' => 'StatefulAsyncInvocation represents asynchronous tasks. Asynchronous tasks (StatefulAsyncInvocation) allow you to manage the states of asynchronous invocations. The asynchronous task feature is more suitable for task scenarios.'."\n", 'changeSet' => [ ['createdAt' => '2022-11-28T05:01:02.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:05.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopStatefulAsyncInvocation'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:StopStatefulAsyncInvocation', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'TagResource' => [ 'summary' => 'Adds tags to a resource.', 'path' => '/2021-04-06/tag', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'abilityTreeCode' => '22374', 'abilityTreeNodes' => ['FEATUREfcWG6KAJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'allowEmptyValue' => false, 'style' => 'json', 'schema' => [ 'title' => '标签详情', 'description' => 'The details of tags.'."\n", 'type' => 'object', 'properties' => [ 'resourceArn' => ['description' => 'The ARN of the resource.'."\n" ."\n" .'> You can use the value of this parameter to query the information about the resource, such as the account, service, and region information of the resource. You can manage tags only for services for top level resources.'."\n", 'type' => 'string', 'required' => true, 'example' => 'acs:fc:cn-shanghai:188077086902****:services/demo', 'title' => ''], 'tags' => [ 'description' => 'The tag dictionary.'."\n", 'type' => 'object', 'required' => true, 'additionalProperties' => ['type' => 'string', 'description' => 'The tag dictionary. A tag consists of the following parameters:'."\n" ."\n" .'* **key**: the tag key. It cannot exceed 128 characters in length.'."\n" .'* **value**: the tag value. It cannot exceed 128 characters in length.'."\n" ."\n" .'Tag keys and tag values are case-sensitive. If you specify multiple tags, the system adds all the tags to the specified resources. Each tag key on a resource can have only one tag value. If you attempt to add a tag that has the same key as an existing tag, the value of the existing tag is overwritten.'."\n" ."\n" .'`http://` or `https://` cannot be contained. The tag value cannot start with aliyun or acs:.'."\n", 'example' => '{"k1":"v1" , "k2":"v2"}', 'title' => ''], 'example' => '{"k1":"v1"}', 'title' => '', ], ], 'required' => false, 'example' => ' acs:fc:cn-shanghai:188077086902****:services/demo', ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The format is **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The custom request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'my-test-trace-id', 'title' => ''], ], ], 'responses' => [ 200 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', 'title' => 'TagResource', 'changeSet' => [ ['createdAt' => '2021-06-29T12:45:48.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-29T12:45:48.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:48.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:48.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:48.000Z', 'description' => 'Request parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:TagResource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResource'], ], ], ], 'UntagResource' => [ 'summary' => 'Removes tags from resources.', 'path' => '/2021-04-06/tag', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '22410', 'abilityTreeNodes' => ['FEATUREfcWG6KAJ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'allowEmptyValue' => false, 'style' => 'json', 'schema' => [ 'title' => '', 'description' => 'The details of the resource from which you want to remove tags.'."\n", 'type' => 'object', 'properties' => [ 'resourceArn' => ['title' => '', 'description' => 'The Alibaba Cloud Resource Name (ARN) of the resource.'."\n" ."\n" .'> You can use the value of this parameter to query information about the resource, such as the account, service, and region of the resource. You can manage tags only for services for top level resources.'."\n", 'type' => 'string', 'required' => true, 'example' => 'acs:fc:cn-shanghai:188077086902****:services/demo'], 'tagKeys' => [ 'title' => '', 'description' => 'The keys of the tags that you want to remove.'."\n", 'type' => 'array', 'items' => ['description' => 'The tag key.'."\n", 'type' => 'string', 'required' => false, 'example' => 'k1', 'title' => ''], 'required' => false, ], 'all' => ['title' => '', 'description' => 'Specifies whether to remove all tags. This parameter takes effect only when no tag key is specified. Valid values:'."\n" ."\n" .'* **true**'."\n" .'* **false**'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], 'required' => false, 'example' => 'acs:fc:cn-shanghai:188077086902****:services/demo', ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The custom request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'my-test-trace-id', 'title' => ''], ], ], 'responses' => [ 200 => [], 400 => [], 403 => [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', 'title' => 'UntagResource', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResource'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:UnTagResource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], 'UpdateAlias' => [ 'summary' => 'Updates an alias.', 'path' => '/2021-04-06/services/{serviceName}/aliases/{aliasName}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '22409', 'abilityTreeNodes' => ['FEATUREfcI9H8B8'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service'], ], [ 'name' => 'aliasName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the alias.'."\n", 'type' => 'string', 'required' => true, 'example' => 'alias_test'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '', 'description' => 'The definition of the alias.'."\n", 'type' => 'object', 'properties' => [ 'additionalVersionWeight' => [ 'title' => '', 'description' => 'The canary release version to which the alias points and the weight of the canary release version.'."\n" ."\n" .'* The canary release version takes effect only when the function is invoked.'."\n" .'* The value consists of a version number and the corresponding weight. For example, 2:0.05 indicates that Version 2 is the canary release version and 5% of the traffic is routed to the canary release version when the function is invoked. The remaining 95% traffic is routed to the main version.'."\n", 'type' => 'object', 'required' => false, 'additionalProperties' => ['type' => 'number', 'format' => 'float', 'example' => '1', 'description' => 'The traffic weight. Valid values: 0 to 1.'."\n", 'title' => ''], ], 'description' => ['title' => '', 'description' => 'The description of the alias.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test_description'], 'versionId' => ['title' => '', 'description' => 'The ID of the version to which the alias points.'."\n", 'type' => 'string', 'required' => false, 'example' => '1'], 'resolvePolicy' => ['title' => '', 'description' => 'The canary release mode. Default values: off. Valid values:'."\n" ."\n" .'* **Random**: random canary release.'."\n" .'* **Content**: rule-based canary release.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Random', 'default' => 'Content'], 'routePolicy' => ['title' => '', 'description' => 'The canary release rule. Traffic that meets the canary release rule is routed to the canary release instance.'."\n", 'required' => false, '$ref' => '#/components/schemas/RoutePolicy'], ], 'required' => false, ], ], [ 'name' => 'If-Match', 'in' => 'header', 'schema' => ['description' => 'If the ETag specified in the request matches the ETag value of the object, the object and 200 OK are returned. Otherwise, 412 Precondition Failed is returned.'."\n" ."\n" .'The ETag value of an object is used to check data integrity of the object. This parameter is empty by default.'."\n", 'type' => 'string', 'required' => false, 'example' => 'e19d5cd5af0378da05f63f891c7467af', 'title' => ''], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The trace ID of the invocation request of Function Compute.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rid281s******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [ 'ETag' => [ 'schema' => ['type' => 'string'], ], ], 'schema' => [ 'title' => '', 'description' => 'The definition of the alias.'."\n", 'type' => 'object', 'properties' => [ 'additionalVersionWeight' => [ 'title' => '', 'description' => 'The additional version to which the alias points and the weight of the additional version.'."\n" ."\n" .'* The additional version takes effect only when the function is invoked.'."\n" .'* The value consists of a version number and a specific weight. For example, 2:0.05 indicates that when a function is invoked, Version 2 is the canary release version, 5% of the traffic is distributed to the canary release version, and 95% of the traffic is distributed to the major version.'."\n", 'type' => 'object', 'additionalProperties' => ['type' => 'number', 'format' => 'float', 'example' => '1', 'description' => 'The traffic weight. Valid values: 0 to 1.'."\n", 'title' => ''], ], 'aliasName' => ['title' => '', 'description' => 'The name of the alias.'."\n", 'type' => 'string', 'example' => 'test'], 'createdTime' => ['title' => '', 'description' => 'The time when the alias was created.'."\n", 'type' => 'string', 'example' => '2016-08-15T16:06:05.000+0000'], 'description' => ['title' => '', 'description' => 'The description of the alias.'."\n", 'type' => 'string', 'example' => 'test_description'], 'lastModifiedTime' => ['title' => '', 'description' => 'The time when the alias was last modified.'."\n", 'type' => 'string', 'example' => '2016-08-15T16:06:05.000+0000'], 'versionId' => ['title' => '', 'description' => 'The ID of the version to which the alias points.'."\n", 'type' => 'string', 'example' => '1'], 'resolvePolicy' => ['description' => 'The canary release mode. Default values: off. Valid values:'."\n" ."\n" .'* **Random**: random canary release.'."\n" .'* **Content**: rule-based canary release.'."\n", 'type' => 'string', 'example' => 'Random', 'title' => ''], 'routePolicy' => ['description' => 'The canary release rule. The traffic that meets the conditions of the canary release rule is diverted to the canary release instances.'."\n", '$ref' => '#/components/schemas/RoutePolicy', 'title' => ''], ], ], ], 400 => [], 403 => [], [], 409 => [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"additionalVersionWeight\\": {\\n \\"key\\": 1\\n },\\n \\"aliasName\\": \\"test\\",\\n \\"createdTime\\": \\"2016-08-15T16:06:05.000+0000\\",\\n \\"description\\": \\"test_description\\",\\n \\"lastModifiedTime\\": \\"2016-08-15T16:06:05.000+0000\\",\\n \\"versionId\\": \\"1\\",\\n \\"resolvePolicy\\": \\"Random\\",\\n \\"routePolicy\\": {\\n \\"condition\\": \\"AND\\",\\n \\"policyItems\\": [\\n {\\n \\"type\\": \\"Header\\",\\n \\"key\\": \\"x-test-uid\\",\\n \\"value\\": \\"11111\\",\\n \\"operator\\": \\"=\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => 'UpdateAlias', 'changeSet' => [ ['createdAt' => '2023-12-28T03:33:13.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2022-08-04T06:26:25.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:41.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-29T12:45:41.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:41.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-29T12:45:41.000Z', 'description' => 'Request parameters changed'], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:UpdateAlias', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAlias'], ], ], ], 'UpdateCustomDomain' => [ 'path' => '/2021-04-06/custom-domains/{domainName}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '34759', 'abilityTreeNodes' => ['FEATUREfcJ7WA06'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'domainName', 'in' => 'path', 'schema' => ['description' => 'The domain name.', 'type' => 'string', 'required' => true, 'example' => 'example.com ', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => 'The request body.', 'type' => 'object', 'properties' => [ 'protocol' => ['description' => 'The protocol types supported by the domain name. Valid values:'."\n" ."\n" .'- **HTTP**: Only HTTP is supported.'."\n" ."\n" .'- **HTTPS**: Only HTTPS is supported.'."\n" ."\n" .'- **HTTP,HTTPS**: Both HTTP and HTTPS are supported.', 'type' => 'string', 'required' => false, 'example' => 'HTTP', 'title' => ''], 'routeConfig' => ['description' => 'The route table configurations. The route table maps paths to functions when the functions are invoked by using custom domain names.', '$ref' => '#/components/schemas/RouteConfig', 'required' => false, 'title' => '', 'example' => ''], 'certConfig' => ['description' => 'The HTTPS certificate configurations.', '$ref' => '#/components/schemas/CertConfig', 'required' => false, 'title' => '', 'example' => ''], 'tlsConfig' => ['description' => 'The TLS configurations.', '$ref' => '#/components/schemas/TLSConfig', 'required' => false, 'title' => '', 'example' => ''], 'wafConfig' => ['description' => 'The Web Application Firewall (WAF) configurations.', '$ref' => '#/components/schemas/WAFConfig', 'required' => false, 'title' => '', 'example' => ''], ], 'required' => false, 'title' => '', 'example' => '', ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.', 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the operation is called. The format is: **EEE,d MMM yyyy HH:mm:ss GMT**.', 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The custom request ID.', 'type' => 'string', 'required' => false, 'example' => 'asdf*****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'The information about the modified domain name.', 'type' => 'object', 'properties' => [ 'domainName' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'example.com ', 'title' => ''], 'accountId' => ['description' => 'The ID of your Alibaba Cloud account.', 'type' => 'string', 'example' => '1986114****4305 ', 'title' => ''], 'protocol' => ['description' => 'The protocol type that is supported by the custom domain name.'."\n" ."\n" .'- **HTTP**: Only HTTP is supported.'."\n" ."\n" .'- **HTTPS**: Only HTTPS is supported.'."\n" ."\n" .'- **HTTP,HTTPS**: HTTP and HTTPS are supported.', 'type' => 'string', 'example' => 'HTTP', 'title' => ''], 'apiVersion' => ['description' => 'The version of the API.', 'type' => 'string', 'example' => '2016-08-15 ', 'title' => ''], 'createdTime' => ['description' => 'The time when the custom domain name was created.', 'type' => 'string', 'example' => '2020-07-27T08:02:19Z ', 'title' => ''], 'lastModifiedTime' => ['description' => 'The time when the domain name was last modified.', 'type' => 'string', 'example' => '2020-07-27T08:02:19Z', 'title' => ''], 'certConfig' => ['description' => 'The HTTPS certificate configurations.', '$ref' => '#/components/schemas/CertConfig', 'title' => '', 'example' => ''], 'routeConfig' => ['description' => 'The route table configurations. The route table maps paths to functions when the functions are invoked by using custom domain names.', '$ref' => '#/components/schemas/RouteConfig', 'title' => '', 'example' => ''], 'tlsConfig' => ['description' => 'The TLS configurations.', '$ref' => '#/components/schemas/TLSConfig', 'title' => '', 'example' => ''], 'wafConfig' => ['description' => 'The WAF configurations.', '$ref' => '#/components/schemas/WAFConfig', 'title' => '', 'example' => ''], ], 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'title' => 'UpdateCustomDomain', 'summary' => 'Modifies a custom domain name.', 'changeSet' => [ ['createdAt' => '2024-02-19T09:20:30.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2022-11-28T05:01:02.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:06.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCustomDomain'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:UpdateCustomDomain', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"domainName\\": \\"example.com\\\\t\\",\\n \\"accountId\\": \\"1986114****4305\\\\t\\",\\n \\"protocol\\": \\"HTTP\\",\\n \\"apiVersion\\": \\"2016-08-15\\\\t\\",\\n \\"createdTime\\": \\"2020-07-27T08:02:19Z\\\\t\\",\\n \\"lastModifiedTime\\": \\"2020-07-27T08:02:19Z\\",\\n \\"certConfig\\": {\\n \\"certName\\": \\"my-cert\\",\\n \\"certificate\\": \\"-----BEGIN CERTIFICATE----- xxxxx -----END CERTIFICATE-----\\",\\n \\"privateKey\\": \\"-----BEGIN RSA PRIVATE KEY----- xxxxx -----END RSA PRIVATE KEY-----\\"\\n },\\n \\"routeConfig\\": {\\n \\"routes\\": [\\n {\\n \\"functionName\\": \\"f1\\",\\n \\"methods\\": [\\n \\"GET\\"\\n ],\\n \\"path\\": \\"/login\\",\\n \\"qualifier\\": \\"prod\\",\\n \\"serviceName\\": \\"s1\\",\\n \\"rewriteConfig\\": {\\n \\"equalRules\\": [\\n {\\n \\"match\\": \\"/old\\",\\n \\"replacement\\": \\"/new\\"\\n }\\n ],\\n \\"wildcardRules\\": [\\n {\\n \\"match\\": \\"/api/*\\",\\n \\"replacement\\": \\"/$1\\"\\n }\\n ],\\n \\"regexRules\\": [\\n {\\n \\"match\\": \\"^/js/(.*?)$\\",\\n \\"replacement\\": \\"/public/javascripts/$1\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"tlsConfig\\": {\\n \\"minVersion\\": \\"TLSv1.0\\",\\n \\"cipherSuites\\": [\\n \\"TLS_RSA_WITH_RC4_128_SHA\\"\\n ],\\n \\"maxVersion\\": \\"TLSv1.3\\"\\n },\\n \\"wafConfig\\": {\\n \\"enableWAF\\": true\\n }\\n}","type":"json"}]', ], 'UpdateFunction' => [ 'summary' => 'Updates the configuration of a function.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '22383', 'abilityTreeNodes' => ['FEATUREfcVF016G'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'If-Match', 'in' => 'header', 'schema' => ['description' => 'Used to ensure that the resource to be modified is the same as the expected resource. The value is obtained from the response of the [CreateFunction](~~415747~~), [GetFunction](~~415750~~), or [UpdateFunction](~~415749~~) operation.', 'type' => 'string', 'example' => 'e19d5cd5af0378da05f63f891c7467af', 'title' => '', 'required' => false], ], [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['description' => 'The name of the service.', 'type' => 'string', 'required' => true, 'example' => 'demoService', 'title' => ''], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['description' => 'The name of the function.', 'type' => 'string', 'required' => true, 'example' => 'demoFunction', 'title' => ''], ], [ 'name' => 'functionUpdateFields', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '', 'description' => 'The function update struct.', 'type' => 'object', 'properties' => [ 'code' => ['description' => 'The **Code** struct. You can use one of the following two methods to provide the function code package. You must use one and only one of these methods in a request:'."\n" ."\n" .'- Specify **ossBucketName** and **ossObjectName** that store the code package.'."\n" ."\n" .'- Specify **zipFile** as the Base64-encoded content of the ZIP package.', '$ref' => '#/components/schemas/Code', 'required' => false, 'title' => '', 'example' => ''], 'customContainerConfig' => ['description' => 'The configuration of the Custom Container runtime. After you configure this parameter, the function can be executed using a custom container image.', '$ref' => '#/components/schemas/CustomContainerConfig', 'required' => false, 'title' => '', 'example' => ''], 'layers' => [ 'description' => 'A list of layers.'."\n" ."\n" .'> Multiple layers are merged in descending order of the array index. The content of a layer with a smaller index overwrites the file with the same name in a layer with a larger index.', 'type' => 'array', 'items' => ['description' => 'The name of the layer resource.', 'type' => 'string', 'example' => 'layername', 'required' => false, 'title' => ''], 'required' => false, 'title' => '', 'example' => '', ], 'description' => ['description' => 'The description of the function.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'test desc'], 'environmentVariables' => [ 'title' => '', 'description' => 'The environment variables that you want to configure for the function. You can obtain the values of the environment variables in the function. For more information, see [Environment variables](~~69777~~).', 'type' => 'object', 'required' => false, 'additionalProperties' => ['description' => 'The environment variable configuration.', 'type' => 'string', 'example' => '{"key":"value"}', 'title' => ''], 'example' => '', ], 'handler' => ['description' => 'The entry point for function execution. The format varies based on the programming language. For more information, see [Handler](~~157704~~).', 'type' => 'string', 'example' => 'index.handler', 'title' => '', 'required' => false], 'memorySize' => ['description' => 'The memory size of the function in MB. The value must be a multiple of 64. The memory size varies by instance type. For more information, see [Instance types](~~179379~~).', 'type' => 'integer', 'format' => 'int32', 'example' => '512', 'title' => '', 'required' => false], 'runtime' => ['title' => 'runtime', 'description' => 'The runtime environment of the function. Valid values: **nodejs20**, **nodejs18**, **nodejs16**, **nodejs14**, **nodejs12**, **nodejs10**, **nodejs8**, **nodejs6**, **nodejs4.4**, **python3.10**, **python3.9**, **python3**, **python2.7**, **java11**, **java8**, **go1**, **php7.2**, **dotnetcore3.1**, **dotnetcore2.1**, **custom.debian10**, **custom**, and **custom-container**. For more information, see [Supported function runtimes](~~73338~~).', 'type' => 'string', 'example' => 'python3.9', 'required' => false], 'timeout' => ['description' => 'The timeout period for the function to run, in seconds. Minimum value: 1. Default value: 3. Function execution is terminated if it exceeds this time limit.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => '', 'required' => false], 'initializationTimeout' => ['description' => 'The timeout period for the initializer function to run, in seconds. Minimum value: 1. Default value: 3. The initializer function is terminated if its execution exceeds this time limit.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => '', 'required' => false], 'initializer' => ['description' => 'The entry point for the initializer function. The format varies based on the programming language. For more information, see [Handler](~~157704~~).', 'type' => 'string', 'example' => 'index.handler', 'title' => '', 'required' => false], 'caPort' => ['description' => 'The listening port of the HTTP server for a custom runtime or a Custom Container runtime.', 'type' => 'integer', 'format' => 'int32', 'example' => '9000', 'title' => '', 'required' => false], 'InstanceConcurrency' => ['description' => 'The maximum concurrency of the instance.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '10'], 'instanceSoftConcurrency' => ['description' => 'The soft concurrency of the instance. This is used for graceful scale-out. When the number of concurrent requests on an instance exceeds the soft concurrency, the instance scales out. For example, if your instance starts slowly, set a soft concurrency value to trigger scale-out in advance.'."\n" ."\n" .'The value must be less than or equal to **instanceConcurrency**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', 'title' => ''], 'instanceType' => ['description' => 'The instance type of the function. Valid values:'."\n" ."\n" .'- **e1**: elastic instance.'."\n" ."\n" .'- **c1**: performance instance.'."\n" ."\n" .'- **fc.gpu.tesla.1**: GPU-accelerated instance of the Tesla series.'."\n" ."\n" .'- **fc.gpu.ampere.1**: GPU-accelerated instance of the Ampere series.'."\n" ."\n" .'- **fc.gpu.ada.1**: GPU-accelerated instance of the Ada series.'."\n" ."\n" .'- **g1**: same as **fc.gpu.tesla.1**.', 'type' => 'string', 'required' => false, 'example' => 'e1', 'title' => ''], 'instanceLifecycleConfig' => ['description' => 'The instance lifecycle configuration.', '$ref' => '#/components/schemas/InstanceLifecycleConfig', 'required' => false, 'title' => '', 'example' => ''], 'customDNS' => ['description' => 'The custom DNS configuration of the function.', '$ref' => '#/components/schemas/CustomDNS', 'title' => '', 'required' => false, 'example' => ''], 'customRuntimeConfig' => ['description' => 'The detailed configuration of a custom runtime function.', '$ref' => '#/components/schemas/CustomRuntimeConfig', 'title' => '', 'required' => false, 'example' => ''], 'customHealthCheckConfig' => ['description' => 'The custom health check configuration of the function. This applies only to custom runtime and Custom Container.', '$ref' => '#/components/schemas/CustomHealthCheckConfig', 'title' => '', 'required' => false, 'example' => ''], 'cpu' => ['description' => 'The CPU specification of the function in vCPUs. The value must be a multiple of 0.05 vCPU.', 'type' => 'number', 'format' => 'float', 'example' => '1.5', 'title' => '', 'required' => false], 'diskSize' => ['description' => 'The disk size of the function in MB. Valid values: 512 MB and 10240 MB.', 'type' => 'integer', 'format' => 'int32', 'example' => '512', 'title' => '', 'required' => false], 'gpuMemorySize' => ['description' => 'The GPU memory size of the function in MB. The value must be a multiple of 1024.', 'type' => 'integer', 'format' => 'int32', 'example' => '2048', 'title' => '', 'required' => false], ], 'required' => false, 'example' => '', ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.', 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Code-Checksum', 'in' => 'header', 'schema' => ['description' => 'The CRC-64 value of the function code package.', 'type' => 'string', 'required' => false, 'example' => '1506052139770049xxxx', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The start date of the function call. The format is **EEE,d MMM yyyy HH:mm:ss GMT**.', 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The ID used to call the function. It corresponds to the `requestId` parameter in the response.', 'type' => 'string', 'required' => false, 'example' => 'test-trace-id', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [ 'ETag' => [ 'schema' => ['title' => 'function etag,用于更改function。以确保实际更改的function和期望更改的function是一致的.', 'type' => 'string', 'example' => '5e547e5605e1dc17a78a6191bc18fbc5'], ], ], 'schema' => [ 'title' => 'FunctionResponse', 'description' => 'The response parameters for updating the function.', 'type' => 'object', 'properties' => [ 'codeChecksum' => ['description' => 'The CRC-64 value of the function code package.', 'type' => 'string', 'example' => '5434025278388143772', 'title' => ''], 'codeSize' => ['description' => 'The size of the function code package returned by the system, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '1024', 'title' => ''], 'createdTime' => ['description' => 'The time when the function was created.', 'type' => 'string', 'example' => '2016-08-15T15:00:00.000+0000', 'title' => ''], 'customContainerConfig' => ['description' => 'The configuration of the Custom Container runtime. After you configure this parameter, the function can be executed using a custom container image.', '$ref' => '#/components/schemas/CustomContainerConfig', 'title' => '', 'example' => ''], 'layers' => [ 'description' => 'A list of layers.'."\n" ."\n" .'> Multiple layers are merged in descending order of the array index. The content of a layer with a smaller index overwrites the file with the same name in a layer with a larger index.', 'type' => 'array', 'items' => ['description' => 'The name of the layer resource.', 'type' => 'string', 'example' => 'md5#layername#version', 'title' => ''], 'title' => '', 'example' => '', ], 'description' => ['description' => 'The description of the function.', 'type' => 'string', 'example' => 'This is a demo hello world function', 'title' => ''], 'environmentVariables' => [ 'title' => '', 'description' => 'The environment variables that are configured for the function. You can obtain the values of the environment variables in the function. For more information, see [Environment variables](~~69777~~).', 'type' => 'object', 'additionalProperties' => ['description' => 'The environment variable configuration.', 'type' => 'string', 'example' => '{"key":"value"}', 'title' => ''], 'example' => '', ], 'functionId' => ['description' => 'The unique ID that the system generates for each function.', 'type' => 'string', 'example' => '2d28e0e9-9ba5-4eed-8b1a-d3d9cd24****', 'title' => ''], 'functionName' => ['description' => 'The name of the function.', 'type' => 'string', 'example' => 'demo-function', 'title' => ''], 'handler' => ['description' => 'The entry point of the function.', 'type' => 'string', 'example' => 'index.handler', 'title' => ''], 'lastModifiedTime' => ['description' => 'The time when the function was last modified.', 'type' => 'string', 'example' => '2016-08-15T17:00:00.000+0000', 'title' => ''], 'memorySize' => ['description' => 'The memory size of the function in MB.', 'type' => 'integer', 'format' => 'int32', 'example' => '512', 'title' => ''], 'runtime' => ['description' => 'The runtime environment of the function. Valid values: **nodejs20**, **nodejs18**, **nodejs16**, **nodejs14**, **nodejs12**, **nodejs10**, **nodejs8**, **nodejs6**, **nodejs4.4**, **python3.10**, **python3.9**, **python3**, **python2.7**, **java11**, **java8**, **go1**, **php7.2**, **dotnetcore3.1**, **dotnetcore2.1**, **custom.debian10**, **custom**, and **custom-container**. For more information, see [Supported function runtimes](~~73338~~).', 'type' => 'string', 'example' => 'python3.9', 'title' => ''], 'timeout' => ['description' => 'The timeout period for the function to run, in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'initializationTimeout' => ['description' => 'The timeout period for the initializer function to run, in seconds. Minimum value: 1. Default value: 3. The initializer function is terminated if its execution exceeds this time limit.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''], 'initializer' => ['description' => 'The entry point for the initializer function. The format varies based on the programming language.', 'type' => 'string', 'example' => 'index.handler', 'title' => ''], 'caPort' => ['description' => 'The listening port of the HTTP server for a cstom runtime or Custom Container runtime.', 'type' => 'integer', 'format' => 'int32', 'example' => '9000', 'title' => ''], 'instanceType' => ['description' => 'The instance type of the function. Valid values:'."\n" ."\n" .'- **e1**: elastic instance.'."\n" ."\n" .'- **c1**: performance instance.'."\n" ."\n" .'- **fc.gpu.tesla.1**: GPU-accelerated instance of the Tesla series.'."\n" ."\n" .'- **fc.gpu.ampere.1**: GPU-accelerated instance of the Ampere series.'."\n" ."\n" .'- **fc.gpu.ada.1**: GPU-accelerated instance of the Ada series.'."\n" ."\n" .'- **g1**: same as **fc.gpu.tesla.1**.', 'type' => 'string', 'example' => 'e1', 'title' => ''], 'instanceSoftConcurrency' => ['description' => 'The soft concurrency of the instance. This is used for graceful scale-out. When the number of concurrent requests on an instance exceeds the soft concurrency, the instance scales out. For example, if your instance starts slowly, you can set an appropriate soft concurrency to start instances in advance.'."\n" ."\n" .'The value must be less than or equal to **instanceConcurrency**.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], 'instanceLifecycleConfig' => ['description' => 'The instance lifecycle configuration.', '$ref' => '#/components/schemas/InstanceLifecycleConfig', 'title' => '', 'example' => ''], 'customDNS' => ['description' => 'The custom DNS configuration of the function.', '$ref' => '#/components/schemas/CustomDNS', 'title' => '', 'example' => ''], 'customRuntimeConfig' => ['description' => 'The detailed configuration of a custom runtime function.', '$ref' => '#/components/schemas/CustomRuntimeConfig', 'title' => '', 'example' => ''], 'customHealthCheckConfig' => ['description' => 'The custom health check configuration of the function. This applies only to custom runtime and Custom Container.', '$ref' => '#/components/schemas/CustomHealthCheckConfig', 'title' => '', 'example' => ''], 'cpu' => ['description' => 'The CPU specification of the function in vCPUs. The value must be a multiple of 0.05.', 'type' => 'number', 'format' => 'float', 'example' => '1.5', 'title' => ''], 'diskSize' => ['description' => 'The disk size of the function in MB. Valid values: 512 and 10240.', 'type' => 'integer', 'format' => 'int32', 'example' => '512', 'title' => ''], 'instanceConcurrency' => ['description' => 'The concurrency of a single instance.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'], 'gpuMemorySize' => ['description' => 'The GPU memory size of the function in MB. The value must be a multiple of 1024.', 'type' => 'integer', 'format' => 'int32', 'example' => '2048', 'title' => ''], 'layersArnV2' => [ 'title' => '', 'description' => 'The Alibaba Cloud Resource Names (ARNs) of the layer.', 'type' => 'array', 'items' => ['description' => 'The ARN of the layer.', 'type' => 'string', 'example' => 'acs:fc:cn-hangzhou:official:layers/Python310/versions/2', 'title' => ''], 'example' => '', ], ], 'example' => '', ], ], 400 => [], 403 => [], [], 409 => [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"codeChecksum\\": \\"5434025278388143772\\",\\n \\"codeSize\\": 1024,\\n \\"createdTime\\": \\"2016-08-15T15:00:00.000+0000\\",\\n \\"customContainerConfig\\": {\\n \\"args\\": \\"[\\\\\\"-arg1\\\\\\", \\\\\\"value1\\\\\\"]\\",\\n \\"command\\": \\"[\\\\\\"/code/myserver\\\\\\"]\\",\\n \\"image\\": \\"registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1beta1\\",\\n \\"accelerationType\\": \\"Default\\",\\n \\"instanceID\\": \\"cri-xxxxxxxxxx\\",\\n \\"webServerMode\\": true\\n },\\n \\"layers\\": [\\n \\"md5#layername#version\\"\\n ],\\n \\"description\\": \\"This is a demo hello world function\\",\\n \\"environmentVariables\\": {\\n \\"key\\": \\"{\\\\\\"key\\\\\\":\\\\\\"value\\\\\\"}\\"\\n },\\n \\"functionId\\": \\"2d28e0e9-9ba5-4eed-8b1a-d3d9cd24****\\",\\n \\"functionName\\": \\"demo-function\\",\\n \\"handler\\": \\"index.handler\\",\\n \\"lastModifiedTime\\": \\"2016-08-15T17:00:00.000+0000\\",\\n \\"memorySize\\": 512,\\n \\"runtime\\": \\"python3.9\\",\\n \\"timeout\\": 10,\\n \\"initializationTimeout\\": 60,\\n \\"initializer\\": \\"index.handler\\",\\n \\"caPort\\": 9000,\\n \\"instanceType\\": \\"e1\\",\\n \\"instanceSoftConcurrency\\": 5,\\n \\"instanceLifecycleConfig\\": {\\n \\"preFreeze\\": {\\n \\"handler\\": \\"index.preStop\\",\\n \\"timeout\\": 10\\n },\\n \\"preStop\\": {\\n \\"handler\\": \\"index.preStop\\",\\n \\"timeout\\": 10\\n }\\n },\\n \\"customDNS\\": {\\n \\"nameServers\\": [\\n \\"8.8.x.x\\"\\n ],\\n \\"searches\\": [\\n \\"ns1.svc.cluster-domain.example\\"\\n ],\\n \\"dnsOptions\\": [\\n {\\n \\"name\\": \\"ndots\\",\\n \\"value\\": \\"2\\"\\n }\\n ]\\n },\\n \\"customRuntimeConfig\\": {\\n \\"command\\": [\\n \\"/code/myBootstrap\\"\\n ],\\n \\"args\\": [\\n \\"args1\\"\\n ]\\n },\\n \\"customHealthCheckConfig\\": {\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 1,\\n \\"periodSeconds\\": 1,\\n \\"timeoutSeconds\\": 2,\\n \\"failureThreshold\\": 1,\\n \\"successThreshold\\": 2\\n },\\n \\"cpu\\": 1.5,\\n \\"diskSize\\": 512,\\n \\"instanceConcurrency\\": 10,\\n \\"gpuMemorySize\\": 2048,\\n \\"layersArnV2\\": [\\n \\"acs:fc:cn-hangzhou:official:layers/Python310/versions/2\\"\\n ]\\n}","type":"json"}]', 'title' => 'UpdateFunction', 'changeSet' => [ ['createdAt' => '2023-07-27T09:46:50.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2023-07-27T06:56:34.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2023-06-29T12:44:09.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2022-12-22T02:46:09.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2022-09-16T02:37:33.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-09-16T02:37:33.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2022-07-21T02:41:32.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2021-06-30T03:18:10.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:10.000Z', 'description' => 'Request parameters changed'], ['createdAt' => '2021-06-30T03:18:10.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2021-06-30T03:18:10.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateFunction'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:UpdateFunction', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'Function', 'arn' => 'acs:fc:{#regionId}:{#accountId}:services/{#ServiceName}/functions/{#FunctionName}'], ], ], ], ], ], 'UpdateService' => [ 'summary' => 'Updates a service.', 'path' => '/2021-04-06/services/{serviceName}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '22408', 'abilityTreeNodes' => ['FEATUREfcVF016G'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'If-Match', 'in' => 'header', 'schema' => ['title' => '', 'description' => 'The value used to ensure that the modified service is consistent with the service to be modified. The value is obtained from the responses of the [CreateService](~~175256~~), [UpdateService](~~188167~~), and [GetService](~~189225~~) operations.'."\n", 'type' => 'string', 'required' => false, 'example' => 'e19d5cd5af0378da05f63f891c7467af'], ], [ 'name' => 'serviceName', 'in' => 'path', 'allowEmptyValue' => false, 'schema' => ['title' => '', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demo-service'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '', 'description' => 'The definition of the service.'."\n", 'type' => 'object', 'properties' => [ 'description' => ['title' => '', 'description' => 'The description of the service.'."\n", 'type' => 'string', 'required' => false, 'example' => 'test service'], 'internetAccess' => ['title' => '', 'description' => 'Specifies whether to allow functions to access the Internet. Valid values:'."\n" ."\n" .'* **true**'."\n" .'* **false**'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'true'], 'logConfig' => ['description' => 'The logging configurations. Function execution logs are stored in the specified Logstores.'."\n", 'required' => false, '$ref' => '#/components/schemas/LogConfig', 'title' => ''], 'nasConfig' => ['description' => 'The configurations of the File Storage NAS (NAS) file system. These configurations allow functions to access the specified NAS resources.'."\n", 'required' => false, '$ref' => '#/components/schemas/NASConfig', 'title' => ''], 'role' => ['title' => '', 'description' => 'The RAM role that is used to grant required permissions to Function Compute. This role is applicable in the following scenarios:'."\n" ."\n" .'* Send function execution logs to your Logstores.'."\n" .'* Generate a token for a function to access other Alibaba Cloud resources during function execution.'."\n", 'type' => 'string', 'required' => false, 'example' => 'acs:ram::1234567890:role/fc-test'], 'vpcConfig' => ['description' => 'The configurations of virtual private clouds (VPCs). These configurations allow Function Compute to access the specified VPC resources.'."\n", 'required' => false, '$ref' => '#/components/schemas/VPCConfig', 'title' => ''], 'tracingConfig' => ['description' => 'The configurations of Managed Service for OpenTelemetry. After you configure Managed Service for OpenTelemetry for functions in Function Compute, you can record the execution durations of requests and internal processing durations of functions, and view the cold start latencies. For more information, see [Overview](~~189804~~).'."\n", 'required' => false, '$ref' => '#/components/schemas/TracingConfig', 'title' => ''], 'ossMountConfig' => ['title' => '', 'description' => 'The Object Storage Service (OSS) mounting configurations.'."\n", 'required' => false, '$ref' => '#/components/schemas/OSSMountConfig'], ], 'required' => false, ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the Function Compute API is called. The format is **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The custom request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'rid281s******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [ 'ETag' => [ 'schema' => ['title' => 'etag,用于更改服务。以确保实际更改的服务和期望更改的服务是一致的', 'type' => 'string', 'example' => '5e547e5605e1dc17a78a6191bc18fbc5'], ], ], 'schema' => [ 'title' => '', 'description' => 'The definition of the service.'."\n", 'type' => 'object', 'properties' => [ 'createdTime' => ['title' => '', 'description' => 'The time when the service was created.'."\n", 'type' => 'string', 'example' => '2016-08-15T16:06:05.000+0000'], 'description' => ['title' => '', 'description' => 'The description of the service.'."\n", 'type' => 'string', 'example' => 'test_description'], 'internetAccess' => ['title' => '', 'description' => 'Specifies whether to allow functions to access the Internet. Valid values:'."\n" ."\n" .'* **true**: allows functions in the specified service to access the Internet.'."\n" .'* **false**: does not allow functions to access the Internet.'."\n", 'type' => 'boolean', 'example' => 'true'], 'lastModifiedTime' => ['title' => '', 'description' => 'The time when the service was last modified.'."\n", 'type' => 'string', 'example' => '2016-08-15T16:06:05.000+0000'], 'logConfig' => ['description' => 'The logging configurations. Function Compute writes function execution logs to the specified Logstores.'."\n", '$ref' => '#/components/schemas/LogConfig', 'title' => ''], 'nasConfig' => ['description' => 'The configurations of the NAS file system. These configurations allow functions to access the specified NAS resources.'."\n", '$ref' => '#/components/schemas/NASConfig', 'title' => ''], 'role' => ['title' => '', 'description' => 'The RAM role that is used to grant required permissions to Function Compute. The RAM role is used in the following scenarios:'."\n" ."\n" .'* Sends function execution logs to your Logstore.'."\n" .'* Generates a token for a function to access other cloud resources during function execution.'."\n", 'type' => 'string', 'example' => 'acs:ram::1234567890:role/fc-test'], 'serviceId' => ['title' => '', 'description' => 'The unique ID generated by the system for the service.'."\n", 'type' => 'string', 'example' => '2d28e0e9-9ba5-4eed-8b1a-d3d9cd24e737'], 'serviceName' => ['title' => '', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'example' => 'demo-service'], 'vpcConfig' => ['description' => 'The VPC configurations, which allow functions to access the specified VPC resources.'."\n", '$ref' => '#/components/schemas/VPCConfig', 'title' => ''], 'tracingConfig' => ['description' => 'The configurations of Managed Service for OpenTelemetry. After you configure Managed Service for OpenTelemetry for functions in Function Compute, you can record the execution durations of requests and internal processing durations of functions, and view the cold start latencies. For more information, see [Overview](~~189804~~).'."\n", '$ref' => '#/components/schemas/TracingConfig', 'title' => ''], 'ossMountConfig' => ['title' => '', 'description' => 'The OSS mounting configurations.'."\n", '$ref' => '#/components/schemas/OSSMountConfig'], 'useSLRAuthentication' => ['description' => 'Indicates whether service-linked role authorization is enabled. Valid values:'."\n" ."\n" .'* true'."\n" .'* false'."\n", 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], ], ], 400 => [], 403 => [], [], 500 => [], 'headers' => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"createdTime\\": \\"2016-08-15T16:06:05.000+0000\\",\\n \\"description\\": \\"test_description\\",\\n \\"internetAccess\\": true,\\n \\"lastModifiedTime\\": \\"2016-08-15T16:06:05.000+0000\\",\\n \\"logConfig\\": {\\n \\"logstore\\": \\"test-prj\\",\\n \\"project\\": \\"test-logstore\\",\\n \\"enableRequestMetrics\\": true,\\n \\"enableInstanceMetrics\\": true,\\n \\"logBeginRule\\": \\"DefaultRegex\\"\\n },\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.aliyuncs.com:/\\",\\n \\"enableTLS\\": false\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"role\\": \\"acs:ram::1234567890:role/fc-test\\",\\n \\"serviceId\\": \\"2d28e0e9-9ba5-4eed-8b1a-d3d9cd24e737\\",\\n \\"serviceName\\": \\"demo-service\\",\\n \\"vpcConfig\\": {\\n \\"securityGroupId\\": \\"sg-bp18hj1wtxgy3b0***\\",\\n \\"vSwitchIds\\": [\\n \\"vsw-bp1ozpcrdc6r****\\"\\n ],\\n \\"vpcId\\": \\"vpc-***\\",\\n \\"role\\": \\"acs:ram::1234567890:role/fc-test\\"\\n },\\n \\"tracingConfig\\": {\\n \\"type\\": \\"Jaeger\\",\\n \\"params\\": {\\n \\"key\\": \\"{\\\\\\"endpoint\\\\\\": \\\\\\"tracing_analysis_jaeger_endpoint\\\\\\"}\\"\\n }\\n },\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true,\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"bucketPath\\": \\"/my-dir\\"\\n }\\n ]\\n },\\n \\"useSLRAuthentication\\": true\\n}","type":"json"}]', 'title' => 'UpdateService', 'changeSet' => [ ['createdAt' => '2023-12-27T03:47:37.000Z', 'description' => 'Response parameters changed'], ['createdAt' => '2022-08-12T02:45:54.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2022-06-06T03:16:27.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ['createdAt' => '2021-06-30T03:18:08.000Z', 'description' => 'OpenAPI offline'], ['createdAt' => '2021-06-30T03:18:08.000Z', 'description' => 'Request parameters changed'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateService'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:UpdateService', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'fc:EnableServiceSLSLogging'], ['conditionKey' => 'fc:EnableServiceInternetAccess'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'Service', 'arn' => 'acs:fc:{#regionId}:{#accountId}:services/{#ServiceName}'], ], ], ], ], ], 'UpdateTrigger' => [ 'summary' => 'Modifies a trigger.', 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/triggers/{triggerName}', 'methods' => ['put'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '22378', 'abilityTreeNodes' => ['FEATUREfc0CDUNQ'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'If-Match', 'in' => 'header', 'schema' => ['title' => '', 'description' => 'This parameter is used to ensure that the modified resource is consistent with the resource to be modified. You can obtain the parameter value from the responses of [CreateTrigger](~~190054~~), [GetTrigger](~~190056~~), and [UpdateTrigger](~~190055~~) operations.'."\n", 'type' => 'string', 'required' => false, 'example' => 'e19d5cd5af0378da05f63f891c7467af'], ], [ 'name' => 'serviceName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the service.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoService'], ], [ 'name' => 'functionName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the function.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoFunction'], ], [ 'name' => 'triggerName', 'in' => 'path', 'schema' => ['title' => '', 'description' => 'The name of the trigger.'."\n", 'type' => 'string', 'required' => true, 'example' => 'demoTrigger'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'title' => '', 'description' => 'The definition of the trigger.'."\n", 'type' => 'object', 'properties' => [ 'invocationRole' => ['title' => '', 'description' => 'The role that is used by the event source such as Object Storage Service (OSS) to invoke the function. For more information, see [Overview](~~53102~~).'."\n", 'type' => 'string', 'required' => false, 'example' => 'acs:ram::123456xxxx:role/fc-test'], 'qualifier' => ['title' => '', 'description' => 'The version or alias of the service.'."\n", 'type' => 'string', 'required' => false, 'example' => 'LATEST'], 'triggerConfig' => ['title' => '', 'description' => 'The configurations of the trigger. The configurations vary based on the trigger type. For more information about the format, see the following topics:'."\n" ."\n" .'* Object Storage Service (OSS) trigger: [OSSTriggerConfig](~~415697~~).'."\n" .'* Simple Log Service trigger: [LogTriggerConfig](~~415694~~).'."\n" .'* Time trigger: [TimeTriggerConfig](~~415712~~).'."\n" .'* HTTP trigger: [HTTPTriggerConfig](~~415685~~).'."\n" .'* Tablestore trigger: Specify the **SourceArn** parameter and leave this parameter empty.'."\n" .'* Alibaba Cloud CDN event trigger: [CDNEventsTriggerConfig](~~415674~~).'."\n" .'* MNS topic trigger: [MnsTopicTriggerConfig](~~415695~~).'."\n" .'* EventBridge triggers: [EventBridgeTriggerConfig](~~2508622~~).'."\n", 'type' => 'string', 'required' => false, 'example' => '{"events": ["oss:ObjectCreated:*"], "filter": {"key": {"prefix": "/prefix", "suffix": ".zip"}}}'], 'description' => ['description' => 'The description of the trigger.'."\n", 'type' => 'string', 'required' => false, 'example' => 'trigger for test', 'title' => ''], ], 'required' => false, ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', 'schema' => ['description' => 'The ID of your Alibaba Cloud account.'."\n", 'type' => 'string', 'required' => false, 'example' => '188077086902****', 'title' => ''], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', 'schema' => ['description' => 'The time when the request is initiated on the client. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Wed, 11 May 2022 09:00:00 GMT', 'title' => ''], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', 'schema' => ['description' => 'The custom request ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'my-test-trace-id', 'title' => ''], ], ], 'responses' => [ 200 => [ 'headers' => [ 'ETag' => [ 'schema' => ['title' => 'trigger etag,用于更改trigger。以确保实际更改的trigger和期望更改的trigger是一致的', 'type' => 'string', 'example' => '5e547e5605e1dc17a78a6191bc18fbc5'], ], ], 'schema' => [ 'title' => 'TriggerResponse', 'description' => 'The definition of the trigger.'."\n", 'type' => 'object', 'properties' => [ 'createdTime' => ['title' => '', 'description' => 'The time when the audio or video file was created.'."\n", 'type' => 'string', 'example' => '2016-08-15T15:00:00.000+0000'], 'invocationRole' => ['title' => '', 'description' => 'The ARN of the RAM role that is used by the event source to invoke the function.'."\n", 'type' => 'string', 'example' => 'acs:ram::123456xxxx:role/fc-test'], 'lastModifiedTime' => ['title' => '', 'description' => 'The last modification time.'."\n", 'type' => 'string', 'example' => '016-08-15T17:00:00.000+0000'], 'qualifier' => ['title' => '', 'description' => 'The version or alias of the service.'."\n", 'type' => 'string', 'example' => 'LATEST'], 'sourceArn' => ['title' => '', 'description' => 'The ARN of the event source.'."\n", 'type' => 'string', 'example' => 'acs:oss:cn-shanghai:12345xxxx:mybucket'], 'triggerConfig' => ['title' => '', 'description' => 'The configurations of the trigger. The configurations vary based on the trigger type.'."\n", 'type' => 'string', 'example' => '{"events": ["oss:ObjectCreated:*"], "filter": {"key": {"prefix": "/prefix", "suffix": ".zip"}}}'], 'triggerName' => ['title' => '', 'description' => 'The name of the trigger.'."\n", 'type' => 'string', 'example' => 'demoTrigger'], 'triggerType' => ['title' => '', 'description' => 'The trigger type. Example values: **oss**, **log**, **tablestore**, **timer**, **http**, **cdn_events**, **mns_topic**, and **eventbridge**.'."\n", 'type' => 'string', 'example' => 'oss'], 'description' => ['description' => 'The description of the trigger.'."\n", 'type' => 'string', 'example' => 'trigger for test', 'title' => ''], 'triggerId' => ['description' => 'The unique ID of the trigger.'."\n", 'type' => 'string', 'example' => '3e270f2f-cef2-421a-bc86-ff4e8088****', 'title' => ''], 'domainName' => ['title' => '', 'description' => 'The domain name used to invoke the function by using HTTP. You can add this domain name as the prefix to the endpoint of Function Compute. This way, you can invoke the function that corresponds to the trigger by using HTTP. For example, `{domainName}.cn-shanghai.fc.aliyuncs.com`.'."\n", 'type' => 'string', 'example' => 'demo-service-demo-function-jkhksh'], 'urlInternet' => ['title' => '', 'description' => 'The public domain address. You can access HTTP triggers over the Internet by using HTTP or HTTPS.'."\n", 'type' => 'string', 'example' => 'https://svc-func-xxxxxxxx.cn-hangzhou.fcapp.run'], 'urlIntranet' => ['title' => '', 'description' => 'The private endpoint. In a VPC, you can access HTTP triggers by using HTTP or HTTPS.'."\n", 'type' => 'string', 'example' => 'https://svc-func-xxxxxxxx.cn-hangzhou-vpc.fcapp.run'], 'status' => ['title' => '', 'description' => 'The current state of the trigger. This parameter is valid only for EventBridge-based triggers.'."\n", 'type' => 'string', 'example' => 'RUNNING'], 'targetArn' => ['title' => '', 'description' => 'The Alibaba Cloud Resource Name (ARN) of the function associated with the trigger.'."\n", 'type' => 'string', 'example' => 'acs:fc::123456xxxx:services/my-test-service.LATEST/functions/my-test-function'], ], ], ], 400 => [], 403 => [], [], 409 => [], 500 => [], ], 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"createdTime\\": \\"2016-08-15T15:00:00.000+0000\\",\\n \\"invocationRole\\": \\"acs:ram::123456xxxx:role/fc-test\\",\\n \\"lastModifiedTime\\": \\"016-08-15T17:00:00.000+0000\\",\\n \\"qualifier\\": \\"LATEST\\",\\n \\"sourceArn\\": \\"acs:oss:cn-shanghai:12345xxxx:mybucket\\",\\n \\"triggerConfig\\": \\"{\\\\\\"events\\\\\\": [\\\\\\"oss:ObjectCreated:*\\\\\\"], \\\\\\"filter\\\\\\": {\\\\\\"key\\\\\\": {\\\\\\"prefix\\\\\\": \\\\\\"/prefix\\\\\\", \\\\\\"suffix\\\\\\": \\\\\\".zip\\\\\\"}}}\\",\\n \\"triggerName\\": \\"demoTrigger\\",\\n \\"triggerType\\": \\"oss\\",\\n \\"description\\": \\"trigger for test\\",\\n \\"triggerId\\": \\"3e270f2f-cef2-421a-bc86-ff4e8088****\\",\\n \\"domainName\\": \\"demo-service-demo-function-jkhksh\\",\\n \\"urlInternet\\": \\"https://svc-func-xxxxxxxx.cn-hangzhou.fcapp.run\\",\\n \\"urlIntranet\\": \\"https://svc-func-xxxxxxxx.cn-hangzhou-vpc.fcapp.run\\",\\n \\"status\\": \\"RUNNING\\",\\n \\"targetArn\\": \\"acs:fc::123456xxxx:services/my-test-service.LATEST/functions/my-test-function\\"\\n}","type":"json"}]', 'title' => 'UpdateTrigger', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTrigger'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:UpdateTrigger', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], ], ], 'endpoints' => [ ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'fc.cn-beijing.aliyuncs.com', 'endpoint' => 'fc.cn-beijing.aliyuncs.com', 'vpc' => 'fc-vpc.cn-beijing.aliyuncs.com'], ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'fc.cn-qingdao.aliyuncs.com', 'endpoint' => 'fc.cn-qingdao.aliyuncs.com', 'vpc' => 'fc-vpc.cn-qingdao.aliyuncs.com'], ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'fc.cn-shanghai.aliyuncs.com', 'endpoint' => 'fc.cn-shanghai.aliyuncs.com', 'vpc' => 'fc-vpc.cn-shanghai.aliyuncs.com'], ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'fc.cn-hongkong.aliyuncs.com', 'endpoint' => 'fc.cn-hongkong.aliyuncs.com', 'vpc' => 'fc-vpc.cn-hongkong.aliyuncs.com'], ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'fc.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'fc.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'fc-vpc.cn-zhangjiakou.aliyuncs.com'], ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'fc.cn-shenzhen.aliyuncs.com', 'endpoint' => 'fc.cn-shenzhen.aliyuncs.com', 'vpc' => 'fc-vpc.cn-shenzhen.aliyuncs.com'], ['regionId' => 'ap-northeast-2', 'regionName' => 'South Korea (Seoul)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'fc.ap-northeast-2.aliyuncs.com', 'endpoint' => 'fc.ap-northeast-2.aliyuncs.com', 'vpc' => 'fc-vpc.ap-northeast-2.aliyuncs.com'], ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'fc.ap-northeast-1.aliyuncs.com', 'endpoint' => 'fc.ap-northeast-1.aliyuncs.com', 'vpc' => 'fc-vpc.ap-northeast-1.aliyuncs.com'], ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'fc.cn-chengdu.aliyuncs.com', 'endpoint' => 'fc.cn-chengdu.aliyuncs.com', 'vpc' => 'fc-vpc.cn-chengdu.aliyuncs.com'], ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'fc.ap-southeast-1.aliyuncs.com', 'endpoint' => 'fc.ap-southeast-1.aliyuncs.com', 'vpc' => 'fc-vpc.ap-southeast-1.aliyuncs.com'], ['regionId' => 'ap-southeast-2', 'regionName' => 'Australia (Sydney) Closed', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'fc.ap-southeast-2.aliyuncs.com', 'endpoint' => 'fc.ap-southeast-2.aliyuncs.com', 'vpc' => 'fc-vpc.ap-southeast-2.aliyuncs.com'], ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'fc.ap-southeast-3.aliyuncs.com', 'endpoint' => 'fc.ap-southeast-3.aliyuncs.com', 'vpc' => 'fc-vpc.ap-southeast-3.aliyuncs.com'], ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'fc.cn-huhehaote.aliyuncs.com', 'endpoint' => 'fc.cn-huhehaote.aliyuncs.com', 'vpc' => 'fc-vpc.cn-huhehaote.aliyuncs.com'], ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'fc.ap-southeast-5.aliyuncs.com', 'endpoint' => 'fc.ap-southeast-5.aliyuncs.com', 'vpc' => 'fc-vpc.ap-southeast-5.aliyuncs.com'], ['regionId' => 'ap-southeast-7', 'regionName' => 'Thailand (Bangkok)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'fc.ap-southeast-7.aliyuncs.com', 'endpoint' => 'fc.ap-southeast-7.aliyuncs.com', 'vpc' => 'fc-vpc.ap-southeast-7.aliyuncs.com'], ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'fc.cn-hangzhou.aliyuncs.com', 'endpoint' => 'fc.cn-hangzhou.aliyuncs.com', 'vpc' => 'fc-vpc.cn-hangzhou.aliyuncs.com'], ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'fc.us-east-1.aliyuncs.com', 'endpoint' => 'fc.us-east-1.aliyuncs.com', 'vpc' => 'fc-vpc.us-east-1.aliyuncs.com'], ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'fc.eu-west-1.aliyuncs.com', 'endpoint' => 'fc.eu-west-1.aliyuncs.com', 'vpc' => 'fc-vpc.eu-west-1.aliyuncs.com'], ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'fc.us-west-1.aliyuncs.com', 'endpoint' => 'fc.us-west-1.aliyuncs.com', 'vpc' => 'fc-vpc.us-west-1.aliyuncs.com'], ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'fc.eu-central-1.aliyuncs.com', 'endpoint' => 'fc.eu-central-1.aliyuncs.com', 'vpc' => 'fc-vpc.eu-central-1.aliyuncs.com'], ['regionId' => 'ap-south-1', 'regionName' => 'India (Mumbai) Closed', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'fc.ap-south-1.aliyuncs.com', 'endpoint' => 'fc.ap-south-1.aliyuncs.com', 'vpc' => 'fc-vpc.ap-south-1.aliyuncs.com'], ['regionId' => 'cn-hangzhou-finance', 'regionName' => 'China East 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'account-id.cn-hangzhou-finance.fc.aliyuncs.com', 'endpoint' => 'account-id.cn-hangzhou-finance.fc.aliyuncs.com', 'vpc' => ''], ], 'errorCodes' => [ ['code' => 'AccessDenied', 'message' => 'AccessDenied: %s', 'http_code' => 403, 'description' => ''], ['code' => 'AdditionalVersionContainsMajorVersion', 'message' => 'additionalVersionWeight %+v should not contain major version %d', 'http_code' => 400, 'description' => 'The version weight includes the major version.'], ['code' => 'AliasAlreadyExists', 'message' => 'alias %s of service %s already exists', 'http_code' => 409, 'description' => ''], ['code' => 'AliasNotFound', 'message' => 'alias %s of service %s does not exist', 'http_code' => 404, 'description' => ''], ['code' => 'AsyncConfigNotExists', 'message' => 'AsyncConfig for %s:%s does not exist.', 'http_code' => 404, 'description' => ''], ['code' => 'AsyncInvocationStopped', 'message' => 'The async invocation for %s:%s:%s has been stopped', 'http_code' => 412, 'description' => ''], ['code' => 'BadResponse', 'message' => 'BadResponse: %s', 'http_code' => 502, 'description' => ''], ['code' => 'CAExited', 'message' => 'The function either cannot be started or exited. %s', 'http_code' => 412, 'description' => ''], ['code' => 'CAFileNotFound', 'message' => 'The function cannot be started. %s', 'http_code' => 412, 'description' => ''], ['code' => 'CAFilePermission', 'message' => 'The function cannot be started. %s', 'http_code' => 412, 'description' => ''], ['code' => 'ClientClosedRequest', 'message' => 'client Closed Request', 'http_code' => 499, 'description' => 'The client interrupted the request.'], ['code' => 'ConcurrentUpdateError', 'message' => 'ConcurrentUpdateError: %s', 'http_code' => 409, 'description' => ''], ['code' => 'DestinationDeliveryFailed', 'message' => 'DestinationDeliveryFailed: %s', 'http_code' => 500, 'description' => ''], ['code' => 'DomainNameAlreadyExists', 'message' => 'domain name %s already exists', 'http_code' => 409, 'description' => ''], ['code' => 'DomainNameNotFound', 'message' => 'domain name %s does not exist', 'http_code' => 404, 'description' => ''], ['code' => 'DomainNameNotResolved', 'message' => 'domain name %s has not been resolved to your FC endpoint, the expected endpoint is %s', 'http_code' => 400, 'description' => ''], ['code' => 'DomainNameResolveError', 'message' => 'failed to resolve domain name %s, make sure your name server is valid please', 'http_code' => 400, 'description' => ''], ['code' => 'DomainRouteNotFound', 'message' => 'no route found in domain %s for path %s and method %s', 'http_code' => 404, 'description' => ''], ['code' => 'EntityTooLarge', 'message' => 'payload size exceeds maximum allowed size (%s bytes)', 'http_code' => 400, 'description' => ''], ['code' => 'EventSourceAlreadyExists', 'message' => 'event source %s already exists in service %s.%s and function %s', 'http_code' => 409, 'description' => ''], ['code' => 'EventSourceNotFound', 'message' => 'event source %s does not exist in service %s.%s and function %s', 'http_code' => 404, 'description' => ''], ['code' => 'FnF.InvalidOutput', 'message' => 'The output (%s) is not a valid JSON object', 'http_code' => 400, 'description' => ''], ['code' => 'FunctionAlreadyExists', 'message' => 'function %s already exists in service %s', 'http_code' => 409, 'description' => ''], ['code' => 'FunctionNotEmpty', 'message' => 'function %s has triggers. Please delete all its triggers before deleting the function.', 'http_code' => 409, 'description' => ''], ['code' => 'FunctionNotFound', 'message' => 'function %s does not exist in service %s', 'http_code' => 404, 'description' => ''], ['code' => 'FunctionNotFoundByVersion', 'message' => 'function %s does not exist in service %s by version %d', 'http_code' => 404, 'description' => ''], ['code' => 'FunctionNotStarted', 'message' => 'The function http server cannot be started. %s', 'http_code' => 412, 'description' => ''], ['code' => 'HTTPTriggerNotFound', 'message' => 'there is no http trigger associated with service %s, function %s and qualifier %s', 'http_code' => 404, 'description' => ''], ['code' => 'InstanceMetricsRequired', 'message' => 'Target tracking policy required instance metrics enabled.', 'http_code' => 400, 'description' => 'When configuring target tracking policy in PutProvisionConfig, you must enable the instance metric collection feature for your function.'], ['code' => 'InstanceNotFound', 'message' => 'instance %s does not exist', 'http_code' => 404, 'description' => ''], ['code' => 'InternalServerError', 'message' => 'an internal error has occurred. Please retry.', 'http_code' => 500, 'description' => 'An internal system error occurred.'], ['code' => 'InvalidAccessKeyID', 'message' => 'invalid access key ID %s', 'http_code' => 403, 'description' => ''], ['code' => 'InvalidArgument', 'message' => 'Invalid argument: %s', 'http_code' => 400, 'description' => 'Invalid argument'], ['code' => 'InvalidDestinationResources', 'message' => 'The destination resource is invalid: %s', 'http_code' => 400, 'description' => ''], ['code' => 'InvalidICPLicense', 'message' => 'domain name %s has not got ICP license, or the ICP license does not belong to Aliyun', 'http_code' => 400, 'description' => ''], ['code' => 'LayerNotFound', 'message' => 'The layer is not found. LayerName: %s.', 'http_code' => 404, 'description' => ''], ['code' => 'LayerVersionNotFound', 'message' => 'The layer version is not found. LayerName: %s , Version:%d.', 'http_code' => 404, 'description' => ''], ['code' => 'LayerVersionNotFoundByArn', 'message' => 'The layer version is not found. LayerArn: %s.', 'http_code' => 404, 'description' => ''], ['code' => 'LimitExceededError', 'message' => 'LimitExceededError: %s', 'http_code' => 400, 'description' => ''], ['code' => 'MissingRequiredHeader', 'message' => 'required HTTP header %s was not specified', 'http_code' => 400, 'description' => ''], ['code' => 'OnDemandConfigNotFound', 'message' => 'on-demand config for %s does not exist', 'http_code' => 404, 'description' => ''], ['code' => 'OSSInvalidRequest', 'message' => 'event source oss returned error: %s', 'http_code' => 400, 'description' => ''], ['code' => 'PathNotSupported', 'message' => '%s against %s is not supported', 'http_code' => 404, 'description' => ''], ['code' => 'PreconditionFailed', 'message' => 'the resource being modified has been changed', 'http_code' => 412, 'description' => 'The resource has been changed.'], ['code' => 'ProvisionConfigExist', 'message' => 'provision config exists for service %s, alias %s, functions %s', 'http_code' => 409, 'description' => ''], ['code' => 'ProvisionConfigNotFound', 'message' => 'provision config not exist for service %s, alias %s, functions %s', 'http_code' => 404, 'description' => ''], ['code' => 'PullImageFailed', 'message' => 'Failed to pull image. %s', 'http_code' => 412, 'description' => ''], ['code' => 'RequestTimeTooSkewed', 'message' => 'the difference between the request time %s and the current time %s is too large', 'http_code' => 403, 'description' => ''], ['code' => 'ResourceExhausted', 'message' => 'Concurrent request count exceeded', 'http_code' => 429, 'description' => 'The number of concurrent requests exceeds the limit for the account or function.'], ['code' => 'ResourceThrottled', 'message' => 'ResourceThrottled: %s', 'http_code' => 503, 'description' => ''], ['code' => 'ServiceAlreadyExists', 'message' => 'service %s already exists', 'http_code' => 409, 'description' => ''], ['code' => 'ServiceNotEmpty', 'message' => 'service %s has active %s', 'http_code' => 409, 'description' => ''], ['code' => 'ServiceNotFound', 'message' => 'service %s does not exist', 'http_code' => 404, 'description' => ''], ['code' => 'ServiceUnavailable', 'message' => 'the service is temporarily unavailable', 'http_code' => 503, 'description' => 'Service unavailable.'], ['code' => 'SignatureNotMatch', 'message' => 'The request signature we calculated does not match the signature you provided. Check your access key and signing method.', 'http_code' => 403, 'description' => 'Invalid request signature.'], ['code' => 'StatefulAsyncInvocationAlreadyCompleted', 'message' => 'The invocation (status: %s) has already been completed and cannot be stopped', 'http_code' => 412, 'description' => ''], ['code' => 'StatefulAsyncInvocationAlreadyExists', 'message' => 'The stateful invocation %s already exists.', 'http_code' => 409, 'description' => ''], ['code' => 'StatefulAsyncInvocationNotFound', 'message' => 'The stateful invocation for %s:%s:%s does not exist.', 'http_code' => 404, 'description' => ''], ['code' => 'SubdomainTriggerMappingAlreadyExists', 'message' => 'subdomain %s already exists', 'http_code' => 409, 'description' => ''], ['code' => 'SubdomainTriggerMappingNotFound', 'message' => 'subdomain %s does not exist', 'http_code' => 404, 'description' => ''], ['code' => 'TargetServerErrorNeedsRetry', 'message' => 'TargetServerErrorNeedsRetry: %s', 'http_code' => 503, 'description' => ''], ['code' => 'TriggerAlreadyExists', 'message' => 'trigger %s already exists in service %s and function %s', 'http_code' => 409, 'description' => ''], ['code' => 'TriggerNotFound', 'message' => 'trigger %s does not exist in service %s and function %s', 'http_code' => 404, 'description' => ''], ['code' => 'UnsupportedMediaType', 'message' => 'content type should be application/json or application/octet-stream', 'http_code' => 415, 'description' => 'Invalid requested media type.'], ['code' => 'VersionAlreadyInUse', 'message' => 'the version %d is already in use by alias %s. Please delete all the aliases that use this version first.', 'http_code' => 409, 'description' => ''], ['code' => 'VersionIsDeleted', 'message' => 'VersionIsDeleted: %s', 'http_code' => 404, 'description' => ''], ['code' => 'VersionNotFound', 'message' => 'version %d of service %s does not exist', 'http_code' => 404, 'description' => ''], ['code' => 'VersionPublishError', 'message' => 'can not publish version for service %s, detail: %s', 'http_code' => 400, 'description' => ''], ['code' => 'VpcBindingAlreadyExists', 'message' => 'VPC binding already exists', 'http_code' => 409, 'description' => 'The VPC association already exists'], ['code' => 'VpcBindingNotFound', 'message' => 'VPC binding not found', 'http_code' => 404, 'description' => 'The requested VPC association does not exist.'], ], 'changeSet' => [ [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ListInstances'], ['description' => 'Request parameters changed', 'api' => 'UntagResource'], ], 'createdAt' => '2024-03-27T08:29:18.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateTrigger'], ], 'createdAt' => '2024-02-19T10:09:23.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'CreateCustomDomain'], ], 'createdAt' => '2024-02-19T09:21:19.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'UpdateTrigger'], ], 'createdAt' => '2023-12-29T12:08:30.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'CreateAlias'], ['description' => 'Response parameters changed', 'api' => 'UpdateAlias'], ], 'createdAt' => '2023-12-28T03:33:25.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'CreateService'], ['description' => 'Response parameters changed', 'api' => 'GetService'], ['description' => 'Response parameters changed', 'api' => 'ListServices'], ['description' => 'Response parameters changed', 'api' => 'UpdateService'], ], 'createdAt' => '2023-12-27T03:47:49.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'ListFunctions'], ], 'createdAt' => '2023-12-22T08:01:54.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ListVpcBindings'], ], 'createdAt' => '2023-12-22T07:46:25.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'CreateFunction'], ['description' => 'Response parameters changed', 'api' => 'UpdateFunction'], ], 'createdAt' => '2023-07-27T09:47:16.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'CreateFunction'], ['description' => 'Response parameters changed', 'api' => 'GetFunction'], ['description' => 'Response parameters changed', 'api' => 'UpdateFunction'], ], 'createdAt' => '2023-07-27T06:57:02.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'CreateFunction'], ['description' => 'Response parameters changed', 'api' => 'UpdateFunction'], ], 'createdAt' => '2023-06-29T12:44:35.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'InvokeFunction'], ], 'createdAt' => '2023-05-30T06:29:57.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateLayerVersion'], ['description' => 'Request parameters changed', 'api' => 'CreateTrigger'], ], 'createdAt' => '2022-12-27T03:13:00.000Z', 'description' => '更新字段必填', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'UpdateFunction'], ], 'createdAt' => '2022-12-22T02:47:33.000Z', 'description' => 'UpdateFunction API 新增 instanceConcurrency 字段', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateLayerVersion'], ], 'createdAt' => '2022-12-16T09:47:36.000Z', 'description' => '修改layerName为必填', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ClaimGPUInstance'], ], 'createdAt' => '2022-12-07T11:18:54.000Z', 'description' => '更新函数计算ClaimGpuInstance API,添加用户专有网络配置', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateVpcBinding'], ['description' => 'Request parameters changed', 'api' => 'DeleteVpcBinding'], ['description' => 'Request parameters changed', 'api' => 'DeregisterEventSource'], ['description' => 'Request parameters changed', 'api' => 'GetCustomDomain'], ['description' => 'Request parameters changed', 'api' => 'ListFunctions'], ['description' => 'Request parameters changed', 'api' => 'StopStatefulAsyncInvocation'], ['description' => 'Request parameters changed', 'api' => 'UpdateCustomDomain'], ], 'createdAt' => '2022-11-28T05:05:59.000Z', 'description' => '修复OpenAPI必填值字段,只体现在文档以及API调试页面,对用户生产使用无影响', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'GetFunction'], ], 'createdAt' => '2022-10-27T11:34:21.000Z', 'description' => 'GetFunction新增返回值 layersArnV2', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'UpdateFunction'], ['description' => 'Request parameters changed', 'api' => 'UpdateFunction'], ], 'createdAt' => '2022-09-16T02:38:21.000Z', 'description' => '修复部分参数', ], [ 'apis' => [ ['description' => 'Response parameters changed, Response parameters changed', 'api' => 'PutLayerACL'], ], 'createdAt' => '2022-09-06T03:50:43.000Z', 'description' => 'Update PutLayerACL output parameters', ], [ 'apis' => [ ['description' => 'OpenAPI offline', 'api' => 'ReleaseGPUInstance'], ], 'createdAt' => '2022-09-02T09:13:50.000Z', 'description' => '函数计算新增GPU渲染API - ReleaseGPUInstance', ], [ 'apis' => [ ['description' => 'OpenAPI offline', 'api' => 'ClaimGPUInstance'], ['description' => 'OpenAPI offline', 'api' => 'ReleaseGPUInstance'], ], 'createdAt' => '2022-09-02T08:55:48.000Z', 'description' => '函数计算新增GPU渲染场景API', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateFunction'], ['description' => 'Response parameters changed', 'api' => 'GetFunction'], ], 'createdAt' => '2022-08-23T09:50:51.000Z', 'description' => '用户视角', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateService'], ['description' => 'Response parameters changed', 'api' => 'GetService'], ['description' => 'Response parameters changed', 'api' => 'ListServices'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'UpdateService'], ], 'createdAt' => '2022-08-12T02:50:08.000Z', 'description' => '增加OSS挂载参数', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ListLayers'], ], 'createdAt' => '2022-08-11T02:54:27.000Z', 'description' => '1. 新增 PutLayerACL API,支持修改层的权限(公开/私有)。2. Layer 结构新增 arnV2字段,代替arn字段,后期arn字段会废弃。3. ListLayers API 新增两个query:official,public,支持查询官方公共层,个人公共层。', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateAlias'], ['description' => 'Response parameters changed', 'api' => 'GetAlias'], ['description' => 'Response parameters changed', 'api' => 'ListAliases'], ['description' => 'Request parameters changed', 'api' => 'UpdateAlias'], ], 'createdAt' => '2022-08-04T06:28:53.000Z', 'description' => 'Alias 结构体新增加灰度规则配置项。', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateFunction'], ['description' => 'Response parameters changed', 'api' => 'GetFunction'], ['description' => 'Response parameters changed', 'api' => 'ListFunctions'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'UpdateFunction'], ], 'createdAt' => '2022-07-21T02:47:33.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'GetStatefulAsyncInvocation'], ], 'createdAt' => '2022-07-04T06:10:47.000Z', 'description' => '增加 GetStatefulAsyncInvocation 必选参数校验', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'DeleteFunctionOnDemandConfig'], ['description' => 'Request parameters changed', 'api' => 'GetFunctionOnDemandConfig'], ['description' => 'Request parameters changed', 'api' => 'PutFunctionOnDemandConfig'], ], 'createdAt' => '2022-06-21T07:52:14.000Z', 'description' => '更正一些字段描述和必填属性', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'DeleteFunctionOnDemandConfig'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'GetFunctionOnDemandConfig'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'PutFunctionOnDemandConfig'], ], 'createdAt' => '2022-06-07T11:35:27.000Z', 'description' => '修复一些字段描述', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateService'], ['description' => 'Response parameters changed', 'api' => 'GetService'], ['description' => 'Response parameters changed', 'api' => 'ListServices'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'UpdateService'], ], 'createdAt' => '2022-06-06T03:20:04.000Z', 'description' => '移除无效字段VendorConfig', ], [ 'apis' => [ ['description' => 'Response parameters changed', 'api' => 'GetAccountSettings'], ], 'createdAt' => '2022-05-25T06:40:38.000Z', 'description' => '修复文档', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'ListTriggers'], ], 'createdAt' => '2022-05-19T10:19:39.000Z', 'description' => '修改 listTrigger api 字段类型。', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateFunction'], ['description' => 'Request parameters changed', 'api' => 'DeleteFunctionOnDemandConfig'], ['description' => 'Response parameters changed', 'api' => 'GetAccountSettings'], ['description' => 'Response parameters changed', 'api' => 'InvokeFunction'], ['description' => 'Request parameters changed', 'api' => 'ListReservedCapacities'], ['description' => 'Request parameters changed', 'api' => 'PublishServiceVersion'], ['description' => 'Request parameters changed', 'api' => 'PutFunctionOnDemandConfig'], ], 'createdAt' => '2022-05-16T04:03:10.000Z', 'description' => '补充部分API参数说明', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateCustomDomain'], ['description' => 'Response parameters changed', 'api' => 'CreateService'], ['description' => 'Request parameters changed', 'api' => 'CreateVpcBinding'], ['description' => 'Request parameters changed', 'api' => 'ListStatefulAsyncInvocations'], ['description' => 'Request parameters changed', 'api' => 'RegisterEventSource'], ['description' => 'Request parameters changed', 'api' => 'TagResource'], ], 'createdAt' => '2022-05-11T03:28:55.000Z', 'description' => '更新必填与非必填配置。', ], [ 'apis' => [ ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateService'], ], 'createdAt' => '2022-04-19T03:31:41.000Z', 'description' => '新增 VendorConfig 字段。', ], [ 'apis' => [ ['description' => 'OpenAPI offline', 'api' => 'ListStatefulAsyncInvocationFunctions'], ], 'createdAt' => '2022-03-18T09:12:37.000Z', 'description' => '函数计算异步任务接口发布', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'UntagResource'], ], 'createdAt' => '2021-12-20T06:27:18.000Z', 'description' => '更新 tag key', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateAlias'], ['description' => 'Request parameters changed', 'api' => 'CreateCustomDomain'], ['description' => 'Request parameters changed', 'api' => 'CreateFunction'], ['description' => 'Request parameters changed', 'api' => 'CreateLayerVersion'], ['description' => 'Request parameters changed', 'api' => 'CreateService'], ['description' => 'Request parameters changed', 'api' => 'CreateTrigger'], ['description' => 'Request parameters changed', 'api' => 'CreateVpcBinding'], ['description' => 'Request parameters changed', 'api' => 'DeleteAlias'], ['description' => 'Request parameters changed', 'api' => 'DeleteCustomDomain'], ['description' => 'Request parameters changed', 'api' => 'DeleteFunction'], ], 'createdAt' => '2021-12-10T09:18:31.000Z', 'description' => '增加 header', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateTrigger'], ], 'createdAt' => '2021-12-08T07:26:36.000Z', 'description' => 'update', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateService'], ], 'createdAt' => '2021-12-07T15:37:02.000Z', 'description' => '更新 header', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateService'], ], 'createdAt' => '2021-12-07T15:35:32.000Z', 'description' => '更新 header 字段', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateAlias'], ['description' => 'Request parameters changed', 'api' => 'CreateCustomDomain'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateFunction'], ['description' => 'Request parameters changed', 'api' => 'CreateLayerVersion'], ['description' => 'Request parameters changed', 'api' => 'CreateService'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateTrigger'], ['description' => 'Request parameters changed', 'api' => 'CreateVpcBinding'], ['description' => 'Request parameters changed', 'api' => 'DeleteAlias'], ['description' => 'Request parameters changed', 'api' => 'DeleteCustomDomain'], ['description' => 'Request parameters changed', 'api' => 'DeleteFunction'], ], 'createdAt' => '2021-11-25T08:21:54.000Z', 'description' => '更新 trigger domain 字段', ], [ 'apis' => [ ['description' => 'Request parameters changed', 'api' => 'CreateAlias'], ['description' => 'Request parameters changed', 'api' => 'CreateCustomDomain'], ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateFunction'], ['description' => 'Request parameters changed', 'api' => 'CreateLayerVersion'], ['description' => 'Request parameters changed', 'api' => 'CreateService'], ['description' => 'Request parameters changed', 'api' => 'CreateTrigger'], ['description' => 'Request parameters changed', 'api' => 'CreateVpcBinding'], ['description' => 'Request parameters changed', 'api' => 'DeleteAlias'], ['description' => 'Request parameters changed', 'api' => 'DeleteCustomDomain'], ['description' => 'Request parameters changed', 'api' => 'DeleteFunction'], ], 'createdAt' => '2021-11-18T05:39:23.000Z', 'description' => '请求接入 pop 网关配置完善', ], [ 'apis' => [ ['description' => 'OpenAPI offline', 'api' => 'CreateAlias'], ['description' => 'OpenAPI offline', 'api' => 'CreateCustomDomain'], ['description' => 'OpenAPI offline', 'api' => 'CreateFunction'], ['description' => 'OpenAPI offline', 'api' => 'CreateLayerVersion'], ['description' => 'OpenAPI offline', 'api' => 'CreateService'], ['description' => 'OpenAPI offline', 'api' => 'CreateTrigger'], ['description' => 'OpenAPI offline', 'api' => 'CreateVpcBinding'], ['description' => 'OpenAPI offline', 'api' => 'DeleteAlias'], ['description' => 'OpenAPI offline', 'api' => 'DeleteCustomDomain'], ['description' => 'OpenAPI offline', 'api' => 'DeleteFunction'], ], 'createdAt' => '2021-06-30T03:22:49.000Z', 'description' => 'FC 发布公测版标准 SDK。', ], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceTags'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFunction'], ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateCustomDomain'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateFunction'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCustomDomain'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutFunctionOnDemandConfig'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVpcBinding'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RegisterEventSource'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAlias'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTrigger'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutFunctionAsyncInvokeConfig'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFunctions'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetCustomDomain'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PublishServiceVersion'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLayerVersion'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetStatefulAsyncInvocation'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateService'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateService'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResource'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFunction'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListVpcBindings'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLayerVersion'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVpcBinding'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResource'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAlias'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateTrigger'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProvisionConfig'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTaggedResources'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTrigger'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLayerVersion'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutLayerACL'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListOnDemandConfigs'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFunctionCode'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopStatefulAsyncInvocation'], ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InvokeFunction'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProvisionConfigs'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTriggers'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAccountSettings'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListReservedCapacities'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCustomDomain'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLayerVersions'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAlias'], ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListCustomDomains'], ], ], 'ram' => [ 'productCode' => 'FC', 'productName' => 'Function Compute', 'ramCodes' => ['function-compute', 'fc'], 'ramLevel' => 'RESOURCE', 'ramConditions' => [ [ 'name' => 'fc:EnableHTTPTriggerAnonymous', 'schema' => [ 'type' => 'String', 'description' => 'Whether to turn on HTTPTrigger anonymous access. If the configuration is not specified, the condition value is undefined.', 'enums' => ['true', 'false', 'unknown'], ], ], [ 'name' => 'fc:EnableServiceSLSLogging', 'schema' => [ 'type' => 'String', 'description' => 'Whether to enable the service SLS log function. If the configuration is not specified, the condition value is undefined.', 'enums' => ['true', 'false', 'unknown'], ], ], [ 'name' => 'fc:EnableServiceInternetAccess', 'schema' => [ 'type' => 'String', 'description' => 'Whether to enable the service access public network function. If the configuration is not specified, the condition value is undefined.', 'enums' => ['true', 'false', 'unknown'], ], ], [ 'name' => 'fc:EnableCustomDomainHTTP', 'schema' => [ 'type' => 'String', 'description' => 'Whether to enable the HTTP protocol to access the custom domain name. If the configuration is not specified, the condition value is undefined.', 'enums' => ['true', 'false', 'unknown'], ], ], ], 'ramActions' => [ [ 'apiName' => 'DeleteCustomDomain', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteCustomDomain', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'PutProvisionConfig', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:PutProvisionConfig', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetFunctionAsyncInvokeConfig', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetFunctionAsyncInvokeConfig', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListOnDemandConfigs', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListOnDemandConfigs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteAlias', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteAlias', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetLayerVersion', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetLayerVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'TagResource', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:TagResource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListServices', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListServices', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'Service', 'arn' => 'acs:fc:{#regionId}:{#accountId}:services/*'], ], ], ], [ 'apiName' => 'ListTriggers', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListTriggers', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateLayerVersion', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:CreateLayerVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'LayerVersion', 'arn' => 'acs:fc:{#regionId}:{#accountId}:layers/{#layerName}/versions/*'], ], ], ], [ 'apiName' => 'ListStatefulAsyncInvocations', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListStatefulAsyncInvocations', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateAlias', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:CreateAlias', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetFunctionCode', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetFunctionCode', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListLayerVersions', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListLayerVersions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetStatefulAsyncInvocation', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetStatefulAsyncInvocation', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateCustomDomain', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:CreateCustomDomain', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'PublishServiceVersion', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:PublishServiceVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateCustomDomain', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:UpdateCustomDomain', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'InvokeFunction', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'fc:InvokeFunction', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetProvisionConfig', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetProvisionConfig', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'StopStatefulAsyncInvocation', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:StopStatefulAsyncInvocation', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetTrigger', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetTrigger', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteService', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'PutFunctionOnDemandConfig', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:PutFunctionOnDemandConfig', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteVpcBinding', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteVpcBinding', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTaggedResources', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListTaggedResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetAccountSettings', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetAccountSettings', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListFunctionAsyncInvokeConfigs', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListFunctionAsyncInvokeConfigs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateFunction', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:CreateFunction', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteServiceVersion', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteServiceVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListProvisionConfigs', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListProvisionConfigs', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteFunction', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteFunction', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateTrigger', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:CreateTrigger', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateTrigger', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:UpdateTrigger', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteTrigger', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteTrigger', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetFunction', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetFunction', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'PutFunctionAsyncInvokeConfig', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:PutFunctionAsyncInvokeConfig', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeregisterEventSource', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'fc:DeregisterEventSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListVpcBindings', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListVpcBindings', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteFunctionAsyncInvokeConfig', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteFunctionAsyncInvokeConfig', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteFunctionOnDemandConfig', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteFunctionOnDemandConfig', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'PutLayerACL', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:PutLayerACL', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateVpcBinding', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:CreateVpcBinding', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListReservedCapacities', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListReservedCapacities', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListServiceVersions', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListServiceVersions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetService', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetService', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetResourceTags', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetResourceTags', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateFunction', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:UpdateFunction', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'Function', 'arn' => 'acs:fc:{#regionId}:{#accountId}:services/{#ServiceName}/functions/{#FunctionName}'], ], ], ], [ 'apiName' => 'DeleteLayerVersion', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'fc:DeleteLayerVersion', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListAliases', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListAliases', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'CreateService', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'fc:CreateService', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'fc:EnableServiceSLSLogging'], ['conditionKey' => 'fc:EnableServiceInternetAccess'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'Service', 'arn' => 'acs:fc:{#regionId}:{#accountId}:services/{#serviceName}'], ], ], ], [ 'apiName' => 'GetAlias', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetAlias', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'RegisterEventSource', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'fc:RegisterEventSource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetFunctionOnDemandConfig', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetFunctionOnDemandConfig', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListInstances', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListInstances', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListEventSources', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListEventSources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateAlias', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:UpdateAlias', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListLayers', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListLayers', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetCustomDomain', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:GetCustomDomain', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListFunctions', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListFunctions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListCustomDomains', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListCustomDomains', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListStatefulAsyncInvocationFunctions', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'fc:ListStatefulAsyncInvocationFunctions', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UntagResource', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:UnTagResource', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], [ 'apiName' => 'UpdateService', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'fc:UpdateService', 'authLevel' => 'resource', 'actionConditions' => [ ['conditionKey' => 'fc:EnableServiceSLSLogging'], ['conditionKey' => 'fc:EnableServiceInternetAccess'], ], 'resources' => [ ['validationType' => 'always', 'product' => 'FC', 'resourceType' => 'Service', 'arn' => 'acs:fc:{#regionId}:{#accountId}:services/{#ServiceName}'], ], ], ], ], 'resourceTypes' => [ ['validationType' => 'always', 'resourceType' => 'FunctionOnDemandConfig', 'arn' => 'acs:fc:{#regionId}:{#accountId}:on-demand-configs/*'], ['validationType' => 'always', 'resourceType' => 'Service', 'arn' => 'acs:fc:{#regionId}:{#accountId}:services/*'], ['validationType' => 'always', 'resourceType' => 'LayerVersion', 'arn' => 'acs:fc:{#regionId}:{#accountId}:layers/{#layerName}/versions/*'], ['validationType' => 'always', 'resourceType' => 'AccountSettings', 'arn' => 'acs:fc:{#regionId}:{#accountId}:account-settings'], ['validationType' => 'always', 'resourceType' => 'VpcBinding', 'arn' => 'acs:fc:*:{#accountId}:services/{#serviceName}/bindings/*'], ['validationType' => 'always', 'resourceType' => 'Function', 'arn' => 'acs:fc:{#regionId}:{#accountId}:services/{#ServiceName}/functions/{#FunctionName}'], ['validationType' => 'always', 'resourceType' => 'Service', 'arn' => 'acs:fc:{#regionId}:{#accountId}:services/{#serviceName}'], ], ], ];