diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/fc | |
| download | acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.tar.gz acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/fc')
| -rw-r--r-- | data/en_us/fc/2023-03-30/api-docs.php | 13326 |
1 files changed, 13326 insertions, 0 deletions
diff --git a/data/en_us/fc/2023-03-30/api-docs.php b/data/en_us/fc/2023-03-30/api-docs.php new file mode 100644 index 0000000..1f20338 --- /dev/null +++ b/data/en_us/fc/2023-03-30/api-docs.php @@ -0,0 +1,13326 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'FC', + 'product' => 'FC', + 'version' => '2023-03-30', + ], + 'directories' => [ + [ + 'id' => 223814, + 'title' => 'Resource Group', + 'type' => 'directory', + 'children' => [ + 'ChangeResourceGroup', + ], + ], + [ + 'id' => 204534, + 'title' => 'Region', + 'type' => 'directory', + 'children' => [ + 'DescribeRegions', + ], + ], + [ + 'id' => 187616, + 'title' => 'CustomDomain', + 'type' => 'directory', + 'children' => [ + 'CreateCustomDomain', + 'DeleteCustomDomain', + 'GetCustomDomain', + 'ListCustomDomains', + 'UpdateCustomDomain', + ], + ], + [ + 'id' => 187623, + 'title' => 'Function', + 'type' => 'directory', + 'children' => [ + 'DeleteFunctionVersion', + 'GetFunctionCode', + 'ListFunctionVersions', + 'PublishFunctionVersion', + 'CreateFunction', + 'DeleteFunction', + 'GetFunction', + 'ListFunctions', + 'InvokeFunction', + 'UpdateFunction', + 'EnableFunctionInvocation', + 'DisableFunctionInvocation', + ], + ], + [ + 'id' => 187624, + 'title' => 'Alias', + 'type' => 'directory', + 'children' => [ + 'DeleteAlias', + 'GetAlias', + 'ListAliases', + 'UpdateAlias', + 'CreateAlias', + ], + ], + [ + 'id' => 187621, + 'title' => 'Trigger', + 'type' => 'directory', + 'children' => [ + 'CreateTrigger', + 'DeleteTrigger', + 'GetTrigger', + 'ListTriggers', + 'UpdateTrigger', + ], + ], + [ + 'id' => 187619, + 'title' => 'FunctionAsyncInvokeConfig', + 'type' => 'directory', + 'children' => [ + 'DeleteAsyncInvokeConfig', + 'GetAsyncInvokeConfig', + 'ListAsyncInvokeConfigs', + 'PutAsyncInvokeConfig', + ], + ], + [ + 'id' => 187617, + 'title' => 'FunctionProvisionConfig', + 'type' => 'directory', + 'children' => [ + 'DeleteProvisionConfig', + 'GetProvisionConfig', + 'ListProvisionConfigs', + 'PutProvisionConfig', + ], + ], + [ + 'id' => 187620, + 'title' => 'FunctionConcurrencyConfig', + 'type' => 'directory', + 'children' => [ + 'DeleteConcurrencyConfig', + 'GetConcurrencyConfig', + 'ListConcurrencyConfigs', + 'PutConcurrencyConfig', + ], + ], + [ + 'id' => 187615, + 'title' => 'Layer', + 'type' => 'directory', + 'children' => [ + 'CreateLayerVersion', + 'DeleteLayerVersion', + 'GetLayerVersion', + 'GetLayerVersionByArn', + 'ListLayerVersions', + 'ListLayers', + 'PutLayerACL', + ], + ], + [ + 'id' => 187618, + 'title' => 'Instances', + 'type' => 'directory', + 'children' => [ + 'ListInstances', + ], + ], + [ + 'id' => 187622, + 'title' => 'VpcBinding', + 'type' => 'directory', + 'children' => [ + 'ListVpcBindings', + 'CreateVpcBinding', + 'DeleteVpcBinding', + ], + ], + [ + 'id' => 187909, + 'title' => 'Tag', + 'type' => 'directory', + 'children' => [ + 'TagResources', + 'ListTagResources', + 'UntagResources', + ], + ], + [ + 'id' => 191490, + 'title' => 'asynchronous task', + 'type' => 'directory', + 'children' => [ + 'GetAsyncTask', + 'ListAsyncTasks', + 'StopAsyncTask', + ], + ], + [ + 'id' => 278411, + 'title' => 'Session', + 'type' => 'directory', + 'children' => [ + 'CreateSession', + 'GetSession', + 'UpdateSession', + 'ListSessions', + 'DeleteSession', + ], + ], + [ + 'id' => 277607, + 'title' => 'Others', + 'type' => 'directory', + 'children' => [ + 'PutScalingConfig', + 'DeleteScalingConfig', + 'GetScalingConfig', + 'ListScalingConfigs', + ], + ], + ], + 'components' => [ + 'schemas' => [ + 'AccelerationInfo' => [ + 'title' => '', + 'description' => 'The information about image acceleration.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'status' => [ + 'title' => '', + 'description' => 'The status of image acceleration.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'Ready', + 'backendName' => 'status', + ], + ], + ], + 'Alias' => [ + 'title' => '', + 'description' => 'The description of the alias.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'additionalVersionWeight' => [ + 'title' => '', + 'description' => 'The weight of the canary release version.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'description' => 'The canary release ratio. The value is a decimal between 0 and 1.'."\n", + 'visibility' => 'public', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'backendName' => 'additionalVersionWeight', + ], + 'aliasName' => [ + 'title' => '', + 'description' => 'The name of the alias.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'prod', + 'backendName' => 'aliasName', + ], + 'createdTime' => [ + 'title' => '', + 'description' => 'The time when the alias was created.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2006-01-02T15:04:05Z07:00', + 'backendName' => 'createdTime', + ], + 'description' => [ + 'title' => '', + 'description' => 'The description of the alias.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'alias for pre env', + 'backendName' => 'description', + ], + 'lastModifiedTime' => [ + 'title' => '', + 'description' => 'The time when the alias was modified.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2006-01-02T15:04:05Z07:00', + 'backendName' => 'lastModifiedTime', + ], + 'versionId' => [ + 'title' => '', + 'description' => 'The version to which the alias points.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '1', + 'backendName' => 'versionId', + ], + ], + ], + 'AsyncConfig' => [ + 'title' => '', + 'description' => 'The information about the asynchronous invocation configurations.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'asyncTask' => [ + 'title' => '', + 'description' => 'Specifies whether to enable the asynchronous task feature.'."\n", + 'visibility' => 'Public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'asyncTask', + ], + 'createdTime' => [ + 'title' => '', + 'description' => 'The time when the asynchronous invocation configuration was created.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2006-01-02T15:04:05Z07:00', + 'backendName' => 'createdTime', + ], + 'destinationConfig' => [ + 'title' => '', + 'description' => 'The destination configuration.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'destinationConfig', + '$ref' => '#/components/schemas/DestinationConfig', + ], + 'functionArn' => [ + 'title' => '', + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the function.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:fc:cn-shanghai:1234/functions/my-func', + 'backendName' => 'functionArn', + ], + 'lastModifiedTime' => [ + 'title' => '', + 'description' => 'The time when the asynchronous invocation was last modified.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2006-01-02T15:04:05Z07:00', + 'backendName' => 'lastModifiedTime', + ], + 'maxAsyncEventAgeInSeconds' => [ + 'title' => '', + 'description' => 'The maximum time to live (TTL) value of an event.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '3600', + 'backendName' => 'maxAsyncEventAgeInSeconds', + ], + 'maxAsyncRetryAttempts' => [ + 'title' => '', + 'description' => 'The number of times when an asynchronous invocation is retried.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '3', + 'backendName' => 'maxAsyncRetryAttempts', + ], + ], + ], + 'AsyncTask' => [ + 'title' => '', + 'description' => 'The information about the asynchronous task.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'alreadyRetriedTimes' => [ + 'title' => '', + 'description' => 'The number of retries after the asynchronous task fails.'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '3', + 'backendName' => 'alreadyRetriedTimes', + ], + 'destinationStatus' => [ + 'title' => '', + 'description' => 'The final state of the asynchronous task.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'Succeeded', + 'backendName' => 'destinationStatus', + ], + 'durationMs' => [ + 'title' => '', + 'description' => 'The execution duration of the asynchronous task.'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1000', + 'backendName' => 'durationMs', + ], + 'endTime' => [ + 'title' => '', + 'description' => 'The end time of the asynchronous task. Unit: milliseconds.'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1633449590000', + 'backendName' => 'endTime', + ], + 'events' => [ + 'title' => '', + 'description' => 'The events of the asynchronous task.'."\n", + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => 'The event of the asynchronous task.'."\n", + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/AsyncTaskEvent', + ], + 'required' => false, + 'backendName' => 'events', + ], + 'functionArn' => [ + 'title' => '', + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the function.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:fc:cn-shanghai:1234/functions/my-func', + 'backendName' => 'functionArn', + ], + 'instanceId' => [ + 'title' => '', + 'description' => 'The ID of the instance that corresponds to the asynchronous task.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'D4-*******9FD1-882707E', + 'backendName' => 'instanceId', + ], + 'qualifier' => [ + 'title' => '', + 'description' => 'The version or alias of the function.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'prod', + 'backendName' => 'qualifier', + ], + 'requestId' => [ + 'title' => '', + 'description' => 'The ID of the request corresponding to this asynchronous task.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'e026ae92-61e5-472f-b32d-1c9e3c4e****', + 'backendName' => 'requestId', + ], + 'returnPayload' => [ + 'title' => '', + 'description' => 'The content of the response after the asynchronous task is executed. The maximum size is 1 MB. This parameter is in public preview. If you want to use this parameter, [contact us](~~2513733~~).', + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'result', + 'backendName' => 'returnPayload', + ], + 'startedTime' => [ + 'title' => '', + 'description' => 'The start time of the asynchronous task. Unit: milliseconds.'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1633449590000', + 'backendName' => 'startedTime', + ], + 'status' => [ + 'title' => '', + 'description' => 'The state of the asynchronous task.'."\n" + ."\n" + .'* Enqueued: The asynchronous invocation is enqueued and waiting to be executed.'."\n" + .'* Succeeded: The invocation is successful.'."\n" + .'* Failed: The invocation fails.'."\n" + .'* Running: The invocation is being executed.'."\n" + .'* Stopped: The invocation is 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 asynchronous invocation. The invocation is discarded and not executed because the specified maximum validity period of messages expires.'."\n" + .'* Retrying: The asynchronous invocation is being retried due to an execution error.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'Running', + 'backendName' => 'status', + ], + 'taskErrorMessage' => [ + 'title' => '', + 'description' => 'The error message for an asynchronous task failure.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'UnhandledInvocationError', + 'backendName' => 'taskErrorMessage', + ], + 'taskId' => [ + 'title' => '', + 'description' => 'The ID of the asynchronous task.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'e026ae92-61e5-472f-b32d-1c9e3c4e****', + 'backendName' => 'taskId', + ], + 'taskPayload' => [ + 'title' => '', + 'description' => 'The content of the input parameter during asynchronous task execution.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'body', + 'backendName' => 'taskPayload', + ], + ], + ], + 'AsyncTaskEvent' => [ + 'title' => '', + 'description' => 'The details of the task event.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'eventDetail' => [ + 'title' => '', + 'description' => 'The details of the event payload.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'body', + 'backendName' => 'eventDetail', + ], + 'eventId' => [ + 'title' => '', + 'description' => 'The event ID.'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + 'backendName' => 'eventId', + ], + 'status' => [ + 'title' => '', + 'description' => 'The state of the event.'."\n" + ."\n" + .'* Enqueued: The asynchronous invocation is enqueued and is waiting to be executed.'."\n" + .'* Succeeded: The invocation is successful.'."\n" + .'* Failed: The invocation fails.'."\n" + .'* Running: The invocation is being executed.'."\n" + .'* Stopped: The invocation is 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 asynchronous invocation. The invocation is discarded and not executed because the specified maximum validity period of has elapsed.'."\n" + .'* Retrying: The asynchronous invocation is being retried due to an execution error.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'Succeeded', + 'backendName' => 'status', + ], + 'timestamp' => [ + 'title' => '', + 'description' => 'The timestamp when the event occurred. Unit: milliseconds.'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1647420449721', + 'backendName' => 'timestamp', + ], + ], + ], + 'AuthConfig' => [ + 'title' => '', + 'description' => 'The information about the configurations of permission authentication.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'authInfo' => [ + 'title' => '', + 'description' => 'The authentication information.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + 'backendName' => 'authInfo', + ], + 'authType' => [ + 'title' => '', + 'description' => 'The authentication type. Valid values: anonymous, function, and jwt.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'anonymous', + 'backendName' => 'authType', + ], + ], + ], + 'BatchWindow' => [ + 'title' => '', + 'description' => 'The batch window configurations for the EventBridge trigger.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'CountBasedWindow' => [ + 'title' => '', + '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' => 'int32', + 'required' => false, + 'example' => '100', + 'backendName' => 'CountBasedWindow', + ], + 'TimeBasedWindow' => [ + 'title' => '', + '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' => 'int32', + 'required' => false, + 'example' => '10', + 'backendName' => 'TimeBasedWindow', + ], + ], + ], + 'CDNTriggerConfig' => [ + 'title' => '', + 'description' => 'The configurations of the Alibaba Cloud CDN trigger.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'eventName' => [ + 'title' => '', + 'description' => 'The name of the trigger event. For more information, see [CDN events](~~2513636~~).'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'CdnDomainStarted', + 'backendName' => 'eventName', + ], + 'eventVersion' => [ + 'title' => '', + 'description' => 'The version of the trigger event. Only the 1.0.0 event version is supported.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => '1.0.0', + 'backendName' => 'eventVersion', + ], + 'filter' => [ + 'title' => '', + 'description' => 'The details of the event filtering rules.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'description' => 'The collection of event filtering rules.'."\n", + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => 'The key string for event filtering.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'filter-key', + 'extendType' => 'true', + ], + ], + 'backendName' => 'filter', + ], + 'notes' => [ + 'title' => '', + 'description' => 'The description of the trigger.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => '', + 'backendName' => 'notes', + ], + ], + ], + 'CertConfig' => [ + 'title' => '', + 'description' => 'The information about certificate configurations.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'certName' => [ + 'title' => '', + 'description' => 'The name of the certificate.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'my-cert', + 'maxLength' => 128, + 'minLength' => 1, + 'backendName' => 'certName', + ], + 'certificate' => [ + 'title' => '', + 'description' => 'The certificate in the .pem format.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'PEM format', + 'maxLength' => 20480, + 'backendName' => 'certificate', + ], + 'privateKey' => [ + 'title' => '', + 'description' => 'The private key in the .pem format.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'PEM format', + 'maxLength' => 4096, + 'backendName' => 'privateKey', + ], + ], + ], + 'ConcurrencyConfig' => [ + 'title' => '', + 'description' => 'The information about function concurrency configurations.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'functionArn' => [ + 'title' => '', + 'description' => 'The Alibaba Cloud Resource Name (ARN).'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:fc:cn-shanghai:123:functions/demo', + 'backendName' => 'functionArn', + ], + 'reservedConcurrency' => [ + 'title' => '', + 'description' => 'The reserved concurrency of the function. Other functions cannot use the concurrency. The reserved concurrency includes the total concurrency of provisioned instances and on-demand instances.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '10', + 'backendName' => 'reservedConcurrency', + ], + ], + ], + 'CookieSessionAffinityConfig' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'sessionIdleTimeoutInSeconds' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1800', + 'backendName' => 'sessionIdleTimeoutInSeconds', + ], + 'sessionTTLInSeconds' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '21600', + 'backendName' => 'sessionTTLInSeconds', + ], + 'sessionConcurrencyPerInstance' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '20', + 'backendName' => 'sessionConcurrencyPerInstance', + ], + ], + ], + 'CreateAliasInput' => [ + 'title' => '', + 'description' => 'The request parameter for creating an alias.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'additionalVersionWeight' => [ + 'title' => '', + 'description' => 'The weight of the canary release version.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'visibility' => 'public', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + 'description' => '', + ], + 'backendName' => 'additionalVersionWeight', + ], + 'aliasName' => [ + 'title' => '', + 'description' => 'The alias.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'prod', + 'maxLength' => 128, + 'minLength' => 1, + 'backendName' => 'aliasName', + ], + 'description' => [ + 'title' => '', + 'description' => 'The description of the alias.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'my alias', + 'maxLength' => 256, + 'backendName' => 'description', + ], + 'versionId' => [ + 'title' => '', + 'description' => 'The version to which the alias points.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => '1', + 'maxLength' => 10, + 'minLength' => 1, + 'backendName' => 'versionId', + ], + ], + ], + 'CreateCustomDomainInput' => [ + 'title' => '', + 'description' => 'The information about the request for creating a custom domain name.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'authConfig' => [ + 'title' => '', + 'description' => 'The configuration of permission authentication.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'authConfig', + '$ref' => '#/components/schemas/AuthConfig', + ], + 'certConfig' => [ + 'title' => '', + 'description' => 'The configuration of the HTTPS certificate.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'certConfig', + '$ref' => '#/components/schemas/CertConfig', + ], + 'domainName' => [ + 'title' => '', + '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", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'example.com', + 'maxLength' => 256, + 'minLength' => 1, + 'backendName' => 'domainName', + ], + 'protocol' => [ + 'title' => '', + 'description' => 'The protocol type that is supported by the custom domain name. Valid values: HTTP HTTPS HTTP,HTTPS'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'HTTP', + 'backendName' => 'protocol', + ], + 'routeConfig' => [ + 'title' => '', + 'description' => 'The route table that maps paths to functions when the function is invoked by using the custom domain name.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'routeConfig', + '$ref' => '#/components/schemas/RouteConfig', + ], + 'tlsConfig' => [ + 'title' => '', + 'description' => 'The Transport Layer Security (TLS) configuration.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'tlsConfig', + '$ref' => '#/components/schemas/TLSConfig', + ], + 'wafConfig' => [ + 'title' => '', + 'description' => 'The Web Application Firewall (WAF) configuration.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'wafConfig', + '$ref' => '#/components/schemas/WAFConfig', + ], + ], + ], + 'CreateFunctionInput' => [ + 'title' => '', + 'description' => 'The request parameters for creating the function.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'handler' => [ + 'title' => '', + 'description' => 'The handler of the function. The format of the handler is related to the runtime you use.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'index.handler', + 'maxLength' => 128, + 'minLength' => 1, + 'backendName' => 'handler', + ], + 'code' => [ + 'title' => '', + 'description' => 'The code package of the function. Configure either code or customContainerConfig.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'code', + '$ref' => '#/components/schemas/InputCodeLocation', + ], + 'role' => [ + 'title' => '', + 'description' => 'The Resource Access Management (RAM) role that is assigned to the function. Function Compute assumes the role to obtain a Security Token Service (STS) token, which serves as a temporary key for your function to access other Alibaba Cloud services, such as Object Storage Service (OSS) and Tablestore.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:ram::188077086902****:role/fc-test', + 'maxLength' => 300, + 'backendName' => 'role', + ], + 'disableOndemand' => [ + 'visibility' => 'Public', + 'type' => 'boolean', + 'backendName' => 'disableOndemand', + ], + 'tracingConfig' => [ + 'title' => '', + 'description' => 'The configurations of Managed Service for OpenTelemetry. After Function Compute is integrated with Managed Service for OpenTelemetry, you can record the invocation duration of a request, view the cold start duration of a function, and track the execution duration of the function.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'tracingConfig', + '$ref' => '#/components/schemas/TracingConfig', + ], + 'nasConfig' => [ + 'title' => '', + 'description' => 'The File Storage NAS (NAS) configurations. The configurations allow the function to access the specified NAS file system.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'nasConfig', + '$ref' => '#/components/schemas/NASConfig', + ], + 'description' => [ + 'title' => '', + 'description' => 'The description of the function.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'my function', + 'maxLength' => 256, + 'backendName' => 'description', + ], + 'timeout' => [ + 'title' => '', + 'description' => 'The timeout period for function execution. Unit: seconds. Default value: 3. Valid values: 1 to 86400. The execution of the function is terminated when the timeout period expires.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '60', + 'backendName' => 'timeout', + ], + 'diskSize' => [ + 'title' => '', + 'description' => 'The disk size of the function. Unit: MB. Valid values: 512 and 10240.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '512', + 'backendName' => 'diskSize', + ], + 'internetAccess' => [ + 'title' => 'service config', + 'description' => 'Specifies whether to allow the function to access the Internet. Default value: true.'."\n", + 'visibility' => 'public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'internetAccess', + ], + 'layers' => [ + 'title' => '', + 'description' => 'The layers. Multiple layers are merged based on the order of array subscripts. If two layers have the same file name, the content of the layer with the smaller subscript will overwrite the content of the layer with the larger subscript.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the layer.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1', + 'extendType' => 'true', + ], + 'required' => false, + 'backendName' => 'layers', + ], + 'ossMountConfig' => [ + 'title' => '', + 'description' => 'The OSS mounting configurations.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'ossMountConfig', + '$ref' => '#/components/schemas/OSSMountConfig', + ], + 'customRuntimeConfig' => [ + 'title' => '', + 'description' => 'The configurations of the custom runtime.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'customRuntimeConfig', + '$ref' => '#/components/schemas/CustomRuntimeConfig', + ], + 'logConfig' => [ + 'title' => '', + 'description' => 'The logging configurations. Logs generated by the function are written to the specified Logstore.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'logConfig', + '$ref' => '#/components/schemas/LogConfig', + ], + '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", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'my-function-1', + 'maxLength' => 128, + 'minLength' => 1, + 'backendName' => 'functionName', + ], + 'instanceLifecycleConfig' => [ + 'title' => '', + 'description' => 'The configurations of instance lifecycle hooks.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'instanceLifecycleConfig', + '$ref' => '#/components/schemas/InstanceLifecycleConfig', + ], + 'gpuConfig' => [ + 'title' => '', + 'description' => 'The GPU configurations of the function.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'gpuConfig', + '$ref' => '#/components/schemas/GPUConfig', + ], + 'cpu' => [ + 'title' => '', + 'description' => 'The CPU power allocated to the function. Unit: vCPUs. The value must be a multiple of 0.05. The minimum value is 0.05 and the maximum value is 16. The ratio of cpu to memorySize (in GB) must be from 1:1 to 1:4.'."\n", + 'visibility' => 'public', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '1', + 'backendName' => 'cpu', + ], + 'runtime' => [ + 'title' => '', + 'description' => 'The runtime of the function. Valid values: nodejs8, nodejs10, nodejs12, nodejs14, nodejs16, nodejs18, nodejs20, go1, python3, python3.9, python3.10, java8, java11, php7.2, dotnetcore3.1, custom, custom.debian10, and custom-container.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'python3.10', + 'backendName' => 'runtime', + ], + 'customContainerConfig' => [ + 'title' => '', + 'description' => 'The configurations of the Custom Container runtime. After you configure a Custom Container runtime for your function, Function Compute can execute the function in a custom container image. Configure either code or customContainerConfig.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'customContainerConfig', + '$ref' => '#/components/schemas/CustomContainerConfig', + ], + 'instanceConcurrency' => [ + 'title' => '', + 'description' => 'The maximum number of requests that a function instance can process at a time.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'backendName' => 'instanceConcurrency', + ], + 'tags' => [ + 'description' => 'The tags.'."\n", + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag information.'."\n", + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/Tag', + ], + 'backendName' => 'tags', + ], + 'memorySize' => [ + 'title' => '', + 'description' => 'The memory capacity for the function. Unit: MB. The value must be a multiple of 64. The minimum capacity is 128 MB and the maximum capacity is 32 GB. The ratio of cpu to memorySize (in GB) must be from 1:1 to 1:4.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '512', + 'backendName' => 'memorySize', + ], + 'customDNS' => [ + 'title' => '', + 'description' => 'The custom DNS settings of the function.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'customDNS', + '$ref' => '#/components/schemas/CustomDNS', + ], + 'environmentVariables' => [ + 'title' => '', + 'description' => 'The environment variables of the function. You can access the specified environment variables in the runtime.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'description' => 'The value of the environment variable.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'value1', + ], + 'backendName' => 'environmentVariables', + ], + 'vpcConfig' => [ + 'title' => '', + 'description' => 'The Virtual Private Cloud (VPC) configurations. The configurations allow the function to access the specified VPC resources.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'vpcConfig', + '$ref' => '#/components/schemas/VPCConfig', + ], + ], + ], + 'CreateLayerVersionInput' => [ + 'title' => '', + 'description' => 'The information about the request parameters for creating a layer version.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'code' => [ + 'title' => '', + 'description' => 'The code information of the layer.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'code', + '$ref' => '#/components/schemas/InputCodeLocation', + ], + 'compatibleRuntime' => [ + 'title' => '', + 'description' => 'The runtimes that are supported by the layer.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The runtime.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'python3.10', + 'extendType' => 'true', + ], + 'required' => false, + 'backendName' => 'compatibleRuntime', + ], + 'description' => [ + 'title' => '', + 'description' => 'The description of the layer version.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'my first layer', + 'maxLength' => 256, + 'backendName' => 'description', + ], + 'license' => [ + 'title' => '', + 'description' => 'The license agreement for the layer.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'Apache', + 'backendName' => 'license', + ], + ], + ], + 'CreateSessionInput' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'sessionTTLInSeconds' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '21600', + 'backendName' => 'sessionTTLInSeconds', + ], + 'sessionIdleTimeoutInSeconds' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1800', + 'backendName' => 'sessionIdleTimeoutInSeconds', + ], + ], + ], + 'CreateTriggerInput' => [ + 'title' => '', + 'description' => 'The information about request parameters to create the trigger.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'description' => [ + 'title' => '', + 'description' => 'The description of the trigger.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'trigger for test', + 'maxLength' => 256, + 'backendName' => 'description', + ], + 'invocationRole' => [ + 'title' => '', + 'description' => 'The RAM role that is used by the event source such as Object Storage Service (OSS) to invoke the function.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:ram::1234567890:role/fc-test', + 'maxLength' => 300, + 'backendName' => 'invocationRole', + ], + 'qualifier' => [ + 'title' => '', + 'description' => 'The version or alias of the function.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + 'backendName' => 'qualifier', + ], + 'sourceArn' => [ + 'title' => '', + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the trigger event source.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:oss:cn-shanghai:12345:mybucket', + 'maxLength' => 300, + 'minLength' => 1, + 'backendName' => 'sourceArn', + ], + 'triggerConfig' => [ + 'title' => '', + 'description' => 'The configurations of the trigger. The configurations vary based on the trigger type. The following items list the data structures for different types of triggers:'."\n" + ."\n" + .'* OSS triggers: [OSSTriggerConfig](~~2766465~~).'."\n" + .'* Simple Log Service trigger: [LogTriggerConfig](~~2618711~~).'."\n" + .'* Time triggers: [TimerTriggerConfig](~~2754638~~).'."\n" + .'* HTTP triggers: [HTTPTriggerConfig](~~2766461~~).'."\n" + .'* Tablestore triggers: Specify the **SourceArnm** parameter and leave this parameter empty.'."\n" + .'* Alibaba Cloud CDN event triggers: [CDNEventsTriggerConfig](~~2766462~~).'."\n" + .'* MNS topic triggers: [MnsTopicTriggerConfig](~~2766464~~).'."\n" + .'* EventBridge-based triggers: [EventBridgeTriggerConfig](~~2766447~~).'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => '{"events":["oss:ObjectCreated:*"],"filter":{"key":{"prefix":"/prefix","suffix":".zip"}}}', + 'backendName' => 'triggerConfig', + ], + '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", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'oss_create_object_demo', + 'maxLength' => 128, + 'minLength' => 1, + 'backendName' => 'triggerName', + ], + 'triggerType' => [ + 'title' => '', + 'description' => 'The type of the trigger. Valid values:'."\n" + ."\n" + .'* **oss**: OSS event triggers. For more information, see [Overview](~~2513613~~).'."\n" + .'* **log**: Simple Log Service triggers. For more information, see [Simple Log Service triggers](~~2513638~~).'."\n" + .'* **timer**: time triggers. For more information, see [Time triggers](~~2513611~~).'."\n" + .'* **http**: HTTP triggers. For more information, see [Overview](~~2513634~~).'."\n" + .'* **tablestore**: Tablestore triggers. For more information, see [Tablestore triggers](~~2513640~~).'."\n" + .'* **cdn_events**: CDN event triggers. For more information, see [Overview](~~2513636~~).'."\n" + .'* **mns_topic**: Message Service (MNS) topic triggers. For more information, see [MNS topic triggers](~~2513641~~).'."\n" + .'* **eventbridge**: EventBridge-based triggers.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'oss', + 'backendName' => 'triggerType', + ], + ], + ], + 'CreateVpcBindingInput' => [ + 'title' => '', + 'description' => 'The information about request parameters for creating and binding a virtual private cloud (VPC).'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'vpcId' => [ + 'title' => '', + 'description' => 'The ID of the VPC.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'vpc-8vb8x8dggvr0a****', + 'minLength' => 1, + 'backendName' => 'vpcId', + ], + ], + ], + 'CustomContainerConfig' => [ + 'title' => '', + 'description' => 'The configurations of the Custom Container runtime.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'accelerationInfo' => [ + 'title' => '', + 'description' => 'The information about image acceleration.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'accelerationInfo', + '$ref' => '#/components/schemas/AccelerationInfo', + ], + 'accelerationType' => [ + 'title' => '', + 'description' => 'Specifies whether to enable image acceleration. Valid values: Default: enables image acceleration. None: disables image acceleration.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'default', + 'backendName' => 'accelerationType', + ], + 'acrInstanceId' => [ + 'title' => '', + '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', + 'required' => false, + 'example' => 'cri-xxxxxxxxxx', + 'backendName' => 'acrInstanceId', + ], + 'command' => [ + 'title' => '', + 'description' => 'The startup parameter of the container.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The startup parameter.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'arg1', + 'extendType' => 'true', + ], + 'required' => false, + 'backendName' => 'command', + ], + 'entrypoint' => [ + 'title' => '', + 'description' => 'The container startup command.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The startup command.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => '/code/bootstrap', + 'extendType' => 'true', + ], + 'required' => false, + 'backendName' => 'entrypoint', + ], + 'healthCheckConfig' => [ + 'title' => '', + 'description' => 'The custom health check configurations of the function.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'healthCheckConfig', + '$ref' => '#/components/schemas/CustomHealthCheckConfig', + ], + 'image' => [ + 'title' => '', + 'description' => 'The endpoint of the container image.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1beta1', + 'backendName' => 'image', + ], + 'port' => [ + 'title' => '', + 'description' => 'The port on which the HTTP server listens for the Custom Container runtime.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '9000', + 'backendName' => 'port', + ], + 'registryConfig' => [ + 'title' => 'registry related', + 'description' => 'registry related'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'registryConfig', + '$ref' => '#/components/schemas/RegistryConfig', + ], + 'resolvedImageUri' => [ + 'title' => '', + 'description' => 'The actual digest version of the deployed image. The code version specified by digest is actually used when the function starts. This parameter is returned by GetFunction and is not required as a parameter.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'stand-sh-registry-vpc.cn-shanghai.cr.aliyuncs.com/fc-demo2/springboot-helloworld@sha256:68d1****0d64d6', + 'backendName' => 'resolvedImageUri', + ], + ], + ], + 'CustomDNS' => [ + 'title' => '', + 'description' => 'The information about the custom Domain Name System (DNS) configurations of the function.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'dnsOptions' => [ + 'title' => '', + 'description' => 'The DNS resolution configurations in the resolv.conf file. Each item corresponds to a key-value pair in the key:value format, in which the key is required.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The DNS option.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/DNSOption', + ], + 'required' => false, + 'backendName' => 'dnsOptions', + ], + 'nameServers' => [ + 'title' => '', + 'description' => 'The IP addresses of the DNS server.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The DNS server.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => '8.8.x.x', + 'extendType' => 'true', + ], + 'required' => false, + 'backendName' => 'nameServers', + ], + 'searches' => [ + 'title' => '', + 'description' => 'The search domains of 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', + ], + 'required' => false, + 'backendName' => 'searches', + ], + ], + ], + 'CustomDomain' => [ + 'title' => '', + 'description' => 'The information about the custom domain name.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'accountId' => [ + 'title' => '', + 'description' => 'The ID of your Alibaba Cloud account.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '186851234023****', + 'backendName' => 'accountId', + ], + 'apiVersion' => [ + 'title' => '', + 'description' => 'The version of the Function Compute API.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2023-03-30', + 'backendName' => 'apiVersion', + ], + 'authConfig' => [ + 'title' => '', + 'description' => 'The configuration of permission authentication.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'authConfig', + '$ref' => '#/components/schemas/AuthConfig', + ], + 'certConfig' => [ + 'title' => '', + 'description' => 'The configuration of the HTTPS certificate.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'certConfig', + '$ref' => '#/components/schemas/CertConfig', + ], + 'createdTime' => [ + 'title' => '', + 'description' => 'The time when the custom domain name was created.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2023-03-30T08:02:19Z', + 'backendName' => 'createdTime', + ], + 'domainName' => [ + 'title' => '', + 'description' => 'The domain name.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'example.com', + 'backendName' => 'domainName', + ], + 'lastModifiedTime' => [ + 'title' => '', + 'description' => 'The time when the custom domain name was last updated.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2023-03-30T08:02:19Z', + 'backendName' => 'lastModifiedTime', + ], + 'protocol' => [ + 'title' => '', + 'description' => 'The protocol type that is supported by the custom domain name. Valid values: HTTP HTTPS HTTP,HTTPS'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'HTTP', + 'backendName' => 'protocol', + ], + 'routeConfig' => [ + 'title' => '', + 'description' => 'The route table that maps paths to functions when the function is invoked by using the custom domain name.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'routeConfig', + '$ref' => '#/components/schemas/RouteConfig', + ], + 'subdomainCount' => [ + 'title' => '', + 'description' => 'The number of added subdomains.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '1', + 'backendName' => 'subdomainCount', + ], + 'tlsConfig' => [ + 'title' => '', + 'description' => 'The Transport Layer Security (TLS) configuration.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'tlsConfig', + '$ref' => '#/components/schemas/TLSConfig', + ], + 'wafConfig' => [ + 'title' => '', + 'description' => 'The Web Application Firewall (WAF) configuration.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'wafConfig', + '$ref' => '#/components/schemas/WAFConfig', + ], + ], + ], + 'CustomHealthCheckConfig' => [ + 'title' => '', + 'description' => 'The information about the custom health check configurations of the function. This parameter is applicable only to custom runtimes and Custom Container runtimes.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'failureThreshold' => [ + 'title' => '', + 'description' => 'The threshold for health check failures. When this value is reached, the system considers the health check failed. Valid values: 1 to 120. Default value: 3.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'backendName' => 'failureThreshold', + ], + 'httpGetUrl' => [ + 'title' => '', + 'description' => 'The health check URL of the custom container. The URL can be up to 2,048 characters in length.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '/ready', + 'backendName' => 'httpGetUrl', + ], + 'initialDelaySeconds' => [ + 'title' => '', + 'description' => 'The delay between the container startup and the health check. Valid values: 0 to 120. Default value: 0.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'backendName' => 'initialDelaySeconds', + ], + 'periodSeconds' => [ + 'title' => '', + 'description' => 'The health check period. Valid values: 1 to 120. Default value: 3.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'backendName' => 'periodSeconds', + ], + 'successThreshold' => [ + 'title' => '', + 'description' => 'The threshold for health check successes. When this value is reached, the system considers the health check successful. Valid values: 1 to 120. Default value: 1.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '2', + 'backendName' => 'successThreshold', + ], + 'timeoutSeconds' => [ + 'title' => '', + 'description' => 'The timeout period of the health check. Unit: seconds. Valid values: 1 to 3. Default value: 1.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '2', + 'backendName' => 'timeoutSeconds', + ], + ], + ], + 'CustomRuntimeConfig' => [ + 'title' => '', + 'description' => 'The information about the configurations of the custom runtime.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'args' => [ + 'title' => '', + 'description' => 'The arguments that are passed to the startup command.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The argument that is passed to the startup command.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'arg1', + 'extendType' => 'true', + ], + 'required' => false, + 'backendName' => 'args', + ], + 'command' => [ + 'title' => '', + 'description' => 'The startup commands.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The startup command.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => '/code/bootstrap', + 'extendType' => 'true', + ], + 'required' => false, + 'backendName' => 'command', + ], + 'healthCheckConfig' => [ + 'title' => '', + 'description' => 'The custom health check configuration of the function.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'healthCheckConfig', + '$ref' => '#/components/schemas/CustomHealthCheckConfig', + ], + 'port' => [ + 'title' => '', + 'description' => 'The port on which the HTTP server is listening.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '9000', + 'backendName' => 'port', + ], + ], + ], + 'DeadLetterQueue' => [ + 'title' => '', + 'description' => 'The dead-letter queue configurations for the EventBridge trigger.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Arn' => [ + 'title' => '', + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the dead-letter queue.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:mq:cn-shanghai:14319991365*****:/instances/MQ_INST_14319991365*****_BYWs****/topic/testTopic', + 'backendName' => 'Arn', + ], + ], + ], + 'DeliveryOption' => [ + 'title' => '', + 'description' => 'The event push configurations of the EventBridge trigger.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'concurrency' => [ + 'title' => '', + 'description' => 'The maximum number of concurrent events that can be delivered by the upstream event source to Function Compute. This parameter is valid only when ApsaraMQ for Kafka is used as the event source.'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '2', + 'backendName' => 'concurrency', + ], + 'eventSchema' => [ + 'title' => '', + 'description' => 'The format of each data element in the event parameter of the function. CloudEvents: describes event data in a common format, including event description and event payload data. CloudEvents is designed to simplify event declaration and transmission between different services and platforms. This is the default value. RawData: delivers only the event payload data and does not include other metadata information in the CloudEvents format.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'RawData', + 'backendName' => 'eventSchema', + ], + ], + ], + 'DescribeRegionsOutput' => [ + 'description' => 'The response.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Regions' => [ + 'description' => 'The region information.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Region' => [ + 'description' => 'The collection of region information.'."\n", + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => 'The region object.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'RegionId' => [ + 'description' => 'The region ID.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'cn-qingdao', + 'backendName' => 'RegionId', + ], + 'LocalName' => [ + 'description' => 'The region name.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'LocalName', + ], + ], + 'extendType' => 'true', + ], + 'backendName' => 'Region', + ], + ], + 'backendName' => 'Regions', + ], + ], + ], + 'Destination' => [ + 'title' => '', + 'description' => 'The struct of the destination for the asynchronous invocation.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'destination' => [ + 'title' => '', + 'description' => 'The descriptor of the destination for the asynchronous invocation.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:fc:cn-shanghai:xxx:functions/f1', + 'maxLength' => 512, + 'backendName' => 'destination', + ], + ], + ], + 'DestinationConfig' => [ + 'title' => '', + 'description' => 'The information about the configurations of the destination for the asynchronous invocation.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'onFailure' => [ + 'title' => '', + 'description' => 'The destination struct of a failed callback.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'onFailure', + '$ref' => '#/components/schemas/Destination', + ], + 'onSuccess' => [ + 'title' => '', + 'description' => 'The destination struct of a successful callback.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'onSuccess', + '$ref' => '#/components/schemas/Destination', + ], + ], + ], + 'DNSOption' => [ + 'title' => '', + 'description' => 'The information about Domain Name System (DNS) configurations.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'name' => [ + 'title' => '', + 'description' => 'The name of the configuration item.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'ndots', + 'maxLength' => 256, + 'backendName' => 'name', + ], + 'value' => [ + 'title' => '', + 'description' => 'The value of the configuration item.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2', + 'maxLength' => 256, + 'backendName' => 'value', + ], + ], + ], + 'EqualRule' => [ + 'title' => '', + 'description' => 'The configurations of exact match-based rewrite rules of custom domain names.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'match' => [ + 'title' => '', + 'description' => 'The matching rule.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => '/old', + 'maxLength' => 256, + 'backendName' => 'match', + ], + 'replacement' => [ + 'title' => '', + 'description' => 'The replacement rule.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => '/new', + 'maxLength' => 256, + 'backendName' => 'replacement', + ], + ], + ], + 'Error' => [ + 'title' => '', + 'description' => 'The details of the error message.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '', + 'description' => 'The error code.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'FunctionNotFound', + 'backendName' => 'Code', + ], + 'Message' => [ + 'title' => '', + 'description' => 'The error message.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'function not found', + 'backendName' => 'Message', + ], + 'RequestId' => [ + 'title' => '', + 'description' => 'The request ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '1-64e70cf1-5cbef92ea8fc8c42899cf5d1', + 'backendName' => 'RequestId', + ], + ], + ], + 'EventBridgeTriggerConfig' => [ + 'title' => '', + 'description' => 'The configurations of the EventBridge-based trigger.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'asyncInvocationType' => [ + 'title' => '', + 'description' => 'Whether to invoke the function in asynchronous mode. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n" + ."\n" + .'> The default value is **false**.'."\n", + 'visibility' => 'Public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'asyncInvocationType', + ], + 'eventRuleFilterPattern' => [ + 'title' => '', + 'description' => 'The event pattern. The value is in the JSON format. For more information, see [Event patterns](~~181432~~).'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + 'backendName' => 'eventRuleFilterPattern', + ], + 'eventSinkConfig' => [ + 'title' => '', + 'description' => 'The event destination configurations.'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'eventSinkConfig', + '$ref' => '#/components/schemas/EventSinkConfig', + ], + 'eventSourceConfig' => [ + 'title' => '', + 'description' => 'The event source configurations.'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'eventSourceConfig', + '$ref' => '#/components/schemas/EventSourceConfig', + ], + 'runOptions' => [ + 'title' => '', + 'description' => 'The runtime configurations.'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'runOptions', + '$ref' => '#/components/schemas/RunOptions', + ], + 'triggerEnable' => [ + 'title' => '', + 'description' => 'Whether to enable the trigger. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n" + ."\n" + .'> The default value is **true**.'."\n", + 'visibility' => 'Public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'triggerEnable', + ], + ], + ], + 'EventSinkConfig' => [ + 'title' => '', + 'description' => 'The sink-side configurations of the EventBridge trigger'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'deliveryOption' => [ + 'title' => '', + 'description' => 'The event push configurations.'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'deliveryOption', + '$ref' => '#/components/schemas/DeliveryOption', + ], + ], + ], + 'EventSourceConfig' => [ + 'title' => '', + 'description' => 'The event source configurations of the EventBridge trigger.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'eventSourceParameters' => [ + 'title' => '', + 'description' => 'The event source. Custom event sources include Message Service (MNS), ApsaraMQ for RocketMQ, ApsaraMQ for RabbitMQ, ApsaraMQ for Kafka, ApsaraMQ for MQTT, and Data Transmission Service (DTS).'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'eventSourceParameters', + '$ref' => '#/components/schemas/EventSourceParameters', + ], + 'eventSourceType' => [ + 'title' => '', + 'description' => 'The event source type. Valid values:'."\n" + ."\n" + .'* **Default**: Alibaba Cloud EventBridge sources'."\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**: DTS'."\n" + ."\n" + .'> This parameter cannot be updated. If you specify this parameter when you update the configurations, it does not take effect.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'MNS', + 'backendName' => 'eventSourceType', + ], + ], + ], + 'EventSourceParameters' => [ + 'title' => '', + 'description' => 'The custom event source configurations for the EventBridge trigger.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'sourceDTSParameters' => [ + 'title' => '', + 'description' => 'The custom configurations when the event source is Data Transmission Service (DTS).'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'sourceDTSParameters', + '$ref' => '#/components/schemas/SourceDTSParameters', + ], + 'sourceKafkaParameters' => [ + 'title' => '', + 'description' => 'The custom configurations when the event source is ApsaraMQ for Kafka.'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'sourceKafkaParameters', + '$ref' => '#/components/schemas/SourceKafkaParameters', + ], + 'sourceMNSParameters' => [ + 'title' => '', + 'description' => 'The custom configurations when the event source is Simple Message Queue (formerly MNS).'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'sourceMNSParameters', + '$ref' => '#/components/schemas/SourceMNSParameters', + ], + 'sourceMQTTParameters' => [ + 'title' => '', + 'description' => 'The custom configurations when the event source is ApsaraMQ for MQTT.'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'sourceMQTTParameters', + '$ref' => '#/components/schemas/SourceMQTTParameters', + ], + 'sourceRabbitMQParameters' => [ + 'title' => '', + 'description' => 'The custom configurations when the event source is ApsaraMQ for RabbitMQ.'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'sourceRabbitMQParameters', + '$ref' => '#/components/schemas/SourceRabbitMQParameters', + ], + 'sourceRocketMQParameters' => [ + 'title' => '', + 'description' => 'The custom configurations when the event source is ApsaraMQ for RocketMQ.'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'sourceRocketMQParameters', + '$ref' => '#/components/schemas/SourceRocketMQParameters', + ], + ], + ], + 'Filter' => [ + 'title' => '', + 'description' => 'The filter configurations of the Object Storage Service (OSS) trigger.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'key' => [ + 'title' => '', + 'description' => 'The description of the event filtering rule.'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'key', + '$ref' => '#/components/schemas/Key', + ], + ], + ], + 'Function' => [ + 'title' => '', + 'description' => 'The function configurations.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'handler' => [ + 'title' => '', + 'description' => 'The handler of the function. The format of the handler is related to the runtime you use.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'index.handler', + 'backendName' => 'handler', + ], + 'lastModifiedTime' => [ + 'title' => '', + 'description' => 'The last time the function was updated.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2023-05-01T08:15:27Z', + 'backendName' => 'lastModifiedTime', + ], + 'role' => [ + 'title' => '', + 'description' => 'The Resource Access Management (RAM) role that is assigned to the function. Function Compute assumes the role to obtain a Security Token Service (STS) token, which serves as a temporary key for your function to access other Alibaba Cloud services, such as Object Storage Service (OSS) and Tablestore.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:ram::188077086902****:role/fc-test', + 'backendName' => 'role', + ], + 'disableOndemand' => [ + 'visibility' => 'Public', + 'type' => 'boolean', + 'backendName' => 'disableOndemand', + ], + 'tracingConfig' => [ + 'title' => '', + 'description' => 'The configurations of Managed Service for OpenTelemetry. After Function Compute is integrated with Managed Service for OpenTelemetry, you can record the invocation duration of a request, view the cold start duration of a function, and track the execution duration of the function.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'tracingConfig', + '$ref' => '#/components/schemas/TracingConfig', + ], + 'lastUpdateStatusReasonCode' => [ + 'title' => '', + 'description' => 'The reason code for the most recent update that was executed on the function.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'ImageOptimizing', + 'backendName' => 'lastUpdateStatusReasonCode', + ], + 'nasConfig' => [ + 'title' => '', + 'description' => 'The File Storage NAS (NAS) configurations. The configurations allow the function to access the specified NAS file system.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'nasConfig', + '$ref' => '#/components/schemas/NASConfig', + ], + 'description' => [ + 'title' => '', + 'description' => 'The description of the function.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'my function', + 'backendName' => 'description', + ], + 'stateReasonCode' => [ + 'title' => '', + 'description' => 'The reason code for the current state of the function.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'Creating', + 'backendName' => 'stateReasonCode', + ], + 'stateReason' => [ + 'title' => '', + 'description' => 'The reason for the current state of the function.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'Function creating', + 'backendName' => 'stateReason', + ], + 'codeSize' => [ + 'title' => '', + 'description' => 'The size of the function code package returned by the system. Unit: bytes.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '412', + 'backendName' => 'codeSize', + ], + 'timeout' => [ + 'title' => '', + 'description' => 'The timeout period for function execution. Unit: seconds. Default value: 3. Valid values: 1 to 86400. The execution of the function is terminated when the timeout period expires.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '60', + 'backendName' => 'timeout', + ], + 'codeChecksum' => [ + 'title' => '', + 'description' => 'The CRC-64 value of the function code package.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2825179536350****', + 'backendName' => 'codeChecksum', + ], + 'diskSize' => [ + 'title' => '', + 'description' => 'The disk size of the function. Unit: MB. Valid values: 512 and 10240.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '512', + 'backendName' => 'diskSize', + ], + 'functionId' => [ + 'title' => '', + 'description' => 'The globally unique ID generated by the system for the function.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'aa715851-1c20-4b89-a8fb-***', + 'backendName' => 'functionId', + ], + 'lastUpdateStatusReason' => [ + 'title' => '', + 'description' => 'The reason for the most recent update that was executed on the function.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'The system is currently processing the acceleration optimization for the image.', + 'backendName' => 'lastUpdateStatusReason', + ], + 'internetAccess' => [ + 'title' => 'service config', + 'description' => 'Specifies whether to allow the function to access the Internet. Default value: true.'."\n", + 'visibility' => 'public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'internetAccess', + ], + 'layers' => [ + 'title' => '', + 'description' => 'The layers.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The layer information.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/FunctionLayer', + ], + 'required' => false, + 'backendName' => 'layers', + ], + 'ossMountConfig' => [ + 'title' => '', + 'description' => 'The OSS mounting configurations.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'ossMountConfig', + '$ref' => '#/components/schemas/OSSMountConfig', + ], + 'createdTime' => [ + 'title' => '', + 'description' => 'The time when the function was created.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2023-04-01T08:15:27Z', + 'backendName' => 'createdTime', + ], + 'state' => [ + 'title' => 'function state', + 'description' => 'The current state of the function.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'Pending', + 'backendName' => 'state', + ], + 'functionArn' => [ + 'title' => '', + 'description' => 'The identifier of the function resource.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:fc:cn-shanghai:123:functions/functionName', + 'backendName' => 'functionArn', + ], + 'customRuntimeConfig' => [ + 'title' => '', + 'description' => 'The configurations of the custom runtime.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'customRuntimeConfig', + '$ref' => '#/components/schemas/CustomRuntimeConfig', + ], + 'logConfig' => [ + 'title' => '', + 'description' => 'The logging configurations. Logs generated by the function are written to the specified Logstore.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'logConfig', + '$ref' => '#/components/schemas/LogConfig', + ], + 'functionName' => [ + 'title' => '', + 'description' => 'The name of the function.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'my-function-1', + 'backendName' => 'functionName', + ], + 'instanceLifecycleConfig' => [ + 'title' => '', + 'description' => 'The configurations of instance lifecycle hooks.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'instanceLifecycleConfig', + '$ref' => '#/components/schemas/InstanceLifecycleConfig', + ], + 'gpuConfig' => [ + 'title' => '', + 'description' => 'The GPU configurations of the function.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'gpuConfig', + '$ref' => '#/components/schemas/GPUConfig', + ], + 'cpu' => [ + 'title' => '', + 'description' => 'The CPU power allocated to the function. Unit: vCPUs. The value must be a multiple of 0.05. The minimum value is 0.05 and the maximum value is 16. The ratio of cpu to memorySize (in GB) must be from 1:1 to 1:4.'."\n", + 'visibility' => 'public', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '1', + 'backendName' => 'cpu', + ], + 'runtime' => [ + 'title' => '', + 'description' => 'The runtime of the function. Valid values: nodejs8, nodejs10, nodejs12, nodejs14, nodejs16, nodejs18, nodejs20, go1, python3, python3.9, python3.10, java8, java11, php7.2, dotnetcore3.1, custom, custom.debian10, and custom-container.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'python3.10', + 'backendName' => 'runtime', + ], + 'customContainerConfig' => [ + 'title' => '', + 'description' => 'The configurations of the Custom Container runtime. After you configure a Custom Container runtime for your function, Function Compute can execute the function in a custom container image. Configure either code or customContainerConfig.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'customContainerConfig', + '$ref' => '#/components/schemas/CustomContainerConfig', + ], + 'instanceConcurrency' => [ + 'title' => '', + 'description' => 'The maximum number of requests that a function instance can process at a time.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'backendName' => 'instanceConcurrency', + ], + 'tags' => [ + 'description' => 'The tags.'."\n", + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag information.'."\n", + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/Tag', + ], + 'backendName' => 'tags', + ], + 'invocationRestriction' => [ + 'visibility' => 'Public', + 'backendName' => 'invocationRestriction', + '$ref' => '#/components/schemas/open_struct_FunctionRestriction', + ], + 'memorySize' => [ + 'title' => '', + 'description' => 'The memory capacity for the function. Unit: MB. The value must be a multiple of 64. The minimum capacity is 128 MB and the maximum capacity is 32 GB. The ratio of cpu to memorySize (in GB) must be from 1:1 to 1:4.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '512', + 'backendName' => 'memorySize', + ], + 'customDNS' => [ + 'title' => '', + 'description' => 'The custom DNS settings of the function.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'customDNS', + '$ref' => '#/components/schemas/CustomDNS', + ], + 'environmentVariables' => [ + 'title' => '', + 'description' => 'The environment variables of the function. You can access the specified environment variables in the runtime.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'description' => 'The value of the environment variable.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'value1', + ], + 'backendName' => 'environmentVariables', + ], + 'lastUpdateStatus' => [ + 'title' => '', + 'description' => 'The status of the most recent update that was executed on the function. The initial value for this parameter is Successful once the function has been successfully created. Valid values: Successful, Failed, and InProgress.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'InProgress', + 'backendName' => 'lastUpdateStatus', + ], + 'vpcConfig' => [ + 'title' => '', + 'description' => 'The Virtual Private Cloud (VPC) configurations. The configurations allow the function to access the specified VPC resources.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'vpcConfig', + '$ref' => '#/components/schemas/VPCConfig', + ], + ], + ], + 'FunctionLayer' => [ + 'title' => '', + 'description' => 'The information about the function layer configurations.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'arn' => [ + 'title' => '', + 'description' => 'The resource identifier of the layer version.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1', + 'backendName' => 'arn', + ], + 'size' => [ + 'title' => '', + 'description' => 'The size of the layer code package. Unit: bytes.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '421', + 'backendName' => 'size', + ], + ], + ], + 'GetResourceTagsOutput' => [ + 'title' => '', + 'description' => 'The information about the tag.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'resouceType' => [ + 'title' => '', + 'description' => 'The name of the resource type. Valid values: ALIYUN::FC::FUNCTION and ALIYUN::FC::SERVICE. The former name is used in Function Compute 3.0, and the latter name is used in earlier versions of Function Compute.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'ALIYUN::FC::FUNCTION', + 'backendName' => 'resouceType', + ], + 'resourceArn' => [ + 'title' => '', + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the resource.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:fc:cn-shanghai:****:functions/demo', + 'backendName' => 'resourceArn', + ], + 'tags' => [ + 'title' => '', + 'description' => 'The tag dictionary.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'description' => 'The tag value.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'value1', + ], + 'backendName' => 'tags', + ], + ], + ], + 'GPUConfig' => [ + 'title' => '', + 'description' => 'The GPU configurations of the function.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'gpuMemorySize' => [ + 'title' => '', + 'description' => 'The GPU memory size. Unit: MB. The value is a multiple of 1024 MB.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '2048', + 'backendName' => 'gpuMemorySize', + ], + 'gpuType' => [ + 'title' => '', + 'description' => 'The type of GPU cards. Valid values: fc.gpu.tesla.1: Tesla T4 fc.gpu.ampere.1: Ampere A10'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'fc.gpu.ampere.1', + 'maxLength' => 128, + 'backendName' => 'gpuType', + ], + ], + ], + 'HeaderFieldSessionAffinityConfig' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'sessionIdleTimeoutInSeconds' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1800', + 'backendName' => 'sessionIdleTimeoutInSeconds', + ], + 'sessionTTLInSeconds' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '21600', + 'backendName' => 'sessionTTLInSeconds', + ], + 'sessionConcurrencyPerInstance' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '20', + 'backendName' => 'sessionConcurrencyPerInstance', + ], + 'affinityHeaderFieldName' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'test-session-header1', + 'backendName' => 'affinityHeaderFieldName', + ], + ], + ], + 'HTTPTrigger' => [ + 'title' => '', + 'description' => 'The HTTP trigger configurations.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'urlInternet' => [ + 'title' => '', + 'description' => 'The public domain address. You can access HTTP triggers over the Internet by using HTTP or HTTPS.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'https://svc-func-xxxxxxxx.cn-hangzhou.fcapp.run', + 'backendName' => 'urlInternet', + ], + 'urlIntranet' => [ + 'title' => '', + 'description' => 'The private endpoint. In a VPC, you can access HTTP triggers by using HTTP or HTTPS.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'https://svc-func-xxxxxxxx.cn-hangzhou-vpc.fcapp.run', + 'backendName' => 'urlIntranet', + ], + ], + ], + 'HTTPTriggerConfig' => [ + 'title' => '', + 'description' => 'The HTTP trigger configurations.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'authConfig' => [ + 'title' => '', + 'description' => 'The authentication configurations.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => '{"JWKS":{"foo":"bar"},"TokenLookup":"header:Authorization:Bearer,cookie:AuthorizationCookie","ClaimPassBy":"query:uid:uid,header:name:name"}', + 'backendName' => 'authConfig', + ], + 'authType' => [ + 'title' => '', + 'description' => 'The authentication type. Valid values:'."\n" + ."\n" + .'* **function**: requires authentication.'."\n" + .'* **anonymous**: does not require authentication.'."\n" + ."\n" + .'> The default value is **function**'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'anonymous', + 'backendName' => 'authType', + ], + 'disableURLInternet' => [ + 'title' => '', + 'description' => 'Specifies whether to disable access to the default Internet domain. If you set this parameter to true, a 403 error is returned if you access the default public URL provided by the function. A value of false does not have affect the running of the function.'."\n", + 'visibility' => 'Public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'disableURLInternet', + ], + 'methods' => [ + 'title' => '', + 'description' => 'The list of request methods. Multiple methods are supported.'."\n", + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => 'The request method. Valid values:'."\n" + ."\n" + .'* HEAD'."\n" + .'* DELETE'."\n" + .'* POST'."\n" + .'* GET'."\n" + .'* OPTIONS'."\n" + .'* PUT'."\n" + .'* PATCH'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'GET', + 'extendType' => 'true', + ], + 'required' => false, + 'backendName' => 'methods', + ], + ], + ], + 'InputCodeLocation' => [ + 'title' => '', + 'description' => 'The code configurations of the function. Code packages can be provided in the following methods:'."\n" + ."\n" + .'1. Include content of a code package in requests. In this case, zipFile must be set.'."\n" + .'2. Upload a code package to Object Storage Service (OSS). Include the path of the OSS object in requests. In this case, you must set ossBucketName and ossObjectName.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'checksum' => [ + 'title' => '', + 'description' => 'The CRC-64 value of the function code package. If checksum is provided, Function Compute checks whether the checksum of the code package is the same as that provided.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2825179536350****', + 'backendName' => 'checksum', + ], + 'ossBucketName' => [ + 'title' => '', + 'description' => 'The name of the OSS bucket where the ZIP package of the function code is stored.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'demo-bucket', + 'maxLength' => 63, + 'minLength' => 3, + 'backendName' => 'ossBucketName', + ], + 'ossObjectName' => [ + 'title' => '', + 'description' => 'The name of the OSS object where the ZIP package of the function code is stored.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'demo-object', + 'backendName' => 'ossObjectName', + ], + 'zipFile' => [ + 'title' => '', + 'description' => 'The ZIP package of the function code that is encoded in Base64 format.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'UEsDBAoAAAAAANF', + 'backendName' => 'zipFile', + ], + ], + ], + 'InstanceInfo' => [ + 'title' => 'The information about the function instance.'."\n", + 'description' => 'public', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'versionId' => [ + 'description' => 'The version of the function to which the instance belongs. If the instance belongs to the LATEST alias, 0 is returned as the version.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '0', + 'backendName' => 'versionId', + ], + 'instanceId' => [ + 'title' => 'public', + 'description' => 'The instance ID.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => '1ef6b6ff-7f7b-485e-ab49-501ac681****', + 'backendName' => 'instanceId', + ], + 'createdTimeMs' => [ + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'backendName' => 'createdTimeMs', + ], + 'qualifier' => [ + 'visibility' => 'Public', + 'type' => 'string', + 'backendName' => 'qualifier', + ], + 'destroyedTimeMs' => [ + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'backendName' => 'destroyedTimeMs', + ], + 'status' => [ + 'visibility' => 'Public', + 'type' => 'string', + 'backendName' => 'sttaus', + ], + ], + ], + 'InstanceLifecycleConfig' => [ + 'title' => '', + 'description' => 'The configurations of the lifecycle hook for the function instance.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'initializer' => [ + 'title' => '', + 'description' => 'The configurations of the Initializer hook.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'initializer', + '$ref' => '#/components/schemas/LifecycleHook', + ], + 'preStop' => [ + 'title' => '', + 'description' => 'The configurations of the PreStop hook.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'preStop', + '$ref' => '#/components/schemas/LifecycleHook', + ], + ], + ], + 'JobConfig' => [ + 'title' => '', + 'description' => 'The trigger task configurations of Simple Log Service.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'maxRetryTime' => [ + 'title' => '', + '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' => 'int32', + 'required' => false, + 'example' => '3', + 'backendName' => 'maxRetryTime', + ], + 'triggerInterval' => [ + 'title' => '', + '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' => 'int32', + 'required' => false, + 'example' => '60', + 'backendName' => 'triggerInterval', + ], + ], + ], + 'Key' => [ + 'title' => '', + 'description' => 'The filter rules of the OSS trigger.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'prefix' => [ + 'title' => '', + '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', + 'required' => false, + 'example' => 'serverless_', + 'backendName' => 'prefix', + ], + 'suffix' => [ + 'title' => '', + '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', + 'required' => false, + 'example' => '.zip', + 'backendName' => 'suffix', + ], + ], + ], + 'Layer' => [ + 'title' => '', + 'description' => 'The details of the layer.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'acl' => [ + 'title' => '', + 'description' => 'The permission of the layer. Valid value: 0 and 1. 0 specifies that the layer is private, and 1 specifies that the layer is public. By default, public layers are public. Custom layers can be set to private or public.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '0', + 'backendName' => 'acl', + ], + 'code' => [ + 'title' => '', + 'description' => 'The information about the code package of the layer.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'code', + '$ref' => '#/components/schemas/OutputCodeLocation', + ], + 'codeChecksum' => [ + 'title' => '', + 'description' => 'The crc64 verification code of the layer code package, which is calculated based on ECMA-182.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2825179536350****', + 'backendName' => 'codeChecksum', + ], + 'codeSize' => [ + 'title' => '', + 'description' => 'The size of the layer code package. Unit: bytes.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '421', + 'backendName' => 'codeSize', + ], + 'compatibleRuntime' => [ + 'title' => '', + 'description' => 'The runtimes that are supported by the layer.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The runtime.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'python3.10', + 'extendType' => 'true', + ], + 'required' => false, + 'backendName' => 'compatibleRuntime', + ], + 'createTime' => [ + 'title' => '', + 'description' => 'The time when the layer version was created.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2023-03-30T11:08:00Z', + 'backendName' => 'createTime', + ], + 'description' => [ + 'title' => '', + 'description' => 'The description of the layer version.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'My first layer', + 'maxLength' => 256, + 'backendName' => 'description', + ], + 'layerName' => [ + 'title' => '', + 'description' => 'The name of the layer.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'MyLayer', + 'maxLength' => 128, + 'minLength' => 1, + 'backendName' => 'layerName', + ], + 'layerVersionArn' => [ + 'title' => '', + 'description' => 'The name of the resource in the layer version. The name is in the acs:fc:{region}:{accountID}:layers/{layerName}/versions/{layerVersion} format.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1', + 'backendName' => 'layerVersionArn', + ], + 'license' => [ + 'title' => '', + 'description' => 'The license agreement.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'Apache', + 'backendName' => 'license', + ], + 'version' => [ + 'title' => '', + 'description' => 'The layer version.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'backendName' => 'version', + ], + ], + ], + 'LifecycleHook' => [ + 'title' => '', + 'description' => 'The configurations of the lifecycle hook for the function instance.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'handler' => [ + 'title' => '', + 'description' => 'The handler of the hook. The definition is similar to that of a request handler.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'index.initializer', + 'maxLength' => 128, + 'backendName' => 'handler', + ], + 'timeout' => [ + 'title' => '', + 'description' => 'The timeout period of the hook. Unit: seconds.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + 'backendName' => 'timeout', + ], + ], + ], + 'ListAliasesOutput' => [ + 'title' => '', + 'description' => 'The list of function aliases.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'aliases' => [ + 'title' => '', + 'description' => 'The information about aliases.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the alias.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/Alias', + ], + 'required' => false, + 'backendName' => 'aliases', + ], + 'nextToken' => [ + 'title' => '', + 'description' => 'The next version.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + 'backendName' => 'nextToken', + ], + ], + ], + 'ListAsyncInvokeConfigOutput' => [ + 'title' => '', + 'description' => 'The information about the response to the asynchronous invocation.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'configs' => [ + 'title' => '', + 'description' => 'The configurations of the asynchronous invocation.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The configuration of the asynchronous invocation.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/AsyncConfig', + ], + 'required' => false, + 'backendName' => 'configs', + ], + 'nextToken' => [ + 'title' => '', + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '8bj81uI8n****', + 'backendName' => 'nextToken', + ], + ], + ], + 'ListAsyncTaskOutput' => [ + 'title' => '', + 'description' => 'Lists the responses of asynchronous tasks.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'nextToken' => [ + 'title' => '', + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'MTIzNCNhYmM='."\n", + 'backendName' => 'nextToken', + ], + 'tasks' => [ + 'title' => '', + 'description' => 'The asynchronous tasks.'."\n", + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => 'The asynchronous task.'."\n", + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/AsyncTask', + ], + 'required' => false, + 'backendName' => 'tasks', + ], + ], + ], + 'ListConcurrencyConfigsOutput' => [ + 'title' => '', + 'description' => 'The concurrency configurations of the function.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'configs' => [ + 'title' => '', + 'description' => 'The list of concurrency configurations.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The concurrency configuration.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/ConcurrencyConfig', + ], + 'required' => false, + 'backendName' => 'configs', + ], + 'nextToken' => [ + 'title' => '', + '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 concurrency configurations are returned.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'next_token', + 'backendName' => 'nextToken', + ], + ], + ], + 'ListCustomDomainOutput' => [ + 'title' => '', + 'description' => 'The information about the response that is returned to obtain custom domain names.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'customDomains' => [ + 'title' => '', + 'description' => 'The custom domain names.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the custom domain name.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/CustomDomain', + ], + 'required' => false, + 'backendName' => 'customDomains', + ], + 'nextToken' => [ + 'title' => '', + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'next_domain_name', + 'backendName' => 'nextToken', + ], + ], + ], + 'ListFunctionsOutput' => [ + 'title' => '', + 'description' => 'The information about the response to functions.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'functions' => [ + 'title' => '', + 'description' => 'The information about functions.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The Information about the function.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/Function', + ], + 'required' => false, + 'backendName' => 'functions', + ], + 'nextToken' => [ + 'title' => '', + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'next_function_name', + 'backendName' => 'nextToken', + ], + ], + ], + 'ListInstancesOutput' => [ + 'title' => 'The instances.'."\n", + 'description' => 'public', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'instances' => [ + 'title' => 'The information of the instance.'."\n", + 'description' => 'public', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/InstanceInfo', + ], + 'required' => false, + 'backendName' => 'instances', + ], + 'requestId' => [ + 'visibility' => 'Public', + 'type' => 'string', + 'backendName' => 'requestId', + ], + ], + ], + 'ListLayersOutput' => [ + 'title' => '', + 'description' => 'The information about layers.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'layers' => [ + 'title' => '', + 'description' => 'The layers.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the layer.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/Layer', + ], + 'required' => false, + 'backendName' => 'layers', + ], + 'nextToken' => [ + 'title' => '', + 'description' => 'The name of the start layer for the next query, which is also the token used to obtain more results.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'next-layer-name', + 'backendName' => 'nextToken', + ], + ], + ], + 'ListLayerVersionOutput' => [ + 'title' => '', + 'description' => 'The configurations of getting versions of the specified layer.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'layers' => [ + 'title' => '', + 'description' => 'The list of layer versions.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The layer version.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/Layer', + ], + 'required' => false, + 'backendName' => 'layers', + ], + 'nextVersion' => [ + 'title' => '', + 'description' => 'The next version, which is used to return more results.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + 'backendName' => 'nextVersion', + ], + ], + ], + 'ListProvisionConfigsOutput' => [ + 'title' => '', + 'description' => 'The information about provisioned configurations of the function.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'nextToken' => [ + 'title' => '', + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'next_token', + 'backendName' => 'nextToken', + ], + 'provisionConfigs' => [ + 'title' => '', + 'description' => 'The provisioned configurations of the function.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the provisioned configuration.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/ProvisionConfig', + ], + 'required' => false, + 'backendName' => 'provisionConfigs', + ], + ], + ], + 'ListSessionsOutput' => [ + 'title' => '', + 'description' => 'The list of function sessions.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'nextToken' => [ + 'title' => '', + 'description' => 'The starting position for the next session list query.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'MTIzNCNhYmM=', + 'backendName' => 'nextToken', + ], + 'sessions' => [ + 'title' => '', + 'description' => 'The list of sessions.', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'The session.', + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/Session', + ], + 'backendName' => 'sessions', + ], + ], + ], + 'ListTaggedResourcesOutput' => [ + 'title' => '', + 'description' => 'The information about the tagged resources.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'nextToken' => [ + 'title' => '', + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'next_token', + 'backendName' => 'nextToken', + ], + 'resources' => [ + 'title' => '', + 'description' => 'The tagged resources.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the resource.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/Resource', + ], + 'required' => false, + 'backendName' => 'resources', + ], + ], + ], + 'ListTagResourcesOutput' => [ + 'title' => '', + 'description' => 'Queries the information about the resources to which a specified tag is bound.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'title' => '', + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'next_token', + 'backendName' => 'NextToken', + ], + 'RequestId' => [ + 'title' => 'TODO', + 'description' => 'The request ID.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'xxx', + 'backendName' => 'RequestId', + ], + 'TagResources' => [ + 'title' => '', + 'description' => 'The information about the queried resources and tags.'."\n", + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => 'The resource and tag information, including the resource ID, resource type, and tag key.'."\n", + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/TagResource', + ], + 'required' => false, + 'backendName' => 'TagResources', + ], + ], + ], + 'ListTriggersOutput' => [ + 'title' => '', + 'description' => 'The information about the response struct to obtain triggers.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'nextToken' => [ + 'title' => '', + 'description' => 'The name of the next trigger. 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", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'next_token', + 'backendName' => 'nextToken', + ], + 'triggers' => [ + 'title' => '', + 'description' => 'The triggers.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the trigger.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/Trigger', + ], + 'required' => false, + 'backendName' => 'triggers', + ], + ], + ], + 'ListVersionsOutput' => [ + 'title' => '', + 'description' => 'The request parameters for listing versions.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'direction' => [ + 'title' => '', + 'description' => 'The sorting method of versions.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'FORWARD', + 'backendName' => 'direction', + ], + 'nextToken' => [ + 'title' => '', + 'description' => 'The ID of the next version.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '3', + 'backendName' => 'nextToken', + ], + 'versions' => [ + 'title' => '', + 'description' => 'The version IDs.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The version information.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/Version', + ], + 'required' => false, + 'backendName' => 'versions', + ], + ], + ], + 'ListVpcBindingsOutput' => [ + 'title' => '', + 'description' => 'The request parameters for listing all virtual private cloud (VPC) bindings of a service or function.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'vpcIds' => [ + 'title' => '', + 'description' => 'The VPC IDs.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'VPC ID'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'vpc-8vb8x8dggvr0axxxxxxxx', + 'extendType' => 'true', + ], + 'required' => false, + 'backendName' => 'vpcIds', + ], + ], + ], + 'LogConfig' => [ + 'title' => '', + 'description' => 'The function log configurations.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'enableInstanceMetrics' => [ + 'title' => '', + 'description' => 'Specifies whether to enable the collection of instance-level metrics. If you enable this feature, you can view core metrics, such as CPU utilization, memory usage, network conditions of instances, and the number of requests that an instance concurrently processes. Valid values: false: disables the collection of instance-level metrics. This is the default value. true: enables the collection of instance-level metrics.'."\n", + 'visibility' => 'public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'enableInstanceMetrics', + ], + '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: false: disables request-level metrics. true: enables request-level metrics. This is the default value.'."\n", + 'visibility' => 'public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'enableRequestMetrics', + ], + 'logBeginRule' => [ + 'title' => '', + 'description' => 'The log segmentation rule.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'DefaultRegex', + 'backendName' => 'logBeginRule', + ], + 'logstore' => [ + 'title' => '', + 'description' => 'The name of the Logstore of Simple Log Service.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'test-logstore', + 'maxLength' => 63, + 'backendName' => 'logstore', + ], + 'project' => [ + 'title' => '', + 'description' => 'The name of the project in Simple Log Service.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'test-project', + 'maxLength' => 63, + 'backendName' => 'project', + ], + ], + ], + 'MCPSSESessionAffinityConfig' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'sseEndpointPath' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '/sse', + 'backendName' => 'sseEndpointPath', + ], + 'sessionConcurrencyPerInstance' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '20', + 'backendName' => 'sessionConcurrencyPerInstance', + ], + ], + ], + 'MCPStreamableSessionAffinityConfig' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'sessionTTLInSeconds' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '21600', + 'backendName' => 'sessionTTLInSeconds', + ], + 'sessionIdleTimeoutInSeconds' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1800', + 'backendName' => 'sessionIdleTimeoutInSeconds', + ], + 'sessionConcurrencyPerInstance' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '20', + 'backendName' => 'sessionConcurrencyPerInstance', + ], + ], + ], + 'MNSTopicTriggerConfig' => [ + 'title' => '', + 'description' => 'Simple Message Queue (formerly MNS) topic trigger configurations.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'filterTag' => [ + 'title' => '', + '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', + 'required' => false, + 'example' => 'serverless', + 'backendName' => 'filterTag', + ], + 'notifyContentFormat' => [ + 'title' => '', + 'description' => 'The format of the event content. The following two formats are supported:'."\n" + ."\n" + .'* **JSON**'."\n" + .'* **STREAM**'."\n" + ."\n" + .'> The default format is STREAM.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'JSON', + 'backendName' => 'notifyContentFormat', + ], + 'notifyStrategy' => [ + 'title' => '', + 'description' => 'The retry policy.'."\n" + ."\n" + .'* **BACKOFF_RETRY**: a backoff retry policy. A total of 3 retries are made. The interval between 2 retries is a random value between 10 and 20 seconds. This is the default value.'."\n" + .'* **EXPONENTIAL_DECAY_RETRY**: an exponential decay retry policy. A total of 176 retries are made, with the interval of each retry increases exponentially to 512 seconds, and the total retry period is 1 day. The interval between two consecutive retries exponentially increases to a maximum of 512 seconds. For example, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 512... 512. The number of 512s is 167.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'BACKOFF_RETRY', + 'backendName' => 'notifyStrategy', + ], + ], + ], + 'NASConfig' => [ + 'title' => '', + 'description' => 'The information about the configurations of the File Storage NAS (NAS) file system.', + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'groupId' => [ + 'title' => '', + 'description' => 'The group ID.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + 'backendName' => 'groupId', + ], + 'mountPoints' => [ + 'title' => '', + 'description' => 'The mount targets.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the mount target.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/NASMountConfig', + ], + 'required' => false, + 'maxItems' => 5, + 'backendName' => 'mountPoints', + ], + 'userId' => [ + 'title' => '', + 'description' => 'The account ID.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + 'backendName' => 'userId', + ], + ], + ], + 'NASMountConfig' => [ + 'title' => '', + 'description' => 'The information about the File Storage NAS (NAS) mount targets.', + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'enableTLS' => [ + 'title' => '', + 'description' => 'Specifies whether to use the Transport Layer Security (TLS) protocol to secure data transmission. Note: Only General-purpose NAS supports transmission encryption.'."\n", + 'visibility' => 'public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'enableTLS', + ], + 'mountDir' => [ + 'title' => '', + 'description' => 'The local mount directory.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '/home/test', + 'maxLength' => 64, + 'backendName' => 'mountDir', + ], + 'serverAddr' => [ + 'title' => '', + 'description' => 'The address of a NAS server.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '***-uni85.cn-hangzhou.nas.com:/', + 'maxLength' => 128, + 'backendName' => 'serverAddr', + ], + ], + ], + 'OSSMountConfig' => [ + 'title' => '', + 'description' => 'The mount configurations of Object Storage Service (OSS).'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'mountPoints' => [ + 'title' => '', + 'description' => 'The OSS mount targets.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The configurations of the OSS mount target.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/OSSMountPoint', + ], + 'required' => false, + 'maxItems' => 5, + 'backendName' => 'mountPoints', + ], + ], + ], + 'OSSMountPoint' => [ + 'title' => '', + 'description' => 'OSS mount target configurations.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'bucketName' => [ + 'title' => '', + 'description' => 'The OSS bucket that you want to mount.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'my-bucket', + 'maxLength' => 64, + 'minLength' => 3, + 'backendName' => 'bucketName', + ], + 'bucketPath' => [ + 'title' => '', + 'description' => 'The path of the mounted OSS bucket.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '/my-dir', + 'maxLength' => 128, + 'backendName' => 'bucketPath', + ], + 'endpoint' => [ + 'title' => '', + 'description' => 'The OSS endpoint.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'http://oss-cn-shanghai.aliyuncs.com', + 'maxLength' => 128, + 'backendName' => 'endpoint', + ], + 'mountDir' => [ + 'title' => '', + 'description' => 'The mount directory.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '/mnt/dir', + 'maxLength' => 64, + 'minLength' => 2, + 'backendName' => 'mountDir', + ], + 'readOnly' => [ + 'title' => '', + 'description' => 'Specifies whether it is read-only.'."\n", + 'visibility' => 'public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'readOnly', + ], + ], + ], + 'OSSTriggerConfig' => [ + 'title' => '', + 'description' => 'The OSS trigger configurations.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'events' => [ + 'title' => '', + 'description' => 'The list of events. Enter an event related to OSS. For more information about event types,see [OSS events](~~2513613~~).', + '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](~~2513613~~).', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'oss:ObjectCreated:*', + 'extendType' => 'true', + ], + 'required' => false, + 'backendName' => 'events', + ], + 'filter' => [ + 'title' => '', + 'description' => 'The event filtering rule.'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'filter', + '$ref' => '#/components/schemas/Filter', + ], + ], + ], + 'OutputCodeLocation' => [ + 'title' => '', + 'description' => 'The code package configurations.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'location' => [ + 'title' => '', + 'description' => 'The address of the code package.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'https://xyz.oss-cn-shanghai.aliyuncs.com/xxx/xxx/xxx', + 'backendName' => 'location', + ], + 'repositoryType' => [ + 'title' => '', + 'description' => 'The type of the code package.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'OSS', + 'backendName' => 'repositoryType', + ], + ], + ], + 'OutputFuncCode' => [ + 'title' => '', + 'description' => 'The information about the function code package.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'checksum' => [ + 'title' => '', + 'description' => 'The CRC-64 value of the function code package.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '1234567890', + 'backendName' => 'checksum', + ], + 'url' => [ + 'title' => '', + 'description' => 'The URL of the function code package.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'http://func-code.oss-cn-shanghai.aliyuncs.com/1a2b3c4d5e6f', + 'backendName' => 'url', + ], + ], + ], + 'PathConfig' => [ + 'title' => '', + 'description' => 'The custom domain name configurations.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'functionName' => [ + 'title' => '', + 'description' => 'The name of the function.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'myFunction', + 'backendName' => 'functionName', + ], + 'methods' => [ + 'title' => '', + 'description' => 'The supported methods.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The HTTP method. The following methods are supported: HEAD, GET, POST, PUT, DELETE, PATCH, and OPTIONS.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'GET', + 'extendType' => 'true', + ], + 'required' => false, + 'backendName' => 'methods', + ], + 'path' => [ + 'title' => '', + 'description' => 'The route matching rule.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => '/api/*', + 'maxLength' => 2048, + 'backendName' => 'path', + ], + 'qualifier' => [ + 'title' => '', + 'description' => 'The version or alias.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'myAlias', + 'backendName' => 'qualifier', + ], + 'rewriteConfig' => [ + 'title' => '', + 'description' => 'The rewrite configuration.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'rewriteConfig', + '$ref' => '#/components/schemas/RewriteConfig', + ], + ], + ], + 'PolarFsConfig' => [ + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'groupId' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + 'backendName' => 'groupId', + ], + 'userId' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + 'backendName' => 'userId', + ], + 'mountPoints' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/PolarFsMountConfig', + ], + 'backendName' => 'mountPoints', + ], + ], + ], + 'ProvisionConfig' => [ + 'title' => 'The actual number of provisioned instances.'."\n", + 'description' => 'public', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'scheduledActions' => [ + 'title' => 'Specifies whether to always allocate CPU resources to function instances.'."\n", + 'description' => 'public', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => 'Specifies whether to always allocate GPU resources to function instances.'."\n", + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/ScheduledAction', + ], + 'required' => false, + 'backendName' => 'scheduledActions', + ], + 'currentError' => [ + 'title' => 'The configurations of metric-based auto scaling.'."\n", + 'description' => 'public', + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'image not found', + 'backendName' => 'currentError', + ], + 'defaultTarget' => [ + 'title' => 'The metric-based auto scaling policy.'."\n", + 'description' => 'public', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + 'backendName' => 'defaultTarget', + ], + 'current' => [ + 'title' => 'The Alibaba Cloud Resource Name (ARN) of the function.'."\n", + 'description' => 'public', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + 'backendName' => 'current', + ], + 'alwaysAllocateCPU' => [ + 'title' => 'acs:fc:cn-shanghai:124:functions/myFunction', + 'description' => 'The target number of provisioned instances at the current time. If a metric-based or scheduled auto scaling policy is in effect, the value of this parameter is the number of provisioned instances as calculated by the policy. Otherwise, the value is the default number of provisioned instances when all auto scaling policies become invalid.'."\n" + ."\n" + .'> Comparison between this parameter and defaultTarget\\'."\n" + .'Assume that after the number of provisioned instances is set to 1, a scheduled auto scaling policy is added, and this auto scaling policy increases the number of provisioned instances during a specified time period to 5.'."\n" + ."\n" + .'* During the time period when the scheduled policy **takes effect**, the value of the target parameter is 5, while the value of the defaultTarget parameter is 1.'."\n" + ."\n" + .'* When the scheduled policy **is ineffective**, both the target value and defaultTarget value are 1.'."\n", + 'visibility' => 'Public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'alwaysAllocateCPU', + ], + 'alwaysAllocateGPU' => [ + 'title' => 'public', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'alwaysAllocateGPU', + ], + 'targetTrackingPolicies' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/TargetTrackingPolicy', + ], + 'required' => false, + 'backendName' => 'targetTrackingPolicies', + ], + 'functionArn' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:fc:cn-shanghai:124:functions/myFunction/prod', + 'backendName' => 'functionArn', + ], + 'target' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '5', + 'backendName' => 'target', + ], + ], + ], + 'PublishVersionInput' => [ + 'title' => '', + 'description' => 'The request parameters of publishing versions.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'description' => [ + 'title' => '', + 'description' => 'The description of the layer version.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'my version', + 'maxLength' => 256, + 'backendName' => 'description', + ], + ], + ], + 'PutAsyncInvokeConfigInput' => [ + 'title' => '', + 'description' => 'The asynchronous invocation configurations.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'asyncTask' => [ + 'title' => '', + 'description' => 'Optional. Specify whether to enable the asynchronous task feature.'."\n", + 'visibility' => 'Public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'asyncTask', + ], + 'destinationConfig' => [ + 'title' => '', + 'description' => 'Optional. The struct of the destination of asynchronous invocations.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'destinationConfig', + '$ref' => '#/components/schemas/DestinationConfig', + ], + 'maxAsyncEventAgeInSeconds' => [ + 'title' => '', + 'description' => 'Optional. The maximum validity period of a message. Valid values: \\[1,604800]. Default value: 86400. Unit: seconds.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '300', + 'backendName' => 'maxAsyncEventAgeInSeconds', + ], + 'maxAsyncRetryAttempts' => [ + 'title' => '', + '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", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '3', + 'backendName' => 'maxAsyncRetryAttempts', + ], + ], + ], + 'PutConcurrencyInput' => [ + 'title' => '', + 'description' => 'The function concurrency configurations.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'reservedConcurrency' => [ + 'title' => '', + 'description' => 'The reserved concurrency of the function. Other functions cannot use the concurrency. The reserved concurrency includes the total concurrency of provisioned instances and on-demand instances.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '10', + 'backendName' => 'reservedConcurrency', + ], + ], + ], + 'PutProvisionConfigInput' => [ + 'title' => 'public', + 'description' => 'Specify whether to always allocate GPUs. Default value: true.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'scheduledActions' => [ + 'title' => 'The configurations of metric-based auto scaling.'."\n", + 'description' => 'public', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => 'The metric-based auto scaling policy.'."\n", + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/ScheduledAction', + ], + 'required' => false, + 'backendName' => 'scheduledActions', + ], + 'defaultTarget' => [ + 'title' => 'public', + 'description' => 'The number of target provisioned instances. Valid values: \\[0,10000].'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + 'nullable' => true, + 'backendName' => 'defaultTarget', + ], + 'alwaysAllocateCPU' => [ + 'title' => 'public', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'alwaysAllocateCPU', + ], + 'alwaysAllocateGPU' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'alwaysAllocateGPU', + ], + 'targetTrackingPolicies' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/TargetTrackingPolicy', + ], + 'required' => false, + 'backendName' => 'targetTrackingPolicies', + ], + 'target' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'deprecated' => true, + 'required' => true, + 'example' => '1', + 'nullable' => true, + 'backendName' => 'target', + ], + ], + ], + 'PutScalingConfigInput' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'residentPoolId' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'fc-pool-a2b664c1f87171j4******', + 'backendName' => 'residentPoolId', + ], + 'minInstances' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + 'backendName' => 'minInstances', + ], + 'enableOnDemandScaling' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'boolean', + 'example' => 'True', + 'backendName' => 'enableOnDemandScaling', + ], + 'scheduledPolicies' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/ScheduledPolicy', + ], + 'backendName' => 'scheduledPolicies', + ], + 'horizontalScalingPolicies' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/ScalingPolicy', + ], + 'backendName' => 'horizontalScalingPolicies', + ], + 'enableMixMode' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'boolean', + 'example' => 'False', + 'backendName' => 'enableMixMode', + ], + 'requestDispatchPolicy' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'Balanced', + 'backendName' => 'requestDispatchPolicy', + ], + ], + ], + 'RegexRule' => [ + 'title' => '', + 'description' => 'The regex rewrite configurations for custom domain names.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'match' => [ + 'title' => '', + 'description' => 'The matching rule.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => '^/api/.+?/(.*)', + 'maxLength' => 256, + 'backendName' => 'match', + ], + 'replacement' => [ + 'title' => '', + 'description' => 'The replacement rule.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => '/api/v2/$1', + 'maxLength' => 256, + 'backendName' => 'replacement', + ], + ], + ], + 'RegistryAuthConfig' => [ + 'title' => 'The username that is used to log on to the image repository.'."\n", + 'description' => 'The authentication credentials for the image repository.', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'password' => [ + 'title' => '', + 'description' => 'The image repository password.', + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'abc***', + 'backendName' => 'password', + 'sensitive' => true, + ], + 'userName' => [ + 'title' => '', + 'description' => 'The image repository username.', + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'admin', + 'backendName' => 'userName', + ], + ], + ], + 'RegistryCertConfig' => [ + 'title' => '', + 'description' => 'The certificate information of the image repository.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'insecure' => [ + 'title' => '', + 'description' => 'Whether to skip certificate verification.'."\n", + 'visibility' => 'Public', + 'type' => 'boolean', + 'required' => false, + 'backendName' => 'insecure', + ], + 'rootCaCertBase64' => [ + 'title' => '', + 'description' => 'The certificate authority (CA) certificate of the image repository.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'cm9vdF9jYV9jZXJ0', + 'backendName' => 'rootCaCertBase64', + ], + ], + ], + 'RegistryConfig' => [ + 'title' => '', + 'description' => 'The configurations of the image repository.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'authConfig' => [ + 'title' => 'TODO', + 'description' => 'The permission authentication configurations.'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'authConfig', + '$ref' => '#/components/schemas/RegistryAuthConfig', + ], + 'certConfig' => [ + 'title' => 'TODO', + 'description' => 'The certificate configurations.'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'certConfig', + '$ref' => '#/components/schemas/RegistryCertConfig', + ], + 'networkConfig' => [ + 'title' => 'TODO', + 'description' => 'The network settings.'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'networkConfig', + '$ref' => '#/components/schemas/RegistryNetworkConfig', + ], + ], + ], + 'RegistryNetworkConfig' => [ + 'title' => '', + 'description' => 'The network information of the image repository.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'securityGroupId' => [ + 'title' => '', + 'description' => 'The ID of the security group that can be used to connect to the image repository.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-xxxxxxxxxxxxxx', + 'backendName' => 'securityGroupId', + ], + 'vSwitchId' => [ + 'title' => '', + 'description' => 'The ID of the vSwitch that can be used to connect to the image repository.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-xxxxxxxxxxxxxx', + 'backendName' => 'vSwitchId', + ], + 'vpcId' => [ + 'title' => '', + 'description' => 'The ID of the virtual private cloud (VPC) that can be used to connect to the image repository.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-xxxxxxxxxxxxxx', + 'backendName' => 'vpcId', + ], + ], + ], + 'Resource' => [ + 'title' => '', + 'description' => 'The details of the resource tags.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'resouceType' => [ + 'title' => '', + 'description' => 'The name of the resource type. Valid values: ALIYUN::FC::FUNCTION and ALIYUN::FC::SERVICE. The former name is used in Function Compute 3.0, and the latter name is used in earlier versions of Function Compute.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'ALIYUN::FC::FUNCTION', + 'backendName' => 'resouceType', + ], + 'resourceArn' => [ + 'title' => '', + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the resource.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:fc:cn-shanghai:****:functions/demo', + 'backendName' => 'resourceArn', + ], + 'tags' => [ + 'title' => '', + 'description' => 'The tag dictionary.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'value1', + 'description' => '', + ], + 'backendName' => 'tags', + ], + ], + ], + 'RetryStrategy' => [ + 'title' => '', + 'description' => 'The information about the retry policy that is used if the event fails to be pushed.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'PushRetryStrategy' => [ + 'title' => '', + 'description' => 'The retry policy. Valid values:'."\n" + ."\n" + .'* **BACKOFF_RETRY**: retries with a fixed backoff interval.'."\n" + .'* **EXPONENTIAL_DECAY_RETRY**: retries with exponential backoff.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'BACKOFF_RETRY', + 'backendName' => 'PushRetryStrategy', + ], + ], + ], + 'RewriteConfig' => [ + 'title' => '', + 'description' => 'Configurations of rewrite rules.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'equalRules' => [ + 'title' => '', + 'description' => 'The exact match rules.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The exact match rule.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/EqualRule', + ], + 'required' => false, + 'backendName' => 'equalRules', + ], + 'regexRules' => [ + 'title' => '', + 'description' => 'The regex matching rules.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The regex matching rule.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/RegexRule', + ], + 'required' => false, + 'backendName' => 'regexRules', + ], + 'wildcardRules' => [ + 'title' => '', + 'description' => 'The wildcard matching rules.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The wildcard matching rule.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/WildcardRule', + ], + 'required' => false, + 'backendName' => 'wildcardRules', + ], + ], + ], + 'RouteConfig' => [ + 'title' => '', + 'description' => 'The information about the configurations of the route matching rule.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'routes' => [ + 'title' => '', + 'description' => 'The route configurations.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The route configuration.'."\n", + 'visibility' => 'public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/PathConfig', + ], + 'required' => false, + 'backendName' => 'routes', + ], + ], + ], + 'RunOptions' => [ + 'title' => '', + 'description' => 'The runtime configurations of the EventBridge-based trigger.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'batchWindow' => [ + 'title' => '', + 'description' => 'The batch window configurations.'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'batchWindow', + '$ref' => '#/components/schemas/BatchWindow', + ], + 'deadLetterQueue' => [ + 'title' => '', + 'description' => 'Whether to enable dead-letter queues. If you configure this parameter, dead-letter queues are enabled. By default, dead-letter queues are not enabled and messages are discarded when the retry policy is exhausted. Queues of Simple Message Queue (formerly MNS), ApsaraMQ for RocketMQ, and ApsaraMQ for Kafka, and EventBridge event buses can be used as dead-letter queues.'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'deadLetterQueue', + '$ref' => '#/components/schemas/DeadLetterQueue', + ], + 'errorsTolerance' => [ + 'title' => '', + 'description' => 'The fault tolerance policy. Valid values:'."\n" + ."\n" + .'* **NONE**: does not tolerate exceptions.'."\n" + .'* **ALL**: tolerates all exceptions.'."\n" + ."\n" + .'> The default value is **NONE**.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'ALL', + 'backendName' => 'errorsTolerance', + ], + 'mode' => [ + 'title' => '', + '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 the function in batches based on your push configurations. This mode is suitable for end-to-end streaming data processing scenarios. The event streaming mode supports the following event sources: Simple Message Queue (formerly MNS), ApsaraMQ for RocketMQ, ApsaraMQ for RabbitMQ, ApsaraMQ for Kafka, ApsaraMQ for MQTT, and Data Transmission Service (DTS).'."\n" + .'* **event-driven**: the event mode. In event mode, a single message is passed to the function as event parameters at a time. Events follow the CloudEvents specifications. The event mode supports the following event sources: Default, Simple Message Queue (formerly MNS), ApsaraMQ for RocketMQ, and ApsaraMQ for RabbitMQ. In this mode, batch configurations are not supported.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'event-streaming', + 'backendName' => 'mode', + ], + 'retryStrategy' => [ + 'title' => '', + 'description' => 'The retry policy that you want to use if events fail to be pushed.'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'retryStrategy', + '$ref' => '#/components/schemas/RetryStrategy', + ], + ], + ], + 'ScalingConfigStatus' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'functionArn' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'acs:fc:cn-shanghai:124:functions/myFunction/prod', + 'backendName' => 'functionArn', + ], + 'residentPoolId' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'fc-pool-a2b664c1f87171j4******', + 'backendName' => 'residentPoolId', + ], + 'minInstances' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + 'backendName' => 'qualifier', + ], + 'currentInstances' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + 'backendName' => 'currentInstances', + ], + 'currentError' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'image not found', + 'backendName' => 'currentError', + ], + 'targetInstances' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + 'backendName' => 'targetInstances', + ], + 'enableOnDemandScaling' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'boolean', + 'example' => 'True', + 'backendName' => 'enableOnDemandScaling', + ], + 'scheduledPolicies' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/ScheduledPolicy', + ], + 'backendName' => 'residentConfig', + ], + 'horizontalScalingPolicies' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/ScalingPolicy', + ], + 'backendName' => 'horizontalScalingPolicies', + ], + 'enableMixMode' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'boolean', + 'example' => 'False', + 'backendName' => 'enableMixMode', + ], + 'requestDispatchPolicy' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'Balanced', + 'backendName' => 'requestDispatchPolicy', + ], + ], + ], + 'ScalingPolicy' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'name' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'test', + 'backendName' => 'name', + ], + 'startTime' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '2023-03-10T10:10:10Z', + 'backendName' => 'startTime', + ], + 'endTime' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '2024-03-10T10:10:10Z', + 'backendName' => 'endTime', + ], + 'metricType' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'CPUUtilization', + 'backendName' => 'metricType', + ], + 'metricTarget' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.6', + 'backendName' => 'metricTarget', + ], + 'minInstances' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + 'backendName' => 'minInstances', + ], + 'maxInstances' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + 'backendName' => 'maxInstances', + ], + 'timeZone' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'Asia/Shanghai', + 'backendName' => 'timeZone', + ], + ], + ], + 'ScheduledAction' => [ + 'title' => '', + 'description' => 'The configurations of scheduled auto scaling.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'endTime' => [ + 'title' => '', + 'description' => 'The time when the policy expires.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2024-03-10T10:10:10Z', + 'backendName' => 'endTime', + ], + 'name' => [ + 'title' => '', + 'description' => 'The policy name.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'test_1', + 'backendName' => 'name', + ], + 'scheduleExpression' => [ + 'title' => '', + 'description' => 'The schedule expression.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'cron(0 0 22 * * *)', + 'backendName' => 'scheduleExpression', + ], + 'startTime' => [ + 'title' => '', + 'description' => 'The time when the policy takes effect.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2023-03-10T10:10:10Z', + 'backendName' => 'startTime', + ], + 'target' => [ + 'title' => '', + 'description' => 'The number of target provisioned instances.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '50', + 'backendName' => 'target', + ], + 'timeZone' => [ + 'title' => '', + 'description' => 'The time zone. If the time zone parameter is empty, the value of startTime, endTime, and scheduleExpression must be in UTC format.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'Asia/Shanghai', + 'backendName' => 'timeZone', + ], + ], + ], + 'ScheduledPolicy' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'name' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'student_app_shop_analyzer', + 'backendName' => 'name', + ], + 'startTime' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '1764432000000', + 'backendName' => 'startTime', + ], + 'endTime' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '1633449590000', + 'backendName' => 'endTime', + ], + 'target' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + 'backendName' => 'target', + ], + 'scheduleExpression' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '。', + 'backendName' => 'scheduleExpression', + ], + 'timeZone' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '。', + 'backendName' => 'timeZone', + ], + ], + ], + 'Session' => [ + 'title' => '', + 'description' => 'The session information.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'sessionId' => [ + 'title' => '', + 'description' => 'The unique identifier of the function session.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '81f70ae156904eb9b7d43e12f511fe58', + 'backendName' => 'sessionId', + ], + 'functionName' => [ + 'title' => '', + 'description' => 'The name of the function to which the session belongs.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'functionName1', + 'backendName' => 'functionName', + ], + 'sessionAffinityType' => [ + 'title' => '', + 'description' => 'The session affinity type.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'HEADER_FIELD', + 'backendName' => 'sessionAffinityType', + ], + 'sessionTTLInSeconds' => [ + 'title' => '', + 'description' => 'The maximum session lifecycle.'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '21600', + 'backendName' => 'sessionTTLInSeconds', + ], + 'sessionIdleTimeoutInSeconds' => [ + 'title' => '', + 'description' => 'The timeout period for idle sessions.'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1800', + 'backendName' => 'sessionIdleTimeoutInSeconds', + ], + 'createdTime' => [ + 'title' => '', + 'description' => 'The time when the session was created.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '2025-04-01T08:15:27Z', + 'backendName' => 'createdTime', + ], + 'lastModifiedTime' => [ + 'title' => '', + 'description' => 'The time when the session was last updated.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '2025-04-01T18:15:27Z', + 'backendName' => 'lastModifiedTime', + ], + 'sessionStatus' => [ + 'title' => '', + 'description' => 'The session status, which can be either Active (session is valid) or Expired (session has expired).'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'Active', + 'backendName' => 'sessionStatus', + ], + 'containerId' => [ + 'title' => '', + 'description' => 'The ID of the function instance associated with the session.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'c-68999e02-16a1955c-d2a03d1ccs', + 'backendName' => 'containerId', + ], + 'qualifier' => [ + 'title' => '', + 'description' => 'The qualifier specified when creating a session. If not provided, the default value is LATEST.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'AliasName1', + 'backendName' => 'qualifier', + ], + 'nasConfig' => [ + 'description' => 'The File Storage NAS (NAS) configuration. Once configured, the instance associated with the session can access designated NAS resources.', + 'visibility' => 'Public', + 'backendName' => 'nasConfig', + '$ref' => '#/components/schemas/NASConfig', + ], + ], + ], + 'SLSTriggerConfig' => [ + 'title' => '', + 'description' => 'The configurations of the Simple Log Service trigger.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'enable' => [ + 'title' => '', + 'description' => 'Specifies whether to enable the trigger.'."\n", + 'visibility' => 'Public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'enable', + ], + 'functionParameter' => [ + 'title' => '', + 'description' => 'The invocation configurations. 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' => 'object', + 'required' => false, + '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' => '{"foo":"bar"}', + ], + 'backendName' => 'functionParameter', + ], + 'jobConfig' => [ + 'title' => '', + 'description' => 'The interval at which the trigger reads logs, and the retry configuration upon errors.'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'jobConfig', + '$ref' => '#/components/schemas/JobConfig', + ], + 'logConfig' => [ + 'title' => '', + 'description' => 'The log configurations of the trigger.'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'logConfig', + '$ref' => '#/components/schemas/SLSTriggerLogConfig', + ], + 'sourceConfig' => [ + 'title' => '', + 'description' => 'The configurations of the trigger source.'."\n", + 'visibility' => 'Public', + 'required' => false, + 'backendName' => 'sourceConfig', + '$ref' => '#/components/schemas/SourceConfig', + ], + ], + ], + 'SLSTriggerLogConfig' => [ + 'title' => '', + 'description' => 'The log configurations of the Simple Log Service trigger.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'logstore' => [ + 'title' => '', + 'description' => 'The name of the Logstore. Exceptions and function execution statistics during function triggering are recorded in the Logstore.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'my-sls-logstore-name', + 'backendName' => 'logstore', + ], + 'project' => [ + 'title' => '', + 'description' => 'The name of the project. Exceptions that occur during function triggering and execution statistics are recorded in the Logstore under the project.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'my-sls-project-name', + 'backendName' => 'project', + ], + ], + ], + 'SourceConfig' => [ + 'title' => '', + 'description' => 'The event source configurations of the Simple Log Service.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'logstore' => [ + 'title' => '', + 'description' => 'The name of the Logstore. The trigger periodically subscribes to data from this Logstore and then triggers the function.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'my-sls-logstore-name', + 'backendName' => 'logstore', + ], + 'startTime' => [ + 'title' => '', + 'description' => 'The start time of consumption. Unit: seconds. If you do not specify this parameter, consumption starts from the latest data. If this parameter is specified, a trigger event is generated for data written after the specified time. For consumption of existing data, the trigger interval is ignored to catch up with the consumption delay until the real-time trigger progress is caught up. When the catch-up is complete, the trigger starts to trigger function invocations based on the specified trigger event interval without delay.'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1704790317', + 'backendName' => 'startTime', + ], + ], + ], + 'SourceDTSParameters' => [ + 'title' => '', + 'description' => 'The custom event source configurations of Data Transmission Service (DTS) in EventBridge.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'BrokerUrl' => [ + 'title' => '', + 'description' => 'The network address and port number of the change tracking instance.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'dts-cn-shanghai-vpc.com:18003', + 'backendName' => 'BrokerUrl', + ], + 'InitCheckPoint' => [ + 'title' => '', + 'description' => 'The UNIX timestamp that is generated when the SDK client consumes the first data record.'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1677340805', + 'backendName' => 'InitCheckPoint', + ], + 'Password' => [ + 'title' => '', + 'description' => 'The consumer group password.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'dtsTest123', + 'backendName' => 'Password', + ], + 'RegionId' => [ + 'title' => '', + 'description' => 'The region of the DTS instance.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + 'backendName' => 'RegionId', + ], + 'Sid' => [ + 'title' => '', + 'description' => 'The consumer group ID.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'dtse34j22j025a****', + 'backendName' => 'Sid', + ], + 'TaskId' => [ + 'title' => '', + 'description' => 'The task ID.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'e34z2gm325q****', + 'backendName' => 'TaskId', + ], + 'Topic' => [ + 'title' => '', + 'description' => 'The name of the tracked topic of the change tracking instance.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'cn_shanghai_vpc_rm_uf6398ykj0218****_dts_trigger_upgrade_from_old_version2', + 'backendName' => 'Topic', + ], + 'Username' => [ + 'title' => '', + 'description' => 'The account of the consumer group.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'dts_trigger', + 'backendName' => 'Username', + ], + ], + ], + 'SourceKafkaParameters' => [ + 'title' => '', + 'description' => 'The custom configurations when the event source is ApsaraMQ for Kafka in EventBridge.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'ConsumerGroup' => [ + 'title' => '', + 'description' => 'The group ID of the consumer that subscribes to the topic.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'DEFAULT_GROUP', + 'backendName' => 'ConsumerGroup', + ], + 'InstanceId' => [ + 'title' => '', + 'description' => 'The ID of the EventBridge instance.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'r-8vb64581862c****', + 'backendName' => 'InstanceId', + ], + 'Network' => [ + 'title' => '', + 'description' => 'The network type. Default value: Default. The value PublicNetwork specifies a virtual private cloud (VPC) network.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'Default', + 'backendName' => 'Network', + ], + 'OffsetReset' => [ + 'title' => '', + 'description' => 'The offset. earliest: consumes messages from the earliest offset. latest: consumes messages from the latest offset.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'latest', + 'backendName' => 'OffsetReset', + ], + 'RegionId' => [ + 'title' => '', + 'description' => 'The region in which the ApsaraMQ for Kafka instance resides.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + 'backendName' => 'RegionId', + ], + 'SecurityGroupId' => [ + 'title' => '', + 'description' => 'The ID of the security group.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-bp1iv19sp1msc7zot4****', + 'backendName' => 'SecurityGroupId', + ], + 'Topic' => [ + 'title' => '', + 'description' => 'The name of the topic in the ApsaraMQ for Kafka instance.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'popvip_center_robot_order', + 'backendName' => 'Topic', + ], + 'VSwitchIds' => [ + 'title' => '', + 'description' => 'The ID of the vSwitch.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-bp179l3llg3jjxwrq72****', + 'backendName' => 'VSwitchIds', + ], + 'VpcId' => [ + 'title' => '', + 'description' => 'The ID of the VPC.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-8vblalsi0vbhizr77****', + 'backendName' => 'VpcId', + ], + ], + ], + 'SourceMNSParameters' => [ + 'title' => '', + 'description' => 'Custom event source parameters of Simple Message Queue (formerly MNS) for EventBridge.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'IsBase64Decode' => [ + 'title' => '', + 'description' => 'Specify whether to enable Base64 encoding. Default value: true. Valid values: true false'."\n", + 'visibility' => 'Public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'IsBase64Decode', + ], + 'QueueName' => [ + 'title' => '', + 'description' => 'The name of the queue of Simple Message Queue (formerly MNS).'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'demo', + 'backendName' => 'QueueName', + ], + 'RegionId' => [ + 'title' => '', + 'description' => 'The region to which the queue of Simple Message Queue (formerly MNS) belongs.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-shanghai', + 'backendName' => 'RegionId', + ], + ], + ], + 'SourceMQTTParameters' => [ + 'title' => '', + 'description' => 'The custom configurations when the event source is ApsaraMQ for MQTT in EventBridge.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'title' => '', + 'description' => 'The ID of the ApsaraMQ for MQTT instance.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'mqtt-****', + 'backendName' => 'InstanceId', + ], + 'RegionId' => [ + 'title' => '', + 'description' => 'The region in which the ApsaraMQ for MQTT instance resides.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + 'backendName' => 'RegionId', + ], + 'Topic' => [ + 'title' => '', + 'description' => 'The name of the topic in the ApsaraMQ for MQTT instance.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'testTopic', + 'backendName' => 'Topic', + ], + ], + ], + 'SourceRabbitMQParameters' => [ + 'title' => '', + 'description' => 'The custom event source configurations of ApsaraMQ for RabbitMQ in EventBridge.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => [ + 'title' => '', + 'description' => 'The ID of the ApsaraMQ for RabbitMQ instance.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'amqp-cn-nif22u74****', + 'backendName' => 'InstanceId', + ], + 'QueueName' => [ + 'title' => '', + 'description' => 'The queue name of the ApsaraMQ for RabbitMQ instance.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'demo', + 'backendName' => 'QueueName', + ], + 'RegionId' => [ + 'title' => '', + 'description' => 'The region in which the ApsaraMQ for RabbitMQ instance resides.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + 'backendName' => 'RegionId', + ], + 'VirtualHostName' => [ + 'title' => '', + 'description' => 'The vhost name of the ApsaraMQ for RabbitMQ instance.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'eb-connect', + 'backendName' => 'VirtualHostName', + ], + ], + ], + 'SourceRocketMQParameters' => [ + 'title' => '', + 'description' => 'The custom event source configurations of ApsaraMQ for RocketMQ.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'AuthType' => [ + 'title' => '', + 'description' => 'The authentication type. Set the value to ACL or leave the value empty. The value ACL indicates that authentication is enabled. In this case, you must specify InstanceUsername and InstancePassword.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'ACL', + 'backendName' => 'AuthType', + ], + 'FilterType' => [ + 'title' => '', + 'description' => 'The message filter type.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'Tag', + 'backendName' => 'FilterType', + ], + 'GroupID' => [ + 'title' => '', + 'description' => 'The ID of the consumer group of the ApsaraMQ for RocketMQ instance.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'GID_group1', + 'backendName' => 'GroupID', + ], + 'InstanceEndpoint' => [ + 'title' => '', + 'description' => 'The information about the endpoint of the ApsaraMQ for RocketMQ instance.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'registry-vpc.cn-hangzhou.aliyuncs.com', + 'backendName' => 'InstanceEndpoint', + ], + 'InstanceId' => [ + 'title' => '', + 'description' => 'The ID of the ApsaraMQ for RocketMQ instance.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'MQ_INST_164901546557****_BAAN****', + 'backendName' => 'InstanceId', + ], + 'InstanceNetwork' => [ + 'title' => '', + 'description' => 'The network type.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'PrivateNetwork', + 'backendName' => 'InstanceNetwork', + ], + 'InstancePassword' => [ + 'title' => '', + 'description' => 'The password of the ApsaraMQ for RocketMQ instance.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => '123', + 'backendName' => 'InstancePassword', + ], + 'InstanceSecurityGroupId' => [ + 'title' => '', + 'description' => 'The security group ID.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-hp35r2hc3a3sv8q2****', + 'backendName' => 'InstanceSecurityGroupId', + ], + 'InstanceType' => [ + 'title' => '', + 'description' => 'The type of ApsaraMQ for RocketMQ instance.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'Cloud_5', + 'backendName' => 'InstanceType', + ], + 'InstanceUsername' => [ + 'title' => '', + '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', + 'required' => false, + 'example' => '6W0xz2uPfiwp****', + 'backendName' => 'InstanceUsername', + ], + 'InstanceVSwitchIds' => [ + 'title' => '', + 'description' => 'The ID of the vSwitch associated with the instance.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-uf6gwtbn6etadpvz7****', + 'backendName' => 'InstanceVSwitchIds', + ], + 'InstanceVpcId' => [ + 'title' => '', + 'description' => 'The ID of the virtual private cloud (VPC) associated with the instance.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-uf6of9452b2pba82c****', + 'backendName' => 'InstanceVpcId', + ], + 'Offset' => [ + 'title' => '', + 'description' => 'The consumer offset of the message. CONSUME_FROM_LAST_OFFSET: consumes messages from the latest offset. This is the default value. CONSUME_FROM_FIRST_OFFSET: consumes messages from the earliest offset. CONSUME_FROM_TIMESTAMP: consumes messages from the offset at the specified point in time.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'CONSUME_FROM_TIMESTAMP', + 'backendName' => 'Offset', + ], + 'RegionId' => [ + 'title' => '', + 'description' => 'The region to which the ApsaraMQ for RocketMQ queue belongs.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-shanghai', + 'backendName' => 'RegionId', + ], + 'Tag' => [ + 'title' => '', + 'description' => 'The tags that are used to filter messages.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + 'backendName' => 'Tag', + ], + 'Timestamp' => [ + 'title' => '', + 'description' => 'The timestamp. This parameter is valid only when you set Offset to CONSUME_FROM_TIMESTAMP.'."\n", + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1636597951964', + 'backendName' => 'Timestamp', + ], + 'Topic' => [ + 'title' => '', + 'description' => 'The name of the topic in the ApsaraMQ for RocketMQ instance.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'myTopic', + 'backendName' => 'Topic', + ], + ], + ], + 'Tag' => [ + 'title' => '', + 'description' => 'The tag information.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '', + 'description' => 'The tag key.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'k1', + 'backendName' => 'Key', + ], + 'Value' => [ + 'title' => '', + 'description' => 'The tag value.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'v1', + 'backendName' => 'Value', + ], + ], + ], + 'TagResource' => [ + 'title' => '', + 'description' => 'The details of the resource tags.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'ResourceId' => [ + 'title' => '', + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the resource.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:fc:cn-shanghai:****:functions/demo', + 'backendName' => 'ResourceId', + ], + 'ResourceType' => [ + 'title' => '', + 'description' => 'The name of the resource type.'."\n" + ."\n" + .'The function type in Function Compute 3.0 is ALIYUN::FC::FUNCTION, which is abbreviated as "function".'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'function', + 'backendName' => 'ResourceType', + ], + 'TagKey' => [ + 'title' => '', + 'description' => 'The tag key.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'key1', + 'backendName' => 'TagKey', + ], + 'TagValue' => [ + 'title' => '', + 'description' => 'The tag value.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'key1', + 'backendName' => 'TagValue', + ], + ], + ], + 'TagResourceInput' => [ + 'title' => '', + 'description' => 'The resource to which you want to add a tag.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'resourceArn' => [ + 'title' => '', + 'description' => 'The resource descriptor.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'acs:fc:cn-shanghai:xxx:functions/f1', + 'minLength' => 1, + 'backendName' => 'resourceArn', + ], + 'tags' => [ + 'title' => '', + 'description' => 'The tag dictionary.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'required' => true, + 'additionalProperties' => [ + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'value1', + 'description' => '', + ], + 'backendName' => 'tags', + ], + ], + ], + 'TagResourcesInput' => [ + 'title' => '', + 'description' => 'The resource to which you want to add a tag.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'ResourceId' => [ + 'title' => '', + 'description' => 'The resource IDs.'."\n", + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => 'The resource ID.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'acs:fc:cn-shanghai:xxx:functions/f1', + 'extendType' => 'true', + ], + 'required' => true, + 'backendName' => 'ResourceId', + ], + 'ResourceType' => [ + 'title' => '', + 'description' => 'The type of the resource.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'FUNCTION', + 'backendName' => 'ResourceType', + ], + 'Tag' => [ + 'title' => '', + 'description' => 'The tags.'."\n", + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the tags.'."\n", + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/Tag', + ], + 'required' => true, + 'backendName' => 'Tag', + ], + ], + ], + 'TargetTrackingPolicy' => [ + 'title' => '', + 'description' => 'The configurations of metric-based auto scaling.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'endTime' => [ + 'title' => '', + 'description' => 'The end time of the policy, in UTC.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2024-03-10T10:10:10Z', + 'backendName' => 'endTime', + ], + 'maxCapacity' => [ + 'title' => '', + 'description' => 'The maximum number of provisioned instances for scale-out.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '10', + 'backendName' => 'maxCapacity', + ], + 'metricTarget' => [ + 'title' => '', + 'description' => 'The threshold value for metric-based auto scaling.'."\n", + 'visibility' => 'public', + 'type' => 'number', + 'format' => 'float', + 'required' => true, + 'example' => '0.6', + 'backendName' => 'metricTarget', + ], + 'metricType' => [ + 'title' => '', + 'description' => 'The metric type for tracing. ProvisionedConcurrencyUtilization: the concurrency utilization of provisioned instances. CPUUtilization: the CPU utilization. GPUMemUtilization: the GPU utilization.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'CPUUtilization', + 'backendName' => 'metricType', + ], + 'minCapacity' => [ + 'title' => '', + 'description' => 'The minimum number of provisioned instances for scale-in.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + 'backendName' => 'minCapacity', + ], + 'name' => [ + 'title' => '', + 'description' => 'The policy name.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'test_1', + 'backendName' => 'name', + ], + 'startTime' => [ + 'title' => '', + 'description' => 'The time when the policy starts to take effect, in UTC.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2023-03-10T10:10:10Z', + 'backendName' => 'startTime', + ], + 'timeZone' => [ + 'title' => '', + 'description' => 'The time zone. If the time zone parameter is empty, the time of startTime and endTime must be in UTC format.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'Asia/Shanghai', + 'backendName' => 'timeZone', + ], + ], + ], + 'TimerTriggerConfig' => [ + 'title' => '', + 'description' => 'The configurations of the time trigger.'."\n", + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'cronExpression' => [ + 'title' => '', + 'description' => 'The trigger period expression. You can specify to trigger based on a time interval. For example, the expression @every 4m indicates that the triggering is performed every four minutes. You can also specify to trigger based on a cron expression, for example, 0 0 4 \\* \\* \\*.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => '0 0 4 * * *', + 'backendName' => 'cronExpression', + ], + 'enable' => [ + 'title' => '', + 'description' => 'Specify whether to enable the trigger.'."\n", + 'visibility' => 'Public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'enable', + ], + 'payload' => [ + 'title' => '', + 'description' => 'Enter custom parameters. The trigger message is used as the value of the payload in the event.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => '{"workflowInstanceId":"39639"}', + 'backendName' => 'payload', + ], + ], + ], + 'TLSConfig' => [ + 'title' => '', + 'description' => 'The TLS configurations.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'cipherSuites' => [ + 'title' => '', + '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' => '', + 'description' => 'The maximum TLS version. Valid values: TLSv1.3 and TLSv1.2.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'TLSv1.3', + 'backendName' => 'maxVersion', + ], + 'minVersion' => [ + 'title' => '', + 'description' => 'The minimum TLS version. Valid values: TLSv1.3 and TLSv1.2.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => 'TLSv1.0', + 'backendName' => 'minVersion', + ], + ], + ], + 'TracingConfig' => [ + 'title' => '', + 'description' => 'The configurations of Managed Service for OpenTelemetry.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'params' => [ + 'title' => '', + 'description' => 'The parameters of Managed Service for OpenTelemetry. Specify the value in the map\\[string]string format, where the key is "endpoint", and the value is the internal endpoint of Tracing Analysis. Example: endpoint: http://tracing-analysis-dc-hz.aliyuncs.com/adapt_xxx/api/otlp/traces.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'http://tracing-analysis-dc-hz.aliyuncs.com/adapt_xxx/api/otlp/traces', + 'description' => '', + ], + 'backendName' => 'params', + ], + 'type' => [ + 'title' => '', + 'description' => 'The type of protocol for Managed Service for OpenTelemetry. Only Jaeger is supported.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'Jaeger', + 'backendName' => 'type', + ], + ], + ], + 'Trigger' => [ + 'title' => '', + 'description' => 'The trigger configurations.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'createdTime' => [ + 'title' => '', + 'description' => 'The time when the trigger was created.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2020-08-20T02:28:21Z', + 'backendName' => 'createdTime', + ], + 'description' => [ + 'title' => '', + 'description' => 'The description of the trigger.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'test_description', + 'backendName' => 'description', + ], + 'httpTrigger' => [ + 'title' => '', + 'description' => 'The information about the HTTP trigger.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'httpTrigger', + '$ref' => '#/components/schemas/HTTPTrigger', + ], + 'invocationRole' => [ + 'title' => '', + 'description' => 'The role that is used by the event source such as OSS to invoke the function.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:ram::151641468453****:role/my-role', + 'backendName' => 'invocationRole', + ], + 'lastModifiedTime' => [ + 'title' => '', + 'description' => 'The time when the trigger was last modified.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2020-04-23T06:32:43Z', + 'backendName' => 'lastModifiedTime', + ], + 'qualifier' => [ + 'title' => '', + 'description' => 'The version or alias of the function.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + 'backendName' => 'qualifier', + ], + 'sourceArn' => [ + 'title' => '', + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the event source for the trigger.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:oss:cn-hangzhou:151641468453****:my-bucket', + 'backendName' => 'sourceArn', + ], + 'status' => [ + 'title' => '', + 'description' => 'The status of the trigger.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'OK', + 'backendName' => 'status', + ], + 'targetArn' => [ + 'title' => '', + 'description' => 'The ARN of the function.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:oss:cn-hangzhou:151641468453****:my-bucket', + 'backendName' => 'targetArn', + ], + 'triggerConfig' => [ + 'title' => '', + 'description' => 'The configurations of the trigger. The configurations vary based on trigger types.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "events": ['."\n" + .' "oss:ObjectCreated:*"'."\n" + .' ],'."\n" + .' "filter": {'."\n" + .' "key": {'."\n" + .' "prefix": "/prefix",'."\n" + .' "suffix": ".zip"'."\n" + .' }'."\n" + .' }'."\n" + .'}', + 'backendName' => 'triggerConfig', + ], + 'triggerId' => [ + 'title' => '', + 'description' => 'The unique ID of the trigger.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '546959b5-ce1a-4991-8891-df7a02b25086', + 'backendName' => 'triggerId', + ], + '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", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'defaultTrigger', + 'backendName' => 'triggerName', + ], + 'triggerType' => [ + 'title' => '', + 'description' => 'The type of the trigger.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'http', + 'backendName' => 'triggerType', + ], + ], + ], + 'UpdateAliasInput' => [ + 'title' => '', + 'description' => 'The request parameters to update an alias.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'additionalVersionWeight' => [ + 'title' => '', + 'description' => 'The weight of the canary release version.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'visibility' => 'public', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + 'description' => '', + ], + 'backendName' => 'additionalVersionWeight', + ], + 'description' => [ + 'title' => '', + 'description' => 'The alias description.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'my alias', + 'maxLength' => 256, + 'backendName' => 'description', + ], + 'versionId' => [ + 'title' => '', + 'description' => 'The version to which the alias points.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '1', + 'maxLength' => 10, + 'minLength' => 1, + 'backendName' => 'versionId', + ], + ], + ], + 'UpdateCustomDomainInput' => [ + 'title' => '', + 'description' => 'The information about the request parameters for updating the custom domain name.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'authConfig' => [ + 'title' => '', + 'description' => 'The configuration of permission authentication.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'authConfig', + '$ref' => '#/components/schemas/AuthConfig', + ], + 'certConfig' => [ + 'title' => '', + 'description' => 'The configuration of the HTTPS certificate.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'certConfig', + '$ref' => '#/components/schemas/CertConfig', + ], + 'protocol' => [ + 'title' => '', + 'description' => 'The protocol type that is supported by the custom domain name. Valid values: HTTP HTTPS HTTP,HTTPS'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'HTTP', + 'backendName' => 'protocol', + ], + 'routeConfig' => [ + 'title' => '', + 'description' => 'The route table that maps paths to functions when the function is invoked by using the custom domain name.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'routeConfig', + '$ref' => '#/components/schemas/RouteConfig', + ], + 'tlsConfig' => [ + 'title' => '', + 'description' => 'The Transport Layer Security (TLS) configuration.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'tlsConfig', + '$ref' => '#/components/schemas/TLSConfig', + ], + 'wafConfig' => [ + 'title' => '', + 'description' => 'The Web Application Firewall (WAF) configuration.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'wafConfig', + '$ref' => '#/components/schemas/WAFConfig', + ], + ], + ], + 'UpdateFunctionInput' => [ + 'title' => '', + 'description' => 'The request parameters for updating the function.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'customRuntimeConfig' => [ + 'title' => '', + 'description' => 'The configurations of the custom runtime.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'customRuntimeConfig', + '$ref' => '#/components/schemas/CustomRuntimeConfig', + ], + 'handler' => [ + 'title' => '', + 'description' => 'The handler of the function. The format of the handler is related to the runtime you use.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'index.handler', + 'maxLength' => 128, + 'minLength' => 1, + 'backendName' => 'handler', + ], + 'logConfig' => [ + 'title' => '', + 'description' => 'The logging configurations. Logs generated by the function are written to the specified Logstore.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'logConfig', + '$ref' => '#/components/schemas/LogConfig', + ], + 'code' => [ + 'title' => '', + 'description' => 'The code package of the function. Configure either code or customContainerConfig.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'code', + '$ref' => '#/components/schemas/InputCodeLocation', + ], + 'role' => [ + 'title' => '', + 'description' => 'The Resource Access Management (RAM) role that grants the necessary permissions to Function Compute. The role can be used in the following scenarios: 1. When Function Compute sends logs generated by the function to your Logstore. 2. When Function Compute obtains a Security Token Service (STS) token, which serves as a temporary key for your function to access other Alibaba Cloud services.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:ram::188077086902****:role/fc-test', + 'maxLength' => 300, + 'backendName' => 'role', + ], + 'disableOndemand' => [ + 'visibility' => 'Public', + 'type' => 'boolean', + 'backendName' => 'disableOndemand', + ], + 'instanceLifecycleConfig' => [ + 'title' => '', + 'description' => 'The configurations of instance lifecycle hooks.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'instanceLifecycleConfig', + '$ref' => '#/components/schemas/InstanceLifecycleConfig', + ], + 'tracingConfig' => [ + 'title' => '', + 'description' => 'The configurations of Managed Service for OpenTelemetry. After Function Compute is integrated with Managed Service for OpenTelemetry, you can record the invocation duration of a request, view the cold start duration of a function, and track the execution duration of the function.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'tracingConfig', + '$ref' => '#/components/schemas/TracingConfig', + ], + 'gpuConfig' => [ + 'title' => '', + 'description' => 'The GPU configurations of the function.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'gpuConfig', + '$ref' => '#/components/schemas/GPUConfig', + ], + 'nasConfig' => [ + 'title' => '', + 'description' => 'The File Storage NAS (NAS) configurations. The configurations allow the function to access the specified NAS file system.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'nasConfig', + '$ref' => '#/components/schemas/NASConfig', + ], + 'cpu' => [ + 'title' => '', + 'description' => 'The CPU power allocated to the function. Unit: vCPUs. The value must be a multiple of 0.05.'."\n", + 'visibility' => 'public', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '1', + 'backendName' => 'cpu', + ], + 'description' => [ + 'title' => '', + 'description' => 'The description of the function.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'my function', + 'maxLength' => 256, + 'backendName' => 'description', + ], + 'runtime' => [ + 'title' => '', + 'description' => 'The runtime of the function.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'nodejs14', + 'backendName' => 'runtime', + ], + 'customContainerConfig' => [ + 'title' => '', + 'description' => 'The configurations of the Custom Container runtime. After you configure a Custom Container runtime for your function, Function Compute can execute the function in a custom container image. Configure either code or customContainerConfig.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'customContainerConfig', + '$ref' => '#/components/schemas/CustomContainerConfig', + ], + 'instanceConcurrency' => [ + 'title' => '', + 'description' => 'The maximum number of requests that a function instance can process at a time.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'backendName' => 'instanceConcurrency', + ], + 'timeout' => [ + 'title' => '', + 'description' => 'The timeout period for function execution. Unit: seconds. Minimum value: 1. Default value: 3. The execution of the function is terminated when the timeout period expires.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '60', + 'backendName' => 'timeout', + ], + 'diskSize' => [ + 'title' => '', + 'description' => 'The disk size of the function. Unit: MB. Valid values: 512 and 10240.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '512', + 'backendName' => 'diskSize', + ], + 'memorySize' => [ + 'title' => '', + 'description' => 'The memory capacity for the function. Unit: MB. The value must be a multiple of 64. The capacity varies based on the type of the function instance.'."\n", + 'visibility' => 'public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '512', + 'backendName' => 'memorySize', + ], + 'customDNS' => [ + 'title' => '', + 'description' => 'The custom DNS settings of the function.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'customDNS', + '$ref' => '#/components/schemas/CustomDNS', + ], + 'internetAccess' => [ + 'title' => 'service config', + 'description' => 'Specifies whether to allow the function to access the Internet.'."\n", + 'visibility' => 'public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'internetAccess', + ], + 'environmentVariables' => [ + 'title' => '', + 'description' => 'The environment variables of the function. You can access the specified environment variables in the runtime.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'value1', + 'description' => '', + ], + 'backendName' => 'environmentVariables', + ], + 'vpcConfig' => [ + 'title' => '', + 'description' => 'The Virtual Private Cloud (VPC) configurations. The configurations allow the function to access the specified VPC resources.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'vpcConfig', + '$ref' => '#/components/schemas/VPCConfig', + ], + 'layers' => [ + 'title' => '', + 'description' => 'The layers. Multiple layers are merged based on the order of array subscripts. If two layers have the same file name, the content of the layer with the smaller subscript will overwrite the content of the layer with the larger subscript.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the layer.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1', + 'extendType' => 'true', + ], + 'required' => false, + 'backendName' => 'layers', + ], + 'ossMountConfig' => [ + 'title' => '', + 'description' => 'The Object Storage Service (OSS) mounting configurations.'."\n", + 'visibility' => 'public', + 'required' => false, + 'backendName' => 'ossMountConfig', + '$ref' => '#/components/schemas/OSSMountConfig', + ], + ], + ], + 'UpdateSessionInput' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'sessionTTLInSeconds' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '21600', + 'backendName' => 'sessionTTLInSeconds', + ], + 'sessionIdleTimeoutInSeconds' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1800', + 'backendName' => 'sessionIdleTimeoutInSeconds', + ], + ], + ], + 'UpdateTriggerInput' => [ + 'title' => '', + 'description' => 'The information about request parameters for updating the trigger.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'description' => [ + 'title' => '', + 'description' => 'The description of the trigger.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'trigger for test', + 'maxLength' => 256, + 'backendName' => 'description', + ], + 'invocationRole' => [ + 'title' => '', + 'description' => 'The role that is used by the event source such as object Storage Service (OSS) to invoke the function.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'acs:ram::1234567890:role/fc-test', + 'maxLength' => 300, + 'backendName' => 'invocationRole', + ], + 'qualifier' => [ + 'title' => '', + 'description' => 'The version or alias of the service to which the function belongs.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + 'backendName' => 'qualifier', + ], + 'triggerConfig' => [ + 'title' => '', + 'description' => 'The configuration of the trigger. The configuration vary based on the trigger type.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '{"events":["oss:ObjectCreated:*"],"filter":{"key":{"prefix":"/prefix","suffix":".zip"}}}', + 'backendName' => 'triggerConfig', + ], + ], + ], + 'Version' => [ + 'title' => '', + 'description' => 'The version information.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'createdTime' => [ + 'title' => '', + 'description' => 'The time when the version was created.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2006-01-02T15:04:05Z07:00', + 'backendName' => 'createdTime', + ], + 'description' => [ + 'title' => '', + 'description' => 'The description of the layer version.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'my version', + 'backendName' => 'description', + ], + 'lastModifiedTime' => [ + 'title' => '', + 'description' => 'The time when the version was last updated.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '2006-01-02T15:04:05Z07:00', + 'backendName' => 'lastModifiedTime', + ], + 'versionId' => [ + 'title' => '', + 'description' => 'The version ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => '1', + 'backendName' => 'versionId', + ], + ], + ], + 'VPCConfig' => [ + 'title' => '', + 'description' => 'The Virtual Private Cloud (VPC) configurations.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'securityGroupId' => [ + 'title' => '', + 'description' => 'The security group ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'sg-bp18hj1wtxgy3b0***', + 'maxLength' => 50, + 'backendName' => 'securityGroupId', + ], + 'vSwitchIds' => [ + 'title' => '', + 'description' => 'The list of vSwitches.'."\n", + 'visibility' => 'public', + 'type' => 'array', + 'items' => [ + 'description' => 'The vSwitch ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'example' => 'vsw-bp1ozpcrdc6r****', + 'extendType' => 'true', + ], + 'required' => false, + 'maxItems' => 10, + 'backendName' => 'vSwitchIds', + ], + 'vpcId' => [ + 'title' => '', + 'description' => 'The VPC ID.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-***', + 'maxLength' => 50, + 'backendName' => 'vpcId', + ], + 'role' => [ + 'title' => '', + 'description' => 'The RAM role that is assumed by Function Compute to access VPC.'."\n", + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'acs:ram::188077086902****:role/fc-test', + 'backendName' => 'role', + ], + ], + ], + 'WAFConfig' => [ + 'title' => '', + 'description' => 'The Web Application Firewall (WAF) configuration of the custom domain name.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'enableWAF' => [ + 'title' => '', + 'description' => 'Specifies whether to enable WAF protection.'."\n", + 'visibility' => 'public', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'backendName' => 'enableWAF', + ], + ], + ], + 'WildcardRule' => [ + 'title' => '', + 'description' => 'The information about the configurations of the wildcard rewrite rule for custom domain names.'."\n", + 'visibility' => 'public', + 'type' => 'object', + 'properties' => [ + 'match' => [ + 'title' => '', + 'description' => 'The matching rule.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => '/api/*', + 'maxLength' => 256, + 'backendName' => 'match', + ], + 'replacement' => [ + 'title' => '', + 'description' => 'The replacement rule.'."\n", + 'visibility' => 'public', + 'type' => 'string', + 'required' => true, + 'example' => '/$1', + 'maxLength' => 256, + 'backendName' => 'replacement', + ], + ], + ], + ], + ], + 'apis' => [ + 'ChangeResourceGroup' => [ + 'summary' => 'Updates the resource group of a Function Compute resource.', + 'path' => '/2023-03-30/resource-groups', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREfcUV7P9M', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + 'description' => 'The request details for updating the resource group.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ChangeResourceGroupInput', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response details for updating the resource group.'."\n", + '$ref' => '#/components/schemas/ChangeResourceGroupOutput', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ResourceId\\": \\"\\",\\n \\"NewResourceGroupId\\": \\"\\",\\n \\"OldResourceGroupId\\": \\"\\"\\n}","type":"json"}]', + 'title' => 'ChangeResourceGroup', + 'description' => 'To update the resource group of a Function Compute resource, you must grant the user the ChangeResourceGroup permission on both the current resource group and the target resource group.'."\n", + ], + 'DescribeRegions' => [ + 'summary' => 'Queries the regions where Function Compute 3.0 is available.', + 'path' => '/2023-03-30/regions', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREfcVF016G', + 'FEATUREfcAXUA30', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'AcceptLanguage', + 'in' => 'query', + 'schema' => [ + 'title' => '根据汉语、英语等语言筛选返回结果。更多详情,请参见RFC 7231。取值范围:'."\n" + ."\n" + .'zh-CN:中文。'."\n" + .'en-US:英文。'."\n" + .'ja:日语'."\n" + .'默认值:zh-CN。', + 'description' => 'The language in which the list of regions is returned. For more information, see RFC 7231. Valid values:'."\n" + ."\n" + .'* zh-CN: Simplified Chinese.'."\n" + .'* en-US: English.'."\n" + .'* ja: Japanese'."\n" + ."\n" + .'Default value: en-US'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'zh-CN', + 'default' => 'zh-CN', + 'enum' => [ + 'zh-CN', + 'en-US', + 'ja', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response parameters.'."\n", + '$ref' => '#/components/schemas/DescribeRegionsOutput', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Regions\\": {\\n \\"Region\\": [\\n {\\n \\"RegionId\\": \\"\\",\\n \\"LocalName\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'DescribeRegions', + ], + 'CreateCustomDomain' => [ + 'summary' => 'Creates a custom domain name.', + 'path' => '/2023-03-30/custom-domains', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '178552', + 'abilityTreeNodes' => [ + 'FEATUREfcJ7WA06', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '自定义域名信息', + 'description' => 'The information about the custom domain name.'."\n", + 'required' => true, + '$ref' => '#/components/schemas/CreateCustomDomainInput', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '自定义域名信息', + 'schema' => [ + 'title' => '自定义域名信息', + 'description' => 'The information about the custom domain name.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/CustomDomain', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"accountId\\": \\"\\",\\n \\"apiVersion\\": \\"2023-03-30\\",\\n \\"authConfig\\": {\\n \\"authInfo\\": \\"{}\\",\\n \\"authType\\": \\"anonymous, function, jwt\\"\\n },\\n \\"certConfig\\": {\\n \\"certName\\": \\"my-cert\\",\\n \\"certificate\\": \\"PEM format\\",\\n \\"privateKey\\": \\"PEM format\\"\\n },\\n \\"createdTime\\": \\"2023-03-30T08:02:19Z\\",\\n \\"domainName\\": \\"example.com\\",\\n \\"lastModifiedTime\\": \\"2023-03-30T08:02:19Z\\",\\n \\"protocol\\": \\"HTTP\\",\\n \\"routeConfig\\": {\\n \\"routes\\": [\\n {\\n \\"functionName\\": \\"myFunction\\",\\n \\"methods\\": [\\n \\"GET\\"\\n ],\\n \\"path\\": \\"/api/*\\",\\n \\"qualifier\\": \\"myAlias\\",\\n \\"rewriteConfig\\": {\\n \\"equalRules\\": [\\n {\\n \\"match\\": \\"/old\\",\\n \\"replacement\\": \\"/new\\"\\n }\\n ],\\n \\"regexRules\\": [\\n {\\n \\"match\\": \\"^/api/.+?/(.*)\\",\\n \\"replacement\\": \\"/api/v2/$1\\"\\n }\\n ],\\n \\"wildcardRules\\": [\\n {\\n \\"match\\": \\"/api/*\\",\\n \\"replacement\\": \\"/$1\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"subdomainCount\\": \\"1\\",\\n \\"tlsConfig\\": {\\n \\"cipherSuites\\": [\\n \\"TLS_RSA_WITH_RC4_128_SHA\\"\\n ],\\n \\"maxVersion\\": \\"TLSv1.3\\",\\n \\"minVersion\\": \\"TLSv1.0\\"\\n },\\n \\"wafConfig\\": {\\n \\"enableWAF\\": true\\n },\\n \\"corsConfig\\": {\\n \\"allowOrigins\\": [\\n \\"\\"\\n ],\\n \\"allowMethods\\": [\\n \\"\\"\\n ],\\n \\"allowHeaders\\": [\\n \\"\\"\\n ],\\n \\"exposeHeaders\\": [\\n \\"\\"\\n ],\\n \\"allowCredentials\\": true,\\n \\"maxAge\\": 3600\\n }\\n}","type":"json"}]', + 'title' => 'CreateCustomDomain', + 'description' => 'If you want to use a fixed domain name to access an application or function in a production environment of Function Compute, or to resolve the issue of forced downloads when accessing an HTTP trigger, you can bind a custom domain name to the application or function.'."\n", + ], + 'DeleteCustomDomain' => [ + 'summary' => 'Deletes a custom domain name.', + 'path' => '/2023-03-30/custom-domains/{domainName}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '178514', + 'abilityTreeNodes' => [ + 'FEATUREfcJ7WA06', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'domainName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '域名', + 'description' => 'The domain name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'foo.bar.com', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 204 => [ + 'description' => 'No Content', + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', + 'title' => 'DeleteCustomDomain', + ], + 'GetCustomDomain' => [ + 'summary' => 'Queries information about a custom domain name.', + 'path' => '/2023-03-30/custom-domains/{domainName}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '178522', + 'abilityTreeNodes' => [ + 'FEATUREfcJ7WA06', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'domainName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '域名', + 'description' => 'The domain name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'foo.bar.com', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '自定义域名信息', + 'schema' => [ + 'title' => '自定义域名信息', + 'description' => 'The information about the custom domain name.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/CustomDomain', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"accountId\\": \\"\\",\\n \\"apiVersion\\": \\"2023-03-30\\",\\n \\"authConfig\\": {\\n \\"authInfo\\": \\"{}\\",\\n \\"authType\\": \\"anonymous, function, jwt\\"\\n },\\n \\"certConfig\\": {\\n \\"certName\\": \\"my-cert\\",\\n \\"certificate\\": \\"PEM format\\",\\n \\"privateKey\\": \\"PEM format\\"\\n },\\n \\"createdTime\\": \\"2023-03-30T08:02:19Z\\",\\n \\"domainName\\": \\"example.com\\",\\n \\"lastModifiedTime\\": \\"2023-03-30T08:02:19Z\\",\\n \\"protocol\\": \\"HTTP\\",\\n \\"routeConfig\\": {\\n \\"routes\\": [\\n {\\n \\"functionName\\": \\"myFunction\\",\\n \\"methods\\": [\\n \\"GET\\"\\n ],\\n \\"path\\": \\"/api/*\\",\\n \\"qualifier\\": \\"myAlias\\",\\n \\"rewriteConfig\\": {\\n \\"equalRules\\": [\\n {\\n \\"match\\": \\"/old\\",\\n \\"replacement\\": \\"/new\\"\\n }\\n ],\\n \\"regexRules\\": [\\n {\\n \\"match\\": \\"^/api/.+?/(.*)\\",\\n \\"replacement\\": \\"/api/v2/$1\\"\\n }\\n ],\\n \\"wildcardRules\\": [\\n {\\n \\"match\\": \\"/api/*\\",\\n \\"replacement\\": \\"/$1\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"subdomainCount\\": \\"1\\",\\n \\"tlsConfig\\": {\\n \\"cipherSuites\\": [\\n \\"TLS_RSA_WITH_RC4_128_SHA\\"\\n ],\\n \\"maxVersion\\": \\"TLSv1.3\\",\\n \\"minVersion\\": \\"TLSv1.0\\"\\n },\\n \\"wafConfig\\": {\\n \\"enableWAF\\": true\\n },\\n \\"corsConfig\\": {\\n \\"allowOrigins\\": [\\n \\"\\"\\n ],\\n \\"allowMethods\\": [\\n \\"\\"\\n ],\\n \\"allowHeaders\\": [\\n \\"\\"\\n ],\\n \\"exposeHeaders\\": [\\n \\"\\"\\n ],\\n \\"allowCredentials\\": true,\\n \\"maxAge\\": 3600\\n }\\n}","type":"json"}]', + 'title' => 'GetCustomDomain', + ], + 'ListCustomDomains' => [ + 'summary' => 'Queries custom domain names.', + 'path' => '/2023-03-30/custom-domains', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '178557', + 'abilityTreeNodes' => [ + 'FEATUREfcJ7WA06', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'prefix', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '域名前缀', + 'description' => 'The domain name prefix.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'foo', + ], + 'examples' => [], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '分页起始标记', + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'MTIzNCNhYmM=', + ], + 'examples' => [], + ], + [ + 'name' => 'limit', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '返回的自定义域名数量', + 'description' => 'The number of custom domain names returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '自定义域名列表', + 'schema' => [ + 'title' => '自定义域名列表', + 'description' => 'The custom domain names.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ListCustomDomainOutput', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"customDomains\\": [\\n {\\n \\"accountId\\": \\"\\",\\n \\"apiVersion\\": \\"2023-03-30\\",\\n \\"authConfig\\": {\\n \\"authInfo\\": \\"{}\\",\\n \\"authType\\": \\"anonymous, function, jwt\\"\\n },\\n \\"certConfig\\": {\\n \\"certName\\": \\"my-cert\\",\\n \\"certificate\\": \\"PEM format\\",\\n \\"privateKey\\": \\"PEM format\\"\\n },\\n \\"createdTime\\": \\"2023-03-30T08:02:19Z\\",\\n \\"domainName\\": \\"example.com\\",\\n \\"lastModifiedTime\\": \\"2023-03-30T08:02:19Z\\",\\n \\"protocol\\": \\"HTTP\\",\\n \\"routeConfig\\": {\\n \\"routes\\": [\\n {\\n \\"functionName\\": \\"myFunction\\",\\n \\"methods\\": [\\n \\"GET\\"\\n ],\\n \\"path\\": \\"/api/*\\",\\n \\"qualifier\\": \\"myAlias\\",\\n \\"rewriteConfig\\": {\\n \\"equalRules\\": [\\n {\\n \\"match\\": \\"/old\\",\\n \\"replacement\\": \\"/new\\"\\n }\\n ],\\n \\"regexRules\\": [\\n {\\n \\"match\\": \\"^/api/.+?/(.*)\\",\\n \\"replacement\\": \\"/api/v2/$1\\"\\n }\\n ],\\n \\"wildcardRules\\": [\\n {\\n \\"match\\": \\"/api/*\\",\\n \\"replacement\\": \\"/$1\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"subdomainCount\\": \\"1\\",\\n \\"tlsConfig\\": {\\n \\"cipherSuites\\": [\\n \\"TLS_RSA_WITH_RC4_128_SHA\\"\\n ],\\n \\"maxVersion\\": \\"TLSv1.3\\",\\n \\"minVersion\\": \\"TLSv1.0\\"\\n },\\n \\"wafConfig\\": {\\n \\"enableWAF\\": true\\n },\\n \\"corsConfig\\": {\\n \\"allowOrigins\\": [\\n \\"\\"\\n ],\\n \\"allowMethods\\": [\\n \\"\\"\\n ],\\n \\"allowHeaders\\": [\\n \\"\\"\\n ],\\n \\"exposeHeaders\\": [\\n \\"\\"\\n ],\\n \\"allowCredentials\\": true,\\n \\"maxAge\\": 3600\\n }\\n }\\n ],\\n \\"nextToken\\": \\"next_domain_name\\"\\n}","type":"json"}]', + 'title' => 'ListCustomDomains', + ], + 'UpdateCustomDomain' => [ + 'summary' => 'Update a custom domain name.', + 'path' => '/2023-03-30/custom-domains/{domainName}', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '178510', + 'abilityTreeNodes' => [ + 'FEATUREfcJ7WA06', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'domainName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '域名', + 'description' => 'The domain name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'foo.bar.com', + ], + 'examples' => [], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '自定义域名信息', + 'description' => 'The information about the custom domain name.'."\n", + 'required' => true, + '$ref' => '#/components/schemas/UpdateCustomDomainInput', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '自定义域名信息', + 'schema' => [ + 'title' => '自定义域名信息', + 'description' => 'The information about the custom domain name.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/CustomDomain', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"accountId\\": \\"\\",\\n \\"apiVersion\\": \\"2023-03-30\\",\\n \\"authConfig\\": {\\n \\"authInfo\\": \\"{}\\",\\n \\"authType\\": \\"anonymous, function, jwt\\"\\n },\\n \\"certConfig\\": {\\n \\"certName\\": \\"my-cert\\",\\n \\"certificate\\": \\"PEM format\\",\\n \\"privateKey\\": \\"PEM format\\"\\n },\\n \\"createdTime\\": \\"2023-03-30T08:02:19Z\\",\\n \\"domainName\\": \\"example.com\\",\\n \\"lastModifiedTime\\": \\"2023-03-30T08:02:19Z\\",\\n \\"protocol\\": \\"HTTP\\",\\n \\"routeConfig\\": {\\n \\"routes\\": [\\n {\\n \\"functionName\\": \\"myFunction\\",\\n \\"methods\\": [\\n \\"GET\\"\\n ],\\n \\"path\\": \\"/api/*\\",\\n \\"qualifier\\": \\"myAlias\\",\\n \\"rewriteConfig\\": {\\n \\"equalRules\\": [\\n {\\n \\"match\\": \\"/old\\",\\n \\"replacement\\": \\"/new\\"\\n }\\n ],\\n \\"regexRules\\": [\\n {\\n \\"match\\": \\"^/api/.+?/(.*)\\",\\n \\"replacement\\": \\"/api/v2/$1\\"\\n }\\n ],\\n \\"wildcardRules\\": [\\n {\\n \\"match\\": \\"/api/*\\",\\n \\"replacement\\": \\"/$1\\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"subdomainCount\\": \\"1\\",\\n \\"tlsConfig\\": {\\n \\"cipherSuites\\": [\\n \\"TLS_RSA_WITH_RC4_128_SHA\\"\\n ],\\n \\"maxVersion\\": \\"TLSv1.3\\",\\n \\"minVersion\\": \\"TLSv1.0\\"\\n },\\n \\"wafConfig\\": {\\n \\"enableWAF\\": true\\n },\\n \\"corsConfig\\": {\\n \\"allowOrigins\\": [\\n \\"\\"\\n ],\\n \\"allowMethods\\": [\\n \\"\\"\\n ],\\n \\"allowHeaders\\": [\\n \\"\\"\\n ],\\n \\"exposeHeaders\\": [\\n \\"\\"\\n ],\\n \\"allowCredentials\\": true,\\n \\"maxAge\\": 3600\\n }\\n}","type":"json"}]', + 'title' => 'UpdateCustomDomain', + ], + 'DeleteFunctionVersion' => [ + 'summary' => 'Deletes a function version.', + 'path' => '/2023-03-30/functions/{functionName}/versions/{versionId}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '178526', + 'abilityTreeNodes' => [ + 'FEATUREfcDTB0I5', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => '函数版本。', + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'versionId', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数版本', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 204 => [ + 'description' => 'No Content', + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', + 'title' => 'DeleteFunctionVersion', + ], + 'GetFunctionCode' => [ + 'summary' => 'Queries a code package of a function.', + 'path' => '/2023-03-30/functions/{functionName}/code', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '179099', + 'abilityTreeNodes' => [ + 'FEATUREfcVF016G', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => 'Function name', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数版本或别名', + 'description' => 'The version or alias of the function.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '函数代码信息', + 'schema' => [ + 'title' => '函数代码信息', + 'description' => 'The information about the function code.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/OutputFuncCode', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + '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', + ], + 'ListFunctionVersions' => [ + 'summary' => 'Queries versions of a function.', + 'path' => '/2023-03-30/functions/{functionName}/versions', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '178543', + 'abilityTreeNodes' => [ + 'FEATUREfcDTB0I5', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '分页起始标记', + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'MTIzNCNhYmM=', + ], + 'examples' => [], + ], + [ + 'name' => 'direction', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '版本排序方式', + 'description' => 'The sorting mode of function versions. Valid values: BACKWARD and FORWARD.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'BACKWARD', + ], + 'examples' => [], + ], + [ + 'name' => 'limit', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '返回的版本数量', + 'description' => 'The number of function versions that are returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '函数版本列表', + 'schema' => [ + 'title' => '函数版本列表', + 'description' => 'The list of function versions.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ListVersionsOutput', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"direction\\": \\"FORWARD\\",\\n \\"nextToken\\": \\"3\\",\\n \\"versions\\": [\\n {\\n \\"createdTime\\": \\"2006-01-02T15:04:05Z07:00\\",\\n \\"description\\": \\"my version\\",\\n \\"lastModifiedTime\\": \\"2006-01-02T15:04:05Z07:00\\",\\n \\"versionId\\": \\"1\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListFunctionVersions', + ], + 'PublishFunctionVersion' => [ + 'summary' => 'Publishes a function version.', + 'path' => '/2023-03-30/functions/{functionName}/versions', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '178541', + 'abilityTreeNodes' => [ + 'FEATUREfcDTB0I5', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数版本信息', + 'description' => 'The information about the function version.'."\n", + 'required' => true, + '$ref' => '#/components/schemas/PublishVersionInput', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '函数版本信息', + 'schema' => [ + 'title' => '函数版本信息', + 'description' => 'The information about the function version.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Version', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"createdTime\\": \\"2006-01-02T15:04:05Z07:00\\",\\n \\"description\\": \\"my version\\",\\n \\"lastModifiedTime\\": \\"2006-01-02T15:04:05Z07:00\\",\\n \\"versionId\\": \\"1\\"\\n}","type":"json"}]', + 'title' => 'PublishFunctionVersion', + ], + 'CreateFunction' => [ + 'summary' => 'Creates a function.', + 'path' => '/2023-03-30/functions', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '178509', + 'abilityTreeNodes' => [ + 'FEATUREfcVF016G', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数配置信息', + 'description' => 'The information about function configurations.'."\n", + 'required' => true, + '$ref' => '#/components/schemas/CreateFunctionInput', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '函数配置信息', + 'schema' => [ + 'title' => '函数配置信息', + 'description' => 'The function configurations.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Function', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"codeChecksum\\": \\"2825179536350****\\",\\n \\"codeSize\\": 412,\\n \\"cpu\\": 1,\\n \\"createdTime\\": \\"2023-04-01T08:15:27Z\\",\\n \\"customContainerConfig\\": {\\n \\"accelerationInfo\\": {\\n \\"status\\": \\"deprecated\\"\\n },\\n \\"accelerationType\\": \\"deprecated\\",\\n \\"acrInstanceId\\": \\"deprecated\\",\\n \\"command\\": [\\n \\"arg1\\"\\n ],\\n \\"entrypoint\\": [\\n \\"/code/bootstrap\\"\\n ],\\n \\"healthCheckConfig\\": {\\n \\"failureThreshold\\": 1,\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 1,\\n \\"periodSeconds\\": 1,\\n \\"successThreshold\\": 2,\\n \\"timeoutSeconds\\": 2\\n },\\n \\"image\\": \\"registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1\\",\\n \\"port\\": 9000,\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"password\\": \\"abc***\\",\\n \\"userName\\": \\"admin\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": true,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0\\"\\n },\\n \\"networkConfig\\": {\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxxx\\",\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxxx\\"\\n }\\n },\\n \\"resolvedImageUri\\": \\"stand-sh-registry-vpc.cn-shanghai.cr.aliyuncs.com/fc-demo2/springboot-helloworld@sha256:68d1****0d64d6\\"\\n },\\n \\"customDNS\\": {\\n \\"dnsOptions\\": [\\n {\\n \\"name\\": \\"ndots\\",\\n \\"value\\": \\"2\\"\\n }\\n ],\\n \\"nameServers\\": [\\n \\"8.8.x.x\\"\\n ],\\n \\"searches\\": [\\n \\"ns1.svc.cluster-domain.example\\"\\n ]\\n },\\n \\"customRuntimeConfig\\": {\\n \\"args\\": [\\n \\"arg1\\"\\n ],\\n \\"command\\": [\\n \\"/code/bootstrap\\"\\n ],\\n \\"healthCheckConfig\\": {\\n \\"failureThreshold\\": 1,\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 1,\\n \\"periodSeconds\\": 1,\\n \\"successThreshold\\": 2,\\n \\"timeoutSeconds\\": 2\\n },\\n \\"port\\": 9000\\n },\\n \\"description\\": \\"my function\\",\\n \\"diskSize\\": 512,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"value1\\"\\n },\\n \\"functionArn\\": \\"acs:fc:cn-shanghai:123:functions/functionName\\",\\n \\"functionId\\": \\"aa715851-1c20-4b89-a8fb-***\\",\\n \\"functionName\\": \\"my-function-1\\",\\n \\"gpuConfig\\": {\\n \\"gpuMemorySize\\": 2048,\\n \\"gpuType\\": \\"fc.gpu.tesla.1\\"\\n },\\n \\"handler\\": \\"index.handler\\",\\n \\"instanceConcurrency\\": 1,\\n \\"instanceLifecycleConfig\\": {\\n \\"initializer\\": {\\n \\"handler\\": \\"index.initializer\\",\\n \\"timeout\\": 10,\\n \\"command\\": [\\n \\"curl -X POST \'http://localhost:9000/preWarm\\"\\n ]\\n },\\n \\"preStop\\": {\\n \\"handler\\": \\"index.initializer\\",\\n \\"timeout\\": 10,\\n \\"command\\": [\\n \\"curl -X POST \'http://localhost:9000/preWarm\\"\\n ]\\n }\\n },\\n \\"internetAccess\\": true,\\n \\"lastModifiedTime\\": \\"2023-05-01T08:15:27Z\\",\\n \\"lastUpdateStatus\\": \\"InProgress\\",\\n \\"lastUpdateStatusReason\\": \\"The system is currently processing the acceleration optimization for the image.\\",\\n \\"lastUpdateStatusReasonCode\\": \\"ImageOptimizing\\",\\n \\"layers\\": [\\n {\\n \\"arn\\": \\"acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1\\",\\n \\"size\\": 421\\n }\\n ],\\n \\"logConfig\\": {\\n \\"enableInstanceMetrics\\": true,\\n \\"enableRequestMetrics\\": true,\\n \\"logBeginRule\\": \\"DefaultRegex\\",\\n \\"logstore\\": \\"test-logstore\\",\\n \\"project\\": \\"test-project\\",\\n \\"enableLlmMetrics\\": true\\n },\\n \\"memorySize\\": 512,\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"bucketPath\\": \\"/my-dir\\",\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true\\n }\\n ]\\n },\\n \\"role\\": \\"acs:ram::188077086902****:role/fc-test\\",\\n \\"runtime\\": \\"python3.10\\",\\n \\"state\\": \\"Pending\\",\\n \\"stateReason\\": \\"Function creating\\",\\n \\"stateReasonCode\\": \\"Creating\\",\\n \\"timeout\\": 60,\\n \\"tracingConfig\\": {\\n \\"params\\": {\\n \\"key\\": \\"tracing_analysis_jaeger_endpoint\\"\\n },\\n \\"type\\": \\"Jaeger\\"\\n },\\n \\"vpcConfig\\": {\\n \\"securityGroupId\\": \\"sg-bp18hj1wtxgy3b0***\\",\\n \\"vSwitchIds\\": [\\n \\"vsw-bp1ozpcrdc6r****\\"\\n ],\\n \\"vpcId\\": \\"vpc-***\\",\\n \\"role\\": \\"acs:ram::188077086902****:role/fc-test\\"\\n },\\n \\"tags\\": [\\n {\\n \\"Key\\": \\"k1\\",\\n \\"Value\\": \\"v1\\"\\n }\\n ],\\n \\"disableOndemand\\": true,\\n \\"invocationRestriction\\": {\\n \\"reason\\": \\"\\",\\n \\"lastModifiedTime\\": \\"\\",\\n \\"disable\\": true\\n },\\n \\"sessionAffinity\\": \\"\\",\\n \\"enableLongLiving\\": true,\\n \\"resourceGroupId\\": \\"\\",\\n \\"instanceIsolationMode\\": \\"\\",\\n \\"sessionAffinityConfig\\": \\"{\\\\\\\\\\\\\\"sseEndpointPath\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/sse\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"sessionConcurrencyPerInstance\\\\\\\\\\\\\\":20}\\",\\n \\"idleTimeout\\": 100,\\n \\"disableInjectCredentials\\": \\"\\",\\n \\"polarFsConfig\\": {\\n \\"groupId\\": 0,\\n \\"userId\\": 0,\\n \\"mountPoints\\": [\\n {\\n \\"instanceId\\": \\"\\",\\n \\"mountDir\\": \\"\\",\\n \\"remoteDir\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'CreateFunction', + 'description' => 'Resources of Function Compute are scheduled and run based on functions. A function usually refers to a code snippet that is written by a user and can be independently executed to respond to events and requests.'."\n", + ], + 'DeleteFunction' => [ + 'summary' => 'Deletes a function.', + 'path' => '/2023-03-30/functions/{functionName}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeCode' => '178556', + 'abilityTreeNodes' => [ + 'FEATUREfcVF016G', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 204 => [ + 'description' => 'No Content', + 'examples' => [], + ], + 500 => [ + 'description' => 'Internal Server Error', + 'headers' => [], + 'schema' => [ + 'title' => 'Internal Server Error', + 'description' => 'Internal Server Error', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', + 'title' => 'DeleteFunction', + ], + 'GetFunction' => [ + 'summary' => 'http://pre.hhht/#vpc', + 'path' => '/2023-03-30/functions/{functionName}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '178530', + 'abilityTreeNodes' => [ + 'FEATUREfcVF016G', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'Ready', + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数版本或别名', + 'description' => '2023-03-10T10:10:10Z', + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '函数信息', + 'schema' => [ + 'title' => '函数信息', + 'description' => 'The function information.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Function', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"codeChecksum\\": \\"2825179536350****\\",\\n \\"codeSize\\": 412,\\n \\"cpu\\": 1,\\n \\"createdTime\\": \\"2023-04-01T08:15:27Z\\",\\n \\"customContainerConfig\\": {\\n \\"accelerationInfo\\": {\\n \\"status\\": \\"deprecated\\"\\n },\\n \\"accelerationType\\": \\"deprecated\\",\\n \\"acrInstanceId\\": \\"deprecated\\",\\n \\"command\\": [\\n \\"arg1\\"\\n ],\\n \\"entrypoint\\": [\\n \\"/code/bootstrap\\"\\n ],\\n \\"healthCheckConfig\\": {\\n \\"failureThreshold\\": 1,\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 1,\\n \\"periodSeconds\\": 1,\\n \\"successThreshold\\": 2,\\n \\"timeoutSeconds\\": 2\\n },\\n \\"image\\": \\"registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1\\",\\n \\"port\\": 9000,\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"password\\": \\"abc***\\",\\n \\"userName\\": \\"admin\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": true,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0\\"\\n },\\n \\"networkConfig\\": {\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxxx\\",\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxxx\\"\\n }\\n },\\n \\"resolvedImageUri\\": \\"stand-sh-registry-vpc.cn-shanghai.cr.aliyuncs.com/fc-demo2/springboot-helloworld@sha256:68d1****0d64d6\\"\\n },\\n \\"customDNS\\": {\\n \\"dnsOptions\\": [\\n {\\n \\"name\\": \\"ndots\\",\\n \\"value\\": \\"2\\"\\n }\\n ],\\n \\"nameServers\\": [\\n \\"8.8.x.x\\"\\n ],\\n \\"searches\\": [\\n \\"ns1.svc.cluster-domain.example\\"\\n ]\\n },\\n \\"customRuntimeConfig\\": {\\n \\"args\\": [\\n \\"arg1\\"\\n ],\\n \\"command\\": [\\n \\"/code/bootstrap\\"\\n ],\\n \\"healthCheckConfig\\": {\\n \\"failureThreshold\\": 1,\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 1,\\n \\"periodSeconds\\": 1,\\n \\"successThreshold\\": 2,\\n \\"timeoutSeconds\\": 2\\n },\\n \\"port\\": 9000\\n },\\n \\"description\\": \\"my function\\",\\n \\"diskSize\\": 512,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"value1\\"\\n },\\n \\"functionArn\\": \\"acs:fc:cn-shanghai:123:functions/functionName\\",\\n \\"functionId\\": \\"aa715851-1c20-4b89-a8fb-***\\",\\n \\"functionName\\": \\"my-function-1\\",\\n \\"gpuConfig\\": {\\n \\"gpuMemorySize\\": 2048,\\n \\"gpuType\\": \\"fc.gpu.tesla.1\\"\\n },\\n \\"handler\\": \\"index.handler\\",\\n \\"instanceConcurrency\\": 1,\\n \\"instanceLifecycleConfig\\": {\\n \\"initializer\\": {\\n \\"handler\\": \\"index.initializer\\",\\n \\"timeout\\": 10,\\n \\"command\\": [\\n \\"curl -X POST \'http://localhost:9000/preWarm\\"\\n ]\\n },\\n \\"preStop\\": {\\n \\"handler\\": \\"index.initializer\\",\\n \\"timeout\\": 10,\\n \\"command\\": [\\n \\"curl -X POST \'http://localhost:9000/preWarm\\"\\n ]\\n }\\n },\\n \\"internetAccess\\": true,\\n \\"lastModifiedTime\\": \\"2023-05-01T08:15:27Z\\",\\n \\"lastUpdateStatus\\": \\"InProgress\\",\\n \\"lastUpdateStatusReason\\": \\"The system is currently processing the acceleration optimization for the image.\\",\\n \\"lastUpdateStatusReasonCode\\": \\"ImageOptimizing\\",\\n \\"layers\\": [\\n {\\n \\"arn\\": \\"acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1\\",\\n \\"size\\": 421\\n }\\n ],\\n \\"logConfig\\": {\\n \\"enableInstanceMetrics\\": true,\\n \\"enableRequestMetrics\\": true,\\n \\"logBeginRule\\": \\"DefaultRegex\\",\\n \\"logstore\\": \\"test-logstore\\",\\n \\"project\\": \\"test-project\\",\\n \\"enableLlmMetrics\\": true\\n },\\n \\"memorySize\\": 512,\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"bucketPath\\": \\"/my-dir\\",\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true\\n }\\n ]\\n },\\n \\"role\\": \\"acs:ram::188077086902****:role/fc-test\\",\\n \\"runtime\\": \\"python3.10\\",\\n \\"state\\": \\"Pending\\",\\n \\"stateReason\\": \\"Function creating\\",\\n \\"stateReasonCode\\": \\"Creating\\",\\n \\"timeout\\": 60,\\n \\"tracingConfig\\": {\\n \\"params\\": {\\n \\"key\\": \\"tracing_analysis_jaeger_endpoint\\"\\n },\\n \\"type\\": \\"Jaeger\\"\\n },\\n \\"vpcConfig\\": {\\n \\"securityGroupId\\": \\"sg-bp18hj1wtxgy3b0***\\",\\n \\"vSwitchIds\\": [\\n \\"vsw-bp1ozpcrdc6r****\\"\\n ],\\n \\"vpcId\\": \\"vpc-***\\",\\n \\"role\\": \\"acs:ram::188077086902****:role/fc-test\\"\\n },\\n \\"tags\\": [\\n {\\n \\"Key\\": \\"k1\\",\\n \\"Value\\": \\"v1\\"\\n }\\n ],\\n \\"disableOndemand\\": true,\\n \\"invocationRestriction\\": {\\n \\"reason\\": \\"\\",\\n \\"lastModifiedTime\\": \\"\\",\\n \\"disable\\": true\\n },\\n \\"sessionAffinity\\": \\"\\",\\n \\"enableLongLiving\\": true,\\n \\"resourceGroupId\\": \\"\\",\\n \\"instanceIsolationMode\\": \\"\\",\\n \\"sessionAffinityConfig\\": \\"{\\\\\\\\\\\\\\"sseEndpointPath\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/sse\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"sessionConcurrencyPerInstance\\\\\\\\\\\\\\":20}\\",\\n \\"idleTimeout\\": 100,\\n \\"disableInjectCredentials\\": \\"\\",\\n \\"polarFsConfig\\": {\\n \\"groupId\\": 0,\\n \\"userId\\": 0,\\n \\"mountPoints\\": [\\n {\\n \\"instanceId\\": \\"\\",\\n \\"mountDir\\": \\"\\",\\n \\"remoteDir\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'GetFunction', + ], + 'ListFunctions' => [ + 'summary' => 'Queries a list of functions.', + 'path' => '/2023-03-30/functions', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '178520', + 'abilityTreeNodes' => [ + 'FEATUREfcVF016G', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'prefix', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数名称前缀', + 'description' => 'The prefix of the function name.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '分页起始标记', + 'description' => 'The pagination token.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'MTIzNCNhYmM=', + ], + 'examples' => [], + ], + [ + 'name' => 'limit', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '返回函数的数量', + 'description' => 'The number of functions to return. The minimum value is 1 and the maximum value is 100.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + 'examples' => [], + ], + [ + 'name' => 'fcVersion', + 'in' => 'query', + 'schema' => [ + 'title' => '函数所属的版本。枚举值:v3,v2。v3: 只列出FC3.0的函数;v2:只列出FC2.0的函数;默认不填:列出FC3.0和FC2.0的函数', + 'description' => 'The version of Function Compute to which the functions belong.'."\n" + ."\n" + .'* v3: Only lists functions of Function Compute 3.0.'."\n" + .'* v2: Only lists functions of Function Compute 2.0.'."\n" + ."\n" + .'By default, this parameter is left empty and functions in both Function Compute 3.0 and Function Compute 2.0 are listed.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'v3', + 'enum' => [ + 'v3', + 'v2', + ], + ], + ], + [ + 'name' => 'tags', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '需要过滤的函数标签', + 'description' => 'The tag of the functions to retrieve.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the tag that is added to a function.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Tag', + ], + 'required' => false, + ], + ], + [ + 'name' => 'runtime', + 'in' => 'query', + 'schema' => [ + 'title' => '需要过滤的函数运行时', + 'description' => 'The runtime of the functions to retrieve.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'python3.10', + ], + ], + [ + 'name' => 'gpuType', + 'in' => 'query', + 'schema' => [ + 'title' => '需要过滤的函数GPU卡型', + 'description' => 'The GPU type of the functions to retrieve.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'fc.gpu.tesla.1', + ], + ], + [ + 'name' => 'description', + 'in' => 'query', + 'schema' => [ + 'title' => '需要过滤的函数描述', + 'description' => 'The description of the functions to retrieve.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'test_description', + ], + ], + [ + 'name' => 'functionName', + 'in' => 'query', + 'schema' => [ + 'title' => '函数名称。', + 'type' => 'string', + ], + ], + [ + 'name' => 'resourceGroupId', + 'in' => 'query', + 'schema' => [ + 'title' => '资源组 ID', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '函数列表', + 'schema' => [ + 'title' => '函数列表', + 'description' => 'The functions.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ListFunctionsOutput', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"functions\\": [\\n {\\n \\"codeChecksum\\": \\"2825179536350****\\",\\n \\"codeSize\\": 412,\\n \\"cpu\\": 1,\\n \\"createdTime\\": \\"2023-04-01T08:15:27Z\\",\\n \\"customContainerConfig\\": {\\n \\"accelerationInfo\\": {\\n \\"status\\": \\"deprecated\\"\\n },\\n \\"accelerationType\\": \\"deprecated\\",\\n \\"acrInstanceId\\": \\"deprecated\\",\\n \\"command\\": [\\n \\"arg1\\"\\n ],\\n \\"entrypoint\\": [\\n \\"/code/bootstrap\\"\\n ],\\n \\"healthCheckConfig\\": {\\n \\"failureThreshold\\": 1,\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 1,\\n \\"periodSeconds\\": 1,\\n \\"successThreshold\\": 2,\\n \\"timeoutSeconds\\": 2\\n },\\n \\"image\\": \\"registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1\\",\\n \\"port\\": 9000,\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"password\\": \\"abc***\\",\\n \\"userName\\": \\"admin\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": true,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0\\"\\n },\\n \\"networkConfig\\": {\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxxx\\",\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxxx\\"\\n }\\n },\\n \\"resolvedImageUri\\": \\"stand-sh-registry-vpc.cn-shanghai.cr.aliyuncs.com/fc-demo2/springboot-helloworld@sha256:68d1****0d64d6\\"\\n },\\n \\"customDNS\\": {\\n \\"dnsOptions\\": [\\n {\\n \\"name\\": \\"ndots\\",\\n \\"value\\": \\"2\\"\\n }\\n ],\\n \\"nameServers\\": [\\n \\"8.8.x.x\\"\\n ],\\n \\"searches\\": [\\n \\"ns1.svc.cluster-domain.example\\"\\n ]\\n },\\n \\"customRuntimeConfig\\": {\\n \\"args\\": [\\n \\"arg1\\"\\n ],\\n \\"command\\": [\\n \\"/code/bootstrap\\"\\n ],\\n \\"healthCheckConfig\\": {\\n \\"failureThreshold\\": 1,\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 1,\\n \\"periodSeconds\\": 1,\\n \\"successThreshold\\": 2,\\n \\"timeoutSeconds\\": 2\\n },\\n \\"port\\": 9000\\n },\\n \\"description\\": \\"my function\\",\\n \\"diskSize\\": 512,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"value1\\"\\n },\\n \\"functionArn\\": \\"acs:fc:cn-shanghai:123:functions/functionName\\",\\n \\"functionId\\": \\"aa715851-1c20-4b89-a8fb-***\\",\\n \\"functionName\\": \\"my-function-1\\",\\n \\"gpuConfig\\": {\\n \\"gpuMemorySize\\": 2048,\\n \\"gpuType\\": \\"fc.gpu.tesla.1\\"\\n },\\n \\"handler\\": \\"index.handler\\",\\n \\"instanceConcurrency\\": 1,\\n \\"instanceLifecycleConfig\\": {\\n \\"initializer\\": {\\n \\"handler\\": \\"index.initializer\\",\\n \\"timeout\\": 10,\\n \\"command\\": [\\n \\"curl -X POST \'http://localhost:9000/preWarm\\"\\n ]\\n },\\n \\"preStop\\": {\\n \\"handler\\": \\"index.initializer\\",\\n \\"timeout\\": 10,\\n \\"command\\": [\\n \\"curl -X POST \'http://localhost:9000/preWarm\\"\\n ]\\n }\\n },\\n \\"internetAccess\\": true,\\n \\"lastModifiedTime\\": \\"2023-05-01T08:15:27Z\\",\\n \\"lastUpdateStatus\\": \\"InProgress\\",\\n \\"lastUpdateStatusReason\\": \\"The system is currently processing the acceleration optimization for the image.\\",\\n \\"lastUpdateStatusReasonCode\\": \\"ImageOptimizing\\",\\n \\"layers\\": [\\n {\\n \\"arn\\": \\"acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1\\",\\n \\"size\\": 421\\n }\\n ],\\n \\"logConfig\\": {\\n \\"enableInstanceMetrics\\": true,\\n \\"enableRequestMetrics\\": true,\\n \\"logBeginRule\\": \\"DefaultRegex\\",\\n \\"logstore\\": \\"test-logstore\\",\\n \\"project\\": \\"test-project\\",\\n \\"enableLlmMetrics\\": true\\n },\\n \\"memorySize\\": 512,\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"bucketPath\\": \\"/my-dir\\",\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true\\n }\\n ]\\n },\\n \\"role\\": \\"acs:ram::188077086902****:role/fc-test\\",\\n \\"runtime\\": \\"python3.10\\",\\n \\"state\\": \\"Pending\\",\\n \\"stateReason\\": \\"Function creating\\",\\n \\"stateReasonCode\\": \\"Creating\\",\\n \\"timeout\\": 60,\\n \\"tracingConfig\\": {\\n \\"params\\": {\\n \\"key\\": \\"tracing_analysis_jaeger_endpoint\\"\\n },\\n \\"type\\": \\"Jaeger\\"\\n },\\n \\"vpcConfig\\": {\\n \\"securityGroupId\\": \\"sg-bp18hj1wtxgy3b0***\\",\\n \\"vSwitchIds\\": [\\n \\"vsw-bp1ozpcrdc6r****\\"\\n ],\\n \\"vpcId\\": \\"vpc-***\\",\\n \\"role\\": \\"acs:ram::188077086902****:role/fc-test\\"\\n },\\n \\"tags\\": [\\n {\\n \\"Key\\": \\"k1\\",\\n \\"Value\\": \\"v1\\"\\n }\\n ],\\n \\"disableOndemand\\": true,\\n \\"invocationRestriction\\": {\\n \\"reason\\": \\"\\",\\n \\"lastModifiedTime\\": \\"\\",\\n \\"disable\\": true\\n },\\n \\"sessionAffinity\\": \\"\\",\\n \\"enableLongLiving\\": true,\\n \\"resourceGroupId\\": \\"\\",\\n \\"instanceIsolationMode\\": \\"\\",\\n \\"sessionAffinityConfig\\": \\"{\\\\\\\\\\\\\\"sseEndpointPath\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/sse\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"sessionConcurrencyPerInstance\\\\\\\\\\\\\\":20}\\",\\n \\"idleTimeout\\": 100,\\n \\"disableInjectCredentials\\": \\"\\",\\n \\"polarFsConfig\\": {\\n \\"groupId\\": 0,\\n \\"userId\\": 0,\\n \\"mountPoints\\": [\\n {\\n \\"instanceId\\": \\"\\",\\n \\"mountDir\\": \\"\\",\\n \\"remoteDir\\": \\"\\"\\n }\\n ]\\n }\\n }\\n ],\\n \\"nextToken\\": \\"next_function_name\\"\\n}","type":"json"}]', + 'title' => 'ListFunctions', + 'description' => 'ListFunctions returns only a subset of a function\'s attribute fields. To obtain the additional fields, which include state, stateReasonCode, stateReason, lastUpdateStatus, lastUpdateStatusReasonCode, and lastUpdateStatusReason, use [GetFunction](~~2618610~~).'."\n", + ], + 'InvokeFunction' => [ + 'summary' => 'Invokes a function.', + 'path' => '/2023-03-30/functions/{functionName}/invocations', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/octet-stream', + ], + 'produces' => [ + 'application/octet-stream', + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '178547', + 'abilityTreeNodes' => [ + 'FEATUREfcVF016G', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数版本或别名', + 'description' => 'The version or alias of the function.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + ], + 'examples' => [], + ], + [ + 'name' => 'x-fc-invocation-type', + 'in' => 'header', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数调用类型', + 'description' => 'The type of function invocation. Valid values: Sync and Async.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Sync', + ], + 'examples' => [], + ], + [ + 'name' => 'x-fc-log-type', + 'in' => 'header', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数调用返回日志类型', + 'description' => 'The log type of function invocation. Valid values: None and Tail.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Tail', + ], + 'examples' => [], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数调用参数', + 'description' => 'The request parameters of function invocation.'."\n", + 'type' => 'string', + 'format' => 'binary', + 'required' => false, + 'example' => 'event', + ], + 'examples' => [], + ], + [ + 'name' => 'x-fc-async-task-id', + 'in' => 'header', + 'schema' => [ + 'description' => 'The ID of the asynchronous task. You must enable the asynchronous task feature in advance.'."\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 can start only with letters or underscores. An ID can contain *letters, digits (0 - 9), underscores*, and hyphens (-). It can be up to 128 characters in length. If you do not specify the ID of the asynchronous invocation, the system automatically generates an ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'test-id', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '函数调用响应', + 'schema' => [ + 'title' => '函数调用响应', + 'description' => 'The response parameters of function invocation'."\n", + 'type' => 'string', + 'format' => 'binary', + 'required' => false, + 'example' => 'response', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"\\"response\\"","type":"json"}]', + 'title' => 'InvokeFunction', + ], + 'UpdateFunction' => [ + 'summary' => 'Updates the information about a function.', + 'path' => '/2023-03-30/functions/{functionName}', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '178513', + 'abilityTreeNodes' => [ + 'FEATUREfcVF016G', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数信息', + 'description' => 'The function information'."\n", + 'required' => true, + '$ref' => '#/components/schemas/UpdateFunctionInput', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '更新后的函数信息', + 'schema' => [ + 'title' => '更新后的函数信息', + 'description' => 'The function information after the update operation.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Function', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"codeChecksum\\": \\"2825179536350****\\",\\n \\"codeSize\\": 412,\\n \\"cpu\\": 1,\\n \\"createdTime\\": \\"2023-04-01T08:15:27Z\\",\\n \\"customContainerConfig\\": {\\n \\"accelerationInfo\\": {\\n \\"status\\": \\"deprecated\\"\\n },\\n \\"accelerationType\\": \\"deprecated\\",\\n \\"acrInstanceId\\": \\"deprecated\\",\\n \\"command\\": [\\n \\"arg1\\"\\n ],\\n \\"entrypoint\\": [\\n \\"/code/bootstrap\\"\\n ],\\n \\"healthCheckConfig\\": {\\n \\"failureThreshold\\": 1,\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 1,\\n \\"periodSeconds\\": 1,\\n \\"successThreshold\\": 2,\\n \\"timeoutSeconds\\": 2\\n },\\n \\"image\\": \\"registry-vpc.cn-hangzhou.aliyuncs.com/fc-demo/helloworld:v1\\",\\n \\"port\\": 9000,\\n \\"registryConfig\\": {\\n \\"authConfig\\": {\\n \\"password\\": \\"abc***\\",\\n \\"userName\\": \\"admin\\"\\n },\\n \\"certConfig\\": {\\n \\"insecure\\": true,\\n \\"rootCaCertBase64\\": \\"cm9vdF9jYV9jZXJ0\\"\\n },\\n \\"networkConfig\\": {\\n \\"securityGroupId\\": \\"sg-xxxxxxxxxxxxxx\\",\\n \\"vSwitchId\\": \\"vsw-xxxxxxxxxxxxxx\\",\\n \\"vpcId\\": \\"vpc-xxxxxxxxxxxxxx\\"\\n }\\n },\\n \\"resolvedImageUri\\": \\"stand-sh-registry-vpc.cn-shanghai.cr.aliyuncs.com/fc-demo2/springboot-helloworld@sha256:68d1****0d64d6\\"\\n },\\n \\"customDNS\\": {\\n \\"dnsOptions\\": [\\n {\\n \\"name\\": \\"ndots\\",\\n \\"value\\": \\"2\\"\\n }\\n ],\\n \\"nameServers\\": [\\n \\"8.8.x.x\\"\\n ],\\n \\"searches\\": [\\n \\"ns1.svc.cluster-domain.example\\"\\n ]\\n },\\n \\"customRuntimeConfig\\": {\\n \\"args\\": [\\n \\"arg1\\"\\n ],\\n \\"command\\": [\\n \\"/code/bootstrap\\"\\n ],\\n \\"healthCheckConfig\\": {\\n \\"failureThreshold\\": 1,\\n \\"httpGetUrl\\": \\"/ready\\",\\n \\"initialDelaySeconds\\": 1,\\n \\"periodSeconds\\": 1,\\n \\"successThreshold\\": 2,\\n \\"timeoutSeconds\\": 2\\n },\\n \\"port\\": 9000\\n },\\n \\"description\\": \\"my function\\",\\n \\"diskSize\\": 512,\\n \\"environmentVariables\\": {\\n \\"key\\": \\"value1\\"\\n },\\n \\"functionArn\\": \\"acs:fc:cn-shanghai:123:functions/functionName\\",\\n \\"functionId\\": \\"aa715851-1c20-4b89-a8fb-***\\",\\n \\"functionName\\": \\"my-function-1\\",\\n \\"gpuConfig\\": {\\n \\"gpuMemorySize\\": 2048,\\n \\"gpuType\\": \\"fc.gpu.tesla.1\\"\\n },\\n \\"handler\\": \\"index.handler\\",\\n \\"instanceConcurrency\\": 1,\\n \\"instanceLifecycleConfig\\": {\\n \\"initializer\\": {\\n \\"handler\\": \\"index.initializer\\",\\n \\"timeout\\": 10,\\n \\"command\\": [\\n \\"curl -X POST \'http://localhost:9000/preWarm\\"\\n ]\\n },\\n \\"preStop\\": {\\n \\"handler\\": \\"index.initializer\\",\\n \\"timeout\\": 10,\\n \\"command\\": [\\n \\"curl -X POST \'http://localhost:9000/preWarm\\"\\n ]\\n }\\n },\\n \\"internetAccess\\": true,\\n \\"lastModifiedTime\\": \\"2023-05-01T08:15:27Z\\",\\n \\"lastUpdateStatus\\": \\"InProgress\\",\\n \\"lastUpdateStatusReason\\": \\"The system is currently processing the acceleration optimization for the image.\\",\\n \\"lastUpdateStatusReasonCode\\": \\"ImageOptimizing\\",\\n \\"layers\\": [\\n {\\n \\"arn\\": \\"acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1\\",\\n \\"size\\": 421\\n }\\n ],\\n \\"logConfig\\": {\\n \\"enableInstanceMetrics\\": true,\\n \\"enableRequestMetrics\\": true,\\n \\"logBeginRule\\": \\"DefaultRegex\\",\\n \\"logstore\\": \\"test-logstore\\",\\n \\"project\\": \\"test-project\\",\\n \\"enableLlmMetrics\\": true\\n },\\n \\"memorySize\\": 512,\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"bucketPath\\": \\"/my-dir\\",\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true\\n }\\n ]\\n },\\n \\"role\\": \\"acs:ram::188077086902****:role/fc-test\\",\\n \\"runtime\\": \\"python3.10\\",\\n \\"state\\": \\"Pending\\",\\n \\"stateReason\\": \\"Function creating\\",\\n \\"stateReasonCode\\": \\"Creating\\",\\n \\"timeout\\": 60,\\n \\"tracingConfig\\": {\\n \\"params\\": {\\n \\"key\\": \\"tracing_analysis_jaeger_endpoint\\"\\n },\\n \\"type\\": \\"Jaeger\\"\\n },\\n \\"vpcConfig\\": {\\n \\"securityGroupId\\": \\"sg-bp18hj1wtxgy3b0***\\",\\n \\"vSwitchIds\\": [\\n \\"vsw-bp1ozpcrdc6r****\\"\\n ],\\n \\"vpcId\\": \\"vpc-***\\",\\n \\"role\\": \\"acs:ram::188077086902****:role/fc-test\\"\\n },\\n \\"tags\\": [\\n {\\n \\"Key\\": \\"k1\\",\\n \\"Value\\": \\"v1\\"\\n }\\n ],\\n \\"disableOndemand\\": true,\\n \\"invocationRestriction\\": {\\n \\"reason\\": \\"\\",\\n \\"lastModifiedTime\\": \\"\\",\\n \\"disable\\": true\\n },\\n \\"sessionAffinity\\": \\"\\",\\n \\"enableLongLiving\\": true,\\n \\"resourceGroupId\\": \\"\\",\\n \\"instanceIsolationMode\\": \\"\\",\\n \\"sessionAffinityConfig\\": \\"{\\\\\\\\\\\\\\"sseEndpointPath\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/sse\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"sessionConcurrencyPerInstance\\\\\\\\\\\\\\":20}\\",\\n \\"idleTimeout\\": 100,\\n \\"disableInjectCredentials\\": \\"\\",\\n \\"polarFsConfig\\": {\\n \\"groupId\\": 0,\\n \\"userId\\": 0,\\n \\"mountPoints\\": [\\n {\\n \\"instanceId\\": \\"\\",\\n \\"mountDir\\": \\"\\",\\n \\"remoteDir\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'UpdateFunction', + ], + 'EnableFunctionInvocation' => [ + 'summary' => 'The EnableFunctionInvocation operation allows a function to be invoked and resumes the creation of provisioned instances. This operation is currently in private preview.', + 'path' => '/2023-03-30/functions/{functionName}/invoke/enable', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREfcVF016G', + ], + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'schema' => [ + 'title' => '允许调用的函数名称', + 'description' => 'The name of the function that you want to allow for invocation.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'helloworld', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'success' => [ + 'title' => '是否成功允许调用', + 'description' => 'Indicates whether the request was successful.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true\\n}","type":"json"}]', + 'title' => 'EnableFunctionInvocation', + ], + 'DisableFunctionInvocation' => [ + 'summary' => 'The DisableFunctionInvocation operation prevents a function from being invoked and optionally terminates all requests that are being processed. Once a function\'s invocation is disabled, no new instances can be created, and the existing provisioned instances are destroyed. This operation is currently in private preview.', + 'path' => '/2023-03-30/functions/{functionName}/invoke/disable', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREfcVF016G', + ], + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'reason' => [ + 'title' => '禁止函数调用的原因', + 'description' => 'The reason for disabling the function\'s invocation.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'abortOngoingRequest' => [ + 'title' => '是否立即终止正在处理的所有请求', + 'description' => 'Specifies whether to immediately terminate all ongoing requests.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'functionName', + 'in' => 'path', + 'schema' => [ + 'title' => '禁止调用的函数名称', + 'description' => 'The name of the function whose invocation you want to disable.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'helloworld', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response'."\n", + 'type' => 'object', + 'properties' => [ + 'success' => [ + 'title' => '是否成功禁止调用', + 'description' => 'Indicates whether the request is successful.'."\n", + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true\\n}","type":"json"}]', + 'title' => 'DisableFunctionInvocation', + 'description' => 'Exercise caution when you call this operation on a function in a production environment, as improper deactivation may lead to business disruptions.'."\n", + ], + 'DeleteAlias' => [ + 'summary' => 'Deletes an alias.', + 'path' => '/2023-03-30/functions/{functionName}/aliases/{aliasName}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '178517', + 'abilityTreeNodes' => [ + 'FEATUREfcI9H8B8', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'aliasName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数别名名称', + 'description' => 'The function alias.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-alias', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 204 => [ + 'description' => 'No Content', + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', + 'title' => 'DeleteAlias', + ], + 'GetAlias' => [ + 'summary' => 'Queries information about an alias.', + 'path' => '/2023-03-30/functions/{functionName}/aliases/{aliasName}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '178529', + 'abilityTreeNodes' => [ + 'FEATUREfcI9H8B8', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'aliasName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数别名名称', + 'description' => 'The function alias.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-alias', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '函数别名信息', + 'schema' => [ + 'title' => '函数别名信息', + 'description' => 'The function alias information.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Alias', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"additionalVersionWeight\\": {\\n \\"key\\": 0.5\\n },\\n \\"aliasName\\": \\"prod\\",\\n \\"createdTime\\": \\"2006-01-02T15:04:05Z07:00\\",\\n \\"description\\": \\"alias for pre env\\",\\n \\"lastModifiedTime\\": \\"2006-01-02T15:04:05Z07:00\\",\\n \\"versionId\\": \\"1\\"\\n}","type":"json"}]', + 'title' => 'GetAlias', + ], + 'ListAliases' => [ + 'summary' => 'Queries aliases.', + 'path' => '/2023-03-30/functions/{functionName}/aliases', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '178545', + 'abilityTreeNodes' => [ + 'FEATUREfcI9H8B8', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'prefix', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '别名名称前缀', + 'description' => 'The alias prefix.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'my-alias', + ], + 'examples' => [], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '分页起始标记', + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'MTIzNCNhYmM=', + ], + 'examples' => [], + ], + [ + 'name' => 'limit', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '返回的别名数量', + 'description' => 'The number of aliases returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '函数别名信息', + 'schema' => [ + 'title' => '函数别名信息', + 'description' => 'The function aliases.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ListAliasesOutput', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"aliases\\": [\\n {\\n \\"additionalVersionWeight\\": {\\n \\"key\\": 0.5\\n },\\n \\"aliasName\\": \\"prod\\",\\n \\"createdTime\\": \\"2006-01-02T15:04:05Z07:00\\",\\n \\"description\\": \\"alias for pre env\\",\\n \\"lastModifiedTime\\": \\"2006-01-02T15:04:05Z07:00\\",\\n \\"versionId\\": \\"1\\"\\n }\\n ],\\n \\"nextToken\\": \\"test\\"\\n}","type":"json"}]', + 'title' => 'ListAliases', + ], + 'UpdateAlias' => [ + 'summary' => 'Updates an alias.', + 'path' => '/2023-03-30/functions/{functionName}/aliases/{aliasName}', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '184941', + 'abilityTreeNodes' => [ + 'FEATUREfcI9H8B8', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'aliasName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数别名名称', + 'description' => 'The function alias name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-alias', + ], + 'examples' => [], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '待更新的别名信息', + 'description' => 'The alias information to be updated.'."\n", + 'required' => true, + '$ref' => '#/components/schemas/UpdateAliasInput', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '更新后的别名信息', + 'schema' => [ + 'title' => '更新后的别名信息', + 'description' => 'The information about updated alias.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Alias', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"additionalVersionWeight\\": {\\n \\"key\\": 0.5\\n },\\n \\"aliasName\\": \\"prod\\",\\n \\"createdTime\\": \\"2006-01-02T15:04:05Z07:00\\",\\n \\"description\\": \\"alias for pre env\\",\\n \\"lastModifiedTime\\": \\"2006-01-02T15:04:05Z07:00\\",\\n \\"versionId\\": \\"1\\"\\n}","type":"json"}]', + 'title' => 'UpdateAlias', + ], + 'CreateAlias' => [ + 'summary' => 'Creates an alias.', + 'path' => '/2023-03-30/functions/{functionName}/aliases', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '178535', + 'abilityTreeNodes' => [ + 'FEATUREfcI9H8B8', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '创建别名的请求参数', + 'description' => 'The request parameters for creating an alias.'."\n", + 'required' => true, + '$ref' => '#/components/schemas/CreateAliasInput', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '创建的别名信息', + 'schema' => [ + 'title' => '创建的别名信息', + 'description' => 'The information about the created alias.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Alias', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"additionalVersionWeight\\": {\\n \\"key\\": 0.5\\n },\\n \\"aliasName\\": \\"prod\\",\\n \\"createdTime\\": \\"2006-01-02T15:04:05Z07:00\\",\\n \\"description\\": \\"alias for pre env\\",\\n \\"lastModifiedTime\\": \\"2006-01-02T15:04:05Z07:00\\",\\n \\"versionId\\": \\"1\\"\\n}","type":"json"}]', + 'title' => 'CreateAlias', + ], + 'CreateTrigger' => [ + 'summary' => 'Creates a trigger.', + 'path' => '/2023-03-30/functions/{functionName}/triggers', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '178518', + 'abilityTreeNodes' => [ + 'FEATUREfc0CDUNQ', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '触发器配置', + 'description' => 'The trigger configurations.'."\n", + 'required' => true, + '$ref' => '#/components/schemas/CreateTriggerInput', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '触发器配置', + 'schema' => [ + 'title' => '触发器配置', + 'description' => 'The trigger configurations.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Trigger', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"createdTime\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"httpTrigger\\": {\\n \\"urlInternet\\": \\"https://svc-func-xxxxxxxx.cn-hangzhou.fcapp.run\\",\\n \\"urlIntranet\\": \\"https://svc-func-xxxxxxxx.cn-hangzhou-vpc.fcapp.run\\"\\n },\\n \\"invocationRole\\": \\"\\",\\n \\"lastModifiedTime\\": \\"\\",\\n \\"qualifier\\": \\"\\",\\n \\"sourceArn\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"targetArn\\": \\"\\",\\n \\"triggerConfig\\": \\"\\",\\n \\"triggerId\\": \\"\\",\\n \\"triggerName\\": \\"\\",\\n \\"triggerType\\": \\"\\"\\n}","type":"json"}]', + 'title' => 'CreateTrigger', + ], + 'DeleteTrigger' => [ + 'summary' => 'Deletes a trigger.', + 'path' => '/2023-03-30/functions/{functionName}/triggers/{triggerName}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '178540', + 'abilityTreeNodes' => [ + 'FEATUREfc0CDUNQ', + ], + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'triggerName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '触发器名称', + 'description' => 'The trigger name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-trigger', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 204 => [ + 'description' => 'No Content', + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', + 'title' => 'DeleteTrigger', + ], + 'GetTrigger' => [ + 'summary' => 'Queries information about a trigger.', + 'path' => '/2023-03-30/functions/{functionName}/triggers/{triggerName}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '178539', + 'abilityTreeNodes' => [ + 'FEATUREfc0CDUNQ', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'triggerName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '触发器名称', + 'description' => 'The trigger name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-trigger', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '触发器配置', + 'schema' => [ + 'title' => '触发器配置', + 'description' => 'The trigger configurations.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Trigger', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"createdTime\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"httpTrigger\\": {\\n \\"urlInternet\\": \\"https://svc-func-xxxxxxxx.cn-hangzhou.fcapp.run\\",\\n \\"urlIntranet\\": \\"https://svc-func-xxxxxxxx.cn-hangzhou-vpc.fcapp.run\\"\\n },\\n \\"invocationRole\\": \\"\\",\\n \\"lastModifiedTime\\": \\"\\",\\n \\"qualifier\\": \\"\\",\\n \\"sourceArn\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"targetArn\\": \\"\\",\\n \\"triggerConfig\\": \\"\\",\\n \\"triggerId\\": \\"\\",\\n \\"triggerName\\": \\"\\",\\n \\"triggerType\\": \\"\\"\\n}","type":"json"}]', + 'title' => 'GetTrigger', + ], + 'ListTriggers' => [ + 'summary' => 'Queries the triggers of a function.', + 'path' => '/2023-03-30/functions/{functionName}/triggers', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '178550', + 'abilityTreeNodes' => [ + 'FEATUREfc0CDUNQ', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'prefix', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '触发器名称前缀', + 'description' => 'The trigger name prefix.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'my-trigger', + ], + 'examples' => [], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '分页起始标记', + 'description' => 'The token for the next page.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'MTIzNCNhYmM=', + ], + 'examples' => [], + ], + [ + 'name' => 'limit', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '返回的触发器数量', + 'description' => 'The number of triggers returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '触发器列表', + 'schema' => [ + 'title' => '触发器列表', + 'description' => 'The triggers.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ListTriggersOutput', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"nextToken\\": \\"next_token\\",\\n \\"triggers\\": [\\n {\\n \\"createdTime\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"httpTrigger\\": {\\n \\"urlInternet\\": \\"https://svc-func-xxxxxxxx.cn-hangzhou.fcapp.run\\",\\n \\"urlIntranet\\": \\"https://svc-func-xxxxxxxx.cn-hangzhou-vpc.fcapp.run\\"\\n },\\n \\"invocationRole\\": \\"\\",\\n \\"lastModifiedTime\\": \\"\\",\\n \\"qualifier\\": \\"\\",\\n \\"sourceArn\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"targetArn\\": \\"\\",\\n \\"triggerConfig\\": \\"\\",\\n \\"triggerId\\": \\"\\",\\n \\"triggerName\\": \\"\\",\\n \\"triggerType\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListTriggers', + ], + 'UpdateTrigger' => [ + 'summary' => 'Modifies a trigger.', + 'path' => '/2023-03-30/functions/{functionName}/triggers/{triggerName}', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '178536', + 'abilityTreeNodes' => [ + 'FEATUREfc0CDUNQ', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'triggerName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '触发器名称', + 'description' => 'The trigger name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-trigger', + ], + 'examples' => [], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '触发器配置', + 'description' => 'The trigger configurations.'."\n", + 'required' => true, + '$ref' => '#/components/schemas/UpdateTriggerInput', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '更新后的触发器配置', + 'schema' => [ + 'title' => '更新后的触发器配置', + 'description' => 'The updated trigger configurations.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Trigger', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"createdTime\\": \\"\\",\\n \\"description\\": \\"\\",\\n \\"httpTrigger\\": {\\n \\"urlInternet\\": \\"https://svc-func-xxxxxxxx.cn-hangzhou.fcapp.run\\",\\n \\"urlIntranet\\": \\"https://svc-func-xxxxxxxx.cn-hangzhou-vpc.fcapp.run\\"\\n },\\n \\"invocationRole\\": \\"\\",\\n \\"lastModifiedTime\\": \\"\\",\\n \\"qualifier\\": \\"\\",\\n \\"sourceArn\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"targetArn\\": \\"\\",\\n \\"triggerConfig\\": \\"\\",\\n \\"triggerId\\": \\"\\",\\n \\"triggerName\\": \\"\\",\\n \\"triggerType\\": \\"\\"\\n}","type":"json"}]', + 'title' => 'UpdateTrigger', + ], + 'DeleteAsyncInvokeConfig' => [ + 'summary' => 'Deletes an asynchronous invocation configuration.', + 'path' => '/2023-03-30/functions/{functionName}/async-invoke-config', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '178515', + 'abilityTreeNodes' => [ + 'FEATUREfcBKET2W', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数版本或别名', + 'description' => 'The version or alias of the function.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 204 => [ + 'description' => 'No Content', + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', + 'title' => 'DeleteAsyncInvokeConfig', + ], + 'GetAsyncInvokeConfig' => [ + 'summary' => 'Gets asynchronous invocation configurations of a function.', + 'path' => '/2023-03-30/functions/{functionName}/async-invoke-config', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '178554', + 'abilityTreeNodes' => [ + 'FEATUREfcBKET2W', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数版本或别名', + 'description' => 'The version or alias of the function.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '函数异步调用配置信息', + 'schema' => [ + 'title' => '函数异步调用配置信息', + 'description' => 'The asynchronous invocation configurations.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/AsyncConfig', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"asyncTask\\": true,\\n \\"createdTime\\": \\"2006-01-02T15:04:05Z07:00\\",\\n \\"destinationConfig\\": {\\n \\"onFailure\\": {\\n \\"destination\\": \\"acs:fc:cn-shanghai:xxx:functions/f1\\"\\n },\\n \\"onSuccess\\": {\\n \\"destination\\": \\"acs:fc:cn-shanghai:xxx:functions/f1\\"\\n }\\n },\\n \\"functionArn\\": \\"acs:fc:cn-shanghai:1234/functions/my-func\\",\\n \\"lastModifiedTime\\": \\"2006-01-02T15:04:05Z07:00\\",\\n \\"maxAsyncEventAgeInSeconds\\": 3600,\\n \\"maxAsyncRetryAttempts\\": 3\\n}","type":"json"}]', + 'title' => 'GetAsyncInvokeConfig', + ], + 'ListAsyncInvokeConfigs' => [ + 'summary' => 'Queries all asynchronous configurations of a function.', + 'path' => '/2023-03-30/async-invoke-configs', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '178549', + 'abilityTreeNodes' => [ + 'FEATUREfcM7AF1D', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数名称,若不指定则列出所有函数的异步调用配置', + 'description' => 'The function name. If you do not configure this parameter, the asynchronous invocation configurations of all functions are displayed.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '分页起始标记', + 'description' => 'The paging information. This parameter specifies the start point of the query.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'MTIzNCNhYmM=', + ], + 'examples' => [], + ], + [ + 'name' => 'limit', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '返回的数量限制', + 'description' => 'The maximum number of entries to be returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '函数异步调用配置列表', + 'schema' => [ + 'title' => '函数异步调用配置列表', + 'description' => 'The asynchronous invocation configurations of the function.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ListAsyncInvokeConfigOutput', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"configs\\": [\\n {\\n \\"asyncTask\\": true,\\n \\"createdTime\\": \\"2006-01-02T15:04:05Z07:00\\",\\n \\"destinationConfig\\": {\\n \\"onFailure\\": {\\n \\"destination\\": \\"acs:fc:cn-shanghai:xxx:functions/f1\\"\\n },\\n \\"onSuccess\\": {\\n \\"destination\\": \\"acs:fc:cn-shanghai:xxx:functions/f1\\"\\n }\\n },\\n \\"functionArn\\": \\"acs:fc:cn-shanghai:1234/functions/my-func\\",\\n \\"lastModifiedTime\\": \\"2006-01-02T15:04:05Z07:00\\",\\n \\"maxAsyncEventAgeInSeconds\\": 3600,\\n \\"maxAsyncRetryAttempts\\": 3\\n }\\n ],\\n \\"nextToken\\": \\"8bj81uI8n****\\"\\n}","type":"json"}]', + 'title' => 'ListAsyncInvokeConfigs', + ], + 'PutAsyncInvokeConfig' => [ + 'summary' => 'Creates or modifies an asynchronous invocation configuration for a function.', + 'path' => '/2023-03-30/functions/{functionName}/async-invoke-config', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '178523', + 'abilityTreeNodes' => [ + 'FEATUREfcBKET2W', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数异步调用配置', + 'description' => 'The configurations of asynchronous function invocations.'."\n", + 'required' => true, + '$ref' => '#/components/schemas/PutAsyncInvokeConfigInput', + ], + 'examples' => [], + ], + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数版本或别名', + 'description' => 'The version or alias of the function.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '函数异步调用配置信息', + 'schema' => [ + 'title' => '函数异步调用配置信息', + 'description' => 'The asynchronous invocation configurations.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/AsyncConfig', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"asyncTask\\": true,\\n \\"createdTime\\": \\"2006-01-02T15:04:05Z07:00\\",\\n \\"destinationConfig\\": {\\n \\"onFailure\\": {\\n \\"destination\\": \\"acs:fc:cn-shanghai:xxx:functions/f1\\"\\n },\\n \\"onSuccess\\": {\\n \\"destination\\": \\"acs:fc:cn-shanghai:xxx:functions/f1\\"\\n }\\n },\\n \\"functionArn\\": \\"acs:fc:cn-shanghai:1234/functions/my-func\\",\\n \\"lastModifiedTime\\": \\"2006-01-02T15:04:05Z07:00\\",\\n \\"maxAsyncEventAgeInSeconds\\": 3600,\\n \\"maxAsyncRetryAttempts\\": 3\\n}","type":"json"}]', + 'title' => 'PutAsyncInvokeConfig', + ], + 'DeleteProvisionConfig' => [ + 'summary' => 'Deletes a provisioned configuration.', + 'path' => '/2023-03-30/functions/{functionName}/provision-config', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '178524', + 'abilityTreeNodes' => [ + 'FEATUREfcHRC0TU', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数别名', + 'description' => 'The function alias.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 204 => [ + 'description' => 'No Content', + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', + 'title' => 'DeleteProvisionConfig', + ], + 'GetProvisionConfig' => [ + 'summary' => 'Queries provisioned configurations.', + 'path' => '/2023-03-30/functions/{functionName}/provision-config', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '178537', + 'abilityTreeNodes' => [ + 'FEATUREfcHRC0TU', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数别名', + 'description' => 'The function alias.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '预留配置信息', + 'schema' => [ + 'title' => '预留配置信息', + 'description' => 'The provisioned configuration information.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ProvisionConfig', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"scheduledActions\\": [\\n {\\n \\"endTime\\": \\"2024-03-10T10:10:10\\",\\n \\"name\\": \\"test_1\\",\\n \\"scheduleExpression\\": \\"cron(0 0 22 * * *)\\",\\n \\"startTime\\": \\"2023-03-10T10:10:10\\",\\n \\"target\\": 50,\\n \\"timeZone\\": \\"Asia/Shanghai\\"\\n }\\n ],\\n \\"currentError\\": \\"image not found\\",\\n \\"defaultTarget\\": 5,\\n \\"current\\": 1,\\n \\"alwaysAllocateCPU\\": true,\\n \\"alwaysAllocateGPU\\": true,\\n \\"targetTrackingPolicies\\": [\\n {\\n \\"endTime\\": \\"2024-03-10T10:10:10\\",\\n \\"maxCapacity\\": 10,\\n \\"metricTarget\\": 0.6,\\n \\"metricType\\": \\"CPUUtilization\\",\\n \\"minCapacity\\": 1,\\n \\"name\\": \\"test_1\\",\\n \\"startTime\\": \\"2023-03-10T10:10:10\\",\\n \\"timeZone\\": \\"Asia/Shanghai\\"\\n }\\n ],\\n \\"functionArn\\": \\"acs:fc:cn-shanghai:124:functions/myFunction/prod\\",\\n \\"target\\": 5\\n}","type":"json"}]', + 'title' => 'GetProvisionConfig', + ], + 'ListProvisionConfigs' => [ + 'summary' => 'Queries a list of provisioned configurations.', + 'path' => '/2023-03-30/provision-configs', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '178548', + 'abilityTreeNodes' => [ + 'FEATUREfcHRC0TU', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数名称,若不指定则列出所有函数的预留配置', + 'description' => 'The name of the function. If this parameter is not specified, the provisioned configurations of all functions are listed.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '分页起始标记', + 'description' => 'A pagination token.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'MTIzNCNhYmM=', + ], + 'examples' => [], + ], + [ + 'name' => 'limit', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '返回的预留配置数量', + 'description' => 'Number of provisioned configurations to return.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '预留配置列表', + 'schema' => [ + 'title' => '预留配置列表', + 'description' => 'The provisioned instance configurations.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ListProvisionConfigsOutput', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"nextToken\\": \\"next_token\\",\\n \\"provisionConfigs\\": [\\n {\\n \\"scheduledActions\\": [\\n {\\n \\"endTime\\": \\"2024-03-10T10:10:10\\",\\n \\"name\\": \\"test_1\\",\\n \\"scheduleExpression\\": \\"cron(0 0 22 * * *)\\",\\n \\"startTime\\": \\"2023-03-10T10:10:10\\",\\n \\"target\\": 50,\\n \\"timeZone\\": \\"Asia/Shanghai\\"\\n }\\n ],\\n \\"currentError\\": \\"image not found\\",\\n \\"defaultTarget\\": 5,\\n \\"current\\": 1,\\n \\"alwaysAllocateCPU\\": true,\\n \\"alwaysAllocateGPU\\": true,\\n \\"targetTrackingPolicies\\": [\\n {\\n \\"endTime\\": \\"2024-03-10T10:10:10\\",\\n \\"maxCapacity\\": 10,\\n \\"metricTarget\\": 0.6,\\n \\"metricType\\": \\"CPUUtilization\\",\\n \\"minCapacity\\": 1,\\n \\"name\\": \\"test_1\\",\\n \\"startTime\\": \\"2023-03-10T10:10:10\\",\\n \\"timeZone\\": \\"Asia/Shanghai\\"\\n }\\n ],\\n \\"functionArn\\": \\"acs:fc:cn-shanghai:124:functions/myFunction/prod\\",\\n \\"target\\": 5\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListProvisionConfigs', + ], + 'PutProvisionConfig' => [ + 'summary' => 'Creates provisioned configurations.', + 'path' => '/2023-03-30/functions/{functionName}/provision-config', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeCode' => '178546', + 'abilityTreeNodes' => [ + 'FEATUREfcHRC0TU', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数别名', + 'description' => 'The function alias.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + ], + 'examples' => [], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '预留配置信息', + 'description' => 'The provisioned configuration information.'."\n", + 'required' => true, + '$ref' => '#/components/schemas/PutProvisionConfigInput', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '预留配置信息', + 'schema' => [ + 'title' => '预留配置信息', + 'description' => 'The provisioned configuration information.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ProvisionConfig', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"scheduledActions\\": [\\n {\\n \\"endTime\\": \\"2024-03-10T10:10:10\\",\\n \\"name\\": \\"test_1\\",\\n \\"scheduleExpression\\": \\"cron(0 0 22 * * *)\\",\\n \\"startTime\\": \\"2023-03-10T10:10:10\\",\\n \\"target\\": 50,\\n \\"timeZone\\": \\"Asia/Shanghai\\"\\n }\\n ],\\n \\"currentError\\": \\"image not found\\",\\n \\"defaultTarget\\": 5,\\n \\"current\\": 1,\\n \\"alwaysAllocateCPU\\": true,\\n \\"alwaysAllocateGPU\\": true,\\n \\"targetTrackingPolicies\\": [\\n {\\n \\"endTime\\": \\"2024-03-10T10:10:10\\",\\n \\"maxCapacity\\": 10,\\n \\"metricTarget\\": 0.6,\\n \\"metricType\\": \\"CPUUtilization\\",\\n \\"minCapacity\\": 1,\\n \\"name\\": \\"test_1\\",\\n \\"startTime\\": \\"2023-03-10T10:10:10\\",\\n \\"timeZone\\": \\"Asia/Shanghai\\"\\n }\\n ],\\n \\"functionArn\\": \\"acs:fc:cn-shanghai:124:functions/myFunction/prod\\",\\n \\"target\\": 5\\n}","type":"json"}]', + 'title' => 'PutProvisionConfig', + ], + 'DeleteConcurrencyConfig' => [ + 'summary' => 'Deletes a concurrency configuration.', + 'path' => '/2023-03-30/functions/{functionName}/concurrency', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '178531', + 'abilityTreeNodes' => [ + 'FEATUREfcM7AF1D', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 204 => [ + 'description' => 'No Content', + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', + 'title' => 'DeleteConcurrencyConfig', + ], + 'GetConcurrencyConfig' => [ + 'summary' => 'Obtains a concurrency configuration.', + 'path' => '/2023-03-30/functions/{functionName}/concurrency', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '178519', + 'abilityTreeNodes' => [ + 'FEATUREfcVF016G', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '函数并发度配置', + 'schema' => [ + 'title' => '函数并发度配置', + 'description' => 'The concurrency configurations of the function.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ConcurrencyConfig', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"functionArn\\": \\"acs:fc:cn-shanghai:123:functions/demo\\",\\n \\"reservedConcurrency\\": 10\\n}","type":"json"}]', + 'title' => 'GetConcurrencyConfig', + ], + 'ListConcurrencyConfigs' => [ + 'summary' => 'Queries a list of concurrency configurations.', + 'path' => '/2023-03-30/concurrency-configs', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '178516', + 'abilityTreeNodes' => [ + 'FEATUREfcM7AF1D', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数名称,若不指定则列出所有函数的并发度配置', + 'description' => 'The function name. If you leave this parameter empty, the concurrency configurations of all functions are returned.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '分页起始标记', + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'MTIzNCNhYmM=', + ], + 'examples' => [], + ], + [ + 'name' => 'limit', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '返回的数量限制', + 'description' => 'The maximum number of entries returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '函数并发度配置列表', + 'schema' => [ + 'title' => '函数并发度配置列表', + 'description' => 'The concurrency configurations of the function.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ListConcurrencyConfigsOutput', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"configs\\": [\\n {\\n \\"functionArn\\": \\"acs:fc:cn-shanghai:123:functions/demo\\",\\n \\"reservedConcurrency\\": 10\\n }\\n ],\\n \\"nextToken\\": \\"next_token\\"\\n}","type":"json"}]', + 'title' => 'ListConcurrencyConfigs', + ], + 'PutConcurrencyConfig' => [ + 'summary' => 'Configures concurrency of a function.', + 'path' => '/2023-03-30/functions/{functionName}/concurrency', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '178511', + 'abilityTreeNodes' => [ + 'FEATUREfcM7AF1D', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数并发度配置信息', + 'description' => 'The concurrency configurations.'."\n", + 'required' => true, + '$ref' => '#/components/schemas/PutConcurrencyInput', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '函数并发度配置信息', + 'schema' => [ + 'title' => '函数并发度配置信息', + 'description' => 'The concurrency configurations.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ConcurrencyConfig', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"functionArn\\": \\"acs:fc:cn-shanghai:123:functions/demo\\",\\n \\"reservedConcurrency\\": 10\\n}","type":"json"}]', + 'title' => 'PutConcurrencyConfig', + ], + 'CreateLayerVersion' => [ + 'summary' => 'Releases a layer version.', + 'path' => '/2023-03-30/layers/{layerName}/versions', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '178533', + 'abilityTreeNodes' => [ + 'FEATUREfcN46UH2', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'layerName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '层名称', + 'description' => 'The name of the layer.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-layer', + ], + 'examples' => [], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '层配置信息', + 'description' => 'The information about layer configurations.'."\n", + 'required' => true, + '$ref' => '#/components/schemas/CreateLayerVersionInput', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '层配置信息', + 'schema' => [ + 'title' => '层配置信息', + 'description' => 'The information about layer configurations.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Layer', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"acl\\": \\"0\\",\\n \\"code\\": {\\n \\"location\\": \\"https://xyz.oss-cn-shanghai.aliyuncs.com/xxx/xxx/xxx\\",\\n \\"repositoryType\\": \\"OSS\\"\\n },\\n \\"codeChecksum\\": \\"2825179536350****\\",\\n \\"codeSize\\": 421,\\n \\"compatibleRuntime\\": [\\n \\"python3.10\\"\\n ],\\n \\"createTime\\": \\"2023-03-30T11:08:00Z\\",\\n \\"description\\": \\"My first layer\\",\\n \\"layerName\\": \\"MyLayer\\",\\n \\"layerVersionArn\\": \\"acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1\\",\\n \\"license\\": \\"Apache\\",\\n \\"version\\": 1\\n}","type":"json"}]', + 'title' => 'CreateLayerVersion', + ], + 'DeleteLayerVersion' => [ + 'summary' => 'Deletes a layer version.', + 'path' => '/2023-03-30/layers/{layerName}/versions/{version}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '178525', + 'abilityTreeNodes' => [ + 'FEATUREfcN46UH2', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'layerName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '层名称', + 'description' => 'The layer name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-layer', + ], + 'examples' => [], + ], + [ + 'name' => 'version', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '层版本', + 'description' => 'The layer version.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 204 => [ + 'description' => 'No Content', + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', + 'title' => 'DeleteLayerVersion', + ], + 'GetLayerVersion' => [ + 'summary' => 'Queries versions of a layer.', + 'path' => '/2023-03-30/layers/{layerName}/versions/{version}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '178542', + 'abilityTreeNodes' => [ + 'FEATUREfcN46UH2', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'layerName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '层名称', + 'description' => 'The name of the layer.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-layer', + ], + 'examples' => [], + ], + [ + 'name' => 'version', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '层版本', + 'description' => 'The version of the layer.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '层配置信息', + 'schema' => [ + 'title' => '层配置信息', + 'description' => 'The information about layer configurations.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Layer', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"acl\\": \\"0\\",\\n \\"code\\": {\\n \\"location\\": \\"https://xyz.oss-cn-shanghai.aliyuncs.com/xxx/xxx/xxx\\",\\n \\"repositoryType\\": \\"OSS\\"\\n },\\n \\"codeChecksum\\": \\"2825179536350****\\",\\n \\"codeSize\\": 421,\\n \\"compatibleRuntime\\": [\\n \\"python3.10\\"\\n ],\\n \\"createTime\\": \\"2023-03-30T11:08:00Z\\",\\n \\"description\\": \\"My first layer\\",\\n \\"layerName\\": \\"MyLayer\\",\\n \\"layerVersionArn\\": \\"acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1\\",\\n \\"license\\": \\"Apache\\",\\n \\"version\\": 1\\n}","type":"json"}]', + 'title' => 'GetLayerVersion', + ], + 'GetLayerVersionByArn' => [ + 'summary' => 'Obtain version information of a layer by using ARNs.', + 'path' => '/2023-03-30/layerarn/{arn}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '178551', + 'abilityTreeNodes' => [ + 'FEATUREfcN46UH2', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'arn', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '层资源标识', + 'description' => 'The Alibaba Cloud Resource Name (ARN) of the layer.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'acs:fc:cn-shanghai:1234:layers/my-layer/versions/1', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '层版本信息', + 'schema' => [ + 'title' => '层版本信息', + 'description' => 'The layer versions.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/Layer', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"acl\\": \\"0\\",\\n \\"code\\": {\\n \\"location\\": \\"https://xyz.oss-cn-shanghai.aliyuncs.com/xxx/xxx/xxx\\",\\n \\"repositoryType\\": \\"OSS\\"\\n },\\n \\"codeChecksum\\": \\"2825179536350****\\",\\n \\"codeSize\\": 421,\\n \\"compatibleRuntime\\": [\\n \\"python3.10\\"\\n ],\\n \\"createTime\\": \\"2023-03-30T11:08:00Z\\",\\n \\"description\\": \\"My first layer\\",\\n \\"layerName\\": \\"MyLayer\\",\\n \\"layerVersionArn\\": \\"acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1\\",\\n \\"license\\": \\"Apache\\",\\n \\"version\\": 1\\n}","type":"json"}]', + 'title' => 'GetLayerVersionByArn', + ], + 'ListLayerVersions' => [ + 'summary' => 'Gets a list of layer versions.', + 'path' => '/2023-03-30/layers/{layerName}/versions', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '178553', + 'abilityTreeNodes' => [ + 'FEATUREfcN46UH2', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'layerName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '层名称', + 'description' => 'The layer name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-layer', + ], + 'examples' => [], + ], + [ + 'name' => 'startVersion', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '起始版本', + 'description' => 'The initial version of the layer.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + 'examples' => [], + ], + [ + 'name' => 'limit', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '返回的版本数量', + 'description' => 'The number of versions to be returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '层版本列表', + 'schema' => [ + 'title' => '层版本列表', + 'description' => 'The layer versions.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ListLayerVersionOutput', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"layers\\": [\\n {\\n \\"acl\\": \\"0\\",\\n \\"code\\": {\\n \\"location\\": \\"https://xyz.oss-cn-shanghai.aliyuncs.com/xxx/xxx/xxx\\",\\n \\"repositoryType\\": \\"OSS\\"\\n },\\n \\"codeChecksum\\": \\"2825179536350****\\",\\n \\"codeSize\\": 421,\\n \\"compatibleRuntime\\": [\\n \\"python3.10\\"\\n ],\\n \\"createTime\\": \\"2023-03-30T11:08:00Z\\",\\n \\"description\\": \\"My first layer\\",\\n \\"layerName\\": \\"MyLayer\\",\\n \\"layerVersionArn\\": \\"acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1\\",\\n \\"license\\": \\"Apache\\",\\n \\"version\\": 1\\n }\\n ],\\n \\"nextVersion\\": 10\\n}","type":"json"}]', + 'title' => 'ListLayerVersions', + ], + 'ListLayers' => [ + 'summary' => 'Gets a list of layers.', + 'path' => '/2023-03-30/layers', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '178528', + 'abilityTreeNodes' => [ + 'FEATUREfcN46UH2', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'prefix', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '层名称前缀', + 'description' => 'The name prefix of the layer.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'my-layer', + ], + 'examples' => [], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '分页起始标记', + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'MTIzNCNhYmM=', + ], + 'examples' => [], + ], + [ + 'name' => 'limit', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '返回的层数量', + 'description' => 'The number of layers that are returned'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + 'examples' => [], + ], + [ + 'name' => 'public', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '是否公开层', + 'description' => 'Specifies whether the layer is public. Valid values: true and false.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'true', + ], + 'examples' => [], + ], + [ + 'name' => 'official', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '是否官方层', + 'description' => 'Specifies whether the layer is official. Valid values: true and false.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'true', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '层列表', + 'schema' => [ + 'title' => '层列表', + 'description' => 'The layers.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ListLayersOutput', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"layers\\": [\\n {\\n \\"acl\\": \\"0\\",\\n \\"code\\": {\\n \\"location\\": \\"https://xyz.oss-cn-shanghai.aliyuncs.com/xxx/xxx/xxx\\",\\n \\"repositoryType\\": \\"OSS\\"\\n },\\n \\"codeChecksum\\": \\"2825179536350****\\",\\n \\"codeSize\\": 421,\\n \\"compatibleRuntime\\": [\\n \\"python3.10\\"\\n ],\\n \\"createTime\\": \\"2023-03-30T11:08:00Z\\",\\n \\"description\\": \\"My first layer\\",\\n \\"layerName\\": \\"MyLayer\\",\\n \\"layerVersionArn\\": \\"acs:fc:cn-beijing:186824xxxxxx:layers/fc_layer/versions/1\\",\\n \\"license\\": \\"Apache\\",\\n \\"version\\": 1\\n }\\n ],\\n \\"nextToken\\": \\"next-layer-name\\"\\n}","type":"json"}]', + 'title' => 'ListLayers', + ], + 'PutLayerACL' => [ + 'summary' => 'Modifies permissions of a layer.', + 'path' => '/2023-03-30/layers/{layerName}/acl', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '178544', + 'abilityTreeNodes' => [ + 'FEATUREfcN46UH2', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'layerName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '层名称', + 'description' => 'The layer name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-layer', + ], + 'examples' => [], + ], + [ + 'name' => 'public', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '是否公开层', + 'description' => 'Specify whether the layer is a public layer. Valid values: true and false.'."\n", + 'type' => 'string', + 'deprecated' => true, + 'required' => false, + 'example' => 'true', + ], + 'examples' => [], + ], + [ + 'name' => 'acl', + 'in' => 'query', + 'schema' => [ + 'title' => '设置层的访问权限,1:公开,0:私有,默认为私有', + 'description' => 'Specify the access permission of the layer. A value of 1 indicates public and a value of 0 indicates private. The default value is 0.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1', + 'enum' => [], + ], + ], + ], + 'responses' => [ + 204 => [ + 'description' => 'No Content', + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', + 'title' => 'PutLayerACL', + ], + 'ListInstances' => [ + 'summary' => 'Queries a list of function instances.', + 'path' => '/2023-03-30/functions/{functionName}/instances', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '178512', + 'abilityTreeNodes' => [ + 'FEATUREfcVF016G', + ], + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数版本或别名', + 'description' => 'The function version or alias.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + ], + 'examples' => [], + ], + [ + 'name' => 'withAllActive', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '是否列出所有活跃实例', + 'description' => 'Specifies whether to list all instances. Valid values: true and false.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'examples' => [], + ], + [ + 'name' => 'instanceStatus', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'Running', + 'Terminating', + 'Destroyed', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'startTimeMs', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'endTimeMs', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + ], + ], + [ + 'name' => 'startKey', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'limit', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'instanceIds', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '函数实例列表', + 'schema' => [ + 'title' => '函数实例列表', + 'description' => 'The function instances.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ListInstancesOutput', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"instances\\": [\\n {\\n \\"instanceId\\": \\"1ef6b6ff-7f7b-485e-ab49-501ac681****\\",\\n \\"versionId\\": \\"\\",\\n \\"qualifier\\": \\"\\",\\n \\"status\\": \\"\\",\\n \\"createdTimeMs\\": 0,\\n \\"destroyedTimeMs\\": 0,\\n \\"resourceType\\": \\"\\"\\n }\\n ],\\n \\"requestId\\": \\"\\"\\n}","type":"json"}]', + 'title' => 'ListInstances', + ], + 'ListVpcBindings' => [ + 'summary' => 'Queries a list of existing VPC connections.', + 'path' => '/2023-03-30/functions/{functionName}/vpc-bindings', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '191968', + 'abilityTreeNodes' => [ + 'FEATUREfcL3E8J5', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => 'VPC绑定配置列表', + 'schema' => [ + 'title' => 'VPC绑定配置列表', + 'description' => 'The VPC binding configurations.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ListVpcBindingsOutput', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"vpcIds\\": [\\n \\"vpc-8vb8x8dggvr0axxxxxxxx\\"\\n ]\\n}","type":"json"}]', + 'title' => 'ListVpcBindings', + ], + 'CreateVpcBinding' => [ + 'summary' => 'Creates a VPC connection.', + 'path' => '/2023-03-30/functions/{functionName}/vpc-bindings', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '191967', + 'abilityTreeNodes' => [ + 'FEATUREfcL3E8J5', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => 'VPC绑定配置', + 'description' => 'The VPC binding configurations.'."\n", + 'required' => true, + '$ref' => '#/components/schemas/CreateVpcBindingInput', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => 'OK', + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', + 'title' => 'CreateVpcBinding', + ], + 'DeleteVpcBinding' => [ + 'summary' => 'Deletes an access control policy from a specified policy group for a VPC firewall.', + 'path' => '/2023-03-30/functions/{functionName}/vpc-bindings/{vpcId}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '191969', + 'abilityTreeNodes' => [ + 'FEATUREfcL3E8J5', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + 'examples' => [], + ], + [ + 'name' => 'vpcId', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => 'VPC实例ID', + 'description' => 'The ID of the virtual private cloud (VPC).'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'vpc-bp106zxlfj1fqc9', + ], + 'examples' => [], + ], + ], + 'responses' => [ + 204 => [ + 'description' => 'No Content', + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', + 'title' => 'DeleteVpcBinding', + ], + 'TagResources' => [ + 'summary' => 'Adds tags to a resource.', + 'path' => '/2023-03-30/tags-v2', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '205648', + 'abilityTreeNodes' => [ + 'FEATUREfcWG6KAJ', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '资源标签配置', + 'description' => 'The configuration of the resource tag.'."\n", + 'required' => true, + '$ref' => '#/components/schemas/TagResourcesInput', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => 'OK', + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', + 'title' => 'TagResources', + 'description' => 'Tags are used to identify resources. Tags allow you to categorize, search for, and aggregate resources that have the same characteristics from different dimensions. This facilitates resource management. For more information, see [Tag overview](~~156983~~).', + ], + 'ListTagResources' => [ + 'summary' => 'Lists all tagged resources.', + 'path' => '/2023-03-30/tags-v2', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '205647', + 'abilityTreeNodes' => [ + 'FEATUREfcWG6KAJ', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '资源数量类型, ALIYUN::FC::FUNCTION 表示函数计算3.0版本中的函数', + 'description' => 'The type of the resource.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'ALIYUN::FC:FUNCTION', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'allowEmptyValue' => true, + 'style' => 'json', + 'schema' => [ + 'title' => '资源标识列表', + 'description' => 'The resource IDs.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The resource ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'acs:fc:cn-shanghai:1234/functions/my-func', + ], + 'required' => false, + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'allowEmptyValue' => true, + 'style' => 'json', + 'schema' => [ + 'title' => '标签列表', + 'description' => 'The tags.'."\n" + ."\n" + .'You can query up to 20 tags at a time.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '标签', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The tag key.'."\n" + ."\n" + .'The tag key can be up to 64 characters in length, and cannot contain `http://` or `https://`. The tag key cannot start with `aliyun` or `acs:`.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'k1', + ], + 'Value' => [ + 'description' => 'The tag value.'."\n" + ."\n" + .'The tag value can be up to 128 characters in length and can be an empty string.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'v1', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '下一个查询开始Token', + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'MTIzNCNhYmM=', + ], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '返回的资源数量', + 'description' => 'The number of resources to return.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '资源列表', + 'schema' => [ + 'title' => '资源列表', + 'description' => 'The list of resources.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ListTagResourcesOutput', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"next_token\\",\\n \\"RequestId\\": \\"\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceId\\": \\"acs:fc:cn-shanghai:****:functions/demo\\",\\n \\"ResourceType\\": \\"ALIYUN::FC::FUNCTION\\",\\n \\"TagKey\\": \\"key1\\",\\n \\"TagValue\\": \\"key1\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListTagResources', + ], + 'UntagResources' => [ + 'summary' => 'Removes tags from a resource.', + 'path' => '/2023-03-30/tags-v2', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '206475', + 'abilityTreeNodes' => [ + 'FEATUREfcWG6KAJ', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '资源类型', + 'description' => 'The resource type.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'function', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'json', + 'schema' => [ + 'title' => '资源标识列表', + 'description' => 'The resource identifiers.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The resource ID.'."\n" + ."\n" + .'The ARN of the function.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'acs:fc:cn-shanghai:xxx:functions/f1', + ], + 'required' => true, + ], + ], + [ + 'name' => 'TagKey', + 'in' => 'query', + 'allowEmptyValue' => true, + 'style' => 'json', + 'schema' => [ + 'title' => '标签名称列表', + 'description' => 'The tag to remove. You can specify a maximum of 50 tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The tag key.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'k1', + ], + 'required' => false, + ], + ], + [ + 'name' => 'All', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '是否删除所有标签', + 'description' => 'Specifies whether to delete all tags.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => 'OK', + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', + 'title' => 'UntagResources', + ], + 'GetAsyncTask' => [ + 'summary' => 'Queries the information about an asynchronous task.', + 'path' => '/2023-03-30/functions/{functionName}/async-tasks/{taskId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '213992', + 'abilityTreeNodes' => [ + 'FEATUREfcBKET2W', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + ], + [ + 'name' => 'taskId', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '异步任务 id', + 'description' => 'The ID of the asynchronous task.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'e026ae92-61e5-472f-b32d-1c9e3c4e****', + ], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数版本或别名', + 'description' => 'The version or alias of the function.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '异步任务信息', + 'schema' => [ + 'title' => '异步任务信息', + 'description' => 'The asynchronous task information. The returnPayload parameter is in beta test. If you want to use this parameter, [contact us](~~2513733~~).'."\n", + 'required' => false, + '$ref' => '#/components/schemas/AsyncTask', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"alreadyRetriedTimes\\": 3,\\n \\"destinationStatus\\": \\"Succeeded\\",\\n \\"durationMs\\": 1000,\\n \\"endTime\\": 1633449590000,\\n \\"events\\": [\\n {\\n \\"eventDetail\\": \\"body\\",\\n \\"eventId\\": 1,\\n \\"status\\": \\"Succeeded\\",\\n \\"timestamp\\": 1647420449721\\n }\\n ],\\n \\"functionArn\\": \\"acs:fc:cn-shanghai:1234/functions/my-func\\",\\n \\"instanceId\\": \\"D4-*******9FD1-882707E\\",\\n \\"qualifier\\": \\"prod\\",\\n \\"requestId\\": \\"e026ae92-61e5-472f-b32d-1c9e3c4e****\\",\\n \\"returnPayload\\": \\"result\\",\\n \\"startedTime\\": 1633449590000,\\n \\"status\\": \\"Running\\",\\n \\"taskErrorMessage\\": \\"UnhandledInvocationError\\",\\n \\"taskId\\": \\"e026ae92-61e5-472f-b32d-1c9e3c4e****\\",\\n \\"taskPayload\\": \\"body\\"\\n}","type":"json"}]', + 'title' => 'GetAsyncTask', + ], + 'ListAsyncTasks' => [ + 'summary' => 'Lists asynchronous tasks.', + 'path' => '/2023-03-30/functions/{functionName}/async-tasks', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '213993', + 'abilityTreeNodes' => [ + 'FEATUREfcVF016G', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + ], + [ + 'name' => 'prefix', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '异步任务id前缀', + 'description' => 'The ID prefix of asynchronous tasks. If this parameter is specified, a list of asynchronous tasks whose IDs match the prefix is returned.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'job-', + ], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '分页起始标记', + 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'MTIzNCNhYmM=', + ], + ], + [ + 'name' => 'limit', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '返回异步任务的数量', + 'description' => 'The number of asynchronous tasks to return. The default value is 20. Valid values: \\[1,100].'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数版本或别名', + 'description' => 'The version or alias of the function.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + ], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '异步任务执行状态。Enqueued 表示请求已经成功入队;Running 表示正在执行中;Succeeded 表示执行成功;Failed 表示执行失败;Stopped 表示停止执行;Expired 表示请求已过期', + 'description' => 'The state of asynchronous tasks. The following items list the states of an asynchronous task:'."\n" + ."\n" + .'* Enqueued: The asynchronous invocation is enqueued and waiting to be executed.'."\n" + .'* Dequeued: The asynchronous invocation is dequeued and waiting to be triggered.'."\n" + .'* Running: The invocation is being executed.'."\n" + .'* Succeeded: The invocation is successful.'."\n" + .'* Failed: The invocation fails.'."\n" + .'* Stopped: The invocation is terminated.'."\n" + .'* Stopping: The invocation is being terminated.'."\n" + .'* Expired: The maximum validity period of messages is specified for asynchronous invocation. The invocation is discarded and not executed because the specified maximum validity period of messages expires.'."\n" + .'* Invalid: The invocation is invalid and not executed due to specific reasons. For example, the function is deleted.'."\n" + .'* Retrying: The asynchronous invocation is being retried due to an execution error.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Running', + ], + ], + [ + 'name' => 'startedTimeBegin', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '异步任务启动时间段的开始时间', + 'description' => 'The start time of the period during which the asynchronous tasks are initiated.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1640966400000', + ], + ], + [ + 'name' => 'startedTimeEnd', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '异步任务启动时间段的结束时间', + 'description' => 'The end time of the period during which the asynchronous tasks are initiated.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1640966400000', + ], + ], + [ + 'name' => 'sortOrderByTime', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '返回异步任务列表的排序方式。asc 表示生序;desc 表示降序', + 'description' => 'The order in which the returned asynchronous tasks are sorted.'."\n" + ."\n" + .'* asc: in ascending order.'."\n" + .'* desc: in descending order.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'asc', + ], + ], + [ + 'name' => 'includePayload', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '是否返回异步任务的入参', + 'description' => 'Specifies whether to return input parameters of the asynchronous tasks. Valid values:'."\n" + ."\n" + .'* 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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '异步任务列表', + 'schema' => [ + 'title' => '异步任务列表', + 'description' => 'The response parameters.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/ListAsyncTaskOutput', + ], + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"nextToken\\": \\"\\",\\n \\"tasks\\": [\\n {\\n \\"alreadyRetriedTimes\\": 3,\\n \\"destinationStatus\\": \\"Succeeded\\",\\n \\"durationMs\\": 1000,\\n \\"endTime\\": 1633449590000,\\n \\"events\\": [\\n {\\n \\"eventDetail\\": \\"body\\",\\n \\"eventId\\": 1,\\n \\"status\\": \\"Succeeded\\",\\n \\"timestamp\\": 1647420449721\\n }\\n ],\\n \\"functionArn\\": \\"acs:fc:cn-shanghai:1234/functions/my-func\\",\\n \\"instanceId\\": \\"D4-*******9FD1-882707E\\",\\n \\"qualifier\\": \\"prod\\",\\n \\"requestId\\": \\"e026ae92-61e5-472f-b32d-1c9e3c4e****\\",\\n \\"returnPayload\\": \\"result\\",\\n \\"startedTime\\": 1633449590000,\\n \\"status\\": \\"Running\\",\\n \\"taskErrorMessage\\": \\"UnhandledInvocationError\\",\\n \\"taskId\\": \\"e026ae92-61e5-472f-b32d-1c9e3c4e****\\",\\n \\"taskPayload\\": \\"body\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListAsyncTasks', + ], + 'StopAsyncTask' => [ + 'summary' => 'Stops an asynchronous task.', + 'path' => '/2023-03-30/functions/{functionName}/async-tasks/{taskId}/stop', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '213994', + 'abilityTreeNodes' => [ + 'FEATUREfcYBHLF0', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'my-func', + ], + ], + [ + 'name' => 'taskId', + 'in' => 'path', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '异步任务 id', + 'description' => 'The ID of the asynchronous task.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'e026ae92-61e5-472f-b32d-1c9e3c4e****', + ], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '函数版本或别名', + 'description' => 'The version or alias of the function.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + ], + ], + ], + 'responses' => [ + 204 => [ + 'description' => 'No Content', + 'examples' => [], + ], + 500 => [ + 'description' => '错误信息', + 'headers' => [], + 'schema' => [ + 'title' => '错误信息', + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/Error', + ], + 'examples' => [], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', + 'title' => 'StopAsyncTask', + ], + 'CreateSession' => [ + 'summary' => 'The CreateSession operation creates an explicit session resource. The system automatically generates a unique session ID, pre-allocates a function instance, and associates it with the session. You can specify values for TTL and idle timeout. This method applies to the HEADER_FIELD and GENERATED_COOKIE affinity types. It handles session preload and configuration initialization. After you call the InvokeFunction API, the session information can be included in the InvokeFunction request to enable request routing.', + 'path' => '/2023-03-30/functions/{functionName}/sessions', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREfcYLZHVD', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'schema' => [ + 'title' => '创建Session的函数名称', + 'description' => 'The name of the function.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'my-func', + ], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'schema' => [ + 'title' => '用于指定函数所属的版本或别名', + 'description' => 'Specifies the version or alias to which the sesion belongs.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'aliasName1', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + 'title' => '创建会话配置', + 'description' => 'Creates session configurations.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/CreateSessionInput', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '会话资源信息', + 'description' => 'The session resources.'."\n", + '$ref' => '#/components/schemas/Session', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"sessionId\\": \\"81f70ae156904eb9b7d43e12f511fe58\\",\\n \\"functionName\\": \\"functionName1\\",\\n \\"sessionAffinityType\\": \\"HEADER_FIELD\\",\\n \\"sessionTTLInSeconds\\": 21600,\\n \\"sessionIdleTimeoutInSeconds\\": 1800,\\n \\"createdTime\\": \\"2025-04-01T08:15:27Z\\",\\n \\"lastModifiedTime\\": \\"2025-04-01T18:15:27Z\\",\\n \\"sessionStatus\\": \\"Active\\",\\n \\"containerId\\": \\"c-68999e02-16a1955c-d2a03d1ccs\\",\\n \\"qualifier\\": \\"AliasName1\\",\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"disableSessionIdReuse\\": true,\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"bucketPath\\": \\"/my-dir\\",\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true\\n }\\n ]\\n },\\n \\"polarFsConfig\\": {\\n \\"groupId\\": 0,\\n \\"userId\\": 0,\\n \\"mountPoints\\": [\\n {\\n \\"instanceId\\": \\"\\",\\n \\"mountDir\\": \\"\\",\\n \\"remoteDir\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'CreateSession', + ], + 'GetSession' => [ + 'summary' => 'You can use this operation to retrieve detailed information about a specific session, including its session ID, associated function, affinity type, lifecycle configuration, status, and instance details. This operation retrieves the current metadata for a session. You can identify the metadata precisely using either the function name or qualifier. This capability enables you to monitor and debug external systems with ease. Only sessions that are in the Active state can be queried.', + 'path' => '/2023-03-30/functions/{functionName}/sessions/{sessionId}', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREfcYLZHVD', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The name of the function to which the session belongs.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'myFunction', + ], + ], + [ + 'name' => 'sessionId', + 'in' => 'path', + 'schema' => [ + 'title' => '会话ID值', + 'description' => 'The session ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'test-sessionid-index1', + ], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'schema' => [ + 'title' => '函数别名或版本信息', + 'description' => 'The function alias or version associated with the queried session ID.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'aliasName1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '函数会话信息', + 'description' => 'The function session details.'."\n", + '$ref' => '#/components/schemas/Session', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"sessionId\\": \\"81f70ae156904eb9b7d43e12f511fe58\\",\\n \\"functionName\\": \\"functionName1\\",\\n \\"sessionAffinityType\\": \\"HEADER_FIELD\\",\\n \\"sessionTTLInSeconds\\": 21600,\\n \\"sessionIdleTimeoutInSeconds\\": 1800,\\n \\"createdTime\\": \\"2025-04-01T08:15:27Z\\",\\n \\"lastModifiedTime\\": \\"2025-04-01T18:15:27Z\\",\\n \\"sessionStatus\\": \\"Active\\",\\n \\"containerId\\": \\"c-68999e02-16a1955c-d2a03d1ccs\\",\\n \\"qualifier\\": \\"AliasName1\\",\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"disableSessionIdReuse\\": true,\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"bucketPath\\": \\"/my-dir\\",\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true\\n }\\n ]\\n },\\n \\"polarFsConfig\\": {\\n \\"groupId\\": 0,\\n \\"userId\\": 0,\\n \\"mountPoints\\": [\\n {\\n \\"instanceId\\": \\"\\",\\n \\"mountDir\\": \\"\\",\\n \\"remoteDir\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'GetSession', + ], + 'UpdateSession' => [ + 'summary' => 'Updates session configurations while the session is in the Active state, such as lifecycle parameters (e.g., SessionTTLInSeconds and SessionIdleTimeoutInSeconds). After the update takes effect, LastModifiedTime is automatically refreshed. These updates can be used to extend or shorten the validity period of a session and enable dynamic management without changing the execution environment bound to the session.', + 'path' => '/2023-03-30/functions/{functionName}/sessions/{sessionId}', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREfcYLZHVD', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'schema' => [ + 'title' => 'Session所属的函数名称', + 'description' => 'The name of the function to which the session belongs.', + 'type' => 'string', + 'required' => false, + 'example' => 'my-func', + ], + ], + [ + 'name' => 'sessionId', + 'in' => 'path', + 'schema' => [ + 'title' => '更新的SessionId ,会话标识符', + 'description' => 'The ID of the session to be updated.', + 'type' => 'string', + 'required' => false, + 'example' => 'test-sessionid-1', + ], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'schema' => [ + 'title' => '函数别名或版本信息', + 'description' => 'The function alias or version associated with the session to be updated.', + 'type' => 'string', + 'required' => false, + 'example' => 'aliasName1', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + 'title' => '会话更新配置', + 'description' => 'The session update configuration.', + 'required' => false, + '$ref' => '#/components/schemas/UpdateSessionInput', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '函数会话资源信息', + 'description' => 'The updated session information.', + '$ref' => '#/components/schemas/Session', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"sessionId\\": \\"81f70ae156904eb9b7d43e12f511fe58\\",\\n \\"functionName\\": \\"functionName1\\",\\n \\"sessionAffinityType\\": \\"HEADER_FIELD\\",\\n \\"sessionTTLInSeconds\\": 21600,\\n \\"sessionIdleTimeoutInSeconds\\": 1800,\\n \\"createdTime\\": \\"2025-04-01T08:15:27Z\\",\\n \\"lastModifiedTime\\": \\"2025-04-01T18:15:27Z\\",\\n \\"sessionStatus\\": \\"Active\\",\\n \\"containerId\\": \\"c-68999e02-16a1955c-d2a03d1ccs\\",\\n \\"qualifier\\": \\"AliasName1\\",\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"disableSessionIdReuse\\": true,\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"bucketPath\\": \\"/my-dir\\",\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true\\n }\\n ]\\n },\\n \\"polarFsConfig\\": {\\n \\"groupId\\": 0,\\n \\"userId\\": 0,\\n \\"mountPoints\\": [\\n {\\n \\"instanceId\\": \\"\\",\\n \\"mountDir\\": \\"\\",\\n \\"remoteDir\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'UpdateSession', + ], + 'ListSessions' => [ + 'summary' => 'Lists sessions in the Active and/or Expired state(s) under the specified function. Supports filtering by qualifier, status, and session ID, as well as paginated queries. Returns basic session attributes for batch viewing of session distribution and status, helping with operations monitoring and integration with external systems, and enhancing session visibility and management.', + 'path' => '/2023-03-30/functions/{functionName}/sessions', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREfcYLZHVD', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'schema' => [ + 'title' => '函数名', + 'description' => 'The function name.', + 'type' => 'string', + 'required' => false, + 'example' => 'my-func', + ], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'schema' => [ + 'title' => '函数别名或版本信息', + 'description' => 'The function alias or version.', + 'type' => 'string', + 'required' => false, + 'example' => 'aliasName1', + ], + ], + [ + 'name' => 'limit', + 'in' => 'query', + 'schema' => [ + 'title' => '返回的会话数量', + 'description' => 'The number of sessions to be returned. If this parameter is not specified, 20 sessions are returned by default.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '10', + ], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => [ + 'title' => '分页起始标记', + 'description' => 'The token for the next page.', + 'type' => 'string', + 'required' => false, + 'example' => 'MTIzNCNhYmM=', + ], + ], + [ + 'name' => 'sessionStatus', + 'in' => 'query', + 'schema' => [ + 'title' => '过滤表达式,格式:field:value[,field:value...],当前仅支持 sessionStatus'."\0".'信息,如sessionStatus'."\0".':Normal。', + 'description' => 'The session status to filter. By default, information for all sessions in the Active and Expired states is returned. You can specify Active to retrieve only active sessions, or Expired to retrieve only expired sessions.', + 'type' => 'string', + 'required' => false, + 'example' => 'Active', + ], + ], + [ + 'name' => 'sessionId', + 'in' => 'query', + 'schema' => [ + 'title' => '过滤的SessionId 值,如指定,可返回关联的 Active/Expired 会话信息', + 'description' => 'The SessionId value to filter. If specified, all session information associated with this session ID in Active or Expired states is returned.', + 'type' => 'string', + 'required' => false, + 'example' => 'test-session-id-1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The list of returned session information.', + '$ref' => '#/components/schemas/ListSessionsOutput', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"nextToken\\": \\"MTIzNCNhYmM=\\",\\n \\"sessions\\": [\\n {\\n \\"sessionId\\": \\"81f70ae156904eb9b7d43e12f511fe58\\",\\n \\"functionName\\": \\"functionName1\\",\\n \\"sessionAffinityType\\": \\"HEADER_FIELD\\",\\n \\"sessionTTLInSeconds\\": 21600,\\n \\"sessionIdleTimeoutInSeconds\\": 1800,\\n \\"createdTime\\": \\"2025-04-01T08:15:27Z\\",\\n \\"lastModifiedTime\\": \\"2025-04-01T18:15:27Z\\",\\n \\"sessionStatus\\": \\"Active\\",\\n \\"containerId\\": \\"c-68999e02-16a1955c-d2a03d1ccs\\",\\n \\"qualifier\\": \\"AliasName1\\",\\n \\"nasConfig\\": {\\n \\"groupId\\": 100,\\n \\"mountPoints\\": [\\n {\\n \\"enableTLS\\": true,\\n \\"mountDir\\": \\"/home/test\\",\\n \\"serverAddr\\": \\"***-uni85.cn-hangzhou.nas.com:/\\"\\n }\\n ],\\n \\"userId\\": 100\\n },\\n \\"disableSessionIdReuse\\": true,\\n \\"ossMountConfig\\": {\\n \\"mountPoints\\": [\\n {\\n \\"bucketName\\": \\"my-bucket\\",\\n \\"bucketPath\\": \\"/my-dir\\",\\n \\"endpoint\\": \\"http://oss-cn-shanghai.aliyuncs.com\\",\\n \\"mountDir\\": \\"/mnt/dir\\",\\n \\"readOnly\\": true\\n }\\n ]\\n },\\n \\"polarFsConfig\\": {\\n \\"groupId\\": 0,\\n \\"userId\\": 0,\\n \\"mountPoints\\": [\\n {\\n \\"instanceId\\": \\"\\",\\n \\"mountDir\\": \\"\\",\\n \\"remoteDir\\": \\"\\"\\n }\\n ]\\n }\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListSessions', + ], + 'DeleteSession' => [ + 'summary' => 'Deletes the specified session and prohibits new requests from being routed to it. Clears the session metadata from the database, so subsequent requests with the same session ID are treated as new sessions. Releases resources and performs session cleanup. In session isolation scenarios, terminates running requests and releases the instance bound to the session. In non-session isolation scenarios, allows running requests to continue and gracefully terminates them.', + 'path' => '/2023-03-30/functions/{functionName}/sessions/{sessionId}', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREfcYLZHVD', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'schema' => [ + 'title' => '函数名称', + 'description' => 'The function name.', + 'type' => 'string', + 'required' => false, + 'example' => 'my-func', + ], + ], + [ + 'name' => 'sessionId', + 'in' => 'path', + 'schema' => [ + 'title' => '会话ID值', + 'description' => 'The ID of the session to be deleted.', + 'type' => 'string', + 'required' => false, + 'example' => 'test-session-id-1', + ], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'schema' => [ + 'title' => '函数别名或版本信息', + 'description' => 'The function alias or version associated with the session to be deleted.', + 'type' => 'string', + 'required' => false, + 'example' => 'aliasName1', + ], + ], + ], + 'responses' => [ + 204 => [], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', + 'title' => 'DeleteSession', + ], + 'PutScalingConfig' => [ + 'summary' => 'Scaling settings', + 'path' => '/2023-03-30/functions/{functionName}/scaling-config', + 'methods' => [ + 'put', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREfcI9H8B8', + ], + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'schema' => [ + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'my-func', + ], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'schema' => [ + 'description' => 'The function alias.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + ], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The function scalability configuration.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/PutScalingConfigInput', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The function scalability configuration.'."\n", + '$ref' => '#/components/schemas/ScalingConfigStatus', + ], + ], + 400 => [], + 500 => [], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"functionArn\\": \\"\\",\\n \\"residentPoolId\\": \\"\\",\\n \\"minInstances\\": 0,\\n \\"currentInstances\\": 0,\\n \\"currentError\\": \\"\\",\\n \\"targetInstances\\": 0,\\n \\"enableOnDemandScaling\\": true,\\n \\"scheduledPolicies\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"startTime\\": \\"\\",\\n \\"endTime\\": \\"\\",\\n \\"target\\": 0,\\n \\"scheduleExpression\\": \\"\\",\\n \\"timeZone\\": \\"\\"\\n }\\n ],\\n \\"horizontalScalingPolicies\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"startTime\\": \\"\\",\\n \\"endTime\\": \\"\\",\\n \\"metricType\\": \\"\\",\\n \\"metricTarget\\": 0,\\n \\"minInstances\\": 0,\\n \\"maxInstances\\": 0,\\n \\"timeZone\\": \\"\\"\\n }\\n ],\\n \\"enableMixMode\\": true,\\n \\"requestDispatchPolicy\\": \\"\\"\\n}","type":"json"}]', + 'title' => 'PutScalingConfig', + ], + 'DeleteScalingConfig' => [ + 'summary' => 'Deletes the scaling settings of a function.', + 'path' => '/2023-03-30/functions/{functionName}/scaling-config', + 'methods' => [ + 'delete', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREfcI9H8B8', + ], + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'schema' => [ + 'description' => 'The function name.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'my-func', + ], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'schema' => [ + 'description' => 'The function alias.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + ], + ], + ], + 'responses' => [ + 204 => [], + 400 => [], + 500 => [], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', + 'title' => 'DeleteScalingConfig', + ], + 'GetScalingConfig' => [ + 'summary' => 'Gets the scaling settings of a function.', + 'path' => '/2023-03-30/functions/{functionName}/scaling-config', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREfcHRC0TU', + 'FEATUREfcEHTP7G', + ], + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'path', + 'schema' => [ + 'description' => 'The name of the function.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'my-func', + ], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'schema' => [ + 'description' => 'The alias of the function.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'LATEST', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The scaling settings.'."\n", + '$ref' => '#/components/schemas/ScalingConfigStatus', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"functionArn\\": \\"\\",\\n \\"residentPoolId\\": \\"\\",\\n \\"minInstances\\": 0,\\n \\"currentInstances\\": 0,\\n \\"currentError\\": \\"\\",\\n \\"targetInstances\\": 0,\\n \\"enableOnDemandScaling\\": true,\\n \\"scheduledPolicies\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"startTime\\": \\"\\",\\n \\"endTime\\": \\"\\",\\n \\"target\\": 0,\\n \\"scheduleExpression\\": \\"\\",\\n \\"timeZone\\": \\"\\"\\n }\\n ],\\n \\"horizontalScalingPolicies\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"startTime\\": \\"\\",\\n \\"endTime\\": \\"\\",\\n \\"metricType\\": \\"\\",\\n \\"metricTarget\\": 0,\\n \\"minInstances\\": 0,\\n \\"maxInstances\\": 0,\\n \\"timeZone\\": \\"\\"\\n }\\n ],\\n \\"enableMixMode\\": true,\\n \\"requestDispatchPolicy\\": \\"\\"\\n}","type":"json"}]', + 'title' => 'GetScalingConfig', + ], + 'ListScalingConfigs' => [ + 'summary' => 'Lists the scaling settings of a function.', + 'path' => '/2023-03-30/scaling-configs', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREfcHRC0TU', + 'FEATUREfcEHTP7G', + ], + ], + 'parameters' => [ + [ + 'name' => 'functionName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the function.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'my-func', + ], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => [ + 'description' => 'The token for the next page.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'MTIzNCNhYmM=', + ], + ], + [ + 'name' => 'limit', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of scaling settings to return.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The list of the function\'s scaling settings.'."\n", + '$ref' => '#/components/schemas/ListScalingConfigsOutput', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"nextToken\\": \\"\\",\\n \\"scalingConfigs\\": [\\n {\\n \\"functionArn\\": \\"\\",\\n \\"residentPoolId\\": \\"\\",\\n \\"minInstances\\": 0,\\n \\"currentInstances\\": 0,\\n \\"currentError\\": \\"\\",\\n \\"targetInstances\\": 0,\\n \\"enableOnDemandScaling\\": true,\\n \\"scheduledPolicies\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"startTime\\": \\"\\",\\n \\"endTime\\": \\"\\",\\n \\"target\\": 0,\\n \\"scheduleExpression\\": \\"\\",\\n \\"timeZone\\": \\"\\"\\n }\\n ],\\n \\"horizontalScalingPolicies\\": [\\n {\\n \\"name\\": \\"\\",\\n \\"startTime\\": \\"\\",\\n \\"endTime\\": \\"\\",\\n \\"metricType\\": \\"\\",\\n \\"metricTarget\\": 0,\\n \\"minInstances\\": 0,\\n \\"maxInstances\\": 0,\\n \\"timeZone\\": \\"\\"\\n }\\n ],\\n \\"enableMixMode\\": true,\\n \\"requestDispatchPolicy\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListScalingConfigs', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-qingdao', + 'endpoint' => 'fcv3.cn-qingdao.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'fcv3.cn-beijing.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'fcv3.cn-zhangjiakou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-huhehaote', + 'endpoint' => 'fcv3.cn-huhehaote.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'fcv3.cn-hangzhou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'fcv3.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen', + 'endpoint' => 'fcv3.cn-shenzhen.aliyuncs.com', + ], + [ + 'regionId' => 'cn-chengdu', + 'endpoint' => 'fcv3.cn-chengdu.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong', + 'endpoint' => 'fcv3.cn-hongkong.aliyuncs.com', + ], + [ + 'regionId' => 'ap-northeast-1', + 'endpoint' => 'fcv3.ap-northeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'fcv3.ap-southeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-2', + 'endpoint' => 'fcv3.ap-southeast-2.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-3', + 'endpoint' => 'fcv3.ap-southeast-3.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-5', + 'endpoint' => 'fcv3.ap-southeast-5.aliyuncs.com ', + ], + [ + 'regionId' => 'us-east-1', + 'endpoint' => 'fcv3.us-east-1.aliyuncs.com', + ], + [ + 'regionId' => 'us-west-1', + 'endpoint' => 'fcv3.us-west-1.aliyuncs.com', + ], + [ + 'regionId' => 'eu-west-1', + 'endpoint' => 'fcv3.eu-west-1.aliyuncs.com', + ], + [ + 'regionId' => 'eu-central-1', + 'endpoint' => 'fcv3.eu-central-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-south-1', + 'endpoint' => 'fcv3.ap-south-1.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-finance', + 'endpoint' => 'cn-hangzhou-finance.fc.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-finance-1', + 'endpoint' => 'cn-shanghai-finance-1.fc.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-7', + 'endpoint' => 'fcv3.ap-southeast-7.aliyuncs.com', + ], + [ + 'regionId' => 'me-central-1', + 'endpoint' => 'me-central-1.fc.aliyuncs.com', + ], + [ + 'regionId' => 'cn-heyuan-acdr-1', + 'endpoint' => 'cn-heyuan-acdr-1.fc.aliyuncs.com', + ], + [ + 'regionId' => 'cn-wulanchabu', + 'endpoint' => 'fcv3.cn-wulanchabu.aliyuncs.com', + ], + [ + 'regionId' => 'ap-northeast-2', + 'endpoint' => 'fcv3.ap-northeast-2.aliyuncs.com', + ], + ], +]; |
