model

package
v0.0.66 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AsyncInvokeFunctionRequest

type AsyncInvokeFunctionRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body map[string]interface{} `json:"body,omitempty"`
}

Request Object

func (AsyncInvokeFunctionRequest) String

type AsyncInvokeFunctionResponse

type AsyncInvokeFunctionResponse struct {
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AsyncInvokeFunctionResponse) String

type AsyncInvokeReservedFunctionRequest added in v0.0.47

type AsyncInvokeReservedFunctionRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body map[string]interface{} `json:"body,omitempty"`
}

Request Object

func (AsyncInvokeReservedFunctionRequest) String added in v0.0.47

type AsyncInvokeReservedFunctionResponse added in v0.0.47

type AsyncInvokeReservedFunctionResponse struct {
	InstanceId     *string `json:"instance_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AsyncInvokeReservedFunctionResponse) String added in v0.0.47

type BatchDeleteFunctionTriggersRequest

type BatchDeleteFunctionTriggersRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (BatchDeleteFunctionTriggersRequest) String

type BatchDeleteFunctionTriggersResponse

type BatchDeleteFunctionTriggersResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchDeleteFunctionTriggersResponse) String

type CreateDependencyRequest

type CreateDependencyRequest struct {
	Body *CreateDependencyRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateDependencyRequest) String

func (o CreateDependencyRequest) String() string

type CreateDependencyRequestBody

type CreateDependencyRequestBody struct {
	DependFile *string `json:"depend_file,omitempty"`

	DependLink *string `json:"depend_link,omitempty"`

	DependType string `json:"depend_type"`

	Runtime CreateDependencyRequestBodyRuntime `json:"runtime"`

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

	Description *string `json:"description,omitempty"`
}

func (CreateDependencyRequestBody) String

type CreateDependencyRequestBodyRuntime

type CreateDependencyRequestBodyRuntime struct {
	// contains filtered or unexported fields
}

func (CreateDependencyRequestBodyRuntime) MarshalJSON

func (c CreateDependencyRequestBodyRuntime) MarshalJSON() ([]byte, error)

func (*CreateDependencyRequestBodyRuntime) UnmarshalJSON

func (c *CreateDependencyRequestBodyRuntime) UnmarshalJSON(b []byte) error

type CreateDependencyResponse

type CreateDependencyResponse struct {
	Id *string `json:"id,omitempty"`

	Owner *string `json:"owner,omitempty"`

	Link *string `json:"link,omitempty"`

	Runtime *string `json:"runtime,omitempty"`

	Etag *string `json:"etag,omitempty"`

	Size *int64 `json:"size,omitempty"`

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

	Description *string `json:"description,omitempty"`

	FileName       *string `json:"file_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateDependencyResponse) String

func (o CreateDependencyResponse) String() string

type CreateEventRequest

type CreateEventRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body *CreateEventRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateEventRequest) String

func (o CreateEventRequest) String() string

type CreateEventRequestBody

type CreateEventRequestBody struct {
	Name *string `json:"name,omitempty"`

	Content *string `json:"content,omitempty"`
}

创建测试事件请求体。

func (CreateEventRequestBody) String

func (o CreateEventRequestBody) String() string

type CreateEventResponse

type CreateEventResponse struct {
	Id *string `json:"id,omitempty"`

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

	Content *string `json:"content,omitempty"`

	LastModified   float32 `json:"last_modified,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateEventResponse) String

func (o CreateEventResponse) String() string

type CreateFunctionRequest

type CreateFunctionRequest struct {
	Body *CreateFunctionRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateFunctionRequest) String

func (o CreateFunctionRequest) String() string

type CreateFunctionRequestBody

type CreateFunctionRequestBody struct {
	FuncName string `json:"func_name"`

	Package string `json:"package"`

	Runtime CreateFunctionRequestBodyRuntime `json:"runtime"`

	Timeout int32 `json:"timeout"`

	Handler string `json:"handler"`

	MemorySize int32 `json:"memory_size"`

	CodeType CreateFunctionRequestBodyCodeType `json:"code_type"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	UserData *string `json:"user_data,omitempty"`

	Xrole *string `json:"xrole,omitempty"`

	AppXrole *string `json:"app_xrole,omitempty"`

	Description *string `json:"description,omitempty"`

	FuncCode *FuncCode `json:"func_code,omitempty"`

	InitializerHandler *string `json:"initializer_handler,omitempty"`

	InitializerTimeout *int32 `json:"initializer_timeout,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	Type *CreateFunctionRequestBodyType `json:"type,omitempty"`
}

函数属性结构体。

func (CreateFunctionRequestBody) String

func (o CreateFunctionRequestBody) String() string

type CreateFunctionRequestBodyCodeType

type CreateFunctionRequestBodyCodeType struct {
	// contains filtered or unexported fields
}

func (CreateFunctionRequestBodyCodeType) MarshalJSON

func (c CreateFunctionRequestBodyCodeType) MarshalJSON() ([]byte, error)

func (*CreateFunctionRequestBodyCodeType) UnmarshalJSON

func (c *CreateFunctionRequestBodyCodeType) UnmarshalJSON(b []byte) error

type CreateFunctionRequestBodyRuntime

type CreateFunctionRequestBodyRuntime struct {
	// contains filtered or unexported fields
}

func (CreateFunctionRequestBodyRuntime) MarshalJSON

func (c CreateFunctionRequestBodyRuntime) MarshalJSON() ([]byte, error)

func (*CreateFunctionRequestBodyRuntime) UnmarshalJSON

func (c *CreateFunctionRequestBodyRuntime) UnmarshalJSON(b []byte) error

type CreateFunctionRequestBodyType added in v0.0.57

type CreateFunctionRequestBodyType struct {
	// contains filtered or unexported fields
}

func (CreateFunctionRequestBodyType) MarshalJSON added in v0.0.57

func (c CreateFunctionRequestBodyType) MarshalJSON() ([]byte, error)

func (*CreateFunctionRequestBodyType) UnmarshalJSON added in v0.0.57

func (c *CreateFunctionRequestBodyType) UnmarshalJSON(b []byte) error

type CreateFunctionRequestBodyTypeEnum added in v0.0.57

type CreateFunctionRequestBodyTypeEnum struct {
	V1 CreateFunctionRequestBodyType
	V2 CreateFunctionRequestBodyType
}

func GetCreateFunctionRequestBodyTypeEnum added in v0.0.57

func GetCreateFunctionRequestBodyTypeEnum() CreateFunctionRequestBodyTypeEnum

type CreateFunctionResponse

type CreateFunctionResponse struct {
	FuncUrn *string `json:"func_urn,omitempty"`

	FuncName *string `json:"func_name,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	Namespace *string `json:"namespace,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	Package *string `json:"package,omitempty"`

	Runtime *CreateFunctionResponseRuntime `json:"runtime,omitempty"`

	Timeout *int32 `json:"timeout,omitempty"`

	Handler *string `json:"handler,omitempty"`

	MemorySize *int32 `json:"memory_size,omitempty"`

	Cpu *int32 `json:"cpu,omitempty"`

	CodeType *CreateFunctionResponseCodeType `json:"code_type,omitempty"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	CodeSize *int64 `json:"code_size,omitempty"`

	UserData *string `json:"user_data,omitempty"`

	EncryptedUserData *string `json:"encrypted_user_data,omitempty"`

	Digest *string `json:"digest,omitempty"`

	Version *string `json:"version,omitempty"`

	ImageName *string `json:"image_name,omitempty"`

	Xrole *string `json:"xrole,omitempty"`

	AppXrole *string `json:"app_xrole,omitempty"`

	Description *string `json:"description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	FuncVpc *FuncVpc `json:"func_vpc,omitempty"`

	MountConfig *MountConfig `json:"mount_config,omitempty"`

	DependList *[]string `json:"depend_list,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	ExtendConfig *string `json:"extend_config,omitempty"`

	InitializerHandler *string `json:"initializer_handler,omitempty"`

	InitializerTimeout *int32 `json:"initializer_timeout,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

Response Object

func (CreateFunctionResponse) String

func (o CreateFunctionResponse) String() string

type CreateFunctionResponseCodeType

type CreateFunctionResponseCodeType struct {
	// contains filtered or unexported fields
}

func (CreateFunctionResponseCodeType) MarshalJSON

func (c CreateFunctionResponseCodeType) MarshalJSON() ([]byte, error)

func (*CreateFunctionResponseCodeType) UnmarshalJSON

func (c *CreateFunctionResponseCodeType) UnmarshalJSON(b []byte) error

type CreateFunctionResponseRuntime

type CreateFunctionResponseRuntime struct {
	// contains filtered or unexported fields
}

func (CreateFunctionResponseRuntime) MarshalJSON

func (c CreateFunctionResponseRuntime) MarshalJSON() ([]byte, error)

func (*CreateFunctionResponseRuntime) UnmarshalJSON

func (c *CreateFunctionResponseRuntime) UnmarshalJSON(b []byte) error

type CreateFunctionTriggerRequest

type CreateFunctionTriggerRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body *CreateFunctionTriggerRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateFunctionTriggerRequest) String

type CreateFunctionTriggerRequestBody

type CreateFunctionTriggerRequestBody struct {
	TriggerTypeCode CreateFunctionTriggerRequestBodyTriggerTypeCode `json:"trigger_type_code"`

	TriggerStatus *CreateFunctionTriggerRequestBodyTriggerStatus `json:"trigger_status,omitempty"`

	EventTypeCode *string `json:"event_type_code,omitempty"`

	EventData *interface{} `json:"event_data"`
}

func (CreateFunctionTriggerRequestBody) String

type CreateFunctionTriggerRequestBodyTriggerStatus

