v20180808

package
v3.0.959+incompatible Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Error with CAM signature/authentication.
	AUTHFAILURE = "AuthFailure"

	// `DryRun` Operation. It means that the request would have succeeded, but the `DryRun` parameter was used.
	DRYRUNOPERATION = "DryRunOperation"

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// The custom key already exists.
	FAILEDOPERATION_ACCESSKEYEXIST = "FailedOperation.AccessKeyExist"

	// This API has been bound with a usage plan.
	FAILEDOPERATION_APIBINDENVIRONMEN = "FailedOperation.ApiBindEnvironmen"

	// The APIs have already been bound to a usage plan. Please unbind them and try again.
	FAILEDOPERATION_APIBINDENVIRONMENT = "FailedOperation.ApiBindEnvironment"

	// API error.
	FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"

	// The API is being manipulated. Please try again later.
	FAILEDOPERATION_APIINOPERATION = "FailedOperation.ApiInOperation"

	//
	FAILEDOPERATION_BACKENDDOMAINERROR = "FailedOperation.BackendDomainError"

	//
	FAILEDOPERATION_CAMEXCEPTION = "FailedOperation.CamException"

	// An error occurred while binding a certificate.
	FAILEDOPERATION_CERTIFICATEIDBINDERROR = "FailedOperation.CertificateIdBindError"

	// The certificate is an enterprise certificate and waiting to be submitted.
	FAILEDOPERATION_CERTIFICATEIDENTERPRISEWAITSUBMIT = "FailedOperation.CertificateIdEnterpriseWaitSubmit"

	// The certificate does not exist or you do not have permission to view it. Please upload a valid certificate in the SSL Certificates Service Console.
	FAILEDOPERATION_CERTIFICATEIDERROR = "FailedOperation.CertificateIdError"

	// The certificate has expired. Please upload a valid one.
	FAILEDOPERATION_CERTIFICATEIDEXPIRED = "FailedOperation.CertificateIdExpired"

	// The certificate information is empty. Please submit a ticket for assistance.
	FAILEDOPERATION_CERTIFICATEIDINFOERROR = "FailedOperation.CertificateIdInfoError"

	// The certificate is under review. Please upload a valid one.
	FAILEDOPERATION_CERTIFICATEIDUNDERVERIFY = "FailedOperation.CertificateIdUnderVerify"

	// The certificate is in an unknown status. Please submit a ticket to check its specific status.
	FAILEDOPERATION_CERTIFICATEIDUNKNOWNERROR = "FailedOperation.CertificateIdUnknownError"

	// The certificate has been rejected. Please upload a valid one.
	FAILEDOPERATION_CERTIFICATEIDVERIFYFAIL = "FailedOperation.CertificateIdVerifyFail"

	// The Apis certificate is empty. Please upload a certificate.
	FAILEDOPERATION_CERTIFICATEISNULL = "FailedOperation.CertificateIsNull"

	// API document operation failed.
	FAILEDOPERATION_CODINGERROR = "FailedOperation.CodingError"

	// The Apis environment configuration is incorrect.
	FAILEDOPERATION_DEFINEMAPPINGENVIRONMENTERROR = "FailedOperation.DefineMappingEnvironmentError"

	// The Apis custom path mapping cannot be empty.
	FAILEDOPERATION_DEFINEMAPPINGNOTNULL = "FailedOperation.DefineMappingNotNull"

	// The Apis parameters are repeated.
	FAILEDOPERATION_DEFINEMAPPINGPARAMREPEAT = "FailedOperation.DefineMappingParamRepeat"

	// The Apis custom path configuration is incorrect.
	FAILEDOPERATION_DEFINEMAPPINGPATHERROR = "FailedOperation.DefineMappingPathError"

	// An error occurred while deleting the custom domain name.
	FAILEDOPERATION_DELETEPATHMAPPINGSETERROR = "FailedOperation.DeletePathMappingSetError"

	// The custom domain name of the service is incorrect.
	FAILEDOPERATION_DESCRIBESERVICESUBDOMAINSERROR = "FailedOperation.DescribeServiceSubDomainsError"

	// The domain name has been bound to another service.
	FAILEDOPERATION_DOMAINALREADYBINDOTHERSERVICE = "FailedOperation.DomainAlreadyBindOtherService"

	// The domain name has already been bound to this service.
	FAILEDOPERATION_DOMAINALREADYBINDSERVICE = "FailedOperation.DomainAlreadyBindService"

	// Unable to connect: the current domain name is not compliant.
	FAILEDOPERATION_DOMAININBLACKLIST = "FailedOperation.DomainInBlackList"

	// The domain name does not have an ICP filing through Tencent Cloud. Please get the ICP filing before binding the domain name.
	FAILEDOPERATION_DOMAINNEEDBEIAN = "FailedOperation.DomainNeedBeian"

	// Failed to unbind the custom domain name, as the domain name is not bound to the service.
	FAILEDOPERATION_DOMAINNOTBINDSERVICE = "FailedOperation.DomainNotBindService"

	// The domain name is not configured with a CNAME record resolving to the default domain name, or the resolution has not taken effect yet.
	FAILEDOPERATION_DOMAINRESOLVEERROR = "FailedOperation.DomainResolveError"

	// Error form EIAM
	FAILEDOPERATION_EIAMERROR = "FailedOperation.EIAMError"

	// Failed to bind/unbind EventBridge.
	FAILEDOPERATION_EBERROR = "FailedOperation.EbError"

	// The domain name format is incorrect.
	FAILEDOPERATION_FORMATERROR = "FailedOperation.FormatError"

	// Failed to get the role. Please make sure that relevant API Gateway service APIs have been authorized.
	FAILEDOPERATION_GETROLEERROR = "FailedOperation.GetRoleError"

	// The instance does not exist or is invalid.
	FAILEDOPERATION_INSTANCENOTEXIST = "FailedOperation.InstanceNotExist"

	//
	FAILEDOPERATION_INVALIDINPUTJSON = "FailedOperation.InvalidInputJSON"

	// The Apis custom path conflicts with the default path.
	FAILEDOPERATION_ISDEFAULTMAPPING = "FailedOperation.IsDefaultMapping"

	// The entered default second-level domain name is incorrect.
	FAILEDOPERATION_NETSUBDOMAINERROR = "FailedOperation.NetSubDomainError"

	// Backend error
	FAILEDOPERATION_OPERATEUPSTREAM = "FailedOperation.OperateUpstream"

	// An error occurred while setting the path mapping.
	FAILEDOPERATION_PATHMAPPINGSETERROR = "FailedOperation.PathMappingSetError"

	// Failed to bind/unbind SCF trigger.
	FAILEDOPERATION_SCFERROR = "FailedOperation.ScfError"

	// Service error.
	FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"

	// The service is in use. Please try again later.
	FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"

	// The service does not exist.
	FAILEDOPERATION_SERVICENOTEXIST = "FailedOperation.ServiceNotExist"

	// The custom domain name already uses the default path mapping, so no custom path can be set.
	FAILEDOPERATION_SETCUSTOMPATHMAPPINGERROR = "FailedOperation.SetCustomPathMappingError"

	// The custom domain name format is incorrect.
	FAILEDOPERATION_SUBDOMAINFORMATERROR = "FailedOperation.SubDomainFormatError"

	// The tag was not bound to the specified service.
	FAILEDOPERATION_TAGBINDSERVICEERROR = "FailedOperation.TagBindServiceError"

	//
	FAILEDOPERATION_TASKALREADYEXIST = "FailedOperation.TaskAlreadyExist"

	// The protocol type is incorrect.
	FAILEDOPERATION_UNKNOWNPROTOCOLTYPEERROR = "FailedOperation.UnknownProtocolTypeError"

	// Internal error.
	INTERNALERROR = "InternalError"

	// API Gateway internal request error. Please try again later. If the problem persists, please contact the smart customer service or submit a ticket.
	INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"

	//
	INTERNALERROR_CAMEXCEPTION = "InternalError.CamException"

	// CAuth internal request error. Please try again later. If the problem persists, please submit a ticket.
	INTERNALERROR_CAUTHEXCEPTION = "InternalError.CauthException"

	// CLB internal request error. Please try again. If the problem persists, please submit a ticket.
	INTERNALERROR_CLBEXCEPTION = "InternalError.ClbException"

	//
	INTERNALERROR_DBEXCEPTION = "InternalError.DbException"

	// OSS internal request error. Please try again. If the problem persists, please contact the smart customer service or submit a ticket.
	INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"

	//
	INTERNALERROR_RETURNABLEEXCEPTION = "InternalError.ReturnableException"

	// SCF internal request error. Please try again. If the problem persists, please contact the smart customer service or submit a ticket.
	INTERNALERROR_SCFEXCEPTION = "InternalError.ScfException"

	// TSF internal request error. Please try again. If the problem persists, please contact the smart customer service or submit a ticket.
	INTERNALERROR_TSFEXCEPTION = "InternalError.TsfException"

	// VPC internal request error. Please try again. If the problem persists, please contact the smart customer service or submit a ticket.
	INTERNALERROR_VPCEXCEPTION = "InternalError.VpcException"

	// Incorrect parameter.
	INVALIDPARAMETER = "InvalidParameter"

	// You are using the basic edition and can not be bind a plug-in.
	INVALIDPARAMETER_BASICSERVICENOTALLOWATTACHPLUGIN = "InvalidParameter.BasicServiceNotAllowAttachPlugin"

	// The plugin you want to bound conflicts with existing plugins.
	INVALIDPARAMETER_DUPLICATEPLUGINCONFIG = "InvalidParameter.DuplicatePluginConfig"

	// Incorrect parameter format.
	INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"

	// The parameter value is incorrect.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// Duplicate plugin parameter values. Please modify and try again.
	INVALIDPARAMETERVALUE_DUPLICATEPLUGINCONFIG = "InvalidParameterValue.DuplicatePluginConfig"

	// Invalid backend IP address.
	INVALIDPARAMETERVALUE_ILLEGALPROXYIP = "InvalidParameterValue.IllegalProxyIp"

	// Incorrect key.
	INVALIDPARAMETERVALUE_INVALIDACCESSKEYIDS = "InvalidParameterValue.InvalidAccessKeyIds"

	// The API business type passed in must be `OAUTH`.
	INVALIDPARAMETERVALUE_INVALIDAPIBUSINESSTYPE = "InvalidParameterValue.InvalidApiBusinessType"

	// Incorrect API ID
	INVALIDPARAMETERVALUE_INVALIDAPIIDS = "InvalidParameterValue.InvalidApiIds"

	// Invalid API configuration.
	INVALIDPARAMETERVALUE_INVALIDAPIREQUESTCONFIG = "InvalidParameterValue.InvalidApiRequestConfig"

	// The API type is incorrect. The microservice API only supports the TSF backend service type.
	INVALIDPARAMETERVALUE_INVALIDAPITYPE = "InvalidParameterValue.InvalidApiType"

	// The backend service path configuration is incorrect.
	INVALIDPARAMETERVALUE_INVALIDBACKENDPATH = "InvalidParameterValue.InvalidBackendPath"

	// Invalid CLB configuration.
	INVALIDPARAMETERVALUE_INVALIDCLB = "InvalidParameterValue.InvalidClb"

	// Policy error.
	INVALIDPARAMETERVALUE_INVALIDCONDITION = "InvalidParameterValue.InvalidCondition"

	// The constant parameter is invalid.
	INVALIDPARAMETERVALUE_INVALIDCONSTANTPARAMETERS = "InvalidParameterValue.InvalidConstantParameters"

	// The value of the `Env` parameter is incorrect. Its valid values are (release, prepub, test).
	INVALIDPARAMETERVALUE_INVALIDENV = "InvalidParameterValue.InvalidEnv"

	// Invalid service environment status
	INVALIDPARAMETERVALUE_INVALIDENVSTATUS = "InvalidParameterValue.InvalidEnvStatus"

	// The parameter value is incorrect.
	INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"

	// The value of the backend address parameter is incorrect.
	INVALIDPARAMETERVALUE_INVALIDIPADDRESS = "InvalidParameterValue.InvalidIPAddress"

	// Invalid quota
	INVALIDPARAMETERVALUE_INVALIDMAXREQUESTNUM = "InvalidParameterValue.InvalidMaxRequestNum"

	// The method is incorrect. For backend services in the WEBSOCKET type, the frontend method should be configured as GET.
	INVALIDPARAMETERVALUE_INVALIDMETHOD = "InvalidParameterValue.InvalidMethod"

	// Plugin parameter value error. Please modify and try again.
	INVALIDPARAMETERVALUE_INVALIDPLUGINCONFIG = "InvalidParameterValue.InvalidPluginConfig"

	// The backend service port is incorrect.
	INVALIDPARAMETERVALUE_INVALIDPORT = "InvalidParameterValue.InvalidPort"

	// Invalid protocol type parameter.
	INVALIDPARAMETERVALUE_INVALIDPROCOTOL = "InvalidParameterValue.InvalidProcotol"

	// The OAUTH 2.0 API public key parameter is in an incorrect format.
	INVALIDPARAMETERVALUE_INVALIDPUBLICKEY = "InvalidParameterValue.InvalidPublicKey"

	// Incorrect region.
	INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"

	// Invalid request parameter.
	INVALIDPARAMETERVALUE_INVALIDREQUESTPARAMETERS = "InvalidParameterValue.InvalidRequestParameters"

	// The SCF API parameters are invalid.
	INVALIDPARAMETERVALUE_INVALIDSCFCONFIG = "InvalidParameterValue.InvalidScfConfig"

	// Invalid service configuration.
	INVALIDPARAMETERVALUE_INVALIDSERVICECONFIG = "InvalidParameterValue.InvalidServiceConfig"

	// The `ServiceMockReturnMessage` parameter is incorrect.
	INVALIDPARAMETERVALUE_INVALIDSERVICEMOCKRETURNMESSAGE = "InvalidParameterValue.InvalidServiceMockReturnMessage"

	// The parameter configuration is incorrect, as the parameter is not configured in the backend parameter configuration list.
	INVALIDPARAMETERVALUE_INVALIDSERVICEPARAM = "InvalidParameterValue.InvalidServiceParam"

	// The `ServiceParameters` parameter is incorrect.
	INVALIDPARAMETERVALUE_INVALIDSERVICEPARAMETERS = "InvalidParameterValue.InvalidServiceParameters"

	// The backend service type is incorrect. For backend services in WEBSOCKET type, the frontend protocol should be configured as WEBSOCKET.
	INVALIDPARAMETERVALUE_INVALIDSERVICETYPE = "InvalidParameterValue.InvalidServiceType"

	// Incorrect tag parameters
	INVALIDPARAMETERVALUE_INVALIDTAGVALUES = "InvalidParameterValue.InvalidTagValues"

	// Incorrect configuration of the TSF-type API.
	INVALIDPARAMETERVALUE_INVALIDTSFCONFIG = "InvalidParameterValue.InvalidTsfConfig"

	// The backend channel does not exist or is invalid.
	INVALIDPARAMETERVALUE_INVALIDUPSTREAM = "InvalidParameterValue.InvalidUpstream"

	// The URL parameters are invalid.
	INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidUrl"

	// Invalid VPC information
	INVALIDPARAMETERVALUE_INVALIDVPCCONFIG = "InvalidParameterValue.InvalidVpcConfig"

	// The method is incorrect. For backend services in the WEBSOCKET type, the frontend method should be configured as GET.
	INVALIDPARAMETERVALUE_INVALIDWSMETHOD = "InvalidParameterValue.InvalidWSMethod"

	// The length of the parameter exceeds the limit.
	INVALIDPARAMETERVALUE_LENGTHEXCEEDED = "InvalidParameterValue.LengthExceeded"

	// The number of parameters has reached the limit (100).
	INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"

	// The parameter value is incorrect, as it is not an available option.
	INVALIDPARAMETERVALUE_NOTINOPTIONS = "InvalidParameterValue.NotInOptions"

	// There are no modifiable items for the OAuth API.
	INVALIDPARAMETERVALUE_NOTHINGMODIFYFOROAUTH = "InvalidParameterValue.NothingModifyForOauth"

	// The backend parameter configuration is incorrect, as the related frontend parameters are not configured.
	INVALIDPARAMETERVALUE_PARAMETERNOTMATCH = "InvalidParameterValue.ParameterNotMatch"

	// The number of parameters exceeded limit.
	INVALIDPARAMETERVALUE_PARAMETERVALUELIMITEXCEEDED = "InvalidParameterValue.ParameterValueLimitExceeded"

	// The parameter value is incorrect, as it is not within the valid value range.
	INVALIDPARAMETERVALUE_RANGEEXCEEDED = "InvalidParameterValue.RangeExceeded"

	//
	INVALIDPARAMETERVALUE_TRAFFICCONTROL = "InvalidParameterValue.TrafficControl"

	// Invalid parameter value.
	INVALIDPARAMETERVALUE_UNSUPPORTEDPARAMETER = "InvalidParameterValue.UnsupportedParameter"

	// The quota limit is exceeded.
	LIMITEXCEEDED = "LimitExceeded"

	// The number of API documents exceeds the limit.
	LIMITEXCEEDED_APIDOCLIMITEXCEEDED = "LimitExceeded.APIDocLimitExceeded"

	// Reached the upper limit of access keys.
	LIMITEXCEEDED_ACCESSKEYCOUNTINUSAGEPLANLIMITEXCEEDED = "LimitExceeded.AccessKeyCountInUsagePlanLimitExceeded"

	// Number of applications bound with the service reaches the upper limit.
	LIMITEXCEEDED_APIAPPCOUNTLIMITEXCEEDED = "LimitExceeded.ApiAppCountLimitExceeded"

	// The number of APIs exceeds the limit.
	LIMITEXCEEDED_APICOUNTLIMITEXCEEDED = "LimitExceeded.ApiCountLimitExceeded"

	// The number of keys exceeds the limit.
	LIMITEXCEEDED_APIKEYCOUNTLIMITEXCEEDED = "LimitExceeded.ApiKeyCountLimitExceeded"

	// You can set up to 3 sets of custom path mappings.
	LIMITEXCEEDED_EXCEEDEDDEFINEMAPPINGLIMIT = "LimitExceeded.ExceededDefineMappingLimit"

	// The number of bound domain names exceeds the limit. You can bind up to 5 domain names by default.
	LIMITEXCEEDED_EXCEEDEDDOMAINLIMIT = "LimitExceeded.ExceededDomainLimit"

	// The number of IP policies exceeds the limit.
	LIMITEXCEEDED_IPSTRATEGYLIMITEXCEEDED = "LimitExceeded.IpStrategyLimitExceeded"

	// The request frequency has reached the limit. Please try again later.
	LIMITEXCEEDED_REQUESTLIMITEXCEEDED = "LimitExceeded.RequestLimitExceeded"

	// Too many services are bound to the plugin. Unbind some services or increase the quota, and try again.
	LIMITEXCEEDED_SERVICECOUNTFORPLUGINLIMITEXCEEDED = "LimitExceeded.ServiceCountForPluginLimitExceeded"

	// The number of services exceeds the limit. Please delete some services or increase the limit and try again.
	LIMITEXCEEDED_SERVICECOUNTLIMITEXCEEDED = "LimitExceeded.ServiceCountLimitExceeded"

	// The number of usage plans exceeds the limit.
	LIMITEXCEEDED_USAGEPLANLIMITEXCEEDED = "LimitExceeded.UsagePlanLimitExceeded"

	// Missing parameter.
	MISSINGPARAMETER = "MissingParameter"

	// The backend service parameter is missing.
	MISSINGPARAMETER_BACKENDSPECIFICPARAM = "MissingParameter.BackendSpecificParam"

	// Parameter is missing in the plugin. Please check and try again.
	MISSINGPARAMETER_PLUGINCONFIG = "MissingParameter.PluginConfig"

	// Operation denied.
	OPERATIONDENIED = "OperationDenied"

	// The number of requests exceeds the frequency limit.
	REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

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

	// Insufficient resource.
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

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

	// The key does not exist.
	RESOURCENOTFOUND_INVALIDACCESSKEYID = "ResourceNotFound.InvalidAccessKeyId"

	// Incorrect `ApiId`.
	RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"

	// The application ID is incorrect.
	RESOURCENOTFOUND_INVALIDAPIAPP = "ResourceNotFound.InvalidApiApp"

	// The API document does not exist.
	RESOURCENOTFOUND_INVALIDAPIDOC = "ResourceNotFound.InvalidApiDoc"

	// The IP policy does not exist.
	RESOURCENOTFOUND_INVALIDIPSTRATEGY = "ResourceNotFound.InvalidIPStrategy"

	// Error with the OAuth service API.
	RESOURCENOTFOUND_INVALIDOAUTHAPI = "ResourceNotFound.InvalidOauthApi"

	// The plugin does not exist.
	RESOURCENOTFOUND_INVALIDPLUGIN = "ResourceNotFound.InvalidPlugin"

	// The corresponding service is invisible.
	RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

	// The usage plan does not exist.
	RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"

	// The resource is unavailable.
	RESOURCEUNAVAILABLE = "ResourceUnavailable"

	// The resources have been sold out.
	RESOURCESSOLDOUT = "ResourcesSoldOut"

	// The operation is unauthorized.
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// You do not have permission to access the resource.
	UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"

	// The user has not passed identity verification.
	UNAUTHORIZEDOPERATION_UNCERTIFIEDUSER = "UnauthorizedOperation.UncertifiedUser"

	// Unknown parameter.
	UNKNOWNPARAMETER = "UnknownParameter"

	// Unsupported operation.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"

	// Insufficient account balance
	UNSUPPORTEDOPERATION_ACCOUNTARREARS = "UnsupportedOperation.AccountArrears"

	// The key has already been bound to a usage plan.
	UNSUPPORTEDOPERATION_ALREADYBINDUSAGEPLAN = "UnsupportedOperation.AlreadyBindUsagePlan"

	//
	UNSUPPORTEDOPERATION_APILISTNOTEMPTY = "UnsupportedOperation.ApiListNotEmpty"

	// The current plugin cannot be bound.
	UNSUPPORTEDOPERATION_ATTACHPLUGIN = "UnsupportedOperation.AttachPlugin"

	// You are using the basic edition and only one API can be created.
	UNSUPPORTEDOPERATION_BASICSERVICENOMOREAPI = "UnsupportedOperation.BasicServiceNoMoreApi"

	//
	UNSUPPORTEDOPERATION_BASICSERVICENOTALLOWATTACHPLUGIN = "UnsupportedOperation.BasicServiceNotAllowAttachPlugin"

	// Invalid log query period
	UNSUPPORTEDOPERATION_CLSSEARCHTIME = "UnsupportedOperation.ClsSearchTime"

	//
	UNSUPPORTEDOPERATION_EXISTINGONLINEENVIRONMENT = "UnsupportedOperation.ExistingOnlineEnvironment"

	// Cannot force HTTPS when the protocol is HTTP.
	UNSUPPORTEDOPERATION_FORCEHTTPS = "UnsupportedOperation.ForceHttps"

	// API error.
	UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"

	// Backend type not supported
	UNSUPPORTEDOPERATION_INVALIDENDPOINTTYPE = "UnsupportedOperation.InvalidEndpointType"

	// The service is currently isolated and therefore the operation is not supported.
	UNSUPPORTEDOPERATION_INVALIDSERVICETRADE = "UnsupportedOperation.InvalidServiceTrade"

	// The current key status does not support this operation.
	UNSUPPORTEDOPERATION_INVALIDSTATUS = "UnsupportedOperation.InvalidStatus"

	// The EIAM authentication API cannot be modified.
	UNSUPPORTEDOPERATION_MODIFYEIAMAUTHAPI = "UnsupportedOperation.ModifyEIAMAuthApi"

	// The network type cannot be modified
	UNSUPPORTEDOPERATION_MODIFYNETTYPE = "UnsupportedOperation.ModifyNetType"

	// The frontend protocol type cannot be changed.
	UNSUPPORTEDOPERATION_MODIFYPROTOCOL = "UnsupportedOperation.ModifyProtocol"

	// The current usage plan is not bound to an environment.
	UNSUPPORTEDOPERATION_NOUSAGEPLANENV = "UnsupportedOperation.NoUsagePlanEnv"

	// Network types cannot be reduced.
	UNSUPPORTEDOPERATION_REDUCENETTYPES = "UnsupportedOperation.ReduceNetTypes"

	//
	UNSUPPORTEDOPERATION_REQUESTPOSTERROR = "UnsupportedOperation.RequestPostError"

	// The resource has been associated. Please disassociate it first.
	UNSUPPORTEDOPERATION_RESOURCEASSOCIATED = "UnsupportedOperation.ResourceAssociated"

	// The key has already been bound to a usage plan. Please unbind it and try again.
	UNSUPPORTEDOPERATION_RESOURCEISINUSE = "UnsupportedOperation.ResourceIsInUse"

	// The resource is not associated.
	UNSUPPORTEDOPERATION_RESOURCEUNASSOCIATED = "UnsupportedOperation.ResourceUnassociated"

	//
	UNSUPPORTEDOPERATION_SERVICEEXIST = "UnsupportedOperation.ServiceExist"

	//
	UNSUPPORTEDOPERATION_TAGSNOTEMPTY = "UnsupportedOperation.TagsNotEmpty"

	// The current `Uin` is not in the manual key allowlist.
	UNSUPPORTEDOPERATION_UINNOTINWHITELIST = "UnsupportedOperation.UinNotInWhiteList"

	//
	UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

	// The key has already been bound to a usage plan.
	UNSUPPORTEDOPERATION_UNSUPPORTEDBINDAPIKEY = "UnsupportedOperation.UnsupportedBindApiKey"

	// The environment cannot be bound.
	UNSUPPORTEDOPERATION_UNSUPPORTEDBINDENVIRONMENT = "UnsupportedOperation.UnsupportedBindEnvironment"

	// The current API has already been bound to a business API. Please unbind it and try again.
	UNSUPPORTEDOPERATION_UNSUPPORTEDDELETEAPI = "UnsupportedOperation.UnsupportedDeleteApi"

	// This service is being used and cannot be deleted.
	UNSUPPORTEDOPERATION_UNSUPPORTEDDELETESERVICE = "UnsupportedOperation.UnsupportedDeleteService"

	// Operation failed: There are resources associated with this upstream.
	UNSUPPORTEDOPERATION_UNSUPPORTEDDELETEUPSTREAM = "UnsupportedOperation.UnsupportedDeleteUpstream"

	// Unsupported network type
	UNSUPPORTEDOPERATION_UNSUPPORTEDNETTYPE = "UnsupportedOperation.UnsupportedNetType"

	// The environment cannot be unbound, as there are APIs that are not bound to a usage plan.
	UNSUPPORTEDOPERATION_UNSUPPORTEDUNBINDENVIRONMENT = "UnsupportedOperation.UnsupportedUnBindEnvironment"

	// The current key status does not support this operation.
	UNSUPPORTEDOPERATION_UNSUPPORTEDUPDATEAPIKEY = "UnsupportedOperation.UnsupportedUpdateApiKey"

	// The current plan is in use. Please unbind it and try again.
	UNSUPPORTEDOPERATION_USAGEPLANINUSE = "UnsupportedOperation.UsagePlanInUse"
)
View Source
const APIVersion = "2018-08-08"

Variables

This section is empty.

Functions

This section is empty.

Types

type APIDoc

type APIDoc struct {
	// API document ID
	ApiDocId *string `json:"ApiDocId,omitnil,omitempty" name:"ApiDocId"`

	// API document name
	ApiDocName *string `json:"ApiDocName,omitnil,omitempty" name:"ApiDocName"`

	// API document build status
	ApiDocStatus *string `json:"ApiDocStatus,omitnil,omitempty" name:"ApiDocStatus"`
}

type APIDocInfo

type APIDocInfo struct {
	// API document ID
	ApiDocId *string `json:"ApiDocId,omitnil,omitempty" name:"ApiDocId"`

	// API document name
	ApiDocName *string `json:"ApiDocName,omitnil,omitempty" name:"ApiDocName"`

	// API document build status
	ApiDocStatus *string `json:"ApiDocStatus,omitnil,omitempty" name:"ApiDocStatus"`

	// Number of APIs with API documents
	ApiCount *int64 `json:"ApiCount,omitnil,omitempty" name:"ApiCount"`

	// Number of views of API document
	ViewCount *int64 `json:"ViewCount,omitnil,omitempty" name:"ViewCount"`

	// Number of releases of API document
	ReleaseCount *int64 `json:"ReleaseCount,omitnil,omitempty" name:"ReleaseCount"`

	// API document access URI
	ApiDocUri *string `json:"ApiDocUri,omitnil,omitempty" name:"ApiDocUri"`

	// API document password for sharing
	SharePassword *string `json:"SharePassword,omitnil,omitempty" name:"SharePassword"`

	// API document update time
	UpdatedTime *string `json:"UpdatedTime,omitnil,omitempty" name:"UpdatedTime"`

	// Service ID
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Environment information
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`

	// ID of the API for which to generate the API document
	ApiIds []*string `json:"ApiIds,omitnil,omitempty" name:"ApiIds"`

	// Service name
	ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`

	// Name of the API for which to generate the API document
	ApiNames []*string `json:"ApiNames,omitnil,omitempty" name:"ApiNames"`
}

type APIDocs

type APIDocs struct {
	// Number of API documents
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Basic information of API document
	APIDocSet []*APIDoc `json:"APIDocSet,omitnil,omitempty" name:"APIDocSet"`
}

type ApiAppApiInfo

type ApiAppApiInfo struct {
	// Application name
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApiAppName *string `json:"ApiAppName,omitnil,omitempty" name:"ApiAppName"`

	// Application ID
	ApiAppId *string `json:"ApiAppId,omitnil,omitempty" name:"ApiAppId"`

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

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

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

	// Binding authorization time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AuthorizedTime *string `json:"AuthorizedTime,omitnil,omitempty" name:"AuthorizedTime"`

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

	// Authorized binding environment
	// Note: this field may return null, indicating that no valid values can be obtained.
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`
}

type ApiAppApiInfos

type ApiAppApiInfos struct {
	// Quantity
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Information array of the API bound to the application
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApiAppApiSet []*ApiAppApiInfo `json:"ApiAppApiSet,omitnil,omitempty" name:"ApiAppApiSet"`
}

type ApiAppInfo

type ApiAppInfo struct {
	// Application name
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApiAppName *string `json:"ApiAppName,omitnil,omitempty" name:"ApiAppName"`

	// Application ID
	ApiAppId *string `json:"ApiAppId,omitnil,omitempty" name:"ApiAppId"`

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

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

	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Modification time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ModifiedTime *string `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"`

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

type ApiAppInfos

type ApiAppInfos struct {
	// Number of applications
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Application information array
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApiAppSet []*ApiAppInfo `json:"ApiAppSet,omitnil,omitempty" name:"ApiAppSet"`
}

type ApiEnvironmentStrategy

type ApiEnvironmentStrategy struct {
	// Unique API ID.
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`

	// Custom API name.
	ApiName *string `json:"ApiName,omitnil,omitempty" name:"ApiName"`

	// API path, such as `/path`.
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// API method, such as `GET`.
	Method *string `json:"Method,omitnil,omitempty" name:"Method"`

	// Environment throttling information.
	EnvironmentStrategySet []*EnvironmentStrategy `json:"EnvironmentStrategySet,omitnil,omitempty" name:"EnvironmentStrategySet"`
}

type ApiEnvironmentStrategyStataus

type ApiEnvironmentStrategyStataus struct {
	// Number of throttling policies bound to API.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of throttling policies bound to API.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApiEnvironmentStrategySet []*ApiEnvironmentStrategy `json:"ApiEnvironmentStrategySet,omitnil,omitempty" name:"ApiEnvironmentStrategySet"`
}

type ApiIdStatus

type ApiIdStatus struct {
	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique API ID.
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`

	// API description
	// Note: This field may return null, indicating that no valid values can be obtained.
	ApiDesc *string `json:"ApiDesc,omitnil,omitempty" name:"ApiDesc"`

	// API path.
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// API method.
	Method *string `json:"Method,omitnil,omitempty" name:"Method"`

	// Service creation time.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Service modification time.
	ModifiedTime *string `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"`

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

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

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

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

	// Whether to enable debugging after purchase.
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsDebugAfterCharge *bool `json:"IsDebugAfterCharge,omitnil,omitempty" name:"IsDebugAfterCharge"`

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

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

	// Unique ID of associated authorization API.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AuthRelationApiId *string `json:"AuthRelationApiId,omitnil,omitempty" name:"AuthRelationApiId"`

	// List of business APIs associated with authorization API.
	// Note: this field may return null, indicating that no valid values can be obtained.
	//
	// Deprecated: RelationBuniessApiIds is deprecated.
	RelationBuniessApiIds []*string `json:"RelationBuniessApiIds,omitnil,omitempty" name:"RelationBuniessApiIds"`

	// OAuth configuration information.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OauthConfig *OauthConfig `json:"OauthConfig,omitnil,omitempty" name:"OauthConfig"`

	// Token storage position, which is an OAuth 2.0 API request.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TokenLocation *string `json:"TokenLocation,omitnil,omitempty" name:"TokenLocation"`
}

type ApiInfo

type ApiInfo struct {
	// Unique service ID of API.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

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

	// Service description of API.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceDesc *string `json:"ServiceDesc,omitnil,omitempty" name:"ServiceDesc"`

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

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

	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ModifiedTime *string `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"`

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

	// API type. Valid values: NORMAL (general API), TSF (microservice API).
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApiType *string `json:"ApiType,omitnil,omitempty" name:"ApiType"`

	// API frontend request type, such as HTTP, HTTPS, or HTTP and HTTPS.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// API authentication type. Valid values: SECRET (key pair authentication), NONE (no authentication), OAUTH.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AuthType *string `json:"AuthType,omitnil,omitempty" name:"AuthType"`

	// OAuth API type. Valid values: NORMAL (business API), �OAUTH (authorization API).
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApiBusinessType *string `json:"ApiBusinessType,omitnil,omitempty" name:"ApiBusinessType"`

	// Unique ID of the authorization API associated with OAuth business API.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AuthRelationApiId *string `json:"AuthRelationApiId,omitnil,omitempty" name:"AuthRelationApiId"`

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

	// Whether to enable debugging after purchase (reserved field for the marketplace).
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsDebugAfterCharge *bool `json:"IsDebugAfterCharge,omitnil,omitempty" name:"IsDebugAfterCharge"`

	// Request frontend configuration.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RequestConfig *RequestConfig `json:"RequestConfig,omitnil,omitempty" name:"RequestConfig"`

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

	// Sample response for successful custom response configuration.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ResponseSuccessExample *string `json:"ResponseSuccessExample,omitnil,omitempty" name:"ResponseSuccessExample"`

	// Sample response for failed custom response configuration.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ResponseFailExample *string `json:"ResponseFailExample,omitnil,omitempty" name:"ResponseFailExample"`

	// Custom error code configuration.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ResponseErrorCodes []*ErrorCodes `json:"ResponseErrorCodes,omitnil,omitempty" name:"ResponseErrorCodes"`

	// Frontend request parameter.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RequestParameters []*ReqParameter `json:"RequestParameters,omitnil,omitempty" name:"RequestParameters"`

	// API backend service timeout period in seconds.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceTimeout *int64 `json:"ServiceTimeout,omitnil,omitempty" name:"ServiceTimeout"`

	// API backend service type. Valid values: HTTP, MOCK, TSF, CLB, SCF, WEBSOCKET, TARGET (in beta test).
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`

	// API backend service configuration.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceConfig *ServiceConfig `json:"ServiceConfig,omitnil,omitempty" name:"ServiceConfig"`

	// API backend service parameter.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceParameters []*ServiceParameter `json:"ServiceParameters,omitnil,omitempty" name:"ServiceParameters"`

	// Constant parameter.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ConstantParameters []*ConstantParameter `json:"ConstantParameters,omitnil,omitempty" name:"ConstantParameters"`

	// Returned message of API backend Mock, which is required if `ServiceType` is `Mock`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceMockReturnMessage *string `json:"ServiceMockReturnMessage,omitnil,omitempty" name:"ServiceMockReturnMessage"`

	// SCF function name, which takes effect if the backend type is `SCF`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceScfFunctionName *string `json:"ServiceScfFunctionName,omitnil,omitempty" name:"ServiceScfFunctionName"`

	// SCF function namespace, which takes effect if the backend type is `SCF`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceScfFunctionNamespace *string `json:"ServiceScfFunctionNamespace,omitnil,omitempty" name:"ServiceScfFunctionNamespace"`

	// SCF function version, which takes effect if the backend type is `SCF`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceScfFunctionQualifier *string `json:"ServiceScfFunctionQualifier,omitnil,omitempty" name:"ServiceScfFunctionQualifier"`

	// Whether integrated response is enabled.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceScfIsIntegratedResponse *bool `json:"ServiceScfIsIntegratedResponse,omitnil,omitempty" name:"ServiceScfIsIntegratedResponse"`

	// SCF WebSocket registration function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceWebsocketRegisterFunctionName *string `json:"ServiceWebsocketRegisterFunctionName,omitnil,omitempty" name:"ServiceWebsocketRegisterFunctionName"`

	// SCF WebSocket registration function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceWebsocketRegisterFunctionNamespace *string `json:"ServiceWebsocketRegisterFunctionNamespace,omitnil,omitempty" name:"ServiceWebsocketRegisterFunctionNamespace"`

	// SCF WebSocket transfer function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceWebsocketRegisterFunctionQualifier *string `json:"ServiceWebsocketRegisterFunctionQualifier,omitnil,omitempty" name:"ServiceWebsocketRegisterFunctionQualifier"`

	// SCF WebSocket cleanup function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceWebsocketCleanupFunctionName *string `json:"ServiceWebsocketCleanupFunctionName,omitnil,omitempty" name:"ServiceWebsocketCleanupFunctionName"`

	// SCF WebSocket cleanup function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceWebsocketCleanupFunctionNamespace *string `json:"ServiceWebsocketCleanupFunctionNamespace,omitnil,omitempty" name:"ServiceWebsocketCleanupFunctionNamespace"`

	// SCF WebSocket cleanup function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceWebsocketCleanupFunctionQualifier *string `json:"ServiceWebsocketCleanupFunctionQualifier,omitnil,omitempty" name:"ServiceWebsocketCleanupFunctionQualifier"`

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

	// SCF WebSocket transfer function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceWebsocketTransportFunctionName *string `json:"ServiceWebsocketTransportFunctionName,omitnil,omitempty" name:"ServiceWebsocketTransportFunctionName"`

	// SCF WebSocket transfer function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceWebsocketTransportFunctionNamespace *string `json:"ServiceWebsocketTransportFunctionNamespace,omitnil,omitempty" name:"ServiceWebsocketTransportFunctionNamespace"`

	// SCF WebSocket transfer function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceWebsocketTransportFunctionQualifier *string `json:"ServiceWebsocketTransportFunctionQualifier,omitnil,omitempty" name:"ServiceWebsocketTransportFunctionQualifier"`

	// List of microservices bound to API.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MicroServices []*MicroService `json:"MicroServices,omitnil,omitempty" name:"MicroServices"`

	// Microservice details.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MicroServicesInfo []*int64 `json:"MicroServicesInfo,omitnil,omitempty" name:"MicroServicesInfo"`

	// Load balancing configuration of microservice.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceTsfLoadBalanceConf *TsfLoadBalanceConfResp `json:"ServiceTsfLoadBalanceConf,omitnil,omitempty" name:"ServiceTsfLoadBalanceConf"`

	// Health check configuration of microservice.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceTsfHealthCheckConf *HealthCheckConf `json:"ServiceTsfHealthCheckConf,omitnil,omitempty" name:"ServiceTsfHealthCheckConf"`

	// Whether to enable CORS.
	// Note: this field may return null, indicating that no valid values can be obtained.
	EnableCORS *bool `json:"EnableCORS,omitnil,omitempty" name:"EnableCORS"`

	// Information of tags bound to API.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Environment information published for API.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Environments []*string `json:"Environments,omitnil,omitempty" name:"Environments"`

	// Whether to enable Base64 encoding. This parameter takes effect only when the backend is SCF.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	IsBase64Encoded *bool `json:"IsBase64Encoded,omitnil,omitempty" name:"IsBase64Encoded"`

	// Whether to trigger Base64 encoding by header. This parameter takes effect only when the backend is SCF.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	IsBase64Trigger *bool `json:"IsBase64Trigger,omitnil,omitempty" name:"IsBase64Trigger"`

	// Header trigger rules. The number of rules cannot exceed 10.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Base64EncodedTriggerRules []*Base64EncodedTriggerRule `json:"Base64EncodedTriggerRules,omitnil,omitempty" name:"Base64EncodedTriggerRules"`
}

type ApiInfoSummary

type ApiInfoSummary struct {
	// Total number of APIs that can use this plugin
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Information of the APIs that can use this plugin
	ApiSet []*AvailableApiInfo `json:"ApiSet,omitnil,omitempty" name:"ApiSet"`
}

type ApiKey

type ApiKey struct {
	// Created API key ID.
	AccessKeyId *string `json:"AccessKeyId,omitnil,omitempty" name:"AccessKeyId"`

	// Created API key.
	AccessKeySecret *string `json:"AccessKeySecret,omitnil,omitempty" name:"AccessKeySecret"`

	// Key type. Valid values: auto, manual.
	AccessKeyType *string `json:"AccessKeyType,omitnil,omitempty" name:"AccessKeyType"`

	// Custom key name.
	SecretName *string `json:"SecretName,omitnil,omitempty" name:"SecretName"`

	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	ModifiedTime *string `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"`

	// Key status. 0: disabled. 1: enabled.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`
}

type ApiKeysStatus

type ApiKeysStatus struct {
	// Number of eligible API keys.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// API key list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApiKeySet []*ApiKey `json:"ApiKeySet,omitnil,omitempty" name:"ApiKeySet"`
}

type ApiRequestConfig

type ApiRequestConfig struct {
	// path
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// Method
	Method *string `json:"Method,omitnil,omitempty" name:"Method"`
}

type ApiUsagePlan

type ApiUsagePlan struct {
	// Unique service ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

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

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

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

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

	// Unique usage plan ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`

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

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

	// Service environment bound to usage plan.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`

	// Used quota.
	// Note: this field may return null, indicating that no valid values can be obtained.
	InUseRequestNum *int64 `json:"InUseRequestNum,omitnil,omitempty" name:"InUseRequestNum"`

	// Total number of requests allowed. `-1` indicates no limit.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MaxRequestNum *int64 `json:"MaxRequestNum,omitnil,omitempty" name:"MaxRequestNum"`

	// Request QPS upper limit. `-1` indicates no limit.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MaxRequestNumPreSec *int64 `json:"MaxRequestNumPreSec,omitnil,omitempty" name:"MaxRequestNumPreSec"`

	// Usage plan creation time.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Last modified time of usage plan.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ModifiedTime *string `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"`

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

type ApiUsagePlanSet

type ApiUsagePlanSet struct {
	// Total number of usage plans bound to API.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of usage plans bound to API.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApiUsagePlanList []*ApiUsagePlan `json:"ApiUsagePlanList,omitnil,omitempty" name:"ApiUsagePlanList"`
}

type ApisStatus

type ApisStatus struct {
	// Number of eligible APIs.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// API list.
	ApiIdStatusSet []*DesApisStatus `json:"ApiIdStatusSet,omitnil,omitempty" name:"ApiIdStatusSet"`
}

type AttachPluginRequest

type AttachPluginRequest struct {
	*tchttp.BaseRequest

	// ID of the plugin to be bound.
	PluginId *string `json:"PluginId,omitnil,omitempty" name:"PluginId"`

	// Service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// API environment.
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// List of APIs bound with the plugin.
	ApiIds []*string `json:"ApiIds,omitnil,omitempty" name:"ApiIds"`
}

func NewAttachPluginRequest

func NewAttachPluginRequest() (request *AttachPluginRequest)

func (*AttachPluginRequest) FromJsonString

func (r *AttachPluginRequest) 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 (*AttachPluginRequest) ToJsonString

func (r *AttachPluginRequest) ToJsonString() string

type AttachPluginRequestParams

type AttachPluginRequestParams struct {
	// ID of the plugin to be bound.
	PluginId *string `json:"PluginId,omitnil,omitempty" name:"PluginId"`

	// Service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// API environment.
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// List of APIs bound with the plugin.
	ApiIds []*string `json:"ApiIds,omitnil,omitempty" name:"ApiIds"`
}

Predefined struct for user

type AttachPluginResponse

type AttachPluginResponse struct {
	*tchttp.BaseResponse
	Response *AttachPluginResponseParams `json:"Response"`
}

func NewAttachPluginResponse

func NewAttachPluginResponse() (response *AttachPluginResponse)

func (*AttachPluginResponse) FromJsonString

func (r *AttachPluginResponse) 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 (*AttachPluginResponse) ToJsonString

func (r *AttachPluginResponse) ToJsonString() string

type AttachPluginResponseParams

type AttachPluginResponseParams struct {
	// Whether binding succeeded.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AttachedApiInfo

type AttachedApiInfo struct {
	// ID of the service to which the API belongs
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Name of the service to which the API belongs
	ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`

	// Description of the service to which the API belongs
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceDesc *string `json:"ServiceDesc,omitnil,omitempty" name:"ServiceDesc"`

	// API ID
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`

	// API name
	ApiName *string `json:"ApiName,omitnil,omitempty" name:"ApiName"`

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

	// Environment of the API bound with the plugin
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`

	// Time when the plugin was bound to the API
	AttachedTime *string `json:"AttachedTime,omitnil,omitempty" name:"AttachedTime"`
}

type AttachedApiSummary

type AttachedApiSummary struct {
	// Number of APIs bound with the plugin
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Information of the API bound with the plugin
	AttachedApis []*AttachedApiInfo `json:"AttachedApis,omitnil,omitempty" name:"AttachedApis"`
}

type AttachedPluginInfo

type AttachedPluginInfo struct {
	// Plugin ID
	PluginId *string `json:"PluginId,omitnil,omitempty" name:"PluginId"`

	// Environment information
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`

	// Binding time
	AttachedTime *string `json:"AttachedTime,omitnil,omitempty" name:"AttachedTime"`

	// Plugin name
	PluginName *string `json:"PluginName,omitnil,omitempty" name:"PluginName"`

	// Plugin type
	PluginType *string `json:"PluginType,omitnil,omitempty" name:"PluginType"`

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

	// Plugin definition statement
	PluginData *string `json:"PluginData,omitnil,omitempty" name:"PluginData"`
}

type AttachedPluginSummary

type AttachedPluginSummary struct {
	// Total number of bound plug-ins
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Information of bound plug-ins
	PluginSummary []*AttachedPluginInfo `json:"PluginSummary,omitnil,omitempty" name:"PluginSummary"`
}

type AvailableApiInfo

type AvailableApiInfo struct {
	// API ID
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`

	// API name
	ApiName *string `json:"ApiName,omitnil,omitempty" name:"ApiName"`

	// API type
	ApiType *string `json:"ApiType,omitnil,omitempty" name:"ApiType"`

	// API path
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// API method
	Method *string `json:"Method,omitnil,omitempty" name:"Method"`

	// Whether the API is bound with another plugin
	// Note: this field may return null, indicating that no valid values can be obtained.
	AttachedOtherPlugin *bool `json:"AttachedOtherPlugin,omitnil,omitempty" name:"AttachedOtherPlugin"`

	// Whether the API is bound with the current plugin
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsAttached *bool `json:"IsAttached,omitnil,omitempty" name:"IsAttached"`
}

type Base64EncodedTriggerRule

type Base64EncodedTriggerRule struct {
	// Header for triggering encoding. Valid values are `Accept` and `Content_Type`, corresponding to the `Accept` and `Content-Type` headers in the data stream request, respectively.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Array of header values that can trigger the encoding. Each element in the array can be up to 40 characters, including digits, letters, and special characters (`.`, `+`, `*`, `-`, `/`, and `_`).
	//
	// For example, [
	//     "application/x-vpeg005",
	//     "application/xhtml+xml",
	//     "application/vnd.ms-project",
	//     "application/vnd.rn-rn_music_package"
	// ] are valid.
	Value []*string `json:"Value,omitnil,omitempty" name:"Value"`
}

type BindApiAppRequest

type BindApiAppRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the application to be bound.
	ApiAppId *string `json:"ApiAppId,omitnil,omitempty" name:"ApiAppId"`

	// Environment to be bound.
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`

	// Unique ID of the service to be bound.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique ID of the API to be bound.
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`
}

func NewBindApiAppRequest

func NewBindApiAppRequest() (request *BindApiAppRequest)

func (*BindApiAppRequest) FromJsonString

func (r *BindApiAppRequest) 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 (*BindApiAppRequest) ToJsonString

func (r *BindApiAppRequest) ToJsonString() string

type BindApiAppRequestParams

type BindApiAppRequestParams struct {
	// Unique ID of the application to be bound.
	ApiAppId *string `json:"ApiAppId,omitnil,omitempty" name:"ApiAppId"`

	// Environment to be bound.
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`

	// Unique ID of the service to be bound.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique ID of the API to be bound.
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`
}

Predefined struct for user

type BindApiAppResponse

type BindApiAppResponse struct {
	*tchttp.BaseResponse
	Response *BindApiAppResponseParams `json:"Response"`
}

func NewBindApiAppResponse

func NewBindApiAppResponse() (response *BindApiAppResponse)

func (*BindApiAppResponse) FromJsonString

func (r *BindApiAppResponse) 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 (*BindApiAppResponse) ToJsonString

func (r *BindApiAppResponse) ToJsonString() string

type BindApiAppResponseParams

type BindApiAppResponseParams struct {
	// Whether binding succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type BindApiInfo

type BindApiInfo struct {
	// Unique API ID.
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`

	// Unique ID of the service
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

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

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

	// Bound At
	BindTime *string `json:"BindTime,omitnil,omitempty" name:"BindTime"`
}

type BindEnvironmentRequest

type BindEnvironmentRequest struct {
	*tchttp.BaseRequest

	// List of unique IDs of the usage plans to be bound.
	UsagePlanIds []*string `json:"UsagePlanIds,omitnil,omitempty" name:"UsagePlanIds"`

	// Binding type. Valid values: API, SERVICE. Default value: SERVICE.
	BindType *string `json:"BindType,omitnil,omitempty" name:"BindType"`

	// Environment to be bound.
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`

	// Unique ID of the service to be bound.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique API ID array, which is required if `bindType` is `API`.
	ApiIds []*string `json:"ApiIds,omitnil,omitempty" name:"ApiIds"`
}

func NewBindEnvironmentRequest

func NewBindEnvironmentRequest() (request *BindEnvironmentRequest)

func (*BindEnvironmentRequest) FromJsonString

func (r *BindEnvironmentRequest) 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 (*BindEnvironmentRequest) ToJsonString

func (r *BindEnvironmentRequest) ToJsonString() string

type BindEnvironmentRequestParams

type BindEnvironmentRequestParams struct {
	// List of unique IDs of the usage plans to be bound.
	UsagePlanIds []*string `json:"UsagePlanIds,omitnil,omitempty" name:"UsagePlanIds"`

	// Binding type. Valid values: API, SERVICE. Default value: SERVICE.
	BindType *string `json:"BindType,omitnil,omitempty" name:"BindType"`

	// Environment to be bound.
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`

	// Unique ID of the service to be bound.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique API ID array, which is required if `bindType` is `API`.
	ApiIds []*string `json:"ApiIds,omitnil,omitempty" name:"ApiIds"`
}

Predefined struct for user

type BindEnvironmentResponse

type BindEnvironmentResponse struct {
	*tchttp.BaseResponse
	Response *BindEnvironmentResponseParams `json:"Response"`
}

func NewBindEnvironmentResponse

func NewBindEnvironmentResponse() (response *BindEnvironmentResponse)

func (*BindEnvironmentResponse) FromJsonString

func (r *BindEnvironmentResponse) 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 (*BindEnvironmentResponse) ToJsonString

func (r *BindEnvironmentResponse) ToJsonString() string

type BindEnvironmentResponseParams

type BindEnvironmentResponseParams struct {
	// Whether binding succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type BindIPStrategyRequest

type BindIPStrategyRequest struct {
	*tchttp.BaseRequest

	// Unique service ID of the IP policy to be bound.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique ID of the IP policy to be bound.
	StrategyId *string `json:"StrategyId,omitnil,omitempty" name:"StrategyId"`

	// Environment to be bound to IP policy.
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// List of APIs to be bound to IP policy.
	BindApiIds []*string `json:"BindApiIds,omitnil,omitempty" name:"BindApiIds"`
}

func NewBindIPStrategyRequest

func NewBindIPStrategyRequest() (request *BindIPStrategyRequest)

func (*BindIPStrategyRequest) FromJsonString

func (r *BindIPStrategyRequest) 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 (*BindIPStrategyRequest) ToJsonString

func (r *BindIPStrategyRequest) ToJsonString() string

type BindIPStrategyRequestParams

type BindIPStrategyRequestParams struct {
	// Unique service ID of the IP policy to be bound.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique ID of the IP policy to be bound.
	StrategyId *string `json:"StrategyId,omitnil,omitempty" name:"StrategyId"`

	// Environment to be bound to IP policy.
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// List of APIs to be bound to IP policy.
	BindApiIds []*string `json:"BindApiIds,omitnil,omitempty" name:"BindApiIds"`
}

Predefined struct for user

type BindIPStrategyResponse

type BindIPStrategyResponse struct {
	*tchttp.BaseResponse
	Response *BindIPStrategyResponseParams `json:"Response"`
}

func NewBindIPStrategyResponse

func NewBindIPStrategyResponse() (response *BindIPStrategyResponse)

func (*BindIPStrategyResponse) FromJsonString

func (r *BindIPStrategyResponse) 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 (*BindIPStrategyResponse) ToJsonString

func (r *BindIPStrategyResponse) ToJsonString() string

type BindIPStrategyResponseParams

type BindIPStrategyResponseParams struct {
	// Whether binding succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type BindSecretIdsRequest

type BindSecretIdsRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the usage plan to be bound.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`

	// Array of IDs of the keys to be bound.
	AccessKeyIds []*string `json:"AccessKeyIds,omitnil,omitempty" name:"AccessKeyIds"`
}

func NewBindSecretIdsRequest

func NewBindSecretIdsRequest() (request *BindSecretIdsRequest)

func (*BindSecretIdsRequest) FromJsonString

func (r *BindSecretIdsRequest) 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 (*BindSecretIdsRequest) ToJsonString

func (r *BindSecretIdsRequest) ToJsonString() string

type BindSecretIdsRequestParams

type BindSecretIdsRequestParams struct {
	// Unique ID of the usage plan to be bound.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`

	// Array of IDs of the keys to be bound.
	AccessKeyIds []*string `json:"AccessKeyIds,omitnil,omitempty" name:"AccessKeyIds"`
}

Predefined struct for user

type BindSecretIdsResponse

type BindSecretIdsResponse struct {
	*tchttp.BaseResponse
	Response *BindSecretIdsResponseParams `json:"Response"`
}

func NewBindSecretIdsResponse

func NewBindSecretIdsResponse() (response *BindSecretIdsResponse)

func (*BindSecretIdsResponse) FromJsonString

func (r *BindSecretIdsResponse) 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 (*BindSecretIdsResponse) ToJsonString

func (r *BindSecretIdsResponse) ToJsonString() string

type BindSecretIdsResponseParams

type BindSecretIdsResponseParams struct {
	// Whether binding succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type BindSubDomainRequest

type BindSubDomainRequest struct {
	*tchttp.BaseRequest

	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Custom domain name to be bound.
	SubDomain *string `json:"SubDomain,omitnil,omitempty" name:"SubDomain"`

	// Protocol supported by service. Valid values: http, https, http&https.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Network type. Valid values: OUTER, INNER.
	NetType *string `json:"NetType,omitnil,omitempty" name:"NetType"`

	// Whether the default path mapping is used. The default value is `true`. If the value is `false`, the custom path mapping will be used and `PathMappingSet` will be required in this case.
	IsDefaultMapping *bool `json:"IsDefaultMapping,omitnil,omitempty" name:"IsDefaultMapping"`

	// Default domain name.
	NetSubDomain *string `json:"NetSubDomain,omitnil,omitempty" name:"NetSubDomain"`

	// Unique certificate ID of the custom domain name to be bound. The certificate can be uploaded if `Protocol` is `https` or `http&https`.
	CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"`

	// Custom domain name path mapping. It can contain up to 3 `Environment` values which can be set to only `test`, `prepub`, and `release`, respectively.
	PathMappingSet []*PathMapping `json:"PathMappingSet,omitnil,omitempty" name:"PathMappingSet"`

	// Whether to force HTTP requests to redirect to HTTPS. Default value: `false`. When this parameter is `true`, API Gateway will redirect all requests using the custom domain name over the HTTP protocol to the HTTPS protocol for forwarding.
	IsForcedHttps *bool `json:"IsForcedHttps,omitnil,omitempty" name:"IsForcedHttps"`
}

func NewBindSubDomainRequest

func NewBindSubDomainRequest() (request *BindSubDomainRequest)

func (*BindSubDomainRequest) FromJsonString

func (r *BindSubDomainRequest) 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 (*BindSubDomainRequest) ToJsonString

func (r *BindSubDomainRequest) ToJsonString() string

type BindSubDomainRequestParams

type BindSubDomainRequestParams struct {
	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Custom domain name to be bound.
	SubDomain *string `json:"SubDomain,omitnil,omitempty" name:"SubDomain"`

	// Protocol supported by service. Valid values: http, https, http&https.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Network type. Valid values: OUTER, INNER.
	NetType *string `json:"NetType,omitnil,omitempty" name:"NetType"`

	// Whether the default path mapping is used. The default value is `true`. If the value is `false`, the custom path mapping will be used and `PathMappingSet` will be required in this case.
	IsDefaultMapping *bool `json:"IsDefaultMapping,omitnil,omitempty" name:"IsDefaultMapping"`

	// Default domain name.
	NetSubDomain *string `json:"NetSubDomain,omitnil,omitempty" name:"NetSubDomain"`

	// Unique certificate ID of the custom domain name to be bound. The certificate can be uploaded if `Protocol` is `https` or `http&https`.
	CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"`

	// Custom domain name path mapping. It can contain up to 3 `Environment` values which can be set to only `test`, `prepub`, and `release`, respectively.
	PathMappingSet []*PathMapping `json:"PathMappingSet,omitnil,omitempty" name:"PathMappingSet"`

	// Whether to force HTTP requests to redirect to HTTPS. Default value: `false`. When this parameter is `true`, API Gateway will redirect all requests using the custom domain name over the HTTP protocol to the HTTPS protocol for forwarding.
	IsForcedHttps *bool `json:"IsForcedHttps,omitnil,omitempty" name:"IsForcedHttps"`
}

Predefined struct for user

type BindSubDomainResponse

type BindSubDomainResponse struct {
	*tchttp.BaseResponse
	Response *BindSubDomainResponseParams `json:"Response"`
}

func NewBindSubDomainResponse

func NewBindSubDomainResponse() (response *BindSubDomainResponse)

func (*BindSubDomainResponse) FromJsonString

func (r *BindSubDomainResponse) 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 (*BindSubDomainResponse) ToJsonString

func (r *BindSubDomainResponse) ToJsonString() string

type BindSubDomainResponseParams

type BindSubDomainResponseParams struct {
	// Whether binding succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type BuildAPIDocRequest

type BuildAPIDocRequest struct {
	*tchttp.BaseRequest

	// API document ID
	ApiDocId *string `json:"ApiDocId,omitnil,omitempty" name:"ApiDocId"`
}

func NewBuildAPIDocRequest

func NewBuildAPIDocRequest() (request *BuildAPIDocRequest)

func (*BuildAPIDocRequest) FromJsonString

func (r *BuildAPIDocRequest) 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 (*BuildAPIDocRequest) ToJsonString

func (r *BuildAPIDocRequest) ToJsonString() string

type BuildAPIDocRequestParams

type BuildAPIDocRequestParams struct {
	// API document ID
	ApiDocId *string `json:"ApiDocId,omitnil,omitempty" name:"ApiDocId"`
}

Predefined struct for user

type BuildAPIDocResponse

type BuildAPIDocResponse struct {
	*tchttp.BaseResponse
	Response *BuildAPIDocResponseParams `json:"Response"`
}

func NewBuildAPIDocResponse

func NewBuildAPIDocResponse() (response *BuildAPIDocResponse)

func (*BuildAPIDocResponse) FromJsonString

func (r *BuildAPIDocResponse) 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 (*BuildAPIDocResponse) ToJsonString

func (r *BuildAPIDocResponse) ToJsonString() string

type BuildAPIDocResponseParams

type BuildAPIDocResponseParams struct {
	// Whether the operation succeeded
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

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) AttachPlugin

func (c *Client) AttachPlugin(request *AttachPluginRequest) (response *AttachPluginResponse, err error)

AttachPlugin This API is used to bind a plugin to an API.

error code that may be returned:

FAILEDOPERATION_INVALIDINPUTJSON = "FailedOperation.InvalidInputJSON"
FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
FAILEDOPERATION_TASKALREADYEXIST = "FailedOperation.TaskAlreadyExist"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_RETURNABLEEXCEPTION = "InternalError.ReturnableException"
INVALIDPARAMETER_DUPLICATEPLUGINCONFIG = "InvalidParameter.DuplicatePluginConfig"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_DUPLICATEPLUGINCONFIG = "InvalidParameterValue.DuplicatePluginConfig"
INVALIDPARAMETERVALUE_INVALIDENVSTATUS = "InvalidParameterValue.InvalidEnvStatus"
INVALIDPARAMETERVALUE_INVALIDSERVICECONFIG = "InvalidParameterValue.InvalidServiceConfig"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_TRAFFICCONTROL = "InvalidParameterValue.TrafficControl"
LIMITEXCEEDED_SERVICECOUNTFORPLUGINLIMITEXCEEDED = "LimitExceeded.ServiceCountForPluginLimitExceeded"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDPLUGIN = "ResourceNotFound.InvalidPlugin"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"
UNSUPPORTEDOPERATION_ATTACHPLUGIN = "UnsupportedOperation.AttachPlugin"
UNSUPPORTEDOPERATION_BASICSERVICENOTALLOWATTACHPLUGIN = "UnsupportedOperation.BasicServiceNotAllowAttachPlugin"
UNSUPPORTEDOPERATION_INVALIDENDPOINTTYPE = "UnsupportedOperation.InvalidEndpointType"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) AttachPluginWithContext

func (c *Client) AttachPluginWithContext(ctx context.Context, request *AttachPluginRequest) (response *AttachPluginResponse, err error)

AttachPlugin This API is used to bind a plugin to an API.

error code that may be returned:

FAILEDOPERATION_INVALIDINPUTJSON = "FailedOperation.InvalidInputJSON"
FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
FAILEDOPERATION_TASKALREADYEXIST = "FailedOperation.TaskAlreadyExist"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_RETURNABLEEXCEPTION = "InternalError.ReturnableException"
INVALIDPARAMETER_DUPLICATEPLUGINCONFIG = "InvalidParameter.DuplicatePluginConfig"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_DUPLICATEPLUGINCONFIG = "InvalidParameterValue.DuplicatePluginConfig"
INVALIDPARAMETERVALUE_INVALIDENVSTATUS = "InvalidParameterValue.InvalidEnvStatus"
INVALIDPARAMETERVALUE_INVALIDSERVICECONFIG = "InvalidParameterValue.InvalidServiceConfig"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_TRAFFICCONTROL = "InvalidParameterValue.TrafficControl"
LIMITEXCEEDED_SERVICECOUNTFORPLUGINLIMITEXCEEDED = "LimitExceeded.ServiceCountForPluginLimitExceeded"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDPLUGIN = "ResourceNotFound.InvalidPlugin"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"
UNSUPPORTEDOPERATION_ATTACHPLUGIN = "UnsupportedOperation.AttachPlugin"
UNSUPPORTEDOPERATION_BASICSERVICENOTALLOWATTACHPLUGIN = "UnsupportedOperation.BasicServiceNotAllowAttachPlugin"
UNSUPPORTEDOPERATION_INVALIDENDPOINTTYPE = "UnsupportedOperation.InvalidEndpointType"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) BindApiApp

func (c *Client) BindApiApp(request *BindApiAppRequest) (response *BindApiAppResponse, err error)

BindApiApp This API is used to bind an application to an API.

error code that may be returned:

FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_APIINOPERATION = "FailedOperation.ApiInOperation"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDENV = "InvalidParameterValue.InvalidEnv"
LIMITEXCEEDED_APIAPPCOUNTLIMITEXCEEDED = "LimitExceeded.ApiAppCountLimitExceeded"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDAPIAPP = "ResourceNotFound.InvalidApiApp"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_RESOURCEASSOCIATED = "UnsupportedOperation.ResourceAssociated"
UNSUPPORTEDOPERATION_UNSUPPORTEDBINDENVIRONMENT = "UnsupportedOperation.UnsupportedBindEnvironment"

func (*Client) BindApiAppWithContext

func (c *Client) BindApiAppWithContext(ctx context.Context, request *BindApiAppRequest) (response *BindApiAppResponse, err error)

BindApiApp This API is used to bind an application to an API.

error code that may be returned:

FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_APIINOPERATION = "FailedOperation.ApiInOperation"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDENV = "InvalidParameterValue.InvalidEnv"
LIMITEXCEEDED_APIAPPCOUNTLIMITEXCEEDED = "LimitExceeded.ApiAppCountLimitExceeded"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDAPIAPP = "ResourceNotFound.InvalidApiApp"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_RESOURCEASSOCIATED = "UnsupportedOperation.ResourceAssociated"
UNSUPPORTEDOPERATION_UNSUPPORTEDBINDENVIRONMENT = "UnsupportedOperation.UnsupportedBindEnvironment"

func (*Client) BindEnvironment

func (c *Client) BindEnvironment(request *BindEnvironmentRequest) (response *BindEnvironmentResponse, err error)

BindEnvironment This API is used to bind a usage plan to a service or API.

After you publish a service to an environment, if the API requires authentication and can be called only when it is bound to a usage plan, you can use this API to bind a usage plan to the specified environment.

Currently, a usage plan can be bound to an API; however, under the same service, usage plans bound to a service and usage plans bound to an API cannot coexist. Therefore, in an environment to which a service-level usage plan has already been bound, please use the `DemoteServiceUsagePlan` API to degrade it.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDAPIIDS = "InvalidParameterValue.InvalidApiIds"
LIMITEXCEEDED_REQUESTLIMITEXCEEDED = "LimitExceeded.RequestLimitExceeded"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"
UNSUPPORTEDOPERATION_UNSUPPORTEDBINDENVIRONMENT = "UnsupportedOperation.UnsupportedBindEnvironment"
UNSUPPORTEDOPERATION_UNSUPPORTEDUNBINDENVIRONMENT = "UnsupportedOperation.UnsupportedUnBindEnvironment"

func (*Client) BindEnvironmentWithContext

func (c *Client) BindEnvironmentWithContext(ctx context.Context, request *BindEnvironmentRequest) (response *BindEnvironmentResponse, err error)

BindEnvironment This API is used to bind a usage plan to a service or API.

After you publish a service to an environment, if the API requires authentication and can be called only when it is bound to a usage plan, you can use this API to bind a usage plan to the specified environment.

Currently, a usage plan can be bound to an API; however, under the same service, usage plans bound to a service and usage plans bound to an API cannot coexist. Therefore, in an environment to which a service-level usage plan has already been bound, please use the `DemoteServiceUsagePlan` API to degrade it.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDAPIIDS = "InvalidParameterValue.InvalidApiIds"
LIMITEXCEEDED_REQUESTLIMITEXCEEDED = "LimitExceeded.RequestLimitExceeded"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"
UNSUPPORTEDOPERATION_UNSUPPORTEDBINDENVIRONMENT = "UnsupportedOperation.UnsupportedBindEnvironment"
UNSUPPORTEDOPERATION_UNSUPPORTEDUNBINDENVIRONMENT = "UnsupportedOperation.UnsupportedUnBindEnvironment"

func (*Client) BindIPStrategy

func (c *Client) BindIPStrategy(request *BindIPStrategyRequest) (response *BindIPStrategyResponse, err error)

BindIPStrategy This API is used to bind an IP policy to an API.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETERVALUE_INVALIDENVSTATUS = "InvalidParameterValue.InvalidEnvStatus"
LIMITEXCEEDED_REQUESTLIMITEXCEEDED = "LimitExceeded.RequestLimitExceeded"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDIPSTRATEGY = "ResourceNotFound.InvalidIPStrategy"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"

func (*Client) BindIPStrategyWithContext

func (c *Client) BindIPStrategyWithContext(ctx context.Context, request *BindIPStrategyRequest) (response *BindIPStrategyResponse, err error)

BindIPStrategy This API is used to bind an IP policy to an API.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETERVALUE_INVALIDENVSTATUS = "InvalidParameterValue.InvalidEnvStatus"
LIMITEXCEEDED_REQUESTLIMITEXCEEDED = "LimitExceeded.RequestLimitExceeded"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDIPSTRATEGY = "ResourceNotFound.InvalidIPStrategy"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"

func (*Client) BindSecretIds

func (c *Client) BindSecretIds(request *BindSecretIdsRequest) (response *BindSecretIdsResponse, err error)

BindSecretIds This API is used to bind a key to a usage plan.

You can bind a key to a usage plan and bind the usage plan to an environment where a service is published, so that callers can use the key to call APIs in the service. You can use this API to bind a key to a usage plan.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETERVALUE_INVALIDACCESSKEYIDS = "InvalidParameterValue.InvalidAccessKeyIds"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
LIMITEXCEEDED_ACCESSKEYCOUNTINUSAGEPLANLIMITEXCEEDED = "LimitExceeded.AccessKeyCountInUsagePlanLimitExceeded"
RESOURCENOTFOUND_INVALIDACCESSKEYID = "ResourceNotFound.InvalidAccessKeyId"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"
UNSUPPORTEDOPERATION_ALREADYBINDUSAGEPLAN = "UnsupportedOperation.AlreadyBindUsagePlan"
UNSUPPORTEDOPERATION_INVALIDSTATUS = "UnsupportedOperation.InvalidStatus"
UNSUPPORTEDOPERATION_UNSUPPORTEDBINDAPIKEY = "UnsupportedOperation.UnsupportedBindApiKey"

func (*Client) BindSecretIdsWithContext

func (c *Client) BindSecretIdsWithContext(ctx context.Context, request *BindSecretIdsRequest) (response *BindSecretIdsResponse, err error)

BindSecretIds This API is used to bind a key to a usage plan.

You can bind a key to a usage plan and bind the usage plan to an environment where a service is published, so that callers can use the key to call APIs in the service. You can use this API to bind a key to a usage plan.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETERVALUE_INVALIDACCESSKEYIDS = "InvalidParameterValue.InvalidAccessKeyIds"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
LIMITEXCEEDED_ACCESSKEYCOUNTINUSAGEPLANLIMITEXCEEDED = "LimitExceeded.AccessKeyCountInUsagePlanLimitExceeded"
RESOURCENOTFOUND_INVALIDACCESSKEYID = "ResourceNotFound.InvalidAccessKeyId"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"
UNSUPPORTEDOPERATION_ALREADYBINDUSAGEPLAN = "UnsupportedOperation.AlreadyBindUsagePlan"
UNSUPPORTEDOPERATION_INVALIDSTATUS = "UnsupportedOperation.InvalidStatus"
UNSUPPORTEDOPERATION_UNSUPPORTEDBINDAPIKEY = "UnsupportedOperation.UnsupportedBindApiKey"

func (*Client) BindSubDomain

func (c *Client) BindSubDomain(request *BindSubDomainRequest) (response *BindSubDomainResponse, err error)

BindSubDomain This API is used to bind a custom domain name to a service.

Each service in API Gateway provides a default domain name for users to call. If you want to use your own domain name, you can bind a custom domain name to the target service. After getting the ICP filing and configuring the CNAME record between the custom and default domain names, you can directly call the custom domain name.

error code that may be returned:

FAILEDOPERATION_CERTIFICATEIDENTERPRISEWAITSUBMIT = "FailedOperation.CertificateIdEnterpriseWaitSubmit"
FAILEDOPERATION_CERTIFICATEIDERROR = "FailedOperation.CertificateIdError"
FAILEDOPERATION_CERTIFICATEIDEXPIRED = "FailedOperation.CertificateIdExpired"
FAILEDOPERATION_CERTIFICATEIDINFOERROR = "FailedOperation.CertificateIdInfoError"
FAILEDOPERATION_CERTIFICATEIDUNDERVERIFY = "FailedOperation.CertificateIdUnderVerify"
FAILEDOPERATION_CERTIFICATEIDUNKNOWNERROR = "FailedOperation.CertificateIdUnknownError"
FAILEDOPERATION_CERTIFICATEIDVERIFYFAIL = "FailedOperation.CertificateIdVerifyFail"
FAILEDOPERATION_CERTIFICATEISNULL = "FailedOperation.CertificateIsNull"
FAILEDOPERATION_DEFINEMAPPINGENVIRONMENTERROR = "FailedOperation.DefineMappingEnvironmentError"
FAILEDOPERATION_DEFINEMAPPINGNOTNULL = "FailedOperation.DefineMappingNotNull"
FAILEDOPERATION_DEFINEMAPPINGPARAMREPEAT = "FailedOperation.DefineMappingParamRepeat"
FAILEDOPERATION_DEFINEMAPPINGPATHERROR = "FailedOperation.DefineMappingPathError"
FAILEDOPERATION_DOMAINALREADYBINDOTHERSERVICE = "FailedOperation.DomainAlreadyBindOtherService"
FAILEDOPERATION_DOMAINALREADYBINDSERVICE = "FailedOperation.DomainAlreadyBindService"
FAILEDOPERATION_DOMAININBLACKLIST = "FailedOperation.DomainInBlackList"
FAILEDOPERATION_DOMAINNEEDBEIAN = "FailedOperation.DomainNeedBeian"
FAILEDOPERATION_DOMAINRESOLVEERROR = "FailedOperation.DomainResolveError"
FAILEDOPERATION_FORMATERROR = "FailedOperation.FormatError"
FAILEDOPERATION_ISDEFAULTMAPPING = "FailedOperation.IsDefaultMapping"
FAILEDOPERATION_NETSUBDOMAINERROR = "FailedOperation.NetSubDomainError"
FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
FAILEDOPERATION_SUBDOMAINFORMATERROR = "FailedOperation.SubDomainFormatError"
INTERNALERROR = "InternalError"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDPROCOTOL = "InvalidParameterValue.InvalidProcotol"
LIMITEXCEEDED_EXCEEDEDDEFINEMAPPINGLIMIT = "LimitExceeded.ExceededDefineMappingLimit"
LIMITEXCEEDED_EXCEEDEDDOMAINLIMIT = "LimitExceeded.ExceededDomainLimit"
LIMITEXCEEDED_REQUESTLIMITEXCEEDED = "LimitExceeded.RequestLimitExceeded"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_FORCEHTTPS = "UnsupportedOperation.ForceHttps"
UNSUPPORTEDOPERATION_INVALIDSERVICETRADE = "UnsupportedOperation.InvalidServiceTrade"

func (*Client) BindSubDomainWithContext

func (c *Client) BindSubDomainWithContext(ctx context.Context, request *BindSubDomainRequest) (response *BindSubDomainResponse, err error)

BindSubDomain This API is used to bind a custom domain name to a service.

Each service in API Gateway provides a default domain name for users to call. If you want to use your own domain name, you can bind a custom domain name to the target service. After getting the ICP filing and configuring the CNAME record between the custom and default domain names, you can directly call the custom domain name.

error code that may be returned:

FAILEDOPERATION_CERTIFICATEIDENTERPRISEWAITSUBMIT = "FailedOperation.CertificateIdEnterpriseWaitSubmit"
FAILEDOPERATION_CERTIFICATEIDERROR = "FailedOperation.CertificateIdError"
FAILEDOPERATION_CERTIFICATEIDEXPIRED = "FailedOperation.CertificateIdExpired"
FAILEDOPERATION_CERTIFICATEIDINFOERROR = "FailedOperation.CertificateIdInfoError"
FAILEDOPERATION_CERTIFICATEIDUNDERVERIFY = "FailedOperation.CertificateIdUnderVerify"
FAILEDOPERATION_CERTIFICATEIDUNKNOWNERROR = "FailedOperation.CertificateIdUnknownError"
FAILEDOPERATION_CERTIFICATEIDVERIFYFAIL = "FailedOperation.CertificateIdVerifyFail"
FAILEDOPERATION_CERTIFICATEISNULL = "FailedOperation.CertificateIsNull"
FAILEDOPERATION_DEFINEMAPPINGENVIRONMENTERROR = "FailedOperation.DefineMappingEnvironmentError"
FAILEDOPERATION_DEFINEMAPPINGNOTNULL = "FailedOperation.DefineMappingNotNull"
FAILEDOPERATION_DEFINEMAPPINGPARAMREPEAT = "FailedOperation.DefineMappingParamRepeat"
FAILEDOPERATION_DEFINEMAPPINGPATHERROR = "FailedOperation.DefineMappingPathError"
FAILEDOPERATION_DOMAINALREADYBINDOTHERSERVICE = "FailedOperation.DomainAlreadyBindOtherService"
FAILEDOPERATION_DOMAINALREADYBINDSERVICE = "FailedOperation.DomainAlreadyBindService"
FAILEDOPERATION_DOMAININBLACKLIST = "FailedOperation.DomainInBlackList"
FAILEDOPERATION_DOMAINNEEDBEIAN = "FailedOperation.DomainNeedBeian"
FAILEDOPERATION_DOMAINRESOLVEERROR = "FailedOperation.DomainResolveError"
FAILEDOPERATION_FORMATERROR = "FailedOperation.FormatError"
FAILEDOPERATION_ISDEFAULTMAPPING = "FailedOperation.IsDefaultMapping"
FAILEDOPERATION_NETSUBDOMAINERROR = "FailedOperation.NetSubDomainError"
FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
FAILEDOPERATION_SUBDOMAINFORMATERROR = "FailedOperation.SubDomainFormatError"
INTERNALERROR = "InternalError"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDPROCOTOL = "InvalidParameterValue.InvalidProcotol"
LIMITEXCEEDED_EXCEEDEDDEFINEMAPPINGLIMIT = "LimitExceeded.ExceededDefineMappingLimit"
LIMITEXCEEDED_EXCEEDEDDOMAINLIMIT = "LimitExceeded.ExceededDomainLimit"
LIMITEXCEEDED_REQUESTLIMITEXCEEDED = "LimitExceeded.RequestLimitExceeded"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_FORCEHTTPS = "UnsupportedOperation.ForceHttps"
UNSUPPORTEDOPERATION_INVALIDSERVICETRADE = "UnsupportedOperation.InvalidServiceTrade"

func (*Client) BuildAPIDoc

func (c *Client) BuildAPIDoc(request *BuildAPIDocRequest) (response *BuildAPIDocResponse, err error)

BuildAPIDoc This API is used to build an API document.

error code that may be returned:

FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_CODINGERROR = "FailedOperation.CodingError"
FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
INTERNALERROR_RETURNABLEEXCEPTION = "InternalError.ReturnableException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDAPIDOC = "ResourceNotFound.InvalidApiDoc"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) BuildAPIDocWithContext

func (c *Client) BuildAPIDocWithContext(ctx context.Context, request *BuildAPIDocRequest) (response *BuildAPIDocResponse, err error)

BuildAPIDoc This API is used to build an API document.

error code that may be returned:

FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_CODINGERROR = "FailedOperation.CodingError"
FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
INTERNALERROR_RETURNABLEEXCEPTION = "InternalError.ReturnableException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDAPIDOC = "ResourceNotFound.InvalidApiDoc"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) CreateAPIDoc

func (c *Client) CreateAPIDoc(request *CreateAPIDocRequest) (response *CreateAPIDocResponse, err error)

CreateAPIDoc This API is used to create an API document.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCESSKEYEXIST = "FailedOperation.AccessKeyExist"
FAILEDOPERATION_APIBINDENVIRONMEN = "FailedOperation.ApiBindEnvironmen"
FAILEDOPERATION_APIBINDENVIRONMENT = "FailedOperation.ApiBindEnvironment"
FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_CODINGERROR = "FailedOperation.CodingError"
FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_APIDOCLIMITEXCEEDED = "LimitExceeded.APIDocLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_INVALIDACCESSKEYID = "ResourceNotFound.InvalidAccessKeyId"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateAPIDocWithContext

func (c *Client) CreateAPIDocWithContext(ctx context.Context, request *CreateAPIDocRequest) (response *CreateAPIDocResponse, err error)

CreateAPIDoc This API is used to create an API document.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ACCESSKEYEXIST = "FailedOperation.AccessKeyExist"
FAILEDOPERATION_APIBINDENVIRONMEN = "FailedOperation.ApiBindEnvironmen"
FAILEDOPERATION_APIBINDENVIRONMENT = "FailedOperation.ApiBindEnvironment"
FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_CODINGERROR = "FailedOperation.CodingError"
FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_APIDOCLIMITEXCEEDED = "LimitExceeded.APIDocLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_INVALIDACCESSKEYID = "ResourceNotFound.InvalidAccessKeyId"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateApi

func (c *Client) CreateApi(request *CreateApiRequest) (response *CreateApiResponse, err error)

CreateApi This API is used to create an API. Before creating an API, you need to create a service, as each API belongs to a certain service.

error code that may be returned:

FAILEDOPERATION_APIINOPERATION = "FailedOperation.ApiInOperation"
FAILEDOPERATION_BACKENDDOMAINERROR = "FailedOperation.BackendDomainError"
FAILEDOPERATION_DOMAINNEEDBEIAN = "FailedOperation.DomainNeedBeian"
FAILEDOPERATION_EIAMERROR = "FailedOperation.EIAMError"
FAILEDOPERATION_EBERROR = "FailedOperation.EbError"
FAILEDOPERATION_GETROLEERROR = "FailedOperation.GetRoleError"
FAILEDOPERATION_SCFERROR = "FailedOperation.ScfError"
FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_CAUTHEXCEPTION = "InternalError.CauthException"
INTERNALERROR_CLBEXCEPTION = "InternalError.ClbException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_SCFEXCEPTION = "InternalError.ScfException"
INTERNALERROR_TSFEXCEPTION = "InternalError.TsfException"
INTERNALERROR_VPCEXCEPTION = "InternalError.VpcException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_ILLEGALPROXYIP = "InvalidParameterValue.IllegalProxyIp"
INVALIDPARAMETERVALUE_INVALIDAPIBUSINESSTYPE = "InvalidParameterValue.InvalidApiBusinessType"
INVALIDPARAMETERVALUE_INVALIDAPIREQUESTCONFIG = "InvalidParameterValue.InvalidApiRequestConfig"
INVALIDPARAMETERVALUE_INVALIDAPITYPE = "InvalidParameterValue.InvalidApiType"
INVALIDPARAMETERVALUE_INVALIDBACKENDPATH = "InvalidParameterValue.InvalidBackendPath"
INVALIDPARAMETERVALUE_INVALIDCLB = "InvalidParameterValue.InvalidClb"
INVALIDPARAMETERVALUE_INVALIDIPADDRESS = "InvalidParameterValue.InvalidIPAddress"
INVALIDPARAMETERVALUE_INVALIDPORT = "InvalidParameterValue.InvalidPort"
INVALIDPARAMETERVALUE_INVALIDPUBLICKEY = "InvalidParameterValue.InvalidPublicKey"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_INVALIDREQUESTPARAMETERS = "InvalidParameterValue.InvalidRequestParameters"
INVALIDPARAMETERVALUE_INVALIDSCFCONFIG = "InvalidParameterValue.InvalidScfConfig"
INVALIDPARAMETERVALUE_INVALIDSERVICECONFIG = "InvalidParameterValue.InvalidServiceConfig"
INVALIDPARAMETERVALUE_INVALIDSERVICEMOCKRETURNMESSAGE = "InvalidParameterValue.InvalidServiceMockReturnMessage"
INVALIDPARAMETERVALUE_INVALIDSERVICEPARAM = "InvalidParameterValue.InvalidServiceParam"
INVALIDPARAMETERVALUE_INVALIDSERVICEPARAMETERS = "InvalidParameterValue.InvalidServiceParameters"
INVALIDPARAMETERVALUE_INVALIDSERVICETYPE = "InvalidParameterValue.InvalidServiceType"
INVALIDPARAMETERVALUE_INVALIDTSFCONFIG = "InvalidParameterValue.InvalidTsfConfig"
INVALIDPARAMETERVALUE_INVALIDUPSTREAM = "InvalidParameterValue.InvalidUpstream"
INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidUrl"
INVALIDPARAMETERVALUE_INVALIDVPCCONFIG = "InvalidParameterValue.InvalidVpcConfig"
INVALIDPARAMETERVALUE_INVALIDWSMETHOD = "InvalidParameterValue.InvalidWSMethod"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NOTINOPTIONS = "InvalidParameterValue.NotInOptions"
INVALIDPARAMETERVALUE_PARAMETERNOTMATCH = "InvalidParameterValue.ParameterNotMatch"
INVALIDPARAMETERVALUE_RANGEEXCEEDED = "InvalidParameterValue.RangeExceeded"
LIMITEXCEEDED_APICOUNTLIMITEXCEEDED = "LimitExceeded.ApiCountLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_INVALIDOAUTHAPI = "ResourceNotFound.InvalidOauthApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_BASICSERVICENOMOREAPI = "UnsupportedOperation.BasicServiceNoMoreApi"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_INVALIDENDPOINTTYPE = "UnsupportedOperation.InvalidEndpointType"
UNSUPPORTEDOPERATION_SERVICEEXIST = "UnsupportedOperation.ServiceExist"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"
UNSUPPORTEDOPERATION_UNSUPPORTEDNETTYPE = "UnsupportedOperation.UnsupportedNetType"

func (*Client) CreateApiApp

func (c *Client) CreateApiApp(request *CreateApiAppRequest) (response *CreateApiAppResponse, err error)

CreateApiApp This API is used to create an application.

error code that may be returned:

FAILEDOPERATION_ACCESSKEYEXIST = "FailedOperation.AccessKeyExist"
FAILEDOPERATION_TAGBINDSERVICEERROR = "FailedOperation.TagBindServiceError"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
LIMITEXCEEDED_APIAPPCOUNTLIMITEXCEEDED = "LimitExceeded.ApiAppCountLimitExceeded"
LIMITEXCEEDED_APIKEYCOUNTLIMITEXCEEDED = "LimitExceeded.ApiKeyCountLimitExceeded"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) CreateApiAppWithContext

func (c *Client) CreateApiAppWithContext(ctx context.Context, request *CreateApiAppRequest) (response *CreateApiAppResponse, err error)

CreateApiApp This API is used to create an application.

error code that may be returned:

FAILEDOPERATION_ACCESSKEYEXIST = "FailedOperation.AccessKeyExist"
FAILEDOPERATION_TAGBINDSERVICEERROR = "FailedOperation.TagBindServiceError"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
LIMITEXCEEDED_APIAPPCOUNTLIMITEXCEEDED = "LimitExceeded.ApiAppCountLimitExceeded"
LIMITEXCEEDED_APIKEYCOUNTLIMITEXCEEDED = "LimitExceeded.ApiKeyCountLimitExceeded"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) CreateApiKey

func (c *Client) CreateApiKey(request *CreateApiKeyRequest) (response *CreateApiKeyResponse, err error)

CreateApiKey This API is used to create an API key pair.

error code that may be returned:

FAILEDOPERATION_ACCESSKEYEXIST = "FailedOperation.AccessKeyExist"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
LIMITEXCEEDED_APIKEYCOUNTLIMITEXCEEDED = "LimitExceeded.ApiKeyCountLimitExceeded"
UNAUTHORIZEDOPERATION_UNCERTIFIEDUSER = "UnauthorizedOperation.UncertifiedUser"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) CreateApiKeyWithContext

func (c *Client) CreateApiKeyWithContext(ctx context.Context, request *CreateApiKeyRequest) (response *CreateApiKeyResponse, err error)

CreateApiKey This API is used to create an API key pair.

error code that may be returned:

FAILEDOPERATION_ACCESSKEYEXIST = "FailedOperation.AccessKeyExist"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
LIMITEXCEEDED_APIKEYCOUNTLIMITEXCEEDED = "LimitExceeded.ApiKeyCountLimitExceeded"
UNAUTHORIZEDOPERATION_UNCERTIFIEDUSER = "UnauthorizedOperation.UncertifiedUser"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) CreateApiWithContext

func (c *Client) CreateApiWithContext(ctx context.Context, request *CreateApiRequest) (response *CreateApiResponse, err error)

CreateApi This API is used to create an API. Before creating an API, you need to create a service, as each API belongs to a certain service.

error code that may be returned:

FAILEDOPERATION_APIINOPERATION = "FailedOperation.ApiInOperation"
FAILEDOPERATION_BACKENDDOMAINERROR = "FailedOperation.BackendDomainError"
FAILEDOPERATION_DOMAINNEEDBEIAN = "FailedOperation.DomainNeedBeian"
FAILEDOPERATION_EIAMERROR = "FailedOperation.EIAMError"
FAILEDOPERATION_EBERROR = "FailedOperation.EbError"
FAILEDOPERATION_GETROLEERROR = "FailedOperation.GetRoleError"
FAILEDOPERATION_SCFERROR = "FailedOperation.ScfError"
FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_CAUTHEXCEPTION = "InternalError.CauthException"
INTERNALERROR_CLBEXCEPTION = "InternalError.ClbException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_SCFEXCEPTION = "InternalError.ScfException"
INTERNALERROR_TSFEXCEPTION = "InternalError.TsfException"
INTERNALERROR_VPCEXCEPTION = "InternalError.VpcException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_ILLEGALPROXYIP = "InvalidParameterValue.IllegalProxyIp"
INVALIDPARAMETERVALUE_INVALIDAPIBUSINESSTYPE = "InvalidParameterValue.InvalidApiBusinessType"
INVALIDPARAMETERVALUE_INVALIDAPIREQUESTCONFIG = "InvalidParameterValue.InvalidApiRequestConfig"
INVALIDPARAMETERVALUE_INVALIDAPITYPE = "InvalidParameterValue.InvalidApiType"
INVALIDPARAMETERVALUE_INVALIDBACKENDPATH = "InvalidParameterValue.InvalidBackendPath"
INVALIDPARAMETERVALUE_INVALIDCLB = "InvalidParameterValue.InvalidClb"
INVALIDPARAMETERVALUE_INVALIDIPADDRESS = "InvalidParameterValue.InvalidIPAddress"
INVALIDPARAMETERVALUE_INVALIDPORT = "InvalidParameterValue.InvalidPort"
INVALIDPARAMETERVALUE_INVALIDPUBLICKEY = "InvalidParameterValue.InvalidPublicKey"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_INVALIDREQUESTPARAMETERS = "InvalidParameterValue.InvalidRequestParameters"
INVALIDPARAMETERVALUE_INVALIDSCFCONFIG = "InvalidParameterValue.InvalidScfConfig"
INVALIDPARAMETERVALUE_INVALIDSERVICECONFIG = "InvalidParameterValue.InvalidServiceConfig"
INVALIDPARAMETERVALUE_INVALIDSERVICEMOCKRETURNMESSAGE = "InvalidParameterValue.InvalidServiceMockReturnMessage"
INVALIDPARAMETERVALUE_INVALIDSERVICEPARAM = "InvalidParameterValue.InvalidServiceParam"
INVALIDPARAMETERVALUE_INVALIDSERVICEPARAMETERS = "InvalidParameterValue.InvalidServiceParameters"
INVALIDPARAMETERVALUE_INVALIDSERVICETYPE = "InvalidParameterValue.InvalidServiceType"
INVALIDPARAMETERVALUE_INVALIDTSFCONFIG = "InvalidParameterValue.InvalidTsfConfig"
INVALIDPARAMETERVALUE_INVALIDUPSTREAM = "InvalidParameterValue.InvalidUpstream"
INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidUrl"
INVALIDPARAMETERVALUE_INVALIDVPCCONFIG = "InvalidParameterValue.InvalidVpcConfig"
INVALIDPARAMETERVALUE_INVALIDWSMETHOD = "InvalidParameterValue.InvalidWSMethod"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NOTINOPTIONS = "InvalidParameterValue.NotInOptions"
INVALIDPARAMETERVALUE_PARAMETERNOTMATCH = "InvalidParameterValue.ParameterNotMatch"
INVALIDPARAMETERVALUE_RANGEEXCEEDED = "InvalidParameterValue.RangeExceeded"
LIMITEXCEEDED_APICOUNTLIMITEXCEEDED = "LimitExceeded.ApiCountLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_INVALIDOAUTHAPI = "ResourceNotFound.InvalidOauthApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_BASICSERVICENOMOREAPI = "UnsupportedOperation.BasicServiceNoMoreApi"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_INVALIDENDPOINTTYPE = "UnsupportedOperation.InvalidEndpointType"
UNSUPPORTEDOPERATION_SERVICEEXIST = "UnsupportedOperation.ServiceExist"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"
UNSUPPORTEDOPERATION_UNSUPPORTEDNETTYPE = "UnsupportedOperation.UnsupportedNetType"

func (*Client) CreateIPStrategy

func (c *Client) CreateIPStrategy(request *CreateIPStrategyRequest) (response *CreateIPStrategyResponse, err error)

CreateIPStrategy This API is used to create a service IP policy.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
LIMITEXCEEDED_IPSTRATEGYLIMITEXCEEDED = "LimitExceeded.IpStrategyLimitExceeded"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"

func (*Client) CreateIPStrategyWithContext

func (c *Client) CreateIPStrategyWithContext(ctx context.Context, request *CreateIPStrategyRequest) (response *CreateIPStrategyResponse, err error)

CreateIPStrategy This API is used to create a service IP policy.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
LIMITEXCEEDED_IPSTRATEGYLIMITEXCEEDED = "LimitExceeded.IpStrategyLimitExceeded"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"

func (*Client) CreatePlugin

func (c *Client) CreatePlugin(request *CreatePluginRequest) (response *CreatePluginResponse, err error)

CreatePlugin This API is used to create an API Gateway plugin.

error code that may be returned:

FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
FAILEDOPERATION_TAGBINDSERVICEERROR = "FailedOperation.TagBindServiceError"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_TSFEXCEPTION = "InternalError.TsfException"
INTERNALERROR_VPCEXCEPTION = "InternalError.VpcException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_DUPLICATEPLUGINCONFIG = "InvalidParameterValue.DuplicatePluginConfig"
INVALIDPARAMETERVALUE_INVALIDAPIREQUESTCONFIG = "InvalidParameterValue.InvalidApiRequestConfig"
INVALIDPARAMETERVALUE_INVALIDBACKENDPATH = "InvalidParameterValue.InvalidBackendPath"
INVALIDPARAMETERVALUE_INVALIDCLB = "InvalidParameterValue.InvalidClb"
INVALIDPARAMETERVALUE_INVALIDCONDITION = "InvalidParameterValue.InvalidCondition"
INVALIDPARAMETERVALUE_INVALIDIPADDRESS = "InvalidParameterValue.InvalidIPAddress"
INVALIDPARAMETERVALUE_INVALIDPLUGINCONFIG = "InvalidParameterValue.InvalidPluginConfig"
INVALIDPARAMETERVALUE_INVALIDPORT = "InvalidParameterValue.InvalidPort"
INVALIDPARAMETERVALUE_INVALIDSCFCONFIG = "InvalidParameterValue.InvalidScfConfig"
INVALIDPARAMETERVALUE_INVALIDSERVICECONFIG = "InvalidParameterValue.InvalidServiceConfig"
INVALIDPARAMETERVALUE_INVALIDSERVICEPARAM = "InvalidParameterValue.InvalidServiceParam"
INVALIDPARAMETERVALUE_INVALIDSERVICETYPE = "InvalidParameterValue.InvalidServiceType"
INVALIDPARAMETERVALUE_INVALIDUPSTREAM = "InvalidParameterValue.InvalidUpstream"
INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidUrl"
INVALIDPARAMETERVALUE_INVALIDVPCCONFIG = "InvalidParameterValue.InvalidVpcConfig"
INVALIDPARAMETERVALUE_LENGTHEXCEEDED = "InvalidParameterValue.LengthExceeded"
INVALIDPARAMETERVALUE_NOTINOPTIONS = "InvalidParameterValue.NotInOptions"
INVALIDPARAMETERVALUE_PARAMETERVALUELIMITEXCEEDED = "InvalidParameterValue.ParameterValueLimitExceeded"
INVALIDPARAMETERVALUE_RANGEEXCEEDED = "InvalidParameterValue.RangeExceeded"
MISSINGPARAMETER_BACKENDSPECIFICPARAM = "MissingParameter.BackendSpecificParam"
MISSINGPARAMETER_PLUGINCONFIG = "MissingParameter.PluginConfig"
UNAUTHORIZEDOPERATION_UNCERTIFIEDUSER = "UnauthorizedOperation.UncertifiedUser"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) CreatePluginWithContext

func (c *Client) CreatePluginWithContext(ctx context.Context, request *CreatePluginRequest) (response *CreatePluginResponse, err error)

CreatePlugin This API is used to create an API Gateway plugin.

error code that may be returned:

FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
FAILEDOPERATION_TAGBINDSERVICEERROR = "FailedOperation.TagBindServiceError"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_TSFEXCEPTION = "InternalError.TsfException"
INTERNALERROR_VPCEXCEPTION = "InternalError.VpcException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_DUPLICATEPLUGINCONFIG = "InvalidParameterValue.DuplicatePluginConfig"
INVALIDPARAMETERVALUE_INVALIDAPIREQUESTCONFIG = "InvalidParameterValue.InvalidApiRequestConfig"
INVALIDPARAMETERVALUE_INVALIDBACKENDPATH = "InvalidParameterValue.InvalidBackendPath"
INVALIDPARAMETERVALUE_INVALIDCLB = "InvalidParameterValue.InvalidClb"
INVALIDPARAMETERVALUE_INVALIDCONDITION = "InvalidParameterValue.InvalidCondition"
INVALIDPARAMETERVALUE_INVALIDIPADDRESS = "InvalidParameterValue.InvalidIPAddress"
INVALIDPARAMETERVALUE_INVALIDPLUGINCONFIG = "InvalidParameterValue.InvalidPluginConfig"
INVALIDPARAMETERVALUE_INVALIDPORT = "InvalidParameterValue.InvalidPort"
INVALIDPARAMETERVALUE_INVALIDSCFCONFIG = "InvalidParameterValue.InvalidScfConfig"
INVALIDPARAMETERVALUE_INVALIDSERVICECONFIG = "InvalidParameterValue.InvalidServiceConfig"
INVALIDPARAMETERVALUE_INVALIDSERVICEPARAM = "InvalidParameterValue.InvalidServiceParam"
INVALIDPARAMETERVALUE_INVALIDSERVICETYPE = "InvalidParameterValue.InvalidServiceType"
INVALIDPARAMETERVALUE_INVALIDUPSTREAM = "InvalidParameterValue.InvalidUpstream"
INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidUrl"
INVALIDPARAMETERVALUE_INVALIDVPCCONFIG = "InvalidParameterValue.InvalidVpcConfig"
INVALIDPARAMETERVALUE_LENGTHEXCEEDED = "InvalidParameterValue.LengthExceeded"
INVALIDPARAMETERVALUE_NOTINOPTIONS = "InvalidParameterValue.NotInOptions"
INVALIDPARAMETERVALUE_PARAMETERVALUELIMITEXCEEDED = "InvalidParameterValue.ParameterValueLimitExceeded"
INVALIDPARAMETERVALUE_RANGEEXCEEDED = "InvalidParameterValue.RangeExceeded"
MISSINGPARAMETER_BACKENDSPECIFICPARAM = "MissingParameter.BackendSpecificParam"
MISSINGPARAMETER_PLUGINCONFIG = "MissingParameter.PluginConfig"
UNAUTHORIZEDOPERATION_UNCERTIFIEDUSER = "UnauthorizedOperation.UncertifiedUser"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) CreateService

func (c *Client) CreateService(request *CreateServiceRequest) (response *CreateServiceResponse, err error)

CreateService This API is used to create a service.

A service is the biggest usage unit in API Gateway. Each service can contain multiple APIs and one default domain name for invocation. You can also bind your own custom domain name to a service.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INSTANCENOTEXIST = "FailedOperation.InstanceNotExist"
FAILEDOPERATION_TAGBINDSERVICEERROR = "FailedOperation.TagBindServiceError"
INTERNALERROR = "InternalError"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_CAUTHEXCEPTION = "InternalError.CauthException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_VPCEXCEPTION = "InternalError.VpcException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_INVALIDVPCCONFIG = "InvalidParameterValue.InvalidVpcConfig"
INVALIDPARAMETERVALUE_NOTINOPTIONS = "InvalidParameterValue.NotInOptions"
INVALIDPARAMETERVALUE_PARAMETERVALUELIMITEXCEEDED = "InvalidParameterValue.ParameterValueLimitExceeded"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_IPSTRATEGYLIMITEXCEEDED = "LimitExceeded.IpStrategyLimitExceeded"
LIMITEXCEEDED_SERVICECOUNTLIMITEXCEEDED = "LimitExceeded.ServiceCountLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_UNCERTIFIEDUSER = "UnauthorizedOperation.UncertifiedUser"
UNSUPPORTEDOPERATION_ACCOUNTARREARS = "UnsupportedOperation.AccountArrears"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) CreateServiceWithContext

func (c *Client) CreateServiceWithContext(ctx context.Context, request *CreateServiceRequest) (response *CreateServiceResponse, err error)

CreateService This API is used to create a service.

A service is the biggest usage unit in API Gateway. Each service can contain multiple APIs and one default domain name for invocation. You can also bind your own custom domain name to a service.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INSTANCENOTEXIST = "FailedOperation.InstanceNotExist"
FAILEDOPERATION_TAGBINDSERVICEERROR = "FailedOperation.TagBindServiceError"
INTERNALERROR = "InternalError"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_CAUTHEXCEPTION = "InternalError.CauthException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_VPCEXCEPTION = "InternalError.VpcException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_INVALIDVPCCONFIG = "InvalidParameterValue.InvalidVpcConfig"
INVALIDPARAMETERVALUE_NOTINOPTIONS = "InvalidParameterValue.NotInOptions"
INVALIDPARAMETERVALUE_PARAMETERVALUELIMITEXCEEDED = "InvalidParameterValue.ParameterValueLimitExceeded"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_IPSTRATEGYLIMITEXCEEDED = "LimitExceeded.IpStrategyLimitExceeded"
LIMITEXCEEDED_SERVICECOUNTLIMITEXCEEDED = "LimitExceeded.ServiceCountLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_UNCERTIFIEDUSER = "UnauthorizedOperation.UncertifiedUser"
UNSUPPORTEDOPERATION_ACCOUNTARREARS = "UnsupportedOperation.AccountArrears"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) CreateUpstream

func (c *Client) CreateUpstream(request *CreateUpstreamRequest) (response *CreateUpstreamResponse, err error)

CreateUpstream This API is used to create an upstream.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_OPERATEUPSTREAM = "FailedOperation.OperateUpstream"
FAILEDOPERATION_TAGBINDSERVICEERROR = "FailedOperation.TagBindServiceError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDVPCCONFIG = "InvalidParameterValue.InvalidVpcConfig"
INVALIDPARAMETERVALUE_NOTINOPTIONS = "InvalidParameterValue.NotInOptions"
INVALIDPARAMETERVALUE_RANGEEXCEEDED = "InvalidParameterValue.RangeExceeded"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateUpstreamWithContext

func (c *Client) CreateUpstreamWithContext(ctx context.Context, request *CreateUpstreamRequest) (response *CreateUpstreamResponse, err error)

CreateUpstream This API is used to create an upstream.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_OPERATEUPSTREAM = "FailedOperation.OperateUpstream"
FAILEDOPERATION_TAGBINDSERVICEERROR = "FailedOperation.TagBindServiceError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDVPCCONFIG = "InvalidParameterValue.InvalidVpcConfig"
INVALIDPARAMETERVALUE_NOTINOPTIONS = "InvalidParameterValue.NotInOptions"
INVALIDPARAMETERVALUE_RANGEEXCEEDED = "InvalidParameterValue.RangeExceeded"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateUsagePlan

func (c *Client) CreateUsagePlan(request *CreateUsagePlanRequest) (response *CreateUsagePlanResponse, err error)

CreateUsagePlan This API is used to create a usage plan.

To use API Gateway, you need to create a usage plan and bind it to a service environment.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDMAXREQUESTNUM = "InvalidParameterValue.InvalidMaxRequestNum"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
LIMITEXCEEDED_USAGEPLANLIMITEXCEEDED = "LimitExceeded.UsagePlanLimitExceeded"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) CreateUsagePlanWithContext

func (c *Client) CreateUsagePlanWithContext(ctx context.Context, request *CreateUsagePlanRequest) (response *CreateUsagePlanResponse, err error)

CreateUsagePlan This API is used to create a usage plan.

To use API Gateway, you need to create a usage plan and bind it to a service environment.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDMAXREQUESTNUM = "InvalidParameterValue.InvalidMaxRequestNum"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
LIMITEXCEEDED_USAGEPLANLIMITEXCEEDED = "LimitExceeded.UsagePlanLimitExceeded"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) DeleteAPIDoc

func (c *Client) DeleteAPIDoc(request *DeleteAPIDocRequest) (response *DeleteAPIDocResponse, err error)

DeleteAPIDoc This API is used to delete an API document.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteAPIDocWithContext

func (c *Client) DeleteAPIDocWithContext(ctx context.Context, request *DeleteAPIDocRequest) (response *DeleteAPIDocResponse, err error)

DeleteAPIDoc This API is used to delete an API document.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteApi

func (c *Client) DeleteApi(request *DeleteApiRequest) (response *DeleteApiResponse, err error)

DeleteApi This API is used to delete a created API.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_APIBINDENVIRONMEN = "FailedOperation.ApiBindEnvironmen"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_INVALIDSERVICETRADE = "UnsupportedOperation.InvalidServiceTrade"
UNSUPPORTEDOPERATION_RESOURCEASSOCIATED = "UnsupportedOperation.ResourceAssociated"
UNSUPPORTEDOPERATION_UNSUPPORTEDDELETEAPI = "UnsupportedOperation.UnsupportedDeleteApi"

func (*Client) DeleteApiApp

func (c *Client) DeleteApiApp(request *DeleteApiAppRequest) (response *DeleteApiAppResponse, err error)

DeleteApiApp This API is used to delete a created application.

error code that may be returned:

FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_APIINOPERATION = "FailedOperation.ApiInOperation"
FAILEDOPERATION_GETROLEERROR = "FailedOperation.GetRoleError"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDAPIAPP = "ResourceNotFound.InvalidApiApp"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_INVALIDSERVICETRADE = "UnsupportedOperation.InvalidServiceTrade"
UNSUPPORTEDOPERATION_RESOURCEASSOCIATED = "UnsupportedOperation.ResourceAssociated"
UNSUPPORTEDOPERATION_UNSUPPORTEDDELETEAPI = "UnsupportedOperation.UnsupportedDeleteApi"

func (*Client) DeleteApiAppWithContext

func (c *Client) DeleteApiAppWithContext(ctx context.Context, request *DeleteApiAppRequest) (response *DeleteApiAppResponse, err error)

DeleteApiApp This API is used to delete a created application.

error code that may be returned:

FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_APIINOPERATION = "FailedOperation.ApiInOperation"
FAILEDOPERATION_GETROLEERROR = "FailedOperation.GetRoleError"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDAPIAPP = "ResourceNotFound.InvalidApiApp"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_INVALIDSERVICETRADE = "UnsupportedOperation.InvalidServiceTrade"
UNSUPPORTEDOPERATION_RESOURCEASSOCIATED = "UnsupportedOperation.ResourceAssociated"
UNSUPPORTEDOPERATION_UNSUPPORTEDDELETEAPI = "UnsupportedOperation.UnsupportedDeleteApi"

func (*Client) DeleteApiKey

func (c *Client) DeleteApiKey(request *DeleteApiKeyRequest) (response *DeleteApiKeyResponse, err error)

DeleteApiKey This API is used to delete an API key pair.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDACCESSKEYID = "ResourceNotFound.InvalidAccessKeyId"
UNSUPPORTEDOPERATION_INVALIDSTATUS = "UnsupportedOperation.InvalidStatus"
UNSUPPORTEDOPERATION_RESOURCEISINUSE = "UnsupportedOperation.ResourceIsInUse"

func (*Client) DeleteApiKeyWithContext

func (c *Client) DeleteApiKeyWithContext(ctx context.Context, request *DeleteApiKeyRequest) (response *DeleteApiKeyResponse, err error)

DeleteApiKey This API is used to delete an API key pair.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDACCESSKEYID = "ResourceNotFound.InvalidAccessKeyId"
UNSUPPORTEDOPERATION_INVALIDSTATUS = "UnsupportedOperation.InvalidStatus"
UNSUPPORTEDOPERATION_RESOURCEISINUSE = "UnsupportedOperation.ResourceIsInUse"

func (*Client) DeleteApiWithContext

func (c *Client) DeleteApiWithContext(ctx context.Context, request *DeleteApiRequest) (response *DeleteApiResponse, err error)

DeleteApi This API is used to delete a created API.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_APIBINDENVIRONMEN = "FailedOperation.ApiBindEnvironmen"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_INVALIDSERVICETRADE = "UnsupportedOperation.InvalidServiceTrade"
UNSUPPORTEDOPERATION_RESOURCEASSOCIATED = "UnsupportedOperation.ResourceAssociated"
UNSUPPORTEDOPERATION_UNSUPPORTEDDELETEAPI = "UnsupportedOperation.UnsupportedDeleteApi"

func (*Client) DeleteIPStrategy

func (c *Client) DeleteIPStrategy(request *DeleteIPStrategyRequest) (response *DeleteIPStrategyResponse, err error)

DeleteIPStrategy This API is used to delete a service IP policy.

error code that may be returned:

RESOURCENOTFOUND_INVALIDIPSTRATEGY = "ResourceNotFound.InvalidIPStrategy"

func (*Client) DeleteIPStrategyWithContext

func (c *Client) DeleteIPStrategyWithContext(ctx context.Context, request *DeleteIPStrategyRequest) (response *DeleteIPStrategyResponse, err error)

DeleteIPStrategy This API is used to delete a service IP policy.

error code that may be returned:

RESOURCENOTFOUND_INVALIDIPSTRATEGY = "ResourceNotFound.InvalidIPStrategy"

func (*Client) DeletePlugin

func (c *Client) DeletePlugin(request *DeletePluginRequest) (response *DeletePluginResponse, err error)

DeletePlugin This API is used to delete an API Gateway plugin.

error code that may be returned:

INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_RETURNABLEEXCEPTION = "InternalError.ReturnableException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDPLUGIN = "ResourceNotFound.InvalidPlugin"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) DeletePluginWithContext

func (c *Client) DeletePluginWithContext(ctx context.Context, request *DeletePluginRequest) (response *DeletePluginResponse, err error)

DeletePlugin This API is used to delete an API Gateway plugin.

error code that may be returned:

INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_RETURNABLEEXCEPTION = "InternalError.ReturnableException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDPLUGIN = "ResourceNotFound.InvalidPlugin"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) DeleteService

func (c *Client) DeleteService(request *DeleteServiceRequest) (response *DeleteServiceResponse, err error)

DeleteService This API is used to delete a service in API Gateway.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_APILISTNOTEMPTY = "UnsupportedOperation.ApiListNotEmpty"
UNSUPPORTEDOPERATION_EXISTINGONLINEENVIRONMENT = "UnsupportedOperation.ExistingOnlineEnvironment"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_TAGSNOTEMPTY = "UnsupportedOperation.TagsNotEmpty"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"
UNSUPPORTEDOPERATION_UNSUPPORTEDDELETESERVICE = "UnsupportedOperation.UnsupportedDeleteService"
UNSUPPORTEDOPERATION_USAGEPLANINUSE = "UnsupportedOperation.UsagePlanInUse"

func (*Client) DeleteServiceSubDomainMapping

func (c *Client) DeleteServiceSubDomainMapping(request *DeleteServiceSubDomainMappingRequest) (response *DeleteServiceSubDomainMappingResponse, err error)

DeleteServiceSubDomainMapping This API is used to delete a custom domain name mapping in a service environment.

You can use this API if you use a custom domain name and custom mapping. Please note that if you delete all mappings in all environments, a failure will be returned when this API is called.

error code that may be returned:

FAILEDOPERATION_DELETEPATHMAPPINGSETERROR = "FailedOperation.DeletePathMappingSetError"
FAILEDOPERATION_SERVICENOTEXIST = "FailedOperation.ServiceNotExist"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
UNSUPPORTEDOPERATION_INVALIDSERVICETRADE = "UnsupportedOperation.InvalidServiceTrade"

func (*Client) DeleteServiceSubDomainMappingWithContext

func (c *Client) DeleteServiceSubDomainMappingWithContext(ctx context.Context, request *DeleteServiceSubDomainMappingRequest) (response *DeleteServiceSubDomainMappingResponse, err error)

DeleteServiceSubDomainMapping This API is used to delete a custom domain name mapping in a service environment.

You can use this API if you use a custom domain name and custom mapping. Please note that if you delete all mappings in all environments, a failure will be returned when this API is called.

error code that may be returned:

FAILEDOPERATION_DELETEPATHMAPPINGSETERROR = "FailedOperation.DeletePathMappingSetError"
FAILEDOPERATION_SERVICENOTEXIST = "FailedOperation.ServiceNotExist"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
UNSUPPORTEDOPERATION_INVALIDSERVICETRADE = "UnsupportedOperation.InvalidServiceTrade"

func (*Client) DeleteServiceWithContext

func (c *Client) DeleteServiceWithContext(ctx context.Context, request *DeleteServiceRequest) (response *DeleteServiceResponse, err error)

DeleteService This API is used to delete a service in API Gateway.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_APILISTNOTEMPTY = "UnsupportedOperation.ApiListNotEmpty"
UNSUPPORTEDOPERATION_EXISTINGONLINEENVIRONMENT = "UnsupportedOperation.ExistingOnlineEnvironment"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_TAGSNOTEMPTY = "UnsupportedOperation.TagsNotEmpty"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"
UNSUPPORTEDOPERATION_UNSUPPORTEDDELETESERVICE = "UnsupportedOperation.UnsupportedDeleteService"
UNSUPPORTEDOPERATION_USAGEPLANINUSE = "UnsupportedOperation.UsagePlanInUse"

func (*Client) DeleteUpstream

func (c *Client) DeleteUpstream(request *DeleteUpstreamRequest) (response *DeleteUpstreamResponse, err error)

DeleteUpstream This API is used to delete an upstream. Note that you can only delete an upstream when it’s not bound with any APIs.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_UNSUPPORTEDDELETEUPSTREAM = "UnsupportedOperation.UnsupportedDeleteUpstream"

func (*Client) DeleteUpstreamWithContext

func (c *Client) DeleteUpstreamWithContext(ctx context.Context, request *DeleteUpstreamRequest) (response *DeleteUpstreamResponse, err error)

DeleteUpstream This API is used to delete an upstream. Note that you can only delete an upstream when it’s not bound with any APIs.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_UNSUPPORTEDDELETEUPSTREAM = "UnsupportedOperation.UnsupportedDeleteUpstream"

func (*Client) DeleteUsagePlan

func (c *Client) DeleteUsagePlan(request *DeleteUsagePlanRequest) (response *DeleteUsagePlanResponse, err error)

DeleteUsagePlan This API is used to delete a usage plan.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"
UNSUPPORTEDOPERATION_USAGEPLANINUSE = "UnsupportedOperation.UsagePlanInUse"

func (*Client) DeleteUsagePlanWithContext

func (c *Client) DeleteUsagePlanWithContext(ctx context.Context, request *DeleteUsagePlanRequest) (response *DeleteUsagePlanResponse, err error)

DeleteUsagePlan This API is used to delete a usage plan.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"
UNSUPPORTEDOPERATION_USAGEPLANINUSE = "UnsupportedOperation.UsagePlanInUse"

func (*Client) DemoteServiceUsagePlan

func (c *Client) DemoteServiceUsagePlan(request *DemoteServiceUsagePlanRequest) (response *DemoteServiceUsagePlanResponse, err error)

DemoteServiceUsagePlan This API is used to degrade a usage plan of a service in an environment to the API level.

This operation will be denied if there are no APIs under the service.

This operation will also be denied if the current environment has not been published.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"
UNSUPPORTEDOPERATION_NOUSAGEPLANENV = "UnsupportedOperation.NoUsagePlanEnv"

func (*Client) DemoteServiceUsagePlanWithContext

func (c *Client) DemoteServiceUsagePlanWithContext(ctx context.Context, request *DemoteServiceUsagePlanRequest) (response *DemoteServiceUsagePlanResponse, err error)

DemoteServiceUsagePlan This API is used to degrade a usage plan of a service in an environment to the API level.

This operation will be denied if there are no APIs under the service.

This operation will also be denied if the current environment has not been published.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"
UNSUPPORTEDOPERATION_NOUSAGEPLANENV = "UnsupportedOperation.NoUsagePlanEnv"

func (*Client) DescribeAPIDocDetail

func (c *Client) DescribeAPIDocDetail(request *DescribeAPIDocDetailRequest) (response *DescribeAPIDocDetailResponse, err error)

DescribeAPIDocDetail This API is used to query the details of an API document.

error code that may be returned:

FAILEDOPERATION_CODINGERROR = "FailedOperation.CodingError"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDAPIDOC = "ResourceNotFound.InvalidApiDoc"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"

func (*Client) DescribeAPIDocDetailWithContext

func (c *Client) DescribeAPIDocDetailWithContext(ctx context.Context, request *DescribeAPIDocDetailRequest) (response *DescribeAPIDocDetailResponse, err error)

DescribeAPIDocDetail This API is used to query the details of an API document.

error code that may be returned:

FAILEDOPERATION_CODINGERROR = "FailedOperation.CodingError"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDAPIDOC = "ResourceNotFound.InvalidApiDoc"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"

func (*Client) DescribeAPIDocs

func (c *Client) DescribeAPIDocs(request *DescribeAPIDocsRequest) (response *DescribeAPIDocsResponse, err error)

DescribeAPIDocs This API is used to query the list of API documents.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"

func (*Client) DescribeAPIDocsWithContext

func (c *Client) DescribeAPIDocsWithContext(ctx context.Context, request *DescribeAPIDocsRequest) (response *DescribeAPIDocsResponse, err error)

DescribeAPIDocs This API is used to query the list of API documents.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"

func (*Client) DescribeAllPluginApis

func (c *Client) DescribeAllPluginApis(request *DescribeAllPluginApisRequest) (response *DescribeAllPluginApisResponse, err error)

DescribeAllPluginApis This API is used to list all APIs that can use this plugin, no matter whether the API is bound with the plugin.

error code that may be returned:

FAILEDOPERATION_FORMATERROR = "FailedOperation.FormatError"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
RESOURCENOTFOUND_INVALIDPLUGIN = "ResourceNotFound.InvalidPlugin"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"

func (*Client) DescribeAllPluginApisWithContext

func (c *Client) DescribeAllPluginApisWithContext(ctx context.Context, request *DescribeAllPluginApisRequest) (response *DescribeAllPluginApisResponse, err error)

DescribeAllPluginApis This API is used to list all APIs that can use this plugin, no matter whether the API is bound with the plugin.

error code that may be returned:

FAILEDOPERATION_FORMATERROR = "FailedOperation.FormatError"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
RESOURCENOTFOUND_INVALIDPLUGIN = "ResourceNotFound.InvalidPlugin"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"

func (*Client) DescribeApi

func (c *Client) DescribeApi(request *DescribeApiRequest) (response *DescribeApiResponse, err error)

DescribeApi This API (`DescribeApi`) is used to query the details of the APIs users manage via Tencent Cloud API Gateway.

error code that may be returned:

FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_EBERROR = "FailedOperation.EbError"
FAILEDOPERATION_SERVICENOTEXIST = "FailedOperation.ServiceNotExist"
INTERNALERROR = "InternalError"
INTERNALERROR_DBEXCEPTION = "InternalError.DbException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_INVALIDUPSTREAM = "InvalidParameterValue.InvalidUpstream"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"

func (*Client) DescribeApiApp

func (c *Client) DescribeApiApp(request *DescribeApiAppRequest) (response *DescribeApiAppResponse, err error)

DescribeApiApp This API is used to search for an application by application ID.

error code that may be returned:

INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"

func (*Client) DescribeApiAppBindApisStatus

func (c *Client) DescribeApiAppBindApisStatus(request *DescribeApiAppBindApisStatusRequest) (response *DescribeApiAppBindApisStatusResponse, err error)

DescribeApiAppBindApisStatus This API is used to query the list of APIs bound to an application.

error code that may be returned:

INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"

func (*Client) DescribeApiAppBindApisStatusWithContext

func (c *Client) DescribeApiAppBindApisStatusWithContext(ctx context.Context, request *DescribeApiAppBindApisStatusRequest) (response *DescribeApiAppBindApisStatusResponse, err error)

DescribeApiAppBindApisStatus This API is used to query the list of APIs bound to an application.

error code that may be returned:

INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"

func (*Client) DescribeApiAppWithContext

func (c *Client) DescribeApiAppWithContext(ctx context.Context, request *DescribeApiAppRequest) (response *DescribeApiAppResponse, err error)

DescribeApiApp This API is used to search for an application by application ID.

error code that may be returned:

INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"

func (*Client) DescribeApiAppsStatus

func (c *Client) DescribeApiAppsStatus(request *DescribeApiAppsStatusRequest) (response *DescribeApiAppsStatusResponse, err error)

DescribeApiAppsStatus This API is used to query the application list.

error code that may be returned:

INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_CAMEXCEPTION = "InternalError.CamException"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
INVALIDPARAMETERVALUE_INVALIDTAGVALUES = "InvalidParameterValue.InvalidTagValues"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_REQUESTPOSTERROR = "UnsupportedOperation.RequestPostError"

func (*Client) DescribeApiAppsStatusWithContext

func (c *Client) DescribeApiAppsStatusWithContext(ctx context.Context, request *DescribeApiAppsStatusRequest) (response *DescribeApiAppsStatusResponse, err error)

DescribeApiAppsStatus This API is used to query the application list.

error code that may be returned:

INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_CAMEXCEPTION = "InternalError.CamException"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
INVALIDPARAMETERVALUE_INVALIDTAGVALUES = "InvalidParameterValue.InvalidTagValues"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_REQUESTPOSTERROR = "UnsupportedOperation.RequestPostError"

func (*Client) DescribeApiBindApiAppsStatus

func (c *Client) DescribeApiBindApiAppsStatus(request *DescribeApiBindApiAppsStatusRequest) (response *DescribeApiBindApiAppsStatusResponse, err error)

DescribeApiBindApiAppsStatus This API is used to query the list of applications bound to an API.

error code that may be returned:

INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"

func (*Client) DescribeApiBindApiAppsStatusWithContext

func (c *Client) DescribeApiBindApiAppsStatusWithContext(ctx context.Context, request *DescribeApiBindApiAppsStatusRequest) (response *DescribeApiBindApiAppsStatusResponse, err error)

DescribeApiBindApiAppsStatus This API is used to query the list of applications bound to an API.

error code that may be returned:

INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"

func (*Client) DescribeApiEnvironmentStrategy

func (c *Client) DescribeApiEnvironmentStrategy(request *DescribeApiEnvironmentStrategyRequest) (response *DescribeApiEnvironmentStrategyResponse, err error)

DescribeApiEnvironmentStrategy This API is used to display the throttling policies bound to an API.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeApiEnvironmentStrategyWithContext

func (c *Client) DescribeApiEnvironmentStrategyWithContext(ctx context.Context, request *DescribeApiEnvironmentStrategyRequest) (response *DescribeApiEnvironmentStrategyResponse, err error)

DescribeApiEnvironmentStrategy This API is used to display the throttling policies bound to an API.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeApiForApiApp

func (c *Client) DescribeApiForApiApp(request *DescribeApiForApiAppRequest) (response *DescribeApiForApiAppResponse, err error)

DescribeApiForApiApp This API is used to query the details of an API deployed at API Gateway.

error code that may be returned:

FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_SERVICENOTEXIST = "FailedOperation.ServiceNotExist"
INTERNALERROR = "InternalError"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_RETURNABLEEXCEPTION = "InternalError.ReturnableException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) DescribeApiForApiAppWithContext

func (c *Client) DescribeApiForApiAppWithContext(ctx context.Context, request *DescribeApiForApiAppRequest) (response *DescribeApiForApiAppResponse, err error)

DescribeApiForApiApp This API is used to query the details of an API deployed at API Gateway.

error code that may be returned:

FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_SERVICENOTEXIST = "FailedOperation.ServiceNotExist"
INTERNALERROR = "InternalError"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_RETURNABLEEXCEPTION = "InternalError.ReturnableException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) DescribeApiKey

func (c *Client) DescribeApiKey(request *DescribeApiKeyRequest) (response *DescribeApiKeyResponse, err error)

DescribeApiKey This API is used to query the details of a key.

After creating an API key, you can query its details by using this API.

error code that may be returned:

FAILEDOPERATION_CAMEXCEPTION = "FailedOperation.CamException"
RESOURCENOTFOUND_INVALIDACCESSKEYID = "ResourceNotFound.InvalidAccessKeyId"

func (*Client) DescribeApiKeyWithContext

func (c *Client) DescribeApiKeyWithContext(ctx context.Context, request *DescribeApiKeyRequest) (response *DescribeApiKeyResponse, err error)

DescribeApiKey This API is used to query the details of a key.

After creating an API key, you can query its details by using this API.

error code that may be returned:

FAILEDOPERATION_CAMEXCEPTION = "FailedOperation.CamException"
RESOURCENOTFOUND_INVALIDACCESSKEYID = "ResourceNotFound.InvalidAccessKeyId"

func (*Client) DescribeApiKeysStatus

func (c *Client) DescribeApiKeysStatus(request *DescribeApiKeysStatusRequest) (response *DescribeApiKeysStatusResponse, err error)

DescribeApiKeysStatus This API is used to query the information of one or more API keys.

error code that may be returned:

FAILEDOPERATION_CAMEXCEPTION = "FailedOperation.CamException"
INTERNALERROR_CAMEXCEPTION = "InternalError.CamException"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"

func (*Client) DescribeApiKeysStatusWithContext

func (c *Client) DescribeApiKeysStatusWithContext(ctx context.Context, request *DescribeApiKeysStatusRequest) (response *DescribeApiKeysStatusResponse, err error)

DescribeApiKeysStatus This API is used to query the information of one or more API keys.

error code that may be returned:

FAILEDOPERATION_CAMEXCEPTION = "FailedOperation.CamException"
INTERNALERROR_CAMEXCEPTION = "InternalError.CamException"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"

func (*Client) DescribeApiUsagePlan

func (c *Client) DescribeApiUsagePlan(request *DescribeApiUsagePlanRequest) (response *DescribeApiUsagePlanResponse, err error)

DescribeApiUsagePlan This API is used to query the details of API usage plans in a service.

To make authentication and throttling for a service take effect, you need to bind a usage plan to it. This API is used to query all usage plans bound to a service and APIs under it.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeApiUsagePlanWithContext

func (c *Client) DescribeApiUsagePlanWithContext(ctx context.Context, request *DescribeApiUsagePlanRequest) (response *DescribeApiUsagePlanResponse, err error)

DescribeApiUsagePlan This API is used to query the details of API usage plans in a service.

To make authentication and throttling for a service take effect, you need to bind a usage plan to it. This API is used to query all usage plans bound to a service and APIs under it.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeApiWithContext

func (c *Client) DescribeApiWithContext(ctx context.Context, request *DescribeApiRequest) (response *DescribeApiResponse, err error)

DescribeApi This API (`DescribeApi`) is used to query the details of the APIs users manage via Tencent Cloud API Gateway.

error code that may be returned:

FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_EBERROR = "FailedOperation.EbError"
FAILEDOPERATION_SERVICENOTEXIST = "FailedOperation.ServiceNotExist"
INTERNALERROR = "InternalError"
INTERNALERROR_DBEXCEPTION = "InternalError.DbException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_INVALIDUPSTREAM = "InvalidParameterValue.InvalidUpstream"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"

func (*Client) DescribeApisStatus

func (c *Client) DescribeApisStatus(request *DescribeApisStatusRequest) (response *DescribeApisStatusResponse, err error)

DescribeApisStatus This API is used to view a certain API or the list of all APIs under a service and relevant information.

error code that may be returned:

FAILEDOPERATION_SERVICENOTEXIST = "FailedOperation.ServiceNotExist"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_REQUESTPOSTERROR = "UnsupportedOperation.RequestPostError"

func (*Client) DescribeApisStatusWithContext

func (c *Client) DescribeApisStatusWithContext(ctx context.Context, request *DescribeApisStatusRequest) (response *DescribeApisStatusResponse, err error)

DescribeApisStatus This API is used to view a certain API or the list of all APIs under a service and relevant information.

error code that may be returned:

FAILEDOPERATION_SERVICENOTEXIST = "FailedOperation.ServiceNotExist"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_REQUESTPOSTERROR = "UnsupportedOperation.RequestPostError"

func (*Client) DescribeIPStrategy

func (c *Client) DescribeIPStrategy(request *DescribeIPStrategyRequest) (response *DescribeIPStrategyResponse, err error)

DescribeIPStrategy This API is used to query IP policy details.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
RESOURCENOTFOUND_INVALIDIPSTRATEGY = "ResourceNotFound.InvalidIPStrategy"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeIPStrategyApisStatus

func (c *Client) DescribeIPStrategyApisStatus(request *DescribeIPStrategyApisStatusRequest) (response *DescribeIPStrategyApisStatusResponse, err error)

DescribeIPStrategyApisStatus This API is used to query the list of APIs to which an IP policy can be bound, i.e., the difference set between all APIs under the service and the APIs already bound to the policy.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDIPSTRATEGY = "ResourceNotFound.InvalidIPStrategy"

func (*Client) DescribeIPStrategyApisStatusWithContext

func (c *Client) DescribeIPStrategyApisStatusWithContext(ctx context.Context, request *DescribeIPStrategyApisStatusRequest) (response *DescribeIPStrategyApisStatusResponse, err error)

DescribeIPStrategyApisStatus This API is used to query the list of APIs to which an IP policy can be bound, i.e., the difference set between all APIs under the service and the APIs already bound to the policy.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDIPSTRATEGY = "ResourceNotFound.InvalidIPStrategy"

func (*Client) DescribeIPStrategyWithContext

func (c *Client) DescribeIPStrategyWithContext(ctx context.Context, request *DescribeIPStrategyRequest) (response *DescribeIPStrategyResponse, err error)

DescribeIPStrategy This API is used to query IP policy details.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
RESOURCENOTFOUND_INVALIDIPSTRATEGY = "ResourceNotFound.InvalidIPStrategy"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeIPStrategysStatus

func (c *Client) DescribeIPStrategysStatus(request *DescribeIPStrategysStatusRequest) (response *DescribeIPStrategysStatusResponse, err error)

DescribeIPStrategysStatus This API is used to query the list of service IP policies.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeIPStrategysStatusWithContext

func (c *Client) DescribeIPStrategysStatusWithContext(ctx context.Context, request *DescribeIPStrategysStatusRequest) (response *DescribeIPStrategysStatusResponse, err error)

DescribeIPStrategysStatus This API is used to query the list of service IP policies.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeLogSearch

func (c *Client) DescribeLogSearch(request *DescribeLogSearchRequest) (response *DescribeLogSearchResponse, err error)

DescribeLogSearch This API is used to search for logs.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_CLSSEARCHTIME = "UnsupportedOperation.ClsSearchTime"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"

func (*Client) DescribeLogSearchWithContext

func (c *Client) DescribeLogSearchWithContext(ctx context.Context, request *DescribeLogSearchRequest) (response *DescribeLogSearchResponse, err error)

DescribeLogSearch This API is used to search for logs.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_CLSSEARCHTIME = "UnsupportedOperation.ClsSearchTime"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"

func (*Client) DescribePlugin

func (c *Client) DescribePlugin(request *DescribePluginRequest) (response *DescribePluginResponse, err error)

DescribePlugin This API is used to query the plugin details by plugin ID.

error code that may be returned:

INTERNALERROR_CAMEXCEPTION = "InternalError.CamException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDPLUGIN = "ResourceNotFound.InvalidPlugin"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"

func (*Client) DescribePluginApis

func (c *Client) DescribePluginApis(request *DescribePluginApisRequest) (response *DescribePluginApisResponse, err error)

DescribePluginApis This API is used to query APIs bound with a specified plugin.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
RESOURCENOTFOUND_INVALIDPLUGIN = "ResourceNotFound.InvalidPlugin"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"

func (*Client) DescribePluginApisWithContext

func (c *Client) DescribePluginApisWithContext(ctx context.Context, request *DescribePluginApisRequest) (response *DescribePluginApisResponse, err error)

DescribePluginApis This API is used to query APIs bound with a specified plugin.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
RESOURCENOTFOUND_INVALIDPLUGIN = "ResourceNotFound.InvalidPlugin"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"

func (*Client) DescribePluginWithContext

func (c *Client) DescribePluginWithContext(ctx context.Context, request *DescribePluginRequest) (response *DescribePluginResponse, err error)

DescribePlugin This API is used to query the plugin details by plugin ID.

error code that may be returned:

INTERNALERROR_CAMEXCEPTION = "InternalError.CamException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDPLUGIN = "ResourceNotFound.InvalidPlugin"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"

func (*Client) DescribePluginsByApi

func (c *Client) DescribePluginsByApi(request *DescribePluginsByApiRequest) (response *DescribePluginsByApiResponse, err error)

DescribePluginsByApi This API is used to query all plug-ins bound with the API.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"

func (*Client) DescribePluginsByApiWithContext

func (c *Client) DescribePluginsByApiWithContext(ctx context.Context, request *DescribePluginsByApiRequest) (response *DescribePluginsByApiResponse, err error)

DescribePluginsByApi This API is used to query all plug-ins bound with the API.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"

func (*Client) DescribeService

func (c *Client) DescribeService(request *DescribeServiceRequest) (response *DescribeServiceResponse, err error)

DescribeService This API is used to query the details of a service, such as its description, domain name, protocol, creation time, and releases.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CAMEXCEPTION = "FailedOperation.CamException"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMEXCEPTION = "InternalError.CamException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_RETURNABLEEXCEPTION = "InternalError.ReturnableException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"
UNSUPPORTEDOPERATION_REQUESTPOSTERROR = "UnsupportedOperation.RequestPostError"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) DescribeServiceEnvironmentList

func (c *Client) DescribeServiceEnvironmentList(request *DescribeServiceEnvironmentListRequest) (response *DescribeServiceEnvironmentListResponse, err error)

DescribeServiceEnvironmentList This API is used to query the list of environments under a service. All environments and their statuses under the queried service will be returned.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeServiceEnvironmentListWithContext

func (c *Client) DescribeServiceEnvironmentListWithContext(ctx context.Context, request *DescribeServiceEnvironmentListRequest) (response *DescribeServiceEnvironmentListResponse, err error)

DescribeServiceEnvironmentList This API is used to query the list of environments under a service. All environments and their statuses under the queried service will be returned.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeServiceEnvironmentReleaseHistory

func (c *Client) DescribeServiceEnvironmentReleaseHistory(request *DescribeServiceEnvironmentReleaseHistoryRequest) (response *DescribeServiceEnvironmentReleaseHistoryResponse, err error)

DescribeServiceEnvironmentReleaseHistory This API is used to query the release history in a service environment.

A service can only be used when it is published to an environment after creation. This API is used to query the release history in an environment under a service.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeServiceEnvironmentReleaseHistoryWithContext

func (c *Client) DescribeServiceEnvironmentReleaseHistoryWithContext(ctx context.Context, request *DescribeServiceEnvironmentReleaseHistoryRequest) (response *DescribeServiceEnvironmentReleaseHistoryResponse, err error)

DescribeServiceEnvironmentReleaseHistory This API is used to query the release history in a service environment.

A service can only be used when it is published to an environment after creation. This API is used to query the release history in an environment under a service.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeServiceEnvironmentStrategy

func (c *Client) DescribeServiceEnvironmentStrategy(request *DescribeServiceEnvironmentStrategyRequest) (response *DescribeServiceEnvironmentStrategyResponse, err error)

DescribeServiceEnvironmentStrategy This API is used to display a service throttling policy.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeServiceEnvironmentStrategyWithContext

func (c *Client) DescribeServiceEnvironmentStrategyWithContext(ctx context.Context, request *DescribeServiceEnvironmentStrategyRequest) (response *DescribeServiceEnvironmentStrategyResponse, err error)

DescribeServiceEnvironmentStrategy This API is used to display a service throttling policy.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeServiceForApiApp

func (c *Client) DescribeServiceForApiApp(request *DescribeServiceForApiAppRequest) (response *DescribeServiceForApiAppResponse, err error)

DescribeServiceForApiApp This API is used to query the details of a service, such as its description, domain name, and protocol.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeServiceForApiAppWithContext

func (c *Client) DescribeServiceForApiAppWithContext(ctx context.Context, request *DescribeServiceForApiAppRequest) (response *DescribeServiceForApiAppResponse, err error)

DescribeServiceForApiApp This API is used to query the details of a service, such as its description, domain name, and protocol.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeServiceReleaseVersion

func (c *Client) DescribeServiceReleaseVersion(request *DescribeServiceReleaseVersionRequest) (response *DescribeServiceReleaseVersionResponse, err error)

DescribeServiceReleaseVersion This API is used to query the list of all published versions under a service.

A service is generally published on several versions. This API can be used to query the published versions.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeServiceReleaseVersionWithContext

func (c *Client) DescribeServiceReleaseVersionWithContext(ctx context.Context, request *DescribeServiceReleaseVersionRequest) (response *DescribeServiceReleaseVersionResponse, err error)

DescribeServiceReleaseVersion This API is used to query the list of all published versions under a service.

A service is generally published on several versions. This API can be used to query the published versions.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeServiceSubDomainMappings

func (c *Client) DescribeServiceSubDomainMappings(request *DescribeServiceSubDomainMappingsRequest) (response *DescribeServiceSubDomainMappingsResponse, err error)

DescribeServiceSubDomainMappings This API is used to query the path mappings of a custom domain name.

In API Gateway, you can bind a custom domain name to a service and map its paths. You can customize different path mappings to up to 3 environments under the service. This API is used to query the list of path mappings of a custom domain name bound to a service.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICENOTEXIST = "FailedOperation.ServiceNotExist"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeServiceSubDomainMappingsWithContext

func (c *Client) DescribeServiceSubDomainMappingsWithContext(ctx context.Context, request *DescribeServiceSubDomainMappingsRequest) (response *DescribeServiceSubDomainMappingsResponse, err error)

DescribeServiceSubDomainMappings This API is used to query the path mappings of a custom domain name.

In API Gateway, you can bind a custom domain name to a service and map its paths. You can customize different path mappings to up to 3 environments under the service. This API is used to query the list of path mappings of a custom domain name bound to a service.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICENOTEXIST = "FailedOperation.ServiceNotExist"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeServiceSubDomains

func (c *Client) DescribeServiceSubDomains(request *DescribeServiceSubDomainsRequest) (response *DescribeServiceSubDomainsResponse, err error)

DescribeServiceSubDomains This API is used to query the list of custom domain names.

In API Gateway, you can bind custom domain names to a service for service call. This API is used to query the list of custom domain names bound to a service.

error code that may be returned:

FAILEDOPERATION_DESCRIBESERVICESUBDOMAINSERROR = "FailedOperation.DescribeServiceSubDomainsError"
FAILEDOPERATION_SERVICENOTEXIST = "FailedOperation.ServiceNotExist"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeServiceSubDomainsWithContext

func (c *Client) DescribeServiceSubDomainsWithContext(ctx context.Context, request *DescribeServiceSubDomainsRequest) (response *DescribeServiceSubDomainsResponse, err error)

DescribeServiceSubDomains This API is used to query the list of custom domain names.

In API Gateway, you can bind custom domain names to a service for service call. This API is used to query the list of custom domain names bound to a service.

error code that may be returned:

FAILEDOPERATION_DESCRIBESERVICESUBDOMAINSERROR = "FailedOperation.DescribeServiceSubDomainsError"
FAILEDOPERATION_SERVICENOTEXIST = "FailedOperation.ServiceNotExist"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeServiceUsagePlan

func (c *Client) DescribeServiceUsagePlan(request *DescribeServiceUsagePlanRequest) (response *DescribeServiceUsagePlanResponse, err error)

DescribeServiceUsagePlan This API is used to query the details of usage plans in a service.

To make authentication and throttling for a service take effect, you need to bind a usage plan to it. This API is used to query all usage plans bound to a service.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeServiceUsagePlanWithContext

func (c *Client) DescribeServiceUsagePlanWithContext(ctx context.Context, request *DescribeServiceUsagePlanRequest) (response *DescribeServiceUsagePlanResponse, err error)

DescribeServiceUsagePlan This API is used to query the details of usage plans in a service.

To make authentication and throttling for a service take effect, you need to bind a usage plan to it. This API is used to query all usage plans bound to a service.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) DescribeServiceWithContext

func (c *Client) DescribeServiceWithContext(ctx context.Context, request *DescribeServiceRequest) (response *DescribeServiceResponse, err error)

DescribeService This API is used to query the details of a service, such as its description, domain name, protocol, creation time, and releases.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CAMEXCEPTION = "FailedOperation.CamException"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMEXCEPTION = "InternalError.CamException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_RETURNABLEEXCEPTION = "InternalError.ReturnableException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"
UNSUPPORTEDOPERATION_REQUESTPOSTERROR = "UnsupportedOperation.RequestPostError"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) DescribeServicesStatus

func (c *Client) DescribeServicesStatus(request *DescribeServicesStatusRequest) (response *DescribeServicesStatusResponse, err error)

DescribeServicesStatus This API is used to query the list of one or more services and return relevant domain name, time, and other information.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CAMEXCEPTION = "FailedOperation.CamException"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMEXCEPTION = "InternalError.CamException"
INTERNALERROR_DBEXCEPTION = "InternalError.DbException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_INVALIDTAGVALUES = "InvalidParameterValue.InvalidTagValues"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_REQUESTPOSTERROR = "UnsupportedOperation.RequestPostError"

func (*Client) DescribeServicesStatusWithContext

func (c *Client) DescribeServicesStatusWithContext(ctx context.Context, request *DescribeServicesStatusRequest) (response *DescribeServicesStatusResponse, err error)

DescribeServicesStatus This API is used to query the list of one or more services and return relevant domain name, time, and other information.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CAMEXCEPTION = "FailedOperation.CamException"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMEXCEPTION = "InternalError.CamException"
INTERNALERROR_DBEXCEPTION = "InternalError.DbException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_INVALIDTAGVALUES = "InvalidParameterValue.InvalidTagValues"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_REQUESTPOSTERROR = "UnsupportedOperation.RequestPostError"

func (*Client) DescribeUpstreamBindApis

func (c *Client) DescribeUpstreamBindApis(request *DescribeUpstreamBindApisRequest) (response *DescribeUpstreamBindApisResponse, err error)

DescribeUpstreamBindApis This API is used to query APIs bound with an upstream.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeUpstreamBindApisWithContext

func (c *Client) DescribeUpstreamBindApisWithContext(ctx context.Context, request *DescribeUpstreamBindApisRequest) (response *DescribeUpstreamBindApisResponse, err error)

DescribeUpstreamBindApis This API is used to query APIs bound with an upstream.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeUpstreams

func (c *Client) DescribeUpstreams(request *DescribeUpstreamsRequest) (response *DescribeUpstreamsResponse, err error)

DescribeUpstreams This API is used to query details of upstreams under the current account.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CAMEXCEPTION = "FailedOperation.CamException"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMEXCEPTION = "InternalError.CamException"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_INVALIDACCESSKEYID = "ResourceNotFound.InvalidAccessKeyId"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_REQUESTPOSTERROR = "UnsupportedOperation.RequestPostError"

func (*Client) DescribeUpstreamsWithContext

func (c *Client) DescribeUpstreamsWithContext(ctx context.Context, request *DescribeUpstreamsRequest) (response *DescribeUpstreamsResponse, err error)

DescribeUpstreams This API is used to query details of upstreams under the current account.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CAMEXCEPTION = "FailedOperation.CamException"
INTERNALERROR = "InternalError"
INTERNALERROR_CAMEXCEPTION = "InternalError.CamException"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_INVALIDACCESSKEYID = "ResourceNotFound.InvalidAccessKeyId"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_REQUESTPOSTERROR = "UnsupportedOperation.RequestPostError"

func (*Client) DescribeUsagePlan

func (c *Client) DescribeUsagePlan(request *DescribeUsagePlanRequest) (response *DescribeUsagePlanResponse, err error)

DescribeUsagePlan This API is used to query the details of a usage plan, such as its name, QPS, creation time, and bound environment.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"

func (*Client) DescribeUsagePlanEnvironments

func (c *Client) DescribeUsagePlanEnvironments(request *DescribeUsagePlanEnvironmentsRequest) (response *DescribeUsagePlanEnvironmentsResponse, err error)

DescribeUsagePlanEnvironments This API is used to query the list of environments bound to a usage plan.

After binding a usage plan to environments, you can use this API to query all service environments bound to the usage plan.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"

func (*Client) DescribeUsagePlanEnvironmentsWithContext

func (c *Client) DescribeUsagePlanEnvironmentsWithContext(ctx context.Context, request *DescribeUsagePlanEnvironmentsRequest) (response *DescribeUsagePlanEnvironmentsResponse, err error)

DescribeUsagePlanEnvironments This API is used to query the list of environments bound to a usage plan.

After binding a usage plan to environments, you can use this API to query all service environments bound to the usage plan.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"

func (*Client) DescribeUsagePlanSecretIds

func (c *Client) DescribeUsagePlanSecretIds(request *DescribeUsagePlanSecretIdsRequest) (response *DescribeUsagePlanSecretIdsResponse, err error)

DescribeUsagePlanSecretIds This API is used to query the list of keys bound to a usage plan.

In API Gateway, a usage plan can be bound to multiple key pairs. You can use this API to query the list of keys bound to it.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"

func (*Client) DescribeUsagePlanSecretIdsWithContext

func (c *Client) DescribeUsagePlanSecretIdsWithContext(ctx context.Context, request *DescribeUsagePlanSecretIdsRequest) (response *DescribeUsagePlanSecretIdsResponse, err error)

DescribeUsagePlanSecretIds This API is used to query the list of keys bound to a usage plan.

In API Gateway, a usage plan can be bound to multiple key pairs. You can use this API to query the list of keys bound to it.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"

func (*Client) DescribeUsagePlanWithContext

func (c *Client) DescribeUsagePlanWithContext(ctx context.Context, request *DescribeUsagePlanRequest) (response *DescribeUsagePlanResponse, err error)

DescribeUsagePlan This API is used to query the details of a usage plan, such as its name, QPS, creation time, and bound environment.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"

func (*Client) DescribeUsagePlansStatus

func (c *Client) DescribeUsagePlansStatus(request *DescribeUsagePlansStatusRequest) (response *DescribeUsagePlansStatusResponse, err error)

DescribeUsagePlansStatus This API is used to query the list of usage plans.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"

func (*Client) DescribeUsagePlansStatusWithContext

func (c *Client) DescribeUsagePlansStatusWithContext(ctx context.Context, request *DescribeUsagePlansStatusRequest) (response *DescribeUsagePlansStatusResponse, err error)

DescribeUsagePlansStatus This API is used to query the list of usage plans.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameterValue.InvalidFilterNotSupportedName"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"

func (*Client) DetachPlugin

func (c *Client) DetachPlugin(request *DetachPluginRequest) (response *DetachPluginResponse, err error)

DetachPlugin This API is used to unbind an API from the plugin.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDAPIIDS = "InvalidParameterValue.InvalidApiIds"
INVALIDPARAMETERVALUE_INVALIDENVSTATUS = "InvalidParameterValue.InvalidEnvStatus"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDPLUGIN = "ResourceNotFound.InvalidPlugin"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) DetachPluginWithContext

func (c *Client) DetachPluginWithContext(ctx context.Context, request *DetachPluginRequest) (response *DetachPluginResponse, err error)

DetachPlugin This API is used to unbind an API from the plugin.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDAPIIDS = "InvalidParameterValue.InvalidApiIds"
INVALIDPARAMETERVALUE_INVALIDENVSTATUS = "InvalidParameterValue.InvalidEnvStatus"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDPLUGIN = "ResourceNotFound.InvalidPlugin"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) DisableApiKey

func (c *Client) DisableApiKey(request *DisableApiKeyRequest) (response *DisableApiKeyResponse, err error)

DisableApiKey This API is used to disable an API key.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
RESOURCENOTFOUND_INVALIDACCESSKEYID = "ResourceNotFound.InvalidAccessKeyId"
UNSUPPORTEDOPERATION_UINNOTINWHITELIST = "UnsupportedOperation.UinNotInWhiteList"
UNSUPPORTEDOPERATION_UNSUPPORTEDUPDATEAPIKEY = "UnsupportedOperation.UnsupportedUpdateApiKey"

func (*Client) DisableApiKeyWithContext

func (c *Client) DisableApiKeyWithContext(ctx context.Context, request *DisableApiKeyRequest) (response *DisableApiKeyResponse, err error)

DisableApiKey This API is used to disable an API key.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
RESOURCENOTFOUND_INVALIDACCESSKEYID = "ResourceNotFound.InvalidAccessKeyId"
UNSUPPORTEDOPERATION_UINNOTINWHITELIST = "UnsupportedOperation.UinNotInWhiteList"
UNSUPPORTEDOPERATION_UNSUPPORTEDUPDATEAPIKEY = "UnsupportedOperation.UnsupportedUpdateApiKey"

func (*Client) EnableApiKey

func (c *Client) EnableApiKey(request *EnableApiKeyRequest) (response *EnableApiKeyResponse, err error)

EnableApiKey This API is used to enable a disabled API key.

error code that may be returned:

RESOURCENOTFOUND_INVALIDACCESSKEYID = "ResourceNotFound.InvalidAccessKeyId"
UNSUPPORTEDOPERATION_UINNOTINWHITELIST = "UnsupportedOperation.UinNotInWhiteList"
UNSUPPORTEDOPERATION_UNSUPPORTEDUPDATEAPIKEY = "UnsupportedOperation.UnsupportedUpdateApiKey"

func (*Client) EnableApiKeyWithContext

func (c *Client) EnableApiKeyWithContext(ctx context.Context, request *EnableApiKeyRequest) (response *EnableApiKeyResponse, err error)

EnableApiKey This API is used to enable a disabled API key.

error code that may be returned:

RESOURCENOTFOUND_INVALIDACCESSKEYID = "ResourceNotFound.InvalidAccessKeyId"
UNSUPPORTEDOPERATION_UINNOTINWHITELIST = "UnsupportedOperation.UinNotInWhiteList"
UNSUPPORTEDOPERATION_UNSUPPORTEDUPDATEAPIKEY = "UnsupportedOperation.UnsupportedUpdateApiKey"

func (*Client) ImportOpenApi

func (c *Client) ImportOpenApi(request *ImportOpenApiRequest) (response *ImportOpenApiResponse, err error)

ImportOpenApi This API is used to import an OpenAPI to API gateway.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
INTERNALERROR = "InternalError"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDSERVICECONFIG = "InvalidParameterValue.InvalidServiceConfig"
INVALIDPARAMETERVALUE_UNSUPPORTEDPARAMETER = "InvalidParameterValue.UnsupportedParameter"
LIMITEXCEEDED_APICOUNTLIMITEXCEEDED = "LimitExceeded.ApiCountLimitExceeded"
MISSINGPARAMETER_BACKENDSPECIFICPARAM = "MissingParameter.BackendSpecificParam"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) ImportOpenApiWithContext

func (c *Client) ImportOpenApiWithContext(ctx context.Context, request *ImportOpenApiRequest) (response *ImportOpenApiResponse, err error)

ImportOpenApi This API is used to import an OpenAPI to API gateway.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
INTERNALERROR = "InternalError"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDSERVICECONFIG = "InvalidParameterValue.InvalidServiceConfig"
INVALIDPARAMETERVALUE_UNSUPPORTEDPARAMETER = "InvalidParameterValue.UnsupportedParameter"
LIMITEXCEEDED_APICOUNTLIMITEXCEEDED = "LimitExceeded.ApiCountLimitExceeded"
MISSINGPARAMETER_BACKENDSPECIFICPARAM = "MissingParameter.BackendSpecificParam"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) ModifyAPIDoc

func (c *Client) ModifyAPIDoc(request *ModifyAPIDocRequest) (response *ModifyAPIDocResponse, err error)

ModifyAPIDoc This API is used to modify an API document.

error code that may be returned:

FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_CODINGERROR = "FailedOperation.CodingError"
FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDAPIDOC = "ResourceNotFound.InvalidApiDoc"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) ModifyAPIDocWithContext

func (c *Client) ModifyAPIDocWithContext(ctx context.Context, request *ModifyAPIDocRequest) (response *ModifyAPIDocResponse, err error)

ModifyAPIDoc This API is used to modify an API document.

error code that may be returned:

FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_CODINGERROR = "FailedOperation.CodingError"
FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDAPIDOC = "ResourceNotFound.InvalidApiDoc"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) ModifyApi

func (c *Client) ModifyApi(request *ModifyApiRequest) (response *ModifyApiResponse, err error)

ModifyApi This API is used to modify an API. You can call this API to edit/modify a configured API. The modified API takes effect only after its service is published to the corresponding environment again.

error code that may be returned:

FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_APIINOPERATION = "FailedOperation.ApiInOperation"
FAILEDOPERATION_BACKENDDOMAINERROR = "FailedOperation.BackendDomainError"
FAILEDOPERATION_DOMAINNEEDBEIAN = "FailedOperation.DomainNeedBeian"
FAILEDOPERATION_EIAMERROR = "FailedOperation.EIAMError"
FAILEDOPERATION_EBERROR = "FailedOperation.EbError"
FAILEDOPERATION_GETROLEERROR = "FailedOperation.GetRoleError"
FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_CLBEXCEPTION = "InternalError.ClbException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_SCFEXCEPTION = "InternalError.ScfException"
INTERNALERROR_TSFEXCEPTION = "InternalError.TsfException"
INTERNALERROR_VPCEXCEPTION = "InternalError.VpcException"
INVALIDPARAMETER_BASICSERVICENOTALLOWATTACHPLUGIN = "InvalidParameter.BasicServiceNotAllowAttachPlugin"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ILLEGALPROXYIP = "InvalidParameterValue.IllegalProxyIp"
INVALIDPARAMETERVALUE_INVALIDAPIBUSINESSTYPE = "InvalidParameterValue.InvalidApiBusinessType"
INVALIDPARAMETERVALUE_INVALIDBACKENDPATH = "InvalidParameterValue.InvalidBackendPath"
INVALIDPARAMETERVALUE_INVALIDCLB = "InvalidParameterValue.InvalidClb"
INVALIDPARAMETERVALUE_INVALIDCONSTANTPARAMETERS = "InvalidParameterValue.InvalidConstantParameters"
INVALIDPARAMETERVALUE_INVALIDIPADDRESS = "InvalidParameterValue.InvalidIPAddress"
INVALIDPARAMETERVALUE_INVALIDMETHOD = "InvalidParameterValue.InvalidMethod"
INVALIDPARAMETERVALUE_INVALIDPORT = "InvalidParameterValue.InvalidPort"
INVALIDPARAMETERVALUE_INVALIDPUBLICKEY = "InvalidParameterValue.InvalidPublicKey"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_INVALIDREQUESTPARAMETERS = "InvalidParameterValue.InvalidRequestParameters"
INVALIDPARAMETERVALUE_INVALIDSCFCONFIG = "InvalidParameterValue.InvalidScfConfig"
INVALIDPARAMETERVALUE_INVALIDSERVICECONFIG = "InvalidParameterValue.InvalidServiceConfig"
INVALIDPARAMETERVALUE_INVALIDSERVICEPARAM = "InvalidParameterValue.InvalidServiceParam"
INVALIDPARAMETERVALUE_INVALIDSERVICETYPE = "InvalidParameterValue.InvalidServiceType"
INVALIDPARAMETERVALUE_INVALIDUPSTREAM = "InvalidParameterValue.InvalidUpstream"
INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidUrl"
INVALIDPARAMETERVALUE_INVALIDVPCCONFIG = "InvalidParameterValue.InvalidVpcConfig"
INVALIDPARAMETERVALUE_INVALIDWSMETHOD = "InvalidParameterValue.InvalidWSMethod"
INVALIDPARAMETERVALUE_LENGTHEXCEEDED = "InvalidParameterValue.LengthExceeded"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NOTINOPTIONS = "InvalidParameterValue.NotInOptions"
INVALIDPARAMETERVALUE_PARAMETERNOTMATCH = "InvalidParameterValue.ParameterNotMatch"
INVALIDPARAMETERVALUE_RANGEEXCEEDED = "InvalidParameterValue.RangeExceeded"
LIMITEXCEEDED_APICOUNTLIMITEXCEEDED = "LimitExceeded.ApiCountLimitExceeded"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDOAUTHAPI = "ResourceNotFound.InvalidOauthApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_INVALIDENDPOINTTYPE = "UnsupportedOperation.InvalidEndpointType"
UNSUPPORTEDOPERATION_MODIFYEIAMAUTHAPI = "UnsupportedOperation.ModifyEIAMAuthApi"
UNSUPPORTEDOPERATION_MODIFYPROTOCOL = "UnsupportedOperation.ModifyProtocol"
UNSUPPORTEDOPERATION_RESOURCEASSOCIATED = "UnsupportedOperation.ResourceAssociated"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) ModifyApiApp

func (c *Client) ModifyApiApp(request *ModifyApiAppRequest) (response *ModifyApiAppResponse, err error)

ModifyApiApp This API is used to modify a created API.

error code that may be returned:

FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_APIINOPERATION = "FailedOperation.ApiInOperation"
FAILEDOPERATION_GETROLEERROR = "FailedOperation.GetRoleError"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_SCFEXCEPTION = "InternalError.ScfException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDAPIAPP = "ResourceNotFound.InvalidApiApp"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_INVALIDSERVICETRADE = "UnsupportedOperation.InvalidServiceTrade"
UNSUPPORTEDOPERATION_RESOURCEASSOCIATED = "UnsupportedOperation.ResourceAssociated"
UNSUPPORTEDOPERATION_UNSUPPORTEDDELETEAPI = "UnsupportedOperation.UnsupportedDeleteApi"

func (*Client) ModifyApiAppWithContext

func (c *Client) ModifyApiAppWithContext(ctx context.Context, request *ModifyApiAppRequest) (response *ModifyApiAppResponse, err error)

ModifyApiApp This API is used to modify a created API.

error code that may be returned:

FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_APIINOPERATION = "FailedOperation.ApiInOperation"
FAILEDOPERATION_GETROLEERROR = "FailedOperation.GetRoleError"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_SCFEXCEPTION = "InternalError.ScfException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDAPIAPP = "ResourceNotFound.InvalidApiApp"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_INVALIDSERVICETRADE = "UnsupportedOperation.InvalidServiceTrade"
UNSUPPORTEDOPERATION_RESOURCEASSOCIATED = "UnsupportedOperation.ResourceAssociated"
UNSUPPORTEDOPERATION_UNSUPPORTEDDELETEAPI = "UnsupportedOperation.UnsupportedDeleteApi"

func (*Client) ModifyApiEnvironmentStrategy

func (c *Client) ModifyApiEnvironmentStrategy(request *ModifyApiEnvironmentStrategyRequest) (response *ModifyApiEnvironmentStrategyResponse, err error)

ModifyApiEnvironmentStrategy This API is used to modify an API throttling policy.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREQUESTPARAMETERS = "InvalidParameterValue.InvalidRequestParameters"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_RANGEEXCEEDED = "InvalidParameterValue.RangeExceeded"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"

func (*Client) ModifyApiEnvironmentStrategyWithContext

func (c *Client) ModifyApiEnvironmentStrategyWithContext(ctx context.Context, request *ModifyApiEnvironmentStrategyRequest) (response *ModifyApiEnvironmentStrategyResponse, err error)

ModifyApiEnvironmentStrategy This API is used to modify an API throttling policy.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREQUESTPARAMETERS = "InvalidParameterValue.InvalidRequestParameters"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_RANGEEXCEEDED = "InvalidParameterValue.RangeExceeded"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"

func (*Client) ModifyApiIncrement

func (c *Client) ModifyApiIncrement(request *ModifyApiIncrementRequest) (response *ModifyApiIncrementResponse, err error)

ModifyApiIncrement This API is used to incrementally update an API and mainly called by programs (different from `ModifyApi`, which requires that full API parameters be passed in and is suitable for use in the console).

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDAPIBUSINESSTYPE = "InvalidParameterValue.InvalidApiBusinessType"
INVALIDPARAMETERVALUE_NOTHINGMODIFYFOROAUTH = "InvalidParameterValue.NothingModifyForOauth"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) ModifyApiIncrementWithContext

func (c *Client) ModifyApiIncrementWithContext(ctx context.Context, request *ModifyApiIncrementRequest) (response *ModifyApiIncrementResponse, err error)

ModifyApiIncrement This API is used to incrementally update an API and mainly called by programs (different from `ModifyApi`, which requires that full API parameters be passed in and is suitable for use in the console).

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDAPIBUSINESSTYPE = "InvalidParameterValue.InvalidApiBusinessType"
INVALIDPARAMETERVALUE_NOTHINGMODIFYFOROAUTH = "InvalidParameterValue.NothingModifyForOauth"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) ModifyApiWithContext

func (c *Client) ModifyApiWithContext(ctx context.Context, request *ModifyApiRequest) (response *ModifyApiResponse, err error)

ModifyApi This API is used to modify an API. You can call this API to edit/modify a configured API. The modified API takes effect only after its service is published to the corresponding environment again.

error code that may be returned:

FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_APIINOPERATION = "FailedOperation.ApiInOperation"
FAILEDOPERATION_BACKENDDOMAINERROR = "FailedOperation.BackendDomainError"
FAILEDOPERATION_DOMAINNEEDBEIAN = "FailedOperation.DomainNeedBeian"
FAILEDOPERATION_EIAMERROR = "FailedOperation.EIAMError"
FAILEDOPERATION_EBERROR = "FailedOperation.EbError"
FAILEDOPERATION_GETROLEERROR = "FailedOperation.GetRoleError"
FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_CLBEXCEPTION = "InternalError.ClbException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_SCFEXCEPTION = "InternalError.ScfException"
INTERNALERROR_TSFEXCEPTION = "InternalError.TsfException"
INTERNALERROR_VPCEXCEPTION = "InternalError.VpcException"
INVALIDPARAMETER_BASICSERVICENOTALLOWATTACHPLUGIN = "InvalidParameter.BasicServiceNotAllowAttachPlugin"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ILLEGALPROXYIP = "InvalidParameterValue.IllegalProxyIp"
INVALIDPARAMETERVALUE_INVALIDAPIBUSINESSTYPE = "InvalidParameterValue.InvalidApiBusinessType"
INVALIDPARAMETERVALUE_INVALIDBACKENDPATH = "InvalidParameterValue.InvalidBackendPath"
INVALIDPARAMETERVALUE_INVALIDCLB = "InvalidParameterValue.InvalidClb"
INVALIDPARAMETERVALUE_INVALIDCONSTANTPARAMETERS = "InvalidParameterValue.InvalidConstantParameters"
INVALIDPARAMETERVALUE_INVALIDIPADDRESS = "InvalidParameterValue.InvalidIPAddress"
INVALIDPARAMETERVALUE_INVALIDMETHOD = "InvalidParameterValue.InvalidMethod"
INVALIDPARAMETERVALUE_INVALIDPORT = "InvalidParameterValue.InvalidPort"
INVALIDPARAMETERVALUE_INVALIDPUBLICKEY = "InvalidParameterValue.InvalidPublicKey"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_INVALIDREQUESTPARAMETERS = "InvalidParameterValue.InvalidRequestParameters"
INVALIDPARAMETERVALUE_INVALIDSCFCONFIG = "InvalidParameterValue.InvalidScfConfig"
INVALIDPARAMETERVALUE_INVALIDSERVICECONFIG = "InvalidParameterValue.InvalidServiceConfig"
INVALIDPARAMETERVALUE_INVALIDSERVICEPARAM = "InvalidParameterValue.InvalidServiceParam"
INVALIDPARAMETERVALUE_INVALIDSERVICETYPE = "InvalidParameterValue.InvalidServiceType"
INVALIDPARAMETERVALUE_INVALIDUPSTREAM = "InvalidParameterValue.InvalidUpstream"
INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidUrl"
INVALIDPARAMETERVALUE_INVALIDVPCCONFIG = "InvalidParameterValue.InvalidVpcConfig"
INVALIDPARAMETERVALUE_INVALIDWSMETHOD = "InvalidParameterValue.InvalidWSMethod"
INVALIDPARAMETERVALUE_LENGTHEXCEEDED = "InvalidParameterValue.LengthExceeded"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NOTINOPTIONS = "InvalidParameterValue.NotInOptions"
INVALIDPARAMETERVALUE_PARAMETERNOTMATCH = "InvalidParameterValue.ParameterNotMatch"
INVALIDPARAMETERVALUE_RANGEEXCEEDED = "InvalidParameterValue.RangeExceeded"
LIMITEXCEEDED_APICOUNTLIMITEXCEEDED = "LimitExceeded.ApiCountLimitExceeded"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDOAUTHAPI = "ResourceNotFound.InvalidOauthApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_INVALIDENDPOINTTYPE = "UnsupportedOperation.InvalidEndpointType"
UNSUPPORTEDOPERATION_MODIFYEIAMAUTHAPI = "UnsupportedOperation.ModifyEIAMAuthApi"
UNSUPPORTEDOPERATION_MODIFYPROTOCOL = "UnsupportedOperation.ModifyProtocol"
UNSUPPORTEDOPERATION_RESOURCEASSOCIATED = "UnsupportedOperation.ResourceAssociated"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) ModifyIPStrategy

func (c *Client) ModifyIPStrategy(request *ModifyIPStrategyRequest) (response *ModifyIPStrategyResponse, err error)

ModifyIPStrategy This API is used to modify a service IP policy.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDIPSTRATEGY = "ResourceNotFound.InvalidIPStrategy"

func (*Client) ModifyIPStrategyWithContext

func (c *Client) ModifyIPStrategyWithContext(ctx context.Context, request *ModifyIPStrategyRequest) (response *ModifyIPStrategyResponse, err error)

ModifyIPStrategy This API is used to modify a service IP policy.

error code that may be returned:

INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDIPSTRATEGY = "ResourceNotFound.InvalidIPStrategy"

func (*Client) ModifyPlugin

func (c *Client) ModifyPlugin(request *ModifyPluginRequest) (response *ModifyPluginResponse, err error)

ModifyPlugin This API is used to modify a plugin.

error code that may be returned:

FAILEDOPERATION_FORMATERROR = "FailedOperation.FormatError"
FAILEDOPERATION_GETROLEERROR = "FailedOperation.GetRoleError"
FAILEDOPERATION_INVALIDINPUTJSON = "FailedOperation.InvalidInputJSON"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_RETURNABLEEXCEPTION = "InternalError.ReturnableException"
INTERNALERROR_TSFEXCEPTION = "InternalError.TsfException"
INTERNALERROR_VPCEXCEPTION = "InternalError.VpcException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_DUPLICATEPLUGINCONFIG = "InvalidParameterValue.DuplicatePluginConfig"
INVALIDPARAMETERVALUE_INVALIDAPIREQUESTCONFIG = "InvalidParameterValue.InvalidApiRequestConfig"
INVALIDPARAMETERVALUE_INVALIDBACKENDPATH = "InvalidParameterValue.InvalidBackendPath"
INVALIDPARAMETERVALUE_INVALIDCLB = "InvalidParameterValue.InvalidClb"
INVALIDPARAMETERVALUE_INVALIDCONDITION = "InvalidParameterValue.InvalidCondition"
INVALIDPARAMETERVALUE_INVALIDIPADDRESS = "InvalidParameterValue.InvalidIPAddress"
INVALIDPARAMETERVALUE_INVALIDPLUGINCONFIG = "InvalidParameterValue.InvalidPluginConfig"
INVALIDPARAMETERVALUE_INVALIDPORT = "InvalidParameterValue.InvalidPort"
INVALIDPARAMETERVALUE_INVALIDREQUESTPARAMETERS = "InvalidParameterValue.InvalidRequestParameters"
INVALIDPARAMETERVALUE_INVALIDSCFCONFIG = "InvalidParameterValue.InvalidScfConfig"
INVALIDPARAMETERVALUE_INVALIDSERVICECONFIG = "InvalidParameterValue.InvalidServiceConfig"
INVALIDPARAMETERVALUE_INVALIDSERVICEPARAM = "InvalidParameterValue.InvalidServiceParam"
INVALIDPARAMETERVALUE_INVALIDSERVICETYPE = "InvalidParameterValue.InvalidServiceType"
INVALIDPARAMETERVALUE_INVALIDTSFCONFIG = "InvalidParameterValue.InvalidTsfConfig"
INVALIDPARAMETERVALUE_INVALIDUPSTREAM = "InvalidParameterValue.InvalidUpstream"
INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidUrl"
INVALIDPARAMETERVALUE_INVALIDVPCCONFIG = "InvalidParameterValue.InvalidVpcConfig"
INVALIDPARAMETERVALUE_LENGTHEXCEEDED = "InvalidParameterValue.LengthExceeded"
INVALIDPARAMETERVALUE_NOTINOPTIONS = "InvalidParameterValue.NotInOptions"
INVALIDPARAMETERVALUE_RANGEEXCEEDED = "InvalidParameterValue.RangeExceeded"
MISSINGPARAMETER_BACKENDSPECIFICPARAM = "MissingParameter.BackendSpecificParam"
MISSINGPARAMETER_PLUGINCONFIG = "MissingParameter.PluginConfig"
RESOURCENOTFOUND_INVALIDPLUGIN = "ResourceNotFound.InvalidPlugin"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) ModifyPluginWithContext

func (c *Client) ModifyPluginWithContext(ctx context.Context, request *ModifyPluginRequest) (response *ModifyPluginResponse, err error)

ModifyPlugin This API is used to modify a plugin.

error code that may be returned:

FAILEDOPERATION_FORMATERROR = "FailedOperation.FormatError"
FAILEDOPERATION_GETROLEERROR = "FailedOperation.GetRoleError"
FAILEDOPERATION_INVALIDINPUTJSON = "FailedOperation.InvalidInputJSON"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_RETURNABLEEXCEPTION = "InternalError.ReturnableException"
INTERNALERROR_TSFEXCEPTION = "InternalError.TsfException"
INTERNALERROR_VPCEXCEPTION = "InternalError.VpcException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_DUPLICATEPLUGINCONFIG = "InvalidParameterValue.DuplicatePluginConfig"
INVALIDPARAMETERVALUE_INVALIDAPIREQUESTCONFIG = "InvalidParameterValue.InvalidApiRequestConfig"
INVALIDPARAMETERVALUE_INVALIDBACKENDPATH = "InvalidParameterValue.InvalidBackendPath"
INVALIDPARAMETERVALUE_INVALIDCLB = "InvalidParameterValue.InvalidClb"
INVALIDPARAMETERVALUE_INVALIDCONDITION = "InvalidParameterValue.InvalidCondition"
INVALIDPARAMETERVALUE_INVALIDIPADDRESS = "InvalidParameterValue.InvalidIPAddress"
INVALIDPARAMETERVALUE_INVALIDPLUGINCONFIG = "InvalidParameterValue.InvalidPluginConfig"
INVALIDPARAMETERVALUE_INVALIDPORT = "InvalidParameterValue.InvalidPort"
INVALIDPARAMETERVALUE_INVALIDREQUESTPARAMETERS = "InvalidParameterValue.InvalidRequestParameters"
INVALIDPARAMETERVALUE_INVALIDSCFCONFIG = "InvalidParameterValue.InvalidScfConfig"
INVALIDPARAMETERVALUE_INVALIDSERVICECONFIG = "InvalidParameterValue.InvalidServiceConfig"
INVALIDPARAMETERVALUE_INVALIDSERVICEPARAM = "InvalidParameterValue.InvalidServiceParam"
INVALIDPARAMETERVALUE_INVALIDSERVICETYPE = "InvalidParameterValue.InvalidServiceType"
INVALIDPARAMETERVALUE_INVALIDTSFCONFIG = "InvalidParameterValue.InvalidTsfConfig"
INVALIDPARAMETERVALUE_INVALIDUPSTREAM = "InvalidParameterValue.InvalidUpstream"
INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidUrl"
INVALIDPARAMETERVALUE_INVALIDVPCCONFIG = "InvalidParameterValue.InvalidVpcConfig"
INVALIDPARAMETERVALUE_LENGTHEXCEEDED = "InvalidParameterValue.LengthExceeded"
INVALIDPARAMETERVALUE_NOTINOPTIONS = "InvalidParameterValue.NotInOptions"
INVALIDPARAMETERVALUE_RANGEEXCEEDED = "InvalidParameterValue.RangeExceeded"
MISSINGPARAMETER_BACKENDSPECIFICPARAM = "MissingParameter.BackendSpecificParam"
MISSINGPARAMETER_PLUGINCONFIG = "MissingParameter.PluginConfig"
RESOURCENOTFOUND_INVALIDPLUGIN = "ResourceNotFound.InvalidPlugin"
UNAUTHORIZEDOPERATION_ACCESSRESOURCE = "UnauthorizedOperation.AccessResource"
UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) ModifyService

func (c *Client) ModifyService(request *ModifyServiceRequest) (response *ModifyServiceResponse, err error)

ModifyService This API is used to modify the relevant information of a service. After a service is created, its name, description, and service type can be modified.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_NOTINOPTIONS = "InvalidParameterValue.NotInOptions"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_MODIFYNETTYPE = "UnsupportedOperation.ModifyNetType"
UNSUPPORTEDOPERATION_REDUCENETTYPES = "UnsupportedOperation.ReduceNetTypes"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) ModifyServiceEnvironmentStrategy

func (c *Client) ModifyServiceEnvironmentStrategy(request *ModifyServiceEnvironmentStrategyRequest) (response *ModifyServiceEnvironmentStrategyResponse, err error)

ModifyServiceEnvironmentStrategy This API is used to modify a service throttling policy.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_INVALIDREQUESTPARAMETERS = "InvalidParameterValue.InvalidRequestParameters"
INVALIDPARAMETERVALUE_RANGEEXCEEDED = "InvalidParameterValue.RangeExceeded"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) ModifyServiceEnvironmentStrategyWithContext

func (c *Client) ModifyServiceEnvironmentStrategyWithContext(ctx context.Context, request *ModifyServiceEnvironmentStrategyRequest) (response *ModifyServiceEnvironmentStrategyResponse, err error)

ModifyServiceEnvironmentStrategy This API is used to modify a service throttling policy.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_INVALIDREQUESTPARAMETERS = "InvalidParameterValue.InvalidRequestParameters"
INVALIDPARAMETERVALUE_RANGEEXCEEDED = "InvalidParameterValue.RangeExceeded"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"

func (*Client) ModifyServiceWithContext

func (c *Client) ModifyServiceWithContext(ctx context.Context, request *ModifyServiceRequest) (response *ModifyServiceResponse, err error)

ModifyService This API is used to modify the relevant information of a service. After a service is created, its name, description, and service type can be modified.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_NOTINOPTIONS = "InvalidParameterValue.NotInOptions"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_MODIFYNETTYPE = "UnsupportedOperation.ModifyNetType"
UNSUPPORTEDOPERATION_REDUCENETTYPES = "UnsupportedOperation.ReduceNetTypes"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) ModifySubDomain

func (c *Client) ModifySubDomain(request *ModifySubDomainRequest) (response *ModifySubDomainResponse, err error)

ModifySubDomain This API is used to modify the path mapping in the custom domain name settings of a service. The path mapping rule can be modified before it is bound to the custom domain name.

error code that may be returned:

FAILEDOPERATION_CERTIFICATEIDBINDERROR = "FailedOperation.CertificateIdBindError"
FAILEDOPERATION_CERTIFICATEIDERROR = "FailedOperation.CertificateIdError"
FAILEDOPERATION_PATHMAPPINGSETERROR = "FailedOperation.PathMappingSetError"
FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
FAILEDOPERATION_SERVICENOTEXIST = "FailedOperation.ServiceNotExist"
FAILEDOPERATION_SETCUSTOMPATHMAPPINGERROR = "FailedOperation.SetCustomPathMappingError"
FAILEDOPERATION_SUBDOMAINFORMATERROR = "FailedOperation.SubDomainFormatError"
FAILEDOPERATION_UNKNOWNPROTOCOLTYPEERROR = "FailedOperation.UnknownProtocolTypeError"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_FORCEHTTPS = "UnsupportedOperation.ForceHttps"
UNSUPPORTEDOPERATION_INVALIDSERVICETRADE = "UnsupportedOperation.InvalidServiceTrade"

func (*Client) ModifySubDomainWithContext

func (c *Client) ModifySubDomainWithContext(ctx context.Context, request *ModifySubDomainRequest) (response *ModifySubDomainResponse, err error)

ModifySubDomain This API is used to modify the path mapping in the custom domain name settings of a service. The path mapping rule can be modified before it is bound to the custom domain name.

error code that may be returned:

FAILEDOPERATION_CERTIFICATEIDBINDERROR = "FailedOperation.CertificateIdBindError"
FAILEDOPERATION_CERTIFICATEIDERROR = "FailedOperation.CertificateIdError"
FAILEDOPERATION_PATHMAPPINGSETERROR = "FailedOperation.PathMappingSetError"
FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
FAILEDOPERATION_SERVICENOTEXIST = "FailedOperation.ServiceNotExist"
FAILEDOPERATION_SETCUSTOMPATHMAPPINGERROR = "FailedOperation.SetCustomPathMappingError"
FAILEDOPERATION_SUBDOMAINFORMATERROR = "FailedOperation.SubDomainFormatError"
FAILEDOPERATION_UNKNOWNPROTOCOLTYPEERROR = "FailedOperation.UnknownProtocolTypeError"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_FORCEHTTPS = "UnsupportedOperation.ForceHttps"
UNSUPPORTEDOPERATION_INVALIDSERVICETRADE = "UnsupportedOperation.InvalidServiceTrade"

func (*Client) ModifyUpstream

func (c *Client) ModifyUpstream(request *ModifyUpstreamRequest) (response *ModifyUpstreamResponse, err error)

ModifyUpstream This API is used to modify an upstream.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_OPERATEUPSTREAM = "FailedOperation.OperateUpstream"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDUPSTREAM = "InvalidParameterValue.InvalidUpstream"
INVALIDPARAMETERVALUE_INVALIDVPCCONFIG = "InvalidParameterValue.InvalidVpcConfig"
INVALIDPARAMETERVALUE_NOTINOPTIONS = "InvalidParameterValue.NotInOptions"
INVALIDPARAMETERVALUE_RANGEEXCEEDED = "InvalidParameterValue.RangeExceeded"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyUpstreamWithContext

func (c *Client) ModifyUpstreamWithContext(ctx context.Context, request *ModifyUpstreamRequest) (response *ModifyUpstreamResponse, err error)

ModifyUpstream This API is used to modify an upstream.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_OPERATEUPSTREAM = "FailedOperation.OperateUpstream"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDUPSTREAM = "InvalidParameterValue.InvalidUpstream"
INVALIDPARAMETERVALUE_INVALIDVPCCONFIG = "InvalidParameterValue.InvalidVpcConfig"
INVALIDPARAMETERVALUE_NOTINOPTIONS = "InvalidParameterValue.NotInOptions"
INVALIDPARAMETERVALUE_RANGEEXCEEDED = "InvalidParameterValue.RangeExceeded"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyUsagePlan

func (c *Client) ModifyUsagePlan(request *ModifyUsagePlanRequest) (response *ModifyUsagePlanResponse, err error)

ModifyUsagePlan This API is used to modify the name, description, and QPS of a usage plan.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"

func (*Client) ModifyUsagePlanWithContext

func (c *Client) ModifyUsagePlanWithContext(ctx context.Context, request *ModifyUsagePlanRequest) (response *ModifyUsagePlanResponse, err error)

ModifyUsagePlan This API is used to modify the name, description, and QPS of a usage plan.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"

func (*Client) ReleaseService

func (c *Client) ReleaseService(request *ReleaseServiceRequest) (response *ReleaseServiceResponse, err error)

ReleaseService This API is used to publish a service.

An API Gateway service can only be called when it is published to an environment and takes effect after creation. This API is used to publish a service to an environment such as the `release` environment.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
FAILEDOPERATION_TASKALREADYEXIST = "FailedOperation.TaskAlreadyExist"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
LIMITEXCEEDED_REQUESTLIMITEXCEEDED = "LimitExceeded.RequestLimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) ReleaseServiceWithContext

func (c *Client) ReleaseServiceWithContext(ctx context.Context, request *ReleaseServiceRequest) (response *ReleaseServiceResponse, err error)

ReleaseService This API is used to publish a service.

An API Gateway service can only be called when it is published to an environment and takes effect after creation. This API is used to publish a service to an environment such as the `release` environment.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
FAILEDOPERATION_TASKALREADYEXIST = "FailedOperation.TaskAlreadyExist"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
LIMITEXCEEDED_REQUESTLIMITEXCEEDED = "LimitExceeded.RequestLimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) ResetAPIDocPassword

func (c *Client) ResetAPIDocPassword(request *ResetAPIDocPasswordRequest) (response *ResetAPIDocPasswordResponse, err error)

ResetAPIDocPassword This API is used to reset the password of an API document.

error code that may be returned:

FAILEDOPERATION_CODINGERROR = "FailedOperation.CodingError"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDAPIDOC = "ResourceNotFound.InvalidApiDoc"

func (*Client) ResetAPIDocPasswordWithContext

func (c *Client) ResetAPIDocPasswordWithContext(ctx context.Context, request *ResetAPIDocPasswordRequest) (response *ResetAPIDocPasswordResponse, err error)

ResetAPIDocPassword This API is used to reset the password of an API document.

error code that may be returned:

FAILEDOPERATION_CODINGERROR = "FailedOperation.CodingError"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDAPIDOC = "ResourceNotFound.InvalidApiDoc"

func (*Client) UnBindEnvironment

func (c *Client) UnBindEnvironment(request *UnBindEnvironmentRequest) (response *UnBindEnvironmentResponse, err error)

UnBindEnvironment This API is used to unbind a usage plan from a specified environment.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"
UNSUPPORTEDOPERATION_UNSUPPORTEDUNBINDENVIRONMENT = "UnsupportedOperation.UnsupportedUnBindEnvironment"

func (*Client) UnBindEnvironmentWithContext

func (c *Client) UnBindEnvironmentWithContext(ctx context.Context, request *UnBindEnvironmentRequest) (response *UnBindEnvironmentResponse, err error)

UnBindEnvironment This API is used to unbind a usage plan from a specified environment.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"
UNSUPPORTEDOPERATION_UNSUPPORTEDUNBINDENVIRONMENT = "UnsupportedOperation.UnsupportedUnBindEnvironment"

func (*Client) UnBindIPStrategy

func (c *Client) UnBindIPStrategy(request *UnBindIPStrategyRequest) (response *UnBindIPStrategyResponse, err error)

UnBindIPStrategy This API is used to unbind an IP policy from a service.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"

func (*Client) UnBindIPStrategyWithContext

func (c *Client) UnBindIPStrategyWithContext(ctx context.Context, request *UnBindIPStrategyRequest) (response *UnBindIPStrategyResponse, err error)

UnBindIPStrategy This API is used to unbind an IP policy from a service.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"

func (*Client) UnBindSecretIds

func (c *Client) UnBindSecretIds(request *UnBindSecretIdsRequest) (response *UnBindSecretIdsResponse, err error)

UnBindSecretIds This API is used to unbind a key from a usage plan.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
RESOURCENOTFOUND_INVALIDACCESSKEYID = "ResourceNotFound.InvalidAccessKeyId"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"
UNSUPPORTEDOPERATION_REQUESTPOSTERROR = "UnsupportedOperation.RequestPostError"

func (*Client) UnBindSecretIdsWithContext

func (c *Client) UnBindSecretIdsWithContext(ctx context.Context, request *UnBindSecretIdsRequest) (response *UnBindSecretIdsResponse, err error)

UnBindSecretIds This API is used to unbind a key from a usage plan.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
RESOURCENOTFOUND_INVALIDACCESSKEYID = "ResourceNotFound.InvalidAccessKeyId"
RESOURCENOTFOUND_INVALIDUSAGEPLAN = "ResourceNotFound.InvalidUsagePlan"
UNSUPPORTEDOPERATION_REQUESTPOSTERROR = "UnsupportedOperation.RequestPostError"

func (*Client) UnBindSubDomain

func (c *Client) UnBindSubDomain(request *UnBindSubDomainRequest) (response *UnBindSubDomainResponse, err error)

UnBindSubDomain This API is used to unbind a custom domain name.

After binding a custom domain name to a service by using API Gateway, you can use this API to unbind it.

error code that may be returned:

FAILEDOPERATION_DOMAINNOTBINDSERVICE = "FailedOperation.DomainNotBindService"
FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
FAILEDOPERATION_SERVICENOTEXIST = "FailedOperation.ServiceNotExist"
FAILEDOPERATION_SUBDOMAINFORMATERROR = "FailedOperation.SubDomainFormatError"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_INVALIDSTATUS = "UnsupportedOperation.InvalidStatus"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) UnBindSubDomainWithContext

func (c *Client) UnBindSubDomainWithContext(ctx context.Context, request *UnBindSubDomainRequest) (response *UnBindSubDomainResponse, err error)

UnBindSubDomain This API is used to unbind a custom domain name.

After binding a custom domain name to a service by using API Gateway, you can use this API to unbind it.

error code that may be returned:

FAILEDOPERATION_DOMAINNOTBINDSERVICE = "FailedOperation.DomainNotBindService"
FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
FAILEDOPERATION_SERVICENOTEXIST = "FailedOperation.ServiceNotExist"
FAILEDOPERATION_SUBDOMAINFORMATERROR = "FailedOperation.SubDomainFormatError"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_INVALIDSTATUS = "UnsupportedOperation.InvalidStatus"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) UnReleaseService

func (c *Client) UnReleaseService(request *UnReleaseServiceRequest) (response *UnReleaseServiceResponse, err error)

UnReleaseService This API is used to deactivate a service.

Only after a service is published to an environment can its APIs be called. You can call this API to deactivate a service in the release environment. Once deactivated, the service cannot be called.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
LIMITEXCEEDED_REQUESTLIMITEXCEEDED = "LimitExceeded.RequestLimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) UnReleaseServiceWithContext

func (c *Client) UnReleaseServiceWithContext(ctx context.Context, request *UnReleaseServiceRequest) (response *UnReleaseServiceResponse, err error)

UnReleaseService This API is used to deactivate a service.

Only after a service is published to an environment can its APIs be called. You can call this API to deactivate a service in the release environment. Once deactivated, the service cannot be called.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
LIMITEXCEEDED_REQUESTLIMITEXCEEDED = "LimitExceeded.RequestLimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_UNPACKERROR = "UnsupportedOperation.UnpackError"

func (*Client) UnbindApiApp

func (c *Client) UnbindApiApp(request *UnbindApiAppRequest) (response *UnbindApiAppResponse, err error)

UnbindApiApp This API is used to unbind an application from an API.

error code that may be returned:

FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_RETURNABLEEXCEPTION = "InternalError.ReturnableException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDENV = "InvalidParameterValue.InvalidEnv"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDAPIAPP = "ResourceNotFound.InvalidApiApp"
UNSUPPORTEDOPERATION_RESOURCEASSOCIATED = "UnsupportedOperation.ResourceAssociated"
UNSUPPORTEDOPERATION_RESOURCEUNASSOCIATED = "UnsupportedOperation.ResourceUnassociated"
UNSUPPORTEDOPERATION_UNSUPPORTEDBINDENVIRONMENT = "UnsupportedOperation.UnsupportedBindEnvironment"

func (*Client) UnbindApiAppWithContext

func (c *Client) UnbindApiAppWithContext(ctx context.Context, request *UnbindApiAppRequest) (response *UnbindApiAppResponse, err error)

UnbindApiApp This API is used to unbind an application from an API.

error code that may be returned:

FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_RETURNABLEEXCEPTION = "InternalError.ReturnableException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETERVALUE_INVALIDENV = "InvalidParameterValue.InvalidEnv"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDAPIAPP = "ResourceNotFound.InvalidApiApp"
UNSUPPORTEDOPERATION_RESOURCEASSOCIATED = "UnsupportedOperation.ResourceAssociated"
UNSUPPORTEDOPERATION_RESOURCEUNASSOCIATED = "UnsupportedOperation.ResourceUnassociated"
UNSUPPORTEDOPERATION_UNSUPPORTEDBINDENVIRONMENT = "UnsupportedOperation.UnsupportedBindEnvironment"

func (*Client) UpdateApiAppKey

func (c *Client) UpdateApiAppKey(request *UpdateApiAppKeyRequest) (response *UpdateApiAppKeyResponse, err error)

UpdateApiAppKey This API is used to update an application key.

error code that may be returned:

FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_APIINOPERATION = "FailedOperation.ApiInOperation"
FAILEDOPERATION_GETROLEERROR = "FailedOperation.GetRoleError"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_SCFEXCEPTION = "InternalError.ScfException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDAPIAPP = "ResourceNotFound.InvalidApiApp"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_INVALIDSERVICETRADE = "UnsupportedOperation.InvalidServiceTrade"
UNSUPPORTEDOPERATION_RESOURCEASSOCIATED = "UnsupportedOperation.ResourceAssociated"
UNSUPPORTEDOPERATION_UNSUPPORTEDDELETEAPI = "UnsupportedOperation.UnsupportedDeleteApi"

func (*Client) UpdateApiAppKeyWithContext

func (c *Client) UpdateApiAppKeyWithContext(ctx context.Context, request *UpdateApiAppKeyRequest) (response *UpdateApiAppKeyResponse, err error)

UpdateApiAppKey This API is used to update an application key.

error code that may be returned:

FAILEDOPERATION_APIERROR = "FailedOperation.ApiError"
FAILEDOPERATION_APIINOPERATION = "FailedOperation.ApiInOperation"
FAILEDOPERATION_GETROLEERROR = "FailedOperation.GetRoleError"
INTERNALERROR_APIGWEXCEPTION = "InternalError.ApigwException"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INTERNALERROR_SCFEXCEPTION = "InternalError.ScfException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDAPI = "ResourceNotFound.InvalidApi"
RESOURCENOTFOUND_INVALIDAPIAPP = "ResourceNotFound.InvalidApiApp"
RESOURCENOTFOUND_INVALIDSERVICE = "ResourceNotFound.InvalidService"
UNSUPPORTEDOPERATION_INVALIDSERVICETRADE = "UnsupportedOperation.InvalidServiceTrade"
UNSUPPORTEDOPERATION_RESOURCEASSOCIATED = "UnsupportedOperation.ResourceAssociated"
UNSUPPORTEDOPERATION_UNSUPPORTEDDELETEAPI = "UnsupportedOperation.UnsupportedDeleteApi"

func (*Client) UpdateApiKey

func (c *Client) UpdateApiKey(request *UpdateApiKeyRequest) (response *UpdateApiKeyResponse, err error)

UpdateApiKey This API is used to update a created API key pair.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDACCESSKEYID = "ResourceNotFound.InvalidAccessKeyId"
UNSUPPORTEDOPERATION_UINNOTINWHITELIST = "UnsupportedOperation.UinNotInWhiteList"

func (*Client) UpdateApiKeyWithContext

func (c *Client) UpdateApiKeyWithContext(ctx context.Context, request *UpdateApiKeyRequest) (response *UpdateApiKeyResponse, err error)

UpdateApiKey This API is used to update a created API key pair.

error code that may be returned:

INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND_INVALIDACCESSKEYID = "ResourceNotFound.InvalidAccessKeyId"
UNSUPPORTEDOPERATION_UINNOTINWHITELIST = "UnsupportedOperation.UinNotInWhiteList"

func (*Client) UpdateService

func (c *Client) UpdateService(request *UpdateServiceRequest) (response *UpdateServiceResponse, err error)

UpdateService u200dThis API is used to switch the running version of a service published in an environment to a specified version. After you create a service by using API Gateway and publish it to an environment, multiple versions will be generated during development. In this case, you can call this API to switch versions.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_INVALIDSERVICETRADE = "UnsupportedOperation.InvalidServiceTrade"

func (*Client) UpdateServiceWithContext

func (c *Client) UpdateServiceWithContext(ctx context.Context, request *UpdateServiceRequest) (response *UpdateServiceResponse, err error)

UpdateService u200dThis API is used to switch the running version of a service published in an environment to a specified version. After you create a service by using API Gateway and publish it to an environment, multiple versions will be generated during development. In this case, you can call this API to switch versions.

error code that may be returned:

FAILEDOPERATION_SERVICEERROR = "FailedOperation.ServiceError"
FAILEDOPERATION_SERVICEINOPERATION = "FailedOperation.ServiceInOperation"
INTERNALERROR_OSSEXCEPTION = "InternalError.OssException"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_INVALIDSERVICETRADE = "UnsupportedOperation.InvalidServiceTrade"

type ConstantParameter

type ConstantParameter struct {
	// Constant parameter name This is only applicable when `ServiceType` is `HTTP`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Constant parameter description This is only applicable when `ServiceType` is `HTTP`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"`

	// Constant paramter location This is only applicable when `ServiceType` is `HTTP`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Position *string `json:"Position,omitnil,omitempty" name:"Position"`

	// Default value of the constant parameter This is only applicable when `ServiceType` is `HTTP`.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DefaultValue *string `json:"DefaultValue,omitnil,omitempty" name:"DefaultValue"`
}

type CosConfig

type CosConfig struct {
	// Specifies how the backend COS bucket is called by the API. The frontend request method and Action can be:
	// GET:GetObject
	// PUT:PutObject
	// POST:PostObject、AppendObject
	// HEAD: HeadObject
	// DELETE: DeleteObject
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Action *string `json:"Action,omitnil,omitempty" name:"Action"`

	// Backend COS bucket of the API
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	BucketName *string `json:"BucketName,omitnil,omitempty" name:"BucketName"`

	// Whether to enable the backend COS signature for the API. It defaults to `false`.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Authorization *bool `json:"Authorization,omitnil,omitempty" name:"Authorization"`

	// The path matching mode of the backend COS service
	// `BackEndPath`: Match the backend path
	// `FullPath`: Match the full path
	//
	// Default: `BackEndPath`
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	PathMatchMode *string `json:"PathMatchMode,omitnil,omitempty" name:"PathMatchMode"`
}

type CreateAPIDocRequest

type CreateAPIDocRequest struct {
	*tchttp.BaseRequest

	// API document name
	ApiDocName *string `json:"ApiDocName,omitnil,omitempty" name:"ApiDocName"`

	// Service name
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Environment name
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`

	// List of APIs for which to generate documents
	ApiIds []*string `json:"ApiIds,omitnil,omitempty" name:"ApiIds"`
}

func NewCreateAPIDocRequest

func NewCreateAPIDocRequest() (request *CreateAPIDocRequest)

func (*CreateAPIDocRequest) FromJsonString

func (r *CreateAPIDocRequest) 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 (*CreateAPIDocRequest) ToJsonString

func (r *CreateAPIDocRequest) ToJsonString() string

type CreateAPIDocRequestParams

type CreateAPIDocRequestParams struct {
	// API document name
	ApiDocName *string `json:"ApiDocName,omitnil,omitempty" name:"ApiDocName"`

	// Service name
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Environment name
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`

	// List of APIs for which to generate documents
	ApiIds []*string `json:"ApiIds,omitnil,omitempty" name:"ApiIds"`
}

Predefined struct for user

type CreateAPIDocResponse

type CreateAPIDocResponse struct {
	*tchttp.BaseResponse
	Response *CreateAPIDocResponseParams `json:"Response"`
}

func NewCreateAPIDocResponse

func NewCreateAPIDocResponse() (response *CreateAPIDocResponse)

func (*CreateAPIDocResponse) FromJsonString

func (r *CreateAPIDocResponse) 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 (*CreateAPIDocResponse) ToJsonString

func (r *CreateAPIDocResponse) ToJsonString() string

type CreateAPIDocResponseParams

type CreateAPIDocResponseParams struct {
	// Basic information of API document
	Result *APIDoc `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateApiAppRequest

type CreateApiAppRequest struct {
	*tchttp.BaseRequest

	// Custom application name.
	ApiAppName *string `json:"ApiAppName,omitnil,omitempty" name:"ApiAppName"`

	// Application description
	ApiAppDesc *string `json:"ApiAppDesc,omitnil,omitempty" name:"ApiAppDesc"`
}

func NewCreateApiAppRequest

func NewCreateApiAppRequest() (request *CreateApiAppRequest)

func (*CreateApiAppRequest) FromJsonString

func (r *CreateApiAppRequest) 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 (*CreateApiAppRequest) ToJsonString

func (r *CreateApiAppRequest) ToJsonString() string

type CreateApiAppRequestParams

type CreateApiAppRequestParams struct {
	// Custom application name.
	ApiAppName *string `json:"ApiAppName,omitnil,omitempty" name:"ApiAppName"`

	// Application description
	ApiAppDesc *string `json:"ApiAppDesc,omitnil,omitempty" name:"ApiAppDesc"`
}

Predefined struct for user

type CreateApiAppResponse

type CreateApiAppResponse struct {
	*tchttp.BaseResponse
	Response *CreateApiAppResponseParams `json:"Response"`
}

func NewCreateApiAppResponse

func NewCreateApiAppResponse() (response *CreateApiAppResponse)

func (*CreateApiAppResponse) FromJsonString

func (r *CreateApiAppResponse) 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 (*CreateApiAppResponse) ToJsonString

func (r *CreateApiAppResponse) ToJsonString() string

type CreateApiAppResponseParams

type CreateApiAppResponseParams struct {
	// New application details.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *ApiAppInfo `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateApiKeyRequest

type CreateApiKeyRequest struct {
	*tchttp.BaseRequest

	// Custom key name.
	SecretName *string `json:"SecretName,omitnil,omitempty" name:"SecretName"`

	// Key type. Valid values: auto, manual (custom key). Default value: auto.
	AccessKeyType *string `json:"AccessKeyType,omitnil,omitempty" name:"AccessKeyType"`

	// Custom key ID, which is required if `AccessKeyType` is `manual`. It can contain 5–50 letters, digits, and underscores.
	AccessKeyId *string `json:"AccessKeyId,omitnil,omitempty" name:"AccessKeyId"`

	// Custom key, which is required if `AccessKeyType` is `manual`. It can contain 10–50 letters, digits, and underscores.
	AccessKeySecret *string `json:"AccessKeySecret,omitnil,omitempty" name:"AccessKeySecret"`
}

func NewCreateApiKeyRequest

func NewCreateApiKeyRequest() (request *CreateApiKeyRequest)

func (*CreateApiKeyRequest) FromJsonString

func (r *CreateApiKeyRequest) 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 (*CreateApiKeyRequest) ToJsonString

func (r *CreateApiKeyRequest) ToJsonString() string

type CreateApiKeyRequestParams

type CreateApiKeyRequestParams struct {
	// Custom key name.
	SecretName *string `json:"SecretName,omitnil,omitempty" name:"SecretName"`

	// Key type. Valid values: auto, manual (custom key). Default value: auto.
	AccessKeyType *string `json:"AccessKeyType,omitnil,omitempty" name:"AccessKeyType"`

	// Custom key ID, which is required if `AccessKeyType` is `manual`. It can contain 5–50 letters, digits, and underscores.
	AccessKeyId *string `json:"AccessKeyId,omitnil,omitempty" name:"AccessKeyId"`

	// Custom key, which is required if `AccessKeyType` is `manual`. It can contain 10–50 letters, digits, and underscores.
	AccessKeySecret *string `json:"AccessKeySecret,omitnil,omitempty" name:"AccessKeySecret"`
}

Predefined struct for user

type CreateApiKeyResponse

type CreateApiKeyResponse struct {
	*tchttp.BaseResponse
	Response *CreateApiKeyResponseParams `json:"Response"`
}

func NewCreateApiKeyResponse

func NewCreateApiKeyResponse() (response *CreateApiKeyResponse)

func (*CreateApiKeyResponse) FromJsonString

func (r *CreateApiKeyResponse) 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 (*CreateApiKeyResponse) ToJsonString

func (r *CreateApiKeyResponse) ToJsonString() string

type CreateApiKeyResponseParams

type CreateApiKeyResponseParams struct {
	// New key details.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *ApiKey `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateApiRequest

type CreateApiRequest struct {
	*tchttp.BaseRequest

	// Unique service ID of API.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// API backend service type. Valid values: HTTP, MOCK, TSF, SCF, WEBSOCKET, TARGET (in beta test).
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`

	// API backend service timeout period in seconds.
	ServiceTimeout *int64 `json:"ServiceTimeout,omitnil,omitempty" name:"ServiceTimeout"`

	// API frontend request protocol. Valid values: HTTPS, WEBSOCKET.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Request frontend configuration.
	RequestConfig *ApiRequestConfig `json:"RequestConfig,omitnil,omitempty" name:"RequestConfig"`

	// Custom API name.
	ApiName *string `json:"ApiName,omitnil,omitempty" name:"ApiName"`

	// Custom API description.
	ApiDesc *string `json:"ApiDesc,omitnil,omitempty" name:"ApiDesc"`

	// API type. Valid values: NORMAL (general API), TSF (microservice API). Default value: NORMAL.
	ApiType *string `json:"ApiType,omitnil,omitempty" name:"ApiType"`

	// API authentication type. Valid values: SECRET (key pair authentication), NONE (no authentication), OAUTH, APP (application authentication). Default value: NONE.
	AuthType *string `json:"AuthType,omitnil,omitempty" name:"AuthType"`

	// Whether to enable CORS.
	EnableCORS *bool `json:"EnableCORS,omitnil,omitempty" name:"EnableCORS"`

	// Constant parameter.
	ConstantParameters []*ConstantParameter `json:"ConstantParameters,omitnil,omitempty" name:"ConstantParameters"`

	// Frontend request parameter.
	RequestParameters []*RequestParameter `json:"RequestParameters,omitnil,omitempty" name:"RequestParameters"`

	// This field is valid if `AuthType` is `OAUTH`. NORMAL: business API; OAUTH: authorization API.
	ApiBusinessType *string `json:"ApiBusinessType,omitnil,omitempty" name:"ApiBusinessType"`

	// Returned message of API backend Mock, which is required if `ServiceType` is `Mock`.
	ServiceMockReturnMessage *string `json:"ServiceMockReturnMessage,omitnil,omitempty" name:"ServiceMockReturnMessage"`

	// List of microservices bound to API.
	MicroServices []*MicroServiceReq `json:"MicroServices,omitnil,omitempty" name:"MicroServices"`

	// Load balancing configuration of microservice.
	ServiceTsfLoadBalanceConf *TsfLoadBalanceConfResp `json:"ServiceTsfLoadBalanceConf,omitnil,omitempty" name:"ServiceTsfLoadBalanceConf"`

	// Health check configuration of microservice.
	ServiceTsfHealthCheckConf *HealthCheckConf `json:"ServiceTsfHealthCheckConf,omitnil,omitempty" name:"ServiceTsfHealthCheckConf"`

	// `target` type backend resource information (in beta test).
	TargetServices []*TargetServicesReq `json:"TargetServices,omitnil,omitempty" name:"TargetServices"`

	// `target` type load balancing configuration (in beta test).
	TargetServicesLoadBalanceConf *int64 `json:"TargetServicesLoadBalanceConf,omitnil,omitempty" name:"TargetServicesLoadBalanceConf"`

	// `target` health check configuration (in beta test).
	TargetServicesHealthCheckConf *HealthCheckConf `json:"TargetServicesHealthCheckConf,omitnil,omitempty" name:"TargetServicesHealthCheckConf"`

	// SCF function name, which takes effect if the backend type is `SCF`.
	ServiceScfFunctionName *string `json:"ServiceScfFunctionName,omitnil,omitempty" name:"ServiceScfFunctionName"`

	// SCF WebSocket registration function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketRegisterFunctionName *string `json:"ServiceWebsocketRegisterFunctionName,omitnil,omitempty" name:"ServiceWebsocketRegisterFunctionName"`

	// SCF WebSocket cleanup function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketCleanupFunctionName *string `json:"ServiceWebsocketCleanupFunctionName,omitnil,omitempty" name:"ServiceWebsocketCleanupFunctionName"`

	// SCF WebSocket transfer function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketTransportFunctionName *string `json:"ServiceWebsocketTransportFunctionName,omitnil,omitempty" name:"ServiceWebsocketTransportFunctionName"`

	// SCF function namespace, which takes effect if the backend type is `SCF`.
	ServiceScfFunctionNamespace *string `json:"ServiceScfFunctionNamespace,omitnil,omitempty" name:"ServiceScfFunctionNamespace"`

	// SCF function version, which takes effect if the backend type is `SCF`.
	ServiceScfFunctionQualifier *string `json:"ServiceScfFunctionQualifier,omitnil,omitempty" name:"ServiceScfFunctionQualifier"`

	// SCF WebSocket registration function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketRegisterFunctionNamespace *string `json:"ServiceWebsocketRegisterFunctionNamespace,omitnil,omitempty" name:"ServiceWebsocketRegisterFunctionNamespace"`

	// SCF WebSocket transfer function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketRegisterFunctionQualifier *string `json:"ServiceWebsocketRegisterFunctionQualifier,omitnil,omitempty" name:"ServiceWebsocketRegisterFunctionQualifier"`

	// SCF WebSocket transfer function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketTransportFunctionNamespace *string `json:"ServiceWebsocketTransportFunctionNamespace,omitnil,omitempty" name:"ServiceWebsocketTransportFunctionNamespace"`

	// SCF WebSocket transfer function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketTransportFunctionQualifier *string `json:"ServiceWebsocketTransportFunctionQualifier,omitnil,omitempty" name:"ServiceWebsocketTransportFunctionQualifier"`

	// SCF WebSocket cleanup function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketCleanupFunctionNamespace *string `json:"ServiceWebsocketCleanupFunctionNamespace,omitnil,omitempty" name:"ServiceWebsocketCleanupFunctionNamespace"`

	// SCF WebSocket cleanup function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketCleanupFunctionQualifier *string `json:"ServiceWebsocketCleanupFunctionQualifier,omitnil,omitempty" name:"ServiceWebsocketCleanupFunctionQualifier"`

	// Whether to enable response integration, which takes effect if the backend type is `SCF`.
	ServiceScfIsIntegratedResponse *bool `json:"ServiceScfIsIntegratedResponse,omitnil,omitempty" name:"ServiceScfIsIntegratedResponse"`

	// Billing after debugging starts (reserved field for marketplace).
	IsDebugAfterCharge *bool `json:"IsDebugAfterCharge,omitnil,omitempty" name:"IsDebugAfterCharge"`

	// Whether to delete the error codes for custom response configuration. If the value is left empty or `False`, the error codes will not be deleted. If the value is `True`, all custom response configuration error codes of the API will be deleted.
	IsDeleteResponseErrorCodes *bool `json:"IsDeleteResponseErrorCodes,omitnil,omitempty" name:"IsDeleteResponseErrorCodes"`

	// Return type.
	ResponseType *string `json:"ResponseType,omitnil,omitempty" name:"ResponseType"`

	// Sample response for successful custom response configuration.
	ResponseSuccessExample *string `json:"ResponseSuccessExample,omitnil,omitempty" name:"ResponseSuccessExample"`

	// Sample response for failed custom response configuration.
	ResponseFailExample *string `json:"ResponseFailExample,omitnil,omitempty" name:"ResponseFailExample"`

	// API backend service configuration.
	ServiceConfig *ServiceConfig `json:"ServiceConfig,omitnil,omitempty" name:"ServiceConfig"`

	// Unique ID of associated authorization API, which takes effect only if `AuthType` is `OAUTH` and `ApiBusinessType` is `NORMAL`. It is the unique ID of the OAuth 2.0 authorization API bound to the business API.
	AuthRelationApiId *string `json:"AuthRelationApiId,omitnil,omitempty" name:"AuthRelationApiId"`

	// API backend service parameter.
	ServiceParameters []*ServiceParameter `json:"ServiceParameters,omitnil,omitempty" name:"ServiceParameters"`

	// OAuth configuration, which takes effect if `AuthType` is `OAUTH`.
	OauthConfig *OauthConfig `json:"OauthConfig,omitnil,omitempty" name:"OauthConfig"`

	// Custom error code configuration.
	ResponseErrorCodes []*ResponseErrorCodeReq `json:"ResponseErrorCodes,omitnil,omitempty" name:"ResponseErrorCodes"`

	// TSF Serverless namespace ID (in beta test).
	TargetNamespaceId *string `json:"TargetNamespaceId,omitnil,omitempty" name:"TargetNamespaceId"`

	// User type.
	UserType *string `json:"UserType,omitnil,omitempty" name:"UserType"`

	// Whether to enable Base64 encoding. This parameter takes effect only when the backend is SCF.
	IsBase64Encoded *bool `json:"IsBase64Encoded,omitnil,omitempty" name:"IsBase64Encoded"`

	// Event bus ID.
	EventBusId *string `json:"EventBusId,omitnil,omitempty" name:"EventBusId"`

	// SCF function type, which takes effect if the backend type is `SCF`. Valid values: `EVENT` and `HTTP`.
	ServiceScfFunctionType *string `json:"ServiceScfFunctionType,omitnil,omitempty" name:"ServiceScfFunctionType"`

	// EIAM application type.
	EIAMAppType *string `json:"EIAMAppType,omitnil,omitempty" name:"EIAMAppType"`

	// EIAM application authentication type. Valid values: `AuthenticationOnly`, `Authentication`, `Authorization`.
	EIAMAuthType *string `json:"EIAMAuthType,omitnil,omitempty" name:"EIAMAuthType"`

	// Validity of the EIAM application token. Unit: second. Default value: `7200`.
	TokenTimeout *int64 `json:"TokenTimeout,omitnil,omitempty" name:"TokenTimeout"`

	// EIAM application ID.
	EIAMAppId *string `json:"EIAMAppId,omitnil,omitempty" name:"EIAMAppId"`

	// Owner of the resource
	Owner *string `json:"Owner,omitnil,omitempty" name:"Owner"`
}

func NewCreateApiRequest

func NewCreateApiRequest() (request *CreateApiRequest)

func (*CreateApiRequest) FromJsonString

func (r *CreateApiRequest) 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 (*CreateApiRequest) ToJsonString

func (r *CreateApiRequest) ToJsonString() string

type CreateApiRequestParams

type CreateApiRequestParams struct {
	// Unique service ID of API.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// API backend service type. Valid values: HTTP, MOCK, TSF, SCF, WEBSOCKET, TARGET (in beta test).
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`

	// API backend service timeout period in seconds.
	ServiceTimeout *int64 `json:"ServiceTimeout,omitnil,omitempty" name:"ServiceTimeout"`

	// API frontend request protocol. Valid values: HTTPS, WEBSOCKET.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Request frontend configuration.
	RequestConfig *ApiRequestConfig `json:"RequestConfig,omitnil,omitempty" name:"RequestConfig"`

	// Custom API name.
	ApiName *string `json:"ApiName,omitnil,omitempty" name:"ApiName"`

	// Custom API description.
	ApiDesc *string `json:"ApiDesc,omitnil,omitempty" name:"ApiDesc"`

	// API type. Valid values: NORMAL (general API), TSF (microservice API). Default value: NORMAL.
	ApiType *string `json:"ApiType,omitnil,omitempty" name:"ApiType"`

	// API authentication type. Valid values: SECRET (key pair authentication), NONE (no authentication), OAUTH, APP (application authentication). Default value: NONE.
	AuthType *string `json:"AuthType,omitnil,omitempty" name:"AuthType"`

	// Whether to enable CORS.
	EnableCORS *bool `json:"EnableCORS,omitnil,omitempty" name:"EnableCORS"`

	// Constant parameter.
	ConstantParameters []*ConstantParameter `json:"ConstantParameters,omitnil,omitempty" name:"ConstantParameters"`

	// Frontend request parameter.
	RequestParameters []*RequestParameter `json:"RequestParameters,omitnil,omitempty" name:"RequestParameters"`

	// This field is valid if `AuthType` is `OAUTH`. NORMAL: business API; OAUTH: authorization API.
	ApiBusinessType *string `json:"ApiBusinessType,omitnil,omitempty" name:"ApiBusinessType"`

	// Returned message of API backend Mock, which is required if `ServiceType` is `Mock`.
	ServiceMockReturnMessage *string `json:"ServiceMockReturnMessage,omitnil,omitempty" name:"ServiceMockReturnMessage"`

	// List of microservices bound to API.
	MicroServices []*MicroServiceReq `json:"MicroServices,omitnil,omitempty" name:"MicroServices"`

	// Load balancing configuration of microservice.
	ServiceTsfLoadBalanceConf *TsfLoadBalanceConfResp `json:"ServiceTsfLoadBalanceConf,omitnil,omitempty" name:"ServiceTsfLoadBalanceConf"`

	// Health check configuration of microservice.
	ServiceTsfHealthCheckConf *HealthCheckConf `json:"ServiceTsfHealthCheckConf,omitnil,omitempty" name:"ServiceTsfHealthCheckConf"`

	// `target` type backend resource information (in beta test).
	TargetServices []*TargetServicesReq `json:"TargetServices,omitnil,omitempty" name:"TargetServices"`

	// `target` type load balancing configuration (in beta test).
	TargetServicesLoadBalanceConf *int64 `json:"TargetServicesLoadBalanceConf,omitnil,omitempty" name:"TargetServicesLoadBalanceConf"`

	// `target` health check configuration (in beta test).
	TargetServicesHealthCheckConf *HealthCheckConf `json:"TargetServicesHealthCheckConf,omitnil,omitempty" name:"TargetServicesHealthCheckConf"`

	// SCF function name, which takes effect if the backend type is `SCF`.
	ServiceScfFunctionName *string `json:"ServiceScfFunctionName,omitnil,omitempty" name:"ServiceScfFunctionName"`

	// SCF WebSocket registration function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketRegisterFunctionName *string `json:"ServiceWebsocketRegisterFunctionName,omitnil,omitempty" name:"ServiceWebsocketRegisterFunctionName"`

	// SCF WebSocket cleanup function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketCleanupFunctionName *string `json:"ServiceWebsocketCleanupFunctionName,omitnil,omitempty" name:"ServiceWebsocketCleanupFunctionName"`

	// SCF WebSocket transfer function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketTransportFunctionName *string `json:"ServiceWebsocketTransportFunctionName,omitnil,omitempty" name:"ServiceWebsocketTransportFunctionName"`

	// SCF function namespace, which takes effect if the backend type is `SCF`.
	ServiceScfFunctionNamespace *string `json:"ServiceScfFunctionNamespace,omitnil,omitempty" name:"ServiceScfFunctionNamespace"`

	// SCF function version, which takes effect if the backend type is `SCF`.
	ServiceScfFunctionQualifier *string `json:"ServiceScfFunctionQualifier,omitnil,omitempty" name:"ServiceScfFunctionQualifier"`

	// SCF WebSocket registration function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketRegisterFunctionNamespace *string `json:"ServiceWebsocketRegisterFunctionNamespace,omitnil,omitempty" name:"ServiceWebsocketRegisterFunctionNamespace"`

	// SCF WebSocket transfer function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketRegisterFunctionQualifier *string `json:"ServiceWebsocketRegisterFunctionQualifier,omitnil,omitempty" name:"ServiceWebsocketRegisterFunctionQualifier"`

	// SCF WebSocket transfer function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketTransportFunctionNamespace *string `json:"ServiceWebsocketTransportFunctionNamespace,omitnil,omitempty" name:"ServiceWebsocketTransportFunctionNamespace"`

	// SCF WebSocket transfer function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketTransportFunctionQualifier *string `json:"ServiceWebsocketTransportFunctionQualifier,omitnil,omitempty" name:"ServiceWebsocketTransportFunctionQualifier"`

	// SCF WebSocket cleanup function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketCleanupFunctionNamespace *string `json:"ServiceWebsocketCleanupFunctionNamespace,omitnil,omitempty" name:"ServiceWebsocketCleanupFunctionNamespace"`

	// SCF WebSocket cleanup function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketCleanupFunctionQualifier *string `json:"ServiceWebsocketCleanupFunctionQualifier,omitnil,omitempty" name:"ServiceWebsocketCleanupFunctionQualifier"`

	// Whether to enable response integration, which takes effect if the backend type is `SCF`.
	ServiceScfIsIntegratedResponse *bool `json:"ServiceScfIsIntegratedResponse,omitnil,omitempty" name:"ServiceScfIsIntegratedResponse"`

	// Billing after debugging starts (reserved field for marketplace).
	IsDebugAfterCharge *bool `json:"IsDebugAfterCharge,omitnil,omitempty" name:"IsDebugAfterCharge"`

	// Whether to delete the error codes for custom response configuration. If the value is left empty or `False`, the error codes will not be deleted. If the value is `True`, all custom response configuration error codes of the API will be deleted.
	IsDeleteResponseErrorCodes *bool `json:"IsDeleteResponseErrorCodes,omitnil,omitempty" name:"IsDeleteResponseErrorCodes"`

	// Return type.
	ResponseType *string `json:"ResponseType,omitnil,omitempty" name:"ResponseType"`

	// Sample response for successful custom response configuration.
	ResponseSuccessExample *string `json:"ResponseSuccessExample,omitnil,omitempty" name:"ResponseSuccessExample"`

	// Sample response for failed custom response configuration.
	ResponseFailExample *string `json:"ResponseFailExample,omitnil,omitempty" name:"ResponseFailExample"`

	// API backend service configuration.
	ServiceConfig *ServiceConfig `json:"ServiceConfig,omitnil,omitempty" name:"ServiceConfig"`

	// Unique ID of associated authorization API, which takes effect only if `AuthType` is `OAUTH` and `ApiBusinessType` is `NORMAL`. It is the unique ID of the OAuth 2.0 authorization API bound to the business API.
	AuthRelationApiId *string `json:"AuthRelationApiId,omitnil,omitempty" name:"AuthRelationApiId"`

	// API backend service parameter.
	ServiceParameters []*ServiceParameter `json:"ServiceParameters,omitnil,omitempty" name:"ServiceParameters"`

	// OAuth configuration, which takes effect if `AuthType` is `OAUTH`.
	OauthConfig *OauthConfig `json:"OauthConfig,omitnil,omitempty" name:"OauthConfig"`

	// Custom error code configuration.
	ResponseErrorCodes []*ResponseErrorCodeReq `json:"ResponseErrorCodes,omitnil,omitempty" name:"ResponseErrorCodes"`

	// TSF Serverless namespace ID (in beta test).
	TargetNamespaceId *string `json:"TargetNamespaceId,omitnil,omitempty" name:"TargetNamespaceId"`

	// User type.
	UserType *string `json:"UserType,omitnil,omitempty" name:"UserType"`

	// Whether to enable Base64 encoding. This parameter takes effect only when the backend is SCF.
	IsBase64Encoded *bool `json:"IsBase64Encoded,omitnil,omitempty" name:"IsBase64Encoded"`

	// Event bus ID.
	EventBusId *string `json:"EventBusId,omitnil,omitempty" name:"EventBusId"`

	// SCF function type, which takes effect if the backend type is `SCF`. Valid values: `EVENT` and `HTTP`.
	ServiceScfFunctionType *string `json:"ServiceScfFunctionType,omitnil,omitempty" name:"ServiceScfFunctionType"`

	// EIAM application type.
	EIAMAppType *string `json:"EIAMAppType,omitnil,omitempty" name:"EIAMAppType"`

	// EIAM application authentication type. Valid values: `AuthenticationOnly`, `Authentication`, `Authorization`.
	EIAMAuthType *string `json:"EIAMAuthType,omitnil,omitempty" name:"EIAMAuthType"`

	// Validity of the EIAM application token. Unit: second. Default value: `7200`.
	TokenTimeout *int64 `json:"TokenTimeout,omitnil,omitempty" name:"TokenTimeout"`

	// EIAM application ID.
	EIAMAppId *string `json:"EIAMAppId,omitnil,omitempty" name:"EIAMAppId"`

	// Owner of the resource
	Owner *string `json:"Owner,omitnil,omitempty" name:"Owner"`
}

Predefined struct for user

type CreateApiResponse

type CreateApiResponse struct {
	*tchttp.BaseResponse
	Response *CreateApiResponseParams `json:"Response"`
}

func NewCreateApiResponse

func NewCreateApiResponse() (response *CreateApiResponse)

func (*CreateApiResponse) FromJsonString

func (r *CreateApiResponse) 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 (*CreateApiResponse) ToJsonString

func (r *CreateApiResponse) ToJsonString() string

type CreateApiResponseParams

type CreateApiResponseParams struct {
	// API information
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *CreateApiRsp `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateApiRsp

type CreateApiRsp struct {
	// API ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`

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

	// Request method
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Method *string `json:"Method,omitnil,omitempty" name:"Method"`

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

	// Status of the import task
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Details of the error
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	ErrMsg *string `json:"ErrMsg,omitnil,omitempty" name:"ErrMsg"`

	// API name
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	ApiName *string `json:"ApiName,omitnil,omitempty" name:"ApiName"`
}

type CreateApiRspSet

type CreateApiRspSet struct {
	// Total number of APIs
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Information of created APIs
	ApiSet []*CreateApiRsp `json:"ApiSet,omitnil,omitempty" name:"ApiSet"`
}

type CreateIPStrategyRequest

type CreateIPStrategyRequest struct {
	*tchttp.BaseRequest

	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Custom policy name.
	StrategyName *string `json:"StrategyName,omitnil,omitempty" name:"StrategyName"`

	// Policy type. Valid values: WHITE (allowlist), BLACK (blocklist).
	StrategyType *string `json:"StrategyType,omitnil,omitempty" name:"StrategyType"`

	// Policy details. Multiple IPs are separated with \n.
	StrategyData *string `json:"StrategyData,omitnil,omitempty" name:"StrategyData"`
}

func NewCreateIPStrategyRequest

func NewCreateIPStrategyRequest() (request *CreateIPStrategyRequest)

func (*CreateIPStrategyRequest) FromJsonString

func (r *CreateIPStrategyRequest) 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 (*CreateIPStrategyRequest) ToJsonString

func (r *CreateIPStrategyRequest) ToJsonString() string

type CreateIPStrategyRequestParams

type CreateIPStrategyRequestParams struct {
	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Custom policy name.
	StrategyName *string `json:"StrategyName,omitnil,omitempty" name:"StrategyName"`

	// Policy type. Valid values: WHITE (allowlist), BLACK (blocklist).
	StrategyType *string `json:"StrategyType,omitnil,omitempty" name:"StrategyType"`

	// Policy details. Multiple IPs are separated with \n.
	StrategyData *string `json:"StrategyData,omitnil,omitempty" name:"StrategyData"`
}

Predefined struct for user

type CreateIPStrategyResponse

type CreateIPStrategyResponse struct {
	*tchttp.BaseResponse
	Response *CreateIPStrategyResponseParams `json:"Response"`
}

func NewCreateIPStrategyResponse

func NewCreateIPStrategyResponse() (response *CreateIPStrategyResponse)

func (*CreateIPStrategyResponse) FromJsonString

func (r *CreateIPStrategyResponse) 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 (*CreateIPStrategyResponse) ToJsonString

func (r *CreateIPStrategyResponse) ToJsonString() string

type CreateIPStrategyResponseParams

type CreateIPStrategyResponseParams struct {
	// New IP policy details.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *IPStrategy `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreatePluginRequest

type CreatePluginRequest struct {
	*tchttp.BaseRequest

	// Custom plugin name. A plugin name should contain 2-50 characters out of a-z, A-Z, 0-9, and _, which must begin with a letter and end with a letter or a number.
	PluginName *string `json:"PluginName,omitnil,omitempty" name:"PluginName"`

	// Plugin type. Valid values: `IPControl`, `TrafficControl`, `Cors`, `CustomReq`, `CustomAuth`, `Routing`, `TrafficControlByParameter`, `CircuitBreaker`, `ProxyCache`
	PluginType *string `json:"PluginType,omitnil,omitempty" name:"PluginType"`

	// Plugin definition statement in json format
	PluginData *string `json:"PluginData,omitnil,omitempty" name:"PluginData"`

	// Plugin description within 200 characters
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Label
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
}

func NewCreatePluginRequest

func NewCreatePluginRequest() (request *CreatePluginRequest)

func (*CreatePluginRequest) FromJsonString

func (r *CreatePluginRequest) 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 (*CreatePluginRequest) ToJsonString

func (r *CreatePluginRequest) ToJsonString() string

type CreatePluginRequestParams

type CreatePluginRequestParams struct {
	// Custom plugin name. A plugin name should contain 2-50 characters out of a-z, A-Z, 0-9, and _, which must begin with a letter and end with a letter or a number.
	PluginName *string `json:"PluginName,omitnil,omitempty" name:"PluginName"`

	// Plugin type. Valid values: `IPControl`, `TrafficControl`, `Cors`, `CustomReq`, `CustomAuth`, `Routing`, `TrafficControlByParameter`, `CircuitBreaker`, `ProxyCache`
	PluginType *string `json:"PluginType,omitnil,omitempty" name:"PluginType"`

	// Plugin definition statement in json format
	PluginData *string `json:"PluginData,omitnil,omitempty" name:"PluginData"`

	// Plugin description within 200 characters
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Label
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
}

Predefined struct for user

type CreatePluginResponse

type CreatePluginResponse struct {
	*tchttp.BaseResponse
	Response *CreatePluginResponseParams `json:"Response"`
}

func NewCreatePluginResponse

func NewCreatePluginResponse() (response *CreatePluginResponse)

func (*CreatePluginResponse) FromJsonString

func (r *CreatePluginResponse) 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 (*CreatePluginResponse) ToJsonString

func (r *CreatePluginResponse) ToJsonString() string

type CreatePluginResponseParams

type CreatePluginResponseParams struct {
	// Details of the new plugin
	Result *Plugin `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateServiceRequest

type CreateServiceRequest struct {
	*tchttp.BaseRequest

	// Custom service name.
	ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`

	// Service frontend request type, such as `http`, `https`, and `http&https`.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Custom service description.
	ServiceDesc *string `json:"ServiceDesc,omitnil,omitempty" name:"ServiceDesc"`

	// Dedicated cluster name, which is used to specify the dedicated cluster where the service is to be created.
	ExclusiveSetName *string `json:"ExclusiveSetName,omitnil,omitempty" name:"ExclusiveSetName"`

	// Network type list, which is used to specify the supported network types. INNER: private network access; OUTER: public network access. Default value: OUTER.
	NetTypes []*string `json:"NetTypes,omitnil,omitempty" name:"NetTypes"`

	// IP version number. Valid values: IPv4, IPv6. Default value: IPv4.
	IpVersion *string `json:"IpVersion,omitnil,omitempty" name:"IpVersion"`

	// Cluster name, which is reserved and used by the `tsf serverless` type.
	SetServerName *string `json:"SetServerName,omitnil,omitempty" name:"SetServerName"`

	// User type, which is reserved and can be used by `serverless` users.
	AppIdType *string `json:"AppIdType,omitnil,omitempty" name:"AppIdType"`

	// Tag information.
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Dedicated instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// VPC attribute
	UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"`
}

func NewCreateServiceRequest

func NewCreateServiceRequest() (request *CreateServiceRequest)

func (*CreateServiceRequest) FromJsonString

func (r *CreateServiceRequest) 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 (*CreateServiceRequest) ToJsonString

func (r *CreateServiceRequest) ToJsonString() string

type CreateServiceRequestParams

type CreateServiceRequestParams struct {
	// Custom service name.
	ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`

	// Service frontend request type, such as `http`, `https`, and `http&https`.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Custom service description.
	ServiceDesc *string `json:"ServiceDesc,omitnil,omitempty" name:"ServiceDesc"`

	// Dedicated cluster name, which is used to specify the dedicated cluster where the service is to be created.
	ExclusiveSetName *string `json:"ExclusiveSetName,omitnil,omitempty" name:"ExclusiveSetName"`

	// Network type list, which is used to specify the supported network types. INNER: private network access; OUTER: public network access. Default value: OUTER.
	NetTypes []*string `json:"NetTypes,omitnil,omitempty" name:"NetTypes"`

	// IP version number. Valid values: IPv4, IPv6. Default value: IPv4.
	IpVersion *string `json:"IpVersion,omitnil,omitempty" name:"IpVersion"`

	// Cluster name, which is reserved and used by the `tsf serverless` type.
	SetServerName *string `json:"SetServerName,omitnil,omitempty" name:"SetServerName"`

	// User type, which is reserved and can be used by `serverless` users.
	AppIdType *string `json:"AppIdType,omitnil,omitempty" name:"AppIdType"`

	// Tag information.
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Dedicated instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// VPC attribute
	UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"`
}

Predefined struct for user

type CreateServiceResponse

type CreateServiceResponse struct {
	*tchttp.BaseResponse
	Response *CreateServiceResponseParams `json:"Response"`
}

func NewCreateServiceResponse

func NewCreateServiceResponse() (response *CreateServiceResponse)

func (*CreateServiceResponse) FromJsonString

func (r *CreateServiceResponse) 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 (*CreateServiceResponse) ToJsonString

func (r *CreateServiceResponse) ToJsonString() string

type CreateServiceResponseParams

type CreateServiceResponseParams struct {
	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Custom service name.
	ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`

	// Custom service description.
	ServiceDesc *string `json:"ServiceDesc,omitnil,omitempty" name:"ServiceDesc"`

	// Default public domain name.
	OuterSubDomain *string `json:"OuterSubDomain,omitnil,omitempty" name:"OuterSubDomain"`

	// Default VPC domain name.
	InnerSubDomain *string `json:"InnerSubDomain,omitnil,omitempty" name:"InnerSubDomain"`

	// Service creation time in the format of `YYYY-MM-DDThh:mm:ssZ` according to ISO 8601 standard. UTC time is used.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Network type list. INNER: private network access; OUTER: public network access.
	NetTypes []*string `json:"NetTypes,omitnil,omitempty" name:"NetTypes"`

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

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateUpstreamRequest

type CreateUpstreamRequest struct {
	*tchttp.BaseRequest

	// Backend protocol. Valid values: `HTTP`, `HTTPS`
	Scheme *string `json:"Scheme,omitnil,omitempty" name:"Scheme"`

	// Load balancing algorithm. Valid value: `ROUND-ROBIN`
	Algorithm *string `json:"Algorithm,omitnil,omitempty" name:"Algorithm"`

	// Unique VPC ID
	UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"`

	// Upstream name
	UpstreamName *string `json:"UpstreamName,omitnil,omitempty" name:"UpstreamName"`

	// Upstream description
	UpstreamDescription *string `json:"UpstreamDescription,omitnil,omitempty" name:"UpstreamDescription"`

	// Upstream access type. Valid values: `IP_PORT`, `K8S`
	UpstreamType *string `json:"UpstreamType,omitnil,omitempty" name:"UpstreamType"`

	// Retry attempts. It defaults to `3`.
	Retries *uint64 `json:"Retries,omitnil,omitempty" name:"Retries"`

	// The Host request header that forwarded from the gateway to backend
	UpstreamHost *string `json:"UpstreamHost,omitnil,omitempty" name:"UpstreamHost"`

	// Backend nodes
	Nodes []*UpstreamNode `json:"Nodes,omitnil,omitempty" name:"Nodes"`

	// Label
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Health check configuration
	HealthChecker *UpstreamHealthChecker `json:"HealthChecker,omitnil,omitempty" name:"HealthChecker"`

	// Configuration of TKE service
	K8sService []*K8sService `json:"K8sService,omitnil,omitempty" name:"K8sService"`
}

func NewCreateUpstreamRequest

func NewCreateUpstreamRequest() (request *CreateUpstreamRequest)

func (*CreateUpstreamRequest) FromJsonString

func (r *CreateUpstreamRequest) 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 (*CreateUpstreamRequest) ToJsonString

func (r *CreateUpstreamRequest) ToJsonString() string

type CreateUpstreamRequestParams

type CreateUpstreamRequestParams struct {
	// Backend protocol. Valid values: `HTTP`, `HTTPS`
	Scheme *string `json:"Scheme,omitnil,omitempty" name:"Scheme"`

	// Load balancing algorithm. Valid value: `ROUND-ROBIN`
	Algorithm *string `json:"Algorithm,omitnil,omitempty" name:"Algorithm"`

	// Unique VPC ID
	UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"`

	// Upstream name
	UpstreamName *string `json:"UpstreamName,omitnil,omitempty" name:"UpstreamName"`

	// Upstream description
	UpstreamDescription *string `json:"UpstreamDescription,omitnil,omitempty" name:"UpstreamDescription"`

	// Upstream access type. Valid values: `IP_PORT`, `K8S`
	UpstreamType *string `json:"UpstreamType,omitnil,omitempty" name:"UpstreamType"`

	// Retry attempts. It defaults to `3`.
	Retries *uint64 `json:"Retries,omitnil,omitempty" name:"Retries"`

	// The Host request header that forwarded from the gateway to backend
	UpstreamHost *string `json:"UpstreamHost,omitnil,omitempty" name:"UpstreamHost"`

	// Backend nodes
	Nodes []*UpstreamNode `json:"Nodes,omitnil,omitempty" name:"Nodes"`

	// Label
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Health check configuration
	HealthChecker *UpstreamHealthChecker `json:"HealthChecker,omitnil,omitempty" name:"HealthChecker"`

	// Configuration of TKE service
	K8sService []*K8sService `json:"K8sService,omitnil,omitempty" name:"K8sService"`
}

Predefined struct for user

type CreateUpstreamResponse

type CreateUpstreamResponse struct {
	*tchttp.BaseResponse
	Response *CreateUpstreamResponseParams `json:"Response"`
}

func NewCreateUpstreamResponse

func NewCreateUpstreamResponse() (response *CreateUpstreamResponse)

func (*CreateUpstreamResponse) FromJsonString

func (r *CreateUpstreamResponse) 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 (*CreateUpstreamResponse) ToJsonString

func (r *CreateUpstreamResponse) ToJsonString() string

type CreateUpstreamResponseParams

type CreateUpstreamResponseParams struct {
	// The unique upstream ID returned
	// Note: This field may return `NULL`, indicating that no valid value was found.
	UpstreamId *string `json:"UpstreamId,omitnil,omitempty" name:"UpstreamId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateUsagePlanRequest

type CreateUsagePlanRequest struct {
	*tchttp.BaseRequest

	// Custom usage plan name.
	UsagePlanName *string `json:"UsagePlanName,omitnil,omitempty" name:"UsagePlanName"`

	// Custom usage plan description.
	UsagePlanDesc *string `json:"UsagePlanDesc,omitnil,omitempty" name:"UsagePlanDesc"`

	// Total number of requests allowed. Valid values: -1, [1,99999999]. The default value is `-1`, which indicates no limit.
	MaxRequestNum *int64 `json:"MaxRequestNum,omitnil,omitempty" name:"MaxRequestNum"`

	// Limit of requests per second. Valid values: -1, [1,2000]. The default value is `-1`, which indicates no limit.
	MaxRequestNumPreSec *int64 `json:"MaxRequestNumPreSec,omitnil,omitempty" name:"MaxRequestNumPreSec"`
}

func NewCreateUsagePlanRequest

func NewCreateUsagePlanRequest() (request *CreateUsagePlanRequest)

func (*CreateUsagePlanRequest) FromJsonString

func (r *CreateUsagePlanRequest) 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 (*CreateUsagePlanRequest) ToJsonString

func (r *CreateUsagePlanRequest) ToJsonString() string

type CreateUsagePlanRequestParams

type CreateUsagePlanRequestParams struct {
	// Custom usage plan name.
	UsagePlanName *string `json:"UsagePlanName,omitnil,omitempty" name:"UsagePlanName"`

	// Custom usage plan description.
	UsagePlanDesc *string `json:"UsagePlanDesc,omitnil,omitempty" name:"UsagePlanDesc"`

	// Total number of requests allowed. Valid values: -1, [1,99999999]. The default value is `-1`, which indicates no limit.
	MaxRequestNum *int64 `json:"MaxRequestNum,omitnil,omitempty" name:"MaxRequestNum"`

	// Limit of requests per second. Valid values: -1, [1,2000]. The default value is `-1`, which indicates no limit.
	MaxRequestNumPreSec *int64 `json:"MaxRequestNumPreSec,omitnil,omitempty" name:"MaxRequestNumPreSec"`
}

Predefined struct for user

type CreateUsagePlanResponse

type CreateUsagePlanResponse struct {
	*tchttp.BaseResponse
	Response *CreateUsagePlanResponseParams `json:"Response"`
}

func NewCreateUsagePlanResponse

func NewCreateUsagePlanResponse() (response *CreateUsagePlanResponse)

func (*CreateUsagePlanResponse) FromJsonString

func (r *CreateUsagePlanResponse) 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 (*CreateUsagePlanResponse) ToJsonString

func (r *CreateUsagePlanResponse) ToJsonString() string

type CreateUsagePlanResponseParams

type CreateUsagePlanResponseParams struct {
	// Usage plan details.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *UsagePlanInfo `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteAPIDocRequest

type DeleteAPIDocRequest struct {
	*tchttp.BaseRequest

	// API document ID
	ApiDocId *string `json:"ApiDocId,omitnil,omitempty" name:"ApiDocId"`
}

func NewDeleteAPIDocRequest

func NewDeleteAPIDocRequest() (request *DeleteAPIDocRequest)

func (*DeleteAPIDocRequest) FromJsonString

func (r *DeleteAPIDocRequest) 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 (*DeleteAPIDocRequest) ToJsonString

func (r *DeleteAPIDocRequest) ToJsonString() string

type DeleteAPIDocRequestParams

type DeleteAPIDocRequestParams struct {
	// API document ID
	ApiDocId *string `json:"ApiDocId,omitnil,omitempty" name:"ApiDocId"`
}

Predefined struct for user

type DeleteAPIDocResponse

type DeleteAPIDocResponse struct {
	*tchttp.BaseResponse
	Response *DeleteAPIDocResponseParams `json:"Response"`
}

func NewDeleteAPIDocResponse

func NewDeleteAPIDocResponse() (response *DeleteAPIDocResponse)

func (*DeleteAPIDocResponse) FromJsonString

func (r *DeleteAPIDocResponse) 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 (*DeleteAPIDocResponse) ToJsonString

func (r *DeleteAPIDocResponse) ToJsonString() string

type DeleteAPIDocResponseParams

type DeleteAPIDocResponseParams struct {
	// Whether the operation succeeded
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteApiAppRequest

type DeleteApiAppRequest struct {
	*tchttp.BaseRequest

	// Unique application ID.
	ApiAppId *string `json:"ApiAppId,omitnil,omitempty" name:"ApiAppId"`
}

func NewDeleteApiAppRequest

func NewDeleteApiAppRequest() (request *DeleteApiAppRequest)

func (*DeleteApiAppRequest) FromJsonString

func (r *DeleteApiAppRequest) 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 (*DeleteApiAppRequest) ToJsonString

func (r *DeleteApiAppRequest) ToJsonString() string

type DeleteApiAppRequestParams

type DeleteApiAppRequestParams struct {
	// Unique application ID.
	ApiAppId *string `json:"ApiAppId,omitnil,omitempty" name:"ApiAppId"`
}

Predefined struct for user

type DeleteApiAppResponse

type DeleteApiAppResponse struct {
	*tchttp.BaseResponse
	Response *DeleteApiAppResponseParams `json:"Response"`
}

func NewDeleteApiAppResponse

func NewDeleteApiAppResponse() (response *DeleteApiAppResponse)

func (*DeleteApiAppResponse) FromJsonString

func (r *DeleteApiAppResponse) 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 (*DeleteApiAppResponse) ToJsonString

func (r *DeleteApiAppResponse) ToJsonString() string

type DeleteApiAppResponseParams

type DeleteApiAppResponseParams struct {
	// Whether deletion succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteApiKeyRequest

type DeleteApiKeyRequest struct {
	*tchttp.BaseRequest

	// ID of the key to be deleted.
	AccessKeyId *string `json:"AccessKeyId,omitnil,omitempty" name:"AccessKeyId"`
}

func NewDeleteApiKeyRequest

func NewDeleteApiKeyRequest() (request *DeleteApiKeyRequest)

func (*DeleteApiKeyRequest) FromJsonString

func (r *DeleteApiKeyRequest) 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 (*DeleteApiKeyRequest) ToJsonString

func (r *DeleteApiKeyRequest) ToJsonString() string

type DeleteApiKeyRequestParams

type DeleteApiKeyRequestParams struct {
	// ID of the key to be deleted.
	AccessKeyId *string `json:"AccessKeyId,omitnil,omitempty" name:"AccessKeyId"`
}

Predefined struct for user

type DeleteApiKeyResponse

type DeleteApiKeyResponse struct {
	*tchttp.BaseResponse
	Response *DeleteApiKeyResponseParams `json:"Response"`
}

func NewDeleteApiKeyResponse

func NewDeleteApiKeyResponse() (response *DeleteApiKeyResponse)

func (*DeleteApiKeyResponse) FromJsonString

func (r *DeleteApiKeyResponse) 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 (*DeleteApiKeyResponse) ToJsonString

func (r *DeleteApiKeyResponse) ToJsonString() string

type DeleteApiKeyResponseParams

type DeleteApiKeyResponseParams struct {
	// Whether deletion succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteApiRequest

type DeleteApiRequest struct {
	*tchttp.BaseRequest

	// Unique service ID of API.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique API ID.
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`
}

func NewDeleteApiRequest

func NewDeleteApiRequest() (request *DeleteApiRequest)

func (*DeleteApiRequest) FromJsonString

func (r *DeleteApiRequest) 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 (*DeleteApiRequest) ToJsonString

func (r *DeleteApiRequest) ToJsonString() string

type DeleteApiRequestParams

type DeleteApiRequestParams struct {
	// Unique service ID of API.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique API ID.
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`
}

Predefined struct for user

type DeleteApiResponse

type DeleteApiResponse struct {
	*tchttp.BaseResponse
	Response *DeleteApiResponseParams `json:"Response"`
}

func NewDeleteApiResponse

func NewDeleteApiResponse() (response *DeleteApiResponse)

func (*DeleteApiResponse) FromJsonString

func (r *DeleteApiResponse) 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 (*DeleteApiResponse) ToJsonString

func (r *DeleteApiResponse) ToJsonString() string

type DeleteApiResponseParams

type DeleteApiResponseParams struct {
	// Whether deletion succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteIPStrategyRequest

type DeleteIPStrategyRequest struct {
	*tchttp.BaseRequest

	// Unique service ID of the IP policy to be deleted.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique ID of the IP policy to be deleted.
	StrategyId *string `json:"StrategyId,omitnil,omitempty" name:"StrategyId"`
}

func NewDeleteIPStrategyRequest

func NewDeleteIPStrategyRequest() (request *DeleteIPStrategyRequest)

func (*DeleteIPStrategyRequest) FromJsonString

func (r *DeleteIPStrategyRequest) 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 (*DeleteIPStrategyRequest) ToJsonString

func (r *DeleteIPStrategyRequest) ToJsonString() string

type DeleteIPStrategyRequestParams

type DeleteIPStrategyRequestParams struct {
	// Unique service ID of the IP policy to be deleted.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique ID of the IP policy to be deleted.
	StrategyId *string `json:"StrategyId,omitnil,omitempty" name:"StrategyId"`
}

Predefined struct for user

type DeleteIPStrategyResponse

type DeleteIPStrategyResponse struct {
	*tchttp.BaseResponse
	Response *DeleteIPStrategyResponseParams `json:"Response"`
}

func NewDeleteIPStrategyResponse

func NewDeleteIPStrategyResponse() (response *DeleteIPStrategyResponse)

func (*DeleteIPStrategyResponse) FromJsonString

func (r *DeleteIPStrategyResponse) 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 (*DeleteIPStrategyResponse) ToJsonString

func (r *DeleteIPStrategyResponse) ToJsonString() string

type DeleteIPStrategyResponseParams

type DeleteIPStrategyResponseParams struct {
	// Whether deletion succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeletePluginRequest

type DeletePluginRequest struct {
	*tchttp.BaseRequest

	// ID of the plugin to be deleted
	PluginId *string `json:"PluginId,omitnil,omitempty" name:"PluginId"`
}

func NewDeletePluginRequest

func NewDeletePluginRequest() (request *DeletePluginRequest)

func (*DeletePluginRequest) FromJsonString

func (r *DeletePluginRequest) 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 (*DeletePluginRequest) ToJsonString

func (r *DeletePluginRequest) ToJsonString() string

type DeletePluginRequestParams

type DeletePluginRequestParams struct {
	// ID of the plugin to be deleted
	PluginId *string `json:"PluginId,omitnil,omitempty" name:"PluginId"`
}

Predefined struct for user

type DeletePluginResponse

type DeletePluginResponse struct {
	*tchttp.BaseResponse
	Response *DeletePluginResponseParams `json:"Response"`
}

func NewDeletePluginResponse

func NewDeletePluginResponse() (response *DeletePluginResponse)

func (*DeletePluginResponse) FromJsonString

func (r *DeletePluginResponse) 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 (*DeletePluginResponse) ToJsonString

func (r *DeletePluginResponse) ToJsonString() string

type DeletePluginResponseParams

type DeletePluginResponseParams struct {
	// Result of the deletion action
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteServiceRequest

type DeleteServiceRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the service to be deleted.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// A parameter used to set to skip the deletion precondition verification (only supported for services on dedicated instances).
	SkipVerification *int64 `json:"SkipVerification,omitnil,omitempty" name:"SkipVerification"`
}

func NewDeleteServiceRequest

func NewDeleteServiceRequest() (request *DeleteServiceRequest)

func (*DeleteServiceRequest) FromJsonString

func (r *DeleteServiceRequest) 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 (*DeleteServiceRequest) ToJsonString

func (r *DeleteServiceRequest) ToJsonString() string

type DeleteServiceRequestParams

type DeleteServiceRequestParams struct {
	// Unique ID of the service to be deleted.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// A parameter used to set to skip the deletion precondition verification (only supported for services on dedicated instances).
	SkipVerification *int64 `json:"SkipVerification,omitnil,omitempty" name:"SkipVerification"`
}

Predefined struct for user

type DeleteServiceResponse

type DeleteServiceResponse struct {
	*tchttp.BaseResponse
	Response *DeleteServiceResponseParams `json:"Response"`
}

func NewDeleteServiceResponse

func NewDeleteServiceResponse() (response *DeleteServiceResponse)

func (*DeleteServiceResponse) FromJsonString

func (r *DeleteServiceResponse) 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 (*DeleteServiceResponse) ToJsonString

func (r *DeleteServiceResponse) ToJsonString() string

type DeleteServiceResponseParams

type DeleteServiceResponseParams struct {
	// Whether deletion succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteServiceSubDomainMappingRequest

type DeleteServiceSubDomainMappingRequest struct {
	*tchttp.BaseRequest

	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Custom domain name bound to service.
	SubDomain *string `json:"SubDomain,omitnil,omitempty" name:"SubDomain"`

	// Name of the environment whose mapping is to be deleted. Valid values: test (test environment), prepub (pre-release environment), release (release environment).
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`
}

func NewDeleteServiceSubDomainMappingRequest

func NewDeleteServiceSubDomainMappingRequest() (request *DeleteServiceSubDomainMappingRequest)

func (*DeleteServiceSubDomainMappingRequest) FromJsonString

func (r *DeleteServiceSubDomainMappingRequest) 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 (*DeleteServiceSubDomainMappingRequest) ToJsonString

func (r *DeleteServiceSubDomainMappingRequest) ToJsonString() string

type DeleteServiceSubDomainMappingRequestParams

type DeleteServiceSubDomainMappingRequestParams struct {
	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Custom domain name bound to service.
	SubDomain *string `json:"SubDomain,omitnil,omitempty" name:"SubDomain"`

	// Name of the environment whose mapping is to be deleted. Valid values: test (test environment), prepub (pre-release environment), release (release environment).
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`
}

Predefined struct for user

type DeleteServiceSubDomainMappingResponse

type DeleteServiceSubDomainMappingResponse struct {
	*tchttp.BaseResponse
	Response *DeleteServiceSubDomainMappingResponseParams `json:"Response"`
}

func NewDeleteServiceSubDomainMappingResponse

func NewDeleteServiceSubDomainMappingResponse() (response *DeleteServiceSubDomainMappingResponse)

func (*DeleteServiceSubDomainMappingResponse) FromJsonString

func (r *DeleteServiceSubDomainMappingResponse) 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 (*DeleteServiceSubDomainMappingResponse) ToJsonString

type DeleteServiceSubDomainMappingResponseParams

type DeleteServiceSubDomainMappingResponseParams struct {
	// Whether the path mapping of the custom domain name is successfully deleted.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteUpstreamRequest

type DeleteUpstreamRequest struct {
	*tchttp.BaseRequest

	// ID of the upstream to be deleted
	UpstreamId *string `json:"UpstreamId,omitnil,omitempty" name:"UpstreamId"`
}

func NewDeleteUpstreamRequest

func NewDeleteUpstreamRequest() (request *DeleteUpstreamRequest)

func (*DeleteUpstreamRequest) FromJsonString

func (r *DeleteUpstreamRequest) 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 (*DeleteUpstreamRequest) ToJsonString

func (r *DeleteUpstreamRequest) ToJsonString() string

type DeleteUpstreamRequestParams

type DeleteUpstreamRequestParams struct {
	// ID of the upstream to be deleted
	UpstreamId *string `json:"UpstreamId,omitnil,omitempty" name:"UpstreamId"`
}

Predefined struct for user

type DeleteUpstreamResponse

type DeleteUpstreamResponse struct {
	*tchttp.BaseResponse
	Response *DeleteUpstreamResponseParams `json:"Response"`
}

func NewDeleteUpstreamResponse

func NewDeleteUpstreamResponse() (response *DeleteUpstreamResponse)

func (*DeleteUpstreamResponse) FromJsonString

func (r *DeleteUpstreamResponse) 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 (*DeleteUpstreamResponse) ToJsonString

func (r *DeleteUpstreamResponse) ToJsonString() string

type DeleteUpstreamResponseParams

type DeleteUpstreamResponseParams struct {
	// ID of the deleted upstream
	// Note: This field may return `NULL`, indicating that no valid value was found.
	UpstreamId *string `json:"UpstreamId,omitnil,omitempty" name:"UpstreamId"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteUsagePlanRequest

type DeleteUsagePlanRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the usage plan to be deleted.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`
}

func NewDeleteUsagePlanRequest

func NewDeleteUsagePlanRequest() (request *DeleteUsagePlanRequest)

func (*DeleteUsagePlanRequest) FromJsonString

func (r *DeleteUsagePlanRequest) 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 (*DeleteUsagePlanRequest) ToJsonString

func (r *DeleteUsagePlanRequest) ToJsonString() string

type DeleteUsagePlanRequestParams

type DeleteUsagePlanRequestParams struct {
	// Unique ID of the usage plan to be deleted.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`
}

Predefined struct for user

type DeleteUsagePlanResponse

type DeleteUsagePlanResponse struct {
	*tchttp.BaseResponse
	Response *DeleteUsagePlanResponseParams `json:"Response"`
}

func NewDeleteUsagePlanResponse

func NewDeleteUsagePlanResponse() (response *DeleteUsagePlanResponse)

func (*DeleteUsagePlanResponse) FromJsonString

func (r *DeleteUsagePlanResponse) 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 (*DeleteUsagePlanResponse) ToJsonString

func (r *DeleteUsagePlanResponse) ToJsonString() string

type DeleteUsagePlanResponseParams

type DeleteUsagePlanResponseParams struct {
	// Whether deletion succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DemoteServiceUsagePlanRequest

type DemoteServiceUsagePlanRequest struct {
	*tchttp.BaseRequest

	// Usage plan ID.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`

	// Unique ID of the service to be demoted.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Environment name.
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`
}

func NewDemoteServiceUsagePlanRequest

func NewDemoteServiceUsagePlanRequest() (request *DemoteServiceUsagePlanRequest)

func (*DemoteServiceUsagePlanRequest) FromJsonString

func (r *DemoteServiceUsagePlanRequest) 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 (*DemoteServiceUsagePlanRequest) ToJsonString

func (r *DemoteServiceUsagePlanRequest) ToJsonString() string

type DemoteServiceUsagePlanRequestParams

type DemoteServiceUsagePlanRequestParams struct {
	// Usage plan ID.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`

	// Unique ID of the service to be demoted.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Environment name.
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`
}

Predefined struct for user

type DemoteServiceUsagePlanResponse

type DemoteServiceUsagePlanResponse struct {
	*tchttp.BaseResponse
	Response *DemoteServiceUsagePlanResponseParams `json:"Response"`
}

func NewDemoteServiceUsagePlanResponse

func NewDemoteServiceUsagePlanResponse() (response *DemoteServiceUsagePlanResponse)

func (*DemoteServiceUsagePlanResponse) FromJsonString

func (r *DemoteServiceUsagePlanResponse) 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 (*DemoteServiceUsagePlanResponse) ToJsonString

func (r *DemoteServiceUsagePlanResponse) ToJsonString() string

type DemoteServiceUsagePlanResponseParams

type DemoteServiceUsagePlanResponseParams struct {
	// Whether demotion succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DesApisStatus

type DesApisStatus struct {
	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique API ID.
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`

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

	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ModifiedTime *string `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"`

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

	// VPC ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VpcId *int64 `json:"VpcId,omitnil,omitempty" name:"VpcId"`

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

	// API type. Valid values: NORMAL (general API), TSF (microservice API).
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApiType *string `json:"ApiType,omitnil,omitempty" name:"ApiType"`

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

	// Whether to enable debugging after purchase (reserved field for the marketplace)
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsDebugAfterCharge *bool `json:"IsDebugAfterCharge,omitnil,omitempty" name:"IsDebugAfterCharge"`

	// API authentication type. Valid values: `SECRET` (key pair authentication), `NONE` (no authentication), `OAUTH`, and `EIAM`
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	AuthType *string `json:"AuthType,omitnil,omitempty" name:"AuthType"`

	// OAuth API type, which is valid if `AuthType` is `OAUTH`. Valid values: NORMAL (business API), OAUTH (authorization API).
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApiBusinessType *string `json:"ApiBusinessType,omitnil,omitempty" name:"ApiBusinessType"`

	// Unique ID of associated authorization API, which takes effect only if `AuthType` is `OAUTH` and `ApiBusinessType` is `NORMAL`. It is the unique ID of the OAuth 2.0 authorization API bound to the business API.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AuthRelationApiId *string `json:"AuthRelationApiId,omitnil,omitempty" name:"AuthRelationApiId"`

	// OAuth configuration information, which takes effect if `AuthType` is `OAUTH`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OauthConfig *OauthConfig `json:"OauthConfig,omitnil,omitempty" name:"OauthConfig"`

	// List of business APIs associated with authorization API.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RelationBuniessApiIds []*string `json:"RelationBuniessApiIds,omitnil,omitempty" name:"RelationBuniessApiIds"`

	// Information of tags associated with API.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"`

	// API path, such as `/path`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// API request method, such as `GET`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Method *string `json:"Method,omitnil,omitempty" name:"Method"`
}

type DescribeAPIDocDetailRequest

type DescribeAPIDocDetailRequest struct {
	*tchttp.BaseRequest

	// API document ID
	ApiDocId *string `json:"ApiDocId,omitnil,omitempty" name:"ApiDocId"`
}

func NewDescribeAPIDocDetailRequest

func NewDescribeAPIDocDetailRequest() (request *DescribeAPIDocDetailRequest)

func (*DescribeAPIDocDetailRequest) FromJsonString

func (r *DescribeAPIDocDetailRequest) 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 (*DescribeAPIDocDetailRequest) ToJsonString

func (r *DescribeAPIDocDetailRequest) ToJsonString() string

type DescribeAPIDocDetailRequestParams

type DescribeAPIDocDetailRequestParams struct {
	// API document ID
	ApiDocId *string `json:"ApiDocId,omitnil,omitempty" name:"ApiDocId"`
}

Predefined struct for user

type DescribeAPIDocDetailResponse

type DescribeAPIDocDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAPIDocDetailResponseParams `json:"Response"`
}

func NewDescribeAPIDocDetailResponse

func NewDescribeAPIDocDetailResponse() (response *DescribeAPIDocDetailResponse)

func (*DescribeAPIDocDetailResponse) FromJsonString

func (r *DescribeAPIDocDetailResponse) 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 (*DescribeAPIDocDetailResponse) ToJsonString

func (r *DescribeAPIDocDetailResponse) ToJsonString() string

type DescribeAPIDocDetailResponseParams

type DescribeAPIDocDetailResponseParams struct {
	// API document details
	Result *APIDocInfo `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAPIDocsRequest

type DescribeAPIDocsRequest struct {
	*tchttp.BaseRequest

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeAPIDocsRequest

func NewDescribeAPIDocsRequest() (request *DescribeAPIDocsRequest)

func (*DescribeAPIDocsRequest) FromJsonString

func (r *DescribeAPIDocsRequest) 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 (*DescribeAPIDocsRequest) ToJsonString

func (r *DescribeAPIDocsRequest) ToJsonString() string

type DescribeAPIDocsRequestParams

type DescribeAPIDocsRequestParams struct {
	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeAPIDocsResponse

type DescribeAPIDocsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAPIDocsResponseParams `json:"Response"`
}

func NewDescribeAPIDocsResponse

func NewDescribeAPIDocsResponse() (response *DescribeAPIDocsResponse)

func (*DescribeAPIDocsResponse) FromJsonString

func (r *DescribeAPIDocsResponse) 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 (*DescribeAPIDocsResponse) ToJsonString

func (r *DescribeAPIDocsResponse) ToJsonString() string

type DescribeAPIDocsResponseParams

type DescribeAPIDocsResponseParams struct {
	// API document list information
	Result *APIDocs `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAllPluginApisRequest

type DescribeAllPluginApisRequest struct {
	*tchttp.BaseRequest

	// ID of the service to be queried
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// ID of the plugin to be queried
	PluginId *string `json:"PluginId,omitnil,omitempty" name:"PluginId"`

	// Environment information
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// Number of returned results. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeAllPluginApisRequest

func NewDescribeAllPluginApisRequest() (request *DescribeAllPluginApisRequest)

func (*DescribeAllPluginApisRequest) FromJsonString

func (r *DescribeAllPluginApisRequest) 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 (*DescribeAllPluginApisRequest) ToJsonString

func (r *DescribeAllPluginApisRequest) ToJsonString() string

type DescribeAllPluginApisRequestParams

type DescribeAllPluginApisRequestParams struct {
	// ID of the service to be queried
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// ID of the plugin to be queried
	PluginId *string `json:"PluginId,omitnil,omitempty" name:"PluginId"`

	// Environment information
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// Number of returned results. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeAllPluginApisResponse

type DescribeAllPluginApisResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAllPluginApisResponseParams `json:"Response"`
}

func NewDescribeAllPluginApisResponse

func NewDescribeAllPluginApisResponse() (response *DescribeAllPluginApisResponse)

func (*DescribeAllPluginApisResponse) FromJsonString

func (r *DescribeAllPluginApisResponse) 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 (*DescribeAllPluginApisResponse) ToJsonString

func (r *DescribeAllPluginApisResponse) ToJsonString() string

type DescribeAllPluginApisResponseParams

type DescribeAllPluginApisResponseParams struct {
	// List of APIs that ca use this plugin
	Result *ApiInfoSummary `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeApiAppBindApisStatusRequest

type DescribeApiAppBindApisStatusRequest struct {
	*tchttp.BaseRequest

	// Application ID
	ApiAppId *string `json:"ApiAppId,omitnil,omitempty" name:"ApiAppId"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filter. Valid values: ApiId, ApiName, ServiceId, Environment, KeyWord (match with `name` or ID).
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeApiAppBindApisStatusRequest

func NewDescribeApiAppBindApisStatusRequest() (request *DescribeApiAppBindApisStatusRequest)

func (*DescribeApiAppBindApisStatusRequest) FromJsonString

func (r *DescribeApiAppBindApisStatusRequest) 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 (*DescribeApiAppBindApisStatusRequest) ToJsonString

func (r *DescribeApiAppBindApisStatusRequest) ToJsonString() string

type DescribeApiAppBindApisStatusRequestParams

type DescribeApiAppBindApisStatusRequestParams struct {
	// Application ID
	ApiAppId *string `json:"ApiAppId,omitnil,omitempty" name:"ApiAppId"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filter. Valid values: ApiId, ApiName, ServiceId, Environment, KeyWord (match with `name` or ID).
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeApiAppBindApisStatusResponse

type DescribeApiAppBindApisStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeApiAppBindApisStatusResponseParams `json:"Response"`
}

func NewDescribeApiAppBindApisStatusResponse

func NewDescribeApiAppBindApisStatusResponse() (response *DescribeApiAppBindApisStatusResponse)

func (*DescribeApiAppBindApisStatusResponse) FromJsonString

func (r *DescribeApiAppBindApisStatusResponse) 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 (*DescribeApiAppBindApisStatusResponse) ToJsonString

func (r *DescribeApiAppBindApisStatusResponse) ToJsonString() string

type DescribeApiAppBindApisStatusResponseParams

type DescribeApiAppBindApisStatusResponseParams struct {
	// List of APIs bound to the application.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *ApiAppApiInfos `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeApiAppRequest

type DescribeApiAppRequest struct {
	*tchttp.BaseRequest

	// Application ID.
	ApiAppId *string `json:"ApiAppId,omitnil,omitempty" name:"ApiAppId"`
}

func NewDescribeApiAppRequest

func NewDescribeApiAppRequest() (request *DescribeApiAppRequest)

func (*DescribeApiAppRequest) FromJsonString

func (r *DescribeApiAppRequest) 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 (*DescribeApiAppRequest) ToJsonString

func (r *DescribeApiAppRequest) ToJsonString() string

type DescribeApiAppRequestParams

type DescribeApiAppRequestParams struct {
	// Application ID.
	ApiAppId *string `json:"ApiAppId,omitnil,omitempty" name:"ApiAppId"`
}

Predefined struct for user

type DescribeApiAppResponse

type DescribeApiAppResponse struct {
	*tchttp.BaseResponse
	Response *DescribeApiAppResponseParams `json:"Response"`
}

func NewDescribeApiAppResponse

func NewDescribeApiAppResponse() (response *DescribeApiAppResponse)

func (*DescribeApiAppResponse) FromJsonString

func (r *DescribeApiAppResponse) 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 (*DescribeApiAppResponse) ToJsonString

func (r *DescribeApiAppResponse) ToJsonString() string

type DescribeApiAppResponseParams

type DescribeApiAppResponseParams struct {
	// Application details.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *ApiAppInfos `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeApiAppsStatusRequest

type DescribeApiAppsStatusRequest struct {
	*tchttp.BaseRequest

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filter. Valid values: ApiAppId, ApiAppName, KeyWord (match with `name` or ID).
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeApiAppsStatusRequest

func NewDescribeApiAppsStatusRequest() (request *DescribeApiAppsStatusRequest)

func (*DescribeApiAppsStatusRequest) FromJsonString

func (r *DescribeApiAppsStatusRequest) 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 (*DescribeApiAppsStatusRequest) ToJsonString

func (r *DescribeApiAppsStatusRequest) ToJsonString() string

type DescribeApiAppsStatusRequestParams

type DescribeApiAppsStatusRequestParams struct {
	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filter. Valid values: ApiAppId, ApiAppName, KeyWord (match with `name` or ID).
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeApiAppsStatusResponse

type DescribeApiAppsStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeApiAppsStatusResponseParams `json:"Response"`
}

func NewDescribeApiAppsStatusResponse

func NewDescribeApiAppsStatusResponse() (response *DescribeApiAppsStatusResponse)

func (*DescribeApiAppsStatusResponse) FromJsonString

func (r *DescribeApiAppsStatusResponse) 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 (*DescribeApiAppsStatusResponse) ToJsonString

func (r *DescribeApiAppsStatusResponse) ToJsonString() string

type DescribeApiAppsStatusResponseParams

type DescribeApiAppsStatusResponseParams struct {
	// Application list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *ApiAppInfos `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeApiBindApiAppsStatusRequest

type DescribeApiBindApiAppsStatusRequest struct {
	*tchttp.BaseRequest

	// Service ID
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Array of API IDs
	ApiIds []*string `json:"ApiIds,omitnil,omitempty" name:"ApiIds"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filter. Valid values: ApiAppId, Environment, KeyWord (match with `name` or ID).
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeApiBindApiAppsStatusRequest

func NewDescribeApiBindApiAppsStatusRequest() (request *DescribeApiBindApiAppsStatusRequest)

func (*DescribeApiBindApiAppsStatusRequest) FromJsonString

func (r *DescribeApiBindApiAppsStatusRequest) 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 (*DescribeApiBindApiAppsStatusRequest) ToJsonString

func (r *DescribeApiBindApiAppsStatusRequest) ToJsonString() string

type DescribeApiBindApiAppsStatusRequestParams

type DescribeApiBindApiAppsStatusRequestParams struct {
	// Service ID
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Array of API IDs
	ApiIds []*string `json:"ApiIds,omitnil,omitempty" name:"ApiIds"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filter. Valid values: ApiAppId, Environment, KeyWord (match with `name` or ID).
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeApiBindApiAppsStatusResponse

type DescribeApiBindApiAppsStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeApiBindApiAppsStatusResponseParams `json:"Response"`
}

func NewDescribeApiBindApiAppsStatusResponse

func NewDescribeApiBindApiAppsStatusResponse() (response *DescribeApiBindApiAppsStatusResponse)

func (*DescribeApiBindApiAppsStatusResponse) FromJsonString

func (r *DescribeApiBindApiAppsStatusResponse) 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 (*DescribeApiBindApiAppsStatusResponse) ToJsonString

func (r *DescribeApiBindApiAppsStatusResponse) ToJsonString() string

type DescribeApiBindApiAppsStatusResponseParams

type DescribeApiBindApiAppsStatusResponseParams struct {
	// List of APIs bound to the application.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *ApiAppApiInfos `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeApiEnvironmentStrategyRequest

type DescribeApiEnvironmentStrategyRequest struct {
	*tchttp.BaseRequest

	// Unique service ID of API.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Environment list.
	EnvironmentNames []*string `json:"EnvironmentNames,omitnil,omitempty" name:"EnvironmentNames"`

	// Unique API ID.
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeApiEnvironmentStrategyRequest

func NewDescribeApiEnvironmentStrategyRequest() (request *DescribeApiEnvironmentStrategyRequest)

func (*DescribeApiEnvironmentStrategyRequest) FromJsonString

func (r *DescribeApiEnvironmentStrategyRequest) 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 (*DescribeApiEnvironmentStrategyRequest) ToJsonString

type DescribeApiEnvironmentStrategyRequestParams

type DescribeApiEnvironmentStrategyRequestParams struct {
	// Unique service ID of API.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Environment list.
	EnvironmentNames []*string `json:"EnvironmentNames,omitnil,omitempty" name:"EnvironmentNames"`

	// Unique API ID.
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeApiEnvironmentStrategyResponse

type DescribeApiEnvironmentStrategyResponse struct {
	*tchttp.BaseResponse
	Response *DescribeApiEnvironmentStrategyResponseParams `json:"Response"`
}

func NewDescribeApiEnvironmentStrategyResponse

func NewDescribeApiEnvironmentStrategyResponse() (response *DescribeApiEnvironmentStrategyResponse)

func (*DescribeApiEnvironmentStrategyResponse) FromJsonString

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

func (*DescribeApiEnvironmentStrategyResponse) ToJsonString

type DescribeApiEnvironmentStrategyResponseParams

type DescribeApiEnvironmentStrategyResponseParams struct {
	// Details of policies bound to API
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *ApiEnvironmentStrategyStataus `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeApiForApiAppRequest

type DescribeApiForApiAppRequest struct {
	*tchttp.BaseRequest

	// Unique service ID of the API
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique API ID
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`

	// API region
	ApiRegion *string `json:"ApiRegion,omitnil,omitempty" name:"ApiRegion"`
}

func NewDescribeApiForApiAppRequest

func NewDescribeApiForApiAppRequest() (request *DescribeApiForApiAppRequest)

func (*DescribeApiForApiAppRequest) FromJsonString

func (r *DescribeApiForApiAppRequest) 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 (*DescribeApiForApiAppRequest) ToJsonString

func (r *DescribeApiForApiAppRequest) ToJsonString() string

type DescribeApiForApiAppRequestParams

type DescribeApiForApiAppRequestParams struct {
	// Unique service ID of the API
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique API ID
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`

	// API region
	ApiRegion *string `json:"ApiRegion,omitnil,omitempty" name:"ApiRegion"`
}

Predefined struct for user

type DescribeApiForApiAppResponse

type DescribeApiForApiAppResponse struct {
	*tchttp.BaseResponse
	Response *DescribeApiForApiAppResponseParams `json:"Response"`
}

func NewDescribeApiForApiAppResponse

func NewDescribeApiForApiAppResponse() (response *DescribeApiForApiAppResponse)

func (*DescribeApiForApiAppResponse) FromJsonString

func (r *DescribeApiForApiAppResponse) 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 (*DescribeApiForApiAppResponse) ToJsonString

func (r *DescribeApiForApiAppResponse) ToJsonString() string

type DescribeApiForApiAppResponseParams

type DescribeApiForApiAppResponseParams struct {
	// API details.
	Result *ApiInfo `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeApiKeyRequest

type DescribeApiKeyRequest struct {
	*tchttp.BaseRequest

	// API key ID.
	AccessKeyId *string `json:"AccessKeyId,omitnil,omitempty" name:"AccessKeyId"`
}

func NewDescribeApiKeyRequest

func NewDescribeApiKeyRequest() (request *DescribeApiKeyRequest)

func (*DescribeApiKeyRequest) FromJsonString

func (r *DescribeApiKeyRequest) 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 (*DescribeApiKeyRequest) ToJsonString

func (r *DescribeApiKeyRequest) ToJsonString() string

type DescribeApiKeyRequestParams

type DescribeApiKeyRequestParams struct {
	// API key ID.
	AccessKeyId *string `json:"AccessKeyId,omitnil,omitempty" name:"AccessKeyId"`
}

Predefined struct for user

type DescribeApiKeyResponse

type DescribeApiKeyResponse struct {
	*tchttp.BaseResponse
	Response *DescribeApiKeyResponseParams `json:"Response"`
}

func NewDescribeApiKeyResponse

func NewDescribeApiKeyResponse() (response *DescribeApiKeyResponse)

func (*DescribeApiKeyResponse) FromJsonString

func (r *DescribeApiKeyResponse) 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 (*DescribeApiKeyResponse) ToJsonString

func (r *DescribeApiKeyResponse) ToJsonString() string

type DescribeApiKeyResponseParams

type DescribeApiKeyResponseParams struct {
	// Key details.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *ApiKey `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeApiKeysStatusRequest

type DescribeApiKeysStatusRequest struct {
	*tchttp.BaseRequest

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filter. Valid values: AccessKeyId, AccessKeySecret, SecretName, NotUsagePlanId, Status, KeyWord (match with `name` or `path`).
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeApiKeysStatusRequest

func NewDescribeApiKeysStatusRequest() (request *DescribeApiKeysStatusRequest)

func (*DescribeApiKeysStatusRequest) FromJsonString

func (r *DescribeApiKeysStatusRequest) 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 (*DescribeApiKeysStatusRequest) ToJsonString

func (r *DescribeApiKeysStatusRequest) ToJsonString() string

type DescribeApiKeysStatusRequestParams

type DescribeApiKeysStatusRequestParams struct {
	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filter. Valid values: AccessKeyId, AccessKeySecret, SecretName, NotUsagePlanId, Status, KeyWord (match with `name` or `path`).
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeApiKeysStatusResponse

type DescribeApiKeysStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeApiKeysStatusResponseParams `json:"Response"`
}

func NewDescribeApiKeysStatusResponse

func NewDescribeApiKeysStatusResponse() (response *DescribeApiKeysStatusResponse)

func (*DescribeApiKeysStatusResponse) FromJsonString

func (r *DescribeApiKeysStatusResponse) 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 (*DescribeApiKeysStatusResponse) ToJsonString

func (r *DescribeApiKeysStatusResponse) ToJsonString() string

type DescribeApiKeysStatusResponseParams

type DescribeApiKeysStatusResponseParams struct {
	// Key list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *ApiKeysStatus `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeApiRequest

type DescribeApiRequest struct {
	*tchttp.BaseRequest

	// Unique service ID of API.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique API ID.
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`
}

func NewDescribeApiRequest

func NewDescribeApiRequest() (request *DescribeApiRequest)

func (*DescribeApiRequest) FromJsonString

func (r *DescribeApiRequest) 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 (*DescribeApiRequest) ToJsonString

func (r *DescribeApiRequest) ToJsonString() string

type DescribeApiRequestParams

type DescribeApiRequestParams struct {
	// Unique service ID of API.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique API ID.
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`
}

Predefined struct for user

type DescribeApiResponse

type DescribeApiResponse struct {
	*tchttp.BaseResponse
	Response *DescribeApiResponseParams `json:"Response"`
}

func NewDescribeApiResponse

func NewDescribeApiResponse() (response *DescribeApiResponse)

func (*DescribeApiResponse) FromJsonString

func (r *DescribeApiResponse) 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 (*DescribeApiResponse) ToJsonString

func (r *DescribeApiResponse) ToJsonString() string

type DescribeApiResponseParams

type DescribeApiResponseParams struct {
	// API details.
	Result *ApiInfo `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeApiUsagePlanRequest

type DescribeApiUsagePlanRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the service to be queried.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeApiUsagePlanRequest

func NewDescribeApiUsagePlanRequest() (request *DescribeApiUsagePlanRequest)

func (*DescribeApiUsagePlanRequest) FromJsonString

func (r *DescribeApiUsagePlanRequest) 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 (*DescribeApiUsagePlanRequest) ToJsonString

func (r *DescribeApiUsagePlanRequest) ToJsonString() string

type DescribeApiUsagePlanRequestParams

type DescribeApiUsagePlanRequestParams struct {
	// Unique ID of the service to be queried.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeApiUsagePlanResponse

type DescribeApiUsagePlanResponse struct {
	*tchttp.BaseResponse
	Response *DescribeApiUsagePlanResponseParams `json:"Response"`
}

func NewDescribeApiUsagePlanResponse

func NewDescribeApiUsagePlanResponse() (response *DescribeApiUsagePlanResponse)

func (*DescribeApiUsagePlanResponse) FromJsonString

func (r *DescribeApiUsagePlanResponse) 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 (*DescribeApiUsagePlanResponse) ToJsonString

func (r *DescribeApiUsagePlanResponse) ToJsonString() string

type DescribeApiUsagePlanResponseParams

type DescribeApiUsagePlanResponseParams struct {
	// List of usage plans bound to API.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *ApiUsagePlanSet `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeApisStatusRequest

type DescribeApisStatusRequest struct {
	*tchttp.BaseRequest

	// Unique service ID of API.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// API filter. Valid values: `ApiId`, `ApiName`, `ApiPath`, `ApiType`, `AuthRelationApiId`, `AuthType`, `ApiBuniessType`, `NotUsagePlanId`, `Environment`, `Tags` (whose values are the list of `$tag_key:tag_value`), `TagKeys` (whose values are the list of tag keys). Note that `NotUsagePlanId` and `Environment` must be used in the same time.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeApisStatusRequest

func NewDescribeApisStatusRequest() (request *DescribeApisStatusRequest)

func (*DescribeApisStatusRequest) FromJsonString

func (r *DescribeApisStatusRequest) 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 (*DescribeApisStatusRequest) ToJsonString

func (r *DescribeApisStatusRequest) ToJsonString() string

type DescribeApisStatusRequestParams

type DescribeApisStatusRequestParams struct {
	// Unique service ID of API.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// API filter. Valid values: `ApiId`, `ApiName`, `ApiPath`, `ApiType`, `AuthRelationApiId`, `AuthType`, `ApiBuniessType`, `NotUsagePlanId`, `Environment`, `Tags` (whose values are the list of `$tag_key:tag_value`), `TagKeys` (whose values are the list of tag keys). Note that `NotUsagePlanId` and `Environment` must be used in the same time.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeApisStatusResponse

type DescribeApisStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeApisStatusResponseParams `json:"Response"`
}

func NewDescribeApisStatusResponse

func NewDescribeApisStatusResponse() (response *DescribeApisStatusResponse)

func (*DescribeApisStatusResponse) FromJsonString

func (r *DescribeApisStatusResponse) 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 (*DescribeApisStatusResponse) ToJsonString

func (r *DescribeApisStatusResponse) ToJsonString() string

type DescribeApisStatusResponseParams

type DescribeApisStatusResponseParams struct {
	// List of API details.
	Result *ApisStatus `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeIPStrategyApisStatusRequest

type DescribeIPStrategyApisStatusRequest struct {
	*tchttp.BaseRequest

	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique policy ID.
	StrategyId *string `json:"StrategyId,omitnil,omitempty" name:"StrategyId"`

	// Policy environment.
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filter. Valid values: ApiPath, ApiName, KeyWord (fuzzy search by `Path` and `Name`).
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeIPStrategyApisStatusRequest

func NewDescribeIPStrategyApisStatusRequest() (request *DescribeIPStrategyApisStatusRequest)

func (*DescribeIPStrategyApisStatusRequest) FromJsonString

func (r *DescribeIPStrategyApisStatusRequest) 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 (*DescribeIPStrategyApisStatusRequest) ToJsonString

func (r *DescribeIPStrategyApisStatusRequest) ToJsonString() string

type DescribeIPStrategyApisStatusRequestParams

type DescribeIPStrategyApisStatusRequestParams struct {
	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique policy ID.
	StrategyId *string `json:"StrategyId,omitnil,omitempty" name:"StrategyId"`

	// Policy environment.
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filter. Valid values: ApiPath, ApiName, KeyWord (fuzzy search by `Path` and `Name`).
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeIPStrategyApisStatusResponse

type DescribeIPStrategyApisStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIPStrategyApisStatusResponseParams `json:"Response"`
}

func NewDescribeIPStrategyApisStatusResponse

func NewDescribeIPStrategyApisStatusResponse() (response *DescribeIPStrategyApisStatusResponse)

func (*DescribeIPStrategyApisStatusResponse) FromJsonString

func (r *DescribeIPStrategyApisStatusResponse) 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 (*DescribeIPStrategyApisStatusResponse) ToJsonString

func (r *DescribeIPStrategyApisStatusResponse) ToJsonString() string

type DescribeIPStrategyApisStatusResponseParams

type DescribeIPStrategyApisStatusResponseParams struct {
	// List of APIs bound to environment.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *IPStrategyApiStatus `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeIPStrategyRequest

type DescribeIPStrategyRequest struct {
	*tchttp.BaseRequest

	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique IP policy ID.
	StrategyId *string `json:"StrategyId,omitnil,omitempty" name:"StrategyId"`

	// Environment associated with policy.
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filter, which is a reserved field. Filtering is not supported currently.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeIPStrategyRequest

func NewDescribeIPStrategyRequest() (request *DescribeIPStrategyRequest)

func (*DescribeIPStrategyRequest) FromJsonString

func (r *DescribeIPStrategyRequest) 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 (*DescribeIPStrategyRequest) ToJsonString

func (r *DescribeIPStrategyRequest) ToJsonString() string

type DescribeIPStrategyRequestParams

type DescribeIPStrategyRequestParams struct {
	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique IP policy ID.
	StrategyId *string `json:"StrategyId,omitnil,omitempty" name:"StrategyId"`

	// Environment associated with policy.
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filter, which is a reserved field. Filtering is not supported currently.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeIPStrategyResponse

type DescribeIPStrategyResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIPStrategyResponseParams `json:"Response"`
}

func NewDescribeIPStrategyResponse

func NewDescribeIPStrategyResponse() (response *DescribeIPStrategyResponse)

func (*DescribeIPStrategyResponse) FromJsonString

func (r *DescribeIPStrategyResponse) 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 (*DescribeIPStrategyResponse) ToJsonString

func (r *DescribeIPStrategyResponse) ToJsonString() string

type DescribeIPStrategyResponseParams

type DescribeIPStrategyResponseParams struct {
	// IP policy details.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *IPStrategy `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeIPStrategysStatusRequest

type DescribeIPStrategysStatusRequest struct {
	*tchttp.BaseRequest

	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Filter. Valid values: StrategyName.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeIPStrategysStatusRequest

func NewDescribeIPStrategysStatusRequest() (request *DescribeIPStrategysStatusRequest)

func (*DescribeIPStrategysStatusRequest) FromJsonString

func (r *DescribeIPStrategysStatusRequest) 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 (*DescribeIPStrategysStatusRequest) ToJsonString

func (r *DescribeIPStrategysStatusRequest) ToJsonString() string

type DescribeIPStrategysStatusRequestParams

type DescribeIPStrategysStatusRequestParams struct {
	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Filter. Valid values: StrategyName.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeIPStrategysStatusResponse

type DescribeIPStrategysStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIPStrategysStatusResponseParams `json:"Response"`
}

func NewDescribeIPStrategysStatusResponse

func NewDescribeIPStrategysStatusResponse() (response *DescribeIPStrategysStatusResponse)

func (*DescribeIPStrategysStatusResponse) FromJsonString

func (r *DescribeIPStrategysStatusResponse) 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 (*DescribeIPStrategysStatusResponse) ToJsonString

func (r *DescribeIPStrategysStatusResponse) ToJsonString() string

type DescribeIPStrategysStatusResponseParams

type DescribeIPStrategysStatusResponseParams struct {
	// List of eligible policies.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *IPStrategysStatus `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeLogSearchRequest

type DescribeLogSearchRequest struct {
	*tchttp.BaseRequest

	// Log start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Log end time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Service ID
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Reserved field
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Number of logs to be returned at a time. Maximum value: 100
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Subsequent content can be obtained based on the `ConText` returned last time. Up to 10,000 data entries can be obtained
	ConText *string `json:"ConText,omitnil,omitempty" name:"ConText"`

	// Sorting by time. Valid values: asc (ascending), desc (descending). Default value: desc
	Sort *string `json:"Sort,omitnil,omitempty" name:"Sort"`

	// Reserved field
	Query *string `json:"Query,omitnil,omitempty" name:"Query"`

	// Search criterion. Valid values:
	// req_id: "="
	// api_id: "="
	// cip: "="
	// uip: ":"
	// err_msg: ":"
	// rsp_st: "=", "!=", ":", ">", "<"
	// req_t: ">=", "<="
	//
	// Note:
	// ":" indicates included, and "!=" indicates not equal to. For the meanings of fields, please see the `LogSet` description of the output parameter
	LogQuerys []*LogQuery `json:"LogQuerys,omitnil,omitempty" name:"LogQuerys"`
}

func NewDescribeLogSearchRequest

func NewDescribeLogSearchRequest() (request *DescribeLogSearchRequest)

func (*DescribeLogSearchRequest) FromJsonString

func (r *DescribeLogSearchRequest) 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 (*DescribeLogSearchRequest) ToJsonString

func (r *DescribeLogSearchRequest) ToJsonString() string

type DescribeLogSearchRequestParams

type DescribeLogSearchRequestParams struct {
	// Log start time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Log end time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Service ID
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Reserved field
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Number of logs to be returned at a time. Maximum value: 100
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Subsequent content can be obtained based on the `ConText` returned last time. Up to 10,000 data entries can be obtained
	ConText *string `json:"ConText,omitnil,omitempty" name:"ConText"`

	// Sorting by time. Valid values: asc (ascending), desc (descending). Default value: desc
	Sort *string `json:"Sort,omitnil,omitempty" name:"Sort"`

	// Reserved field
	Query *string `json:"Query,omitnil,omitempty" name:"Query"`

	// Search criterion. Valid values:
	// req_id: "="
	// api_id: "="
	// cip: "="
	// uip: ":"
	// err_msg: ":"
	// rsp_st: "=", "!=", ":", ">", "<"
	// req_t: ">=", "<="
	//
	// Note:
	// ":" indicates included, and "!=" indicates not equal to. For the meanings of fields, please see the `LogSet` description of the output parameter
	LogQuerys []*LogQuery `json:"LogQuerys,omitnil,omitempty" name:"LogQuerys"`
}

Predefined struct for user

type DescribeLogSearchResponse

type DescribeLogSearchResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLogSearchResponseParams `json:"Response"`
}

func NewDescribeLogSearchResponse

func NewDescribeLogSearchResponse() (response *DescribeLogSearchResponse)

func (*DescribeLogSearchResponse) FromJsonString

func (r *DescribeLogSearchResponse) 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 (*DescribeLogSearchResponse) ToJsonString

func (r *DescribeLogSearchResponse) ToJsonString() string

type DescribeLogSearchResponseParams

type DescribeLogSearchResponseParams struct {
	// Cursor for getting more search results. If the value is `""`, there will be no subsequent results
	ConText *string `json:"ConText,omitnil,omitempty" name:"ConText"`

	// The returned result contains any number of logs, which are in the following format:
	// '[$app_id][$env_name][$service_id][$http_host][$api_id][$uri][$scheme][rsp_st:$status][ups_st:$upstream_status]'
	// '[cip:$remote_addr][uip:$upstream_addr][vip:$server_addr][rsp_len:$bytes_sent][req_len:$request_length]'
	// '[req_t:$request_time][ups_rsp_t:$upstream_response_time][ups_conn_t:$upstream_connect_time][ups_head_t:$upstream_header_time]’
	// '[err_msg:$err_msg][tcp_rtt:$tcpinfo_rtt][$pid][$time_local][req_id:$request_id]';
	//
	// Note:
	// app_id: user ID.
	// env_name: environment name.
	// service_id: service ID.
	// http_host: domain name.
	// api_id: API ID.
	// uri: request path.
	// scheme: HTTP/HTTPS protocol.
	// rsp_st: request response status code.
	// ups_st: backend business server response status code (if the request is passed through to the backend, this variable will not be empty. If the request is blocked in API Gateway, this variable will be displayed as `-`).
	// cip: client IP.
	// uip: backend business service (upstream) IP.
	// vip: VIP requested to be accessed.
	// rsp_len: response length.
	// req_len: request length.
	// req_t: total request response time.
	// ups_rsp_t: total backend response time (time between connection establishment by API Gateway and backend response receipt).
	// ups_conn_t: time when the backend business server is successfully connected to.
	// ups_head_t: time when the backend response header arrives.
	// err_msg: error message.
	// tcp_rtt: client TCP connection information. RTT (Round Trip Time) consists of three parts: link propagation delay, end system processing delay, and queuing delay in router cache.
	// req_id: request ID.
	LogSet []*string `json:"LogSet,omitnil,omitempty" name:"LogSet"`

	// Number of logs returned for one search (`TotalCount <= Limit`)
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePluginApisRequest

type DescribePluginApisRequest struct {
	*tchttp.BaseRequest

	// ID of the plugin to be queried
	PluginId *string `json:"PluginId,omitnil,omitempty" name:"PluginId"`

	// Number of returned results. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribePluginApisRequest

func NewDescribePluginApisRequest() (request *DescribePluginApisRequest)

func (*DescribePluginApisRequest) FromJsonString

func (r *DescribePluginApisRequest) 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 (*DescribePluginApisRequest) ToJsonString

func (r *DescribePluginApisRequest) ToJsonString() string

type DescribePluginApisRequestParams

type DescribePluginApisRequestParams struct {
	// ID of the plugin to be queried
	PluginId *string `json:"PluginId,omitnil,omitempty" name:"PluginId"`

	// Number of returned results. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribePluginApisResponse

type DescribePluginApisResponse struct {
	*tchttp.BaseResponse
	Response *DescribePluginApisResponseParams `json:"Response"`
}

func NewDescribePluginApisResponse

func NewDescribePluginApisResponse() (response *DescribePluginApisResponse)

func (*DescribePluginApisResponse) FromJsonString

func (r *DescribePluginApisResponse) 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 (*DescribePluginApisResponse) ToJsonString

func (r *DescribePluginApisResponse) ToJsonString() string

type DescribePluginApisResponseParams

type DescribePluginApisResponseParams struct {
	// List of APIs bound with the plugin
	Result *AttachedApiSummary `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePluginRequest

type DescribePluginRequest struct {
	*tchttp.BaseRequest

	// ID of the plugin to be queried
	PluginId *string `json:"PluginId,omitnil,omitempty" name:"PluginId"`

	// Number of returned results. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribePluginRequest

func NewDescribePluginRequest() (request *DescribePluginRequest)

func (*DescribePluginRequest) FromJsonString

func (r *DescribePluginRequest) 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 (*DescribePluginRequest) ToJsonString

func (r *DescribePluginRequest) ToJsonString() string

type DescribePluginRequestParams

type DescribePluginRequestParams struct {
	// ID of the plugin to be queried
	PluginId *string `json:"PluginId,omitnil,omitempty" name:"PluginId"`

	// Number of returned results. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribePluginResponse

type DescribePluginResponse struct {
	*tchttp.BaseResponse
	Response *DescribePluginResponseParams `json:"Response"`
}

func NewDescribePluginResponse

func NewDescribePluginResponse() (response *DescribePluginResponse)

func (*DescribePluginResponse) FromJsonString

func (r *DescribePluginResponse) 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 (*DescribePluginResponse) ToJsonString

func (r *DescribePluginResponse) ToJsonString() string

type DescribePluginResponseParams

type DescribePluginResponseParams struct {
	// Plugin details
	Result *Plugin `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePluginsByApiRequest

type DescribePluginsByApiRequest struct {
	*tchttp.BaseRequest

	// ID of the API to query
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`

	// ID of the service to query
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Environment information
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// Number of returned results. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribePluginsByApiRequest

func NewDescribePluginsByApiRequest() (request *DescribePluginsByApiRequest)

func (*DescribePluginsByApiRequest) FromJsonString

func (r *DescribePluginsByApiRequest) 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 (*DescribePluginsByApiRequest) ToJsonString

func (r *DescribePluginsByApiRequest) ToJsonString() string

type DescribePluginsByApiRequestParams

type DescribePluginsByApiRequestParams struct {
	// ID of the API to query
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`

	// ID of the service to query
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Environment information
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// Number of returned results. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribePluginsByApiResponse

type DescribePluginsByApiResponse struct {
	*tchttp.BaseResponse
	Response *DescribePluginsByApiResponseParams `json:"Response"`
}

func NewDescribePluginsByApiResponse

func NewDescribePluginsByApiResponse() (response *DescribePluginsByApiResponse)

func (*DescribePluginsByApiResponse) FromJsonString

func (r *DescribePluginsByApiResponse) 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 (*DescribePluginsByApiResponse) ToJsonString

func (r *DescribePluginsByApiResponse) ToJsonString() string

type DescribePluginsByApiResponseParams

type DescribePluginsByApiResponseParams struct {
	// List of plug-ins bound with the API
	Result *AttachedPluginSummary `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeServiceEnvironmentListRequest

type DescribeServiceEnvironmentListRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the service to be queried.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeServiceEnvironmentListRequest

func NewDescribeServiceEnvironmentListRequest() (request *DescribeServiceEnvironmentListRequest)

func (*DescribeServiceEnvironmentListRequest) FromJsonString

func (r *DescribeServiceEnvironmentListRequest) 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 (*DescribeServiceEnvironmentListRequest) ToJsonString

type DescribeServiceEnvironmentListRequestParams

type DescribeServiceEnvironmentListRequestParams struct {
	// Unique ID of the service to be queried.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeServiceEnvironmentListResponse

type DescribeServiceEnvironmentListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeServiceEnvironmentListResponseParams `json:"Response"`
}

func NewDescribeServiceEnvironmentListResponse

func NewDescribeServiceEnvironmentListResponse() (response *DescribeServiceEnvironmentListResponse)

func (*DescribeServiceEnvironmentListResponse) FromJsonString

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

func (*DescribeServiceEnvironmentListResponse) ToJsonString

type DescribeServiceEnvironmentListResponseParams

type DescribeServiceEnvironmentListResponseParams struct {
	// Details of environments bound to service.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *ServiceEnvironmentSet `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeServiceEnvironmentReleaseHistoryRequest

type DescribeServiceEnvironmentReleaseHistoryRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the service to be queried.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Environment name.
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeServiceEnvironmentReleaseHistoryRequest

func NewDescribeServiceEnvironmentReleaseHistoryRequest() (request *DescribeServiceEnvironmentReleaseHistoryRequest)

func (*DescribeServiceEnvironmentReleaseHistoryRequest) FromJsonString

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

func (*DescribeServiceEnvironmentReleaseHistoryRequest) ToJsonString

type DescribeServiceEnvironmentReleaseHistoryRequestParams

type DescribeServiceEnvironmentReleaseHistoryRequestParams struct {
	// Unique ID of the service to be queried.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Environment name.
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeServiceEnvironmentReleaseHistoryResponse

type DescribeServiceEnvironmentReleaseHistoryResponse struct {
	*tchttp.BaseResponse
	Response *DescribeServiceEnvironmentReleaseHistoryResponseParams `json:"Response"`
}

func NewDescribeServiceEnvironmentReleaseHistoryResponse

func NewDescribeServiceEnvironmentReleaseHistoryResponse() (response *DescribeServiceEnvironmentReleaseHistoryResponse)

func (*DescribeServiceEnvironmentReleaseHistoryResponse) FromJsonString

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

func (*DescribeServiceEnvironmentReleaseHistoryResponse) ToJsonString

type DescribeServiceEnvironmentReleaseHistoryResponseParams

type DescribeServiceEnvironmentReleaseHistoryResponseParams struct {
	// Service release history.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *ServiceReleaseHistory `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeServiceEnvironmentStrategyRequest

type DescribeServiceEnvironmentStrategyRequest struct {
	*tchttp.BaseRequest

	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeServiceEnvironmentStrategyRequest

func NewDescribeServiceEnvironmentStrategyRequest() (request *DescribeServiceEnvironmentStrategyRequest)

func (*DescribeServiceEnvironmentStrategyRequest) FromJsonString

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

func (*DescribeServiceEnvironmentStrategyRequest) ToJsonString

type DescribeServiceEnvironmentStrategyRequestParams

type DescribeServiceEnvironmentStrategyRequestParams struct {
	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeServiceEnvironmentStrategyResponse

type DescribeServiceEnvironmentStrategyResponse struct {
	*tchttp.BaseResponse
	Response *DescribeServiceEnvironmentStrategyResponseParams `json:"Response"`
}

func NewDescribeServiceEnvironmentStrategyResponse

func NewDescribeServiceEnvironmentStrategyResponse() (response *DescribeServiceEnvironmentStrategyResponse)

func (*DescribeServiceEnvironmentStrategyResponse) FromJsonString

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

func (*DescribeServiceEnvironmentStrategyResponse) ToJsonString

type DescribeServiceEnvironmentStrategyResponseParams

type DescribeServiceEnvironmentStrategyResponseParams struct {
	// Throttling policy list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *ServiceEnvironmentStrategyStatus `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeServiceForApiAppRequest

type DescribeServiceForApiAppRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the service to be queried.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Service region.
	ApiRegion *string `json:"ApiRegion,omitnil,omitempty" name:"ApiRegion"`
}

func NewDescribeServiceForApiAppRequest

func NewDescribeServiceForApiAppRequest() (request *DescribeServiceForApiAppRequest)

func (*DescribeServiceForApiAppRequest) FromJsonString

func (r *DescribeServiceForApiAppRequest) 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 (*DescribeServiceForApiAppRequest) ToJsonString

func (r *DescribeServiceForApiAppRequest) ToJsonString() string

type DescribeServiceForApiAppRequestParams

type DescribeServiceForApiAppRequestParams struct {
	// Unique ID of the service to be queried.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Service region.
	ApiRegion *string `json:"ApiRegion,omitnil,omitempty" name:"ApiRegion"`
}

Predefined struct for user

type DescribeServiceForApiAppResponse

type DescribeServiceForApiAppResponse struct {
	*tchttp.BaseResponse
	Response *DescribeServiceForApiAppResponseParams `json:"Response"`
}

func NewDescribeServiceForApiAppResponse

func NewDescribeServiceForApiAppResponse() (response *DescribeServiceForApiAppResponse)

func (*DescribeServiceForApiAppResponse) FromJsonString

func (r *DescribeServiceForApiAppResponse) 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 (*DescribeServiceForApiAppResponse) ToJsonString

func (r *DescribeServiceForApiAppResponse) ToJsonString() string

type DescribeServiceForApiAppResponseParams

type DescribeServiceForApiAppResponseParams struct {
	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Service environment list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AvailableEnvironments []*string `json:"AvailableEnvironments,omitnil,omitempty" name:"AvailableEnvironments"`

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

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

	// Protocol supported by service. Valid values: http, https, http&https.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

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

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

	// Self-Deployed cluster name.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ExclusiveSetName *string `json:"ExclusiveSetName,omitnil,omitempty" name:"ExclusiveSetName"`

	// Network type list. INNER: private network access; OUTER: public network access.
	NetTypes []*string `json:"NetTypes,omitnil,omitempty" name:"NetTypes"`

	// Subdomain name for private network access.
	InternalSubDomain *string `json:"InternalSubDomain,omitnil,omitempty" name:"InternalSubDomain"`

	// Subdomain name for public network access.
	OuterSubDomain *string `json:"OuterSubDomain,omitnil,omitempty" name:"OuterSubDomain"`

	// Service port number for HTTP access over private network.
	InnerHttpPort *int64 `json:"InnerHttpPort,omitnil,omitempty" name:"InnerHttpPort"`

	// Port number for HTTPS access over private network.
	InnerHttpsPort *int64 `json:"InnerHttpsPort,omitnil,omitempty" name:"InnerHttpsPort"`

	// Total number of APIs.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApiTotalCount *int64 `json:"ApiTotalCount,omitnil,omitempty" name:"ApiTotalCount"`

	// API list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApiIdStatusSet []*ApiIdStatus `json:"ApiIdStatusSet,omitnil,omitempty" name:"ApiIdStatusSet"`

	// Total number of usage plans.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UsagePlanTotalCount *int64 `json:"UsagePlanTotalCount,omitnil,omitempty" name:"UsagePlanTotalCount"`

	// Usage plan array.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UsagePlanList []*UsagePlan `json:"UsagePlanList,omitnil,omitempty" name:"UsagePlanList"`

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

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

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

	// Tag bound to the service.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeServiceReleaseVersionRequest

type DescribeServiceReleaseVersionRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the service to be queried.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeServiceReleaseVersionRequest

func NewDescribeServiceReleaseVersionRequest() (request *DescribeServiceReleaseVersionRequest)

func (*DescribeServiceReleaseVersionRequest) FromJsonString

func (r *DescribeServiceReleaseVersionRequest) 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 (*DescribeServiceReleaseVersionRequest) ToJsonString

func (r *DescribeServiceReleaseVersionRequest) ToJsonString() string

type DescribeServiceReleaseVersionRequestParams

type DescribeServiceReleaseVersionRequestParams struct {
	// Unique ID of the service to be queried.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeServiceReleaseVersionResponse

type DescribeServiceReleaseVersionResponse struct {
	*tchttp.BaseResponse
	Response *DescribeServiceReleaseVersionResponseParams `json:"Response"`
}

func NewDescribeServiceReleaseVersionResponse

func NewDescribeServiceReleaseVersionResponse() (response *DescribeServiceReleaseVersionResponse)

func (*DescribeServiceReleaseVersionResponse) FromJsonString

func (r *DescribeServiceReleaseVersionResponse) 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 (*DescribeServiceReleaseVersionResponse) ToJsonString

type DescribeServiceReleaseVersionResponseParams

type DescribeServiceReleaseVersionResponseParams struct {
	// Service release version list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *ServiceReleaseVersion `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeServiceRequest

type DescribeServiceRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the service to be queried.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`
}

func NewDescribeServiceRequest

func NewDescribeServiceRequest() (request *DescribeServiceRequest)

func (*DescribeServiceRequest) FromJsonString

func (r *DescribeServiceRequest) 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 (*DescribeServiceRequest) ToJsonString

func (r *DescribeServiceRequest) ToJsonString() string

type DescribeServiceRequestParams

type DescribeServiceRequestParams struct {
	// Unique ID of the service to be queried.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`
}

Predefined struct for user

type DescribeServiceResponse

type DescribeServiceResponse struct {
	*tchttp.BaseResponse
	Response *DescribeServiceResponseParams `json:"Response"`
}

func NewDescribeServiceResponse

func NewDescribeServiceResponse() (response *DescribeServiceResponse)

func (*DescribeServiceResponse) FromJsonString

func (r *DescribeServiceResponse) 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 (*DescribeServiceResponse) ToJsonString

func (r *DescribeServiceResponse) ToJsonString() string

type DescribeServiceResponseParams

type DescribeServiceResponseParams struct {
	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Service environment list.
	AvailableEnvironments []*string `json:"AvailableEnvironments,omitnil,omitempty" name:"AvailableEnvironments"`

	// Service name.
	ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`

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

	// Protocol supported by service. Valid values: http, https, http&https.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Service creation time.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Service modification time.
	ModifiedTime *string `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"`

	// Dedicated cluster name.
	ExclusiveSetName *string `json:"ExclusiveSetName,omitnil,omitempty" name:"ExclusiveSetName"`

	// Network type list. INNER: private network access; OUTER: public network access.
	NetTypes []*string `json:"NetTypes,omitnil,omitempty" name:"NetTypes"`

	// Subdomain name for private network access.
	InternalSubDomain *string `json:"InternalSubDomain,omitnil,omitempty" name:"InternalSubDomain"`

	// Subdomain name for public network access.
	OuterSubDomain *string `json:"OuterSubDomain,omitnil,omitempty" name:"OuterSubDomain"`

	// Service port number for HTTP access over private network.
	InnerHttpPort *int64 `json:"InnerHttpPort,omitnil,omitempty" name:"InnerHttpPort"`

	// Port number for HTTPS access over private network.
	InnerHttpsPort *int64 `json:"InnerHttpsPort,omitnil,omitempty" name:"InnerHttpsPort"`

	// Total number of APIs.
	ApiTotalCount *int64 `json:"ApiTotalCount,omitnil,omitempty" name:"ApiTotalCount"`

	// API list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApiIdStatusSet []*ApiIdStatus `json:"ApiIdStatusSet,omitnil,omitempty" name:"ApiIdStatusSet"`

	// Total number of usage plans.
	UsagePlanTotalCount *int64 `json:"UsagePlanTotalCount,omitnil,omitempty" name:"UsagePlanTotalCount"`

	// Usage plan array.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UsagePlanList []*UsagePlan `json:"UsagePlanList,omitnil,omitempty" name:"UsagePlanList"`

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

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

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

	// Tags bound to a service.
	// Note: this field may return null, indicating that no valid values found.
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

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

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

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

	// Cluster type for service deployment
	// Note: this field may return null, indicating that no valid values found.
	DeploymentType *string `json:"DeploymentType,omitnil,omitempty" name:"DeploymentType"`

	// Whether the service if for special usage. Valid values: `DEFAULT` (general usage), `HTTP_DNS`.
	// Note: This field may return `NULL`, indicating that no valid value was found.
	SpecialUse *string `json:"SpecialUse,omitnil,omitempty" name:"SpecialUse"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeServiceSubDomainMappingsRequest

type DescribeServiceSubDomainMappingsRequest struct {
	*tchttp.BaseRequest

	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Custom domain name bound to service.
	SubDomain *string `json:"SubDomain,omitnil,omitempty" name:"SubDomain"`
}

func NewDescribeServiceSubDomainMappingsRequest

func NewDescribeServiceSubDomainMappingsRequest() (request *DescribeServiceSubDomainMappingsRequest)

func (*DescribeServiceSubDomainMappingsRequest) FromJsonString

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

func (*DescribeServiceSubDomainMappingsRequest) ToJsonString

type DescribeServiceSubDomainMappingsRequestParams

type DescribeServiceSubDomainMappingsRequestParams struct {
	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Custom domain name bound to service.
	SubDomain *string `json:"SubDomain,omitnil,omitempty" name:"SubDomain"`
}

Predefined struct for user

type DescribeServiceSubDomainMappingsResponse

type DescribeServiceSubDomainMappingsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeServiceSubDomainMappingsResponseParams `json:"Response"`
}

func NewDescribeServiceSubDomainMappingsResponse

func NewDescribeServiceSubDomainMappingsResponse() (response *DescribeServiceSubDomainMappingsResponse)

func (*DescribeServiceSubDomainMappingsResponse) FromJsonString

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

func (*DescribeServiceSubDomainMappingsResponse) ToJsonString

type DescribeServiceSubDomainMappingsResponseParams

type DescribeServiceSubDomainMappingsResponseParams struct {
	// Custom path mapping list.
	Result *ServiceSubDomainMappings `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeServiceSubDomainsRequest

type DescribeServiceSubDomainsRequest struct {
	*tchttp.BaseRequest

	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeServiceSubDomainsRequest

func NewDescribeServiceSubDomainsRequest() (request *DescribeServiceSubDomainsRequest)

func (*DescribeServiceSubDomainsRequest) FromJsonString

func (r *DescribeServiceSubDomainsRequest) 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 (*DescribeServiceSubDomainsRequest) ToJsonString

func (r *DescribeServiceSubDomainsRequest) ToJsonString() string

type DescribeServiceSubDomainsRequestParams

type DescribeServiceSubDomainsRequestParams struct {
	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeServiceSubDomainsResponse

type DescribeServiceSubDomainsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeServiceSubDomainsResponseParams `json:"Response"`
}

func NewDescribeServiceSubDomainsResponse

func NewDescribeServiceSubDomainsResponse() (response *DescribeServiceSubDomainsResponse)

func (*DescribeServiceSubDomainsResponse) FromJsonString

func (r *DescribeServiceSubDomainsResponse) 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 (*DescribeServiceSubDomainsResponse) ToJsonString

func (r *DescribeServiceSubDomainsResponse) ToJsonString() string

type DescribeServiceSubDomainsResponseParams

type DescribeServiceSubDomainsResponseParams struct {
	// Custom service domain name query.
	Result *DomainSets `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeServiceUsagePlanRequest

type DescribeServiceUsagePlanRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the service to be queried.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeServiceUsagePlanRequest

func NewDescribeServiceUsagePlanRequest() (request *DescribeServiceUsagePlanRequest)

func (*DescribeServiceUsagePlanRequest) FromJsonString

func (r *DescribeServiceUsagePlanRequest) 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 (*DescribeServiceUsagePlanRequest) ToJsonString

func (r *DescribeServiceUsagePlanRequest) ToJsonString() string

type DescribeServiceUsagePlanRequestParams

type DescribeServiceUsagePlanRequestParams struct {
	// Unique ID of the service to be queried.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeServiceUsagePlanResponse

type DescribeServiceUsagePlanResponse struct {
	*tchttp.BaseResponse
	Response *DescribeServiceUsagePlanResponseParams `json:"Response"`
}

func NewDescribeServiceUsagePlanResponse

func NewDescribeServiceUsagePlanResponse() (response *DescribeServiceUsagePlanResponse)

func (*DescribeServiceUsagePlanResponse) FromJsonString

func (r *DescribeServiceUsagePlanResponse) 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 (*DescribeServiceUsagePlanResponse) ToJsonString

func (r *DescribeServiceUsagePlanResponse) ToJsonString() string

type DescribeServiceUsagePlanResponseParams

type DescribeServiceUsagePlanResponseParams struct {
	// List of usage plans bound to service.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *ServiceUsagePlanSet `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeServicesStatusRequest

type DescribeServicesStatusRequest struct {
	*tchttp.BaseRequest

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filter. Valid values: `ServiceId`, `ServiceName`, `NotUsagePlanId`, `Environment`, `IpVersion`, `InstanceId`, `NetType`, `EIAMAppId`.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeServicesStatusRequest

func NewDescribeServicesStatusRequest() (request *DescribeServicesStatusRequest)

func (*DescribeServicesStatusRequest) FromJsonString

func (r *DescribeServicesStatusRequest) 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 (*DescribeServicesStatusRequest) ToJsonString

func (r *DescribeServicesStatusRequest) ToJsonString() string

type DescribeServicesStatusRequestParams

type DescribeServicesStatusRequestParams struct {
	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filter. Valid values: `ServiceId`, `ServiceName`, `NotUsagePlanId`, `Environment`, `IpVersion`, `InstanceId`, `NetType`, `EIAMAppId`.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeServicesStatusResponse

type DescribeServicesStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeServicesStatusResponseParams `json:"Response"`
}

func NewDescribeServicesStatusResponse

func NewDescribeServicesStatusResponse() (response *DescribeServicesStatusResponse)

func (*DescribeServicesStatusResponse) FromJsonString

func (r *DescribeServicesStatusResponse) 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 (*DescribeServicesStatusResponse) ToJsonString

func (r *DescribeServicesStatusResponse) ToJsonString() string

type DescribeServicesStatusResponseParams

type DescribeServicesStatusResponseParams struct {
	// Service list query result.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *ServicesStatus `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUpstreamBindApis

type DescribeUpstreamBindApis struct {
	// Total number
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Information of bound APIs
	BindApiSet []*BindApiInfo `json:"BindApiSet,omitnil,omitempty" name:"BindApiSet"`
}

type DescribeUpstreamBindApisRequest

type DescribeUpstreamBindApisRequest struct {
	*tchttp.BaseRequest

	// Number of entries per page
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// The starting position of paging
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Upstream ID
	UpstreamId *string `json:"UpstreamId,omitnil,omitempty" name:"UpstreamId"`

	// Filters the results by `ServiceId` and `ApiId`
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeUpstreamBindApisRequest

func NewDescribeUpstreamBindApisRequest() (request *DescribeUpstreamBindApisRequest)

func (*DescribeUpstreamBindApisRequest) FromJsonString

func (r *DescribeUpstreamBindApisRequest) 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 (*DescribeUpstreamBindApisRequest) ToJsonString

func (r *DescribeUpstreamBindApisRequest) ToJsonString() string

type DescribeUpstreamBindApisRequestParams

type DescribeUpstreamBindApisRequestParams struct {
	// Number of entries per page
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// The starting position of paging
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Upstream ID
	UpstreamId *string `json:"UpstreamId,omitnil,omitempty" name:"UpstreamId"`

	// Filters the results by `ServiceId` and `ApiId`
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeUpstreamBindApisResponse

type DescribeUpstreamBindApisResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUpstreamBindApisResponseParams `json:"Response"`
}

func NewDescribeUpstreamBindApisResponse

func NewDescribeUpstreamBindApisResponse() (response *DescribeUpstreamBindApisResponse)

func (*DescribeUpstreamBindApisResponse) FromJsonString

func (r *DescribeUpstreamBindApisResponse) 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 (*DescribeUpstreamBindApisResponse) ToJsonString

func (r *DescribeUpstreamBindApisResponse) ToJsonString() string

type DescribeUpstreamBindApisResponseParams

type DescribeUpstreamBindApisResponseParams struct {
	// Query results
	Result *DescribeUpstreamBindApis `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUpstreamInfo

type DescribeUpstreamInfo struct {
	// Total number of results
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of query result
	UpstreamSet []*UpstreamInfo `json:"UpstreamSet,omitnil,omitempty" name:"UpstreamSet"`
}

type DescribeUpstreamsRequest

type DescribeUpstreamsRequest struct {
	*tchttp.BaseRequest

	// Number of entries per page
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// The starting position of paging
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filters. Valid values: `UpstreamId` and `UpstreamName`
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeUpstreamsRequest

func NewDescribeUpstreamsRequest() (request *DescribeUpstreamsRequest)

func (*DescribeUpstreamsRequest) FromJsonString

func (r *DescribeUpstreamsRequest) 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 (*DescribeUpstreamsRequest) ToJsonString

func (r *DescribeUpstreamsRequest) ToJsonString() string

type DescribeUpstreamsRequestParams

type DescribeUpstreamsRequestParams struct {
	// Number of entries per page
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// The starting position of paging
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Filters. Valid values: `UpstreamId` and `UpstreamName`
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeUpstreamsResponse

type DescribeUpstreamsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUpstreamsResponseParams `json:"Response"`
}

func NewDescribeUpstreamsResponse

func NewDescribeUpstreamsResponse() (response *DescribeUpstreamsResponse)

func (*DescribeUpstreamsResponse) FromJsonString

func (r *DescribeUpstreamsResponse) 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 (*DescribeUpstreamsResponse) ToJsonString

func (r *DescribeUpstreamsResponse) ToJsonString() string

type DescribeUpstreamsResponseParams

type DescribeUpstreamsResponseParams struct {
	// Query results
	Result *DescribeUpstreamInfo `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUsagePlanEnvironmentsRequest

type DescribeUsagePlanEnvironmentsRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the usage plan to be queried.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`

	// Binding type. Valid values: API, SERVICE. Default value: SERVICE.
	BindType *string `json:"BindType,omitnil,omitempty" name:"BindType"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeUsagePlanEnvironmentsRequest

func NewDescribeUsagePlanEnvironmentsRequest() (request *DescribeUsagePlanEnvironmentsRequest)

func (*DescribeUsagePlanEnvironmentsRequest) FromJsonString

func (r *DescribeUsagePlanEnvironmentsRequest) 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 (*DescribeUsagePlanEnvironmentsRequest) ToJsonString

func (r *DescribeUsagePlanEnvironmentsRequest) ToJsonString() string

type DescribeUsagePlanEnvironmentsRequestParams

type DescribeUsagePlanEnvironmentsRequestParams struct {
	// Unique ID of the usage plan to be queried.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`

	// Binding type. Valid values: API, SERVICE. Default value: SERVICE.
	BindType *string `json:"BindType,omitnil,omitempty" name:"BindType"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeUsagePlanEnvironmentsResponse

type DescribeUsagePlanEnvironmentsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUsagePlanEnvironmentsResponseParams `json:"Response"`
}

func NewDescribeUsagePlanEnvironmentsResponse

func NewDescribeUsagePlanEnvironmentsResponse() (response *DescribeUsagePlanEnvironmentsResponse)

func (*DescribeUsagePlanEnvironmentsResponse) FromJsonString

func (r *DescribeUsagePlanEnvironmentsResponse) 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 (*DescribeUsagePlanEnvironmentsResponse) ToJsonString

type DescribeUsagePlanEnvironmentsResponseParams

type DescribeUsagePlanEnvironmentsResponseParams struct {
	// Usage plan binding details.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *UsagePlanEnvironmentStatus `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUsagePlanRequest

type DescribeUsagePlanRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the usage plan to be queried.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`
}

func NewDescribeUsagePlanRequest

func NewDescribeUsagePlanRequest() (request *DescribeUsagePlanRequest)

func (*DescribeUsagePlanRequest) FromJsonString

func (r *DescribeUsagePlanRequest) 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 (*DescribeUsagePlanRequest) ToJsonString

func (r *DescribeUsagePlanRequest) ToJsonString() string

type DescribeUsagePlanRequestParams

type DescribeUsagePlanRequestParams struct {
	// Unique ID of the usage plan to be queried.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`
}

Predefined struct for user

type DescribeUsagePlanResponse

type DescribeUsagePlanResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUsagePlanResponseParams `json:"Response"`
}

func NewDescribeUsagePlanResponse

func NewDescribeUsagePlanResponse() (response *DescribeUsagePlanResponse)

func (*DescribeUsagePlanResponse) FromJsonString

func (r *DescribeUsagePlanResponse) 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 (*DescribeUsagePlanResponse) ToJsonString

func (r *DescribeUsagePlanResponse) ToJsonString() string

type DescribeUsagePlanResponseParams

type DescribeUsagePlanResponseParams struct {
	// Usage plan details.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *UsagePlanInfo `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUsagePlanSecretIdsRequest

type DescribeUsagePlanSecretIdsRequest struct {
	*tchttp.BaseRequest

	// Unique ID of bound usage plan.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeUsagePlanSecretIdsRequest

func NewDescribeUsagePlanSecretIdsRequest() (request *DescribeUsagePlanSecretIdsRequest)

func (*DescribeUsagePlanSecretIdsRequest) FromJsonString

func (r *DescribeUsagePlanSecretIdsRequest) 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 (*DescribeUsagePlanSecretIdsRequest) ToJsonString

func (r *DescribeUsagePlanSecretIdsRequest) ToJsonString() string

type DescribeUsagePlanSecretIdsRequestParams

type DescribeUsagePlanSecretIdsRequestParams struct {
	// Unique ID of bound usage plan.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeUsagePlanSecretIdsResponse

type DescribeUsagePlanSecretIdsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUsagePlanSecretIdsResponseParams `json:"Response"`
}

func NewDescribeUsagePlanSecretIdsResponse

func NewDescribeUsagePlanSecretIdsResponse() (response *DescribeUsagePlanSecretIdsResponse)

func (*DescribeUsagePlanSecretIdsResponse) FromJsonString

func (r *DescribeUsagePlanSecretIdsResponse) 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 (*DescribeUsagePlanSecretIdsResponse) ToJsonString

func (r *DescribeUsagePlanSecretIdsResponse) ToJsonString() string

type DescribeUsagePlanSecretIdsResponseParams

type DescribeUsagePlanSecretIdsResponseParams struct {
	// List of keys bound to usage plan.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *UsagePlanBindSecretStatus `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUsagePlansStatusRequest

type DescribeUsagePlansStatusRequest struct {
	*tchttp.BaseRequest

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Usage plan filter. Valid values: UsagePlanId, UsagePlanName, NotServiceId, NotApiId, Environment.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeUsagePlansStatusRequest

func NewDescribeUsagePlansStatusRequest() (request *DescribeUsagePlansStatusRequest)

func (*DescribeUsagePlansStatusRequest) FromJsonString

func (r *DescribeUsagePlansStatusRequest) 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 (*DescribeUsagePlansStatusRequest) ToJsonString

func (r *DescribeUsagePlansStatusRequest) ToJsonString() string

type DescribeUsagePlansStatusRequestParams

type DescribeUsagePlansStatusRequestParams struct {
	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Usage plan filter. Valid values: UsagePlanId, UsagePlanName, NotServiceId, NotApiId, Environment.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeUsagePlansStatusResponse

type DescribeUsagePlansStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUsagePlansStatusResponseParams `json:"Response"`
}

func NewDescribeUsagePlansStatusResponse

func NewDescribeUsagePlansStatusResponse() (response *DescribeUsagePlansStatusResponse)

func (*DescribeUsagePlansStatusResponse) FromJsonString

func (r *DescribeUsagePlansStatusResponse) 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 (*DescribeUsagePlansStatusResponse) ToJsonString

func (r *DescribeUsagePlansStatusResponse) ToJsonString() string

type DescribeUsagePlansStatusResponseParams

type DescribeUsagePlansStatusResponseParams struct {
	// Usage plan list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *UsagePlansStatus `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DetachPluginRequest

type DetachPluginRequest struct {
	*tchttp.BaseRequest

	// ID of the plugin to be unbound
	PluginId *string `json:"PluginId,omitnil,omitempty" name:"PluginId"`

	// Service ID
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// API environment
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// ID of the API to unbind from the plugin
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`
}

func NewDetachPluginRequest

func NewDetachPluginRequest() (request *DetachPluginRequest)

func (*DetachPluginRequest) FromJsonString

func (r *DetachPluginRequest) 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 (*DetachPluginRequest) ToJsonString

func (r *DetachPluginRequest) ToJsonString() string

type DetachPluginRequestParams

type DetachPluginRequestParams struct {
	// ID of the plugin to be unbound
	PluginId *string `json:"PluginId,omitnil,omitempty" name:"PluginId"`

	// Service ID
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// API environment
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// ID of the API to unbind from the plugin
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`
}

Predefined struct for user

type DetachPluginResponse

type DetachPluginResponse struct {
	*tchttp.BaseResponse
	Response *DetachPluginResponseParams `json:"Response"`
}

func NewDetachPluginResponse

func NewDetachPluginResponse() (response *DetachPluginResponse)

func (*DetachPluginResponse) FromJsonString

func (r *DetachPluginResponse) 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 (*DetachPluginResponse) ToJsonString

func (r *DetachPluginResponse) ToJsonString() string

type DetachPluginResponseParams

type DetachPluginResponseParams struct {
	// Whether unbinding succeeded.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DisableApiKeyRequest

type DisableApiKeyRequest struct {
	*tchttp.BaseRequest

	// ID of the key to be disabled.
	AccessKeyId *string `json:"AccessKeyId,omitnil,omitempty" name:"AccessKeyId"`
}

func NewDisableApiKeyRequest

func NewDisableApiKeyRequest() (request *DisableApiKeyRequest)

func (*DisableApiKeyRequest) FromJsonString

func (r *DisableApiKeyRequest) 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 (*DisableApiKeyRequest) ToJsonString

func (r *DisableApiKeyRequest) ToJsonString() string

type DisableApiKeyRequestParams

type DisableApiKeyRequestParams struct {
	// ID of the key to be disabled.
	AccessKeyId *string `json:"AccessKeyId,omitnil,omitempty" name:"AccessKeyId"`
}

Predefined struct for user

type DisableApiKeyResponse

type DisableApiKeyResponse struct {
	*tchttp.BaseResponse
	Response *DisableApiKeyResponseParams `json:"Response"`
}

func NewDisableApiKeyResponse

func NewDisableApiKeyResponse() (response *DisableApiKeyResponse)

func (*DisableApiKeyResponse) FromJsonString

func (r *DisableApiKeyResponse) 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 (*DisableApiKeyResponse) ToJsonString

func (r *DisableApiKeyResponse) ToJsonString() string

type DisableApiKeyResponseParams

type DisableApiKeyResponseParams struct {
	// Whether the key is successfully disabled.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DomainSetList

type DomainSetList struct {
	// Domain name.
	DomainName *string `json:"DomainName,omitnil,omitempty" name:"DomainName"`

	// Domain name resolution status. `1`: normal, `0`: failed
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Certificate ID.
	CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"`

	// Whether the default path mapping is used.
	IsDefaultMapping *bool `json:"IsDefaultMapping,omitnil,omitempty" name:"IsDefaultMapping"`

	// Custom domain name protocol type.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Network type. Valid values: INNER, OUTER.
	NetType *string `json:"NetType,omitnil,omitempty" name:"NetType"`

	// Whether to force HTTP requests to redirect to HTTPS. Default value: `false`. When this parameter is `true`, API Gateway will redirect all requests using the custom domain name over the HTTP protocol to the HTTPS protocol for forwarding.
	IsForcedHttps *bool `json:"IsForcedHttps,omitnil,omitempty" name:"IsForcedHttps"`

	// ICP filing status
	RegistrationStatus *bool `json:"RegistrationStatus,omitnil,omitempty" name:"RegistrationStatus"`
}

type DomainSets

type DomainSets struct {
	// Number of custom domain names under service
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Custom service domain name list.
	DomainSet []*DomainSetList `json:"DomainSet,omitnil,omitempty" name:"DomainSet"`
}

type EnableApiKeyRequest

type EnableApiKeyRequest struct {
	*tchttp.BaseRequest

	// ID of the key to be enabled.
	AccessKeyId *string `json:"AccessKeyId,omitnil,omitempty" name:"AccessKeyId"`
}

func NewEnableApiKeyRequest

func NewEnableApiKeyRequest() (request *EnableApiKeyRequest)

func (*EnableApiKeyRequest) FromJsonString

func (r *EnableApiKeyRequest) 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 (*EnableApiKeyRequest) ToJsonString

func (r *EnableApiKeyRequest) ToJsonString() string

type EnableApiKeyRequestParams

type EnableApiKeyRequestParams struct {
	// ID of the key to be enabled.
	AccessKeyId *string `json:"AccessKeyId,omitnil,omitempty" name:"AccessKeyId"`
}

Predefined struct for user

type EnableApiKeyResponse

type EnableApiKeyResponse struct {
	*tchttp.BaseResponse
	Response *EnableApiKeyResponseParams `json:"Response"`
}

func NewEnableApiKeyResponse

func NewEnableApiKeyResponse() (response *EnableApiKeyResponse)

func (*EnableApiKeyResponse) FromJsonString

func (r *EnableApiKeyResponse) 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 (*EnableApiKeyResponse) ToJsonString

func (r *EnableApiKeyResponse) ToJsonString() string

type EnableApiKeyResponseParams

type EnableApiKeyResponseParams struct {
	// Whether the key is successfully enabled.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Environment

type Environment struct {
	// Environment name.
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// Access path.
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`

	// Release status. 1: published. 0: not published.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Running version.
	VersionName *string `json:"VersionName,omitnil,omitempty" name:"VersionName"`
}

type EnvironmentStrategy

type EnvironmentStrategy struct {
	// Environment name
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// Throttling value
	Quota *int64 `json:"Quota,omitnil,omitempty" name:"Quota"`

	// Maximum quota value
	// Note: this field may return null, indicating that no valid values can be obtained.
	MaxQuota *int64 `json:"MaxQuota,omitnil,omitempty" name:"MaxQuota"`
}

type ErrorCodes

type ErrorCodes struct {
	// Custom response configuration error code.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Code *int64 `json:"Code,omitnil,omitempty" name:"Code"`

	// Custom response configuration error message.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"`

	// Custom response configuration error code remarks.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"`

	// Custom error code conversion.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ConvertedCode *int64 `json:"ConvertedCode,omitnil,omitempty" name:"ConvertedCode"`

	// Whether to enable error code conversion.
	// Note: this field may return null, indicating that no valid values can be obtained.
	NeedConvert *bool `json:"NeedConvert,omitnil,omitempty" name:"NeedConvert"`
}

type Filter

type Filter struct {
	// Field to be filtered.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Filter value of field.
	Values []*string `json:"Values,omitnil,omitempty" name:"Values"`
}

type HealthCheckConf

type HealthCheckConf struct {
	// Whether health check is enabled.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsHealthCheck *bool `json:"IsHealthCheck,omitnil,omitempty" name:"IsHealthCheck"`

	// Health check threshold.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RequestVolumeThreshold *int64 `json:"RequestVolumeThreshold,omitnil,omitempty" name:"RequestVolumeThreshold"`

	// Window size.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SleepWindowInMilliseconds *int64 `json:"SleepWindowInMilliseconds,omitnil,omitempty" name:"SleepWindowInMilliseconds"`

	// Threshold percentage.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ErrorThresholdPercentage *int64 `json:"ErrorThresholdPercentage,omitnil,omitempty" name:"ErrorThresholdPercentage"`
}

type IPStrategy

type IPStrategy struct {
	// Unique policy ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	StrategyId *string `json:"StrategyId,omitnil,omitempty" name:"StrategyId"`

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

	// Policy type. Valid values: WHITE (allowlist), BLACK (blocklist).
	// Note: this field may return null, indicating that no valid values can be obtained.
	StrategyType *string `json:"StrategyType,omitnil,omitempty" name:"StrategyType"`

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

	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

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

	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Number of APIs bound to policy.
	// Note: this field may return null, indicating that no valid values can be obtained.
	BindApiTotalCount *int64 `json:"BindApiTotalCount,omitnil,omitempty" name:"BindApiTotalCount"`

	// Bound API details.
	// Note: this field may return null, indicating that no valid values can be obtained.
	BindApis []*DesApisStatus `json:"BindApis,omitnil,omitempty" name:"BindApis"`
}

type IPStrategyApi

type IPStrategyApi struct {
	// Unique API ID.
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`

	// Custom API name.
	ApiName *string `json:"ApiName,omitnil,omitempty" name:"ApiName"`

	// API type. Valid values: NORMAL (general API), TSF (microservice API).
	ApiType *string `json:"ApiType,omitnil,omitempty" name:"ApiType"`

	// API path, such as `/path`.
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// API request method, such as `GET`.
	Method *string `json:"Method,omitnil,omitempty" name:"Method"`

	// Unique ID of another policy bound to API.
	OtherIPStrategyId *string `json:"OtherIPStrategyId,omitnil,omitempty" name:"OtherIPStrategyId"`

	// Environment bound to API.
	OtherEnvironmentName *string `json:"OtherEnvironmentName,omitnil,omitempty" name:"OtherEnvironmentName"`
}

type IPStrategyApiStatus

type IPStrategyApiStatus struct {
	// Number of APIs bound to environment.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Details of APIs bound to environment.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ApiIdStatusSet []*IPStrategyApi `json:"ApiIdStatusSet,omitnil,omitempty" name:"ApiIdStatusSet"`
}

type IPStrategysStatus

type IPStrategysStatus struct {
	// Number of policies.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Policy list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	StrategySet []*IPStrategy `json:"StrategySet,omitnil,omitempty" name:"StrategySet"`
}

type ImportOpenApiRequest

type ImportOpenApiRequest struct {
	*tchttp.BaseRequest

	// The unique ID of the service associated with the API
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Content of the openAPI
	Content *string `json:"Content,omitnil,omitempty" name:"Content"`

	// Format of the content. Values: `YAML` (default), `JSON`
	EncodeType *string `json:"EncodeType,omitnil,omitempty" name:"EncodeType"`

	// Version of the content. It can only be `openAPI` for now.
	ContentVersion *string `json:"ContentVersion,omitnil,omitempty" name:"ContentVersion"`
}

func NewImportOpenApiRequest

func NewImportOpenApiRequest() (request *ImportOpenApiRequest)

func (*ImportOpenApiRequest) FromJsonString

func (r *ImportOpenApiRequest) 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 (*ImportOpenApiRequest) ToJsonString

func (r *ImportOpenApiRequest) ToJsonString() string

type ImportOpenApiRequestParams

type ImportOpenApiRequestParams struct {
	// The unique ID of the service associated with the API
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Content of the openAPI
	Content *string `json:"Content,omitnil,omitempty" name:"Content"`

	// Format of the content. Values: `YAML` (default), `JSON`
	EncodeType *string `json:"EncodeType,omitnil,omitempty" name:"EncodeType"`

	// Version of the content. It can only be `openAPI` for now.
	ContentVersion *string `json:"ContentVersion,omitnil,omitempty" name:"ContentVersion"`
}

Predefined struct for user

type ImportOpenApiResponse

type ImportOpenApiResponse struct {
	*tchttp.BaseResponse
	Response *ImportOpenApiResponseParams `json:"Response"`
}

func NewImportOpenApiResponse

func NewImportOpenApiResponse() (response *ImportOpenApiResponse)

func (*ImportOpenApiResponse) FromJsonString

func (r *ImportOpenApiResponse) 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 (*ImportOpenApiResponse) ToJsonString

func (r *ImportOpenApiResponse) ToJsonString() string

type ImportOpenApiResponseParams

type ImportOpenApiResponseParams struct {
	// The result of importing the OpenAPI
	Result *CreateApiRspSet `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type K8sLabel

type K8sLabel struct {
	// Key of the label
	Key *string `json:"Key,omitnil,omitempty" name:"Key"`

	// Value of the label
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type K8sService

type K8sService struct {
	// Weight
	Weight *int64 `json:"Weight,omitnil,omitempty" name:"Weight"`

	// K8s cluster ID
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Namespace of the container
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// Name of the service
	ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`

	// Service port
	Port *int64 `json:"Port,omitnil,omitempty" name:"Port"`

	// The additional Label of the Pod
	ExtraLabels []*K8sLabel `json:"ExtraLabels,omitnil,omitempty" name:"ExtraLabels"`

	// (Optional) Custom name of the service
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}

type LogQuery

type LogQuery struct {
	// Search field
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Operator
	Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"`

	// Search value
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type MicroService

type MicroService struct {
	// Microservice cluster ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Microservice namespace ID.
	NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`

	// Microservice name.
	MicroServiceName *string `json:"MicroServiceName,omitnil,omitempty" name:"MicroServiceName"`
}

type MicroServiceReq

type MicroServiceReq struct {
	// Microservice cluster.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Microservice namespace.
	NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`

	// Microservice name.
	MicroServiceName *string `json:"MicroServiceName,omitnil,omitempty" name:"MicroServiceName"`
}

type ModifyAPIDocRequest

type ModifyAPIDocRequest struct {
	*tchttp.BaseRequest

	// API document ID
	ApiDocId *string `json:"ApiDocId,omitnil,omitempty" name:"ApiDocId"`

	// API document name
	ApiDocName *string `json:"ApiDocName,omitnil,omitempty" name:"ApiDocName"`

	// Service name
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Environment name
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`

	// List of APIs for which to generate documents
	ApiIds []*string `json:"ApiIds,omitnil,omitempty" name:"ApiIds"`
}

func NewModifyAPIDocRequest

func NewModifyAPIDocRequest() (request *ModifyAPIDocRequest)

func (*ModifyAPIDocRequest) FromJsonString

func (r *ModifyAPIDocRequest) 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 (*ModifyAPIDocRequest) ToJsonString

func (r *ModifyAPIDocRequest) ToJsonString() string

type ModifyAPIDocRequestParams

type ModifyAPIDocRequestParams struct {
	// API document ID
	ApiDocId *string `json:"ApiDocId,omitnil,omitempty" name:"ApiDocId"`

	// API document name
	ApiDocName *string `json:"ApiDocName,omitnil,omitempty" name:"ApiDocName"`

	// Service name
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Environment name
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`

	// List of APIs for which to generate documents
	ApiIds []*string `json:"ApiIds,omitnil,omitempty" name:"ApiIds"`
}

Predefined struct for user

type ModifyAPIDocResponse

type ModifyAPIDocResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAPIDocResponseParams `json:"Response"`
}

func NewModifyAPIDocResponse

func NewModifyAPIDocResponse() (response *ModifyAPIDocResponse)

func (*ModifyAPIDocResponse) FromJsonString

func (r *ModifyAPIDocResponse) 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 (*ModifyAPIDocResponse) ToJsonString

func (r *ModifyAPIDocResponse) ToJsonString() string

type ModifyAPIDocResponseParams

type ModifyAPIDocResponseParams struct {
	// Basic information of API document
	Result *APIDoc `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyApiAppRequest

type ModifyApiAppRequest struct {
	*tchttp.BaseRequest

	// Unique application ID.
	ApiAppId *string `json:"ApiAppId,omitnil,omitempty" name:"ApiAppId"`

	// Modified application name
	ApiAppName *string `json:"ApiAppName,omitnil,omitempty" name:"ApiAppName"`

	// Modified application description
	ApiAppDesc *string `json:"ApiAppDesc,omitnil,omitempty" name:"ApiAppDesc"`
}

func NewModifyApiAppRequest

func NewModifyApiAppRequest() (request *ModifyApiAppRequest)

func (*ModifyApiAppRequest) FromJsonString

func (r *ModifyApiAppRequest) 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 (*ModifyApiAppRequest) ToJsonString

func (r *ModifyApiAppRequest) ToJsonString() string

type ModifyApiAppRequestParams

type ModifyApiAppRequestParams struct {
	// Unique application ID.
	ApiAppId *string `json:"ApiAppId,omitnil,omitempty" name:"ApiAppId"`

	// Modified application name
	ApiAppName *string `json:"ApiAppName,omitnil,omitempty" name:"ApiAppName"`

	// Modified application description
	ApiAppDesc *string `json:"ApiAppDesc,omitnil,omitempty" name:"ApiAppDesc"`
}

Predefined struct for user

type ModifyApiAppResponse

type ModifyApiAppResponse struct {
	*tchttp.BaseResponse
	Response *ModifyApiAppResponseParams `json:"Response"`
}

func NewModifyApiAppResponse

func NewModifyApiAppResponse() (response *ModifyApiAppResponse)

func (*ModifyApiAppResponse) FromJsonString

func (r *ModifyApiAppResponse) 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 (*ModifyApiAppResponse) ToJsonString

func (r *ModifyApiAppResponse) ToJsonString() string

type ModifyApiAppResponseParams

type ModifyApiAppResponseParams struct {
	// Whether modification succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyApiEnvironmentStrategyRequest

type ModifyApiEnvironmentStrategyRequest struct {
	*tchttp.BaseRequest

	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Throttling value.
	Strategy *int64 `json:"Strategy,omitnil,omitempty" name:"Strategy"`

	// Environment name.
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// API list.
	ApiIds []*string `json:"ApiIds,omitnil,omitempty" name:"ApiIds"`
}

func NewModifyApiEnvironmentStrategyRequest

func NewModifyApiEnvironmentStrategyRequest() (request *ModifyApiEnvironmentStrategyRequest)

func (*ModifyApiEnvironmentStrategyRequest) FromJsonString

func (r *ModifyApiEnvironmentStrategyRequest) 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 (*ModifyApiEnvironmentStrategyRequest) ToJsonString

func (r *ModifyApiEnvironmentStrategyRequest) ToJsonString() string

type ModifyApiEnvironmentStrategyRequestParams

type ModifyApiEnvironmentStrategyRequestParams struct {
	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Throttling value.
	Strategy *int64 `json:"Strategy,omitnil,omitempty" name:"Strategy"`

	// Environment name.
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// API list.
	ApiIds []*string `json:"ApiIds,omitnil,omitempty" name:"ApiIds"`
}

Predefined struct for user

type ModifyApiEnvironmentStrategyResponse

type ModifyApiEnvironmentStrategyResponse struct {
	*tchttp.BaseResponse
	Response *ModifyApiEnvironmentStrategyResponseParams `json:"Response"`
}

func NewModifyApiEnvironmentStrategyResponse

func NewModifyApiEnvironmentStrategyResponse() (response *ModifyApiEnvironmentStrategyResponse)

func (*ModifyApiEnvironmentStrategyResponse) FromJsonString

func (r *ModifyApiEnvironmentStrategyResponse) 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 (*ModifyApiEnvironmentStrategyResponse) ToJsonString

func (r *ModifyApiEnvironmentStrategyResponse) ToJsonString() string

type ModifyApiEnvironmentStrategyResponseParams

type ModifyApiEnvironmentStrategyResponseParams struct {
	// Whether modification succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyApiIncrementRequest

type ModifyApiIncrementRequest struct {
	*tchttp.BaseRequest

	// Service ID
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// API ID
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`

	// Authorization type of the API to be modified (you can select `OAUTH`, i.e., authorization API)
	BusinessType *string `json:"BusinessType,omitnil,omitempty" name:"BusinessType"`

	// Public key value to be modified by OAuth API
	PublicKey *string `json:"PublicKey,omitnil,omitempty" name:"PublicKey"`

	// OAuth API redirect address
	LoginRedirectUrl *string `json:"LoginRedirectUrl,omitnil,omitempty" name:"LoginRedirectUrl"`
}

func NewModifyApiIncrementRequest

func NewModifyApiIncrementRequest() (request *ModifyApiIncrementRequest)

func (*ModifyApiIncrementRequest) FromJsonString

func (r *ModifyApiIncrementRequest) 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 (*ModifyApiIncrementRequest) ToJsonString

func (r *ModifyApiIncrementRequest) ToJsonString() string

type ModifyApiIncrementRequestParams

type ModifyApiIncrementRequestParams struct {
	// Service ID
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// API ID
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`

	// Authorization type of the API to be modified (you can select `OAUTH`, i.e., authorization API)
	BusinessType *string `json:"BusinessType,omitnil,omitempty" name:"BusinessType"`

	// Public key value to be modified by OAuth API
	PublicKey *string `json:"PublicKey,omitnil,omitempty" name:"PublicKey"`

	// OAuth API redirect address
	LoginRedirectUrl *string `json:"LoginRedirectUrl,omitnil,omitempty" name:"LoginRedirectUrl"`
}

Predefined struct for user

type ModifyApiIncrementResponse

type ModifyApiIncrementResponse struct {
	*tchttp.BaseResponse
	Response *ModifyApiIncrementResponseParams `json:"Response"`
}

func NewModifyApiIncrementResponse

func NewModifyApiIncrementResponse() (response *ModifyApiIncrementResponse)

func (*ModifyApiIncrementResponse) FromJsonString

func (r *ModifyApiIncrementResponse) 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 (*ModifyApiIncrementResponse) ToJsonString

func (r *ModifyApiIncrementResponse) ToJsonString() string

type ModifyApiIncrementResponseParams

type ModifyApiIncrementResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyApiRequest

type ModifyApiRequest struct {
	*tchttp.BaseRequest

	// Unique service ID of API.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// API backend service type. Valid values: HTTP, MOCK, TSF, CLB, SCF, WEBSOCKET, TARGET (in beta test).
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`

	// Request frontend configuration.
	RequestConfig *RequestConfig `json:"RequestConfig,omitnil,omitempty" name:"RequestConfig"`

	// Unique API ID.
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`

	// Custom API name.
	ApiName *string `json:"ApiName,omitnil,omitempty" name:"ApiName"`

	// Custom API description.
	ApiDesc *string `json:"ApiDesc,omitnil,omitempty" name:"ApiDesc"`

	// API type. Valid values: NORMAL, TSF. Default value: NORMAL.
	ApiType *string `json:"ApiType,omitnil,omitempty" name:"ApiType"`

	// API authentication type. Valid values: SECRET, NONE, OAUTH, APP. Default value: NONE.
	AuthType *string `json:"AuthType,omitnil,omitempty" name:"AuthType"`

	// Whether signature authentication is required. True: yes; False: no. This parameter is to be disused.
	AuthRequired *bool `json:"AuthRequired,omitnil,omitempty" name:"AuthRequired"`

	// API backend service timeout period in seconds.
	ServiceTimeout *int64 `json:"ServiceTimeout,omitnil,omitempty" name:"ServiceTimeout"`

	// API frontend request type, such as HTTP, HTTPS, or HTTP and HTTPS.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Whether to enable CORS. True: yes; False: no.
	EnableCORS *bool `json:"EnableCORS,omitnil,omitempty" name:"EnableCORS"`

	// Constant parameter.
	ConstantParameters []*ConstantParameter `json:"ConstantParameters,omitnil,omitempty" name:"ConstantParameters"`

	// Frontend request parameter.
	RequestParameters []*ReqParameter `json:"RequestParameters,omitnil,omitempty" name:"RequestParameters"`

	// This field is valid if `AuthType` is `OAUTH`. NORMAL: business API; OAUTH: authorization API.
	ApiBusinessType *string `json:"ApiBusinessType,omitnil,omitempty" name:"ApiBusinessType"`

	// Returned message of API backend Mock, which is required if `ServiceType` is `Mock`.
	ServiceMockReturnMessage *string `json:"ServiceMockReturnMessage,omitnil,omitempty" name:"ServiceMockReturnMessage"`

	// List of microservices bound to API.
	MicroServices []*MicroServiceReq `json:"MicroServices,omitnil,omitempty" name:"MicroServices"`

	// Load balancing configuration of microservice.
	ServiceTsfLoadBalanceConf *TsfLoadBalanceConfResp `json:"ServiceTsfLoadBalanceConf,omitnil,omitempty" name:"ServiceTsfLoadBalanceConf"`

	// Health check configuration of microservice.
	ServiceTsfHealthCheckConf *HealthCheckConf `json:"ServiceTsfHealthCheckConf,omitnil,omitempty" name:"ServiceTsfHealthCheckConf"`

	// `target` type load balancing configuration (in beta test).
	TargetServicesLoadBalanceConf *int64 `json:"TargetServicesLoadBalanceConf,omitnil,omitempty" name:"TargetServicesLoadBalanceConf"`

	// `target` health check configuration (in beta test).
	TargetServicesHealthCheckConf *HealthCheckConf `json:"TargetServicesHealthCheckConf,omitnil,omitempty" name:"TargetServicesHealthCheckConf"`

	// SCF function name, which takes effect if the backend type is `SCF`.
	ServiceScfFunctionName *string `json:"ServiceScfFunctionName,omitnil,omitempty" name:"ServiceScfFunctionName"`

	// SCF WebSocket registration function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketRegisterFunctionName *string `json:"ServiceWebsocketRegisterFunctionName,omitnil,omitempty" name:"ServiceWebsocketRegisterFunctionName"`

	// SCF WebSocket cleanup function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketCleanupFunctionName *string `json:"ServiceWebsocketCleanupFunctionName,omitnil,omitempty" name:"ServiceWebsocketCleanupFunctionName"`

	// SCF WebSocket transfer function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketTransportFunctionName *string `json:"ServiceWebsocketTransportFunctionName,omitnil,omitempty" name:"ServiceWebsocketTransportFunctionName"`

	// SCF function namespace, which takes effect if the backend type is `SCF`.
	ServiceScfFunctionNamespace *string `json:"ServiceScfFunctionNamespace,omitnil,omitempty" name:"ServiceScfFunctionNamespace"`

	// SCF function version, which takes effect if the backend type is `SCF`.
	ServiceScfFunctionQualifier *string `json:"ServiceScfFunctionQualifier,omitnil,omitempty" name:"ServiceScfFunctionQualifier"`

	// SCF WebSocket registration function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketRegisterFunctionNamespace *string `json:"ServiceWebsocketRegisterFunctionNamespace,omitnil,omitempty" name:"ServiceWebsocketRegisterFunctionNamespace"`

	// SCF WebSocket transfer function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketRegisterFunctionQualifier *string `json:"ServiceWebsocketRegisterFunctionQualifier,omitnil,omitempty" name:"ServiceWebsocketRegisterFunctionQualifier"`

	// SCF WebSocket transfer function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketTransportFunctionNamespace *string `json:"ServiceWebsocketTransportFunctionNamespace,omitnil,omitempty" name:"ServiceWebsocketTransportFunctionNamespace"`

	// SCF WebSocket transfer function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketTransportFunctionQualifier *string `json:"ServiceWebsocketTransportFunctionQualifier,omitnil,omitempty" name:"ServiceWebsocketTransportFunctionQualifier"`

	// SCF WebSocket cleanup function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketCleanupFunctionNamespace *string `json:"ServiceWebsocketCleanupFunctionNamespace,omitnil,omitempty" name:"ServiceWebsocketCleanupFunctionNamespace"`

	// SCF WebSocket cleanup function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketCleanupFunctionQualifier *string `json:"ServiceWebsocketCleanupFunctionQualifier,omitnil,omitempty" name:"ServiceWebsocketCleanupFunctionQualifier"`

	// Whether to enable response integration, which takes effect if the backend type is `SCF`.
	ServiceScfIsIntegratedResponse *bool `json:"ServiceScfIsIntegratedResponse,omitnil,omitempty" name:"ServiceScfIsIntegratedResponse"`

	// Billing after debugging starts (reserved field for marketplace).
	IsDebugAfterCharge *bool `json:"IsDebugAfterCharge,omitnil,omitempty" name:"IsDebugAfterCharge"`

	// Tag.
	TagSpecifications *Tag `json:"TagSpecifications,omitnil,omitempty" name:"TagSpecifications"`

	// Whether to delete the error codes for custom response configuration. If the value is left empty or `False`, the error codes will not be deleted. If the value is `True`, all custom response configuration error codes of the API will be deleted.
	IsDeleteResponseErrorCodes *bool `json:"IsDeleteResponseErrorCodes,omitnil,omitempty" name:"IsDeleteResponseErrorCodes"`

	// Return type.
	ResponseType *string `json:"ResponseType,omitnil,omitempty" name:"ResponseType"`

	// Sample response for successful custom response configuration.
	ResponseSuccessExample *string `json:"ResponseSuccessExample,omitnil,omitempty" name:"ResponseSuccessExample"`

	// Sample response for failed custom response configuration.
	ResponseFailExample *string `json:"ResponseFailExample,omitnil,omitempty" name:"ResponseFailExample"`

	// API backend service configuration.
	ServiceConfig *ServiceConfig `json:"ServiceConfig,omitnil,omitempty" name:"ServiceConfig"`

	// Unique ID of associated authorization API, which takes effect only if `AuthType` is `OAUTH` and `ApiBusinessType` is `NORMAL`. It is the unique ID of the OAuth 2.0 authorization API bound to the business API.
	AuthRelationApiId *string `json:"AuthRelationApiId,omitnil,omitempty" name:"AuthRelationApiId"`

	// API backend service parameter.
	ServiceParameters []*ServiceParameter `json:"ServiceParameters,omitnil,omitempty" name:"ServiceParameters"`

	// OAuth configuration, which takes effect if `AuthType` is `OAUTH`.
	OauthConfig *OauthConfig `json:"OauthConfig,omitnil,omitempty" name:"OauthConfig"`

	// Custom error code configuration.
	ResponseErrorCodes []*ResponseErrorCodeReq `json:"ResponseErrorCodes,omitnil,omitempty" name:"ResponseErrorCodes"`

	// Whether to enable Base64 encoding. This parameter takes effect only when the backend is SCF.
	IsBase64Encoded *bool `json:"IsBase64Encoded,omitnil,omitempty" name:"IsBase64Encoded"`

	// Whether to trigger Base64 encoding by header. This parameter takes effect only when the backend is SCF.
	IsBase64Trigger *bool `json:"IsBase64Trigger,omitnil,omitempty" name:"IsBase64Trigger"`

	// Header trigger rules. The number of rules cannot exceed 10.
	Base64EncodedTriggerRules []*Base64EncodedTriggerRule `json:"Base64EncodedTriggerRules,omitnil,omitempty" name:"Base64EncodedTriggerRules"`

	// Event bus ID.
	EventBusId *string `json:"EventBusId,omitnil,omitempty" name:"EventBusId"`

	// SCF function type, which takes effect when the backend type is `SCF`. Valid values: `EVENT` and `HTTP`.
	ServiceScfFunctionType *string `json:"ServiceScfFunctionType,omitnil,omitempty" name:"ServiceScfFunctionType"`

	// EIAM application type.
	EIAMAppType *string `json:"EIAMAppType,omitnil,omitempty" name:"EIAMAppType"`

	// EIAM application authentication type. Valid values: `AuthenticationOnly`, `Authentication`, `Authorization`.
	EIAMAuthType *string `json:"EIAMAuthType,omitnil,omitempty" name:"EIAMAuthType"`

	// Validity of the EIAM application token. Unit: second. Default value: `7200`.
	EIAMAppId *string `json:"EIAMAppId,omitnil,omitempty" name:"EIAMAppId"`

	// EIAM application ID.
	TokenTimeout *int64 `json:"TokenTimeout,omitnil,omitempty" name:"TokenTimeout"`
}

func NewModifyApiRequest

func NewModifyApiRequest() (request *ModifyApiRequest)

func (*ModifyApiRequest) FromJsonString

func (r *ModifyApiRequest) 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 (*ModifyApiRequest) ToJsonString

func (r *ModifyApiRequest) ToJsonString() string

type ModifyApiRequestParams

type ModifyApiRequestParams struct {
	// Unique service ID of API.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// API backend service type. Valid values: HTTP, MOCK, TSF, CLB, SCF, WEBSOCKET, TARGET (in beta test).
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`

	// Request frontend configuration.
	RequestConfig *RequestConfig `json:"RequestConfig,omitnil,omitempty" name:"RequestConfig"`

	// Unique API ID.
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`

	// Custom API name.
	ApiName *string `json:"ApiName,omitnil,omitempty" name:"ApiName"`

	// Custom API description.
	ApiDesc *string `json:"ApiDesc,omitnil,omitempty" name:"ApiDesc"`

	// API type. Valid values: NORMAL, TSF. Default value: NORMAL.
	ApiType *string `json:"ApiType,omitnil,omitempty" name:"ApiType"`

	// API authentication type. Valid values: SECRET, NONE, OAUTH, APP. Default value: NONE.
	AuthType *string `json:"AuthType,omitnil,omitempty" name:"AuthType"`

	// Whether signature authentication is required. True: yes; False: no. This parameter is to be disused.
	AuthRequired *bool `json:"AuthRequired,omitnil,omitempty" name:"AuthRequired"`

	// API backend service timeout period in seconds.
	ServiceTimeout *int64 `json:"ServiceTimeout,omitnil,omitempty" name:"ServiceTimeout"`

	// API frontend request type, such as HTTP, HTTPS, or HTTP and HTTPS.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Whether to enable CORS. True: yes; False: no.
	EnableCORS *bool `json:"EnableCORS,omitnil,omitempty" name:"EnableCORS"`

	// Constant parameter.
	ConstantParameters []*ConstantParameter `json:"ConstantParameters,omitnil,omitempty" name:"ConstantParameters"`

	// Frontend request parameter.
	RequestParameters []*ReqParameter `json:"RequestParameters,omitnil,omitempty" name:"RequestParameters"`

	// This field is valid if `AuthType` is `OAUTH`. NORMAL: business API; OAUTH: authorization API.
	ApiBusinessType *string `json:"ApiBusinessType,omitnil,omitempty" name:"ApiBusinessType"`

	// Returned message of API backend Mock, which is required if `ServiceType` is `Mock`.
	ServiceMockReturnMessage *string `json:"ServiceMockReturnMessage,omitnil,omitempty" name:"ServiceMockReturnMessage"`

	// List of microservices bound to API.
	MicroServices []*MicroServiceReq `json:"MicroServices,omitnil,omitempty" name:"MicroServices"`

	// Load balancing configuration of microservice.
	ServiceTsfLoadBalanceConf *TsfLoadBalanceConfResp `json:"ServiceTsfLoadBalanceConf,omitnil,omitempty" name:"ServiceTsfLoadBalanceConf"`

	// Health check configuration of microservice.
	ServiceTsfHealthCheckConf *HealthCheckConf `json:"ServiceTsfHealthCheckConf,omitnil,omitempty" name:"ServiceTsfHealthCheckConf"`

	// `target` type load balancing configuration (in beta test).
	TargetServicesLoadBalanceConf *int64 `json:"TargetServicesLoadBalanceConf,omitnil,omitempty" name:"TargetServicesLoadBalanceConf"`

	// `target` health check configuration (in beta test).
	TargetServicesHealthCheckConf *HealthCheckConf `json:"TargetServicesHealthCheckConf,omitnil,omitempty" name:"TargetServicesHealthCheckConf"`

	// SCF function name, which takes effect if the backend type is `SCF`.
	ServiceScfFunctionName *string `json:"ServiceScfFunctionName,omitnil,omitempty" name:"ServiceScfFunctionName"`

	// SCF WebSocket registration function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketRegisterFunctionName *string `json:"ServiceWebsocketRegisterFunctionName,omitnil,omitempty" name:"ServiceWebsocketRegisterFunctionName"`

	// SCF WebSocket cleanup function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketCleanupFunctionName *string `json:"ServiceWebsocketCleanupFunctionName,omitnil,omitempty" name:"ServiceWebsocketCleanupFunctionName"`

	// SCF WebSocket transfer function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketTransportFunctionName *string `json:"ServiceWebsocketTransportFunctionName,omitnil,omitempty" name:"ServiceWebsocketTransportFunctionName"`

	// SCF function namespace, which takes effect if the backend type is `SCF`.
	ServiceScfFunctionNamespace *string `json:"ServiceScfFunctionNamespace,omitnil,omitempty" name:"ServiceScfFunctionNamespace"`

	// SCF function version, which takes effect if the backend type is `SCF`.
	ServiceScfFunctionQualifier *string `json:"ServiceScfFunctionQualifier,omitnil,omitempty" name:"ServiceScfFunctionQualifier"`

	// SCF WebSocket registration function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketRegisterFunctionNamespace *string `json:"ServiceWebsocketRegisterFunctionNamespace,omitnil,omitempty" name:"ServiceWebsocketRegisterFunctionNamespace"`

	// SCF WebSocket transfer function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketRegisterFunctionQualifier *string `json:"ServiceWebsocketRegisterFunctionQualifier,omitnil,omitempty" name:"ServiceWebsocketRegisterFunctionQualifier"`

	// SCF WebSocket transfer function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketTransportFunctionNamespace *string `json:"ServiceWebsocketTransportFunctionNamespace,omitnil,omitempty" name:"ServiceWebsocketTransportFunctionNamespace"`

	// SCF WebSocket transfer function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketTransportFunctionQualifier *string `json:"ServiceWebsocketTransportFunctionQualifier,omitnil,omitempty" name:"ServiceWebsocketTransportFunctionQualifier"`

	// SCF WebSocket cleanup function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketCleanupFunctionNamespace *string `json:"ServiceWebsocketCleanupFunctionNamespace,omitnil,omitempty" name:"ServiceWebsocketCleanupFunctionNamespace"`

	// SCF WebSocket cleanup function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
	ServiceWebsocketCleanupFunctionQualifier *string `json:"ServiceWebsocketCleanupFunctionQualifier,omitnil,omitempty" name:"ServiceWebsocketCleanupFunctionQualifier"`

	// Whether to enable response integration, which takes effect if the backend type is `SCF`.
	ServiceScfIsIntegratedResponse *bool `json:"ServiceScfIsIntegratedResponse,omitnil,omitempty" name:"ServiceScfIsIntegratedResponse"`

	// Billing after debugging starts (reserved field for marketplace).
	IsDebugAfterCharge *bool `json:"IsDebugAfterCharge,omitnil,omitempty" name:"IsDebugAfterCharge"`

	// Tag.
	TagSpecifications *Tag `json:"TagSpecifications,omitnil,omitempty" name:"TagSpecifications"`

	// Whether to delete the error codes for custom response configuration. If the value is left empty or `False`, the error codes will not be deleted. If the value is `True`, all custom response configuration error codes of the API will be deleted.
	IsDeleteResponseErrorCodes *bool `json:"IsDeleteResponseErrorCodes,omitnil,omitempty" name:"IsDeleteResponseErrorCodes"`

	// Return type.
	ResponseType *string `json:"ResponseType,omitnil,omitempty" name:"ResponseType"`

	// Sample response for successful custom response configuration.
	ResponseSuccessExample *string `json:"ResponseSuccessExample,omitnil,omitempty" name:"ResponseSuccessExample"`

	// Sample response for failed custom response configuration.
	ResponseFailExample *string `json:"ResponseFailExample,omitnil,omitempty" name:"ResponseFailExample"`

	// API backend service configuration.
	ServiceConfig *ServiceConfig `json:"ServiceConfig,omitnil,omitempty" name:"ServiceConfig"`

	// Unique ID of associated authorization API, which takes effect only if `AuthType` is `OAUTH` and `ApiBusinessType` is `NORMAL`. It is the unique ID of the OAuth 2.0 authorization API bound to the business API.
	AuthRelationApiId *string `json:"AuthRelationApiId,omitnil,omitempty" name:"AuthRelationApiId"`

	// API backend service parameter.
	ServiceParameters []*ServiceParameter `json:"ServiceParameters,omitnil,omitempty" name:"ServiceParameters"`

	// OAuth configuration, which takes effect if `AuthType` is `OAUTH`.
	OauthConfig *OauthConfig `json:"OauthConfig,omitnil,omitempty" name:"OauthConfig"`

	// Custom error code configuration.
	ResponseErrorCodes []*ResponseErrorCodeReq `json:"ResponseErrorCodes,omitnil,omitempty" name:"ResponseErrorCodes"`

	// Whether to enable Base64 encoding. This parameter takes effect only when the backend is SCF.
	IsBase64Encoded *bool `json:"IsBase64Encoded,omitnil,omitempty" name:"IsBase64Encoded"`

	// Whether to trigger Base64 encoding by header. This parameter takes effect only when the backend is SCF.
	IsBase64Trigger *bool `json:"IsBase64Trigger,omitnil,omitempty" name:"IsBase64Trigger"`

	// Header trigger rules. The number of rules cannot exceed 10.
	Base64EncodedTriggerRules []*Base64EncodedTriggerRule `json:"Base64EncodedTriggerRules,omitnil,omitempty" name:"Base64EncodedTriggerRules"`

	// Event bus ID.
	EventBusId *string `json:"EventBusId,omitnil,omitempty" name:"EventBusId"`

	// SCF function type, which takes effect when the backend type is `SCF`. Valid values: `EVENT` and `HTTP`.
	ServiceScfFunctionType *string `json:"ServiceScfFunctionType,omitnil,omitempty" name:"ServiceScfFunctionType"`

	// EIAM application type.
	EIAMAppType *string `json:"EIAMAppType,omitnil,omitempty" name:"EIAMAppType"`

	// EIAM application authentication type. Valid values: `AuthenticationOnly`, `Authentication`, `Authorization`.
	EIAMAuthType *string `json:"EIAMAuthType,omitnil,omitempty" name:"EIAMAuthType"`

	// Validity of the EIAM application token. Unit: second. Default value: `7200`.
	EIAMAppId *string `json:"EIAMAppId,omitnil,omitempty" name:"EIAMAppId"`

	// EIAM application ID.
	TokenTimeout *int64 `json:"TokenTimeout,omitnil,omitempty" name:"TokenTimeout"`
}

Predefined struct for user

type ModifyApiResponse

type ModifyApiResponse struct {
	*tchttp.BaseResponse
	Response *ModifyApiResponseParams `json:"Response"`
}

func NewModifyApiResponse

func NewModifyApiResponse() (response *ModifyApiResponse)

func (*ModifyApiResponse) FromJsonString

func (r *ModifyApiResponse) 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 (*ModifyApiResponse) ToJsonString

func (r *ModifyApiResponse) ToJsonString() string

type ModifyApiResponseParams

type ModifyApiResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyIPStrategyRequest

type ModifyIPStrategyRequest struct {
	*tchttp.BaseRequest

	// Unique service ID of the policy to be modified.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique ID of the policy to be modified.
	StrategyId *string `json:"StrategyId,omitnil,omitempty" name:"StrategyId"`

	// Details of the policy to be modified.
	StrategyData *string `json:"StrategyData,omitnil,omitempty" name:"StrategyData"`
}

func NewModifyIPStrategyRequest

func NewModifyIPStrategyRequest() (request *ModifyIPStrategyRequest)

func (*ModifyIPStrategyRequest) FromJsonString

func (r *ModifyIPStrategyRequest) 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 (*ModifyIPStrategyRequest) ToJsonString

func (r *ModifyIPStrategyRequest) ToJsonString() string

type ModifyIPStrategyRequestParams

type ModifyIPStrategyRequestParams struct {
	// Unique service ID of the policy to be modified.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique ID of the policy to be modified.
	StrategyId *string `json:"StrategyId,omitnil,omitempty" name:"StrategyId"`

	// Details of the policy to be modified.
	StrategyData *string `json:"StrategyData,omitnil,omitempty" name:"StrategyData"`
}

Predefined struct for user

type ModifyIPStrategyResponse

type ModifyIPStrategyResponse struct {
	*tchttp.BaseResponse
	Response *ModifyIPStrategyResponseParams `json:"Response"`
}

func NewModifyIPStrategyResponse

func NewModifyIPStrategyResponse() (response *ModifyIPStrategyResponse)

func (*ModifyIPStrategyResponse) FromJsonString

func (r *ModifyIPStrategyResponse) 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 (*ModifyIPStrategyResponse) ToJsonString

func (r *ModifyIPStrategyResponse) ToJsonString() string

type ModifyIPStrategyResponseParams

type ModifyIPStrategyResponseParams struct {
	// Whether modification succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyPluginRequest

type ModifyPluginRequest struct {
	*tchttp.BaseRequest

	// ID of the plugin to be modified
	PluginId *string `json:"PluginId,omitnil,omitempty" name:"PluginId"`

	// Plugin name to be modified. A plugin name can contain up to 50 characters out of `a-z`, `A-Z`, `0-9`, and `_`, which must begin with a letter and end with a letter or a number.
	PluginName *string `json:"PluginName,omitnil,omitempty" name:"PluginName"`

	// Plugin description to be modified. A description is within 200 characters.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Plugin definition statement to be modified. The json format is supported.
	PluginData *string `json:"PluginData,omitnil,omitempty" name:"PluginData"`
}

func NewModifyPluginRequest

func NewModifyPluginRequest() (request *ModifyPluginRequest)

func (*ModifyPluginRequest) FromJsonString

func (r *ModifyPluginRequest) 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 (*ModifyPluginRequest) ToJsonString

func (r *ModifyPluginRequest) ToJsonString() string

type ModifyPluginRequestParams

type ModifyPluginRequestParams struct {
	// ID of the plugin to be modified
	PluginId *string `json:"PluginId,omitnil,omitempty" name:"PluginId"`

	// Plugin name to be modified. A plugin name can contain up to 50 characters out of `a-z`, `A-Z`, `0-9`, and `_`, which must begin with a letter and end with a letter or a number.
	PluginName *string `json:"PluginName,omitnil,omitempty" name:"PluginName"`

	// Plugin description to be modified. A description is within 200 characters.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Plugin definition statement to be modified. The json format is supported.
	PluginData *string `json:"PluginData,omitnil,omitempty" name:"PluginData"`
}

Predefined struct for user

type ModifyPluginResponse

type ModifyPluginResponse struct {
	*tchttp.BaseResponse
	Response *ModifyPluginResponseParams `json:"Response"`
}

func NewModifyPluginResponse

func NewModifyPluginResponse() (response *ModifyPluginResponse)

func (*ModifyPluginResponse) FromJsonString

func (r *ModifyPluginResponse) 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 (*ModifyPluginResponse) ToJsonString

func (r *ModifyPluginResponse) ToJsonString() string

type ModifyPluginResponseParams

type ModifyPluginResponseParams struct {
	// Whether modification succeeded.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyServiceEnvironmentStrategyRequest

type ModifyServiceEnvironmentStrategyRequest struct {
	*tchttp.BaseRequest

	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Throttling value.
	Strategy *int64 `json:"Strategy,omitnil,omitempty" name:"Strategy"`

	// Environment list.
	EnvironmentNames []*string `json:"EnvironmentNames,omitnil,omitempty" name:"EnvironmentNames"`
}

func NewModifyServiceEnvironmentStrategyRequest

func NewModifyServiceEnvironmentStrategyRequest() (request *ModifyServiceEnvironmentStrategyRequest)

func (*ModifyServiceEnvironmentStrategyRequest) FromJsonString

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

func (*ModifyServiceEnvironmentStrategyRequest) ToJsonString

type ModifyServiceEnvironmentStrategyRequestParams

type ModifyServiceEnvironmentStrategyRequestParams struct {
	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Throttling value.
	Strategy *int64 `json:"Strategy,omitnil,omitempty" name:"Strategy"`

	// Environment list.
	EnvironmentNames []*string `json:"EnvironmentNames,omitnil,omitempty" name:"EnvironmentNames"`
}

Predefined struct for user

type ModifyServiceEnvironmentStrategyResponse

type ModifyServiceEnvironmentStrategyResponse struct {
	*tchttp.BaseResponse
	Response *ModifyServiceEnvironmentStrategyResponseParams `json:"Response"`
}

func NewModifyServiceEnvironmentStrategyResponse

func NewModifyServiceEnvironmentStrategyResponse() (response *ModifyServiceEnvironmentStrategyResponse)

func (*ModifyServiceEnvironmentStrategyResponse) FromJsonString

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

func (*ModifyServiceEnvironmentStrategyResponse) ToJsonString

type ModifyServiceEnvironmentStrategyResponseParams

type ModifyServiceEnvironmentStrategyResponseParams struct {
	// Whether modification succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyServiceRequest

type ModifyServiceRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the service to be modified.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Service name after modification.
	ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`

	// Service description after modification.
	ServiceDesc *string `json:"ServiceDesc,omitnil,omitempty" name:"ServiceDesc"`

	// Service frontend request type after modification, such as `http`, `https`, and `http&https`.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Network type list, which is used to specify the supported network types. INNER: private network access; OUTER: public network access. Default value: OUTER.
	NetTypes []*string `json:"NetTypes,omitnil,omitempty" name:"NetTypes"`
}

func NewModifyServiceRequest

func NewModifyServiceRequest() (request *ModifyServiceRequest)

func (*ModifyServiceRequest) FromJsonString

func (r *ModifyServiceRequest) 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 (*ModifyServiceRequest) ToJsonString

func (r *ModifyServiceRequest) ToJsonString() string

type ModifyServiceRequestParams

type ModifyServiceRequestParams struct {
	// Unique ID of the service to be modified.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Service name after modification.
	ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`

	// Service description after modification.
	ServiceDesc *string `json:"ServiceDesc,omitnil,omitempty" name:"ServiceDesc"`

	// Service frontend request type after modification, such as `http`, `https`, and `http&https`.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Network type list, which is used to specify the supported network types. INNER: private network access; OUTER: public network access. Default value: OUTER.
	NetTypes []*string `json:"NetTypes,omitnil,omitempty" name:"NetTypes"`
}

Predefined struct for user

type ModifyServiceResponse

type ModifyServiceResponse struct {
	*tchttp.BaseResponse
	Response *ModifyServiceResponseParams `json:"Response"`
}

func NewModifyServiceResponse

func NewModifyServiceResponse() (response *ModifyServiceResponse)

func (*ModifyServiceResponse) FromJsonString

func (r *ModifyServiceResponse) 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 (*ModifyServiceResponse) ToJsonString

func (r *ModifyServiceResponse) ToJsonString() string

type ModifyServiceResponseParams

type ModifyServiceResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifySubDomainRequest

type ModifySubDomainRequest struct {
	*tchttp.BaseRequest

	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Custom domain name whose path mapping is to be modified.
	SubDomain *string `json:"SubDomain,omitnil,omitempty" name:"SubDomain"`

	// Whether to change to the default path mapping. true: use the default path mapping; false: use the custom path mapping.
	IsDefaultMapping *bool `json:"IsDefaultMapping,omitnil,omitempty" name:"IsDefaultMapping"`

	// Certificate ID, which is required if the HTTPS protocol is included.
	CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"`

	// Custom domain name protocol type after modification. Valid values: http, https, http&https.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Path mapping list after modification.
	PathMappingSet []*PathMapping `json:"PathMappingSet,omitnil,omitempty" name:"PathMappingSet"`

	// Network type. Valid values: INNER, OUTER.
	NetType *string `json:"NetType,omitnil,omitempty" name:"NetType"`

	// Whether to force HTTP requests to redirect to HTTPS. Default value: `false`. When this parameter is `true`, API Gateway will redirect all requests using the custom domain name over the HTTP protocol to the HTTPS protocol for forwarding.
	IsForcedHttps *bool `json:"IsForcedHttps,omitnil,omitempty" name:"IsForcedHttps"`
}

func NewModifySubDomainRequest

func NewModifySubDomainRequest() (request *ModifySubDomainRequest)

func (*ModifySubDomainRequest) FromJsonString

func (r *ModifySubDomainRequest) 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 (*ModifySubDomainRequest) ToJsonString

func (r *ModifySubDomainRequest) ToJsonString() string

type ModifySubDomainRequestParams

type ModifySubDomainRequestParams struct {
	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Custom domain name whose path mapping is to be modified.
	SubDomain *string `json:"SubDomain,omitnil,omitempty" name:"SubDomain"`

	// Whether to change to the default path mapping. true: use the default path mapping; false: use the custom path mapping.
	IsDefaultMapping *bool `json:"IsDefaultMapping,omitnil,omitempty" name:"IsDefaultMapping"`

	// Certificate ID, which is required if the HTTPS protocol is included.
	CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"`

	// Custom domain name protocol type after modification. Valid values: http, https, http&https.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Path mapping list after modification.
	PathMappingSet []*PathMapping `json:"PathMappingSet,omitnil,omitempty" name:"PathMappingSet"`

	// Network type. Valid values: INNER, OUTER.
	NetType *string `json:"NetType,omitnil,omitempty" name:"NetType"`

	// Whether to force HTTP requests to redirect to HTTPS. Default value: `false`. When this parameter is `true`, API Gateway will redirect all requests using the custom domain name over the HTTP protocol to the HTTPS protocol for forwarding.
	IsForcedHttps *bool `json:"IsForcedHttps,omitnil,omitempty" name:"IsForcedHttps"`
}

Predefined struct for user

type ModifySubDomainResponse

type ModifySubDomainResponse struct {
	*tchttp.BaseResponse
	Response *ModifySubDomainResponseParams `json:"Response"`
}

func NewModifySubDomainResponse

func NewModifySubDomainResponse() (response *ModifySubDomainResponse)

func (*ModifySubDomainResponse) FromJsonString

func (r *ModifySubDomainResponse) 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 (*ModifySubDomainResponse) ToJsonString

func (r *ModifySubDomainResponse) ToJsonString() string

type ModifySubDomainResponseParams

type ModifySubDomainResponseParams struct {
	// Whether the custom domain name is successfully modified.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyUpstreamRequest

type ModifyUpstreamRequest struct {
	*tchttp.BaseRequest

	// Unique upstream ID
	UpstreamId *string `json:"UpstreamId,omitnil,omitempty" name:"UpstreamId"`

	// Upstream name
	UpstreamName *string `json:"UpstreamName,omitnil,omitempty" name:"UpstreamName"`

	// Upstream description
	UpstreamDescription *string `json:"UpstreamDescription,omitnil,omitempty" name:"UpstreamDescription"`

	// Backend protocol. Valid values: `HTTP`, `HTTPS`
	Scheme *string `json:"Scheme,omitnil,omitempty" name:"Scheme"`

	// Upstream access type. Valid values: `IP_PORT`, `K8S`
	UpstreamType *string `json:"UpstreamType,omitnil,omitempty" name:"UpstreamType"`

	// Load balancing algorithm. Valid value: `ROUND_ROBIN`
	Algorithm *string `json:"Algorithm,omitnil,omitempty" name:"Algorithm"`

	// Unique VPC ID.
	UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"`

	// Retry attempts. It defaults to `3`.
	Retries *uint64 `json:"Retries,omitnil,omitempty" name:"Retries"`

	// Gateway forwarding to the upstream Host request header
	UpstreamHost *string `json:"UpstreamHost,omitnil,omitempty" name:"UpstreamHost"`

	// List of backend nodes
	Nodes []*UpstreamNode `json:"Nodes,omitnil,omitempty" name:"Nodes"`

	// Health check configuration
	HealthChecker *UpstreamHealthChecker `json:"HealthChecker,omitnil,omitempty" name:"HealthChecker"`

	// Configuration of TKE service
	K8sService []*K8sService `json:"K8sService,omitnil,omitempty" name:"K8sService"`
}

func NewModifyUpstreamRequest

func NewModifyUpstreamRequest() (request *ModifyUpstreamRequest)

func (*ModifyUpstreamRequest) FromJsonString

func (r *ModifyUpstreamRequest) 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 (*ModifyUpstreamRequest) ToJsonString

func (r *ModifyUpstreamRequest) ToJsonString() string

type ModifyUpstreamRequestParams

type ModifyUpstreamRequestParams struct {
	// Unique upstream ID
	UpstreamId *string `json:"UpstreamId,omitnil,omitempty" name:"UpstreamId"`

	// Upstream name
	UpstreamName *string `json:"UpstreamName,omitnil,omitempty" name:"UpstreamName"`

	// Upstream description
	UpstreamDescription *string `json:"UpstreamDescription,omitnil,omitempty" name:"UpstreamDescription"`

	// Backend protocol. Valid values: `HTTP`, `HTTPS`
	Scheme *string `json:"Scheme,omitnil,omitempty" name:"Scheme"`

	// Upstream access type. Valid values: `IP_PORT`, `K8S`
	UpstreamType *string `json:"UpstreamType,omitnil,omitempty" name:"UpstreamType"`

	// Load balancing algorithm. Valid value: `ROUND_ROBIN`
	Algorithm *string `json:"Algorithm,omitnil,omitempty" name:"Algorithm"`

	// Unique VPC ID.
	UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"`

	// Retry attempts. It defaults to `3`.
	Retries *uint64 `json:"Retries,omitnil,omitempty" name:"Retries"`

	// Gateway forwarding to the upstream Host request header
	UpstreamHost *string `json:"UpstreamHost,omitnil,omitempty" name:"UpstreamHost"`

	// List of backend nodes
	Nodes []*UpstreamNode `json:"Nodes,omitnil,omitempty" name:"Nodes"`

	// Health check configuration
	HealthChecker *UpstreamHealthChecker `json:"HealthChecker,omitnil,omitempty" name:"HealthChecker"`

	// Configuration of TKE service
	K8sService []*K8sService `json:"K8sService,omitnil,omitempty" name:"K8sService"`
}

Predefined struct for user

type ModifyUpstreamResponse

type ModifyUpstreamResponse struct {
	*tchttp.BaseResponse
	Response *ModifyUpstreamResponseParams `json:"Response"`
}

func NewModifyUpstreamResponse

func NewModifyUpstreamResponse() (response *ModifyUpstreamResponse)

func (*ModifyUpstreamResponse) FromJsonString

func (r *ModifyUpstreamResponse) 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 (*ModifyUpstreamResponse) ToJsonString

func (r *ModifyUpstreamResponse) ToJsonString() string

type ModifyUpstreamResponseParams

type ModifyUpstreamResponseParams struct {
	// Return modified upstream information
	// Note: This field may return `NULL`, indicating that no valid value was found.
	Result *UpstreamInfo `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyUsagePlanRequest

type ModifyUsagePlanRequest struct {
	*tchttp.BaseRequest

	// Unique usage plan ID.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`

	// Custom usage plan name after modification.
	UsagePlanName *string `json:"UsagePlanName,omitnil,omitempty" name:"UsagePlanName"`

	// Custom usage plan description after modification.
	UsagePlanDesc *string `json:"UsagePlanDesc,omitnil,omitempty" name:"UsagePlanDesc"`

	// Total number of requests allowed. Valid values: -1, [1,99999999]. The default value is `-1`, which indicates no limit.
	MaxRequestNum *int64 `json:"MaxRequestNum,omitnil,omitempty" name:"MaxRequestNum"`

	// Limit of requests per second. Valid values: -1, [1,2000]. The default value is `-1`, which indicates no limit.
	MaxRequestNumPreSec *int64 `json:"MaxRequestNumPreSec,omitnil,omitempty" name:"MaxRequestNumPreSec"`
}

func NewModifyUsagePlanRequest

func NewModifyUsagePlanRequest() (request *ModifyUsagePlanRequest)

func (*ModifyUsagePlanRequest) FromJsonString

func (r *ModifyUsagePlanRequest) 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 (*ModifyUsagePlanRequest) ToJsonString

func (r *ModifyUsagePlanRequest) ToJsonString() string

type ModifyUsagePlanRequestParams

type ModifyUsagePlanRequestParams struct {
	// Unique usage plan ID.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`

	// Custom usage plan name after modification.
	UsagePlanName *string `json:"UsagePlanName,omitnil,omitempty" name:"UsagePlanName"`

	// Custom usage plan description after modification.
	UsagePlanDesc *string `json:"UsagePlanDesc,omitnil,omitempty" name:"UsagePlanDesc"`

	// Total number of requests allowed. Valid values: -1, [1,99999999]. The default value is `-1`, which indicates no limit.
	MaxRequestNum *int64 `json:"MaxRequestNum,omitnil,omitempty" name:"MaxRequestNum"`

	// Limit of requests per second. Valid values: -1, [1,2000]. The default value is `-1`, which indicates no limit.
	MaxRequestNumPreSec *int64 `json:"MaxRequestNumPreSec,omitnil,omitempty" name:"MaxRequestNumPreSec"`
}

Predefined struct for user

type ModifyUsagePlanResponse

type ModifyUsagePlanResponse struct {
	*tchttp.BaseResponse
	Response *ModifyUsagePlanResponseParams `json:"Response"`
}

func NewModifyUsagePlanResponse

func NewModifyUsagePlanResponse() (response *ModifyUsagePlanResponse)

func (*ModifyUsagePlanResponse) FromJsonString

func (r *ModifyUsagePlanResponse) 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 (*ModifyUsagePlanResponse) ToJsonString

func (r *ModifyUsagePlanResponse) ToJsonString() string

type ModifyUsagePlanResponseParams

type ModifyUsagePlanResponseParams struct {
	// Usage plan details.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *UsagePlanInfo `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type OauthConfig

type OauthConfig struct {
	// Public key for user token verification.
	PublicKey *string `json:"PublicKey,omitnil,omitempty" name:"PublicKey"`

	// Token delivery location.
	TokenLocation *string `json:"TokenLocation,omitnil,omitempty" name:"TokenLocation"`

	// Redirect address, which is used to guide user logins.
	LoginRedirectUrl *string `json:"LoginRedirectUrl,omitnil,omitempty" name:"LoginRedirectUrl"`
}

type PathMapping

type PathMapping struct {
	// Path.
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// Release environment. Valid values: test, prepub, release.
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`
}

type Plugin

type Plugin struct {
	// Plugin ID
	PluginId *string `json:"PluginId,omitnil,omitempty" name:"PluginId"`

	// Plugin name
	PluginName *string `json:"PluginName,omitnil,omitempty" name:"PluginName"`

	// Plugin type
	PluginType *string `json:"PluginType,omitnil,omitempty" name:"PluginType"`

	// Plugin definition statement
	PluginData *string `json:"PluginData,omitnil,omitempty" name:"PluginData"`

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

	// Plugin creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Plugin modification time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used
	ModifiedTime *string `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"`

	// Total number of APIs bound with the plugin
	// Note: this field may return null, indicating that no valid values can be obtained.
	AttachedApiTotalCount *int64 `json:"AttachedApiTotalCount,omitnil,omitempty" name:"AttachedApiTotalCount"`

	// Information of the API bound with the plugin
	// Note: this field may return null, indicating that no valid values can be obtained.
	AttachedApis []*AttachedApiInfo `json:"AttachedApis,omitnil,omitempty" name:"AttachedApis"`
}

type ReleaseService

type ReleaseService struct {
	// Release remarks.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ReleaseDesc *string `json:"ReleaseDesc,omitnil,omitempty" name:"ReleaseDesc"`

	// Published version ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ReleaseVersion *string `json:"ReleaseVersion,omitnil,omitempty" name:"ReleaseVersion"`
}

type ReleaseServiceRequest

type ReleaseServiceRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the service to be published.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Name of the environment to be published. Valid values: test (test environment), prepub (pre-release environment), release (release environment).
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// Release description.
	ReleaseDesc *string `json:"ReleaseDesc,omitnil,omitempty" name:"ReleaseDesc"`

	// `apiId` list, which is reserved. Full API release is used by default.
	ApiIds []*string `json:"ApiIds,omitnil,omitempty" name:"ApiIds"`
}

func NewReleaseServiceRequest

func NewReleaseServiceRequest() (request *ReleaseServiceRequest)

func (*ReleaseServiceRequest) FromJsonString

func (r *ReleaseServiceRequest) 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 (*ReleaseServiceRequest) ToJsonString

func (r *ReleaseServiceRequest) ToJsonString() string

type ReleaseServiceRequestParams

type ReleaseServiceRequestParams struct {
	// Unique ID of the service to be published.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Name of the environment to be published. Valid values: test (test environment), prepub (pre-release environment), release (release environment).
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// Release description.
	ReleaseDesc *string `json:"ReleaseDesc,omitnil,omitempty" name:"ReleaseDesc"`

	// `apiId` list, which is reserved. Full API release is used by default.
	ApiIds []*string `json:"ApiIds,omitnil,omitempty" name:"ApiIds"`
}

Predefined struct for user

type ReleaseServiceResponse

type ReleaseServiceResponse struct {
	*tchttp.BaseResponse
	Response *ReleaseServiceResponseParams `json:"Response"`
}

func NewReleaseServiceResponse

func NewReleaseServiceResponse() (response *ReleaseServiceResponse)

func (*ReleaseServiceResponse) FromJsonString

func (r *ReleaseServiceResponse) 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 (*ReleaseServiceResponse) ToJsonString

func (r *ReleaseServiceResponse) ToJsonString() string

type ReleaseServiceResponseParams

type ReleaseServiceResponseParams struct {
	// Release information.
	Result *ReleaseService `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ReqParameter

type ReqParameter struct {
	// API frontend parameter name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Position of the API frontend parameter, such as the header. Supported values: `header`, `query`, and `path`.
	Position *string `json:"Position,omitnil,omitempty" name:"Position"`

	// API frontend parameter type, such as `String` and `int`.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Default value of API frontend parameter.
	DefaultValue *string `json:"DefaultValue,omitnil,omitempty" name:"DefaultValue"`

	// Whether the API frontend parameter is required. True: yes; False: no.
	Required *bool `json:"Required,omitnil,omitempty" name:"Required"`

	// API frontend parameter remarks.
	Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"`
}

type RequestConfig

type RequestConfig struct {
	// API path, such as `/path`.
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// API request method, such as `GET`.
	Method *string `json:"Method,omitnil,omitempty" name:"Method"`
}

type RequestParameter

type RequestParameter struct {
	// Request parameter name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Description
	Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"`

	// Parameter position
	Position *string `json:"Position,omitnil,omitempty" name:"Position"`

	// Parameter type
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Default value
	DefaultValue *string `json:"DefaultValue,omitnil,omitempty" name:"DefaultValue"`

	// Whether it is required
	Required *bool `json:"Required,omitnil,omitempty" name:"Required"`
}

type ResetAPIDocPasswordRequest

type ResetAPIDocPasswordRequest struct {
	*tchttp.BaseRequest

	// API document ID
	ApiDocId *string `json:"ApiDocId,omitnil,omitempty" name:"ApiDocId"`
}

func NewResetAPIDocPasswordRequest

func NewResetAPIDocPasswordRequest() (request *ResetAPIDocPasswordRequest)

func (*ResetAPIDocPasswordRequest) FromJsonString

func (r *ResetAPIDocPasswordRequest) 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 (*ResetAPIDocPasswordRequest) ToJsonString

func (r *ResetAPIDocPasswordRequest) ToJsonString() string

type ResetAPIDocPasswordRequestParams

type ResetAPIDocPasswordRequestParams struct {
	// API document ID
	ApiDocId *string `json:"ApiDocId,omitnil,omitempty" name:"ApiDocId"`
}

Predefined struct for user

type ResetAPIDocPasswordResponse

type ResetAPIDocPasswordResponse struct {
	*tchttp.BaseResponse
	Response *ResetAPIDocPasswordResponseParams `json:"Response"`
}

func NewResetAPIDocPasswordResponse

func NewResetAPIDocPasswordResponse() (response *ResetAPIDocPasswordResponse)

func (*ResetAPIDocPasswordResponse) FromJsonString

func (r *ResetAPIDocPasswordResponse) 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 (*ResetAPIDocPasswordResponse) ToJsonString

func (r *ResetAPIDocPasswordResponse) ToJsonString() string

type ResetAPIDocPasswordResponseParams

type ResetAPIDocPasswordResponseParams struct {
	// Basic information of API document
	Result *APIDoc `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ResponseErrorCodeReq

type ResponseErrorCodeReq struct {
	// Custom response configuration error code.
	Code *int64 `json:"Code,omitnil,omitempty" name:"Code"`

	// Custom response configuration error message.
	Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"`

	// Custom response configuration error code remarks.
	Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"`

	// Custom error code conversion.
	ConvertedCode *int64 `json:"ConvertedCode,omitnil,omitempty" name:"ConvertedCode"`

	// Whether to enable error code conversion.
	NeedConvert *bool `json:"NeedConvert,omitnil,omitempty" name:"NeedConvert"`
}

type Service

type Service struct {
	// Port for HTTPS access over private network.
	// Note: this field may return null, indicating that no valid values can be obtained.
	InnerHttpsPort *int64 `json:"InnerHttpsPort,omitnil,omitempty" name:"InnerHttpsPort"`

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

	// Service frontend request type, such as `http`, `https`, and `http&https`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ModifiedTime *string `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"`

	// Network types supported by service.
	// Note: this field may return null, indicating that no valid values can be obtained.
	NetTypes []*string `json:"NetTypes,omitnil,omitempty" name:"NetTypes"`

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

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

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

	// List of published environments, such as test, prepub, and release.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AvailableEnvironments []*string `json:"AvailableEnvironments,omitnil,omitempty" name:"AvailableEnvironments"`

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

	// Public domain name assigned by the system for this service.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OuterSubDomain *string `json:"OuterSubDomain,omitnil,omitempty" name:"OuterSubDomain"`

	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Port for HTTP access over private network.
	// Note: this field may return null, indicating that no valid values can be obtained.
	InnerHttpPort *uint64 `json:"InnerHttpPort,omitnil,omitempty" name:"InnerHttpPort"`

	// Private domain name automatically assigned by the system for this service.
	// Note: this field may return null, indicating that no valid values can be obtained.
	InnerSubDomain *string `json:"InnerSubDomain,omitnil,omitempty" name:"InnerSubDomain"`

	// Billing status of service.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TradeIsolateStatus *int64 `json:"TradeIsolateStatus,omitnil,omitempty" name:"TradeIsolateStatus"`

	// Tags bound to a service.
	// Note: this field may return null, indicating that no valid values found.
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

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

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

	// Cluster type for service deployment
	// Note: this field may return null, indicating that no valid values found.
	DeploymentType *string `json:"DeploymentType,omitnil,omitempty" name:"DeploymentType"`
}

type ServiceConfig

type ServiceConfig struct {
	// The backend type. It’s available when `vpc` is enabled. Values: `clb`, `cvm` and `upstream`.
	Product *string `json:"Product,omitnil,omitempty" name:"Product"`

	// Unique VPC ID.
	UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"`

	// API backend service URL, which is required if `ServiceType` is `HTTP`.
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`

	// API backend service path, such as `/path`, which is required if `ServiceType` is `HTTP`. The frontend and backend paths can be different.
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// API backend service request method, such as `GET`, which is required if `ServiceType` is `HTTP`. The frontend and backend methods can be different
	Method *string `json:"Method,omitnil,omitempty" name:"Method"`

	// It’s required for `upstream`.
	// Note: This field may return `NULL`, indicating that no valid value was found.
	UpstreamId *string `json:"UpstreamId,omitnil,omitempty" name:"UpstreamId"`

	// API backend COS configuration. It’s required if the `ServiceType` is ·`COS`.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	CosConfig *CosConfig `json:"CosConfig,omitnil,omitempty" name:"CosConfig"`
}

type ServiceEnvironmentSet

type ServiceEnvironmentSet struct {
	// Total number of environments bound to service.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of environments bound to service.
	// Note: this field may return null, indicating that no valid values can be obtained.
	EnvironmentList []*Environment `json:"EnvironmentList,omitnil,omitempty" name:"EnvironmentList"`
}

type ServiceEnvironmentStrategy

type ServiceEnvironmentStrategy struct {
	// Environment name.
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// Access service environment URL.
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`

	// Release status.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

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

	// Throttling value.
	Strategy *int64 `json:"Strategy,omitnil,omitempty" name:"Strategy"`

	// Maximum quota value
	// Note: this field may return null, indicating that no valid values can be obtained.
	MaxStrategy *int64 `json:"MaxStrategy,omitnil,omitempty" name:"MaxStrategy"`
}

type ServiceEnvironmentStrategyStatus

type ServiceEnvironmentStrategyStatus struct {
	// Number of throttling policies.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Throttling policy list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	EnvironmentList []*ServiceEnvironmentStrategy `json:"EnvironmentList,omitnil,omitempty" name:"EnvironmentList"`
}

type ServiceParameter

type ServiceParameter struct {
	// API backend service parameter name, which is used only if `ServiceType` is `HTTP`. The frontend and backend parameter names can be different.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Position of API backend service parameter, such as `head`, which is used only if `ServiceType` is `HTTP`. The positions of frontend and backend parameters can be different.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Position *string `json:"Position,omitnil,omitempty" name:"Position"`

	// Position of the API frontend parameter corresponding to the backend service parameter, such as `head`, which is used only if `ServiceType` is `HTTP`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RelevantRequestParameterPosition *string `json:"RelevantRequestParameterPosition,omitnil,omitempty" name:"RelevantRequestParameterPosition"`

	// Name of the API frontend parameter corresponding to the backend service parameter, which is used only if `ServiceType` is `HTTP`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RelevantRequestParameterName *string `json:"RelevantRequestParameterName,omitnil,omitempty" name:"RelevantRequestParameterName"`

	// Default value of API backend service parameter, which is used only if `ServiceType` is `HTTP`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DefaultValue *string `json:"DefaultValue,omitnil,omitempty" name:"DefaultValue"`

	// API backend service parameter remarks, which is used only if `ServiceType` is `HTTP`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RelevantRequestParameterDesc *string `json:"RelevantRequestParameterDesc,omitnil,omitempty" name:"RelevantRequestParameterDesc"`

	// API backend service parameter type, which is used only if `ServiceType` is `HTTP`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RelevantRequestParameterType *string `json:"RelevantRequestParameterType,omitnil,omitempty" name:"RelevantRequestParameterType"`
}

type ServiceReleaseHistory

type ServiceReleaseHistory struct {
	// Total number of published versions.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Historical version list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VersionList []*ServiceReleaseHistoryInfo `json:"VersionList,omitnil,omitempty" name:"VersionList"`
}

type ServiceReleaseHistoryInfo

type ServiceReleaseHistoryInfo struct {
	// Version ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VersionName *string `json:"VersionName,omitnil,omitempty" name:"VersionName"`

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

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

type ServiceReleaseVersion

type ServiceReleaseVersion struct {
	// Total number of published versions.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Release version list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VersionList []*ServiceReleaseHistoryInfo `json:"VersionList,omitnil,omitempty" name:"VersionList"`
}

type ServiceSubDomainMappings

type ServiceSubDomainMappings struct {
	// Whether the default path mapping is used. true: use the default path mapping; false: use the custom path mapping (`PathMappingSet` is required in this case).
	IsDefaultMapping *bool `json:"IsDefaultMapping,omitnil,omitempty" name:"IsDefaultMapping"`

	// Custom path mapping list.
	PathMappingSet []*PathMapping `json:"PathMappingSet,omitnil,omitempty" name:"PathMappingSet"`
}

type ServiceUsagePlanSet

type ServiceUsagePlanSet struct {
	// Total number of usage plans bound to service.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of usage plans bound to service.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceUsagePlanList []*ApiUsagePlan `json:"ServiceUsagePlanList,omitnil,omitempty" name:"ServiceUsagePlanList"`
}

type ServicesStatus

type ServicesStatus struct {
	// Total number of services in list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Service list details.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceSet []*Service `json:"ServiceSet,omitnil,omitempty" name:"ServiceSet"`
}

type Tag

type Tag struct {
	// Tag key.
	Key *string `json:"Key,omitnil,omitempty" name:"Key"`

	// Tag value.
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type TargetServicesReq

type TargetServicesReq struct {
	// VM IP
	VmIp *string `json:"VmIp,omitnil,omitempty" name:"VmIp"`

	// VPC ID
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// VM Port
	VmPort *int64 `json:"VmPort,omitnil,omitempty" name:"VmPort"`

	// IP of the host where the CVM instance resides
	HostIp *string `json:"HostIp,omitnil,omitempty" name:"HostIp"`

	// Docker IP
	DockerIp *string `json:"DockerIp,omitnil,omitempty" name:"DockerIp"`
}

type TsfLoadBalanceConfResp

type TsfLoadBalanceConfResp struct {
	// Whether load balancing is enabled.
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsLoadBalance *bool `json:"IsLoadBalance,omitnil,omitempty" name:"IsLoadBalance"`

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

	// Whether session persistence is enabled.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SessionStickRequired *bool `json:"SessionStickRequired,omitnil,omitempty" name:"SessionStickRequired"`

	// Session persistence timeout period.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SessionStickTimeout *int64 `json:"SessionStickTimeout,omitnil,omitempty" name:"SessionStickTimeout"`
}

type UnBindEnvironmentRequest

type UnBindEnvironmentRequest struct {
	*tchttp.BaseRequest

	// Binding type. Valid values: API, SERVICE. Default value: SERVICE.
	BindType *string `json:"BindType,omitnil,omitempty" name:"BindType"`

	// List of unique IDs of the usage plans to be bound.
	UsagePlanIds []*string `json:"UsagePlanIds,omitnil,omitempty" name:"UsagePlanIds"`

	// Service environment to be unbound.
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`

	// Unique ID of the service to be unbound.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique API ID array, which is required if `BindType` is `API`.
	ApiIds []*string `json:"ApiIds,omitnil,omitempty" name:"ApiIds"`
}

func NewUnBindEnvironmentRequest

func NewUnBindEnvironmentRequest() (request *UnBindEnvironmentRequest)

func (*UnBindEnvironmentRequest) FromJsonString

func (r *UnBindEnvironmentRequest) 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 (*UnBindEnvironmentRequest) ToJsonString

func (r *UnBindEnvironmentRequest) ToJsonString() string

type UnBindEnvironmentRequestParams

type UnBindEnvironmentRequestParams struct {
	// Binding type. Valid values: API, SERVICE. Default value: SERVICE.
	BindType *string `json:"BindType,omitnil,omitempty" name:"BindType"`

	// List of unique IDs of the usage plans to be bound.
	UsagePlanIds []*string `json:"UsagePlanIds,omitnil,omitempty" name:"UsagePlanIds"`

	// Service environment to be unbound.
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`

	// Unique ID of the service to be unbound.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique API ID array, which is required if `BindType` is `API`.
	ApiIds []*string `json:"ApiIds,omitnil,omitempty" name:"ApiIds"`
}

Predefined struct for user

type UnBindEnvironmentResponse

type UnBindEnvironmentResponse struct {
	*tchttp.BaseResponse
	Response *UnBindEnvironmentResponseParams `json:"Response"`
}

func NewUnBindEnvironmentResponse

func NewUnBindEnvironmentResponse() (response *UnBindEnvironmentResponse)

func (*UnBindEnvironmentResponse) FromJsonString

func (r *UnBindEnvironmentResponse) 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 (*UnBindEnvironmentResponse) ToJsonString

func (r *UnBindEnvironmentResponse) ToJsonString() string

type UnBindEnvironmentResponseParams

type UnBindEnvironmentResponseParams struct {
	// Whether unbinding succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UnBindIPStrategyRequest

type UnBindIPStrategyRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the service to be unbound.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique ID of the IP policy to be unbound.
	StrategyId *string `json:"StrategyId,omitnil,omitempty" name:"StrategyId"`

	// Environment to be unbound.
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// List of APIs to be unbound.
	UnBindApiIds []*string `json:"UnBindApiIds,omitnil,omitempty" name:"UnBindApiIds"`
}

func NewUnBindIPStrategyRequest

func NewUnBindIPStrategyRequest() (request *UnBindIPStrategyRequest)

func (*UnBindIPStrategyRequest) FromJsonString

func (r *UnBindIPStrategyRequest) 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 (*UnBindIPStrategyRequest) ToJsonString

func (r *UnBindIPStrategyRequest) ToJsonString() string

type UnBindIPStrategyRequestParams

type UnBindIPStrategyRequestParams struct {
	// Unique ID of the service to be unbound.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique ID of the IP policy to be unbound.
	StrategyId *string `json:"StrategyId,omitnil,omitempty" name:"StrategyId"`

	// Environment to be unbound.
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// List of APIs to be unbound.
	UnBindApiIds []*string `json:"UnBindApiIds,omitnil,omitempty" name:"UnBindApiIds"`
}

Predefined struct for user

type UnBindIPStrategyResponse

type UnBindIPStrategyResponse struct {
	*tchttp.BaseResponse
	Response *UnBindIPStrategyResponseParams `json:"Response"`
}

func NewUnBindIPStrategyResponse

func NewUnBindIPStrategyResponse() (response *UnBindIPStrategyResponse)

func (*UnBindIPStrategyResponse) FromJsonString

func (r *UnBindIPStrategyResponse) 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 (*UnBindIPStrategyResponse) ToJsonString

func (r *UnBindIPStrategyResponse) ToJsonString() string

type UnBindIPStrategyResponseParams

type UnBindIPStrategyResponseParams struct {
	// Whether unbinding succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UnBindSecretIdsRequest

type UnBindSecretIdsRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the usage plan to be unbound.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`

	// Array of IDs of the keys to be unbound.
	AccessKeyIds []*string `json:"AccessKeyIds,omitnil,omitempty" name:"AccessKeyIds"`
}

func NewUnBindSecretIdsRequest

func NewUnBindSecretIdsRequest() (request *UnBindSecretIdsRequest)

func (*UnBindSecretIdsRequest) FromJsonString

func (r *UnBindSecretIdsRequest) 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 (*UnBindSecretIdsRequest) ToJsonString

func (r *UnBindSecretIdsRequest) ToJsonString() string

type UnBindSecretIdsRequestParams

type UnBindSecretIdsRequestParams struct {
	// Unique ID of the usage plan to be unbound.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`

	// Array of IDs of the keys to be unbound.
	AccessKeyIds []*string `json:"AccessKeyIds,omitnil,omitempty" name:"AccessKeyIds"`
}

Predefined struct for user

type UnBindSecretIdsResponse

type UnBindSecretIdsResponse struct {
	*tchttp.BaseResponse
	Response *UnBindSecretIdsResponseParams `json:"Response"`
}

func NewUnBindSecretIdsResponse

func NewUnBindSecretIdsResponse() (response *UnBindSecretIdsResponse)

func (*UnBindSecretIdsResponse) FromJsonString

func (r *UnBindSecretIdsResponse) 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 (*UnBindSecretIdsResponse) ToJsonString

func (r *UnBindSecretIdsResponse) ToJsonString() string

type UnBindSecretIdsResponseParams

type UnBindSecretIdsResponseParams struct {
	// Whether unbinding succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UnBindSubDomainRequest

type UnBindSubDomainRequest struct {
	*tchttp.BaseRequest

	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Custom domain name to be unbound.
	SubDomain *string `json:"SubDomain,omitnil,omitempty" name:"SubDomain"`
}

func NewUnBindSubDomainRequest

func NewUnBindSubDomainRequest() (request *UnBindSubDomainRequest)

func (*UnBindSubDomainRequest) FromJsonString

func (r *UnBindSubDomainRequest) 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 (*UnBindSubDomainRequest) ToJsonString

func (r *UnBindSubDomainRequest) ToJsonString() string

type UnBindSubDomainRequestParams

type UnBindSubDomainRequestParams struct {
	// Unique service ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Custom domain name to be unbound.
	SubDomain *string `json:"SubDomain,omitnil,omitempty" name:"SubDomain"`
}

Predefined struct for user

type UnBindSubDomainResponse

type UnBindSubDomainResponse struct {
	*tchttp.BaseResponse
	Response *UnBindSubDomainResponseParams `json:"Response"`
}

func NewUnBindSubDomainResponse

func NewUnBindSubDomainResponse() (response *UnBindSubDomainResponse)

func (*UnBindSubDomainResponse) FromJsonString

func (r *UnBindSubDomainResponse) 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 (*UnBindSubDomainResponse) ToJsonString

func (r *UnBindSubDomainResponse) ToJsonString() string

type UnBindSubDomainResponseParams

type UnBindSubDomainResponseParams struct {
	// Whether the custom domain name is successfully unbound.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UnReleaseServiceRequest

type UnReleaseServiceRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the service to be deactivated.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Name of the environment to be deactivated. Valid values: test (test environment), prepub (pre-release environment), release (release environment).
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// List of APIs to be deactivated, which is a reserved field.
	ApiIds []*string `json:"ApiIds,omitnil,omitempty" name:"ApiIds"`
}

func NewUnReleaseServiceRequest

func NewUnReleaseServiceRequest() (request *UnReleaseServiceRequest)

func (*UnReleaseServiceRequest) FromJsonString

func (r *UnReleaseServiceRequest) 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 (*UnReleaseServiceRequest) ToJsonString

func (r *UnReleaseServiceRequest) ToJsonString() string

type UnReleaseServiceRequestParams

type UnReleaseServiceRequestParams struct {
	// Unique ID of the service to be deactivated.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Name of the environment to be deactivated. Valid values: test (test environment), prepub (pre-release environment), release (release environment).
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// List of APIs to be deactivated, which is a reserved field.
	ApiIds []*string `json:"ApiIds,omitnil,omitempty" name:"ApiIds"`
}

Predefined struct for user

type UnReleaseServiceResponse

type UnReleaseServiceResponse struct {
	*tchttp.BaseResponse
	Response *UnReleaseServiceResponseParams `json:"Response"`
}

func NewUnReleaseServiceResponse

func NewUnReleaseServiceResponse() (response *UnReleaseServiceResponse)

func (*UnReleaseServiceResponse) FromJsonString

func (r *UnReleaseServiceResponse) 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 (*UnReleaseServiceResponse) ToJsonString

func (r *UnReleaseServiceResponse) ToJsonString() string

type UnReleaseServiceResponseParams

type UnReleaseServiceResponseParams struct {
	// Whether deactivation succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UnbindApiAppRequest

type UnbindApiAppRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the application to be bound.
	ApiAppId *string `json:"ApiAppId,omitnil,omitempty" name:"ApiAppId"`

	// Environment to be bound.
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`

	// Unique ID of the service to be bound.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique ID of the API to be bound.
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`
}

func NewUnbindApiAppRequest

func NewUnbindApiAppRequest() (request *UnbindApiAppRequest)

func (*UnbindApiAppRequest) FromJsonString

func (r *UnbindApiAppRequest) 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 (*UnbindApiAppRequest) ToJsonString

func (r *UnbindApiAppRequest) ToJsonString() string

type UnbindApiAppRequestParams

type UnbindApiAppRequestParams struct {
	// Unique ID of the application to be bound.
	ApiAppId *string `json:"ApiAppId,omitnil,omitempty" name:"ApiAppId"`

	// Environment to be bound.
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`

	// Unique ID of the service to be bound.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Unique ID of the API to be bound.
	ApiId *string `json:"ApiId,omitnil,omitempty" name:"ApiId"`
}

Predefined struct for user

type UnbindApiAppResponse

type UnbindApiAppResponse struct {
	*tchttp.BaseResponse
	Response *UnbindApiAppResponseParams `json:"Response"`
}

func NewUnbindApiAppResponse

func NewUnbindApiAppResponse() (response *UnbindApiAppResponse)

func (*UnbindApiAppResponse) FromJsonString

func (r *UnbindApiAppResponse) 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 (*UnbindApiAppResponse) ToJsonString

func (r *UnbindApiAppResponse) ToJsonString() string

type UnbindApiAppResponseParams

type UnbindApiAppResponseParams struct {
	// Whether unbinding succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateApiAppKeyRequest

type UpdateApiAppKeyRequest struct {
	*tchttp.BaseRequest

	// Unique application ID.
	ApiAppId *string `json:"ApiAppId,omitnil,omitempty" name:"ApiAppId"`

	// Application Key.
	ApiAppKey *string `json:"ApiAppKey,omitnil,omitempty" name:"ApiAppKey"`

	// Application Secret.
	ApiAppSecret *string `json:"ApiAppSecret,omitnil,omitempty" name:"ApiAppSecret"`
}

func NewUpdateApiAppKeyRequest

func NewUpdateApiAppKeyRequest() (request *UpdateApiAppKeyRequest)

func (*UpdateApiAppKeyRequest) FromJsonString

func (r *UpdateApiAppKeyRequest) 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 (*UpdateApiAppKeyRequest) ToJsonString

func (r *UpdateApiAppKeyRequest) ToJsonString() string

type UpdateApiAppKeyRequestParams

type UpdateApiAppKeyRequestParams struct {
	// Unique application ID.
	ApiAppId *string `json:"ApiAppId,omitnil,omitempty" name:"ApiAppId"`

	// Application Key.
	ApiAppKey *string `json:"ApiAppKey,omitnil,omitempty" name:"ApiAppKey"`

	// Application Secret.
	ApiAppSecret *string `json:"ApiAppSecret,omitnil,omitempty" name:"ApiAppSecret"`
}

Predefined struct for user

type UpdateApiAppKeyResponse

type UpdateApiAppKeyResponse struct {
	*tchttp.BaseResponse
	Response *UpdateApiAppKeyResponseParams `json:"Response"`
}

func NewUpdateApiAppKeyResponse

func NewUpdateApiAppKeyResponse() (response *UpdateApiAppKeyResponse)

func (*UpdateApiAppKeyResponse) FromJsonString

func (r *UpdateApiAppKeyResponse) 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 (*UpdateApiAppKeyResponse) ToJsonString

func (r *UpdateApiAppKeyResponse) ToJsonString() string

type UpdateApiAppKeyResponseParams

type UpdateApiAppKeyResponseParams struct {
	// Whether update succeeded.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateApiKeyRequest

type UpdateApiKeyRequest struct {
	*tchttp.BaseRequest

	// ID of the key to be changed.
	AccessKeyId *string `json:"AccessKeyId,omitnil,omitempty" name:"AccessKeyId"`

	// Key to be updated, which is required when a custom key is updated. It can contain 10–50 letters, digits, and underscores.
	AccessKeySecret *string `json:"AccessKeySecret,omitnil,omitempty" name:"AccessKeySecret"`
}

func NewUpdateApiKeyRequest

func NewUpdateApiKeyRequest() (request *UpdateApiKeyRequest)

func (*UpdateApiKeyRequest) FromJsonString

func (r *UpdateApiKeyRequest) 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 (*UpdateApiKeyRequest) ToJsonString

func (r *UpdateApiKeyRequest) ToJsonString() string

type UpdateApiKeyRequestParams

type UpdateApiKeyRequestParams struct {
	// ID of the key to be changed.
	AccessKeyId *string `json:"AccessKeyId,omitnil,omitempty" name:"AccessKeyId"`

	// Key to be updated, which is required when a custom key is updated. It can contain 10–50 letters, digits, and underscores.
	AccessKeySecret *string `json:"AccessKeySecret,omitnil,omitempty" name:"AccessKeySecret"`
}

Predefined struct for user

type UpdateApiKeyResponse

type UpdateApiKeyResponse struct {
	*tchttp.BaseResponse
	Response *UpdateApiKeyResponseParams `json:"Response"`
}

func NewUpdateApiKeyResponse

func NewUpdateApiKeyResponse() (response *UpdateApiKeyResponse)

func (*UpdateApiKeyResponse) FromJsonString

func (r *UpdateApiKeyResponse) 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 (*UpdateApiKeyResponse) ToJsonString

func (r *UpdateApiKeyResponse) ToJsonString() string

type UpdateApiKeyResponseParams

type UpdateApiKeyResponseParams struct {
	// Key details after change.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *ApiKey `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateServiceRequest

type UpdateServiceRequest struct {
	*tchttp.BaseRequest

	// Unique ID of the service to be switch.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Name of the environment to be switched to. Valid values: test (test environment), prepub (pre-release environment), release (release environment).
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// Number of the version to be switched to.
	VersionName *string `json:"VersionName,omitnil,omitempty" name:"VersionName"`

	// Switch description.
	UpdateDesc *string `json:"UpdateDesc,omitnil,omitempty" name:"UpdateDesc"`
}

func NewUpdateServiceRequest

func NewUpdateServiceRequest() (request *UpdateServiceRequest)

func (*UpdateServiceRequest) FromJsonString

func (r *UpdateServiceRequest) 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 (*UpdateServiceRequest) ToJsonString

func (r *UpdateServiceRequest) ToJsonString() string

type UpdateServiceRequestParams

type UpdateServiceRequestParams struct {
	// Unique ID of the service to be switch.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// Name of the environment to be switched to. Valid values: test (test environment), prepub (pre-release environment), release (release environment).
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// Number of the version to be switched to.
	VersionName *string `json:"VersionName,omitnil,omitempty" name:"VersionName"`

	// Switch description.
	UpdateDesc *string `json:"UpdateDesc,omitnil,omitempty" name:"UpdateDesc"`
}

Predefined struct for user

type UpdateServiceResponse

type UpdateServiceResponse struct {
	*tchttp.BaseResponse
	Response *UpdateServiceResponseParams `json:"Response"`
}

func NewUpdateServiceResponse

func NewUpdateServiceResponse() (response *UpdateServiceResponse)

func (*UpdateServiceResponse) FromJsonString

func (r *UpdateServiceResponse) 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 (*UpdateServiceResponse) ToJsonString

func (r *UpdateServiceResponse) ToJsonString() string

type UpdateServiceResponseParams

type UpdateServiceResponseParams struct {
	// Whether the version is successfully switched.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpstreamHealthChecker

type UpstreamHealthChecker struct {
	// Specifies whether to enable active health check
	EnableActiveCheck *bool `json:"EnableActiveCheck,omitnil,omitempty" name:"EnableActiveCheck"`

	// Specifies whether the enable passive health check
	EnablePassiveCheck *bool `json:"EnablePassiveCheck,omitnil,omitempty" name:"EnablePassiveCheck"`

	// The HTTP status code that indicates that the upstream is healthy
	HealthyHttpStatus *string `json:"HealthyHttpStatus,omitnil,omitempty" name:"HealthyHttpStatus"`

	// The HTTP status code that indicates that the upstream is unhealthy
	UnhealthyHttpStatus *string `json:"UnhealthyHttpStatus,omitnil,omitempty" name:"UnhealthyHttpStatus"`

	// The threshold on consecutive TCP errors. Range: [0, 254]. `0` indicates not to check TCP.
	TcpFailureThreshold *uint64 `json:"TcpFailureThreshold,omitnil,omitempty" name:"TcpFailureThreshold"`

	// The threshold on consecutive timeouts. Range: [0, 254]. `0` indicates not to check TCP.
	TimeoutThreshold *uint64 `json:"TimeoutThreshold,omitnil,omitempty" name:"TimeoutThreshold"`

	// The threshold on consecutive HTTP errors. Range: [0, 254]. `0` indicates not to check HTTP.
	HttpFailureThreshold *uint64 `json:"HttpFailureThreshold,omitnil,omitempty" name:"HttpFailureThreshold"`

	// The path for active health check. It defaults to `/`.
	ActiveCheckHttpPath *string `json:"ActiveCheckHttpPath,omitnil,omitempty" name:"ActiveCheckHttpPath"`

	// The timeout period for active health check in seconds. Default: `5`.
	ActiveCheckTimeout *uint64 `json:"ActiveCheckTimeout,omitnil,omitempty" name:"ActiveCheckTimeout"`

	// The interval for active health check in seconds. Default: `5`.
	ActiveCheckInterval *uint64 `json:"ActiveCheckInterval,omitnil,omitempty" name:"ActiveCheckInterval"`

	// Header of the active health check request
	ActiveRequestHeader []*UpstreamHealthCheckerReqHeaders `json:"ActiveRequestHeader,omitnil,omitempty" name:"ActiveRequestHeader"`

	// The period for an abnormal to recover automatically in seconds. If only the passive health check is enabled, it must be greater than 0. Otherwise the abnormal nodes can not recovered automatically. The default value is 30 seconds.
	UnhealthyTimeout *uint64 `json:"UnhealthyTimeout,omitnil,omitempty" name:"UnhealthyTimeout"`
}

type UpstreamHealthCheckerReqHeaders

type UpstreamHealthCheckerReqHeaders struct {
}

type UpstreamInfo

type UpstreamInfo struct {
	// Unique upstream ID
	UpstreamId *string `json:"UpstreamId,omitnil,omitempty" name:"UpstreamId"`

	// Upstream name
	UpstreamName *string `json:"UpstreamName,omitnil,omitempty" name:"UpstreamName"`

	// Upstream description
	UpstreamDescription *string `json:"UpstreamDescription,omitnil,omitempty" name:"UpstreamDescription"`

	// Backend protocol. Valid values: `HTTP`, `HTTPS`
	Scheme *string `json:"Scheme,omitnil,omitempty" name:"Scheme"`

	// Load balancing algorithm. Valid value: `ROUND_ROBIN`
	Algorithm *string `json:"Algorithm,omitnil,omitempty" name:"Algorithm"`

	// Unique VPC ID
	UniqVpcId *string `json:"UniqVpcId,omitnil,omitempty" name:"UniqVpcId"`

	// Number of retry attempts
	Retries *uint64 `json:"Retries,omitnil,omitempty" name:"Retries"`

	// Backend nodes
	Nodes []*UpstreamNode `json:"Nodes,omitnil,omitempty" name:"Nodes"`

	// Creation time.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Label
	// Note: This field may return `null`, indicating that no valid value was found.
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Health check configuration
	// Note: This field may return `null`, indicating that no valid value was found.
	HealthChecker *UpstreamHealthChecker `json:"HealthChecker,omitnil,omitempty" name:"HealthChecker"`

	// Upstream type. Valid values: `IP_PORT`, `K8S`
	UpstreamType *string `json:"UpstreamType,omitnil,omitempty" name:"UpstreamType"`

	// Configuration of TKE service
	// Note: This field may return `NULL`, indicating that no valid value was found.
	K8sServices []*K8sService `json:"K8sServices,omitnil,omitempty" name:"K8sServices"`

	// The Host header that the gateway forwards to the upstream
	// Note: This field may return `NULL`, indicating that no valid value was found.
	UpstreamHost *string `json:"UpstreamHost,omitnil,omitempty" name:"UpstreamHost"`
}

type UpstreamNode

type UpstreamNode struct {
	// IP or domain name
	Host *string `json:"Host,omitnil,omitempty" name:"Host"`

	// The port number. Range: [0, 65535]
	Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"`

	// Value range: [0, 100]. `0` refers to disable it.
	Weight *uint64 `json:"Weight,omitnil,omitempty" name:"Weight"`

	// CVM Instance ID
	// Note: This field may return `NULL`, indicating that no valid value was found.
	VmInstanceId *string `json:"VmInstanceId,omitnil,omitempty" name:"VmInstanceId"`

	// Tag
	// Note: This field may return `null`, indicating that no valid value was found.
	Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Health status of the node. Values: `OFF`, `HEALTHY`, `UNHEALTHY` and `NO_DATA`. It’s not required for creating and editing actions. It only supports VPC upstreams.
	// Note: This field may return `NULL`, indicating that no valid value was found.
	Healthy *string `json:"Healthy,omitnil,omitempty" name:"Healthy"`

	// TKE container name
	// Note: This field may return `NULL`, indicating that no valid value was found.
	ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`

	// TKE namespace
	// Note: This field may return `NULL`, indicating that no valid value was found.
	NameSpace *string `json:"NameSpace,omitnil,omitempty" name:"NameSpace"`

	// ID of the TKE cluster
	// Note: This field may return `null`, indicating that no valid value was found.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// Node source. Valid value: `K8S`
	// Note: This field may return `NULL`, indicating that no valid value was found.
	Source *string `json:"Source,omitnil,omitempty" name:"Source"`

	// The unique service name in API Gateway
	// Note: This field may return `null`, indicating that no valid value was found.
	UniqueServiceName *string `json:"UniqueServiceName,omitnil,omitempty" name:"UniqueServiceName"`
}

type UsagePlan

type UsagePlan struct {
	// Environment name.
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`

	// Unique usage plan ID.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`

	// Usage plan name.
	UsagePlanName *string `json:"UsagePlanName,omitnil,omitempty" name:"UsagePlanName"`

	// Usage plan description.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UsagePlanDesc *string `json:"UsagePlanDesc,omitnil,omitempty" name:"UsagePlanDesc"`

	// Usage plan QPS. `-1` indicates no limit.
	MaxRequestNumPreSec *int64 `json:"MaxRequestNumPreSec,omitnil,omitempty" name:"MaxRequestNumPreSec"`

	// Usage plan time.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Usage plan modification time.
	ModifiedTime *string `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"`
}

type UsagePlanBindEnvironment

type UsagePlanBindEnvironment struct {
	// Environment name.
	// Note: this field may return null, indicating that no valid values can be obtained.
	EnvironmentName *string `json:"EnvironmentName,omitnil,omitempty" name:"EnvironmentName"`

	// Unique service ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`
}

type UsagePlanBindSecret

type UsagePlanBindSecret struct {
	// Key ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AccessKeyId *string `json:"AccessKeyId,omitnil,omitempty" name:"AccessKeyId"`

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

	// Key status. 0: disabled. 1: enabled.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type UsagePlanBindSecretStatus

type UsagePlanBindSecretStatus struct {
	// Number of keys bound to usage plan.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of key details.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AccessKeyList []*UsagePlanBindSecret `json:"AccessKeyList,omitnil,omitempty" name:"AccessKeyList"`
}

type UsagePlanEnvironment

type UsagePlanEnvironment struct {
	// Unique ID of bound service.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

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

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

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

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

	// Name of bound environment.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Environment *string `json:"Environment,omitnil,omitempty" name:"Environment"`

	// Used quota.
	// Note: this field may return null, indicating that no valid values can be obtained.
	InUseRequestNum *int64 `json:"InUseRequestNum,omitnil,omitempty" name:"InUseRequestNum"`

	// Maximum number of requests.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MaxRequestNum *int64 `json:"MaxRequestNum,omitnil,omitempty" name:"MaxRequestNum"`

	// Maximum number of requests per second.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MaxRequestNumPreSec *int64 `json:"MaxRequestNumPreSec,omitnil,omitempty" name:"MaxRequestNumPreSec"`

	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ModifiedTime *string `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"`

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

type UsagePlanEnvironmentStatus

type UsagePlanEnvironmentStatus struct {
	// Number of environments of the service bound to usage plan.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Environment status of services bound to usage plan.
	// Note: this field may return null, indicating that no valid values can be obtained.
	EnvironmentList []*UsagePlanEnvironment `json:"EnvironmentList,omitnil,omitempty" name:"EnvironmentList"`
}

type UsagePlanInfo

type UsagePlanInfo struct {
	// Unique usage plan ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`

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

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

	// Number of initialization calls.
	// Note: this field may return null, indicating that no valid values can be obtained.
	InitQuota *int64 `json:"InitQuota,omitnil,omitempty" name:"InitQuota"`

	// Limit of requests per second.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MaxRequestNumPreSec *int64 `json:"MaxRequestNumPreSec,omitnil,omitempty" name:"MaxRequestNumPreSec"`

	// Maximum number of calls.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MaxRequestNum *int64 `json:"MaxRequestNum,omitnil,omitempty" name:"MaxRequestNum"`

	// Whether to hide.
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsHide *int64 `json:"IsHide,omitnil,omitempty" name:"IsHide"`

	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ModifiedTime *string `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"`

	// Number of bound keys.
	// Note: this field may return null, indicating that no valid values can be obtained.
	BindSecretIdTotalCount *int64 `json:"BindSecretIdTotalCount,omitnil,omitempty" name:"BindSecretIdTotalCount"`

	// Details of bound keys.
	// Note: this field may return null, indicating that no valid values can be obtained.
	BindSecretIds []*string `json:"BindSecretIds,omitnil,omitempty" name:"BindSecretIds"`

	// Number of bound environments.
	// Note: this field may return null, indicating that no valid values can be obtained.
	BindEnvironmentTotalCount *int64 `json:"BindEnvironmentTotalCount,omitnil,omitempty" name:"BindEnvironmentTotalCount"`

	// Details of bound environments.
	// Note: this field may return null, indicating that no valid values can be obtained.
	BindEnvironments []*UsagePlanBindEnvironment `json:"BindEnvironments,omitnil,omitempty" name:"BindEnvironments"`
}

type UsagePlanStatusInfo

type UsagePlanStatusInfo struct {
	// Unique usage plan ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UsagePlanId *string `json:"UsagePlanId,omitnil,omitempty" name:"UsagePlanId"`

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

	// Custom usage plan description.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UsagePlanDesc *string `json:"UsagePlanDesc,omitnil,omitempty" name:"UsagePlanDesc"`

	// Maximum number of requests per second.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MaxRequestNumPreSec *int64 `json:"MaxRequestNumPreSec,omitnil,omitempty" name:"MaxRequestNumPreSec"`

	// Total number of requests allowed. `-1` indicates no limit.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MaxRequestNum *int64 `json:"MaxRequestNum,omitnil,omitempty" name:"MaxRequestNum"`

	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ModifiedTime *string `json:"ModifiedTime,omitnil,omitempty" name:"ModifiedTime"`
}

type UsagePlansStatus

type UsagePlansStatus struct {
	// Number of eligible usage plans.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Usage plan list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UsagePlanStatusSet []*UsagePlanStatusInfo `json:"UsagePlanStatusSet,omitnil,omitempty" name:"UsagePlanStatusSet"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL