diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
| commit | 814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch) | |
| tree | 29e1692a067b17e56886a7d246d2b9521b2b7777 /data/fc-open | |
| parent | eccd5cd5a067f5659982685afdeea209b1888efb (diff) | |
| download | afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip | |
update APIs 20260712
Diffstat (limited to 'data/fc-open')
| -rw-r--r-- | data/fc-open/2020-03-10/api-docs.php | 126 | ||||
| -rw-r--r-- | data/fc-open/2021-04-06/api-docs.php | 6210 |
2 files changed, 1663 insertions, 4673 deletions
diff --git a/data/fc-open/2020-03-10/api-docs.php b/data/fc-open/2020-03-10/api-docs.php index 7130a19..a25a65d 100644 --- a/data/fc-open/2020-03-10/api-docs.php +++ b/data/fc-open/2020-03-10/api-docs.php @@ -1,24 +1,14 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'FC', - 'product' => 'FC-Open', - 'version' => '2020-03-10', - ], + 'info' => ['style' => 'FC', 'product' => 'FC-Open', 'version' => '2020-03-10'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'OpenFcService' => [ 'path' => '/service/open', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -38,93 +28,27 @@ ], ], 'endpoints' => [ - [ - 'regionId' => 'ap-northeast-2', - 'endpoint' => 'fc.ap-northeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'fc.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'fc.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'fc.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'fc.cn-huhehaote.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'fc.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'fc.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'fc.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'fc.cn-chengdu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'fc.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'fc.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'fc.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'fc.ap-southeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'fc.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'fc.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'fc.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'fc.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'fc.eu-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'fc.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'fc.ap-south-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'account-id.cn-hangzhou-finance.fc.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-7', - 'endpoint' => 'fc.ap-southeast-7.aliyuncs.com', - ], + ['regionId' => 'ap-northeast-2', 'endpoint' => 'fc.ap-northeast-2.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'endpoint' => 'fc.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'endpoint' => 'fc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'fc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'endpoint' => 'fc.cn-huhehaote.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'endpoint' => 'fc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'endpoint' => 'fc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'endpoint' => 'fc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'endpoint' => 'fc.cn-chengdu.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'endpoint' => 'fc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'endpoint' => 'fc.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'endpoint' => 'fc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-2', 'endpoint' => 'fc.ap-southeast-2.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'endpoint' => 'fc.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'endpoint' => 'fc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'us-east-1', 'endpoint' => 'fc.us-east-1.aliyuncs.com'], + ['regionId' => 'us-west-1', 'endpoint' => 'fc.us-west-1.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'endpoint' => 'fc.eu-west-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'endpoint' => 'fc.eu-central-1.aliyuncs.com'], + ['regionId' => 'ap-south-1', 'endpoint' => 'fc.ap-south-1.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'account-id.cn-hangzhou-finance.fc.aliyuncs.com'], + ['regionId' => 'ap-southeast-7', 'endpoint' => 'fc.ap-southeast-7.aliyuncs.com'], ], ]; diff --git a/data/fc-open/2021-04-06/api-docs.php b/data/fc-open/2021-04-06/api-docs.php index ddd60ba..22deb4f 100644 --- a/data/fc-open/2021-04-06/api-docs.php +++ b/data/fc-open/2021-04-06/api-docs.php @@ -1,74 +1,46 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'FC', - 'product' => 'FC-Open', - 'version' => '2021-04-06', - ], + 'info' => ['style' => 'ROA', 'product' => 'FC-Open', 'version' => '2021-04-06'], 'components' => [ 'schemas' => [ 'AccelerationInfo' => [ 'type' => 'object', 'properties' => [ - 'status' => [ - 'type' => 'string', - ], + 'status' => ['type' => 'string'], ], ], 'AsyncConfigMeta' => [ 'type' => 'object', 'properties' => [ - 'serviceName' => [ - 'type' => 'string', - ], - 'functionName' => [ - 'type' => 'string', - ], - 'qualifier' => [ - 'type' => 'string', - ], + 'serviceName' => ['type' => 'string'], + 'functionName' => ['type' => 'string'], + 'qualifier' => ['type' => 'string'], ], ], 'AvailableAZ' => [ 'type' => 'object', 'properties' => [ - 'availableAZs' => [ - 'type' => 'string', - ], + 'availableAZs' => ['type' => 'string'], ], ], 'BatchWindow' => [ 'type' => 'object', 'properties' => [ - 'CountBasedWindow' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'TimeBasedWindow' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'CountBasedWindow' => ['type' => 'integer', 'format' => 'int64'], + 'TimeBasedWindow' => ['type' => 'integer', 'format' => 'int64'], ], ], 'CDNEventsTriggerConfig' => [ 'type' => 'object', 'properties' => [ - 'eventName' => [ - 'type' => 'string', - ], - 'eventVersion' => [ - 'type' => 'string', - ], - 'notes' => [ - 'type' => 'string', - ], + 'eventName' => ['type' => 'string'], + 'eventVersion' => ['type' => 'string'], + 'notes' => ['type' => 'string'], 'filter' => [ 'type' => 'object', 'additionalProperties' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -76,78 +48,40 @@ 'CertConfig' => [ 'type' => 'object', 'properties' => [ - 'certName' => [ - 'type' => 'string', - ], - 'certificate' => [ - 'type' => 'string', - ], - 'privateKey' => [ - 'type' => 'string', - ], + 'certName' => ['type' => 'string'], + 'certificate' => ['type' => 'string'], + 'privateKey' => ['type' => 'string'], ], ], 'Code' => [ 'type' => 'object', 'properties' => [ - 'ossBucketName' => [ - 'type' => 'string', - ], - 'ossObjectName' => [ - 'type' => 'string', - ], - 'zipFile' => [ - 'type' => 'string', - ], + 'ossBucketName' => ['type' => 'string'], + 'ossObjectName' => ['type' => 'string'], + 'zipFile' => ['type' => 'string'], ], ], 'CustomContainerConfig' => [ 'type' => 'object', 'properties' => [ - 'args' => [ - 'type' => 'string', - ], - 'command' => [ - 'type' => 'string', - ], - 'image' => [ - 'type' => 'string', - ], - 'accelerationType' => [ - 'type' => 'string', - ], - 'instanceID' => [ - 'type' => 'string', - ], - 'webServerMode' => [ - 'type' => 'boolean', - ], + 'args' => ['type' => 'string'], + 'command' => ['type' => 'string'], + 'image' => ['type' => 'string'], + 'accelerationType' => ['type' => 'string'], + 'instanceID' => ['type' => 'string'], + 'webServerMode' => ['type' => 'boolean'], ], ], 'CustomContainerConfigInfo' => [ 'type' => 'object', 'properties' => [ - 'args' => [ - 'type' => 'string', - ], - 'command' => [ - 'type' => 'string', - ], - 'image' => [ - 'type' => 'string', - ], - 'accelerationType' => [ - 'type' => 'string', - ], - 'accelerationInfo' => [ - '$ref' => '#/components/schemas/AccelerationInfo', - ], - 'instanceID' => [ - 'type' => 'string', - ], - 'webServerMode' => [ - 'type' => 'boolean', - ], + 'args' => ['type' => 'string'], + 'command' => ['type' => 'string'], + 'image' => ['type' => 'string'], + 'accelerationType' => ['type' => 'string'], + 'accelerationInfo' => ['$ref' => '#/components/schemas/AccelerationInfo'], + 'instanceID' => ['type' => 'string'], + 'webServerMode' => ['type' => 'boolean'], ], ], 'CustomDNS' => [ @@ -155,51 +89,27 @@ 'properties' => [ 'nameServers' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'searches' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'dnsOptions' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/DNSOption', - ], + 'items' => ['$ref' => '#/components/schemas/DNSOption'], ], ], ], 'CustomHealthCheckConfig' => [ 'type' => 'object', 'properties' => [ - 'httpGetUrl' => [ - 'type' => 'string', - 'required' => true, - ], - 'initialDelaySeconds' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'periodSeconds' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'timeoutSeconds' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'failureThreshold' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'successThreshold' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'httpGetUrl' => ['type' => 'string', 'required' => true], + 'initialDelaySeconds' => ['type' => 'integer', 'format' => 'int32'], + 'periodSeconds' => ['type' => 'integer', 'format' => 'int32'], + 'timeoutSeconds' => ['type' => 'integer', 'format' => 'int32'], + 'failureThreshold' => ['type' => 'integer', 'format' => 'int32'], + 'successThreshold' => ['type' => 'integer', 'format' => 'int32'], ], ], 'CustomRuntimeConfig' => [ @@ -207,36 +117,18 @@ 'properties' => [ 'command' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'args' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - ], - ], - 'DNSOption' => [ - 'type' => 'object', - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'value' => [ - 'type' => 'string', + 'items' => ['type' => 'string'], ], ], ], 'DeadLetterQueue' => [ 'type' => 'object', 'properties' => [ - 'Arn' => [ - 'type' => 'string', - ], + 'Arn' => ['type' => 'string'], ], ], 'DeliveryOption' => [ @@ -244,127 +136,72 @@ 'properties' => [ 'mode' => [ 'type' => 'string', - 'enum' => [ - 'event-driven', - 'event-streaming', - ], - ], - 'eventSchema' => [ - 'type' => 'string', - ], - 'concurrency' => [ - 'type' => 'integer', - 'format' => 'int64', + 'enum' => ['event-driven', 'event-streaming'], ], + 'eventSchema' => ['type' => 'string'], + 'concurrency' => ['type' => 'integer', 'format' => 'int64'], ], ], 'Destination' => [ 'type' => 'object', 'properties' => [ - 'destination' => [ - 'type' => 'string', - ], + 'destination' => ['type' => 'string'], ], ], 'DestinationConfig' => [ 'type' => 'object', 'properties' => [ - 'onSuccess' => [ - '$ref' => '#/components/schemas/Destination', - ], - 'onFailure' => [ - '$ref' => '#/components/schemas/Destination', - ], + 'onSuccess' => ['$ref' => '#/components/schemas/Destination'], + 'onFailure' => ['$ref' => '#/components/schemas/Destination'], ], ], - 'Error' => [ + 'DNSOption' => [ 'type' => 'object', 'properties' => [ - 'errorCode' => [ - 'type' => 'string', - ], - 'errorMessage' => [ - 'type' => 'string', - ], + 'name' => ['type' => 'string', 'required' => true], + 'value' => ['type' => 'string'], ], ], - 'ErrorInfo' => [ + 'Error' => [ 'type' => 'object', 'properties' => [ - 'errorMessage' => [ - 'type' => 'string', - ], - 'stackTrace' => [ - 'type' => 'string', - ], + 'errorCode' => ['type' => 'string'], + 'errorMessage' => ['type' => 'string'], ], ], 'EventBridgeTriggerConfig' => [ 'type' => 'object', 'properties' => [ - 'triggerEnable' => [ - 'type' => 'boolean', - ], - 'asyncInvocationType' => [ - 'type' => 'boolean', - ], - 'eventRuleFilterPattern' => [ - 'type' => 'string', - 'required' => true, - ], - 'eventSourceConfig' => [ - '$ref' => '#/components/schemas/EventSourceConfig', - 'required' => true, - ], - 'eventSinkConfig' => [ - '$ref' => '#/components/schemas/EventSinkConfig', - ], - 'runOptions' => [ - '$ref' => '#/components/schemas/RunOptions', - ], + 'triggerEnable' => ['type' => 'boolean'], + 'asyncInvocationType' => ['type' => 'boolean'], + 'eventRuleFilterPattern' => ['type' => 'string', 'required' => true], + 'eventSourceConfig' => ['$ref' => '#/components/schemas/EventSourceConfig', 'required' => true], + 'eventSinkConfig' => ['$ref' => '#/components/schemas/EventSinkConfig'], + 'runOptions' => ['$ref' => '#/components/schemas/RunOptions'], ], ], 'EventSinkConfig' => [ 'type' => 'object', 'properties' => [ - 'deliveryOption' => [ - '$ref' => '#/components/schemas/DeliveryOption', - ], + 'deliveryOption' => ['$ref' => '#/components/schemas/DeliveryOption'], ], ], 'EventSourceConfig' => [ 'type' => 'object', 'properties' => [ - 'eventSourceType' => [ - 'type' => 'string', - 'required' => true, - ], - 'eventSourceParameters' => [ - '$ref' => '#/components/schemas/EventSourceParameters', - ], + 'eventSourceType' => ['type' => 'string', 'required' => true], + 'eventSourceParameters' => ['$ref' => '#/components/schemas/EventSourceParameters'], ], ], 'EventSourceParameters' => [ 'type' => 'object', 'properties' => [ - 'sourceMNSParameters' => [ - '$ref' => '#/components/schemas/SourceMNSParameters', - ], - 'sourceRocketMQParameters' => [ - '$ref' => '#/components/schemas/SourceRocketMQParameters', - ], - 'sourceRabbitMQParameters' => [ - '$ref' => '#/components/schemas/SourceRabbitMQParameters', - ], - 'sourceKafkaParameters' => [ - '$ref' => '#/components/schemas/SourceKafkaParameters', - ], - 'sourceDTSParameters' => [ - '$ref' => '#/components/schemas/SourceDTSParameters', - ], - 'sourceMQTTParameters' => [ - '$ref' => '#/components/schemas/SourceMQTTParameters', - ], + 'sourceMNSParameters' => ['$ref' => '#/components/schemas/SourceMNSParameters'], + 'sourceRocketMQParameters' => ['$ref' => '#/components/schemas/SourceRocketMQParameters'], + 'sourceRabbitMQParameters' => ['$ref' => '#/components/schemas/SourceRabbitMQParameters'], + 'sourceKafkaParameters' => ['$ref' => '#/components/schemas/SourceKafkaParameters'], + 'sourceDTSParameters' => ['$ref' => '#/components/schemas/SourceDTSParameters'], + 'sourceMQTTParameters' => ['$ref' => '#/components/schemas/SourceMQTTParameters'], ], ], 'HTTPTriggerConfig' => [ @@ -372,275 +209,145 @@ 'properties' => [ 'authType' => [ 'type' => 'string', - 'enum' => [ - 'anonymous', - 'function', - ], + 'enum' => ['anonymous', 'function'], ], 'methods' => [ 'type' => 'array', 'items' => [ 'type' => 'string', - 'enum' => [ - 'HEAD', - 'GET', - 'POST', - 'PUT', - 'DELETE', - 'PATCH', - 'OPTIONS', - ], + 'enum' => ['HEAD', 'GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'OPTIONS'], ], ], - 'disableURLInternet' => [ - 'type' => 'boolean', - ], - 'authConfig' => [ - 'type' => 'string', - ], + 'disableURLInternet' => ['type' => 'boolean'], + 'authConfig' => ['type' => 'string'], ], ], 'InstanceLifecycleConfig' => [ 'type' => 'object', 'properties' => [ - 'preFreeze' => [ - '$ref' => '#/components/schemas/LifecycleHook', - ], - 'preStop' => [ - '$ref' => '#/components/schemas/LifecycleHook', - ], - ], - ], - 'JWTAuthConfig' => [ - 'type' => 'object', - 'properties' => [ - 'jwks' => [ - 'type' => 'string', - ], - 'tokenLookup' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'claimPassBy' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'whiteList' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'blackList' => [ - 'type' => 'string', - ], + 'preFreeze' => ['$ref' => '#/components/schemas/LifecycleHook'], + 'preStop' => ['$ref' => '#/components/schemas/LifecycleHook'], ], ], 'JaegerConfig' => [ 'type' => 'object', 'properties' => [ - 'endpoint' => [ - 'type' => 'string', - ], + 'endpoint' => ['type' => 'string'], ], ], 'JobConfig' => [ 'type' => 'object', 'properties' => [ - 'maxRetryTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'triggerInterval' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'maxRetryTime' => ['type' => 'integer', 'format' => 'int64'], + 'triggerInterval' => ['type' => 'integer', 'format' => 'int64'], ], ], 'JobLogConfig' => [ 'type' => 'object', 'properties' => [ - 'project' => [ - 'type' => 'string', - ], - 'logstore' => [ - 'type' => 'string', - ], + 'project' => ['type' => 'string'], + 'logstore' => ['type' => 'string'], ], ], 'Layer' => [ 'type' => 'object', 'properties' => [ - 'layerName' => [ - 'type' => 'string', - ], - 'version' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'description' => [ - 'type' => 'string', - ], - 'code' => [ - '$ref' => '#/components/schemas/LayerCode', - ], - 'codeSize' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'codeChecksum' => [ - 'type' => 'string', - ], - 'createTime' => [ - 'type' => 'string', - ], - 'acl' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'arn' => [ - 'type' => 'string', - ], - 'arnV2' => [ - 'type' => 'string', - ], - 'license' => [ - 'type' => 'string', - ], + 'layerName' => ['type' => 'string'], + 'version' => ['type' => 'integer', 'format' => 'int32'], + 'description' => ['type' => 'string'], + 'code' => ['$ref' => '#/components/schemas/LayerCode'], + 'codeSize' => ['type' => 'integer', 'format' => 'int64'], + 'codeChecksum' => ['type' => 'string'], + 'createTime' => ['type' => 'string'], + 'acl' => ['type' => 'integer', 'format' => 'int32'], + 'arn' => ['type' => 'string'], + 'arnV2' => ['type' => 'string'], + 'license' => ['type' => 'string'], 'compatibleRuntime' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], 'LayerCode' => [ 'type' => 'object', 'properties' => [ - 'repositoryType' => [ - 'type' => 'string', - ], - 'location' => [ - 'type' => 'string', - ], + 'repositoryType' => ['type' => 'string'], + 'location' => ['type' => 'string'], ], ], 'LifecycleHook' => [ 'type' => 'object', 'properties' => [ - 'handler' => [ - 'type' => 'string', - ], - 'timeout' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'handler' => ['type' => 'string'], + 'timeout' => ['type' => 'integer', 'format' => 'int32'], ], ], 'LogConfig' => [ 'type' => 'object', 'properties' => [ - 'logstore' => [ - 'type' => 'string', - ], - 'project' => [ - 'type' => 'string', - ], - 'enableRequestMetrics' => [ - 'type' => 'boolean', - ], - 'enableInstanceMetrics' => [ - 'type' => 'boolean', - ], - 'logBeginRule' => [ - 'type' => 'string', - ], + 'logstore' => ['type' => 'string'], + 'project' => ['type' => 'string'], + 'enableRequestMetrics' => ['type' => 'boolean'], + 'enableInstanceMetrics' => ['type' => 'boolean'], + 'logBeginRule' => ['type' => 'string'], ], ], 'LogTriggerConfig' => [ 'type' => 'object', 'properties' => [ - 'sourceConfig' => [ - '$ref' => '#/components/schemas/SourceConfig', - ], - 'jobConfig' => [ - '$ref' => '#/components/schemas/JobConfig', - ], + 'sourceConfig' => ['$ref' => '#/components/schemas/SourceConfig'], + 'jobConfig' => ['$ref' => '#/components/schemas/JobConfig'], 'functionParameter' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'logConfig' => [ - '$ref' => '#/components/schemas/JobLogConfig', - ], - 'enable' => [ - 'type' => 'boolean', - ], - ], - ], - 'MeteringConfig' => [ - 'type' => 'object', - 'properties' => [ - 'payerId' => [ - 'type' => 'string', - ], - 'role' => [ - 'type' => 'string', - ], - 'logConfig' => [ - '$ref' => '#/components/schemas/LogConfig', + 'additionalProperties' => ['type' => 'string'], ], + 'logConfig' => ['$ref' => '#/components/schemas/JobLogConfig'], + 'enable' => ['type' => 'boolean'], ], ], 'MnsTopicTriggerConfig' => [ 'type' => 'object', 'properties' => [ - 'filterTag' => [ - 'type' => 'string', - ], - 'notifyContentFormat' => [ - 'type' => 'string', - ], - 'notifyStrategy' => [ - 'type' => 'string', - ], + 'filterTag' => ['type' => 'string'], + 'notifyContentFormat' => ['type' => 'string'], + 'notifyStrategy' => ['type' => 'string'], ], ], 'NASConfig' => [ 'type' => 'object', 'properties' => [ - 'groupId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'groupId' => ['type' => 'integer', 'format' => 'int32'], 'mountPoints' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'mountDir' => [ - 'type' => 'string', - ], - 'serverAddr' => [ - 'type' => 'string', - ], - 'enableTLS' => [ - 'type' => 'boolean', - ], + 'mountDir' => ['type' => 'string'], + 'serverAddr' => ['type' => 'string'], + 'enableTLS' => ['type' => 'boolean'], ], ], ], - 'userId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'userId' => ['type' => 'integer', 'format' => 'int32'], + ], + ], + 'OnDemandConfig' => [ + 'type' => 'object', + 'properties' => [ + 'resource' => ['type' => 'string'], + 'maximumInstanceCount' => ['type' => 'integer', 'format' => 'int64'], + ], + ], + 'OpenReservedCapacity' => [ + 'type' => 'object', + 'properties' => [ + 'instanceId' => ['type' => 'string'], + 'cu' => ['type' => 'integer', 'format' => 'int64'], + 'deadline' => ['type' => 'string'], + 'createdTime' => ['type' => 'string'], + 'lastModifiedTime' => ['type' => 'string'], + 'isRefunded' => ['type' => 'string'], ], ], 'OSSMountConfig' => [ @@ -652,21 +359,11 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'bucketName' => [ - 'type' => 'string', - ], - 'mountDir' => [ - 'type' => 'string', - ], - 'readOnly' => [ - 'type' => 'boolean', - ], - 'endpoint' => [ - 'type' => 'string', - ], - 'bucketPath' => [ - 'type' => 'string', - ], + 'bucketName' => ['type' => 'string'], + 'mountDir' => ['type' => 'string'], + 'readOnly' => ['type' => 'boolean'], + 'endpoint' => ['type' => 'string'], + 'bucketPath' => ['type' => 'string'], ], ], ], @@ -677,113 +374,46 @@ 'properties' => [ 'events' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'filter' => [ - '$ref' => '#/components/schemas/OSSTriggerFilter', + 'items' => ['type' => 'string'], ], + 'filter' => ['$ref' => '#/components/schemas/OSSTriggerFilter'], ], ], 'OSSTriggerFilter' => [ 'type' => 'object', 'properties' => [ - 'key' => [ - '$ref' => '#/components/schemas/OSSTriggerKey', - ], + 'key' => ['$ref' => '#/components/schemas/OSSTriggerKey'], ], ], 'OSSTriggerKey' => [ 'type' => 'object', 'properties' => [ - 'prefix' => [ - 'type' => 'string', - ], - 'suffix' => [ - 'type' => 'string', - ], - ], - ], - 'OnDemandConfig' => [ - 'type' => 'object', - 'properties' => [ - 'resource' => [ - 'type' => 'string', - ], - 'maximumInstanceCount' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - ], - ], - 'OpenReservedCapacity' => [ - 'type' => 'object', - 'properties' => [ - 'instanceId' => [ - 'type' => 'string', - ], - 'cu' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'deadline' => [ - 'type' => 'string', - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'lastModifiedTime' => [ - 'type' => 'string', - ], - 'isRefunded' => [ - 'type' => 'string', - ], + 'prefix' => ['type' => 'string'], + 'suffix' => ['type' => 'string'], ], ], 'OutputCodeLocation' => [ 'type' => 'object', 'properties' => [ - 'repositoryType' => [ - 'type' => 'string', - ], - 'location' => [ - 'type' => 'string', - ], + 'repositoryType' => ['type' => 'string'], + 'location' => ['type' => 'string'], ], ], 'PathConfig' => [ 'type' => 'object', 'properties' => [ - 'functionName' => [ - 'type' => 'string', - ], + 'functionName' => ['type' => 'string'], 'methods' => [ 'type' => 'array', 'items' => [ 'type' => 'string', - 'enum' => [ - 'HEAD', - 'GET', - 'POST', - 'PUT', - 'DELETE', - 'PATCH', - ], + 'enum' => ['HEAD', 'GET', 'POST', 'PUT', 'DELETE', 'PATCH'], ], ], - 'path' => [ - 'type' => 'string', - ], - 'qualifier' => [ - 'type' => 'string', - ], - 'serviceName' => [ - 'type' => 'string', - ], - 'rewriteConfig' => [ - '$ref' => '#/components/schemas/RewriteConfig', - ], + 'path' => ['type' => 'string'], + 'qualifier' => ['type' => 'string'], + 'serviceName' => ['type' => 'string'], + 'rewriteConfig' => ['$ref' => '#/components/schemas/RewriteConfig'], ], ], 'PolicyItem' => [ @@ -793,110 +423,47 @@ 'type' => [ 'type' => 'string', 'required' => true, - 'enum' => [ - 'Header', - 'Cookie', - 'Param', - ], - ], - 'key' => [ - 'type' => 'string', - 'required' => true, - ], - 'value' => [ - 'type' => 'string', - 'required' => true, + 'enum' => ['Header', 'Cookie', 'Param'], ], + 'key' => ['type' => 'string', 'required' => true], + 'value' => ['type' => 'string', 'required' => true], 'operator' => [ 'type' => 'string', 'required' => true, - 'enum' => [ - '>', - '<', - '>=', - '<=', - '=', - '!=', - 'in', - 'percent', - ], + 'enum' => ['>', '<', '>=', '<=', '=', '!=', 'in', 'percent'], ], ], ], 'PreFreeze' => [ 'type' => 'object', 'properties' => [ - 'handler' => [ - 'type' => 'string', - ], - 'timeout' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'handler' => ['type' => 'string'], + 'timeout' => ['type' => 'integer', 'format' => 'int32'], ], ], 'PreStop' => [ 'type' => 'object', 'properties' => [ - 'handler' => [ - 'type' => 'string', - ], - 'timeout' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - 'RdsTriggerConfig' => [ - 'type' => 'object', - 'properties' => [ - 'subscriptionObjects' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'retry' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'concurrency' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'eventFormat' => [ - 'type' => 'string', - ], + 'handler' => ['type' => 'string'], + 'timeout' => ['type' => 'integer', 'format' => 'int32'], ], ], 'Resource' => [ 'type' => 'object', 'properties' => [ - 'resourceArn' => [ - 'type' => 'string', - ], + 'resourceArn' => ['type' => 'string'], 'tags' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], ], ], 'RetryStrategy' => [ 'type' => 'object', 'properties' => [ - 'PushRetryStrategy' => [ - 'type' => 'string', - ], - 'MaximumEventAgeInSeconds' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'MaximumRetryAttempts' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'PushRetryStrategy' => ['type' => 'string'], + 'MaximumEventAgeInSeconds' => ['type' => 'integer', 'format' => 'int64'], + 'MaximumRetryAttempts' => ['type' => 'integer', 'format' => 'int64'], ], ], 'RewriteConfig' => [ @@ -907,12 +474,8 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'match' => [ - 'type' => 'string', - ], - 'replacement' => [ - 'type' => 'string', - ], + 'match' => ['type' => 'string'], + 'replacement' => ['type' => 'string'], ], ], ], @@ -921,12 +484,8 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'match' => [ - 'type' => 'string', - ], - 'replacement' => [ - 'type' => 'string', - ], + 'match' => ['type' => 'string'], + 'replacement' => ['type' => 'string'], ], ], ], @@ -935,12 +494,8 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'match' => [ - 'type' => 'string', - ], - 'replacement' => [ - 'type' => 'string', - ], + 'match' => ['type' => 'string'], + 'replacement' => ['type' => 'string'], ], ], ], @@ -951,686 +506,425 @@ 'properties' => [ 'routes' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/PathConfig', - ], + 'items' => ['$ref' => '#/components/schemas/PathConfig'], ], ], ], 'RoutePolicy' => [ 'type' => 'object', 'properties' => [ - 'condition' => [ - 'type' => 'string', - 'required' => true, - ], + 'condition' => ['type' => 'string', 'required' => true], 'policyItems' => [ 'type' => 'array', 'required' => true, - 'items' => [ - '$ref' => '#/components/schemas/PolicyItem', - 'required' => true, - ], + 'items' => ['$ref' => '#/components/schemas/PolicyItem', 'required' => true], ], ], ], 'RunOptions' => [ 'type' => 'object', 'properties' => [ - 'batchWindow' => [ - '$ref' => '#/components/schemas/BatchWindow', - ], - 'retryStrategy' => [ - '$ref' => '#/components/schemas/RetryStrategy', - ], - 'deadLetterQueue' => [ - '$ref' => '#/components/schemas/DeadLetterQueue', - ], - 'maximumTasks' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'errorsTolerance' => [ - 'type' => 'string', - ], - 'mode' => [ - 'type' => 'string', - ], + 'batchWindow' => ['$ref' => '#/components/schemas/BatchWindow'], + 'retryStrategy' => ['$ref' => '#/components/schemas/RetryStrategy'], + 'deadLetterQueue' => ['$ref' => '#/components/schemas/DeadLetterQueue'], + 'maximumTasks' => ['type' => 'integer', 'format' => 'int64'], + 'errorsTolerance' => ['type' => 'string'], + 'mode' => ['type' => 'string'], ], ], 'ScheduledActions' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'startTime' => [ - 'type' => 'string', - ], - 'endTime' => [ - 'type' => 'string', - ], - 'target' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'scheduleExpression' => [ - 'type' => 'string', - ], + 'name' => ['type' => 'string'], + 'startTime' => ['type' => 'string'], + 'endTime' => ['type' => 'string'], + 'target' => ['type' => 'integer', 'format' => 'int64'], + 'scheduleExpression' => ['type' => 'string'], ], ], 'SourceConfig' => [ 'type' => 'object', 'properties' => [ - 'logstore' => [ - 'type' => 'string', - ], + 'logstore' => ['type' => 'string'], ], ], 'SourceDTSParameters' => [ 'type' => 'object', 'properties' => [ - 'RegionId' => [ - 'type' => 'string', - 'required' => true, - ], - 'BrokerUrl' => [ - 'type' => 'string', - 'required' => true, - ], - 'Topic' => [ - 'type' => 'string', - 'required' => true, - ], - 'Sid' => [ - 'type' => 'string', - 'required' => true, - ], - 'Username' => [ - 'type' => 'string', - 'required' => true, - ], - 'Password' => [ - 'type' => 'string', - 'required' => true, - ], - 'InitCheckPoint' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'TaskId' => [ - 'type' => 'string', - 'required' => true, - ], + 'RegionId' => ['type' => 'string', 'required' => true], + 'BrokerUrl' => ['type' => 'string', 'required' => true], + 'Topic' => ['type' => 'string', 'required' => true], + 'Sid' => ['type' => 'string', 'required' => true], + 'Username' => ['type' => 'string', 'required' => true], + 'Password' => ['type' => 'string', 'required' => true], + 'InitCheckPoint' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'TaskId' => ['type' => 'string', 'required' => true], ], ], 'SourceKafkaParameters' => [ 'type' => 'object', 'properties' => [ - 'RegionId' => [ - 'type' => 'string', - ], - 'InstanceId' => [ - 'type' => 'string', - 'required' => true, - ], - 'Topic' => [ - 'type' => 'string', - 'required' => true, - ], - 'ConsumerGroup' => [ - 'type' => 'string', - 'required' => true, - ], - 'OffsetReset' => [ - 'type' => 'string', - ], - 'Network' => [ - 'type' => 'string', - ], - 'VpcId' => [ - 'type' => 'string', - ], - 'VSwitchIds' => [ - 'type' => 'string', - ], - 'SecurityGroupId' => [ - 'type' => 'string', - ], + 'RegionId' => ['type' => 'string'], + 'InstanceId' => ['type' => 'string', 'required' => true], + 'Topic' => ['type' => 'string', 'required' => true], + 'ConsumerGroup' => ['type' => 'string', 'required' => true], + 'OffsetReset' => ['type' => 'string'], + 'Network' => ['type' => 'string'], + 'VpcId' => ['type' => 'string'], + 'VSwitchIds' => ['type' => 'string'], + 'SecurityGroupId' => ['type' => 'string'], ], ], 'SourceMNSParameters' => [ 'type' => 'object', 'properties' => [ - 'RegionId' => [ - 'type' => 'string', - ], - 'QueueName' => [ - 'type' => 'string', - 'required' => true, - ], - 'IsBase64Decode' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'RegionId' => ['type' => 'string'], + 'QueueName' => ['type' => 'string', 'required' => true], + 'IsBase64Decode' => ['type' => 'boolean', 'required' => false], ], ], 'SourceMQTTParameters' => [ 'type' => 'object', 'properties' => [ - 'RegionId' => [ - 'type' => 'string', - ], - 'InstanceId' => [ - 'type' => 'string', - 'required' => true, - ], - 'Topic' => [ - 'type' => 'string', - 'required' => true, - ], + 'RegionId' => ['type' => 'string'], + 'InstanceId' => ['type' => 'string', 'required' => true], + 'Topic' => ['type' => 'string', 'required' => true], ], ], 'SourceRabbitMQParameters' => [ 'type' => 'object', 'properties' => [ - 'RegionId' => [ - 'type' => 'string', - ], - 'InstanceId' => [ - 'type' => 'string', - 'required' => true, - ], - 'VirtualHostName' => [ - 'type' => 'string', - 'required' => true, - ], - 'QueueName' => [ - 'type' => 'string', - 'required' => true, - ], + 'RegionId' => ['type' => 'string'], + 'InstanceId' => ['type' => 'string', 'required' => true], + 'VirtualHostName' => ['type' => 'string', 'required' => true], + 'QueueName' => ['type' => 'string', 'required' => true], ], ], 'SourceRocketMQParameters' => [ 'type' => 'object', 'properties' => [ - 'RegionId' => [ - 'type' => 'string', - ], - 'InstanceId' => [ - 'type' => 'string', - 'required' => true, - ], - 'Topic' => [ - 'type' => 'string', - 'required' => true, - ], - 'Tag' => [ - 'type' => 'string', - ], - 'Offset' => [ - 'type' => 'string', - ], - 'Timestamp' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'GroupID' => [ - 'type' => 'string', - 'required' => true, - ], - 'InstanceType' => [ - 'type' => 'string', - ], - 'InstanceEndpoint' => [ - 'type' => 'string', - ], - 'InstanceUsername' => [ - 'type' => 'string', - ], - 'InstancePassword' => [ - 'type' => 'string', - ], - 'FilterType' => [ - 'type' => 'string', - ], - 'FilterSql' => [ - 'type' => 'string', - ], - 'AuthType' => [ - 'type' => 'string', - ], - 'InstanceVpcId' => [ - 'type' => 'string', - ], - 'InstanceVSwitchIds' => [ - 'type' => 'string', - ], - 'InstanceSecurityGroupId' => [ - 'type' => 'string', - ], - 'InstanceNetwork' => [ - 'type' => 'string', - ], + 'RegionId' => ['type' => 'string'], + 'InstanceId' => ['type' => 'string', 'required' => true], + 'Topic' => ['type' => 'string', 'required' => true], + 'Tag' => ['type' => 'string'], + 'Offset' => ['type' => 'string'], + 'Timestamp' => ['type' => 'integer', 'format' => 'int64'], + 'GroupID' => ['type' => 'string', 'required' => true], + 'InstanceType' => ['type' => 'string'], + 'InstanceEndpoint' => ['type' => 'string'], + 'InstanceUsername' => ['type' => 'string'], + 'InstancePassword' => ['type' => 'string'], + 'FilterType' => ['type' => 'string'], + 'FilterSql' => ['type' => 'string'], + 'AuthType' => ['type' => 'string'], + 'InstanceVpcId' => ['type' => 'string'], + 'InstanceVSwitchIds' => ['type' => 'string'], + 'InstanceSecurityGroupId' => ['type' => 'string'], + 'InstanceNetwork' => ['type' => 'string'], ], ], 'StatefulAsyncInvocation' => [ 'type' => 'object', 'properties' => [ - 'functionName' => [ - 'type' => 'string', - ], - 'serviceName' => [ - 'type' => 'string', - ], - 'qualifier' => [ - 'type' => 'string', - ], - 'invocationId' => [ - 'type' => 'string', - ], - 'status' => [ - 'type' => 'string', - ], - 'startedTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'endTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'destinationStatus' => [ - 'type' => 'string', - ], - 'invocationErrorMessage' => [ - 'type' => 'string', - ], - 'invocationPayload' => [ - 'type' => 'string', - ], - 'alreadyRetriedTimes' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'requestId' => [ - 'type' => 'string', - ], - 'instanceId' => [ - 'type' => 'string', - ], + 'functionName' => ['type' => 'string'], + 'serviceName' => ['type' => 'string'], + 'qualifier' => ['type' => 'string'], + 'invocationId' => ['type' => 'string'], + 'status' => ['type' => 'string'], + 'startedTime' => ['type' => 'integer', 'format' => 'int64'], + 'endTime' => ['type' => 'integer', 'format' => 'int64'], + 'destinationStatus' => ['type' => 'string'], + 'invocationErrorMessage' => ['type' => 'string'], + 'invocationPayload' => ['type' => 'string'], + 'alreadyRetriedTimes' => ['type' => 'integer', 'format' => 'int64'], + 'requestId' => ['type' => 'string'], + 'instanceId' => ['type' => 'string'], 'events' => [ 'type' => 'array', 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/StatefulAsyncInvocationEvent', - ], - ], - 'durationMs' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'returnPayload' => [ - 'type' => 'string', + 'items' => ['$ref' => '#/components/schemas/StatefulAsyncInvocationEvent'], ], + 'durationMs' => ['type' => 'integer', 'format' => 'int64'], + 'returnPayload' => ['type' => 'string'], ], ], 'StatefulAsyncInvocationEvent' => [ 'type' => 'object', 'properties' => [ - 'eventId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'status' => [ - 'type' => 'string', - ], - 'timestamp' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'eventDetail' => [ - 'type' => 'string', - ], + 'eventId' => ['type' => 'integer', 'format' => 'int64'], + 'status' => ['type' => 'string'], + 'timestamp' => ['type' => 'integer', 'format' => 'int64'], + 'eventDetail' => ['type' => 'string'], ], ], - 'TLSConfig' => [ + 'TargetTrackingPolicies' => [ 'type' => 'object', 'properties' => [ - 'minVersion' => [ - 'type' => 'string', - 'required' => true, - ], - 'cipherSuites' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - ], - ], - 'maxVersion' => [ - 'type' => 'string', - ], + 'name' => ['type' => 'string'], + 'startTime' => ['type' => 'string'], + 'endTime' => ['type' => 'string'], + 'metricType' => ['type' => 'string'], + 'metricTarget' => ['type' => 'number', 'format' => 'double'], + 'minCapacity' => ['type' => 'integer', 'format' => 'int64'], + 'maxCapacity' => ['type' => 'integer', 'format' => 'int64'], ], ], - 'TargetTrackingPolicies' => [ + 'TimeTriggerConfig' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'startTime' => [ - 'type' => 'string', - ], - 'endTime' => [ - 'type' => 'string', - ], - 'metricType' => [ - 'type' => 'string', - ], - 'metricTarget' => [ - 'type' => 'number', - 'format' => 'double', - ], - 'minCapacity' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'maxCapacity' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'payload' => ['type' => 'string'], + 'cronExpression' => ['type' => 'string'], + 'enable' => ['type' => 'boolean'], ], ], - 'TimeTriggerConfig' => [ + 'TLSConfig' => [ 'type' => 'object', 'properties' => [ - 'payload' => [ - 'type' => 'string', - ], - 'cronExpression' => [ - 'type' => 'string', - ], - 'enable' => [ - 'type' => 'boolean', + 'minVersion' => ['type' => 'string', 'required' => true], + 'cipherSuites' => [ + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string'], ], + 'maxVersion' => ['type' => 'string'], ], ], 'TracingConfig' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'type' => 'string', - 'required' => true, - ], + 'type' => ['type' => 'string', 'required' => true], 'params' => [ 'type' => 'object', 'required' => true, - 'additionalProperties' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'Trigger' => [ - 'type' => 'object', - 'properties' => [ - 'triggerName' => [ - 'type' => 'string', - ], - 'invocationRole' => [ - 'type' => 'string', - ], - 'qualifier' => [ - 'type' => 'string', - ], - 'sourceArn' => [ - 'type' => 'string', - ], - 'targetArn' => [ - 'type' => 'string', - ], - 'triggerConfig' => [ - 'type' => 'string', - ], - 'triggerType' => [ - 'type' => 'string', - ], - 'createdTime' => [ - 'type' => 'string', - ], - 'lastModifiedTime' => [ - 'type' => 'string', - ], - 'triggerId' => [ - 'type' => 'string', - ], - 'domainName' => [ - 'type' => 'string', - ], - 'urlInternet' => [ - 'type' => 'string', - ], - 'urlIntranet' => [ - 'type' => 'string', - ], - 'status' => [ - 'type' => 'string', + 'additionalProperties' => ['type' => 'string', 'required' => true], ], ], ], 'VPCConfig' => [ 'type' => 'object', 'properties' => [ - 'securityGroupId' => [ - 'type' => 'string', - ], + 'securityGroupId' => ['type' => 'string'], 'vSwitchIds' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'vpcId' => [ - 'type' => 'string', - ], - 'role' => [ - 'type' => 'string', - ], - ], - ], - 'VendorConfig' => [ - 'type' => 'object', - 'properties' => [ - 'meteringConfig' => [ - '$ref' => '#/components/schemas/MeteringConfig', + 'items' => ['type' => 'string'], ], + 'vpcId' => ['type' => 'string'], + 'role' => ['type' => 'string'], ], ], 'WAFConfig' => [ 'type' => 'object', 'properties' => [ - 'enableWAF' => [ - 'type' => 'boolean', - ], + 'enableWAF' => ['type' => 'boolean'], ], ], ], ], 'apis' => [ - 'ListReservedCapacities' => [ - 'path' => '/2021-04-06/reserved-capacities', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateAlias' => [ + 'path' => '/2021-04-06/services/{serviceName}/aliases', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'serviceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'limit', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'additionalVersionWeight' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'number', 'format' => 'float'], + ], + 'aliasName' => ['type' => 'string', 'required' => true], + 'description' => ['type' => 'string', 'required' => false], + 'versionId' => ['type' => 'string', 'required' => true], + 'resolvePolicy' => ['type' => 'string', 'required' => false], + 'routePolicy' => ['$ref' => '#/components/schemas/RoutePolicy', 'required' => false], + ], ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DescribeRegions' => [ - 'path' => '/2021-04-06/regions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateCustomDomain' => [ + 'path' => '/2021-04-06/custom-domains', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'AcceptLanguage', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, - 'enum' => [ - 'zh-CN', - 'en-US', - 'ja', + 'properties' => [ + 'domainName' => ['type' => 'string', 'required' => true], + 'protocol' => ['type' => 'string', 'required' => false], + 'routeConfig' => ['$ref' => '#/components/schemas/RouteConfig', 'required' => false], + 'certConfig' => ['$ref' => '#/components/schemas/CertConfig', 'required' => false], + 'tlsConfig' => ['$ref' => '#/components/schemas/TLSConfig', 'required' => false], + 'wafConfig' => ['$ref' => '#/components/schemas/WAFConfig', 'required' => false], ], ], ], + [ + 'name' => 'X-Fc-Account-Id', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'X-Fc-Date', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'X-Fc-Trace-Id', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'GetAccountSettings' => [ - 'path' => '/2021-04-06/account-settings', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateFunction' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ + 'name' => 'serviceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'function', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'code' => ['$ref' => '#/components/schemas/Code', 'required' => false], + 'customContainerConfig' => ['$ref' => '#/components/schemas/CustomContainerConfig', 'required' => false], + 'layers' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'description' => ['type' => 'string', 'required' => false], + 'functionName' => ['type' => 'string', 'required' => true], + 'handler' => ['type' => 'string', 'required' => true], + 'initializationTimeout' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'initializer' => ['type' => 'string', 'required' => false], + 'memorySize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'runtime' => ['type' => 'string', 'required' => true], + 'timeout' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'caPort' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'environmentVariables' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'instanceConcurrency' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'instanceSoftConcurrency' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'instanceType' => ['type' => 'string', 'required' => false], + 'customRuntimeConfig' => ['$ref' => '#/components/schemas/CustomRuntimeConfig', 'required' => false], + 'instanceLifecycleConfig' => ['$ref' => '#/components/schemas/InstanceLifecycleConfig', 'required' => false], + 'customDNS' => ['$ref' => '#/components/schemas/CustomDNS', 'required' => false], + 'customHealthCheckConfig' => ['$ref' => '#/components/schemas/CustomHealthCheckConfig', 'required' => false], + 'cpu' => ['type' => 'number', 'format' => 'float', 'required' => false], + 'diskSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'gpuMemorySize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], ], ], [ + 'name' => 'X-Fc-Code-Checksum', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateService' => [ - 'path' => '/2021-04-06/services', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateLayerVersion' => [ + 'path' => '/2021-04-06/layers/{layerName}/versions', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ + 'name' => 'layerName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ 'name' => 'body', 'in' => 'body', 'style' => 'json', @@ -1638,170 +932,105 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'internetAccess' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'logConfig' => [ - '$ref' => '#/components/schemas/LogConfig', - 'required' => false, - ], - 'nasConfig' => [ - '$ref' => '#/components/schemas/NASConfig', - 'required' => false, - ], - 'role' => [ - 'type' => 'string', - 'required' => false, - ], - 'serviceName' => [ - 'type' => 'string', - 'required' => true, - ], - 'vpcConfig' => [ - '$ref' => '#/components/schemas/VPCConfig', - 'required' => false, - ], - 'tracingConfig' => [ - '$ref' => '#/components/schemas/TracingConfig', - 'required' => false, - ], - 'ossMountConfig' => [ - '$ref' => '#/components/schemas/OSSMountConfig', + 'description' => ['type' => 'string', 'required' => false], + 'compatibleRuntime' => [ + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], + 'Code' => ['$ref' => '#/components/schemas/Code', 'required' => true], ], ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteService' => [ - 'path' => '/2021-04-06/services/{serviceName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateService' => [ + 'path' => '/2021-04-06/services', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'If-Match', - 'in' => 'header', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, - ], - ], - [ - 'name' => 'serviceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, + 'properties' => [ + 'description' => ['type' => 'string', 'required' => false], + 'internetAccess' => ['type' => 'boolean', 'required' => false], + 'logConfig' => ['$ref' => '#/components/schemas/LogConfig', 'required' => false], + 'nasConfig' => ['$ref' => '#/components/schemas/NASConfig', 'required' => false], + 'role' => ['type' => 'string', 'required' => false], + 'serviceName' => ['type' => 'string', 'required' => true], + 'vpcConfig' => ['$ref' => '#/components/schemas/VPCConfig', 'required' => false], + 'tracingConfig' => ['$ref' => '#/components/schemas/TracingConfig', 'required' => false], + 'ossMountConfig' => ['$ref' => '#/components/schemas/OSSMountConfig', 'required' => false], + ], ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateService' => [ - 'path' => '/2021-04-06/services/{serviceName}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateTrigger' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/triggers', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'If-Match', - 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'serviceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'serviceName', + 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -1811,4565 +1040,2573 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'internetAccess' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'logConfig' => [ - '$ref' => '#/components/schemas/LogConfig', - 'required' => false, - ], - 'nasConfig' => [ - '$ref' => '#/components/schemas/NASConfig', - 'required' => false, - ], - 'role' => [ - 'type' => 'string', - 'required' => false, - ], - 'vpcConfig' => [ - '$ref' => '#/components/schemas/VPCConfig', - 'required' => false, - ], - 'tracingConfig' => [ - '$ref' => '#/components/schemas/TracingConfig', - 'required' => false, - ], - 'ossMountConfig' => [ - '$ref' => '#/components/schemas/OSSMountConfig', - 'required' => false, - ], + 'invocationRole' => ['type' => 'string', 'required' => false], + 'qualifier' => ['type' => 'string', 'required' => false], + 'sourceArn' => ['type' => 'string', 'required' => false], + 'triggerConfig' => ['type' => 'string', 'required' => true], + 'triggerName' => ['type' => 'string', 'required' => true], + 'triggerType' => ['type' => 'string', 'required' => true], + 'description' => ['type' => 'string', 'required' => false], ], ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListServices' => [ - 'path' => '/2021-04-06/services', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateVpcBinding' => [ + 'path' => '/2021-04-06/services/{serviceName}/bindings', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => [], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'limit', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'prefix', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'serviceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'startKey', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'vpcId' => ['type' => 'string', 'required' => true], + ], ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetService' => [ - 'path' => '/2021-04-06/services/{serviceName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteAlias' => [ + 'path' => '/2021-04-06/services/{serviceName}/aliases/{aliasName}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'qualifier', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'aliasName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'If-Match', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteServiceVersion' => [ - 'path' => '/2021-04-06/services/{serviceName}/versions/{versionId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteCustomDomain' => [ + 'path' => '/2021-04-06/custom-domains/{domainName}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'serviceName', + 'name' => 'domainName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'versionId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'PublishServiceVersion' => [ - 'path' => '/2021-04-06/services/{serviceName}/versions', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteFunction' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'serviceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'If-Match', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'serviceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'If-Match', - 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'functionName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListServiceVersions' => [ - 'path' => '/2021-04-06/services/{serviceName}/versions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteFunctionAsyncInvokeConfig' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/async-invoke-config', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'limit', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'functionName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'startKey', + 'name' => 'qualifier', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'direction', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateTrigger' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/triggers', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteFunctionOnDemandConfig' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/on-demand-config', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'invocationRole' => [ - 'type' => 'string', - 'required' => false, - ], - 'qualifier' => [ - 'type' => 'string', - 'required' => false, - ], - 'sourceArn' => [ - 'type' => 'string', - 'required' => false, - ], - 'triggerConfig' => [ - 'type' => 'string', - 'required' => true, - ], - 'triggerName' => [ - 'type' => 'string', - 'required' => true, - ], - 'triggerType' => [ - 'type' => 'string', - 'required' => true, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'qualifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'If-Match', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteTrigger' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/triggers/{triggerName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteLayerVersion' => [ + 'path' => '/2021-04-06/layers/{layerName}/versions/{version}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'If-Match', - 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'serviceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'functionName', + 'name' => 'layerName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'triggerName', + 'name' => 'version', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateTrigger' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/triggers/{triggerName}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteService' => [ + 'path' => '/2021-04-06/services/{serviceName}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'If-Match', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'functionName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'triggerName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'invocationRole' => [ - 'type' => 'string', - 'required' => false, - ], - 'qualifier' => [ - 'type' => 'string', - 'required' => false, - ], - 'triggerConfig' => [ - 'type' => 'string', - 'required' => false, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetTrigger' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/triggers/{triggerName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteServiceVersion' => [ + 'path' => '/2021-04-06/services/{serviceName}/versions/{versionId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'functionName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'triggerName', + 'name' => 'versionId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListTriggers' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/triggers', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteTrigger' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/triggers/{triggerName}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => [], 'deprecated' => false, 'parameters' => [ [ + 'name' => 'If-Match', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'limit', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'prefix', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'startKey', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'triggerName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateCustomDomain' => [ - 'path' => '/2021-04-06/custom-domains', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteVpcBinding' => [ + 'path' => '/2021-04-06/services/{serviceName}/bindings/{vpcId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => [], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'domainName' => [ - 'type' => 'string', - 'required' => true, - ], - 'protocol' => [ - 'type' => 'string', - 'required' => false, - ], - 'routeConfig' => [ - '$ref' => '#/components/schemas/RouteConfig', - 'required' => false, - ], - 'certConfig' => [ - '$ref' => '#/components/schemas/CertConfig', - 'required' => false, - ], - 'tlsConfig' => [ - '$ref' => '#/components/schemas/TLSConfig', - 'required' => false, - ], - 'wafConfig' => [ - '$ref' => '#/components/schemas/WAFConfig', - 'required' => false, - ], - ], - ], + 'name' => 'serviceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'vpcId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteCustomDomain' => [ - 'path' => '/2021-04-06/custom-domains/{domainName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeregisterEventSource' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/event-sources/{sourceArn}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'domainName', + 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'functionName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'sourceArn', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateCustomDomain' => [ - 'path' => '/2021-04-06/custom-domains/{domainName}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeRegions' => [ + 'path' => '/2021-04-06/regions', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'domainName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'protocol' => [ - 'type' => 'string', - 'required' => false, - ], - 'routeConfig' => [ - '$ref' => '#/components/schemas/RouteConfig', - 'required' => false, - ], - 'certConfig' => [ - '$ref' => '#/components/schemas/CertConfig', - 'required' => false, - ], - 'tlsConfig' => [ - '$ref' => '#/components/schemas/TLSConfig', - 'required' => false, - ], - 'wafConfig' => [ - '$ref' => '#/components/schemas/WAFConfig', - 'required' => false, - ], - ], - ], - ], - [ - 'name' => 'X-Fc-Account-Id', - 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'X-Fc-Date', - 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'X-Fc-Trace-Id', - 'in' => 'header', + 'name' => 'AcceptLanguage', + 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => ['zh-CN', 'en-US', 'ja'], ], ], ], ], - 'GetCustomDomain' => [ - 'path' => '/2021-04-06/custom-domains/{domainName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetAccountSettings' => [ + 'path' => '/2021-04-06/account-settings', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'domainName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListCustomDomains' => [ - 'path' => '/2021-04-06/custom-domains', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetAlias' => [ + 'path' => '/2021-04-06/services/{serviceName}/aliases/{aliasName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'prefix', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'startKey', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'serviceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'limit', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'aliasName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateAlias' => [ - 'path' => '/2021-04-06/services/{serviceName}/aliases', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetCustomDomain' => [ + 'path' => '/2021-04-06/custom-domains/{domainName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'serviceName', + 'name' => 'domainName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'additionalVersionWeight' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'number', - 'format' => 'float', - ], - ], - 'aliasName' => [ - 'type' => 'string', - 'required' => true, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'versionId' => [ - 'type' => 'string', - 'required' => true, - ], - 'resolvePolicy' => [ - 'type' => 'string', - 'required' => false, - ], - 'routePolicy' => [ - '$ref' => '#/components/schemas/RoutePolicy', - 'required' => false, - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteAlias' => [ - 'path' => '/2021-04-06/services/{serviceName}/aliases/{aliasName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetFunction' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'aliasName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'qualifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'If-Match', - 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'functionName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateAlias' => [ - 'path' => '/2021-04-06/services/{serviceName}/aliases/{aliasName}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetFunctionAsyncInvokeConfig' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/async-invoke-config', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'aliasName', + 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'additionalVersionWeight' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'number', - 'format' => 'float', - ], - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'versionId' => [ - 'type' => 'string', - 'required' => false, - ], - 'resolvePolicy' => [ - 'type' => 'string', - 'required' => false, - ], - 'routePolicy' => [ - '$ref' => '#/components/schemas/RoutePolicy', - 'required' => false, - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'If-Match', - 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'qualifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetAlias' => [ - 'path' => '/2021-04-06/services/{serviceName}/aliases/{aliasName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetFunctionCode' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/code', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'aliasName', + 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListAliases' => [ - 'path' => '/2021-04-06/services/{serviceName}/aliases', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetFunctionOnDemandConfig' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/on-demand-config', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'limit', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'functionName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'prefix', + 'name' => 'qualifier', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'startKey', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateFunction' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetLayerVersion' => [ + 'path' => '/2021-04-06/layers/{layerName}/versions/{version}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'serviceName', + 'name' => 'layerName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'X-Fc-Account-Id', - 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'function', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'code' => [ - '$ref' => '#/components/schemas/Code', - 'required' => false, - ], - 'customContainerConfig' => [ - '$ref' => '#/components/schemas/CustomContainerConfig', - 'required' => false, - ], - 'layers' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'functionName' => [ - 'type' => 'string', - 'required' => true, - ], - 'handler' => [ - 'type' => 'string', - 'required' => true, - ], - 'initializationTimeout' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'initializer' => [ - 'type' => 'string', - 'required' => false, - ], - 'memorySize' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'runtime' => [ - 'type' => 'string', - 'required' => true, - ], - 'timeout' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'caPort' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'environmentVariables' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'instanceConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'instanceSoftConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'instanceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'customRuntimeConfig' => [ - '$ref' => '#/components/schemas/CustomRuntimeConfig', - 'required' => false, - ], - 'instanceLifecycleConfig' => [ - '$ref' => '#/components/schemas/InstanceLifecycleConfig', - 'required' => false, - ], - 'customDNS' => [ - '$ref' => '#/components/schemas/CustomDNS', - 'required' => false, - ], - 'customHealthCheckConfig' => [ - '$ref' => '#/components/schemas/CustomHealthCheckConfig', - 'required' => false, - ], - 'cpu' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], - 'diskSize' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'gpuMemorySize' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], + 'name' => 'version', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'X-Fc-Code-Checksum', + 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteFunction' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetProvisionConfig' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/provision-config', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'If-Match', - 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateFunction' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetResourceTags' => [ + 'path' => '/2021-04-06/tag', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'If-Match', - 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'serviceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'functionName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'functionUpdateFields', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'code' => [ - '$ref' => '#/components/schemas/Code', - 'required' => false, - ], - 'customContainerConfig' => [ - '$ref' => '#/components/schemas/CustomContainerConfig', - 'required' => false, - ], - 'layers' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'environmentVariables' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'handler' => [ - 'type' => 'string', - 'required' => false, - ], - 'memorySize' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'runtime' => [ - 'type' => 'string', - 'required' => false, - ], - 'timeout' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'initializationTimeout' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'initializer' => [ - 'type' => 'string', - 'required' => false, - ], - 'caPort' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'InstanceConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'instanceSoftConcurrency' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'instanceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'instanceLifecycleConfig' => [ - '$ref' => '#/components/schemas/InstanceLifecycleConfig', - 'required' => false, - ], - 'customDNS' => [ - '$ref' => '#/components/schemas/CustomDNS', - 'required' => false, - ], - 'customRuntimeConfig' => [ - '$ref' => '#/components/schemas/CustomRuntimeConfig', - 'required' => false, - ], - 'customHealthCheckConfig' => [ - '$ref' => '#/components/schemas/CustomHealthCheckConfig', - 'required' => false, - ], - 'cpu' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], - 'diskSize' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'gpuMemorySize' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], + 'name' => 'resourceArn', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'X-Fc-Code-Checksum', - 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetFunction' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetService' => [ + 'path' => '/2021-04-06/services/{serviceName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'qualifier', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'functionName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetFunctionCode' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/code', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetStatefulAsyncInvocation' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/stateful-async-invocations/{invocationId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'invocationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'qualifier', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'X-Fc-Code-Checksum', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'X-Fc-Log-Type', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'X-Fc-Invocation-Type', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListFunctions' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetTrigger' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/triggers/{triggerName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'qualifier', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'limit', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'prefix', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'functionName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'startKey', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'triggerName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'InvokeFunction' => [ 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/invocations', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'X-Fc-Invocation-Type', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Log-Type', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'qualifier', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'type' => 'string', - 'format' => 'byte', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'format' => 'byte', 'required' => false], ], [ 'name' => 'X-Fc-Stateful-Async-Invocation-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Stateful-Async-Invocation-Enable', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'PutFunctionAsyncInvokeConfig' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/async-invoke-config', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListAliases' => [ + 'path' => '/2021-04-06/services/{serviceName}/aliases', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'functionName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'limit', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'qualifier', + 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'destinationConfig' => [ - '$ref' => '#/components/schemas/DestinationConfig', - 'required' => false, - ], - 'maxAsyncEventAgeInSeconds' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'maxAsyncRetryAttempts' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'statefulInvocation' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], + 'name' => 'prefix', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'startKey', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteFunctionAsyncInvokeConfig' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/async-invoke-config', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListCustomDomains' => [ + 'path' => '/2021-04-06/custom-domains', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'serviceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'prefix', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'functionName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'startKey', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'qualifier', + 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'limit', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetFunctionAsyncInvokeConfig' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/async-invoke-config', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListEventSources' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/event-sources', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'qualifier', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListFunctionAsyncInvokeConfigs' => [ 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/async-invoke-configs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'limit', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Code-Checksum', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Log-Type', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Invocation-Type', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'AccountID', - 'in' => 'host', - 'schema' => [ - 'type' => 'string', - 'deprecated' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteFunctionOnDemandConfig' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/on-demand-config', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListFunctions' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'functionName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'qualifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'qualifier', + 'name' => 'limit', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'If-Match', - 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'prefix', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'startKey', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetFunctionOnDemandConfig' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/on-demand-config', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListInstances' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/instances', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'qualifier', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'instanceIds', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + 'minItems' => 1, + 'maxItems' => 1000, ], ], [ + 'name' => 'limit', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListOnDemandConfigs' => [ - 'path' => '/2021-04-06/on-demand-configs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListLayerVersions' => [ + 'path' => '/2021-04-06/layers/{layerName}/versions', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'prefix', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'startKey', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'layerName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'nextToken', + 'name' => 'startVersion', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'limit', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'PutFunctionOnDemandConfig' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/on-demand-config', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListLayers' => [ + 'path' => '/2021-04-06/layers', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'serviceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'prefix', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'functionName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'startKey', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'qualifier', + 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'maximumInstanceCount' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], + 'name' => 'limit', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'If-Match', - 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'public', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'official', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetProvisionConfig' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/provision-config', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListOnDemandConfigs' => [ + 'path' => '/2021-04-06/on-demand-configs', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'serviceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'prefix', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'qualifier', + 'name' => 'startKey', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'functionName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'limit', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListProvisionConfigs' => [ 'path' => '/2021-04-06/provision-configs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'limit', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'serviceName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'qualifier', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'PutProvisionConfig' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/provision-config', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListReservedCapacities' => [ + 'path' => '/2021-04-06/reserved-capacities', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'serviceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'qualifier', + 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'functionName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'target' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - 'scheduledActions' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/ScheduledActions', - 'required' => false, - ], - ], - 'targetTrackingPolicies' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/TargetTrackingPolicies', - 'required' => false, - ], - ], - 'alwaysAllocateCPU' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], + 'name' => 'limit', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'StopStatefulAsyncInvocation' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/stateful-async-invocations/{invocationId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListServiceVersions' => [ + 'path' => '/2021-04-06/services/{serviceName}/versions', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'functionName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'limit', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'invocationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'qualifier', + 'name' => 'startKey', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'direction', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListStatefulAsyncInvocationFunctions' => [ - 'path' => '/2021-04-06/stateful-async-invocation-functions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListServices' => [ + 'path' => '/2021-04-06/services', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'limit', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'maximum' => '100', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'prefix', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'startKey', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetStatefulAsyncInvocation' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/stateful-async-invocations/{invocationId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListStatefulAsyncInvocationFunctions' => [ + 'path' => '/2021-04-06/stateful-async-invocation-functions', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'serviceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'functionName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'invocationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'limit', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '100'], ], [ - 'name' => 'qualifier', + 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'X-Fc-Code-Checksum', - 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'X-Fc-Log-Type', - 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'X-Fc-Invocation-Type', - 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListStatefulAsyncInvocations' => [ 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/stateful-async-invocations', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'qualifier', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'status', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'limit', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'startedTimeBegin', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'startedTimeEnd', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'sortOrderByTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'invocationIdPrefix', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'includePayload', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Code-Checksum', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Log-Type', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Invocation-Type', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateLayerVersion' => [ - 'path' => '/2021-04-06/layers/{layerName}/versions', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListTaggedResources' => [ + 'path' => '/2021-04-06/tags', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'layerName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'compatibleRuntime' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'Code' => [ - '$ref' => '#/components/schemas/Code', - 'required' => true, - ], - ], - ], + 'name' => 'limit', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteLayerVersion' => [ - 'path' => '/2021-04-06/layers/{layerName}/versions/{version}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListTriggers' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/triggers', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'layerName', + 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'version', + 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'limit', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'prefix', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'startKey', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListLayers' => [ - 'path' => '/2021-04-06/layers', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListVpcBindings' => [ + 'path' => '/2021-04-06/services/{serviceName}/bindings', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'prefix', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'serviceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'startKey', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'X-Fc-Account-Id', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'X-Fc-Date', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'limit', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'X-Fc-Trace-Id', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'PublishServiceVersion' => [ + 'path' => '/2021-04-06/services/{serviceName}/versions', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'public', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'serviceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'official', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'boolean', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'description' => ['type' => 'string', 'required' => false], + ], ], ], [ + 'name' => 'If-Match', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListLayerVersions' => [ - 'path' => '/2021-04-06/layers/{layerName}/versions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PutFunctionAsyncInvokeConfig' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/async-invoke-config', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'layerName', + 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'startVersion', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'functionName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'limit', + 'name' => 'qualifier', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'destinationConfig' => ['$ref' => '#/components/schemas/DestinationConfig', 'required' => false], + 'maxAsyncEventAgeInSeconds' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'maxAsyncRetryAttempts' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'statefulInvocation' => ['type' => 'boolean', 'required' => false], + ], ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetLayerVersion' => [ - 'path' => '/2021-04-06/layers/{layerName}/versions/{version}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PutFunctionOnDemandConfig' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/on-demand-config', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'layerName', + 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'version', + 'name' => 'functionName', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'maximumInstanceCount' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], ], ], [ + 'name' => 'If-Match', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'PutLayerACL' => [ 'path' => '/2021-04-06/layers/{layerName}/acl', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'layerName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'public', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListEventSources' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/event-sources', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PutProvisionConfig' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/provision-config', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'qualifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'qualifier', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'target' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + 'scheduledActions' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/ScheduledActions', 'required' => false], + ], + 'targetTrackingPolicies' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/TargetTrackingPolicies', 'required' => false], + ], + 'alwaysAllocateCPU' => ['type' => 'boolean', 'required' => false], + ], ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeregisterEventSource' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/event-sources/{sourceArn}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RegisterEventSource' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/event-sources', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'qualifier', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'sourceArn', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'sourceArn' => ['type' => 'string', 'required' => true], + ], ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'RegisterEventSource' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/event-sources', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'StopStatefulAsyncInvocation' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/stateful-async-invocations/{invocationId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'qualifier', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'invocationId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'sourceArn' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'name' => 'qualifier', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateVpcBinding' => [ - 'path' => '/2021-04-06/services/{serviceName}/bindings', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'TagResource' => [ + 'path' => '/2021-04-06/tag', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'serviceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ 'name' => 'body', 'in' => 'body', 'style' => 'json', @@ -6377,9 +3614,11 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'vpcId' => [ - 'type' => 'string', + 'resourceArn' => ['type' => 'string', 'required' => true], + 'tags' => [ + 'type' => 'object', 'required' => true, + 'additionalProperties' => ['type' => 'string'], ], ], ], @@ -6387,361 +3626,299 @@ [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteVpcBinding' => [ - 'path' => '/2021-04-06/services/{serviceName}/bindings/{vpcId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UntagResource' => [ + 'path' => '/2021-04-06/tag', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'serviceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'vpcId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'resourceArn' => ['type' => 'string', 'required' => true], + 'tagKeys' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'all' => ['type' => 'boolean', 'required' => false], + ], ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListVpcBindings' => [ - 'path' => '/2021-04-06/services/{serviceName}/bindings', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateAlias' => [ + 'path' => '/2021-04-06/services/{serviceName}/aliases/{aliasName}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'X-Fc-Account-Id', - 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'aliasName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'X-Fc-Date', - 'in' => 'header', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'additionalVersionWeight' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'number', 'format' => 'float'], + ], + 'description' => ['type' => 'string', 'required' => false], + 'versionId' => ['type' => 'string', 'required' => false], + 'resolvePolicy' => ['type' => 'string', 'required' => false], + 'routePolicy' => ['$ref' => '#/components/schemas/RoutePolicy', 'required' => false], + ], ], ], [ - 'name' => 'X-Fc-Trace-Id', + 'name' => 'If-Match', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'GetResourceTags' => [ - 'path' => '/2021-04-06/tag', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'resourceArn', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListTaggedResources' => [ - 'path' => '/2021-04-06/tags', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateCustomDomain' => [ + 'path' => '/2021-04-06/custom-domains/{domainName}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'domainName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'limit', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'protocol' => ['type' => 'string', 'required' => false], + 'routeConfig' => ['$ref' => '#/components/schemas/RouteConfig', 'required' => false], + 'certConfig' => ['$ref' => '#/components/schemas/CertConfig', 'required' => false], + 'tlsConfig' => ['$ref' => '#/components/schemas/TLSConfig', 'required' => false], + 'wafConfig' => ['$ref' => '#/components/schemas/WAFConfig', 'required' => false], + ], ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'TagResource' => [ - 'path' => '/2021-04-06/tag', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateFunction' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', + 'name' => 'If-Match', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'serviceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'functionName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'functionUpdateFields', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'resourceArn' => [ - 'type' => 'string', - 'required' => true, + 'code' => ['$ref' => '#/components/schemas/Code', 'required' => false], + 'customContainerConfig' => ['$ref' => '#/components/schemas/CustomContainerConfig', 'required' => false], + 'layers' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], - 'tags' => [ + 'description' => ['type' => 'string', 'required' => false], + 'environmentVariables' => [ 'type' => 'object', - 'required' => true, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'handler' => ['type' => 'string', 'required' => false], + 'memorySize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'runtime' => ['type' => 'string', 'required' => false], + 'timeout' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'initializationTimeout' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'initializer' => ['type' => 'string', 'required' => false], + 'caPort' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'InstanceConcurrency' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'instanceSoftConcurrency' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'instanceType' => ['type' => 'string', 'required' => false], + 'instanceLifecycleConfig' => ['$ref' => '#/components/schemas/InstanceLifecycleConfig', 'required' => false], + 'customDNS' => ['$ref' => '#/components/schemas/CustomDNS', 'required' => false], + 'customRuntimeConfig' => ['$ref' => '#/components/schemas/CustomRuntimeConfig', 'required' => false], + 'customHealthCheckConfig' => ['$ref' => '#/components/schemas/CustomHealthCheckConfig', 'required' => false], + 'cpu' => ['type' => 'number', 'format' => 'float', 'required' => false], + 'diskSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'gpuMemorySize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'X-Fc-Code-Checksum', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UntagResource' => [ - 'path' => '/2021-04-06/tag', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateService' => [ + 'path' => '/2021-04-06/services/{serviceName}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ + 'name' => 'If-Match', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'serviceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ 'name' => 'body', 'in' => 'body', 'style' => 'json', @@ -6749,233 +3926,122 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'resourceArn' => [ - 'type' => 'string', - 'required' => true, - ], - 'tagKeys' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'all' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'description' => ['type' => 'string', 'required' => false], + 'internetAccess' => ['type' => 'boolean', 'required' => false], + 'logConfig' => ['$ref' => '#/components/schemas/LogConfig', 'required' => false], + 'nasConfig' => ['$ref' => '#/components/schemas/NASConfig', 'required' => false], + 'role' => ['type' => 'string', 'required' => false], + 'vpcConfig' => ['$ref' => '#/components/schemas/VPCConfig', 'required' => false], + 'tracingConfig' => ['$ref' => '#/components/schemas/TracingConfig', 'required' => false], + 'ossMountConfig' => ['$ref' => '#/components/schemas/OSSMountConfig', 'required' => false], ], ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListInstances' => [ - 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/instances', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateTrigger' => [ + 'path' => '/2021-04-06/services/{serviceName}/functions/{functionName}/triggers/{triggerName}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ + 'name' => 'If-Match', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ 'name' => 'serviceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'functionName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'qualifier', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'triggerName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'instanceIds', - 'in' => 'query', - 'style' => 'repeatList', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'array', + 'type' => 'object', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, + 'properties' => [ + 'invocationRole' => ['type' => 'string', 'required' => false], + 'qualifier' => ['type' => 'string', 'required' => false], + 'triggerConfig' => ['type' => 'string', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], ], - 'minItems' => 1, - 'maxItems' => 1000, - ], - ], - [ - 'name' => 'limit', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, ], ], [ 'name' => 'X-Fc-Account-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Date', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'X-Fc-Trace-Id', 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'ap-northeast-2', - 'endpoint' => 'fc.ap-northeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'fc.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'fc.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'fc.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'fc.cn-huhehaote.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'fc.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'fc.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'fc.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'fc.cn-chengdu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'fc.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'fc.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'fc.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'fc.ap-southeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'fc.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'fc.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'fc.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'fc.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'fc.eu-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'fc.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'fc.ap-south-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'account-id.cn-hangzhou-finance.fc.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-7', - 'endpoint' => 'fc.ap-southeast-7.aliyuncs.com', - ], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'fc.cn-beijing.aliyuncs.com', 'endpoint' => 'fc.cn-beijing.aliyuncs.com', 'vpc' => 'fc-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'fc.cn-qingdao.aliyuncs.com', 'endpoint' => 'fc.cn-qingdao.aliyuncs.com', 'vpc' => 'fc-vpc.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'fc.cn-shanghai.aliyuncs.com', 'endpoint' => 'fc.cn-shanghai.aliyuncs.com', 'vpc' => 'fc-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'fc.cn-hongkong.aliyuncs.com', 'endpoint' => 'fc.cn-hongkong.aliyuncs.com', 'vpc' => 'fc-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'fc.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'fc.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'fc-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'fc.cn-shenzhen.aliyuncs.com', 'endpoint' => 'fc.cn-shenzhen.aliyuncs.com', 'vpc' => 'fc-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'ap-northeast-2', 'regionName' => '韩国(首尔)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'fc.ap-northeast-2.aliyuncs.com', 'endpoint' => 'fc.ap-northeast-2.aliyuncs.com', 'vpc' => 'fc-vpc.ap-northeast-2.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'fc.ap-northeast-1.aliyuncs.com', 'endpoint' => 'fc.ap-northeast-1.aliyuncs.com', 'vpc' => 'fc-vpc.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'fc.cn-chengdu.aliyuncs.com', 'endpoint' => 'fc.cn-chengdu.aliyuncs.com', 'vpc' => 'fc-vpc.cn-chengdu.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'fc.ap-southeast-1.aliyuncs.com', 'endpoint' => 'fc.ap-southeast-1.aliyuncs.com', 'vpc' => 'fc-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-2', 'regionName' => '澳大利亚(悉尼)已关停', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'fc.ap-southeast-2.aliyuncs.com', 'endpoint' => 'fc.ap-southeast-2.aliyuncs.com', 'vpc' => 'fc-vpc.ap-southeast-2.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'fc.ap-southeast-3.aliyuncs.com', 'endpoint' => 'fc.ap-southeast-3.aliyuncs.com', 'vpc' => 'fc-vpc.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'fc.cn-huhehaote.aliyuncs.com', 'endpoint' => 'fc.cn-huhehaote.aliyuncs.com', 'vpc' => 'fc-vpc.cn-huhehaote.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'fc.ap-southeast-5.aliyuncs.com', 'endpoint' => 'fc.ap-southeast-5.aliyuncs.com', 'vpc' => 'fc-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'ap-southeast-7', 'regionName' => '泰国(曼谷)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'fc.ap-southeast-7.aliyuncs.com', 'endpoint' => 'fc.ap-southeast-7.aliyuncs.com', 'vpc' => 'fc-vpc.ap-southeast-7.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'fc.cn-hangzhou.aliyuncs.com', 'endpoint' => 'fc.cn-hangzhou.aliyuncs.com', 'vpc' => 'fc-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'fc.us-east-1.aliyuncs.com', 'endpoint' => 'fc.us-east-1.aliyuncs.com', 'vpc' => 'fc-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'fc.eu-west-1.aliyuncs.com', 'endpoint' => 'fc.eu-west-1.aliyuncs.com', 'vpc' => 'fc-vpc.eu-west-1.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'fc.us-west-1.aliyuncs.com', 'endpoint' => 'fc.us-west-1.aliyuncs.com', 'vpc' => 'fc-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'fc.eu-central-1.aliyuncs.com', 'endpoint' => 'fc.eu-central-1.aliyuncs.com', 'vpc' => 'fc-vpc.eu-central-1.aliyuncs.com'], + ['regionId' => 'ap-south-1', 'regionName' => '印度(孟买)已关停', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'fc.ap-south-1.aliyuncs.com', 'endpoint' => 'fc.ap-south-1.aliyuncs.com', 'vpc' => 'fc-vpc.ap-south-1.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'account-id.cn-hangzhou-finance.fc.aliyuncs.com', 'endpoint' => 'account-id.cn-hangzhou-finance.fc.aliyuncs.com', 'vpc' => ''], ], ]; |