type CreateFunctionTriggerRequestBodyTriggerStatus struct {
	// contains filtered or unexported fields
}

func (CreateFunctionTriggerRequestBodyTriggerStatus) MarshalJSON

func (*CreateFunctionTriggerRequestBodyTriggerStatus) UnmarshalJSON

type CreateFunctionTriggerRequestBodyTriggerTypeCode

type CreateFunctionTriggerRequestBodyTriggerTypeCode struct {
	// contains filtered or unexported fields
}

func (CreateFunctionTriggerRequestBodyTriggerTypeCode) MarshalJSON

func (*CreateFunctionTriggerRequestBodyTriggerTypeCode) UnmarshalJSON

type CreateFunctionTriggerResponse

type CreateFunctionTriggerResponse struct {
	TriggerId *string `json:"trigger_id,omitempty"`

	TriggerTypeCode *CreateFunctionTriggerResponseTriggerTypeCode `json:"trigger_type_code,omitempty"`

	TriggerStatus *CreateFunctionTriggerResponseTriggerStatus `json:"trigger_status,omitempty"`

	EventData *interface{} `json:"event_data,omitempty"`

	LastUpdatedTime *sdktime.SdkTime `json:"last_updated_time,omitempty"`

	CreatedTime    *sdktime.SdkTime `json:"created_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (CreateFunctionTriggerResponse) String

type CreateFunctionTriggerResponseTriggerStatus

type CreateFunctionTriggerResponseTriggerStatus struct {
	// contains filtered or unexported fields
}

func (CreateFunctionTriggerResponseTriggerStatus) MarshalJSON

func (*CreateFunctionTriggerResponseTriggerStatus) UnmarshalJSON

type CreateFunctionTriggerResponseTriggerStatusEnum

type CreateFunctionTriggerResponseTriggerStatusEnum struct {
	ACTIVE   CreateFunctionTriggerResponseTriggerStatus
	DISABLED CreateFunctionTriggerResponseTriggerStatus
}

func GetCreateFunctionTriggerResponseTriggerStatusEnum

func GetCreateFunctionTriggerResponseTriggerStatusEnum() CreateFunctionTriggerResponseTriggerStatusEnum

type CreateFunctionTriggerResponseTriggerTypeCode

type CreateFunctionTriggerResponseTriggerTypeCode struct {
	// contains filtered or unexported fields
}

func (CreateFunctionTriggerResponseTriggerTypeCode) MarshalJSON

func (*CreateFunctionTriggerResponseTriggerTypeCode) UnmarshalJSON

type CreateFunctionVersionRequest

type CreateFunctionVersionRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body *CreateFunctionVersionRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateFunctionVersionRequest) String

type CreateFunctionVersionRequestBody

type CreateFunctionVersionRequestBody struct {
	Digest *string `json:"digest,omitempty"`

	Version *string `json:"version,omitempty"`

	Description *string `json:"description,omitempty"`
}

func (CreateFunctionVersionRequestBody) String

type CreateFunctionVersionResponse

type CreateFunctionVersionResponse struct {
	FuncUrn *string `json:"func_urn,omitempty"`

	FuncName *string `json:"func_name,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	Namespace *string `json:"namespace,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	Package *string `json:"package,omitempty"`

	Runtime *CreateFunctionVersionResponseRuntime `json:"runtime,omitempty"`

	Timeout *int32 `json:"timeout,omitempty"`

	Handler *string `json:"handler,omitempty"`

	MemorySize *int32 `json:"memory_size,omitempty"`

	Cpu *int32 `json:"cpu,omitempty"`

	CodeType *CreateFunctionVersionResponseCodeType `json:"code_type,omitempty"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	CodeSize *int64 `json:"code_size,omitempty"`

	UserData *string `json:"user_data,omitempty"`

	EncryptedUserData *string `json:"encrypted_user_data,omitempty"`

	Digest *string `json:"digest,omitempty"`

	Version *string `json:"version,omitempty"`

	ImageName *string `json:"image_name,omitempty"`

	Xrole *string `json:"xrole,omitempty"`

	AppXrole *string `json:"app_xrole,omitempty"`

	Description *string `json:"description,omitempty"`

	VersionDescription *string `json:"version_description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	FuncVpc *FuncVpc `json:"func_vpc,omitempty"`

	MountConfig *MountConfig `json:"mount_config,omitempty"`

	DependList *[]string `json:"depend_list,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	ExtendConfig *string `json:"extend_config,omitempty"`

	Dependencies *[]Dependency `json:"dependencies,omitempty"`

	InitializerHandler *string `json:"initializer_handler,omitempty"`

	InitializerTimeout *int32 `json:"initializer_timeout,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	LongTime *bool `json:"long_time,omitempty"`

	LogGroupId *string `json:"log_group_id,omitempty"`

	LogStreamId *string `json:"log_stream_id,omitempty"`

	Type           *CreateFunctionVersionResponseType `json:"type,omitempty"`
	HttpStatusCode int                                `json:"-"`
}

Response Object

func (CreateFunctionVersionResponse) String

type CreateFunctionVersionResponseCodeType

type CreateFunctionVersionResponseCodeType struct {
	// contains filtered or unexported fields
}

func (CreateFunctionVersionResponseCodeType) MarshalJSON

func (c CreateFunctionVersionResponseCodeType) MarshalJSON() ([]byte, error)

func (*CreateFunctionVersionResponseCodeType) UnmarshalJSON

func (c *CreateFunctionVersionResponseCodeType) UnmarshalJSON(b []byte) error

type CreateFunctionVersionResponseRuntime

type CreateFunctionVersionResponseRuntime struct {
	// contains filtered or unexported fields
}

func (CreateFunctionVersionResponseRuntime) MarshalJSON

func (c CreateFunctionVersionResponseRuntime) MarshalJSON() ([]byte, error)

func (*CreateFunctionVersionResponseRuntime) UnmarshalJSON

func (c *CreateFunctionVersionResponseRuntime) UnmarshalJSON(b []byte) error

type CreateFunctionVersionResponseType added in v0.0.53

type CreateFunctionVersionResponseType struct {
	// contains filtered or unexported fields
}

func (CreateFunctionVersionResponseType) MarshalJSON added in v0.0.53

func (c CreateFunctionVersionResponseType) MarshalJSON() ([]byte, error)

func (*CreateFunctionVersionResponseType) UnmarshalJSON added in v0.0.53

func (c *CreateFunctionVersionResponseType) UnmarshalJSON(b []byte) error

type CreateFunctionVersionResponseTypeEnum added in v0.0.53

type CreateFunctionVersionResponseTypeEnum struct {
	V1 CreateFunctionVersionResponseType
	V2 CreateFunctionVersionResponseType
}

func GetCreateFunctionVersionResponseTypeEnum added in v0.0.53

func GetCreateFunctionVersionResponseTypeEnum() CreateFunctionVersionResponseTypeEnum

type CreateVersionAliasRequest

type CreateVersionAliasRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body *CreateVersionAliasRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateVersionAliasRequest) String

func (o CreateVersionAliasRequest) String() string

type CreateVersionAliasRequestBody

type CreateVersionAliasRequestBody struct {
	Name string `json:"name"`

	Version string `json:"version"`

	Description *string `json:"description,omitempty"`

	AdditionalVersionWeights map[string]int32 `json:"additional_version_weights,omitempty"`
}

版本别名结构

func (CreateVersionAliasRequestBody) String

type CreateVersionAliasResponse

