Documentation ¶
Index ¶
- type AsyncInvokeFunctionRequest
- type AsyncInvokeFunctionResponse
- type BatchDeleteFunctionTriggersRequest
- type BatchDeleteFunctionTriggersResponse
- type CreateDependencyRequest
- type CreateDependencyRequestBody
- type CreateDependencyRequestBodyRuntime
- type CreateDependencyRequestBodyRuntimeEnum
- type CreateDependencyResponse
- type CreateEventRequest
- type CreateEventRequestBody
- type CreateEventResponse
- type CreateFunctionRequest
- type CreateFunctionRequestBody
- type CreateFunctionRequestBodyCodeType
- type CreateFunctionRequestBodyCodeTypeEnum
- type CreateFunctionRequestBodyRuntime
- type CreateFunctionRequestBodyRuntimeEnum
- type CreateFunctionResponse
- type CreateFunctionResponseCodeType
- type CreateFunctionResponseCodeTypeEnum
- type CreateFunctionResponseRuntime
- type CreateFunctionResponseRuntimeEnum
- type CreateFunctionTriggerRequest
- type CreateFunctionTriggerRequestBody
- type CreateFunctionTriggerRequestBodyTriggerStatus
- type CreateFunctionTriggerRequestBodyTriggerStatusEnum
- type CreateFunctionTriggerRequestBodyTriggerTypeCode
- type CreateFunctionTriggerRequestBodyTriggerTypeCodeEnum
- type CreateFunctionTriggerResponse
- type CreateFunctionTriggerResponseTriggerStatus
- type CreateFunctionTriggerResponseTriggerStatusEnum
- type CreateFunctionTriggerResponseTriggerTypeCode
- type CreateFunctionTriggerResponseTriggerTypeCodeEnum
- type CreateFunctionVersionRequest
- type CreateFunctionVersionRequestBody
- type CreateFunctionVersionResponse
- type CreateFunctionVersionResponseCodeType
- type CreateFunctionVersionResponseCodeTypeEnum
- type CreateFunctionVersionResponseRuntime
- type CreateFunctionVersionResponseRuntimeEnum
- type CreateVersionAliasRequest
- type CreateVersionAliasRequestBody
- type CreateVersionAliasResponse
- type DeleteDependencyRequest
- type DeleteDependencyResponse
- type DeleteEventRequest
- type DeleteEventResponse
- type DeleteFunctionRequest
- type DeleteFunctionResponse
- type DeleteFunctionTriggerRequest
- type DeleteFunctionTriggerRequestTriggerTypeCode
- type DeleteFunctionTriggerRequestTriggerTypeCodeEnum
- type DeleteFunctionTriggerResponse
- type DeleteVersionAliasRequest
- type DeleteVersionAliasResponse
- type Dependency
- type FuncCode
- type FuncMount
- type FuncVpc
- type InvokeFunctionRequest
- type InvokeFunctionResponse
- type ListDependenciesRequest
- type ListDependenciesRequestDependencyType
- type ListDependenciesRequestDependencyTypeEnum
- type ListDependenciesRequestRuntime
- type ListDependenciesRequestRuntimeEnum
- type ListDependenciesResponse
- type ListDependenciesResult
- type ListEventsRequest
- type ListEventsResponse
- type ListEventsResult
- type ListFunctionResult
- type ListFunctionResultCodeType
- type ListFunctionResultCodeTypeEnum
- type ListFunctionResultRuntime
- type ListFunctionResultRuntimeEnum
- type ListFunctionStatisticsRequest
- type ListFunctionStatisticsResponse
- type ListFunctionStatisticsResponseBody
- type ListFunctionTriggerResult
- type ListFunctionTriggerResultTriggerStatus
- type ListFunctionTriggerResultTriggerStatusEnum
- type ListFunctionTriggerResultTriggerTypeCode
- type ListFunctionTriggerResultTriggerTypeCodeEnum
- type ListFunctionTriggersRequest
- type ListFunctionTriggersResponse
- type ListFunctionVersionResult
- type ListFunctionVersionResultCodeType
- type ListFunctionVersionResultCodeTypeEnum
- type ListFunctionVersionResultRuntime
- type ListFunctionVersionResultRuntimeEnum
- type ListFunctionVersionsRequest
- type ListFunctionVersionsResponse
- type ListFunctionsRequest
- type ListFunctionsResponse
- type ListQuotasRequest
- type ListQuotasResponse
- type ListQuotasResult
- type ListStatisticsRequest
- type ListStatisticsRequestFilter
- type ListStatisticsRequestFilterEnum
- type ListStatisticsRequestMonthCode
- type ListStatisticsRequestMonthCodeEnum
- type ListStatisticsResponse
- type ListVersionAliasResult
- type ListVersionAliasesRequest
- type ListVersionAliasesResponse
- type MonthUsed
- type MountConfig
- type MountUser
- type Resources
- type ResourcesType
- type ResourcesTypeEnum
- type ShowDependencyRequest
- type ShowDependencyResponse
- type ShowEventRequest
- type ShowEventResponse
- type ShowFunctionCodeRequest
- type ShowFunctionCodeResponse
- type ShowFunctionCodeResponseCodeType
- type ShowFunctionCodeResponseCodeTypeEnum
- type ShowFunctionCodeResponseRuntime
- type ShowFunctionCodeResponseRuntimeEnum
- type ShowFunctionConfigRequest
- type ShowFunctionConfigResponse
- type ShowFunctionConfigResponseCodeType
- type ShowFunctionConfigResponseCodeTypeEnum
- type ShowFunctionConfigResponseRuntime
- type ShowFunctionConfigResponseRuntimeEnum
- type ShowFunctionTriggerRequest
- type ShowFunctionTriggerRequestTriggerTypeCode
- type ShowFunctionTriggerRequestTriggerTypeCodeEnum
- type ShowFunctionTriggerResponse
- type ShowFunctionTriggerResponseTriggerStatus
- type ShowFunctionTriggerResponseTriggerStatusEnum
- type ShowFunctionTriggerResponseTriggerTypeCode
- type ShowFunctionTriggerResponseTriggerTypeCodeEnum
- type ShowVersionAliasRequest
- type ShowVersionAliasResponse
- type SlaReportsValue
- type StrategyConfig
- type UpdateDependencyRequest
- type UpdateDependencyRequestBody
- type UpdateDependencyRequestBodyRuntime
- type UpdateDependencyRequestBodyRuntimeEnum
- type UpdateDependencyResponse
- type UpdateEventRequest
- type UpdateEventRequestBody
- type UpdateEventResponse
- type UpdateFunctionCodeRequest
- type UpdateFunctionCodeRequestBody
- type UpdateFunctionCodeRequestBodyCodeType
- type UpdateFunctionCodeRequestBodyCodeTypeEnum
- type UpdateFunctionCodeRequestBodyRuntime
- type UpdateFunctionCodeRequestBodyRuntimeEnum
- type UpdateFunctionCodeResponse
- type UpdateFunctionCodeResponseCodeType
- type UpdateFunctionCodeResponseCodeTypeEnum
- type UpdateFunctionCodeResponseRuntime
- type UpdateFunctionCodeResponseRuntimeEnum
- type UpdateFunctionConfigRequest
- type UpdateFunctionConfigRequestBody
- type UpdateFunctionConfigRequestBodyCodeType
- type UpdateFunctionConfigRequestBodyCodeTypeEnum
- type UpdateFunctionConfigRequestBodyRuntime
- type UpdateFunctionConfigRequestBodyRuntimeEnum
- type UpdateFunctionConfigResponse
- type UpdateFunctionConfigResponseCodeType
- type UpdateFunctionConfigResponseCodeTypeEnum
- type UpdateFunctionConfigResponseRuntime
- type UpdateFunctionConfigResponseRuntimeEnum
- type UpdateFunctionReservedInstancesRequest
- type UpdateFunctionReservedInstancesRequestBody
- type UpdateFunctionReservedInstancesResponse
- type UpdateTriggerRequest
- type UpdateTriggerRequestBody
- type UpdateTriggerRequestBodyTriggerStatus
- type UpdateTriggerRequestBodyTriggerStatusEnum
- type UpdateTriggerRequestTriggerTypeCode
- type UpdateTriggerRequestTriggerTypeCodeEnum
- type UpdateTriggerResponse
- type UpdateVersionAliasRequest
- type UpdateVersionAliasRequestBody
- type UpdateVersionAliasResponse
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 ¶
func (o AsyncInvokeFunctionRequest) String() string
type AsyncInvokeFunctionResponse ¶
type AsyncInvokeFunctionResponse struct { RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AsyncInvokeFunctionResponse) String ¶
func (o AsyncInvokeFunctionResponse) String() string
type BatchDeleteFunctionTriggersRequest ¶
type BatchDeleteFunctionTriggersRequest struct {
FunctionUrn string `json:"function_urn"`
}
Request Object
func (BatchDeleteFunctionTriggersRequest) String ¶
func (o BatchDeleteFunctionTriggersRequest) String() string
type BatchDeleteFunctionTriggersResponse ¶
type BatchDeleteFunctionTriggersResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchDeleteFunctionTriggersResponse) String ¶
func (o BatchDeleteFunctionTriggersResponse) String() 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 ¶
func (o CreateDependencyRequestBody) String() 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 CreateDependencyRequestBodyRuntimeEnum ¶
type CreateDependencyRequestBodyRuntimeEnum struct { JAVA_8 CreateDependencyRequestBodyRuntime NODE_JS_6_10 CreateDependencyRequestBodyRuntime NODE_JS_8_10 CreateDependencyRequestBodyRuntime NODE_JS_10_16 CreateDependencyRequestBodyRuntime NODE_JS_12_13 CreateDependencyRequestBodyRuntime PYTHON_2_7 CreateDependencyRequestBodyRuntime PYTHON_3_6 CreateDependencyRequestBodyRuntime GO_1_8 CreateDependencyRequestBodyRuntime C__NET_CORE_2_0 CreateDependencyRequestBodyRuntime C__NET_CORE_2_1 CreateDependencyRequestBodyRuntime C__NET_CORE_3_1 CreateDependencyRequestBodyRuntime PHP_7_3 CreateDependencyRequestBodyRuntime }
func GetCreateDependencyRequestBodyRuntimeEnum ¶
func GetCreateDependencyRequestBodyRuntimeEnum() CreateDependencyRequestBodyRuntimeEnum
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 *string `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 { 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 CreateFunctionRequestBodyRuntime `json:"runtime"` Timeout int32 `json:"timeout"` Handler string `json:"handler"` MemorySize int32 `json:"memory_size"` Cpu int32 `json:"cpu"` CodeType CreateFunctionRequestBodyCodeType `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"` LastModifiedUtc *int64 `json:"last_modified_utc,omitempty"` FuncCode *FuncCode `json:"func_code,omitempty"` 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 (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 CreateFunctionRequestBodyCodeTypeEnum ¶
type CreateFunctionRequestBodyCodeTypeEnum struct { INLINE CreateFunctionRequestBodyCodeType ZIP CreateFunctionRequestBodyCodeType OBS CreateFunctionRequestBodyCodeType JAR CreateFunctionRequestBodyCodeType }
func GetCreateFunctionRequestBodyCodeTypeEnum ¶
func GetCreateFunctionRequestBodyCodeTypeEnum() CreateFunctionRequestBodyCodeTypeEnum
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 CreateFunctionRequestBodyRuntimeEnum ¶
type CreateFunctionRequestBodyRuntimeEnum struct { PYTHON2_7 CreateFunctionRequestBodyRuntime PYTHON3_6 CreateFunctionRequestBodyRuntime GO1_8 CreateFunctionRequestBodyRuntime JAVA8 CreateFunctionRequestBodyRuntime NODE_JS6_10 CreateFunctionRequestBodyRuntime NODE_JS8_10 CreateFunctionRequestBodyRuntime C__NET_CORE_2_0 CreateFunctionRequestBodyRuntime C__NET_CORE_2_1 CreateFunctionRequestBodyRuntime C__NET_CORE_3_1 CreateFunctionRequestBodyRuntime CUSTOM CreateFunctionRequestBodyRuntime PHP7_3 CreateFunctionRequestBodyRuntime }
func GetCreateFunctionRequestBodyRuntimeEnum ¶
func GetCreateFunctionRequestBodyRuntimeEnum() CreateFunctionRequestBodyRuntimeEnum
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"` 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"` 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"` 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 CreateFunctionResponseCodeTypeEnum ¶
type CreateFunctionResponseCodeTypeEnum struct { INLINE CreateFunctionResponseCodeType ZIP CreateFunctionResponseCodeType OBS CreateFunctionResponseCodeType JAR CreateFunctionResponseCodeType }
func GetCreateFunctionResponseCodeTypeEnum ¶
func GetCreateFunctionResponseCodeTypeEnum() CreateFunctionResponseCodeTypeEnum
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 CreateFunctionResponseRuntimeEnum ¶
type CreateFunctionResponseRuntimeEnum struct { PYTHON2_7 CreateFunctionResponseRuntime PYTHON3_6 CreateFunctionResponseRuntime GO1_8 CreateFunctionResponseRuntime JAVA8 CreateFunctionResponseRuntime NODE_JS6_10 CreateFunctionResponseRuntime NODE_JS8_10 CreateFunctionResponseRuntime C__NET_CORE_2_0 CreateFunctionResponseRuntime C__NET_CORE_2_1 CreateFunctionResponseRuntime C__NET_CORE_3_1 CreateFunctionResponseRuntime CUSTOM CreateFunctionResponseRuntime PHP7_3 CreateFunctionResponseRuntime }
func GetCreateFunctionResponseRuntimeEnum ¶
func GetCreateFunctionResponseRuntimeEnum() CreateFunctionResponseRuntimeEnum
type CreateFunctionTriggerRequest ¶
type CreateFunctionTriggerRequest struct { FunctionUrn string `json:"function_urn"` Body *CreateFunctionTriggerRequestBody `json:"body,omitempty"` }
Request Object
func (CreateFunctionTriggerRequest) String ¶
func (o CreateFunctionTriggerRequest) String() 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 ¶
func (o CreateFunctionTriggerRequestBody) String() string
type CreateFunctionTriggerRequestBodyTriggerStatus ¶
type CreateFunctionTriggerRequestBodyTriggerStatus struct {
// contains filtered or unexported fields
}
func (CreateFunctionTriggerRequestBodyTriggerStatus) MarshalJSON ¶
func (c CreateFunctionTriggerRequestBodyTriggerStatus) MarshalJSON() ([]byte, error)
func (*CreateFunctionTriggerRequestBodyTriggerStatus) UnmarshalJSON ¶
func (c *CreateFunctionTriggerRequestBodyTriggerStatus) UnmarshalJSON(b []byte) error
type CreateFunctionTriggerRequestBodyTriggerStatusEnum ¶
type CreateFunctionTriggerRequestBodyTriggerStatusEnum struct { ACTIVE CreateFunctionTriggerRequestBodyTriggerStatus DISABLED CreateFunctionTriggerRequestBodyTriggerStatus }
func GetCreateFunctionTriggerRequestBodyTriggerStatusEnum ¶
func GetCreateFunctionTriggerRequestBodyTriggerStatusEnum() CreateFunctionTriggerRequestBodyTriggerStatusEnum
type CreateFunctionTriggerRequestBodyTriggerTypeCode ¶
type CreateFunctionTriggerRequestBodyTriggerTypeCode struct {
// contains filtered or unexported fields
}
func (CreateFunctionTriggerRequestBodyTriggerTypeCode) MarshalJSON ¶
func (c CreateFunctionTriggerRequestBodyTriggerTypeCode) MarshalJSON() ([]byte, error)
func (*CreateFunctionTriggerRequestBodyTriggerTypeCode) UnmarshalJSON ¶
func (c *CreateFunctionTriggerRequestBodyTriggerTypeCode) UnmarshalJSON(b []byte) error
type CreateFunctionTriggerRequestBodyTriggerTypeCodeEnum ¶
type CreateFunctionTriggerRequestBodyTriggerTypeCodeEnum struct { TIMER CreateFunctionTriggerRequestBodyTriggerTypeCode APIG CreateFunctionTriggerRequestBodyTriggerTypeCode CTS CreateFunctionTriggerRequestBodyTriggerTypeCode DDS CreateFunctionTriggerRequestBodyTriggerTypeCode DMS CreateFunctionTriggerRequestBodyTriggerTypeCode DIS CreateFunctionTriggerRequestBodyTriggerTypeCode LTS CreateFunctionTriggerRequestBodyTriggerTypeCode OBS CreateFunctionTriggerRequestBodyTriggerTypeCode KAFKA CreateFunctionTriggerRequestBodyTriggerTypeCode }
func GetCreateFunctionTriggerRequestBodyTriggerTypeCodeEnum ¶
func GetCreateFunctionTriggerRequestBodyTriggerTypeCodeEnum() CreateFunctionTriggerRequestBodyTriggerTypeCodeEnum
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 ¶
func (o CreateFunctionTriggerResponse) String() string
type CreateFunctionTriggerResponseTriggerStatus ¶
type CreateFunctionTriggerResponseTriggerStatus struct {
// contains filtered or unexported fields
}
func (CreateFunctionTriggerResponseTriggerStatus) MarshalJSON ¶
func (c CreateFunctionTriggerResponseTriggerStatus) MarshalJSON() ([]byte, error)
func (*CreateFunctionTriggerResponseTriggerStatus) UnmarshalJSON ¶
func (c *CreateFunctionTriggerResponseTriggerStatus) UnmarshalJSON(b []byte) error
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 (c CreateFunctionTriggerResponseTriggerTypeCode) MarshalJSON() ([]byte, error)
func (*CreateFunctionTriggerResponseTriggerTypeCode) UnmarshalJSON ¶
func (c *CreateFunctionTriggerResponseTriggerTypeCode) UnmarshalJSON(b []byte) error
type CreateFunctionTriggerResponseTriggerTypeCodeEnum ¶
type CreateFunctionTriggerResponseTriggerTypeCodeEnum struct { TIMER CreateFunctionTriggerResponseTriggerTypeCode APIG CreateFunctionTriggerResponseTriggerTypeCode CTS CreateFunctionTriggerResponseTriggerTypeCode DDS CreateFunctionTriggerResponseTriggerTypeCode DMS CreateFunctionTriggerResponseTriggerTypeCode DIS CreateFunctionTriggerResponseTriggerTypeCode LTS CreateFunctionTriggerResponseTriggerTypeCode OBS CreateFunctionTriggerResponseTriggerTypeCode SMN CreateFunctionTriggerResponseTriggerTypeCode KAFKA CreateFunctionTriggerResponseTriggerTypeCode }
func GetCreateFunctionTriggerResponseTriggerTypeCodeEnum ¶
func GetCreateFunctionTriggerResponseTriggerTypeCodeEnum() CreateFunctionTriggerResponseTriggerTypeCodeEnum
type CreateFunctionVersionRequest ¶
type CreateFunctionVersionRequest struct { FunctionUrn string `json:"function_urn"` Body *CreateFunctionVersionRequestBody `json:"body,omitempty"` }
Request Object
func (CreateFunctionVersionRequest) String ¶
func (o CreateFunctionVersionRequest) String() string
type CreateFunctionVersionRequestBody ¶
type CreateFunctionVersionRequestBody struct { Digest *string `json:"digest,omitempty"` Version *string `json:"version,omitempty"` Description *string `json:"description,omitempty"` }
func (CreateFunctionVersionRequestBody) String ¶
func (o CreateFunctionVersionRequestBody) String() 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"` 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"` 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"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateFunctionVersionResponse) String ¶
func (o CreateFunctionVersionResponse) String() 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 CreateFunctionVersionResponseCodeTypeEnum ¶
type CreateFunctionVersionResponseCodeTypeEnum struct { INLINE CreateFunctionVersionResponseCodeType ZIP CreateFunctionVersionResponseCodeType OBS CreateFunctionVersionResponseCodeType JAR CreateFunctionVersionResponseCodeType }
func GetCreateFunctionVersionResponseCodeTypeEnum ¶
func GetCreateFunctionVersionResponseCodeTypeEnum() CreateFunctionVersionResponseCodeTypeEnum
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 CreateFunctionVersionResponseRuntimeEnum ¶
type CreateFunctionVersionResponseRuntimeEnum struct { PYTHON2_7 CreateFunctionVersionResponseRuntime PYTHON3_6 CreateFunctionVersionResponseRuntime GO1_8 CreateFunctionVersionResponseRuntime JAVA8 CreateFunctionVersionResponseRuntime NODE_JS6_10 CreateFunctionVersionResponseRuntime NODE_JS8_10 CreateFunctionVersionResponseRuntime C__NET_CORE_2_0 CreateFunctionVersionResponseRuntime C__NET_CORE_2_1 CreateFunctionVersionResponseRuntime C__NET_CORE_3_1 CreateFunctionVersionResponseRuntime CUSTOM CreateFunctionVersionResponseRuntime PHP7_3 CreateFunctionVersionResponseRuntime }
func GetCreateFunctionVersionResponseRuntimeEnum ¶
func GetCreateFunctionVersionResponseRuntimeEnum() CreateFunctionVersionResponseRuntimeEnum
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 ¶
func (o CreateVersionAliasRequestBody) String() 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 ¶
func (o CreateVersionAliasResponse) String() 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 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:"triggerId"` }
Request Object
func (DeleteFunctionTriggerRequest) String ¶
func (o DeleteFunctionTriggerRequest) String() string
type DeleteFunctionTriggerRequestTriggerTypeCode ¶
type DeleteFunctionTriggerRequestTriggerTypeCode struct {
// contains filtered or unexported fields
}
func (DeleteFunctionTriggerRequestTriggerTypeCode) MarshalJSON ¶
func (c DeleteFunctionTriggerRequestTriggerTypeCode) MarshalJSON() ([]byte, error)
func (*DeleteFunctionTriggerRequestTriggerTypeCode) UnmarshalJSON ¶
func (c *DeleteFunctionTriggerRequestTriggerTypeCode) UnmarshalJSON(b []byte) error
type DeleteFunctionTriggerRequestTriggerTypeCodeEnum ¶
type DeleteFunctionTriggerRequestTriggerTypeCodeEnum struct { TIMER DeleteFunctionTriggerRequestTriggerTypeCode APIG DeleteFunctionTriggerRequestTriggerTypeCode CTS DeleteFunctionTriggerRequestTriggerTypeCode DDS DeleteFunctionTriggerRequestTriggerTypeCode DMS DeleteFunctionTriggerRequestTriggerTypeCode DIS DeleteFunctionTriggerRequestTriggerTypeCode LTS DeleteFunctionTriggerRequestTriggerTypeCode OBS DeleteFunctionTriggerRequestTriggerTypeCode SMN DeleteFunctionTriggerRequestTriggerTypeCode KAFKA DeleteFunctionTriggerRequestTriggerTypeCode }
func GetDeleteFunctionTriggerRequestTriggerTypeCodeEnum ¶
func GetDeleteFunctionTriggerRequestTriggerTypeCodeEnum() DeleteFunctionTriggerRequestTriggerTypeCodeEnum
type DeleteFunctionTriggerResponse ¶
type DeleteFunctionTriggerResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteFunctionTriggerResponse) String ¶
func (o DeleteFunctionTriggerResponse) String() string
type DeleteVersionAliasRequest ¶
type DeleteVersionAliasRequest struct { FunctionUrn string `json:"function_urn"` Name string `json:"name"` }
Request Object
func (DeleteVersionAliasRequest) String ¶
func (o DeleteVersionAliasRequest) String() string
type DeleteVersionAliasResponse ¶
type DeleteVersionAliasResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteVersionAliasResponse) String ¶
func (o DeleteVersionAliasResponse) String() string
type Dependency ¶
type Dependency struct { 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 FuncMount ¶
type FuncMount struct { MountType string `json:"mount_type"` MountResource string `json:"mount_resource"` LocalMountPath string `json:"local_mount_path"` }
函数挂载结构体。
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配置。
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 ListDependenciesRequestDependencyTypeEnum ¶
type ListDependenciesRequestDependencyTypeEnum struct { PUBLIC ListDependenciesRequestDependencyType PRIVATE ListDependenciesRequestDependencyType ALL ListDependenciesRequestDependencyType }
func GetListDependenciesRequestDependencyTypeEnum ¶
func GetListDependenciesRequestDependencyTypeEnum() ListDependenciesRequestDependencyTypeEnum
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 ListDependenciesRequestRuntimeEnum ¶
type ListDependenciesRequestRuntimeEnum struct { JAVA_8 ListDependenciesRequestRuntime NODE_JS_6_10 ListDependenciesRequestRuntime NODE_JS_8_10 ListDependenciesRequestRuntime NODE_JS_10_16 ListDependenciesRequestRuntime NODE_JS_12_13 ListDependenciesRequestRuntime PYTHON_2_7 ListDependenciesRequestRuntime PYTHON_3_6 ListDependenciesRequestRuntime GO_1_8 ListDependenciesRequestRuntime C__NET_CORE_2_0 ListDependenciesRequestRuntime C__NET_CORE_2_1 ListDependenciesRequestRuntime C__NET_CORE_3_1 ListDependenciesRequestRuntime PHP_7_3 ListDependenciesRequestRuntime }
func GetListDependenciesRequestRuntimeEnum ¶
func GetListDependenciesRequestRuntimeEnum() ListDependenciesRequestRuntimeEnum
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 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"` 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"` LastModifiedUtc *int64 `json:"last_modified_utc,omitempty"` FuncCode *FuncCode `json:"func_code,omitempty"` 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 (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 ListFunctionResultCodeTypeEnum ¶
type ListFunctionResultCodeTypeEnum struct { INLINE ListFunctionResultCodeType ZIP ListFunctionResultCodeType OBS ListFunctionResultCodeType JAR ListFunctionResultCodeType }
func GetListFunctionResultCodeTypeEnum ¶
func GetListFunctionResultCodeTypeEnum() ListFunctionResultCodeTypeEnum
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 ListFunctionResultRuntimeEnum ¶
type ListFunctionResultRuntimeEnum struct { PYTHON2_7 ListFunctionResultRuntime PYTHON3_6 ListFunctionResultRuntime GO1_8 ListFunctionResultRuntime JAVA8 ListFunctionResultRuntime NODE_JS6_10 ListFunctionResultRuntime NODE_JS8_10 ListFunctionResultRuntime C__NET_CORE_2_0 ListFunctionResultRuntime C__NET_CORE_2_1 ListFunctionResultRuntime C__NET_CORE_3_1 ListFunctionResultRuntime CUSTOM ListFunctionResultRuntime PHP7_3 ListFunctionResultRuntime }
func GetListFunctionResultRuntimeEnum ¶
func GetListFunctionResultRuntimeEnum() ListFunctionResultRuntimeEnum
type ListFunctionStatisticsRequest ¶
type ListFunctionStatisticsRequest struct { FuncUrn string `json:"func_urn"` Period string `json:"period"` }
Request Object
func (ListFunctionStatisticsRequest) String ¶
func (o ListFunctionStatisticsRequest) String() 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 ¶
func (o ListFunctionStatisticsResponse) String() 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 ¶
func (o ListFunctionStatisticsResponseBody) String() 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 (c ListFunctionTriggerResultTriggerTypeCode) MarshalJSON() ([]byte, error)
func (*ListFunctionTriggerResultTriggerTypeCode) UnmarshalJSON ¶
func (c *ListFunctionTriggerResultTriggerTypeCode) UnmarshalJSON(b []byte) error
type ListFunctionTriggerResultTriggerTypeCodeEnum ¶
type ListFunctionTriggerResultTriggerTypeCodeEnum struct { TIMER ListFunctionTriggerResultTriggerTypeCode APIG ListFunctionTriggerResultTriggerTypeCode CTS ListFunctionTriggerResultTriggerTypeCode DDS ListFunctionTriggerResultTriggerTypeCode DMS ListFunctionTriggerResultTriggerTypeCode DIS ListFunctionTriggerResultTriggerTypeCode LTS ListFunctionTriggerResultTriggerTypeCode OBS ListFunctionTriggerResultTriggerTypeCode SMN ListFunctionTriggerResultTriggerTypeCode KAFKA ListFunctionTriggerResultTriggerTypeCode }
func GetListFunctionTriggerResultTriggerTypeCodeEnum ¶
func GetListFunctionTriggerResultTriggerTypeCodeEnum() ListFunctionTriggerResultTriggerTypeCodeEnum
type ListFunctionTriggersRequest ¶
type ListFunctionTriggersRequest struct {
FunctionUrn string `json:"function_urn"`
}
Request Object
func (ListFunctionTriggersRequest) String ¶
func (o ListFunctionTriggersRequest) String() string
type ListFunctionTriggersResponse ¶
type ListFunctionTriggersResponse struct { Body *[]ListFunctionTriggerResult `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListFunctionTriggersResponse) String ¶
func (o ListFunctionTriggersResponse) String() 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"` LastModifiedUtc *int64 `json:"last_modified_utc,omitempty"` FuncCode *FuncCode `json:"func_code,omitempty"` 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 ListFunctionVersionResultCodeTypeEnum ¶
type ListFunctionVersionResultCodeTypeEnum struct { INLINE ListFunctionVersionResultCodeType ZIP ListFunctionVersionResultCodeType OBS ListFunctionVersionResultCodeType JAR ListFunctionVersionResultCodeType }
func GetListFunctionVersionResultCodeTypeEnum ¶
func GetListFunctionVersionResultCodeTypeEnum() ListFunctionVersionResultCodeTypeEnum
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 ListFunctionVersionResultRuntimeEnum ¶
type ListFunctionVersionResultRuntimeEnum struct { PYTHON2_7 ListFunctionVersionResultRuntime PYTHON3_6 ListFunctionVersionResultRuntime GO1_8 ListFunctionVersionResultRuntime JAVA8 ListFunctionVersionResultRuntime NODE_JS6_10 ListFunctionVersionResultRuntime NODE_JS8_10 ListFunctionVersionResultRuntime C__NET_CORE_2_0 ListFunctionVersionResultRuntime C__NET_CORE_2_1 ListFunctionVersionResultRuntime C__NET_CORE_3_1 ListFunctionVersionResultRuntime CUSTOM ListFunctionVersionResultRuntime PHP7_3 ListFunctionVersionResultRuntime }
func GetListFunctionVersionResultRuntimeEnum ¶
func GetListFunctionVersionResultRuntimeEnum() ListFunctionVersionResultRuntimeEnum
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 ¶
func (o ListFunctionVersionsRequest) String() string
type ListFunctionVersionsResponse ¶
type ListFunctionVersionsResponse struct { Versions *[]ListFunctionVersionResult `json:"versions,omitempty"` NextMarker *int64 `json:"next_marker,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListFunctionVersionsResponse) String ¶
func (o ListFunctionVersionsResponse) String() string
type ListFunctionsRequest ¶
type ListFunctionsRequest struct { Marker *string `json:"marker,omitempty"` Maxitems *string `json:"maxitems,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"` 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"` MonthCode ListStatisticsRequestMonthCode `json:"month_code"` }
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 { MONTHLY_STATISTICS ListStatisticsRequestFilter METRIC ListStatisticsRequestFilter }
func GetListStatisticsRequestFilterEnum ¶
func GetListStatisticsRequestFilterEnum() ListStatisticsRequestFilterEnum
type ListStatisticsRequestMonthCode ¶
type ListStatisticsRequestMonthCode struct {
// contains filtered or unexported fields
}
func (ListStatisticsRequestMonthCode) MarshalJSON ¶
func (c ListStatisticsRequestMonthCode) MarshalJSON() ([]byte, error)
func (*ListStatisticsRequestMonthCode) UnmarshalJSON ¶
func (c *ListStatisticsRequestMonthCode) UnmarshalJSON(b []byte) error
type ListStatisticsRequestMonthCodeEnum ¶
type ListStatisticsRequestMonthCodeEnum struct { E_0 ListStatisticsRequestMonthCode E_1 ListStatisticsRequestMonthCode E_2 ListStatisticsRequestMonthCode E_3 ListStatisticsRequestMonthCode }
func GetListStatisticsRequestMonthCodeEnum ¶
func GetListStatisticsRequestMonthCodeEnum() ListStatisticsRequestMonthCodeEnum
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 ¶
func (o ListVersionAliasesResponse) String() string
type MonthUsed ¶
type MountConfig ¶
type MountConfig struct { MountUser *MountUser `json:"mount_user"` FuncMounts []FuncMount `json:"func_mounts"` }
函数挂载配置。
func (MountConfig) String ¶
func (o MountConfig) 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"` }
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 *string `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 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"` Concurrency *int32 `json:"concurrency,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 ShowFunctionCodeResponseCodeTypeEnum ¶
type ShowFunctionCodeResponseCodeTypeEnum struct { INLINE ShowFunctionCodeResponseCodeType ZIP ShowFunctionCodeResponseCodeType OBS ShowFunctionCodeResponseCodeType JAR ShowFunctionCodeResponseCodeType }
func GetShowFunctionCodeResponseCodeTypeEnum ¶
func GetShowFunctionCodeResponseCodeTypeEnum() ShowFunctionCodeResponseCodeTypeEnum
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 ShowFunctionCodeResponseRuntimeEnum ¶
type ShowFunctionCodeResponseRuntimeEnum struct { PYTHON2_7 ShowFunctionCodeResponseRuntime PYTHON3_6 ShowFunctionCodeResponseRuntime GO1_8 ShowFunctionCodeResponseRuntime JAVA8 ShowFunctionCodeResponseRuntime NODE_JS6_10 ShowFunctionCodeResponseRuntime NODE_JS8_10 ShowFunctionCodeResponseRuntime C__NET_CORE_2_0 ShowFunctionCodeResponseRuntime C__NET_CORE_2_1 ShowFunctionCodeResponseRuntime C__NET_CORE_3_1 ShowFunctionCodeResponseRuntime CUSTOM ShowFunctionCodeResponseRuntime PHP7_3 ShowFunctionCodeResponseRuntime }
func GetShowFunctionCodeResponseRuntimeEnum ¶
func GetShowFunctionCodeResponseRuntimeEnum() ShowFunctionCodeResponseRuntimeEnum
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"` 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"` 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"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowFunctionConfigResponse) String ¶
func (o ShowFunctionConfigResponse) String() 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 ShowFunctionConfigResponseCodeTypeEnum ¶
type ShowFunctionConfigResponseCodeTypeEnum struct { INLINE ShowFunctionConfigResponseCodeType ZIP ShowFunctionConfigResponseCodeType OBS ShowFunctionConfigResponseCodeType JAR ShowFunctionConfigResponseCodeType }
func GetShowFunctionConfigResponseCodeTypeEnum ¶
func GetShowFunctionConfigResponseCodeTypeEnum() ShowFunctionConfigResponseCodeTypeEnum
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 ShowFunctionConfigResponseRuntimeEnum ¶
type ShowFunctionConfigResponseRuntimeEnum struct { PYTHON2_7 ShowFunctionConfigResponseRuntime PYTHON3_6 ShowFunctionConfigResponseRuntime GO1_8 ShowFunctionConfigResponseRuntime JAVA8 ShowFunctionConfigResponseRuntime NODE_JS6_10 ShowFunctionConfigResponseRuntime NODE_JS8_10 ShowFunctionConfigResponseRuntime C__NET_CORE_2_0 ShowFunctionConfigResponseRuntime C__NET_CORE_2_1 ShowFunctionConfigResponseRuntime C__NET_CORE_3_1 ShowFunctionConfigResponseRuntime CUSTOM ShowFunctionConfigResponseRuntime PHP7_3 ShowFunctionConfigResponseRuntime }
func GetShowFunctionConfigResponseRuntimeEnum ¶
func GetShowFunctionConfigResponseRuntimeEnum() ShowFunctionConfigResponseRuntimeEnum
type ShowFunctionTriggerRequest ¶
type ShowFunctionTriggerRequest struct { FunctionUrn string `json:"function_urn"` TriggerTypeCode ShowFunctionTriggerRequestTriggerTypeCode `json:"trigger_type_code"` TriggerId string `json:"triggerId"` }
Request Object
func (ShowFunctionTriggerRequest) String ¶
func (o ShowFunctionTriggerRequest) String() string
type ShowFunctionTriggerRequestTriggerTypeCode ¶
type ShowFunctionTriggerRequestTriggerTypeCode struct {
// contains filtered or unexported fields
}
func (ShowFunctionTriggerRequestTriggerTypeCode) MarshalJSON ¶
func (c ShowFunctionTriggerRequestTriggerTypeCode) MarshalJSON() ([]byte, error)
func (*ShowFunctionTriggerRequestTriggerTypeCode) UnmarshalJSON ¶
func (c *ShowFunctionTriggerRequestTriggerTypeCode) UnmarshalJSON(b []byte) error
type ShowFunctionTriggerRequestTriggerTypeCodeEnum ¶
type ShowFunctionTriggerRequestTriggerTypeCodeEnum struct { TIMER ShowFunctionTriggerRequestTriggerTypeCode APIG ShowFunctionTriggerRequestTriggerTypeCode CTS ShowFunctionTriggerRequestTriggerTypeCode DDS ShowFunctionTriggerRequestTriggerTypeCode DMS ShowFunctionTriggerRequestTriggerTypeCode DIS ShowFunctionTriggerRequestTriggerTypeCode LTS ShowFunctionTriggerRequestTriggerTypeCode OBS ShowFunctionTriggerRequestTriggerTypeCode SMN ShowFunctionTriggerRequestTriggerTypeCode KAFKA ShowFunctionTriggerRequestTriggerTypeCode }
func GetShowFunctionTriggerRequestTriggerTypeCodeEnum ¶
func GetShowFunctionTriggerRequestTriggerTypeCodeEnum() ShowFunctionTriggerRequestTriggerTypeCodeEnum
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 ¶
func (o ShowFunctionTriggerResponse) String() string
type ShowFunctionTriggerResponseTriggerStatus ¶
type ShowFunctionTriggerResponseTriggerStatus struct {
// contains filtered or unexported fields
}
func (ShowFunctionTriggerResponseTriggerStatus) MarshalJSON ¶
func (c ShowFunctionTriggerResponseTriggerStatus) MarshalJSON() ([]byte, error)
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 (c ShowFunctionTriggerResponseTriggerTypeCode) MarshalJSON() ([]byte, error)
func (*ShowFunctionTriggerResponseTriggerTypeCode) UnmarshalJSON ¶
func (c *ShowFunctionTriggerResponseTriggerTypeCode) UnmarshalJSON(b []byte) error
type ShowFunctionTriggerResponseTriggerTypeCodeEnum ¶
type ShowFunctionTriggerResponseTriggerTypeCodeEnum struct { TIMER ShowFunctionTriggerResponseTriggerTypeCode APIG ShowFunctionTriggerResponseTriggerTypeCode CTS ShowFunctionTriggerResponseTriggerTypeCode DDS ShowFunctionTriggerResponseTriggerTypeCode DMS ShowFunctionTriggerResponseTriggerTypeCode DIS ShowFunctionTriggerResponseTriggerTypeCode LTS ShowFunctionTriggerResponseTriggerTypeCode OBS ShowFunctionTriggerResponseTriggerTypeCode SMN ShowFunctionTriggerResponseTriggerTypeCode KAFKA ShowFunctionTriggerResponseTriggerTypeCode }
func GetShowFunctionTriggerResponseTriggerTypeCodeEnum ¶
func GetShowFunctionTriggerResponseTriggerTypeCodeEnum() ShowFunctionTriggerResponseTriggerTypeCodeEnum
type ShowVersionAliasRequest ¶
type ShowVersionAliasRequest struct { FunctionUrn string `json:"function_urn"` Name string `json:"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"`
}
函数策略配置。
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 ¶
func (o UpdateDependencyRequestBody) String() 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 UpdateDependencyRequestBodyRuntimeEnum ¶
type UpdateDependencyRequestBodyRuntimeEnum struct { JAVA_8 UpdateDependencyRequestBodyRuntime NODE_JS_6_10 UpdateDependencyRequestBodyRuntime NODE_JS_8_10 UpdateDependencyRequestBodyRuntime NODE_JS_10_16 UpdateDependencyRequestBodyRuntime NODE_JS_12_13 UpdateDependencyRequestBodyRuntime PYTHON_2_7 UpdateDependencyRequestBodyRuntime PYTHON_3_6 UpdateDependencyRequestBodyRuntime GO_1_8 UpdateDependencyRequestBodyRuntime C__NET_CORE_2_0 UpdateDependencyRequestBodyRuntime C__NET_CORE_2_1 UpdateDependencyRequestBodyRuntime C__NET_CORE_3_1 UpdateDependencyRequestBodyRuntime PHP_7_3 UpdateDependencyRequestBodyRuntime }
func GetUpdateDependencyRequestBodyRuntimeEnum ¶
func GetUpdateDependencyRequestBodyRuntimeEnum() UpdateDependencyRequestBodyRuntimeEnum
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 *string `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 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 { 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 UpdateFunctionCodeRequestBodyRuntime `json:"runtime"` Timeout int32 `json:"timeout"` Handler string `json:"handler"` MemorySize int32 `json:"memory_size"` Cpu int32 `json:"cpu"` CodeType UpdateFunctionCodeRequestBodyCodeType `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"` LastModifiedUtc *int64 `json:"last_modified_utc,omitempty"` FuncCode *FuncCode `json:"func_code,omitempty"` 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 (UpdateFunctionCodeRequestBody) String ¶
func (o UpdateFunctionCodeRequestBody) String() 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 UpdateFunctionCodeRequestBodyCodeTypeEnum ¶
type UpdateFunctionCodeRequestBodyCodeTypeEnum struct { INLINE UpdateFunctionCodeRequestBodyCodeType ZIP UpdateFunctionCodeRequestBodyCodeType OBS UpdateFunctionCodeRequestBodyCodeType JAR UpdateFunctionCodeRequestBodyCodeType }
func GetUpdateFunctionCodeRequestBodyCodeTypeEnum ¶
func GetUpdateFunctionCodeRequestBodyCodeTypeEnum() UpdateFunctionCodeRequestBodyCodeTypeEnum
type UpdateFunctionCodeRequestBodyRuntime ¶
type UpdateFunctionCodeRequestBodyRuntime struct {
// contains filtered or unexported fields
}
func (UpdateFunctionCodeRequestBodyRuntime) MarshalJSON ¶
func (c UpdateFunctionCodeRequestBodyRuntime) MarshalJSON() ([]byte, error)
func (*UpdateFunctionCodeRequestBodyRuntime) UnmarshalJSON ¶
func (c *UpdateFunctionCodeRequestBodyRuntime) UnmarshalJSON(b []byte) error
type UpdateFunctionCodeRequestBodyRuntimeEnum ¶
type UpdateFunctionCodeRequestBodyRuntimeEnum struct { PYTHON2_7 UpdateFunctionCodeRequestBodyRuntime PYTHON3_6 UpdateFunctionCodeRequestBodyRuntime GO1_8 UpdateFunctionCodeRequestBodyRuntime JAVA8 UpdateFunctionCodeRequestBodyRuntime NODE_JS6_10 UpdateFunctionCodeRequestBodyRuntime NODE_JS8_10 UpdateFunctionCodeRequestBodyRuntime C__NET_CORE_2_0 UpdateFunctionCodeRequestBodyRuntime C__NET_CORE_2_1 UpdateFunctionCodeRequestBodyRuntime C__NET_CORE_3_1 UpdateFunctionCodeRequestBodyRuntime CUSTOM UpdateFunctionCodeRequestBodyRuntime PHP7_3 UpdateFunctionCodeRequestBodyRuntime }
func GetUpdateFunctionCodeRequestBodyRuntimeEnum ¶
func GetUpdateFunctionCodeRequestBodyRuntimeEnum() UpdateFunctionCodeRequestBodyRuntimeEnum
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"` Concurrency *int32 `json:"concurrency,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 ¶
func (o UpdateFunctionCodeResponse) String() 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 UpdateFunctionCodeResponseCodeTypeEnum ¶
type UpdateFunctionCodeResponseCodeTypeEnum struct { INLINE UpdateFunctionCodeResponseCodeType ZIP UpdateFunctionCodeResponseCodeType OBS UpdateFunctionCodeResponseCodeType JAR UpdateFunctionCodeResponseCodeType }
func GetUpdateFunctionCodeResponseCodeTypeEnum ¶
func GetUpdateFunctionCodeResponseCodeTypeEnum() UpdateFunctionCodeResponseCodeTypeEnum
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 UpdateFunctionCodeResponseRuntimeEnum ¶
type UpdateFunctionCodeResponseRuntimeEnum struct { PYTHON2_7 UpdateFunctionCodeResponseRuntime PYTHON3_6 UpdateFunctionCodeResponseRuntime GO1_8 UpdateFunctionCodeResponseRuntime JAVA8 UpdateFunctionCodeResponseRuntime NODE_JS6_10 UpdateFunctionCodeResponseRuntime NODE_JS8_10 UpdateFunctionCodeResponseRuntime C__NET_CORE_2_0 UpdateFunctionCodeResponseRuntime C__NET_CORE_2_1 UpdateFunctionCodeResponseRuntime C__NET_CORE_3_1 UpdateFunctionCodeResponseRuntime CUSTOM UpdateFunctionCodeResponseRuntime PHP7_3 UpdateFunctionCodeResponseRuntime }
func GetUpdateFunctionCodeResponseRuntimeEnum ¶
func GetUpdateFunctionCodeResponseRuntimeEnum() UpdateFunctionCodeResponseRuntimeEnum
type UpdateFunctionConfigRequest ¶
type UpdateFunctionConfigRequest struct { FunctionUrn string `json:"function_urn"` Body *UpdateFunctionConfigRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateFunctionConfigRequest) String ¶
func (o UpdateFunctionConfigRequest) String() string
type UpdateFunctionConfigRequestBody ¶
type UpdateFunctionConfigRequestBody 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 UpdateFunctionConfigRequestBodyRuntime `json:"runtime"` Timeout int32 `json:"timeout"` Handler string `json:"handler"` MemorySize int32 `json:"memory_size"` Cpu int32 `json:"cpu"` CodeType UpdateFunctionConfigRequestBodyCodeType `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"` LastModifiedUtc *int64 `json:"last_modified_utc,omitempty"` FuncCode *FuncCode `json:"func_code,omitempty"` 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 (UpdateFunctionConfigRequestBody) String ¶
func (o UpdateFunctionConfigRequestBody) String() string
type UpdateFunctionConfigRequestBodyCodeType ¶
type UpdateFunctionConfigRequestBodyCodeType struct {
// contains filtered or unexported fields
}
func (UpdateFunctionConfigRequestBodyCodeType) MarshalJSON ¶
func (c UpdateFunctionConfigRequestBodyCodeType) MarshalJSON() ([]byte, error)
func (*UpdateFunctionConfigRequestBodyCodeType) UnmarshalJSON ¶
func (c *UpdateFunctionConfigRequestBodyCodeType) UnmarshalJSON(b []byte) error
type UpdateFunctionConfigRequestBodyCodeTypeEnum ¶
type UpdateFunctionConfigRequestBodyCodeTypeEnum struct { INLINE UpdateFunctionConfigRequestBodyCodeType ZIP UpdateFunctionConfigRequestBodyCodeType OBS UpdateFunctionConfigRequestBodyCodeType JAR UpdateFunctionConfigRequestBodyCodeType }
func GetUpdateFunctionConfigRequestBodyCodeTypeEnum ¶
func GetUpdateFunctionConfigRequestBodyCodeTypeEnum() UpdateFunctionConfigRequestBodyCodeTypeEnum
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 UpdateFunctionConfigRequestBodyRuntimeEnum ¶
type UpdateFunctionConfigRequestBodyRuntimeEnum struct { PYTHON2_7 UpdateFunctionConfigRequestBodyRuntime PYTHON3_6 UpdateFunctionConfigRequestBodyRuntime GO1_8 UpdateFunctionConfigRequestBodyRuntime JAVA8 UpdateFunctionConfigRequestBodyRuntime NODE_JS6_10 UpdateFunctionConfigRequestBodyRuntime NODE_JS8_10 UpdateFunctionConfigRequestBodyRuntime C__NET_CORE_2_0 UpdateFunctionConfigRequestBodyRuntime C__NET_CORE_2_1 UpdateFunctionConfigRequestBodyRuntime C__NET_CORE_3_1 UpdateFunctionConfigRequestBodyRuntime CUSTOM UpdateFunctionConfigRequestBodyRuntime PHP7_3 UpdateFunctionConfigRequestBodyRuntime }
func GetUpdateFunctionConfigRequestBodyRuntimeEnum ¶
func GetUpdateFunctionConfigRequestBodyRuntimeEnum() UpdateFunctionConfigRequestBodyRuntimeEnum
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"` 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"` 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"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateFunctionConfigResponse) String ¶
func (o UpdateFunctionConfigResponse) String() 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 UpdateFunctionConfigResponseCodeTypeEnum ¶
type UpdateFunctionConfigResponseCodeTypeEnum struct { INLINE UpdateFunctionConfigResponseCodeType ZIP UpdateFunctionConfigResponseCodeType OBS UpdateFunctionConfigResponseCodeType JAR UpdateFunctionConfigResponseCodeType }
func GetUpdateFunctionConfigResponseCodeTypeEnum ¶
func GetUpdateFunctionConfigResponseCodeTypeEnum() UpdateFunctionConfigResponseCodeTypeEnum
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 UpdateFunctionConfigResponseRuntimeEnum ¶
type UpdateFunctionConfigResponseRuntimeEnum struct { PYTHON2_7 UpdateFunctionConfigResponseRuntime PYTHON3_6 UpdateFunctionConfigResponseRuntime GO1_8 UpdateFunctionConfigResponseRuntime JAVA8 UpdateFunctionConfigResponseRuntime NODE_JS6_10 UpdateFunctionConfigResponseRuntime NODE_JS8_10 UpdateFunctionConfigResponseRuntime C__NET_CORE_2_0 UpdateFunctionConfigResponseRuntime C__NET_CORE_2_1 UpdateFunctionConfigResponseRuntime C__NET_CORE_3_1 UpdateFunctionConfigResponseRuntime CUSTOM UpdateFunctionConfigResponseRuntime PHP7_3 UpdateFunctionConfigResponseRuntime }
func GetUpdateFunctionConfigResponseRuntimeEnum ¶
func GetUpdateFunctionConfigResponseRuntimeEnum() UpdateFunctionConfigResponseRuntimeEnum
type UpdateFunctionReservedInstancesRequest ¶
type UpdateFunctionReservedInstancesRequest struct { FunctionUrn string `json:"function_urn"` Body *UpdateFunctionReservedInstancesRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateFunctionReservedInstancesRequest) String ¶
func (o UpdateFunctionReservedInstancesRequest) String() string
type UpdateFunctionReservedInstancesRequestBody ¶
type UpdateFunctionReservedInstancesRequestBody struct {
Count int32 `json:"count"`
}
func (UpdateFunctionReservedInstancesRequestBody) String ¶
func (o UpdateFunctionReservedInstancesRequestBody) String() string
type UpdateFunctionReservedInstancesResponse ¶
type UpdateFunctionReservedInstancesResponse struct { Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateFunctionReservedInstancesResponse) String ¶
func (o UpdateFunctionReservedInstancesResponse) String() string
type UpdateTriggerRequest ¶
type UpdateTriggerRequest struct { FunctionUrn string `json:"function_urn"` TriggerTypeCode UpdateTriggerRequestTriggerTypeCode `json:"trigger_type_code"` TriggerId string `json:"triggerId"` 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,omitempty"`
}
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 UpdateTriggerRequestTriggerTypeCodeEnum ¶
type UpdateTriggerRequestTriggerTypeCodeEnum struct { TIMER UpdateTriggerRequestTriggerTypeCode APIG UpdateTriggerRequestTriggerTypeCode CTS UpdateTriggerRequestTriggerTypeCode DDS UpdateTriggerRequestTriggerTypeCode DMS UpdateTriggerRequestTriggerTypeCode DIS UpdateTriggerRequestTriggerTypeCode LTS UpdateTriggerRequestTriggerTypeCode OBS UpdateTriggerRequestTriggerTypeCode SMN UpdateTriggerRequestTriggerTypeCode KAFKA UpdateTriggerRequestTriggerTypeCode }
func GetUpdateTriggerRequestTriggerTypeCodeEnum ¶
func GetUpdateTriggerRequestTriggerTypeCodeEnum() UpdateTriggerRequestTriggerTypeCodeEnum
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"` Name string `json:"name"` Body *UpdateVersionAliasRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateVersionAliasRequest) String ¶
func (o UpdateVersionAliasRequest) String() string
type UpdateVersionAliasRequestBody ¶
type UpdateVersionAliasRequestBody 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"` AdditionalVersionWeights map[string]int32 `json:"additional_version_weights,omitempty"` }
func (UpdateVersionAliasRequestBody) String ¶
func (o UpdateVersionAliasRequestBody) String() 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 ¶
func (o UpdateVersionAliasResponse) String() string
Source Files ¶
- model_async_invoke_function_request.go
- model_async_invoke_function_response.go
- model_batch_delete_function_triggers_request.go
- model_batch_delete_function_triggers_response.go
- model_create_dependency_request.go
- model_create_dependency_request_body.go
- model_create_dependency_response.go
- model_create_event_request.go
- model_create_event_request_body.go
- model_create_event_response.go
- model_create_function_request.go
- model_create_function_request_body.go
- model_create_function_response.go
- model_create_function_trigger_request.go
- model_create_function_trigger_request_body.go
- model_create_function_trigger_response.go
- model_create_function_version_request.go
- model_create_function_version_request_body.go
- model_create_function_version_response.go
- model_create_version_alias_request.go
- model_create_version_alias_request_body.go
- model_create_version_alias_response.go
- model_delete_dependency_request.go
- model_delete_dependency_response.go
- model_delete_event_request.go
- model_delete_event_response.go
- model_delete_function_request.go
- model_delete_function_response.go
- model_delete_function_trigger_request.go
- model_delete_function_trigger_response.go
- model_delete_version_alias_request.go
- model_delete_version_alias_response.go
- model_dependency.go
- model_func_code.go
- model_func_mount.go
- model_func_vpc.go
- model_invoke_function_request.go
- model_invoke_function_response.go
- model_list_dependencies_request.go
- model_list_dependencies_response.go
- model_list_dependencies_result.go
- model_list_events_request.go
- model_list_events_response.go
- model_list_events_result.go
- model_list_function_result.go
- model_list_function_statistics_request.go
- model_list_function_statistics_response.go
- model_list_function_statistics_response_body.go
- model_list_function_trigger_result.go
- model_list_function_triggers_request.go
- model_list_function_triggers_response.go
- model_list_function_version_result.go
- model_list_function_versions_request.go
- model_list_function_versions_response.go
- model_list_functions_request.go
- model_list_functions_response.go
- model_list_quotas_request.go
- model_list_quotas_response.go
- model_list_quotas_result.go
- model_list_statistics_request.go
- model_list_statistics_response.go
- model_list_version_alias_result.go
- model_list_version_aliases_request.go
- model_list_version_aliases_response.go
- model_month_used.go
- model_mount_config.go
- model_mount_user.go
- model_resources.go
- model_show_dependency_request.go
- model_show_dependency_response.go
- model_show_event_request.go
- model_show_event_response.go
- model_show_function_code_request.go
- model_show_function_code_response.go
- model_show_function_config_request.go
- model_show_function_config_response.go
- model_show_function_trigger_request.go
- model_show_function_trigger_response.go
- model_show_version_alias_request.go
- model_show_version_alias_response.go
- model_sla_reports_value.go
- model_strategy_config.go
- model_update_dependency_request.go
- model_update_dependency_request_body.go
- model_update_dependency_response.go
- model_update_event_request.go
- model_update_event_request_body.go
- model_update_event_response.go
- model_update_function_code_request.go
- model_update_function_code_request_body.go
- model_update_function_code_response.go
- model_update_function_config_request.go
- model_update_function_config_request_body.go
- model_update_function_config_response.go
- model_update_function_reserved_instances_request.go
- model_update_function_reserved_instances_request_body.go
- model_update_function_reserved_instances_response.go
- model_update_trigger_request.go
- model_update_trigger_request_body.go
- model_update_trigger_response.go
- model_update_version_alias_request.go
- model_update_version_alias_request_body.go
- model_update_version_alias_response.go