client

package
v2.0.12 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 7 Imported by: 8

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccelerationInfo

type AccelerationInfo struct {
	Status *string `json:"status,omitempty" xml:"status,omitempty"`
}

func (AccelerationInfo) GoString

func (s AccelerationInfo) GoString() string

func (*AccelerationInfo) SetStatus

func (s *AccelerationInfo) SetStatus(v string) *AccelerationInfo

func (AccelerationInfo) String

func (s AccelerationInfo) String() string

type AsyncConfigMeta

type AsyncConfigMeta struct {
	FunctionName *string `json:"functionName,omitempty" xml:"functionName,omitempty"`
	Qualifier    *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
	ServiceName  *string `json:"serviceName,omitempty" xml:"serviceName,omitempty"`
}

func (AsyncConfigMeta) GoString

func (s AsyncConfigMeta) GoString() string

func (*AsyncConfigMeta) SetFunctionName

func (s *AsyncConfigMeta) SetFunctionName(v string) *AsyncConfigMeta

func (*AsyncConfigMeta) SetQualifier

func (s *AsyncConfigMeta) SetQualifier(v string) *AsyncConfigMeta

func (*AsyncConfigMeta) SetServiceName

func (s *AsyncConfigMeta) SetServiceName(v string) *AsyncConfigMeta

func (AsyncConfigMeta) String

func (s AsyncConfigMeta) String() string

type AvailableAZ

type AvailableAZ struct {
	AvailableAZs *string `json:"availableAZs,omitempty" xml:"availableAZs,omitempty"`
}

func (AvailableAZ) GoString

func (s AvailableAZ) GoString() string

func (*AvailableAZ) SetAvailableAZs

func (s *AvailableAZ) SetAvailableAZs(v string) *AvailableAZ

func (AvailableAZ) String

func (s AvailableAZ) String() string

type BatchWindow added in v2.0.7

type BatchWindow struct {
	CountBasedWindow *int64 `json:"CountBasedWindow,omitempty" xml:"CountBasedWindow,omitempty"`
	TimeBasedWindow  *int64 `json:"TimeBasedWindow,omitempty" xml:"TimeBasedWindow,omitempty"`
}

func (BatchWindow) GoString added in v2.0.7

func (s BatchWindow) GoString() string

func (*BatchWindow) SetCountBasedWindow added in v2.0.7

func (s *BatchWindow) SetCountBasedWindow(v int64) *BatchWindow

func (*BatchWindow) SetTimeBasedWindow added in v2.0.7

func (s *BatchWindow) SetTimeBasedWindow(v int64) *BatchWindow

func (BatchWindow) String added in v2.0.7

func (s BatchWindow) String() string

type CDNEventsTriggerConfig

type CDNEventsTriggerConfig struct {
	EventName    *string              `json:"eventName,omitempty" xml:"eventName,omitempty"`
	EventVersion *string              `json:"eventVersion,omitempty" xml:"eventVersion,omitempty"`
	Filter       map[string][]*string `json:"filter,omitempty" xml:"filter,omitempty"`
	Notes        *string              `json:"notes,omitempty" xml:"notes,omitempty"`
}

func (CDNEventsTriggerConfig) GoString

func (s CDNEventsTriggerConfig) GoString() string

func (*CDNEventsTriggerConfig) SetEventName

func (*CDNEventsTriggerConfig) SetEventVersion

func (s *CDNEventsTriggerConfig) SetEventVersion(v string) *CDNEventsTriggerConfig

func (*CDNEventsTriggerConfig) SetFilter

func (*CDNEventsTriggerConfig) SetNotes

func (CDNEventsTriggerConfig) String

func (s CDNEventsTriggerConfig) String() string

type CertConfig

type CertConfig struct {
	CertName    *string `json:"certName,omitempty" xml:"certName,omitempty"`
	Certificate *string `json:"certificate,omitempty" xml:"certificate,omitempty"`
	PrivateKey  *string `json:"privateKey,omitempty" xml:"privateKey,omitempty"`
}

func (CertConfig) GoString

func (s CertConfig) GoString() string

func (*CertConfig) SetCertName

func (s *CertConfig) SetCertName(v string) *CertConfig

func (*CertConfig) SetCertificate

func (s *CertConfig) SetCertificate(v string) *CertConfig

func (*CertConfig) SetPrivateKey

func (s *CertConfig) SetPrivateKey(v string) *CertConfig

func (CertConfig) String

func (s CertConfig) String() string

type ClaimGPUInstanceHeaders

type ClaimGPUInstanceHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (ClaimGPUInstanceHeaders) GoString

func (s ClaimGPUInstanceHeaders) GoString() string

func (*ClaimGPUInstanceHeaders) SetCommonHeaders

func (s *ClaimGPUInstanceHeaders) SetCommonHeaders(v map[string]*string) *ClaimGPUInstanceHeaders

func (*ClaimGPUInstanceHeaders) SetXFcAccountId

func (*ClaimGPUInstanceHeaders) SetXFcDate

func (*ClaimGPUInstanceHeaders) SetXFcTraceId

func (ClaimGPUInstanceHeaders) String

func (s ClaimGPUInstanceHeaders) String() string

type ClaimGPUInstanceRequest

type ClaimGPUInstanceRequest struct {
	// The disk performance level of the GPU rendering instance.
	DiskPerformanceLevel *string `json:"diskPerformanceLevel,omitempty" xml:"diskPerformanceLevel,omitempty"`
	// The system disk space of the GPU rendering instance. Unit: GB.
	DiskSizeGigabytes *string `json:"diskSizeGigabytes,omitempty" xml:"diskSizeGigabytes,omitempty"`
	// The image ID of the GPU rendering instance.
	ImageId *string `json:"imageId,omitempty" xml:"imageId,omitempty"`
	// The specifications of the GPU rendering instance.
	InstanceType *string `json:"instanceType,omitempty" xml:"instanceType,omitempty"`
	// The outbound Internet bandwidth of the GPU rendering instance.
	InternetBandwidthOut *string `json:"internetBandwidthOut,omitempty" xml:"internetBandwidthOut,omitempty"`
	// The password of the GPU rendering instance.
	Password *string `json:"password,omitempty" xml:"password,omitempty"`
	// The user role.
	Role *string `json:"role,omitempty" xml:"role,omitempty"`
	// The security group ID.
	SgId *string `json:"sgId,omitempty" xml:"sgId,omitempty"`
	// The source IPv4 CIDR block of the GPU rendering instance.
	SourceCidrIp *string `json:"sourceCidrIp,omitempty" xml:"sourceCidrIp,omitempty"`
	// The range of TCP ports that are open to the security group of the GPU rendering instance.
	TcpPortRange []*string `json:"tcpPortRange,omitempty" xml:"tcpPortRange,omitempty" type:"Repeated"`
	// The range of UDP ports that are open to the security group of the GPU rendering instance.
	UdpPortRange []*string `json:"udpPortRange,omitempty" xml:"udpPortRange,omitempty" type:"Repeated"`
	// The ID of the VPC in which the instance resides.
	VpcId *string `json:"vpcId,omitempty" xml:"vpcId,omitempty"`
	// The vSwitch ID of the instance.
	VswId *string `json:"vswId,omitempty" xml:"vswId,omitempty"`
}

func (ClaimGPUInstanceRequest) GoString

func (s ClaimGPUInstanceRequest) GoString() string

func (*ClaimGPUInstanceRequest) SetDiskPerformanceLevel

func (s *ClaimGPUInstanceRequest) SetDiskPerformanceLevel(v string) *ClaimGPUInstanceRequest

func (*ClaimGPUInstanceRequest) SetDiskSizeGigabytes

func (s *ClaimGPUInstanceRequest) SetDiskSizeGigabytes(v string) *ClaimGPUInstanceRequest

func (*ClaimGPUInstanceRequest) SetImageId

func (*ClaimGPUInstanceRequest) SetInstanceType

func (*ClaimGPUInstanceRequest) SetInternetBandwidthOut

func (s *ClaimGPUInstanceRequest) SetInternetBandwidthOut(v string) *ClaimGPUInstanceRequest

func (*ClaimGPUInstanceRequest) SetPassword

func (*ClaimGPUInstanceRequest) SetRole added in v2.0.1

func (*ClaimGPUInstanceRequest) SetSgId added in v2.0.1

func (*ClaimGPUInstanceRequest) SetSourceCidrIp

func (*ClaimGPUInstanceRequest) SetTcpPortRange

func (s *ClaimGPUInstanceRequest) SetTcpPortRange(v []*string) *ClaimGPUInstanceRequest

func (*ClaimGPUInstanceRequest) SetUdpPortRange

func (s *ClaimGPUInstanceRequest) SetUdpPortRange(v []*string) *ClaimGPUInstanceRequest

func (*ClaimGPUInstanceRequest) SetVpcId added in v2.0.1

func (*ClaimGPUInstanceRequest) SetVswId added in v2.0.1

func (ClaimGPUInstanceRequest) String

func (s ClaimGPUInstanceRequest) String() string

type ClaimGPUInstanceResponse

type ClaimGPUInstanceResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ClaimGPUInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ClaimGPUInstanceResponse) GoString

func (s ClaimGPUInstanceResponse) GoString() string

func (*ClaimGPUInstanceResponse) SetBody

func (*ClaimGPUInstanceResponse) SetHeaders

func (*ClaimGPUInstanceResponse) SetStatusCode

func (ClaimGPUInstanceResponse) String

func (s ClaimGPUInstanceResponse) String() string

type ClaimGPUInstanceResponseBody

type ClaimGPUInstanceResponseBody struct {
	// The time when the product instance is created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The ID of the instance that you query.
	InstanceId *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	// The public IP address of the server.
	PublicIp *string `json:"publicIp,omitempty" xml:"publicIp,omitempty"`
}

func (ClaimGPUInstanceResponseBody) GoString

func (s ClaimGPUInstanceResponseBody) GoString() string

func (*ClaimGPUInstanceResponseBody) SetCreatedTime

func (*ClaimGPUInstanceResponseBody) SetInstanceId

func (*ClaimGPUInstanceResponseBody) SetPublicIp

func (ClaimGPUInstanceResponseBody) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) BuildHTTPRequest

func (client *Client) BuildHTTPRequest(url *string, method *string, body []byte, headers *http.Header) (_result *http.Request, _err error)

func (*Client) ClaimGPUInstance

func (client *Client) ClaimGPUInstance(request *ClaimGPUInstanceRequest) (_result *ClaimGPUInstanceResponse, _err error)

func (*Client) ClaimGPUInstanceWithOptions

func (client *Client) ClaimGPUInstanceWithOptions(request *ClaimGPUInstanceRequest, headers *ClaimGPUInstanceHeaders, runtime *util.RuntimeOptions) (_result *ClaimGPUInstanceResponse, _err error)

func (*Client) CreateAlias

func (client *Client) CreateAlias(serviceName *string, request *CreateAliasRequest) (_result *CreateAliasResponse, _err error)

func (*Client) CreateAliasWithOptions

func (client *Client) CreateAliasWithOptions(serviceName *string, request *CreateAliasRequest, headers *CreateAliasHeaders, runtime *util.RuntimeOptions) (_result *CreateAliasResponse, _err error)

func (*Client) CreateCustomDomain

func (client *Client) CreateCustomDomain(request *CreateCustomDomainRequest) (_result *CreateCustomDomainResponse, _err error)

func (*Client) CreateCustomDomainWithOptions

func (client *Client) CreateCustomDomainWithOptions(request *CreateCustomDomainRequest, headers *CreateCustomDomainHeaders, runtime *util.RuntimeOptions) (_result *CreateCustomDomainResponse, _err error)

func (*Client) CreateFunction

func (client *Client) CreateFunction(serviceName *string, request *CreateFunctionRequest) (_result *CreateFunctionResponse, _err error)

func (*Client) CreateFunctionWithOptions

func (client *Client) CreateFunctionWithOptions(serviceName *string, request *CreateFunctionRequest, headers *CreateFunctionHeaders, runtime *util.RuntimeOptions) (_result *CreateFunctionResponse, _err error)

func (*Client) CreateLayerVersion

func (client *Client) CreateLayerVersion(layerName *string, request *CreateLayerVersionRequest) (_result *CreateLayerVersionResponse, _err error)

func (*Client) CreateLayerVersionWithOptions

func (client *Client) CreateLayerVersionWithOptions(layerName *string, request *CreateLayerVersionRequest, headers *CreateLayerVersionHeaders, runtime *util.RuntimeOptions) (_result *CreateLayerVersionResponse, _err error)

func (*Client) CreateService

func (client *Client) CreateService(request *CreateServiceRequest) (_result *CreateServiceResponse, _err error)

func (*Client) CreateServiceWithOptions

func (client *Client) CreateServiceWithOptions(request *CreateServiceRequest, headers *CreateServiceHeaders, runtime *util.RuntimeOptions) (_result *CreateServiceResponse, _err error)

func (*Client) CreateTrigger

func (client *Client) CreateTrigger(serviceName *string, functionName *string, request *CreateTriggerRequest) (_result *CreateTriggerResponse, _err error)

func (*Client) CreateTriggerWithOptions

func (client *Client) CreateTriggerWithOptions(serviceName *string, functionName *string, request *CreateTriggerRequest, headers *CreateTriggerHeaders, runtime *util.RuntimeOptions) (_result *CreateTriggerResponse, _err error)

func (*Client) CreateVpcBinding

func (client *Client) CreateVpcBinding(serviceName *string, request *CreateVpcBindingRequest) (_result *CreateVpcBindingResponse, _err error)

func (*Client) CreateVpcBindingWithOptions

func (client *Client) CreateVpcBindingWithOptions(serviceName *string, request *CreateVpcBindingRequest, headers *CreateVpcBindingHeaders, runtime *util.RuntimeOptions) (_result *CreateVpcBindingResponse, _err error)

func (*Client) DeleteAlias

func (client *Client) DeleteAlias(serviceName *string, aliasName *string) (_result *DeleteAliasResponse, _err error)

func (*Client) DeleteAliasWithOptions

func (client *Client) DeleteAliasWithOptions(serviceName *string, aliasName *string, headers *DeleteAliasHeaders, runtime *util.RuntimeOptions) (_result *DeleteAliasResponse, _err error)

func (*Client) DeleteCustomDomain

func (client *Client) DeleteCustomDomain(domainName *string) (_result *DeleteCustomDomainResponse, _err error)

func (*Client) DeleteCustomDomainWithOptions

func (client *Client) DeleteCustomDomainWithOptions(domainName *string, headers *DeleteCustomDomainHeaders, runtime *util.RuntimeOptions) (_result *DeleteCustomDomainResponse, _err error)

func (*Client) DeleteFunction

func (client *Client) DeleteFunction(serviceName *string, functionName *string) (_result *DeleteFunctionResponse, _err error)

func (*Client) DeleteFunctionAsyncInvokeConfig

func (client *Client) DeleteFunctionAsyncInvokeConfig(serviceName *string, functionName *string, request *DeleteFunctionAsyncInvokeConfigRequest) (_result *DeleteFunctionAsyncInvokeConfigResponse, _err error)

func (*Client) DeleteFunctionAsyncInvokeConfigWithOptions

func (client *Client) DeleteFunctionAsyncInvokeConfigWithOptions(serviceName *string, functionName *string, request *DeleteFunctionAsyncInvokeConfigRequest, headers *DeleteFunctionAsyncInvokeConfigHeaders, runtime *util.RuntimeOptions) (_result *DeleteFunctionAsyncInvokeConfigResponse, _err error)

func (*Client) DeleteFunctionOnDemandConfig

func (client *Client) DeleteFunctionOnDemandConfig(serviceName *string, functionName *string, request *DeleteFunctionOnDemandConfigRequest) (_result *DeleteFunctionOnDemandConfigResponse, _err error)

func (*Client) DeleteFunctionOnDemandConfigWithOptions

func (client *Client) DeleteFunctionOnDemandConfigWithOptions(serviceName *string, functionName *string, request *DeleteFunctionOnDemandConfigRequest, headers *DeleteFunctionOnDemandConfigHeaders, runtime *util.RuntimeOptions) (_result *DeleteFunctionOnDemandConfigResponse, _err error)

func (*Client) DeleteFunctionWithOptions

func (client *Client) DeleteFunctionWithOptions(serviceName *string, functionName *string, headers *DeleteFunctionHeaders, runtime *util.RuntimeOptions) (_result *DeleteFunctionResponse, _err error)

func (*Client) DeleteLayerVersion

func (client *Client) DeleteLayerVersion(layerName *string, version *string) (_result *DeleteLayerVersionResponse, _err error)

func (*Client) DeleteLayerVersionWithOptions

func (client *Client) DeleteLayerVersionWithOptions(layerName *string, version *string, headers *DeleteLayerVersionHeaders, runtime *util.RuntimeOptions) (_result *DeleteLayerVersionResponse, _err error)

func (*Client) DeleteService

func (client *Client) DeleteService(serviceName *string) (_result *DeleteServiceResponse, _err error)

func (*Client) DeleteServiceVersion

func (client *Client) DeleteServiceVersion(serviceName *string, versionId *string) (_result *DeleteServiceVersionResponse, _err error)

func (*Client) DeleteServiceVersionWithOptions

func (client *Client) DeleteServiceVersionWithOptions(serviceName *string, versionId *string, headers *DeleteServiceVersionHeaders, runtime *util.RuntimeOptions) (_result *DeleteServiceVersionResponse, _err error)

func (*Client) DeleteServiceWithOptions

func (client *Client) DeleteServiceWithOptions(serviceName *string, headers *DeleteServiceHeaders, runtime *util.RuntimeOptions) (_result *DeleteServiceResponse, _err error)

func (*Client) DeleteTrigger

func (client *Client) DeleteTrigger(serviceName *string, functionName *string, triggerName *string) (_result *DeleteTriggerResponse, _err error)

func (*Client) DeleteTriggerWithOptions

func (client *Client) DeleteTriggerWithOptions(serviceName *string, functionName *string, triggerName *string, headers *DeleteTriggerHeaders, runtime *util.RuntimeOptions) (_result *DeleteTriggerResponse, _err error)

func (*Client) DeleteVpcBinding

func (client *Client) DeleteVpcBinding(serviceName *string, vpcId *string) (_result *DeleteVpcBindingResponse, _err error)

func (*Client) DeleteVpcBindingWithOptions

func (client *Client) DeleteVpcBindingWithOptions(serviceName *string, vpcId *string, headers *DeleteVpcBindingHeaders, runtime *util.RuntimeOptions) (_result *DeleteVpcBindingResponse, _err error)

func (*Client) DeregisterEventSource

func (client *Client) DeregisterEventSource(serviceName *string, functionName *string, sourceArn *string, request *DeregisterEventSourceRequest) (_result *DeregisterEventSourceResponse, _err error)

func (*Client) DeregisterEventSourceWithOptions

func (client *Client) DeregisterEventSourceWithOptions(serviceName *string, functionName *string, sourceArn *string, request *DeregisterEventSourceRequest, headers *DeregisterEventSourceHeaders, runtime *util.RuntimeOptions) (_result *DeregisterEventSourceResponse, _err error)

func (*Client) GetAccountSettings

func (client *Client) GetAccountSettings() (_result *GetAccountSettingsResponse, _err error)

func (*Client) GetAccountSettingsWithOptions

func (client *Client) GetAccountSettingsWithOptions(headers *GetAccountSettingsHeaders, runtime *util.RuntimeOptions) (_result *GetAccountSettingsResponse, _err error)

func (*Client) GetAlias

func (client *Client) GetAlias(serviceName *string, aliasName *string) (_result *GetAliasResponse, _err error)

func (*Client) GetAliasWithOptions

func (client *Client) GetAliasWithOptions(serviceName *string, aliasName *string, headers *GetAliasHeaders, runtime *util.RuntimeOptions) (_result *GetAliasResponse, _err error)

func (*Client) GetCustomDomain

func (client *Client) GetCustomDomain(domainName *string) (_result *GetCustomDomainResponse, _err error)

func (*Client) GetCustomDomainWithOptions

func (client *Client) GetCustomDomainWithOptions(domainName *string, headers *GetCustomDomainHeaders, runtime *util.RuntimeOptions) (_result *GetCustomDomainResponse, _err error)

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) GetFunction

func (client *Client) GetFunction(serviceName *string, functionName *string, request *GetFunctionRequest) (_result *GetFunctionResponse, _err error)

func (*Client) GetFunctionAsyncInvokeConfig

func (client *Client) GetFunctionAsyncInvokeConfig(serviceName *string, functionName *string, request *GetFunctionAsyncInvokeConfigRequest) (_result *GetFunctionAsyncInvokeConfigResponse, _err error)

*

  • StatefulAsyncInvocation indicates whether the asynchronous task feature is enabled. If the value of StatefulAsyncInvocation is true, the asynchronous task feature is enabled. All asynchronous invocations change to asynchronous task mode. *
  • @param request GetFunctionAsyncInvokeConfigRequest
  • @return GetFunctionAsyncInvokeConfigResponse

func (*Client) GetFunctionAsyncInvokeConfigWithOptions

func (client *Client) GetFunctionAsyncInvokeConfigWithOptions(serviceName *string, functionName *string, request *GetFunctionAsyncInvokeConfigRequest, headers *GetFunctionAsyncInvokeConfigHeaders, runtime *util.RuntimeOptions) (_result *GetFunctionAsyncInvokeConfigResponse, _err error)

*

  • StatefulAsyncInvocation indicates whether the asynchronous task feature is enabled. If the value of StatefulAsyncInvocation is true, the asynchronous task feature is enabled. All asynchronous invocations change to asynchronous task mode. *
  • @param request GetFunctionAsyncInvokeConfigRequest
  • @param headers GetFunctionAsyncInvokeConfigHeaders
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetFunctionAsyncInvokeConfigResponse

func (*Client) GetFunctionCode

func (client *Client) GetFunctionCode(serviceName *string, functionName *string, request *GetFunctionCodeRequest) (_result *GetFunctionCodeResponse, _err error)

func (*Client) GetFunctionCodeWithOptions

func (client *Client) GetFunctionCodeWithOptions(serviceName *string, functionName *string, request *GetFunctionCodeRequest, headers *GetFunctionCodeHeaders, runtime *util.RuntimeOptions) (_result *GetFunctionCodeResponse, _err error)

func (*Client) GetFunctionOnDemandConfig

func (client *Client) GetFunctionOnDemandConfig(serviceName *string, functionName *string, request *GetFunctionOnDemandConfigRequest) (_result *GetFunctionOnDemandConfigResponse, _err error)

func (*Client) GetFunctionOnDemandConfigWithOptions

func (client *Client) GetFunctionOnDemandConfigWithOptions(serviceName *string, functionName *string, request *GetFunctionOnDemandConfigRequest, headers *GetFunctionOnDemandConfigHeaders, runtime *util.RuntimeOptions) (_result *GetFunctionOnDemandConfigResponse, _err error)

func (*Client) GetFunctionWithOptions

func (client *Client) GetFunctionWithOptions(serviceName *string, functionName *string, request *GetFunctionRequest, headers *GetFunctionHeaders, runtime *util.RuntimeOptions) (_result *GetFunctionResponse, _err error)

func (*Client) GetLayerVersion

func (client *Client) GetLayerVersion(layerName *string, version *string) (_result *GetLayerVersionResponse, _err error)

func (*Client) GetLayerVersionWithOptions

func (client *Client) GetLayerVersionWithOptions(layerName *string, version *string, headers *GetLayerVersionHeaders, runtime *util.RuntimeOptions) (_result *GetLayerVersionResponse, _err error)

func (*Client) GetProvisionConfig

func (client *Client) GetProvisionConfig(serviceName *string, functionName *string, request *GetProvisionConfigRequest) (_result *GetProvisionConfigResponse, _err error)

func (*Client) GetProvisionConfigWithOptions

func (client *Client) GetProvisionConfigWithOptions(serviceName *string, functionName *string, request *GetProvisionConfigRequest, headers *GetProvisionConfigHeaders, runtime *util.RuntimeOptions) (_result *GetProvisionConfigResponse, _err error)

func (*Client) GetResourceTags

func (client *Client) GetResourceTags(request *GetResourceTagsRequest) (_result *GetResourceTagsResponse, _err error)

func (*Client) GetResourceTagsWithOptions

func (client *Client) GetResourceTagsWithOptions(request *GetResourceTagsRequest, headers *GetResourceTagsHeaders, runtime *util.RuntimeOptions) (_result *GetResourceTagsResponse, _err error)

func (*Client) GetService

func (client *Client) GetService(serviceName *string, request *GetServiceRequest) (_result *GetServiceResponse, _err error)

func (*Client) GetServiceWithOptions

func (client *Client) GetServiceWithOptions(serviceName *string, request *GetServiceRequest, headers *GetServiceHeaders, runtime *util.RuntimeOptions) (_result *GetServiceResponse, _err error)

func (*Client) GetStatefulAsyncInvocation

func (client *Client) GetStatefulAsyncInvocation(serviceName *string, functionName *string, invocationId *string, request *GetStatefulAsyncInvocationRequest) (_result *GetStatefulAsyncInvocationResponse, _err error)

*

  • The version or alias of the service to which the asynchronous task belongs. *
  • @param request GetStatefulAsyncInvocationRequest
  • @return GetStatefulAsyncInvocationResponse

func (*Client) GetStatefulAsyncInvocationWithOptions

func (client *Client) GetStatefulAsyncInvocationWithOptions(serviceName *string, functionName *string, invocationId *string, request *GetStatefulAsyncInvocationRequest, headers *GetStatefulAsyncInvocationHeaders, runtime *util.RuntimeOptions) (_result *GetStatefulAsyncInvocationResponse, _err error)

*

  • The version or alias of the service to which the asynchronous task belongs. *
  • @param request GetStatefulAsyncInvocationRequest
  • @param headers GetStatefulAsyncInvocationHeaders
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetStatefulAsyncInvocationResponse

func (*Client) GetTrigger

func (client *Client) GetTrigger(serviceName *string, functionName *string, triggerName *string) (_result *GetTriggerResponse, _err error)

func (*Client) GetTriggerWithOptions

func (client *Client) GetTriggerWithOptions(serviceName *string, functionName *string, triggerName *string, headers *GetTriggerHeaders, runtime *util.RuntimeOptions) (_result *GetTriggerResponse, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) InvokeAnonymousHTTPTrigger

func (client *Client) InvokeAnonymousHTTPTrigger(url *string, method *string, body []byte, headers *http.Header) (_result *http.Response, _err error)

func (*Client) InvokeFunction

func (client *Client) InvokeFunction(serviceName *string, functionName *string, request *InvokeFunctionRequest) (_result *InvokeFunctionResponse, _err error)

func (*Client) InvokeFunctionWithOptions

func (client *Client) InvokeFunctionWithOptions(serviceName *string, functionName *string, request *InvokeFunctionRequest, headers *InvokeFunctionHeaders, runtime *util.RuntimeOptions) (_result *InvokeFunctionResponse, _err error)

func (*Client) InvokeHTTPTrigger

func (client *Client) InvokeHTTPTrigger(url *string, method *string, body []byte, headers *http.Header) (_result *http.Response, _err error)

func (*Client) ListAliases

func (client *Client) ListAliases(serviceName *string, request *ListAliasesRequest) (_result *ListAliasesResponse, _err error)

func (*Client) ListAliasesWithOptions

func (client *Client) ListAliasesWithOptions(serviceName *string, request *ListAliasesRequest, headers *ListAliasesHeaders, runtime *util.RuntimeOptions) (_result *ListAliasesResponse, _err error)

func (*Client) ListCustomDomains

func (client *Client) ListCustomDomains(request *ListCustomDomainsRequest) (_result *ListCustomDomainsResponse, _err error)

func (*Client) ListCustomDomainsWithOptions

func (client *Client) ListCustomDomainsWithOptions(request *ListCustomDomainsRequest, headers *ListCustomDomainsHeaders, runtime *util.RuntimeOptions) (_result *ListCustomDomainsResponse, _err error)

func (*Client) ListEventSources

func (client *Client) ListEventSources(serviceName *string, functionName *string, request *ListEventSourcesRequest) (_result *ListEventSourcesResponse, _err error)

func (*Client) ListEventSourcesWithOptions

func (client *Client) ListEventSourcesWithOptions(serviceName *string, functionName *string, request *ListEventSourcesRequest, headers *ListEventSourcesHeaders, runtime *util.RuntimeOptions) (_result *ListEventSourcesResponse, _err error)

func (*Client) ListFunctionAsyncInvokeConfigs

func (client *Client) ListFunctionAsyncInvokeConfigs(serviceName *string, functionName *string, request *ListFunctionAsyncInvokeConfigsRequest) (_result *ListFunctionAsyncInvokeConfigsResponse, _err error)

*

  • StatefulAsyncInvocation indicates whether the asynchronous task feature is enabled. If StatefulAsyncInvocation is set to true, the asynchronous task is enabled. All asynchronous invocations to the function corresponding to this configuration change to asynchronous task mode. *
  • @param request ListFunctionAsyncInvokeConfigsRequest
  • @return ListFunctionAsyncInvokeConfigsResponse

func (*Client) ListFunctionAsyncInvokeConfigsWithOptions

func (client *Client) ListFunctionAsyncInvokeConfigsWithOptions(serviceName *string, functionName *string, request *ListFunctionAsyncInvokeConfigsRequest, headers *ListFunctionAsyncInvokeConfigsHeaders, runtime *util.RuntimeOptions) (_result *ListFunctionAsyncInvokeConfigsResponse, _err error)

*

  • StatefulAsyncInvocation indicates whether the asynchronous task feature is enabled. If StatefulAsyncInvocation is set to true, the asynchronous task is enabled. All asynchronous invocations to the function corresponding to this configuration change to asynchronous task mode. *
  • @param request ListFunctionAsyncInvokeConfigsRequest
  • @param headers ListFunctionAsyncInvokeConfigsHeaders
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListFunctionAsyncInvokeConfigsResponse

func (*Client) ListFunctions

func (client *Client) ListFunctions(serviceName *string, request *ListFunctionsRequest) (_result *ListFunctionsResponse, _err error)

func (*Client) ListFunctionsWithOptions

func (client *Client) ListFunctionsWithOptions(serviceName *string, request *ListFunctionsRequest, headers *ListFunctionsHeaders, runtime *util.RuntimeOptions) (_result *ListFunctionsResponse, _err error)

func (*Client) ListInstances

func (client *Client) ListInstances(serviceName *string, functionName *string, request *ListInstancesRequest) (_result *ListInstancesResponse, _err error)

*

  • The ListInstances operation allows you to query the available instances of a function.
  • Available instances are instances that are processing requests or can be scheduled to process requests. Available instances queried by the ListInstances operation are the same as those that can be used when you call the InvokeFunction operation with the same values specified for the `serviceName`, `functionName`, and `qualifier` parameters. *
  • @param request ListInstancesRequest
  • @return ListInstancesResponse

func (*Client) ListInstancesWithOptions

func (client *Client) ListInstancesWithOptions(serviceName *string, functionName *string, request *ListInstancesRequest, headers *ListInstancesHeaders, runtime *util.RuntimeOptions) (_result *ListInstancesResponse, _err error)

*

  • The ListInstances operation allows you to query the available instances of a function.
  • Available instances are instances that are processing requests or can be scheduled to process requests. Available instances queried by the ListInstances operation are the same as those that can be used when you call the InvokeFunction operation with the same values specified for the `serviceName`, `functionName`, and `qualifier` parameters. *
  • @param request ListInstancesRequest
  • @param headers ListInstancesHeaders
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListInstancesResponse

func (*Client) ListLayerVersions

func (client *Client) ListLayerVersions(layerName *string, request *ListLayerVersionsRequest) (_result *ListLayerVersionsResponse, _err error)

func (*Client) ListLayerVersionsWithOptions

func (client *Client) ListLayerVersionsWithOptions(layerName *string, request *ListLayerVersionsRequest, headers *ListLayerVersionsHeaders, runtime *util.RuntimeOptions) (_result *ListLayerVersionsResponse, _err error)

func (*Client) ListLayers

func (client *Client) ListLayers(request *ListLayersRequest) (_result *ListLayersResponse, _err error)

func (*Client) ListLayersWithOptions

func (client *Client) ListLayersWithOptions(request *ListLayersRequest, headers *ListLayersHeaders, runtime *util.RuntimeOptions) (_result *ListLayersResponse, _err error)

func (*Client) ListOnDemandConfigs

func (client *Client) ListOnDemandConfigs(request *ListOnDemandConfigsRequest) (_result *ListOnDemandConfigsResponse, _err error)

func (*Client) ListOnDemandConfigsWithOptions

func (client *Client) ListOnDemandConfigsWithOptions(request *ListOnDemandConfigsRequest, headers *ListOnDemandConfigsHeaders, runtime *util.RuntimeOptions) (_result *ListOnDemandConfigsResponse, _err error)

func (*Client) ListProvisionConfigs

func (client *Client) ListProvisionConfigs(request *ListProvisionConfigsRequest) (_result *ListProvisionConfigsResponse, _err error)

func (*Client) ListProvisionConfigsWithOptions

func (client *Client) ListProvisionConfigsWithOptions(request *ListProvisionConfigsRequest, headers *ListProvisionConfigsHeaders, runtime *util.RuntimeOptions) (_result *ListProvisionConfigsResponse, _err error)

func (*Client) ListReservedCapacities

func (client *Client) ListReservedCapacities(request *ListReservedCapacitiesRequest) (_result *ListReservedCapacitiesResponse, _err error)

func (*Client) ListReservedCapacitiesWithOptions

func (client *Client) ListReservedCapacitiesWithOptions(request *ListReservedCapacitiesRequest, headers *ListReservedCapacitiesHeaders, runtime *util.RuntimeOptions) (_result *ListReservedCapacitiesResponse, _err error)

func (*Client) ListServiceVersions

func (client *Client) ListServiceVersions(serviceName *string, request *ListServiceVersionsRequest) (_result *ListServiceVersionsResponse, _err error)

func (*Client) ListServiceVersionsWithOptions

func (client *Client) ListServiceVersionsWithOptions(serviceName *string, request *ListServiceVersionsRequest, headers *ListServiceVersionsHeaders, runtime *util.RuntimeOptions) (_result *ListServiceVersionsResponse, _err error)

func (*Client) ListServices

func (client *Client) ListServices(request *ListServicesRequest) (_result *ListServicesResponse, _err error)

func (*Client) ListServicesWithOptions

func (client *Client) ListServicesWithOptions(request *ListServicesRequest, headers *ListServicesHeaders, runtime *util.RuntimeOptions) (_result *ListServicesResponse, _err error)

func (*Client) ListStatefulAsyncInvocationFunctions

func (client *Client) ListStatefulAsyncInvocationFunctions(request *ListStatefulAsyncInvocationFunctionsRequest) (_result *ListStatefulAsyncInvocationFunctionsResponse, _err error)

*

  • The metadata of the service and function to which the asynchronous task belongs. *
  • @param request ListStatefulAsyncInvocationFunctionsRequest
  • @return ListStatefulAsyncInvocationFunctionsResponse

func (*Client) ListStatefulAsyncInvocationFunctionsWithOptions

func (client *Client) ListStatefulAsyncInvocationFunctionsWithOptions(request *ListStatefulAsyncInvocationFunctionsRequest, headers *ListStatefulAsyncInvocationFunctionsHeaders, runtime *util.RuntimeOptions) (_result *ListStatefulAsyncInvocationFunctionsResponse, _err error)

*

  • The metadata of the service and function to which the asynchronous task belongs. *
  • @param request ListStatefulAsyncInvocationFunctionsRequest
  • @param headers ListStatefulAsyncInvocationFunctionsHeaders
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListStatefulAsyncInvocationFunctionsResponse

func (*Client) ListStatefulAsyncInvocations

func (client *Client) ListStatefulAsyncInvocations(serviceName *string, functionName *string, request *ListStatefulAsyncInvocationsRequest) (_result *ListStatefulAsyncInvocationsResponse, _err error)

*

  • The name of the service to which the asynchronous task belongs. *
  • @param request ListStatefulAsyncInvocationsRequest
  • @return ListStatefulAsyncInvocationsResponse

func (*Client) ListStatefulAsyncInvocationsWithOptions

func (client *Client) ListStatefulAsyncInvocationsWithOptions(serviceName *string, functionName *string, request *ListStatefulAsyncInvocationsRequest, headers *ListStatefulAsyncInvocationsHeaders, runtime *util.RuntimeOptions) (_result *ListStatefulAsyncInvocationsResponse, _err error)

*

  • The name of the service to which the asynchronous task belongs. *
  • @param request ListStatefulAsyncInvocationsRequest
  • @param headers ListStatefulAsyncInvocationsHeaders
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListStatefulAsyncInvocationsResponse

func (*Client) ListTaggedResources

func (client *Client) ListTaggedResources(request *ListTaggedResourcesRequest) (_result *ListTaggedResourcesResponse, _err error)

func (*Client) ListTaggedResourcesWithOptions

func (client *Client) ListTaggedResourcesWithOptions(request *ListTaggedResourcesRequest, headers *ListTaggedResourcesHeaders, runtime *util.RuntimeOptions) (_result *ListTaggedResourcesResponse, _err error)

func (*Client) ListTriggers

func (client *Client) ListTriggers(serviceName *string, functionName *string, request *ListTriggersRequest) (_result *ListTriggersResponse, _err error)

func (*Client) ListTriggersWithOptions

func (client *Client) ListTriggersWithOptions(serviceName *string, functionName *string, request *ListTriggersRequest, headers *ListTriggersHeaders, runtime *util.RuntimeOptions) (_result *ListTriggersResponse, _err error)

func (*Client) ListVpcBindings

func (client *Client) ListVpcBindings(serviceName *string) (_result *ListVpcBindingsResponse, _err error)

func (*Client) ListVpcBindingsWithOptions

func (client *Client) ListVpcBindingsWithOptions(serviceName *string, headers *ListVpcBindingsHeaders, runtime *util.RuntimeOptions) (_result *ListVpcBindingsResponse, _err error)

func (*Client) PublishServiceVersion

func (client *Client) PublishServiceVersion(serviceName *string, request *PublishServiceVersionRequest) (_result *PublishServiceVersionResponse, _err error)

func (*Client) PublishServiceVersionWithOptions

func (client *Client) PublishServiceVersionWithOptions(serviceName *string, request *PublishServiceVersionRequest, headers *PublishServiceVersionHeaders, runtime *util.RuntimeOptions) (_result *PublishServiceVersionResponse, _err error)

func (*Client) PutFunctionAsyncInvokeConfig

func (client *Client) PutFunctionAsyncInvokeConfig(serviceName *string, functionName *string, request *PutFunctionAsyncInvokeConfigRequest) (_result *PutFunctionAsyncInvokeConfigResponse, _err error)

*

  • The maximum validity period of messages. *
  • @param request PutFunctionAsyncInvokeConfigRequest
  • @return PutFunctionAsyncInvokeConfigResponse

func (*Client) PutFunctionAsyncInvokeConfigWithOptions

func (client *Client) PutFunctionAsyncInvokeConfigWithOptions(serviceName *string, functionName *string, request *PutFunctionAsyncInvokeConfigRequest, headers *PutFunctionAsyncInvokeConfigHeaders, runtime *util.RuntimeOptions) (_result *PutFunctionAsyncInvokeConfigResponse, _err error)

*

  • The maximum validity period of messages. *
  • @param request PutFunctionAsyncInvokeConfigRequest
  • @param headers PutFunctionAsyncInvokeConfigHeaders
  • @param runtime runtime options for this request RuntimeOptions
  • @return PutFunctionAsyncInvokeConfigResponse

func (*Client) PutFunctionOnDemandConfig

func (client *Client) PutFunctionOnDemandConfig(serviceName *string, functionName *string, request *PutFunctionOnDemandConfigRequest) (_result *PutFunctionOnDemandConfigResponse, _err error)

func (*Client) PutFunctionOnDemandConfigWithOptions

func (client *Client) PutFunctionOnDemandConfigWithOptions(serviceName *string, functionName *string, request *PutFunctionOnDemandConfigRequest, headers *PutFunctionOnDemandConfigHeaders, runtime *util.RuntimeOptions) (_result *PutFunctionOnDemandConfigResponse, _err error)

func (*Client) PutLayerACL

func (client *Client) PutLayerACL(layerName *string, request *PutLayerACLRequest) (_result *PutLayerACLResponse, _err error)

func (*Client) PutLayerACLWithOptions

func (client *Client) PutLayerACLWithOptions(layerName *string, request *PutLayerACLRequest, headers *PutLayerACLHeaders, runtime *util.RuntimeOptions) (_result *PutLayerACLResponse, _err error)

func (*Client) PutProvisionConfig

func (client *Client) PutProvisionConfig(serviceName *string, functionName *string, request *PutProvisionConfigRequest) (_result *PutProvisionConfigResponse, _err error)

func (*Client) PutProvisionConfigWithOptions

func (client *Client) PutProvisionConfigWithOptions(serviceName *string, functionName *string, request *PutProvisionConfigRequest, headers *PutProvisionConfigHeaders, runtime *util.RuntimeOptions) (_result *PutProvisionConfigResponse, _err error)

func (*Client) RegisterEventSource

func (client *Client) RegisterEventSource(serviceName *string, functionName *string, request *RegisterEventSourceRequest) (_result *RegisterEventSourceResponse, _err error)

func (*Client) RegisterEventSourceWithOptions

func (client *Client) RegisterEventSourceWithOptions(serviceName *string, functionName *string, request *RegisterEventSourceRequest, headers *RegisterEventSourceHeaders, runtime *util.RuntimeOptions) (_result *RegisterEventSourceResponse, _err error)

func (*Client) ReleaseGPUInstance

func (client *Client) ReleaseGPUInstance(instanceId *string) (_result *ReleaseGPUInstanceResponse, _err error)

func (*Client) ReleaseGPUInstanceWithOptions

func (client *Client) ReleaseGPUInstanceWithOptions(instanceId *string, headers *ReleaseGPUInstanceHeaders, runtime *util.RuntimeOptions) (_result *ReleaseGPUInstanceResponse, _err error)

func (*Client) SendHTTPRequest

func (client *Client) SendHTTPRequest(req *http.Request) (_result *http.Response, _err error)

func (*Client) SendHTTPRequestWithAuthorization

func (client *Client) SendHTTPRequestWithAuthorization(req *http.Request) (_result *http.Response, _err error)

func (*Client) SignRequest

func (client *Client) SignRequest(req *http.Request) (_result *http.Request, _err error)

func (*Client) SignRequestWithContentMD5

func (client *Client) SignRequestWithContentMD5(req *http.Request, contentMD5 *string) (_result *http.Request, _err error)

func (*Client) StopStatefulAsyncInvocation

func (client *Client) StopStatefulAsyncInvocation(serviceName *string, functionName *string, invocationId *string, request *StopStatefulAsyncInvocationRequest) (_result *StopStatefulAsyncInvocationResponse, _err error)

*

  • StatefulAsyncInvocation: asynchronous task. Asynchronous tasks allow you to manage the states on the basis of common asynchronous invocations, which is more suitable for task scenarios. *
  • @param request StopStatefulAsyncInvocationRequest
  • @return StopStatefulAsyncInvocationResponse

func (*Client) StopStatefulAsyncInvocationWithOptions

func (client *Client) StopStatefulAsyncInvocationWithOptions(serviceName *string, functionName *string, invocationId *string, request *StopStatefulAsyncInvocationRequest, headers *StopStatefulAsyncInvocationHeaders, runtime *util.RuntimeOptions) (_result *StopStatefulAsyncInvocationResponse, _err error)

*

  • StatefulAsyncInvocation: asynchronous task. Asynchronous tasks allow you to manage the states on the basis of common asynchronous invocations, which is more suitable for task scenarios. *
  • @param request StopStatefulAsyncInvocationRequest
  • @param headers StopStatefulAsyncInvocationHeaders
  • @param runtime runtime options for this request RuntimeOptions
  • @return StopStatefulAsyncInvocationResponse

func (*Client) TagResource

func (client *Client) TagResource(request *TagResourceRequest) (_result *TagResourceResponse, _err error)

func (*Client) TagResourceWithOptions

func (client *Client) TagResourceWithOptions(request *TagResourceRequest, headers *TagResourceHeaders, runtime *util.RuntimeOptions) (_result *TagResourceResponse, _err error)

func (*Client) UntagResource

func (client *Client) UntagResource(request *UntagResourceRequest) (_result *UntagResourceResponse, _err error)

func (*Client) UntagResourceWithOptions

func (client *Client) UntagResourceWithOptions(request *UntagResourceRequest, headers *UntagResourceHeaders, runtime *util.RuntimeOptions) (_result *UntagResourceResponse, _err error)

func (*Client) UpdateAlias

func (client *Client) UpdateAlias(serviceName *string, aliasName *string, request *UpdateAliasRequest) (_result *UpdateAliasResponse, _err error)

func (*Client) UpdateAliasWithOptions

func (client *Client) UpdateAliasWithOptions(serviceName *string, aliasName *string, request *UpdateAliasRequest, headers *UpdateAliasHeaders, runtime *util.RuntimeOptions) (_result *UpdateAliasResponse, _err error)

func (*Client) UpdateCustomDomain

func (client *Client) UpdateCustomDomain(domainName *string, request *UpdateCustomDomainRequest) (_result *UpdateCustomDomainResponse, _err error)

func (*Client) UpdateCustomDomainWithOptions

func (client *Client) UpdateCustomDomainWithOptions(domainName *string, request *UpdateCustomDomainRequest, headers *UpdateCustomDomainHeaders, runtime *util.RuntimeOptions) (_result *UpdateCustomDomainResponse, _err error)

func (*Client) UpdateFunction

func (client *Client) UpdateFunction(serviceName *string, functionName *string, request *UpdateFunctionRequest) (_result *UpdateFunctionResponse, _err error)

func (*Client) UpdateFunctionWithOptions

func (client *Client) UpdateFunctionWithOptions(serviceName *string, functionName *string, request *UpdateFunctionRequest, headers *UpdateFunctionHeaders, runtime *util.RuntimeOptions) (_result *UpdateFunctionResponse, _err error)

func (*Client) UpdateService

func (client *Client) UpdateService(serviceName *string, request *UpdateServiceRequest) (_result *UpdateServiceResponse, _err error)

func (*Client) UpdateServiceWithOptions

func (client *Client) UpdateServiceWithOptions(serviceName *string, request *UpdateServiceRequest, headers *UpdateServiceHeaders, runtime *util.RuntimeOptions) (_result *UpdateServiceResponse, _err error)

func (*Client) UpdateTrigger

func (client *Client) UpdateTrigger(serviceName *string, functionName *string, triggerName *string, request *UpdateTriggerRequest) (_result *UpdateTriggerResponse, _err error)

func (*Client) UpdateTriggerWithOptions

func (client *Client) UpdateTriggerWithOptions(serviceName *string, functionName *string, triggerName *string, request *UpdateTriggerRequest, headers *UpdateTriggerHeaders, runtime *util.RuntimeOptions) (_result *UpdateTriggerResponse, _err error)

type Code

type Code struct {
	OssBucketName *string `json:"ossBucketName,omitempty" xml:"ossBucketName,omitempty"`
	OssObjectName *string `json:"ossObjectName,omitempty" xml:"ossObjectName,omitempty"`
	ZipFile       *string `json:"zipFile,omitempty" xml:"zipFile,omitempty"`
}

func (Code) GoString

func (s Code) GoString() string

func (*Code) SetOssBucketName

func (s *Code) SetOssBucketName(v string) *Code

func (*Code) SetOssObjectName

func (s *Code) SetOssObjectName(v string) *Code

func (*Code) SetZipFile

func (s *Code) SetZipFile(v string) *Code

func (Code) String

func (s Code) String() string

type CreateAliasHeaders

type CreateAliasHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the invocation request of Function Compute.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (CreateAliasHeaders) GoString

func (s CreateAliasHeaders) GoString() string

func (*CreateAliasHeaders) SetCommonHeaders

func (s *CreateAliasHeaders) SetCommonHeaders(v map[string]*string) *CreateAliasHeaders

func (*CreateAliasHeaders) SetXFcAccountId

func (s *CreateAliasHeaders) SetXFcAccountId(v string) *CreateAliasHeaders

func (*CreateAliasHeaders) SetXFcDate

func (s *CreateAliasHeaders) SetXFcDate(v string) *CreateAliasHeaders

func (*CreateAliasHeaders) SetXFcTraceId

func (s *CreateAliasHeaders) SetXFcTraceId(v string) *CreateAliasHeaders

func (CreateAliasHeaders) String

func (s CreateAliasHeaders) String() string

type CreateAliasRequest

type CreateAliasRequest struct {
	// The canary release version to which the alias points and the weight of the canary release version.
	//
	// *   The canary release version takes effect only when the function is invoked.
	// *   The value consists of a version number and a specific weight. For example, 2:0.05 indicates that when a function is invoked, Version 2 is the canary release version, 5% of the traffic is distributed to the canary release version, and 95% of the traffic is distributed to the major version.
	AdditionalVersionWeight map[string]*float32 `json:"additionalVersionWeight,omitempty" xml:"additionalVersionWeight,omitempty"`
	// The name of the alias. The name can contain letters, digits, underscores (\_), and hyphens (-) only. The name cannot start with a digit or a hyphen (-). The name must be 1 to 128 characters in length. The name cannot be set to **LATEST**
	AliasName *string `json:"aliasName,omitempty" xml:"aliasName,omitempty"`
	// The description of the alias.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The canary release mode. Default values: off. Valid values:
	//
	// *   **Random**: random canary release.
	// *   **Content**: rule-based canary release. By default, this parameter is empty.
	ResolvePolicy *string `json:"resolvePolicy,omitempty" xml:"resolvePolicy,omitempty"`
	// The canary release rule. Traffic that meets the canary release rule is routed to the canary release instance.
	RoutePolicy *RoutePolicy `json:"routePolicy,omitempty" xml:"routePolicy,omitempty"`
	// The ID of the version to which the alias points.
	VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"`
}

func (CreateAliasRequest) GoString

func (s CreateAliasRequest) GoString() string

func (*CreateAliasRequest) SetAdditionalVersionWeight

func (s *CreateAliasRequest) SetAdditionalVersionWeight(v map[string]*float32) *CreateAliasRequest

func (*CreateAliasRequest) SetAliasName

func (s *CreateAliasRequest) SetAliasName(v string) *CreateAliasRequest

func (*CreateAliasRequest) SetDescription

func (s *CreateAliasRequest) SetDescription(v string) *CreateAliasRequest

func (*CreateAliasRequest) SetResolvePolicy

func (s *CreateAliasRequest) SetResolvePolicy(v string) *CreateAliasRequest

func (*CreateAliasRequest) SetRoutePolicy

func (s *CreateAliasRequest) SetRoutePolicy(v *RoutePolicy) *CreateAliasRequest

func (*CreateAliasRequest) SetVersionId

func (s *CreateAliasRequest) SetVersionId(v string) *CreateAliasRequest

func (CreateAliasRequest) String

func (s CreateAliasRequest) String() string

type CreateAliasResponse

type CreateAliasResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateAliasResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateAliasResponse) GoString

func (s CreateAliasResponse) GoString() string

func (*CreateAliasResponse) SetBody

func (*CreateAliasResponse) SetHeaders

func (s *CreateAliasResponse) SetHeaders(v map[string]*string) *CreateAliasResponse

func (*CreateAliasResponse) SetStatusCode

func (s *CreateAliasResponse) SetStatusCode(v int32) *CreateAliasResponse

func (CreateAliasResponse) String

func (s CreateAliasResponse) String() string

type CreateAliasResponseBody

type CreateAliasResponseBody struct {
	// The additional version to which the alias points and the weight of the additional version.
	//
	// *   The additional version takes effect only when the function is invoked.
	// *   The value consists of a version number and a specific weight. For example, 2:0.05 indicates that when a function is invoked, Version 2 is the canary release version, 5% of the traffic is distributed to the canary release version, and 95% of the traffic is distributed to the major version.
	AdditionalVersionWeight map[string]*float32 `json:"additionalVersionWeight,omitempty" xml:"additionalVersionWeight,omitempty"`
	// The name of the alias.
	AliasName *string `json:"aliasName,omitempty" xml:"aliasName,omitempty"`
	// The time when the alias was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The description of the alias.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The time when the alias was last modified.
	LastModifiedTime *string      `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	ResolvePolicy    *string      `json:"resolvePolicy,omitempty" xml:"resolvePolicy,omitempty"`
	RoutePolicy      *RoutePolicy `json:"routePolicy,omitempty" xml:"routePolicy,omitempty"`
	// The ID of the version to which the alias points.
	VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"`
}

func (CreateAliasResponseBody) GoString

func (s CreateAliasResponseBody) GoString() string

func (*CreateAliasResponseBody) SetAdditionalVersionWeight

func (s *CreateAliasResponseBody) SetAdditionalVersionWeight(v map[string]*float32) *CreateAliasResponseBody

func (*CreateAliasResponseBody) SetAliasName

func (*CreateAliasResponseBody) SetCreatedTime

func (*CreateAliasResponseBody) SetDescription

func (*CreateAliasResponseBody) SetLastModifiedTime

func (s *CreateAliasResponseBody) SetLastModifiedTime(v string) *CreateAliasResponseBody

func (*CreateAliasResponseBody) SetResolvePolicy added in v2.0.7

func (s *CreateAliasResponseBody) SetResolvePolicy(v string) *CreateAliasResponseBody

func (*CreateAliasResponseBody) SetRoutePolicy added in v2.0.7

func (*CreateAliasResponseBody) SetVersionId

func (CreateAliasResponseBody) String

func (s CreateAliasResponseBody) String() string

type CreateCustomDomainHeaders

type CreateCustomDomainHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the operation is called. The format is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (CreateCustomDomainHeaders) GoString

func (s CreateCustomDomainHeaders) GoString() string

func (*CreateCustomDomainHeaders) SetCommonHeaders

func (*CreateCustomDomainHeaders) SetXFcAccountId

func (*CreateCustomDomainHeaders) SetXFcDate

func (*CreateCustomDomainHeaders) SetXFcTraceId

func (CreateCustomDomainHeaders) String

func (s CreateCustomDomainHeaders) String() string

type CreateCustomDomainRequest

type CreateCustomDomainRequest struct {
	// The configurations of the HTTPS certificate.
	CertConfig *CertConfig `json:"certConfig,omitempty" xml:"certConfig,omitempty"`
	// The domain name. Enter a custom domain name that has obtained an ICP filing in the Alibaba Cloud ICP Filing system, or a custom domain name whose ICP filing information includes Alibaba Cloud as a service provider.
	DomainName *string `json:"domainName,omitempty" xml:"domainName,omitempty"`
	// The protocol types supported by the domain name. Valid values:
	//
	// *   **HTTP**: Only HTTP is supported.
	// *   **HTTPS**: Only HTTPS is supported.
	// *   **HTTP,HTTPS**: HTTP and HTTPS are supported.
	Protocol *string `json:"protocol,omitempty" xml:"protocol,omitempty"`
	// The route table that maps the paths to functions when the functions are invoked by using the custom domain name.
	RouteConfig *RouteConfig `json:"routeConfig,omitempty" xml:"routeConfig,omitempty"`
	// The Transport Layer Security (TLS) configuration.
	TlsConfig *TLSConfig `json:"tlsConfig,omitempty" xml:"tlsConfig,omitempty"`
	// The Web Application Firewall (WAF) configuration.
	WafConfig *WAFConfig `json:"wafConfig,omitempty" xml:"wafConfig,omitempty"`
}

func (CreateCustomDomainRequest) GoString

func (s CreateCustomDomainRequest) GoString() string

func (*CreateCustomDomainRequest) SetCertConfig

func (*CreateCustomDomainRequest) SetDomainName

func (*CreateCustomDomainRequest) SetProtocol

func (*CreateCustomDomainRequest) SetRouteConfig

func (*CreateCustomDomainRequest) SetTlsConfig

func (*CreateCustomDomainRequest) SetWafConfig added in v2.0.3

func (CreateCustomDomainRequest) String

func (s CreateCustomDomainRequest) String() string

type CreateCustomDomainResponse

type CreateCustomDomainResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateCustomDomainResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateCustomDomainResponse) GoString

func (s CreateCustomDomainResponse) GoString() string

func (*CreateCustomDomainResponse) SetBody

func (*CreateCustomDomainResponse) SetHeaders

func (*CreateCustomDomainResponse) SetStatusCode

func (CreateCustomDomainResponse) String

type CreateCustomDomainResponseBody

type CreateCustomDomainResponseBody struct {
	// The ID of your Alibaba Cloud account.
	AccountId *string `json:"accountId,omitempty" xml:"accountId,omitempty"`
	// The version of the API.
	ApiVersion *string `json:"apiVersion,omitempty" xml:"apiVersion,omitempty"`
	// The configurations of the HTTPS certificate.
	CertConfig *CertConfig `json:"certConfig,omitempty" xml:"certConfig,omitempty"`
	// The time when the domain name was added.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The domain name.
	DomainName *string `json:"domainName,omitempty" xml:"domainName,omitempty"`
	// The time when the domain name was last modified.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The protocol types supported by the domain name. Valid values:
	//
	// *   **HTTP**: Only HTTP is supported.
	// *   **HTTPS**: Only HTTPS is supported.
	// *   **HTTP,HTTPS**: HTTP and HTTPS are supported.
	Protocol *string `json:"protocol,omitempty" xml:"protocol,omitempty"`
	// The route table that maps the paths to functions when the functions are invoked by using the custom domain name.
	RouteConfig *RouteConfig `json:"routeConfig,omitempty" xml:"routeConfig,omitempty"`
	// The Transport Layer Security (TLS) configuration.
	TlsConfig *TLSConfig `json:"tlsConfig,omitempty" xml:"tlsConfig,omitempty"`
	// The Web Application Firewall (WAF) configuration.
	WafConfig *WAFConfig `json:"wafConfig,omitempty" xml:"wafConfig,omitempty"`
}

func (CreateCustomDomainResponseBody) GoString

func (*CreateCustomDomainResponseBody) SetAccountId

func (*CreateCustomDomainResponseBody) SetApiVersion

func (*CreateCustomDomainResponseBody) SetCertConfig

func (*CreateCustomDomainResponseBody) SetCreatedTime

func (*CreateCustomDomainResponseBody) SetDomainName

func (*CreateCustomDomainResponseBody) SetLastModifiedTime

func (*CreateCustomDomainResponseBody) SetProtocol

func (*CreateCustomDomainResponseBody) SetRouteConfig

func (*CreateCustomDomainResponseBody) SetTlsConfig

func (*CreateCustomDomainResponseBody) SetWafConfig added in v2.0.3

func (CreateCustomDomainResponseBody) String

type CreateFunctionHeaders

type CreateFunctionHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The CRC-64 value of the function code package.
	XFcCodeChecksum *string `json:"X-Fc-Code-Checksum,omitempty" xml:"X-Fc-Code-Checksum,omitempty"`
	// The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the request. The value is the same as that of the requestId parameter in the response.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (CreateFunctionHeaders) GoString

func (s CreateFunctionHeaders) GoString() string

func (*CreateFunctionHeaders) SetCommonHeaders

func (s *CreateFunctionHeaders) SetCommonHeaders(v map[string]*string) *CreateFunctionHeaders

func (*CreateFunctionHeaders) SetXFcAccountId

func (s *CreateFunctionHeaders) SetXFcAccountId(v string) *CreateFunctionHeaders

func (*CreateFunctionHeaders) SetXFcCodeChecksum

func (s *CreateFunctionHeaders) SetXFcCodeChecksum(v string) *CreateFunctionHeaders

func (*CreateFunctionHeaders) SetXFcDate

func (*CreateFunctionHeaders) SetXFcTraceId

func (s *CreateFunctionHeaders) SetXFcTraceId(v string) *CreateFunctionHeaders

func (CreateFunctionHeaders) String

func (s CreateFunctionHeaders) String() string

type CreateFunctionRequest

type CreateFunctionRequest struct {
	// The port on which the HTTP server listens for the custom runtime or custom container runtime.
	CaPort *int32 `json:"caPort,omitempty" xml:"caPort,omitempty"`
	// The code of the function. The code must be packaged into a ZIP file. Configure **code** or **customContainerConfig**.
	Code *Code `json:"code,omitempty" xml:"code,omitempty"`
	// The number of vCPUs of the function. The value is a multiple of 0.05.
	Cpu *float32 `json:"cpu,omitempty" xml:"cpu,omitempty"`
	// The configurations of the Custom Container runtime. After you configure the Custom Container runtime, Function Compute can execute the function in a container created from a custom image. Configure **code** or **customContainerConfig**.
	CustomContainerConfig *CustomContainerConfig `json:"customContainerConfig,omitempty" xml:"customContainerConfig,omitempty"`
	// The custom DNS configurations of the function.
	CustomDNS *CustomDNS `json:"customDNS,omitempty" xml:"customDNS,omitempty"`
	// The custom health check configuration of the function. This parameter is applicable only to custom runtimes and custom containers.
	CustomHealthCheckConfig *CustomHealthCheckConfig `json:"customHealthCheckConfig,omitempty" xml:"customHealthCheckConfig,omitempty"`
	// The configurations of the custom runtime.
	CustomRuntimeConfig *CustomRuntimeConfig `json:"customRuntimeConfig,omitempty" xml:"customRuntimeConfig,omitempty"`
	// The description of the function.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The disk size of the function. Unit: MB. Valid values: 512 and 10240.
	DiskSize *int32 `json:"diskSize,omitempty" xml:"diskSize,omitempty"`
	// The environment variables that you configured for the function. You can obtain the values of the environment variables from the function. For more information, see [Environment variables](~~69777~~).
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" xml:"environmentVariables,omitempty"`
	// The name of the function. The name can contain letters, digits, underscores (\_), and hyphens (-) only. The name cannot start with a digit or a hyphen (-). The name must be 1 to 64 characters in length.
	FunctionName *string `json:"functionName,omitempty" xml:"functionName,omitempty"`
	// The GPU memory capacity for the function. Unit: MB. The value is a multiple of 1,024.
	GpuMemorySize *int32 `json:"gpuMemorySize,omitempty" xml:"gpuMemorySize,omitempty"`
	// The handler of the function. The format varies based on the programming language. For more information, see [Function handlers](~~157704~~).
	Handler *string `json:"handler,omitempty" xml:"handler,omitempty"`
	// The timeout period for the execution of the Initializer hook. Unit: seconds. Default value: 3. Valid values: 1 to 300. When this period expires, the execution of the Initializer hook is terminated.
	InitializationTimeout *int32 `json:"initializationTimeout,omitempty" xml:"initializationTimeout,omitempty"`
	// The handler of the Initializer hook. For more information, see [Initializer hooks](~~157704~~).
	Initializer *string `json:"initializer,omitempty" xml:"initializer,omitempty"`
	// The number of requests that can be concurrently processed by a single instance.
	InstanceConcurrency *int32 `json:"instanceConcurrency,omitempty" xml:"instanceConcurrency,omitempty"`
	// The lifecycle configurations of the instance.
	InstanceLifecycleConfig *InstanceLifecycleConfig `json:"instanceLifecycleConfig,omitempty" xml:"instanceLifecycleConfig,omitempty"`
	// The soft concurrency of the instance. You can use this property to implement graceful scale-ups for instances. If the number of concurrent requests on an instance is greater than the soft concurrency value of the instance, an instance scale-up is triggered. For example, if your instance requires a long time to start, you can specify a suitable soft concurrency to start the instance in advance.
	//
	// The value must be less than or equal to that of the **instanceConcurrency** parameter.
	InstanceSoftConcurrency *int32 `json:"instanceSoftConcurrency,omitempty" xml:"instanceSoftConcurrency,omitempty"`
	// The instance type of the function. Valid values:
	//
	// *   **e1**: elastic instance
	// *   **c1**: performance instance
	// *   **fc.gpu.tesla.1**: GPU-accelerated instance (Tesla T4)
	// *   **fc.gpu.ampere.1**: GPU-accelerated instance (Ampere A10)
	// *   **g1**: same as **fc.gpu.tesla.1**
	//
	// Default value: e1
	InstanceType *string `json:"instanceType,omitempty" xml:"instanceType,omitempty"`
	// An array that consists of the information of layers.
	//
	// >  If multiple layers exist, the layers are merged based on the array subscripts in descending order. The content of a layer with a smaller subscript overwrites that of a larger subscript.
	Layers []*string `json:"layers,omitempty" xml:"layers,omitempty" type:"Repeated"`
	// The memory size of the function. Unit: MB. The value must be a multiple of 64. The memory size varies based on the function instance type. For more information, see the "Instance types" section of the [Instance types and usage modes](~~179379~~) topic.
	MemorySize *int32 `json:"memorySize,omitempty" xml:"memorySize,omitempty"`
	// The runtime of the function. Valid values: **nodejs16**, **nodejs14**, **nodejs12**, **nodejs10**, **nodejs8**, **nodejs6**, **nodejs4.4**, **python3.10**, **python3.9**, **python3**, **python2.7**, **java11**, **java8**, **go1**, **php7.2**, **dotnetcore3.1**, **dotnetcore2.1**, **custom.debian10**, **custom**, and **custom-container**. For more information, see [Supported function runtime environments](~~73338~~).
	Runtime *string `json:"runtime,omitempty" xml:"runtime,omitempty"`
	// The timeout period for the execution of the function. Unit: seconds. Default value: 3. Minimum value: 1. When this period is elapsed, the function execution is terminated.
	Timeout *int32 `json:"timeout,omitempty" xml:"timeout,omitempty"`
}

func (CreateFunctionRequest) GoString

func (s CreateFunctionRequest) GoString() string

func (*CreateFunctionRequest) SetCaPort

func (*CreateFunctionRequest) SetCode

func (*CreateFunctionRequest) SetCpu

func (*CreateFunctionRequest) SetCustomContainerConfig

func (s *CreateFunctionRequest) SetCustomContainerConfig(v *CustomContainerConfig) *CreateFunctionRequest

func (*CreateFunctionRequest) SetCustomDNS

func (*CreateFunctionRequest) SetCustomHealthCheckConfig

func (s *CreateFunctionRequest) SetCustomHealthCheckConfig(v *CustomHealthCheckConfig) *CreateFunctionRequest

func (*CreateFunctionRequest) SetCustomRuntimeConfig

func (s *CreateFunctionRequest) SetCustomRuntimeConfig(v *CustomRuntimeConfig) *CreateFunctionRequest

func (*CreateFunctionRequest) SetDescription

func (s *CreateFunctionRequest) SetDescription(v string) *CreateFunctionRequest

func (*CreateFunctionRequest) SetDiskSize

func (*CreateFunctionRequest) SetEnvironmentVariables

func (s *CreateFunctionRequest) SetEnvironmentVariables(v map[string]*string) *CreateFunctionRequest

func (*CreateFunctionRequest) SetFunctionName

func (s *CreateFunctionRequest) SetFunctionName(v string) *CreateFunctionRequest

func (*CreateFunctionRequest) SetGpuMemorySize added in v2.0.4

func (s *CreateFunctionRequest) SetGpuMemorySize(v int32) *CreateFunctionRequest

func (*CreateFunctionRequest) SetHandler

func (*CreateFunctionRequest) SetInitializationTimeout

func (s *CreateFunctionRequest) SetInitializationTimeout(v int32) *CreateFunctionRequest

func (*CreateFunctionRequest) SetInitializer

func (s *CreateFunctionRequest) SetInitializer(v string) *CreateFunctionRequest

func (*CreateFunctionRequest) SetInstanceConcurrency

func (s *CreateFunctionRequest) SetInstanceConcurrency(v int32) *CreateFunctionRequest

func (*CreateFunctionRequest) SetInstanceLifecycleConfig

func (s *CreateFunctionRequest) SetInstanceLifecycleConfig(v *InstanceLifecycleConfig) *CreateFunctionRequest

func (*CreateFunctionRequest) SetInstanceSoftConcurrency

func (s *CreateFunctionRequest) SetInstanceSoftConcurrency(v int32) *CreateFunctionRequest

func (*CreateFunctionRequest) SetInstanceType

func (s *CreateFunctionRequest) SetInstanceType(v string) *CreateFunctionRequest

func (*CreateFunctionRequest) SetLayers

func (*CreateFunctionRequest) SetMemorySize

func (s *CreateFunctionRequest) SetMemorySize(v int32) *CreateFunctionRequest

func (*CreateFunctionRequest) SetRuntime

func (*CreateFunctionRequest) SetTimeout

func (CreateFunctionRequest) String

func (s CreateFunctionRequest) String() string

type CreateFunctionResponse

type CreateFunctionResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateFunctionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateFunctionResponse) GoString

func (s CreateFunctionResponse) GoString() string

func (*CreateFunctionResponse) SetBody

func (*CreateFunctionResponse) SetHeaders

func (*CreateFunctionResponse) SetStatusCode

func (CreateFunctionResponse) String

func (s CreateFunctionResponse) String() string

type CreateFunctionResponseBody

type CreateFunctionResponseBody struct {
	// The port on which the HTTP server listens for the custom runtime or custom container runtime.
	CaPort *int32 `json:"caPort,omitempty" xml:"caPort,omitempty"`
	// The CRC-64 value of the function code package.
	CodeChecksum *string `json:"codeChecksum,omitempty" xml:"codeChecksum,omitempty"`
	// The size of the function code package that is returned by the system. Unit: bytes.
	CodeSize *int64 `json:"codeSize,omitempty" xml:"codeSize,omitempty"`
	// The number of vCPUs of the function. The value is a multiple of 0.05.
	Cpu *float32 `json:"cpu,omitempty" xml:"cpu,omitempty"`
	// The time when the function was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The configurations of the custom container runtime. After you configure the custom container runtime, Function Compute can execute the function in a container created from a custom image.
	CustomContainerConfig *CustomContainerConfig `json:"customContainerConfig,omitempty" xml:"customContainerConfig,omitempty"`
	// The custom DNS configurations of the function.
	CustomDNS *CustomDNS `json:"customDNS,omitempty" xml:"customDNS,omitempty"`
	// The custom health check configuration of the function. This parameter is applicable only to custom runtimes and custom containers.
	CustomHealthCheckConfig *CustomHealthCheckConfig `json:"customHealthCheckConfig,omitempty" xml:"customHealthCheckConfig,omitempty"`
	// The configurations of the custom runtime.
	CustomRuntimeConfig *CustomRuntimeConfig `json:"customRuntimeConfig,omitempty" xml:"customRuntimeConfig,omitempty"`
	// The description of the function.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The disk size of the function. Unit: MB. Valid values: 512 and 10240.
	DiskSize *int32 `json:"diskSize,omitempty" xml:"diskSize,omitempty"`
	// The environment variables that are configured for the function. You can obtain the values of the environment variables from the function. For more information, see [Environment variables](~~69777~~).
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" xml:"environmentVariables,omitempty"`
	// The unique ID that is generated by the system for the function.
	FunctionId *string `json:"functionId,omitempty" xml:"functionId,omitempty"`
	// The name of the function.
	FunctionName *string `json:"functionName,omitempty" xml:"functionName,omitempty"`
	// The GPU memory capacity for the function. Unit: MB. The value is a multiple of 1,024.
	GpuMemorySize *int32 `json:"gpuMemorySize,omitempty" xml:"gpuMemorySize,omitempty"`
	// The handler of the function.
	Handler *string `json:"handler,omitempty" xml:"handler,omitempty"`
	// The timeout period for the execution of the Initializer hook. Unit: seconds. Default value: 3. Minimum value: 1. When the period ends, the execution of the Initializer hook is terminated.
	InitializationTimeout *int32 `json:"initializationTimeout,omitempty" xml:"initializationTimeout,omitempty"`
	// The handler of the Initializer hook. The format is determined by the programming language.
	Initializer *string `json:"initializer,omitempty" xml:"initializer,omitempty"`
	// The number of requests that can be concurrently processed by a single instance.
	InstanceConcurrency *int32 `json:"instanceConcurrency,omitempty" xml:"instanceConcurrency,omitempty"`
	// The lifecycle configurations of the instance.
	InstanceLifecycleConfig *InstanceLifecycleConfig `json:"instanceLifecycleConfig,omitempty" xml:"instanceLifecycleConfig,omitempty"`
	// The soft concurrency of the instance. You can use this parameter to implement graceful scale-up of instances. If the number of concurrent requests on an instance is greater than the value of soft concurrency, an instance scale-up is triggered. For example, if your instance requires a long time to start, you can specify a suitable soft concurrency to start the instance in advance.
	//
	// The value must be less than or equal to that of the **instanceConcurrency** parameter.
	InstanceSoftConcurrency *int32 `json:"instanceSoftConcurrency,omitempty" xml:"instanceSoftConcurrency,omitempty"`
	// The instance type of the function. Valid values:
	//
	// *   **e1**: elastic instance
	// *   **c1**: performance instance
	// *   **fc.gpu.tesla.1**: GPU-accelerated instance (Tesla T4)
	// *   **fc.gpu.ampere.1**: GPU-accelerated instance (Ampere A10)
	// *   **g1**: same as **fc.gpu.tesla.1**
	InstanceType *string `json:"instanceType,omitempty" xml:"instanceType,omitempty"`
	// The time when the function was last modified.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// An array that consists of the information of layers.
	//
	// >  If multiple layers exist, the layers are merged based on the array subscripts in descending order. The content of a layer with a smaller subscript overwrites that of a larger subscript.
	Layers []*string `json:"layers,omitempty" xml:"layers,omitempty" type:"Repeated"`
	// ARN list of layers
	LayersArnV2 []*string `json:"layersArnV2,omitempty" xml:"layersArnV2,omitempty" type:"Repeated"`
	// The memory size that is configured for the function. Unit: MB.
	MemorySize *int32 `json:"memorySize,omitempty" xml:"memorySize,omitempty"`
	// The runtime environment of the function. Valid values: **nodejs16**, **nodejs14**, **nodejs12**, **nodejs10**, **nodejs8**, **nodejs6**, **nodejs4.4**, **python3.10**, **python3.9**, **python3**, **python2.7**, **java11**, **java8**, **go1**, **php7.2**, **dotnetcore3.1**, **dotnetcore2.1**, **custom.debian10**, **custom**, and **custom-container**. For more information, see [Supported function runtime environments](~~73338~~).
	Runtime *string `json:"runtime,omitempty" xml:"runtime,omitempty"`
	// The timeout period for the execution of the function. Unit: seconds. Default value: 60. Valid values: 1 to 600. When this period expires, the execution of the function is terminated.
	Timeout *int32 `json:"timeout,omitempty" xml:"timeout,omitempty"`
}

func (CreateFunctionResponseBody) GoString

func (s CreateFunctionResponseBody) GoString() string

func (*CreateFunctionResponseBody) SetCaPort

func (*CreateFunctionResponseBody) SetCodeChecksum

func (*CreateFunctionResponseBody) SetCodeSize

func (*CreateFunctionResponseBody) SetCpu

func (*CreateFunctionResponseBody) SetCreatedTime

func (*CreateFunctionResponseBody) SetCustomContainerConfig

func (*CreateFunctionResponseBody) SetCustomDNS

func (*CreateFunctionResponseBody) SetCustomHealthCheckConfig

func (*CreateFunctionResponseBody) SetCustomRuntimeConfig

func (*CreateFunctionResponseBody) SetDescription

func (*CreateFunctionResponseBody) SetDiskSize

func (*CreateFunctionResponseBody) SetEnvironmentVariables

func (s *CreateFunctionResponseBody) SetEnvironmentVariables(v map[string]*string) *CreateFunctionResponseBody

func (*CreateFunctionResponseBody) SetFunctionId

func (*CreateFunctionResponseBody) SetFunctionName

func (*CreateFunctionResponseBody) SetGpuMemorySize added in v2.0.4

func (*CreateFunctionResponseBody) SetHandler

func (*CreateFunctionResponseBody) SetInitializationTimeout

func (s *CreateFunctionResponseBody) SetInitializationTimeout(v int32) *CreateFunctionResponseBody

func (*CreateFunctionResponseBody) SetInitializer

func (*CreateFunctionResponseBody) SetInstanceConcurrency

func (s *CreateFunctionResponseBody) SetInstanceConcurrency(v int32) *CreateFunctionResponseBody

func (*CreateFunctionResponseBody) SetInstanceLifecycleConfig

func (*CreateFunctionResponseBody) SetInstanceSoftConcurrency

func (s *CreateFunctionResponseBody) SetInstanceSoftConcurrency(v int32) *CreateFunctionResponseBody

func (*CreateFunctionResponseBody) SetInstanceType

func (*CreateFunctionResponseBody) SetLastModifiedTime

func (*CreateFunctionResponseBody) SetLayers

func (*CreateFunctionResponseBody) SetLayersArnV2 added in v2.0.10

func (*CreateFunctionResponseBody) SetMemorySize

func (*CreateFunctionResponseBody) SetRuntime

func (*CreateFunctionResponseBody) SetTimeout

func (CreateFunctionResponseBody) String

type CreateLayerVersionHeaders

type CreateLayerVersionHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the invocation request of Function Compute.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (CreateLayerVersionHeaders) GoString

func (s CreateLayerVersionHeaders) GoString() string

func (*CreateLayerVersionHeaders) SetCommonHeaders

func (*CreateLayerVersionHeaders) SetXFcAccountId

func (*CreateLayerVersionHeaders) SetXFcDate

func (*CreateLayerVersionHeaders) SetXFcTraceId

func (CreateLayerVersionHeaders) String

func (s CreateLayerVersionHeaders) String() string

type CreateLayerVersionRequest

type CreateLayerVersionRequest struct {
	// The layer code.
	Code *Code `json:"Code,omitempty" xml:"Code,omitempty"`
	// The runtimes that are supported by the layer.
	CompatibleRuntime []*string `json:"compatibleRuntime,omitempty" xml:"compatibleRuntime,omitempty" type:"Repeated"`
	// The layer description. The description can be up to 256 characters in length.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
}

func (CreateLayerVersionRequest) GoString

func (s CreateLayerVersionRequest) GoString() string

func (*CreateLayerVersionRequest) SetCode

func (*CreateLayerVersionRequest) SetCompatibleRuntime

func (s *CreateLayerVersionRequest) SetCompatibleRuntime(v []*string) *CreateLayerVersionRequest

func (*CreateLayerVersionRequest) SetDescription

func (CreateLayerVersionRequest) String

func (s CreateLayerVersionRequest) String() string

type CreateLayerVersionResponse

type CreateLayerVersionResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateLayerVersionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateLayerVersionResponse) GoString

func (s CreateLayerVersionResponse) GoString() string

func (*CreateLayerVersionResponse) SetBody

func (*CreateLayerVersionResponse) SetHeaders

func (*CreateLayerVersionResponse) SetStatusCode

func (CreateLayerVersionResponse) String

type CreateLayerVersionResponseBody

type CreateLayerVersionResponseBody struct {
	// The access mode of the layer. Digit 0 specifies that the layer is private and digit 1 specifies that the layer is public. By default, public layers are public. Custom layers can be set to private or public.
	Acl *int32 `json:"acl,omitempty" xml:"acl,omitempty"`
	// The Alibaba Cloud Resource Name (ARN) of the layer.
	Arn *string `json:"arn,omitempty" xml:"arn,omitempty"`
	// The information about the layer code package.
	Code *OutputCodeLocation `json:"code,omitempty" xml:"code,omitempty"`
	// The CRC-64 value of the layer code package. The value is calculated based on the **ECMA-182 **standard.
	CodeChecksum *string `json:"codeChecksum,omitempty" xml:"codeChecksum,omitempty"`
	// The size of the layer code package. Unit: bytes.
	Codesize *int64 `json:"codesize,omitempty" xml:"codesize,omitempty"`
	// The runtimes that are supported by the layer.
	CompatibleRuntime []*string `json:"compatibleRuntime,omitempty" xml:"compatibleRuntime,omitempty" type:"Repeated"`
	// The time when the layer version was created. The time is in the yyyy-MM-ddTHH:mm:ssZ format.
	CreateTime *string `json:"createTime,omitempty" xml:"createTime,omitempty"`
	// The description of the layer version.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The layer name.
	LayerName *string `json:"layerName,omitempty" xml:"layerName,omitempty"`
	// The layer version.
	Version *int32 `json:"version,omitempty" xml:"version,omitempty"`
}

func (CreateLayerVersionResponseBody) GoString

func (*CreateLayerVersionResponseBody) SetAcl

func (*CreateLayerVersionResponseBody) SetArn

func (*CreateLayerVersionResponseBody) SetCode

func (*CreateLayerVersionResponseBody) SetCodeChecksum

func (*CreateLayerVersionResponseBody) SetCodesize

func (*CreateLayerVersionResponseBody) SetCompatibleRuntime

func (*CreateLayerVersionResponseBody) SetCreateTime

func (*CreateLayerVersionResponseBody) SetDescription

func (*CreateLayerVersionResponseBody) SetLayerName

func (*CreateLayerVersionResponseBody) SetVersion

func (CreateLayerVersionResponseBody) String

type CreateServiceHeaders

type CreateServiceHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (CreateServiceHeaders) GoString

func (s CreateServiceHeaders) GoString() string

func (*CreateServiceHeaders) SetCommonHeaders

func (s *CreateServiceHeaders) SetCommonHeaders(v map[string]*string) *CreateServiceHeaders

func (*CreateServiceHeaders) SetXFcAccountId

func (s *CreateServiceHeaders) SetXFcAccountId(v string) *CreateServiceHeaders

func (*CreateServiceHeaders) SetXFcDate

func (*CreateServiceHeaders) SetXFcTraceId

func (s *CreateServiceHeaders) SetXFcTraceId(v string) *CreateServiceHeaders

func (CreateServiceHeaders) String

func (s CreateServiceHeaders) String() string

type CreateServiceRequest

type CreateServiceRequest struct {
	// The description of the service.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// Specifies whether to allow functions to access the Internet. Valid values:
	//
	// *   **true**: allows functions to access the Internet. This is the default value.
	// *   **false**: does not allow functions to access the Internet.
	InternetAccess *bool `json:"internetAccess,omitempty" xml:"internetAccess,omitempty"`
	// The log configuration. Function Compute writes function execution logs to the specified Logstore.
	LogConfig *LogConfig `json:"logConfig,omitempty" xml:"logConfig,omitempty"`
	// The configuration of the Apsara File Storage NAS (NAS) file system. The configurations allow functions in the specified service to access the NAS file system.
	NasConfig *NASConfig `json:"nasConfig,omitempty" xml:"nasConfig,omitempty"`
	// The OSS mount configurations.
	OssMountConfig *OSSMountConfig `json:"ossMountConfig,omitempty" xml:"ossMountConfig,omitempty"`
	// The RAM role that is used to grant required permissions to Function Compute. The RAM role is used in the following scenarios:
	//
	// *   Sends function execution logs to your Logstore.
	// *   Generates a token for a function to access other cloud resources during function execution.
	Role *string `json:"role,omitempty" xml:"role,omitempty"`
	// The name of the service. The name can contain only letters, digits, hyphens (-), and underscores (\_). It cannot start with a digit or hyphen (-). It must be 1 to 128 characters in length.
	ServiceName *string `json:"serviceName,omitempty" xml:"serviceName,omitempty"`
	// The configuration of Tracing Analysis. After Function Compute is integrated with Tracing Analysis, you can record the duration of a request in Function Compute, view the cold start time of a function, and record the execution duration of a function. For more information, see [Tracing Analysis](~~189804~~).
	TracingConfig *TracingConfig `json:"tracingConfig,omitempty" xml:"tracingConfig,omitempty"`
	// The VPC configurations. The configurations allow functions in the specified service to access the specified VPC.
	VpcConfig *VPCConfig `json:"vpcConfig,omitempty" xml:"vpcConfig,omitempty"`
}

func (CreateServiceRequest) GoString

func (s CreateServiceRequest) GoString() string

func (*CreateServiceRequest) SetDescription

func (s *CreateServiceRequest) SetDescription(v string) *CreateServiceRequest

func (*CreateServiceRequest) SetInternetAccess

func (s *CreateServiceRequest) SetInternetAccess(v bool) *CreateServiceRequest

func (*CreateServiceRequest) SetLogConfig

func (*CreateServiceRequest) SetNasConfig

func (*CreateServiceRequest) SetOssMountConfig

func (s *CreateServiceRequest) SetOssMountConfig(v *OSSMountConfig) *CreateServiceRequest

func (*CreateServiceRequest) SetRole

func (*CreateServiceRequest) SetServiceName

func (s *CreateServiceRequest) SetServiceName(v string) *CreateServiceRequest

func (*CreateServiceRequest) SetTracingConfig

func (s *CreateServiceRequest) SetTracingConfig(v *TracingConfig) *CreateServiceRequest

func (*CreateServiceRequest) SetVpcConfig

func (CreateServiceRequest) String

func (s CreateServiceRequest) String() string

type CreateServiceResponse

type CreateServiceResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateServiceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateServiceResponse) GoString

func (s CreateServiceResponse) GoString() string

func (*CreateServiceResponse) SetBody

func (*CreateServiceResponse) SetHeaders

func (*CreateServiceResponse) SetStatusCode

func (s *CreateServiceResponse) SetStatusCode(v int32) *CreateServiceResponse

func (CreateServiceResponse) String

func (s CreateServiceResponse) String() string

type CreateServiceResponseBody

type CreateServiceResponseBody struct {
	// The time when the service was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The description of the service.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// Specifies whether to allow functions to access the Internet. Valid values:
	//
	// *   **true**: allows functions in the specified service to access the Internet.
	// *   **false**: does not allow functions in the specified service to access the Internet.
	InternetAccess *bool `json:"internetAccess,omitempty" xml:"internetAccess,omitempty"`
	// The time when the service was last modified.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The log configuration. Function Compute writes function execution logs to the specified Logstore.
	LogConfig *LogConfig `json:"logConfig,omitempty" xml:"logConfig,omitempty"`
	// The configuration of the NAS file system. The configurations allow functions in the specified service to access the NAS file system.
	NasConfig *NASConfig `json:"nasConfig,omitempty" xml:"nasConfig,omitempty"`
	// The OSS mount configurations.
	OssMountConfig *OSSMountConfig `json:"ossMountConfig,omitempty" xml:"ossMountConfig,omitempty"`
	// The RAM role that is used to grant required permissions to Function Compute. The RAM role is used in the following scenarios:
	//
	// *   Sends function execution logs to your Logstore.
	// *   Generates a token for a function to access other cloud resources during function execution.
	Role *string `json:"role,omitempty" xml:"role,omitempty"`
	// The unique ID generated by the system for the service.
	ServiceId *string `json:"serviceId,omitempty" xml:"serviceId,omitempty"`
	// The name of the service.
	ServiceName *string `json:"serviceName,omitempty" xml:"serviceName,omitempty"`
	// The configuration of Tracing Analysis. After Function Compute is integrated with Tracing Analysis, you can record the duration of a request in Function Compute, view the cold start time of a function, and record the execution duration of a function. For more information, see [Tracing Analysis](~~189804~~).
	TracingConfig        *TracingConfig `json:"tracingConfig,omitempty" xml:"tracingConfig,omitempty"`
	UseSLRAuthentication *bool          `json:"useSLRAuthentication,omitempty" xml:"useSLRAuthentication,omitempty"`
	// The VPC configurations. The configurations allow functions in the specified service to access the specified VPC.
	VpcConfig *VPCConfig `json:"vpcConfig,omitempty" xml:"vpcConfig,omitempty"`
}

func (CreateServiceResponseBody) GoString

func (s CreateServiceResponseBody) GoString() string

func (*CreateServiceResponseBody) SetCreatedTime

func (*CreateServiceResponseBody) SetDescription

func (*CreateServiceResponseBody) SetInternetAccess

func (s *CreateServiceResponseBody) SetInternetAccess(v bool) *CreateServiceResponseBody

func (*CreateServiceResponseBody) SetLastModifiedTime

func (s *CreateServiceResponseBody) SetLastModifiedTime(v string) *CreateServiceResponseBody

func (*CreateServiceResponseBody) SetLogConfig

func (*CreateServiceResponseBody) SetNasConfig

func (*CreateServiceResponseBody) SetOssMountConfig

func (*CreateServiceResponseBody) SetRole

func (*CreateServiceResponseBody) SetServiceId

func (*CreateServiceResponseBody) SetServiceName

func (*CreateServiceResponseBody) SetTracingConfig

func (*CreateServiceResponseBody) SetUseSLRAuthentication added in v2.0.11

func (s *CreateServiceResponseBody) SetUseSLRAuthentication(v bool) *CreateServiceResponseBody

func (*CreateServiceResponseBody) SetVpcConfig

func (CreateServiceResponseBody) String

func (s CreateServiceResponseBody) String() string

type CreateTriggerHeaders

type CreateTriggerHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the request is initiated on the client. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (CreateTriggerHeaders) GoString

func (s CreateTriggerHeaders) GoString() string

func (*CreateTriggerHeaders) SetCommonHeaders

func (s *CreateTriggerHeaders) SetCommonHeaders(v map[string]*string) *CreateTriggerHeaders

func (*CreateTriggerHeaders) SetXFcAccountId

func (s *CreateTriggerHeaders) SetXFcAccountId(v string) *CreateTriggerHeaders

func (*CreateTriggerHeaders) SetXFcDate

func (*CreateTriggerHeaders) SetXFcTraceId

func (s *CreateTriggerHeaders) SetXFcTraceId(v string) *CreateTriggerHeaders

func (CreateTriggerHeaders) String

func (s CreateTriggerHeaders) String() string

type CreateTriggerRequest

type CreateTriggerRequest struct {
	// The description of the trigger.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The role that is used by the event source such as Object Storage Service (OSS) to invoke the function. For more information, see [Overview](~~53102~~).
	InvocationRole *string `json:"invocationRole,omitempty" xml:"invocationRole,omitempty"`
	// The version or alias of the service.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
	// The Alibaba Cloud Resource Name (ARN) of the event source for the trigger.
	SourceArn *string `json:"sourceArn,omitempty" xml:"sourceArn,omitempty"`
	// The configurations of the trigger. The configurations vary based on the trigger type. For more information about the format, see the following topics:
	//
	// *   Object Storage Service (OSS) trigger: [OSSTriggerConfig](~~415697~~).
	// *   Simple Log Service trigger: [LogTriggerConfig](~~415694~~).
	// *   Time trigger: [TimeTriggerConfig](~~415712~~).
	// *   HTTP trigger: [HTTPTriggerConfig](~~415685~~).
	// *   Tablestore trigger: Specify the **SourceArn** parameter and leave this parameter empty.
	// *   Alibaba Cloud CDN event trigger: [CDNEventsTriggerConfig](~~415674~~).
	// *   Message Service (MNS) topic trigger: [MnsTopicTriggerConfig](~~415695~~).
	// *   EventBridge triggers: [EventBridgeTriggerConfig](~~2508622~~).
	TriggerConfig *string `json:"triggerConfig,omitempty" xml:"triggerConfig,omitempty"`
	// The name of the trigger. The name contains only letters, digits, hyphens (-), and underscores (\_). The name must be 1 to 128 characters in length and cannot start with a digit or hyphen (-).
	TriggerName *string `json:"triggerName,omitempty" xml:"triggerName,omitempty"`
	// The type of the trigger. Valid values:
	//
	// *   **oss**: OSS event trigger. For more information, see [Overview](~~62922~~).
	// *   **log**: Simple Log Service trigger. For more information, see [Overview](~~84386~~).
	// *   **timer**: time trigger. For more information, see [Overview](~~68172~~).
	// *   **http**: HTTP trigger. For more information, see [Overview](~~71229~~).
	// *   **tablestore**: Tablestore trigger. For more information, see [Overview](~~100092~~).
	// *   **cdn_events**: CDN event trigger. For more information, see [Overview](~~73333~~).
	// *   **mns_topic**: MNS topic trigger. For more information, see [Overview](~~97032~~).
	// *   **eventbridge**: EventBridge triggers.
	TriggerType *string `json:"triggerType,omitempty" xml:"triggerType,omitempty"`
}

func (CreateTriggerRequest) GoString

func (s CreateTriggerRequest) GoString() string

func (*CreateTriggerRequest) SetDescription

func (s *CreateTriggerRequest) SetDescription(v string) *CreateTriggerRequest

func (*CreateTriggerRequest) SetInvocationRole

func (s *CreateTriggerRequest) SetInvocationRole(v string) *CreateTriggerRequest

func (*CreateTriggerRequest) SetQualifier

func (s *CreateTriggerRequest) SetQualifier(v string) *CreateTriggerRequest

func (*CreateTriggerRequest) SetSourceArn

func (s *CreateTriggerRequest) SetSourceArn(v string) *CreateTriggerRequest

func (*CreateTriggerRequest) SetTriggerConfig

func (s *CreateTriggerRequest) SetTriggerConfig(v string) *CreateTriggerRequest

func (*CreateTriggerRequest) SetTriggerName

func (s *CreateTriggerRequest) SetTriggerName(v string) *CreateTriggerRequest

func (*CreateTriggerRequest) SetTriggerType

func (s *CreateTriggerRequest) SetTriggerType(v string) *CreateTriggerRequest

func (CreateTriggerRequest) String

func (s CreateTriggerRequest) String() string

type CreateTriggerResponse

type CreateTriggerResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateTriggerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateTriggerResponse) GoString

func (s CreateTriggerResponse) GoString() string

func (*CreateTriggerResponse) SetBody

func (*CreateTriggerResponse) SetHeaders

func (*CreateTriggerResponse) SetStatusCode

func (s *CreateTriggerResponse) SetStatusCode(v int32) *CreateTriggerResponse

func (CreateTriggerResponse) String

func (s CreateTriggerResponse) String() string

type CreateTriggerResponseBody

type CreateTriggerResponseBody struct {
	// The time when the trigger was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The description of the trigger.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The domain name used to invoke the function by using HTTP. You can add this domain name as the prefix to the endpoint of Function Compute. This way, you can invoke the function that corresponds to the trigger by using HTTP. For example, `{domainName}.cn-shanghai.fc.aliyuncs.com`.
	DomainName *string `json:"domainName,omitempty" xml:"domainName,omitempty"`
	// The ARN of the RAM role that is used by the event source to invoke the function.
	InvocationRole *string `json:"invocationRole,omitempty" xml:"invocationRole,omitempty"`
	// The time when the trigger was last modified.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The version of the service.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
	// The ARN of the event source.
	SourceArn *string `json:"sourceArn,omitempty" xml:"sourceArn,omitempty"`
	// The configurations of the trigger. The configurations vary based on the trigger type.
	TriggerConfig *string `json:"triggerConfig,omitempty" xml:"triggerConfig,omitempty"`
	// The unique ID of the trigger.
	TriggerId *string `json:"triggerId,omitempty" xml:"triggerId,omitempty"`
	// The name of the trigger. The name contains only letters, digits, hyphens (-), and underscores (\_). The name must be 1 to 128 characters in length and cannot start with a digit or hyphen (-).
	TriggerName *string `json:"triggerName,omitempty" xml:"triggerName,omitempty"`
	// The trigger type. Valid values: **oss**, **log**, **tablestore**, **timer**, **http**, **cdn_events**, **mns_topic**, and **eventbridge**.
	TriggerType *string `json:"triggerType,omitempty" xml:"triggerType,omitempty"`
	// The public domain address. You can access HTTP triggers over the Internet by using HTTP or HTTPS.
	UrlInternet *string `json:"urlInternet,omitempty" xml:"urlInternet,omitempty"`
	// The private endpoint. In a VPC, you can access HTTP triggers by using HTTP or HTTPS.
	UrlIntranet *string `json:"urlIntranet,omitempty" xml:"urlIntranet,omitempty"`
}

func (CreateTriggerResponseBody) GoString

func (s CreateTriggerResponseBody) GoString() string

func (*CreateTriggerResponseBody) SetCreatedTime

func (*CreateTriggerResponseBody) SetDescription

func (*CreateTriggerResponseBody) SetDomainName

func (*CreateTriggerResponseBody) SetInvocationRole

func (*CreateTriggerResponseBody) SetLastModifiedTime

func (s *CreateTriggerResponseBody) SetLastModifiedTime(v string) *CreateTriggerResponseBody

func (*CreateTriggerResponseBody) SetQualifier

func (*CreateTriggerResponseBody) SetSourceArn

func (*CreateTriggerResponseBody) SetTriggerConfig

func (*CreateTriggerResponseBody) SetTriggerId

func (*CreateTriggerResponseBody) SetTriggerName

func (*CreateTriggerResponseBody) SetTriggerType

func (*CreateTriggerResponseBody) SetUrlInternet

func (*CreateTriggerResponseBody) SetUrlIntranet

func (CreateTriggerResponseBody) String

func (s CreateTriggerResponseBody) String() string

type CreateVpcBindingHeaders

type CreateVpcBindingHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when Function Compute API is called. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (CreateVpcBindingHeaders) GoString

func (s CreateVpcBindingHeaders) GoString() string

func (*CreateVpcBindingHeaders) SetCommonHeaders

func (s *CreateVpcBindingHeaders) SetCommonHeaders(v map[string]*string) *CreateVpcBindingHeaders

func (*CreateVpcBindingHeaders) SetXFcAccountId

func (*CreateVpcBindingHeaders) SetXFcDate

func (*CreateVpcBindingHeaders) SetXFcTraceId

func (CreateVpcBindingHeaders) String

func (s CreateVpcBindingHeaders) String() string

type CreateVpcBindingRequest

type CreateVpcBindingRequest struct {
	// The ID of the VPC to be bound.
	VpcId *string `json:"vpcId,omitempty" xml:"vpcId,omitempty"`
}

func (CreateVpcBindingRequest) GoString

func (s CreateVpcBindingRequest) GoString() string

func (*CreateVpcBindingRequest) SetVpcId

func (CreateVpcBindingRequest) String

func (s CreateVpcBindingRequest) String() string

type CreateVpcBindingResponse

type CreateVpcBindingResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (CreateVpcBindingResponse) GoString

func (s CreateVpcBindingResponse) GoString() string

func (*CreateVpcBindingResponse) SetHeaders

func (*CreateVpcBindingResponse) SetStatusCode

func (CreateVpcBindingResponse) String

func (s CreateVpcBindingResponse) String() string

type CustomContainerConfig

type CustomContainerConfig struct {
	AccelerationType *string `json:"accelerationType,omitempty" xml:"accelerationType,omitempty"`
	Args             *string `json:"args,omitempty" xml:"args,omitempty"`
	Command          *string `json:"command,omitempty" xml:"command,omitempty"`
	Image            *string `json:"image,omitempty" xml:"image,omitempty"`
	InstanceID       *string `json:"instanceID,omitempty" xml:"instanceID,omitempty"`
	WebServerMode    *bool   `json:"webServerMode,omitempty" xml:"webServerMode,omitempty"`
}

func (CustomContainerConfig) GoString

func (s CustomContainerConfig) GoString() string

func (*CustomContainerConfig) SetAccelerationType

func (s *CustomContainerConfig) SetAccelerationType(v string) *CustomContainerConfig

func (*CustomContainerConfig) SetArgs

func (*CustomContainerConfig) SetCommand

func (*CustomContainerConfig) SetImage

func (*CustomContainerConfig) SetInstanceID

func (s *CustomContainerConfig) SetInstanceID(v string) *CustomContainerConfig

func (*CustomContainerConfig) SetWebServerMode

func (s *CustomContainerConfig) SetWebServerMode(v bool) *CustomContainerConfig

func (CustomContainerConfig) String

func (s CustomContainerConfig) String() string

type CustomContainerConfigInfo

type CustomContainerConfigInfo struct {
	AccelerationInfo *AccelerationInfo `json:"accelerationInfo,omitempty" xml:"accelerationInfo,omitempty"`
	AccelerationType *string           `json:"accelerationType,omitempty" xml:"accelerationType,omitempty"`
	Args             *string           `json:"args,omitempty" xml:"args,omitempty"`
	Command          *string           `json:"command,omitempty" xml:"command,omitempty"`
	Image            *string           `json:"image,omitempty" xml:"image,omitempty"`
	InstanceID       *string           `json:"instanceID,omitempty" xml:"instanceID,omitempty"`
	WebServerMode    *bool             `json:"webServerMode,omitempty" xml:"webServerMode,omitempty"`
}

func (CustomContainerConfigInfo) GoString

func (s CustomContainerConfigInfo) GoString() string

func (*CustomContainerConfigInfo) SetAccelerationInfo

func (*CustomContainerConfigInfo) SetAccelerationType

func (s *CustomContainerConfigInfo) SetAccelerationType(v string) *CustomContainerConfigInfo

func (*CustomContainerConfigInfo) SetArgs

func (*CustomContainerConfigInfo) SetCommand

func (*CustomContainerConfigInfo) SetImage

func (*CustomContainerConfigInfo) SetInstanceID

func (*CustomContainerConfigInfo) SetWebServerMode

func (CustomContainerConfigInfo) String

func (s CustomContainerConfigInfo) String() string

type CustomDNS

type CustomDNS struct {
	DnsOptions  []*DNSOption `json:"dnsOptions,omitempty" xml:"dnsOptions,omitempty" type:"Repeated"`
	NameServers []*string    `json:"nameServers,omitempty" xml:"nameServers,omitempty" type:"Repeated"`
	Searches    []*string    `json:"searches,omitempty" xml:"searches,omitempty" type:"Repeated"`
}

func (CustomDNS) GoString

func (s CustomDNS) GoString() string

func (*CustomDNS) SetDnsOptions

func (s *CustomDNS) SetDnsOptions(v []*DNSOption) *CustomDNS

func (*CustomDNS) SetNameServers

func (s *CustomDNS) SetNameServers(v []*string) *CustomDNS

func (*CustomDNS) SetSearches

func (s *CustomDNS) SetSearches(v []*string) *CustomDNS

func (CustomDNS) String

func (s CustomDNS) String() string

type CustomHealthCheckConfig

type CustomHealthCheckConfig struct {
	FailureThreshold    *int32  `json:"failureThreshold,omitempty" xml:"failureThreshold,omitempty"`
	HttpGetUrl          *string `json:"httpGetUrl,omitempty" xml:"httpGetUrl,omitempty"`
	InitialDelaySeconds *int32  `json:"initialDelaySeconds,omitempty" xml:"initialDelaySeconds,omitempty"`
	PeriodSeconds       *int32  `json:"periodSeconds,omitempty" xml:"periodSeconds,omitempty"`
	SuccessThreshold    *int32  `json:"successThreshold,omitempty" xml:"successThreshold,omitempty"`
	TimeoutSeconds      *int32  `json:"timeoutSeconds,omitempty" xml:"timeoutSeconds,omitempty"`
}

func (CustomHealthCheckConfig) GoString

func (s CustomHealthCheckConfig) GoString() string

func (*CustomHealthCheckConfig) SetFailureThreshold

func (s *CustomHealthCheckConfig) SetFailureThreshold(v int32) *CustomHealthCheckConfig

func (*CustomHealthCheckConfig) SetHttpGetUrl

func (*CustomHealthCheckConfig) SetInitialDelaySeconds

func (s *CustomHealthCheckConfig) SetInitialDelaySeconds(v int32) *CustomHealthCheckConfig

func (*CustomHealthCheckConfig) SetPeriodSeconds

func (s *CustomHealthCheckConfig) SetPeriodSeconds(v int32) *CustomHealthCheckConfig

func (*CustomHealthCheckConfig) SetSuccessThreshold

func (s *CustomHealthCheckConfig) SetSuccessThreshold(v int32) *CustomHealthCheckConfig

func (*CustomHealthCheckConfig) SetTimeoutSeconds

func (s *CustomHealthCheckConfig) SetTimeoutSeconds(v int32) *CustomHealthCheckConfig

func (CustomHealthCheckConfig) String

func (s CustomHealthCheckConfig) String() string

type CustomRuntimeConfig

type CustomRuntimeConfig struct {
	Args    []*string `json:"args,omitempty" xml:"args,omitempty" type:"Repeated"`
	Command []*string `json:"command,omitempty" xml:"command,omitempty" type:"Repeated"`
}

func (CustomRuntimeConfig) GoString

func (s CustomRuntimeConfig) GoString() string

func (*CustomRuntimeConfig) SetArgs

func (*CustomRuntimeConfig) SetCommand

func (s *CustomRuntimeConfig) SetCommand(v []*string) *CustomRuntimeConfig

func (CustomRuntimeConfig) String

func (s CustomRuntimeConfig) String() string

type DNSOption

type DNSOption struct {
	Name  *string `json:"name,omitempty" xml:"name,omitempty"`
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (DNSOption) GoString

func (s DNSOption) GoString() string

func (*DNSOption) SetName

func (s *DNSOption) SetName(v string) *DNSOption

func (*DNSOption) SetValue

func (s *DNSOption) SetValue(v string) *DNSOption

func (DNSOption) String

func (s DNSOption) String() string

type DeadLetterQueue added in v2.0.7

type DeadLetterQueue struct {
	Arn *string `json:"Arn,omitempty" xml:"Arn,omitempty"`
}

func (DeadLetterQueue) GoString added in v2.0.7

func (s DeadLetterQueue) GoString() string

func (*DeadLetterQueue) SetArn added in v2.0.7

func (s *DeadLetterQueue) SetArn(v string) *DeadLetterQueue

func (DeadLetterQueue) String added in v2.0.7

func (s DeadLetterQueue) String() string

type DeleteAliasHeaders

type DeleteAliasHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// If the ETag specified in the request matches the ETag value of the object, OSS transmits the object and returns 200 OK. If the ETag specified in the request does not match the ETag value of the object, OSS returns 412 Precondition Failed.
	// The ETag value of a resource is used to check whether the resource has changed. You can check data integrity by using the ETag value.
	// Default value: null
	IfMatch *string `json:"If-Match,omitempty" xml:"If-Match,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when Function Compute API is called. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the invocation request of Function Compute.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (DeleteAliasHeaders) GoString

func (s DeleteAliasHeaders) GoString() string

func (*DeleteAliasHeaders) SetCommonHeaders

func (s *DeleteAliasHeaders) SetCommonHeaders(v map[string]*string) *DeleteAliasHeaders

func (*DeleteAliasHeaders) SetIfMatch

func (s *DeleteAliasHeaders) SetIfMatch(v string) *DeleteAliasHeaders

func (*DeleteAliasHeaders) SetXFcAccountId

func (s *DeleteAliasHeaders) SetXFcAccountId(v string) *DeleteAliasHeaders

func (*DeleteAliasHeaders) SetXFcDate

func (s *DeleteAliasHeaders) SetXFcDate(v string) *DeleteAliasHeaders

func (*DeleteAliasHeaders) SetXFcTraceId

func (s *DeleteAliasHeaders) SetXFcTraceId(v string) *DeleteAliasHeaders

func (DeleteAliasHeaders) String

func (s DeleteAliasHeaders) String() string

type DeleteAliasResponse

type DeleteAliasResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteAliasResponse) GoString

func (s DeleteAliasResponse) GoString() string

func (*DeleteAliasResponse) SetHeaders

func (s *DeleteAliasResponse) SetHeaders(v map[string]*string) *DeleteAliasResponse

func (*DeleteAliasResponse) SetStatusCode

func (s *DeleteAliasResponse) SetStatusCode(v int32) *DeleteAliasResponse

func (DeleteAliasResponse) String

func (s DeleteAliasResponse) String() string

type DeleteCustomDomainHeaders

type DeleteCustomDomainHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when Function Compute API is called. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (DeleteCustomDomainHeaders) GoString

func (s DeleteCustomDomainHeaders) GoString() string

func (*DeleteCustomDomainHeaders) SetCommonHeaders

func (*DeleteCustomDomainHeaders) SetXFcAccountId

func (*DeleteCustomDomainHeaders) SetXFcDate

func (*DeleteCustomDomainHeaders) SetXFcTraceId

func (DeleteCustomDomainHeaders) String

func (s DeleteCustomDomainHeaders) String() string

type DeleteCustomDomainResponse

type DeleteCustomDomainResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteCustomDomainResponse) GoString

func (s DeleteCustomDomainResponse) GoString() string

func (*DeleteCustomDomainResponse) SetHeaders

func (*DeleteCustomDomainResponse) SetStatusCode

func (DeleteCustomDomainResponse) String

type DeleteFunctionAsyncInvokeConfigHeaders

type DeleteFunctionAsyncInvokeConfigHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when Function Compute API is called. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the invocation request of Function Compute.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (DeleteFunctionAsyncInvokeConfigHeaders) GoString

func (*DeleteFunctionAsyncInvokeConfigHeaders) SetCommonHeaders

func (*DeleteFunctionAsyncInvokeConfigHeaders) SetXFcAccountId

func (*DeleteFunctionAsyncInvokeConfigHeaders) SetXFcDate

func (*DeleteFunctionAsyncInvokeConfigHeaders) SetXFcTraceId

func (DeleteFunctionAsyncInvokeConfigHeaders) String

type DeleteFunctionAsyncInvokeConfigRequest

type DeleteFunctionAsyncInvokeConfigRequest struct {
	// The qualifier.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
}

func (DeleteFunctionAsyncInvokeConfigRequest) GoString

func (*DeleteFunctionAsyncInvokeConfigRequest) SetQualifier

func (DeleteFunctionAsyncInvokeConfigRequest) String

type DeleteFunctionAsyncInvokeConfigResponse

type DeleteFunctionAsyncInvokeConfigResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteFunctionAsyncInvokeConfigResponse) GoString

func (*DeleteFunctionAsyncInvokeConfigResponse) SetHeaders

func (*DeleteFunctionAsyncInvokeConfigResponse) SetStatusCode

func (DeleteFunctionAsyncInvokeConfigResponse) String

type DeleteFunctionHeaders

type DeleteFunctionHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ETag value of the resource. This value is used to ensure that the modified resource is consistent with the resource to be modified. The ETag value is returned in the responses of the CREATE, GET, and UPDATE operations.
	IfMatch *string `json:"If-Match,omitempty" xml:"If-Match,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when Function Compute API is called. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the request for Function Compute API. The value is the same as that of the requestId parameter in the response.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (DeleteFunctionHeaders) GoString

func (s DeleteFunctionHeaders) GoString() string

func (*DeleteFunctionHeaders) SetCommonHeaders

func (s *DeleteFunctionHeaders) SetCommonHeaders(v map[string]*string) *DeleteFunctionHeaders

func (*DeleteFunctionHeaders) SetIfMatch

func (*DeleteFunctionHeaders) SetXFcAccountId

func (s *DeleteFunctionHeaders) SetXFcAccountId(v string) *DeleteFunctionHeaders

func (*DeleteFunctionHeaders) SetXFcDate

func (*DeleteFunctionHeaders) SetXFcTraceId

func (s *DeleteFunctionHeaders) SetXFcTraceId(v string) *DeleteFunctionHeaders

func (DeleteFunctionHeaders) String

func (s DeleteFunctionHeaders) String() string

type DeleteFunctionOnDemandConfigHeaders

type DeleteFunctionOnDemandConfigHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// If the ETag specified in the request matches the ETag value of the OndemandConfig, FC returns 200 OK. If the ETag specified in the request does not match the ETag value of the object, FC returns 412 Precondition Failed.
	IfMatch *string `json:"If-Match,omitempty" xml:"If-Match,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The start time when the function is invoked. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the request for Function Compute API, which is also the unique ID of the request.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (DeleteFunctionOnDemandConfigHeaders) GoString

func (*DeleteFunctionOnDemandConfigHeaders) SetCommonHeaders

func (*DeleteFunctionOnDemandConfigHeaders) SetIfMatch

func (*DeleteFunctionOnDemandConfigHeaders) SetXFcAccountId

func (*DeleteFunctionOnDemandConfigHeaders) SetXFcDate

func (*DeleteFunctionOnDemandConfigHeaders) SetXFcTraceId

func (DeleteFunctionOnDemandConfigHeaders) String

type DeleteFunctionOnDemandConfigRequest

type DeleteFunctionOnDemandConfigRequest struct {
	// The alias of the service or LATEST.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
}

func (DeleteFunctionOnDemandConfigRequest) GoString

func (*DeleteFunctionOnDemandConfigRequest) SetQualifier

func (DeleteFunctionOnDemandConfigRequest) String

type DeleteFunctionOnDemandConfigResponse

type DeleteFunctionOnDemandConfigResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteFunctionOnDemandConfigResponse) GoString

func (*DeleteFunctionOnDemandConfigResponse) SetHeaders

func (*DeleteFunctionOnDemandConfigResponse) SetStatusCode

func (DeleteFunctionOnDemandConfigResponse) String

type DeleteFunctionResponse

type DeleteFunctionResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteFunctionResponse) GoString

func (s DeleteFunctionResponse) GoString() string

func (*DeleteFunctionResponse) SetHeaders

func (*DeleteFunctionResponse) SetStatusCode

func (DeleteFunctionResponse) String

func (s DeleteFunctionResponse) String() string

type DeleteLayerVersionHeaders

type DeleteLayerVersionHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when Function Compute API is called. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the request for Function Compute API.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (DeleteLayerVersionHeaders) GoString

func (s DeleteLayerVersionHeaders) GoString() string

func (*DeleteLayerVersionHeaders) SetCommonHeaders

func (*DeleteLayerVersionHeaders) SetXFcAccountId

func (*DeleteLayerVersionHeaders) SetXFcDate

func (*DeleteLayerVersionHeaders) SetXFcTraceId

func (DeleteLayerVersionHeaders) String

func (s DeleteLayerVersionHeaders) String() string

type DeleteLayerVersionResponse

type DeleteLayerVersionResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteLayerVersionResponse) GoString

func (s DeleteLayerVersionResponse) GoString() string

func (*DeleteLayerVersionResponse) SetHeaders

func (*DeleteLayerVersionResponse) SetStatusCode

func (DeleteLayerVersionResponse) String

type DeleteServiceHeaders

type DeleteServiceHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ETag value of the service. This value is used to ensure that the modified service is consistent with the service to be modified. The ETag value is returned in the responses of the [CreateService](~~175256~~), [UpdateService](~~188167~~), and [GetService](~~189225~~) operations.
	IfMatch *string `json:"If-Match,omitempty" xml:"If-Match,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when Function Compute API is called. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (DeleteServiceHeaders) GoString

func (s DeleteServiceHeaders) GoString() string

func (*DeleteServiceHeaders) SetCommonHeaders

func (s *DeleteServiceHeaders) SetCommonHeaders(v map[string]*string) *DeleteServiceHeaders

func (*DeleteServiceHeaders) SetIfMatch

func (*DeleteServiceHeaders) SetXFcAccountId

func (s *DeleteServiceHeaders) SetXFcAccountId(v string) *DeleteServiceHeaders

func (*DeleteServiceHeaders) SetXFcDate

func (*DeleteServiceHeaders) SetXFcTraceId

func (s *DeleteServiceHeaders) SetXFcTraceId(v string) *DeleteServiceHeaders

func (DeleteServiceHeaders) String

func (s DeleteServiceHeaders) String() string

type DeleteServiceResponse

type DeleteServiceResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteServiceResponse) GoString

func (s DeleteServiceResponse) GoString() string

func (*DeleteServiceResponse) SetHeaders

func (*DeleteServiceResponse) SetStatusCode

func (s *DeleteServiceResponse) SetStatusCode(v int32) *DeleteServiceResponse

func (DeleteServiceResponse) String

func (s DeleteServiceResponse) String() string

type DeleteServiceVersionHeaders

type DeleteServiceVersionHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when Function Compute API is called. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the invocation request of Function Compute.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (DeleteServiceVersionHeaders) GoString

func (s DeleteServiceVersionHeaders) GoString() string

func (*DeleteServiceVersionHeaders) SetCommonHeaders

func (*DeleteServiceVersionHeaders) SetXFcAccountId

func (*DeleteServiceVersionHeaders) SetXFcDate

func (*DeleteServiceVersionHeaders) SetXFcTraceId

func (DeleteServiceVersionHeaders) String

type DeleteServiceVersionResponse

type DeleteServiceVersionResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteServiceVersionResponse) GoString

func (s DeleteServiceVersionResponse) GoString() string

func (*DeleteServiceVersionResponse) SetHeaders

func (*DeleteServiceVersionResponse) SetStatusCode

func (DeleteServiceVersionResponse) String

type DeleteTriggerHeaders

type DeleteTriggerHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// This parameter is used to ensure that the modified resource is consistent with the resource to be modified. You can obtain the parameter value from the responses of [CreateTrigger](~~415729~~), [GetTrigger](~~415732~~), and [UpdateTrigger](~~415731~~) operations.
	IfMatch *string `json:"If-Match,omitempty" xml:"If-Match,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the request is initiated on the client. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (DeleteTriggerHeaders) GoString

func (s DeleteTriggerHeaders) GoString() string

func (*DeleteTriggerHeaders) SetCommonHeaders

func (s *DeleteTriggerHeaders) SetCommonHeaders(v map[string]*string) *DeleteTriggerHeaders

func (*DeleteTriggerHeaders) SetIfMatch

func (*DeleteTriggerHeaders) SetXFcAccountId

func (s *DeleteTriggerHeaders) SetXFcAccountId(v string) *DeleteTriggerHeaders

func (*DeleteTriggerHeaders) SetXFcDate

func (*DeleteTriggerHeaders) SetXFcTraceId

func (s *DeleteTriggerHeaders) SetXFcTraceId(v string) *DeleteTriggerHeaders

func (DeleteTriggerHeaders) String

func (s DeleteTriggerHeaders) String() string

type DeleteTriggerResponse

type DeleteTriggerResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteTriggerResponse) GoString

func (s DeleteTriggerResponse) GoString() string

func (*DeleteTriggerResponse) SetHeaders

func (*DeleteTriggerResponse) SetStatusCode

func (s *DeleteTriggerResponse) SetStatusCode(v int32) *DeleteTriggerResponse

func (DeleteTriggerResponse) String

func (s DeleteTriggerResponse) String() string

type DeleteVpcBindingHeaders

type DeleteVpcBindingHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when Function Compute API is called. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (DeleteVpcBindingHeaders) GoString

func (s DeleteVpcBindingHeaders) GoString() string

func (*DeleteVpcBindingHeaders) SetCommonHeaders

func (s *DeleteVpcBindingHeaders) SetCommonHeaders(v map[string]*string) *DeleteVpcBindingHeaders

func (*DeleteVpcBindingHeaders) SetXFcAccountId

func (*DeleteVpcBindingHeaders) SetXFcDate

func (*DeleteVpcBindingHeaders) SetXFcTraceId

func (DeleteVpcBindingHeaders) String

func (s DeleteVpcBindingHeaders) String() string

type DeleteVpcBindingResponse

type DeleteVpcBindingResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteVpcBindingResponse) GoString

func (s DeleteVpcBindingResponse) GoString() string

func (*DeleteVpcBindingResponse) SetHeaders

func (*DeleteVpcBindingResponse) SetStatusCode

func (DeleteVpcBindingResponse) String

func (s DeleteVpcBindingResponse) String() string

type DeliveryOption added in v2.0.7

type DeliveryOption struct {
	Concurrency *int64  `json:"concurrency,omitempty" xml:"concurrency,omitempty"`
	EventSchema *string `json:"eventSchema,omitempty" xml:"eventSchema,omitempty"`
	Mode        *string `json:"mode,omitempty" xml:"mode,omitempty"`
}

func (DeliveryOption) GoString added in v2.0.7

func (s DeliveryOption) GoString() string

func (*DeliveryOption) SetConcurrency added in v2.0.10

func (s *DeliveryOption) SetConcurrency(v int64) *DeliveryOption

func (*DeliveryOption) SetEventSchema added in v2.0.7

func (s *DeliveryOption) SetEventSchema(v string) *DeliveryOption

func (*DeliveryOption) SetMode added in v2.0.7

func (s *DeliveryOption) SetMode(v string) *DeliveryOption

func (DeliveryOption) String added in v2.0.7

func (s DeliveryOption) String() string

type DeregisterEventSourceHeaders

type DeregisterEventSourceHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when Function Compute API is called. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the invocation request of Function Compute.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (DeregisterEventSourceHeaders) GoString

func (s DeregisterEventSourceHeaders) GoString() string

func (*DeregisterEventSourceHeaders) SetCommonHeaders

func (*DeregisterEventSourceHeaders) SetXFcAccountId

func (*DeregisterEventSourceHeaders) SetXFcDate

func (*DeregisterEventSourceHeaders) SetXFcTraceId

func (DeregisterEventSourceHeaders) String

type DeregisterEventSourceRequest

type DeregisterEventSourceRequest struct {
	// The version or alias of the service.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
}

func (DeregisterEventSourceRequest) GoString

func (s DeregisterEventSourceRequest) GoString() string

func (*DeregisterEventSourceRequest) SetQualifier

func (DeregisterEventSourceRequest) String

type DeregisterEventSourceResponse

type DeregisterEventSourceResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeregisterEventSourceResponse) GoString

func (*DeregisterEventSourceResponse) SetHeaders

func (*DeregisterEventSourceResponse) SetStatusCode

func (DeregisterEventSourceResponse) String

type Destination

type Destination struct {
	Destination *string `json:"destination,omitempty" xml:"destination,omitempty"`
}

func (Destination) GoString

func (s Destination) GoString() string

func (*Destination) SetDestination

func (s *Destination) SetDestination(v string) *Destination

func (Destination) String

func (s Destination) String() string

type DestinationConfig

type DestinationConfig struct {
	OnFailure *Destination `json:"onFailure,omitempty" xml:"onFailure,omitempty"`
	OnSuccess *Destination `json:"onSuccess,omitempty" xml:"onSuccess,omitempty"`
}

func (DestinationConfig) GoString

func (s DestinationConfig) GoString() string

func (*DestinationConfig) SetOnFailure

func (s *DestinationConfig) SetOnFailure(v *Destination) *DestinationConfig

func (*DestinationConfig) SetOnSuccess

func (s *DestinationConfig) SetOnSuccess(v *Destination) *DestinationConfig

func (DestinationConfig) String

func (s DestinationConfig) String() string

type Error

type Error struct {
	ErrorCode    *string `json:"errorCode,omitempty" xml:"errorCode,omitempty"`
	ErrorMessage *string `json:"errorMessage,omitempty" xml:"errorMessage,omitempty"`
}

func (Error) GoString

func (s Error) GoString() string

func (*Error) SetErrorCode

func (s *Error) SetErrorCode(v string) *Error

func (*Error) SetErrorMessage

func (s *Error) SetErrorMessage(v string) *Error

func (Error) String

func (s Error) String() string

type ErrorInfo

type ErrorInfo struct {
	ErrorMessage *string `json:"errorMessage,omitempty" xml:"errorMessage,omitempty"`
	StackTrace   *string `json:"stackTrace,omitempty" xml:"stackTrace,omitempty"`
}

func (ErrorInfo) GoString

func (s ErrorInfo) GoString() string

func (*ErrorInfo) SetErrorMessage

func (s *ErrorInfo) SetErrorMessage(v string) *ErrorInfo

func (*ErrorInfo) SetStackTrace

func (s *ErrorInfo) SetStackTrace(v string) *ErrorInfo

func (ErrorInfo) String

func (s ErrorInfo) String() string

type EventBridgeTriggerConfig

type EventBridgeTriggerConfig struct {
	AsyncInvocationType    *bool              `json:"asyncInvocationType,omitempty" xml:"asyncInvocationType,omitempty"`
	EventRuleFilterPattern *string            `json:"eventRuleFilterPattern,omitempty" xml:"eventRuleFilterPattern,omitempty"`
	EventSinkConfig        *EventSinkConfig   `json:"eventSinkConfig,omitempty" xml:"eventSinkConfig,omitempty"`
	EventSourceConfig      *EventSourceConfig `json:"eventSourceConfig,omitempty" xml:"eventSourceConfig,omitempty"`
	RunOptions             *RunOptions        `json:"runOptions,omitempty" xml:"runOptions,omitempty"`
	TriggerEnable          *bool              `json:"triggerEnable,omitempty" xml:"triggerEnable,omitempty"`
}

func (EventBridgeTriggerConfig) GoString

func (s EventBridgeTriggerConfig) GoString() string

func (*EventBridgeTriggerConfig) SetAsyncInvocationType

func (s *EventBridgeTriggerConfig) SetAsyncInvocationType(v bool) *EventBridgeTriggerConfig

func (*EventBridgeTriggerConfig) SetEventRuleFilterPattern

func (s *EventBridgeTriggerConfig) SetEventRuleFilterPattern(v string) *EventBridgeTriggerConfig

func (*EventBridgeTriggerConfig) SetEventSinkConfig added in v2.0.7

func (*EventBridgeTriggerConfig) SetEventSourceConfig

func (*EventBridgeTriggerConfig) SetRunOptions added in v2.0.7

func (*EventBridgeTriggerConfig) SetTriggerEnable

func (s *EventBridgeTriggerConfig) SetTriggerEnable(v bool) *EventBridgeTriggerConfig

func (EventBridgeTriggerConfig) String

func (s EventBridgeTriggerConfig) String() string

type EventSinkConfig added in v2.0.7

type EventSinkConfig struct {
	DeliveryOption *DeliveryOption `json:"deliveryOption,omitempty" xml:"deliveryOption,omitempty"`
}

func (EventSinkConfig) GoString added in v2.0.7

func (s EventSinkConfig) GoString() string

func (*EventSinkConfig) SetDeliveryOption added in v2.0.7

func (s *EventSinkConfig) SetDeliveryOption(v *DeliveryOption) *EventSinkConfig

func (EventSinkConfig) String added in v2.0.7

func (s EventSinkConfig) String() string

type EventSourceConfig

type EventSourceConfig struct {
	EventSourceParameters *EventSourceParameters `json:"eventSourceParameters,omitempty" xml:"eventSourceParameters,omitempty"`
	EventSourceType       *string                `json:"eventSourceType,omitempty" xml:"eventSourceType,omitempty"`
}

func (EventSourceConfig) GoString

func (s EventSourceConfig) GoString() string

func (*EventSourceConfig) SetEventSourceParameters

func (s *EventSourceConfig) SetEventSourceParameters(v *EventSourceParameters) *EventSourceConfig

func (*EventSourceConfig) SetEventSourceType

func (s *EventSourceConfig) SetEventSourceType(v string) *EventSourceConfig

func (EventSourceConfig) String

func (s EventSourceConfig) String() string

type EventSourceParameters

type EventSourceParameters struct {
	SourceDTSParameters      *SourceDTSParameters      `json:"sourceDTSParameters,omitempty" xml:"sourceDTSParameters,omitempty"`
	SourceKafkaParameters    *SourceKafkaParameters    `json:"sourceKafkaParameters,omitempty" xml:"sourceKafkaParameters,omitempty"`
	SourceMNSParameters      *SourceMNSParameters      `json:"sourceMNSParameters,omitempty" xml:"sourceMNSParameters,omitempty"`
	SourceMQTTParameters     *SourceMQTTParameters     `json:"sourceMQTTParameters,omitempty" xml:"sourceMQTTParameters,omitempty"`
	SourceRabbitMQParameters *SourceRabbitMQParameters `json:"sourceRabbitMQParameters,omitempty" xml:"sourceRabbitMQParameters,omitempty"`
	SourceRocketMQParameters *SourceRocketMQParameters `json:"sourceRocketMQParameters,omitempty" xml:"sourceRocketMQParameters,omitempty"`
}

func (EventSourceParameters) GoString

func (s EventSourceParameters) GoString() string

func (*EventSourceParameters) SetSourceDTSParameters added in v2.0.10

func (s *EventSourceParameters) SetSourceDTSParameters(v *SourceDTSParameters) *EventSourceParameters

func (*EventSourceParameters) SetSourceKafkaParameters added in v2.0.7

func (s *EventSourceParameters) SetSourceKafkaParameters(v *SourceKafkaParameters) *EventSourceParameters

func (*EventSourceParameters) SetSourceMNSParameters

func (s *EventSourceParameters) SetSourceMNSParameters(v *SourceMNSParameters) *EventSourceParameters

func (*EventSourceParameters) SetSourceMQTTParameters added in v2.0.10

func (s *EventSourceParameters) SetSourceMQTTParameters(v *SourceMQTTParameters) *EventSourceParameters

func (*EventSourceParameters) SetSourceRabbitMQParameters

func (s *EventSourceParameters) SetSourceRabbitMQParameters(v *SourceRabbitMQParameters) *EventSourceParameters

func (*EventSourceParameters) SetSourceRocketMQParameters

func (s *EventSourceParameters) SetSourceRocketMQParameters(v *SourceRocketMQParameters) *EventSourceParameters

func (EventSourceParameters) String

func (s EventSourceParameters) String() string

type GetAccountSettingsHeaders

type GetAccountSettingsHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when Function Compute API is called. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (GetAccountSettingsHeaders) GoString

func (s GetAccountSettingsHeaders) GoString() string

func (*GetAccountSettingsHeaders) SetCommonHeaders

func (*GetAccountSettingsHeaders) SetXFcAccountId

func (*GetAccountSettingsHeaders) SetXFcDate

func (*GetAccountSettingsHeaders) SetXFcTraceId

func (GetAccountSettingsHeaders) String

func (s GetAccountSettingsHeaders) String() string

type GetAccountSettingsResponse

type GetAccountSettingsResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetAccountSettingsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetAccountSettingsResponse) GoString

func (s GetAccountSettingsResponse) GoString() string

func (*GetAccountSettingsResponse) SetBody

func (*GetAccountSettingsResponse) SetHeaders

func (*GetAccountSettingsResponse) SetStatusCode

func (GetAccountSettingsResponse) String

type GetAccountSettingsResponseBody

type GetAccountSettingsResponseBody struct {
	// The list of zones.
	AvailableAZs []*string `json:"availableAZs,omitempty" xml:"availableAZs,omitempty" type:"Repeated"`
	// The default RAM role.
	DefaultRole *string `json:"defaultRole,omitempty" xml:"defaultRole,omitempty"`
}

func (GetAccountSettingsResponseBody) GoString

func (*GetAccountSettingsResponseBody) SetAvailableAZs

func (*GetAccountSettingsResponseBody) SetDefaultRole

func (GetAccountSettingsResponseBody) String

type GetAliasHeaders

type GetAliasHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the invocation request of Function Compute.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (GetAliasHeaders) GoString

func (s GetAliasHeaders) GoString() string

func (*GetAliasHeaders) SetCommonHeaders

func (s *GetAliasHeaders) SetCommonHeaders(v map[string]*string) *GetAliasHeaders

func (*GetAliasHeaders) SetXFcAccountId

func (s *GetAliasHeaders) SetXFcAccountId(v string) *GetAliasHeaders

func (*GetAliasHeaders) SetXFcDate

func (s *GetAliasHeaders) SetXFcDate(v string) *GetAliasHeaders

func (*GetAliasHeaders) SetXFcTraceId

func (s *GetAliasHeaders) SetXFcTraceId(v string) *GetAliasHeaders

func (GetAliasHeaders) String

func (s GetAliasHeaders) String() string

type GetAliasResponse

type GetAliasResponse struct {
	Headers    map[string]*string    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetAliasResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetAliasResponse) GoString

func (s GetAliasResponse) GoString() string

func (*GetAliasResponse) SetBody

func (*GetAliasResponse) SetHeaders

func (s *GetAliasResponse) SetHeaders(v map[string]*string) *GetAliasResponse

func (*GetAliasResponse) SetStatusCode

func (s *GetAliasResponse) SetStatusCode(v int32) *GetAliasResponse

func (GetAliasResponse) String

func (s GetAliasResponse) String() string

type GetAliasResponseBody

type GetAliasResponseBody struct {
	// The additional version to which the alias points and the weight of the additional version.
	//
	// *   The additional version takes effect only when the function is invoked.
	// *   The value consists of a version number and a specific weight. For example, 2:0.05 indicates that when a function is invoked, Version 2 is the canary release version, 5% of the traffic is distributed to the canary release version, and 95% of the traffic is distributed to the major version.
	AdditionalVersionWeight map[string]*float32 `json:"additionalVersionWeight,omitempty" xml:"additionalVersionWeight,omitempty"`
	// The name of the alias.
	AliasName *string `json:"aliasName,omitempty" xml:"aliasName,omitempty"`
	// The time when the alias was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The description of the alias.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The time when the alias was last modified.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The canary release mode. Valid values:
	//
	// *   **Random**: random canary release. This is the default value.
	// *   **Content**: rule-based canary release.
	ResolvePolicy *string `json:"resolvePolicy,omitempty" xml:"resolvePolicy,omitempty"`
	// The canary release rule. Traffic that meets the canary release rule is routed to the canary release instance.
	RoutePolicy *RoutePolicy `json:"routePolicy,omitempty" xml:"routePolicy,omitempty"`
	// The version to which the alias points.
	VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"`
}

func (GetAliasResponseBody) GoString

func (s GetAliasResponseBody) GoString() string

func (*GetAliasResponseBody) SetAdditionalVersionWeight

func (s *GetAliasResponseBody) SetAdditionalVersionWeight(v map[string]*float32) *GetAliasResponseBody

func (*GetAliasResponseBody) SetAliasName

func (s *GetAliasResponseBody) SetAliasName(v string) *GetAliasResponseBody

func (*GetAliasResponseBody) SetCreatedTime

func (s *GetAliasResponseBody) SetCreatedTime(v string) *GetAliasResponseBody

func (*GetAliasResponseBody) SetDescription

func (s *GetAliasResponseBody) SetDescription(v string) *GetAliasResponseBody

func (*GetAliasResponseBody) SetLastModifiedTime

func (s *GetAliasResponseBody) SetLastModifiedTime(v string) *GetAliasResponseBody

func (*GetAliasResponseBody) SetResolvePolicy

func (s *GetAliasResponseBody) SetResolvePolicy(v string) *GetAliasResponseBody

func (*GetAliasResponseBody) SetRoutePolicy

func (s *GetAliasResponseBody) SetRoutePolicy(v *RoutePolicy) *GetAliasResponseBody

func (*GetAliasResponseBody) SetVersionId

func (s *GetAliasResponseBody) SetVersionId(v string) *GetAliasResponseBody

func (GetAliasResponseBody) String

func (s GetAliasResponseBody) String() string

type GetCustomDomainHeaders

type GetCustomDomainHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the operation is called. The format is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (GetCustomDomainHeaders) GoString

func (s GetCustomDomainHeaders) GoString() string

func (*GetCustomDomainHeaders) SetCommonHeaders

func (s *GetCustomDomainHeaders) SetCommonHeaders(v map[string]*string) *GetCustomDomainHeaders

func (*GetCustomDomainHeaders) SetXFcAccountId

func (s *GetCustomDomainHeaders) SetXFcAccountId(v string) *GetCustomDomainHeaders

func (*GetCustomDomainHeaders) SetXFcDate

func (*GetCustomDomainHeaders) SetXFcTraceId

func (GetCustomDomainHeaders) String

func (s GetCustomDomainHeaders) String() string

type GetCustomDomainResponse

type GetCustomDomainResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetCustomDomainResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetCustomDomainResponse) GoString

func (s GetCustomDomainResponse) GoString() string

func (*GetCustomDomainResponse) SetBody

func (*GetCustomDomainResponse) SetHeaders

func (*GetCustomDomainResponse) SetStatusCode

func (GetCustomDomainResponse) String

func (s GetCustomDomainResponse) String() string

type GetCustomDomainResponseBody

type GetCustomDomainResponseBody struct {
	// The ID of your Alibaba Cloud account.
	AccountId *string `json:"accountId,omitempty" xml:"accountId,omitempty"`
	// The version of the API.
	ApiVersion *string `json:"apiVersion,omitempty" xml:"apiVersion,omitempty"`
	// The configurations of the HTTPS certificate.
	CertConfig *CertConfig `json:"certConfig,omitempty" xml:"certConfig,omitempty"`
	// The time when the custom domain name was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The domain name.
	DomainName *string `json:"domainName,omitempty" xml:"domainName,omitempty"`
	// The time when the domain name was last modified.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The protocol types supported by the domain name. Valid values:
	//
	// *   **HTTP**: Only HTTP is supported.
	// *   **HTTPS**: Only HTTPS is supported.
	// *   **HTTP,HTTPS**: HTTP and HTTPS are supported.
	Protocol *string `json:"protocol,omitempty" xml:"protocol,omitempty"`
	// The route table that maps the paths to functions when the functions are invoked by using the custom domain name.
	RouteConfig *RouteConfig `json:"routeConfig,omitempty" xml:"routeConfig,omitempty"`
	// The Transport Layer Security (TLS) configuration.
	TlsConfig *TLSConfig `json:"tlsConfig,omitempty" xml:"tlsConfig,omitempty"`
	// The Web Application Firewall (WAF) configuration.
	WafConfig *WAFConfig `json:"wafConfig,omitempty" xml:"wafConfig,omitempty"`
}

func (GetCustomDomainResponseBody) GoString

func (s GetCustomDomainResponseBody) GoString() string

func (*GetCustomDomainResponseBody) SetAccountId

func (*GetCustomDomainResponseBody) SetApiVersion

func (*GetCustomDomainResponseBody) SetCertConfig

func (*GetCustomDomainResponseBody) SetCreatedTime

func (*GetCustomDomainResponseBody) SetDomainName

func (*GetCustomDomainResponseBody) SetLastModifiedTime

func (*GetCustomDomainResponseBody) SetProtocol

func (*GetCustomDomainResponseBody) SetRouteConfig

func (*GetCustomDomainResponseBody) SetTlsConfig

func (*GetCustomDomainResponseBody) SetWafConfig added in v2.0.3

func (GetCustomDomainResponseBody) String

type GetFunctionAsyncInvokeConfigHeaders

type GetFunctionAsyncInvokeConfigHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the Function Compute is called. The format is **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the invocation request of Function Compute.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (GetFunctionAsyncInvokeConfigHeaders) GoString

func (*GetFunctionAsyncInvokeConfigHeaders) SetCommonHeaders

func (*GetFunctionAsyncInvokeConfigHeaders) SetXFcAccountId

func (*GetFunctionAsyncInvokeConfigHeaders) SetXFcDate

func (*GetFunctionAsyncInvokeConfigHeaders) SetXFcTraceId

func (GetFunctionAsyncInvokeConfigHeaders) String

type GetFunctionAsyncInvokeConfigRequest

type GetFunctionAsyncInvokeConfigRequest struct {
	// The version or alias of the function.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
}

func (GetFunctionAsyncInvokeConfigRequest) GoString

func (*GetFunctionAsyncInvokeConfigRequest) SetQualifier

func (GetFunctionAsyncInvokeConfigRequest) String

type GetFunctionAsyncInvokeConfigResponse

type GetFunctionAsyncInvokeConfigResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetFunctionAsyncInvokeConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetFunctionAsyncInvokeConfigResponse) GoString

func (*GetFunctionAsyncInvokeConfigResponse) SetHeaders

func (*GetFunctionAsyncInvokeConfigResponse) SetStatusCode

func (GetFunctionAsyncInvokeConfigResponse) String

type GetFunctionAsyncInvokeConfigResponseBody

type GetFunctionAsyncInvokeConfigResponseBody struct {
	// The time when the desktop group was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The configuration struct of the destination for asynchronous invocations.
	DestinationConfig *DestinationConfig `json:"destinationConfig,omitempty" xml:"destinationConfig,omitempty"`
	// The name of the function.
	Function *string `json:"function,omitempty" xml:"function,omitempty"`
	// The time when the configuration was last modified.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The maximum validity period of a message.
	MaxAsyncEventAgeInSeconds *int64 `json:"maxAsyncEventAgeInSeconds,omitempty" xml:"maxAsyncEventAgeInSeconds,omitempty"`
	// The maximum number of retries allowed after an asynchronous invocation fails.
	MaxAsyncRetryAttempts *int64 `json:"maxAsyncRetryAttempts,omitempty" xml:"maxAsyncRetryAttempts,omitempty"`
	// The version or alias of the service to which the function belongs.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
	// The name of the service.
	Service *string `json:"service,omitempty" xml:"service,omitempty"`
	// Indicates whether the asynchronous task feature is enabled.
	//
	// *   **true**: The asynchronous task feature is enabled.
	// *   **false**: The asynchronous task feature is disabled.
	StatefulInvocation *bool `json:"statefulInvocation,omitempty" xml:"statefulInvocation,omitempty"`
}

func (GetFunctionAsyncInvokeConfigResponseBody) GoString

func (*GetFunctionAsyncInvokeConfigResponseBody) SetCreatedTime

func (*GetFunctionAsyncInvokeConfigResponseBody) SetDestinationConfig

func (*GetFunctionAsyncInvokeConfigResponseBody) SetFunction

func (*GetFunctionAsyncInvokeConfigResponseBody) SetLastModifiedTime

func (*GetFunctionAsyncInvokeConfigResponseBody) SetMaxAsyncEventAgeInSeconds

func (*GetFunctionAsyncInvokeConfigResponseBody) SetMaxAsyncRetryAttempts

func (*GetFunctionAsyncInvokeConfigResponseBody) SetQualifier

func (*GetFunctionAsyncInvokeConfigResponseBody) SetService

func (*GetFunctionAsyncInvokeConfigResponseBody) SetStatefulInvocation

func (GetFunctionAsyncInvokeConfigResponseBody) String

type GetFunctionCodeHeaders

type GetFunctionCodeHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (GetFunctionCodeHeaders) GoString

func (s GetFunctionCodeHeaders) GoString() string

func (*GetFunctionCodeHeaders) SetCommonHeaders

func (s *GetFunctionCodeHeaders) SetCommonHeaders(v map[string]*string) *GetFunctionCodeHeaders

func (*GetFunctionCodeHeaders) SetXFcAccountId

func (s *GetFunctionCodeHeaders) SetXFcAccountId(v string) *GetFunctionCodeHeaders

func (*GetFunctionCodeHeaders) SetXFcDate

func (*GetFunctionCodeHeaders) SetXFcTraceId

func (GetFunctionCodeHeaders) String

func (s GetFunctionCodeHeaders) String() string

type GetFunctionCodeRequest

type GetFunctionCodeRequest struct {
	// The version or alias of the service.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
}

func (GetFunctionCodeRequest) GoString

func (s GetFunctionCodeRequest) GoString() string

func (*GetFunctionCodeRequest) SetQualifier

func (GetFunctionCodeRequest) String

func (s GetFunctionCodeRequest) String() string

type GetFunctionCodeResponse

type GetFunctionCodeResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetFunctionCodeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetFunctionCodeResponse) GoString

func (s GetFunctionCodeResponse) GoString() string

func (*GetFunctionCodeResponse) SetBody

func (*GetFunctionCodeResponse) SetHeaders

func (*GetFunctionCodeResponse) SetStatusCode

func (GetFunctionCodeResponse) String

func (s GetFunctionCodeResponse) String() string

type GetFunctionCodeResponseBody

type GetFunctionCodeResponseBody struct {
	// The CRC-64 value of the function code package.
	Checksum *string `json:"checksum,omitempty" xml:"checksum,omitempty"`
	// The URL of the function code package.
	Url *string `json:"url,omitempty" xml:"url,omitempty"`
}

func (GetFunctionCodeResponseBody) GoString

func (s GetFunctionCodeResponseBody) GoString() string

func (*GetFunctionCodeResponseBody) SetChecksum

func (*GetFunctionCodeResponseBody) SetUrl

func (GetFunctionCodeResponseBody) String

type GetFunctionHeaders

type GetFunctionHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (GetFunctionHeaders) GoString

func (s GetFunctionHeaders) GoString() string

func (*GetFunctionHeaders) SetCommonHeaders

func (s *GetFunctionHeaders) SetCommonHeaders(v map[string]*string) *GetFunctionHeaders

func (*GetFunctionHeaders) SetXFcAccountId

func (s *GetFunctionHeaders) SetXFcAccountId(v string) *GetFunctionHeaders

func (*GetFunctionHeaders) SetXFcDate

func (s *GetFunctionHeaders) SetXFcDate(v string) *GetFunctionHeaders

func (*GetFunctionHeaders) SetXFcTraceId

func (s *GetFunctionHeaders) SetXFcTraceId(v string) *GetFunctionHeaders

func (GetFunctionHeaders) String

func (s GetFunctionHeaders) String() string

type GetFunctionOnDemandConfigHeaders

type GetFunctionOnDemandConfigHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The unique ID of the trace.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (GetFunctionOnDemandConfigHeaders) GoString

func (*GetFunctionOnDemandConfigHeaders) SetCommonHeaders

func (*GetFunctionOnDemandConfigHeaders) SetXFcAccountId

func (*GetFunctionOnDemandConfigHeaders) SetXFcDate

func (*GetFunctionOnDemandConfigHeaders) SetXFcTraceId

func (GetFunctionOnDemandConfigHeaders) String

type GetFunctionOnDemandConfigRequest

type GetFunctionOnDemandConfigRequest struct {
	// Service alias or LATEST. Other versions are not supported.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
}

func (GetFunctionOnDemandConfigRequest) GoString

func (*GetFunctionOnDemandConfigRequest) SetQualifier

func (GetFunctionOnDemandConfigRequest) String

type GetFunctionOnDemandConfigResponse

type GetFunctionOnDemandConfigResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetFunctionOnDemandConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetFunctionOnDemandConfigResponse) GoString

func (*GetFunctionOnDemandConfigResponse) SetHeaders

func (*GetFunctionOnDemandConfigResponse) SetStatusCode

func (GetFunctionOnDemandConfigResponse) String

type GetFunctionOnDemandConfigResponseBody

type GetFunctionOnDemandConfigResponseBody struct {
	// The maximum number of instances.
	MaximumInstanceCount *int64 `json:"maximumInstanceCount,omitempty" xml:"maximumInstanceCount,omitempty"`
	// The description of the resource.
	Resource *string `json:"resource,omitempty" xml:"resource,omitempty"`
}

func (GetFunctionOnDemandConfigResponseBody) GoString

func (*GetFunctionOnDemandConfigResponseBody) SetMaximumInstanceCount

func (*GetFunctionOnDemandConfigResponseBody) SetResource

func (GetFunctionOnDemandConfigResponseBody) String

type GetFunctionRequest

type GetFunctionRequest struct {
	// The version or alias of the service.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
}

func (GetFunctionRequest) GoString

func (s GetFunctionRequest) GoString() string

func (*GetFunctionRequest) SetQualifier

func (s *GetFunctionRequest) SetQualifier(v string) *GetFunctionRequest

func (GetFunctionRequest) String

func (s GetFunctionRequest) String() string

type GetFunctionResponse

type GetFunctionResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetFunctionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetFunctionResponse) GoString

func (s GetFunctionResponse) GoString() string

func (*GetFunctionResponse) SetBody

func (*GetFunctionResponse) SetHeaders

func (s *GetFunctionResponse) SetHeaders(v map[string]*string) *GetFunctionResponse

func (*GetFunctionResponse) SetStatusCode

func (s *GetFunctionResponse) SetStatusCode(v int32) *GetFunctionResponse

func (GetFunctionResponse) String

func (s GetFunctionResponse) String() string

type GetFunctionResponseBody

type GetFunctionResponseBody struct {
	// The port on which the HTTP server listens for the custom runtime or custom container runtime.
	CaPort *int32 `json:"caPort,omitempty" xml:"caPort,omitempty"`
	// The CRC-64 value of the function code package.
	CodeChecksum *string `json:"codeChecksum,omitempty" xml:"codeChecksum,omitempty"`
	// The size of the function code package. Unit: byte.
	CodeSize *int64 `json:"codeSize,omitempty" xml:"codeSize,omitempty"`
	// The number of vCPUs of the function. The value must be a multiple of 0.05.
	Cpu *float32 `json:"cpu,omitempty" xml:"cpu,omitempty"`
	// The time when the function was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The configurations of the custom container runtime. After you configure the custom container runtime, Function Compute can execute the function in a container created from a custom image.
	CustomContainerConfig *CustomContainerConfigInfo `json:"customContainerConfig,omitempty" xml:"customContainerConfig,omitempty"`
	// The custom DNS configurations of the function.
	CustomDNS *CustomDNS `json:"customDNS,omitempty" xml:"customDNS,omitempty"`
	// The custom health check configuration of the function. This parameter is applicable only to custom runtimes and custom containers.
	CustomHealthCheckConfig *CustomHealthCheckConfig `json:"customHealthCheckConfig,omitempty" xml:"customHealthCheckConfig,omitempty"`
	// The configurations of the custom runtime.
	CustomRuntimeConfig *CustomRuntimeConfig `json:"customRuntimeConfig,omitempty" xml:"customRuntimeConfig,omitempty"`
	// The description of the function.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The disk size of the function. Unit: MB. Valid values: 512 and 10240.
	DiskSize *int32 `json:"diskSize,omitempty" xml:"diskSize,omitempty"`
	// The environment variables that are configured for the function. You can obtain the values of the environment variables from the function. For more information, see [Environment variables](~~69777~~).
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" xml:"environmentVariables,omitempty"`
	// The ID that is generated by the system for the function. Each function ID is unique in Function Compute.
	FunctionId *string `json:"functionId,omitempty" xml:"functionId,omitempty"`
	// The name of the function.
	FunctionName *string `json:"functionName,omitempty" xml:"functionName,omitempty"`
	// The GPU memory capacity for the function. Unit: MB. The value is a multiple of 1,024.
	GpuMemorySize *int32 `json:"gpuMemorySize,omitempty" xml:"gpuMemorySize,omitempty"`
	// The handler of the function. For more information, see [Function handler](~~157704~~).
	Handler *string `json:"handler,omitempty" xml:"handler,omitempty"`
	// The timeout period for the execution of the Initializer hook. Unit: seconds. Default value: 3. Valid values: 1 to 300. When this period ends, the execution of the Initializer hook is terminated.
	InitializationTimeout *int32 `json:"initializationTimeout,omitempty" xml:"initializationTimeout,omitempty"`
	// The handler of the Initializer hook. The format of the value is determined by the programming language that you use. For more information, see [Initializer hook](~~157704~~).
	Initializer *string `json:"initializer,omitempty" xml:"initializer,omitempty"`
	// The number of requests that can be concurrently processed by a single instance.
	InstanceConcurrency *int32 `json:"instanceConcurrency,omitempty" xml:"instanceConcurrency,omitempty"`
	// The lifecycle configurations of the instance.
	InstanceLifecycleConfig *InstanceLifecycleConfig `json:"instanceLifecycleConfig,omitempty" xml:"instanceLifecycleConfig,omitempty"`
	// The soft concurrency of the instance. You can use this parameter to implement graceful scale-up of instances. If the number of concurrent requests on an instance is greater than the value of soft concurrency, an instance scale-up is triggered. For example, if your instance requires a long time to start, you can specify a suitable soft concurrency to start the instance in advance.
	//
	// The value must be less than or equal to that of the **instanceConcurrency** parameter.
	InstanceSoftConcurrency *int32 `json:"instanceSoftConcurrency,omitempty" xml:"instanceSoftConcurrency,omitempty"`
	// The instance type of the function. Valid values:
	//
	// *   **e1**: elastic instance
	// *   **c1**: performance instance
	// *   **fc.gpu.tesla.1**: GPU-accelerated instance (Tesla T4)
	// *   **fc.gpu.ampere.1**: GPU-accelerated instance (Ampere A10)
	// *   **g1**: same as fc.gpu.tesla.1
	InstanceType *string `json:"instanceType,omitempty" xml:"instanceType,omitempty"`
	// The time when the function was last modified.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The layers (ARN V1 version).
	//
	// > Multiple layers are merged based on the order of array subscripts. The content of a layer with a smaller subscript overwrites the file that has the same name as a layer with a larger subscript.
	//
	// **
	//
	// **Warning** This parameter is to be deprecated. Use layersArnV2.
	Layers []*string `json:"layers,omitempty" xml:"layers,omitempty" type:"Repeated"`
	// The list of layers (ARN V2 version).
	//
	// > Multiple layers are merged based on the order of array subscripts. The content of a layer with a smaller subscript overwrites the file that has the same name as a layer with a larger subscript.
	LayersArnV2 []*string `json:"layersArnV2,omitempty" xml:"layersArnV2,omitempty" type:"Repeated"`
	// The memory size for the function. Unit: MB. The value must be a multiple of 64. The memory size varies based on the function instance type. For more information, see [Instance types](~~179379~~).
	MemorySize *int32 `json:"memorySize,omitempty" xml:"memorySize,omitempty"`
	// The runtime environment of the function. Valid values: **nodejs16**, **nodejs14**, **nodejs12**, **nodejs10**, **nodejs8**, **nodejs6**, **nodejs4.4**, **python3.9**, **python3**, **python2.7**, **java11**, **java8**, **go1**, **php7.2**, **dotnetcore2.1**, **custom**, and **custom-container**.
	Runtime *string `json:"runtime,omitempty" xml:"runtime,omitempty"`
	// The timeout period for the execution of the function. Unit: seconds. Default value: 60. Valid values: 1 to 600. When this period expires, the execution of the function is terminated.
	Timeout *int32 `json:"timeout,omitempty" xml:"timeout,omitempty"`
}

func (GetFunctionResponseBody) GoString

func (s GetFunctionResponseBody) GoString() string

func (*GetFunctionResponseBody) SetCaPort

func (*GetFunctionResponseBody) SetCodeChecksum

func (*GetFunctionResponseBody) SetCodeSize

func (*GetFunctionResponseBody) SetCpu

func (*GetFunctionResponseBody) SetCreatedTime

func (*GetFunctionResponseBody) SetCustomContainerConfig

func (*GetFunctionResponseBody) SetCustomDNS

func (*GetFunctionResponseBody) SetCustomHealthCheckConfig

func (s *GetFunctionResponseBody) SetCustomHealthCheckConfig(v *CustomHealthCheckConfig) *GetFunctionResponseBody

func (*GetFunctionResponseBody) SetCustomRuntimeConfig

func (*GetFunctionResponseBody) SetDescription

func (*GetFunctionResponseBody) SetDiskSize

func (*GetFunctionResponseBody) SetEnvironmentVariables

func (s *GetFunctionResponseBody) SetEnvironmentVariables(v map[string]*string) *GetFunctionResponseBody

func (*GetFunctionResponseBody) SetFunctionId

func (*GetFunctionResponseBody) SetFunctionName

func (*GetFunctionResponseBody) SetGpuMemorySize added in v2.0.4

func (s *GetFunctionResponseBody) SetGpuMemorySize(v int32) *GetFunctionResponseBody

func (*GetFunctionResponseBody) SetHandler

func (*GetFunctionResponseBody) SetInitializationTimeout

func (s *GetFunctionResponseBody) SetInitializationTimeout(v int32) *GetFunctionResponseBody

func (*GetFunctionResponseBody) SetInitializer

func (*GetFunctionResponseBody) SetInstanceConcurrency

func (s *GetFunctionResponseBody) SetInstanceConcurrency(v int32) *GetFunctionResponseBody

func (*GetFunctionResponseBody) SetInstanceLifecycleConfig

func (s *GetFunctionResponseBody) SetInstanceLifecycleConfig(v *InstanceLifecycleConfig) *GetFunctionResponseBody

func (*GetFunctionResponseBody) SetInstanceSoftConcurrency

func (s *GetFunctionResponseBody) SetInstanceSoftConcurrency(v int32) *GetFunctionResponseBody

func (*GetFunctionResponseBody) SetInstanceType

func (*GetFunctionResponseBody) SetLastModifiedTime

func (s *GetFunctionResponseBody) SetLastModifiedTime(v string) *GetFunctionResponseBody

func (*GetFunctionResponseBody) SetLayers

func (*GetFunctionResponseBody) SetLayersArnV2

func (s *GetFunctionResponseBody) SetLayersArnV2(v []*string) *GetFunctionResponseBody

func (*GetFunctionResponseBody) SetMemorySize

func (*GetFunctionResponseBody) SetRuntime

func (*GetFunctionResponseBody) SetTimeout

func (GetFunctionResponseBody) String

func (s GetFunctionResponseBody) String() string

type GetLayerVersionHeaders

type GetLayerVersionHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// This parameter is returned only when the information about a specific layer version is queried.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The location of the layer code.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The structure of the layer code.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (GetLayerVersionHeaders) GoString

func (s GetLayerVersionHeaders) GoString() string

func (*GetLayerVersionHeaders) SetCommonHeaders

func (s *GetLayerVersionHeaders) SetCommonHeaders(v map[string]*string) *GetLayerVersionHeaders

func (*GetLayerVersionHeaders) SetXFcAccountId

func (s *GetLayerVersionHeaders) SetXFcAccountId(v string) *GetLayerVersionHeaders

func (*GetLayerVersionHeaders) SetXFcDate

func (*GetLayerVersionHeaders) SetXFcTraceId

func (GetLayerVersionHeaders) String

func (s GetLayerVersionHeaders) String() string

type GetLayerVersionResponse

type GetLayerVersionResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *Layer             `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetLayerVersionResponse) GoString

func (s GetLayerVersionResponse) GoString() string

func (*GetLayerVersionResponse) SetBody

func (*GetLayerVersionResponse) SetHeaders

func (*GetLayerVersionResponse) SetStatusCode

func (GetLayerVersionResponse) String

func (s GetLayerVersionResponse) String() string

type GetProvisionConfigHeaders

type GetProvisionConfigHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The start time when the function is invoked. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the invocation request of Function Compute.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (GetProvisionConfigHeaders) GoString

func (s GetProvisionConfigHeaders) GoString() string

func (*GetProvisionConfigHeaders) SetCommonHeaders

func (*GetProvisionConfigHeaders) SetXFcAccountId

func (*GetProvisionConfigHeaders) SetXFcDate

func (*GetProvisionConfigHeaders) SetXFcTraceId

func (GetProvisionConfigHeaders) String

func (s GetProvisionConfigHeaders) String() string

type GetProvisionConfigRequest

type GetProvisionConfigRequest struct {
	// The name of the alias.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
}

func (GetProvisionConfigRequest) GoString

func (s GetProvisionConfigRequest) GoString() string

func (*GetProvisionConfigRequest) SetQualifier

func (GetProvisionConfigRequest) String

func (s GetProvisionConfigRequest) String() string

type GetProvisionConfigResponse

type GetProvisionConfigResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetProvisionConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetProvisionConfigResponse) GoString

func (s GetProvisionConfigResponse) GoString() string

func (*GetProvisionConfigResponse) SetBody

func (*GetProvisionConfigResponse) SetHeaders

func (*GetProvisionConfigResponse) SetStatusCode

func (GetProvisionConfigResponse) String

type GetProvisionConfigResponseBody

type GetProvisionConfigResponseBody struct {
	// Specifies whether to always allocate CPU to a function instance.
	AlwaysAllocateCPU *bool `json:"alwaysAllocateCPU,omitempty" xml:"alwaysAllocateCPU,omitempty"`
	// The actual number of provisioned instances.
	Current *int64 `json:"current,omitempty" xml:"current,omitempty"`
	// The error message returned if a provisioned instance fails to be created.
	CurrentError *string `json:"currentError,omitempty" xml:"currentError,omitempty"`
	// The description of the resource.
	Resource *string `json:"resource,omitempty" xml:"resource,omitempty"`
	// The configurations of scheduled auto scaling.
	ScheduledActions []*ScheduledActions `json:"scheduledActions,omitempty" xml:"scheduledActions,omitempty" type:"Repeated"`
	// The expected number of provisioned instances.
	Target *int64 `json:"target,omitempty" xml:"target,omitempty"`
	// The configurations of metric-based auto scaling.
	TargetTrackingPolicies []*TargetTrackingPolicies `json:"targetTrackingPolicies,omitempty" xml:"targetTrackingPolicies,omitempty" type:"Repeated"`
}

func (GetProvisionConfigResponseBody) GoString

func (*GetProvisionConfigResponseBody) SetAlwaysAllocateCPU

func (*GetProvisionConfigResponseBody) SetCurrent

func (*GetProvisionConfigResponseBody) SetCurrentError

func (*GetProvisionConfigResponseBody) SetResource

func (*GetProvisionConfigResponseBody) SetScheduledActions

func (*GetProvisionConfigResponseBody) SetTarget

func (*GetProvisionConfigResponseBody) SetTargetTrackingPolicies

func (GetProvisionConfigResponseBody) String

type GetResourceTagsHeaders

type GetResourceTagsHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when Function Compute API is called. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (GetResourceTagsHeaders) GoString

func (s GetResourceTagsHeaders) GoString() string

func (*GetResourceTagsHeaders) SetCommonHeaders

func (s *GetResourceTagsHeaders) SetCommonHeaders(v map[string]*string) *GetResourceTagsHeaders

func (*GetResourceTagsHeaders) SetXFcAccountId

func (s *GetResourceTagsHeaders) SetXFcAccountId(v string) *GetResourceTagsHeaders

func (*GetResourceTagsHeaders) SetXFcDate

func (*GetResourceTagsHeaders) SetXFcTraceId

func (GetResourceTagsHeaders) String

func (s GetResourceTagsHeaders) String() string

type GetResourceTagsRequest

type GetResourceTagsRequest struct {
	// The Alibaba Cloud Resource Name (ARN) of the resource.
	//
	// > You can use the value of this parameter to query the information about the resource, such as the account, service, and region information of the resource. You can manage tags only for services for top level resources.
	ResourceArn *string `json:"resourceArn,omitempty" xml:"resourceArn,omitempty"`
}

func (GetResourceTagsRequest) GoString

func (s GetResourceTagsRequest) GoString() string

func (*GetResourceTagsRequest) SetResourceArn

func (GetResourceTagsRequest) String

func (s GetResourceTagsRequest) String() string

type GetResourceTagsResponse

type GetResourceTagsResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetResourceTagsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetResourceTagsResponse) GoString

func (s GetResourceTagsResponse) GoString() string

func (*GetResourceTagsResponse) SetBody

func (*GetResourceTagsResponse) SetHeaders

func (*GetResourceTagsResponse) SetStatusCode

func (GetResourceTagsResponse) String

func (s GetResourceTagsResponse) String() string

type GetResourceTagsResponseBody

type GetResourceTagsResponseBody struct {
	// The ARN of the resource.
	//
	// > You can use the value of this parameter to query the information about the resource, such as the account, service, and region information of the resource.
	ResourceArn *string `json:"resourceArn,omitempty" xml:"resourceArn,omitempty"`
	// The tag dictionary.
	Tags map[string]*string `json:"tags,omitempty" xml:"tags,omitempty"`
}

func (GetResourceTagsResponseBody) GoString

func (s GetResourceTagsResponseBody) GoString() string

func (*GetResourceTagsResponseBody) SetResourceArn

func (*GetResourceTagsResponseBody) SetTags

func (GetResourceTagsResponseBody) String

type GetServiceHeaders

type GetServiceHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (GetServiceHeaders) GoString

func (s GetServiceHeaders) GoString() string

func (*GetServiceHeaders) SetCommonHeaders

func (s *GetServiceHeaders) SetCommonHeaders(v map[string]*string) *GetServiceHeaders

func (*GetServiceHeaders) SetXFcAccountId

func (s *GetServiceHeaders) SetXFcAccountId(v string) *GetServiceHeaders

func (*GetServiceHeaders) SetXFcDate

func (s *GetServiceHeaders) SetXFcDate(v string) *GetServiceHeaders

func (*GetServiceHeaders) SetXFcTraceId

func (s *GetServiceHeaders) SetXFcTraceId(v string) *GetServiceHeaders

func (GetServiceHeaders) String

func (s GetServiceHeaders) String() string

type GetServiceRequest

type GetServiceRequest struct {
	// The version or alias of the service.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
}

func (GetServiceRequest) GoString

func (s GetServiceRequest) GoString() string

func (*GetServiceRequest) SetQualifier

func (s *GetServiceRequest) SetQualifier(v string) *GetServiceRequest

func (GetServiceRequest) String

func (s GetServiceRequest) String() string

type GetServiceResponse

type GetServiceResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetServiceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetServiceResponse) GoString

func (s GetServiceResponse) GoString() string

func (*GetServiceResponse) SetBody

func (*GetServiceResponse) SetHeaders

func (s *GetServiceResponse) SetHeaders(v map[string]*string) *GetServiceResponse

func (*GetServiceResponse) SetStatusCode

func (s *GetServiceResponse) SetStatusCode(v int32) *GetServiceResponse

func (GetServiceResponse) String

func (s GetServiceResponse) String() string

type GetServiceResponseBody

type GetServiceResponseBody struct {
	// The time when the service was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The description of the service.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// Specifies whether to allow functions to access the Internet. Valid values:
	//
	// *   **true**: allows functions in the specified service to access the Internet.
	// *   **false**: does not allow functions to access the Internet.
	InternetAccess *bool `json:"internetAccess,omitempty" xml:"internetAccess,omitempty"`
	// The time when the service was last modified.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The log configuration, which specifies a Logstore to store function execution logs.
	LogConfig *LogConfig `json:"logConfig,omitempty" xml:"logConfig,omitempty"`
	// The configurations of the NAS file system. The configuration allows functions in the specified service in Function Compute to access the NAS file system.
	NasConfig *NASConfig `json:"nasConfig,omitempty" xml:"nasConfig,omitempty"`
	// The OSS mount configurations.
	OssMountConfig *OSSMountConfig `json:"ossMountConfig,omitempty" xml:"ossMountConfig,omitempty"`
	// The RAM role that is used to grant required permissions to Function Compute. Scenarios:
	//
	// *   Sends function execution logs to your Logstore.
	// *   Generates a token for a function to access other cloud resources during function execution.
	Role *string `json:"role,omitempty" xml:"role,omitempty"`
	// The unique ID generated by the system for the service.
	ServiceId *string `json:"serviceId,omitempty" xml:"serviceId,omitempty"`
	// The name of the service.
	ServiceName *string `json:"serviceName,omitempty" xml:"serviceName,omitempty"`
	// The configuration of Tracing Analysis. After you configure Tracing Analysis for a service in Function Compute, you can record the execution duration of a request, view the amount of cold start time for a function, and record the execution duration of a function. For more information, see [Overview](~~189804~~).
	TracingConfig        *TracingConfig `json:"tracingConfig,omitempty" xml:"tracingConfig,omitempty"`
	UseSLRAuthentication *bool          `json:"useSLRAuthentication,omitempty" xml:"useSLRAuthentication,omitempty"`
	// The VPC configuration. The configuration allows a function to access the specified VPC.
	VpcConfig *VPCConfig `json:"vpcConfig,omitempty" xml:"vpcConfig,omitempty"`
}

func (GetServiceResponseBody) GoString

func (s GetServiceResponseBody) GoString() string

func (*GetServiceResponseBody) SetCreatedTime

func (*GetServiceResponseBody) SetDescription

func (*GetServiceResponseBody) SetInternetAccess

func (s *GetServiceResponseBody) SetInternetAccess(v bool) *GetServiceResponseBody

func (*GetServiceResponseBody) SetLastModifiedTime

func (s *GetServiceResponseBody) SetLastModifiedTime(v string) *GetServiceResponseBody

func (*GetServiceResponseBody) SetLogConfig

func (*GetServiceResponseBody) SetNasConfig

func (*GetServiceResponseBody) SetOssMountConfig

func (*GetServiceResponseBody) SetRole

func (*GetServiceResponseBody) SetServiceId

func (*GetServiceResponseBody) SetServiceName

func (*GetServiceResponseBody) SetTracingConfig

func (*GetServiceResponseBody) SetUseSLRAuthentication added in v2.0.11

func (s *GetServiceResponseBody) SetUseSLRAuthentication(v bool) *GetServiceResponseBody

func (*GetServiceResponseBody) SetVpcConfig

func (GetServiceResponseBody) String

func (s GetServiceResponseBody) String() string

type GetStatefulAsyncInvocationHeaders

type GetStatefulAsyncInvocationHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The list of events that trigger the asynchronous task.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The structure of the asynchronous task.
	XFcCodeChecksum *string `json:"X-Fc-Code-Checksum,omitempty" xml:"X-Fc-Code-Checksum,omitempty"`
	// Alibaba Cloud provides SDKs for multiple programming languages to help you integrate Alibaba Cloud services by using APIs. We recommend that you use an SDK to call API operations. This frees you from manual signature verification.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// StatefulAsyncInvocation: asynchronous task. Asynchronous tasks allow you to manage the states on the basis of common asynchronous invocations, which is more suitable for task scenarios.
	XFcInvocationType *string `json:"X-Fc-Invocation-Type,omitempty" xml:"X-Fc-Invocation-Type,omitempty"`
	// The latest version of Function Compute API.
	XFcLogType *string `json:"X-Fc-Log-Type,omitempty" xml:"X-Fc-Log-Type,omitempty"`
	// You can search for API operations, call and debug API operations online, and dynamically generate executable sample code for SDKs.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (GetStatefulAsyncInvocationHeaders) GoString

func (*GetStatefulAsyncInvocationHeaders) SetCommonHeaders

func (*GetStatefulAsyncInvocationHeaders) SetXFcAccountId

func (*GetStatefulAsyncInvocationHeaders) SetXFcCodeChecksum

func (*GetStatefulAsyncInvocationHeaders) SetXFcDate

func (*GetStatefulAsyncInvocationHeaders) SetXFcInvocationType

func (*GetStatefulAsyncInvocationHeaders) SetXFcLogType

func (*GetStatefulAsyncInvocationHeaders) SetXFcTraceId

func (GetStatefulAsyncInvocationHeaders) String

type GetStatefulAsyncInvocationRequest

type GetStatefulAsyncInvocationRequest struct {
	// The ID of the instance that is used to run the asynchronous task.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
}

func (GetStatefulAsyncInvocationRequest) GoString

func (*GetStatefulAsyncInvocationRequest) SetQualifier

func (GetStatefulAsyncInvocationRequest) String

type GetStatefulAsyncInvocationResponse

type GetStatefulAsyncInvocationResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *StatefulAsyncInvocation `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetStatefulAsyncInvocationResponse) GoString

func (*GetStatefulAsyncInvocationResponse) SetBody

func (*GetStatefulAsyncInvocationResponse) SetHeaders

func (*GetStatefulAsyncInvocationResponse) SetStatusCode

func (GetStatefulAsyncInvocationResponse) String

type GetTriggerHeaders

type GetTriggerHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the request is initiated on the client. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (GetTriggerHeaders) GoString

func (s GetTriggerHeaders) GoString() string

func (*GetTriggerHeaders) SetCommonHeaders

func (s *GetTriggerHeaders) SetCommonHeaders(v map[string]*string) *GetTriggerHeaders

func (*GetTriggerHeaders) SetXFcAccountId

func (s *GetTriggerHeaders) SetXFcAccountId(v string) *GetTriggerHeaders

func (*GetTriggerHeaders) SetXFcDate

func (s *GetTriggerHeaders) SetXFcDate(v string) *GetTriggerHeaders

func (*GetTriggerHeaders) SetXFcTraceId

func (s *GetTriggerHeaders) SetXFcTraceId(v string) *GetTriggerHeaders

func (GetTriggerHeaders) String

func (s GetTriggerHeaders) String() string

type GetTriggerResponse

type GetTriggerResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetTriggerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetTriggerResponse) GoString

func (s GetTriggerResponse) GoString() string

func (*GetTriggerResponse) SetBody

func (*GetTriggerResponse) SetHeaders

func (s *GetTriggerResponse) SetHeaders(v map[string]*string) *GetTriggerResponse

func (*GetTriggerResponse) SetStatusCode

func (s *GetTriggerResponse) SetStatusCode(v int32) *GetTriggerResponse

func (GetTriggerResponse) String

func (s GetTriggerResponse) String() string

type GetTriggerResponseBody

type GetTriggerResponseBody struct {
	// The time when the trigger was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The description of the trigger.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The domain name used to invoke the function by using HTTP. You can add this domain name as the prefix to the endpoint of Function Compute. This way, you can invoke the function that corresponds to the trigger by using HTTP. For example, `{domainName}.cn-shanghai.fc.aliyuncs.com`.
	DomainName *string `json:"domainName,omitempty" xml:"domainName,omitempty"`
	// The ARN of the RAM role that is used by the event source to invoke the function.
	InvocationRole *string `json:"invocationRole,omitempty" xml:"invocationRole,omitempty"`
	// The time when the trigger was last modified.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The version or alias of the service.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
	// The ARN of the event source.
	SourceArn *string `json:"sourceArn,omitempty" xml:"sourceArn,omitempty"`
	// The configurations of the trigger. The configurations vary based on the trigger type. For more information about the format, see the following topics:
	//
	// *   Object Storage Service (OSS) trigger: [OSSTriggerConfig](~~415697~~).
	// *   Simple Log Service trigger: [LogTriggerConfig](~~415694~~).
	// *   Time trigger: [TimeTriggerConfig](~~415712~~).
	// *   HTTP trigger: [HTTPTriggerConfig](~~415685~~).
	// *   Tablestore trigger: Specify the **SourceArn** parameter and leave this parameter empty.
	// *   Alibaba Cloud CDN event trigger: [CDNEventsTriggerConfig](~~415674~~).
	// *   Message Service (MNS) topic trigger: [MnsTopicTriggerConfig](~~415695~~).
	// *   EventBridge triggers: [EventBridgeTriggerConfig](~~2508622~~).
	TriggerConfig *string `json:"triggerConfig,omitempty" xml:"triggerConfig,omitempty"`
	// The unique ID of the trigger.
	TriggerId *string `json:"triggerId,omitempty" xml:"triggerId,omitempty"`
	// The name of the trigger.
	TriggerName *string `json:"triggerName,omitempty" xml:"triggerName,omitempty"`
	// The trigger type. Example values: **oss**, **log**, **tablestore**, **timer**, **http**, **cdn_events**, **mns_topic**, and **eventbridge**.
	TriggerType *string `json:"triggerType,omitempty" xml:"triggerType,omitempty"`
	// The public domain address. You can access HTTP triggers over the Internet by using HTTP or HTTPS.
	UrlInternet *string `json:"urlInternet,omitempty" xml:"urlInternet,omitempty"`
	// The private endpoint. In a VPC, you can access HTTP triggers by using HTTP or HTTPS.
	UrlIntranet *string `json:"urlIntranet,omitempty" xml:"urlIntranet,omitempty"`
}

func (GetTriggerResponseBody) GoString

func (s GetTriggerResponseBody) GoString() string

func (*GetTriggerResponseBody) SetCreatedTime

func (*GetTriggerResponseBody) SetDescription

func (*GetTriggerResponseBody) SetDomainName

func (*GetTriggerResponseBody) SetInvocationRole

func (s *GetTriggerResponseBody) SetInvocationRole(v string) *GetTriggerResponseBody

func (*GetTriggerResponseBody) SetLastModifiedTime

func (s *GetTriggerResponseBody) SetLastModifiedTime(v string) *GetTriggerResponseBody

func (*GetTriggerResponseBody) SetQualifier

func (*GetTriggerResponseBody) SetSourceArn

func (*GetTriggerResponseBody) SetTriggerConfig

func (s *GetTriggerResponseBody) SetTriggerConfig(v string) *GetTriggerResponseBody

func (*GetTriggerResponseBody) SetTriggerId

func (*GetTriggerResponseBody) SetTriggerName

func (*GetTriggerResponseBody) SetTriggerType

func (*GetTriggerResponseBody) SetUrlInternet

func (*GetTriggerResponseBody) SetUrlIntranet

func (GetTriggerResponseBody) String

func (s GetTriggerResponseBody) String() string

type HTTPTriggerConfig

type HTTPTriggerConfig struct {
	AuthConfig *string `json:"authConfig,omitempty" xml:"authConfig,omitempty"`
	AuthType   *string `json:"authType,omitempty" xml:"authType,omitempty"`
	// 禁用默认公网域名访问的开关,设置为true 时,访问函数默认提供的公网URL地址会返回403错误。设置为 false 则不会有任何影响。
	DisableURLInternet *bool     `json:"disableURLInternet,omitempty" xml:"disableURLInternet,omitempty"`
	Methods            []*string `json:"methods,omitempty" xml:"methods,omitempty" type:"Repeated"`
}

func (HTTPTriggerConfig) GoString

func (s HTTPTriggerConfig) GoString() string

func (*HTTPTriggerConfig) SetAuthConfig added in v2.0.6

func (s *HTTPTriggerConfig) SetAuthConfig(v string) *HTTPTriggerConfig

func (*HTTPTriggerConfig) SetAuthType

func (s *HTTPTriggerConfig) SetAuthType(v string) *HTTPTriggerConfig

func (*HTTPTriggerConfig) SetDisableURLInternet

func (s *HTTPTriggerConfig) SetDisableURLInternet(v bool) *HTTPTriggerConfig

func (*HTTPTriggerConfig) SetMethods

func (s *HTTPTriggerConfig) SetMethods(v []*string) *HTTPTriggerConfig

func (HTTPTriggerConfig) String

func (s HTTPTriggerConfig) String() string

type InstanceLifecycleConfig

type InstanceLifecycleConfig struct {
	PreFreeze *LifecycleHook `json:"preFreeze,omitempty" xml:"preFreeze,omitempty"`
	PreStop   *LifecycleHook `json:"preStop,omitempty" xml:"preStop,omitempty"`
}

func (InstanceLifecycleConfig) GoString

func (s InstanceLifecycleConfig) GoString() string

func (*InstanceLifecycleConfig) SetPreFreeze

func (*InstanceLifecycleConfig) SetPreStop

func (InstanceLifecycleConfig) String

func (s InstanceLifecycleConfig) String() string

type InvokeFunctionHeaders

type InvokeFunctionHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the function is invoked. The format is **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The invocation method. Valid values:
	//
	// *   **Sync**: synchronous invocations
	// *   **Async**: asynchronous invocations
	//
	// Default value: Sync
	XFcInvocationType *string `json:"X-Fc-Invocation-Type,omitempty" xml:"X-Fc-Invocation-Type,omitempty"`
	// The method used to return logs. Valid values:
	//
	// *   **Tail**: returns the last 4 KB of logs that are generated for the current request.
	// *   **None**: No logs are returned for the current request. Default value: None.
	XFcLogType *string `json:"X-Fc-Log-Type,omitempty" xml:"X-Fc-Log-Type,omitempty"`
	// Specifies whether to enable the asynchronous task mode for requests. Default value: false. Valid values:
	//
	// *   **true**
	// *   **false**
	//
	// >
	//
	// *   This parameter takes effect only for asynchronous invocations. It does not take effect for synchronous invocations.
	XFcStatefulAsyncInvocationEnable *string `json:"X-Fc-Stateful-Async-Invocation-Enable,omitempty" xml:"X-Fc-Stateful-Async-Invocation-Enable,omitempty"`
	// The ID of the asynchronous task. You must enable the asynchronous task feature in advance.
	//
	// > When you use an SDK to invoke a function, we recommend that you specify a business-related ID to facilitate subsequent operations. For example, you can use the video name as the invocation ID for a video-processing function. This way, you can use the ID to check whether the video is processed or terminate the processing of the video. The ID must start with a letter or an underscore (\_) and can contain letters, digits, underscores (\_), and hyphens (-). The ID can be up to 128 characters in length. If you do not specify the ID of the asynchronous invocation, Function Compute automatically generates an ID.
	XFcStatefulAsyncInvocationId *string `json:"X-Fc-Stateful-Async-Invocation-Id,omitempty" xml:"X-Fc-Stateful-Async-Invocation-Id,omitempty"`
	// The trace ID of the request for Function Compute API. The value is the same as that of the **requestId** parameter in the response.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (InvokeFunctionHeaders) GoString

func (s InvokeFunctionHeaders) GoString() string

func (*InvokeFunctionHeaders) SetCommonHeaders

func (s *InvokeFunctionHeaders) SetCommonHeaders(v map[string]*string) *InvokeFunctionHeaders

func (*InvokeFunctionHeaders) SetXFcAccountId

func (s *InvokeFunctionHeaders) SetXFcAccountId(v string) *InvokeFunctionHeaders

func (*InvokeFunctionHeaders) SetXFcDate

func (*InvokeFunctionHeaders) SetXFcInvocationType

func (s *InvokeFunctionHeaders) SetXFcInvocationType(v string) *InvokeFunctionHeaders

func (*InvokeFunctionHeaders) SetXFcLogType

func (s *InvokeFunctionHeaders) SetXFcLogType(v string) *InvokeFunctionHeaders

func (*InvokeFunctionHeaders) SetXFcStatefulAsyncInvocationEnable added in v2.0.9

func (s *InvokeFunctionHeaders) SetXFcStatefulAsyncInvocationEnable(v string) *InvokeFunctionHeaders

func (*InvokeFunctionHeaders) SetXFcStatefulAsyncInvocationId

func (s *InvokeFunctionHeaders) SetXFcStatefulAsyncInvocationId(v string) *InvokeFunctionHeaders

func (*InvokeFunctionHeaders) SetXFcTraceId

func (s *InvokeFunctionHeaders) SetXFcTraceId(v string) *InvokeFunctionHeaders

func (InvokeFunctionHeaders) String

func (s InvokeFunctionHeaders) String() string

type InvokeFunctionRequest

type InvokeFunctionRequest struct {
	// The event to be processed by the function. Set this parameter to a binary string. Function Compute passes the event to the function for processing.
	Body []byte `json:"body,omitempty" xml:"body,omitempty"`
	// The version or alias of the service.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
}

func (InvokeFunctionRequest) GoString

func (s InvokeFunctionRequest) GoString() string

func (*InvokeFunctionRequest) SetBody

func (*InvokeFunctionRequest) SetQualifier

func (InvokeFunctionRequest) String

func (s InvokeFunctionRequest) String() string

type InvokeFunctionResponse

type InvokeFunctionResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       []byte             `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (InvokeFunctionResponse) GoString

func (s InvokeFunctionResponse) GoString() string

func (*InvokeFunctionResponse) SetBody

func (*InvokeFunctionResponse) SetHeaders

func (*InvokeFunctionResponse) SetStatusCode

func (InvokeFunctionResponse) String

func (s InvokeFunctionResponse) String() string

type JWTAuthConfig added in v2.0.6

type JWTAuthConfig struct {
	BlackList   *string   `json:"blackList,omitempty" xml:"blackList,omitempty"`
	ClaimPassBy []*string `json:"claimPassBy,omitempty" xml:"claimPassBy,omitempty" type:"Repeated"`
	Jwks        *string   `json:"jwks,omitempty" xml:"jwks,omitempty"`
	TokenLookup []*string `json:"tokenLookup,omitempty" xml:"tokenLookup,omitempty" type:"Repeated"`
	WhiteList   []*string `json:"whiteList,omitempty" xml:"whiteList,omitempty" type:"Repeated"`
}

func (JWTAuthConfig) GoString added in v2.0.6

func (s JWTAuthConfig) GoString() string

func (*JWTAuthConfig) SetBlackList added in v2.0.6

func (s *JWTAuthConfig) SetBlackList(v string) *JWTAuthConfig

func (*JWTAuthConfig) SetClaimPassBy added in v2.0.6

func (s *JWTAuthConfig) SetClaimPassBy(v []*string) *JWTAuthConfig

func (*JWTAuthConfig) SetJwks added in v2.0.6

func (s *JWTAuthConfig) SetJwks(v string) *JWTAuthConfig

func (*JWTAuthConfig) SetTokenLookup added in v2.0.6

func (s *JWTAuthConfig) SetTokenLookup(v []*string) *JWTAuthConfig

func (*JWTAuthConfig) SetWhiteList added in v2.0.6

func (s *JWTAuthConfig) SetWhiteList(v []*string) *JWTAuthConfig

func (JWTAuthConfig) String added in v2.0.6

func (s JWTAuthConfig) String() string

type JaegerConfig

type JaegerConfig struct {
	Endpoint *string `json:"endpoint,omitempty" xml:"endpoint,omitempty"`
}

func (JaegerConfig) GoString

func (s JaegerConfig) GoString() string

func (*JaegerConfig) SetEndpoint

func (s *JaegerConfig) SetEndpoint(v string) *JaegerConfig

func (JaegerConfig) String

func (s JaegerConfig) String() string

type JobConfig

type JobConfig struct {
	MaxRetryTime    *int64 `json:"maxRetryTime,omitempty" xml:"maxRetryTime,omitempty"`
	TriggerInterval *int64 `json:"triggerInterval,omitempty" xml:"triggerInterval,omitempty"`
}

func (JobConfig) GoString

func (s JobConfig) GoString() string

func (*JobConfig) SetMaxRetryTime

func (s *JobConfig) SetMaxRetryTime(v int64) *JobConfig

func (*JobConfig) SetTriggerInterval

func (s *JobConfig) SetTriggerInterval(v int64) *JobConfig

func (JobConfig) String

func (s JobConfig) String() string

type JobLogConfig

type JobLogConfig struct {
	Logstore *string `json:"logstore,omitempty" xml:"logstore,omitempty"`
	Project  *string `json:"project,omitempty" xml:"project,omitempty"`
}

func (JobLogConfig) GoString

func (s JobLogConfig) GoString() string

func (*JobLogConfig) SetLogstore

func (s *JobLogConfig) SetLogstore(v string) *JobLogConfig

func (*JobLogConfig) SetProject

func (s *JobLogConfig) SetProject(v string) *JobLogConfig

func (JobLogConfig) String

func (s JobLogConfig) String() string

type Layer

type Layer struct {
	Acl               *int32     `json:"acl,omitempty" xml:"acl,omitempty"`
	Arn               *string    `json:"arn,omitempty" xml:"arn,omitempty"`
	ArnV2             *string    `json:"arnV2,omitempty" xml:"arnV2,omitempty"`
	Code              *LayerCode `json:"code,omitempty" xml:"code,omitempty"`
	CodeChecksum      *string    `json:"codeChecksum,omitempty" xml:"codeChecksum,omitempty"`
	CodeSize          *int64     `json:"codeSize,omitempty" xml:"codeSize,omitempty"`
	CompatibleRuntime []*string  `json:"compatibleRuntime,omitempty" xml:"compatibleRuntime,omitempty" type:"Repeated"`
	CreateTime        *string    `json:"createTime,omitempty" xml:"createTime,omitempty"`
	Description       *string    `json:"description,omitempty" xml:"description,omitempty"`
	LayerName         *string    `json:"layerName,omitempty" xml:"layerName,omitempty"`
	License           *string    `json:"license,omitempty" xml:"license,omitempty"`
	Version           *int32     `json:"version,omitempty" xml:"version,omitempty"`
}

func (Layer) GoString

func (s Layer) GoString() string

func (*Layer) SetAcl

func (s *Layer) SetAcl(v int32) *Layer

func (*Layer) SetArn

func (s *Layer) SetArn(v string) *Layer

func (*Layer) SetArnV2

func (s *Layer) SetArnV2(v string) *Layer

func (*Layer) SetCode

func (s *Layer) SetCode(v *LayerCode) *Layer

func (*Layer) SetCodeChecksum

func (s *Layer) SetCodeChecksum(v string) *Layer

func (*Layer) SetCodeSize

func (s *Layer) SetCodeSize(v int64) *Layer

func (*Layer) SetCompatibleRuntime

func (s *Layer) SetCompatibleRuntime(v []*string) *Layer

func (*Layer) SetCreateTime

func (s *Layer) SetCreateTime(v string) *Layer

func (*Layer) SetDescription

func (s *Layer) SetDescription(v string) *Layer

func (*Layer) SetLayerName

func (s *Layer) SetLayerName(v string) *Layer

func (*Layer) SetLicense

func (s *Layer) SetLicense(v string) *Layer

func (*Layer) SetVersion

func (s *Layer) SetVersion(v int32) *Layer

func (Layer) String

func (s Layer) String() string

type LayerCode

type LayerCode struct {
	Location       *string `json:"location,omitempty" xml:"location,omitempty"`
	RepositoryType *string `json:"repositoryType,omitempty" xml:"repositoryType,omitempty"`
}

func (LayerCode) GoString

func (s LayerCode) GoString() string

func (*LayerCode) SetLocation

func (s *LayerCode) SetLocation(v string) *LayerCode

func (*LayerCode) SetRepositoryType

func (s *LayerCode) SetRepositoryType(v string) *LayerCode

func (LayerCode) String

func (s LayerCode) String() string

type LifecycleHook

type LifecycleHook struct {
	Handler *string `json:"handler,omitempty" xml:"handler,omitempty"`
	Timeout *int32  `json:"timeout,omitempty" xml:"timeout,omitempty"`
}

func (LifecycleHook) GoString

func (s LifecycleHook) GoString() string

func (*LifecycleHook) SetHandler

func (s *LifecycleHook) SetHandler(v string) *LifecycleHook

func (*LifecycleHook) SetTimeout

func (s *LifecycleHook) SetTimeout(v int32) *LifecycleHook

func (LifecycleHook) String

func (s LifecycleHook) String() string

type ListAliasesHeaders

type ListAliasesHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the invocation request of Function Compute.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (ListAliasesHeaders) GoString

func (s ListAliasesHeaders) GoString() string

func (*ListAliasesHeaders) SetCommonHeaders

func (s *ListAliasesHeaders) SetCommonHeaders(v map[string]*string) *ListAliasesHeaders

func (*ListAliasesHeaders) SetXFcAccountId

func (s *ListAliasesHeaders) SetXFcAccountId(v string) *ListAliasesHeaders

func (*ListAliasesHeaders) SetXFcDate

func (s *ListAliasesHeaders) SetXFcDate(v string) *ListAliasesHeaders

func (*ListAliasesHeaders) SetXFcTraceId

func (s *ListAliasesHeaders) SetXFcTraceId(v string) *ListAliasesHeaders

func (ListAliasesHeaders) String

func (s ListAliasesHeaders) String() string

type ListAliasesRequest

type ListAliasesRequest struct {
	// The maximum number of resources to return. Default value: 20. Maximum value: 100. The number of returned resources is less than or equal to the specified number.
	Limit *int32 `json:"limit,omitempty" xml:"limit,omitempty"`
	// The token required to obtain more results. If the number of resources exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// The prefix that the names of returned resources must contain.
	Prefix *string `json:"prefix,omitempty" xml:"prefix,omitempty"`
	// The starting position of the result list. The returned resources are sorted in alphabetical order, and the resources that include and follow the resource specified by the startKey parameter are returned.
	StartKey *string `json:"startKey,omitempty" xml:"startKey,omitempty"`
}

func (ListAliasesRequest) GoString

func (s ListAliasesRequest) GoString() string

func (*ListAliasesRequest) SetLimit

func (*ListAliasesRequest) SetNextToken

func (s *ListAliasesRequest) SetNextToken(v string) *ListAliasesRequest

func (*ListAliasesRequest) SetPrefix

func (s *ListAliasesRequest) SetPrefix(v string) *ListAliasesRequest

func (*ListAliasesRequest) SetStartKey

func (s *ListAliasesRequest) SetStartKey(v string) *ListAliasesRequest

func (ListAliasesRequest) String

func (s ListAliasesRequest) String() string

type ListAliasesResponse

type ListAliasesResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListAliasesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListAliasesResponse) GoString

func (s ListAliasesResponse) GoString() string

func (*ListAliasesResponse) SetBody

func (*ListAliasesResponse) SetHeaders

func (s *ListAliasesResponse) SetHeaders(v map[string]*string) *ListAliasesResponse

func (*ListAliasesResponse) SetStatusCode

func (s *ListAliasesResponse) SetStatusCode(v int32) *ListAliasesResponse

func (ListAliasesResponse) String

func (s ListAliasesResponse) String() string

type ListAliasesResponseBody

type ListAliasesResponseBody struct {
	// The list of aliases.
	Aliases []*ListAliasesResponseBodyAliases `json:"aliases,omitempty" xml:"aliases,omitempty" type:"Repeated"`
	// The token used to obtain more results.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (ListAliasesResponseBody) GoString

func (s ListAliasesResponseBody) GoString() string

func (*ListAliasesResponseBody) SetAliases

func (*ListAliasesResponseBody) SetNextToken

func (ListAliasesResponseBody) String

func (s ListAliasesResponseBody) String() string

type ListAliasesResponseBodyAliases

type ListAliasesResponseBodyAliases struct {
	// The additional version to which the alias points and the weight of the additional version.
	//
	// *   The additional version takes effect only when the function is invoked.
	// *   The value consists of a version number and a specific weight. For example, 2:0.05 indicates that when a function is invoked, Version 2 is the canary release version, 5% of the traffic is distributed to the canary release version, and 95% of the traffic is distributed to the major version.
	AdditionalVersionWeight map[string]*float32 `json:"additionalVersionWeight,omitempty" xml:"additionalVersionWeight,omitempty"`
	// The name of the alias.
	AliasName *string `json:"aliasName,omitempty" xml:"aliasName,omitempty"`
	// The time when the ConfigMaps were created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The description of the alias.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The time at which the system parameter was last modified.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The canary release mode. Valid values:
	//
	// *   **Random**: random canary release. This is the default value.
	// *   **Content**: rule-based canary release.
	ResolvePolicy *string `json:"resolvePolicy,omitempty" xml:"resolvePolicy,omitempty"`
	// The canary release rule. Traffic that meets the canary release rule is routed to the canary release instance.
	RoutePolicy *RoutePolicy `json:"routePolicy,omitempty" xml:"routePolicy,omitempty"`
	// The ID of the version.
	VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"`
}

func (ListAliasesResponseBodyAliases) GoString

func (*ListAliasesResponseBodyAliases) SetAdditionalVersionWeight

func (s *ListAliasesResponseBodyAliases) SetAdditionalVersionWeight(v map[string]*float32) *ListAliasesResponseBodyAliases

func (*ListAliasesResponseBodyAliases) SetAliasName

func (*ListAliasesResponseBodyAliases) SetCreatedTime

func (*ListAliasesResponseBodyAliases) SetDescription

func (*ListAliasesResponseBodyAliases) SetLastModifiedTime

func (*ListAliasesResponseBodyAliases) SetResolvePolicy

func (*ListAliasesResponseBodyAliases) SetRoutePolicy

func (*ListAliasesResponseBodyAliases) SetVersionId

func (ListAliasesResponseBodyAliases) String

type ListCustomDomainsHeaders

type ListCustomDomainsHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the operation is called. The format is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (ListCustomDomainsHeaders) GoString

func (s ListCustomDomainsHeaders) GoString() string

func (*ListCustomDomainsHeaders) SetCommonHeaders

func (s *ListCustomDomainsHeaders) SetCommonHeaders(v map[string]*string) *ListCustomDomainsHeaders

func (*ListCustomDomainsHeaders) SetXFcAccountId

func (*ListCustomDomainsHeaders) SetXFcDate

func (*ListCustomDomainsHeaders) SetXFcTraceId

func (ListCustomDomainsHeaders) String

func (s ListCustomDomainsHeaders) String() string

type ListCustomDomainsRequest

type ListCustomDomainsRequest struct {
	// The maximum number of resources to return. Valid values: \[0,100]. Default value: 20. The number of returned results is less than or equal to the specified number.
	Limit *int32 `json:"limit,omitempty" xml:"limit,omitempty"`
	// The pagination token to use to request the next page of results. If the number of resources exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// The prefix that the returned domain names must contain.
	Prefix *string `json:"prefix,omitempty" xml:"prefix,omitempty"`
	// The returned resources are sorted in alphabetical order, and the resources that include and follow the resource specified by the startKey parameter are returned.
	StartKey *string `json:"startKey,omitempty" xml:"startKey,omitempty"`
}

func (ListCustomDomainsRequest) GoString

func (s ListCustomDomainsRequest) GoString() string

func (*ListCustomDomainsRequest) SetLimit

func (*ListCustomDomainsRequest) SetNextToken

func (*ListCustomDomainsRequest) SetPrefix

func (*ListCustomDomainsRequest) SetStartKey

func (ListCustomDomainsRequest) String

func (s ListCustomDomainsRequest) String() string

type ListCustomDomainsResponse

type ListCustomDomainsResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListCustomDomainsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListCustomDomainsResponse) GoString

func (s ListCustomDomainsResponse) GoString() string

func (*ListCustomDomainsResponse) SetBody

func (*ListCustomDomainsResponse) SetHeaders

func (*ListCustomDomainsResponse) SetStatusCode

func (ListCustomDomainsResponse) String

func (s ListCustomDomainsResponse) String() string

type ListCustomDomainsResponseBody

type ListCustomDomainsResponseBody struct {
	// The information about custom domain names.
	CustomDomains []*ListCustomDomainsResponseBodyCustomDomains `json:"customDomains,omitempty" xml:"customDomains,omitempty" type:"Repeated"`
	// The pagination token to use to request the next page of results. If the number of resources exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (ListCustomDomainsResponseBody) GoString

func (*ListCustomDomainsResponseBody) SetNextToken

func (ListCustomDomainsResponseBody) String

type ListCustomDomainsResponseBodyCustomDomains

type ListCustomDomainsResponseBodyCustomDomains struct {
	// The ID of your Alibaba Cloud account.
	AccountId *string `json:"accountId,omitempty" xml:"accountId,omitempty"`
	// The version of the API.
	ApiVersion *string `json:"apiVersion,omitempty" xml:"apiVersion,omitempty"`
	// The configurations of the HTTPS certificate.
	CertConfig *CertConfig `json:"certConfig,omitempty" xml:"certConfig,omitempty"`
	// The time when the custom domain name was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The domain name.
	DomainName *string `json:"domainName,omitempty" xml:"domainName,omitempty"`
	// The time when the domain name was last modified.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The protocol type that is supported by the custom domain name.
	//
	// *   **HTTP**: Only HTTP is supported.
	// *   **HTTPS**: Only HTTPS is supported.
	// *   **HTTP,HTTPS**: HTTP and HTTPS are supported.
	Protocol *string `json:"protocol,omitempty" xml:"protocol,omitempty"`
	// The route table that maps the paths to functions when the functions are invoked by using the custom domain name.
	RouteConfig *RouteConfig `json:"routeConfig,omitempty" xml:"routeConfig,omitempty"`
	// The Transport Layer Security (TLS) configuration.
	TlsConfig *TLSConfig `json:"tlsConfig,omitempty" xml:"tlsConfig,omitempty"`
	// The Web Application Firewall (WAF) configuration.
	WafConfig *WAFConfig `json:"wafConfig,omitempty" xml:"wafConfig,omitempty"`
}

func (ListCustomDomainsResponseBodyCustomDomains) GoString

func (*ListCustomDomainsResponseBodyCustomDomains) SetAccountId

func (*ListCustomDomainsResponseBodyCustomDomains) SetApiVersion

func (*ListCustomDomainsResponseBodyCustomDomains) SetCertConfig

func (*ListCustomDomainsResponseBodyCustomDomains) SetCreatedTime

func (*ListCustomDomainsResponseBodyCustomDomains) SetDomainName

func (*ListCustomDomainsResponseBodyCustomDomains) SetLastModifiedTime

func (*ListCustomDomainsResponseBodyCustomDomains) SetProtocol

func (*ListCustomDomainsResponseBodyCustomDomains) SetRouteConfig

func (*ListCustomDomainsResponseBodyCustomDomains) SetTlsConfig

func (*ListCustomDomainsResponseBodyCustomDomains) SetWafConfig added in v2.0.3

func (ListCustomDomainsResponseBodyCustomDomains) String

type ListEventSourcesHeaders

type ListEventSourcesHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when Function Compute API is called. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the invocation request of Function Compute.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (ListEventSourcesHeaders) GoString

func (s ListEventSourcesHeaders) GoString() string

func (*ListEventSourcesHeaders) SetCommonHeaders

func (s *ListEventSourcesHeaders) SetCommonHeaders(v map[string]*string) *ListEventSourcesHeaders

func (*ListEventSourcesHeaders) SetXFcAccountId

func (*ListEventSourcesHeaders) SetXFcDate

func (*ListEventSourcesHeaders) SetXFcTraceId

func (ListEventSourcesHeaders) String

func (s ListEventSourcesHeaders) String() string

type ListEventSourcesRequest

type ListEventSourcesRequest struct {
	// The version or alias of the service.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
}

func (ListEventSourcesRequest) GoString

func (s ListEventSourcesRequest) GoString() string

func (*ListEventSourcesRequest) SetQualifier

func (ListEventSourcesRequest) String

func (s ListEventSourcesRequest) String() string

type ListEventSourcesResponse

type ListEventSourcesResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListEventSourcesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListEventSourcesResponse) GoString

func (s ListEventSourcesResponse) GoString() string

func (*ListEventSourcesResponse) SetBody

func (*ListEventSourcesResponse) SetHeaders

func (*ListEventSourcesResponse) SetStatusCode

func (ListEventSourcesResponse) String

func (s ListEventSourcesResponse) String() string

type ListEventSourcesResponseBody

type ListEventSourcesResponseBody struct {
	// The information about event sources.
	EventSources []*ListEventSourcesResponseBodyEventSources `json:"eventSources,omitempty" xml:"eventSources,omitempty" type:"Repeated"`
}

func (ListEventSourcesResponseBody) GoString

func (s ListEventSourcesResponseBody) GoString() string

func (*ListEventSourcesResponseBody) SetEventSources

func (ListEventSourcesResponseBody) String

type ListEventSourcesResponseBodyEventSources

type ListEventSourcesResponseBodyEventSources struct {
	// The time when the event source was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The ARN of the event source.
	SourceArn *string `json:"sourceArn,omitempty" xml:"sourceArn,omitempty"`
}

func (ListEventSourcesResponseBodyEventSources) GoString

func (*ListEventSourcesResponseBodyEventSources) SetCreatedTime

func (*ListEventSourcesResponseBodyEventSources) SetSourceArn

func (ListEventSourcesResponseBodyEventSources) String

type ListFunctionAsyncInvokeConfigsHeaders

type ListFunctionAsyncInvokeConfigsHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The CRC-64 value of the function code package. This value is used to check data integrity. The value is automatically calculated by the tool.
	XFcCodeChecksum *string `json:"X-Fc-Code-Checksum,omitempty" xml:"X-Fc-Code-Checksum,omitempty"`
	// The time when the Function Compute is called. The format is **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The invocation method.
	//
	// *   **Sync**: synchronous
	// *   **Async**: asynchronous
	XFcInvocationType *string `json:"X-Fc-Invocation-Type,omitempty" xml:"X-Fc-Invocation-Type,omitempty"`
	// The method used to return logs. Valid values:
	//
	// *   **Tail**: returns the last 4 KB of logs that are generated for the current request.
	// *   **None**: No logs are returned for the current request. Default value: None.
	XFcLogType *string `json:"X-Fc-Log-Type,omitempty" xml:"X-Fc-Log-Type,omitempty"`
	// The trace ID of the invocation request of Function Compute.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (ListFunctionAsyncInvokeConfigsHeaders) GoString

func (*ListFunctionAsyncInvokeConfigsHeaders) SetCommonHeaders

func (*ListFunctionAsyncInvokeConfigsHeaders) SetXFcAccountId

func (*ListFunctionAsyncInvokeConfigsHeaders) SetXFcCodeChecksum

func (*ListFunctionAsyncInvokeConfigsHeaders) SetXFcDate

func (*ListFunctionAsyncInvokeConfigsHeaders) SetXFcInvocationType

func (*ListFunctionAsyncInvokeConfigsHeaders) SetXFcLogType

func (*ListFunctionAsyncInvokeConfigsHeaders) SetXFcTraceId

func (ListFunctionAsyncInvokeConfigsHeaders) String

type ListFunctionAsyncInvokeConfigsRequest

type ListFunctionAsyncInvokeConfigsRequest struct {
	// The maximum number of resources to return. Default value: 20. The value cannot exceed 100. The number of returned configurations is less than or equal to the specified number.
	Limit *int32 `json:"limit,omitempty" xml:"limit,omitempty"`
	// The token required to obtain more results. If the number of resources exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (ListFunctionAsyncInvokeConfigsRequest) GoString

func (*ListFunctionAsyncInvokeConfigsRequest) SetLimit

func (*ListFunctionAsyncInvokeConfigsRequest) SetNextToken

func (ListFunctionAsyncInvokeConfigsRequest) String

type ListFunctionAsyncInvokeConfigsResponse

type ListFunctionAsyncInvokeConfigsResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListFunctionAsyncInvokeConfigsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListFunctionAsyncInvokeConfigsResponse) GoString

func (*ListFunctionAsyncInvokeConfigsResponse) SetHeaders

func (*ListFunctionAsyncInvokeConfigsResponse) SetStatusCode

func (ListFunctionAsyncInvokeConfigsResponse) String

type ListFunctionAsyncInvokeConfigsResponseBody

type ListFunctionAsyncInvokeConfigsResponseBody struct {
	// The list of asynchronous invocation configurations.
	Configs []*ListFunctionAsyncInvokeConfigsResponseBodyConfigs `json:"configs,omitempty" xml:"configs,omitempty" type:"Repeated"`
	// The token used to obtain more results.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (ListFunctionAsyncInvokeConfigsResponseBody) GoString

func (*ListFunctionAsyncInvokeConfigsResponseBody) SetNextToken

func (ListFunctionAsyncInvokeConfigsResponseBody) String

type ListFunctionAsyncInvokeConfigsResponseBodyConfigs

type ListFunctionAsyncInvokeConfigsResponseBodyConfigs struct {
	// The time when the application was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The configuration structure of the destination for the asynchronous invocation. If you have not configured this parameter, this parameter is null.
	DestinationConfig *DestinationConfig `json:"destinationConfig,omitempty" xml:"destinationConfig,omitempty"`
	// The function name.
	Function *string `json:"function,omitempty" xml:"function,omitempty"`
	// The time when the configuration was last modified.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The maximum validity period of messages. If you have not configured this parameter, this parameter is null.
	MaxAsyncEventAgeInSeconds *int64 `json:"maxAsyncEventAgeInSeconds,omitempty" xml:"maxAsyncEventAgeInSeconds,omitempty"`
	// The maximum number of retries allowed after an asynchronous invocation fails. If you have not configured this parameter, this parameter is null.
	MaxAsyncRetryAttempts *int64 `json:"maxAsyncRetryAttempts,omitempty" xml:"maxAsyncRetryAttempts,omitempty"`
	// The version or alias of the service.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
	// The name of the service.
	Service *string `json:"service,omitempty" xml:"service,omitempty"`
	// Specifies whether to enable the asynchronous task feature.
	//
	// *   **true**
	// *   **false**
	//
	// If you have not configured this parameter, this parameter is null.
	StatefulInvocation *bool `json:"statefulInvocation,omitempty" xml:"statefulInvocation,omitempty"`
}

func (ListFunctionAsyncInvokeConfigsResponseBodyConfigs) GoString

func (*ListFunctionAsyncInvokeConfigsResponseBodyConfigs) SetCreatedTime

func (*ListFunctionAsyncInvokeConfigsResponseBodyConfigs) SetDestinationConfig

func (*ListFunctionAsyncInvokeConfigsResponseBodyConfigs) SetFunction

func (*ListFunctionAsyncInvokeConfigsResponseBodyConfigs) SetLastModifiedTime

func (*ListFunctionAsyncInvokeConfigsResponseBodyConfigs) SetMaxAsyncEventAgeInSeconds

func (*ListFunctionAsyncInvokeConfigsResponseBodyConfigs) SetMaxAsyncRetryAttempts

func (*ListFunctionAsyncInvokeConfigsResponseBodyConfigs) SetQualifier

func (*ListFunctionAsyncInvokeConfigsResponseBodyConfigs) SetService

func (*ListFunctionAsyncInvokeConfigsResponseBodyConfigs) SetStatefulInvocation

func (ListFunctionAsyncInvokeConfigsResponseBodyConfigs) String

type ListFunctionsHeaders

type ListFunctionsHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the function is invoked. The format is **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (ListFunctionsHeaders) GoString

func (s ListFunctionsHeaders) GoString() string

func (*ListFunctionsHeaders) SetCommonHeaders

func (s *ListFunctionsHeaders) SetCommonHeaders(v map[string]*string) *ListFunctionsHeaders

func (*ListFunctionsHeaders) SetXFcAccountId

func (s *ListFunctionsHeaders) SetXFcAccountId(v string) *ListFunctionsHeaders

func (*ListFunctionsHeaders) SetXFcDate

func (*ListFunctionsHeaders) SetXFcTraceId

func (s *ListFunctionsHeaders) SetXFcTraceId(v string) *ListFunctionsHeaders

func (ListFunctionsHeaders) String

func (s ListFunctionsHeaders) String() string

type ListFunctionsRequest

type ListFunctionsRequest struct {
	// The maximum number of resources to return. Default value: 20. Maximum value: 100. The number of returned resources is less than or equal to the specified number.
	Limit *int32 `json:"limit,omitempty" xml:"limit,omitempty"`
	// The token required to obtain more results. If the number of resources exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// The prefix that the names of returned resources must contain.
	Prefix *string `json:"prefix,omitempty" xml:"prefix,omitempty"`
	// The version or alias of the service.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
	// The starting position of the result list. The returned resources are sorted in alphabetical order, and the resources that include and follow the resource specified by the startKey parameter are returned.
	StartKey *string `json:"startKey,omitempty" xml:"startKey,omitempty"`
}

func (ListFunctionsRequest) GoString

func (s ListFunctionsRequest) GoString() string

func (*ListFunctionsRequest) SetLimit

func (*ListFunctionsRequest) SetNextToken

func (s *ListFunctionsRequest) SetNextToken(v string) *ListFunctionsRequest

func (*ListFunctionsRequest) SetPrefix

func (*ListFunctionsRequest) SetQualifier

func (s *ListFunctionsRequest) SetQualifier(v string) *ListFunctionsRequest

func (*ListFunctionsRequest) SetStartKey

func (ListFunctionsRequest) String

func (s ListFunctionsRequest) String() string

type ListFunctionsResponse

type ListFunctionsResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListFunctionsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListFunctionsResponse) GoString

func (s ListFunctionsResponse) GoString() string

func (*ListFunctionsResponse) SetBody

func (*ListFunctionsResponse) SetHeaders

func (*ListFunctionsResponse) SetStatusCode

func (s *ListFunctionsResponse) SetStatusCode(v int32) *ListFunctionsResponse

func (ListFunctionsResponse) String

func (s ListFunctionsResponse) String() string

type ListFunctionsResponseBody

type ListFunctionsResponseBody struct {
	// The information about functions.
	Functions []*ListFunctionsResponseBodyFunctions `json:"functions,omitempty" xml:"functions,omitempty" type:"Repeated"`
	// The token used to obtain more results. If this parameter is not returned, all the layers are returned.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (ListFunctionsResponseBody) GoString

func (s ListFunctionsResponseBody) GoString() string

func (*ListFunctionsResponseBody) SetFunctions

func (*ListFunctionsResponseBody) SetNextToken

func (ListFunctionsResponseBody) String

func (s ListFunctionsResponseBody) String() string

type ListFunctionsResponseBodyFunctions

type ListFunctionsResponseBodyFunctions struct {
	// The port on which the HTTP server listens for the custom runtime or custom container runtime.
	CaPort *int32 `json:"caPort,omitempty" xml:"caPort,omitempty"`
	// The CRC-64 value of the function code package.
	CodeChecksum *string `json:"codeChecksum,omitempty" xml:"codeChecksum,omitempty"`
	// The size of the function code package that is returned by the system. Unit: bytes.
	CodeSize *int64 `json:"codeSize,omitempty" xml:"codeSize,omitempty"`
	// The number of vCPUs of the function. The value must be a multiple of 0.05.
	Cpu *float32 `json:"cpu,omitempty" xml:"cpu,omitempty"`
	// The time when the function was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The configurations of the custom container runtime.
	CustomContainerConfig *CustomContainerConfig `json:"customContainerConfig,omitempty" xml:"customContainerConfig,omitempty"`
	CustomDNS             *CustomDNS             `json:"customDNS,omitempty" xml:"customDNS,omitempty"`
	// The custom health check configuration of the function. This parameter is applicable only to custom runtimes and custom containers.
	CustomHealthCheckConfig *CustomHealthCheckConfig `json:"customHealthCheckConfig,omitempty" xml:"customHealthCheckConfig,omitempty"`
	CustomRuntimeConfig     *CustomRuntimeConfig     `json:"customRuntimeConfig,omitempty" xml:"customRuntimeConfig,omitempty"`
	// The description of the function.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The disk size of the function. Unit: MB. Valid values: 512 and 10240.
	DiskSize *int32 `json:"diskSize,omitempty" xml:"diskSize,omitempty"`
	// The environment variables that you configured for the function. You can obtain the values of the environment variables from the function.
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" xml:"environmentVariables,omitempty"`
	// The unique ID that is generated by the system for the function.
	FunctionId *string `json:"functionId,omitempty" xml:"functionId,omitempty"`
	// The name of the function.
	FunctionName *string `json:"functionName,omitempty" xml:"functionName,omitempty"`
	// The GPU memory capacity for the function. Unit: MB. The value is a multiple of 1,024.
	GpuMemorySize *int32 `json:"gpuMemorySize,omitempty" xml:"gpuMemorySize,omitempty"`
	// The handler of the function.
	Handler *string `json:"handler,omitempty" xml:"handler,omitempty"`
	// The timeout period for the execution of the Initializer hook. Unit: seconds. Default value: 3. Valid values: 1 to 300. When this period ends, the execution of the Initializer hook is terminated.
	InitializationTimeout *int32 `json:"initializationTimeout,omitempty" xml:"initializationTimeout,omitempty"`
	// The handler of the Initializer hook. The format of the value is determined by the programming language that you use. For more information, see [Initializer hook](~~157704~~).
	Initializer *string `json:"initializer,omitempty" xml:"initializer,omitempty"`
	// The number of requests that can be concurrently processed by a single instance.
	InstanceConcurrency *int32 `json:"instanceConcurrency,omitempty" xml:"instanceConcurrency,omitempty"`
	// The lifecycle configurations of the instance.
	InstanceLifecycleConfig *InstanceLifecycleConfig `json:"instanceLifecycleConfig,omitempty" xml:"instanceLifecycleConfig,omitempty"`
	// The soft concurrency of the instance. You can use this parameter to implement graceful scale-up of instances. If the number of concurrent requests on an instance is greater than the value of soft concurrency, an instance scale-up is triggered. For example, if your instance requires a long time to start, you can specify a suitable soft concurrency to start the instance in advance.
	//
	// The value must be less than or equal to that of the **instanceConcurrency** parameter.
	InstanceSoftConcurrency *int32 `json:"instanceSoftConcurrency,omitempty" xml:"instanceSoftConcurrency,omitempty"`
	// The instance type of the function. Valid values:
	//
	// *   **e1**: elastic instance
	// *   **c1**: performance instance
	// *   **fc.gpu.tesla.1**: GPU-accelerated instance (Tesla T4)
	// *   **fc.gpu.ampere.1**: GPU-accelerated instance (Ampere A10)
	// *   **g1**: same as fc.gpu.tesla.1
	InstanceType *string `json:"instanceType,omitempty" xml:"instanceType,omitempty"`
	// The time when the function was last modified.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The information about layers.
	//
	// > Multiple layers are merged based on the order of array subscripts. The content of a layer with a smaller subscript overwrites the file that has the same name as a layer with a larger subscript.
	Layers      []*string `json:"layers,omitempty" xml:"layers,omitempty" type:"Repeated"`
	LayersArnV2 []*string `json:"layersArnV2,omitempty" xml:"layersArnV2,omitempty" type:"Repeated"`
	// The memory size that is configured for the function. Unit: MB.
	MemorySize *int32 `json:"memorySize,omitempty" xml:"memorySize,omitempty"`
	// The runtime environment of the function. Valid values: **nodejs16**, **nodejs14**, **nodejs12**, **nodejs10**, **nodejs8**, **nodejs6**, **nodejs4.4**, **python3.10**, **python3.9**, **python3**, **python2.7**, **java11**, **java8**, **go1**, **php7.2**, **dotnetcore3.1**, **dotnetcore2.1**, **custom.debian10**, **custom**, and **custom-container**. For more information, see [Supported function runtime environments](~~73338~~).
	Runtime *string `json:"runtime,omitempty" xml:"runtime,omitempty"`
	// The timeout period for the execution of the function. Unit: seconds. Default value: 60. Valid values: 1 to 600. When this period expires, the execution of the function is terminated.
	Timeout *int32 `json:"timeout,omitempty" xml:"timeout,omitempty"`
}

func (ListFunctionsResponseBodyFunctions) GoString

func (*ListFunctionsResponseBodyFunctions) SetCaPort

func (*ListFunctionsResponseBodyFunctions) SetCodeChecksum

func (*ListFunctionsResponseBodyFunctions) SetCodeSize

func (*ListFunctionsResponseBodyFunctions) SetCpu

func (*ListFunctionsResponseBodyFunctions) SetCreatedTime

func (*ListFunctionsResponseBodyFunctions) SetCustomContainerConfig

func (*ListFunctionsResponseBodyFunctions) SetCustomDNS added in v2.0.10

func (*ListFunctionsResponseBodyFunctions) SetCustomHealthCheckConfig

func (*ListFunctionsResponseBodyFunctions) SetCustomRuntimeConfig added in v2.0.10

func (*ListFunctionsResponseBodyFunctions) SetDescription

func (*ListFunctionsResponseBodyFunctions) SetDiskSize

func (*ListFunctionsResponseBodyFunctions) SetEnvironmentVariables

func (*ListFunctionsResponseBodyFunctions) SetFunctionId

func (*ListFunctionsResponseBodyFunctions) SetFunctionName

func (*ListFunctionsResponseBodyFunctions) SetGpuMemorySize added in v2.0.4

func (*ListFunctionsResponseBodyFunctions) SetHandler

func (*ListFunctionsResponseBodyFunctions) SetInitializationTimeout

func (*ListFunctionsResponseBodyFunctions) SetInitializer

func (*ListFunctionsResponseBodyFunctions) SetInstanceConcurrency

func (*ListFunctionsResponseBodyFunctions) SetInstanceLifecycleConfig

func (*ListFunctionsResponseBodyFunctions) SetInstanceSoftConcurrency

func (*ListFunctionsResponseBodyFunctions) SetInstanceType

func (*ListFunctionsResponseBodyFunctions) SetLastModifiedTime

func (*ListFunctionsResponseBodyFunctions) SetLayers

func (*ListFunctionsResponseBodyFunctions) SetLayersArnV2 added in v2.0.10

func (*ListFunctionsResponseBodyFunctions) SetMemorySize

func (*ListFunctionsResponseBodyFunctions) SetRuntime

func (*ListFunctionsResponseBodyFunctions) SetTimeout

func (ListFunctionsResponseBodyFunctions) String

type ListInstancesHeaders

type ListInstancesHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
}

func (ListInstancesHeaders) GoString

func (s ListInstancesHeaders) GoString() string

func (*ListInstancesHeaders) SetCommonHeaders

func (s *ListInstancesHeaders) SetCommonHeaders(v map[string]*string) *ListInstancesHeaders

func (*ListInstancesHeaders) SetXFcAccountId

func (s *ListInstancesHeaders) SetXFcAccountId(v string) *ListInstancesHeaders

func (ListInstancesHeaders) String

func (s ListInstancesHeaders) String() string

type ListInstancesRequest

type ListInstancesRequest struct {
	// The IDs of the instance.
	InstanceIds []*string `json:"instanceIds,omitempty" xml:"instanceIds,omitempty" type:"Repeated"`
	// The maximum number of resources to return. Valid values: \[0,1000].
	//
	// The number of returned resources is less than or equal to the specified number.
	Limit *int32 `json:"limit,omitempty" xml:"limit,omitempty"`
	// The version or alias.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
}

func (ListInstancesRequest) GoString

func (s ListInstancesRequest) GoString() string

func (*ListInstancesRequest) SetInstanceIds

func (s *ListInstancesRequest) SetInstanceIds(v []*string) *ListInstancesRequest

func (*ListInstancesRequest) SetLimit

func (*ListInstancesRequest) SetQualifier

func (s *ListInstancesRequest) SetQualifier(v string) *ListInstancesRequest

func (ListInstancesRequest) String

func (s ListInstancesRequest) String() string

type ListInstancesResponse

type ListInstancesResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListInstancesResponse) GoString

func (s ListInstancesResponse) GoString() string

func (*ListInstancesResponse) SetBody

func (*ListInstancesResponse) SetHeaders

func (*ListInstancesResponse) SetStatusCode

func (s *ListInstancesResponse) SetStatusCode(v int32) *ListInstancesResponse

func (ListInstancesResponse) String

func (s ListInstancesResponse) String() string

type ListInstancesResponseBody

type ListInstancesResponseBody struct {
	// The information about instances.
	Instances []*ListInstancesResponseBodyInstances `json:"instances,omitempty" xml:"instances,omitempty" type:"Repeated"`
}

func (ListInstancesResponseBody) GoString

func (s ListInstancesResponseBody) GoString() string

func (*ListInstancesResponseBody) SetInstances

func (ListInstancesResponseBody) String

func (s ListInstancesResponseBody) String() string

type ListInstancesResponseBodyInstances

type ListInstancesResponseBodyInstances struct {
	// The ID of the instance.
	InstanceId *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	// The version of the service to which the instance belongs. If the instance belongs to the LATEST alias, 0 is returned as the version.
	VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"`
}

func (ListInstancesResponseBodyInstances) GoString

func (*ListInstancesResponseBodyInstances) SetInstanceId

func (*ListInstancesResponseBodyInstances) SetVersionId

func (ListInstancesResponseBodyInstances) String

type ListLayerVersionsHeaders

type ListLayerVersionsHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the operation is called. The format is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the request for Function Compute API.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (ListLayerVersionsHeaders) GoString

func (s ListLayerVersionsHeaders) GoString() string

func (*ListLayerVersionsHeaders) SetCommonHeaders

func (s *ListLayerVersionsHeaders) SetCommonHeaders(v map[string]*string) *ListLayerVersionsHeaders

func (*ListLayerVersionsHeaders) SetXFcAccountId

func (*ListLayerVersionsHeaders) SetXFcDate

func (*ListLayerVersionsHeaders) SetXFcTraceId

func (ListLayerVersionsHeaders) String

func (s ListLayerVersionsHeaders) String() string

type ListLayerVersionsRequest

type ListLayerVersionsRequest struct {
	// The maximum number of resources to return. Default value: 20. The value cannot exceed 100. The number of returned configurations is less than or equal to the specified number.
	Limit *int32 `json:"limit,omitempty" xml:"limit,omitempty"`
	// The initial version of the layer.
	StartVersion *int32 `json:"startVersion,omitempty" xml:"startVersion,omitempty"`
}

func (ListLayerVersionsRequest) GoString

func (s ListLayerVersionsRequest) GoString() string

func (*ListLayerVersionsRequest) SetLimit

func (*ListLayerVersionsRequest) SetStartVersion

func (ListLayerVersionsRequest) String

func (s ListLayerVersionsRequest) String() string

type ListLayerVersionsResponse

type ListLayerVersionsResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListLayerVersionsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListLayerVersionsResponse) GoString

func (s ListLayerVersionsResponse) GoString() string

func (*ListLayerVersionsResponse) SetBody

func (*ListLayerVersionsResponse) SetHeaders

func (*ListLayerVersionsResponse) SetStatusCode

func (ListLayerVersionsResponse) String

func (s ListLayerVersionsResponse) String() string

type ListLayerVersionsResponseBody

type ListLayerVersionsResponseBody struct {
	// The information about layer versions.
	Layers []*Layer `json:"layers,omitempty" xml:"layers,omitempty" type:"Repeated"`
	// The initial version of the layer for the next query.
	NextVersion *int32 `json:"nextVersion,omitempty" xml:"nextVersion,omitempty"`
}

func (ListLayerVersionsResponseBody) GoString

func (*ListLayerVersionsResponseBody) SetLayers

func (*ListLayerVersionsResponseBody) SetNextVersion

func (ListLayerVersionsResponseBody) String

type ListLayersHeaders

type ListLayersHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the function is invoked. The format is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the request for Function Compute API.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (ListLayersHeaders) GoString

func (s ListLayersHeaders) GoString() string

func (*ListLayersHeaders) SetCommonHeaders

func (s *ListLayersHeaders) SetCommonHeaders(v map[string]*string) *ListLayersHeaders

func (*ListLayersHeaders) SetXFcAccountId

func (s *ListLayersHeaders) SetXFcAccountId(v string) *ListLayersHeaders

func (*ListLayersHeaders) SetXFcDate

func (s *ListLayersHeaders) SetXFcDate(v string) *ListLayersHeaders

func (*ListLayersHeaders) SetXFcTraceId

func (s *ListLayersHeaders) SetXFcTraceId(v string) *ListLayersHeaders

func (ListLayersHeaders) String

func (s ListLayersHeaders) String() string

type ListLayersRequest

type ListLayersRequest struct {
	// The maximum number of resources to return. Default value: 20. Maximum value: 100. The number of returned configurations is less than or equal to the specified number.
	Limit *int32 `json:"limit,omitempty" xml:"limit,omitempty"`
	// The token required to obtain more results. If the number of resources exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// Specifies whether to obtain the official public layer. When the official parameter is set to true, the public field does not take effect. The default value is false.
	Official *bool `json:"official,omitempty" xml:"official,omitempty"`
	// The name prefix of the layer. The names of returned resources must contain the prefix. If the name prefix is a, the names of returned resources must start with a.
	Prefix *string `json:"prefix,omitempty" xml:"prefix,omitempty"`
	// Specifies whether to obtain only the common layer. Default value: false.
	Public *bool `json:"public,omitempty" xml:"public,omitempty"`
	// The name of the start layer. The returned layers are sorted in alphabetical order, and the layers that include and follow the layer specified by the startKey parameter are returned.
	StartKey *string `json:"startKey,omitempty" xml:"startKey,omitempty"`
}

func (ListLayersRequest) GoString

func (s ListLayersRequest) GoString() string

func (*ListLayersRequest) SetLimit

func (s *ListLayersRequest) SetLimit(v int32) *ListLayersRequest

func (*ListLayersRequest) SetNextToken

func (s *ListLayersRequest) SetNextToken(v string) *ListLayersRequest

func (*ListLayersRequest) SetOfficial

func (s *ListLayersRequest) SetOfficial(v bool) *ListLayersRequest

func (*ListLayersRequest) SetPrefix

func (s *ListLayersRequest) SetPrefix(v string) *ListLayersRequest

func (*ListLayersRequest) SetPublic

func (s *ListLayersRequest) SetPublic(v bool) *ListLayersRequest

func (*ListLayersRequest) SetStartKey

func (s *ListLayersRequest) SetStartKey(v string) *ListLayersRequest

func (ListLayersRequest) String

func (s ListLayersRequest) String() string

type ListLayersResponse

type ListLayersResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListLayersResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListLayersResponse) GoString

func (s ListLayersResponse) GoString() string

func (*ListLayersResponse) SetBody

func (*ListLayersResponse) SetHeaders

func (s *ListLayersResponse) SetHeaders(v map[string]*string) *ListLayersResponse

func (*ListLayersResponse) SetStatusCode

func (s *ListLayersResponse) SetStatusCode(v int32) *ListLayersResponse

func (ListLayersResponse) String

func (s ListLayersResponse) String() string

type ListLayersResponseBody

type ListLayersResponseBody struct {
	// The information about layers.
	Layers []*Layer `json:"layers,omitempty" xml:"layers,omitempty" type:"Repeated"`
	// The name of the start layer for the next query, which is also the token used to obtain more results.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (ListLayersResponseBody) GoString

func (s ListLayersResponseBody) GoString() string

func (*ListLayersResponseBody) SetLayers

func (*ListLayersResponseBody) SetNextToken

func (ListLayersResponseBody) String

func (s ListLayersResponseBody) String() string

type ListOnDemandConfigsHeaders

type ListOnDemandConfigsHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// $.parameters[8].schema.description
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// $.parameters[8].schema.example
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// $.parameters[8].schema.enumValueTitles
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (ListOnDemandConfigsHeaders) GoString

func (s ListOnDemandConfigsHeaders) GoString() string

func (*ListOnDemandConfigsHeaders) SetCommonHeaders

func (*ListOnDemandConfigsHeaders) SetXFcAccountId

func (*ListOnDemandConfigsHeaders) SetXFcDate

func (*ListOnDemandConfigsHeaders) SetXFcTraceId

func (ListOnDemandConfigsHeaders) String

type ListOnDemandConfigsRequest

type ListOnDemandConfigsRequest struct {
	// The time when Function Compute API is called.
	Limit *int32 `json:"limit,omitempty" xml:"limit,omitempty"`
	// The ID of your Alibaba Cloud account.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// The returned data.
	Prefix *string `json:"prefix,omitempty" xml:"prefix,omitempty"`
	// The maximum number of resources to return. Default value: 20. Maximum value: 100. The number of returned resources is less than or equal to the specified number.
	StartKey *string `json:"startKey,omitempty" xml:"startKey,omitempty"`
}

func (ListOnDemandConfigsRequest) GoString

func (s ListOnDemandConfigsRequest) GoString() string

func (*ListOnDemandConfigsRequest) SetLimit

func (*ListOnDemandConfigsRequest) SetNextToken

func (*ListOnDemandConfigsRequest) SetPrefix

func (*ListOnDemandConfigsRequest) SetStartKey

func (ListOnDemandConfigsRequest) String

type ListOnDemandConfigsResponse

type ListOnDemandConfigsResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListOnDemandConfigsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListOnDemandConfigsResponse) GoString

func (s ListOnDemandConfigsResponse) GoString() string

func (*ListOnDemandConfigsResponse) SetBody

func (*ListOnDemandConfigsResponse) SetHeaders

func (*ListOnDemandConfigsResponse) SetStatusCode

func (ListOnDemandConfigsResponse) String

type ListOnDemandConfigsResponseBody

type ListOnDemandConfigsResponseBody struct {
	// $.parameters[9].schema.enumValueTitles
	Configs []*OnDemandConfig `json:"configs,omitempty" xml:"configs,omitempty" type:"Repeated"`
	// {"name":"ListOnDemandConfigs","product":"FC-Open","version":"2021-04-06","path":"/2021-04-06/on-demand-configs","deprecated":0,"method":"GET","protocol":"HTTP|HTTPS","hidden":0,"timeout":10000,"parameter_type":"Single","params":"[{\"name\":\"prefix\",\"position\":\"Query\",\"required\":false,\"checkBlank\":false,\"visibility\":\"Public\",\"deprecated\":false,\"type\":\"String\",\"title\":\"The prefix that the names of returned resources must contain. If the name prefix is a, the names of returned resources must start with a. \",\"description\":\"The prefix that the names of returned resources must contain. If the name prefix is a, the names of returned resources must start with a. \",\"example\":\"prefix_text\"},{\"name\":\"startKey\",\"position\":\"Query\",\"required\":false,\"checkBlank\":false,\"visibility\":\"Public\",\"deprecated\":false,\"type\":\"String\",\"title\":\"The returned resources are sorted in alphabetical order, and the resources that include and follow the resource specified by the startKey parameter are returned. \",\"description\":\"The returned resources are sorted in alphabetical order, and the resources that include and follow the resource specified by the startKey parameter are returned. \",\"example\":\"nextservice\"},{\"name\":\"nextToken\",\"position\":\"Query\",\"required\":false,\"checkBlank\":false,\"visibility\":\"Public\",\"deprecated\":false,\"type\":\"String\",\"title\":\"The token used to obtain more results. If the number of resources exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call. \",\"description\":\"The token used to obtain more results. If the number of resources exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call. \",\"example\":\"8bj81uI8n****\"},{\"name\":\"limit\",\"position\":\"Query\",\"required\":false,\"checkBlank\":false,\"visibility\":\"Public\",\"deprecated\":false,\"type\":\"Integer\",\"title\":\"The maximum number of resources to return. Default value: 20. Maximum value: 100. The number of returned resources is less than or equal to the specified number. \",\"description\":\"The maximum number of resources to return. Default value: 20. Maximum value: 100. The number of returned resources is less than or equal to the specified number. \",\"example\":\"20\"},{\"name\":\"X-Fc-Account-Id\",\"position\":\"Header\",\"required\":false,\"checkBlank\":false,\"visibility\":\"Public\",\"deprecated\":false,\"type\":\"String\",\"description\":\"The ID of your Alibaba Cloud account. \",\"example\":\"188077086902****\"},{\"name\":\"X-Fc-Date\",\"position\":\"Header\",\"required\":false,\"checkBlank\":false,\"visibility\":\"Public\",\"deprecated\":false,\"type\":\"String\",\"description\":\"The time when Function Compute API is called. \",\"example\":\"2020-12-1210:00:00\"},{\"name\":\"X-Fc-Trace-Id\",\"position\":\"Header\",\"required\":false,\"checkBlank\":false,\"visibility\":\"Public\",\"deprecated\":false,\"type\":\"String\",\"description\":\"The trace ID of the invocation request of Function Compute. \",\"example\":\"rid281s******\"}]","response_headers":"[]","response":"{\"type\":\"Object\",\"children\":[{\"name\":\"configs\",\"required\":false,\"checkBlank\":false,\"visibility\":\"Public\",\"deprecated\":false,\"type\":\"Array\",\"subType\":\"Object\",\"example\":\"[{\"maximumInstanceCount\": 10, \"resource\": \"services/serviceName-bb7f36eb-7f1b-4c42-8f64-401b32ecbf31.aliasName/functions/functionName\"}]\",\"description\":\"The information about the on-demand configuration. \",\"children\":[{\"name\":\"resource\",\"required\":false,\"checkBlank\":false,\"visibility\":\"public\",\"deprecated\":false,\"type\":\"String\",\"title\":\"The details of the function.\",\"description\":\"The description of the resource. \",\"example\":\"123#serviceName#alias#functionName\"},{\"name\":\"maximumInstanceCount\",\"required\":false,\"checkBlank\":false,\"visibility\":\"public\",\"deprecated\":false,\"type\":\"Long\",\"title\":\"todo\",\"description\":\"The maximum number of on-demand instances. \",\"example\":\"10\"}],\"title\":\"The information about the provisioned configuration.\"},{\"name\":\"nextToken\",\"required\":false,\"checkBlank\":false,\"visibility\":\"Public\",\"deprecated\":false,\"type\":\"String\",\"title\":\"The token used to obtain more results. If this parameter is left empty, all the results are returned. \",\"description\":\"The token used to obtain more results. If this parameter is left empty, all the results are returned. \",\"example\":\"next_token\"}],\"title\":\"Schema of Response\",\"description\":\"The returned data. \"}","errors":"{}"}
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (ListOnDemandConfigsResponseBody) GoString

func (*ListOnDemandConfigsResponseBody) SetConfigs

func (*ListOnDemandConfigsResponseBody) SetNextToken

func (ListOnDemandConfigsResponseBody) String

type ListProvisionConfigsHeaders

type ListProvisionConfigsHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when Function Compute API is called. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the invocation request of Function Compute.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (ListProvisionConfigsHeaders) GoString

func (s ListProvisionConfigsHeaders) GoString() string

func (*ListProvisionConfigsHeaders) SetCommonHeaders

func (*ListProvisionConfigsHeaders) SetXFcAccountId

func (*ListProvisionConfigsHeaders) SetXFcDate

func (*ListProvisionConfigsHeaders) SetXFcTraceId

func (ListProvisionConfigsHeaders) String

type ListProvisionConfigsRequest

type ListProvisionConfigsRequest struct {
	// The maximum number of resources to return. Default value: 20. Maximum value: 100. The number of returned resources is less than or equal to the specified number.
	Limit *int64 `json:"limit,omitempty" xml:"limit,omitempty"`
	// The token used to obtain more results. You do not need to provide this parameter in the first call. The tokens for subsequent queries are obtained from the returned results.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// The qualifier of the service to which resources belong. The qualifier must be aliasName and used together with the serviceName parameter.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
	// The name of the service to which resources belong.
	ServiceName *string `json:"serviceName,omitempty" xml:"serviceName,omitempty"`
}

func (ListProvisionConfigsRequest) GoString

func (s ListProvisionConfigsRequest) GoString() string

func (*ListProvisionConfigsRequest) SetLimit

func (*ListProvisionConfigsRequest) SetNextToken

func (*ListProvisionConfigsRequest) SetQualifier

func (*ListProvisionConfigsRequest) SetServiceName

func (ListProvisionConfigsRequest) String

type ListProvisionConfigsResponse

type ListProvisionConfigsResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListProvisionConfigsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListProvisionConfigsResponse) GoString

func (s ListProvisionConfigsResponse) GoString() string

func (*ListProvisionConfigsResponse) SetBody

func (*ListProvisionConfigsResponse) SetHeaders

func (*ListProvisionConfigsResponse) SetStatusCode

func (ListProvisionConfigsResponse) String

type ListProvisionConfigsResponseBody

type ListProvisionConfigsResponseBody struct {
	// The token used to obtain more results.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// The information about provisioned instances.
	ProvisionConfigs []*ListProvisionConfigsResponseBodyProvisionConfigs `json:"provisionConfigs,omitempty" xml:"provisionConfigs,omitempty" type:"Repeated"`
}

func (ListProvisionConfigsResponseBody) GoString

func (*ListProvisionConfigsResponseBody) SetNextToken

func (ListProvisionConfigsResponseBody) String

type ListProvisionConfigsResponseBodyProvisionConfigs

type ListProvisionConfigsResponseBodyProvisionConfigs struct {
	// Specifies whether to always allocate CPU to a function instance.
	AlwaysAllocateCPU *bool `json:"alwaysAllocateCPU,omitempty" xml:"alwaysAllocateCPU,omitempty"`
	// The actual number of provisioned instances.
	Current *int64 `json:"current,omitempty" xml:"current,omitempty"`
	// The error message returned if a provisioned instance fails to be created.
	CurrentError *string `json:"currentError,omitempty" xml:"currentError,omitempty"`
	// The description of the resource.
	Resource *string `json:"resource,omitempty" xml:"resource,omitempty"`
	// The configurations of scheduled auto scaling.
	ScheduledActions []*ScheduledActions `json:"scheduledActions,omitempty" xml:"scheduledActions,omitempty" type:"Repeated"`
	// The expected number of provisioned instances.
	Target *int64 `json:"target,omitempty" xml:"target,omitempty"`
	// The configurations of metric-based auto scaling.
	TargetTrackingPolicies []*TargetTrackingPolicies `json:"targetTrackingPolicies,omitempty" xml:"targetTrackingPolicies,omitempty" type:"Repeated"`
}

func (ListProvisionConfigsResponseBodyProvisionConfigs) GoString

func (*ListProvisionConfigsResponseBodyProvisionConfigs) SetAlwaysAllocateCPU

func (*ListProvisionConfigsResponseBodyProvisionConfigs) SetCurrent

func (*ListProvisionConfigsResponseBodyProvisionConfigs) SetCurrentError

func (*ListProvisionConfigsResponseBodyProvisionConfigs) SetResource

func (*ListProvisionConfigsResponseBodyProvisionConfigs) SetScheduledActions

func (*ListProvisionConfigsResponseBodyProvisionConfigs) SetTarget

func (*ListProvisionConfigsResponseBodyProvisionConfigs) SetTargetTrackingPolicies

func (ListProvisionConfigsResponseBodyProvisionConfigs) String

type ListReservedCapacitiesHeaders

type ListReservedCapacitiesHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the Function Compute API is called. The format is **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (ListReservedCapacitiesHeaders) GoString

func (*ListReservedCapacitiesHeaders) SetCommonHeaders

func (*ListReservedCapacitiesHeaders) SetXFcAccountId

func (*ListReservedCapacitiesHeaders) SetXFcDate

func (*ListReservedCapacitiesHeaders) SetXFcTraceId

func (ListReservedCapacitiesHeaders) String

type ListReservedCapacitiesRequest

type ListReservedCapacitiesRequest struct {
	// The maximum number of resources to return. Valid values: 1 to 100.
	Limit *string `json:"limit,omitempty" xml:"limit,omitempty"`
	// The token that determines the start point of the query.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (ListReservedCapacitiesRequest) GoString

func (*ListReservedCapacitiesRequest) SetLimit

func (*ListReservedCapacitiesRequest) SetNextToken

func (ListReservedCapacitiesRequest) String

type ListReservedCapacitiesResponse

type ListReservedCapacitiesResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListReservedCapacitiesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListReservedCapacitiesResponse) GoString

func (*ListReservedCapacitiesResponse) SetHeaders

func (*ListReservedCapacitiesResponse) SetStatusCode

func (ListReservedCapacitiesResponse) String

type ListReservedCapacitiesResponseBody

type ListReservedCapacitiesResponseBody struct {
	// The token used to obtain more results.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// The information about subscription instances.
	ReservedCapacities []*OpenReservedCapacity `json:"reservedCapacities,omitempty" xml:"reservedCapacities,omitempty" type:"Repeated"`
}

func (ListReservedCapacitiesResponseBody) GoString

func (*ListReservedCapacitiesResponseBody) SetNextToken

func (*ListReservedCapacitiesResponseBody) SetReservedCapacities

func (ListReservedCapacitiesResponseBody) String

type ListServiceVersionsHeaders

type ListServiceVersionsHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when Function Compute API is called. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the invocation request of Function Compute.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (ListServiceVersionsHeaders) GoString

func (s ListServiceVersionsHeaders) GoString() string

func (*ListServiceVersionsHeaders) SetCommonHeaders

func (*ListServiceVersionsHeaders) SetXFcAccountId

func (*ListServiceVersionsHeaders) SetXFcDate

func (*ListServiceVersionsHeaders) SetXFcTraceId

func (ListServiceVersionsHeaders) String

type ListServiceVersionsRequest

type ListServiceVersionsRequest struct {
	// The order in which the returned versions are sorted. Valid values:
	//   - **FORWARD**: in ascending order.
	//   - **BACKWARD**: in descending order. This is the default value.
	Direction *string `json:"direction,omitempty" xml:"direction,omitempty"`
	// The maximum number of resources to return. Default value: 20. Maximum value: 100. The number of returned resources is less than or equal to the specified number.
	Limit *int32 `json:"limit,omitempty" xml:"limit,omitempty"`
	// The token used to obtain more results. If the number of resources exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// The starting position of the result list. The returned resources are sorted based on the version number, and the resources that include and follow the resource specified by the startKey parameter are returned.
	StartKey *string `json:"startKey,omitempty" xml:"startKey,omitempty"`
}

func (ListServiceVersionsRequest) GoString

func (s ListServiceVersionsRequest) GoString() string

func (*ListServiceVersionsRequest) SetDirection

func (*ListServiceVersionsRequest) SetLimit

func (*ListServiceVersionsRequest) SetNextToken

func (*ListServiceVersionsRequest) SetStartKey

func (ListServiceVersionsRequest) String

type ListServiceVersionsResponse

type ListServiceVersionsResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListServiceVersionsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListServiceVersionsResponse) GoString

func (s ListServiceVersionsResponse) GoString() string

func (*ListServiceVersionsResponse) SetBody

func (*ListServiceVersionsResponse) SetHeaders

func (*ListServiceVersionsResponse) SetStatusCode

func (ListServiceVersionsResponse) String

type ListServiceVersionsResponseBody

type ListServiceVersionsResponseBody struct {
	// The order in which the returned versions are sorted. Valid values:
	//   - **FORWARD**: in ascending order.
	//   - **BACKWARD**: in descending order. This is the default value.
	Direction *string `json:"direction,omitempty" xml:"direction,omitempty"`
	// The token used to obtain more results. If the number of resources exceeds the limit, the nextToken parameter is returned. You can include the parameter in subsequent calls to obtain more results. You do not need to provide this parameter in the first call.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// The list of versions.
	Versions []*ListServiceVersionsResponseBodyVersions `json:"versions,omitempty" xml:"versions,omitempty" type:"Repeated"`
}

func (ListServiceVersionsResponseBody) GoString

func (*ListServiceVersionsResponseBody) SetDirection

func (*ListServiceVersionsResponseBody) SetNextToken

func (ListServiceVersionsResponseBody) String

type ListServiceVersionsResponseBodyVersions

type ListServiceVersionsResponseBodyVersions struct {
	// The time when the service version was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The description of the service version.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The time when the service version was last modified.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The version of the service.
	VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"`
}

func (ListServiceVersionsResponseBodyVersions) GoString

func (*ListServiceVersionsResponseBodyVersions) SetCreatedTime

func (*ListServiceVersionsResponseBodyVersions) SetDescription

func (*ListServiceVersionsResponseBodyVersions) SetLastModifiedTime

func (*ListServiceVersionsResponseBodyVersions) SetVersionId

func (ListServiceVersionsResponseBodyVersions) String

type ListServicesHeaders

type ListServicesHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (ListServicesHeaders) GoString

func (s ListServicesHeaders) GoString() string

func (*ListServicesHeaders) SetCommonHeaders

func (s *ListServicesHeaders) SetCommonHeaders(v map[string]*string) *ListServicesHeaders

func (*ListServicesHeaders) SetXFcAccountId

func (s *ListServicesHeaders) SetXFcAccountId(v string) *ListServicesHeaders

func (*ListServicesHeaders) SetXFcDate

func (*ListServicesHeaders) SetXFcTraceId

func (s *ListServicesHeaders) SetXFcTraceId(v string) *ListServicesHeaders

func (ListServicesHeaders) String

func (s ListServicesHeaders) String() string

type ListServicesRequest

type ListServicesRequest struct {
	// The maximum number of resources to return. Default value: 20. The value cannot exceed 100. The number of returned configurations is less than or equal to the specified number.
	Limit *int32 `json:"limit,omitempty" xml:"limit,omitempty"`
	// The starting position of the query. If this parameter is left empty, the query starts from the beginning. You do not need to specify this parameter in the first query. If the number of asynchronous tasks exceeds the limit, the nextToken parameter is returned, the value of which can be used in subsequent calls to obtain more results.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// The prefix that the names of returned resources must contain. If the name prefix is a, the names of returned resources must start with a.
	Prefix *string `json:"prefix,omitempty" xml:"prefix,omitempty"`
	// The returned resources are sorted in alphabetical order, and the resources that include and follow the resource specified by the startKey parameter are returned.
	StartKey *string `json:"startKey,omitempty" xml:"startKey,omitempty"`
}

func (ListServicesRequest) GoString

func (s ListServicesRequest) GoString() string

func (*ListServicesRequest) SetLimit

func (*ListServicesRequest) SetNextToken

func (s *ListServicesRequest) SetNextToken(v string) *ListServicesRequest

func (*ListServicesRequest) SetPrefix

func (*ListServicesRequest) SetStartKey

func (s *ListServicesRequest) SetStartKey(v string) *ListServicesRequest

func (ListServicesRequest) String

func (s ListServicesRequest) String() string

type ListServicesResponse

type ListServicesResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListServicesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListServicesResponse) GoString

func (s ListServicesResponse) GoString() string

func (*ListServicesResponse) SetBody

func (*ListServicesResponse) SetHeaders

func (s *ListServicesResponse) SetHeaders(v map[string]*string) *ListServicesResponse

func (*ListServicesResponse) SetStatusCode

func (s *ListServicesResponse) SetStatusCode(v int32) *ListServicesResponse

func (ListServicesResponse) String

func (s ListServicesResponse) String() string

type ListServicesResponseBody

type ListServicesResponseBody struct {
	// The token used to obtain more results. If this parameter is left empty, all the results are returned.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// The information about a service.
	Services []*ListServicesResponseBodyServices `json:"services,omitempty" xml:"services,omitempty" type:"Repeated"`
}

func (ListServicesResponseBody) GoString

func (s ListServicesResponseBody) GoString() string

func (*ListServicesResponseBody) SetNextToken

func (*ListServicesResponseBody) SetServices

func (ListServicesResponseBody) String

func (s ListServicesResponseBody) String() string

type ListServicesResponseBodyServices

type ListServicesResponseBodyServices struct {
	// The time when the service was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The description of the service.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// Specifies whether to allow functions to access the Internet. Valid values:
	//
	// *   **true**: allows functions in the specified service to access the Internet.
	// *   **false**: does not allow functions to access the Internet.
	InternetAccess *bool `json:"internetAccess,omitempty" xml:"internetAccess,omitempty"`
	// The time when the service was last modified.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The log configuration, which specifies a Logstore to store function execution logs.
	LogConfig *LogConfig `json:"logConfig,omitempty" xml:"logConfig,omitempty"`
	// The configurations of the NAS file system. The configuration allows functions in the specified service in Function Compute to access the NAS file system.
	NasConfig *NASConfig `json:"nasConfig,omitempty" xml:"nasConfig,omitempty"`
	// The OSS mount configurations.
	OssMountConfig *OSSMountConfig `json:"ossMountConfig,omitempty" xml:"ossMountConfig,omitempty"`
	// The RAM role that is used to grant required permissions to Function Compute. The RAM role is used in the following scenarios:
	//
	// *   Sends function execution logs to your Logstore.
	// *   Generates a token for a function to access other cloud resources during function execution.
	Role *string `json:"role,omitempty" xml:"role,omitempty"`
	// The unique ID generated by the system for the service.
	ServiceId *string `json:"serviceId,omitempty" xml:"serviceId,omitempty"`
	// The name of the service.
	ServiceName *string `json:"serviceName,omitempty" xml:"serviceName,omitempty"`
	// The configuration of Tracing Analysis. After you configure Tracing Analysis for a service in Function Compute, you can record the execution duration of a request, view the amount of cold start time for a function, and record the execution duration of a function. For more information, see [Overview](~~189804~~).
	TracingConfig        *TracingConfig `json:"tracingConfig,omitempty" xml:"tracingConfig,omitempty"`
	UseSLRAuthentication *bool          `json:"useSLRAuthentication,omitempty" xml:"useSLRAuthentication,omitempty"`
	// The VPC configuration. The configuration allows a function to access the specified VPC.
	VpcConfig *VPCConfig `json:"vpcConfig,omitempty" xml:"vpcConfig,omitempty"`
}

func (ListServicesResponseBodyServices) GoString

func (*ListServicesResponseBodyServices) SetCreatedTime

func (*ListServicesResponseBodyServices) SetDescription

func (*ListServicesResponseBodyServices) SetInternetAccess

func (*ListServicesResponseBodyServices) SetLastModifiedTime

func (*ListServicesResponseBodyServices) SetLogConfig

func (*ListServicesResponseBodyServices) SetNasConfig

func (*ListServicesResponseBodyServices) SetOssMountConfig

func (*ListServicesResponseBodyServices) SetRole

func (*ListServicesResponseBodyServices) SetServiceId

func (*ListServicesResponseBodyServices) SetServiceName

func (*ListServicesResponseBodyServices) SetTracingConfig

func (*ListServicesResponseBodyServices) SetUseSLRAuthentication added in v2.0.11

func (*ListServicesResponseBodyServices) SetVpcConfig

func (ListServicesResponseBodyServices) String

type ListStatefulAsyncInvocationFunctionsHeaders

type ListStatefulAsyncInvocationFunctionsHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// It is a tool used to manage and configure Alibaba Cloud resources. After simple installation and configuration, you can use Alibaba Cloud CLI to manage multiple Alibaba Cloud services and migrate your data and business to the cloud with ease.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The token used to obtain more results. If this parameter is left empty, all the results are returned.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The details of returned data.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (ListStatefulAsyncInvocationFunctionsHeaders) GoString

func (*ListStatefulAsyncInvocationFunctionsHeaders) SetCommonHeaders

func (*ListStatefulAsyncInvocationFunctionsHeaders) SetXFcAccountId

func (*ListStatefulAsyncInvocationFunctionsHeaders) SetXFcDate

func (*ListStatefulAsyncInvocationFunctionsHeaders) SetXFcTraceId

func (ListStatefulAsyncInvocationFunctionsHeaders) String

type ListStatefulAsyncInvocationFunctionsRequest

type ListStatefulAsyncInvocationFunctionsRequest struct {
	// The latest version of Function Compute API.
	Limit *int32 `json:"limit,omitempty" xml:"limit,omitempty"`
	// Alibaba Cloud provides SDKs for multiple programming languages to help you integrate Alibaba Cloud services by using APIs. We recommend that you use an SDK to call API operations. This frees you from manual signature verification.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (ListStatefulAsyncInvocationFunctionsRequest) GoString

func (*ListStatefulAsyncInvocationFunctionsRequest) SetLimit

func (*ListStatefulAsyncInvocationFunctionsRequest) SetNextToken

func (ListStatefulAsyncInvocationFunctionsRequest) String

type ListStatefulAsyncInvocationFunctionsResponse

type ListStatefulAsyncInvocationFunctionsResponse struct {
	Headers    map[string]*string                                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListStatefulAsyncInvocationFunctionsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListStatefulAsyncInvocationFunctionsResponse) GoString

func (*ListStatefulAsyncInvocationFunctionsResponse) SetHeaders

func (*ListStatefulAsyncInvocationFunctionsResponse) SetStatusCode

func (ListStatefulAsyncInvocationFunctionsResponse) String

type ListStatefulAsyncInvocationFunctionsResponseBody

type ListStatefulAsyncInvocationFunctionsResponseBody struct {
	// The trace ID of the request for Function Compute API.
	Data []*AsyncConfigMeta `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	// 2022-01-28 18:04:38
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (ListStatefulAsyncInvocationFunctionsResponseBody) GoString

func (*ListStatefulAsyncInvocationFunctionsResponseBody) SetData

func (*ListStatefulAsyncInvocationFunctionsResponseBody) SetNextToken

func (ListStatefulAsyncInvocationFunctionsResponseBody) String

type ListStatefulAsyncInvocationsHeaders

type ListStatefulAsyncInvocationsHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// It is a tool used to manage and configure Alibaba Cloud resources. After simple installation and configuration, you can use Alibaba Cloud CLI to manage multiple Alibaba Cloud services and migrate your data and business to the cloud with ease.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// Alibaba Cloud CLI
	XFcCodeChecksum *string `json:"X-Fc-Code-Checksum,omitempty" xml:"X-Fc-Code-Checksum,omitempty"`
	// - **true**: returns the invocationPayload parameter in the response.
	// - **false**: does not return the invocationPayload parameter in the response.
	//
	// > The `invocationPayload` parameter indicates the input parameters of an asynchronous task.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The token used to obtain more results. If this parameter is left empty, all the results are returned.
	XFcInvocationType *string `json:"X-Fc-Invocation-Type,omitempty" xml:"X-Fc-Invocation-Type,omitempty"`
	// The time when Function Compute API is called.
	XFcLogType *string `json:"X-Fc-Log-Type,omitempty" xml:"X-Fc-Log-Type,omitempty"`
	// The CRC-64 value of the function code package. This value is used to check data integrity. The value is automatically calculated by the tool.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (ListStatefulAsyncInvocationsHeaders) GoString

func (*ListStatefulAsyncInvocationsHeaders) SetCommonHeaders

func (*ListStatefulAsyncInvocationsHeaders) SetXFcAccountId

func (*ListStatefulAsyncInvocationsHeaders) SetXFcCodeChecksum

func (*ListStatefulAsyncInvocationsHeaders) SetXFcDate

func (*ListStatefulAsyncInvocationsHeaders) SetXFcInvocationType

func (*ListStatefulAsyncInvocationsHeaders) SetXFcLogType

func (*ListStatefulAsyncInvocationsHeaders) SetXFcTraceId

func (ListStatefulAsyncInvocationsHeaders) String

type ListStatefulAsyncInvocationsRequest

type ListStatefulAsyncInvocationsRequest struct {
	// You can search for API operations, call and debug API operations online, and dynamically generate executable sample code for SDKs.
	IncludePayload *bool `json:"includePayload,omitempty" xml:"includePayload,omitempty"`
	// Alibaba Cloud provides SDKs for multiple programming languages to help you integrate Alibaba Cloud services by using APIs. We recommend that you use an SDK to call API operations. This frees you from manual signature verification.
	InvocationIdPrefix *string `json:"invocationIdPrefix,omitempty" xml:"invocationIdPrefix,omitempty"`
	// The list of events that trigger the asynchronous task.
	Limit *int32 `json:"limit,omitempty" xml:"limit,omitempty"`
	// The ID of the instance that is used to run the asynchronous task.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// The number of retries after the asynchronous task fails.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
	// StatefulAsyncInvocation: asynchronous task. Asynchronous tasks allow you to manage the states on the basis of common asynchronous invocations, which is more suitable for task scenarios.
	SortOrderByTime *string `json:"sortOrderByTime,omitempty" xml:"sortOrderByTime,omitempty"`
	// The structure of the asynchronous task.
	StartedTimeBegin *int64 `json:"startedTimeBegin,omitempty" xml:"startedTimeBegin,omitempty"`
	// The latest version of Function Compute API.
	StartedTimeEnd *int64 `json:"startedTimeEnd,omitempty" xml:"startedTimeEnd,omitempty"`
	// The request ID of the asynchronous task.
	Status *string `json:"status,omitempty" xml:"status,omitempty"`
}

func (ListStatefulAsyncInvocationsRequest) GoString

func (*ListStatefulAsyncInvocationsRequest) SetIncludePayload

func (*ListStatefulAsyncInvocationsRequest) SetInvocationIdPrefix

func (*ListStatefulAsyncInvocationsRequest) SetLimit

func (*ListStatefulAsyncInvocationsRequest) SetNextToken

func (*ListStatefulAsyncInvocationsRequest) SetQualifier

func (*ListStatefulAsyncInvocationsRequest) SetSortOrderByTime

func (*ListStatefulAsyncInvocationsRequest) SetStartedTimeBegin

func (*ListStatefulAsyncInvocationsRequest) SetStartedTimeEnd

func (*ListStatefulAsyncInvocationsRequest) SetStatus

func (ListStatefulAsyncInvocationsRequest) String

type ListStatefulAsyncInvocationsResponse

type ListStatefulAsyncInvocationsResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListStatefulAsyncInvocationsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListStatefulAsyncInvocationsResponse) GoString

func (*ListStatefulAsyncInvocationsResponse) SetHeaders

func (*ListStatefulAsyncInvocationsResponse) SetStatusCode

func (ListStatefulAsyncInvocationsResponse) String

type ListStatefulAsyncInvocationsResponseBody

type ListStatefulAsyncInvocationsResponseBody struct {
	// The version or alias of the service to which the asynchronous task belongs.
	Invocations []*StatefulAsyncInvocation `json:"invocations,omitempty" xml:"invocations,omitempty" type:"Repeated"`
	// The returned data.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (ListStatefulAsyncInvocationsResponseBody) GoString

func (*ListStatefulAsyncInvocationsResponseBody) SetInvocations

func (*ListStatefulAsyncInvocationsResponseBody) SetNextToken

func (ListStatefulAsyncInvocationsResponseBody) String

type ListTaggedResourcesHeaders

type ListTaggedResourcesHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when Function Compute API is called. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (ListTaggedResourcesHeaders) GoString

func (s ListTaggedResourcesHeaders) GoString() string

func (*ListTaggedResourcesHeaders) SetCommonHeaders

func (*ListTaggedResourcesHeaders) SetXFcAccountId

func (*ListTaggedResourcesHeaders) SetXFcDate

func (*ListTaggedResourcesHeaders) SetXFcTraceId

func (ListTaggedResourcesHeaders) String

type ListTaggedResourcesRequest

type ListTaggedResourcesRequest struct {
	// The maximum number of resources to return. Default value: 20. Maximum value: 100. The number of returned resources is less than or equal to the specified number.
	Limit *int32 `json:"limit,omitempty" xml:"limit,omitempty"`
	// The token used to obtain more results. You do not need to provide this parameter in the first call. The tokens for subsequent queries are obtained from the returned results.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (ListTaggedResourcesRequest) GoString

func (s ListTaggedResourcesRequest) GoString() string

func (*ListTaggedResourcesRequest) SetLimit

func (*ListTaggedResourcesRequest) SetNextToken

func (ListTaggedResourcesRequest) String

type ListTaggedResourcesResponse

type ListTaggedResourcesResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListTaggedResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListTaggedResourcesResponse) GoString

func (s ListTaggedResourcesResponse) GoString() string

func (*ListTaggedResourcesResponse) SetBody

func (*ListTaggedResourcesResponse) SetHeaders

func (*ListTaggedResourcesResponse) SetStatusCode

func (ListTaggedResourcesResponse) String

type ListTaggedResourcesResponseBody

type ListTaggedResourcesResponseBody struct {
	// The token used to obtain more results. You do not need to provide this parameter in the first call. The tokens for subsequent queries are obtained from the returned results.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// The information about tagged services.
	Resources []*Resource `json:"resources,omitempty" xml:"resources,omitempty" type:"Repeated"`
}

func (ListTaggedResourcesResponseBody) GoString

func (*ListTaggedResourcesResponseBody) SetNextToken

func (*ListTaggedResourcesResponseBody) SetResources

func (ListTaggedResourcesResponseBody) String

type ListTriggersHeaders

type ListTriggersHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the request is initiated on the client. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (ListTriggersHeaders) GoString

func (s ListTriggersHeaders) GoString() string

func (*ListTriggersHeaders) SetCommonHeaders

func (s *ListTriggersHeaders) SetCommonHeaders(v map[string]*string) *ListTriggersHeaders

func (*ListTriggersHeaders) SetXFcAccountId

func (s *ListTriggersHeaders) SetXFcAccountId(v string) *ListTriggersHeaders

func (*ListTriggersHeaders) SetXFcDate

func (*ListTriggersHeaders) SetXFcTraceId

func (s *ListTriggersHeaders) SetXFcTraceId(v string) *ListTriggersHeaders

func (ListTriggersHeaders) String

func (s ListTriggersHeaders) String() string

type ListTriggersRequest

type ListTriggersRequest struct {
	// The maximum number of resources to return. Default value: 20. Maximum value: 100. The number of returned resources is less than or equal to the specified number.
	Limit *int32 `json:"limit,omitempty" xml:"limit,omitempty"`
	// The token required to obtain more results. You do not need to provide this parameter in the first call. The tokens for subsequent queries are obtained from the returned results.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// The prefix that the names of returned resources must contain.
	Prefix *string `json:"prefix,omitempty" xml:"prefix,omitempty"`
	// The returned resources are sorted in alphabetical order, and the resources that include and follow the resource specified by the startKey parameter are returned.
	StartKey *string `json:"startKey,omitempty" xml:"startKey,omitempty"`
}

func (ListTriggersRequest) GoString

func (s ListTriggersRequest) GoString() string

func (*ListTriggersRequest) SetLimit

func (*ListTriggersRequest) SetNextToken

func (s *ListTriggersRequest) SetNextToken(v string) *ListTriggersRequest

func (*ListTriggersRequest) SetPrefix

func (*ListTriggersRequest) SetStartKey

func (s *ListTriggersRequest) SetStartKey(v string) *ListTriggersRequest

func (ListTriggersRequest) String

func (s ListTriggersRequest) String() string

type ListTriggersResponse

type ListTriggersResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListTriggersResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListTriggersResponse) GoString

func (s ListTriggersResponse) GoString() string

func (*ListTriggersResponse) SetBody

func (*ListTriggersResponse) SetHeaders

func (s *ListTriggersResponse) SetHeaders(v map[string]*string) *ListTriggersResponse

func (*ListTriggersResponse) SetStatusCode

func (s *ListTriggersResponse) SetStatusCode(v int32) *ListTriggersResponse

func (ListTriggersResponse) String

func (s ListTriggersResponse) String() string

type ListTriggersResponseBody

type ListTriggersResponseBody struct {
	// The token used to obtain more results. If this parameter is left empty, all the results are returned.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// The information about triggers.
	Triggers []*ListTriggersResponseBodyTriggers `json:"triggers,omitempty" xml:"triggers,omitempty" type:"Repeated"`
}

func (ListTriggersResponseBody) GoString

func (s ListTriggersResponseBody) GoString() string

func (*ListTriggersResponseBody) SetNextToken

func (*ListTriggersResponseBody) SetTriggers

func (ListTriggersResponseBody) String

func (s ListTriggersResponseBody) String() string

type ListTriggersResponseBodyTriggers

type ListTriggersResponseBodyTriggers struct {
	// The time when the trigger was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The description of the trigger.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The domain name used to invoke the function by using HTTP. You can add this domain name as the prefix to the endpoint of Function Compute. This way, you can invoke the function that corresponds to the trigger by using HTTP. Example: `{domainName}.cn-shanghai.fc.aliyuncs.com`.
	DomainName *string `json:"domainName,omitempty" xml:"domainName,omitempty"`
	// The Alibaba Cloud Resource Name (ARN) of the RAM role that is used by the event source to invoke the function.
	InvocationRole *string `json:"invocationRole,omitempty" xml:"invocationRole,omitempty"`
	// The time when the trigger was last modified.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The version or alias of the service.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
	// The ARN of the event source.
	SourceArn *string `json:"sourceArn,omitempty" xml:"sourceArn,omitempty"`
	// The configurations of the trigger. The configurations vary based on the trigger type. For more information about the format, see the following topics:
	//
	// *   Object Storage Service (OSS) trigger: [OSSTriggerConfig](~~415697~~).
	// *   Simple Log Service trigger: [LogTriggerConfig](~~415694~~).
	// *   Time trigger: [TimeTriggerConfig](~~415712~~).
	// *   HTTP trigger: [HTTPTriggerConfig](~~415685~~).
	// *   Tablestore trigger: Specify the **SourceArn** parameter and leave this parameter empty.
	// *   Alibaba Cloud CDN event trigger: [CDNEventsTriggerConfig](javascript:void\(0\)).
	// *   MNS topic trigger: [MnsTopicTriggerConfig](~~415695~~).
	// *   EventBridge triggers: [EventBridgeTriggerConfig](javascript:void\(0\)).
	TriggerConfig *string `json:"triggerConfig,omitempty" xml:"triggerConfig,omitempty"`
	// The unique ID of the trigger.
	TriggerId *string `json:"triggerId,omitempty" xml:"triggerId,omitempty"`
	// The name of the trigger.
	TriggerName *string `json:"triggerName,omitempty" xml:"triggerName,omitempty"`
	// The trigger type. Valid values: **oss**, **log**, **tablestore**, **timer**, **http**, **cdn_events**, **mns_topic**, and **eventbridge**.
	TriggerType *string `json:"triggerType,omitempty" xml:"triggerType,omitempty"`
	// The public endpoint. You can access HTTP triggers over the Internet by using HTTP or HTTPS.
	UrlInternet *string `json:"urlInternet,omitempty" xml:"urlInternet,omitempty"`
	// The private endpoint. In a VPC, you can access HTTP triggers by using HTTP or HTTPS.
	UrlIntranet *string `json:"urlIntranet,omitempty" xml:"urlIntranet,omitempty"`
}

func (ListTriggersResponseBodyTriggers) GoString

func (*ListTriggersResponseBodyTriggers) SetCreatedTime

func (*ListTriggersResponseBodyTriggers) SetDescription

func (*ListTriggersResponseBodyTriggers) SetDomainName

func (*ListTriggersResponseBodyTriggers) SetInvocationRole

func (*ListTriggersResponseBodyTriggers) SetLastModifiedTime

func (*ListTriggersResponseBodyTriggers) SetQualifier

func (*ListTriggersResponseBodyTriggers) SetSourceArn

func (*ListTriggersResponseBodyTriggers) SetTriggerConfig

func (*ListTriggersResponseBodyTriggers) SetTriggerId

func (*ListTriggersResponseBodyTriggers) SetTriggerName

func (*ListTriggersResponseBodyTriggers) SetTriggerType

func (*ListTriggersResponseBodyTriggers) SetUrlInternet

func (*ListTriggersResponseBodyTriggers) SetUrlIntranet

func (ListTriggersResponseBodyTriggers) String

type ListVpcBindingsHeaders

type ListVpcBindingsHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when Function Compute API is called. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (ListVpcBindingsHeaders) GoString

func (s ListVpcBindingsHeaders) GoString() string

func (*ListVpcBindingsHeaders) SetCommonHeaders

func (s *ListVpcBindingsHeaders) SetCommonHeaders(v map[string]*string) *ListVpcBindingsHeaders

func (*ListVpcBindingsHeaders) SetXFcAccountId

func (s *ListVpcBindingsHeaders) SetXFcAccountId(v string) *ListVpcBindingsHeaders

func (*ListVpcBindingsHeaders) SetXFcDate

func (*ListVpcBindingsHeaders) SetXFcTraceId

func (ListVpcBindingsHeaders) String

func (s ListVpcBindingsHeaders) String() string

type ListVpcBindingsResponse

type ListVpcBindingsResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListVpcBindingsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListVpcBindingsResponse) GoString

func (s ListVpcBindingsResponse) GoString() string

func (*ListVpcBindingsResponse) SetBody

func (*ListVpcBindingsResponse) SetHeaders

func (*ListVpcBindingsResponse) SetStatusCode

func (ListVpcBindingsResponse) String

func (s ListVpcBindingsResponse) String() string

type ListVpcBindingsResponseBody

type ListVpcBindingsResponseBody struct {
	// The IDs of bound VPCs.
	VpcIds []*string `json:"vpcIds,omitempty" xml:"vpcIds,omitempty" type:"Repeated"`
}

func (ListVpcBindingsResponseBody) GoString

func (s ListVpcBindingsResponseBody) GoString() string

func (*ListVpcBindingsResponseBody) SetVpcIds

func (ListVpcBindingsResponseBody) String

type LogConfig

type LogConfig struct {
	EnableInstanceMetrics *bool   `json:"enableInstanceMetrics,omitempty" xml:"enableInstanceMetrics,omitempty"`
	EnableRequestMetrics  *bool   `json:"enableRequestMetrics,omitempty" xml:"enableRequestMetrics,omitempty"`
	LogBeginRule          *string `json:"logBeginRule,omitempty" xml:"logBeginRule,omitempty"`
	Logstore              *string `json:"logstore,omitempty" xml:"logstore,omitempty"`
	Project               *string `json:"project,omitempty" xml:"project,omitempty"`
}

func (LogConfig) GoString

func (s LogConfig) GoString() string

func (*LogConfig) SetEnableInstanceMetrics

func (s *LogConfig) SetEnableInstanceMetrics(v bool) *LogConfig

func (*LogConfig) SetEnableRequestMetrics

func (s *LogConfig) SetEnableRequestMetrics(v bool) *LogConfig

func (*LogConfig) SetLogBeginRule

func (s *LogConfig) SetLogBeginRule(v string) *LogConfig

func (*LogConfig) SetLogstore

func (s *LogConfig) SetLogstore(v string) *LogConfig

func (*LogConfig) SetProject

func (s *LogConfig) SetProject(v string) *LogConfig

func (LogConfig) String

func (s LogConfig) String() string

type LogTriggerConfig

type LogTriggerConfig struct {
	Enable            *bool              `json:"enable,omitempty" xml:"enable,omitempty"`
	FunctionParameter map[string]*string `json:"functionParameter,omitempty" xml:"functionParameter,omitempty"`
	JobConfig         *JobConfig         `json:"jobConfig,omitempty" xml:"jobConfig,omitempty"`
	LogConfig         *JobLogConfig      `json:"logConfig,omitempty" xml:"logConfig,omitempty"`
	SourceConfig      *SourceConfig      `json:"sourceConfig,omitempty" xml:"sourceConfig,omitempty"`
}

func (LogTriggerConfig) GoString

func (s LogTriggerConfig) GoString() string

func (*LogTriggerConfig) SetEnable

func (s *LogTriggerConfig) SetEnable(v bool) *LogTriggerConfig

func (*LogTriggerConfig) SetFunctionParameter

func (s *LogTriggerConfig) SetFunctionParameter(v map[string]*string) *LogTriggerConfig

func (*LogTriggerConfig) SetJobConfig

func (s *LogTriggerConfig) SetJobConfig(v *JobConfig) *LogTriggerConfig

func (*LogTriggerConfig) SetLogConfig

func (s *LogTriggerConfig) SetLogConfig(v *JobLogConfig) *LogTriggerConfig

func (*LogTriggerConfig) SetSourceConfig

func (s *LogTriggerConfig) SetSourceConfig(v *SourceConfig) *LogTriggerConfig

func (LogTriggerConfig) String

func (s LogTriggerConfig) String() string

type MeteringConfig

type MeteringConfig struct {
	LogConfig *LogConfig `json:"logConfig,omitempty" xml:"logConfig,omitempty"`
	PayerId   *string    `json:"payerId,omitempty" xml:"payerId,omitempty"`
	Role      *string    `json:"role,omitempty" xml:"role,omitempty"`
}

func (MeteringConfig) GoString

func (s MeteringConfig) GoString() string

func (*MeteringConfig) SetLogConfig

func (s *MeteringConfig) SetLogConfig(v *LogConfig) *MeteringConfig

func (*MeteringConfig) SetPayerId

func (s *MeteringConfig) SetPayerId(v string) *MeteringConfig

func (*MeteringConfig) SetRole

func (s *MeteringConfig) SetRole(v string) *MeteringConfig

func (MeteringConfig) String

func (s MeteringConfig) String() string

type MnsTopicTriggerConfig

type MnsTopicTriggerConfig struct {
	FilterTag           *string `json:"filterTag,omitempty" xml:"filterTag,omitempty"`
	NotifyContentFormat *string `json:"notifyContentFormat,omitempty" xml:"notifyContentFormat,omitempty"`
	NotifyStrategy      *string `json:"notifyStrategy,omitempty" xml:"notifyStrategy,omitempty"`
}

func (MnsTopicTriggerConfig) GoString

func (s MnsTopicTriggerConfig) GoString() string

func (*MnsTopicTriggerConfig) SetFilterTag

func (*MnsTopicTriggerConfig) SetNotifyContentFormat

func (s *MnsTopicTriggerConfig) SetNotifyContentFormat(v string) *MnsTopicTriggerConfig

func (*MnsTopicTriggerConfig) SetNotifyStrategy

func (s *MnsTopicTriggerConfig) SetNotifyStrategy(v string) *MnsTopicTriggerConfig

func (MnsTopicTriggerConfig) String

func (s MnsTopicTriggerConfig) String() string

type NASConfig

type NASConfig struct {
	GroupId     *int32                  `json:"groupId,omitempty" xml:"groupId,omitempty"`
	MountPoints []*NASConfigMountPoints `json:"mountPoints,omitempty" xml:"mountPoints,omitempty" type:"Repeated"`
	UserId      *int32                  `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (NASConfig) GoString

func (s NASConfig) GoString() string

func (*NASConfig) SetGroupId

func (s *NASConfig) SetGroupId(v int32) *NASConfig

func (*NASConfig) SetMountPoints

func (s *NASConfig) SetMountPoints(v []*NASConfigMountPoints) *NASConfig

func (*NASConfig) SetUserId

func (s *NASConfig) SetUserId(v int32) *NASConfig

func (NASConfig) String

func (s NASConfig) String() string

type NASConfigMountPoints

type NASConfigMountPoints struct {
	EnableTLS  *bool   `json:"enableTLS,omitempty" xml:"enableTLS,omitempty"`
	MountDir   *string `json:"mountDir,omitempty" xml:"mountDir,omitempty"`
	ServerAddr *string `json:"serverAddr,omitempty" xml:"serverAddr,omitempty"`
}

func (NASConfigMountPoints) GoString

func (s NASConfigMountPoints) GoString() string

func (*NASConfigMountPoints) SetEnableTLS added in v2.0.5

func (s *NASConfigMountPoints) SetEnableTLS(v bool) *NASConfigMountPoints

func (*NASConfigMountPoints) SetMountDir

func (*NASConfigMountPoints) SetServerAddr

func (s *NASConfigMountPoints) SetServerAddr(v string) *NASConfigMountPoints

func (NASConfigMountPoints) String

func (s NASConfigMountPoints) String() string

type OSSMountConfig

type OSSMountConfig struct {
	MountPoints []*OSSMountConfigMountPoints `json:"mountPoints,omitempty" xml:"mountPoints,omitempty" type:"Repeated"`
}

func (OSSMountConfig) GoString

func (s OSSMountConfig) GoString() string

func (*OSSMountConfig) SetMountPoints

func (s *OSSMountConfig) SetMountPoints(v []*OSSMountConfigMountPoints) *OSSMountConfig

func (OSSMountConfig) String

func (s OSSMountConfig) String() string

type OSSMountConfigMountPoints

type OSSMountConfigMountPoints struct {
	BucketName *string `json:"bucketName,omitempty" xml:"bucketName,omitempty"`
	BucketPath *string `json:"bucketPath,omitempty" xml:"bucketPath,omitempty"`
	Endpoint   *string `json:"endpoint,omitempty" xml:"endpoint,omitempty"`
	MountDir   *string `json:"mountDir,omitempty" xml:"mountDir,omitempty"`
	ReadOnly   *bool   `json:"readOnly,omitempty" xml:"readOnly,omitempty"`
}

func (OSSMountConfigMountPoints) GoString

func (s OSSMountConfigMountPoints) GoString() string

func (*OSSMountConfigMountPoints) SetBucketName

func (*OSSMountConfigMountPoints) SetBucketPath added in v2.0.1

func (*OSSMountConfigMountPoints) SetEndpoint

func (*OSSMountConfigMountPoints) SetMountDir

func (*OSSMountConfigMountPoints) SetReadOnly

func (OSSMountConfigMountPoints) String

func (s OSSMountConfigMountPoints) String() string

type OSSTriggerConfig

type OSSTriggerConfig struct {
	Events []*string         `json:"events,omitempty" xml:"events,omitempty" type:"Repeated"`
	Filter *OSSTriggerFilter `json:"filter,omitempty" xml:"filter,omitempty"`
}

func (OSSTriggerConfig) GoString

func (s OSSTriggerConfig) GoString() string

func (*OSSTriggerConfig) SetEvents

func (s *OSSTriggerConfig) SetEvents(v []*string) *OSSTriggerConfig

func (*OSSTriggerConfig) SetFilter

func (OSSTriggerConfig) String

func (s OSSTriggerConfig) String() string

type OSSTriggerFilter

type OSSTriggerFilter struct {
	Key *OSSTriggerKey `json:"key,omitempty" xml:"key,omitempty"`
}

func (OSSTriggerFilter) GoString

func (s OSSTriggerFilter) GoString() string

func (*OSSTriggerFilter) SetKey

func (OSSTriggerFilter) String

func (s OSSTriggerFilter) String() string

type OSSTriggerKey

type OSSTriggerKey struct {
	Prefix *string `json:"prefix,omitempty" xml:"prefix,omitempty"`
	Suffix *string `json:"suffix,omitempty" xml:"suffix,omitempty"`
}

func (OSSTriggerKey) GoString

func (s OSSTriggerKey) GoString() string

func (*OSSTriggerKey) SetPrefix

func (s *OSSTriggerKey) SetPrefix(v string) *OSSTriggerKey

func (*OSSTriggerKey) SetSuffix

func (s *OSSTriggerKey) SetSuffix(v string) *OSSTriggerKey

func (OSSTriggerKey) String

func (s OSSTriggerKey) String() string

type OnDemandConfig

type OnDemandConfig struct {
	MaximumInstanceCount *int64  `json:"maximumInstanceCount,omitempty" xml:"maximumInstanceCount,omitempty"`
	Resource             *string `json:"resource,omitempty" xml:"resource,omitempty"`
}

func (OnDemandConfig) GoString

func (s OnDemandConfig) GoString() string

func (*OnDemandConfig) SetMaximumInstanceCount

func (s *OnDemandConfig) SetMaximumInstanceCount(v int64) *OnDemandConfig

func (*OnDemandConfig) SetResource

func (s *OnDemandConfig) SetResource(v string) *OnDemandConfig

func (OnDemandConfig) String

func (s OnDemandConfig) String() string

type OpenReservedCapacity

type OpenReservedCapacity struct {
	CreatedTime      *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	Cu               *int64  `json:"cu,omitempty" xml:"cu,omitempty"`
	Deadline         *string `json:"deadline,omitempty" xml:"deadline,omitempty"`
	InstanceId       *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	IsRefunded       *string `json:"isRefunded,omitempty" xml:"isRefunded,omitempty"`
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
}

func (OpenReservedCapacity) GoString

func (s OpenReservedCapacity) GoString() string

func (*OpenReservedCapacity) SetCreatedTime

func (s *OpenReservedCapacity) SetCreatedTime(v string) *OpenReservedCapacity

func (*OpenReservedCapacity) SetCu

func (*OpenReservedCapacity) SetDeadline

func (*OpenReservedCapacity) SetInstanceId

func (s *OpenReservedCapacity) SetInstanceId(v string) *OpenReservedCapacity

func (*OpenReservedCapacity) SetIsRefunded

func (s *OpenReservedCapacity) SetIsRefunded(v string) *OpenReservedCapacity

func (*OpenReservedCapacity) SetLastModifiedTime

func (s *OpenReservedCapacity) SetLastModifiedTime(v string) *OpenReservedCapacity

func (OpenReservedCapacity) String

func (s OpenReservedCapacity) String() string

type OutputCodeLocation

type OutputCodeLocation struct {
	Location       *string `json:"location,omitempty" xml:"location,omitempty"`
	RepositoryType *string `json:"repositoryType,omitempty" xml:"repositoryType,omitempty"`
}

func (OutputCodeLocation) GoString

func (s OutputCodeLocation) GoString() string

func (*OutputCodeLocation) SetLocation

func (s *OutputCodeLocation) SetLocation(v string) *OutputCodeLocation

func (*OutputCodeLocation) SetRepositoryType

func (s *OutputCodeLocation) SetRepositoryType(v string) *OutputCodeLocation

func (OutputCodeLocation) String

func (s OutputCodeLocation) String() string

type PathConfig

type PathConfig struct {
	FunctionName  *string        `json:"functionName,omitempty" xml:"functionName,omitempty"`
	Methods       []*string      `json:"methods,omitempty" xml:"methods,omitempty" type:"Repeated"`
	Path          *string        `json:"path,omitempty" xml:"path,omitempty"`
	Qualifier     *string        `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
	RewriteConfig *RewriteConfig `json:"rewriteConfig,omitempty" xml:"rewriteConfig,omitempty"`
	ServiceName   *string        `json:"serviceName,omitempty" xml:"serviceName,omitempty"`
}

func (PathConfig) GoString

func (s PathConfig) GoString() string

func (*PathConfig) SetFunctionName

func (s *PathConfig) SetFunctionName(v string) *PathConfig

func (*PathConfig) SetMethods

func (s *PathConfig) SetMethods(v []*string) *PathConfig

func (*PathConfig) SetPath

func (s *PathConfig) SetPath(v string) *PathConfig

func (*PathConfig) SetQualifier

func (s *PathConfig) SetQualifier(v string) *PathConfig

func (*PathConfig) SetRewriteConfig added in v2.0.4

func (s *PathConfig) SetRewriteConfig(v *RewriteConfig) *PathConfig

func (*PathConfig) SetServiceName

func (s *PathConfig) SetServiceName(v string) *PathConfig

func (PathConfig) String

func (s PathConfig) String() string

type PolicyItem

type PolicyItem struct {
	Key      *string `json:"key,omitempty" xml:"key,omitempty"`
	Operator *string `json:"operator,omitempty" xml:"operator,omitempty"`
	Type     *string `json:"type,omitempty" xml:"type,omitempty"`
	Value    *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (PolicyItem) GoString

func (s PolicyItem) GoString() string

func (*PolicyItem) SetKey

func (s *PolicyItem) SetKey(v string) *PolicyItem

func (*PolicyItem) SetOperator

func (s *PolicyItem) SetOperator(v string) *PolicyItem

func (*PolicyItem) SetType

func (s *PolicyItem) SetType(v string) *PolicyItem

func (*PolicyItem) SetValue

func (s *PolicyItem) SetValue(v string) *PolicyItem

func (PolicyItem) String

func (s PolicyItem) String() string

type PreFreeze

type PreFreeze struct {
	Handler *string `json:"handler,omitempty" xml:"handler,omitempty"`
	Timeout *int32  `json:"timeout,omitempty" xml:"timeout,omitempty"`
}

func (PreFreeze) GoString

func (s PreFreeze) GoString() string

func (*PreFreeze) SetHandler

func (s *PreFreeze) SetHandler(v string) *PreFreeze

func (*PreFreeze) SetTimeout

func (s *PreFreeze) SetTimeout(v int32) *PreFreeze

func (PreFreeze) String

func (s PreFreeze) String() string

type PreStop

type PreStop struct {
	Handler *string `json:"handler,omitempty" xml:"handler,omitempty"`
	Timeout *int32  `json:"timeout,omitempty" xml:"timeout,omitempty"`
}

func (PreStop) GoString

func (s PreStop) GoString() string

func (*PreStop) SetHandler

func (s *PreStop) SetHandler(v string) *PreStop

func (*PreStop) SetTimeout

func (s *PreStop) SetTimeout(v int32) *PreStop

func (PreStop) String

func (s PreStop) String() string

type PublishServiceVersionHeaders

type PublishServiceVersionHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ETag value of the service. This value is used to ensure that the modified service is consistent with the service to be modified. The ETag value is returned in the responses of the [CreateService](~~175256~~), [UpdateService](~~188167~~), and [GetService](~~189225~~) operations.
	IfMatch *string `json:"If-Match,omitempty" xml:"If-Match,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The start time when the function is invoked. Specify the time in the yyyy-mm-ddhh:mm:ss format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// 2020-12-1210:00:00
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (PublishServiceVersionHeaders) GoString

func (s PublishServiceVersionHeaders) GoString() string

func (*PublishServiceVersionHeaders) SetCommonHeaders

func (*PublishServiceVersionHeaders) SetIfMatch

func (*PublishServiceVersionHeaders) SetXFcAccountId

func (*PublishServiceVersionHeaders) SetXFcDate

func (*PublishServiceVersionHeaders) SetXFcTraceId

func (PublishServiceVersionHeaders) String

type PublishServiceVersionRequest

type PublishServiceVersionRequest struct {
	// The description of the service version.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
}

func (PublishServiceVersionRequest) GoString

func (s PublishServiceVersionRequest) GoString() string

func (*PublishServiceVersionRequest) SetDescription

func (PublishServiceVersionRequest) String

type PublishServiceVersionResponse

type PublishServiceVersionResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *PublishServiceVersionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (PublishServiceVersionResponse) GoString

func (*PublishServiceVersionResponse) SetBody

func (*PublishServiceVersionResponse) SetHeaders

func (*PublishServiceVersionResponse) SetStatusCode

func (PublishServiceVersionResponse) String

type PublishServiceVersionResponseBody

type PublishServiceVersionResponseBody struct {
	// The returned data.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The creation time.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The description of the service version.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The last update time.
	VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"`
}

func (PublishServiceVersionResponseBody) GoString

func (*PublishServiceVersionResponseBody) SetCreatedTime

func (*PublishServiceVersionResponseBody) SetDescription

func (*PublishServiceVersionResponseBody) SetLastModifiedTime

func (*PublishServiceVersionResponseBody) SetVersionId

func (PublishServiceVersionResponseBody) String

type PutFunctionAsyncInvokeConfigHeaders

type PutFunctionAsyncInvokeConfigHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The name of the service.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The creation time.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The maximum number of retries allowed after an asynchronous invocation fails. Default value: 3. Valid values: 0 to 8.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (PutFunctionAsyncInvokeConfigHeaders) GoString

func (*PutFunctionAsyncInvokeConfigHeaders) SetCommonHeaders

func (*PutFunctionAsyncInvokeConfigHeaders) SetXFcAccountId

func (*PutFunctionAsyncInvokeConfigHeaders) SetXFcDate

func (*PutFunctionAsyncInvokeConfigHeaders) SetXFcTraceId

func (PutFunctionAsyncInvokeConfigHeaders) String

type PutFunctionAsyncInvokeConfigRequest

type PutFunctionAsyncInvokeConfigRequest struct {
	// You can search for API operations, call and debug API operations online, and dynamically generate executable sample code for SDKs.
	DestinationConfig *DestinationConfig `json:"destinationConfig,omitempty" xml:"destinationConfig,omitempty"`
	// Alibaba Cloud CLI
	MaxAsyncEventAgeInSeconds *int64 `json:"maxAsyncEventAgeInSeconds,omitempty" xml:"maxAsyncEventAgeInSeconds,omitempty"`
	// The information about the asynchronous invocation configuration.
	MaxAsyncRetryAttempts *int64 `json:"maxAsyncRetryAttempts,omitempty" xml:"maxAsyncRetryAttempts,omitempty"`
	// The version or alias of the service.
	StatefulInvocation *bool `json:"statefulInvocation,omitempty" xml:"statefulInvocation,omitempty"`
	// The latest version of Function Compute API.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
}

func (PutFunctionAsyncInvokeConfigRequest) GoString

func (*PutFunctionAsyncInvokeConfigRequest) SetDestinationConfig

func (*PutFunctionAsyncInvokeConfigRequest) SetMaxAsyncEventAgeInSeconds

func (*PutFunctionAsyncInvokeConfigRequest) SetMaxAsyncRetryAttempts

func (*PutFunctionAsyncInvokeConfigRequest) SetQualifier

func (*PutFunctionAsyncInvokeConfigRequest) SetStatefulInvocation

func (PutFunctionAsyncInvokeConfigRequest) String

type PutFunctionAsyncInvokeConfigResponse

type PutFunctionAsyncInvokeConfigResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *PutFunctionAsyncInvokeConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (PutFunctionAsyncInvokeConfigResponse) GoString

func (*PutFunctionAsyncInvokeConfigResponse) SetHeaders

func (*PutFunctionAsyncInvokeConfigResponse) SetStatusCode

func (PutFunctionAsyncInvokeConfigResponse) String

type PutFunctionAsyncInvokeConfigResponseBody

type PutFunctionAsyncInvokeConfigResponseBody struct {
	// Sat, 14 Jul 2017 07:02:38 GMT
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The trace ID of the invocation request of Function Compute.
	DestinationConfig *DestinationConfig `json:"destinationConfig,omitempty" xml:"destinationConfig,omitempty"`
	// The name of the function.
	Function *string `json:"function,omitempty" xml:"function,omitempty"`
	// The configuration structure of the destination for asynchronous invocation.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// Specifies whether to enable the asynchronous task feature.
	//
	// - **true**: enables the asynchronous task feature.
	// - **false**: does not enable the asynchronous task feature.
	MaxAsyncEventAgeInSeconds *int64 `json:"maxAsyncEventAgeInSeconds,omitempty" xml:"maxAsyncEventAgeInSeconds,omitempty"`
	// The ID of your Alibaba Cloud account.
	MaxAsyncRetryAttempts *int64 `json:"maxAsyncRetryAttempts,omitempty" xml:"maxAsyncRetryAttempts,omitempty"`
	// Specifies whether to enable the asynchronous task feature.
	//
	// - **true**: enables the asynchronous task feature.
	// - **false**: does not enable the asynchronous task feature.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
	// Creates or modifies an asynchronous invocation configuration for a function.
	Service *string `json:"service,omitempty" xml:"service,omitempty"`
	// Jianyi
	StatefulInvocation *bool `json:"statefulInvocation,omitempty" xml:"statefulInvocation,omitempty"`
}

func (PutFunctionAsyncInvokeConfigResponseBody) GoString

func (*PutFunctionAsyncInvokeConfigResponseBody) SetCreatedTime

func (*PutFunctionAsyncInvokeConfigResponseBody) SetDestinationConfig

func (*PutFunctionAsyncInvokeConfigResponseBody) SetFunction

func (*PutFunctionAsyncInvokeConfigResponseBody) SetLastModifiedTime

func (*PutFunctionAsyncInvokeConfigResponseBody) SetMaxAsyncEventAgeInSeconds

func (*PutFunctionAsyncInvokeConfigResponseBody) SetMaxAsyncRetryAttempts

func (*PutFunctionAsyncInvokeConfigResponseBody) SetQualifier

func (*PutFunctionAsyncInvokeConfigResponseBody) SetService

func (*PutFunctionAsyncInvokeConfigResponseBody) SetStatefulInvocation

func (PutFunctionAsyncInvokeConfigResponseBody) String

type PutFunctionOnDemandConfigHeaders

type PutFunctionOnDemandConfigHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// If the ETag specified in the request matches the ETag value of the object, the object and 200 OK are returned. Otherwise, 412 Precondition Failed is returned.
	IfMatch *string `json:"If-Match,omitempty" xml:"If-Match,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The unique ID of the trace.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (PutFunctionOnDemandConfigHeaders) GoString

func (*PutFunctionOnDemandConfigHeaders) SetCommonHeaders

func (*PutFunctionOnDemandConfigHeaders) SetIfMatch

func (*PutFunctionOnDemandConfigHeaders) SetXFcAccountId

func (*PutFunctionOnDemandConfigHeaders) SetXFcDate

func (*PutFunctionOnDemandConfigHeaders) SetXFcTraceId

func (PutFunctionOnDemandConfigHeaders) String

type PutFunctionOnDemandConfigRequest

type PutFunctionOnDemandConfigRequest struct {
	// The maximum number of on-demand instances. For more information, see [Configure provisioned instances and auto scaling rules](~~185038~~).
	MaximumInstanceCount *int64 `json:"maximumInstanceCount,omitempty" xml:"maximumInstanceCount,omitempty"`
	// The service alias or latest version. Other versions are not supported.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
}

func (PutFunctionOnDemandConfigRequest) GoString

func (*PutFunctionOnDemandConfigRequest) SetMaximumInstanceCount

func (*PutFunctionOnDemandConfigRequest) SetQualifier

func (PutFunctionOnDemandConfigRequest) String

type PutFunctionOnDemandConfigResponse

type PutFunctionOnDemandConfigResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *PutFunctionOnDemandConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (PutFunctionOnDemandConfigResponse) GoString

func (*PutFunctionOnDemandConfigResponse) SetHeaders

func (*PutFunctionOnDemandConfigResponse) SetStatusCode

func (PutFunctionOnDemandConfigResponse) String

type PutFunctionOnDemandConfigResponseBody

type PutFunctionOnDemandConfigResponseBody struct {
	// The maximum number of instances.
	MaximumInstanceCount *int64 `json:"maximumInstanceCount,omitempty" xml:"maximumInstanceCount,omitempty"`
	// The description of the resource.
	Resource *string `json:"resource,omitempty" xml:"resource,omitempty"`
}

func (PutFunctionOnDemandConfigResponseBody) GoString

func (*PutFunctionOnDemandConfigResponseBody) SetMaximumInstanceCount

func (*PutFunctionOnDemandConfigResponseBody) SetResource

func (PutFunctionOnDemandConfigResponseBody) String

type PutLayerACLHeaders

type PutLayerACLHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the operation is called. The format is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the request for Function Compute API.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (PutLayerACLHeaders) GoString

func (s PutLayerACLHeaders) GoString() string

func (*PutLayerACLHeaders) SetCommonHeaders

func (s *PutLayerACLHeaders) SetCommonHeaders(v map[string]*string) *PutLayerACLHeaders

func (*PutLayerACLHeaders) SetXFcAccountId

func (s *PutLayerACLHeaders) SetXFcAccountId(v string) *PutLayerACLHeaders

func (*PutLayerACLHeaders) SetXFcDate

func (s *PutLayerACLHeaders) SetXFcDate(v string) *PutLayerACLHeaders

func (*PutLayerACLHeaders) SetXFcTraceId

func (s *PutLayerACLHeaders) SetXFcTraceId(v string) *PutLayerACLHeaders

func (PutLayerACLHeaders) String

func (s PutLayerACLHeaders) String() string

type PutLayerACLRequest

type PutLayerACLRequest struct {
	// Specifies whether the layer is public.
	//
	// *   **true**: Public.
	// *   **false**: Not public.
	Public *bool `json:"public,omitempty" xml:"public,omitempty"`
}

func (PutLayerACLRequest) GoString

func (s PutLayerACLRequest) GoString() string

func (*PutLayerACLRequest) SetPublic

func (s *PutLayerACLRequest) SetPublic(v bool) *PutLayerACLRequest

func (PutLayerACLRequest) String

func (s PutLayerACLRequest) String() string

type PutLayerACLResponse

type PutLayerACLResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (PutLayerACLResponse) GoString

func (s PutLayerACLResponse) GoString() string

func (*PutLayerACLResponse) SetHeaders

func (s *PutLayerACLResponse) SetHeaders(v map[string]*string) *PutLayerACLResponse

func (*PutLayerACLResponse) SetStatusCode

func (s *PutLayerACLResponse) SetStatusCode(v int32) *PutLayerACLResponse

func (PutLayerACLResponse) String

func (s PutLayerACLResponse) String() string

type PutProvisionConfigHeaders

type PutProvisionConfigHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the function is invoked. The value follows the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the invocation request of Function Compute.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (PutProvisionConfigHeaders) GoString

func (s PutProvisionConfigHeaders) GoString() string

func (*PutProvisionConfigHeaders) SetCommonHeaders

func (*PutProvisionConfigHeaders) SetXFcAccountId

func (*PutProvisionConfigHeaders) SetXFcDate

func (*PutProvisionConfigHeaders) SetXFcTraceId

func (PutProvisionConfigHeaders) String

func (s PutProvisionConfigHeaders) String() string

type PutProvisionConfigRequest

type PutProvisionConfigRequest struct {
	// Specifies whether to always allocate CPU resources. Default value: true.
	AlwaysAllocateCPU *bool `json:"alwaysAllocateCPU,omitempty" xml:"alwaysAllocateCPU,omitempty"`
	// The configurations of scheduled auto scaling.
	ScheduledActions []*ScheduledActions `json:"scheduledActions,omitempty" xml:"scheduledActions,omitempty" type:"Repeated"`
	// The number of target provisioned instances. Valid values: \[0,10000].
	Target *int64 `json:"target,omitempty" xml:"target,omitempty"`
	// The configurations of metric-based auto scaling.
	TargetTrackingPolicies []*TargetTrackingPolicies `json:"targetTrackingPolicies,omitempty" xml:"targetTrackingPolicies,omitempty" type:"Repeated"`
	// The service alias or latest version. Other versions are not supported.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
}

func (PutProvisionConfigRequest) GoString

func (s PutProvisionConfigRequest) GoString() string

func (*PutProvisionConfigRequest) SetAlwaysAllocateCPU

func (s *PutProvisionConfigRequest) SetAlwaysAllocateCPU(v bool) *PutProvisionConfigRequest

func (*PutProvisionConfigRequest) SetQualifier

func (*PutProvisionConfigRequest) SetScheduledActions

func (*PutProvisionConfigRequest) SetTarget

func (*PutProvisionConfigRequest) SetTargetTrackingPolicies

func (PutProvisionConfigRequest) String

func (s PutProvisionConfigRequest) String() string

type PutProvisionConfigResponse

type PutProvisionConfigResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *PutProvisionConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (PutProvisionConfigResponse) GoString

func (s PutProvisionConfigResponse) GoString() string

func (*PutProvisionConfigResponse) SetBody

func (*PutProvisionConfigResponse) SetHeaders

func (*PutProvisionConfigResponse) SetStatusCode

func (PutProvisionConfigResponse) String

type PutProvisionConfigResponseBody

type PutProvisionConfigResponseBody struct {
	// Specifies whether to always allocate CPU to a function instance.
	AlwaysAllocateCPU *bool `json:"alwaysAllocateCPU,omitempty" xml:"alwaysAllocateCPU,omitempty"`
	// The actual number of provisioned instances.
	Current *int64 `json:"current,omitempty" xml:"current,omitempty"`
	// The description of the resource.
	Resource *string `json:"resource,omitempty" xml:"resource,omitempty"`
	// The configurations of scheduled auto scaling.
	ScheduledActions []*ScheduledActions `json:"scheduledActions,omitempty" xml:"scheduledActions,omitempty" type:"Repeated"`
	// The number of target provisioned instances.
	Target *int64 `json:"target,omitempty" xml:"target,omitempty"`
	// The configurations of metric-based auto scaling.
	TargetTrackingPolicies []*TargetTrackingPolicies `json:"targetTrackingPolicies,omitempty" xml:"targetTrackingPolicies,omitempty" type:"Repeated"`
}

func (PutProvisionConfigResponseBody) GoString

func (*PutProvisionConfigResponseBody) SetAlwaysAllocateCPU

func (*PutProvisionConfigResponseBody) SetCurrent

func (*PutProvisionConfigResponseBody) SetResource

func (*PutProvisionConfigResponseBody) SetScheduledActions

func (*PutProvisionConfigResponseBody) SetTarget

func (*PutProvisionConfigResponseBody) SetTargetTrackingPolicies

func (PutProvisionConfigResponseBody) String

type RdsTriggerConfig

type RdsTriggerConfig struct {
	Concurrency         *int64    `json:"concurrency,omitempty" xml:"concurrency,omitempty"`
	EventFormat         *string   `json:"eventFormat,omitempty" xml:"eventFormat,omitempty"`
	Retry               *int64    `json:"retry,omitempty" xml:"retry,omitempty"`
	SubscriptionObjects []*string `json:"subscriptionObjects,omitempty" xml:"subscriptionObjects,omitempty" type:"Repeated"`
}

func (RdsTriggerConfig) GoString

func (s RdsTriggerConfig) GoString() string

func (*RdsTriggerConfig) SetConcurrency

func (s *RdsTriggerConfig) SetConcurrency(v int64) *RdsTriggerConfig

func (*RdsTriggerConfig) SetEventFormat

func (s *RdsTriggerConfig) SetEventFormat(v string) *RdsTriggerConfig

func (*RdsTriggerConfig) SetRetry

func (s *RdsTriggerConfig) SetRetry(v int64) *RdsTriggerConfig

func (*RdsTriggerConfig) SetSubscriptionObjects

func (s *RdsTriggerConfig) SetSubscriptionObjects(v []*string) *RdsTriggerConfig

func (RdsTriggerConfig) String

func (s RdsTriggerConfig) String() string

type RegisterEventSourceHeaders

type RegisterEventSourceHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when Function Compute API is called. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the invocation request of Function Compute.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (RegisterEventSourceHeaders) GoString

func (s RegisterEventSourceHeaders) GoString() string

func (*RegisterEventSourceHeaders) SetCommonHeaders

func (*RegisterEventSourceHeaders) SetXFcAccountId

func (*RegisterEventSourceHeaders) SetXFcDate

func (*RegisterEventSourceHeaders) SetXFcTraceId

func (RegisterEventSourceHeaders) String

type RegisterEventSourceRequest

type RegisterEventSourceRequest struct {
	// The Alibaba Cloud Resource Name (ARN) of the event source.
	SourceArn *string `json:"sourceArn,omitempty" xml:"sourceArn,omitempty"`
	// The version or alias of the service.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
}

func (RegisterEventSourceRequest) GoString

func (s RegisterEventSourceRequest) GoString() string

func (*RegisterEventSourceRequest) SetQualifier

func (*RegisterEventSourceRequest) SetSourceArn

func (RegisterEventSourceRequest) String

type RegisterEventSourceResponse

type RegisterEventSourceResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *RegisterEventSourceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (RegisterEventSourceResponse) GoString

func (s RegisterEventSourceResponse) GoString() string

func (*RegisterEventSourceResponse) SetBody

func (*RegisterEventSourceResponse) SetHeaders

func (*RegisterEventSourceResponse) SetStatusCode

func (RegisterEventSourceResponse) String

type RegisterEventSourceResponseBody

type RegisterEventSourceResponseBody struct {
	// The time when the event source was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The ARN of the event source.
	SourceArn *string `json:"sourceArn,omitempty" xml:"sourceArn,omitempty"`
}

func (RegisterEventSourceResponseBody) GoString

func (*RegisterEventSourceResponseBody) SetCreatedTime

func (*RegisterEventSourceResponseBody) SetSourceArn

func (RegisterEventSourceResponseBody) String

type ReleaseGPUInstanceHeaders

type ReleaseGPUInstanceHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the function is invoked. The format of the value is: EEE,d MMM yyyy HH:mm:ss GMT.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (ReleaseGPUInstanceHeaders) GoString

func (s ReleaseGPUInstanceHeaders) GoString() string

func (*ReleaseGPUInstanceHeaders) SetCommonHeaders

func (*ReleaseGPUInstanceHeaders) SetXFcAccountId

func (*ReleaseGPUInstanceHeaders) SetXFcDate

func (*ReleaseGPUInstanceHeaders) SetXFcTraceId

func (ReleaseGPUInstanceHeaders) String

func (s ReleaseGPUInstanceHeaders) String() string

type ReleaseGPUInstanceResponse

type ReleaseGPUInstanceResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (ReleaseGPUInstanceResponse) GoString

func (s ReleaseGPUInstanceResponse) GoString() string

func (*ReleaseGPUInstanceResponse) SetHeaders

func (*ReleaseGPUInstanceResponse) SetStatusCode

func (ReleaseGPUInstanceResponse) String

type Resource

type Resource struct {
	ResourceArn *string            `json:"resourceArn,omitempty" xml:"resourceArn,omitempty"`
	Tags        map[string]*string `json:"tags,omitempty" xml:"tags,omitempty"`
}

func (Resource) GoString

func (s Resource) GoString() string

func (*Resource) SetResourceArn

func (s *Resource) SetResourceArn(v string) *Resource

func (*Resource) SetTags

func (s *Resource) SetTags(v map[string]*string) *Resource

func (Resource) String

func (s Resource) String() string

type RetryStrategy added in v2.0.7

type RetryStrategy struct {
	MaximumEventAgeInSeconds *int64  `json:"MaximumEventAgeInSeconds,omitempty" xml:"MaximumEventAgeInSeconds,omitempty"`
	MaximumRetryAttempts     *int64  `json:"MaximumRetryAttempts,omitempty" xml:"MaximumRetryAttempts,omitempty"`
	PushRetryStrategy        *string `json:"PushRetryStrategy,omitempty" xml:"PushRetryStrategy,omitempty"`
}

func (RetryStrategy) GoString added in v2.0.7

func (s RetryStrategy) GoString() string

func (*RetryStrategy) SetMaximumEventAgeInSeconds added in v2.0.7

func (s *RetryStrategy) SetMaximumEventAgeInSeconds(v int64) *RetryStrategy

func (*RetryStrategy) SetMaximumRetryAttempts added in v2.0.7

func (s *RetryStrategy) SetMaximumRetryAttempts(v int64) *RetryStrategy

func (*RetryStrategy) SetPushRetryStrategy added in v2.0.7

func (s *RetryStrategy) SetPushRetryStrategy(v string) *RetryStrategy

func (RetryStrategy) String added in v2.0.7

func (s RetryStrategy) String() string

type RewriteConfig added in v2.0.4

type RewriteConfig struct {
	EqualRules    []*RewriteConfigEqualRules    `json:"equalRules,omitempty" xml:"equalRules,omitempty" type:"Repeated"`
	RegexRules    []*RewriteConfigRegexRules    `json:"regexRules,omitempty" xml:"regexRules,omitempty" type:"Repeated"`
	WildcardRules []*RewriteConfigWildcardRules `json:"wildcardRules,omitempty" xml:"wildcardRules,omitempty" type:"Repeated"`
}

func (RewriteConfig) GoString added in v2.0.4

func (s RewriteConfig) GoString() string

func (*RewriteConfig) SetEqualRules added in v2.0.4

func (s *RewriteConfig) SetEqualRules(v []*RewriteConfigEqualRules) *RewriteConfig

func (*RewriteConfig) SetRegexRules added in v2.0.4

func (s *RewriteConfig) SetRegexRules(v []*RewriteConfigRegexRules) *RewriteConfig

func (*RewriteConfig) SetWildcardRules added in v2.0.4

func (s *RewriteConfig) SetWildcardRules(v []*RewriteConfigWildcardRules) *RewriteConfig

func (RewriteConfig) String added in v2.0.4

func (s RewriteConfig) String() string

type RewriteConfigEqualRules added in v2.0.4

type RewriteConfigEqualRules struct {
	Match       *string `json:"match,omitempty" xml:"match,omitempty"`
	Replacement *string `json:"replacement,omitempty" xml:"replacement,omitempty"`
}

func (RewriteConfigEqualRules) GoString added in v2.0.4

func (s RewriteConfigEqualRules) GoString() string

func (*RewriteConfigEqualRules) SetMatch added in v2.0.4

func (*RewriteConfigEqualRules) SetReplacement added in v2.0.4

func (RewriteConfigEqualRules) String added in v2.0.4

func (s RewriteConfigEqualRules) String() string

type RewriteConfigRegexRules added in v2.0.4

type RewriteConfigRegexRules struct {
	Match       *string `json:"match,omitempty" xml:"match,omitempty"`
	Replacement *string `json:"replacement,omitempty" xml:"replacement,omitempty"`
}

func (RewriteConfigRegexRules) GoString added in v2.0.4

func (s RewriteConfigRegexRules) GoString() string

func (*RewriteConfigRegexRules) SetMatch added in v2.0.4

func (*RewriteConfigRegexRules) SetReplacement added in v2.0.4

func (RewriteConfigRegexRules) String added in v2.0.4

func (s RewriteConfigRegexRules) String() string

type RewriteConfigWildcardRules added in v2.0.4

type RewriteConfigWildcardRules struct {
	Match       *string `json:"match,omitempty" xml:"match,omitempty"`
	Replacement *string `json:"replacement,omitempty" xml:"replacement,omitempty"`
}

func (RewriteConfigWildcardRules) GoString added in v2.0.4

func (s RewriteConfigWildcardRules) GoString() string

func (*RewriteConfigWildcardRules) SetMatch added in v2.0.4

func (*RewriteConfigWildcardRules) SetReplacement added in v2.0.4

func (RewriteConfigWildcardRules) String added in v2.0.4

type RouteConfig

type RouteConfig struct {
	Routes []*PathConfig `json:"routes,omitempty" xml:"routes,omitempty" type:"Repeated"`
}

func (RouteConfig) GoString

func (s RouteConfig) GoString() string

func (*RouteConfig) SetRoutes

func (s *RouteConfig) SetRoutes(v []*PathConfig) *RouteConfig

func (RouteConfig) String

func (s RouteConfig) String() string

type RoutePolicy

type RoutePolicy struct {
	Condition   *string       `json:"condition,omitempty" xml:"condition,omitempty"`
	PolicyItems []*PolicyItem `json:"policyItems,omitempty" xml:"policyItems,omitempty" type:"Repeated"`
}

func (RoutePolicy) GoString

func (s RoutePolicy) GoString() string

func (*RoutePolicy) SetCondition

func (s *RoutePolicy) SetCondition(v string) *RoutePolicy

func (*RoutePolicy) SetPolicyItems

func (s *RoutePolicy) SetPolicyItems(v []*PolicyItem) *RoutePolicy

func (RoutePolicy) String

func (s RoutePolicy) String() string

type RunOptions added in v2.0.7

type RunOptions struct {
	BatchWindow     *BatchWindow     `json:"batchWindow,omitempty" xml:"batchWindow,omitempty"`
	DeadLetterQueue *DeadLetterQueue `json:"deadLetterQueue,omitempty" xml:"deadLetterQueue,omitempty"`
	ErrorsTolerance *string          `json:"errorsTolerance,omitempty" xml:"errorsTolerance,omitempty"`
	MaximumTasks    *int64           `json:"maximumTasks,omitempty" xml:"maximumTasks,omitempty"`
	Mode            *string          `json:"mode,omitempty" xml:"mode,omitempty"`
	RetryStrategy   *RetryStrategy   `json:"retryStrategy,omitempty" xml:"retryStrategy,omitempty"`
}

func (RunOptions) GoString added in v2.0.7

func (s RunOptions) GoString() string

func (*RunOptions) SetBatchWindow added in v2.0.7

func (s *RunOptions) SetBatchWindow(v *BatchWindow) *RunOptions

func (*RunOptions) SetDeadLetterQueue added in v2.0.7

func (s *RunOptions) SetDeadLetterQueue(v *DeadLetterQueue) *RunOptions

func (*RunOptions) SetErrorsTolerance added in v2.0.7

func (s *RunOptions) SetErrorsTolerance(v string) *RunOptions

func (*RunOptions) SetMaximumTasks added in v2.0.7

func (s *RunOptions) SetMaximumTasks(v int64) *RunOptions

func (*RunOptions) SetMode added in v2.0.7

func (s *RunOptions) SetMode(v string) *RunOptions

func (*RunOptions) SetRetryStrategy added in v2.0.7

func (s *RunOptions) SetRetryStrategy(v *RetryStrategy) *RunOptions

func (RunOptions) String added in v2.0.7

func (s RunOptions) String() string

type ScheduledActions

type ScheduledActions struct {
	EndTime            *string `json:"endTime,omitempty" xml:"endTime,omitempty"`
	Name               *string `json:"name,omitempty" xml:"name,omitempty"`
	ScheduleExpression *string `json:"scheduleExpression,omitempty" xml:"scheduleExpression,omitempty"`
	StartTime          *string `json:"startTime,omitempty" xml:"startTime,omitempty"`
	Target             *int64  `json:"target,omitempty" xml:"target,omitempty"`
}

func (ScheduledActions) GoString

func (s ScheduledActions) GoString() string

func (*ScheduledActions) SetEndTime

func (s *ScheduledActions) SetEndTime(v string) *ScheduledActions

func (*ScheduledActions) SetName

func (s *ScheduledActions) SetName(v string) *ScheduledActions

func (*ScheduledActions) SetScheduleExpression

func (s *ScheduledActions) SetScheduleExpression(v string) *ScheduledActions

func (*ScheduledActions) SetStartTime

func (s *ScheduledActions) SetStartTime(v string) *ScheduledActions

func (*ScheduledActions) SetTarget

func (s *ScheduledActions) SetTarget(v int64) *ScheduledActions

func (ScheduledActions) String

func (s ScheduledActions) String() string

type SourceConfig

type SourceConfig struct {
	Logstore *string `json:"logstore,omitempty" xml:"logstore,omitempty"`
}

func (SourceConfig) GoString

func (s SourceConfig) GoString() string

func (*SourceConfig) SetLogstore

func (s *SourceConfig) SetLogstore(v string) *SourceConfig

func (SourceConfig) String

func (s SourceConfig) String() string

type SourceDTSParameters added in v2.0.10

type SourceDTSParameters struct {
	BrokerUrl      *string `json:"BrokerUrl,omitempty" xml:"BrokerUrl,omitempty"`
	InitCheckPoint *int64  `json:"InitCheckPoint,omitempty" xml:"InitCheckPoint,omitempty"`
	Password       *string `json:"Password,omitempty" xml:"Password,omitempty"`
	RegionId       *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	Sid            *string `json:"Sid,omitempty" xml:"Sid,omitempty"`
	TaskId         *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	Topic          *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
	Username       *string `json:"Username,omitempty" xml:"Username,omitempty"`
}

func (SourceDTSParameters) GoString added in v2.0.10

func (s SourceDTSParameters) GoString() string

func (*SourceDTSParameters) SetBrokerUrl added in v2.0.10

func (s *SourceDTSParameters) SetBrokerUrl(v string) *SourceDTSParameters

func (*SourceDTSParameters) SetInitCheckPoint added in v2.0.10

func (s *SourceDTSParameters) SetInitCheckPoint(v int64) *SourceDTSParameters

func (*SourceDTSParameters) SetPassword added in v2.0.10

func (s *SourceDTSParameters) SetPassword(v string) *SourceDTSParameters

func (*SourceDTSParameters) SetRegionId added in v2.0.10

func (s *SourceDTSParameters) SetRegionId(v string) *SourceDTSParameters

func (*SourceDTSParameters) SetSid added in v2.0.10

func (*SourceDTSParameters) SetTaskId added in v2.0.10

func (*SourceDTSParameters) SetTopic added in v2.0.10

func (*SourceDTSParameters) SetUsername added in v2.0.10

func (s *SourceDTSParameters) SetUsername(v string) *SourceDTSParameters

func (SourceDTSParameters) String added in v2.0.10

func (s SourceDTSParameters) String() string

type SourceKafkaParameters added in v2.0.7

type SourceKafkaParameters struct {
	ConsumerGroup   *string `json:"ConsumerGroup,omitempty" xml:"ConsumerGroup,omitempty"`
	InstanceId      *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	Network         *string `json:"Network,omitempty" xml:"Network,omitempty"`
	OffsetReset     *string `json:"OffsetReset,omitempty" xml:"OffsetReset,omitempty"`
	RegionId        *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" xml:"SecurityGroupId,omitempty"`
	Topic           *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
	VSwitchIds      *string `json:"VSwitchIds,omitempty" xml:"VSwitchIds,omitempty"`
	VpcId           *string `json:"VpcId,omitempty" xml:"VpcId,omitempty"`
}

func (SourceKafkaParameters) GoString added in v2.0.7

func (s SourceKafkaParameters) GoString() string

func (*SourceKafkaParameters) SetConsumerGroup added in v2.0.7

func (s *SourceKafkaParameters) SetConsumerGroup(v string) *SourceKafkaParameters

func (*SourceKafkaParameters) SetInstanceId added in v2.0.7

func (s *SourceKafkaParameters) SetInstanceId(v string) *SourceKafkaParameters

func (*SourceKafkaParameters) SetNetwork added in v2.0.7

func (*SourceKafkaParameters) SetOffsetReset added in v2.0.7

func (s *SourceKafkaParameters) SetOffsetReset(v string) *SourceKafkaParameters

func (*SourceKafkaParameters) SetRegionId added in v2.0.7

func (*SourceKafkaParameters) SetSecurityGroupId added in v2.0.7

func (s *SourceKafkaParameters) SetSecurityGroupId(v string) *SourceKafkaParameters

func (*SourceKafkaParameters) SetTopic added in v2.0.7

func (*SourceKafkaParameters) SetVSwitchIds added in v2.0.7

func (s *SourceKafkaParameters) SetVSwitchIds(v string) *SourceKafkaParameters

func (*SourceKafkaParameters) SetVpcId added in v2.0.7

func (SourceKafkaParameters) String added in v2.0.7

func (s SourceKafkaParameters) String() string

type SourceMNSParameters

type SourceMNSParameters struct {
	IsBase64Decode *bool   `json:"IsBase64Decode,omitempty" xml:"IsBase64Decode,omitempty"`
	QueueName      *string `json:"QueueName,omitempty" xml:"QueueName,omitempty"`
	RegionId       *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (SourceMNSParameters) GoString

func (s SourceMNSParameters) GoString() string

func (*SourceMNSParameters) SetIsBase64Decode

func (s *SourceMNSParameters) SetIsBase64Decode(v bool) *SourceMNSParameters

func (*SourceMNSParameters) SetQueueName

func (s *SourceMNSParameters) SetQueueName(v string) *SourceMNSParameters

func (*SourceMNSParameters) SetRegionId

func (s *SourceMNSParameters) SetRegionId(v string) *SourceMNSParameters

func (SourceMNSParameters) String

func (s SourceMNSParameters) String() string

type SourceMQTTParameters added in v2.0.10

type SourceMQTTParameters struct {
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	RegionId   *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	Topic      *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (SourceMQTTParameters) GoString added in v2.0.10

func (s SourceMQTTParameters) GoString() string

func (*SourceMQTTParameters) SetInstanceId added in v2.0.10

func (s *SourceMQTTParameters) SetInstanceId(v string) *SourceMQTTParameters

func (*SourceMQTTParameters) SetRegionId added in v2.0.10

func (*SourceMQTTParameters) SetTopic added in v2.0.10

func (SourceMQTTParameters) String added in v2.0.10

func (s SourceMQTTParameters) String() string

type SourceRabbitMQParameters

type SourceRabbitMQParameters struct {
	InstanceId      *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	QueueName       *string `json:"QueueName,omitempty" xml:"QueueName,omitempty"`
	RegionId        *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	VirtualHostName *string `json:"VirtualHostName,omitempty" xml:"VirtualHostName,omitempty"`
}

func (SourceRabbitMQParameters) GoString

func (s SourceRabbitMQParameters) GoString() string

func (*SourceRabbitMQParameters) SetInstanceId

func (*SourceRabbitMQParameters) SetQueueName

func (*SourceRabbitMQParameters) SetRegionId

func (*SourceRabbitMQParameters) SetVirtualHostName

func (s *SourceRabbitMQParameters) SetVirtualHostName(v string) *SourceRabbitMQParameters

func (SourceRabbitMQParameters) String

func (s SourceRabbitMQParameters) String() string

type SourceRocketMQParameters

type SourceRocketMQParameters struct {
	AuthType                *string `json:"AuthType,omitempty" xml:"AuthType,omitempty"`
	FilterSql               *string `json:"FilterSql,omitempty" xml:"FilterSql,omitempty"`
	FilterType              *string `json:"FilterType,omitempty" xml:"FilterType,omitempty"`
	GroupID                 *string `json:"GroupID,omitempty" xml:"GroupID,omitempty"`
	InstanceEndpoint        *string `json:"InstanceEndpoint,omitempty" xml:"InstanceEndpoint,omitempty"`
	InstanceId              *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	InstanceNetwork         *string `json:"InstanceNetwork,omitempty" xml:"InstanceNetwork,omitempty"`
	InstancePassword        *string `json:"InstancePassword,omitempty" xml:"InstancePassword,omitempty"`
	InstanceSecurityGroupId *string `json:"InstanceSecurityGroupId,omitempty" xml:"InstanceSecurityGroupId,omitempty"`
	InstanceType            *string `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	InstanceUsername        *string `json:"InstanceUsername,omitempty" xml:"InstanceUsername,omitempty"`
	InstanceVSwitchIds      *string `json:"InstanceVSwitchIds,omitempty" xml:"InstanceVSwitchIds,omitempty"`
	InstanceVpcId           *string `json:"InstanceVpcId,omitempty" xml:"InstanceVpcId,omitempty"`
	Offset                  *string `json:"Offset,omitempty" xml:"Offset,omitempty"`
	RegionId                *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	Tag                     *string `json:"Tag,omitempty" xml:"Tag,omitempty"`
	Timestamp               *int64  `json:"Timestamp,omitempty" xml:"Timestamp,omitempty"`
	Topic                   *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (SourceRocketMQParameters) GoString

func (s SourceRocketMQParameters) GoString() string

func (*SourceRocketMQParameters) SetAuthType added in v2.0.10

func (*SourceRocketMQParameters) SetFilterSql added in v2.0.10

func (*SourceRocketMQParameters) SetFilterType added in v2.0.10

func (*SourceRocketMQParameters) SetGroupID

func (*SourceRocketMQParameters) SetInstanceEndpoint added in v2.0.10

func (s *SourceRocketMQParameters) SetInstanceEndpoint(v string) *SourceRocketMQParameters

func (*SourceRocketMQParameters) SetInstanceId

func (*SourceRocketMQParameters) SetInstanceNetwork added in v2.0.10

func (s *SourceRocketMQParameters) SetInstanceNetwork(v string) *SourceRocketMQParameters

func (*SourceRocketMQParameters) SetInstancePassword added in v2.0.10

func (s *SourceRocketMQParameters) SetInstancePassword(v string) *SourceRocketMQParameters

func (*SourceRocketMQParameters) SetInstanceSecurityGroupId added in v2.0.10

func (s *SourceRocketMQParameters) SetInstanceSecurityGroupId(v string) *SourceRocketMQParameters

func (*SourceRocketMQParameters) SetInstanceType added in v2.0.10

func (*SourceRocketMQParameters) SetInstanceUsername added in v2.0.10

func (s *SourceRocketMQParameters) SetInstanceUsername(v string) *SourceRocketMQParameters

func (*SourceRocketMQParameters) SetInstanceVSwitchIds added in v2.0.10

func (s *SourceRocketMQParameters) SetInstanceVSwitchIds(v string) *SourceRocketMQParameters

func (*SourceRocketMQParameters) SetInstanceVpcId added in v2.0.10

func (*SourceRocketMQParameters) SetOffset

func (*SourceRocketMQParameters) SetRegionId

func (*SourceRocketMQParameters) SetTag

func (*SourceRocketMQParameters) SetTimestamp

func (*SourceRocketMQParameters) SetTopic

func (SourceRocketMQParameters) String

func (s SourceRocketMQParameters) String() string

type StatefulAsyncInvocation

type StatefulAsyncInvocation struct {
	AlreadyRetriedTimes    *int64                          `json:"alreadyRetriedTimes,omitempty" xml:"alreadyRetriedTimes,omitempty"`
	DestinationStatus      *string                         `json:"destinationStatus,omitempty" xml:"destinationStatus,omitempty"`
	DurationMs             *int64                          `json:"durationMs,omitempty" xml:"durationMs,omitempty"`
	EndTime                *int64                          `json:"endTime,omitempty" xml:"endTime,omitempty"`
	Events                 []*StatefulAsyncInvocationEvent `json:"events,omitempty" xml:"events,omitempty" type:"Repeated"`
	FunctionName           *string                         `json:"functionName,omitempty" xml:"functionName,omitempty"`
	InstanceId             *string                         `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	InvocationErrorMessage *string                         `json:"invocationErrorMessage,omitempty" xml:"invocationErrorMessage,omitempty"`
	InvocationId           *string                         `json:"invocationId,omitempty" xml:"invocationId,omitempty"`
	InvocationPayload      *string                         `json:"invocationPayload,omitempty" xml:"invocationPayload,omitempty"`
	Qualifier              *string                         `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
	RequestId              *string                         `json:"requestId,omitempty" xml:"requestId,omitempty"`
	ReturnPayload          *string                         `json:"returnPayload,omitempty" xml:"returnPayload,omitempty"`
	ServiceName            *string                         `json:"serviceName,omitempty" xml:"serviceName,omitempty"`
	StartedTime            *int64                          `json:"startedTime,omitempty" xml:"startedTime,omitempty"`
	Status                 *string                         `json:"status,omitempty" xml:"status,omitempty"`
}

func (StatefulAsyncInvocation) GoString

func (s StatefulAsyncInvocation) GoString() string

func (*StatefulAsyncInvocation) SetAlreadyRetriedTimes

func (s *StatefulAsyncInvocation) SetAlreadyRetriedTimes(v int64) *StatefulAsyncInvocation

func (*StatefulAsyncInvocation) SetDestinationStatus

func (s *StatefulAsyncInvocation) SetDestinationStatus(v string) *StatefulAsyncInvocation

func (*StatefulAsyncInvocation) SetDurationMs added in v2.0.12

func (*StatefulAsyncInvocation) SetEndTime

func (*StatefulAsyncInvocation) SetEvents

func (*StatefulAsyncInvocation) SetFunctionName

func (*StatefulAsyncInvocation) SetInstanceId

func (*StatefulAsyncInvocation) SetInvocationErrorMessage

func (s *StatefulAsyncInvocation) SetInvocationErrorMessage(v string) *StatefulAsyncInvocation

func (*StatefulAsyncInvocation) SetInvocationId

func (*StatefulAsyncInvocation) SetInvocationPayload

func (s *StatefulAsyncInvocation) SetInvocationPayload(v string) *StatefulAsyncInvocation

func (*StatefulAsyncInvocation) SetQualifier

func (*StatefulAsyncInvocation) SetRequestId

func (*StatefulAsyncInvocation) SetReturnPayload added in v2.0.12

func (s *StatefulAsyncInvocation) SetReturnPayload(v string) *StatefulAsyncInvocation

func (*StatefulAsyncInvocation) SetServiceName

func (*StatefulAsyncInvocation) SetStartedTime

func (*StatefulAsyncInvocation) SetStatus

func (StatefulAsyncInvocation) String

func (s StatefulAsyncInvocation) String() string

type StatefulAsyncInvocationEvent

type StatefulAsyncInvocationEvent struct {
	EventDetail *string `json:"eventDetail,omitempty" xml:"eventDetail,omitempty"`
	EventId     *int64  `json:"eventId,omitempty" xml:"eventId,omitempty"`
	Status      *string `json:"status,omitempty" xml:"status,omitempty"`
	Timestamp   *int64  `json:"timestamp,omitempty" xml:"timestamp,omitempty"`
}

func (StatefulAsyncInvocationEvent) GoString

func (s StatefulAsyncInvocationEvent) GoString() string

func (*StatefulAsyncInvocationEvent) SetEventDetail

func (*StatefulAsyncInvocationEvent) SetEventId

func (*StatefulAsyncInvocationEvent) SetStatus

func (*StatefulAsyncInvocationEvent) SetTimestamp

func (StatefulAsyncInvocationEvent) String

type StopStatefulAsyncInvocationHeaders

type StopStatefulAsyncInvocationHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when Function Compute API is called. Specify the time in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the invocation request of Function Compute.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (StopStatefulAsyncInvocationHeaders) GoString

func (*StopStatefulAsyncInvocationHeaders) SetCommonHeaders

func (*StopStatefulAsyncInvocationHeaders) SetXFcAccountId

func (*StopStatefulAsyncInvocationHeaders) SetXFcDate

func (*StopStatefulAsyncInvocationHeaders) SetXFcTraceId

func (StopStatefulAsyncInvocationHeaders) String

type StopStatefulAsyncInvocationRequest

type StopStatefulAsyncInvocationRequest struct {
	// The version or alias of the service to which the asynchronous task belongs.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
}

func (StopStatefulAsyncInvocationRequest) GoString

func (*StopStatefulAsyncInvocationRequest) SetQualifier

func (StopStatefulAsyncInvocationRequest) String

type StopStatefulAsyncInvocationResponse

type StopStatefulAsyncInvocationResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (StopStatefulAsyncInvocationResponse) GoString

func (*StopStatefulAsyncInvocationResponse) SetHeaders

func (*StopStatefulAsyncInvocationResponse) SetStatusCode

func (StopStatefulAsyncInvocationResponse) String

type TLSConfig

type TLSConfig struct {
	CipherSuites []*string `json:"cipherSuites,omitempty" xml:"cipherSuites,omitempty" type:"Repeated"`
	MaxVersion   *string   `json:"maxVersion,omitempty" xml:"maxVersion,omitempty"`
	MinVersion   *string   `json:"minVersion,omitempty" xml:"minVersion,omitempty"`
}

func (TLSConfig) GoString

func (s TLSConfig) GoString() string

func (*TLSConfig) SetCipherSuites

func (s *TLSConfig) SetCipherSuites(v []*string) *TLSConfig

func (*TLSConfig) SetMaxVersion

func (s *TLSConfig) SetMaxVersion(v string) *TLSConfig

func (*TLSConfig) SetMinVersion

func (s *TLSConfig) SetMinVersion(v string) *TLSConfig

func (TLSConfig) String

func (s TLSConfig) String() string

type TagResourceHeaders

type TagResourceHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the function is invoked. The format is **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (TagResourceHeaders) GoString

func (s TagResourceHeaders) GoString() string

func (*TagResourceHeaders) SetCommonHeaders

func (s *TagResourceHeaders) SetCommonHeaders(v map[string]*string) *TagResourceHeaders

func (*TagResourceHeaders) SetXFcAccountId

func (s *TagResourceHeaders) SetXFcAccountId(v string) *TagResourceHeaders

func (*TagResourceHeaders) SetXFcDate

func (s *TagResourceHeaders) SetXFcDate(v string) *TagResourceHeaders

func (*TagResourceHeaders) SetXFcTraceId

func (s *TagResourceHeaders) SetXFcTraceId(v string) *TagResourceHeaders

func (TagResourceHeaders) String

func (s TagResourceHeaders) String() string

type TagResourceRequest

type TagResourceRequest struct {
	// The ARN of the resource.
	//
	// > You can use the value of this parameter to query the information about the resource, such as the account, service, and region information of the resource. You can manage tags only for services for top level resources.
	ResourceArn *string `json:"resourceArn,omitempty" xml:"resourceArn,omitempty"`
	// The tag dictionary.
	Tags map[string]*string `json:"tags,omitempty" xml:"tags,omitempty"`
}

func (TagResourceRequest) GoString

func (s TagResourceRequest) GoString() string

func (*TagResourceRequest) SetResourceArn

func (s *TagResourceRequest) SetResourceArn(v string) *TagResourceRequest

func (*TagResourceRequest) SetTags

func (s *TagResourceRequest) SetTags(v map[string]*string) *TagResourceRequest

func (TagResourceRequest) String

func (s TagResourceRequest) String() string

type TagResourceResponse

type TagResourceResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (TagResourceResponse) GoString

func (s TagResourceResponse) GoString() string

func (*TagResourceResponse) SetHeaders

func (s *TagResourceResponse) SetHeaders(v map[string]*string) *TagResourceResponse

func (*TagResourceResponse) SetStatusCode

func (s *TagResourceResponse) SetStatusCode(v int32) *TagResourceResponse

func (TagResourceResponse) String

func (s TagResourceResponse) String() string

type TargetTrackingPolicies

type TargetTrackingPolicies struct {
	EndTime      *string  `json:"endTime,omitempty" xml:"endTime,omitempty"`
	MaxCapacity  *int64   `json:"maxCapacity,omitempty" xml:"maxCapacity,omitempty"`
	MetricTarget *float64 `json:"metricTarget,omitempty" xml:"metricTarget,omitempty"`
	MetricType   *string  `json:"metricType,omitempty" xml:"metricType,omitempty"`
	MinCapacity  *int64   `json:"minCapacity,omitempty" xml:"minCapacity,omitempty"`
	Name         *string  `json:"name,omitempty" xml:"name,omitempty"`
	StartTime    *string  `json:"startTime,omitempty" xml:"startTime,omitempty"`
}

func (TargetTrackingPolicies) GoString

func (s TargetTrackingPolicies) GoString() string

func (*TargetTrackingPolicies) SetEndTime

func (*TargetTrackingPolicies) SetMaxCapacity

func (s *TargetTrackingPolicies) SetMaxCapacity(v int64) *TargetTrackingPolicies

func (*TargetTrackingPolicies) SetMetricTarget

func (s *TargetTrackingPolicies) SetMetricTarget(v float64) *TargetTrackingPolicies

func (*TargetTrackingPolicies) SetMetricType

func (*TargetTrackingPolicies) SetMinCapacity

func (s *TargetTrackingPolicies) SetMinCapacity(v int64) *TargetTrackingPolicies

func (*TargetTrackingPolicies) SetName

func (*TargetTrackingPolicies) SetStartTime

func (TargetTrackingPolicies) String

func (s TargetTrackingPolicies) String() string

type TimeTriggerConfig

type TimeTriggerConfig struct {
	CronExpression *string `json:"cronExpression,omitempty" xml:"cronExpression,omitempty"`
	Enable         *bool   `json:"enable,omitempty" xml:"enable,omitempty"`
	Payload        *string `json:"payload,omitempty" xml:"payload,omitempty"`
}

func (TimeTriggerConfig) GoString

func (s TimeTriggerConfig) GoString() string

func (*TimeTriggerConfig) SetCronExpression

func (s *TimeTriggerConfig) SetCronExpression(v string) *TimeTriggerConfig

func (*TimeTriggerConfig) SetEnable

func (s *TimeTriggerConfig) SetEnable(v bool) *TimeTriggerConfig

func (*TimeTriggerConfig) SetPayload

func (s *TimeTriggerConfig) SetPayload(v string) *TimeTriggerConfig

func (TimeTriggerConfig) String

func (s TimeTriggerConfig) String() string

type TracingConfig

type TracingConfig struct {
	Params map[string]*string `json:"params,omitempty" xml:"params,omitempty"`
	Type   *string            `json:"type,omitempty" xml:"type,omitempty"`
}

func (TracingConfig) GoString

func (s TracingConfig) GoString() string

func (*TracingConfig) SetParams

func (s *TracingConfig) SetParams(v map[string]*string) *TracingConfig

func (*TracingConfig) SetType

func (s *TracingConfig) SetType(v string) *TracingConfig

func (TracingConfig) String

func (s TracingConfig) String() string

type Trigger

type Trigger struct {
	CreatedTime      *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	DomainName       *string `json:"domainName,omitempty" xml:"domainName,omitempty"`
	InvocationRole   *string `json:"invocationRole,omitempty" xml:"invocationRole,omitempty"`
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	Qualifier        *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
	SourceArn        *string `json:"sourceArn,omitempty" xml:"sourceArn,omitempty"`
	Status           *string `json:"status,omitempty" xml:"status,omitempty"`
	TargetArn        *string `json:"targetArn,omitempty" xml:"targetArn,omitempty"`
	TriggerConfig    *string `json:"triggerConfig,omitempty" xml:"triggerConfig,omitempty"`
	TriggerId        *string `json:"triggerId,omitempty" xml:"triggerId,omitempty"`
	TriggerName      *string `json:"triggerName,omitempty" xml:"triggerName,omitempty"`
	TriggerType      *string `json:"triggerType,omitempty" xml:"triggerType,omitempty"`
	UrlInternet      *string `json:"urlInternet,omitempty" xml:"urlInternet,omitempty"`
	UrlIntranet      *string `json:"urlIntranet,omitempty" xml:"urlIntranet,omitempty"`
}

func (Trigger) GoString

func (s Trigger) GoString() string

func (*Trigger) SetCreatedTime

func (s *Trigger) SetCreatedTime(v string) *Trigger

func (*Trigger) SetDomainName

func (s *Trigger) SetDomainName(v string) *Trigger

func (*Trigger) SetInvocationRole

func (s *Trigger) SetInvocationRole(v string) *Trigger

func (*Trigger) SetLastModifiedTime

func (s *Trigger) SetLastModifiedTime(v string) *Trigger

func (*Trigger) SetQualifier

func (s *Trigger) SetQualifier(v string) *Trigger

func (*Trigger) SetSourceArn

func (s *Trigger) SetSourceArn(v string) *Trigger

func (*Trigger) SetStatus

func (s *Trigger) SetStatus(v string) *Trigger

func (*Trigger) SetTargetArn

func (s *Trigger) SetTargetArn(v string) *Trigger

func (*Trigger) SetTriggerConfig

func (s *Trigger) SetTriggerConfig(v string) *Trigger

func (*Trigger) SetTriggerId

func (s *Trigger) SetTriggerId(v string) *Trigger

func (*Trigger) SetTriggerName

func (s *Trigger) SetTriggerName(v string) *Trigger

func (*Trigger) SetTriggerType

func (s *Trigger) SetTriggerType(v string) *Trigger

func (*Trigger) SetUrlInternet

func (s *Trigger) SetUrlInternet(v string) *Trigger

func (*Trigger) SetUrlIntranet

func (s *Trigger) SetUrlIntranet(v string) *Trigger

func (Trigger) String

func (s Trigger) String() string

type UntagResourceHeaders

type UntagResourceHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the function is invoked. The value is in the **EEE,d MMM yyyy HH:mm:ss GMT** format.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (UntagResourceHeaders) GoString

func (s UntagResourceHeaders) GoString() string

func (*UntagResourceHeaders) SetCommonHeaders

func (s *UntagResourceHeaders) SetCommonHeaders(v map[string]*string) *UntagResourceHeaders

func (*UntagResourceHeaders) SetXFcAccountId

func (s *UntagResourceHeaders) SetXFcAccountId(v string) *UntagResourceHeaders

func (*UntagResourceHeaders) SetXFcDate

func (*UntagResourceHeaders) SetXFcTraceId

func (s *UntagResourceHeaders) SetXFcTraceId(v string) *UntagResourceHeaders

func (UntagResourceHeaders) String

func (s UntagResourceHeaders) String() string

type UntagResourceRequest

type UntagResourceRequest struct {
	// Specifies whether to remove all tags. This parameter takes effect only when no tag key is specified. Valid values:
	//
	// *   **true**
	// *   **false**
	All *bool `json:"all,omitempty" xml:"all,omitempty"`
	// The Alibaba Cloud Resource Name (ARN) of the resource.
	//
	// > You can use the value of this parameter to query the information about the resource, such as the account, service, and region information of the resource. You can manage tags only for services for top level resources.
	ResourceArn *string `json:"resourceArn,omitempty" xml:"resourceArn,omitempty"`
	// The keys of the tags that you want to remove.
	TagKeys []*string `json:"tagKeys,omitempty" xml:"tagKeys,omitempty" type:"Repeated"`
}

func (UntagResourceRequest) GoString

func (s UntagResourceRequest) GoString() string

func (*UntagResourceRequest) SetAll

func (*UntagResourceRequest) SetResourceArn

func (s *UntagResourceRequest) SetResourceArn(v string) *UntagResourceRequest

func (*UntagResourceRequest) SetTagKeys

func (s *UntagResourceRequest) SetTagKeys(v []*string) *UntagResourceRequest

func (UntagResourceRequest) String

func (s UntagResourceRequest) String() string

type UntagResourceResponse

type UntagResourceResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (UntagResourceResponse) GoString

func (s UntagResourceResponse) GoString() string

func (*UntagResourceResponse) SetHeaders

func (*UntagResourceResponse) SetStatusCode

func (s *UntagResourceResponse) SetStatusCode(v int32) *UntagResourceResponse

func (UntagResourceResponse) String

func (s UntagResourceResponse) String() string

type UpdateAliasHeaders

type UpdateAliasHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// If the ETag specified in the request matches the ETag value of the object, the object and 200 OK are returned. Otherwise, 412 Precondition Failed is returned.
	//
	// The ETag value of an object is used to check data integrity of the object. This parameter is empty by default.
	IfMatch *string `json:"If-Match,omitempty" xml:"If-Match,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time on which the function is invoked. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The trace ID of the invocation request of Function Compute.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (UpdateAliasHeaders) GoString

func (s UpdateAliasHeaders) GoString() string

func (*UpdateAliasHeaders) SetCommonHeaders

func (s *UpdateAliasHeaders) SetCommonHeaders(v map[string]*string) *UpdateAliasHeaders

func (*UpdateAliasHeaders) SetIfMatch

func (s *UpdateAliasHeaders) SetIfMatch(v string) *UpdateAliasHeaders

func (*UpdateAliasHeaders) SetXFcAccountId

func (s *UpdateAliasHeaders) SetXFcAccountId(v string) *UpdateAliasHeaders

func (*UpdateAliasHeaders) SetXFcDate

func (s *UpdateAliasHeaders) SetXFcDate(v string) *UpdateAliasHeaders

func (*UpdateAliasHeaders) SetXFcTraceId

func (s *UpdateAliasHeaders) SetXFcTraceId(v string) *UpdateAliasHeaders

func (UpdateAliasHeaders) String

func (s UpdateAliasHeaders) String() string

type UpdateAliasRequest

type UpdateAliasRequest struct {
	// The additional version to which the alias points and the weight of the additional version.
	//
	// *   The additional version takes effect only when the function is invoked.
	// *   The value consists of a version number and a specific weight. For example, 2:0.05 indicates that when a function is invoked, Version 2 is the canary release version, 5% of the traffic is distributed to the canary release version, and 95% of the traffic is distributed to the major version.
	AdditionalVersionWeight map[string]*float32 `json:"additionalVersionWeight,omitempty" xml:"additionalVersionWeight,omitempty"`
	// The description of the alias.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The canary release mode. Valid values:
	//
	// *   **Random**: random canary release. This is the default value.
	// *   **Content**: rule-based canary release.
	ResolvePolicy *string `json:"resolvePolicy,omitempty" xml:"resolvePolicy,omitempty"`
	// The canary release rule. Traffic that meets the canary release rule is routed to the canary release instance.
	RoutePolicy *RoutePolicy `json:"routePolicy,omitempty" xml:"routePolicy,omitempty"`
	// The ID of the version to which the alias points.
	VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"`
}

func (UpdateAliasRequest) GoString

func (s UpdateAliasRequest) GoString() string

func (*UpdateAliasRequest) SetAdditionalVersionWeight

func (s *UpdateAliasRequest) SetAdditionalVersionWeight(v map[string]*float32) *UpdateAliasRequest

func (*UpdateAliasRequest) SetDescription

func (s *UpdateAliasRequest) SetDescription(v string) *UpdateAliasRequest

func (*UpdateAliasRequest) SetResolvePolicy

func (s *UpdateAliasRequest) SetResolvePolicy(v string) *UpdateAliasRequest

func (*UpdateAliasRequest) SetRoutePolicy

func (s *UpdateAliasRequest) SetRoutePolicy(v *RoutePolicy) *UpdateAliasRequest

func (*UpdateAliasRequest) SetVersionId

func (s *UpdateAliasRequest) SetVersionId(v string) *UpdateAliasRequest

func (UpdateAliasRequest) String

func (s UpdateAliasRequest) String() string

type UpdateAliasResponse

type UpdateAliasResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateAliasResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateAliasResponse) GoString

func (s UpdateAliasResponse) GoString() string

func (*UpdateAliasResponse) SetBody

func (*UpdateAliasResponse) SetHeaders

func (s *UpdateAliasResponse) SetHeaders(v map[string]*string) *UpdateAliasResponse

func (*UpdateAliasResponse) SetStatusCode

func (s *UpdateAliasResponse) SetStatusCode(v int32) *UpdateAliasResponse

func (UpdateAliasResponse) String

func (s UpdateAliasResponse) String() string

type UpdateAliasResponseBody

type UpdateAliasResponseBody struct {
	// The additional version to which the alias points and the weight of the additional version.
	//
	// *   The additional version takes effect only when the function is invoked.
	// *   The value consists of a version number and a specific weight. For example, 2:0.05 indicates that when a function is invoked, Version 2 is the canary release version, 5% of the traffic is distributed to the canary release version, and 95% of the traffic is distributed to the major version.
	AdditionalVersionWeight map[string]*float32 `json:"additionalVersionWeight,omitempty" xml:"additionalVersionWeight,omitempty"`
	// The name of the alias.
	AliasName *string `json:"aliasName,omitempty" xml:"aliasName,omitempty"`
	// The time when the alias was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The description of the alias.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The time when the alias was last modified.
	LastModifiedTime *string      `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	ResolvePolicy    *string      `json:"resolvePolicy,omitempty" xml:"resolvePolicy,omitempty"`
	RoutePolicy      *RoutePolicy `json:"routePolicy,omitempty" xml:"routePolicy,omitempty"`
	// The ID of the version to which the alias points.
	VersionId *string `json:"versionId,omitempty" xml:"versionId,omitempty"`
}

func (UpdateAliasResponseBody) GoString

func (s UpdateAliasResponseBody) GoString() string

func (*UpdateAliasResponseBody) SetAdditionalVersionWeight

func (s *UpdateAliasResponseBody) SetAdditionalVersionWeight(v map[string]*float32) *UpdateAliasResponseBody

func (*UpdateAliasResponseBody) SetAliasName

func (*UpdateAliasResponseBody) SetCreatedTime

func (*UpdateAliasResponseBody) SetDescription

func (*UpdateAliasResponseBody) SetLastModifiedTime

func (s *UpdateAliasResponseBody) SetLastModifiedTime(v string) *UpdateAliasResponseBody

func (*UpdateAliasResponseBody) SetResolvePolicy added in v2.0.12

func (s *UpdateAliasResponseBody) SetResolvePolicy(v string) *UpdateAliasResponseBody

func (*UpdateAliasResponseBody) SetRoutePolicy added in v2.0.12

func (*UpdateAliasResponseBody) SetVersionId

func (UpdateAliasResponseBody) String

func (s UpdateAliasResponseBody) String() string

type UpdateCustomDomainHeaders

type UpdateCustomDomainHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the operation is called. The format is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (UpdateCustomDomainHeaders) GoString

func (s UpdateCustomDomainHeaders) GoString() string

func (*UpdateCustomDomainHeaders) SetCommonHeaders

func (*UpdateCustomDomainHeaders) SetXFcAccountId

func (*UpdateCustomDomainHeaders) SetXFcDate

func (*UpdateCustomDomainHeaders) SetXFcTraceId

func (UpdateCustomDomainHeaders) String

func (s UpdateCustomDomainHeaders) String() string

type UpdateCustomDomainRequest

type UpdateCustomDomainRequest struct {
	// The configurations of the HTTPS certificate.
	CertConfig *CertConfig `json:"certConfig,omitempty" xml:"certConfig,omitempty"`
	// The protocol types supported by the domain name. Valid values:
	//
	// *   **HTTP**: Only HTTP is supported.
	// *   **HTTPS**: Only HTTPS is supported.
	// *   **HTTP,HTTPS**: HTTP and HTTPS are supported.
	Protocol *string `json:"protocol,omitempty" xml:"protocol,omitempty"`
	// The route table that maps the paths to functions when the functions are invoked by using the custom domain name.
	RouteConfig *RouteConfig `json:"routeConfig,omitempty" xml:"routeConfig,omitempty"`
	// The Transport Layer Security (TLS) configuration.
	TlsConfig *TLSConfig `json:"tlsConfig,omitempty" xml:"tlsConfig,omitempty"`
	// The Web Application Firewall (WAF) configuration.
	WafConfig *WAFConfig `json:"wafConfig,omitempty" xml:"wafConfig,omitempty"`
}

func (UpdateCustomDomainRequest) GoString

func (s UpdateCustomDomainRequest) GoString() string

func (*UpdateCustomDomainRequest) SetCertConfig

func (*UpdateCustomDomainRequest) SetProtocol

func (*UpdateCustomDomainRequest) SetRouteConfig

func (*UpdateCustomDomainRequest) SetTlsConfig

func (*UpdateCustomDomainRequest) SetWafConfig added in v2.0.3

func (UpdateCustomDomainRequest) String

func (s UpdateCustomDomainRequest) String() string

type UpdateCustomDomainResponse

type UpdateCustomDomainResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateCustomDomainResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateCustomDomainResponse) GoString

func (s UpdateCustomDomainResponse) GoString() string

func (*UpdateCustomDomainResponse) SetBody

func (*UpdateCustomDomainResponse) SetHeaders

func (*UpdateCustomDomainResponse) SetStatusCode

func (UpdateCustomDomainResponse) String

type UpdateCustomDomainResponseBody

type UpdateCustomDomainResponseBody struct {
	// The ID of your Alibaba Cloud account.
	AccountId *string `json:"accountId,omitempty" xml:"accountId,omitempty"`
	// The version of the API.
	ApiVersion *string `json:"apiVersion,omitempty" xml:"apiVersion,omitempty"`
	// The configurations of the HTTPS certificate.
	CertConfig *CertConfig `json:"certConfig,omitempty" xml:"certConfig,omitempty"`
	// The time when the custom domain name was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The domain name.
	DomainName *string `json:"domainName,omitempty" xml:"domainName,omitempty"`
	// The time when the domain name was last modified.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The protocol type that is supported by the custom domain name.
	//
	// *   **HTTP**: Only HTTP is supported.
	// *   **HTTPS**: Only HTTPS is supported.
	// *   **HTTP,HTTPS**: HTTP and HTTPS are supported.
	Protocol *string `json:"protocol,omitempty" xml:"protocol,omitempty"`
	// The route table that maps the paths to functions when the functions are invoked by using the custom domain name.
	RouteConfig *RouteConfig `json:"routeConfig,omitempty" xml:"routeConfig,omitempty"`
	// The Transport Layer Security (TLS) configuration.
	TlsConfig *TLSConfig `json:"tlsConfig,omitempty" xml:"tlsConfig,omitempty"`
	// The Web Application Firewall (WAF) configuration.
	WafConfig *WAFConfig `json:"wafConfig,omitempty" xml:"wafConfig,omitempty"`
}

func (UpdateCustomDomainResponseBody) GoString

func (*UpdateCustomDomainResponseBody) SetAccountId

func (*UpdateCustomDomainResponseBody) SetApiVersion

func (*UpdateCustomDomainResponseBody) SetCertConfig

func (*UpdateCustomDomainResponseBody) SetCreatedTime

func (*UpdateCustomDomainResponseBody) SetDomainName

func (*UpdateCustomDomainResponseBody) SetLastModifiedTime

func (*UpdateCustomDomainResponseBody) SetProtocol

func (*UpdateCustomDomainResponseBody) SetRouteConfig

func (*UpdateCustomDomainResponseBody) SetTlsConfig

func (*UpdateCustomDomainResponseBody) SetWafConfig added in v2.0.3

func (UpdateCustomDomainResponseBody) String

type UpdateFunctionHeaders

type UpdateFunctionHeaders struct {
	CommonHeaders   map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	IfMatch         *string            `json:"If-Match,omitempty" xml:"If-Match,omitempty"`
	XFcAccountId    *string            `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	XFcCodeChecksum *string            `json:"X-Fc-Code-Checksum,omitempty" xml:"X-Fc-Code-Checksum,omitempty"`
	XFcDate         *string            `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	XFcTraceId      *string            `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (UpdateFunctionHeaders) GoString

func (s UpdateFunctionHeaders) GoString() string

func (*UpdateFunctionHeaders) SetCommonHeaders

func (s *UpdateFunctionHeaders) SetCommonHeaders(v map[string]*string) *UpdateFunctionHeaders

func (*UpdateFunctionHeaders) SetIfMatch

func (*UpdateFunctionHeaders) SetXFcAccountId

func (s *UpdateFunctionHeaders) SetXFcAccountId(v string) *UpdateFunctionHeaders

func (*UpdateFunctionHeaders) SetXFcCodeChecksum

func (s *UpdateFunctionHeaders) SetXFcCodeChecksum(v string) *UpdateFunctionHeaders

func (*UpdateFunctionHeaders) SetXFcDate

func (*UpdateFunctionHeaders) SetXFcTraceId

func (s *UpdateFunctionHeaders) SetXFcTraceId(v string) *UpdateFunctionHeaders

func (UpdateFunctionHeaders) String

func (s UpdateFunctionHeaders) String() string

type UpdateFunctionRequest

type UpdateFunctionRequest struct {
	// The number of requests that can be concurrently processed by a single instance.
	InstanceConcurrency *int32 `json:"InstanceConcurrency,omitempty" xml:"InstanceConcurrency,omitempty"`
	// The port on which the HTTP server listens for the custom runtime or custom container runtime.
	CaPort *int32 `json:"caPort,omitempty" xml:"caPort,omitempty"`
	// The packaged code of the function. **Function code packages** can be provided with the following two methods. You must use only one of the methods in a request.
	//
	// *   Specify the name of the Object Storage Service (OSS) bucket and object where the code package is stored. The names are specified in the **ossBucketName** and **ossObjectName** parameters.
	// *   Specify the Base64-encoded content of the ZIP file by using the **zipFile** parameter.
	Code *Code `json:"code,omitempty" xml:"code,omitempty"`
	// The number of vCPUs of the function. The value is a multiple of 0.05.
	Cpu *float32 `json:"cpu,omitempty" xml:"cpu,omitempty"`
	// The configuration of the custom container. After you configure the custom container, Function Compute can execute the function in a container created from a custom image.
	CustomContainerConfig *CustomContainerConfig `json:"customContainerConfig,omitempty" xml:"customContainerConfig,omitempty"`
	// The custom DNS configurations of the function.
	CustomDNS *CustomDNS `json:"customDNS,omitempty" xml:"customDNS,omitempty"`
	// The custom health check configuration of the function. This parameter is applicable only to custom runtimes and custom containers.
	CustomHealthCheckConfig *CustomHealthCheckConfig `json:"customHealthCheckConfig,omitempty" xml:"customHealthCheckConfig,omitempty"`
	// The configurations of the custom runtime for the function.
	CustomRuntimeConfig *CustomRuntimeConfig `json:"customRuntimeConfig,omitempty" xml:"customRuntimeConfig,omitempty"`
	// The description of the function.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The disk size of the function. Unit: MB. Valid values: 512 and 10240.
	DiskSize *int32 `json:"diskSize,omitempty" xml:"diskSize,omitempty"`
	// The environment variables that are configured for the function. You can obtain the values of the environment variables from the function. For more information, see [Environment variables](~~69777~~).
	EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty" xml:"environmentVariables,omitempty"`
	// The GPU memory capacity for the function. Unit: MB. The value is a multiple of 1,024.
	GpuMemorySize *int32 `json:"gpuMemorySize,omitempty" xml:"gpuMemorySize,omitempty"`
	// The handler of the function. The format varies based on the programming language. For more information, see [Function handlers](~~157704~~).
	Handler *string `json:"handler,omitempty" xml:"handler,omitempty"`
	// The timeout period for the execution of the Initializer hook. Unit: seconds. Default value: 3. Minimum value: 1. When the period ends, the execution of the Initializer hook is terminated.
	InitializationTimeout *int32 `json:"initializationTimeout,omitempty" xml:"initializationTimeout,omitempty"`
	// The handler of the Initializer hook. The format is determined by the programming language. For more information, see [Function handlers](~~157704~~).
	Initializer *string `json:"initializer,omitempty" xml:"initializer,omitempty"`
	// The lifecycle configurations of the instance.
	InstanceLifecycleConfig *InstanceLifecycleConfig `json:"instanceLifecycleConfig,omitempty" xml:"instanceLifecycleConfig,omitempty"`
	// The soft concurrency of the instance. You can use this property to implement graceful scale-ups for instances. If the number of concurrent requests on an instance is greater than the soft concurrency value of the instance, an instance scale-up is triggered. For example, if your instance requires a long time to start, you can specify a suitable soft concurrency to start the instance in advance.
	//
	// The value must be less than or equal to that of the **instanceConcurrency** parameter.
	InstanceSoftConcurrency *int32 `json:"instanceSoftConcurrency,omitempty" xml:"instanceSoftConcurrency,omitempty"`
	// The instance type of the function. Valid values:
	//
	// *   **e1**: elastic instance
	// *   **c1**: performance instance
	// *   **fc.gpu.tesla.1**: GPU-accelerated instance (Tesla T4)
	// *   **fc.gpu.ampere.1**: GPU-accelerated instance (Ampere A10)
	// *   **g1**: same as **fc.gpu.tesla.1**
	InstanceType *string `json:"instanceType,omitempty" xml:"instanceType,omitempty"`
	// An array that consists of the information of layers.
	//
	// > Multiple layers are merged based on the order of array subscripts. The content of a layer with a smaller subscript overwrites the file that has the same name as a layer with a larger subscript.
	Layers []*string `json:"layers,omitempty" xml:"layers,omitempty" type:"Repeated"`
	// The memory size for the function. Unit: MB. The value must be a multiple of 64. The memory size varies based on the function instance type. For more information, see [Instance types](~~179379~~).
	MemorySize *int32 `json:"memorySize,omitempty" xml:"memorySize,omitempty"`
	// The runtime environment of the function. Valid values: **nodejs16**, **nodejs14**, **nodejs12**, **nodejs10**, **nodejs8**, **nodejs6**, **nodejs4.4**, **python3.10**, **python3.9**, **python3**, **python2.7**, **java11**, **java8**, **go1**, **php7.2**, **dotnetcore3.1**, **dotnetcore2.1**, **custom.debian10**, **custom**, and **custom-container**. For more information, see [Supported function runtime environments](~~73338~~).
	Runtime *string `json:"runtime,omitempty" xml:"runtime,omitempty"`
	// The timeout period for the execution of the function. Unit: seconds. Default value: 3. Minimum value: 1. When the period ends, the execution of the function is terminated.
	Timeout *int32 `json:"timeout,omitempty" xml:"timeout,omitempty"`
}

func (UpdateFunctionRequest) GoString

func (s UpdateFunctionRequest) GoString() string

func (*UpdateFunctionRequest) SetCaPort

func (*UpdateFunctionRequest) SetCode

func (*UpdateFunctionRequest) SetCpu

func (*UpdateFunctionRequest) SetCustomContainerConfig

func (s *UpdateFunctionRequest) SetCustomContainerConfig(v *CustomContainerConfig) *UpdateFunctionRequest

func (*UpdateFunctionRequest) SetCustomDNS

func (*UpdateFunctionRequest) SetCustomHealthCheckConfig

func (s *UpdateFunctionRequest) SetCustomHealthCheckConfig(v *CustomHealthCheckConfig) *UpdateFunctionRequest

func (*UpdateFunctionRequest) SetCustomRuntimeConfig

func (s *UpdateFunctionRequest) SetCustomRuntimeConfig(v *CustomRuntimeConfig) *UpdateFunctionRequest

func (*UpdateFunctionRequest) SetDescription

func (s *UpdateFunctionRequest) SetDescription(v string) *UpdateFunctionRequest

func (*UpdateFunctionRequest) SetDiskSize

func (*UpdateFunctionRequest) SetEnvironmentVariables

func (s *UpdateFunctionRequest) SetEnvironmentVariables(v map[string]*string) *UpdateFunctionRequest

func (*UpdateFunctionRequest) SetGpuMemorySize added in v2.0.4

func (s *UpdateFunctionRequest) SetGpuMemorySize(v int32) *UpdateFunctionRequest

func (*UpdateFunctionRequest) SetHandler

func (*UpdateFunctionRequest) SetInitializationTimeout

func (s *UpdateFunctionRequest) SetInitializationTimeout(v int32) *UpdateFunctionRequest

func (*UpdateFunctionRequest) SetInitializer

func (s *UpdateFunctionRequest) SetInitializer(v string) *UpdateFunctionRequest

func (*UpdateFunctionRequest) SetInstanceConcurrency

func (s *UpdateFunctionRequest) SetInstanceConcurrency(v int32) *UpdateFunctionRequest

func (*UpdateFunctionRequest) SetInstanceLifecycleConfig

func (s *UpdateFunctionRequest) SetInstanceLifecycleConfig(v *InstanceLifecycleConfig) *UpdateFunctionRequest

func (*UpdateFunctionRequest) SetInstanceSoftConcurrency

func (s *UpdateFunctionRequest) SetInstanceSoftConcurrency(v int32) *UpdateFunctionRequest

func (*UpdateFunctionRequest) SetInstanceType

func (s *UpdateFunctionRequest) SetInstanceType(v string) *UpdateFunctionRequest

func (*UpdateFunctionRequest) SetLayers

func (*UpdateFunctionRequest) SetMemorySize

func (s *UpdateFunctionRequest) SetMemorySize(v int32) *UpdateFunctionRequest

func (*UpdateFunctionRequest) SetRuntime

func (*UpdateFunctionRequest) SetTimeout

func (UpdateFunctionRequest) String

func (s UpdateFunctionRequest) String() string

type UpdateFunctionResponse

type UpdateFunctionResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateFunctionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateFunctionResponse) GoString

func (s UpdateFunctionResponse) GoString() string

func (*UpdateFunctionResponse) SetBody

func (*UpdateFunctionResponse) SetHeaders

func (*UpdateFunctionResponse) SetStatusCode

func (UpdateFunctionResponse) String

func (s UpdateFunctionResponse) String() string

type UpdateFunctionResponseBody

type UpdateFunctionResponseBody struct {
	CaPort                  *int32                   `json:"caPort,omitempty" xml:"caPort,omitempty"`
	CodeChecksum            *string                  `json:"codeChecksum,omitempty" xml:"codeChecksum,omitempty"`
	CodeSize                *int64                   `json:"codeSize,omitempty" xml:"codeSize,omitempty"`
	Cpu                     *float32                 `json:"cpu,omitempty" xml:"cpu,omitempty"`
	CreatedTime             *string                  `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	CustomContainerConfig   *CustomContainerConfig   `json:"customContainerConfig,omitempty" xml:"customContainerConfig,omitempty"`
	CustomDNS               *CustomDNS               `json:"customDNS,omitempty" xml:"customDNS,omitempty"`
	CustomHealthCheckConfig *CustomHealthCheckConfig `json:"customHealthCheckConfig,omitempty" xml:"customHealthCheckConfig,omitempty"`
	CustomRuntimeConfig     *CustomRuntimeConfig     `json:"customRuntimeConfig,omitempty" xml:"customRuntimeConfig,omitempty"`
	Description             *string                  `json:"description,omitempty" xml:"description,omitempty"`
	DiskSize                *int32                   `json:"diskSize,omitempty" xml:"diskSize,omitempty"`
	EnvironmentVariables    map[string]*string       `json:"environmentVariables,omitempty" xml:"environmentVariables,omitempty"`
	FunctionId              *string                  `json:"functionId,omitempty" xml:"functionId,omitempty"`
	FunctionName            *string                  `json:"functionName,omitempty" xml:"functionName,omitempty"`
	GpuMemorySize           *int32                   `json:"gpuMemorySize,omitempty" xml:"gpuMemorySize,omitempty"`
	Handler                 *string                  `json:"handler,omitempty" xml:"handler,omitempty"`
	InitializationTimeout   *int32                   `json:"initializationTimeout,omitempty" xml:"initializationTimeout,omitempty"`
	Initializer             *string                  `json:"initializer,omitempty" xml:"initializer,omitempty"`
	InstanceConcurrency     *int32                   `json:"instanceConcurrency,omitempty" xml:"instanceConcurrency,omitempty"`
	InstanceLifecycleConfig *InstanceLifecycleConfig `json:"instanceLifecycleConfig,omitempty" xml:"instanceLifecycleConfig,omitempty"`
	InstanceSoftConcurrency *int32                   `json:"instanceSoftConcurrency,omitempty" xml:"instanceSoftConcurrency,omitempty"`
	InstanceType            *string                  `json:"instanceType,omitempty" xml:"instanceType,omitempty"`
	LastModifiedTime        *string                  `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// An array that consists of the information of layers.
	//
	// > Multiple layers are merged based on the order of array subscripts. The content of a layer with a smaller subscript overwrites the file that has the same name as a layer with a larger subscript.
	Layers []*string `json:"layers,omitempty" xml:"layers,omitempty" type:"Repeated"`
	// ARN list of layers
	LayersArnV2 []*string `json:"layersArnV2,omitempty" xml:"layersArnV2,omitempty" type:"Repeated"`
	MemorySize  *int32    `json:"memorySize,omitempty" xml:"memorySize,omitempty"`
	// The runtime environment of the function. Valid values: **nodejs16**, **nodejs14**, **nodejs12**, **nodejs10**, **nodejs8**, **nodejs6**, **nodejs4.4**, **python3.10**, **python3.9**, **python3**, **python2.7**, **java11**, **java8**, **go1**, **php7.2**, **dotnetcore3.1**, **dotnetcore2.1**, **custom.debian10**, **custom**, and **custom-container**. For more information, see [Supported function runtime environments](~~73338~~).
	Runtime *string `json:"runtime,omitempty" xml:"runtime,omitempty"`
	Timeout *int32  `json:"timeout,omitempty" xml:"timeout,omitempty"`
}

func (UpdateFunctionResponseBody) GoString

func (s UpdateFunctionResponseBody) GoString() string

func (*UpdateFunctionResponseBody) SetCaPort

func (*UpdateFunctionResponseBody) SetCodeChecksum

func (*UpdateFunctionResponseBody) SetCodeSize

func (*UpdateFunctionResponseBody) SetCpu

func (*UpdateFunctionResponseBody) SetCreatedTime

func (*UpdateFunctionResponseBody) SetCustomContainerConfig

func (*UpdateFunctionResponseBody) SetCustomDNS

func (*UpdateFunctionResponseBody) SetCustomHealthCheckConfig

func (*UpdateFunctionResponseBody) SetCustomRuntimeConfig

func (*UpdateFunctionResponseBody) SetDescription

func (*UpdateFunctionResponseBody) SetDiskSize

func (*UpdateFunctionResponseBody) SetEnvironmentVariables

func (s *UpdateFunctionResponseBody) SetEnvironmentVariables(v map[string]*string) *UpdateFunctionResponseBody

func (*UpdateFunctionResponseBody) SetFunctionId

func (*UpdateFunctionResponseBody) SetFunctionName

func (*UpdateFunctionResponseBody) SetGpuMemorySize added in v2.0.4

func (*UpdateFunctionResponseBody) SetHandler

func (*UpdateFunctionResponseBody) SetInitializationTimeout

func (s *UpdateFunctionResponseBody) SetInitializationTimeout(v int32) *UpdateFunctionResponseBody

func (*UpdateFunctionResponseBody) SetInitializer

func (*UpdateFunctionResponseBody) SetInstanceConcurrency added in v2.0.1

func (s *UpdateFunctionResponseBody) SetInstanceConcurrency(v int32) *UpdateFunctionResponseBody

func (*UpdateFunctionResponseBody) SetInstanceLifecycleConfig

func (*UpdateFunctionResponseBody) SetInstanceSoftConcurrency

func (s *UpdateFunctionResponseBody) SetInstanceSoftConcurrency(v int32) *UpdateFunctionResponseBody

func (*UpdateFunctionResponseBody) SetInstanceType

func (*UpdateFunctionResponseBody) SetLastModifiedTime

func (*UpdateFunctionResponseBody) SetLayers

func (*UpdateFunctionResponseBody) SetLayersArnV2 added in v2.0.10

func (*UpdateFunctionResponseBody) SetMemorySize

func (*UpdateFunctionResponseBody) SetRuntime

func (*UpdateFunctionResponseBody) SetTimeout

func (UpdateFunctionResponseBody) String

type UpdateServiceHeaders

type UpdateServiceHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The value used to ensure that the modified service is consistent with the service to be modified. The value is obtained from the responses of the [CreateService](~~175256~~), [UpdateService](~~188167~~), and [GetService](~~189225~~) operations.
	IfMatch *string `json:"If-Match,omitempty" xml:"If-Match,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the Function Compute API is called. The format is **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (UpdateServiceHeaders) GoString

func (s UpdateServiceHeaders) GoString() string

func (*UpdateServiceHeaders) SetCommonHeaders

func (s *UpdateServiceHeaders) SetCommonHeaders(v map[string]*string) *UpdateServiceHeaders

func (*UpdateServiceHeaders) SetIfMatch

func (*UpdateServiceHeaders) SetXFcAccountId

func (s *UpdateServiceHeaders) SetXFcAccountId(v string) *UpdateServiceHeaders

func (*UpdateServiceHeaders) SetXFcDate

func (*UpdateServiceHeaders) SetXFcTraceId

func (s *UpdateServiceHeaders) SetXFcTraceId(v string) *UpdateServiceHeaders

func (UpdateServiceHeaders) String

func (s UpdateServiceHeaders) String() string

type UpdateServiceRequest

type UpdateServiceRequest struct {
	// The description of the service.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// Specifies whether to allow functions to access the Internet. Valid values:
	//
	// *   **true**: allows functions in the specified service to access the Internet.
	// *   **false**: does not allow functions to access the Internet.
	InternetAccess *bool `json:"internetAccess,omitempty" xml:"internetAccess,omitempty"`
	// The log configuration. Function Compute writes function execution logs to the specified Logstore.
	LogConfig *LogConfig `json:"logConfig,omitempty" xml:"logConfig,omitempty"`
	// The configurations of the NAS file system. The configurations allow functions to access the specified NAS resources.
	NasConfig *NASConfig `json:"nasConfig,omitempty" xml:"nasConfig,omitempty"`
	// The OSS mount configurations.
	OssMountConfig *OSSMountConfig `json:"ossMountConfig,omitempty" xml:"ossMountConfig,omitempty"`
	// The RAM role that is used to grant required permissions to Function Compute. The RAM role is used in the following scenarios:
	//
	// *   Sends function execution logs to your Logstore.
	// *   Generates a token for a function to access other cloud resources during function execution.
	Role *string `json:"role,omitempty" xml:"role,omitempty"`
	// The configurations of Tracing Analysis. After you configure Tracing Analysis for a service in Function Compute, you can record the execution duration of a request, view the amount of cold start time for a function, and record the execution duration of a function. For more information, see [Overview](~~189804~~).
	TracingConfig *TracingConfig `json:"tracingConfig,omitempty" xml:"tracingConfig,omitempty"`
	// The virtual private cloud (VPC) configuration, which allows functions in the specified service in Function Compute to access the specified VPC.
	VpcConfig *VPCConfig `json:"vpcConfig,omitempty" xml:"vpcConfig,omitempty"`
}

func (UpdateServiceRequest) GoString

func (s UpdateServiceRequest) GoString() string

func (*UpdateServiceRequest) SetDescription

func (s *UpdateServiceRequest) SetDescription(v string) *UpdateServiceRequest

func (*UpdateServiceRequest) SetInternetAccess

func (s *UpdateServiceRequest) SetInternetAccess(v bool) *UpdateServiceRequest

func (*UpdateServiceRequest) SetLogConfig

func (*UpdateServiceRequest) SetNasConfig

func (*UpdateServiceRequest) SetOssMountConfig

func (s *UpdateServiceRequest) SetOssMountConfig(v *OSSMountConfig) *UpdateServiceRequest

func (*UpdateServiceRequest) SetRole

func (*UpdateServiceRequest) SetTracingConfig

func (s *UpdateServiceRequest) SetTracingConfig(v *TracingConfig) *UpdateServiceRequest

func (*UpdateServiceRequest) SetVpcConfig

func (UpdateServiceRequest) String

func (s UpdateServiceRequest) String() string

type UpdateServiceResponse

type UpdateServiceResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateServiceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateServiceResponse) GoString

func (s UpdateServiceResponse) GoString() string

func (*UpdateServiceResponse) SetBody

func (*UpdateServiceResponse) SetHeaders

func (*UpdateServiceResponse) SetStatusCode

func (s *UpdateServiceResponse) SetStatusCode(v int32) *UpdateServiceResponse

func (UpdateServiceResponse) String

func (s UpdateServiceResponse) String() string

type UpdateServiceResponseBody

type UpdateServiceResponseBody struct {
	// The time when the service was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The description of the service.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// Specifies whether to allow functions to access the Internet. Valid values:
	//
	// *   **true**: allows functions in the specified service to access the Internet.
	// *   **false**: does not allow functions to access the Internet.
	InternetAccess *bool `json:"internetAccess,omitempty" xml:"internetAccess,omitempty"`
	// The time when the service was last modified.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The log configuration, which specifies a Logstore to store function execution logs.
	LogConfig *LogConfig `json:"logConfig,omitempty" xml:"logConfig,omitempty"`
	// The configurations of the NAS file system. The configuration allows functions in the specified service in Function Compute to access the NAS file system.
	NasConfig *NASConfig `json:"nasConfig,omitempty" xml:"nasConfig,omitempty"`
	// The OSS mount configurations.
	OssMountConfig *OSSMountConfig `json:"ossMountConfig,omitempty" xml:"ossMountConfig,omitempty"`
	// The RAM role that is used to grant required permissions to Function Compute. The RAM role is used in the following scenarios:
	//
	// *   Sends function execution logs to your Logstore.
	// *   Generates a token for a function to access other cloud resources during function execution.
	Role *string `json:"role,omitempty" xml:"role,omitempty"`
	// The unique ID generated by the system for the service.
	ServiceId *string `json:"serviceId,omitempty" xml:"serviceId,omitempty"`
	// The name of the service.
	ServiceName *string `json:"serviceName,omitempty" xml:"serviceName,omitempty"`
	// The configuration of Tracing Analysis. After you configure Tracing Analysis for a service in Function Compute, you can record the execution duration of a request, view the amount of cold start time for a function, and record the execution duration of a function. For more information, see [Overview](~~189804~~).
	TracingConfig        *TracingConfig `json:"tracingConfig,omitempty" xml:"tracingConfig,omitempty"`
	UseSLRAuthentication *bool          `json:"useSLRAuthentication,omitempty" xml:"useSLRAuthentication,omitempty"`
	// The VPC configuration. The configuration allows a function to access the specified VPC.
	VpcConfig *VPCConfig `json:"vpcConfig,omitempty" xml:"vpcConfig,omitempty"`
}

func (UpdateServiceResponseBody) GoString

func (s UpdateServiceResponseBody) GoString() string

func (*UpdateServiceResponseBody) SetCreatedTime

func (*UpdateServiceResponseBody) SetDescription

func (*UpdateServiceResponseBody) SetInternetAccess

func (s *UpdateServiceResponseBody) SetInternetAccess(v bool) *UpdateServiceResponseBody

func (*UpdateServiceResponseBody) SetLastModifiedTime

func (s *UpdateServiceResponseBody) SetLastModifiedTime(v string) *UpdateServiceResponseBody

func (*UpdateServiceResponseBody) SetLogConfig

func (*UpdateServiceResponseBody) SetNasConfig

func (*UpdateServiceResponseBody) SetOssMountConfig

func (*UpdateServiceResponseBody) SetRole

func (*UpdateServiceResponseBody) SetServiceId

func (*UpdateServiceResponseBody) SetServiceName

func (*UpdateServiceResponseBody) SetTracingConfig

func (*UpdateServiceResponseBody) SetUseSLRAuthentication added in v2.0.11

func (s *UpdateServiceResponseBody) SetUseSLRAuthentication(v bool) *UpdateServiceResponseBody

func (*UpdateServiceResponseBody) SetVpcConfig

func (UpdateServiceResponseBody) String

func (s UpdateServiceResponseBody) String() string

type UpdateTriggerHeaders

type UpdateTriggerHeaders struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// This parameter is used to ensure that the modified resource is consistent with the resource to be modified. You can obtain the parameter value from the responses of [CreateTrigger](~~190054~~), [GetTrigger](~~190056~~), and [UpdateTrigger](~~190055~~) operations.
	IfMatch *string `json:"If-Match,omitempty" xml:"If-Match,omitempty"`
	// The ID of your Alibaba Cloud account.
	XFcAccountId *string `json:"X-Fc-Account-Id,omitempty" xml:"X-Fc-Account-Id,omitempty"`
	// The time when the request is initiated on the client. The format of the value is: **EEE,d MMM yyyy HH:mm:ss GMT**.
	XFcDate *string `json:"X-Fc-Date,omitempty" xml:"X-Fc-Date,omitempty"`
	// The custom request ID.
	XFcTraceId *string `json:"X-Fc-Trace-Id,omitempty" xml:"X-Fc-Trace-Id,omitempty"`
}

func (UpdateTriggerHeaders) GoString

func (s UpdateTriggerHeaders) GoString() string

func (*UpdateTriggerHeaders) SetCommonHeaders

func (s *UpdateTriggerHeaders) SetCommonHeaders(v map[string]*string) *UpdateTriggerHeaders

func (*UpdateTriggerHeaders) SetIfMatch

func (*UpdateTriggerHeaders) SetXFcAccountId

func (s *UpdateTriggerHeaders) SetXFcAccountId(v string) *UpdateTriggerHeaders

func (*UpdateTriggerHeaders) SetXFcDate

func (*UpdateTriggerHeaders) SetXFcTraceId

func (s *UpdateTriggerHeaders) SetXFcTraceId(v string) *UpdateTriggerHeaders

func (UpdateTriggerHeaders) String

func (s UpdateTriggerHeaders) String() string

type UpdateTriggerRequest

type UpdateTriggerRequest struct {
	// The description of the trigger.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The role that is used by the event source such as Object Storage Service (OSS) to invoke the function. For more information, see [Overview](~~53102~~).
	InvocationRole *string `json:"invocationRole,omitempty" xml:"invocationRole,omitempty"`
	// The version or alias of the service.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
	// The configurations of the trigger. The configurations vary based on the trigger type. For more information about the format, see the following topics:
	//
	// *   Object Storage Service (OSS) trigger: [OSSTriggerConfig](~~415697~~).
	// *   Simple Log Service trigger: [LogTriggerConfig](~~415694~~).
	// *   Time trigger: [TimeTriggerConfig](~~415712~~).
	// *   HTTP trigger: [HTTPTriggerConfig](~~415685~~).
	// *   Tablestore trigger: Specify the **SourceArn** parameter and leave this parameter empty.
	// *   Alibaba Cloud CDN event trigger: [CDNEventsTriggerConfig](~~415674~~).
	// *   MNS topic trigger: [MnsTopicTriggerConfig](~~415695~~).
	// *   EventBridge triggers: [EventBridgeTriggerConfig](~~2508622~~).
	TriggerConfig *string `json:"triggerConfig,omitempty" xml:"triggerConfig,omitempty"`
}

func (UpdateTriggerRequest) GoString

func (s UpdateTriggerRequest) GoString() string

func (*UpdateTriggerRequest) SetDescription

func (s *UpdateTriggerRequest) SetDescription(v string) *UpdateTriggerRequest

func (*UpdateTriggerRequest) SetInvocationRole

func (s *UpdateTriggerRequest) SetInvocationRole(v string) *UpdateTriggerRequest

func (*UpdateTriggerRequest) SetQualifier

func (s *UpdateTriggerRequest) SetQualifier(v string) *UpdateTriggerRequest

func (*UpdateTriggerRequest) SetTriggerConfig

func (s *UpdateTriggerRequest) SetTriggerConfig(v string) *UpdateTriggerRequest

func (UpdateTriggerRequest) String

func (s UpdateTriggerRequest) String() string

type UpdateTriggerResponse

type UpdateTriggerResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateTriggerResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateTriggerResponse) GoString

func (s UpdateTriggerResponse) GoString() string

func (*UpdateTriggerResponse) SetBody

func (*UpdateTriggerResponse) SetHeaders

func (*UpdateTriggerResponse) SetStatusCode

func (s *UpdateTriggerResponse) SetStatusCode(v int32) *UpdateTriggerResponse

func (UpdateTriggerResponse) String

func (s UpdateTriggerResponse) String() string

type UpdateTriggerResponseBody

type UpdateTriggerResponseBody struct {
	// The time when the audio or video file was created.
	CreatedTime *string `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// The description of the trigger.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The domain name used to invoke the function by using HTTP. You can add this domain name as the prefix to the endpoint of Function Compute. This way, you can invoke the function that corresponds to the trigger by using HTTP. For example, `{domainName}.cn-shanghai.fc.aliyuncs.com`.
	DomainName *string `json:"domainName,omitempty" xml:"domainName,omitempty"`
	// The ARN of the RAM role that is used by the event source to invoke the function.
	InvocationRole *string `json:"invocationRole,omitempty" xml:"invocationRole,omitempty"`
	// The last modification time.
	LastModifiedTime *string `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	// The version or alias of the service.
	Qualifier *string `json:"qualifier,omitempty" xml:"qualifier,omitempty"`
	// The ARN of the event source.
	SourceArn *string `json:"sourceArn,omitempty" xml:"sourceArn,omitempty"`
	Status    *string `json:"status,omitempty" xml:"status,omitempty"`
	TargetArn *string `json:"targetArn,omitempty" xml:"targetArn,omitempty"`
	// The configurations of the trigger. The configurations vary based on the trigger type.
	TriggerConfig *string `json:"triggerConfig,omitempty" xml:"triggerConfig,omitempty"`
	// The unique ID of the trigger.
	TriggerId *string `json:"triggerId,omitempty" xml:"triggerId,omitempty"`
	// The name of the trigger.
	TriggerName *string `json:"triggerName,omitempty" xml:"triggerName,omitempty"`
	// The trigger type. Example values: **oss**, **log**, **tablestore**, **timer**, **http**, **cdn_events**, **mns_topic**, and **eventbridge**.
	TriggerType *string `json:"triggerType,omitempty" xml:"triggerType,omitempty"`
	// The public domain address. You can access HTTP triggers over the Internet by using HTTP or HTTPS.
	UrlInternet *string `json:"urlInternet,omitempty" xml:"urlInternet,omitempty"`
	// The private endpoint. In a VPC, you can access HTTP triggers by using HTTP or HTTPS.
	UrlIntranet *string `json:"urlIntranet,omitempty" xml:"urlIntranet,omitempty"`
}

func (UpdateTriggerResponseBody) GoString

func (s UpdateTriggerResponseBody) GoString() string

func (*UpdateTriggerResponseBody) SetCreatedTime

func (*UpdateTriggerResponseBody) SetDescription

func (*UpdateTriggerResponseBody) SetDomainName

func (*UpdateTriggerResponseBody) SetInvocationRole

func (*UpdateTriggerResponseBody) SetLastModifiedTime

func (s *UpdateTriggerResponseBody) SetLastModifiedTime(v string) *UpdateTriggerResponseBody

func (*UpdateTriggerResponseBody) SetQualifier

func (*UpdateTriggerResponseBody) SetSourceArn

func (*UpdateTriggerResponseBody) SetStatus added in v2.0.12

func (*UpdateTriggerResponseBody) SetTargetArn added in v2.0.12

func (*UpdateTriggerResponseBody) SetTriggerConfig

func (*UpdateTriggerResponseBody) SetTriggerId

func (*UpdateTriggerResponseBody) SetTriggerName

func (*UpdateTriggerResponseBody) SetTriggerType

func (*UpdateTriggerResponseBody) SetUrlInternet

func (*UpdateTriggerResponseBody) SetUrlIntranet

func (UpdateTriggerResponseBody) String

func (s UpdateTriggerResponseBody) String() string

type VPCConfig

type VPCConfig struct {
	Role            *string   `json:"role,omitempty" xml:"role,omitempty"`
	SecurityGroupId *string   `json:"securityGroupId,omitempty" xml:"securityGroupId,omitempty"`
	VSwitchIds      []*string `json:"vSwitchIds,omitempty" xml:"vSwitchIds,omitempty" type:"Repeated"`
	VpcId           *string   `json:"vpcId,omitempty" xml:"vpcId,omitempty"`
}

func (VPCConfig) GoString

func (s VPCConfig) GoString() string

func (*VPCConfig) SetRole

func (s *VPCConfig) SetRole(v string) *VPCConfig

func (*VPCConfig) SetSecurityGroupId

func (s *VPCConfig) SetSecurityGroupId(v string) *VPCConfig

func (*VPCConfig) SetVSwitchIds

func (s *VPCConfig) SetVSwitchIds(v []*string) *VPCConfig

func (*VPCConfig) SetVpcId

func (s *VPCConfig) SetVpcId(v string) *VPCConfig

func (VPCConfig) String

func (s VPCConfig) String() string

type VendorConfig

type VendorConfig struct {
	MeteringConfig *MeteringConfig `json:"meteringConfig,omitempty" xml:"meteringConfig,omitempty"`
}

func (VendorConfig) GoString

func (s VendorConfig) GoString() string

func (*VendorConfig) SetMeteringConfig

func (s *VendorConfig) SetMeteringConfig(v *MeteringConfig) *VendorConfig

func (VendorConfig) String

func (s VendorConfig) String() string

type WAFConfig added in v2.0.3

type WAFConfig struct {
	EnableWAF *bool `json:"enableWAF,omitempty" xml:"enableWAF,omitempty"`
}

func (WAFConfig) GoString added in v2.0.3

func (s WAFConfig) GoString() string

func (*WAFConfig) SetEnableWAF added in v2.0.3

func (s *WAFConfig) SetEnableWAF(v bool) *WAFConfig

func (WAFConfig) String added in v2.0.3

func (s WAFConfig) String() string

Jump to

Keyboard shortcuts

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