type CreateVersionAliasResponse struct {
	Name *string `json:"name,omitempty"`

	Version *string `json:"version,omitempty"`

	Description *string `json:"description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	AliasUrn *string `json:"alias_urn,omitempty"`

	AdditionalVersionWeights map[string]int32 `json:"additional_version_weights,omitempty"`
	HttpStatusCode           int              `json:"-"`
}

Response Object

func (CreateVersionAliasResponse) String

type DeleteDependencyRequest

type DeleteDependencyRequest struct {
	DependId string `json:"depend_id"`
}

Request Object

func (DeleteDependencyRequest) String

func (o DeleteDependencyRequest) String() string

type DeleteDependencyResponse

type DeleteDependencyResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteDependencyResponse) String

func (o DeleteDependencyResponse) String() string

type DeleteEventRequest

type DeleteEventRequest struct {
	EventId string `json:"event_id"`

	FunctionUrn string `json:"function_urn"`
}

Request Object

func (DeleteEventRequest) String

func (o DeleteEventRequest) String() string

type DeleteEventResponse

type DeleteEventResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteEventResponse) String

func (o DeleteEventResponse) String() string

type DeleteFunctionAsyncInvokeConfigRequest

type DeleteFunctionAsyncInvokeConfigRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (DeleteFunctionAsyncInvokeConfigRequest) String

type DeleteFunctionAsyncInvokeConfigResponse

type DeleteFunctionAsyncInvokeConfigResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteFunctionAsyncInvokeConfigResponse) String

type DeleteFunctionRequest

type DeleteFunctionRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (DeleteFunctionRequest) String

func (o DeleteFunctionRequest) String() string

type DeleteFunctionResponse

type DeleteFunctionResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteFunctionResponse) String

func (o DeleteFunctionResponse) String() string

type DeleteFunctionTriggerRequest

type DeleteFunctionTriggerRequest struct {
	FunctionUrn string `json:"function_urn"`

	TriggerTypeCode DeleteFunctionTriggerRequestTriggerTypeCode `json:"trigger_type_code"`

	TriggerId string `json:"trigger_id"`
}

Request Object

func (DeleteFunctionTriggerRequest) String

type DeleteFunctionTriggerRequestTriggerTypeCode

type DeleteFunctionTriggerRequestTriggerTypeCode struct {
	// contains filtered or unexported fields
}

func (DeleteFunctionTriggerRequestTriggerTypeCode) MarshalJSON

func (*DeleteFunctionTriggerRequestTriggerTypeCode) UnmarshalJSON

type DeleteFunctionTriggerResponse

type DeleteFunctionTriggerResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteFunctionTriggerResponse) String

type DeleteReservedInstanceByIdRequest added in v0.0.47

type DeleteReservedInstanceByIdRequest struct {
	FunctionUrn string `json:"function_urn"`

	InstanceId string `json:"instance_id"`
}

Request Object

func (DeleteReservedInstanceByIdRequest) String added in v0.0.47

type DeleteReservedInstanceByIdResponse added in v0.0.47

type DeleteReservedInstanceByIdResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteReservedInstanceByIdResponse) String added in v0.0.47

type DeleteVersionAliasRequest

type DeleteVersionAliasRequest struct {
	FunctionUrn string `json:"function_urn"`

	AliasName string `json:"alias_name"`
}

Request Object

func (DeleteVersionAliasRequest) String

func (o DeleteVersionAliasRequest) String() string

type DeleteVersionAliasResponse

type DeleteVersionAliasResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteVersionAliasResponse) String

type Dependency

type Dependency struct {
	Id string `json:"id"`

	Owner string `json:"owner"`

	Link string `json:"link"`

	Runtime string `json:"runtime"`

	Etag string `json:"etag"`

	Size int64 `json:"size"`

	Name string `json:"name"`

	Description string `json:"description"`

	FileName *string `json:"file_name,omitempty"`
}

函数依赖包结构。

func (Dependency) String

func (o Dependency) String() string

type EnableLtsLogsRequest added in v0.0.53

type EnableLtsLogsRequest struct {
}

Request Object

func (EnableLtsLogsRequest) String added in v0.0.53

func (o EnableLtsLogsRequest) String() string

type EnableLtsLogsResponse added in v0.0.53

type EnableLtsLogsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (EnableLtsLogsResponse) String added in v0.0.53

func (o EnableLtsLogsResponse) String() string

type ExportFunctionRequest added in v0.0.47

type ExportFunctionRequest struct {
	FunctionUrn string `json:"function_urn"`

	Config *bool `json:"config,omitempty"`

	Code *bool `json:"code,omitempty"`

	Type *ExportFunctionRequestType `json:"type,omitempty"`
}

Request Object

func (ExportFunctionRequest) String added in v0.0.47

func (o ExportFunctionRequest) String() string

type ExportFunctionRequestType added in v0.0.57

type ExportFunctionRequestType struct {
	// contains filtered or unexported fields
}

func (ExportFunctionRequestType) MarshalJSON added in v0.0.57

func (c ExportFunctionRequestType) MarshalJSON() ([]byte, error)

func (*ExportFunctionRequestType) UnmarshalJSON added in v0.0.57

func (c *ExportFunctionRequestType) UnmarshalJSON(b []byte) error

type ExportFunctionRequestTypeEnum added in v0.0.57

type ExportFunctionRequestTypeEnum struct {
	TYPE ExportFunctionRequestType
	CODE ExportFunctionRequestType
}

func GetExportFunctionRequestTypeEnum added in v0.0.57

func GetExportFunctionRequestTypeEnum() ExportFunctionRequestTypeEnum

type ExportFunctionResponse added in v0.0.47

type ExportFunctionResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (ExportFunctionResponse) String added in v0.0.47

func (o ExportFunctionResponse) String() string

type FuncAsyncDestinationConfig

type FuncAsyncDestinationConfig struct {
	OnSuccess *FuncDestinationConfig `json:"on_success,omitempty"`

	OnFailure *FuncDestinationConfig `json:"on_failure,omitempty"`
}

函数异步调用目标参数配置。

func (FuncAsyncDestinationConfig) String

type FuncCode

type FuncCode struct {
	File *string `json:"file,omitempty"`

	Link *string `json:"link,omitempty"`
}

FuncCode结构返回体。

func (FuncCode) String

func (o FuncCode) String() string

type FuncDestinationConfig

type FuncDestinationConfig struct {
	Destination *FuncDestinationConfigDestination `json:"destination,omitempty"`

	Param *string `json:"param,omitempty"`
}

函数通知目标参数配置。

func (FuncDestinationConfig) String

func (o FuncDestinationConfig) String() string

type FuncDestinationConfigDestination

type FuncDestinationConfigDestination struct {
	// contains filtered or unexported fields
}

func (FuncDestinationConfigDestination) MarshalJSON

func (c FuncDestinationConfigDestination) MarshalJSON() ([]byte, error)

func (*FuncDestinationConfigDestination) UnmarshalJSON

func (c *FuncDestinationConfigDestination) UnmarshalJSON(b []byte) error

type FuncMount

type FuncMount struct {
	MountType string `json:"mount_type"`

	MountResource string `json:"mount_resource"`

	MountSharePath *string `json:"mount_share_path,omitempty"`

	LocalMountPath string `json:"local_mount_path"`
}

函数挂载结构体。

func (FuncMount) String

func (o FuncMount) String() string

type FuncVpc

type FuncVpc struct {
	VpcName string `json:"vpc_name"`

	VpcId string `json:"vpc_id"`

	SubnetName string `json:"subnet_name"`

	SubnetId string `json:"subnet_id"`

	Cidr string `json:"cidr"`

	Gateway string `json:"gateway"`
}

函数vpc配置。

func (FuncVpc) String

func (o FuncVpc) String() string

type ImportFunctionRequest added in v0.0.47

type ImportFunctionRequest struct {
	Body *ImportFunctionRequestBody `json:"body,omitempty"`
}

Request Object

func (ImportFunctionRequest) String added in v0.0.47

func (o ImportFunctionRequest) String() string

type ImportFunctionRequestBody added in v0.0.47

type ImportFunctionRequestBody struct {
	FuncName string `json:"func_name"`

	FileName string `json:"file_name"`

	FileType string `json:"file_type"`

	FileCode string `json:"file_code"`
}

导入函数请求结构体

func (ImportFunctionRequestBody) String added in v0.0.47

func (o ImportFunctionRequestBody) String() string

type ImportFunctionResponse added in v0.0.47

type ImportFunctionResponse struct {
	FuncUrn *string `json:"func_urn,omitempty"`

	FuncName *string `json:"func_name,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	Namespace *string `json:"namespace,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	Package *string `json:"package,omitempty"`

	Runtime *ImportFunctionResponseRuntime `json:"runtime,omitempty"`

	Timeout *int32 `json:"timeout,omitempty"`

	Handler *string `json:"handler,omitempty"`

	MemorySize *int32 `json:"memory_size,omitempty"`

	Cpu *int32 `json:"cpu,omitempty"`

	CodeType *ImportFunctionResponseCodeType `json:"code_type,omitempty"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	CodeSize *int64 `json:"code_size,omitempty"`

	UserData *string `json:"user_data,omitempty"`

	Digest *string `json:"digest,omitempty"`

	Version *string `json:"version,omitempty"`

	ImageName *string `json:"image_name,omitempty"`

	Xrole *string `json:"xrole,omitempty"`

	AppXrole *string `json:"app_xrole,omitempty"`

	Description *string `json:"description,omitempty"`

	VersionDescription *string `json:"version_description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	FuncVpc *FuncVpc `json:"func_vpc,omitempty"`

	DependList *[]string `json:"depend_list,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	ExtendConfig *string `json:"extend_config,omitempty"`

	InitializerHandler *string `json:"initializer_handler,omitempty"`

	InitializerTimeout *int32 `json:"initializer_timeout,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

Response Object

func (ImportFunctionResponse) String added in v0.0.47

func (o ImportFunctionResponse) String() string

type ImportFunctionResponseCodeType added in v0.0.47

type ImportFunctionResponseCodeType struct {
	// contains filtered or unexported fields
}

func (ImportFunctionResponseCodeType) MarshalJSON added in v0.0.47

func (c ImportFunctionResponseCodeType) MarshalJSON() ([]byte, error)

func (*ImportFunctionResponseCodeType) UnmarshalJSON added in v0.0.47

func (c *ImportFunctionResponseCodeType) UnmarshalJSON(b []byte) error

type ImportFunctionResponseCodeTypeEnum added in v0.0.47

func GetImportFunctionResponseCodeTypeEnum added in v0.0.47

func GetImportFunctionResponseCodeTypeEnum() ImportFunctionResponseCodeTypeEnum

type ImportFunctionResponseRuntime added in v0.0.47

type ImportFunctionResponseRuntime struct {
	// contains filtered or unexported fields
}

func (ImportFunctionResponseRuntime) MarshalJSON added in v0.0.47

func (c ImportFunctionResponseRuntime) MarshalJSON() ([]byte, error)

func (*ImportFunctionResponseRuntime) UnmarshalJSON added in v0.0.47

func (c *ImportFunctionResponseRuntime) UnmarshalJSON(b []byte) error

type InvokeFunctionRequest

type InvokeFunctionRequest struct {
	FunctionUrn string `json:"function_urn"`

	XCffLogType *string `json:"X-Cff-Log-Type,omitempty"`

	XCFFRequestVersion *string `json:"X-CFF-Request-Version,omitempty"`

	Body map[string]interface{} `json:"body,omitempty"`
}

Request Object

func (InvokeFunctionRequest) String

func (o InvokeFunctionRequest) String() string

type InvokeFunctionResponse

type InvokeFunctionResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Result *string `json:"result,omitempty"`

	Log *string `json:"log,omitempty"`

	Status         *int32 `json:"status,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (InvokeFunctionResponse) String

func (o InvokeFunctionResponse) String() string

type ListDependenciesRequest

type ListDependenciesRequest struct {
	DependencyType *ListDependenciesRequestDependencyType `json:"dependency_type,omitempty"`

	Runtime *ListDependenciesRequestRuntime `json:"runtime,omitempty"`

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

	Marker *string `json:"marker,omitempty"`

	Limit *string `json:"limit,omitempty"`
}

Request Object

func (ListDependenciesRequest) String

func (o ListDependenciesRequest) String() string

type ListDependenciesRequestDependencyType

type ListDependenciesRequestDependencyType struct {
	// contains filtered or unexported fields
}

func (ListDependenciesRequestDependencyType) MarshalJSON

func (c ListDependenciesRequestDependencyType) MarshalJSON() ([]byte, error)

func (*ListDependenciesRequestDependencyType) UnmarshalJSON

func (c *ListDependenciesRequestDependencyType) UnmarshalJSON(b []byte) error

type ListDependenciesRequestRuntime

type ListDependenciesRequestRuntime struct {
	// contains filtered or unexported fields
}

func (ListDependenciesRequestRuntime) MarshalJSON

func (c ListDependenciesRequestRuntime) MarshalJSON() ([]byte, error)

func (*ListDependenciesRequestRuntime) UnmarshalJSON

func (c *ListDependenciesRequestRuntime) UnmarshalJSON(b []byte) error

type ListDependenciesResponse

type ListDependenciesResponse struct {
	Count *int32 `json:"count,omitempty"`

	Dependencies *[]ListDependenciesResult `json:"dependencies,omitempty"`

	NextMarker     *int64 `json:"next_marker,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListDependenciesResponse) String

func (o ListDependenciesResponse) String() string

type ListDependenciesResult

type ListDependenciesResult struct {
	Id string `json:"id"`

	Owner string `json:"owner"`

	Link string `json:"link"`

	Runtime string `json:"runtime"`

	Etag string `json:"etag"`

	Size int64 `json:"size"`

	Name string `json:"name"`

	Description *string `json:"description,omitempty"`

	FileName *string `json:"file_name,omitempty"`
}

依赖包信息。

func (ListDependenciesResult) String

func (o ListDependenciesResult) String() string

type ListEventsRequest

type ListEventsRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (ListEventsRequest) String

func (o ListEventsRequest) String() string

type ListEventsResponse

type ListEventsResponse struct {
	Count *int32 `json:"count,omitempty"`

	Events *[]ListEventsResult `json:"events,omitempty"`

	NextMarker     *int64 `json:"next_marker,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListEventsResponse) String

func (o ListEventsResponse) String() string

type ListEventsResult

type ListEventsResult struct {
	Id *string `json:"id,omitempty"`

	LastModified float32 `json:"last_modified,omitempty"`

	Name *string `json:"name,omitempty"`
}

获取测试事件响应返回体。

func (ListEventsResult) String

func (o ListEventsResult) String() string

type ListFunctionAsyncInvokeConfigRequest

type ListFunctionAsyncInvokeConfigRequest struct {
	FunctionUrn string `json:"function_urn"`

	Marker *string `json:"marker,omitempty"`

	Limit *string `json:"limit,omitempty"`
}

Request Object

func (ListFunctionAsyncInvokeConfigRequest) String

type ListFunctionAsyncInvokeConfigResponse

type ListFunctionAsyncInvokeConfigResponse struct {
	AsyncInvokeConfigs *[]ListFunctionAsyncInvokeConfigResult `json:"async_invoke_configs,omitempty"`

	Count *int64 `json:"count,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListFunctionAsyncInvokeConfigResponse) String

type ListFunctionAsyncInvokeConfigResult

type ListFunctionAsyncInvokeConfigResult struct {
	FuncUrn string `json:"func_urn"`

	MaxAsyncEventAgeInSeconds int32 `json:"max_async_event_age_in_seconds"`

	MaxAsyncRetryAttempts int32 `json:"max_async_retry_attempts"`

	DestinationConfig *FuncAsyncDestinationConfig `json:"destination_config"`

	CreatedTime *string `json:"created_time,omitempty"`

	LastModified *string `json:"last_modified,omitempty"`
}

函数异步配置返回结构体。

func (ListFunctionAsyncInvokeConfigResult) String

type ListFunctionResult

type ListFunctionResult struct {
	FuncUrn string `json:"func_urn"`

	FuncName string `json:"func_name"`

	DomainId string `json:"domain_id"`

	Namespace string `json:"namespace"`

	ProjectName string `json:"project_name"`

	Package string `json:"package"`

	Runtime ListFunctionResultRuntime `json:"runtime"`

	Timeout int32 `json:"timeout"`

	Handler string `json:"handler"`

	MemorySize int32 `json:"memory_size"`

	Cpu int32 `json:"cpu"`

	CodeType ListFunctionResultCodeType `json:"code_type"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	CodeSize int64 `json:"code_size"`

	UserData *string `json:"user_data,omitempty"`

	EncryptedUserData *string `json:"encrypted_user_data,omitempty"`

	Digest string `json:"digest"`

	Version string `json:"version"`

	ImageName string `json:"image_name"`

	Xrole *string `json:"xrole,omitempty"`

	AppXrole *string `json:"app_xrole,omitempty"`

	Description *string `json:"description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified"`

	FuncVpcId *string `json:"func_vpc_id,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	ExtendConfig *string `json:"extend_config,omitempty"`

	InitializerHandler *string `json:"initializer_handler,omitempty"`

	InitializerTimeout *int32 `json:"initializer_timeout,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	LongTime *bool `json:"long_time,omitempty"`

	LogGroupId *string `json:"log_group_id,omitempty"`

	LogStreamId *string `json:"log_stream_id,omitempty"`

	Type *ListFunctionResultType `json:"type,omitempty"`
}

函数属性结构体。

func (ListFunctionResult) String

func (o ListFunctionResult) String() string

type ListFunctionResultCodeType

type ListFunctionResultCodeType struct {
	// contains filtered or unexported fields
}

func (ListFunctionResultCodeType) MarshalJSON

func (c ListFunctionResultCodeType) MarshalJSON() ([]byte, error)

func (*ListFunctionResultCodeType) UnmarshalJSON

func (c *ListFunctionResultCodeType) UnmarshalJSON(b []byte) error

type ListFunctionResultRuntime

type ListFunctionResultRuntime struct {
	// contains filtered or unexported fields
}

func (ListFunctionResultRuntime) MarshalJSON

func (c ListFunctionResultRuntime) MarshalJSON() ([]byte, error)

func (*ListFunctionResultRuntime) UnmarshalJSON

func (c *ListFunctionResultRuntime) UnmarshalJSON(b []byte) error

type ListFunctionResultType added in v0.0.53

type ListFunctionResultType struct {
	// contains filtered or unexported fields
}

func (ListFunctionResultType) MarshalJSON added in v0.0.53

func (c ListFunctionResultType) MarshalJSON() ([]byte, error)

func (*ListFunctionResultType) UnmarshalJSON added in v0.0.53

func (c *ListFunctionResultType) UnmarshalJSON(b []byte) error

type ListFunctionResultTypeEnum added in v0.0.53

type ListFunctionResultTypeEnum struct {
	V1 ListFunctionResultType
	V2 ListFunctionResultType
}

func GetListFunctionResultTypeEnum added in v0.0.53

func GetListFunctionResultTypeEnum() ListFunctionResultTypeEnum

type ListFunctionStatisticsRequest

type ListFunctionStatisticsRequest struct {
	FuncUrn string `json:"func_urn"`

	Period string `json:"period"`
}

Request Object

func (ListFunctionStatisticsRequest) String

type ListFunctionStatisticsResponse

type ListFunctionStatisticsResponse struct {
	Count *[]SlaReportsValue `json:"count,omitempty"`

	Duration *[]SlaReportsValue `json:"duration,omitempty"`

	FailCount *[]SlaReportsValue `json:"fail_count,omitempty"`

	MaxDuration *[]SlaReportsValue `json:"max_duration,omitempty"`

	MinDuration *[]SlaReportsValue `json:"min_duration,omitempty"`

	RejectCount    *[]SlaReportsValue `json:"reject_count,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListFunctionStatisticsResponse) String

type ListFunctionStatisticsResponseBody

type ListFunctionStatisticsResponseBody struct {
	Count *[]SlaReportsValue `json:"count,omitempty"`

	Duration *[]SlaReportsValue `json:"duration,omitempty"`

	FailCount *[]SlaReportsValue `json:"fail_count,omitempty"`

	MaxDuration *[]SlaReportsValue `json:"max_duration,omitempty"`

	MinDuration *[]SlaReportsValue `json:"min_duration,omitempty"`

	RejectCount *[]SlaReportsValue `json:"reject_count,omitempty"`
}

函数指标

func (ListFunctionStatisticsResponseBody) String

type ListFunctionTriggerResult

type ListFunctionTriggerResult struct {
	TriggerId string `json:"trigger_id"`

	TriggerTypeCode ListFunctionTriggerResultTriggerTypeCode `json:"trigger_type_code"`

	TriggerStatus ListFunctionTriggerResultTriggerStatus `json:"trigger_status"`

	EventData *interface{} `json:"event_data"`

	LastUpdatedTime *sdktime.SdkTime `json:"last_updated_time"`

	CreatedTime *sdktime.SdkTime `json:"created_time"`
}

func (ListFunctionTriggerResult) String

func (o ListFunctionTriggerResult) String() string

type ListFunctionTriggerResultTriggerStatus

type ListFunctionTriggerResultTriggerStatus struct {
	// contains filtered or unexported fields
}

func (ListFunctionTriggerResultTriggerStatus) MarshalJSON

func (c ListFunctionTriggerResultTriggerStatus) MarshalJSON() ([]byte, error)

func (*ListFunctionTriggerResultTriggerStatus) UnmarshalJSON

func (c *ListFunctionTriggerResultTriggerStatus) UnmarshalJSON(b []byte) error

type ListFunctionTriggerResultTriggerStatusEnum

type ListFunctionTriggerResultTriggerStatusEnum struct {
	ACTIVE   ListFunctionTriggerResultTriggerStatus
	DISABLED ListFunctionTriggerResultTriggerStatus
}

func GetListFunctionTriggerResultTriggerStatusEnum

func GetListFunctionTriggerResultTriggerStatusEnum() ListFunctionTriggerResultTriggerStatusEnum

type ListFunctionTriggerResultTriggerTypeCode

type ListFunctionTriggerResultTriggerTypeCode struct {
	// contains filtered or unexported fields
}

func (ListFunctionTriggerResultTriggerTypeCode) MarshalJSON

func (*ListFunctionTriggerResultTriggerTypeCode) UnmarshalJSON

func (c *ListFunctionTriggerResultTriggerTypeCode) UnmarshalJSON(b []byte) error

type ListFunctionTriggersRequest

type ListFunctionTriggersRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (ListFunctionTriggersRequest) String

type ListFunctionTriggersResponse

type ListFunctionTriggersResponse struct {
	Body           *[]ListFunctionTriggerResult `json:"body,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

Response Object

func (ListFunctionTriggersResponse) String

type ListFunctionVersionResult

type ListFunctionVersionResult struct {
	FuncUrn string `json:"func_urn"`

	FuncName string `json:"func_name"`

	DomainId string `json:"domain_id"`

	Namespace string `json:"namespace"`

	ProjectName string `json:"project_name"`

	Package string `json:"package"`

	Runtime ListFunctionVersionResultRuntime `json:"runtime"`

	Timeout int32 `json:"timeout"`

	Handler string `json:"handler"`

	MemorySize int32 `json:"memory_size"`

	Cpu int32 `json:"cpu"`

	CodeType ListFunctionVersionResultCodeType `json:"code_type"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	CodeSize int64 `json:"code_size"`

	UserData *string `json:"user_data,omitempty"`

	Digest string `json:"digest"`

	Version string `json:"version"`

	ImageName string `json:"image_name"`

	Xrole *string `json:"xrole,omitempty"`

	AppXrole *string `json:"app_xrole,omitempty"`

	Description *string `json:"description,omitempty"`

	VersionDescription *string `json:"version_description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified"`

	FuncVpc *FuncVpc `json:"func_vpc,omitempty"`

	MountConfig *MountConfig `json:"mount_config,omitempty"`

	Concurrency *int32 `json:"concurrency,omitempty"`

	DependList *[]string `json:"depend_list,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	ExtendConfig *string `json:"extend_config,omitempty"`

	Dependencies *[]Dependency `json:"dependencies,omitempty"`

	InitializerHandler *string `json:"initializer_handler,omitempty"`

	InitializerTimeout *int32 `json:"initializer_timeout,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

func (ListFunctionVersionResult) String

func (o ListFunctionVersionResult) String() string

type ListFunctionVersionResultCodeType

type ListFunctionVersionResultCodeType struct {
	// contains filtered or unexported fields
}

func (ListFunctionVersionResultCodeType) MarshalJSON

func (c ListFunctionVersionResultCodeType) MarshalJSON() ([]byte, error)

func (*ListFunctionVersionResultCodeType) UnmarshalJSON

func (c *ListFunctionVersionResultCodeType) UnmarshalJSON(b []byte) error

type ListFunctionVersionResultRuntime

type ListFunctionVersionResultRuntime struct {
	// contains filtered or unexported fields
}

func (ListFunctionVersionResultRuntime) MarshalJSON

func (c ListFunctionVersionResultRuntime) MarshalJSON() ([]byte, error)

func (*ListFunctionVersionResultRuntime) UnmarshalJSON

func (c *ListFunctionVersionResultRuntime) UnmarshalJSON(b []byte) error

type ListFunctionVersionsRequest

type ListFunctionVersionsRequest struct {
	FunctionUrn string `json:"function_urn"`

	Marker *string `json:"marker,omitempty"`

	Maxitems *string `json:"maxitems,omitempty"`
}

Request Object

func (ListFunctionVersionsRequest) String

type ListFunctionVersionsResponse

type ListFunctionVersionsResponse struct {
	Versions *[]ListFunctionVersionResult `json:"versions,omitempty"`

	NextMarker *int64 `json:"next_marker,omitempty"`

	Count          *int64 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListFunctionVersionsResponse) String

type ListFunctionsRequest

type ListFunctionsRequest struct {
	Marker *string `json:"marker,omitempty"`

	Maxitems *string `json:"maxitems,omitempty"`

	PackageName *string `json:"package_name,omitempty"`
}

Request Object

func (ListFunctionsRequest) String

func (o ListFunctionsRequest) String() string

type ListFunctionsResponse

type ListFunctionsResponse struct {
	Functions *[]ListFunctionResult `json:"functions,omitempty"`

	NextMarker *int32 `json:"next_marker,omitempty"`

	Count          *int64 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListFunctionsResponse) String

func (o ListFunctionsResponse) String() string

type ListQuotasRequest

type ListQuotasRequest struct {
}

Request Object

func (ListQuotasRequest) String

func (o ListQuotasRequest) String() string

type ListQuotasResponse

type ListQuotasResponse struct {
	Quotas         *ListQuotasResult `json:"quotas,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListQuotasResponse) String

func (o ListQuotasResponse) String() string

type ListQuotasResult

type ListQuotasResult struct {
	Resources []Resources `json:"resources"`
}

配额信息

func (ListQuotasResult) String

func (o ListQuotasResult) String() string

type ListStatisticsRequest

type ListStatisticsRequest struct {
	Filter ListStatisticsRequestFilter `json:"filter"`

	Period *string `json:"period,omitempty"`
}

Request Object

func (ListStatisticsRequest) String

func (o ListStatisticsRequest) String() string

type ListStatisticsRequestFilter

type ListStatisticsRequestFilter struct {
	// contains filtered or unexported fields
}

func (ListStatisticsRequestFilter) MarshalJSON

func (c ListStatisticsRequestFilter) MarshalJSON() ([]byte, error)

func (*ListStatisticsRequestFilter) UnmarshalJSON

func (c *ListStatisticsRequestFilter) UnmarshalJSON(b []byte) error

type ListStatisticsRequestFilterEnum

type ListStatisticsRequestFilterEnum struct {
	MONITOR_DATA   ListStatisticsRequestFilter
	MONTHLY_REPORT ListStatisticsRequestFilter
}

func GetListStatisticsRequestFilterEnum

func GetListStatisticsRequestFilterEnum() ListStatisticsRequestFilterEnum

type ListStatisticsResponse

type ListStatisticsResponse struct {
	Count *[]MonthUsed `json:"count,omitempty"`

	Gbs *[]MonthUsed `json:"gbs,omitempty"`

	Statistics     *ListFunctionStatisticsResponseBody `json:"statistics,omitempty"`
	HttpStatusCode int                                 `json:"-"`
}

Response Object

func (ListStatisticsResponse) String

func (o ListStatisticsResponse) String() string

type ListVersionAliasResult

type ListVersionAliasResult struct {
	Name string `json:"name"`

	Version string `json:"version"`

	Description *string `json:"description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified"`

	AliasUrn string `json:"alias_urn"`
}

版本别名结构

func (ListVersionAliasResult) String

func (o ListVersionAliasResult) String() string

type ListVersionAliasesRequest

type ListVersionAliasesRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (ListVersionAliasesRequest) String

func (o ListVersionAliasesRequest) String() string

type ListVersionAliasesResponse

type ListVersionAliasesResponse struct {
	Body           *[]ListVersionAliasResult `json:"body,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ListVersionAliasesResponse) String

type MonthUsed

type MonthUsed struct {
	Date *string `json:"date,omitempty"`

	Value *float32 `json:"value,omitempty"`
}

func (MonthUsed) String

func (o MonthUsed) String() string

type MountConfig

type MountConfig struct {
	MountUser *MountUser `json:"mount_user"`

	FuncMounts []FuncMount `json:"func_mounts"`
}

函数挂载配置。

func (MountConfig) String

func (o MountConfig) String() string

type MountUser

type MountUser struct {
	UserId int32 `json:"user_id"`

	UserGroupId int32 `json:"user_group_id"`
}

挂载用户信息。

func (MountUser) String

func (o MountUser) String() string

type PageInfo

type PageInfo struct {
	NextMarker int64 `json:"next_marker"`

	PreviousMarker int64 `json:"previous_marker"`

	CurrentCount int64 `json:"current_count"`
}

分页结构体。

func (PageInfo) String

func (o PageInfo) String() string

type Resources

type Resources struct {
	Quota *int32 `json:"quota,omitempty"`

	Used *int32 `json:"used,omitempty"`

	Type *ResourcesType `json:"type,omitempty"`

	Unit *string `json:"unit,omitempty"`
}

func (Resources) String

func (o Resources) String() string

type ResourcesType

type ResourcesType struct {
	// contains filtered or unexported fields
}

func (ResourcesType) MarshalJSON

func (c ResourcesType) MarshalJSON() ([]byte, error)

func (*ResourcesType) UnmarshalJSON

func (c *ResourcesType) UnmarshalJSON(b []byte) error

type ResourcesTypeEnum

type ResourcesTypeEnum struct {
	FGS_FUNC_SCALE_DOWN_TIMEOUT ResourcesType
	FGS_FUNC_OCCURS             ResourcesType
	FGS_FUNC_PAT_IDLE_TIME      ResourcesType
	FGS_FUNC_NUM                ResourcesType
	FGS_FUNC_CODE_SIZE          ResourcesType
	FGS_WORKFLOW_NUM            ResourcesType
}

func GetResourcesTypeEnum

func GetResourcesTypeEnum() ResourcesTypeEnum

type ShowDependencyRequest

type ShowDependencyRequest struct {
	DependId string `json:"depend_id"`
}

Request Object

func (ShowDependencyRequest) String

func (o ShowDependencyRequest) String() string

type ShowDependencyResponse

type ShowDependencyResponse struct {
	Id *string `json:"id,omitempty"`

	Owner *string `json:"owner,omitempty"`

	Link *string `json:"link,omitempty"`

	Runtime *string `json:"runtime,omitempty"`

	Etag *string `json:"etag,omitempty"`

	Size *int64 `json:"size,omitempty"`

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

	Description *string `json:"description,omitempty"`

	FileName       *string `json:"file_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowDependencyResponse) String

func (o ShowDependencyResponse) String() string

type ShowEventRequest

type ShowEventRequest struct {
	EventId string `json:"event_id"`

	FunctionUrn string `json:"function_urn"`
}

Request Object

func (ShowEventRequest) String

func (o ShowEventRequest) String() string

type ShowEventResponse

type ShowEventResponse struct {
	Id *string `json:"id,omitempty"`

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

	Content *string `json:"content,omitempty"`

	LastModified   float32 `json:"last_modified,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowEventResponse) String

func (o ShowEventResponse) String() string

type ShowFunctionAsyncInvokeConfigRequest

type ShowFunctionAsyncInvokeConfigRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (ShowFunctionAsyncInvokeConfigRequest) String

type ShowFunctionAsyncInvokeConfigResponse

type ShowFunctionAsyncInvokeConfigResponse struct {
	FuncUrn *string `json:"func_urn,omitempty"`

	MaxAsyncEventAgeInSeconds *int32 `json:"max_async_event_age_in_seconds,omitempty"`

	MaxAsyncRetryAttempts *int32 `json:"max_async_retry_attempts,omitempty"`

	DestinationConfig *FuncAsyncDestinationConfig `json:"destination_config,omitempty"`

	CreatedTime *string `json:"created_time,omitempty"`

	LastModified   *string `json:"last_modified,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowFunctionAsyncInvokeConfigResponse) String

type ShowFunctionCodeRequest

type ShowFunctionCodeRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (ShowFunctionCodeRequest) String

func (o ShowFunctionCodeRequest) String() string

type ShowFunctionCodeResponse

type ShowFunctionCodeResponse struct {
	FuncUrn *string `json:"func_urn,omitempty"`

	FuncName *string `json:"func_name,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	Runtime *ShowFunctionCodeResponseRuntime `json:"runtime,omitempty"`

	CodeType *ShowFunctionCodeResponseCodeType `json:"code_type,omitempty"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	CodeSize *int64 `json:"code_size,omitempty"`

	Digest *string `json:"digest,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	FuncCode *FuncCode `json:"func_code,omitempty"`

	DependList *[]string `json:"depend_list,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	Dependencies   *[]Dependency `json:"dependencies,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (ShowFunctionCodeResponse) String

func (o ShowFunctionCodeResponse) String() string

type ShowFunctionCodeResponseCodeType

type ShowFunctionCodeResponseCodeType struct {
	// contains filtered or unexported fields
}

func (ShowFunctionCodeResponseCodeType) MarshalJSON

func (c ShowFunctionCodeResponseCodeType) MarshalJSON() ([]byte, error)

func (*ShowFunctionCodeResponseCodeType) UnmarshalJSON

func (c *ShowFunctionCodeResponseCodeType) UnmarshalJSON(b []byte) error

type ShowFunctionCodeResponseRuntime

type ShowFunctionCodeResponseRuntime struct {
	// contains filtered or unexported fields
}

func (ShowFunctionCodeResponseRuntime) MarshalJSON

func (c ShowFunctionCodeResponseRuntime) MarshalJSON() ([]byte, error)

func (*ShowFunctionCodeResponseRuntime) UnmarshalJSON

func (c *ShowFunctionCodeResponseRuntime) UnmarshalJSON(b []byte) error

type ShowFunctionConfigRequest

type ShowFunctionConfigRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (ShowFunctionConfigRequest) String

func (o ShowFunctionConfigRequest) String() string

type ShowFunctionConfigResponse

type ShowFunctionConfigResponse struct {
	FuncUrn *string `json:"func_urn,omitempty"`

	FuncName *string `json:"func_name,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	Namespace *string `json:"namespace,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	Package *string `json:"package,omitempty"`

	Runtime *ShowFunctionConfigResponseRuntime `json:"runtime,omitempty"`

	Timeout *int32 `json:"timeout,omitempty"`

	Handler *string `json:"handler,omitempty"`

	MemorySize *int32 `json:"memory_size,omitempty"`

	Cpu *int32 `json:"cpu,omitempty"`

	CodeType *ShowFunctionConfigResponseCodeType `json:"code_type,omitempty"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	CodeSize *int64 `json:"code_size,omitempty"`

	UserData *string `json:"user_data,omitempty"`

	EncryptedUserData *string `json:"encrypted_user_data,omitempty"`

	Digest *string `json:"digest,omitempty"`

	Version *string `json:"version,omitempty"`

	ImageName *string `json:"image_name,omitempty"`

	Xrole *string `json:"xrole,omitempty"`

	AppXrole *string `json:"app_xrole,omitempty"`

	Description *string `json:"description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	FuncVpc *FuncVpc `json:"func_vpc,omitempty"`

	MountConfig *MountConfig `json:"mount_config,omitempty"`

	DependList *[]string `json:"depend_list,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	ExtendConfig *string `json:"extend_config,omitempty"`

	Dependencies *[]Dependency `json:"dependencies,omitempty"`

	InitializerHandler *string `json:"initializer_handler,omitempty"`

	InitializerTimeout *int32 `json:"initializer_timeout,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	LongTime *bool `json:"long_time,omitempty"`

	LogGroupId *string `json:"log_group_id,omitempty"`

	LogStreamId *string `json:"log_stream_id,omitempty"`

	Type           *ShowFunctionConfigResponseType `json:"type,omitempty"`
	HttpStatusCode int                             `json:"-"`
}

Response Object

func (ShowFunctionConfigResponse) String

type ShowFunctionConfigResponseCodeType

type ShowFunctionConfigResponseCodeType struct {
	// contains filtered or unexported fields
}

func (ShowFunctionConfigResponseCodeType) MarshalJSON

func (c ShowFunctionConfigResponseCodeType) MarshalJSON() ([]byte, error)

func (*ShowFunctionConfigResponseCodeType) UnmarshalJSON

func (c *ShowFunctionConfigResponseCodeType) UnmarshalJSON(b []byte) error

type ShowFunctionConfigResponseRuntime

type ShowFunctionConfigResponseRuntime struct {
	// contains filtered or unexported fields
}

func (ShowFunctionConfigResponseRuntime) MarshalJSON

func (c ShowFunctionConfigResponseRuntime) MarshalJSON() ([]byte, error)

func (*ShowFunctionConfigResponseRuntime) UnmarshalJSON

func (c *ShowFunctionConfigResponseRuntime) UnmarshalJSON(b []byte) error

type ShowFunctionConfigResponseType added in v0.0.53

type ShowFunctionConfigResponseType struct {
	// contains filtered or unexported fields
}

func (ShowFunctionConfigResponseType) MarshalJSON added in v0.0.53

func (c ShowFunctionConfigResponseType) MarshalJSON() ([]byte, error)

func (*ShowFunctionConfigResponseType) UnmarshalJSON added in v0.0.53

func (c *ShowFunctionConfigResponseType) UnmarshalJSON(b []byte) error

type ShowFunctionConfigResponseTypeEnum added in v0.0.53

type ShowFunctionConfigResponseTypeEnum struct {
	V1 ShowFunctionConfigResponseType
	V2 ShowFunctionConfigResponseType
}

func GetShowFunctionConfigResponseTypeEnum added in v0.0.53

func GetShowFunctionConfigResponseTypeEnum() ShowFunctionConfigResponseTypeEnum

type ShowFunctionTriggerRequest

type ShowFunctionTriggerRequest struct {
	FunctionUrn string `json:"function_urn"`

	TriggerTypeCode ShowFunctionTriggerRequestTriggerTypeCode `json:"trigger_type_code"`

	TriggerId string `json:"trigger_id"`
}

Request Object

func (ShowFunctionTriggerRequest) String

type ShowFunctionTriggerRequestTriggerTypeCode

type ShowFunctionTriggerRequestTriggerTypeCode struct {
	// contains filtered or unexported fields
}

func (ShowFunctionTriggerRequestTriggerTypeCode) MarshalJSON

func (*ShowFunctionTriggerRequestTriggerTypeCode) UnmarshalJSON

type ShowFunctionTriggerResponse

type ShowFunctionTriggerResponse struct {
	TriggerId *string `json:"trigger_id,omitempty"`

	TriggerTypeCode *ShowFunctionTriggerResponseTriggerTypeCode `json:"trigger_type_code,omitempty"`

	TriggerStatus *ShowFunctionTriggerResponseTriggerStatus `json:"trigger_status,omitempty"`

	EventData *interface{} `json:"event_data,omitempty"`

	LastUpdatedTime *sdktime.SdkTime `json:"last_updated_time,omitempty"`

	CreatedTime    *sdktime.SdkTime `json:"created_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ShowFunctionTriggerResponse) String

type ShowFunctionTriggerResponseTriggerStatus

type ShowFunctionTriggerResponseTriggerStatus struct {
	// contains filtered or unexported fields
}

func (ShowFunctionTriggerResponseTriggerStatus) MarshalJSON

func (*ShowFunctionTriggerResponseTriggerStatus) UnmarshalJSON

func (c *ShowFunctionTriggerResponseTriggerStatus) UnmarshalJSON(b []byte) error

type ShowFunctionTriggerResponseTriggerStatusEnum

type ShowFunctionTriggerResponseTriggerStatusEnum struct {
	ACTIVE   ShowFunctionTriggerResponseTriggerStatus
	DISABLED ShowFunctionTriggerResponseTriggerStatus
}

func GetShowFunctionTriggerResponseTriggerStatusEnum

func GetShowFunctionTriggerResponseTriggerStatusEnum() ShowFunctionTriggerResponseTriggerStatusEnum

type ShowFunctionTriggerResponseTriggerTypeCode

type ShowFunctionTriggerResponseTriggerTypeCode struct {
	// contains filtered or unexported fields
}

func (ShowFunctionTriggerResponseTriggerTypeCode) MarshalJSON

func (*ShowFunctionTriggerResponseTriggerTypeCode) UnmarshalJSON

type ShowLtsLogDetailsRequest added in v0.0.53

type ShowLtsLogDetailsRequest struct {
	FunctionUrn string `json:"function_urn"`
}

Request Object

func (ShowLtsLogDetailsRequest) String added in v0.0.53

func (o ShowLtsLogDetailsRequest) String() string

type ShowLtsLogDetailsResponse added in v0.0.53

type ShowLtsLogDetailsResponse struct {
	GroupId *string `json:"group_id,omitempty"`

	StreamId *string `json:"stream_id,omitempty"`

	StreamName     *string `json:"stream_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowLtsLogDetailsResponse) String added in v0.0.53

func (o ShowLtsLogDetailsResponse) String() string

type ShowVersionAliasRequest

type ShowVersionAliasRequest struct {
	FunctionUrn string `json:"function_urn"`

	AliasName string `json:"alias_name"`
}

Request Object

func (ShowVersionAliasRequest) String

func (o ShowVersionAliasRequest) String() string

type ShowVersionAliasResponse

type ShowVersionAliasResponse struct {
	Name *string `json:"name,omitempty"`

	Version *string `json:"version,omitempty"`

	Description *string `json:"description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	AliasUrn *string `json:"alias_urn,omitempty"`

	AdditionalVersionWeights map[string]int32 `json:"additional_version_weights,omitempty"`
	HttpStatusCode           int              `json:"-"`
}

Response Object

func (ShowVersionAliasResponse) String

func (o ShowVersionAliasResponse) String() string

type SlaReportsValue

type SlaReportsValue struct {
	Timestamp *int32 `json:"timestamp,omitempty"`

	Value *int32 `json:"value,omitempty"`
}

func (SlaReportsValue) String

func (o SlaReportsValue) String() string

type StrategyConfig

type StrategyConfig struct {
	Concurrency int32 `json:"concurrency"`

	ConcurrentNum *int32 `json:"concurrent_num,omitempty"`
}

函数策略配置。

func (StrategyConfig) String

func (o StrategyConfig) String() string

type UpdateDependencyRequest

type UpdateDependencyRequest struct {
	DependId string `json:"depend_id"`

	Body *UpdateDependencyRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateDependencyRequest) String

func (o UpdateDependencyRequest) String() string

type UpdateDependencyRequestBody

type UpdateDependencyRequestBody struct {
	DependFile *string `json:"depend_file,omitempty"`

	DependLink *string `json:"depend_link,omitempty"`

	DependType string `json:"depend_type"`

	Runtime UpdateDependencyRequestBodyRuntime `json:"runtime"`

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

	Description *string `json:"description,omitempty"`
}

func (UpdateDependencyRequestBody) String

type UpdateDependencyRequestBodyRuntime

type UpdateDependencyRequestBodyRuntime struct {
	// contains filtered or unexported fields
}

func (UpdateDependencyRequestBodyRuntime) MarshalJSON

func (c UpdateDependencyRequestBodyRuntime) MarshalJSON() ([]byte, error)

func (*UpdateDependencyRequestBodyRuntime) UnmarshalJSON

func (c *UpdateDependencyRequestBodyRuntime) UnmarshalJSON(b []byte) error

type UpdateDependencyResponse

type UpdateDependencyResponse struct {
	Id *string `json:"id,omitempty"`

	Owner *string `json:"owner,omitempty"`

	Link *string `json:"link,omitempty"`

	Runtime *string `json:"runtime,omitempty"`

	Etag *string `json:"etag,omitempty"`

	Size *int64 `json:"size,omitempty"`

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

	Description *string `json:"description,omitempty"`

	FileName       *string `json:"file_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateDependencyResponse) String

func (o UpdateDependencyResponse) String() string

type UpdateEventRequest

type UpdateEventRequest struct {
	EventId string `json:"event_id"`

	FunctionUrn string `json:"function_urn"`

	Body *UpdateEventRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateEventRequest) String

func (o UpdateEventRequest) String() string

type UpdateEventRequestBody

type UpdateEventRequestBody struct {
	Content *string `json:"content,omitempty"`
}

更新测试事件请求体。

func (UpdateEventRequestBody) String

func (o UpdateEventRequestBody) String() string

type UpdateEventResponse

type UpdateEventResponse struct {
	Id *string `json:"id,omitempty"`

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

	Content *string `json:"content,omitempty"`

	LastModified   float32 `json:"last_modified,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateEventResponse) String

func (o UpdateEventResponse) String() string

type UpdateFunctionAsyncInvokeConfigRequest

type UpdateFunctionAsyncInvokeConfigRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body *UpdateFunctionAsyncInvokeConfigRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateFunctionAsyncInvokeConfigRequest) String

type UpdateFunctionAsyncInvokeConfigRequestBody

type UpdateFunctionAsyncInvokeConfigRequestBody struct {
	MaxAsyncEventAgeInSeconds *int32 `json:"max_async_event_age_in_seconds,omitempty"`

	MaxAsyncRetryAttempts *int32 `json:"max_async_retry_attempts,omitempty"`

	DestinationConfig *FuncAsyncDestinationConfig `json:"destination_config,omitempty"`
}

函数异步配置请求体。

func (UpdateFunctionAsyncInvokeConfigRequestBody) String

type UpdateFunctionAsyncInvokeConfigResponse

type UpdateFunctionAsyncInvokeConfigResponse struct {
	FuncUrn *string `json:"func_urn,omitempty"`

	MaxAsyncEventAgeInSeconds *int32 `json:"max_async_event_age_in_seconds,omitempty"`

	MaxAsyncRetryAttempts *int32 `json:"max_async_retry_attempts,omitempty"`

	DestinationConfig *FuncAsyncDestinationConfig `json:"destination_config,omitempty"`

	CreatedTime *string `json:"created_time,omitempty"`

	LastModified   *string `json:"last_modified,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateFunctionAsyncInvokeConfigResponse) String

type UpdateFunctionCodeRequest

type UpdateFunctionCodeRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body *UpdateFunctionCodeRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateFunctionCodeRequest) String

func (o UpdateFunctionCodeRequest) String() string

type UpdateFunctionCodeRequestBody

type UpdateFunctionCodeRequestBody struct {
	CodeType UpdateFunctionCodeRequestBodyCodeType `json:"code_type"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	FuncCode *FuncCode `json:"func_code"`

	DependList *[]string `json:"depend_list,omitempty"`
}

func (UpdateFunctionCodeRequestBody) String

type UpdateFunctionCodeRequestBodyCodeType

type UpdateFunctionCodeRequestBodyCodeType struct {
	// contains filtered or unexported fields
}

func (UpdateFunctionCodeRequestBodyCodeType) MarshalJSON

func (c UpdateFunctionCodeRequestBodyCodeType) MarshalJSON() ([]byte, error)

func (*UpdateFunctionCodeRequestBodyCodeType) UnmarshalJSON

func (c *UpdateFunctionCodeRequestBodyCodeType) UnmarshalJSON(b []byte) error

type UpdateFunctionCodeResponse

type UpdateFunctionCodeResponse struct {
	FuncUrn *string `json:"func_urn,omitempty"`

	FuncName *string `json:"func_name,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	Runtime *UpdateFunctionCodeResponseRuntime `json:"runtime,omitempty"`

	CodeType *UpdateFunctionCodeResponseCodeType `json:"code_type,omitempty"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	CodeSize *int64 `json:"code_size,omitempty"`

	Digest *string `json:"digest,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	FuncCode *FuncCode `json:"func_code,omitempty"`

	DependList *[]string `json:"depend_list,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	Dependencies   *[]Dependency `json:"dependencies,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (UpdateFunctionCodeResponse) String

type UpdateFunctionCodeResponseCodeType

type UpdateFunctionCodeResponseCodeType struct {
	// contains filtered or unexported fields
}

func (UpdateFunctionCodeResponseCodeType) MarshalJSON

func (c UpdateFunctionCodeResponseCodeType) MarshalJSON() ([]byte, error)

func (*UpdateFunctionCodeResponseCodeType) UnmarshalJSON

func (c *UpdateFunctionCodeResponseCodeType) UnmarshalJSON(b []byte) error

type UpdateFunctionCodeResponseRuntime

type UpdateFunctionCodeResponseRuntime struct {
	// contains filtered or unexported fields
}

func (UpdateFunctionCodeResponseRuntime) MarshalJSON

func (c UpdateFunctionCodeResponseRuntime) MarshalJSON() ([]byte, error)

func (*UpdateFunctionCodeResponseRuntime) UnmarshalJSON

func (c *UpdateFunctionCodeResponseRuntime) UnmarshalJSON(b []byte) error

type UpdateFunctionConfigRequest

type UpdateFunctionConfigRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body *UpdateFunctionConfigRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateFunctionConfigRequest) String

type UpdateFunctionConfigRequestBody

type UpdateFunctionConfigRequestBody struct {
	FuncName string `json:"func_name"`

	Runtime UpdateFunctionConfigRequestBodyRuntime `json:"runtime"`

	Timeout int32 `json:"timeout"`

	Handler *string `json:"handler,omitempty"`

	MemorySize int32 `json:"memory_size"`

	UserData *string `json:"user_data,omitempty"`

	Xrole *string `json:"xrole,omitempty"`

	AppXrole *string `json:"app_xrole,omitempty"`

	Description *string `json:"description,omitempty"`

	FuncVpc *FuncVpc `json:"func_vpc,omitempty"`

	MountConfig *MountConfig `json:"mount_config,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	ExtendConfig *string `json:"extend_config,omitempty"`

	InitializerHandler *string `json:"initializer_handler,omitempty"`

	InitializerTimeout *int32 `json:"initializer_timeout,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

func (UpdateFunctionConfigRequestBody) String

type UpdateFunctionConfigRequestBodyRuntime

type UpdateFunctionConfigRequestBodyRuntime struct {
	// contains filtered or unexported fields
}

func (UpdateFunctionConfigRequestBodyRuntime) MarshalJSON

func (c UpdateFunctionConfigRequestBodyRuntime) MarshalJSON() ([]byte, error)

func (*UpdateFunctionConfigRequestBodyRuntime) UnmarshalJSON

func (c *UpdateFunctionConfigRequestBodyRuntime) UnmarshalJSON(b []byte) error

type UpdateFunctionConfigResponse

type UpdateFunctionConfigResponse struct {
	FuncUrn *string `json:"func_urn,omitempty"`

	FuncName *string `json:"func_name,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	Namespace *string `json:"namespace,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	Package *string `json:"package,omitempty"`

	Runtime *UpdateFunctionConfigResponseRuntime `json:"runtime,omitempty"`

	Timeout *int32 `json:"timeout,omitempty"`

	Handler *string `json:"handler,omitempty"`

	MemorySize *int32 `json:"memory_size,omitempty"`

	Cpu *int32 `json:"cpu,omitempty"`

	CodeType *UpdateFunctionConfigResponseCodeType `json:"code_type,omitempty"`

	CodeUrl *string `json:"code_url,omitempty"`

	CodeFilename *string `json:"code_filename,omitempty"`

	CodeSize *int64 `json:"code_size,omitempty"`

	UserData *string `json:"user_data,omitempty"`

	EncryptedUserData *string `json:"encrypted_user_data,omitempty"`

	Digest *string `json:"digest,omitempty"`

	Version *string `json:"version,omitempty"`

	ImageName *string `json:"image_name,omitempty"`

	Xrole *string `json:"xrole,omitempty"`

	AppXrole *string `json:"app_xrole,omitempty"`

	Description *string `json:"description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	FuncVpc *FuncVpc `json:"func_vpc,omitempty"`

	MountConfig *MountConfig `json:"mount_config,omitempty"`

	StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"`

	ExtendConfig *string `json:"extend_config,omitempty"`

	Dependencies *[]Dependency `json:"dependencies,omitempty"`

	InitializerHandler *string `json:"initializer_handler,omitempty"`

	InitializerTimeout *int32 `json:"initializer_timeout,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	LongTime *bool `json:"long_time,omitempty"`

	LogGroupId *string `json:"log_group_id,omitempty"`

	LogStreamId *string `json:"log_stream_id,omitempty"`

	Type           *UpdateFunctionConfigResponseType `json:"type,omitempty"`
	HttpStatusCode int                               `json:"-"`
}

Response Object

func (UpdateFunctionConfigResponse) String

type UpdateFunctionConfigResponseCodeType

type UpdateFunctionConfigResponseCodeType struct {
	// contains filtered or unexported fields
}

func (UpdateFunctionConfigResponseCodeType) MarshalJSON

func (c UpdateFunctionConfigResponseCodeType) MarshalJSON() ([]byte, error)

func (*UpdateFunctionConfigResponseCodeType) UnmarshalJSON

func (c *UpdateFunctionConfigResponseCodeType) UnmarshalJSON(b []byte) error

type UpdateFunctionConfigResponseRuntime

type UpdateFunctionConfigResponseRuntime struct {
	// contains filtered or unexported fields
}

func (UpdateFunctionConfigResponseRuntime) MarshalJSON

func (c UpdateFunctionConfigResponseRuntime) MarshalJSON() ([]byte, error)

func (*UpdateFunctionConfigResponseRuntime) UnmarshalJSON

func (c *UpdateFunctionConfigResponseRuntime) UnmarshalJSON(b []byte) error

type UpdateFunctionConfigResponseType added in v0.0.53

type UpdateFunctionConfigResponseType struct {
	// contains filtered or unexported fields
}

func (UpdateFunctionConfigResponseType) MarshalJSON added in v0.0.53

func (c UpdateFunctionConfigResponseType) MarshalJSON() ([]byte, error)

func (*UpdateFunctionConfigResponseType) UnmarshalJSON added in v0.0.53

func (c *UpdateFunctionConfigResponseType) UnmarshalJSON(b []byte) error

type UpdateFunctionConfigResponseTypeEnum added in v0.0.53

type UpdateFunctionConfigResponseTypeEnum struct {
	V1 UpdateFunctionConfigResponseType
	V2 UpdateFunctionConfigResponseType
}

func GetUpdateFunctionConfigResponseTypeEnum added in v0.0.53

func GetUpdateFunctionConfigResponseTypeEnum() UpdateFunctionConfigResponseTypeEnum

type UpdateFunctionReservedInstancesRequest

type UpdateFunctionReservedInstancesRequest struct {
	FunctionUrn string `json:"function_urn"`

	Body *UpdateFunctionReservedInstancesRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateFunctionReservedInstancesRequest) String

type UpdateFunctionReservedInstancesRequestBody

type UpdateFunctionReservedInstancesRequestBody struct {
	Count int32 `json:"count"`
}

func (UpdateFunctionReservedInstancesRequestBody) String

type UpdateFunctionReservedInstancesResponse

type UpdateFunctionReservedInstancesResponse struct {
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (UpdateFunctionReservedInstancesResponse) String

type UpdateTriggerRequest

type UpdateTriggerRequest struct {
	FunctionUrn string `json:"function_urn"`

	TriggerTypeCode UpdateTriggerRequestTriggerTypeCode `json:"trigger_type_code"`

	TriggerId string `json:"trigger_id"`

	Body *UpdateTriggerRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateTriggerRequest) String

func (o UpdateTriggerRequest) String() string

type UpdateTriggerRequestBody

type UpdateTriggerRequestBody struct {
	TriggerStatus UpdateTriggerRequestBodyTriggerStatus `json:"trigger_status"`
}

func (UpdateTriggerRequestBody) String

func (o UpdateTriggerRequestBody) String() string

type UpdateTriggerRequestBodyTriggerStatus

type UpdateTriggerRequestBodyTriggerStatus struct {
	// contains filtered or unexported fields
}

func (UpdateTriggerRequestBodyTriggerStatus) MarshalJSON

func (c UpdateTriggerRequestBodyTriggerStatus) MarshalJSON() ([]byte, error)

func (*UpdateTriggerRequestBodyTriggerStatus) UnmarshalJSON

func (c *UpdateTriggerRequestBodyTriggerStatus) UnmarshalJSON(b []byte) error

type UpdateTriggerRequestBodyTriggerStatusEnum

type UpdateTriggerRequestBodyTriggerStatusEnum struct {
	ACTIVE   UpdateTriggerRequestBodyTriggerStatus
	DISABLED UpdateTriggerRequestBodyTriggerStatus
}

func GetUpdateTriggerRequestBodyTriggerStatusEnum

func GetUpdateTriggerRequestBodyTriggerStatusEnum() UpdateTriggerRequestBodyTriggerStatusEnum

type UpdateTriggerRequestTriggerTypeCode

type UpdateTriggerRequestTriggerTypeCode struct {
	// contains filtered or unexported fields
}

func (UpdateTriggerRequestTriggerTypeCode) MarshalJSON

func (c UpdateTriggerRequestTriggerTypeCode) MarshalJSON() ([]byte, error)

func (*UpdateTriggerRequestTriggerTypeCode) UnmarshalJSON

func (c *UpdateTriggerRequestTriggerTypeCode) UnmarshalJSON(b []byte) error

type UpdateTriggerResponse

type UpdateTriggerResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateTriggerResponse) String

func (o UpdateTriggerResponse) String() string

type UpdateVersionAliasRequest

type UpdateVersionAliasRequest struct {
	FunctionUrn string `json:"function_urn"`

	AliasName string `json:"alias_name"`

	Body *UpdateVersionAliasRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateVersionAliasRequest) String

func (o UpdateVersionAliasRequest) String() string

type UpdateVersionAliasRequestBody

type UpdateVersionAliasRequestBody struct {
	Version string `json:"version"`

	Description *string `json:"description,omitempty"`

	AdditionalVersionWeights map[string]int32 `json:"additional_version_weights,omitempty"`
}

func (UpdateVersionAliasRequestBody) String

type UpdateVersionAliasResponse

type UpdateVersionAliasResponse struct {
	Name *string `json:"name,omitempty"`

	Version *string `json:"version,omitempty"`

	Description *string `json:"description,omitempty"`

	LastModified *sdktime.SdkTime `json:"last_modified,omitempty"`

	AliasUrn *string `json:"alias_urn,omitempty"`

	AdditionalVersionWeights map[string]int32 `json:"additional_version_weights,omitempty"`
	HttpStatusCode           int              `json:"-"`
}

Response Object

func (UpdateVersionAliasResponse) String

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL