Documentation ¶
Index ¶
- type AsyncInvokeFunctionRequest
- type AsyncInvokeFunctionResponse
- type AsyncInvokeReservedFunctionRequest
- type AsyncInvokeReservedFunctionResponse
- 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 CreateFunctionRequestBodyType
- type CreateFunctionRequestBodyTypeEnum
- 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 CreateFunctionVersionResponseType
- type CreateFunctionVersionResponseTypeEnum
- type CreateVersionAliasRequest
- type CreateVersionAliasRequestBody
- type CreateVersionAliasResponse
- type DeleteDependencyRequest
- type DeleteDependencyResponse
- type DeleteEventRequest
- type DeleteEventResponse
- type DeleteFunctionAsyncInvokeConfigRequest
- type DeleteFunctionAsyncInvokeConfigResponse
- type DeleteFunctionRequest
- type DeleteFunctionResponse
- type DeleteFunctionTriggerRequest
- type DeleteFunctionTriggerRequestTriggerTypeCode
- type DeleteFunctionTriggerRequestTriggerTypeCodeEnum
- type DeleteFunctionTriggerResponse
- type DeleteVersionAliasRequest
- type DeleteVersionAliasResponse
- type Dependency
- type EnableLtsLogsRequest
- type EnableLtsLogsResponse
- type ExportFunctionRequest
- type ExportFunctionRequestType
- type ExportFunctionRequestTypeEnum
- type ExportFunctionResponse
- type FuncAsyncDestinationConfig
- type FuncCode
- type FuncDestinationConfig
- type FuncDestinationConfigDestination
- type FuncDestinationConfigDestinationEnum
- type FuncMount
- type FuncVpc
- type FunctionAsyncConfig
- type ImportFunctionRequest
- type ImportFunctionRequestBody
- type ImportFunctionResponse
- type ImportFunctionResponseCodeType
- type ImportFunctionResponseCodeTypeEnum
- type ImportFunctionResponseRuntime
- type ImportFunctionResponseRuntimeEnum
- 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 ListFunctionAsyncInvocationsRequest
- type ListFunctionAsyncInvocationsRequestStatus
- type ListFunctionAsyncInvocationsRequestStatusEnum
- type ListFunctionAsyncInvocationsResponse
- type ListFunctionAsyncInvocationsResult
- type ListFunctionAsyncInvocationsResultStatus
- type ListFunctionAsyncInvocationsResultStatusEnum
- type ListFunctionAsyncInvokeConfigRequest
- type ListFunctionAsyncInvokeConfigResponse
- type ListFunctionAsyncInvokeConfigResult
- type ListFunctionResult
- type ListFunctionResultCodeType
- type ListFunctionResultCodeTypeEnum
- type ListFunctionResultRuntime
- type ListFunctionResultRuntimeEnum
- type ListFunctionResultType
- type ListFunctionResultTypeEnum
- 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 ListStatisticsResponse
- type ListVersionAliasResult
- type ListVersionAliasesRequest
- type ListVersionAliasesResponse
- type MonthUsed
- type MountConfig
- type MountUser
- type PageInfo
- type Resources
- type ResourcesType
- type ResourcesTypeEnum
- type ShowDependencyRequest
- type ShowDependencyResponse
- type ShowEventRequest
- type ShowEventResponse
- type ShowFunctionAsyncInvokeConfigRequest
- type ShowFunctionAsyncInvokeConfigResponse
- 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 ShowFunctionConfigResponseType
- type ShowFunctionConfigResponseTypeEnum
- type ShowFunctionTriggerRequest
- type ShowFunctionTriggerRequestTriggerTypeCode
- type ShowFunctionTriggerRequestTriggerTypeCodeEnum
- type ShowFunctionTriggerResponse
- type ShowFunctionTriggerResponseTriggerStatus
- type ShowFunctionTriggerResponseTriggerStatusEnum
- type ShowFunctionTriggerResponseTriggerTypeCode
- type ShowFunctionTriggerResponseTriggerTypeCodeEnum
- type ShowLtsLogDetailsRequest
- type ShowLtsLogDetailsResponse
- type ShowTracingRequest
- type ShowTracingResponse
- 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 UpdateFunctionAsyncInvokeConfigRequest
- type UpdateFunctionAsyncInvokeConfigRequestBody
- type UpdateFunctionAsyncInvokeConfigResponse
- type UpdateFunctionCodeRequest
- type UpdateFunctionCodeRequestBody
- type UpdateFunctionCodeRequestBodyCodeType
- type UpdateFunctionCodeRequestBodyCodeTypeEnum
- type UpdateFunctionCodeResponse
- type UpdateFunctionCodeResponseCodeType
- type UpdateFunctionCodeResponseCodeTypeEnum
- type UpdateFunctionCodeResponseRuntime
- type UpdateFunctionCodeResponseRuntimeEnum
- type UpdateFunctionConfigRequest
- type UpdateFunctionConfigRequestBody
- type UpdateFunctionConfigRequestBodyRuntime
- type UpdateFunctionConfigRequestBodyRuntimeEnum
- type UpdateFunctionConfigResponse
- type UpdateFunctionConfigResponseCodeType
- type UpdateFunctionConfigResponseCodeTypeEnum
- type UpdateFunctionConfigResponseRuntime
- type UpdateFunctionConfigResponseRuntimeEnum
- type UpdateFunctionConfigResponseType
- type UpdateFunctionConfigResponseTypeEnum
- type UpdateFunctionReservedInstancesRequest
- type UpdateFunctionReservedInstancesRequestBody
- type UpdateFunctionReservedInstancesResponse
- type UpdateTracingRequest
- type UpdateTracingRequestBody
- type UpdateTracingResponse
- 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 AsyncInvokeReservedFunctionRequest ¶ added in v0.0.47
type AsyncInvokeReservedFunctionRequest struct { FunctionUrn string `json:"function_urn"` Body map[string]interface{} `json:"body,omitempty"` }
Request Object
func (AsyncInvokeReservedFunctionRequest) String ¶ added in v0.0.47
func (o AsyncInvokeReservedFunctionRequest) String() string
type AsyncInvokeReservedFunctionResponse ¶ added in v0.0.47
type AsyncInvokeReservedFunctionResponse struct { InstanceId *string `json:"instance_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AsyncInvokeReservedFunctionResponse) String ¶ added in v0.0.47
func (o AsyncInvokeReservedFunctionResponse) 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"` 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 { JAVA8 CreateDependencyRequestBodyRuntime JAVA11 CreateDependencyRequestBodyRuntime NODE_JS6_10 CreateDependencyRequestBodyRuntime NODE_JS8_10 CreateDependencyRequestBodyRuntime NODE_JS10_16 CreateDependencyRequestBodyRuntime NODE_JS12_13 CreateDependencyRequestBodyRuntime NODE_JS14_18 CreateDependencyRequestBodyRuntime PYTHON2_7 CreateDependencyRequestBodyRuntime PYTHON3_6 CreateDependencyRequestBodyRuntime PYTHON3_9 CreateDependencyRequestBodyRuntime GO1_8 CreateDependencyRequestBodyRuntime GO1_X CreateDependencyRequestBodyRuntime C__NET_CORE_2_0 CreateDependencyRequestBodyRuntime C__NET_CORE_2_1 CreateDependencyRequestBodyRuntime C__NET_CORE_3_1 CreateDependencyRequestBodyRuntime PHP7_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 *int64 `json:"size,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` FileName *string `json:"file_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDependencyResponse) String ¶
func (o CreateDependencyResponse) String() string
type CreateEventRequest ¶
type CreateEventRequest struct { FunctionUrn string `json:"function_urn"` Body *CreateEventRequestBody `json:"body,omitempty"` }
Request Object
func (CreateEventRequest) String ¶
func (o CreateEventRequest) String() string
type CreateEventRequestBody ¶
创建测试事件请求体。
func (CreateEventRequestBody) String ¶
func (o CreateEventRequestBody) String() string
type CreateEventResponse ¶
type CreateEventResponse struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Content *string `json:"content,omitempty"` LastModified float32 `json:"last_modified,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateEventResponse) String ¶
func (o CreateEventResponse) String() string
type CreateFunctionRequest ¶
type CreateFunctionRequest struct {
Body *CreateFunctionRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateFunctionRequest) String ¶
func (o CreateFunctionRequest) String() string
type CreateFunctionRequestBody ¶
type CreateFunctionRequestBody struct { FuncName string `json:"func_name"` Package string `json:"package"` Runtime CreateFunctionRequestBodyRuntime `json:"runtime"` Timeout int32 `json:"timeout"` Handler string `json:"handler"` MemorySize int32 `json:"memory_size"` CodeType CreateFunctionRequestBodyCodeType `json:"code_type"` CodeUrl *string `json:"code_url,omitempty"` CodeFilename *string `json:"code_filename,omitempty"` UserData *string `json:"user_data,omitempty"` Xrole *string `json:"xrole,omitempty"` AppXrole *string `json:"app_xrole,omitempty"` Description *string `json:"description,omitempty"` FuncCode *FuncCode `json:"func_code,omitempty"` InitializerHandler *string `json:"initializer_handler,omitempty"` InitializerTimeout *int32 `json:"initializer_timeout,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Type *CreateFunctionRequestBodyType `json:"type,omitempty"` }
函数属性结构体。
func (CreateFunctionRequestBody) String ¶
func (o CreateFunctionRequestBody) String() string
type CreateFunctionRequestBodyCodeType ¶
type CreateFunctionRequestBodyCodeType struct {
// contains filtered or unexported fields
}
func (CreateFunctionRequestBodyCodeType) MarshalJSON ¶
func (c CreateFunctionRequestBodyCodeType) MarshalJSON() ([]byte, error)
func (*CreateFunctionRequestBodyCodeType) UnmarshalJSON ¶
func (c *CreateFunctionRequestBodyCodeType) UnmarshalJSON(b []byte) error
type 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 { JAVA8 CreateFunctionRequestBodyRuntime JAVA11 CreateFunctionRequestBodyRuntime NODE_JS6_10 CreateFunctionRequestBodyRuntime NODE_JS8_10 CreateFunctionRequestBodyRuntime NODE_JS10_16 CreateFunctionRequestBodyRuntime NODE_JS12_13 CreateFunctionRequestBodyRuntime NODE_JS14_18 CreateFunctionRequestBodyRuntime PYTHON2_7 CreateFunctionRequestBodyRuntime PYTHON3_6 CreateFunctionRequestBodyRuntime PYTHON3_9 CreateFunctionRequestBodyRuntime GO1_8 CreateFunctionRequestBodyRuntime GO1_X CreateFunctionRequestBodyRuntime C__NET_CORE_2_0 CreateFunctionRequestBodyRuntime C__NET_CORE_2_1 CreateFunctionRequestBodyRuntime C__NET_CORE_3_1 CreateFunctionRequestBodyRuntime PHP7_3 CreateFunctionRequestBodyRuntime }
func GetCreateFunctionRequestBodyRuntimeEnum ¶
func GetCreateFunctionRequestBodyRuntimeEnum() CreateFunctionRequestBodyRuntimeEnum
type CreateFunctionRequestBodyType ¶ added in v0.0.57
type CreateFunctionRequestBodyType struct {
// contains filtered or unexported fields
}
func (CreateFunctionRequestBodyType) MarshalJSON ¶ added in v0.0.57
func (c CreateFunctionRequestBodyType) MarshalJSON() ([]byte, error)
func (*CreateFunctionRequestBodyType) UnmarshalJSON ¶ added in v0.0.57
func (c *CreateFunctionRequestBodyType) UnmarshalJSON(b []byte) error
type CreateFunctionRequestBodyTypeEnum ¶ added in v0.0.57
type CreateFunctionRequestBodyTypeEnum struct { V1 CreateFunctionRequestBodyType V2 CreateFunctionRequestBodyType }
func GetCreateFunctionRequestBodyTypeEnum ¶ added in v0.0.57
func GetCreateFunctionRequestBodyTypeEnum() CreateFunctionRequestBodyTypeEnum
type CreateFunctionResponse ¶
type CreateFunctionResponse struct { FuncUrn *string `json:"func_urn,omitempty"` FuncName *string `json:"func_name,omitempty"` DomainId *string `json:"domain_id,omitempty"` Namespace *string `json:"namespace,omitempty"` ProjectName *string `json:"project_name,omitempty"` Package *string `json:"package,omitempty"` Runtime *CreateFunctionResponseRuntime `json:"runtime,omitempty"` Timeout *int32 `json:"timeout,omitempty"` Handler *string `json:"handler,omitempty"` MemorySize *int32 `json:"memory_size,omitempty"` Cpu *int32 `json:"cpu,omitempty"` CodeType *CreateFunctionResponseCodeType `json:"code_type,omitempty"` CodeUrl *string `json:"code_url,omitempty"` CodeFilename *string `json:"code_filename,omitempty"` CodeSize *int64 `json:"code_size,omitempty"` UserData *string `json:"user_data,omitempty"` EncryptedUserData *string `json:"encrypted_user_data,omitempty"` Digest *string `json:"digest,omitempty"` Version *string `json:"version,omitempty"` ImageName *string `json:"image_name,omitempty"` Xrole *string `json:"xrole,omitempty"` AppXrole *string `json:"app_xrole,omitempty"` Description *string `json:"description,omitempty"` LastModified *sdktime.SdkTime `json:"last_modified,omitempty"` FuncVpc *FuncVpc `json:"func_vpc,omitempty"` MountConfig *MountConfig `json:"mount_config,omitempty"` DependList *[]string `json:"depend_list,omitempty"` StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"` ExtendConfig *string `json:"extend_config,omitempty"` InitializerHandler *string `json:"initializer_handler,omitempty"` InitializerTimeout *int32 `json:"initializer_timeout,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateFunctionResponse) String ¶
func (o CreateFunctionResponse) String() string
type CreateFunctionResponseCodeType ¶
type CreateFunctionResponseCodeType struct {
// contains filtered or unexported fields
}
func (CreateFunctionResponseCodeType) MarshalJSON ¶
func (c CreateFunctionResponseCodeType) MarshalJSON() ([]byte, error)
func (*CreateFunctionResponseCodeType) UnmarshalJSON ¶
func (c *CreateFunctionResponseCodeType) UnmarshalJSON(b []byte) error
type 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 { JAVA8 CreateFunctionResponseRuntime JAVA11 CreateFunctionResponseRuntime NODE_JS6_10 CreateFunctionResponseRuntime NODE_JS8_10 CreateFunctionResponseRuntime NODE_JS10_16 CreateFunctionResponseRuntime NODE_JS12_13 CreateFunctionResponseRuntime NODE_JS14_18 CreateFunctionResponseRuntime PYTHON2_7 CreateFunctionResponseRuntime PYTHON3_6 CreateFunctionResponseRuntime PYTHON3_9 CreateFunctionResponseRuntime GO1_8 CreateFunctionResponseRuntime GO1_X CreateFunctionResponseRuntime C__NET_CORE_2_0 CreateFunctionResponseRuntime C__NET_CORE_2_1 CreateFunctionResponseRuntime C__NET_CORE_3_1 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"` EncryptedUserData *string `json:"encrypted_user_data,omitempty"` Digest *string `json:"digest,omitempty"` Version *string `json:"version,omitempty"` ImageName *string `json:"image_name,omitempty"` Xrole *string `json:"xrole,omitempty"` AppXrole *string `json:"app_xrole,omitempty"` Description *string `json:"description,omitempty"` VersionDescription *string `json:"version_description,omitempty"` LastModified *sdktime.SdkTime `json:"last_modified,omitempty"` FuncVpc *FuncVpc `json:"func_vpc,omitempty"` MountConfig *MountConfig `json:"mount_config,omitempty"` StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"` Dependencies *[]Dependency `json:"dependencies,omitempty"` InitializerHandler *string `json:"initializer_handler,omitempty"` InitializerTimeout *int32 `json:"initializer_timeout,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` LongTime *bool `json:"long_time,omitempty"` LogGroupId *string `json:"log_group_id,omitempty"` LogStreamId *string `json:"log_stream_id,omitempty"` Type *CreateFunctionVersionResponseType `json:"type,omitempty"` EnableDynamicMemory *bool `json:"enable_dynamic_memory,omitempty"` FunctionAsyncConfig *FunctionAsyncConfig `json:"function_async_config,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 { JAVA8 CreateFunctionVersionResponseRuntime JAVA11 CreateFunctionVersionResponseRuntime NODE_JS6_10 CreateFunctionVersionResponseRuntime NODE_JS8_10 CreateFunctionVersionResponseRuntime NODE_JS10_16 CreateFunctionVersionResponseRuntime NODE_JS12_13 CreateFunctionVersionResponseRuntime NODE_JS14_18 CreateFunctionVersionResponseRuntime PYTHON2_7 CreateFunctionVersionResponseRuntime PYTHON3_6 CreateFunctionVersionResponseRuntime PYTHON3_9 CreateFunctionVersionResponseRuntime GO1_8 CreateFunctionVersionResponseRuntime GO1_X CreateFunctionVersionResponseRuntime C__NET_CORE_2_0 CreateFunctionVersionResponseRuntime C__NET_CORE_2_1 CreateFunctionVersionResponseRuntime C__NET_CORE_3_1 CreateFunctionVersionResponseRuntime PHP7_3 CreateFunctionVersionResponseRuntime }
func GetCreateFunctionVersionResponseRuntimeEnum ¶
func GetCreateFunctionVersionResponseRuntimeEnum() CreateFunctionVersionResponseRuntimeEnum
type CreateFunctionVersionResponseType ¶ added in v0.0.53
type CreateFunctionVersionResponseType struct {
// contains filtered or unexported fields
}
func (CreateFunctionVersionResponseType) MarshalJSON ¶ added in v0.0.53
func (c CreateFunctionVersionResponseType) MarshalJSON() ([]byte, error)
func (*CreateFunctionVersionResponseType) UnmarshalJSON ¶ added in v0.0.53
func (c *CreateFunctionVersionResponseType) UnmarshalJSON(b []byte) error
type CreateFunctionVersionResponseTypeEnum ¶ added in v0.0.53
type CreateFunctionVersionResponseTypeEnum struct { V1 CreateFunctionVersionResponseType V2 CreateFunctionVersionResponseType }
func GetCreateFunctionVersionResponseTypeEnum ¶ added in v0.0.53
func GetCreateFunctionVersionResponseTypeEnum() CreateFunctionVersionResponseTypeEnum
type CreateVersionAliasRequest ¶
type CreateVersionAliasRequest struct { FunctionUrn string `json:"function_urn"` Body *CreateVersionAliasRequestBody `json:"body,omitempty"` }
Request Object
func (CreateVersionAliasRequest) String ¶
func (o CreateVersionAliasRequest) String() string
type CreateVersionAliasRequestBody ¶
type CreateVersionAliasRequestBody struct { Name string `json:"name"` Version string `json:"version"` Description *string `json:"description,omitempty"` AdditionalVersionWeights map[string]int32 `json:"additional_version_weights,omitempty"` }
版本别名结构
func (CreateVersionAliasRequestBody) String ¶
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 DeleteFunctionAsyncInvokeConfigRequest ¶
type DeleteFunctionAsyncInvokeConfigRequest struct {
FunctionUrn string `json:"function_urn"`
}
Request Object
func (DeleteFunctionAsyncInvokeConfigRequest) String ¶
func (o DeleteFunctionAsyncInvokeConfigRequest) String() string
type DeleteFunctionAsyncInvokeConfigResponse ¶
type DeleteFunctionAsyncInvokeConfigResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteFunctionAsyncInvokeConfigResponse) String ¶
func (o DeleteFunctionAsyncInvokeConfigResponse) 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:"trigger_id"` }
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"` AliasName string `json:"alias_name"` }
Request Object
func (DeleteVersionAliasRequest) String ¶
func (o DeleteVersionAliasRequest) String() string
type DeleteVersionAliasResponse ¶
type DeleteVersionAliasResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteVersionAliasResponse) String ¶
func (o DeleteVersionAliasResponse) String() string
type Dependency ¶
type Dependency struct { Id string `json:"id"` Owner string `json:"owner"` Link string `json:"link"` Runtime string `json:"runtime"` Etag string `json:"etag"` Size int64 `json:"size"` Name string `json:"name"` Description string `json:"description"` FileName *string `json:"file_name,omitempty"` }
函数依赖包结构。
func (Dependency) String ¶
func (o Dependency) String() string
type EnableLtsLogsRequest ¶ added in v0.0.53
type EnableLtsLogsRequest struct { }
Request Object
func (EnableLtsLogsRequest) String ¶ added in v0.0.53
func (o EnableLtsLogsRequest) String() string
type EnableLtsLogsResponse ¶ added in v0.0.53
type EnableLtsLogsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (EnableLtsLogsResponse) String ¶ added in v0.0.53
func (o EnableLtsLogsResponse) String() string
type ExportFunctionRequest ¶ added in v0.0.47
type ExportFunctionRequest struct { FunctionUrn string `json:"function_urn"` Config *bool `json:"config,omitempty"` Code *bool `json:"code,omitempty"` Type *ExportFunctionRequestType `json:"type,omitempty"` }
Request Object
func (ExportFunctionRequest) String ¶ added in v0.0.47
func (o ExportFunctionRequest) String() string
type ExportFunctionRequestType ¶ added in v0.0.57
type ExportFunctionRequestType struct {
// contains filtered or unexported fields
}
func (ExportFunctionRequestType) MarshalJSON ¶ added in v0.0.57
func (c ExportFunctionRequestType) MarshalJSON() ([]byte, error)
func (*ExportFunctionRequestType) UnmarshalJSON ¶ added in v0.0.57
func (c *ExportFunctionRequestType) UnmarshalJSON(b []byte) error
type ExportFunctionRequestTypeEnum ¶ added in v0.0.57
type ExportFunctionRequestTypeEnum struct { TYPE ExportFunctionRequestType CODE ExportFunctionRequestType }
func GetExportFunctionRequestTypeEnum ¶ added in v0.0.57
func GetExportFunctionRequestTypeEnum() ExportFunctionRequestTypeEnum
type ExportFunctionResponse ¶ added in v0.0.47
type ExportFunctionResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ExportFunctionResponse) String ¶ added in v0.0.47
func (o ExportFunctionResponse) String() string
type FuncAsyncDestinationConfig ¶
type FuncAsyncDestinationConfig struct { OnSuccess *FuncDestinationConfig `json:"on_success,omitempty"` OnFailure *FuncDestinationConfig `json:"on_failure,omitempty"` }
函数异步调用目标参数配置。
func (FuncAsyncDestinationConfig) String ¶
func (o FuncAsyncDestinationConfig) String() string
type FuncDestinationConfig ¶
type FuncDestinationConfig struct { Destination *FuncDestinationConfigDestination `json:"destination,omitempty"` Param *string `json:"param,omitempty"` }
函数通知目标参数配置。
func (FuncDestinationConfig) String ¶
func (o FuncDestinationConfig) String() string
type FuncDestinationConfigDestination ¶
type FuncDestinationConfigDestination struct {
// contains filtered or unexported fields
}
func (FuncDestinationConfigDestination) MarshalJSON ¶
func (c FuncDestinationConfigDestination) MarshalJSON() ([]byte, error)
func (*FuncDestinationConfigDestination) UnmarshalJSON ¶
func (c *FuncDestinationConfigDestination) UnmarshalJSON(b []byte) error
type FuncDestinationConfigDestinationEnum ¶
type FuncDestinationConfigDestinationEnum struct { OBS FuncDestinationConfigDestination SMN FuncDestinationConfigDestination DIS FuncDestinationConfigDestination FUNCTION_GRAPH FuncDestinationConfigDestination }
func GetFuncDestinationConfigDestinationEnum ¶
func GetFuncDestinationConfigDestinationEnum() FuncDestinationConfigDestinationEnum
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 FunctionAsyncConfig ¶ added in v0.0.68
type FunctionAsyncConfig struct { MaxAsyncEventAgeInSeconds int32 `json:"max_async_event_age_in_seconds"` MaxAsyncRetryAttempts int32 `json:"max_async_retry_attempts"` DestinationConfig *FuncAsyncDestinationConfig `json:"destination_config"` CreatedTime *string `json:"created_time,omitempty"` LastModified *string `json:"last_modified,omitempty"` }
函数异步配置返回结构体。
func (FunctionAsyncConfig) String ¶ added in v0.0.68
func (o FunctionAsyncConfig) String() string
type ImportFunctionRequest ¶ added in v0.0.47
type ImportFunctionRequest struct {
Body *ImportFunctionRequestBody `json:"body,omitempty"`
}
Request Object
func (ImportFunctionRequest) String ¶ added in v0.0.47
func (o ImportFunctionRequest) String() string
type ImportFunctionRequestBody ¶ added in v0.0.47
type ImportFunctionRequestBody struct { FuncName string `json:"func_name"` FileName string `json:"file_name"` FileType string `json:"file_type"` FileCode string `json:"file_code"` }
导入函数请求结构体
func (ImportFunctionRequestBody) String ¶ added in v0.0.47
func (o ImportFunctionRequestBody) String() string
type ImportFunctionResponse ¶ added in v0.0.47
type ImportFunctionResponse struct { FuncUrn *string `json:"func_urn,omitempty"` FuncName *string `json:"func_name,omitempty"` DomainId *string `json:"domain_id,omitempty"` Namespace *string `json:"namespace,omitempty"` ProjectName *string `json:"project_name,omitempty"` Package *string `json:"package,omitempty"` Runtime *ImportFunctionResponseRuntime `json:"runtime,omitempty"` Timeout *int32 `json:"timeout,omitempty"` Handler *string `json:"handler,omitempty"` MemorySize *int32 `json:"memory_size,omitempty"` Cpu *int32 `json:"cpu,omitempty"` CodeType *ImportFunctionResponseCodeType `json:"code_type,omitempty"` CodeUrl *string `json:"code_url,omitempty"` CodeFilename *string `json:"code_filename,omitempty"` CodeSize *int64 `json:"code_size,omitempty"` UserData *string `json:"user_data,omitempty"` Digest *string `json:"digest,omitempty"` Version *string `json:"version,omitempty"` ImageName *string `json:"image_name,omitempty"` Xrole *string `json:"xrole,omitempty"` AppXrole *string `json:"app_xrole,omitempty"` Description *string `json:"description,omitempty"` VersionDescription *string `json:"version_description,omitempty"` LastModified *sdktime.SdkTime `json:"last_modified,omitempty"` FuncVpc *FuncVpc `json:"func_vpc,omitempty"` DependList *[]string `json:"depend_list,omitempty"` StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"` ExtendConfig *string `json:"extend_config,omitempty"` InitializerHandler *string `json:"initializer_handler,omitempty"` InitializerTimeout *int32 `json:"initializer_timeout,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ImportFunctionResponse) String ¶ added in v0.0.47
func (o ImportFunctionResponse) String() string
type ImportFunctionResponseCodeType ¶ added in v0.0.47
type ImportFunctionResponseCodeType struct {
// contains filtered or unexported fields
}
func (ImportFunctionResponseCodeType) MarshalJSON ¶ added in v0.0.47
func (c ImportFunctionResponseCodeType) MarshalJSON() ([]byte, error)
func (*ImportFunctionResponseCodeType) UnmarshalJSON ¶ added in v0.0.47
func (c *ImportFunctionResponseCodeType) UnmarshalJSON(b []byte) error
type ImportFunctionResponseCodeTypeEnum ¶ added in v0.0.47
type ImportFunctionResponseCodeTypeEnum struct { INLINE ImportFunctionResponseCodeType ZIP ImportFunctionResponseCodeType OBS ImportFunctionResponseCodeType JAR ImportFunctionResponseCodeType }
func GetImportFunctionResponseCodeTypeEnum ¶ added in v0.0.47
func GetImportFunctionResponseCodeTypeEnum() ImportFunctionResponseCodeTypeEnum
type ImportFunctionResponseRuntime ¶ added in v0.0.47
type ImportFunctionResponseRuntime struct {
// contains filtered or unexported fields
}
func (ImportFunctionResponseRuntime) MarshalJSON ¶ added in v0.0.47
func (c ImportFunctionResponseRuntime) MarshalJSON() ([]byte, error)
func (*ImportFunctionResponseRuntime) UnmarshalJSON ¶ added in v0.0.47
func (c *ImportFunctionResponseRuntime) UnmarshalJSON(b []byte) error
type ImportFunctionResponseRuntimeEnum ¶ added in v0.0.47
type ImportFunctionResponseRuntimeEnum struct { JAVA8 ImportFunctionResponseRuntime JAVA11 ImportFunctionResponseRuntime NODE_JS6_10 ImportFunctionResponseRuntime NODE_JS8_10 ImportFunctionResponseRuntime NODE_JS10_16 ImportFunctionResponseRuntime NODE_JS12_13 ImportFunctionResponseRuntime NODE_JS14_18 ImportFunctionResponseRuntime PYTHON2_7 ImportFunctionResponseRuntime PYTHON3_6 ImportFunctionResponseRuntime PYTHON3_9 ImportFunctionResponseRuntime GO1_8 ImportFunctionResponseRuntime GO1_X ImportFunctionResponseRuntime C__NET_CORE_2_0 ImportFunctionResponseRuntime C__NET_CORE_2_1 ImportFunctionResponseRuntime C__NET_CORE_3_1 ImportFunctionResponseRuntime PHP7_3 ImportFunctionResponseRuntime }
func GetImportFunctionResponseRuntimeEnum ¶ added in v0.0.47
func GetImportFunctionResponseRuntimeEnum() ImportFunctionResponseRuntimeEnum
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 { JAVA8 ListDependenciesRequestRuntime JAVA11 ListDependenciesRequestRuntime NODE_JS6_10 ListDependenciesRequestRuntime NODE_JS8_10 ListDependenciesRequestRuntime NODE_JS10_16 ListDependenciesRequestRuntime NODE_JS12_13 ListDependenciesRequestRuntime NODE_JS14_18 ListDependenciesRequestRuntime PYTHON2_7 ListDependenciesRequestRuntime PYTHON3_6 ListDependenciesRequestRuntime PYTHON3_9 ListDependenciesRequestRuntime GO1_8 ListDependenciesRequestRuntime GO1_X ListDependenciesRequestRuntime C__NET_CORE_2_0 ListDependenciesRequestRuntime C__NET_CORE_2_1 ListDependenciesRequestRuntime C__NET_CORE_3_1 ListDependenciesRequestRuntime PHP7_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 ListFunctionAsyncInvocationsRequest ¶ added in v0.0.75
type ListFunctionAsyncInvocationsRequest struct { FunctionUrn string `json:"function_urn"` RequestId *string `json:"request_id,omitempty"` Limit *string `json:"limit,omitempty"` Status *ListFunctionAsyncInvocationsRequestStatus `json:"status,omitempty"` QueryBeginTime *sdktime.SdkTime `json:"query_begin_time,omitempty"` QueryEndTime *sdktime.SdkTime `json:"query_end_time,omitempty"` }
Request Object
func (ListFunctionAsyncInvocationsRequest) String ¶ added in v0.0.75
func (o ListFunctionAsyncInvocationsRequest) String() string
type ListFunctionAsyncInvocationsRequestStatus ¶ added in v0.0.75
type ListFunctionAsyncInvocationsRequestStatus struct {
// contains filtered or unexported fields
}
func (ListFunctionAsyncInvocationsRequestStatus) MarshalJSON ¶ added in v0.0.75
func (c ListFunctionAsyncInvocationsRequestStatus) MarshalJSON() ([]byte, error)
func (*ListFunctionAsyncInvocationsRequestStatus) UnmarshalJSON ¶ added in v0.0.75
func (c *ListFunctionAsyncInvocationsRequestStatus) UnmarshalJSON(b []byte) error
type ListFunctionAsyncInvocationsRequestStatusEnum ¶ added in v0.0.75
type ListFunctionAsyncInvocationsRequestStatusEnum struct { WAIT ListFunctionAsyncInvocationsRequestStatus RUNNING ListFunctionAsyncInvocationsRequestStatus SUCCESS ListFunctionAsyncInvocationsRequestStatus FAIL ListFunctionAsyncInvocationsRequestStatus DISCARD ListFunctionAsyncInvocationsRequestStatus }
func GetListFunctionAsyncInvocationsRequestStatusEnum ¶ added in v0.0.75
func GetListFunctionAsyncInvocationsRequestStatusEnum() ListFunctionAsyncInvocationsRequestStatusEnum
type ListFunctionAsyncInvocationsResponse ¶ added in v0.0.75
type ListFunctionAsyncInvocationsResponse struct { Invocations *[]ListFunctionAsyncInvocationsResult `json:"invocations,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListFunctionAsyncInvocationsResponse) String ¶ added in v0.0.75
func (o ListFunctionAsyncInvocationsResponse) String() string
type ListFunctionAsyncInvocationsResult ¶ added in v0.0.75
type ListFunctionAsyncInvocationsResult struct { RequestId *string `json:"request_id,omitempty"` Status *ListFunctionAsyncInvocationsResultStatus `json:"status,omitempty"` ErrorMessage *string `json:"error_message,omitempty"` StartTime *sdktime.SdkTime `json:"start_time,omitempty"` EndTime *sdktime.SdkTime `json:"end_time,omitempty"` }
异步调用记录
func (ListFunctionAsyncInvocationsResult) String ¶ added in v0.0.75
func (o ListFunctionAsyncInvocationsResult) String() string
type ListFunctionAsyncInvocationsResultStatus ¶ added in v0.0.75
type ListFunctionAsyncInvocationsResultStatus struct {
// contains filtered or unexported fields
}
func (ListFunctionAsyncInvocationsResultStatus) MarshalJSON ¶ added in v0.0.75
func (c ListFunctionAsyncInvocationsResultStatus) MarshalJSON() ([]byte, error)
func (*ListFunctionAsyncInvocationsResultStatus) UnmarshalJSON ¶ added in v0.0.75
func (c *ListFunctionAsyncInvocationsResultStatus) UnmarshalJSON(b []byte) error
type ListFunctionAsyncInvocationsResultStatusEnum ¶ added in v0.0.75
type ListFunctionAsyncInvocationsResultStatusEnum struct { WAIT ListFunctionAsyncInvocationsResultStatus RUNNING ListFunctionAsyncInvocationsResultStatus SUCCESS ListFunctionAsyncInvocationsResultStatus FAIL ListFunctionAsyncInvocationsResultStatus DISCARD ListFunctionAsyncInvocationsResultStatus }
func GetListFunctionAsyncInvocationsResultStatusEnum ¶ added in v0.0.75
func GetListFunctionAsyncInvocationsResultStatusEnum() ListFunctionAsyncInvocationsResultStatusEnum
type ListFunctionAsyncInvokeConfigRequest ¶
type ListFunctionAsyncInvokeConfigRequest struct { FunctionUrn string `json:"function_urn"` Marker *string `json:"marker,omitempty"` Limit *string `json:"limit,omitempty"` }
Request Object
func (ListFunctionAsyncInvokeConfigRequest) String ¶
func (o ListFunctionAsyncInvokeConfigRequest) String() string
type ListFunctionAsyncInvokeConfigResponse ¶
type ListFunctionAsyncInvokeConfigResponse struct { AsyncInvokeConfigs *[]ListFunctionAsyncInvokeConfigResult `json:"async_invoke_configs,omitempty"` Count *int64 `json:"count,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListFunctionAsyncInvokeConfigResponse) String ¶
func (o ListFunctionAsyncInvokeConfigResponse) String() string
type ListFunctionAsyncInvokeConfigResult ¶
type ListFunctionAsyncInvokeConfigResult struct { FuncUrn string `json:"func_urn"` MaxAsyncEventAgeInSeconds int32 `json:"max_async_event_age_in_seconds"` MaxAsyncRetryAttempts int32 `json:"max_async_retry_attempts"` DestinationConfig *FuncAsyncDestinationConfig `json:"destination_config"` CreatedTime *string `json:"created_time,omitempty"` LastModified *string `json:"last_modified,omitempty"` }
函数异步配置返回结构体。
func (ListFunctionAsyncInvokeConfigResult) String ¶
func (o ListFunctionAsyncInvokeConfigResult) 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"` EncryptedUserData *string `json:"encrypted_user_data,omitempty"` Digest string `json:"digest"` Version string `json:"version"` ImageName string `json:"image_name"` Xrole *string `json:"xrole,omitempty"` AppXrole *string `json:"app_xrole,omitempty"` Description *string `json:"description,omitempty"` LastModified *sdktime.SdkTime `json:"last_modified"` FuncVpcId *string `json:"func_vpc_id,omitempty"` StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"` ExtendConfig *string `json:"extend_config,omitempty"` InitializerHandler *string `json:"initializer_handler,omitempty"` InitializerTimeout *int32 `json:"initializer_timeout,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` LongTime *bool `json:"long_time,omitempty"` LogGroupId *string `json:"log_group_id,omitempty"` LogStreamId *string `json:"log_stream_id,omitempty"` Type *ListFunctionResultType `json:"type,omitempty"` }
函数属性结构体。
func (ListFunctionResult) String ¶
func (o ListFunctionResult) String() string
type ListFunctionResultCodeType ¶
type ListFunctionResultCodeType struct {
// contains filtered or unexported fields
}
func (ListFunctionResultCodeType) MarshalJSON ¶
func (c ListFunctionResultCodeType) MarshalJSON() ([]byte, error)
func (*ListFunctionResultCodeType) UnmarshalJSON ¶
func (c *ListFunctionResultCodeType) UnmarshalJSON(b []byte) error
type 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 { JAVA8 ListFunctionResultRuntime JAVA11 ListFunctionResultRuntime NODE_JS6_10 ListFunctionResultRuntime NODE_JS8_10 ListFunctionResultRuntime NODE_JS10_16 ListFunctionResultRuntime NODE_JS12_13 ListFunctionResultRuntime NODE_JS14_18 ListFunctionResultRuntime PYTHON2_7 ListFunctionResultRuntime PYTHON3_6 ListFunctionResultRuntime PYTHON3_9 ListFunctionResultRuntime GO1_8 ListFunctionResultRuntime GO1_X ListFunctionResultRuntime C__NET_CORE_2_0 ListFunctionResultRuntime C__NET_CORE_2_1 ListFunctionResultRuntime C__NET_CORE_3_1 ListFunctionResultRuntime PHP7_3 ListFunctionResultRuntime }
func GetListFunctionResultRuntimeEnum ¶
func GetListFunctionResultRuntimeEnum() ListFunctionResultRuntimeEnum
type ListFunctionResultType ¶ added in v0.0.53
type ListFunctionResultType struct {
// contains filtered or unexported fields
}
func (ListFunctionResultType) MarshalJSON ¶ added in v0.0.53
func (c ListFunctionResultType) MarshalJSON() ([]byte, error)
func (*ListFunctionResultType) UnmarshalJSON ¶ added in v0.0.53
func (c *ListFunctionResultType) UnmarshalJSON(b []byte) error
type ListFunctionResultTypeEnum ¶ added in v0.0.53
type ListFunctionResultTypeEnum struct { V1 ListFunctionResultType V2 ListFunctionResultType }
func GetListFunctionResultTypeEnum ¶ added in v0.0.53
func GetListFunctionResultTypeEnum() ListFunctionResultTypeEnum
type ListFunctionStatisticsRequest ¶
type ListFunctionStatisticsRequest struct { FuncUrn string `json:"func_urn"` Period string `json:"period"` }
Request Object
func (ListFunctionStatisticsRequest) String ¶
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"` EncryptedUserData *string `json:"encrypted_user_data,omitempty"` Digest string `json:"digest"` Version string `json:"version"` ImageName string `json:"image_name"` Xrole *string `json:"xrole,omitempty"` AppXrole *string `json:"app_xrole,omitempty"` LastModified *sdktime.SdkTime `json:"last_modified"` FuncVpcId *string `json:"func_vpc_id,omitempty"` Concurrency *int32 `json:"concurrency,omitempty"` ConcurrentNum *int32 `json:"concurrent_num,omitempty"` StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"` InitializerHandler *string `json:"initializer_handler,omitempty"` InitializerTimeout *int32 `json:"initializer_timeout,omitempty"` LongTime *bool `json:"long_time,omitempty"` LogGroupId *string `json:"log_group_id,omitempty"` LogStreamId *string `json:"log_stream_id,omitempty"` FunctionAsyncConfig *FunctionAsyncConfig `json:"function_async_config,omitempty"` Type *string `json:"type,omitempty"` EnableCloudDebug *string `json:"enable_cloud_debug,omitempty"` EnableDynamicMemory *bool `json:"enable_dynamic_memory,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 { JAVA8 ListFunctionVersionResultRuntime JAVA11 ListFunctionVersionResultRuntime NODE_JS6_10 ListFunctionVersionResultRuntime NODE_JS8_10 ListFunctionVersionResultRuntime NODE_JS10_16 ListFunctionVersionResultRuntime NODE_JS12_13 ListFunctionVersionResultRuntime NODE_JS14_18 ListFunctionVersionResultRuntime PYTHON2_7 ListFunctionVersionResultRuntime PYTHON3_6 ListFunctionVersionResultRuntime PYTHON3_9 ListFunctionVersionResultRuntime GO1_8 ListFunctionVersionResultRuntime GO1_X ListFunctionVersionResultRuntime C__NET_CORE_2_0 ListFunctionVersionResultRuntime C__NET_CORE_2_1 ListFunctionVersionResultRuntime C__NET_CORE_3_1 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"` Count *int64 `json:"count,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"` PackageName *string `json:"package_name,omitempty"` }
Request Object
func (ListFunctionsRequest) String ¶
func (o ListFunctionsRequest) String() string
type ListFunctionsResponse ¶
type ListFunctionsResponse struct { Functions *[]ListFunctionResult `json:"functions,omitempty"` NextMarker *int32 `json:"next_marker,omitempty"` Count *int64 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListFunctionsResponse) String ¶
func (o ListFunctionsResponse) String() string
type ListQuotasRequest ¶
type ListQuotasRequest struct { }
Request Object
func (ListQuotasRequest) String ¶
func (o ListQuotasRequest) String() string
type ListQuotasResponse ¶
type ListQuotasResponse struct { Quotas *ListQuotasResult `json:"quotas,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListQuotasResponse) String ¶
func (o ListQuotasResponse) String() string
type ListQuotasResult ¶
type ListQuotasResult struct {
Resources []Resources `json:"resources"`
}
配额信息
func (ListQuotasResult) String ¶
func (o ListQuotasResult) String() string
type ListStatisticsRequest ¶
type ListStatisticsRequest struct { Filter ListStatisticsRequestFilter `json:"filter"` Period *string `json:"period,omitempty"` }
Request Object
func (ListStatisticsRequest) String ¶
func (o ListStatisticsRequest) String() string
type ListStatisticsRequestFilter ¶
type ListStatisticsRequestFilter struct {
// contains filtered or unexported fields
}
func (ListStatisticsRequestFilter) MarshalJSON ¶
func (c ListStatisticsRequestFilter) MarshalJSON() ([]byte, error)
func (*ListStatisticsRequestFilter) UnmarshalJSON ¶
func (c *ListStatisticsRequestFilter) UnmarshalJSON(b []byte) error
type ListStatisticsRequestFilterEnum ¶
type ListStatisticsRequestFilterEnum struct { MONITOR_DATA ListStatisticsRequestFilter MONTHLY_REPORT ListStatisticsRequestFilter }
func GetListStatisticsRequestFilterEnum ¶
func GetListStatisticsRequestFilterEnum() ListStatisticsRequestFilterEnum
type ListStatisticsResponse ¶
type ListStatisticsResponse struct { Count *[]MonthUsed `json:"count,omitempty"` Gbs *[]MonthUsed `json:"gbs,omitempty"` Statistics *ListFunctionStatisticsResponseBody `json:"statistics,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListStatisticsResponse) String ¶
func (o ListStatisticsResponse) String() string
type ListVersionAliasResult ¶
type ListVersionAliasResult struct { Name string `json:"name"` Version string `json:"version"` Description *string `json:"description,omitempty"` LastModified *sdktime.SdkTime `json:"last_modified"` AliasUrn string `json:"alias_urn"` AdditionalVersionWeights map[string]int64 `json:"additional_version_weights,omitempty"` }
版本别名结构
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 PageInfo ¶
type PageInfo struct { NextMarker int64 `json:"next_marker"` PreviousMarker int64 `json:"previous_marker"` CurrentCount int64 `json:"current_count"` }
分页结构体。
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 *int64 `json:"size,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` FileName *string `json:"file_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDependencyResponse) String ¶
func (o ShowDependencyResponse) String() string
type ShowEventRequest ¶
type ShowEventRequest struct { EventId string `json:"event_id"` FunctionUrn string `json:"function_urn"` }
Request Object
func (ShowEventRequest) String ¶
func (o ShowEventRequest) String() string
type ShowEventResponse ¶
type ShowEventResponse struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Content *string `json:"content,omitempty"` LastModified float32 `json:"last_modified,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowEventResponse) String ¶
func (o ShowEventResponse) String() string
type ShowFunctionAsyncInvokeConfigRequest ¶
type ShowFunctionAsyncInvokeConfigRequest struct {
FunctionUrn string `json:"function_urn"`
}
Request Object
func (ShowFunctionAsyncInvokeConfigRequest) String ¶
func (o ShowFunctionAsyncInvokeConfigRequest) String() string
type ShowFunctionAsyncInvokeConfigResponse ¶
type ShowFunctionAsyncInvokeConfigResponse struct { FuncUrn *string `json:"func_urn,omitempty"` MaxAsyncEventAgeInSeconds *int32 `json:"max_async_event_age_in_seconds,omitempty"` MaxAsyncRetryAttempts *int32 `json:"max_async_retry_attempts,omitempty"` DestinationConfig *FuncAsyncDestinationConfig `json:"destination_config,omitempty"` CreatedTime *string `json:"created_time,omitempty"` LastModified *string `json:"last_modified,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowFunctionAsyncInvokeConfigResponse) String ¶
func (o ShowFunctionAsyncInvokeConfigResponse) 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"` 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 { JAVA8 ShowFunctionCodeResponseRuntime JAVA11 ShowFunctionCodeResponseRuntime NODE_JS6_10 ShowFunctionCodeResponseRuntime NODE_JS8_10 ShowFunctionCodeResponseRuntime NODE_JS10_16 ShowFunctionCodeResponseRuntime NODE_JS12_13 ShowFunctionCodeResponseRuntime NODE_JS14_18 ShowFunctionCodeResponseRuntime PYTHON2_7 ShowFunctionCodeResponseRuntime PYTHON3_6 ShowFunctionCodeResponseRuntime PYTHON3_9 ShowFunctionCodeResponseRuntime GO1_8 ShowFunctionCodeResponseRuntime GO1_X ShowFunctionCodeResponseRuntime C__NET_CORE_2_0 ShowFunctionCodeResponseRuntime C__NET_CORE_2_1 ShowFunctionCodeResponseRuntime C__NET_CORE_3_1 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"` EncryptedUserData *string `json:"encrypted_user_data,omitempty"` Digest *string `json:"digest,omitempty"` Version *string `json:"version,omitempty"` ImageName *string `json:"image_name,omitempty"` Xrole *string `json:"xrole,omitempty"` AppXrole *string `json:"app_xrole,omitempty"` Description *string `json:"description,omitempty"` LastModified *sdktime.SdkTime `json:"last_modified,omitempty"` FuncVpc *FuncVpc `json:"func_vpc,omitempty"` MountConfig *MountConfig `json:"mount_config,omitempty"` DependList *[]string `json:"depend_list,omitempty"` StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"` Dependencies *[]Dependency `json:"dependencies,omitempty"` InitializerHandler *string `json:"initializer_handler,omitempty"` InitializerTimeout *int32 `json:"initializer_timeout,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` LongTime *bool `json:"long_time,omitempty"` LogGroupId *string `json:"log_group_id,omitempty"` LogStreamId *string `json:"log_stream_id,omitempty"` Type *ShowFunctionConfigResponseType `json:"type,omitempty"` EnableDynamicMemory *bool `json:"enable_dynamic_memory,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 { JAVA8 ShowFunctionConfigResponseRuntime JAVA11 ShowFunctionConfigResponseRuntime NODE_JS6_10 ShowFunctionConfigResponseRuntime NODE_JS8_10 ShowFunctionConfigResponseRuntime NODE_JS10_16 ShowFunctionConfigResponseRuntime NODE_JS12_13 ShowFunctionConfigResponseRuntime NODE_JS14_18 ShowFunctionConfigResponseRuntime PYTHON2_7 ShowFunctionConfigResponseRuntime PYTHON3_6 ShowFunctionConfigResponseRuntime PYTHON3_9 ShowFunctionConfigResponseRuntime GO1_8 ShowFunctionConfigResponseRuntime GO1_X ShowFunctionConfigResponseRuntime C__NET_CORE_2_0 ShowFunctionConfigResponseRuntime C__NET_CORE_2_1 ShowFunctionConfigResponseRuntime C__NET_CORE_3_1 ShowFunctionConfigResponseRuntime PHP7_3 ShowFunctionConfigResponseRuntime }
func GetShowFunctionConfigResponseRuntimeEnum ¶
func GetShowFunctionConfigResponseRuntimeEnum() ShowFunctionConfigResponseRuntimeEnum
type ShowFunctionConfigResponseType ¶ added in v0.0.53
type ShowFunctionConfigResponseType struct {
// contains filtered or unexported fields
}
func (ShowFunctionConfigResponseType) MarshalJSON ¶ added in v0.0.53
func (c ShowFunctionConfigResponseType) MarshalJSON() ([]byte, error)
func (*ShowFunctionConfigResponseType) UnmarshalJSON ¶ added in v0.0.53
func (c *ShowFunctionConfigResponseType) UnmarshalJSON(b []byte) error
type ShowFunctionConfigResponseTypeEnum ¶ added in v0.0.53
type ShowFunctionConfigResponseTypeEnum struct { V1 ShowFunctionConfigResponseType V2 ShowFunctionConfigResponseType }
func GetShowFunctionConfigResponseTypeEnum ¶ added in v0.0.53
func GetShowFunctionConfigResponseTypeEnum() ShowFunctionConfigResponseTypeEnum
type ShowFunctionTriggerRequest ¶
type ShowFunctionTriggerRequest struct { FunctionUrn string `json:"function_urn"` TriggerTypeCode ShowFunctionTriggerRequestTriggerTypeCode `json:"trigger_type_code"` TriggerId string `json:"trigger_id"` }
Request Object
func (ShowFunctionTriggerRequest) String ¶
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 ShowLtsLogDetailsRequest ¶ added in v0.0.53
type ShowLtsLogDetailsRequest struct {
FunctionUrn string `json:"function_urn"`
}
Request Object
func (ShowLtsLogDetailsRequest) String ¶ added in v0.0.53
func (o ShowLtsLogDetailsRequest) String() string
type ShowLtsLogDetailsResponse ¶ added in v0.0.53
type ShowLtsLogDetailsResponse struct { GroupId *string `json:"group_id,omitempty"` StreamId *string `json:"stream_id,omitempty"` StreamName *string `json:"stream_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowLtsLogDetailsResponse) String ¶ added in v0.0.53
func (o ShowLtsLogDetailsResponse) String() string
type ShowTracingRequest ¶ added in v0.0.68
type ShowTracingRequest struct {
FunctionUrn string `json:"function_urn"`
}
Request Object
func (ShowTracingRequest) String ¶ added in v0.0.68
func (o ShowTracingRequest) String() string
type ShowTracingResponse ¶ added in v0.0.68
type ShowTracingResponse struct { TracingAk *string `json:"tracing_ak,omitempty"` TracingSk *string `json:"tracing_sk,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowTracingResponse) String ¶ added in v0.0.68
func (o ShowTracingResponse) String() string
type ShowVersionAliasRequest ¶
type ShowVersionAliasRequest struct { FunctionUrn string `json:"function_urn"` AliasName string `json:"alias_name"` }
Request Object
func (ShowVersionAliasRequest) String ¶
func (o ShowVersionAliasRequest) String() string
type ShowVersionAliasResponse ¶
type ShowVersionAliasResponse struct { Name *string `json:"name,omitempty"` Version *string `json:"version,omitempty"` Description *string `json:"description,omitempty"` LastModified *sdktime.SdkTime `json:"last_modified,omitempty"` AliasUrn *string `json:"alias_urn,omitempty"` AdditionalVersionWeights map[string]int32 `json:"additional_version_weights,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowVersionAliasResponse) String ¶
func (o ShowVersionAliasResponse) String() string
type SlaReportsValue ¶
type SlaReportsValue struct { Timestamp *int32 `json:"timestamp,omitempty"` Value *int32 `json:"value,omitempty"` }
func (SlaReportsValue) String ¶
func (o SlaReportsValue) String() string
type StrategyConfig ¶
type StrategyConfig struct { Concurrency int32 `json:"concurrency"` ConcurrentNum *int32 `json:"concurrent_num,omitempty"` }
函数策略配置。
func (StrategyConfig) String ¶
func (o StrategyConfig) String() string
type UpdateDependencyRequest ¶
type UpdateDependencyRequest struct { DependId string `json:"depend_id"` Body *UpdateDependencyRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateDependencyRequest) String ¶
func (o UpdateDependencyRequest) String() string
type UpdateDependencyRequestBody ¶
type UpdateDependencyRequestBody struct { DependFile *string `json:"depend_file,omitempty"` DependLink *string `json:"depend_link,omitempty"` DependType string `json:"depend_type"` Runtime UpdateDependencyRequestBodyRuntime `json:"runtime"` Name string `json:"name"` 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 { JAVA8 UpdateDependencyRequestBodyRuntime JAVA11 UpdateDependencyRequestBodyRuntime NODE_JS6_10 UpdateDependencyRequestBodyRuntime NODE_JS8_10 UpdateDependencyRequestBodyRuntime NODE_JS10_16 UpdateDependencyRequestBodyRuntime NODE_JS12_13 UpdateDependencyRequestBodyRuntime NODE_JS14_18 UpdateDependencyRequestBodyRuntime PYTHON2_7 UpdateDependencyRequestBodyRuntime PYTHON3_6 UpdateDependencyRequestBodyRuntime PYTHON3_9 UpdateDependencyRequestBodyRuntime GO1_8 UpdateDependencyRequestBodyRuntime GO1_X UpdateDependencyRequestBodyRuntime C__NET_CORE_2_0 UpdateDependencyRequestBodyRuntime C__NET_CORE_2_1 UpdateDependencyRequestBodyRuntime C__NET_CORE_3_1 UpdateDependencyRequestBodyRuntime PHP7_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 *int64 `json:"size,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` FileName *string `json:"file_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDependencyResponse) String ¶
func (o UpdateDependencyResponse) String() string
type UpdateEventRequest ¶
type UpdateEventRequest struct { EventId string `json:"event_id"` FunctionUrn string `json:"function_urn"` Body *UpdateEventRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateEventRequest) String ¶
func (o UpdateEventRequest) String() string
type UpdateEventRequestBody ¶
type UpdateEventRequestBody struct {
Content *string `json:"content,omitempty"`
}
更新测试事件请求体。
func (UpdateEventRequestBody) String ¶
func (o UpdateEventRequestBody) String() string
type UpdateEventResponse ¶
type UpdateEventResponse struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Content *string `json:"content,omitempty"` LastModified float32 `json:"last_modified,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateEventResponse) String ¶
func (o UpdateEventResponse) String() string
type UpdateFunctionAsyncInvokeConfigRequest ¶
type UpdateFunctionAsyncInvokeConfigRequest struct { FunctionUrn string `json:"function_urn"` Body *UpdateFunctionAsyncInvokeConfigRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateFunctionAsyncInvokeConfigRequest) String ¶
func (o UpdateFunctionAsyncInvokeConfigRequest) String() string
type UpdateFunctionAsyncInvokeConfigRequestBody ¶
type UpdateFunctionAsyncInvokeConfigRequestBody struct { MaxAsyncEventAgeInSeconds *int32 `json:"max_async_event_age_in_seconds,omitempty"` MaxAsyncRetryAttempts *int32 `json:"max_async_retry_attempts,omitempty"` DestinationConfig *FuncAsyncDestinationConfig `json:"destination_config,omitempty"` }
函数异步配置请求体。
func (UpdateFunctionAsyncInvokeConfigRequestBody) String ¶
func (o UpdateFunctionAsyncInvokeConfigRequestBody) String() string
type UpdateFunctionAsyncInvokeConfigResponse ¶
type UpdateFunctionAsyncInvokeConfigResponse struct { FuncUrn *string `json:"func_urn,omitempty"` MaxAsyncEventAgeInSeconds *int32 `json:"max_async_event_age_in_seconds,omitempty"` MaxAsyncRetryAttempts *int32 `json:"max_async_retry_attempts,omitempty"` DestinationConfig *FuncAsyncDestinationConfig `json:"destination_config,omitempty"` CreatedTime *string `json:"created_time,omitempty"` LastModified *string `json:"last_modified,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateFunctionAsyncInvokeConfigResponse) String ¶
func (o UpdateFunctionAsyncInvokeConfigResponse) 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 { CodeType UpdateFunctionCodeRequestBodyCodeType `json:"code_type"` CodeUrl *string `json:"code_url,omitempty"` CodeFilename *string `json:"code_filename,omitempty"` FuncCode *FuncCode `json:"func_code"` DependList *[]string `json:"depend_list,omitempty"` }
func (UpdateFunctionCodeRequestBody) String ¶
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 UpdateFunctionCodeResponse ¶
type UpdateFunctionCodeResponse struct { FuncUrn *string `json:"func_urn,omitempty"` FuncName *string `json:"func_name,omitempty"` DomainId *string `json:"domain_id,omitempty"` Runtime *UpdateFunctionCodeResponseRuntime `json:"runtime,omitempty"` CodeType *UpdateFunctionCodeResponseCodeType `json:"code_type,omitempty"` CodeUrl *string `json:"code_url,omitempty"` CodeFilename *string `json:"code_filename,omitempty"` CodeSize *int64 `json:"code_size,omitempty"` Digest *string `json:"digest,omitempty"` LastModified *sdktime.SdkTime `json:"last_modified,omitempty"` FuncCode *FuncCode `json:"func_code,omitempty"` DependList *[]string `json:"depend_list,omitempty"` StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"` Dependencies *[]Dependency `json:"dependencies,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateFunctionCodeResponse) String ¶
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 { JAVA8 UpdateFunctionCodeResponseRuntime JAVA11 UpdateFunctionCodeResponseRuntime NODE_JS6_10 UpdateFunctionCodeResponseRuntime NODE_JS8_10 UpdateFunctionCodeResponseRuntime NODE_JS10_16 UpdateFunctionCodeResponseRuntime NODE_JS12_13 UpdateFunctionCodeResponseRuntime NODE_JS14_18 UpdateFunctionCodeResponseRuntime PYTHON2_7 UpdateFunctionCodeResponseRuntime PYTHON3_6 UpdateFunctionCodeResponseRuntime PYTHON3_9 UpdateFunctionCodeResponseRuntime GO1_8 UpdateFunctionCodeResponseRuntime GO1_X UpdateFunctionCodeResponseRuntime C__NET_CORE_2_0 UpdateFunctionCodeResponseRuntime C__NET_CORE_2_1 UpdateFunctionCodeResponseRuntime C__NET_CORE_3_1 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 { FuncName string `json:"func_name"` Runtime UpdateFunctionConfigRequestBodyRuntime `json:"runtime"` Timeout int32 `json:"timeout"` Handler string `json:"handler"` MemorySize int32 `json:"memory_size"` UserData *string `json:"user_data,omitempty"` Xrole *string `json:"xrole,omitempty"` AppXrole *string `json:"app_xrole,omitempty"` Description *string `json:"description,omitempty"` FuncVpc *FuncVpc `json:"func_vpc,omitempty"` MountConfig *MountConfig `json:"mount_config,omitempty"` StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"` ExtendConfig *string `json:"extend_config,omitempty"` InitializerHandler *string `json:"initializer_handler,omitempty"` InitializerTimeout *int32 `json:"initializer_timeout,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` IsStatefulFunction *bool `json:"is_stateful_function,omitempty"` }
func (UpdateFunctionConfigRequestBody) String ¶
func (o UpdateFunctionConfigRequestBody) String() string
type UpdateFunctionConfigRequestBodyRuntime ¶
type UpdateFunctionConfigRequestBodyRuntime struct {
// contains filtered or unexported fields
}
func (UpdateFunctionConfigRequestBodyRuntime) MarshalJSON ¶
func (c UpdateFunctionConfigRequestBodyRuntime) MarshalJSON() ([]byte, error)
func (*UpdateFunctionConfigRequestBodyRuntime) UnmarshalJSON ¶
func (c *UpdateFunctionConfigRequestBodyRuntime) UnmarshalJSON(b []byte) error
type UpdateFunctionConfigRequestBodyRuntimeEnum ¶
type UpdateFunctionConfigRequestBodyRuntimeEnum struct { JAVA8 UpdateFunctionConfigRequestBodyRuntime JAVA11 UpdateFunctionConfigRequestBodyRuntime NODE_JS6_10 UpdateFunctionConfigRequestBodyRuntime NODE_JS8_10 UpdateFunctionConfigRequestBodyRuntime NODE_JS10_16 UpdateFunctionConfigRequestBodyRuntime NODE_JS12_13 UpdateFunctionConfigRequestBodyRuntime NODE_JS14_18 UpdateFunctionConfigRequestBodyRuntime PYTHON2_7 UpdateFunctionConfigRequestBodyRuntime PYTHON3_6 UpdateFunctionConfigRequestBodyRuntime PYTHON3_9 UpdateFunctionConfigRequestBodyRuntime GO1_8 UpdateFunctionConfigRequestBodyRuntime GO1_X UpdateFunctionConfigRequestBodyRuntime C__NET_CORE_2_0 UpdateFunctionConfigRequestBodyRuntime C__NET_CORE_2_1 UpdateFunctionConfigRequestBodyRuntime C__NET_CORE_3_1 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"` EncryptedUserData *string `json:"encrypted_user_data,omitempty"` Digest *string `json:"digest,omitempty"` Version *string `json:"version,omitempty"` ImageName *string `json:"image_name,omitempty"` Xrole *string `json:"xrole,omitempty"` AppXrole *string `json:"app_xrole,omitempty"` Description *string `json:"description,omitempty"` LastModified *sdktime.SdkTime `json:"last_modified,omitempty"` FuncVpc *FuncVpc `json:"func_vpc,omitempty"` MountConfig *MountConfig `json:"mount_config,omitempty"` StrategyConfig *StrategyConfig `json:"strategy_config,omitempty"` Dependencies *[]Dependency `json:"dependencies,omitempty"` InitializerHandler *string `json:"initializer_handler,omitempty"` InitializerTimeout *int32 `json:"initializer_timeout,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` LongTime *bool `json:"long_time,omitempty"` LogGroupId *string `json:"log_group_id,omitempty"` LogStreamId *string `json:"log_stream_id,omitempty"` Type *UpdateFunctionConfigResponseType `json:"type,omitempty"` EnableDynamicMemory *bool `json:"enable_dynamic_memory,omitempty"` IsStatefulFunction *bool `json:"is_stateful_function,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 { JAVA8 UpdateFunctionConfigResponseRuntime JAVA11 UpdateFunctionConfigResponseRuntime NODE_JS6_10 UpdateFunctionConfigResponseRuntime NODE_JS8_10 UpdateFunctionConfigResponseRuntime NODE_JS10_16 UpdateFunctionConfigResponseRuntime NODE_JS12_13 UpdateFunctionConfigResponseRuntime NODE_JS14_18 UpdateFunctionConfigResponseRuntime PYTHON2_7 UpdateFunctionConfigResponseRuntime PYTHON3_6 UpdateFunctionConfigResponseRuntime PYTHON3_9 UpdateFunctionConfigResponseRuntime GO1_8 UpdateFunctionConfigResponseRuntime GO1_X UpdateFunctionConfigResponseRuntime C__NET_CORE_2_0 UpdateFunctionConfigResponseRuntime C__NET_CORE_2_1 UpdateFunctionConfigResponseRuntime C__NET_CORE_3_1 UpdateFunctionConfigResponseRuntime PHP7_3 UpdateFunctionConfigResponseRuntime }
func GetUpdateFunctionConfigResponseRuntimeEnum ¶
func GetUpdateFunctionConfigResponseRuntimeEnum() UpdateFunctionConfigResponseRuntimeEnum
type UpdateFunctionConfigResponseType ¶ added in v0.0.53
type UpdateFunctionConfigResponseType struct {
// contains filtered or unexported fields
}
func (UpdateFunctionConfigResponseType) MarshalJSON ¶ added in v0.0.53
func (c UpdateFunctionConfigResponseType) MarshalJSON() ([]byte, error)
func (*UpdateFunctionConfigResponseType) UnmarshalJSON ¶ added in v0.0.53
func (c *UpdateFunctionConfigResponseType) UnmarshalJSON(b []byte) error
type UpdateFunctionConfigResponseTypeEnum ¶ added in v0.0.53
type UpdateFunctionConfigResponseTypeEnum struct { V1 UpdateFunctionConfigResponseType V2 UpdateFunctionConfigResponseType }
func GetUpdateFunctionConfigResponseTypeEnum ¶ added in v0.0.53
func GetUpdateFunctionConfigResponseTypeEnum() UpdateFunctionConfigResponseTypeEnum
type UpdateFunctionReservedInstancesRequest ¶
type UpdateFunctionReservedInstancesRequest struct { FunctionUrn string `json:"function_urn"` Body *UpdateFunctionReservedInstancesRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateFunctionReservedInstancesRequest) String ¶
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 UpdateTracingRequest ¶ added in v0.0.68
type UpdateTracingRequest struct { FunctionUrn string `json:"function_urn"` Body *UpdateTracingRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateTracingRequest) String ¶ added in v0.0.68
func (o UpdateTracingRequest) String() string
type UpdateTracingRequestBody ¶ added in v0.0.68
type UpdateTracingRequestBody struct { TracingAk *string `json:"tracing_ak,omitempty"` TracingSk *string `json:"tracing_sk,omitempty"` }
更新函数调用链请求体
func (UpdateTracingRequestBody) String ¶ added in v0.0.68
func (o UpdateTracingRequestBody) String() string
type UpdateTracingResponse ¶ added in v0.0.68
type UpdateTracingResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateTracingResponse) String ¶ added in v0.0.68
func (o UpdateTracingResponse) String() string
type UpdateTriggerRequest ¶
type UpdateTriggerRequest struct { FunctionUrn string `json:"function_urn"` TriggerTypeCode UpdateTriggerRequestTriggerTypeCode `json:"trigger_type_code"` TriggerId string `json:"trigger_id"` Body *UpdateTriggerRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateTriggerRequest) String ¶
func (o UpdateTriggerRequest) String() string
type UpdateTriggerRequestBody ¶
type UpdateTriggerRequestBody struct {
TriggerStatus UpdateTriggerRequestBodyTriggerStatus `json:"trigger_status"`
}
func (UpdateTriggerRequestBody) String ¶
func (o UpdateTriggerRequestBody) String() string
type UpdateTriggerRequestBodyTriggerStatus ¶
type UpdateTriggerRequestBodyTriggerStatus struct {
// contains filtered or unexported fields
}
func (UpdateTriggerRequestBodyTriggerStatus) MarshalJSON ¶
func (c UpdateTriggerRequestBodyTriggerStatus) MarshalJSON() ([]byte, error)
func (*UpdateTriggerRequestBodyTriggerStatus) UnmarshalJSON ¶
func (c *UpdateTriggerRequestBodyTriggerStatus) UnmarshalJSON(b []byte) error
type UpdateTriggerRequestBodyTriggerStatusEnum ¶
type UpdateTriggerRequestBodyTriggerStatusEnum struct { ACTIVE UpdateTriggerRequestBodyTriggerStatus DISABLED UpdateTriggerRequestBodyTriggerStatus }
func GetUpdateTriggerRequestBodyTriggerStatusEnum ¶
func GetUpdateTriggerRequestBodyTriggerStatusEnum() UpdateTriggerRequestBodyTriggerStatusEnum
type UpdateTriggerRequestTriggerTypeCode ¶
type UpdateTriggerRequestTriggerTypeCode struct {
// contains filtered or unexported fields
}
func (UpdateTriggerRequestTriggerTypeCode) MarshalJSON ¶
func (c UpdateTriggerRequestTriggerTypeCode) MarshalJSON() ([]byte, error)
func (*UpdateTriggerRequestTriggerTypeCode) UnmarshalJSON ¶
func (c *UpdateTriggerRequestTriggerTypeCode) UnmarshalJSON(b []byte) error
type 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"` AliasName string `json:"alias_name"` Body *UpdateVersionAliasRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateVersionAliasRequest) String ¶
func (o UpdateVersionAliasRequest) String() string
type UpdateVersionAliasRequestBody ¶
type UpdateVersionAliasRequestBody struct { Version string `json:"version"` Description *string `json:"description,omitempty"` AdditionalVersionWeights map[string]int32 `json:"additional_version_weights,omitempty"` }
func (UpdateVersionAliasRequestBody) String ¶
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_async_invoke_reserved_function_request.go
- model_async_invoke_reserved_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_async_invoke_config_request.go
- model_delete_function_async_invoke_config_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_enable_lts_logs_request.go
- model_enable_lts_logs_response.go
- model_export_function_request.go
- model_export_function_response.go
- model_func_async_destination_config.go
- model_func_code.go
- model_func_destination_config.go
- model_func_mount.go
- model_func_vpc.go
- model_function_async_config.go
- model_import_function_request.go
- model_import_function_request_body.go
- model_import_function_response.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_async_invocations_request.go
- model_list_function_async_invocations_response.go
- model_list_function_async_invocations_result.go
- model_list_function_async_invoke_config_request.go
- model_list_function_async_invoke_config_response.go
- model_list_function_async_invoke_config_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_page_info.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_async_invoke_config_request.go
- model_show_function_async_invoke_config_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_lts_log_details_request.go
- model_show_lts_log_details_response.go
- model_show_tracing_request.go
- model_show_tracing_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_async_invoke_config_request.go
- model_update_function_async_invoke_config_request_body.go
- model_update_function_async_invoke_config_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_tracing_request.go
- model_update_tracing_request_body.go
- model_update_tracing_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