v20180416

package
v3.0.376+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// Failed to create the API gateway trigger.
	FAILEDOPERATION_APIGATEWAY = "FailedOperation.ApiGateway"

	// Failed to create the trigger.
	FAILEDOPERATION_APIGW = "FailedOperation.Apigw"

	// Failed to obtain Apm InstanceId
	FAILEDOPERATION_APMCONFIGINSTANCEID = "FailedOperation.ApmConfigInstanceId"

	// This operation is not supported by the current async event status. Please try again later.
	FAILEDOPERATION_ASYNCEVENTSTATUS = "FailedOperation.AsyncEventStatus"

	// Failed to replicate the function.
	FAILEDOPERATION_COPYFAILED = "FailedOperation.CopyFailed"

	// Replication to this region is not supported.
	FAILEDOPERATION_COPYFUNCTION = "FailedOperation.CopyFunction"

	// Failed to operate on the COS resources.
	FAILEDOPERATION_COS = "FailedOperation.Cos"

	// Failed to create the alias.
	FAILEDOPERATION_CREATEALIAS = "FailedOperation.CreateAlias"

	// Operation failed.
	FAILEDOPERATION_CREATEFUNCTION = "FailedOperation.CreateFunction"

	// Failed to create the namespace.
	FAILEDOPERATION_CREATENAMESPACE = "FailedOperation.CreateNamespace"

	// This operation is not supported in the current function state.
	FAILEDOPERATION_CREATETRIGGER = "FailedOperation.CreateTrigger"

	// This operation cannot be performed in the current debugging status.
	FAILEDOPERATION_DEBUGMODESTATUS = "FailedOperation.DebugModeStatus"

	// Execution timeout period cannot be updated in debug mode.
	FAILEDOPERATION_DEBUGMODEUPDATETIMEOUTFAIL = "FailedOperation.DebugModeUpdateTimeOutFail"

	// Failed to delete the alias.
	FAILEDOPERATION_DELETEALIAS = "FailedOperation.DeleteAlias"

	// This operation cannot be performed in the current function status. Please try again when the function is in normal status.
	FAILEDOPERATION_DELETEFUNCTION = "FailedOperation.DeleteFunction"

	// Failed to delete the layer version.
	FAILEDOPERATION_DELETELAYERVERSION = "FailedOperation.DeleteLayerVersion"

	// The default namespace cannot be deleted.
	FAILEDOPERATION_DELETENAMESPACE = "FailedOperation.DeleteNamespace"

	// Failed to delete the trigger.
	FAILEDOPERATION_DELETETRIGGER = "FailedOperation.DeleteTrigger"

	// You cannot update code in the current function state. Please try again when the state is normal.
	FAILEDOPERATION_FUNCTIONNAMESTATUSERROR = "FailedOperation.FunctionNameStatusError"

	// Operation failed. The function is deploying.
	FAILEDOPERATION_FUNCTIONSTATUSERROR = "FailedOperation.FunctionStatusError"

	// This operation cannot be performed in the current function version status. Please try again when the version is in normal status.
	FAILEDOPERATION_FUNCTIONVERSIONSTATUSNOTACTIVE = "FailedOperation.FunctionVersionStatusNotActive"

	// Failed to get the alias information.
	FAILEDOPERATION_GETALIAS = "FailedOperation.GetAlias"

	// Failed to get the function code address.
	FAILEDOPERATION_GETFUNCTIONADDRESS = "FailedOperation.GetFunctionAddress"

	// The current account or namespace is in arrears. Please try again when it becomes available.
	FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"

	// Failed to invoke the function.
	FAILEDOPERATION_INVOKEFUNCTION = "FailedOperation.InvokeFunction"

	// The namespace already exists. Please do not create it again.
	FAILEDOPERATION_NAMESPACE = "FailedOperation.Namespace"

	// Failed to activate the service.
	FAILEDOPERATION_OPENSERVICE = "FailedOperation.OpenService"

	// Operation conflict.
	FAILEDOPERATION_OPERATIONCONFLICT = "FailedOperation.OperationConflict"

	// Failed to create the scheduled provisioned concurrency scaling action
	FAILEDOPERATION_PROVISIONCREATETIMER = "FailedOperation.ProvisionCreateTimer"

	// Failed to delete the scheduled provisioned concurrency scaling action
	FAILEDOPERATION_PROVISIONDELETETIMER = "FailedOperation.ProvisionDeleteTimer"

	// The function version already has a provisioned concurrency setting task in progress. Please try again later.
	FAILEDOPERATION_PROVISIONEDINPROGRESS = "FailedOperation.ProvisionedInProgress"

	// Failed to publish the layer version.
	FAILEDOPERATION_PUBLISHLAYERVERSION = "FailedOperation.PublishLayerVersion"

	// You cannot publish a version in the current function state. Please try again when the state is normal.
	FAILEDOPERATION_PUBLISHVERSION = "FailedOperation.PublishVersion"

	// The role does not exist.
	FAILEDOPERATION_QCSROLENOTFOUND = "FailedOperation.QcsRoleNotFound"

	// The function already has a reserved concurrency setting task in progress. Please try again later.
	FAILEDOPERATION_RESERVEDINPROGRESS = "FailedOperation.ReservedInProgress"

	// This topic does not exsit.
	FAILEDOPERATION_TOPICNOTEXIST = "FailedOperation.TopicNotExist"

	// The user already has a concurrency quota setting task in progress. Please try again later.
	FAILEDOPERATION_TOTALCONCURRENCYMEMORYINPROGRESS = "FailedOperation.TotalConcurrencyMemoryInProgress"

	// The specified service has not been activated. Please submit a ticket for activation.
	FAILEDOPERATION_UNOPENEDSERVICE = "FailedOperation.UnOpenedService"

	// Failed to update the alias.
	FAILEDOPERATION_UPDATEALIAS = "FailedOperation.UpdateAlias"

	// You cannot update code in the current function state. Please try again when the state is normal.
	FAILEDOPERATION_UPDATEFUNCTIONCODE = "FailedOperation.UpdateFunctionCode"

	// The `UpdateFunctionConfiguration` operation failed.
	FAILEDOPERATION_UPDATEFUNCTIONCONFIGURATION = "FailedOperation.UpdateFunctionConfiguration"

	// Internal error.
	INTERNALERROR = "InternalError"

	// Internal errors occurred during the creation of the apigw trigger.
	INTERNALERROR_APIGATEWAY = "InternalError.ApiGateway"

	// ckafka API failure.
	INTERNALERROR_CKAFKA = "InternalError.Ckafka"

	// Failed to delete the cmq trigger.
	INTERNALERROR_CMQ = "InternalError.Cmq"

	// Failed to update the trigger.
	INTERNALERROR_COS = "InternalError.Cos"

	// ES error.
	INTERNALERROR_ES = "InternalError.ES"

	// Internal service error
	INTERNALERROR_EXCEPTION = "InternalError.Exception"

	// Internal service error.
	INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError"

	// Internal system error.
	INTERNALERROR_SYSTEM = "InternalError.System"

	// Internal service error.
	INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"

	// The value of `FunctionName` does not conform to the specification. Please fix it and try again. For more information, please visit https://tencentcs.com/5jXKFnBW.
	INVALIDPARAMETER_FUNCTIONNAME = "InvalidParameter.FunctionName"

	// Invalid request parameter.
	INVALIDPARAMETER_PAYLOAD = "InvalidParameter.Payload"

	// Incorrect `RoutingConfig` parameter.
	INVALIDPARAMETER_ROUTINGCONFIG = "InvalidParameter.RoutingConfig"

	// Incorrect parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// The value of `Action` does not conform to the specification. Please fix it and try again. For more information, please visit https://tencentcs.com/5jXKFnBW.
	INVALIDPARAMETERVALUE_ACTION = "InvalidParameterValue.Action"

	// Incorrect `AdditionalVersionWeights` parameter.
	INVALIDPARAMETERVALUE_ADDITIONALVERSIONWEIGHTS = "InvalidParameterValue.AdditionalVersionWeights"

	// The default alias cannot be deleted. Please check and try again.
	INVALIDPARAMETERVALUE_ALIAS = "InvalidParameterValue.Alias"

	// ApiGateway parameter error.
	INVALIDPARAMETERVALUE_APIGATEWAY = "InvalidParameterValue.ApiGateway"

	// ApmConfig input error
	INVALIDPARAMETERVALUE_APMCONFIG = "InvalidParameterValue.ApmConfig"

	// ApmConfigInstanceId input error
	INVALIDPARAMETERVALUE_APMCONFIGINSTANCEID = "InvalidParameterValue.ApmConfigInstanceId"

	// ApmConfigRegion input error
	INVALIDPARAMETERVALUE_APMCONFIGREGION = "InvalidParameterValue.ApmConfigRegion"

	// The value of Args is incorrect.
	INVALIDPARAMETERVALUE_ARGS = "InvalidParameterValue.Args"

	// The parameter for async retry configuration of the function is invalid.
	INVALIDPARAMETERVALUE_ASYNCTRIGGERCONFIG = "InvalidParameterValue.AsyncTriggerConfig"

	// Cdn error.
	INVALIDPARAMETERVALUE_CDN = "InvalidParameterValue.Cdn"

	// The `cfs` configuration item already exists.
	INVALIDPARAMETERVALUE_CFSPARAMETERDUPLICATE = "InvalidParameterValue.CfsParameterDuplicate"

	// The value of `cfs` configuration item does not meet the specification.
	INVALIDPARAMETERVALUE_CFSPARAMETERERROR = "InvalidParameterValue.CfsParameterError"

	// The CFS parameter format does not conform to the specification.
	INVALIDPARAMETERVALUE_CFSSTRUCTIONERROR = "InvalidParameterValue.CfsStructionError"

	// Ckafka error.
	INVALIDPARAMETERVALUE_CKAFKA = "InvalidParameterValue.Ckafka"

	//
	INVALIDPARAMETERVALUE_CLIENTCONTEXT = "InvalidParameterValue.ClientContext"

	// Cls error.
	INVALIDPARAMETERVALUE_CLS = "InvalidParameterValue.Cls"

	// To modify CLS configuration, Role parameter is required. Please check and try again.
	INVALIDPARAMETERVALUE_CLSROLE = "InvalidParameterValue.ClsRole"

	// Cmq error.
	INVALIDPARAMETERVALUE_CMQ = "InvalidParameterValue.Cmq"

	// Code error.
	INVALIDPARAMETERVALUE_CODE = "InvalidParameterValue.Code"

	// CodeSecret error.
	INVALIDPARAMETERVALUE_CODESECRET = "InvalidParameterValue.CodeSecret"

	// CodeSource error.
	INVALIDPARAMETERVALUE_CODESOURCE = "InvalidParameterValue.CodeSource"

	// The value of Command[Entrypoint] is incorrect.
	INVALIDPARAMETERVALUE_COMMAND = "InvalidParameterValue.Command"

	// Incorrect `CompatibleRuntimes` parameter.
	INVALIDPARAMETERVALUE_COMPATIBLERUNTIMES = "InvalidParameterValue.CompatibleRuntimes"

	// Incorrect `Content` parameter.
	INVALIDPARAMETERVALUE_CONTENT = "InvalidParameterValue.Content"

	// Cos error.
	INVALIDPARAMETERVALUE_COS = "InvalidParameterValue.Cos"

	// Invalid CosBucketName.
	INVALIDPARAMETERVALUE_COSBUCKETNAME = "InvalidParameterValue.CosBucketName"

	// The value of CosBucketRegion is invalid. Please modify and try again. See: https://tencentcs.com/5jXKFnBW
	INVALIDPARAMETERVALUE_COSBUCKETREGION = "InvalidParameterValue.CosBucketRegion"

	// Invalid CosObjectName.
	INVALIDPARAMETERVALUE_COSOBJECTNAME = "InvalidParameterValue.CosObjectName"

	// CustomArgument exceeds the length limit.
	INVALIDPARAMETERVALUE_CUSTOMARGUMENT = "InvalidParameterValue.CustomArgument"

	// DateTime error.
	INVALIDPARAMETERVALUE_DATETIME = "InvalidParameterValue.DateTime"

	// The value of `DeadLetterConfig` is invalid. Please modify and try again. See https://tencentcs.com/5jXKFnBW.
	INVALIDPARAMETERVALUE_DEADLETTERCONFIG = "InvalidParameterValue.DeadLetterConfig"

	// Failed to create the default namespace.
	INVALIDPARAMETERVALUE_DEFAULTNAMESPACE = "InvalidParameterValue.DefaultNamespace"

	// Description error.
	INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"

	// The configuration of the environment variable DNS[OS_NAMESERVER] is incorrect.
	INVALIDPARAMETERVALUE_DNSINFO = "InvalidParameterValue.DnsInfo"

	// EipConfig parameter error.
	INVALIDPARAMETERVALUE_EIPCONFIG = "InvalidParameterValue.EipConfig"

	// The value of `Enable` does not conform to the specification. Please fix it and try again. For more information, please visit https://tencentcs.com/5jXKFnBW.
	INVALIDPARAMETERVALUE_ENABLE = "InvalidParameterValue.Enable"

	// Environment error.
	INVALIDPARAMETERVALUE_ENVIRONMENT = "InvalidParameterValue.Environment"

	// The size of the environment variable exceeds the limit. Please keep it within 4 KB.
	INVALIDPARAMETERVALUE_ENVIRONMENTEXCEEDEDLIMIT = "InvalidParameterValue.EnvironmentExceededLimit"

	// You cannot modify the function's system environment variables or runtime environment variables.
	INVALIDPARAMETERVALUE_ENVIRONMENTSYSTEMPROTECT = "InvalidParameterValue.EnvironmentSystemProtect"

	// Filters parameter error.
	INVALIDPARAMETERVALUE_FILTERS = "InvalidParameterValue.Filters"

	// The value of `FunctionName` is incorrect. See https://tencentcs.com/5jXKFnBW
	INVALIDPARAMETERVALUE_FUNCTION = "InvalidParameterValue.Function"

	// The function does not exist.
	INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"

	// The format of GitBranch is incorrect.
	INVALIDPARAMETERVALUE_GITBRANCH = "InvalidParameterValue.GitBranch"

	// The value of `GitCommitId` does not conform to the specification. Please fix it and try again. For more information, please visit https://tencentcs.com/5jXKFnBW.
	INVALIDPARAMETERVALUE_GITCOMMITID = "InvalidParameterValue.GitCommitId"

	// The format of GitDirectory is incorrect.
	INVALIDPARAMETERVALUE_GITDIRECTORY = "InvalidParameterValue.GitDirectory"

	// The format of GitPassword is incorrect.
	INVALIDPARAMETERVALUE_GITPASSWORD = "InvalidParameterValue.GitPassword"

	// The format of GitUrl is incorrect.
	INVALIDPARAMETERVALUE_GITURL = "InvalidParameterValue.GitUrl"

	// The format of GitUserName is incorrect.
	INVALIDPARAMETERVALUE_GITUSERNAME = "InvalidParameterValue.GitUserName"

	// Handler error.
	INVALIDPARAMETERVALUE_HANDLER = "InvalidParameterValue.Handler"

	// IdleTimeOut input parameter error
	INVALIDPARAMETERVALUE_IDLETIMEOUT = "InvalidParameterValue.IdleTimeOut"

	// The input of imageUri is incorrect.
	INVALIDPARAMETERVALUE_IMAGEURI = "InvalidParameterValue.ImageUri"

	// Invalid InlineZipFile.
	INVALIDPARAMETERVALUE_INLINEZIPFILE = "InvalidParameterValue.InlineZipFile"

	// The `InvokeType` value does not conform to the specification. Please fix it and try again.
	INVALIDPARAMETERVALUE_INVOKETYPE = "InvalidParameterValue.InvokeType"

	// Incorrect `LayerName` parameter.
	INVALIDPARAMETERVALUE_LAYERNAME = "InvalidParameterValue.LayerName"

	// Layers parameter error.
	INVALIDPARAMETERVALUE_LAYERS = "InvalidParameterValue.Layers"

	// Limit error.
	INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"

	// The parameter exceeds the length limit.
	INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"

	// The value of `Memory` does not conform to the specification. Please fix it and try again. For more information, please visit https://tencentcs.com/5jXKFnBW.
	INVALIDPARAMETERVALUE_MEMORY = "InvalidParameterValue.Memory"

	// MemorySize error.
	INVALIDPARAMETERVALUE_MEMORYSIZE = "InvalidParameterValue.MemorySize"

	// Incorrect `Name` parameter.
	INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"

	// Namespace error.
	INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"

	// Incorrect Namespace. A namespace contains up to 30 characters of letters, digits, hyphens (-), and underscores (_).
	INVALIDPARAMETERVALUE_NAMESPACEINVALID = "InvalidParameterValue.NamespaceInvalid"

	//
	INVALIDPARAMETERVALUE_NODESPEC = "InvalidParameterValue.NodeSpec"

	//
	INVALIDPARAMETERVALUE_NODETYPE = "InvalidParameterValue.NodeType"

	// Invalid offset.
	INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset"

	// Order error.
	INVALIDPARAMETERVALUE_ORDER = "InvalidParameterValue.Order"

	// The value of `OrderBy` does not conform to the specification. Please fix it and try again. For more information, please visit https://tencentcs.com/5jXKFnBW.
	INVALIDPARAMETERVALUE_ORDERBY = "InvalidParameterValue.OrderBy"

	// The input parameter is not in the standard JSON format.
	INVALIDPARAMETERVALUE_PARAM = "InvalidParameterValue.Param"

	// ProtocolType input parameter error
	INVALIDPARAMETERVALUE_PROTOCOLTYPE = "InvalidParameterValue.ProtocolType"

	// Cron expression of the scheduled action already exists
	INVALIDPARAMETERVALUE_PROVISIONTRIGGERCRONCONFIGDUPLICATE = "InvalidParameterValue.ProvisionTriggerCronConfigDuplicate"

	// TriggerName input parameter error
	INVALIDPARAMETERVALUE_PROVISIONTRIGGERNAME = "InvalidParameterValue.ProvisionTriggerName"

	// TriggerName already exists
	INVALIDPARAMETERVALUE_PROVISIONTRIGGERNAMEDUPLICATE = "InvalidParameterValue.ProvisionTriggerNameDuplicate"

	// ProvisionType input parameter error
	INVALIDPARAMETERVALUE_PROVISIONTYPE = "InvalidParameterValue.ProvisionType"

	// The `PublicNetConfig` parameter is invalid.
	INVALIDPARAMETERVALUE_PUBLICNETCONFIG = "InvalidParameterValue.PublicNetConfig"

	// Unsupported function version.
	INVALIDPARAMETERVALUE_QUALIFIER = "InvalidParameterValue.Qualifier"

	// The value Enterprise Edition image ID [RegistryId] is incorrect.
	INVALIDPARAMETERVALUE_REGISTRYID = "InvalidParameterValue.RegistryId"

	// Invalid RetCode
	INVALIDPARAMETERVALUE_RETCODE = "InvalidParameterValue.RetCode"

	// The value of `RoutingConfig` does not conform to the specification. Please fix it and try again. For more information, please visit https://tencentcs.com/5jXKFnBW.
	INVALIDPARAMETERVALUE_ROUTINGCONFIG = "InvalidParameterValue.RoutingConfig"

	// Runtime error.
	INVALIDPARAMETERVALUE_RUNTIME = "InvalidParameterValue.Runtime"

	// The searchkey is not `Keyword`, `Tag`, or `Runtime`.
	INVALIDPARAMETERVALUE_SEARCHKEY = "InvalidParameterValue.SearchKey"

	// SecretInfo error
	INVALIDPARAMETERVALUE_SECRETINFO = "InvalidParameterValue.SecretInfo"

	// Invalid ServiceName.
	INVALIDPARAMETERVALUE_SERVICENAME = "InvalidParameterValue.ServiceName"

	// The value of `Stamp` does not meet the specification. Please fix it and try again.
	INVALIDPARAMETERVALUE_STAMP = "InvalidParameterValue.Stamp"

	// The start time is incorrect.
	INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"

	// You need to specify both the start time and the end time.
	INVALIDPARAMETERVALUE_STARTTIMEORENDTIME = "InvalidParameterValue.StartTimeOrEndTime"

	// The `Status` value does not conform to the specification. Please fix it and try again.
	INVALIDPARAMETERVALUE_STATUS = "InvalidParameterValue.Status"

	// The system environment variable is invalid.
	INVALIDPARAMETERVALUE_SYSTEMENVIRONMENT = "InvalidParameterValue.SystemEnvironment"

	// Invalid TempCosObjectName.
	INVALIDPARAMETERVALUE_TEMPCOSOBJECTNAME = "InvalidParameterValue.TempCosObjectName"

	// The value of `TraceEnable` is invalid. Please modify and try again.
	INVALIDPARAMETERVALUE_TRACEENABLE = "InvalidParameterValue.TraceEnable"

	//
	INVALIDPARAMETERVALUE_TRACKINGTARGET = "InvalidParameterValue.TrackingTarget"

	// TriggerCronConfig input parameter error
	INVALIDPARAMETERVALUE_TRIGGERCRONCONFIG = "InvalidParameterValue.TriggerCronConfig"

	// The interval of triggering specified in TriggerCronConfig is smaller than the specified value.
	INVALIDPARAMETERVALUE_TRIGGERCRONCONFIGTIMEINTERVAL = "InvalidParameterValue.TriggerCronConfigTimeInterval"

	// TriggerDesc error.
	INVALIDPARAMETERVALUE_TRIGGERDESC = "InvalidParameterValue.TriggerDesc"

	// TriggerName error.
	INVALIDPARAMETERVALUE_TRIGGERNAME = "InvalidParameterValue.TriggerName"

	// TriggerProvisionedConcurrencyNum input parameter error
	INVALIDPARAMETERVALUE_TRIGGERPROVISIONEDCONCURRENCYNUM = "InvalidParameterValue.TriggerProvisionedConcurrencyNum"

	// Type error.
	INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"

	// A VPC needs to be activated together with CFS configuration.
	INVALIDPARAMETERVALUE_VPCNOTSETWHENOPENCFS = "InvalidParameterValue.VpcNotSetWhenOpenCfs"

	// WebSocketsParams input parameter error
	INVALIDPARAMETERVALUE_WEBSOCKETSPARAMS = "InvalidParameterValue.WebSocketsParams"

	// A non-standard zip file was detected. Please recompress and try again.
	INVALIDPARAMETERVALUE_ZIPFILE = "InvalidParameterValue.ZipFile"

	// Failed to Base64-decode the compressed file: `Incorrect padding`. Please fix it and try again.
	INVALIDPARAMETERVALUE_ZIPFILEBASE64BINASCIIERROR = "InvalidParameterValue.ZipFileBase64BinasciiError"

	// The number of aliases exceeds the upper limit.
	LIMITEXCEEDED_ALIAS = "LimitExceeded.Alias"

	// The Cdn usage exceeds the upper limit.
	LIMITEXCEEDED_CDN = "LimitExceeded.Cdn"

	// The EIP resource exceeded the limit.
	LIMITEXCEEDED_EIP = "LimitExceeded.Eip"

	// If the number of functions exceeds the upper limit, you can apply for an increase by [submitting a ticket](https://intl.cloud.tencent.com/act/event/Online_service?from=scf%7Cindex?from_cn_redirect=1).
	LIMITEXCEEDED_FUNCTION = "LimitExceeded.Function"

	// The number of functions under the same topic exceeds the upper limit.
	LIMITEXCEEDED_FUNCTIONONTOPIC = "LimitExceeded.FunctionOnTopic"

	// The value of `FunctionProvisionedConcurrencyMemory` has reached the upper limit. You can submit a ticket to increase it at https://mc.tencent.com/dI7DzbBV.
	LIMITEXCEEDED_FUNCTIONPROVISIONEDCONCURRENCYMEMORY = "LimitExceeded.FunctionProvisionedConcurrencyMemory"

	// The function's reserved concurrency memory has exceeded the limit.
	LIMITEXCEEDED_FUNCTIONRESERVEDCONCURRENCYMEMORY = "LimitExceeded.FunctionReservedConcurrencyMemory"

	// The value of `FunctionTotalProvisionedConcurrencyMemory` has reached the upper limit. You can submit a ticket to increase it at https://mc.tencent.com/dI7DzbBV.
	LIMITEXCEEDED_FUNCTIONTOTALPROVISIONEDCONCURRENCYMEMORY = "LimitExceeded.FunctionTotalProvisionedConcurrencyMemory"

	// The total amount of provisioned concurrency of the function has exceeded the limit.
	LIMITEXCEEDED_FUNCTIONTOTALPROVISIONEDCONCURRENCYNUM = "LimitExceeded.FunctionTotalProvisionedConcurrencyNum"

	// The value of `InitTimeout` has reached the upper limit. You can submit a ticket to increase it at https://tencentcs.com/7Fixwt63.
	LIMITEXCEEDED_INITTIMEOUT = "LimitExceeded.InitTimeout"

	// The number of layer versions exceeds the upper limit.
	LIMITEXCEEDED_LAYERVERSIONS = "LimitExceeded.LayerVersions"

	//
	LIMITEXCEEDED_LAYERS = "LimitExceeded.Layers"

	// The memory exceeds the upper limit.
	LIMITEXCEEDED_MEMORY = "LimitExceeded.Memory"

	// The message retention period in the async retry configuration of the function exceeds the limit.
	LIMITEXCEEDED_MSGTTL = "LimitExceeded.MsgTTL"

	// If the number of namespaces exceeds the upper limit, you can apply for an increase by [submitting a ticket](https://intl.cloud.tencent.com/act/event/Online_service?from=scf%7Cindex?from_cn_redirect=1).
	LIMITEXCEEDED_NAMESPACE = "LimitExceeded.Namespace"

	// Offset exceeds the upper limit.
	LIMITEXCEEDED_OFFSET = "LimitExceeded.Offset"

	// The number of provisioned concurrency specified for the scheduled action is too large.
	LIMITEXCEEDED_PROVISIONTRIGGERACTION = "LimitExceeded.ProvisionTriggerAction"

	// The interval of triggering is too short.
	LIMITEXCEEDED_PROVISIONTRIGGERINTERVAL = "LimitExceeded.ProvisionTriggerInterval"

	// The number of retry attempts in the async retry configuration of the function exceeds the limit.
	LIMITEXCEEDED_RETRYNUM = "LimitExceeded.RetryNum"

	// Timeout exceeds the upper limit.
	LIMITEXCEEDED_TIMEOUT = "LimitExceeded.Timeout"

	// The account concurrency memory has exceeded the limit.
	LIMITEXCEEDED_TOTALCONCURRENCYMEMORY = "LimitExceeded.TotalConcurrencyMemory"

	// If the number of triggers exceeds the upper limit, you can apply for an increase by [submitting a ticket](https://intl.cloud.tencent.com/act/event/Online_service?from=scf%7Cindex?from_cn_redirect=1).
	LIMITEXCEEDED_TRIGGER = "LimitExceeded.Trigger"

	// The value of `UserTotalConcurrencyMemory` has reached the upper limit. You can submit a ticket to increase it at https://tencentcs.com/7Fixwt63.
	LIMITEXCEEDED_USERTOTALCONCURRENCYMEMORY = "LimitExceeded.UserTotalConcurrencyMemory"

	// Missing parameter.
	MISSINGPARAMETER = "MissingParameter"

	// Failed to import Code.
	MISSINGPARAMETER_CODE = "MissingParameter.Code"

	// Runtime is missing.
	MISSINGPARAMETER_RUNTIME = "MissingParameter.Runtime"

	// The resource is in use.
	RESOURCEINUSE = "ResourceInUse"

	// The alias is in use.
	RESOURCEINUSE_ALIAS = "ResourceInUse.Alias"

	// Cdn is in use.
	RESOURCEINUSE_CDN = "ResourceInUse.Cdn"

	// Cmq is in use.
	RESOURCEINUSE_CMQ = "ResourceInUse.Cmq"

	// Cos is in use.
	RESOURCEINUSE_COS = "ResourceInUse.Cos"

	// This function already exists.
	RESOURCEINUSE_FUNCTION = "ResourceInUse.Function"

	// This FunctionName already exists.
	RESOURCEINUSE_FUNCTIONNAME = "ResourceInUse.FunctionName"

	// The layer version is in use.
	RESOURCEINUSE_LAYERVERSION = "ResourceInUse.LayerVersion"

	// This Namespace already exists.
	RESOURCEINUSE_NAMESPACE = "ResourceInUse.Namespace"

	// This TriggerName already exists.
	RESOURCEINUSE_TRIGGER = "ResourceInUse.Trigger"

	// This TriggerName already exists.
	RESOURCEINUSE_TRIGGERNAME = "ResourceInUse.TriggerName"

	// Insufficient COS resources.
	RESOURCEINSUFFICIENT_COS = "ResourceInsufficient.COS"

	// The resource does not exist.
	RESOURCENOTFOUND = "ResourceNotFound"

	// The alias does not exist.
	RESOURCENOTFOUND_ALIAS = "ResourceNotFound.Alias"

	// The specified `AsyncEvent` was not found. Please create it and try again.
	RESOURCENOTFOUND_ASYNCEVENT = "ResourceNotFound.AsyncEvent"

	// Cdn does not exist.
	RESOURCENOTFOUND_CDN = "ResourceNotFound.Cdn"

	// Unable to find the specified mount point under the specified CFS
	RESOURCENOTFOUND_CFSMOUNTINSNOTMATCH = "ResourceNotFound.CfsMountInsNotMatch"

	//
	RESOURCENOTFOUND_CFSSTATUSERROR = "ResourceNotFound.CfsStatusError"

	// VPCs of the CFS instance and the SCF function are different.
	RESOURCENOTFOUND_CFSVPCNOTMATCH = "ResourceNotFound.CfsVpcNotMatch"

	// Ckafka does not exist.
	RESOURCENOTFOUND_CKAFKA = "ResourceNotFound.Ckafka"

	// Cmq does not exist.
	RESOURCENOTFOUND_CMQ = "ResourceNotFound.Cmq"

	// Cos does not exist.
	RESOURCENOTFOUND_COS = "ResourceNotFound.Cos"

	// Demo does not exist.
	RESOURCENOTFOUND_DEMO = "ResourceNotFound.Demo"

	// The function does not exist.
	RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"

	// The function does not exist.
	RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"

	// The function version does not exist.
	RESOURCENOTFOUND_FUNCTIONVERSION = "ResourceNotFound.FunctionVersion"

	// An error occurred while getting the CFS mount target information.
	RESOURCENOTFOUND_GETCFSMOUNTINSERROR = "ResourceNotFound.GetCfsMountInsError"

	// An error occurred while getting the CFS information.
	RESOURCENOTFOUND_GETCFSNOTMATCH = "ResourceNotFound.GetCfsNotMatch"

	// Failed to find the specified ImageConfig. Please create it first.
	RESOURCENOTFOUND_IMAGECONFIG = "ResourceNotFound.ImageConfig"

	// The layer does not exist.
	RESOURCENOTFOUND_LAYER = "ResourceNotFound.Layer"

	// The layer version does not exist.
	RESOURCENOTFOUND_LAYERVERSION = "ResourceNotFound.LayerVersion"

	// Namespace does not exist.
	RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"

	// The version does not exist.
	RESOURCENOTFOUND_QUALIFIER = "ResourceNotFound.Qualifier"

	// The role does not exist.
	RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role"

	//
	RESOURCENOTFOUND_ROLECHECK = "ResourceNotFound.RoleCheck"

	// Timer does not exist.
	RESOURCENOTFOUND_TIMER = "ResourceNotFound.Timer"

	// The concurrency memory quota resource was not found.
	RESOURCENOTFOUND_TOTALCONCURRENCYMEMORY = "ResourceNotFound.TotalConcurrencyMemory"

	// The trigger does not exist.
	RESOURCENOTFOUND_TRIGGER = "ResourceNotFound.Trigger"

	// The version does not exist.
	RESOURCENOTFOUND_VERSION = "ResourceNotFound.Version"

	// The VPC or subnet does not exist.
	RESOURCENOTFOUND_VPC = "ResourceNotFound.Vpc"

	// Your balance is insufficient. Please top up first.
	RESOURCEUNAVAILABLE_INSUFFICIENTBALANCE = "ResourceUnavailable.InsufficientBalance"

	// The Namespace is not available.
	RESOURCEUNAVAILABLE_NAMESPACE = "ResourceUnavailable.Namespace"

	// Unauthorized operation.
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// CAM authentication failed.
	UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

	// You do not have permissions to access the code.
	UNAUTHORIZEDOPERATION_CODESECRET = "UnauthorizedOperation.CodeSecret"

	// You do not have permissions.
	UNAUTHORIZEDOPERATION_CREATETRIGGER = "UnauthorizedOperation.CreateTrigger"

	// Unauthorized operation.
	UNAUTHORIZEDOPERATION_DELETEFUNCTION = "UnauthorizedOperation.DeleteFunction"

	// You do not have permissions.
	UNAUTHORIZEDOPERATION_DELETETRIGGER = "UnauthorizedOperation.DeleteTrigger"

	// This API is not called from the console.
	UNAUTHORIZEDOPERATION_NOTMC = "UnauthorizedOperation.NotMC"

	// Region error.
	UNAUTHORIZEDOPERATION_REGION = "UnauthorizedOperation.Region"

	// You do not have permissions to access your Cos resources.
	UNAUTHORIZEDOPERATION_ROLE = "UnauthorizedOperation.Role"

	// The `Appid` of TempCos is not consistent with the APPID of the request account.
	UNAUTHORIZEDOPERATION_TEMPCOSAPPID = "UnauthorizedOperation.TempCosAppid"

	// Operation failed.
	UNAUTHORIZEDOPERATION_UPDATEFUNCTIONCODE = "UnauthorizedOperation.UpdateFunctionCode"

	// Unsupported operation.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"

	// The resource is bound to an alias, and the current operation cannot be performed. Please unbind the alias and try again.
	UNSUPPORTEDOPERATION_ALIASBIND = "UnsupportedOperation.AliasBind"

	// Cdn is not supported.
	UNSUPPORTEDOPERATION_CDN = "UnsupportedOperation.Cdn"

	// Cos operation is not supported.
	UNSUPPORTEDOPERATION_COS = "UnsupportedOperation.Cos"

	//
	UNSUPPORTEDOPERATION_EIPFIXED = "UnsupportedOperation.EipFixed"

	// This region is not supported.
	UNSUPPORTEDOPERATION_REGION = "UnsupportedOperation.Region"

	// Trigger operation is not supported.
	UNSUPPORTEDOPERATION_TRIGGER = "UnsupportedOperation.Trigger"

	//
	UNSUPPORTEDOPERATION_VPCCONFIG = "UnsupportedOperation.VpcConfig"
)
View Source
const APIVersion = "2018-04-16"

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessInfo

type AccessInfo struct {

	// Domain name
	Host *string `json:"Host,omitempty" name:"Host"`

	// VIP
	Vip *string `json:"Vip,omitempty" name:"Vip"`
}

type Alias

type Alias struct {

	// Master version pointed to by the alias
	FunctionVersion *string `json:"FunctionVersion,omitempty" name:"FunctionVersion"`

	// Alias name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Routing information of alias
	// Note: this field may return null, indicating that no valid values can be obtained.
	RoutingConfig *RoutingConfig `json:"RoutingConfig,omitempty" name:"RoutingConfig"`

	// Description
	// Note: this field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Creation time
	// Note: this field may return null, indicating that no valid values can be obtained.
	AddTime *string `json:"AddTime,omitempty" name:"AddTime"`

	// Update time
	// Note: this field may return null, indicating that no valid values can be obtained.
	ModTime *string `json:"ModTime,omitempty" name:"ModTime"`
}

type AsyncEvent

type AsyncEvent struct {

	// Invocation request ID
	InvokeRequestId *string `json:"InvokeRequestId,omitempty" name:"InvokeRequestId"`

	// Invocation type
	InvokeType *string `json:"InvokeType,omitempty" name:"InvokeType"`

	// Function version
	Qualifier *string `json:"Qualifier,omitempty" name:"Qualifier"`

	// Event status. Values: `RUNNING`; `FINISHED` (invoked successfully); `ABORTED` (invocation ended); `FAILED` (invocation failed)
	Status *string `json:"Status,omitempty" name:"Status"`

	// Invocation start time in the format of "%Y-%m-%d %H:%M:%S.%f"
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Invocation end time in the format of "%Y-%m-%d %H:%M:%S.%f"
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

type AsyncEventStatus

type AsyncEventStatus struct {

	// Async event status. Values: `RUNNING` (running); `FINISHED` (invoked successfully); `ABORTED` (invocation ended); `FAILED` (invocation failed).
	Status *string `json:"Status,omitempty" name:"Status"`

	// Request status code
	StatusCode *int64 `json:"StatusCode,omitempty" name:"StatusCode"`

	// Async execution request ID
	InvokeRequestId *string `json:"InvokeRequestId,omitempty" name:"InvokeRequestId"`
}

type AsyncTriggerConfig

type AsyncTriggerConfig struct {

	// Async retry configuration of function upon user error
	RetryConfig []*RetryConfig `json:"RetryConfig,omitempty" name:"RetryConfig"`

	// Message retention period
	MsgTTL *int64 `json:"MsgTTL,omitempty" name:"MsgTTL"`
}

type CfsConfig

type CfsConfig struct {

	// File system information list
	CfsInsList []*CfsInsInfo `json:"CfsInsList,omitempty" name:"CfsInsList"`
}

type CfsInsInfo

type CfsInsInfo struct {

	// User ID
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// User group ID
	UserGroupId *string `json:"UserGroupId,omitempty" name:"UserGroupId"`

	// CFS instance ID
	CfsId *string `json:"CfsId,omitempty" name:"CfsId"`

	// File system mount target ID
	MountInsId *string `json:"MountInsId,omitempty" name:"MountInsId"`

	// Local mount target
	LocalMountDir *string `json:"LocalMountDir,omitempty" name:"LocalMountDir"`

	// Remote mount target
	RemoteMountDir *string `json:"RemoteMountDir,omitempty" name:"RemoteMountDir"`

	// File system IP, which is not required when you configure CFS.
	// Note: this field may return null, indicating that no valid values can be obtained.
	IpAddress *string `json:"IpAddress,omitempty" name:"IpAddress"`

	// VPC ID of file system, which is not required when you configure CFS.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MountVpcId *string `json:"MountVpcId,omitempty" name:"MountVpcId"`

	// VPC subnet ID of file system, which is not required when you configure CFS.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MountSubnetId *string `json:"MountSubnetId,omitempty" name:"MountSubnetId"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) CopyFunction

func (c *Client) CopyFunction(request *CopyFunctionRequest) (response *CopyFunctionResponse, err error)

CopyFunction This API is used to replicate a function. You can store the replicated function in a specified Region and Namespace.

Note: This API **does not** replicate the following objects or attributes of the function:

1. Function trigger

2. Versions other than $LATEST

3. CLS target of the logs configured in the function

You can manually configure the function after replication as required.

error code that may be returned:

FAILEDOPERATION_COPYFAILED = "FailedOperation.CopyFailed"
FAILEDOPERATION_COPYFUNCTION = "FailedOperation.CopyFunction"
INTERNALERROR = "InternalError"
INTERNALERROR_EXCEPTION = "InternalError.Exception"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE_CODE = "InvalidParameterValue.Code"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_ENVIRONMENT = "InvalidParameterValue.Environment"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_HANDLER = "InvalidParameterValue.Handler"
INVALIDPARAMETERVALUE_RUNTIME = "InvalidParameterValue.Runtime"
LIMITEXCEEDED_FUNCTION = "LimitExceeded.Function"
LIMITEXCEEDED_MEMORY = "LimitExceeded.Memory"
LIMITEXCEEDED_TIMEOUT = "LimitExceeded.Timeout"
RESOURCEINUSE_FUNCTIONNAME = "ResourceInUse.FunctionName"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_REGION = "UnauthorizedOperation.Region"
UNSUPPORTEDOPERATION_REGION = "UnsupportedOperation.Region"

func (*Client) CopyFunctionWithContext

func (c *Client) CopyFunctionWithContext(ctx context.Context, request *CopyFunctionRequest) (response *CopyFunctionResponse, err error)

CopyFunction This API is used to replicate a function. You can store the replicated function in a specified Region and Namespace.

Note: This API **does not** replicate the following objects or attributes of the function:

1. Function trigger

2. Versions other than $LATEST

3. CLS target of the logs configured in the function

You can manually configure the function after replication as required.

error code that may be returned:

FAILEDOPERATION_COPYFAILED = "FailedOperation.CopyFailed"
FAILEDOPERATION_COPYFUNCTION = "FailedOperation.CopyFunction"
INTERNALERROR = "InternalError"
INTERNALERROR_EXCEPTION = "InternalError.Exception"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE_CODE = "InvalidParameterValue.Code"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_ENVIRONMENT = "InvalidParameterValue.Environment"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_HANDLER = "InvalidParameterValue.Handler"
INVALIDPARAMETERVALUE_RUNTIME = "InvalidParameterValue.Runtime"
LIMITEXCEEDED_FUNCTION = "LimitExceeded.Function"
LIMITEXCEEDED_MEMORY = "LimitExceeded.Memory"
LIMITEXCEEDED_TIMEOUT = "LimitExceeded.Timeout"
RESOURCEINUSE_FUNCTIONNAME = "ResourceInUse.FunctionName"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_REGION = "UnauthorizedOperation.Region"
UNSUPPORTEDOPERATION_REGION = "UnsupportedOperation.Region"

func (*Client) CreateAlias

func (c *Client) CreateAlias(request *CreateAliasRequest) (response *CreateAliasResponse, err error)

CreateAlias This API is used to create an alias for a function version. You can use the alias to mark a specific function version such as DEV/RELEASE. You can also modify the version pointed to by the alias at any time.

An alias must point to a master version and can point to an additional version at the same time. If you specify an alias when invoking a function, the request will be sent to the versions pointed to by the alias. You can configure the ratio between the master version and additional version during request sending.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CREATEALIAS = "FailedOperation.CreateAlias"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_ROUTINGCONFIG = "InvalidParameter.RoutingConfig"
INVALIDPARAMETERVALUE_ADDITIONALVERSIONWEIGHTS = "InvalidParameterValue.AdditionalVersionWeights"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_ROUTINGCONFIG = "InvalidParameterValue.RoutingConfig"
LIMITEXCEEDED_ALIAS = "LimitExceeded.Alias"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_ALIAS = "ResourceInUse.Alias"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_FUNCTIONVERSION = "ResourceNotFound.FunctionVersion"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) CreateAliasWithContext

func (c *Client) CreateAliasWithContext(ctx context.Context, request *CreateAliasRequest) (response *CreateAliasResponse, err error)

CreateAlias This API is used to create an alias for a function version. You can use the alias to mark a specific function version such as DEV/RELEASE. You can also modify the version pointed to by the alias at any time.

An alias must point to a master version and can point to an additional version at the same time. If you specify an alias when invoking a function, the request will be sent to the versions pointed to by the alias. You can configure the ratio between the master version and additional version during request sending.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CREATEALIAS = "FailedOperation.CreateAlias"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_ROUTINGCONFIG = "InvalidParameter.RoutingConfig"
INVALIDPARAMETERVALUE_ADDITIONALVERSIONWEIGHTS = "InvalidParameterValue.AdditionalVersionWeights"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_ROUTINGCONFIG = "InvalidParameterValue.RoutingConfig"
LIMITEXCEEDED_ALIAS = "LimitExceeded.Alias"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_ALIAS = "ResourceInUse.Alias"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_FUNCTIONVERSION = "ResourceNotFound.FunctionVersion"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) CreateFunction

func (c *Client) CreateFunction(request *CreateFunctionRequest) (response *CreateFunctionResponse, err error)

CreateFunction This API is used to create a function based on the input parameters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_APMCONFIGINSTANCEID = "FailedOperation.ApmConfigInstanceId"
FAILEDOPERATION_CREATEFUNCTION = "FailedOperation.CreateFunction"
FAILEDOPERATION_NAMESPACE = "FailedOperation.Namespace"
FAILEDOPERATION_OPENSERVICE = "FailedOperation.OpenService"
FAILEDOPERATION_QCSROLENOTFOUND = "FailedOperation.QcsRoleNotFound"
FAILEDOPERATION_TOTALCONCURRENCYMEMORYINPROGRESS = "FailedOperation.TotalConcurrencyMemoryInProgress"
FAILEDOPERATION_UNOPENEDSERVICE = "FailedOperation.UnOpenedService"
INTERNALERROR = "InternalError"
INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError"
INTERNALERROR_SYSTEM = "InternalError.System"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PAYLOAD = "InvalidParameter.Payload"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ACTION = "InvalidParameterValue.Action"
INVALIDPARAMETERVALUE_APMCONFIG = "InvalidParameterValue.ApmConfig"
INVALIDPARAMETERVALUE_APMCONFIGINSTANCEID = "InvalidParameterValue.ApmConfigInstanceId"
INVALIDPARAMETERVALUE_APMCONFIGREGION = "InvalidParameterValue.ApmConfigRegion"
INVALIDPARAMETERVALUE_ARGS = "InvalidParameterValue.Args"
INVALIDPARAMETERVALUE_CFSPARAMETERDUPLICATE = "InvalidParameterValue.CfsParameterDuplicate"
INVALIDPARAMETERVALUE_CFSPARAMETERERROR = "InvalidParameterValue.CfsParameterError"
INVALIDPARAMETERVALUE_CFSSTRUCTIONERROR = "InvalidParameterValue.CfsStructionError"
INVALIDPARAMETERVALUE_CLS = "InvalidParameterValue.Cls"
INVALIDPARAMETERVALUE_CODE = "InvalidParameterValue.Code"
INVALIDPARAMETERVALUE_CODESECRET = "InvalidParameterValue.CodeSecret"
INVALIDPARAMETERVALUE_CODESOURCE = "InvalidParameterValue.CodeSource"
INVALIDPARAMETERVALUE_COMMAND = "InvalidParameterValue.Command"
INVALIDPARAMETERVALUE_COS = "InvalidParameterValue.Cos"
INVALIDPARAMETERVALUE_COSBUCKETNAME = "InvalidParameterValue.CosBucketName"
INVALIDPARAMETERVALUE_COSBUCKETREGION = "InvalidParameterValue.CosBucketRegion"
INVALIDPARAMETERVALUE_COSOBJECTNAME = "InvalidParameterValue.CosObjectName"
INVALIDPARAMETERVALUE_DEADLETTERCONFIG = "InvalidParameterValue.DeadLetterConfig"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_DNSINFO = "InvalidParameterValue.DnsInfo"
INVALIDPARAMETERVALUE_EIPCONFIG = "InvalidParameterValue.EipConfig"
INVALIDPARAMETERVALUE_ENVIRONMENT = "InvalidParameterValue.Environment"
INVALIDPARAMETERVALUE_ENVIRONMENTEXCEEDEDLIMIT = "InvalidParameterValue.EnvironmentExceededLimit"
INVALIDPARAMETERVALUE_ENVIRONMENTSYSTEMPROTECT = "InvalidParameterValue.EnvironmentSystemProtect"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_GITCOMMITID = "InvalidParameterValue.GitCommitId"
INVALIDPARAMETERVALUE_GITURL = "InvalidParameterValue.GitUrl"
INVALIDPARAMETERVALUE_HANDLER = "InvalidParameterValue.Handler"
INVALIDPARAMETERVALUE_IDLETIMEOUT = "InvalidParameterValue.IdleTimeOut"
INVALIDPARAMETERVALUE_IMAGEURI = "InvalidParameterValue.ImageUri"
INVALIDPARAMETERVALUE_LAYERS = "InvalidParameterValue.Layers"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MEMORY = "InvalidParameterValue.Memory"
INVALIDPARAMETERVALUE_MEMORYSIZE = "InvalidParameterValue.MemorySize"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_NODESPEC = "InvalidParameterValue.NodeSpec"
INVALIDPARAMETERVALUE_NODETYPE = "InvalidParameterValue.NodeType"
INVALIDPARAMETERVALUE_PROTOCOLTYPE = "InvalidParameterValue.ProtocolType"
INVALIDPARAMETERVALUE_PUBLICNETCONFIG = "InvalidParameterValue.PublicNetConfig"
INVALIDPARAMETERVALUE_REGISTRYID = "InvalidParameterValue.RegistryId"
INVALIDPARAMETERVALUE_RUNTIME = "InvalidParameterValue.Runtime"
INVALIDPARAMETERVALUE_STAMP = "InvalidParameterValue.Stamp"
INVALIDPARAMETERVALUE_TEMPCOSOBJECTNAME = "InvalidParameterValue.TempCosObjectName"
INVALIDPARAMETERVALUE_TRACEENABLE = "InvalidParameterValue.TraceEnable"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
INVALIDPARAMETERVALUE_VPCNOTSETWHENOPENCFS = "InvalidParameterValue.VpcNotSetWhenOpenCfs"
INVALIDPARAMETERVALUE_WEBSOCKETSPARAMS = "InvalidParameterValue.WebSocketsParams"
INVALIDPARAMETERVALUE_ZIPFILE = "InvalidParameterValue.ZipFile"
INVALIDPARAMETERVALUE_ZIPFILEBASE64BINASCIIERROR = "InvalidParameterValue.ZipFileBase64BinasciiError"
LIMITEXCEEDED_EIP = "LimitExceeded.Eip"
LIMITEXCEEDED_FUNCTION = "LimitExceeded.Function"
LIMITEXCEEDED_INITTIMEOUT = "LimitExceeded.InitTimeout"
LIMITEXCEEDED_MEMORY = "LimitExceeded.Memory"
LIMITEXCEEDED_TIMEOUT = "LimitExceeded.Timeout"
MISSINGPARAMETER_CODE = "MissingParameter.Code"
MISSINGPARAMETER_RUNTIME = "MissingParameter.Runtime"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_FUNCTION = "ResourceInUse.Function"
RESOURCEINUSE_FUNCTIONNAME = "ResourceInUse.FunctionName"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CFSMOUNTINSNOTMATCH = "ResourceNotFound.CfsMountInsNotMatch"
RESOURCENOTFOUND_CFSSTATUSERROR = "ResourceNotFound.CfsStatusError"
RESOURCENOTFOUND_CFSVPCNOTMATCH = "ResourceNotFound.CfsVpcNotMatch"
RESOURCENOTFOUND_CMQ = "ResourceNotFound.Cmq"
RESOURCENOTFOUND_DEMO = "ResourceNotFound.Demo"
RESOURCENOTFOUND_GETCFSMOUNTINSERROR = "ResourceNotFound.GetCfsMountInsError"
RESOURCENOTFOUND_GETCFSNOTMATCH = "ResourceNotFound.GetCfsNotMatch"
RESOURCENOTFOUND_IMAGECONFIG = "ResourceNotFound.ImageConfig"
RESOURCENOTFOUND_LAYER = "ResourceNotFound.Layer"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role"
RESOURCENOTFOUND_VPC = "ResourceNotFound.Vpc"
RESOURCEUNAVAILABLE_NAMESPACE = "ResourceUnavailable.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_REGION = "UnauthorizedOperation.Region"
UNAUTHORIZEDOPERATION_ROLE = "UnauthorizedOperation.Role"
UNAUTHORIZEDOPERATION_TEMPCOSAPPID = "UnauthorizedOperation.TempCosAppid"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_EIPFIXED = "UnsupportedOperation.EipFixed"
UNSUPPORTEDOPERATION_VPCCONFIG = "UnsupportedOperation.VpcConfig"

func (*Client) CreateFunctionWithContext

func (c *Client) CreateFunctionWithContext(ctx context.Context, request *CreateFunctionRequest) (response *CreateFunctionResponse, err error)

CreateFunction This API is used to create a function based on the input parameters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_APMCONFIGINSTANCEID = "FailedOperation.ApmConfigInstanceId"
FAILEDOPERATION_CREATEFUNCTION = "FailedOperation.CreateFunction"
FAILEDOPERATION_NAMESPACE = "FailedOperation.Namespace"
FAILEDOPERATION_OPENSERVICE = "FailedOperation.OpenService"
FAILEDOPERATION_QCSROLENOTFOUND = "FailedOperation.QcsRoleNotFound"
FAILEDOPERATION_TOTALCONCURRENCYMEMORYINPROGRESS = "FailedOperation.TotalConcurrencyMemoryInProgress"
FAILEDOPERATION_UNOPENEDSERVICE = "FailedOperation.UnOpenedService"
INTERNALERROR = "InternalError"
INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError"
INTERNALERROR_SYSTEM = "InternalError.System"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PAYLOAD = "InvalidParameter.Payload"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ACTION = "InvalidParameterValue.Action"
INVALIDPARAMETERVALUE_APMCONFIG = "InvalidParameterValue.ApmConfig"
INVALIDPARAMETERVALUE_APMCONFIGINSTANCEID = "InvalidParameterValue.ApmConfigInstanceId"
INVALIDPARAMETERVALUE_APMCONFIGREGION = "InvalidParameterValue.ApmConfigRegion"
INVALIDPARAMETERVALUE_ARGS = "InvalidParameterValue.Args"
INVALIDPARAMETERVALUE_CFSPARAMETERDUPLICATE = "InvalidParameterValue.CfsParameterDuplicate"
INVALIDPARAMETERVALUE_CFSPARAMETERERROR = "InvalidParameterValue.CfsParameterError"
INVALIDPARAMETERVALUE_CFSSTRUCTIONERROR = "InvalidParameterValue.CfsStructionError"
INVALIDPARAMETERVALUE_CLS = "InvalidParameterValue.Cls"
INVALIDPARAMETERVALUE_CODE = "InvalidParameterValue.Code"
INVALIDPARAMETERVALUE_CODESECRET = "InvalidParameterValue.CodeSecret"
INVALIDPARAMETERVALUE_CODESOURCE = "InvalidParameterValue.CodeSource"
INVALIDPARAMETERVALUE_COMMAND = "InvalidParameterValue.Command"
INVALIDPARAMETERVALUE_COS = "InvalidParameterValue.Cos"
INVALIDPARAMETERVALUE_COSBUCKETNAME = "InvalidParameterValue.CosBucketName"
INVALIDPARAMETERVALUE_COSBUCKETREGION = "InvalidParameterValue.CosBucketRegion"
INVALIDPARAMETERVALUE_COSOBJECTNAME = "InvalidParameterValue.CosObjectName"
INVALIDPARAMETERVALUE_DEADLETTERCONFIG = "InvalidParameterValue.DeadLetterConfig"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_DNSINFO = "InvalidParameterValue.DnsInfo"
INVALIDPARAMETERVALUE_EIPCONFIG = "InvalidParameterValue.EipConfig"
INVALIDPARAMETERVALUE_ENVIRONMENT = "InvalidParameterValue.Environment"
INVALIDPARAMETERVALUE_ENVIRONMENTEXCEEDEDLIMIT = "InvalidParameterValue.EnvironmentExceededLimit"
INVALIDPARAMETERVALUE_ENVIRONMENTSYSTEMPROTECT = "InvalidParameterValue.EnvironmentSystemProtect"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_GITCOMMITID = "InvalidParameterValue.GitCommitId"
INVALIDPARAMETERVALUE_GITURL = "InvalidParameterValue.GitUrl"
INVALIDPARAMETERVALUE_HANDLER = "InvalidParameterValue.Handler"
INVALIDPARAMETERVALUE_IDLETIMEOUT = "InvalidParameterValue.IdleTimeOut"
INVALIDPARAMETERVALUE_IMAGEURI = "InvalidParameterValue.ImageUri"
INVALIDPARAMETERVALUE_LAYERS = "InvalidParameterValue.Layers"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MEMORY = "InvalidParameterValue.Memory"
INVALIDPARAMETERVALUE_MEMORYSIZE = "InvalidParameterValue.MemorySize"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_NODESPEC = "InvalidParameterValue.NodeSpec"
INVALIDPARAMETERVALUE_NODETYPE = "InvalidParameterValue.NodeType"
INVALIDPARAMETERVALUE_PROTOCOLTYPE = "InvalidParameterValue.ProtocolType"
INVALIDPARAMETERVALUE_PUBLICNETCONFIG = "InvalidParameterValue.PublicNetConfig"
INVALIDPARAMETERVALUE_REGISTRYID = "InvalidParameterValue.RegistryId"
INVALIDPARAMETERVALUE_RUNTIME = "InvalidParameterValue.Runtime"
INVALIDPARAMETERVALUE_STAMP = "InvalidParameterValue.Stamp"
INVALIDPARAMETERVALUE_TEMPCOSOBJECTNAME = "InvalidParameterValue.TempCosObjectName"
INVALIDPARAMETERVALUE_TRACEENABLE = "InvalidParameterValue.TraceEnable"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
INVALIDPARAMETERVALUE_VPCNOTSETWHENOPENCFS = "InvalidParameterValue.VpcNotSetWhenOpenCfs"
INVALIDPARAMETERVALUE_WEBSOCKETSPARAMS = "InvalidParameterValue.WebSocketsParams"
INVALIDPARAMETERVALUE_ZIPFILE = "InvalidParameterValue.ZipFile"
INVALIDPARAMETERVALUE_ZIPFILEBASE64BINASCIIERROR = "InvalidParameterValue.ZipFileBase64BinasciiError"
LIMITEXCEEDED_EIP = "LimitExceeded.Eip"
LIMITEXCEEDED_FUNCTION = "LimitExceeded.Function"
LIMITEXCEEDED_INITTIMEOUT = "LimitExceeded.InitTimeout"
LIMITEXCEEDED_MEMORY = "LimitExceeded.Memory"
LIMITEXCEEDED_TIMEOUT = "LimitExceeded.Timeout"
MISSINGPARAMETER_CODE = "MissingParameter.Code"
MISSINGPARAMETER_RUNTIME = "MissingParameter.Runtime"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_FUNCTION = "ResourceInUse.Function"
RESOURCEINUSE_FUNCTIONNAME = "ResourceInUse.FunctionName"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CFSMOUNTINSNOTMATCH = "ResourceNotFound.CfsMountInsNotMatch"
RESOURCENOTFOUND_CFSSTATUSERROR = "ResourceNotFound.CfsStatusError"
RESOURCENOTFOUND_CFSVPCNOTMATCH = "ResourceNotFound.CfsVpcNotMatch"
RESOURCENOTFOUND_CMQ = "ResourceNotFound.Cmq"
RESOURCENOTFOUND_DEMO = "ResourceNotFound.Demo"
RESOURCENOTFOUND_GETCFSMOUNTINSERROR = "ResourceNotFound.GetCfsMountInsError"
RESOURCENOTFOUND_GETCFSNOTMATCH = "ResourceNotFound.GetCfsNotMatch"
RESOURCENOTFOUND_IMAGECONFIG = "ResourceNotFound.ImageConfig"
RESOURCENOTFOUND_LAYER = "ResourceNotFound.Layer"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role"
RESOURCENOTFOUND_VPC = "ResourceNotFound.Vpc"
RESOURCEUNAVAILABLE_NAMESPACE = "ResourceUnavailable.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_REGION = "UnauthorizedOperation.Region"
UNAUTHORIZEDOPERATION_ROLE = "UnauthorizedOperation.Role"
UNAUTHORIZEDOPERATION_TEMPCOSAPPID = "UnauthorizedOperation.TempCosAppid"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_EIPFIXED = "UnsupportedOperation.EipFixed"
UNSUPPORTEDOPERATION_VPCCONFIG = "UnsupportedOperation.VpcConfig"

func (*Client) CreateNamespace

func (c *Client) CreateNamespace(request *CreateNamespaceRequest) (response *CreateNamespaceResponse, err error)

CreateNamespace This API is used to create a namespace based on the input parameters.

error code that may be returned:

FAILEDOPERATION_CREATENAMESPACE = "FailedOperation.CreateNamespace"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DEFAULTNAMESPACE = "InvalidParameterValue.DefaultNamespace"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_NAMESPACEINVALID = "InvalidParameterValue.NamespaceInvalid"
INVALIDPARAMETERVALUE_STAMP = "InvalidParameterValue.Stamp"
LIMITEXCEEDED_NAMESPACE = "LimitExceeded.Namespace"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_NAMESPACE = "ResourceInUse.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateNamespaceWithContext

func (c *Client) CreateNamespaceWithContext(ctx context.Context, request *CreateNamespaceRequest) (response *CreateNamespaceResponse, err error)

CreateNamespace This API is used to create a namespace based on the input parameters.

error code that may be returned:

FAILEDOPERATION_CREATENAMESPACE = "FailedOperation.CreateNamespace"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DEFAULTNAMESPACE = "InvalidParameterValue.DefaultNamespace"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_NAMESPACEINVALID = "InvalidParameterValue.NamespaceInvalid"
INVALIDPARAMETERVALUE_STAMP = "InvalidParameterValue.Stamp"
LIMITEXCEEDED_NAMESPACE = "LimitExceeded.Namespace"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_NAMESPACE = "ResourceInUse.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateTrigger

func (c *Client) CreateTrigger(request *CreateTriggerRequest) (response *CreateTriggerResponse, err error)

CreateTrigger This API is used to create a trigger based on the input parameters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_APIGATEWAY = "FailedOperation.ApiGateway"
FAILEDOPERATION_APIGW = "FailedOperation.Apigw"
FAILEDOPERATION_COS = "FailedOperation.Cos"
FAILEDOPERATION_CREATETRIGGER = "FailedOperation.CreateTrigger"
INTERNALERROR_APIGATEWAY = "InternalError.ApiGateway"
INTERNALERROR_CKAFKA = "InternalError.Ckafka"
INTERNALERROR_CMQ = "InternalError.Cmq"
INTERNALERROR_COS = "InternalError.Cos"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_APIGATEWAY = "InvalidParameterValue.ApiGateway"
INVALIDPARAMETERVALUE_CDN = "InvalidParameterValue.Cdn"
INVALIDPARAMETERVALUE_CKAFKA = "InvalidParameterValue.Ckafka"
INVALIDPARAMETERVALUE_COS = "InvalidParameterValue.Cos"
INVALIDPARAMETERVALUE_CUSTOMARGUMENT = "InvalidParameterValue.CustomArgument"
INVALIDPARAMETERVALUE_ENABLE = "InvalidParameterValue.Enable"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_SECRETINFO = "InvalidParameterValue.SecretInfo"
INVALIDPARAMETERVALUE_SERVICENAME = "InvalidParameterValue.ServiceName"
INVALIDPARAMETERVALUE_TRIGGERDESC = "InvalidParameterValue.TriggerDesc"
INVALIDPARAMETERVALUE_TRIGGERNAME = "InvalidParameterValue.TriggerName"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
INVALIDPARAMETERVALUE_ZIPFILE = "InvalidParameterValue.ZipFile"
LIMITEXCEEDED_CDN = "LimitExceeded.Cdn"
LIMITEXCEEDED_FUNCTIONONTOPIC = "LimitExceeded.FunctionOnTopic"
LIMITEXCEEDED_TRIGGER = "LimitExceeded.Trigger"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_CDN = "ResourceInUse.Cdn"
RESOURCEINUSE_CMQ = "ResourceInUse.Cmq"
RESOURCEINUSE_COS = "ResourceInUse.Cos"
RESOURCEINUSE_TRIGGER = "ResourceInUse.Trigger"
RESOURCEINUSE_TRIGGERNAME = "ResourceInUse.TriggerName"
RESOURCEINSUFFICIENT_COS = "ResourceInsufficient.COS"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CDN = "ResourceNotFound.Cdn"
RESOURCENOTFOUND_CKAFKA = "ResourceNotFound.Ckafka"
RESOURCENOTFOUND_CMQ = "ResourceNotFound.Cmq"
RESOURCENOTFOUND_COS = "ResourceNotFound.Cos"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_FUNCTIONVERSION = "ResourceNotFound.FunctionVersion"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_QUALIFIER = "ResourceNotFound.Qualifier"
RESOURCENOTFOUND_VERSION = "ResourceNotFound.Version"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_CREATETRIGGER = "UnauthorizedOperation.CreateTrigger"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_CDN = "UnsupportedOperation.Cdn"
UNSUPPORTEDOPERATION_COS = "UnsupportedOperation.Cos"
UNSUPPORTEDOPERATION_TRIGGER = "UnsupportedOperation.Trigger"

func (*Client) CreateTriggerWithContext

func (c *Client) CreateTriggerWithContext(ctx context.Context, request *CreateTriggerRequest) (response *CreateTriggerResponse, err error)

CreateTrigger This API is used to create a trigger based on the input parameters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_APIGATEWAY = "FailedOperation.ApiGateway"
FAILEDOPERATION_APIGW = "FailedOperation.Apigw"
FAILEDOPERATION_COS = "FailedOperation.Cos"
FAILEDOPERATION_CREATETRIGGER = "FailedOperation.CreateTrigger"
INTERNALERROR_APIGATEWAY = "InternalError.ApiGateway"
INTERNALERROR_CKAFKA = "InternalError.Ckafka"
INTERNALERROR_CMQ = "InternalError.Cmq"
INTERNALERROR_COS = "InternalError.Cos"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_APIGATEWAY = "InvalidParameterValue.ApiGateway"
INVALIDPARAMETERVALUE_CDN = "InvalidParameterValue.Cdn"
INVALIDPARAMETERVALUE_CKAFKA = "InvalidParameterValue.Ckafka"
INVALIDPARAMETERVALUE_COS = "InvalidParameterValue.Cos"
INVALIDPARAMETERVALUE_CUSTOMARGUMENT = "InvalidParameterValue.CustomArgument"
INVALIDPARAMETERVALUE_ENABLE = "InvalidParameterValue.Enable"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_SECRETINFO = "InvalidParameterValue.SecretInfo"
INVALIDPARAMETERVALUE_SERVICENAME = "InvalidParameterValue.ServiceName"
INVALIDPARAMETERVALUE_TRIGGERDESC = "InvalidParameterValue.TriggerDesc"
INVALIDPARAMETERVALUE_TRIGGERNAME = "InvalidParameterValue.TriggerName"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
INVALIDPARAMETERVALUE_ZIPFILE = "InvalidParameterValue.ZipFile"
LIMITEXCEEDED_CDN = "LimitExceeded.Cdn"
LIMITEXCEEDED_FUNCTIONONTOPIC = "LimitExceeded.FunctionOnTopic"
LIMITEXCEEDED_TRIGGER = "LimitExceeded.Trigger"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_CDN = "ResourceInUse.Cdn"
RESOURCEINUSE_CMQ = "ResourceInUse.Cmq"
RESOURCEINUSE_COS = "ResourceInUse.Cos"
RESOURCEINUSE_TRIGGER = "ResourceInUse.Trigger"
RESOURCEINUSE_TRIGGERNAME = "ResourceInUse.TriggerName"
RESOURCEINSUFFICIENT_COS = "ResourceInsufficient.COS"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CDN = "ResourceNotFound.Cdn"
RESOURCENOTFOUND_CKAFKA = "ResourceNotFound.Ckafka"
RESOURCENOTFOUND_CMQ = "ResourceNotFound.Cmq"
RESOURCENOTFOUND_COS = "ResourceNotFound.Cos"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_FUNCTIONVERSION = "ResourceNotFound.FunctionVersion"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_QUALIFIER = "ResourceNotFound.Qualifier"
RESOURCENOTFOUND_VERSION = "ResourceNotFound.Version"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_CREATETRIGGER = "UnauthorizedOperation.CreateTrigger"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_CDN = "UnsupportedOperation.Cdn"
UNSUPPORTEDOPERATION_COS = "UnsupportedOperation.Cos"
UNSUPPORTEDOPERATION_TRIGGER = "UnsupportedOperation.Trigger"

func (*Client) DeleteAlias

func (c *Client) DeleteAlias(request *DeleteAliasRequest) (response *DeleteAliasResponse, err error)

DeleteAlias This API is used to delete an alias of a function version.

error code that may be returned:

FAILEDOPERATION_DELETEALIAS = "FailedOperation.DeleteAlias"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE_ALIAS = "InvalidParameterValue.Alias"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
RESOURCENOTFOUND_ALIAS = "ResourceNotFound.Alias"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"

func (*Client) DeleteAliasWithContext

func (c *Client) DeleteAliasWithContext(ctx context.Context, request *DeleteAliasRequest) (response *DeleteAliasResponse, err error)

DeleteAlias This API is used to delete an alias of a function version.

error code that may be returned:

FAILEDOPERATION_DELETEALIAS = "FailedOperation.DeleteAlias"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE_ALIAS = "InvalidParameterValue.Alias"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
RESOURCENOTFOUND_ALIAS = "ResourceNotFound.Alias"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"

func (*Client) DeleteFunction

func (c *Client) DeleteFunction(request *DeleteFunctionRequest) (response *DeleteFunctionResponse, err error)

DeleteFunction This API is used to delete a function based on the input parameters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DELETEFUNCTION = "FailedOperation.DeleteFunction"
FAILEDOPERATION_FUNCTIONNAMESTATUSERROR = "FailedOperation.FunctionNameStatusError"
FAILEDOPERATION_FUNCTIONSTATUSERROR = "FailedOperation.FunctionStatusError"
FAILEDOPERATION_PROVISIONEDINPROGRESS = "FailedOperation.ProvisionedInProgress"
INTERNALERROR_CMQ = "InternalError.Cmq"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_PAYLOAD = "InvalidParameter.Payload"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_QUALIFIER = "InvalidParameterValue.Qualifier"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_QUALIFIER = "ResourceNotFound.Qualifier"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_DELETEFUNCTION = "UnauthorizedOperation.DeleteFunction"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_ALIASBIND = "UnsupportedOperation.AliasBind"

func (*Client) DeleteFunctionWithContext

func (c *Client) DeleteFunctionWithContext(ctx context.Context, request *DeleteFunctionRequest) (response *DeleteFunctionResponse, err error)

DeleteFunction This API is used to delete a function based on the input parameters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DELETEFUNCTION = "FailedOperation.DeleteFunction"
FAILEDOPERATION_FUNCTIONNAMESTATUSERROR = "FailedOperation.FunctionNameStatusError"
FAILEDOPERATION_FUNCTIONSTATUSERROR = "FailedOperation.FunctionStatusError"
FAILEDOPERATION_PROVISIONEDINPROGRESS = "FailedOperation.ProvisionedInProgress"
INTERNALERROR_CMQ = "InternalError.Cmq"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_PAYLOAD = "InvalidParameter.Payload"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_QUALIFIER = "InvalidParameterValue.Qualifier"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_QUALIFIER = "ResourceNotFound.Qualifier"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_DELETEFUNCTION = "UnauthorizedOperation.DeleteFunction"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_ALIASBIND = "UnsupportedOperation.AliasBind"

func (*Client) DeleteLayerVersion

func (c *Client) DeleteLayerVersion(request *DeleteLayerVersionRequest) (response *DeleteLayerVersionResponse, err error)

DeleteLayerVersion This API is used to delete a specified version of a specified layer. The deleted version cannot be associated with a function, but the deletion does not affect functions that are referencing this layer.

error code that may be returned:

FAILEDOPERATION_DELETELAYERVERSION = "FailedOperation.DeleteLayerVersion"
FAILEDOPERATION_OPERATIONCONFLICT = "FailedOperation.OperationConflict"
INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
RESOURCEINUSE_LAYERVERSION = "ResourceInUse.LayerVersion"
RESOURCENOTFOUND_LAYERVERSION = "ResourceNotFound.LayerVersion"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) DeleteLayerVersionWithContext

func (c *Client) DeleteLayerVersionWithContext(ctx context.Context, request *DeleteLayerVersionRequest) (response *DeleteLayerVersionResponse, err error)

DeleteLayerVersion This API is used to delete a specified version of a specified layer. The deleted version cannot be associated with a function, but the deletion does not affect functions that are referencing this layer.

error code that may be returned:

FAILEDOPERATION_DELETELAYERVERSION = "FailedOperation.DeleteLayerVersion"
FAILEDOPERATION_OPERATIONCONFLICT = "FailedOperation.OperationConflict"
INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
RESOURCEINUSE_LAYERVERSION = "ResourceInUse.LayerVersion"
RESOURCENOTFOUND_LAYERVERSION = "ResourceNotFound.LayerVersion"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) DeleteNamespace

func (c *Client) DeleteNamespace(request *DeleteNamespaceRequest) (response *DeleteNamespaceResponse, err error)

DeleteNamespace This API is used to delete the specific namespace according to the parameters passed in.

error code that may be returned:

FAILEDOPERATION_DELETENAMESPACE = "FailedOperation.DeleteNamespace"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_NAMESPACEINVALID = "InvalidParameterValue.NamespaceInvalid"
RESOURCEINUSE_NAMESPACE = "ResourceInUse.Namespace"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteNamespaceWithContext

func (c *Client) DeleteNamespaceWithContext(ctx context.Context, request *DeleteNamespaceRequest) (response *DeleteNamespaceResponse, err error)

DeleteNamespace This API is used to delete the specific namespace according to the parameters passed in.

error code that may be returned:

FAILEDOPERATION_DELETENAMESPACE = "FailedOperation.DeleteNamespace"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_NAMESPACEINVALID = "InvalidParameterValue.NamespaceInvalid"
RESOURCEINUSE_NAMESPACE = "ResourceInUse.Namespace"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteProvisionedConcurrencyConfig

func (c *Client) DeleteProvisionedConcurrencyConfig(request *DeleteProvisionedConcurrencyConfigRequest) (response *DeleteProvisionedConcurrencyConfigResponse, err error)

DeleteProvisionedConcurrencyConfig This API is used to delete the provisioned concurrency configuration of a function version.

error code that may be returned:

FAILEDOPERATION_PROVISIONEDINPROGRESS = "FailedOperation.ProvisionedInProgress"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_QUALIFIER = "InvalidParameterValue.Qualifier"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONVERSION = "ResourceNotFound.FunctionVersion"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_VERSION = "ResourceNotFound.Version"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteProvisionedConcurrencyConfigWithContext

func (c *Client) DeleteProvisionedConcurrencyConfigWithContext(ctx context.Context, request *DeleteProvisionedConcurrencyConfigRequest) (response *DeleteProvisionedConcurrencyConfigResponse, err error)

DeleteProvisionedConcurrencyConfig This API is used to delete the provisioned concurrency configuration of a function version.

error code that may be returned:

FAILEDOPERATION_PROVISIONEDINPROGRESS = "FailedOperation.ProvisionedInProgress"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_QUALIFIER = "InvalidParameterValue.Qualifier"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONVERSION = "ResourceNotFound.FunctionVersion"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_VERSION = "ResourceNotFound.Version"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteReservedConcurrencyConfig

func (c *Client) DeleteReservedConcurrencyConfig(request *DeleteReservedConcurrencyConfigRequest) (response *DeleteReservedConcurrencyConfigResponse, err error)

DeleteReservedConcurrencyConfig This API is used to delete the configuration of reserved quota.

error code that may be returned:

FAILEDOPERATION_DEBUGMODESTATUS = "FailedOperation.DebugModeStatus"
FAILEDOPERATION_RESERVEDINPROGRESS = "FailedOperation.ReservedInProgress"
INTERNALERROR = "InternalError"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteReservedConcurrencyConfigWithContext

func (c *Client) DeleteReservedConcurrencyConfigWithContext(ctx context.Context, request *DeleteReservedConcurrencyConfigRequest) (response *DeleteReservedConcurrencyConfigResponse, err error)

DeleteReservedConcurrencyConfig This API is used to delete the configuration of reserved quota.

error code that may be returned:

FAILEDOPERATION_DEBUGMODESTATUS = "FailedOperation.DebugModeStatus"
FAILEDOPERATION_RESERVEDINPROGRESS = "FailedOperation.ReservedInProgress"
INTERNALERROR = "InternalError"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteTrigger

func (c *Client) DeleteTrigger(request *DeleteTriggerRequest) (response *DeleteTriggerResponse, err error)

DeleteTrigger This API is used to delete an existing trigger based on the input parameters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CREATETRIGGER = "FailedOperation.CreateTrigger"
FAILEDOPERATION_DELETETRIGGER = "FailedOperation.DeleteTrigger"
INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_APIGATEWAY = "InvalidParameterValue.ApiGateway"
INVALIDPARAMETERVALUE_CDN = "InvalidParameterValue.Cdn"
INVALIDPARAMETERVALUE_CMQ = "InvalidParameterValue.Cmq"
INVALIDPARAMETERVALUE_COS = "InvalidParameterValue.Cos"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_TRIGGERDESC = "InvalidParameterValue.TriggerDesc"
INVALIDPARAMETERVALUE_TRIGGERNAME = "InvalidParameterValue.TriggerName"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
RESOURCEINUSE_CDN = "ResourceInUse.Cdn"
RESOURCEINUSE_CMQ = "ResourceInUse.Cmq"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CDN = "ResourceNotFound.Cdn"
RESOURCENOTFOUND_CMQ = "ResourceNotFound.Cmq"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_TIMER = "ResourceNotFound.Timer"
RESOURCENOTFOUND_TRIGGER = "ResourceNotFound.Trigger"
RESOURCENOTFOUND_VERSION = "ResourceNotFound.Version"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_DELETETRIGGER = "UnauthorizedOperation.DeleteTrigger"
UNSUPPORTEDOPERATION_CDN = "UnsupportedOperation.Cdn"

func (*Client) DeleteTriggerWithContext

func (c *Client) DeleteTriggerWithContext(ctx context.Context, request *DeleteTriggerRequest) (response *DeleteTriggerResponse, err error)

DeleteTrigger This API is used to delete an existing trigger based on the input parameters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CREATETRIGGER = "FailedOperation.CreateTrigger"
FAILEDOPERATION_DELETETRIGGER = "FailedOperation.DeleteTrigger"
INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_APIGATEWAY = "InvalidParameterValue.ApiGateway"
INVALIDPARAMETERVALUE_CDN = "InvalidParameterValue.Cdn"
INVALIDPARAMETERVALUE_CMQ = "InvalidParameterValue.Cmq"
INVALIDPARAMETERVALUE_COS = "InvalidParameterValue.Cos"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_TRIGGERDESC = "InvalidParameterValue.TriggerDesc"
INVALIDPARAMETERVALUE_TRIGGERNAME = "InvalidParameterValue.TriggerName"
INVALIDPARAMETERVALUE_TYPE = "InvalidParameterValue.Type"
RESOURCEINUSE_CDN = "ResourceInUse.Cdn"
RESOURCEINUSE_CMQ = "ResourceInUse.Cmq"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_CDN = "ResourceNotFound.Cdn"
RESOURCENOTFOUND_CMQ = "ResourceNotFound.Cmq"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_TIMER = "ResourceNotFound.Timer"
RESOURCENOTFOUND_TRIGGER = "ResourceNotFound.Trigger"
RESOURCENOTFOUND_VERSION = "ResourceNotFound.Version"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_DELETETRIGGER = "UnauthorizedOperation.DeleteTrigger"
UNSUPPORTEDOPERATION_CDN = "UnsupportedOperation.Cdn"

func (*Client) GetAccount

func (c *Client) GetAccount(request *GetAccountRequest) (response *GetAccountResponse, err error)

GetAccount This API is used to get the account information.

error code that may be returned:

INVALIDPARAMETERVALUE_STAMP = "InvalidParameterValue.Stamp"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) GetAccountWithContext

func (c *Client) GetAccountWithContext(ctx context.Context, request *GetAccountRequest) (response *GetAccountResponse, err error)

GetAccount This API is used to get the account information.

error code that may be returned:

INVALIDPARAMETERVALUE_STAMP = "InvalidParameterValue.Stamp"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) GetAlias

func (c *Client) GetAlias(request *GetAliasRequest) (response *GetAliasResponse, err error)

GetAlias This API is used to get the alias details such as the name, description, version, and routing information.

error code that may be returned:

FAILEDOPERATION_GETALIAS = "FailedOperation.GetAlias"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_ROUTINGCONFIG = "InvalidParameter.RoutingConfig"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
RESOURCENOTFOUND_ALIAS = "ResourceNotFound.Alias"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) GetAliasWithContext

func (c *Client) GetAliasWithContext(ctx context.Context, request *GetAliasRequest) (response *GetAliasResponse, err error)

GetAlias This API is used to get the alias details such as the name, description, version, and routing information.

error code that may be returned:

FAILEDOPERATION_GETALIAS = "FailedOperation.GetAlias"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_ROUTINGCONFIG = "InvalidParameter.RoutingConfig"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
RESOURCENOTFOUND_ALIAS = "ResourceNotFound.Alias"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) GetAsyncEventStatus

func (c *Client) GetAsyncEventStatus(request *GetAsyncEventStatusRequest) (response *GetAsyncEventStatusResponse, err error)

GetAsyncEventStatus This API is used to get the status of an async function execution event. The event status is retained for 3*24 hours, counting from the completion of the event.

error code that may be returned:

FAILEDOPERATION_ASYNCEVENTSTATUS = "FailedOperation.AsyncEventStatus"
RESOURCENOTFOUND_ASYNCEVENT = "ResourceNotFound.AsyncEvent"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"

func (*Client) GetAsyncEventStatusWithContext

func (c *Client) GetAsyncEventStatusWithContext(ctx context.Context, request *GetAsyncEventStatusRequest) (response *GetAsyncEventStatusResponse, err error)

GetAsyncEventStatus This API is used to get the status of an async function execution event. The event status is retained for 3*24 hours, counting from the completion of the event.

error code that may be returned:

FAILEDOPERATION_ASYNCEVENTSTATUS = "FailedOperation.AsyncEventStatus"
RESOURCENOTFOUND_ASYNCEVENT = "ResourceNotFound.AsyncEvent"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"

func (*Client) GetFunction

func (c *Client) GetFunction(request *GetFunctionRequest) (response *GetFunctionResponse, err error)

GetFunction This API is used to obtain function details, such as name, code, handler, associated trigger, and timeout.

error code that may be returned:

FAILEDOPERATION_APIGW = "FailedOperation.Apigw"
INTERNALERROR = "InternalError"
INTERNALERROR_EXCEPTION = "InternalError.Exception"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_PAYLOAD = "InvalidParameter.Payload"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CODESECRET = "InvalidParameterValue.CodeSecret"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_QUALIFIER = "InvalidParameterValue.Qualifier"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_VERSION = "ResourceNotFound.Version"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_CODESECRET = "UnauthorizedOperation.CodeSecret"

func (*Client) GetFunctionAddress

func (c *Client) GetFunctionAddress(request *GetFunctionAddressRequest) (response *GetFunctionAddressResponse, err error)

GetFunctionAddress This API is used to obtain the download address of the function code package.

error code that may be returned:

FAILEDOPERATION_FUNCTIONSTATUSERROR = "FailedOperation.FunctionStatusError"
FAILEDOPERATION_GETFUNCTIONADDRESS = "FailedOperation.GetFunctionAddress"
INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_PAYLOAD = "InvalidParameter.Payload"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_QUALIFIER = "InvalidParameterValue.Qualifier"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_FUNCTIONVERSION = "ResourceNotFound.FunctionVersion"
RESOURCENOTFOUND_VERSION = "ResourceNotFound.Version"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_CODESECRET = "UnauthorizedOperation.CodeSecret"

func (*Client) GetFunctionAddressWithContext

func (c *Client) GetFunctionAddressWithContext(ctx context.Context, request *GetFunctionAddressRequest) (response *GetFunctionAddressResponse, err error)

GetFunctionAddress This API is used to obtain the download address of the function code package.

error code that may be returned:

FAILEDOPERATION_FUNCTIONSTATUSERROR = "FailedOperation.FunctionStatusError"
FAILEDOPERATION_GETFUNCTIONADDRESS = "FailedOperation.GetFunctionAddress"
INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_PAYLOAD = "InvalidParameter.Payload"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_QUALIFIER = "InvalidParameterValue.Qualifier"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_FUNCTIONVERSION = "ResourceNotFound.FunctionVersion"
RESOURCENOTFOUND_VERSION = "ResourceNotFound.Version"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_CODESECRET = "UnauthorizedOperation.CodeSecret"

func (*Client) GetFunctionEventInvokeConfig

func (c *Client) GetFunctionEventInvokeConfig(request *GetFunctionEventInvokeConfigRequest) (response *GetFunctionEventInvokeConfigResponse, err error)

GetFunctionEventInvokeConfig This API is used to get the async retry configuration of a function, including the number of retry attempts and message retention period.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_FUNCTIONVERSIONSTATUSNOTACTIVE = "FailedOperation.FunctionVersionStatusNotActive"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_QUALIFIER = "InvalidParameterValue.Qualifier"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_FUNCTIONVERSION = "ResourceNotFound.FunctionVersion"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_VERSION = "ResourceNotFound.Version"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) GetFunctionEventInvokeConfigWithContext

func (c *Client) GetFunctionEventInvokeConfigWithContext(ctx context.Context, request *GetFunctionEventInvokeConfigRequest) (response *GetFunctionEventInvokeConfigResponse, err error)

GetFunctionEventInvokeConfig This API is used to get the async retry configuration of a function, including the number of retry attempts and message retention period.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_FUNCTIONVERSIONSTATUSNOTACTIVE = "FailedOperation.FunctionVersionStatusNotActive"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_QUALIFIER = "InvalidParameterValue.Qualifier"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_FUNCTIONVERSION = "ResourceNotFound.FunctionVersion"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_VERSION = "ResourceNotFound.Version"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) GetFunctionLogs

func (c *Client) GetFunctionLogs(request *GetFunctionLogsRequest) (response *GetFunctionLogsResponse, err error)

GetFunctionLogs This API is used to return function running logs according to the specified log query criteria.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TOPICNOTEXIST = "FailedOperation.TopicNotExist"
INTERNALERROR = "InternalError"
INTERNALERROR_ES = "InternalError.ES"
INTERNALERROR_EXCEPTION = "InternalError.Exception"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_PAYLOAD = "InvalidParameter.Payload"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DATETIME = "InvalidParameterValue.DateTime"
INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset"
INVALIDPARAMETERVALUE_ORDER = "InvalidParameterValue.Order"
INVALIDPARAMETERVALUE_ORDERBY = "InvalidParameterValue.OrderBy"
INVALIDPARAMETERVALUE_RETCODE = "InvalidParameterValue.RetCode"
INVALIDPARAMETERVALUE_STARTTIMEORENDTIME = "InvalidParameterValue.StartTimeOrEndTime"
LIMITEXCEEDED_OFFSET = "LimitExceeded.Offset"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_ROLECHECK = "ResourceNotFound.RoleCheck"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) GetFunctionLogsWithContext

func (c *Client) GetFunctionLogsWithContext(ctx context.Context, request *GetFunctionLogsRequest) (response *GetFunctionLogsResponse, err error)

GetFunctionLogs This API is used to return function running logs according to the specified log query criteria.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TOPICNOTEXIST = "FailedOperation.TopicNotExist"
INTERNALERROR = "InternalError"
INTERNALERROR_ES = "InternalError.ES"
INTERNALERROR_EXCEPTION = "InternalError.Exception"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_PAYLOAD = "InvalidParameter.Payload"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DATETIME = "InvalidParameterValue.DateTime"
INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset"
INVALIDPARAMETERVALUE_ORDER = "InvalidParameterValue.Order"
INVALIDPARAMETERVALUE_ORDERBY = "InvalidParameterValue.OrderBy"
INVALIDPARAMETERVALUE_RETCODE = "InvalidParameterValue.RetCode"
INVALIDPARAMETERVALUE_STARTTIMEORENDTIME = "InvalidParameterValue.StartTimeOrEndTime"
LIMITEXCEEDED_OFFSET = "LimitExceeded.Offset"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_ROLECHECK = "ResourceNotFound.RoleCheck"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) GetFunctionWithContext

func (c *Client) GetFunctionWithContext(ctx context.Context, request *GetFunctionRequest) (response *GetFunctionResponse, err error)

GetFunction This API is used to obtain function details, such as name, code, handler, associated trigger, and timeout.

error code that may be returned:

FAILEDOPERATION_APIGW = "FailedOperation.Apigw"
INTERNALERROR = "InternalError"
INTERNALERROR_EXCEPTION = "InternalError.Exception"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_PAYLOAD = "InvalidParameter.Payload"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CODESECRET = "InvalidParameterValue.CodeSecret"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_QUALIFIER = "InvalidParameterValue.Qualifier"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_VERSION = "ResourceNotFound.Version"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_CODESECRET = "UnauthorizedOperation.CodeSecret"

func (*Client) GetLayerVersion

func (c *Client) GetLayerVersion(request *GetLayerVersionRequest) (response *GetLayerVersionResponse, err error)

GetLayerVersion This API is used to get the layer version details, including links used to download files in the layer.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
RESOURCENOTFOUND_LAYERVERSION = "ResourceNotFound.LayerVersion"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) GetLayerVersionWithContext

func (c *Client) GetLayerVersionWithContext(ctx context.Context, request *GetLayerVersionRequest) (response *GetLayerVersionResponse, err error)

GetLayerVersion This API is used to get the layer version details, including links used to download files in the layer.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
RESOURCENOTFOUND_LAYERVERSION = "ResourceNotFound.LayerVersion"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) GetProvisionedConcurrencyConfig

func (c *Client) GetProvisionedConcurrencyConfig(request *GetProvisionedConcurrencyConfigRequest) (response *GetProvisionedConcurrencyConfigResponse, err error)

GetProvisionedConcurrencyConfig This API is used to get the provisioned concurrency details of a function or its specified version.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_QUALIFIER = "InvalidParameterValue.Qualifier"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONVERSION = "ResourceNotFound.FunctionVersion"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) GetProvisionedConcurrencyConfigWithContext

func (c *Client) GetProvisionedConcurrencyConfigWithContext(ctx context.Context, request *GetProvisionedConcurrencyConfigRequest) (response *GetProvisionedConcurrencyConfigResponse, err error)

GetProvisionedConcurrencyConfig This API is used to get the provisioned concurrency details of a function or its specified version.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_QUALIFIER = "InvalidParameterValue.Qualifier"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONVERSION = "ResourceNotFound.FunctionVersion"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) GetRequestStatus

func (c *Client) GetRequestStatus(request *GetRequestStatusRequest) (response *GetRequestStatusResponse, err error)

GetRequestStatus This API is used to query the status of a single function request.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TOPICNOTEXIST = "FailedOperation.TopicNotExist"
INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DATETIME = "InvalidParameterValue.DateTime"
INVALIDPARAMETERVALUE_FUNCTION = "InvalidParameterValue.Function"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_RETCODE = "InvalidParameterValue.RetCode"
INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
INVALIDPARAMETERVALUE_STARTTIMEORENDTIME = "InvalidParameterValue.StartTimeOrEndTime"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"

func (*Client) GetRequestStatusWithContext

func (c *Client) GetRequestStatusWithContext(ctx context.Context, request *GetRequestStatusRequest) (response *GetRequestStatusResponse, err error)

GetRequestStatus This API is used to query the status of a single function request.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TOPICNOTEXIST = "FailedOperation.TopicNotExist"
INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DATETIME = "InvalidParameterValue.DateTime"
INVALIDPARAMETERVALUE_FUNCTION = "InvalidParameterValue.Function"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_RETCODE = "InvalidParameterValue.RetCode"
INVALIDPARAMETERVALUE_STARTTIME = "InvalidParameterValue.StartTime"
INVALIDPARAMETERVALUE_STARTTIMEORENDTIME = "InvalidParameterValue.StartTimeOrEndTime"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"

func (*Client) GetReservedConcurrencyConfig

func (c *Client) GetReservedConcurrencyConfig(request *GetReservedConcurrencyConfigRequest) (response *GetReservedConcurrencyConfigResponse, err error)

GetReservedConcurrencyConfig This API is used to obtain the reserved quota details of a function.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) GetReservedConcurrencyConfigWithContext

func (c *Client) GetReservedConcurrencyConfigWithContext(ctx context.Context, request *GetReservedConcurrencyConfigRequest) (response *GetReservedConcurrencyConfigResponse, err error)

GetReservedConcurrencyConfig This API is used to obtain the reserved quota details of a function.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) Invoke

func (c *Client) Invoke(request *InvokeRequest) (response *InvokeResponse, err error)

Invoke This API is used to run a function.

error code that may be returned:

FAILEDOPERATION_FUNCTIONSTATUSERROR = "FailedOperation.FunctionStatusError"
FAILEDOPERATION_INVOKEFUNCTION = "FailedOperation.InvokeFunction"
INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_FUNCTIONNAME = "InvalidParameter.FunctionName"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_PARAM = "InvalidParameterValue.Param"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCEUNAVAILABLE_INSUFFICIENTBALANCE = "ResourceUnavailable.InsufficientBalance"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) InvokeFunction

func (c *Client) InvokeFunction(request *InvokeFunctionRequest) (response *InvokeFunctionResponse, err error)

InvokeFunction

This API is used to invoke functions synchronously.

error code that may be returned:

FAILEDOPERATION_FUNCTIONSTATUSERROR = "FailedOperation.FunctionStatusError"
FAILEDOPERATION_INVOKEFUNCTION = "FailedOperation.InvokeFunction"
INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_FUNCTIONNAME = "InvalidParameter.FunctionName"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CLIENTCONTEXT = "InvalidParameterValue.ClientContext"
INVALIDPARAMETERVALUE_PARAM = "InvalidParameterValue.Param"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_QUALIFIER = "ResourceNotFound.Qualifier"
RESOURCEUNAVAILABLE_INSUFFICIENTBALANCE = "ResourceUnavailable.InsufficientBalance"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) InvokeFunctionWithContext

func (c *Client) InvokeFunctionWithContext(ctx context.Context, request *InvokeFunctionRequest) (response *InvokeFunctionResponse, err error)

InvokeFunction

This API is used to invoke functions synchronously.

error code that may be returned:

FAILEDOPERATION_FUNCTIONSTATUSERROR = "FailedOperation.FunctionStatusError"
FAILEDOPERATION_INVOKEFUNCTION = "FailedOperation.InvokeFunction"
INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_FUNCTIONNAME = "InvalidParameter.FunctionName"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CLIENTCONTEXT = "InvalidParameterValue.ClientContext"
INVALIDPARAMETERVALUE_PARAM = "InvalidParameterValue.Param"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_QUALIFIER = "ResourceNotFound.Qualifier"
RESOURCEUNAVAILABLE_INSUFFICIENTBALANCE = "ResourceUnavailable.InsufficientBalance"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) InvokeWithContext

func (c *Client) InvokeWithContext(ctx context.Context, request *InvokeRequest) (response *InvokeResponse, err error)

Invoke This API is used to run a function.

error code that may be returned:

FAILEDOPERATION_FUNCTIONSTATUSERROR = "FailedOperation.FunctionStatusError"
FAILEDOPERATION_INVOKEFUNCTION = "FailedOperation.InvokeFunction"
INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_FUNCTIONNAME = "InvalidParameter.FunctionName"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_PARAM = "InvalidParameterValue.Param"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCEUNAVAILABLE_INSUFFICIENTBALANCE = "ResourceUnavailable.InsufficientBalance"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) ListAliases

func (c *Client) ListAliases(request *ListAliasesRequest) (response *ListAliasesResponse, err error)

ListAliases This API is used to return the list of all aliases under a function. You can filter them by the specific function version.

error code that may be returned:

INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) ListAliasesWithContext

func (c *Client) ListAliasesWithContext(ctx context.Context, request *ListAliasesRequest) (response *ListAliasesResponse, err error)

ListAliases This API is used to return the list of all aliases under a function. You can filter them by the specific function version.

error code that may be returned:

INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) ListAsyncEvents

func (c *Client) ListAsyncEvents(request *ListAsyncEventsRequest) (response *ListAsyncEventsResponse, err error)

ListAsyncEvents This API is used to pull the list of async function events.

error code that may be returned:

INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_INVOKETYPE = "InvalidParameterValue.InvokeType"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_ORDER = "InvalidParameterValue.Order"
INVALIDPARAMETERVALUE_STATUS = "InvalidParameterValue.Status"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_VERSION = "ResourceNotFound.Version"

func (*Client) ListAsyncEventsWithContext

func (c *Client) ListAsyncEventsWithContext(ctx context.Context, request *ListAsyncEventsRequest) (response *ListAsyncEventsResponse, err error)

ListAsyncEvents This API is used to pull the list of async function events.

error code that may be returned:

INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_INVOKETYPE = "InvalidParameterValue.InvokeType"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_ORDER = "InvalidParameterValue.Order"
INVALIDPARAMETERVALUE_STATUS = "InvalidParameterValue.Status"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_VERSION = "ResourceNotFound.Version"

func (*Client) ListFunctions

func (c *Client) ListFunctions(request *ListFunctionsRequest) (response *ListFunctionsResponse, err error)

ListFunctions This API is used to return relevant function information based on the input query parameters.

error code that may be returned:

INTERNALERROR_EXCEPTION = "InternalError.Exception"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_PAYLOAD = "InvalidParameter.Payload"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset"
INVALIDPARAMETERVALUE_ORDER = "InvalidParameterValue.Order"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_REGION = "UnauthorizedOperation.Region"

func (*Client) ListFunctionsWithContext

func (c *Client) ListFunctionsWithContext(ctx context.Context, request *ListFunctionsRequest) (response *ListFunctionsResponse, err error)

ListFunctions This API is used to return relevant function information based on the input query parameters.

error code that may be returned:

INTERNALERROR_EXCEPTION = "InternalError.Exception"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_PAYLOAD = "InvalidParameter.Payload"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LIMIT = "InvalidParameterValue.Limit"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_OFFSET = "InvalidParameterValue.Offset"
INVALIDPARAMETERVALUE_ORDER = "InvalidParameterValue.Order"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_REGION = "UnauthorizedOperation.Region"

func (*Client) ListLayerVersions

func (c *Client) ListLayerVersions(request *ListLayerVersionsRequest) (response *ListLayerVersionsResponse, err error)

ListLayerVersions This API is used to get the information of all versions of a specified layer.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
RESOURCENOTFOUND_LAYER = "ResourceNotFound.Layer"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) ListLayerVersionsWithContext

func (c *Client) ListLayerVersionsWithContext(ctx context.Context, request *ListLayerVersionsRequest) (response *ListLayerVersionsResponse, err error)

ListLayerVersions This API is used to get the information of all versions of a specified layer.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
RESOURCENOTFOUND_LAYER = "ResourceNotFound.Layer"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) ListLayers

func (c *Client) ListLayers(request *ListLayersRequest) (response *ListLayersResponse, err error)

ListLayers This API is used to return the list of all layers, including the information of the latest version of each layer. You can filter them by the compatible runtime.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE_RUNTIME = "InvalidParameterValue.Runtime"
INVALIDPARAMETERVALUE_STAMP = "InvalidParameterValue.Stamp"
LIMITEXCEEDED_LAYERS = "LimitExceeded.Layers"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) ListLayersWithContext

func (c *Client) ListLayersWithContext(ctx context.Context, request *ListLayersRequest) (response *ListLayersResponse, err error)

ListLayers This API is used to return the list of all layers, including the information of the latest version of each layer. You can filter them by the compatible runtime.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE_RUNTIME = "InvalidParameterValue.Runtime"
INVALIDPARAMETERVALUE_STAMP = "InvalidParameterValue.Stamp"
LIMITEXCEEDED_LAYERS = "LimitExceeded.Layers"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) ListNamespaces

func (c *Client) ListNamespaces(request *ListNamespacesRequest) (response *ListNamespacesResponse, err error)

ListNamespaces This API is used to display a namespace list.

error code that may be returned:

INVALIDPARAMETERVALUE_FILTERS = "InvalidParameterValue.Filters"
INVALIDPARAMETERVALUE_ORDER = "InvalidParameterValue.Order"
INVALIDPARAMETERVALUE_SEARCHKEY = "InvalidParameterValue.SearchKey"
INVALIDPARAMETERVALUE_STAMP = "InvalidParameterValue.Stamp"

func (*Client) ListNamespacesWithContext

func (c *Client) ListNamespacesWithContext(ctx context.Context, request *ListNamespacesRequest) (response *ListNamespacesResponse, err error)

ListNamespaces This API is used to display a namespace list.

error code that may be returned:

INVALIDPARAMETERVALUE_FILTERS = "InvalidParameterValue.Filters"
INVALIDPARAMETERVALUE_ORDER = "InvalidParameterValue.Order"
INVALIDPARAMETERVALUE_SEARCHKEY = "InvalidParameterValue.SearchKey"
INVALIDPARAMETERVALUE_STAMP = "InvalidParameterValue.Stamp"

func (*Client) ListTriggers

func (c *Client) ListTriggers(request *ListTriggersRequest) (response *ListTriggersResponse, err error)

ListTriggers This API is used to get the function trigger list.

error code that may be returned:

FAILEDOPERATION_APIGW = "FailedOperation.Apigw"
INVALIDPARAMETERVALUE_FILTERS = "InvalidParameterValue.Filters"
INVALIDPARAMETERVALUE_ORDER = "InvalidParameterValue.Order"
INVALIDPARAMETERVALUE_ORDERBY = "InvalidParameterValue.OrderBy"

func (*Client) ListTriggersWithContext

func (c *Client) ListTriggersWithContext(ctx context.Context, request *ListTriggersRequest) (response *ListTriggersResponse, err error)

ListTriggers This API is used to get the function trigger list.

error code that may be returned:

FAILEDOPERATION_APIGW = "FailedOperation.Apigw"
INVALIDPARAMETERVALUE_FILTERS = "InvalidParameterValue.Filters"
INVALIDPARAMETERVALUE_ORDER = "InvalidParameterValue.Order"
INVALIDPARAMETERVALUE_ORDERBY = "InvalidParameterValue.OrderBy"

func (*Client) ListVersionByFunction

func (c *Client) ListVersionByFunction(request *ListVersionByFunctionRequest) (response *ListVersionByFunctionResponse, err error)

ListVersionByFunction This API is used to query the function version based on the input parameters.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_ORDER = "InvalidParameterValue.Order"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) ListVersionByFunctionWithContext

func (c *Client) ListVersionByFunctionWithContext(ctx context.Context, request *ListVersionByFunctionRequest) (response *ListVersionByFunctionResponse, err error)

ListVersionByFunction This API is used to query the function version based on the input parameters.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_ORDER = "InvalidParameterValue.Order"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) PublishLayerVersion

func (c *Client) PublishLayerVersion(request *PublishLayerVersionRequest) (response *PublishLayerVersionResponse, err error)

PublishLayerVersion This API is used to create a version for a layer by using the given .zip file or COS object. Each time this API is called with the same layer name, a new version will be generated.

error code that may be returned:

FAILEDOPERATION_PUBLISHLAYERVERSION = "FailedOperation.PublishLayerVersion"
INTERNALERROR = "InternalError"
INTERNALERROR_EXCEPTION = "InternalError.Exception"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE_COMPATIBLERUNTIMES = "InvalidParameterValue.CompatibleRuntimes"
INVALIDPARAMETERVALUE_CONTENT = "InvalidParameterValue.Content"
INVALIDPARAMETERVALUE_COS = "InvalidParameterValue.Cos"
INVALIDPARAMETERVALUE_COSBUCKETNAME = "InvalidParameterValue.CosBucketName"
INVALIDPARAMETERVALUE_COSBUCKETREGION = "InvalidParameterValue.CosBucketRegion"
INVALIDPARAMETERVALUE_COSOBJECTNAME = "InvalidParameterValue.CosObjectName"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_LAYERNAME = "InvalidParameterValue.LayerName"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_RUNTIME = "InvalidParameterValue.Runtime"
INVALIDPARAMETERVALUE_STAMP = "InvalidParameterValue.Stamp"
INVALIDPARAMETERVALUE_TEMPCOSOBJECTNAME = "InvalidParameterValue.TempCosObjectName"
INVALIDPARAMETERVALUE_ZIPFILEBASE64BINASCIIERROR = "InvalidParameterValue.ZipFileBase64BinasciiError"
LIMITEXCEEDED_LAYERVERSIONS = "LimitExceeded.LayerVersions"
RESOURCEINUSE = "ResourceInUse"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_NOTMC = "UnauthorizedOperation.NotMC"
UNSUPPORTEDOPERATION_COS = "UnsupportedOperation.Cos"

func (*Client) PublishLayerVersionWithContext

func (c *Client) PublishLayerVersionWithContext(ctx context.Context, request *PublishLayerVersionRequest) (response *PublishLayerVersionResponse, err error)

PublishLayerVersion This API is used to create a version for a layer by using the given .zip file or COS object. Each time this API is called with the same layer name, a new version will be generated.

error code that may be returned:

FAILEDOPERATION_PUBLISHLAYERVERSION = "FailedOperation.PublishLayerVersion"
INTERNALERROR = "InternalError"
INTERNALERROR_EXCEPTION = "InternalError.Exception"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE_COMPATIBLERUNTIMES = "InvalidParameterValue.CompatibleRuntimes"
INVALIDPARAMETERVALUE_CONTENT = "InvalidParameterValue.Content"
INVALIDPARAMETERVALUE_COS = "InvalidParameterValue.Cos"
INVALIDPARAMETERVALUE_COSBUCKETNAME = "InvalidParameterValue.CosBucketName"
INVALIDPARAMETERVALUE_COSBUCKETREGION = "InvalidParameterValue.CosBucketRegion"
INVALIDPARAMETERVALUE_COSOBJECTNAME = "InvalidParameterValue.CosObjectName"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_LAYERNAME = "InvalidParameterValue.LayerName"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_RUNTIME = "InvalidParameterValue.Runtime"
INVALIDPARAMETERVALUE_STAMP = "InvalidParameterValue.Stamp"
INVALIDPARAMETERVALUE_TEMPCOSOBJECTNAME = "InvalidParameterValue.TempCosObjectName"
INVALIDPARAMETERVALUE_ZIPFILEBASE64BINASCIIERROR = "InvalidParameterValue.ZipFileBase64BinasciiError"
LIMITEXCEEDED_LAYERVERSIONS = "LimitExceeded.LayerVersions"
RESOURCEINUSE = "ResourceInUse"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_NOTMC = "UnauthorizedOperation.NotMC"
UNSUPPORTEDOPERATION_COS = "UnsupportedOperation.Cos"

func (*Client) PublishVersion

func (c *Client) PublishVersion(request *PublishVersionRequest) (response *PublishVersionResponse, err error)

PublishVersion This API is used for users to release a new version of the function.

error code that may be returned:

FAILEDOPERATION_PUBLISHVERSION = "FailedOperation.PublishVersion"
INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) PublishVersionWithContext

func (c *Client) PublishVersionWithContext(ctx context.Context, request *PublishVersionRequest) (response *PublishVersionResponse, err error)

PublishVersion This API is used for users to release a new version of the function.

error code that may be returned:

FAILEDOPERATION_PUBLISHVERSION = "FailedOperation.PublishVersion"
INTERNALERROR = "InternalError"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) PutProvisionedConcurrencyConfig

func (c *Client) PutProvisionedConcurrencyConfig(request *PutProvisionedConcurrencyConfigRequest) (response *PutProvisionedConcurrencyConfigResponse, err error)

PutProvisionedConcurrencyConfig This API is used to set the provisioned concurrency of a non-$LATEST version of a function.

error code that may be returned:

FAILEDOPERATION_DEBUGMODESTATUS = "FailedOperation.DebugModeStatus"
FAILEDOPERATION_FUNCTIONVERSIONSTATUSNOTACTIVE = "FailedOperation.FunctionVersionStatusNotActive"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_PROVISIONCREATETIMER = "FailedOperation.ProvisionCreateTimer"
FAILEDOPERATION_PROVISIONDELETETIMER = "FailedOperation.ProvisionDeleteTimer"
FAILEDOPERATION_PROVISIONEDINPROGRESS = "FailedOperation.ProvisionedInProgress"
FAILEDOPERATION_UNOPENEDSERVICE = "FailedOperation.UnOpenedService"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_PROVISIONTRIGGERCRONCONFIGDUPLICATE = "InvalidParameterValue.ProvisionTriggerCronConfigDuplicate"
INVALIDPARAMETERVALUE_PROVISIONTRIGGERNAME = "InvalidParameterValue.ProvisionTriggerName"
INVALIDPARAMETERVALUE_PROVISIONTRIGGERNAMEDUPLICATE = "InvalidParameterValue.ProvisionTriggerNameDuplicate"
INVALIDPARAMETERVALUE_PROVISIONTYPE = "InvalidParameterValue.ProvisionType"
INVALIDPARAMETERVALUE_QUALIFIER = "InvalidParameterValue.Qualifier"
INVALIDPARAMETERVALUE_TRACKINGTARGET = "InvalidParameterValue.TrackingTarget"
INVALIDPARAMETERVALUE_TRIGGERCRONCONFIG = "InvalidParameterValue.TriggerCronConfig"
INVALIDPARAMETERVALUE_TRIGGERCRONCONFIGTIMEINTERVAL = "InvalidParameterValue.TriggerCronConfigTimeInterval"
INVALIDPARAMETERVALUE_TRIGGERPROVISIONEDCONCURRENCYNUM = "InvalidParameterValue.TriggerProvisionedConcurrencyNum"
LIMITEXCEEDED_FUNCTIONPROVISIONEDCONCURRENCYMEMORY = "LimitExceeded.FunctionProvisionedConcurrencyMemory"
LIMITEXCEEDED_FUNCTIONTOTALPROVISIONEDCONCURRENCYMEMORY = "LimitExceeded.FunctionTotalProvisionedConcurrencyMemory"
LIMITEXCEEDED_FUNCTIONTOTALPROVISIONEDCONCURRENCYNUM = "LimitExceeded.FunctionTotalProvisionedConcurrencyNum"
LIMITEXCEEDED_PROVISIONTRIGGERACTION = "LimitExceeded.ProvisionTriggerAction"
LIMITEXCEEDED_PROVISIONTRIGGERINTERVAL = "LimitExceeded.ProvisionTriggerInterval"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_FUNCTIONVERSION = "ResourceNotFound.FunctionVersion"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_VERSION = "ResourceNotFound.Version"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) PutProvisionedConcurrencyConfigWithContext

func (c *Client) PutProvisionedConcurrencyConfigWithContext(ctx context.Context, request *PutProvisionedConcurrencyConfigRequest) (response *PutProvisionedConcurrencyConfigResponse, err error)

PutProvisionedConcurrencyConfig This API is used to set the provisioned concurrency of a non-$LATEST version of a function.

error code that may be returned:

FAILEDOPERATION_DEBUGMODESTATUS = "FailedOperation.DebugModeStatus"
FAILEDOPERATION_FUNCTIONVERSIONSTATUSNOTACTIVE = "FailedOperation.FunctionVersionStatusNotActive"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_PROVISIONCREATETIMER = "FailedOperation.ProvisionCreateTimer"
FAILEDOPERATION_PROVISIONDELETETIMER = "FailedOperation.ProvisionDeleteTimer"
FAILEDOPERATION_PROVISIONEDINPROGRESS = "FailedOperation.ProvisionedInProgress"
FAILEDOPERATION_UNOPENEDSERVICE = "FailedOperation.UnOpenedService"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_PROVISIONTRIGGERCRONCONFIGDUPLICATE = "InvalidParameterValue.ProvisionTriggerCronConfigDuplicate"
INVALIDPARAMETERVALUE_PROVISIONTRIGGERNAME = "InvalidParameterValue.ProvisionTriggerName"
INVALIDPARAMETERVALUE_PROVISIONTRIGGERNAMEDUPLICATE = "InvalidParameterValue.ProvisionTriggerNameDuplicate"
INVALIDPARAMETERVALUE_PROVISIONTYPE = "InvalidParameterValue.ProvisionType"
INVALIDPARAMETERVALUE_QUALIFIER = "InvalidParameterValue.Qualifier"
INVALIDPARAMETERVALUE_TRACKINGTARGET = "InvalidParameterValue.TrackingTarget"
INVALIDPARAMETERVALUE_TRIGGERCRONCONFIG = "InvalidParameterValue.TriggerCronConfig"
INVALIDPARAMETERVALUE_TRIGGERCRONCONFIGTIMEINTERVAL = "InvalidParameterValue.TriggerCronConfigTimeInterval"
INVALIDPARAMETERVALUE_TRIGGERPROVISIONEDCONCURRENCYNUM = "InvalidParameterValue.TriggerProvisionedConcurrencyNum"
LIMITEXCEEDED_FUNCTIONPROVISIONEDCONCURRENCYMEMORY = "LimitExceeded.FunctionProvisionedConcurrencyMemory"
LIMITEXCEEDED_FUNCTIONTOTALPROVISIONEDCONCURRENCYMEMORY = "LimitExceeded.FunctionTotalProvisionedConcurrencyMemory"
LIMITEXCEEDED_FUNCTIONTOTALPROVISIONEDCONCURRENCYNUM = "LimitExceeded.FunctionTotalProvisionedConcurrencyNum"
LIMITEXCEEDED_PROVISIONTRIGGERACTION = "LimitExceeded.ProvisionTriggerAction"
LIMITEXCEEDED_PROVISIONTRIGGERINTERVAL = "LimitExceeded.ProvisionTriggerInterval"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_FUNCTIONVERSION = "ResourceNotFound.FunctionVersion"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_VERSION = "ResourceNotFound.Version"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) PutReservedConcurrencyConfig

func (c *Client) PutReservedConcurrencyConfig(request *PutReservedConcurrencyConfigRequest) (response *PutReservedConcurrencyConfigResponse, err error)

PutReservedConcurrencyConfig This API is used to configure the reserved quota of a function.

error code that may be returned:

FAILEDOPERATION_DEBUGMODESTATUS = "FailedOperation.DebugModeStatus"
FAILEDOPERATION_FUNCTIONVERSIONSTATUSNOTACTIVE = "FailedOperation.FunctionVersionStatusNotActive"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_RESERVEDINPROGRESS = "FailedOperation.ReservedInProgress"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_FUNCTIONRESERVEDCONCURRENCYMEMORY = "LimitExceeded.FunctionReservedConcurrencyMemory"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) PutReservedConcurrencyConfigWithContext

func (c *Client) PutReservedConcurrencyConfigWithContext(ctx context.Context, request *PutReservedConcurrencyConfigRequest) (response *PutReservedConcurrencyConfigResponse, err error)

PutReservedConcurrencyConfig This API is used to configure the reserved quota of a function.

error code that may be returned:

FAILEDOPERATION_DEBUGMODESTATUS = "FailedOperation.DebugModeStatus"
FAILEDOPERATION_FUNCTIONVERSIONSTATUSNOTACTIVE = "FailedOperation.FunctionVersionStatusNotActive"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_RESERVEDINPROGRESS = "FailedOperation.ReservedInProgress"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_FUNCTIONRESERVEDCONCURRENCYMEMORY = "LimitExceeded.FunctionReservedConcurrencyMemory"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) PutTotalConcurrencyConfig

func (c *Client) PutTotalConcurrencyConfig(request *PutTotalConcurrencyConfigRequest) (response *PutTotalConcurrencyConfigResponse, err error)

PutTotalConcurrencyConfig This API is used to modify the account concurrency quota.

error code that may be returned:

FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_TOTALCONCURRENCYMEMORYINPROGRESS = "FailedOperation.TotalConcurrencyMemoryInProgress"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_TOTALCONCURRENCYMEMORY = "LimitExceeded.TotalConcurrencyMemory"
LIMITEXCEEDED_USERTOTALCONCURRENCYMEMORY = "LimitExceeded.UserTotalConcurrencyMemory"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_TOTALCONCURRENCYMEMORY = "ResourceNotFound.TotalConcurrencyMemory"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) PutTotalConcurrencyConfigWithContext

func (c *Client) PutTotalConcurrencyConfigWithContext(ctx context.Context, request *PutTotalConcurrencyConfigRequest) (response *PutTotalConcurrencyConfigResponse, err error)

PutTotalConcurrencyConfig This API is used to modify the account concurrency quota.

error code that may be returned:

FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_TOTALCONCURRENCYMEMORYINPROGRESS = "FailedOperation.TotalConcurrencyMemoryInProgress"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_TOTALCONCURRENCYMEMORY = "LimitExceeded.TotalConcurrencyMemory"
LIMITEXCEEDED_USERTOTALCONCURRENCYMEMORY = "LimitExceeded.UserTotalConcurrencyMemory"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_TOTALCONCURRENCYMEMORY = "ResourceNotFound.TotalConcurrencyMemory"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) TerminateAsyncEvent

func (c *Client) TerminateAsyncEvent(request *TerminateAsyncEventRequest) (response *TerminateAsyncEventResponse, err error)

TerminateAsyncEvent This API is used to terminate a running async function event.

error code that may be returned:

FAILEDOPERATION_ASYNCEVENTSTATUS = "FailedOperation.AsyncEventStatus"
RESOURCENOTFOUND_ASYNCEVENT = "ResourceNotFound.AsyncEvent"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"

func (*Client) TerminateAsyncEventWithContext

func (c *Client) TerminateAsyncEventWithContext(ctx context.Context, request *TerminateAsyncEventRequest) (response *TerminateAsyncEventResponse, err error)

TerminateAsyncEvent This API is used to terminate a running async function event.

error code that may be returned:

FAILEDOPERATION_ASYNCEVENTSTATUS = "FailedOperation.AsyncEventStatus"
RESOURCENOTFOUND_ASYNCEVENT = "ResourceNotFound.AsyncEvent"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"

func (*Client) UpdateAlias

func (c *Client) UpdateAlias(request *UpdateAliasRequest) (response *UpdateAliasResponse, err error)

UpdateAlias This API is used to update the configuration of an alias.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_UPDATEALIAS = "FailedOperation.UpdateAlias"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_ROUTINGCONFIG = "InvalidParameter.RoutingConfig"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ADDITIONALVERSIONWEIGHTS = "InvalidParameterValue.AdditionalVersionWeights"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_ROUTINGCONFIG = "InvalidParameterValue.RoutingConfig"
RESOURCENOTFOUND_ALIAS = "ResourceNotFound.Alias"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_FUNCTIONVERSION = "ResourceNotFound.FunctionVersion"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) UpdateAliasWithContext

func (c *Client) UpdateAliasWithContext(ctx context.Context, request *UpdateAliasRequest) (response *UpdateAliasResponse, err error)

UpdateAlias This API is used to update the configuration of an alias.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_UPDATEALIAS = "FailedOperation.UpdateAlias"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_ROUTINGCONFIG = "InvalidParameter.RoutingConfig"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ADDITIONALVERSIONWEIGHTS = "InvalidParameterValue.AdditionalVersionWeights"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_NAME = "InvalidParameterValue.Name"
INVALIDPARAMETERVALUE_ROUTINGCONFIG = "InvalidParameterValue.RoutingConfig"
RESOURCENOTFOUND_ALIAS = "ResourceNotFound.Alias"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_FUNCTIONVERSION = "ResourceNotFound.FunctionVersion"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"

func (*Client) UpdateFunctionCode

func (c *Client) UpdateFunctionCode(request *UpdateFunctionCodeRequest) (response *UpdateFunctionCodeResponse, err error)

UpdateFunctionCode This API is used to update the function code based on the input parameters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_FUNCTIONSTATUSERROR = "FailedOperation.FunctionStatusError"
FAILEDOPERATION_OPERATIONCONFLICT = "FailedOperation.OperationConflict"
FAILEDOPERATION_UPDATEFUNCTIONCODE = "FailedOperation.UpdateFunctionCode"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_PAYLOAD = "InvalidParameter.Payload"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ARGS = "InvalidParameterValue.Args"
INVALIDPARAMETERVALUE_CODE = "InvalidParameterValue.Code"
INVALIDPARAMETERVALUE_CODESECRET = "InvalidParameterValue.CodeSecret"
INVALIDPARAMETERVALUE_CODESOURCE = "InvalidParameterValue.CodeSource"
INVALIDPARAMETERVALUE_COMMAND = "InvalidParameterValue.Command"
INVALIDPARAMETERVALUE_COS = "InvalidParameterValue.Cos"
INVALIDPARAMETERVALUE_COSBUCKETNAME = "InvalidParameterValue.CosBucketName"
INVALIDPARAMETERVALUE_COSBUCKETREGION = "InvalidParameterValue.CosBucketRegion"
INVALIDPARAMETERVALUE_COSOBJECTNAME = "InvalidParameterValue.CosObjectName"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_GITBRANCH = "InvalidParameterValue.GitBranch"
INVALIDPARAMETERVALUE_GITDIRECTORY = "InvalidParameterValue.GitDirectory"
INVALIDPARAMETERVALUE_GITPASSWORD = "InvalidParameterValue.GitPassword"
INVALIDPARAMETERVALUE_GITURL = "InvalidParameterValue.GitUrl"
INVALIDPARAMETERVALUE_GITUSERNAME = "InvalidParameterValue.GitUserName"
INVALIDPARAMETERVALUE_HANDLER = "InvalidParameterValue.Handler"
INVALIDPARAMETERVALUE_IMAGEURI = "InvalidParameterValue.ImageUri"
INVALIDPARAMETERVALUE_INLINEZIPFILE = "InvalidParameterValue.InlineZipFile"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_REGISTRYID = "InvalidParameterValue.RegistryId"
INVALIDPARAMETERVALUE_TEMPCOSOBJECTNAME = "InvalidParameterValue.TempCosObjectName"
INVALIDPARAMETERVALUE_ZIPFILE = "InvalidParameterValue.ZipFile"
INVALIDPARAMETERVALUE_ZIPFILEBASE64BINASCIIERROR = "InvalidParameterValue.ZipFileBase64BinasciiError"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_TEMPCOSAPPID = "UnauthorizedOperation.TempCosAppid"
UNAUTHORIZEDOPERATION_UPDATEFUNCTIONCODE = "UnauthorizedOperation.UpdateFunctionCode"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpdateFunctionCodeWithContext

func (c *Client) UpdateFunctionCodeWithContext(ctx context.Context, request *UpdateFunctionCodeRequest) (response *UpdateFunctionCodeResponse, err error)

UpdateFunctionCode This API is used to update the function code based on the input parameters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_FUNCTIONSTATUSERROR = "FailedOperation.FunctionStatusError"
FAILEDOPERATION_OPERATIONCONFLICT = "FailedOperation.OperationConflict"
FAILEDOPERATION_UPDATEFUNCTIONCODE = "FailedOperation.UpdateFunctionCode"
INTERNALERROR_SYSTEM = "InternalError.System"
INVALIDPARAMETER_PAYLOAD = "InvalidParameter.Payload"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ARGS = "InvalidParameterValue.Args"
INVALIDPARAMETERVALUE_CODE = "InvalidParameterValue.Code"
INVALIDPARAMETERVALUE_CODESECRET = "InvalidParameterValue.CodeSecret"
INVALIDPARAMETERVALUE_CODESOURCE = "InvalidParameterValue.CodeSource"
INVALIDPARAMETERVALUE_COMMAND = "InvalidParameterValue.Command"
INVALIDPARAMETERVALUE_COS = "InvalidParameterValue.Cos"
INVALIDPARAMETERVALUE_COSBUCKETNAME = "InvalidParameterValue.CosBucketName"
INVALIDPARAMETERVALUE_COSBUCKETREGION = "InvalidParameterValue.CosBucketRegion"
INVALIDPARAMETERVALUE_COSOBJECTNAME = "InvalidParameterValue.CosObjectName"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_GITBRANCH = "InvalidParameterValue.GitBranch"
INVALIDPARAMETERVALUE_GITDIRECTORY = "InvalidParameterValue.GitDirectory"
INVALIDPARAMETERVALUE_GITPASSWORD = "InvalidParameterValue.GitPassword"
INVALIDPARAMETERVALUE_GITURL = "InvalidParameterValue.GitUrl"
INVALIDPARAMETERVALUE_GITUSERNAME = "InvalidParameterValue.GitUserName"
INVALIDPARAMETERVALUE_HANDLER = "InvalidParameterValue.Handler"
INVALIDPARAMETERVALUE_IMAGEURI = "InvalidParameterValue.ImageUri"
INVALIDPARAMETERVALUE_INLINEZIPFILE = "InvalidParameterValue.InlineZipFile"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_REGISTRYID = "InvalidParameterValue.RegistryId"
INVALIDPARAMETERVALUE_TEMPCOSOBJECTNAME = "InvalidParameterValue.TempCosObjectName"
INVALIDPARAMETERVALUE_ZIPFILE = "InvalidParameterValue.ZipFile"
INVALIDPARAMETERVALUE_ZIPFILEBASE64BINASCIIERROR = "InvalidParameterValue.ZipFileBase64BinasciiError"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNAUTHORIZEDOPERATION_TEMPCOSAPPID = "UnauthorizedOperation.TempCosAppid"
UNAUTHORIZEDOPERATION_UPDATEFUNCTIONCODE = "UnauthorizedOperation.UpdateFunctionCode"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpdateFunctionConfiguration

func (c *Client) UpdateFunctionConfiguration(request *UpdateFunctionConfigurationRequest) (response *UpdateFunctionConfigurationResponse, err error)

UpdateFunctionConfiguration This API is used to update the function configuration based on the input parameters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_APMCONFIGINSTANCEID = "FailedOperation.ApmConfigInstanceId"
FAILEDOPERATION_DEBUGMODEUPDATETIMEOUTFAIL = "FailedOperation.DebugModeUpdateTimeOutFail"
FAILEDOPERATION_QCSROLENOTFOUND = "FailedOperation.QcsRoleNotFound"
FAILEDOPERATION_RESERVEDINPROGRESS = "FailedOperation.ReservedInProgress"
FAILEDOPERATION_UPDATEFUNCTIONCONFIGURATION = "FailedOperation.UpdateFunctionConfiguration"
INTERNALERROR_SYSTEM = "InternalError.System"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PAYLOAD = "InvalidParameter.Payload"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_APMCONFIG = "InvalidParameterValue.ApmConfig"
INVALIDPARAMETERVALUE_APMCONFIGINSTANCEID = "InvalidParameterValue.ApmConfigInstanceId"
INVALIDPARAMETERVALUE_APMCONFIGREGION = "InvalidParameterValue.ApmConfigRegion"
INVALIDPARAMETERVALUE_CFSPARAMETERDUPLICATE = "InvalidParameterValue.CfsParameterDuplicate"
INVALIDPARAMETERVALUE_CFSPARAMETERERROR = "InvalidParameterValue.CfsParameterError"
INVALIDPARAMETERVALUE_CLS = "InvalidParameterValue.Cls"
INVALIDPARAMETERVALUE_CLSROLE = "InvalidParameterValue.ClsRole"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_DNSINFO = "InvalidParameterValue.DnsInfo"
INVALIDPARAMETERVALUE_EIPCONFIG = "InvalidParameterValue.EipConfig"
INVALIDPARAMETERVALUE_ENVIRONMENT = "InvalidParameterValue.Environment"
INVALIDPARAMETERVALUE_ENVIRONMENTEXCEEDEDLIMIT = "InvalidParameterValue.EnvironmentExceededLimit"
INVALIDPARAMETERVALUE_ENVIRONMENTSYSTEMPROTECT = "InvalidParameterValue.EnvironmentSystemProtect"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_HANDLER = "InvalidParameterValue.Handler"
INVALIDPARAMETERVALUE_IDLETIMEOUT = "InvalidParameterValue.IdleTimeOut"
INVALIDPARAMETERVALUE_LAYERS = "InvalidParameterValue.Layers"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MEMORY = "InvalidParameterValue.Memory"
INVALIDPARAMETERVALUE_MEMORYSIZE = "InvalidParameterValue.MemorySize"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_NODESPEC = "InvalidParameterValue.NodeSpec"
INVALIDPARAMETERVALUE_NODETYPE = "InvalidParameterValue.NodeType"
INVALIDPARAMETERVALUE_PUBLICNETCONFIG = "InvalidParameterValue.PublicNetConfig"
INVALIDPARAMETERVALUE_RUNTIME = "InvalidParameterValue.Runtime"
INVALIDPARAMETERVALUE_SYSTEMENVIRONMENT = "InvalidParameterValue.SystemEnvironment"
INVALIDPARAMETERVALUE_TRACEENABLE = "InvalidParameterValue.TraceEnable"
INVALIDPARAMETERVALUE_WEBSOCKETSPARAMS = "InvalidParameterValue.WebSocketsParams"
LIMITEXCEEDED_EIP = "LimitExceeded.Eip"
LIMITEXCEEDED_INITTIMEOUT = "LimitExceeded.InitTimeout"
LIMITEXCEEDED_MEMORY = "LimitExceeded.Memory"
LIMITEXCEEDED_TIMEOUT = "LimitExceeded.Timeout"
RESOURCENOTFOUND_CFSVPCNOTMATCH = "ResourceNotFound.CfsVpcNotMatch"
RESOURCENOTFOUND_CMQ = "ResourceNotFound.Cmq"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_GETCFSNOTMATCH = "ResourceNotFound.GetCfsNotMatch"
RESOURCENOTFOUND_LAYER = "ResourceNotFound.Layer"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role"
RESOURCENOTFOUND_VPC = "ResourceNotFound.Vpc"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_EIPFIXED = "UnsupportedOperation.EipFixed"
UNSUPPORTEDOPERATION_VPCCONFIG = "UnsupportedOperation.VpcConfig"

func (*Client) UpdateFunctionConfigurationWithContext

func (c *Client) UpdateFunctionConfigurationWithContext(ctx context.Context, request *UpdateFunctionConfigurationRequest) (response *UpdateFunctionConfigurationResponse, err error)

UpdateFunctionConfiguration This API is used to update the function configuration based on the input parameters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_APMCONFIGINSTANCEID = "FailedOperation.ApmConfigInstanceId"
FAILEDOPERATION_DEBUGMODEUPDATETIMEOUTFAIL = "FailedOperation.DebugModeUpdateTimeOutFail"
FAILEDOPERATION_QCSROLENOTFOUND = "FailedOperation.QcsRoleNotFound"
FAILEDOPERATION_RESERVEDINPROGRESS = "FailedOperation.ReservedInProgress"
FAILEDOPERATION_UPDATEFUNCTIONCONFIGURATION = "FailedOperation.UpdateFunctionConfiguration"
INTERNALERROR_SYSTEM = "InternalError.System"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_PAYLOAD = "InvalidParameter.Payload"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_APMCONFIG = "InvalidParameterValue.ApmConfig"
INVALIDPARAMETERVALUE_APMCONFIGINSTANCEID = "InvalidParameterValue.ApmConfigInstanceId"
INVALIDPARAMETERVALUE_APMCONFIGREGION = "InvalidParameterValue.ApmConfigRegion"
INVALIDPARAMETERVALUE_CFSPARAMETERDUPLICATE = "InvalidParameterValue.CfsParameterDuplicate"
INVALIDPARAMETERVALUE_CFSPARAMETERERROR = "InvalidParameterValue.CfsParameterError"
INVALIDPARAMETERVALUE_CLS = "InvalidParameterValue.Cls"
INVALIDPARAMETERVALUE_CLSROLE = "InvalidParameterValue.ClsRole"
INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
INVALIDPARAMETERVALUE_DNSINFO = "InvalidParameterValue.DnsInfo"
INVALIDPARAMETERVALUE_EIPCONFIG = "InvalidParameterValue.EipConfig"
INVALIDPARAMETERVALUE_ENVIRONMENT = "InvalidParameterValue.Environment"
INVALIDPARAMETERVALUE_ENVIRONMENTEXCEEDEDLIMIT = "InvalidParameterValue.EnvironmentExceededLimit"
INVALIDPARAMETERVALUE_ENVIRONMENTSYSTEMPROTECT = "InvalidParameterValue.EnvironmentSystemProtect"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_HANDLER = "InvalidParameterValue.Handler"
INVALIDPARAMETERVALUE_IDLETIMEOUT = "InvalidParameterValue.IdleTimeOut"
INVALIDPARAMETERVALUE_LAYERS = "InvalidParameterValue.Layers"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MEMORY = "InvalidParameterValue.Memory"
INVALIDPARAMETERVALUE_MEMORYSIZE = "InvalidParameterValue.MemorySize"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
INVALIDPARAMETERVALUE_NODESPEC = "InvalidParameterValue.NodeSpec"
INVALIDPARAMETERVALUE_NODETYPE = "InvalidParameterValue.NodeType"
INVALIDPARAMETERVALUE_PUBLICNETCONFIG = "InvalidParameterValue.PublicNetConfig"
INVALIDPARAMETERVALUE_RUNTIME = "InvalidParameterValue.Runtime"
INVALIDPARAMETERVALUE_SYSTEMENVIRONMENT = "InvalidParameterValue.SystemEnvironment"
INVALIDPARAMETERVALUE_TRACEENABLE = "InvalidParameterValue.TraceEnable"
INVALIDPARAMETERVALUE_WEBSOCKETSPARAMS = "InvalidParameterValue.WebSocketsParams"
LIMITEXCEEDED_EIP = "LimitExceeded.Eip"
LIMITEXCEEDED_INITTIMEOUT = "LimitExceeded.InitTimeout"
LIMITEXCEEDED_MEMORY = "LimitExceeded.Memory"
LIMITEXCEEDED_TIMEOUT = "LimitExceeded.Timeout"
RESOURCENOTFOUND_CFSVPCNOTMATCH = "ResourceNotFound.CfsVpcNotMatch"
RESOURCENOTFOUND_CMQ = "ResourceNotFound.Cmq"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_GETCFSNOTMATCH = "ResourceNotFound.GetCfsNotMatch"
RESOURCENOTFOUND_LAYER = "ResourceNotFound.Layer"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role"
RESOURCENOTFOUND_VPC = "ResourceNotFound.Vpc"
UNAUTHORIZEDOPERATION_CAM = "UnauthorizedOperation.CAM"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_EIPFIXED = "UnsupportedOperation.EipFixed"
UNSUPPORTEDOPERATION_VPCCONFIG = "UnsupportedOperation.VpcConfig"

func (*Client) UpdateFunctionEventInvokeConfig

func (c *Client) UpdateFunctionEventInvokeConfig(request *UpdateFunctionEventInvokeConfigRequest) (response *UpdateFunctionEventInvokeConfigResponse, err error)

UpdateFunctionEventInvokeConfig This API is used to update the async retry configuration of a function, including the number of retry attempts and message retention period.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_FUNCTIONVERSIONSTATUSNOTACTIVE = "FailedOperation.FunctionVersionStatusNotActive"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ASYNCTRIGGERCONFIG = "InvalidParameterValue.AsyncTriggerConfig"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
LIMITEXCEEDED_MSGTTL = "LimitExceeded.MsgTTL"
LIMITEXCEEDED_RETRYNUM = "LimitExceeded.RetryNum"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_FUNCTIONVERSION = "ResourceNotFound.FunctionVersion"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_EIPFIXED = "UnsupportedOperation.EipFixed"
UNSUPPORTEDOPERATION_VPCCONFIG = "UnsupportedOperation.VpcConfig"

func (*Client) UpdateFunctionEventInvokeConfigWithContext

func (c *Client) UpdateFunctionEventInvokeConfigWithContext(ctx context.Context, request *UpdateFunctionEventInvokeConfigRequest) (response *UpdateFunctionEventInvokeConfigResponse, err error)

UpdateFunctionEventInvokeConfig This API is used to update the async retry configuration of a function, including the number of retry attempts and message retention period.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_FUNCTIONVERSIONSTATUSNOTACTIVE = "FailedOperation.FunctionVersionStatusNotActive"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ASYNCTRIGGERCONFIG = "InvalidParameterValue.AsyncTriggerConfig"
INVALIDPARAMETERVALUE_FUNCTIONNAME = "InvalidParameterValue.FunctionName"
INVALIDPARAMETERVALUE_NAMESPACE = "InvalidParameterValue.Namespace"
LIMITEXCEEDED_MSGTTL = "LimitExceeded.MsgTTL"
LIMITEXCEEDED_RETRYNUM = "LimitExceeded.RetryNum"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function"
RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName"
RESOURCENOTFOUND_FUNCTIONVERSION = "ResourceNotFound.FunctionVersion"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_EIPFIXED = "UnsupportedOperation.EipFixed"
UNSUPPORTEDOPERATION_VPCCONFIG = "UnsupportedOperation.VpcConfig"

func (*Client) UpdateNamespace

func (c *Client) UpdateNamespace(request *UpdateNamespaceRequest) (response *UpdateNamespaceResponse, err error)

UpdateNamespace This API is used to update a namespace.

error code that may be returned:

INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"

func (*Client) UpdateNamespaceWithContext

func (c *Client) UpdateNamespaceWithContext(ctx context.Context, request *UpdateNamespaceRequest) (response *UpdateNamespaceResponse, err error)

UpdateNamespace This API is used to update a namespace.

error code that may be returned:

INVALIDPARAMETERVALUE_DESCRIPTION = "InvalidParameterValue.Description"
RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace"

type Code

type Code struct {

	// Object bucket name (enter the custom part of the bucket name without `-appid`)
	CosBucketName *string `json:"CosBucketName,omitempty" name:"CosBucketName"`

	// File path of code package stored in COS, which should start with “/”
	CosObjectName *string `json:"CosObjectName,omitempty" name:"CosObjectName"`

	// This parameter contains a .zip file (up to 50 MB) of the function code file and its dependencies. When this API is used, the content of the .zip file needs to be Base64-encoded
	ZipFile *string `json:"ZipFile,omitempty" name:"ZipFile"`

	// COS region. For Beijing regions, you need to import `ap-beijing`. For Beijing Region 1, you need to input `ap-beijing-1`. For other regions, no import is required.
	CosBucketRegion *string `json:"CosBucketRegion,omitempty" name:"CosBucketRegion"`

	// `DemoId` is required if Demo is used for the creation.
	DemoId *string `json:"DemoId,omitempty" name:"DemoId"`

	// `TempCosObjectName` is required if TempCos is used for the creation.
	TempCosObjectName *string `json:"TempCosObjectName,omitempty" name:"TempCosObjectName"`

	// Git address
	GitUrl *string `json:"GitUrl,omitempty" name:"GitUrl"`

	// Git user name
	GitUserName *string `json:"GitUserName,omitempty" name:"GitUserName"`

	// Git password
	GitPassword *string `json:"GitPassword,omitempty" name:"GitPassword"`

	// Git password after encryption. In general, this value is not required.
	GitPasswordSecret *string `json:"GitPasswordSecret,omitempty" name:"GitPasswordSecret"`

	// Git branch
	GitBranch *string `json:"GitBranch,omitempty" name:"GitBranch"`

	// Code path in Git repository
	GitDirectory *string `json:"GitDirectory,omitempty" name:"GitDirectory"`

	// Version to be pulled
	GitCommitId *string `json:"GitCommitId,omitempty" name:"GitCommitId"`

	// Git user name after encryption. In general, this value is not required.
	GitUserNameSecret *string `json:"GitUserNameSecret,omitempty" name:"GitUserNameSecret"`

	// TCR image configurations
	ImageConfig *ImageConfig `json:"ImageConfig,omitempty" name:"ImageConfig"`
}

type CopyFunctionRequest

type CopyFunctionRequest struct {
	*tchttp.BaseRequest

	// Name of the function to be replicated
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Name of the new function
	NewFunctionName *string `json:"NewFunctionName,omitempty" name:"NewFunctionName"`

	// Namespace of the function to be replicated. The default value is `default`.
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Namespace of the replicated function. The default value is default.
	TargetNamespace *string `json:"TargetNamespace,omitempty" name:"TargetNamespace"`

	// Description of the new function
	Description *string `json:"Description,omitempty" name:"Description"`

	// Region of the target of the function replication. If the value is not set, the current region is used by default.
	TargetRegion *string `json:"TargetRegion,omitempty" name:"TargetRegion"`

	// It specifies whether to replace the function with the same name in the target namespace. The default option is `FALSE`.
	// (Note: The `TRUE` option results in deletion of the function in the target namespace. Please operate with caution.)
	// TRUE: Replaces the function.
	// FALSE: Does not replace the function.
	Override *bool `json:"Override,omitempty" name:"Override"`

	// It specifies whether to replicate the function attributes, including environment variables, memory, timeout, function description, labels, and VPC. The default value is `TRUE`.
	// TRUE: Replicates the function configuration.
	// FALSE: Does not replicate the function configuration.
	CopyConfiguration *bool `json:"CopyConfiguration,omitempty" name:"CopyConfiguration"`
}

func NewCopyFunctionRequest

func NewCopyFunctionRequest() (request *CopyFunctionRequest)

func (*CopyFunctionRequest) FromJsonString

func (r *CopyFunctionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CopyFunctionRequest) ToJsonString

func (r *CopyFunctionRequest) ToJsonString() string

type CopyFunctionResponse

type CopyFunctionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCopyFunctionResponse

func NewCopyFunctionResponse() (response *CopyFunctionResponse)

func (*CopyFunctionResponse) FromJsonString

func (r *CopyFunctionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CopyFunctionResponse) ToJsonString

func (r *CopyFunctionResponse) ToJsonString() string

type CreateAliasRequest

type CreateAliasRequest struct {
	*tchttp.BaseRequest

	// Alias name, which must be unique in the function, can contain 1 to 64 letters, digits, `_`, and `-`, and must begin with a letter
	Name *string `json:"Name,omitempty" name:"Name"`

	// Function name
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Master version pointed to by the alias
	FunctionVersion *string `json:"FunctionVersion,omitempty" name:"FunctionVersion"`

	// Function namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Request routing configuration of alias
	RoutingConfig *RoutingConfig `json:"RoutingConfig,omitempty" name:"RoutingConfig"`

	// Alias description
	Description *string `json:"Description,omitempty" name:"Description"`
}

func NewCreateAliasRequest

func NewCreateAliasRequest() (request *CreateAliasRequest)

func (*CreateAliasRequest) FromJsonString

func (r *CreateAliasRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAliasRequest) ToJsonString

func (r *CreateAliasRequest) ToJsonString() string

type CreateAliasResponse

type CreateAliasResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateAliasResponse

func NewCreateAliasResponse() (response *CreateAliasResponse)

func (*CreateAliasResponse) FromJsonString

func (r *CreateAliasResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAliasResponse) ToJsonString

func (r *CreateAliasResponse) ToJsonString() string

type CreateFunctionRequest

type CreateFunctionRequest struct {
	*tchttp.BaseRequest

	// Name of the new function. The name can contain 2 to 60 characters, including English letters, digits, hyphens (-), and underscores (_). The name must start with a letter and cannot end with a hyphen or underscore.
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Function code. Note: `COS`, `ZipFile`, and `DemoId` cannot be specified at the same time.
	Code *Code `json:"Code,omitempty" name:"Code"`

	// Function handler name. It supports the format of "file name.handler name" where the file name and handler name are separated with a "." (for Java, it is in the format of "package name.class name::handler name"). File and handler names can contain 2–60 letters, digits, underscores, and dashes and must start and end with letters
	Handler *string `json:"Handler,omitempty" name:"Handler"`

	// Function description. It can contain up to 1,000 characters including letters, digits, spaces, commas (,), periods (.), and Chinese characters.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Memory size available for function during execution. Default value: 128 MB. Value range: 64 or 128-3072 MB in increments of 128 MB
	MemorySize *int64 `json:"MemorySize,omitempty" name:"MemorySize"`

	// Maximum execution duration of function in seconds. Value range: 1-900 seconds. Default value: 3 seconds
	Timeout *int64 `json:"Timeout,omitempty" name:"Timeout"`

	// Function environment variable
	Environment *Environment `json:"Environment,omitempty" name:"Environment"`

	// Function runtime environment. Valid values: Python2.7, Python3.6, Nodejs6.10, Nodejs8.9, Nodejs10.15, Nodejs12.16, Php5, Php7, Go1, Java8, CustomRuntime. Default value: Python2.7
	Runtime *string `json:"Runtime,omitempty" name:"Runtime"`

	// Function VPC configuration
	VpcConfig *VpcConfig `json:"VpcConfig,omitempty" name:"VpcConfig"`

	// Function namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Role bound to the function
	Role *string `json:"Role,omitempty" name:"Role"`

	// Specifies whether to [install dependency online](https://intl.cloud.tencent.com/document/product/583/37920?from_cn_redirect=1). `TRUE`: yes. Default to `FALSE`. It is only available for Node.js functions.
	InstallDependency *string `json:"InstallDependency,omitempty" name:"InstallDependency"`

	// CLS Logset ID to which the function logs are shipped
	ClsLogsetId *string `json:"ClsLogsetId,omitempty" name:"ClsLogsetId"`

	// CLS Topic ID to which the function logs are shipped
	ClsTopicId *string `json:"ClsTopicId,omitempty" name:"ClsTopicId"`

	// Function type. The default value is `Event`. Enter `Event` if you need to create a trigger function. Enter `HTTP` if you need to create an HTTP function service.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Code source. Valid values: ZipFile, Cos, Demo
	CodeSource *string `json:"CodeSource,omitempty" name:"CodeSource"`

	// List of layer versions to be associate with the function. Layers will be overwritten sequentially in the order in the list.
	Layers []*LayerVersionSimple `json:"Layers,omitempty" name:"Layers"`

	// Dead letter queue parameter
	DeadLetterConfig *DeadLetterConfig `json:"DeadLetterConfig,omitempty" name:"DeadLetterConfig"`

	// Public network access configuration
	PublicNetConfig *PublicNetConfigIn `json:"PublicNetConfig,omitempty" name:"PublicNetConfig"`

	// File system configuration parameter, which is used for the function to mount the file system
	CfsConfig *CfsConfig `json:"CfsConfig,omitempty" name:"CfsConfig"`

	// The function initialization timeout period. It defaults to 65s for general cases and 90s for image deployment functions.
	InitTimeout *int64 `json:"InitTimeout,omitempty" name:"InitTimeout"`

	// Tag parameter of the function. It is an array of key-value pairs.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

	// Whether to enable the async attribute. TRUE: yes; FALSE: no
	AsyncRunEnable *string `json:"AsyncRunEnable,omitempty" name:"AsyncRunEnable"`

	// Whether to enable event tracking. TRUE: yes; FALSE: no
	TraceEnable *string `json:"TraceEnable,omitempty" name:"TraceEnable"`

	// Protocols supported by HTTP-triggered functions. Valid value: `WS` (WebSockets)
	ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`

	// Parameters of the specified protocol
	ProtocolParams *ProtocolParams `json:"ProtocolParams,omitempty" name:"ProtocolParams"`
}

func NewCreateFunctionRequest

func NewCreateFunctionRequest() (request *CreateFunctionRequest)

func (*CreateFunctionRequest) FromJsonString

func (r *CreateFunctionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateFunctionRequest) ToJsonString

func (r *CreateFunctionRequest) ToJsonString() string

type CreateFunctionResponse

type CreateFunctionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateFunctionResponse

func NewCreateFunctionResponse() (response *CreateFunctionResponse)

func (*CreateFunctionResponse) FromJsonString

func (r *CreateFunctionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateFunctionResponse) ToJsonString

func (r *CreateFunctionResponse) ToJsonString() string

type CreateNamespaceRequest

type CreateNamespaceRequest struct {
	*tchttp.BaseRequest

	// Namespace name
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Namespace description
	Description *string `json:"Description,omitempty" name:"Description"`
}

func NewCreateNamespaceRequest

func NewCreateNamespaceRequest() (request *CreateNamespaceRequest)

func (*CreateNamespaceRequest) FromJsonString

func (r *CreateNamespaceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateNamespaceRequest) ToJsonString

func (r *CreateNamespaceRequest) ToJsonString() string

type CreateNamespaceResponse

type CreateNamespaceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateNamespaceResponse

func NewCreateNamespaceResponse() (response *CreateNamespaceResponse)

func (*CreateNamespaceResponse) FromJsonString

func (r *CreateNamespaceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateNamespaceResponse) ToJsonString

func (r *CreateNamespaceResponse) ToJsonString() string

type CreateTriggerRequest

type CreateTriggerRequest struct {
	*tchttp.BaseRequest

	// Name of the function bound to the new trigger
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Name of a new trigger. For a timer trigger, the name can contain up to 100 letters, digits, dashes, and underscores; for a COS trigger, it should be an access domain name of the corresponding COS bucket applicable to the XML API (e.g., 5401-5ff414-12345.cos.ap-shanghai.myqcloud.com); for other triggers, please see the descriptions of parameters bound to the specific trigger.
	TriggerName *string `json:"TriggerName,omitempty" name:"TriggerName"`

	// Type of trigger. Values: `cos`, `cmq`, `timer`, `ckafka` and `apigw`. To create a CLS trigger, please refer to [Creating Shipping Task (SCF)](https://intl.cloud.tencent.com/document/product/614/61096?from_cn_redirect=1).
	Type *string `json:"Type,omitempty" name:"Type"`

	// For parameters of triggers, see [Trigger Description](https://intl.cloud.tencent.com/document/product/583/39901?from_cn_redirect=1)
	TriggerDesc *string `json:"TriggerDesc,omitempty" name:"TriggerDesc"`

	// Function namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Function version
	Qualifier *string `json:"Qualifier,omitempty" name:"Qualifier"`

	// Initial enabling status of the trigger. `OPEN` indicates enabled, and `CLOSE` indicates disabled.
	Enable *string `json:"Enable,omitempty" name:"Enable"`

	// Custom argument, supporting only the timer trigger.
	CustomArgument *string `json:"CustomArgument,omitempty" name:"CustomArgument"`
}

func NewCreateTriggerRequest

func NewCreateTriggerRequest() (request *CreateTriggerRequest)

func (*CreateTriggerRequest) FromJsonString

func (r *CreateTriggerRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTriggerRequest) ToJsonString

func (r *CreateTriggerRequest) ToJsonString() string

type CreateTriggerResponse

type CreateTriggerResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Trigger information
		TriggerInfo *Trigger `json:"TriggerInfo,omitempty" name:"TriggerInfo"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateTriggerResponse

func NewCreateTriggerResponse() (response *CreateTriggerResponse)

func (*CreateTriggerResponse) FromJsonString

func (r *CreateTriggerResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTriggerResponse) ToJsonString

func (r *CreateTriggerResponse) ToJsonString() string

type DeadLetterConfig

type DeadLetterConfig struct {

	// Dead letter queue mode
	Type *string `json:"Type,omitempty" name:"Type"`

	// Dead letter queue name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Tag form of a dead letter queue topic mode
	FilterType *string `json:"FilterType,omitempty" name:"FilterType"`
}

type DeleteAliasRequest

type DeleteAliasRequest struct {
	*tchttp.BaseRequest

	// Function name
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Alias name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Function namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
}

func NewDeleteAliasRequest

func NewDeleteAliasRequest() (request *DeleteAliasRequest)

func (*DeleteAliasRequest) FromJsonString

func (r *DeleteAliasRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAliasRequest) ToJsonString

func (r *DeleteAliasRequest) ToJsonString() string

type DeleteAliasResponse

type DeleteAliasResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteAliasResponse

func NewDeleteAliasResponse() (response *DeleteAliasResponse)

func (*DeleteAliasResponse) FromJsonString

func (r *DeleteAliasResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAliasResponse) ToJsonString

func (r *DeleteAliasResponse) ToJsonString() string

type DeleteFunctionRequest

type DeleteFunctionRequest struct {
	*tchttp.BaseRequest

	// Name of the function to be deleted
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Function namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Function version. Enter the number of the version that needs to be deleted, otherwise all versions of the function will be deleted.
	Qualifier *string `json:"Qualifier,omitempty" name:"Qualifier"`
}

func NewDeleteFunctionRequest

func NewDeleteFunctionRequest() (request *DeleteFunctionRequest)

func (*DeleteFunctionRequest) FromJsonString

func (r *DeleteFunctionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteFunctionRequest) ToJsonString

func (r *DeleteFunctionRequest) ToJsonString() string

type DeleteFunctionResponse

type DeleteFunctionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteFunctionResponse

func NewDeleteFunctionResponse() (response *DeleteFunctionResponse)

func (*DeleteFunctionResponse) FromJsonString

func (r *DeleteFunctionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteFunctionResponse) ToJsonString

func (r *DeleteFunctionResponse) ToJsonString() string

type DeleteLayerVersionRequest

type DeleteLayerVersionRequest struct {
	*tchttp.BaseRequest

	// Layer name
	LayerName *string `json:"LayerName,omitempty" name:"LayerName"`

	// Version number
	LayerVersion *int64 `json:"LayerVersion,omitempty" name:"LayerVersion"`
}

func NewDeleteLayerVersionRequest

func NewDeleteLayerVersionRequest() (request *DeleteLayerVersionRequest)

func (*DeleteLayerVersionRequest) FromJsonString

func (r *DeleteLayerVersionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteLayerVersionRequest) ToJsonString

func (r *DeleteLayerVersionRequest) ToJsonString() string

type DeleteLayerVersionResponse

type DeleteLayerVersionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteLayerVersionResponse

func NewDeleteLayerVersionResponse() (response *DeleteLayerVersionResponse)

func (*DeleteLayerVersionResponse) FromJsonString

func (r *DeleteLayerVersionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteLayerVersionResponse) ToJsonString

func (r *DeleteLayerVersionResponse) ToJsonString() string

type DeleteNamespaceRequest

type DeleteNamespaceRequest struct {
	*tchttp.BaseRequest

	// Namespace name
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
}

func NewDeleteNamespaceRequest

func NewDeleteNamespaceRequest() (request *DeleteNamespaceRequest)

func (*DeleteNamespaceRequest) FromJsonString

func (r *DeleteNamespaceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteNamespaceRequest) ToJsonString

func (r *DeleteNamespaceRequest) ToJsonString() string

type DeleteNamespaceResponse

type DeleteNamespaceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteNamespaceResponse

func NewDeleteNamespaceResponse() (response *DeleteNamespaceResponse)

func (*DeleteNamespaceResponse) FromJsonString

func (r *DeleteNamespaceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteNamespaceResponse) ToJsonString

func (r *DeleteNamespaceResponse) ToJsonString() string

type DeleteProvisionedConcurrencyConfigRequest

type DeleteProvisionedConcurrencyConfigRequest struct {
	*tchttp.BaseRequest

	// Name of the function for which to delete the provisioned concurrency
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Function version number
	Qualifier *string `json:"Qualifier,omitempty" name:"Qualifier"`

	// Function namespace. Default value: `default`
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
}

func NewDeleteProvisionedConcurrencyConfigRequest

func NewDeleteProvisionedConcurrencyConfigRequest() (request *DeleteProvisionedConcurrencyConfigRequest)

func (*DeleteProvisionedConcurrencyConfigRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteProvisionedConcurrencyConfigRequest) ToJsonString

type DeleteProvisionedConcurrencyConfigResponse

type DeleteProvisionedConcurrencyConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteProvisionedConcurrencyConfigResponse

func NewDeleteProvisionedConcurrencyConfigResponse() (response *DeleteProvisionedConcurrencyConfigResponse)

func (*DeleteProvisionedConcurrencyConfigResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteProvisionedConcurrencyConfigResponse) ToJsonString

type DeleteReservedConcurrencyConfigRequest

type DeleteReservedConcurrencyConfigRequest struct {
	*tchttp.BaseRequest

	// Specifies the function of which you want to delete the reserved quota
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Function namespace. Default value: `default`
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
}

func NewDeleteReservedConcurrencyConfigRequest

func NewDeleteReservedConcurrencyConfigRequest() (request *DeleteReservedConcurrencyConfigRequest)

func (*DeleteReservedConcurrencyConfigRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteReservedConcurrencyConfigRequest) ToJsonString

type DeleteReservedConcurrencyConfigResponse

type DeleteReservedConcurrencyConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteReservedConcurrencyConfigResponse

func NewDeleteReservedConcurrencyConfigResponse() (response *DeleteReservedConcurrencyConfigResponse)

func (*DeleteReservedConcurrencyConfigResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteReservedConcurrencyConfigResponse) ToJsonString

type DeleteTriggerRequest

type DeleteTriggerRequest struct {
	*tchttp.BaseRequest

	// Function name
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Name of the trigger to be deleted
	TriggerName *string `json:"TriggerName,omitempty" name:"TriggerName"`

	// Type of the trigger to be deleted. Currently, COS, CMQ, timer, and ckafka triggers are supported.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Function namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// This field is required if a COS trigger is to be deleted. It stores the data {"event":"cos:ObjectCreated:*"} in the JSON format. The data content of this field is in the same format as that of SetTrigger. This field is optional if a scheduled trigger or CMQ trigger is to be deleted.
	TriggerDesc *string `json:"TriggerDesc,omitempty" name:"TriggerDesc"`

	// Function version information
	Qualifier *string `json:"Qualifier,omitempty" name:"Qualifier"`
}

func NewDeleteTriggerRequest

func NewDeleteTriggerRequest() (request *DeleteTriggerRequest)

func (*DeleteTriggerRequest) FromJsonString

func (r *DeleteTriggerRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteTriggerRequest) ToJsonString

func (r *DeleteTriggerRequest) ToJsonString() string

type DeleteTriggerResponse

type DeleteTriggerResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteTriggerResponse

func NewDeleteTriggerResponse() (response *DeleteTriggerResponse)

func (*DeleteTriggerResponse) FromJsonString

func (r *DeleteTriggerResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteTriggerResponse) ToJsonString

func (r *DeleteTriggerResponse) ToJsonString() string

type EipConfigIn

type EipConfigIn struct {

	// Status of the EIP. Values: ['ENABLE','DISABLE']
	EipStatus *string `json:"EipStatus,omitempty" name:"EipStatus"`
}

type EipConfigOut

type EipConfigOut struct {

	// Whether it is a fixed IP. Valid values: ["ENABLE","DISABLE"]
	EipStatus *string `json:"EipStatus,omitempty" name:"EipStatus"`

	// IP list
	// Note: This field may return null, indicating that no valid values can be obtained.
	EipAddress []*string `json:"EipAddress,omitempty" name:"EipAddress"`
}

type EipOutConfig

type EipOutConfig struct {

	// It specifies whether the IP is fixed. The value is `TRUE` or `FALSE`.
	EipFixed *string `json:"EipFixed,omitempty" name:"EipFixed"`

	// IP list
	Eips []*string `json:"Eips,omitempty" name:"Eips"`
}

type Environment

type Environment struct {

	// Environment variable array
	Variables []*Variable `json:"Variables,omitempty" name:"Variables"`
}

type Filter

type Filter struct {

	// Fields to be filtered. Up to 10 conditions allowed.
	// Values of `Name`: `VpcId`, `SubnetId`, `ClsTopicId`, `ClsLogsetId`, `Role`, `CfsId`, `CfsMountInsId`, `Eip`. Values limit: 1.
	// Name options: Status, Runtime, FunctionType, PublicNetStatus, AsyncRunEnable, TraceEnable. Values limit: 20.
	// When `Name` is `Runtime`, `CustomImage` refers to the image type function
	Name *string `json:"Name,omitempty" name:"Name"`

	// Filter values of the field
	Values []*string `json:"Values,omitempty" name:"Values"`
}

type Function

type Function struct {

	// Modification time
	ModTime *string `json:"ModTime,omitempty" name:"ModTime"`

	// Creation time
	AddTime *string `json:"AddTime,omitempty" name:"AddTime"`

	// Running
	Runtime *string `json:"Runtime,omitempty" name:"Runtime"`

	// Function name
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Function ID
	FunctionId *string `json:"FunctionId,omitempty" name:"FunctionId"`

	// Namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Function status. For valid values and status change process, please see [here](https://intl.cloud.tencent.com/document/product/583/47175?from_cn_redirect=1)
	Status *string `json:"Status,omitempty" name:"Status"`

	// Function status details
	StatusDesc *string `json:"StatusDesc,omitempty" name:"StatusDesc"`

	// Function description
	Description *string `json:"Description,omitempty" name:"Description"`

	// Function tag
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

	// Function type. The value is `HTTP` or `Event`.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Cause of function failure
	StatusReasons []*StatusReason `json:"StatusReasons,omitempty" name:"StatusReasons"`

	// Sum of provisioned concurrence memory for all function versions
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalProvisionedConcurrencyMem *uint64 `json:"TotalProvisionedConcurrencyMem,omitempty" name:"TotalProvisionedConcurrencyMem"`

	// Reserved memory for function concurrence
	// Note: this field may return null, indicating that no valid values can be obtained.
	ReservedConcurrencyMem *uint64 `json:"ReservedConcurrencyMem,omitempty" name:"ReservedConcurrencyMem"`

	// Asynchronization attribute of the function. Values: `TRUE` and `FALSE`.
	AsyncRunEnable *string `json:"AsyncRunEnable,omitempty" name:"AsyncRunEnable"`

	// Whether to enable call tracing for ansynchronized functions. Values: `TRUE` and `FALSE`.
	TraceEnable *string `json:"TraceEnable,omitempty" name:"TraceEnable"`
}

type FunctionLog

type FunctionLog struct {

	// Function name
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Return value after the function is executed
	RetMsg *string `json:"RetMsg,omitempty" name:"RetMsg"`

	// RequestId corresponding to the executed function
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`

	// Start time of the function execution
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Function execution result. `0` indicates successful execution and other values indicate failure.
	RetCode *int64 `json:"RetCode,omitempty" name:"RetCode"`

	// It specifies whether the function invocation is finished. `1` indicates execution completion and other values indicate that exceptions occurred during the invocation.
	InvokeFinished *int64 `json:"InvokeFinished,omitempty" name:"InvokeFinished"`

	// Duration of the function execution. The unit is millisecond (ms).
	Duration *float64 `json:"Duration,omitempty" name:"Duration"`

	// Function billing duration. The unit is millisecond (ms). The value is rounded up to a multiple of 100 ms.
	BillDuration *int64 `json:"BillDuration,omitempty" name:"BillDuration"`

	// Actual memory size used during the function execution. The unit is byte.
	MemUsage *int64 `json:"MemUsage,omitempty" name:"MemUsage"`

	// Function execution logs
	Log *string `json:"Log,omitempty" name:"Log"`

	// Log level
	Level *string `json:"Level,omitempty" name:"Level"`

	// Log source
	Source *string `json:"Source,omitempty" name:"Source"`

	// Number of retries
	RetryNum *uint64 `json:"RetryNum,omitempty" name:"RetryNum"`
}

type FunctionVersion

type FunctionVersion struct {

	// Function version name
	Version *string `json:"Version,omitempty" name:"Version"`

	// Version description
	// Note: This field may return null, indicating that no valid values is found.
	Description *string `json:"Description,omitempty" name:"Description"`

	// The creation time
	// Note: This field may return null, indicating that no valid value was found.
	AddTime *string `json:"AddTime,omitempty" name:"AddTime"`

	// Update time
	// Note: This field may return null, indicating that no valid value was found.
	ModTime *string `json:"ModTime,omitempty" name:"ModTime"`

	// Version status
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitempty" name:"Status"`
}

type GetAccountRequest

type GetAccountRequest struct {
	*tchttp.BaseRequest
}

func NewGetAccountRequest

func NewGetAccountRequest() (request *GetAccountRequest)

func (*GetAccountRequest) FromJsonString

func (r *GetAccountRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetAccountRequest) ToJsonString

func (r *GetAccountRequest) ToJsonString() string

type GetAccountResponse

type GetAccountResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Namespace usage information
		AccountUsage *UsageInfo `json:"AccountUsage,omitempty" name:"AccountUsage"`

		// Namespace limit information
		AccountLimit *LimitsInfo `json:"AccountLimit,omitempty" name:"AccountLimit"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewGetAccountResponse

func NewGetAccountResponse() (response *GetAccountResponse)

func (*GetAccountResponse) FromJsonString

func (r *GetAccountResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetAccountResponse) ToJsonString

func (r *GetAccountResponse) ToJsonString() string

type GetAliasRequest

type GetAliasRequest struct {
	*tchttp.BaseRequest

	// Function name
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Alias name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Function namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
}

func NewGetAliasRequest

func NewGetAliasRequest() (request *GetAliasRequest)

func (*GetAliasRequest) FromJsonString

func (r *GetAliasRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetAliasRequest) ToJsonString

func (r *GetAliasRequest) ToJsonString() string

type GetAliasResponse

type GetAliasResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Master version pointed to by the alias
		FunctionVersion *string `json:"FunctionVersion,omitempty" name:"FunctionVersion"`

		// Alias name
		Name *string `json:"Name,omitempty" name:"Name"`

		// Routing information of alias
		RoutingConfig *RoutingConfig `json:"RoutingConfig,omitempty" name:"RoutingConfig"`

		// Alias description
		// Note: this field may return null, indicating that no valid values can be obtained.
		Description *string `json:"Description,omitempty" name:"Description"`

		// Creation time
		// Note: this field may return null, indicating that no valid values can be obtained.
		AddTime *string `json:"AddTime,omitempty" name:"AddTime"`

		// Update time
		// Note: this field may return null, indicating that no valid values can be obtained.
		ModTime *string `json:"ModTime,omitempty" name:"ModTime"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewGetAliasResponse

func NewGetAliasResponse() (response *GetAliasResponse)

func (*GetAliasResponse) FromJsonString

func (r *GetAliasResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetAliasResponse) ToJsonString

func (r *GetAliasResponse) ToJsonString() string

type GetAsyncEventStatusRequest

type GetAsyncEventStatusRequest struct {
	*tchttp.BaseRequest

	// ID of the async execution request
	InvokeRequestId *string `json:"InvokeRequestId,omitempty" name:"InvokeRequestId"`
}

func NewGetAsyncEventStatusRequest

func NewGetAsyncEventStatusRequest() (request *GetAsyncEventStatusRequest)

func (*GetAsyncEventStatusRequest) FromJsonString

func (r *GetAsyncEventStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetAsyncEventStatusRequest) ToJsonString

func (r *GetAsyncEventStatusRequest) ToJsonString() string

type GetAsyncEventStatusResponse

type GetAsyncEventStatusResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Async event status
		Result *AsyncEventStatus `json:"Result,omitempty" name:"Result"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewGetAsyncEventStatusResponse

func NewGetAsyncEventStatusResponse() (response *GetAsyncEventStatusResponse)

func (*GetAsyncEventStatusResponse) FromJsonString

func (r *GetAsyncEventStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetAsyncEventStatusResponse) ToJsonString

func (r *GetAsyncEventStatusResponse) ToJsonString() string

type GetFunctionAddressRequest

type GetFunctionAddressRequest struct {
	*tchttp.BaseRequest

	// Function name
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Function version
	Qualifier *string `json:"Qualifier,omitempty" name:"Qualifier"`

	// Function namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
}

func NewGetFunctionAddressRequest

func NewGetFunctionAddressRequest() (request *GetFunctionAddressRequest)

func (*GetFunctionAddressRequest) FromJsonString

func (r *GetFunctionAddressRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetFunctionAddressRequest) ToJsonString

func (r *GetFunctionAddressRequest) ToJsonString() string

type GetFunctionAddressResponse

type GetFunctionAddressResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Cos address of the function
		Url *string `json:"Url,omitempty" name:"Url"`

		// SHA256 code of the function
		CodeSha256 *string `json:"CodeSha256,omitempty" name:"CodeSha256"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewGetFunctionAddressResponse

func NewGetFunctionAddressResponse() (response *GetFunctionAddressResponse)

func (*GetFunctionAddressResponse) FromJsonString

func (r *GetFunctionAddressResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetFunctionAddressResponse) ToJsonString

func (r *GetFunctionAddressResponse) ToJsonString() string

type GetFunctionEventInvokeConfigRequest

type GetFunctionEventInvokeConfigRequest struct {
	*tchttp.BaseRequest

	// Function name
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Function namespace. Default value: default
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Function version. Default value: $LATEST
	Qualifier *string `json:"Qualifier,omitempty" name:"Qualifier"`
}

func NewGetFunctionEventInvokeConfigRequest

func NewGetFunctionEventInvokeConfigRequest() (request *GetFunctionEventInvokeConfigRequest)

func (*GetFunctionEventInvokeConfigRequest) FromJsonString

func (r *GetFunctionEventInvokeConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetFunctionEventInvokeConfigRequest) ToJsonString

func (r *GetFunctionEventInvokeConfigRequest) ToJsonString() string

type GetFunctionEventInvokeConfigResponse

type GetFunctionEventInvokeConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Async retry configuration information
		AsyncTriggerConfig *AsyncTriggerConfig `json:"AsyncTriggerConfig,omitempty" name:"AsyncTriggerConfig"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewGetFunctionEventInvokeConfigResponse

func NewGetFunctionEventInvokeConfigResponse() (response *GetFunctionEventInvokeConfigResponse)

func (*GetFunctionEventInvokeConfigResponse) FromJsonString

func (r *GetFunctionEventInvokeConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetFunctionEventInvokeConfigResponse) ToJsonString

func (r *GetFunctionEventInvokeConfigResponse) ToJsonString() string

type GetFunctionLogsRequest

type GetFunctionLogsRequest struct {
	*tchttp.BaseRequest

	// Function name.
	// - To ensure the compatibility of the [`GetFunctionLogs`](https://intl.cloud.tencent.com/document/product/583/18583?from_cn_redirect=1) API, the input parameter `FunctionName` is optional, but we recommend you enter it; otherwise, log acquisition may fail.
	// - After the function is connected to CLS, we recommend you use the [related CLS API](https://intl.cloud.tencent.com/document/product/614/16875?from_cn_redirect=1) to get the best log retrieval experience.
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Data offset. The addition of `Offset` and `Limit` cannot exceed 10,000.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Length of the return data. The addition of `Offset` and `Limit` cannot exceed 10,000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// It specifies whether to sort the logs in an ascending or descending order. The value is `desc` or `asc`.
	Order *string `json:"Order,omitempty" name:"Order"`

	// It specifies the sorting order of the logs based on a specified field, such as `function_name`, `duration`, `mem_usage`, and `start_time`.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Log filter used to identify whether to return logs of successful or failed requests. `filter.RetCode=not0` indicates that only the logs of failed requests will be returned. `filter.RetCode=is0` indicates that only the logs of successful requests will be returned. If this parameter is left blank, all logs will be returned.
	Filter *LogFilter `json:"Filter,omitempty" name:"Filter"`

	// Function namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Function version
	Qualifier *string `json:"Qualifier,omitempty" name:"Qualifier"`

	// RequestId corresponding to the executed function
	FunctionRequestId *string `json:"FunctionRequestId,omitempty" name:"FunctionRequestId"`

	// Query date, for example, 2017-05-16 20:00:00. The date must be within one day of the end time.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Query date, for example, 2017-05-16 20:59:59. The date must be within one day of the start time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// This field is disused.
	SearchContext *LogSearchContext `json:"SearchContext,omitempty" name:"SearchContext"`
}

func NewGetFunctionLogsRequest

func NewGetFunctionLogsRequest() (request *GetFunctionLogsRequest)

func (*GetFunctionLogsRequest) FromJsonString

func (r *GetFunctionLogsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetFunctionLogsRequest) ToJsonString

func (r *GetFunctionLogsRequest) ToJsonString() string

type GetFunctionLogsResponse

type GetFunctionLogsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of function logs
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Function log information
		Data []*FunctionLog `json:"Data,omitempty" name:"Data"`

		// This field is disused.
		SearchContext *LogSearchContext `json:"SearchContext,omitempty" name:"SearchContext"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewGetFunctionLogsResponse

func NewGetFunctionLogsResponse() (response *GetFunctionLogsResponse)

func (*GetFunctionLogsResponse) FromJsonString

func (r *GetFunctionLogsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetFunctionLogsResponse) ToJsonString

func (r *GetFunctionLogsResponse) ToJsonString() string

type GetFunctionRequest

type GetFunctionRequest struct {
	*tchttp.BaseRequest

	// Name of the function to obtain details
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Function version number
	Qualifier *string `json:"Qualifier,omitempty" name:"Qualifier"`

	// Function namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// It indicates whether to display the code. `TRUE` means displaying the code, and `FALSE` means hiding the code. The code will not be displayed for entry files exceeding 1 MB.
	ShowCode *string `json:"ShowCode,omitempty" name:"ShowCode"`
}

func NewGetFunctionRequest

func NewGetFunctionRequest() (request *GetFunctionRequest)

func (*GetFunctionRequest) FromJsonString

func (r *GetFunctionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetFunctionRequest) ToJsonString

func (r *GetFunctionRequest) ToJsonString() string

type GetFunctionResponse

type GetFunctionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Latest modification time of the function
		ModTime *string `json:"ModTime,omitempty" name:"ModTime"`

		// Function code
		CodeInfo *string `json:"CodeInfo,omitempty" name:"CodeInfo"`

		// Function description
		Description *string `json:"Description,omitempty" name:"Description"`

		// Function trigger list
		Triggers []*Trigger `json:"Triggers,omitempty" name:"Triggers"`

		// Function entry
		Handler *string `json:"Handler,omitempty" name:"Handler"`

		// Function code size
		CodeSize *int64 `json:"CodeSize,omitempty" name:"CodeSize"`

		// Function timeout
		Timeout *int64 `json:"Timeout,omitempty" name:"Timeout"`

		// Function version
		FunctionVersion *string `json:"FunctionVersion,omitempty" name:"FunctionVersion"`

		// Maximum available memory of the function
		MemorySize *int64 `json:"MemorySize,omitempty" name:"MemorySize"`

		// Function running environment
		Runtime *string `json:"Runtime,omitempty" name:"Runtime"`

		// Function name
		FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

		// Function VPC
		VpcConfig *VpcConfig `json:"VpcConfig,omitempty" name:"VpcConfig"`

		// Whether to use GPU
		UseGpu *string `json:"UseGpu,omitempty" name:"UseGpu"`

		// Function environment variable
		Environment *Environment `json:"Environment,omitempty" name:"Environment"`

		// Whether the code is correct
		CodeResult *string `json:"CodeResult,omitempty" name:"CodeResult"`

		// Code error information
		CodeError *string `json:"CodeError,omitempty" name:"CodeError"`

		// Error code
		ErrNo *int64 `json:"ErrNo,omitempty" name:"ErrNo"`

		// Function namespace
		Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

		// Role bound to the function
		Role *string `json:"Role,omitempty" name:"Role"`

		// Whether to install dependencies automatically
		InstallDependency *string `json:"InstallDependency,omitempty" name:"InstallDependency"`

		// Function status. For valid values and status change process, please see [here](https://intl.cloud.tencent.com/document/product/583/47175?from_cn_redirect=1)
		Status *string `json:"Status,omitempty" name:"Status"`

		// Status description
		StatusDesc *string `json:"StatusDesc,omitempty" name:"StatusDesc"`

		// CLS logset to which logs are shipped
		ClsLogsetId *string `json:"ClsLogsetId,omitempty" name:"ClsLogsetId"`

		// CLS Topic to which logs are shipped
		ClsTopicId *string `json:"ClsTopicId,omitempty" name:"ClsTopicId"`

		// Function ID
		FunctionId *string `json:"FunctionId,omitempty" name:"FunctionId"`

		// Function tag list
		Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

		// EipConfig configuration
		EipConfig *EipOutConfig `json:"EipConfig,omitempty" name:"EipConfig"`

		// Domain name information
		AccessInfo *AccessInfo `json:"AccessInfo,omitempty" name:"AccessInfo"`

		// Function type. The value is `HTTP` or `Event`.
		Type *string `json:"Type,omitempty" name:"Type"`

		// Whether to enable L5
		L5Enable *string `json:"L5Enable,omitempty" name:"L5Enable"`

		// Version information of a layer associated with a function
		Layers []*LayerVersionInfo `json:"Layers,omitempty" name:"Layers"`

		// Information of a dead letter queue associated with a function
		DeadLetterConfig *DeadLetterConfig `json:"DeadLetterConfig,omitempty" name:"DeadLetterConfig"`

		// Function creation time
		AddTime *string `json:"AddTime,omitempty" name:"AddTime"`

		// Public network access configuration
		// Note: This field may return null, indicating that no valid values can be obtained.
		PublicNetConfig *PublicNetConfigOut `json:"PublicNetConfig,omitempty" name:"PublicNetConfig"`

		// Whether Ons is enabled
		// Note: This field may return null, indicating that no valid value was found.
		OnsEnable *string `json:"OnsEnable,omitempty" name:"OnsEnable"`

		// File system configuration parameter, which is used for the function to mount the file system
		// Note: this field may return null, indicating that no valid values can be obtained.
		CfsConfig *CfsConfig `json:"CfsConfig,omitempty" name:"CfsConfig"`

		// Function billing status. For valid values, please see [here](https://intl.cloud.tencent.com/document/product/583/47175?from_cn_redirect=1#.E5.87.BD.E6.95.B0.E8.AE.A1.E8.B4.B9.E7.8A.B6.E6.80.81)
		// Note: this field may return null, indicating that no valid values can be obtained.
		AvailableStatus *string `json:"AvailableStatus,omitempty" name:"AvailableStatus"`

		// Function version
		// Note: this field may return null, indicating that no valid values can be obtained.
		Qualifier *string `json:"Qualifier,omitempty" name:"Qualifier"`

		// Timeout period for function initialization
		InitTimeout *int64 `json:"InitTimeout,omitempty" name:"InitTimeout"`

		// Cause of function failure
		// Note: this field may return null, indicating that no valid values can be obtained.
		StatusReasons []*StatusReason `json:"StatusReasons,omitempty" name:"StatusReasons"`

		// Specifies whether to enable asynchronization
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		AsyncRunEnable *string `json:"AsyncRunEnable,omitempty" name:"AsyncRunEnable"`

		// Specifies whether to enable event tracking
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		TraceEnable *string `json:"TraceEnable,omitempty" name:"TraceEnable"`

		// Protocols supported by HTTP-triggered functions. It supports WebSockets for now.
		// Note: This field may return null, indicating that no valid value was found.
		ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`

		// Parameters of the specified protocol
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		ProtocolParams *ProtocolParams `json:"ProtocolParams,omitempty" name:"ProtocolParams"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewGetFunctionResponse

func NewGetFunctionResponse() (response *GetFunctionResponse)

func (*GetFunctionResponse) FromJsonString

func (r *GetFunctionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetFunctionResponse) ToJsonString

func (r *GetFunctionResponse) ToJsonString() string

type GetLayerVersionRequest

type GetLayerVersionRequest struct {
	*tchttp.BaseRequest

	// Layer name
	LayerName *string `json:"LayerName,omitempty" name:"LayerName"`

	// Version number
	LayerVersion *int64 `json:"LayerVersion,omitempty" name:"LayerVersion"`
}

func NewGetLayerVersionRequest

func NewGetLayerVersionRequest() (request *GetLayerVersionRequest)

func (*GetLayerVersionRequest) FromJsonString

func (r *GetLayerVersionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetLayerVersionRequest) ToJsonString

func (r *GetLayerVersionRequest) ToJsonString() string

type GetLayerVersionResponse

type GetLayerVersionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Compatible runtimes
		CompatibleRuntimes []*string `json:"CompatibleRuntimes,omitempty" name:"CompatibleRuntimes"`

		// SHA256 encoding of version file on the layer
		CodeSha256 *string `json:"CodeSha256,omitempty" name:"CodeSha256"`

		// Download address of version file on the layer
		Location *string `json:"Location,omitempty" name:"Location"`

		// Version creation time
		AddTime *string `json:"AddTime,omitempty" name:"AddTime"`

		// Version description
		Description *string `json:"Description,omitempty" name:"Description"`

		// License information
		LicenseInfo *string `json:"LicenseInfo,omitempty" name:"LicenseInfo"`

		// Version number
		LayerVersion *int64 `json:"LayerVersion,omitempty" name:"LayerVersion"`

		// Layer name
		LayerName *string `json:"LayerName,omitempty" name:"LayerName"`

		// Current status of specific layer version. Valid values:
		// Active: normal
		// Publishing: publishing
		// PublishFailed: publishing failed
		// Deleted: deleted
		Status *string `json:"Status,omitempty" name:"Status"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewGetLayerVersionResponse

func NewGetLayerVersionResponse() (response *GetLayerVersionResponse)

func (*GetLayerVersionResponse) FromJsonString

func (r *GetLayerVersionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetLayerVersionResponse) ToJsonString

func (r *GetLayerVersionResponse) ToJsonString() string

type GetProvisionedConcurrencyConfigRequest

type GetProvisionedConcurrencyConfigRequest struct {
	*tchttp.BaseRequest

	// Name of the function for which to get the provisioned concurrency details.
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Function namespace. Default value: default.
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Function version number. If this parameter is left empty, the provisioned concurrency information of all function versions will be returned.
	Qualifier *string `json:"Qualifier,omitempty" name:"Qualifier"`
}

func NewGetProvisionedConcurrencyConfigRequest

func NewGetProvisionedConcurrencyConfigRequest() (request *GetProvisionedConcurrencyConfigRequest)

func (*GetProvisionedConcurrencyConfigRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetProvisionedConcurrencyConfigRequest) ToJsonString

type GetProvisionedConcurrencyConfigResponse

type GetProvisionedConcurrencyConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Unallocated provisioned concurrency amount of function.
		UnallocatedConcurrencyNum *uint64 `json:"UnallocatedConcurrencyNum,omitempty" name:"UnallocatedConcurrencyNum"`

		// Allocated provisioned concurrency amount of function.
		Allocated []*VersionProvisionedConcurrencyInfo `json:"Allocated,omitempty" name:"Allocated"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewGetProvisionedConcurrencyConfigResponse

func NewGetProvisionedConcurrencyConfigResponse() (response *GetProvisionedConcurrencyConfigResponse)

func (*GetProvisionedConcurrencyConfigResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetProvisionedConcurrencyConfigResponse) ToJsonString

type GetRequestStatusRequest

type GetRequestStatusRequest struct {
	*tchttp.BaseRequest

	// Function name
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// ID of the request to be queried
	FunctionRequestId *string `json:"FunctionRequestId,omitempty" name:"FunctionRequestId"`

	// Function namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Start time of the query, for example `2017-05-16 20:00:00`. If it’s left empty, it defaults to the current time minus 24 hours.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time of the query, for example `2017-05-16 20:59:59`. If it’s left empty, it defaults to the current time. Note that the EndTime should be later than the StartTime
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

func NewGetRequestStatusRequest

func NewGetRequestStatusRequest() (request *GetRequestStatusRequest)

func (*GetRequestStatusRequest) FromJsonString

func (r *GetRequestStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetRequestStatusRequest) ToJsonString

func (r *GetRequestStatusRequest) ToJsonString() string

type GetRequestStatusResponse

type GetRequestStatusResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total running functions
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Details of the function running status
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		Data []*RequestStatus `json:"Data,omitempty" name:"Data"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewGetRequestStatusResponse

func NewGetRequestStatusResponse() (response *GetRequestStatusResponse)

func (*GetRequestStatusResponse) FromJsonString

func (r *GetRequestStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetRequestStatusResponse) ToJsonString

func (r *GetRequestStatusResponse) ToJsonString() string

type GetReservedConcurrencyConfigRequest

type GetReservedConcurrencyConfigRequest struct {
	*tchttp.BaseRequest

	// Specifies the function of which you want to obtain the reserved quota
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Function namespace. Default value: default.
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
}

func NewGetReservedConcurrencyConfigRequest

func NewGetReservedConcurrencyConfigRequest() (request *GetReservedConcurrencyConfigRequest)

func (*GetReservedConcurrencyConfigRequest) FromJsonString

func (r *GetReservedConcurrencyConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetReservedConcurrencyConfigRequest) ToJsonString

func (r *GetReservedConcurrencyConfigRequest) ToJsonString() string

type GetReservedConcurrencyConfigResponse

type GetReservedConcurrencyConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The reserved quota of the function
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		ReservedMem *uint64 `json:"ReservedMem,omitempty" name:"ReservedMem"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewGetReservedConcurrencyConfigResponse

func NewGetReservedConcurrencyConfigResponse() (response *GetReservedConcurrencyConfigResponse)

func (*GetReservedConcurrencyConfigResponse) FromJsonString

func (r *GetReservedConcurrencyConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetReservedConcurrencyConfigResponse) ToJsonString

func (r *GetReservedConcurrencyConfigResponse) ToJsonString() string

type ImageConfig

type ImageConfig struct {

	// Image repository type, which can be `personal` or `enterprise`
	ImageType *string `json:"ImageType,omitempty" name:"ImageType"`

	// {domain}/{namespace}/{imageName}:{tag}@{digest}
	ImageUri *string `json:"ImageUri,omitempty" name:"ImageUri"`

	// The temp token that a TCR Enterprise instance uses to obtain an image. It’s required when `ImageType` is `enterprise`.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	RegistryId *string `json:"RegistryId,omitempty" name:"RegistryId"`

	// Disused
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	EntryPoint *string `json:"EntryPoint,omitempty" name:"EntryPoint"`

	// entrypoint execution command
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Command *string `json:"Command,omitempty" name:"Command"`

	// Command parameters
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Args *string `json:"Args,omitempty" name:"Args"`
}

type InvokeFunctionRequest

type InvokeFunctionRequest struct {
	*tchttp.BaseRequest

	// Function name
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Version or alias of the function. It defaults to `$DEFAULT`.
	Qualifier *string `json:"Qualifier,omitempty" name:"Qualifier"`

	// Function running parameter, which is in the JSON format. Maximum parameter size is 6 MB. This field corresponds to [event input parameter](https://intl.cloud.tencent.com/document/product/583/9210?from_cn_redirect=1#.E5.87.BD.E6.95.B0.E5.85.A5.E5.8F.82.3Ca-id.3D.22input.22.3E.3C.2Fa.3E).
	Event *string `json:"Event,omitempty" name:"Event"`

	// Valid value: `None` (default) or `Tail`. If the value is `Tail`, `log` in the response will contain the corresponding function execution log (up to 4KB).
	LogType *string `json:"LogType,omitempty" name:"LogType"`

	// Namespace. `default` is used if it’s left empty.
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Traffic routing config in json format, e.g., {"k":"v"}. Please note that both "k" and "v" must be strings. Up to 1024 bytes allowed.
	RoutingKey *string `json:"RoutingKey,omitempty" name:"RoutingKey"`
}

func NewInvokeFunctionRequest

func NewInvokeFunctionRequest() (request *InvokeFunctionRequest)

func (*InvokeFunctionRequest) FromJsonString

func (r *InvokeFunctionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InvokeFunctionRequest) ToJsonString

func (r *InvokeFunctionRequest) ToJsonString() string

type InvokeFunctionResponse

type InvokeFunctionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Function execution result
		Result *Result `json:"Result,omitempty" name:"Result"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewInvokeFunctionResponse

func NewInvokeFunctionResponse() (response *InvokeFunctionResponse)

func (*InvokeFunctionResponse) FromJsonString

func (r *InvokeFunctionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InvokeFunctionResponse) ToJsonString

func (r *InvokeFunctionResponse) ToJsonString() string

type InvokeRequest

type InvokeRequest struct {
	*tchttp.BaseRequest

	// Function name
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Fill in `RequestResponse` for synchronized invocations (default and recommended) and `Event` for asychronized invocations. Note that for synchronized invocations, the max timeout period is 300s. Choose asychronized invocations if the required timeout period is longer than 300 seconds. You can also use [InvokeFunction](https://intl.cloud.tencent.com/document/product/583/58400?from_cn_redirect=1) for synchronized invocations.
	InvocationType *string `json:"InvocationType,omitempty" name:"InvocationType"`

	// The version or alias of the triggered function. It defaults to $LATEST
	Qualifier *string `json:"Qualifier,omitempty" name:"Qualifier"`

	// Function running parameter, which is in the JSON format. The maximum parameter size is 6 MB for synchronized invocations and 128KB for asynchronized invocations. This field corresponds to [event input parameter](https://intl.cloud.tencent.com/document/product/583/9210?from_cn_redirect=1#.E5.87.BD.E6.95.B0.E5.85.A5.E5.8F.82.3Ca-id.3D.22input.22.3E.3C.2Fa.3E).
	ClientContext *string `json:"ClientContext,omitempty" name:"ClientContext"`

	// Null for async invocations
	LogType *string `json:"LogType,omitempty" name:"LogType"`

	// Namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Traffic routing config in json format, e.g., {"k":"v"}. Please note that both "k" and "v" must be strings. Up to 1024 bytes allowed.
	RoutingKey *string `json:"RoutingKey,omitempty" name:"RoutingKey"`
}

func NewInvokeRequest

func NewInvokeRequest() (request *InvokeRequest)

func (*InvokeRequest) FromJsonString

func (r *InvokeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InvokeRequest) ToJsonString

func (r *InvokeRequest) ToJsonString() string

type InvokeResponse

type InvokeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Function execution result
		Result *Result `json:"Result,omitempty" name:"Result"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewInvokeResponse

func NewInvokeResponse() (response *InvokeResponse)

func (*InvokeResponse) FromJsonString

func (r *InvokeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InvokeResponse) ToJsonString

func (r *InvokeResponse) ToJsonString() string

type LayerVersionInfo

type LayerVersionInfo struct {

	// Runtime applicable to a version
	// Note: This field may return null, indicating that no valid values can be obtained.
	CompatibleRuntimes []*string `json:"CompatibleRuntimes,omitempty" name:"CompatibleRuntimes"`

	// Creation time
	AddTime *string `json:"AddTime,omitempty" name:"AddTime"`

	// Version description
	// Note: This field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitempty" name:"Description"`

	// License information
	// Note: This field may return null, indicating that no valid values can be obtained.
	LicenseInfo *string `json:"LicenseInfo,omitempty" name:"LicenseInfo"`

	// Version number
	LayerVersion *int64 `json:"LayerVersion,omitempty" name:"LayerVersion"`

	// Layer name
	LayerName *string `json:"LayerName,omitempty" name:"LayerName"`

	// Current status of specific layer version. For valid values, please see [here](https://intl.cloud.tencent.com/document/product/583/47175?from_cn_redirect=1#.E5.B1.82.EF.BC.88layer.EF.BC.89.E7.8A.B6.E6.80.81)
	Status *string `json:"Status,omitempty" name:"Status"`
}

type LayerVersionSimple

type LayerVersionSimple struct {

	// Layer name
	LayerName *string `json:"LayerName,omitempty" name:"LayerName"`

	// Version number
	LayerVersion *int64 `json:"LayerVersion,omitempty" name:"LayerVersion"`
}

type LimitsInfo

type LimitsInfo struct {

	// Limit of namespace quantity
	NamespacesCount *int64 `json:"NamespacesCount,omitempty" name:"NamespacesCount"`

	// Namespace limit information
	Namespace []*NamespaceLimit `json:"Namespace,omitempty" name:"Namespace"`
}

type ListAliasesRequest

type ListAliasesRequest struct {
	*tchttp.BaseRequest

	// Function name
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Function namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// If this parameter is provided, only aliases associated with this function version will be returned.
	FunctionVersion *string `json:"FunctionVersion,omitempty" name:"FunctionVersion"`

	// Data offset. Default value: 0
	Offset *string `json:"Offset,omitempty" name:"Offset"`

	// Number of results to be returned. Default value: 20
	Limit *string `json:"Limit,omitempty" name:"Limit"`
}

func NewListAliasesRequest

func NewListAliasesRequest() (request *ListAliasesRequest)

func (*ListAliasesRequest) FromJsonString

func (r *ListAliasesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListAliasesRequest) ToJsonString

func (r *ListAliasesRequest) ToJsonString() string

type ListAliasesResponse

type ListAliasesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Alias list
		Aliases []*Alias `json:"Aliases,omitempty" name:"Aliases"`

		// Total number of aliases
		// Note: this field may return null, indicating that no valid values can be obtained.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewListAliasesResponse

func NewListAliasesResponse() (response *ListAliasesResponse)

func (*ListAliasesResponse) FromJsonString

func (r *ListAliasesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListAliasesResponse) ToJsonString

func (r *ListAliasesResponse) ToJsonString() string

type ListAsyncEventsRequest

type ListAsyncEventsRequest struct {
	*tchttp.BaseRequest

	// Function name
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Filter (function version)
	Qualifier *string `json:"Qualifier,omitempty" name:"Qualifier"`

	// Filter (invocation type list)
	InvokeType []*string `json:"InvokeType,omitempty" name:"InvokeType"`

	// Filter (event status list)
	Status []*string `json:"Status,omitempty" name:"Status"`

	// Filter (left-closed-right-open range of execution start time)
	StartTimeInterval *TimeInterval `json:"StartTimeInterval,omitempty" name:"StartTimeInterval"`

	// Filter (left-closed-right-open range of execution end time)
	EndTimeInterval *TimeInterval `json:"EndTimeInterval,omitempty" name:"EndTimeInterval"`

	// Valid values: ASC, DESC. Default value: DESC
	Order *string `json:"Order,omitempty" name:"Order"`

	// Valid values: StartTime, EndTime. Default value: StartTime
	Orderby *string `json:"Orderby,omitempty" name:"Orderby"`

	// Data offset. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results to be returned. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Filter (event invocation request ID)
	InvokeRequestId *string `json:"InvokeRequestId,omitempty" name:"InvokeRequestId"`
}

func NewListAsyncEventsRequest

func NewListAsyncEventsRequest() (request *ListAsyncEventsRequest)

func (*ListAsyncEventsRequest) FromJsonString

func (r *ListAsyncEventsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListAsyncEventsRequest) ToJsonString

func (r *ListAsyncEventsRequest) ToJsonString() string

type ListAsyncEventsResponse

type ListAsyncEventsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of events that meet the filter
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Async event list
		EventList []*AsyncEvent `json:"EventList,omitempty" name:"EventList"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewListAsyncEventsResponse

func NewListAsyncEventsResponse() (response *ListAsyncEventsResponse)

func (*ListAsyncEventsResponse) FromJsonString

func (r *ListAsyncEventsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListAsyncEventsResponse) ToJsonString

func (r *ListAsyncEventsResponse) ToJsonString() string

type ListFunctionsRequest

type ListFunctionsRequest struct {
	*tchttp.BaseRequest

	// It specifies whether to return the results in ascending or descending order. The value is `ASC` or `DESC`.
	Order *string `json:"Order,omitempty" name:"Order"`

	// It specifies the sorting order of the results according to a specified field, such as `AddTime`, `ModTime`, and `FunctionName`.
	Orderby *string `json:"Orderby,omitempty" name:"Orderby"`

	// Data offset. The default value is `0`.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Return data length. The default value is `20`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// It specifies whether to support fuzzy matching for the function name.
	SearchKey *string `json:"SearchKey,omitempty" name:"SearchKey"`

	// Namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Function description. Fuzzy search is supported.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Filters
	// - tag:tag-key - String - Required: No - Filtering criteria based on tag-key - value pairs. Replace `tag-key` with a specific tag-key.
	//
	// The maximum number of `Filters` for each request is 10, and that of `Filter.Values` is 5.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewListFunctionsRequest

func NewListFunctionsRequest() (request *ListFunctionsRequest)

func (*ListFunctionsRequest) FromJsonString

func (r *ListFunctionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListFunctionsRequest) ToJsonString

func (r *ListFunctionsRequest) ToJsonString() string

type ListFunctionsResponse

type ListFunctionsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Function list
		Functions []*Function `json:"Functions,omitempty" name:"Functions"`

		// Total number
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewListFunctionsResponse

func NewListFunctionsResponse() (response *ListFunctionsResponse)

func (*ListFunctionsResponse) FromJsonString

func (r *ListFunctionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListFunctionsResponse) ToJsonString

func (r *ListFunctionsResponse) ToJsonString() string

type ListLayerVersionsRequest

type ListLayerVersionsRequest struct {
	*tchttp.BaseRequest

	// Layer name
	LayerName *string `json:"LayerName,omitempty" name:"LayerName"`

	// Compatible runtimes
	CompatibleRuntime []*string `json:"CompatibleRuntime,omitempty" name:"CompatibleRuntime"`
}

func NewListLayerVersionsRequest

func NewListLayerVersionsRequest() (request *ListLayerVersionsRequest)

func (*ListLayerVersionsRequest) FromJsonString

func (r *ListLayerVersionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListLayerVersionsRequest) ToJsonString

func (r *ListLayerVersionsRequest) ToJsonString() string

type ListLayerVersionsResponse

type ListLayerVersionsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Layer version list
		LayerVersions []*LayerVersionInfo `json:"LayerVersions,omitempty" name:"LayerVersions"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewListLayerVersionsResponse

func NewListLayerVersionsResponse() (response *ListLayerVersionsResponse)

func (*ListLayerVersionsResponse) FromJsonString

func (r *ListLayerVersionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListLayerVersionsResponse) ToJsonString

func (r *ListLayerVersionsResponse) ToJsonString() string

type ListLayersRequest

type ListLayersRequest struct {
	*tchttp.BaseRequest

	// Compatible runtimes
	CompatibleRuntime *string `json:"CompatibleRuntime,omitempty" name:"CompatibleRuntime"`

	// Offset
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Query key, which fuzzily matches the name
	SearchKey *string `json:"SearchKey,omitempty" name:"SearchKey"`
}

func NewListLayersRequest

func NewListLayersRequest() (request *ListLayersRequest)

func (*ListLayersRequest) FromJsonString

func (r *ListLayersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListLayersRequest) ToJsonString

func (r *ListLayersRequest) ToJsonString() string

type ListLayersResponse

type ListLayersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Layer list
		Layers []*LayerVersionInfo `json:"Layers,omitempty" name:"Layers"`

		// Total number of layers
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewListLayersResponse

func NewListLayersResponse() (response *ListLayersResponse)

func (*ListLayersResponse) FromJsonString

func (r *ListLayersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListLayersResponse) ToJsonString

func (r *ListLayersResponse) ToJsonString() string

type ListNamespacesRequest

type ListNamespacesRequest struct {
	*tchttp.BaseRequest

	// Return data length. The default value is `20`.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Data offset. The default value is `0`.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// It specifies the sorting order of the results according to a specified field, such as `Name` and `Updatetime`.
	Orderby *string `json:"Orderby,omitempty" name:"Orderby"`

	// It specifies whether to return the results in ascending or descending order. The value is `ASC` or `DESC`.
	Order *string `json:"Order,omitempty" name:"Order"`

	// Specifies the range and keyword for search. The value of `Key` can be `Namespace` or `Description`. Multiple AND conditions can be specified.
	SearchKey []*SearchKey `json:"SearchKey,omitempty" name:"SearchKey"`
}

func NewListNamespacesRequest

func NewListNamespacesRequest() (request *ListNamespacesRequest)

func (*ListNamespacesRequest) FromJsonString

func (r *ListNamespacesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListNamespacesRequest) ToJsonString

func (r *ListNamespacesRequest) ToJsonString() string

type ListNamespacesResponse

type ListNamespacesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Namespace details
		Namespaces []*Namespace `json:"Namespaces,omitempty" name:"Namespaces"`

		// Number of return namespaces
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewListNamespacesResponse

func NewListNamespacesResponse() (response *ListNamespacesResponse)

func (*ListNamespacesResponse) FromJsonString

func (r *ListNamespacesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListNamespacesResponse) ToJsonString

func (r *ListNamespacesResponse) ToJsonString() string

type ListTriggersRequest

type ListTriggersRequest struct {
	*tchttp.BaseRequest

	// Function name
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Namespace. Default value: default
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Data offset. Default value: 0
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results to be returned. Default value: 20
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Indicates by which field to sort the returned results. Valid values: add_time, mod_time. Default value: mod_time
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`

	// Indicates whether the returned results are sorted in ascending or descending order. Valid values: ASC, DESC. Default value: DESC
	Order *string `json:"Order,omitempty" name:"Order"`

	// * Qualifier:
	// Function version, alias
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewListTriggersRequest

func NewListTriggersRequest() (request *ListTriggersRequest)

func (*ListTriggersRequest) FromJsonString

func (r *ListTriggersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListTriggersRequest) ToJsonString

func (r *ListTriggersRequest) ToJsonString() string

type ListTriggersResponse

type ListTriggersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of triggers
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Trigger list
		Triggers []*TriggerInfo `json:"Triggers,omitempty" name:"Triggers"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewListTriggersResponse

func NewListTriggersResponse() (response *ListTriggersResponse)

func (*ListTriggersResponse) FromJsonString

func (r *ListTriggersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListTriggersResponse) ToJsonString

func (r *ListTriggersResponse) ToJsonString() string

type ListVersionByFunctionRequest

type ListVersionByFunctionRequest struct {
	*tchttp.BaseRequest

	// Function Name
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// The namespace where the function locates
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Data offset. The default value is `0`.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Return data length. The default value is `20`.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// It specifies whether to return the results in ascending or descending order. The value is `ASC` or `DESC`.
	Order *string `json:"Order,omitempty" name:"Order"`

	// It specifies the sorting order of the results according to a specified field, such as `AddTime`, `ModTime`.
	OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`
}

func NewListVersionByFunctionRequest

func NewListVersionByFunctionRequest() (request *ListVersionByFunctionRequest)

func (*ListVersionByFunctionRequest) FromJsonString

func (r *ListVersionByFunctionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListVersionByFunctionRequest) ToJsonString

func (r *ListVersionByFunctionRequest) ToJsonString() string

type ListVersionByFunctionResponse

type ListVersionByFunctionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Function version
		FunctionVersion []*string `json:"FunctionVersion,omitempty" name:"FunctionVersion"`

		// Function version list
		// Note: This field may return null, indicating that no valid values is found.
		Versions []*FunctionVersion `json:"Versions,omitempty" name:"Versions"`

		// Total number of function versions
		// Note: This field may return null, indicating that no valid value was found.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewListVersionByFunctionResponse

func NewListVersionByFunctionResponse() (response *ListVersionByFunctionResponse)

func (*ListVersionByFunctionResponse) FromJsonString

func (r *ListVersionByFunctionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListVersionByFunctionResponse) ToJsonString

func (r *ListVersionByFunctionResponse) ToJsonString() string

type LogFilter

type LogFilter struct {

	// Values of `filter.RetCode` include:
	// not0, indicating that only logs of failed execution will be returned.
	// is0, indicating that only logs of successful execution will be returned.
	// TimeLimitExceeded, indicating that logs of function invocations which timed out will be returned.
	// ResourceLimitExceeded, indicating that logs of function invocations during which resources exceeded the upper limit will be returned.
	// UserCodeException, indicating that logs of function invocations during which a user code error occurred will be returned.
	// Blank, indicating that all logs will be returned.
	RetCode *string `json:"RetCode,omitempty" name:"RetCode"`
}

type LogSearchContext

type LogSearchContext struct {

	// Offset.
	Offset *string `json:"Offset,omitempty" name:"Offset"`

	// Log record number
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Log keyword
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

	// Log type. The value is `Application` (default) or `Platform`.
	Type *string `json:"Type,omitempty" name:"Type"`
}

type Namespace

type Namespace struct {

	// Creation time of the namespace
	ModTime *string `json:"ModTime,omitempty" name:"ModTime"`

	// Modification time of the namespace
	AddTime *string `json:"AddTime,omitempty" name:"AddTime"`

	// Namespace description
	Description *string `json:"Description,omitempty" name:"Description"`

	// Namespace name
	Name *string `json:"Name,omitempty" name:"Name"`

	// The default value is default. TCB indicates that the namespace is developed and created through the mini-program cloud.
	Type *string `json:"Type,omitempty" name:"Type"`
}

type NamespaceLimit

type NamespaceLimit struct {

	// Total number of functions
	FunctionsCount *int64 `json:"FunctionsCount,omitempty" name:"FunctionsCount"`

	// Trigger information
	Trigger *TriggerCount `json:"Trigger,omitempty" name:"Trigger"`

	// Namespace name
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Concurrency
	ConcurrentExecutions *int64 `json:"ConcurrentExecutions,omitempty" name:"ConcurrentExecutions"`

	// Timeout limit
	TimeoutLimit *int64 `json:"TimeoutLimit,omitempty" name:"TimeoutLimit"`

	// Test event limit
	// Note: this field may return null, indicating that no valid values can be obtained.
	TestModelLimit *int64 `json:"TestModelLimit,omitempty" name:"TestModelLimit"`

	// Initialization timeout limit
	InitTimeoutLimit *int64 `json:"InitTimeoutLimit,omitempty" name:"InitTimeoutLimit"`

	// Limit of async retry attempt quantity
	RetryNumLimit *int64 `json:"RetryNumLimit,omitempty" name:"RetryNumLimit"`

	// Lower limit of message retention time for async retry
	MinMsgTTL *int64 `json:"MinMsgTTL,omitempty" name:"MinMsgTTL"`

	// Upper limit of message retention time for async retry
	MaxMsgTTL *int64 `json:"MaxMsgTTL,omitempty" name:"MaxMsgTTL"`
}

type NamespaceUsage

type NamespaceUsage struct {

	// Function array
	Functions []*string `json:"Functions,omitempty" name:"Functions"`

	// Namespace name
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Number of functions in namespace
	FunctionsCount *int64 `json:"FunctionsCount,omitempty" name:"FunctionsCount"`
}

type ProtocolParams

type ProtocolParams struct {

	// Parameters of WebSockets protocol
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	WSParams *WSParams `json:"WSParams,omitempty" name:"WSParams"`
}

type PublicNetConfigIn

type PublicNetConfigIn struct {

	// Whether to enable public network access. Valid values: ['DISABLE', 'ENABLE']
	PublicNetStatus *string `json:"PublicNetStatus,omitempty" name:"PublicNetStatus"`

	// EIP configuration
	EipConfig *EipConfigIn `json:"EipConfig,omitempty" name:"EipConfig"`
}

type PublicNetConfigOut

type PublicNetConfigOut struct {

	// Whether to enable public network access. Valid values: ['DISABLE', 'ENABLE']
	PublicNetStatus *string `json:"PublicNetStatus,omitempty" name:"PublicNetStatus"`

	// EIP configuration
	EipConfig *EipConfigOut `json:"EipConfig,omitempty" name:"EipConfig"`
}

type PublishLayerVersionRequest

type PublishLayerVersionRequest struct {
	*tchttp.BaseRequest

	// Layer name, which can contain 1-64 English letters, digits, hyphens, and underscores, must begin with a letter, and cannot end with a hyphen or underscore
	LayerName *string `json:"LayerName,omitempty" name:"LayerName"`

	// Runtimes compatible with layer. Multiple choices are allowed. The valid values of this parameter correspond to the valid values of the `Runtime` of the function.
	CompatibleRuntimes []*string `json:"CompatibleRuntimes,omitempty" name:"CompatibleRuntimes"`

	// Layer file source or content
	Content *Code `json:"Content,omitempty" name:"Content"`

	// Layer version description
	Description *string `json:"Description,omitempty" name:"Description"`

	// Software license of layer
	LicenseInfo *string `json:"LicenseInfo,omitempty" name:"LicenseInfo"`
}

func NewPublishLayerVersionRequest

func NewPublishLayerVersionRequest() (request *PublishLayerVersionRequest)

func (*PublishLayerVersionRequest) FromJsonString

func (r *PublishLayerVersionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PublishLayerVersionRequest) ToJsonString

func (r *PublishLayerVersionRequest) ToJsonString() string

type PublishLayerVersionResponse

type PublishLayerVersionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Version number of the layer created in this request
		LayerVersion *int64 `json:"LayerVersion,omitempty" name:"LayerVersion"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewPublishLayerVersionResponse

func NewPublishLayerVersionResponse() (response *PublishLayerVersionResponse)

func (*PublishLayerVersionResponse) FromJsonString

func (r *PublishLayerVersionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PublishLayerVersionResponse) ToJsonString

func (r *PublishLayerVersionResponse) ToJsonString() string

type PublishVersionRequest

type PublishVersionRequest struct {
	*tchttp.BaseRequest

	// Name of the released function
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Function description
	Description *string `json:"Description,omitempty" name:"Description"`

	// Function namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
}

func NewPublishVersionRequest

func NewPublishVersionRequest() (request *PublishVersionRequest)

func (*PublishVersionRequest) FromJsonString

func (r *PublishVersionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PublishVersionRequest) ToJsonString

func (r *PublishVersionRequest) ToJsonString() string

type PublishVersionResponse

type PublishVersionResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Function version
		FunctionVersion *string `json:"FunctionVersion,omitempty" name:"FunctionVersion"`

		// Code size
		CodeSize *int64 `json:"CodeSize,omitempty" name:"CodeSize"`

		// Maximum available memory
		MemorySize *int64 `json:"MemorySize,omitempty" name:"MemorySize"`

		// Function description
		Description *string `json:"Description,omitempty" name:"Description"`

		// Function entry
		Handler *string `json:"Handler,omitempty" name:"Handler"`

		// Function timeout
		Timeout *int64 `json:"Timeout,omitempty" name:"Timeout"`

		// Function running environment
		Runtime *string `json:"Runtime,omitempty" name:"Runtime"`

		// Function namespace
		Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewPublishVersionResponse

func NewPublishVersionResponse() (response *PublishVersionResponse)

func (*PublishVersionResponse) FromJsonString

func (r *PublishVersionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PublishVersionResponse) ToJsonString

func (r *PublishVersionResponse) ToJsonString() string

type PutProvisionedConcurrencyConfigRequest

type PutProvisionedConcurrencyConfigRequest struct {
	*tchttp.BaseRequest

	// Name of the function for which to set the provisioned concurrency
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Function version number. Note: the `$LATEST` version does not support provisioned concurrency
	Qualifier *string `json:"Qualifier,omitempty" name:"Qualifier"`

	// Provisioned concurrency amount. Note: there is an upper limit for the sum of provisioned concurrency amounts of all versions, which currently is the function's maximum concurrency quota minus 100
	VersionProvisionedConcurrencyNum *uint64 `json:"VersionProvisionedConcurrencyNum,omitempty" name:"VersionProvisionedConcurrencyNum"`

	// Function namespace. Default value: `default`
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Scheduled provisioned concurrency scaling action
	TriggerActions []*TriggerAction `json:"TriggerActions,omitempty" name:"TriggerActions"`
}

func NewPutProvisionedConcurrencyConfigRequest

func NewPutProvisionedConcurrencyConfigRequest() (request *PutProvisionedConcurrencyConfigRequest)

func (*PutProvisionedConcurrencyConfigRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PutProvisionedConcurrencyConfigRequest) ToJsonString

type PutProvisionedConcurrencyConfigResponse

type PutProvisionedConcurrencyConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewPutProvisionedConcurrencyConfigResponse

func NewPutProvisionedConcurrencyConfigResponse() (response *PutProvisionedConcurrencyConfigResponse)

func (*PutProvisionedConcurrencyConfigResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PutProvisionedConcurrencyConfigResponse) ToJsonString

type PutReservedConcurrencyConfigRequest

type PutReservedConcurrencyConfigRequest struct {
	*tchttp.BaseRequest

	// Specifies the function of which you want to configure the reserved quota
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Reserved memory quota of the function. Note: the upper limit for the total reserved quota of the function is the user's total concurrency memory minus 12800
	ReservedConcurrencyMem *uint64 `json:"ReservedConcurrencyMem,omitempty" name:"ReservedConcurrencyMem"`

	// Function namespace. Default value: `default`
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
}

func NewPutReservedConcurrencyConfigRequest

func NewPutReservedConcurrencyConfigRequest() (request *PutReservedConcurrencyConfigRequest)

func (*PutReservedConcurrencyConfigRequest) FromJsonString

func (r *PutReservedConcurrencyConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PutReservedConcurrencyConfigRequest) ToJsonString

func (r *PutReservedConcurrencyConfigRequest) ToJsonString() string

type PutReservedConcurrencyConfigResponse

type PutReservedConcurrencyConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewPutReservedConcurrencyConfigResponse

func NewPutReservedConcurrencyConfigResponse() (response *PutReservedConcurrencyConfigResponse)

func (*PutReservedConcurrencyConfigResponse) FromJsonString

func (r *PutReservedConcurrencyConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PutReservedConcurrencyConfigResponse) ToJsonString

func (r *PutReservedConcurrencyConfigResponse) ToJsonString() string

type PutTotalConcurrencyConfigRequest

type PutTotalConcurrencyConfigRequest struct {
	*tchttp.BaseRequest

	// Account concurrency memory quota. Note: the lower limit for the account concurrency memory quota is the user's total concurrency memory used + 12800
	TotalConcurrencyMem *uint64 `json:"TotalConcurrencyMem,omitempty" name:"TotalConcurrencyMem"`

	// Namespace. Default value: `default`
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
}

func NewPutTotalConcurrencyConfigRequest

func NewPutTotalConcurrencyConfigRequest() (request *PutTotalConcurrencyConfigRequest)

func (*PutTotalConcurrencyConfigRequest) FromJsonString

func (r *PutTotalConcurrencyConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PutTotalConcurrencyConfigRequest) ToJsonString

func (r *PutTotalConcurrencyConfigRequest) ToJsonString() string

type PutTotalConcurrencyConfigResponse

type PutTotalConcurrencyConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewPutTotalConcurrencyConfigResponse

func NewPutTotalConcurrencyConfigResponse() (response *PutTotalConcurrencyConfigResponse)

func (*PutTotalConcurrencyConfigResponse) FromJsonString

func (r *PutTotalConcurrencyConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PutTotalConcurrencyConfigResponse) ToJsonString

func (r *PutTotalConcurrencyConfigResponse) ToJsonString() string

type RequestStatus

type RequestStatus struct {

	// Function name
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Return value after the function is executed
	RetMsg *string `json:"RetMsg,omitempty" name:"RetMsg"`

	// Request ID
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`

	// Request start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Result of the request. `0`: succeeded, `1`: running, `-1`: exception
	RetCode *int64 `json:"RetCode,omitempty" name:"RetCode"`

	// Time consumed for the request in ms
	Duration *float64 `json:"Duration,omitempty" name:"Duration"`

	// Time consumed by the request in MB
	MemUsage *float64 `json:"MemUsage,omitempty" name:"MemUsage"`

	// Retry Attempts
	RetryNum *int64 `json:"RetryNum,omitempty" name:"RetryNum"`
}

type Result

type Result struct {

	// It indicates the log output during the function execution. Null is returned for asynchronous invocations.
	Log *string `json:"Log,omitempty" name:"Log"`

	// It indicates the response from the executed function. Null is returned for asynchronous invocations.
	RetMsg *string `json:"RetMsg,omitempty" name:"RetMsg"`

	// It indicates the error message of the executed function. Null is returned for asynchronous invocations.
	ErrMsg *string `json:"ErrMsg,omitempty" name:"ErrMsg"`

	// It indicates the memory size (in bytes) when the function is running. Null is returned for asynchronous invocations.
	MemUsage *int64 `json:"MemUsage,omitempty" name:"MemUsage"`

	// It indicates the duration (in milliseconds) required for running the function. Null is returned for asynchronous invocations.
	Duration *float64 `json:"Duration,omitempty" name:"Duration"`

	// It indicates the billing duration (in milliseconds) for the function. Null is returned for asynchronous invocations.
	BillDuration *int64 `json:"BillDuration,omitempty" name:"BillDuration"`

	// ID of the executed function
	FunctionRequestId *string `json:"FunctionRequestId,omitempty" name:"FunctionRequestId"`

	// `0` indicates successful execution. Null is returned for asynchronous invocations.
	InvokeResult *int64 `json:"InvokeResult,omitempty" name:"InvokeResult"`
}

type RetryConfig

type RetryConfig struct {

	// Number of retry attempts
	RetryNum *int64 `json:"RetryNum,omitempty" name:"RetryNum"`
}

type RoutingConfig

type RoutingConfig struct {

	// Additional version with random weight-based routing
	AdditionalVersionWeights []*VersionWeight `json:"AdditionalVersionWeights,omitempty" name:"AdditionalVersionWeights"`

	// Additional version with rule-based routing
	AddtionVersionMatchs []*VersionMatch `json:"AddtionVersionMatchs,omitempty" name:"AddtionVersionMatchs"`
}

type SearchKey

type SearchKey struct {

	// Search range
	Key *string `json:"Key,omitempty" name:"Key"`

	// Keyword for search
	Value *string `json:"Value,omitempty" name:"Value"`
}

type StatusReason

type StatusReason struct {

	// Error code
	ErrorCode *string `json:"ErrorCode,omitempty" name:"ErrorCode"`

	// Error message
	ErrorMessage *string `json:"ErrorMessage,omitempty" name:"ErrorMessage"`
}

type Tag

type Tag struct {

	// Tag key
	Key *string `json:"Key,omitempty" name:"Key"`

	// Tag value
	Value *string `json:"Value,omitempty" name:"Value"`
}

type TerminateAsyncEventRequest

type TerminateAsyncEventRequest struct {
	*tchttp.BaseRequest

	// Function name
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Terminated invocation request ID
	InvokeRequestId *string `json:"InvokeRequestId,omitempty" name:"InvokeRequestId"`

	// Namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Disused
	GraceShutdown *bool `json:"GraceShutdown,omitempty" name:"GraceShutdown"`
}

func NewTerminateAsyncEventRequest

func NewTerminateAsyncEventRequest() (request *TerminateAsyncEventRequest)

func (*TerminateAsyncEventRequest) FromJsonString

func (r *TerminateAsyncEventRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*TerminateAsyncEventRequest) ToJsonString

func (r *TerminateAsyncEventRequest) ToJsonString() string

type TerminateAsyncEventResponse

type TerminateAsyncEventResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewTerminateAsyncEventResponse

func NewTerminateAsyncEventResponse() (response *TerminateAsyncEventResponse)

func (*TerminateAsyncEventResponse) FromJsonString

func (r *TerminateAsyncEventResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*TerminateAsyncEventResponse) ToJsonString

func (r *TerminateAsyncEventResponse) ToJsonString() string

type TimeInterval

type TimeInterval struct {

	// Start time (inclusive) in the format of "%Y-%m-%d %H:%M:%S"
	Start *string `json:"Start,omitempty" name:"Start"`

	// End time (exclusive) in the format of "%Y-%m-%d %H:%M:%S"
	End *string `json:"End,omitempty" name:"End"`
}

type Trigger

type Trigger struct {

	// Latest modification time of the trigger
	ModTime *string `json:"ModTime,omitempty" name:"ModTime"`

	// Trigger type
	Type *string `json:"Type,omitempty" name:"Type"`

	// Detailed trigger configuration
	TriggerDesc *string `json:"TriggerDesc,omitempty" name:"TriggerDesc"`

	// Trigger name
	TriggerName *string `json:"TriggerName,omitempty" name:"TriggerName"`

	// Creation time of the trigger
	AddTime *string `json:"AddTime,omitempty" name:"AddTime"`

	// Enabling switch
	Enable *int64 `json:"Enable,omitempty" name:"Enable"`

	// Custom parameter
	CustomArgument *string `json:"CustomArgument,omitempty" name:"CustomArgument"`

	// Trigger status
	AvailableStatus *string `json:"AvailableStatus,omitempty" name:"AvailableStatus"`

	// Minimum resource ID of trigger
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`

	// Trigger-Function binding status
	BindStatus *string `json:"BindStatus,omitempty" name:"BindStatus"`

	// Trigger type. Two-way means that the trigger can be manipulated in both consoles, while one-way means that the trigger can be created only in the SCF Console
	TriggerAttribute *string `json:"TriggerAttribute,omitempty" name:"TriggerAttribute"`

	// The alias or version bound with the trigger
	Qualifier *string `json:"Qualifier,omitempty" name:"Qualifier"`
}

type TriggerAction

type TriggerAction struct {

	// Scheduled action name
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TriggerName *string `json:"TriggerName,omitempty" name:"TriggerName"`

	// Target provisioned concurrency of the scheduled scaling action
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TriggerProvisionedConcurrencyNum *uint64 `json:"TriggerProvisionedConcurrencyNum,omitempty" name:"TriggerProvisionedConcurrencyNum"`

	// Trigger time of the scheduled action in Cron expression. Seven fields are required and should be separated with a space.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TriggerCronConfig *string `json:"TriggerCronConfig,omitempty" name:"TriggerCronConfig"`
}

type TriggerCount

type TriggerCount struct {

	// Number of COS triggers
	Cos *int64 `json:"Cos,omitempty" name:"Cos"`

	// Number of timer triggers
	Timer *int64 `json:"Timer,omitempty" name:"Timer"`

	// Number of CMQ triggers
	Cmq *int64 `json:"Cmq,omitempty" name:"Cmq"`

	// Total number of triggers
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// Number of CKafka triggers
	Ckafka *int64 `json:"Ckafka,omitempty" name:"Ckafka"`

	// Number of API Gateway triggers
	Apigw *int64 `json:"Apigw,omitempty" name:"Apigw"`

	// Number of CLS triggers
	Cls *int64 `json:"Cls,omitempty" name:"Cls"`

	// Number of CLB triggers
	Clb *int64 `json:"Clb,omitempty" name:"Clb"`

	// Number of MPS triggers
	Mps *int64 `json:"Mps,omitempty" name:"Mps"`

	// Number of CM triggers
	Cm *int64 `json:"Cm,omitempty" name:"Cm"`

	// Number of VOD triggers
	Vod *int64 `json:"Vod,omitempty" name:"Vod"`
}

type TriggerInfo

type TriggerInfo struct {

	// Whether to enable
	Enable *uint64 `json:"Enable,omitempty" name:"Enable"`

	// Function version or alias
	Qualifier *string `json:"Qualifier,omitempty" name:"Qualifier"`

	// Trigger name
	TriggerName *string `json:"TriggerName,omitempty" name:"TriggerName"`

	// Trigger type
	Type *string `json:"Type,omitempty" name:"Type"`

	// Detailed configuration of trigger
	TriggerDesc *string `json:"TriggerDesc,omitempty" name:"TriggerDesc"`

	// Whether the trigger is available
	AvailableStatus *string `json:"AvailableStatus,omitempty" name:"AvailableStatus"`

	// Custom parameter
	// Note: this field may return null, indicating that no valid values can be obtained.
	CustomArgument *string `json:"CustomArgument,omitempty" name:"CustomArgument"`

	// Trigger creation time
	AddTime *string `json:"AddTime,omitempty" name:"AddTime"`

	// Trigger last modified time
	ModTime *string `json:"ModTime,omitempty" name:"ModTime"`

	// Minimum resource ID of trigger
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`

	// Trigger-Function binding status
	BindStatus *string `json:"BindStatus,omitempty" name:"BindStatus"`

	// Trigger type. Two-way means that the trigger can be manipulated in both consoles, while one-way means that the trigger can be created only in the SCF Console
	TriggerAttribute *string `json:"TriggerAttribute,omitempty" name:"TriggerAttribute"`
}

type UpdateAliasRequest

type UpdateAliasRequest struct {
	*tchttp.BaseRequest

	// Function name
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Alias name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Master version pointed to by the alias
	FunctionVersion *string `json:"FunctionVersion,omitempty" name:"FunctionVersion"`

	// Function namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Routing information of alias, which is required if you need to specify an additional version for the alias.
	RoutingConfig *RoutingConfig `json:"RoutingConfig,omitempty" name:"RoutingConfig"`

	// Alias description
	Description *string `json:"Description,omitempty" name:"Description"`
}

func NewUpdateAliasRequest

func NewUpdateAliasRequest() (request *UpdateAliasRequest)

func (*UpdateAliasRequest) FromJsonString

func (r *UpdateAliasRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateAliasRequest) ToJsonString

func (r *UpdateAliasRequest) ToJsonString() string

type UpdateAliasResponse

type UpdateAliasResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUpdateAliasResponse

func NewUpdateAliasResponse() (response *UpdateAliasResponse)

func (*UpdateAliasResponse) FromJsonString

func (r *UpdateAliasResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateAliasResponse) ToJsonString

func (r *UpdateAliasResponse) ToJsonString() string

type UpdateFunctionCodeRequest

type UpdateFunctionCodeRequest struct {
	*tchttp.BaseRequest

	// Name of the function to be modified
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Function handler name, which is in the `file name.function name` form. Use a period (.) to separate a file name and function name. The file name and function name must start and end with letters and contain 2-60 characters, including letters, digits, underscores (_), and hyphens (-).
	Handler *string `json:"Handler,omitempty" name:"Handler"`

	// COS bucket name
	CosBucketName *string `json:"CosBucketName,omitempty" name:"CosBucketName"`

	// COS object path
	CosObjectName *string `json:"CosObjectName,omitempty" name:"CosObjectName"`

	// It contains a function code file and its dependencies in the ZIP format. When you use this API, the ZIP file needs to be encoded with Base64. Up to 20 MB is supported.
	ZipFile *string `json:"ZipFile,omitempty" name:"ZipFile"`

	// Function namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// COS region. Note: Beijing includes ap-beijing and ap-beijing-1.
	CosBucketRegion *string `json:"CosBucketRegion,omitempty" name:"CosBucketRegion"`

	// Whether to install dependencies automatically
	InstallDependency *string `json:"InstallDependency,omitempty" name:"InstallDependency"`

	// Function environment
	EnvId *string `json:"EnvId,omitempty" name:"EnvId"`

	// It specifies whether to synchronously release a new version during the update. The default value is `FALSE`, indicating not to release a new version.
	Publish *string `json:"Publish,omitempty" name:"Publish"`

	// Function code
	Code *Code `json:"Code,omitempty" name:"Code"`

	// Code source. Valid values: ZipFile, Cos, Inline
	CodeSource *string `json:"CodeSource,omitempty" name:"CodeSource"`
}

func NewUpdateFunctionCodeRequest

func NewUpdateFunctionCodeRequest() (request *UpdateFunctionCodeRequest)

func (*UpdateFunctionCodeRequest) FromJsonString

func (r *UpdateFunctionCodeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateFunctionCodeRequest) ToJsonString

func (r *UpdateFunctionCodeRequest) ToJsonString() string

type UpdateFunctionCodeResponse

type UpdateFunctionCodeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUpdateFunctionCodeResponse

func NewUpdateFunctionCodeResponse() (response *UpdateFunctionCodeResponse)

func (*UpdateFunctionCodeResponse) FromJsonString

func (r *UpdateFunctionCodeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateFunctionCodeResponse) ToJsonString

func (r *UpdateFunctionCodeResponse) ToJsonString() string

type UpdateFunctionConfigurationRequest

type UpdateFunctionConfigurationRequest struct {
	*tchttp.BaseRequest

	// Name of the function to be modified
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Function description. It can contain up to 1,000 characters, including letters, digits, spaces, commas (,), periods (.), and Chinese characters.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Memory size available for function during execution. Default value: 128 MB. Value range: 64 or 128-3,072 MB in increments of 128 MB.
	MemorySize *int64 `json:"MemorySize,omitempty" name:"MemorySize"`

	// Maximum execution duration of function in seconds. Value range: 1-900 seconds. Default value: 3 seconds
	Timeout *int64 `json:"Timeout,omitempty" name:"Timeout"`

	// Function runtime environment. Valid values: Python2.7, Python3.6, Nodejs6.10, Nodejs8.9, Nodejs10.15, Nodejs12.16, PHP5, PHP7, Go1, Java8, CustomRuntime
	Runtime *string `json:"Runtime,omitempty" name:"Runtime"`

	// Function environment variable
	Environment *Environment `json:"Environment,omitempty" name:"Environment"`

	// Function namespace
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Function VPC configuration
	VpcConfig *VpcConfig `json:"VpcConfig,omitempty" name:"VpcConfig"`

	// Role bound to the function
	Role *string `json:"Role,omitempty" name:"Role"`

	// Specifies whether to [install dependency online](https://intl.cloud.tencent.com/document/product/583/37920?from_cn_redirect=1). `TRUE`: yes. Default to `FALSE`. It is only available for Node.js functions.
	InstallDependency *string `json:"InstallDependency,omitempty" name:"InstallDependency"`

	// CLS logset ID to which logs are shipped
	ClsLogsetId *string `json:"ClsLogsetId,omitempty" name:"ClsLogsetId"`

	// CLS Topic ID to which logs are shipped
	ClsTopicId *string `json:"ClsTopicId,omitempty" name:"ClsTopicId"`

	// It specifies whether to synchronously publish a new version during the update. The default value is `FALSE`, indicating not to publish a new version
	Publish *string `json:"Publish,omitempty" name:"Publish"`

	// Whether to enable L5 access. TRUE: enable; FALSE: not enable
	L5Enable *string `json:"L5Enable,omitempty" name:"L5Enable"`

	// List of layer versions that bound with the function. Files with the same name will be overridden by the bound layer versions according to the ascending order in the list.
	Layers []*LayerVersionSimple `json:"Layers,omitempty" name:"Layers"`

	// Information of a dead letter queue associated with a function
	DeadLetterConfig *DeadLetterConfig `json:"DeadLetterConfig,omitempty" name:"DeadLetterConfig"`

	// Public network access configuration
	PublicNetConfig *PublicNetConfigIn `json:"PublicNetConfig,omitempty" name:"PublicNetConfig"`

	// File system configuration input parameter, which is used for the function to bind the CFS file system
	CfsConfig *CfsConfig `json:"CfsConfig,omitempty" name:"CfsConfig"`

	// The function initialization timeout period
	InitTimeout *int64 `json:"InitTimeout,omitempty" name:"InitTimeout"`

	// Parameters of the specified protocol
	ProtocolParams *ProtocolParams `json:"ProtocolParams,omitempty" name:"ProtocolParams"`
}

func NewUpdateFunctionConfigurationRequest

func NewUpdateFunctionConfigurationRequest() (request *UpdateFunctionConfigurationRequest)

func (*UpdateFunctionConfigurationRequest) FromJsonString

func (r *UpdateFunctionConfigurationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateFunctionConfigurationRequest) ToJsonString

func (r *UpdateFunctionConfigurationRequest) ToJsonString() string

type UpdateFunctionConfigurationResponse

type UpdateFunctionConfigurationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUpdateFunctionConfigurationResponse

func NewUpdateFunctionConfigurationResponse() (response *UpdateFunctionConfigurationResponse)

func (*UpdateFunctionConfigurationResponse) FromJsonString

func (r *UpdateFunctionConfigurationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateFunctionConfigurationResponse) ToJsonString

func (r *UpdateFunctionConfigurationResponse) ToJsonString() string

type UpdateFunctionEventInvokeConfigRequest

type UpdateFunctionEventInvokeConfigRequest struct {
	*tchttp.BaseRequest

	// Async retry configuration information
	AsyncTriggerConfig *AsyncTriggerConfig `json:"AsyncTriggerConfig,omitempty" name:"AsyncTriggerConfig"`

	// Function name
	FunctionName *string `json:"FunctionName,omitempty" name:"FunctionName"`

	// Function namespace. Default value: default
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`
}

func NewUpdateFunctionEventInvokeConfigRequest

func NewUpdateFunctionEventInvokeConfigRequest() (request *UpdateFunctionEventInvokeConfigRequest)

func (*UpdateFunctionEventInvokeConfigRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateFunctionEventInvokeConfigRequest) ToJsonString

type UpdateFunctionEventInvokeConfigResponse

type UpdateFunctionEventInvokeConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUpdateFunctionEventInvokeConfigResponse

func NewUpdateFunctionEventInvokeConfigResponse() (response *UpdateFunctionEventInvokeConfigResponse)

func (*UpdateFunctionEventInvokeConfigResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateFunctionEventInvokeConfigResponse) ToJsonString

type UpdateNamespaceRequest

type UpdateNamespaceRequest struct {
	*tchttp.BaseRequest

	// Namespace name
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// Namespace description
	Description *string `json:"Description,omitempty" name:"Description"`
}

func NewUpdateNamespaceRequest

func NewUpdateNamespaceRequest() (request *UpdateNamespaceRequest)

func (*UpdateNamespaceRequest) FromJsonString

func (r *UpdateNamespaceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateNamespaceRequest) ToJsonString

func (r *UpdateNamespaceRequest) ToJsonString() string

type UpdateNamespaceResponse

type UpdateNamespaceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUpdateNamespaceResponse

func NewUpdateNamespaceResponse() (response *UpdateNamespaceResponse)

func (*UpdateNamespaceResponse) FromJsonString

func (r *UpdateNamespaceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateNamespaceResponse) ToJsonString

func (r *UpdateNamespaceResponse) ToJsonString() string

type UsageInfo

type UsageInfo struct {

	// Number of namespaces
	NamespacesCount *int64 `json:"NamespacesCount,omitempty" name:"NamespacesCount"`

	// Namespace details
	Namespace []*NamespaceUsage `json:"Namespace,omitempty" name:"Namespace"`

	// Upper limit of user concurrency memory in the current region
	TotalConcurrencyMem *int64 `json:"TotalConcurrencyMem,omitempty" name:"TotalConcurrencyMem"`

	// Quota of configured user concurrency memory in the current region
	TotalAllocatedConcurrencyMem *int64 `json:"TotalAllocatedConcurrencyMem,omitempty" name:"TotalAllocatedConcurrencyMem"`

	// Quota of account concurrency actually configured by user
	UserConcurrencyMemLimit *int64 `json:"UserConcurrencyMemLimit,omitempty" name:"UserConcurrencyMemLimit"`
}

type Variable

type Variable struct {

	// Variable name
	Key *string `json:"Key,omitempty" name:"Key"`

	// Variable value
	Value *string `json:"Value,omitempty" name:"Value"`
}

type VersionMatch

type VersionMatch struct {

	// Function version name
	Version *string `json:"Version,omitempty" name:"Version"`

	// Matching rule key. When the API is called, pass in the `key` to route the request to the specified version based on the matching rule
	// Header method:
	// Enter "invoke.headers.User" for `key` and pass in `RoutingKey:{"User":"value"}` when invoking a function through `invoke` for invocation based on rule matching
	Key *string `json:"Key,omitempty" name:"Key"`

	// Match method. Valid values:
	// range: range match
	// exact: exact string match
	Method *string `json:"Method,omitempty" name:"Method"`

	// Rule requirements for range match:
	// It should be described in an open or closed range, i.e., `(a,b)` or `[a,b]`, where both a and b are integers
	// Rule requirements for exact match:
	// Exact string match
	Expression *string `json:"Expression,omitempty" name:"Expression"`
}

type VersionProvisionedConcurrencyInfo

type VersionProvisionedConcurrencyInfo struct {

	// Set provisioned concurrency amount.
	AllocatedProvisionedConcurrencyNum *uint64 `json:"AllocatedProvisionedConcurrencyNum,omitempty" name:"AllocatedProvisionedConcurrencyNum"`

	// Currently available provisioned concurrency amount.
	AvailableProvisionedConcurrencyNum *uint64 `json:"AvailableProvisionedConcurrencyNum,omitempty" name:"AvailableProvisionedConcurrencyNum"`

	// Provisioned concurrency setting task status. `Done`: completed; `InProgress`: in progress; `Failed`: partially or completely failed.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Status description of provisioned concurrency setting task.
	StatusReason *string `json:"StatusReason,omitempty" name:"StatusReason"`

	// Function version number
	Qualifier *string `json:"Qualifier,omitempty" name:"Qualifier"`

	// List of scheduled provisioned concurrency scaling actions
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	TriggerActions []*TriggerAction `json:"TriggerActions,omitempty" name:"TriggerActions"`
}

type VersionWeight

type VersionWeight struct {

	// Function version name
	Version *string `json:"Version,omitempty" name:"Version"`

	// Version weight
	Weight *float64 `json:"Weight,omitempty" name:"Weight"`
}

type VpcConfig

type VpcConfig struct {

	// VPC ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`
}

type WSParams

type WSParams struct {

	// Idle timeout period in seconds. Default: 15; range: 1 to 1800
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	IdleTimeOut *uint64 `json:"IdleTimeOut,omitempty" name:"IdleTimeOut"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL