Documentation ¶
Index ¶
- Constants
- Variables
- func GetAccessPoint(endpointInput string) (endpoint, host string)
- func GetAuthStr(accessKeyID string, accessKeySecret string, method string, ...) string
- func GetErrorType(header http.Header) string
- func GetEtag(header http.Header) string
- func GetRequestID(header http.Header) string
- func GetSignResourceWithQueries(path string, queries map[string][]string) string
- func GetSignature(key string, method string, req map[string]string, fcResource string) string
- func HasPrefix(s, prefix string) bool
- func IsBlank(s *string) bool
- func MD5(b []byte) string
- func ParameterToString(obj interface{}, collectionFormat string) string
- func TempZipDir(dir string) (string, error)
- func TmpZip(files []string) (string, error)
- func Zip(files []string, target string) error
- func ZipDir(srcDir string, output io.Writer) error
- type AliasCreateObject
- type AliasUpdateObject
- type AsyncConfig
- type AsyncConfigResponse
- type CDNEventsTriggerConfig
- func (ctc *CDNEventsTriggerConfig) WithEventName(eventName string) *CDNEventsTriggerConfig
- func (ctc *CDNEventsTriggerConfig) WithEventVersion(eventVersion string) *CDNEventsTriggerConfig
- func (ctc *CDNEventsTriggerConfig) WithFilter(filter map[string][]string) *CDNEventsTriggerConfig
- func (ctc *CDNEventsTriggerConfig) WithNotes(notes string) *CDNEventsTriggerConfig
- type CertConfig
- type Client
- func (c *Client) CreateAlias(input *CreateAliasInput) (*CreateAliasOutput, error)
- func (c *Client) CreateCustomDomain(input *CreateCustomDomainInput) (*CreateCustomDomainOutput, error)
- func (c *Client) CreateFunction(input *CreateFunctionInput) (*CreateFunctionOutput, error)
- func (c *Client) CreateService(input *CreateServiceInput) (*CreateServiceOutput, error)
- func (c *Client) CreateTrigger(input *CreateTriggerInput) (*CreateTriggerOutput, error)
- func (c *Client) DeleteAlias(input *DeleteAliasInput) (*DeleteAliasOutput, error)
- func (c *Client) DeleteCustomDomain(input *DeleteCustomDomainInput) (*DeleteCustomDomainOutput, error)
- func (c *Client) DeleteFunction(input *DeleteFunctionInput) (*DeleteFunctionOutput, error)
- func (c *Client) DeleteFunctionAsyncInvokeConfig(input *DeleteFunctionAsyncInvokeConfigInput) (*DeleteFunctionAsyncInvokeConfigOutput, error)
- func (c *Client) DeleteLayerVersion(input *DeleteLayerVersionInput) (*DeleteLayerVersionOutput, error)
- func (c *Client) DeleteOnDemandConfig(input *DeleteOnDemandConfigInput) (*DeleteOnDemandConfigOutput, error)
- func (c *Client) DeleteService(input *DeleteServiceInput) (*DeleteServiceOutput, error)
- func (c *Client) DeleteServiceVersion(input *DeleteServiceVersionInput) (*DeleteServiceVersionOutput, error)
- func (c *Client) DeleteTrigger(input *DeleteTriggerInput) (*DeleteTriggerOutput, error)
- func (c *Client) DoHttpRequest(req *http.Request) (*http.Response, error)
- func (c *Client) GetAccountSettings(input *GetAccountSettingsInput) (*GetAccountSettingsOutput, error)
- func (c *Client) GetAlias(input *GetAliasInput) (*GetAliasOutput, error)
- func (c *Client) GetCustomDomain(input *GetCustomDomainInput) (*GetCustomDomainOutput, error)
- func (c *Client) GetFunction(input *GetFunctionInput) (*GetFunctionOutput, error)
- func (c *Client) GetFunctionAsyncInvokeConfig(input *GetFunctionAsyncInvokeConfigInput) (*GetFunctionAsyncInvokeConfigOutput, error)
- func (c *Client) GetFunctionCode(input *GetFunctionCodeInput) (*GetFunctionCodeOutput, error)
- func (c *Client) GetLayerVersion(input *GetLayerVersionInput) (*GetLayerVersionOutput, error)
- func (c *Client) GetLayerVersionByArn(input *GetLayerVersionByArnInput) (*GetLayerVersionOutput, error)
- func (c *Client) GetOnDemandConfig(input *GetOnDemandConfigInput) (*GetOnDemandConfigOutput, error)
- func (c *Client) GetProvisionConfig(input *GetProvisionConfigInput) (*GetProvisionConfigOutput, error)
- func (c *Client) GetResourceTags(input *GetResourceTagsInput) (*GetResourceTagsOut, error)
- func (c *Client) GetService(input *GetServiceInput) (*GetServiceOutput, error)
- func (c *Client) GetStatefulAsyncInvocation(input *GetStatefulAsyncInvocationInput) (*GetStatefulAsyncInvocationOutput, error)
- func (c *Client) GetTempBucketToken() (*GetTempBucketTokenOutput, error)
- func (c *Client) GetTrigger(input *GetTriggerInput) (*GetTriggerOutput, error)
- func (c *Client) InstanceExec(input *InstanceExecInput) (*InstanceExecOutput, error)
- func (c *Client) InvokeFunction(input *InvokeFunctionInput) (*InvokeFunctionOutput, error)
- func (c *Client) ListAliases(input *ListAliasesInput) (*ListAliasesOutput, error)
- func (c *Client) ListCustomDomains(input *ListCustomDomainsInput) (*ListCustomDomainsOutput, error)
- func (c *Client) ListFunctionAsyncInvokeConfigs(input *ListFunctionAsyncInvokeConfigsInput) (*ListFunctionAsyncInvokeConfigsOutput, error)
- func (c *Client) ListFunctions(input *ListFunctionsInput) (*ListFunctionsOutput, error)
- func (c *Client) ListInstances(input *ListInstancesInput) (*ListInstancesOutput, error)
- func (c *Client) ListLayerVersions(input *ListLayerVersionsInput) (*ListLayerVersionsOutput, error)
- func (c *Client) ListLayers(input *ListLayersInput) (*ListLayersOutput, error)
- func (c *Client) ListOnDemandConfigs(input *ListOnDemandConfigsInput) (*ListOnDemandConfigsOutput, error)
- func (c *Client) ListProvisionConfigs(input *ListProvisionConfigsInput) (*ListProvisionConfigsOutput, error)
- func (c *Client) ListReservedCapacities(input *ListReservedCapacitiesInput) (*ListReservedCapacitiesOutput, error)
- func (c *Client) ListServiceVersions(input *ListServiceVersionsInput) (*ListServiceVersionsOutput, error)
- func (c *Client) ListServices(input *ListServicesInput) (*ListServicesOutput, error)
- func (c *Client) ListStatefulAsyncInvocations(input *ListStatefulAsyncInvocationsInput) (*ListStatefulAsyncInvocationsOutput, error)
- func (c *Client) ListTriggers(input *ListTriggersInput) (*ListTriggersOutput, error)
- func (c *Client) PermanentDeleteLayerVersion(input *PermanentDeleteLayerVersionInput) (*PublishPublicLayerVersionOutput, error)
- func (c *Client) PublishLayerVersion(input *PublishLayerVersionInput) (*PublishLayerVersionOutput, error)
- func (c *Client) PublishPublicLayerVersion(input *GetLayerVersionInput) (*PublishPublicLayerVersionOutput, error)
- func (c *Client) PublishServiceVersion(input *PublishServiceVersionInput) (*PublishServiceVersionOutput, error)
- func (c *Client) PutFunctionAsyncInvokeConfig(input *PutFunctionAsyncInvokeConfigInput) (*PutFunctionAsyncInvokeConfigOutput, error)
- func (c *Client) PutOnDemandConfig(input *PutOnDemandConfigInput) (*PutOnDemandConfigOutput, error)
- func (c *Client) PutProvisionConfig(input *PutProvisionConfigInput) (*PutProvisionConfigOutput, error)
- func (c *Client) SignURL(signURLInput *SignURLInput) (string, error)
- func (c *Client) StopStatefulAsyncInvocation(input *StopStatefulAsyncInvocationInput) (*StopStatefulAsyncInvocationOutput, error)
- func (c *Client) TagResource(input *TagResourceInput) (*TagResourceOut, error)
- func (c *Client) UnTagResource(input *UnTagResourceInput) (*UnTagResourceOut, error)
- func (c *Client) UpdateAlias(input *UpdateAliasInput) (*UpdateAliasOutput, error)
- func (c *Client) UpdateCustomDomain(input *UpdateCustomDomainInput) (*UpdateCustomDomainOutput, error)
- func (c *Client) UpdateFunction(input *UpdateFunctionInput) (*UpdateFunctionOutput, error)
- func (c *Client) UpdateService(input *UpdateServiceInput) (*UpdateServiceOutput, error)
- func (c *Client) UpdateTrigger(input *UpdateTriggerInput) (*UpdateTriggerOutput, error)
- type ClientOption
- type Code
- type Config
- type Connection
- type CreateAliasInput
- func (i *CreateAliasInput) GetHeaders() Header
- func (i *CreateAliasInput) GetPath() string
- func (i *CreateAliasInput) GetPayload() interface{}
- func (i *CreateAliasInput) GetQueryParams() url.Values
- func (i *CreateAliasInput) Validate() error
- func (i *CreateAliasInput) WithAdditionalVersionWeight(additionalVersionWeight map[string]float64) *CreateAliasInput
- func (i *CreateAliasInput) WithAliasName(aliasName string) *CreateAliasInput
- func (i *CreateAliasInput) WithDescription(description string) *CreateAliasInput
- func (i *CreateAliasInput) WithVersionID(versionID string) *CreateAliasInput
- type CreateAliasOutput
- type CreateCustomDomainInput
- func (c *CreateCustomDomainInput) GetHeaders() Header
- func (c *CreateCustomDomainInput) GetPath() string
- func (c *CreateCustomDomainInput) GetPayload() interface{}
- func (c *CreateCustomDomainInput) GetQueryParams() url.Values
- func (c *CreateCustomDomainInput) Validate() error
- func (c *CreateCustomDomainInput) WithCertConfig(certConfig *CertConfig) *CreateCustomDomainInput
- func (c *CreateCustomDomainInput) WithDomainName(domainName string) *CreateCustomDomainInput
- func (c *CreateCustomDomainInput) WithProtocol(protocol string) *CreateCustomDomainInput
- func (c *CreateCustomDomainInput) WithRouteConfig(routeConfig *RouteConfig) *CreateCustomDomainInput
- type CreateCustomDomainOutput
- type CreateFunctionInput
- func (i *CreateFunctionInput) GetHeaders() Header
- func (i *CreateFunctionInput) GetPath() string
- func (i *CreateFunctionInput) GetPayload() interface{}
- func (i *CreateFunctionInput) GetQueryParams() url.Values
- func (i *CreateFunctionInput) Validate() error
- func (i *CreateFunctionInput) WithCAPort(caPort int32) *CreateFunctionInput
- func (i *CreateFunctionInput) WithCode(code *Code) *CreateFunctionInput
- func (i *CreateFunctionInput) WithCustomContainerConfig(customContainerConfig *CustomContainerConfig) *CreateFunctionInput
- func (i *CreateFunctionInput) WithDescription(description string) *CreateFunctionInput
- func (i *CreateFunctionInput) WithEnvironmentVariables(env map[string]string) *CreateFunctionInput
- func (i *CreateFunctionInput) WithFunctionName(functionName string) *CreateFunctionInput
- func (i *CreateFunctionInput) WithHandler(handler string) *CreateFunctionInput
- func (i *CreateFunctionInput) WithInitializationTimeout(initializationTimeout int32) *CreateFunctionInput
- func (i *CreateFunctionInput) WithInitializer(initializer string) *CreateFunctionInput
- func (i *CreateFunctionInput) WithInstanceConcurrency(concurrency int32) *CreateFunctionInput
- func (i *CreateFunctionInput) WithInstanceType(instanceType string) *CreateFunctionInput
- func (i *CreateFunctionInput) WithLayers(layers []string) *CreateFunctionInput
- func (i *CreateFunctionInput) WithMemorySize(memory int32) *CreateFunctionInput
- func (i *CreateFunctionInput) WithRuntime(runtime string) *CreateFunctionInput
- func (i *CreateFunctionInput) WithTimeout(timeout int32) *CreateFunctionInput
- type CreateFunctionOutput
- type CreateServiceInput
- func (i *CreateServiceInput) GetHeaders() Header
- func (i *CreateServiceInput) GetPath() string
- func (i *CreateServiceInput) GetPayload() interface{}
- func (i *CreateServiceInput) GetQueryParams() url.Values
- func (i *CreateServiceInput) Validate() error
- func (i *CreateServiceInput) WithDescription(description string) *CreateServiceInput
- func (i *CreateServiceInput) WithInternetAccess(access bool) *CreateServiceInput
- func (i *CreateServiceInput) WithLogConfig(logConfig *LogConfig) *CreateServiceInput
- func (i *CreateServiceInput) WithNASConfig(nasConfig *NASConfig) *CreateServiceInput
- func (i *CreateServiceInput) WithRole(role string) *CreateServiceInput
- func (i *CreateServiceInput) WithServiceName(serviceName string) *CreateServiceInput
- func (i *CreateServiceInput) WithTracingConfig(tracingConfig *TracingConfig) *CreateServiceInput
- func (i *CreateServiceInput) WithVPCConfig(vpcConfig *VPCConfig) *CreateServiceInput
- type CreateServiceOutput
- type CreateTriggerInput
- func (i *CreateTriggerInput) GetHeaders() Header
- func (i *CreateTriggerInput) GetPath() string
- func (i *CreateTriggerInput) GetPayload() interface{}
- func (i *CreateTriggerInput) GetQueryParams() url.Values
- func (i *CreateTriggerInput) Validate() error
- func (i *CreateTriggerInput) WithDescription(desc string) *CreateTriggerInput
- func (i *CreateTriggerInput) WithHeader(key, value string) *CreateTriggerInput
- func (i *CreateTriggerInput) WithInvocationRole(role string) *CreateTriggerInput
- func (i *CreateTriggerInput) WithQualifier(qualifier string) *CreateTriggerInput
- func (i *CreateTriggerInput) WithSourceARN(arn string) *CreateTriggerInput
- func (i *CreateTriggerInput) WithTriggerConfig(config interface{}) *CreateTriggerInput
- func (i *CreateTriggerInput) WithTriggerName(name string) *CreateTriggerInput
- func (i *CreateTriggerInput) WithTriggerType(triggerType string) *CreateTriggerInput
- type CreateTriggerOutput
- type Credentials
- type CustomContainerConfig
- func (c *CustomContainerConfig) WithAccelerationType(accelerationType string) *CustomContainerConfig
- func (c *CustomContainerConfig) WithArgs(args string) *CustomContainerConfig
- func (c *CustomContainerConfig) WithCommand(cmd string) *CustomContainerConfig
- func (c *CustomContainerConfig) WithImage(image string) *CustomContainerConfig
- func (c *CustomContainerConfig) WithInstanceID(instanceID string) *CustomContainerConfig
- type DeleteAliasInput
- func (i *DeleteAliasInput) GetHeaders() Header
- func (i *DeleteAliasInput) GetPath() string
- func (i *DeleteAliasInput) GetPayload() interface{}
- func (i *DeleteAliasInput) GetQueryParams() url.Values
- func (i *DeleteAliasInput) Validate() error
- func (s *DeleteAliasInput) WithIfMatch(ifMatch string) *DeleteAliasInput
- type DeleteAliasOutput
- type DeleteCustomDomainInput
- type DeleteCustomDomainOutput
- type DeleteFunctionAsyncInvokeConfigInput
- func (i *DeleteFunctionAsyncInvokeConfigInput) GetHeaders() Header
- func (i *DeleteFunctionAsyncInvokeConfigInput) GetPath() string
- func (i *DeleteFunctionAsyncInvokeConfigInput) GetPayload() interface{}
- func (i *DeleteFunctionAsyncInvokeConfigInput) GetQueryParams() url.Values
- func (i *DeleteFunctionAsyncInvokeConfigInput) Validate() error
- func (i *DeleteFunctionAsyncInvokeConfigInput) WithQualifier(qualifier string) *DeleteFunctionAsyncInvokeConfigInput
- type DeleteFunctionAsyncInvokeConfigOutput
- type DeleteFunctionInput
- func (i *DeleteFunctionInput) GetHeaders() Header
- func (i *DeleteFunctionInput) GetPath() string
- func (i *DeleteFunctionInput) GetPayload() interface{}
- func (i *DeleteFunctionInput) GetQueryParams() url.Values
- func (i *DeleteFunctionInput) Validate() error
- func (i *DeleteFunctionInput) WithHeader(key, value string) *DeleteFunctionInput
- func (s *DeleteFunctionInput) WithIfMatch(ifMatch string) *DeleteFunctionInput
- type DeleteFunctionOutput
- type DeleteLayerVersionInput
- type DeleteLayerVersionOutput
- type DeleteOnDemandConfigInput
- func (i *DeleteOnDemandConfigInput) GetHeaders() Header
- func (i *DeleteOnDemandConfigInput) GetPath() string
- func (i *DeleteOnDemandConfigInput) GetPayload() interface{}
- func (i *DeleteOnDemandConfigInput) GetQueryParams() url.Values
- func (i *DeleteOnDemandConfigInput) Validate() error
- func (s *DeleteOnDemandConfigInput) WithIfMatch(ifMatch string) *DeleteOnDemandConfigInput
- type DeleteOnDemandConfigOutput
- type DeleteServiceInput
- func (i *DeleteServiceInput) GetHeaders() Header
- func (i *DeleteServiceInput) GetPath() string
- func (i *DeleteServiceInput) GetPayload() interface{}
- func (i *DeleteServiceInput) GetQueryParams() url.Values
- func (i *DeleteServiceInput) Validate() error
- func (i *DeleteServiceInput) WithIfMatch(ifMatch string) *DeleteServiceInput
- type DeleteServiceOutput
- type DeleteServiceVersionInput
- type DeleteServiceVersionOutput
- type DeleteTriggerInput
- func (i *DeleteTriggerInput) GetHeaders() Header
- func (i *DeleteTriggerInput) GetPath() string
- func (i *DeleteTriggerInput) GetPayload() interface{}
- func (i *DeleteTriggerInput) GetQueryParams() url.Values
- func (i *DeleteTriggerInput) Validate() error
- func (i *DeleteTriggerInput) WithHeader(key, value string) *DeleteTriggerInput
- func (s *DeleteTriggerInput) WithIfMatch(ifMatch string) *DeleteTriggerInput
- type DeleteTriggerOutput
- type Destination
- type DestinationConfig
- type EventBridgeTriggerConfig
- func (ebtc *EventBridgeTriggerConfig) WithAsyncInvocationType(asyncInvocationType bool) *EventBridgeTriggerConfig
- func (ebtc *EventBridgeTriggerConfig) WithEventRuleFilterPattern(eventRuleFilterPattern string) *EventBridgeTriggerConfig
- func (ebtc *EventBridgeTriggerConfig) WithEventSourceConfig(eventSourceConfig *EventSourceConfig) *EventBridgeTriggerConfig
- func (ebtc *EventBridgeTriggerConfig) WithTriggerEnable(triggerEnable bool) *EventBridgeTriggerConfig
- type EventSourceConfig
- type EventSourceParameters
- func (esp *EventSourceParameters) WithSourceMNSParameters(sourceMNSParameters *SourceMNSParameters) *EventSourceParameters
- func (esp *EventSourceParameters) WithSourceRabbitMQParameters(sourceRabbitMQParameters *SourceRabbitMQParameters) *EventSourceParameters
- func (esp *EventSourceParameters) WithSourceRocketMQParameters(sourceRocketMQParameters *SourceRocketMQParameters) *EventSourceParameters
- type FunctionCreateObject
- type FunctionUpdateObject
- type GetAccountSettingsInput
- type GetAccountSettingsOutput
- type GetAliasInput
- type GetAliasOutput
- type GetCustomDomainInput
- type GetCustomDomainOutput
- type GetFunctionAsyncInvokeConfigInput
- func (i *GetFunctionAsyncInvokeConfigInput) GetHeaders() Header
- func (i *GetFunctionAsyncInvokeConfigInput) GetPath() string
- func (i *GetFunctionAsyncInvokeConfigInput) GetPayload() interface{}
- func (i *GetFunctionAsyncInvokeConfigInput) GetQueryParams() url.Values
- func (i *GetFunctionAsyncInvokeConfigInput) Validate() error
- func (i *GetFunctionAsyncInvokeConfigInput) WithQualifier(qualifier string) *GetFunctionAsyncInvokeConfigInput
- type GetFunctionAsyncInvokeConfigOutput
- type GetFunctionCodeInput
- type GetFunctionCodeOutput
- type GetFunctionInput
- func (i *GetFunctionInput) GetHeaders() Header
- func (i *GetFunctionInput) GetPath() string
- func (i *GetFunctionInput) GetPayload() interface{}
- func (i *GetFunctionInput) GetQueryParams() url.Values
- func (i *GetFunctionInput) Validate() error
- func (i *GetFunctionInput) WithQualifier(qualifier string) *GetFunctionInput
- type GetFunctionOutput
- type GetLayerVersionByArnInput
- type GetLayerVersionInput
- type GetLayerVersionOutput
- type GetOnDemandConfigInput
- type GetOnDemandConfigOutput
- type GetProvisionConfigInput
- type GetProvisionConfigOutput
- type GetResourceTagsInput
- func (t *GetResourceTagsInput) GetHeaders() Header
- func (t *GetResourceTagsInput) GetPath() string
- func (t *GetResourceTagsInput) GetPayload() interface{}
- func (t *GetResourceTagsInput) GetQueryParams() url.Values
- func (t *GetResourceTagsInput) Validate() error
- func (s *GetResourceTagsInput) WithResourceArn(resourceArn string) *GetResourceTagsInput
- type GetResourceTagsOut
- type GetServiceInput
- func (i *GetServiceInput) GetHeaders() Header
- func (i *GetServiceInput) GetPath() string
- func (i *GetServiceInput) GetPayload() interface{}
- func (i *GetServiceInput) GetQueryParams() url.Values
- func (i *GetServiceInput) Validate() error
- func (i *GetServiceInput) WithQualifier(qualifier string) *GetServiceInput
- type GetServiceOutput
- type GetStatefulAsyncInvocationInput
- func (i *GetStatefulAsyncInvocationInput) GetHeaders() Header
- func (i *GetStatefulAsyncInvocationInput) GetPath() string
- func (i *GetStatefulAsyncInvocationInput) GetPayload() interface{}
- func (i *GetStatefulAsyncInvocationInput) GetQueryParams() url.Values
- func (i *GetStatefulAsyncInvocationInput) Validate() error
- func (i *GetStatefulAsyncInvocationInput) WithQualifier(qualifier string) *GetStatefulAsyncInvocationInput
- type GetStatefulAsyncInvocationOutput
- type GetTempBucketTokenInput
- type GetTempBucketTokenOutput
- type GetTriggerInput
- func (i *GetTriggerInput) GetHeaders() Header
- func (i *GetTriggerInput) GetPath() string
- func (i *GetTriggerInput) GetPayload() interface{}
- func (i *GetTriggerInput) GetQueryParams() url.Values
- func (i *GetTriggerInput) Validate() error
- func (i *GetTriggerInput) WithHeader(key, value string) *GetTriggerInput
- type GetTriggerOutput
- type HTTPTriggerConfig
- type Header
- type Instance
- type InstanceExecInput
- func (i *InstanceExecInput) GetHeaders() Header
- func (i *InstanceExecInput) GetPath() string
- func (i *InstanceExecInput) GetPayload() interface{}
- func (i *InstanceExecInput) GetQueryParams() url.Values
- func (i *InstanceExecInput) OnStderr(callback MessageCallbackFunction) *InstanceExecInput
- func (i *InstanceExecInput) OnStdout(callback MessageCallbackFunction) *InstanceExecInput
- func (i *InstanceExecInput) Validate() error
- func (i *InstanceExecInput) WithCommand(command []string) *InstanceExecInput
- func (i *InstanceExecInput) WithFunctionName(functionName string) *InstanceExecInput
- func (i *InstanceExecInput) WithIdleTimeout(idleTimeout int) *InstanceExecInput
- func (i *InstanceExecInput) WithInstance(instanceID string) *InstanceExecInput
- func (i *InstanceExecInput) WithQualifier(qualifier string) *InstanceExecInput
- func (i *InstanceExecInput) WithServiceName(serviceName string) *InstanceExecInput
- func (i *InstanceExecInput) WithStderr(stderr bool) *InstanceExecInput
- func (i *InstanceExecInput) WithStdin(stdin bool) *InstanceExecInput
- func (i *InstanceExecInput) WithStdout(stdout bool) *InstanceExecInput
- func (i *InstanceExecInput) WithTTY(tty bool) *InstanceExecInput
- type InstanceExecOutput
- type InvokeFunctionInput
- func (i *InvokeFunctionInput) GetHeaders() Header
- func (i *InvokeFunctionInput) GetPath() string
- func (i *InvokeFunctionInput) GetPayload() interface{}
- func (i *InvokeFunctionInput) GetQueryParams() url.Values
- func (i *InvokeFunctionInput) Validate() error
- func (i *InvokeFunctionInput) WithAsyncInvocation() *InvokeFunctionInput
- func (i *InvokeFunctionInput) WithHeader(key, value string) *InvokeFunctionInput
- func (i *InvokeFunctionInput) WithInvocationType(invocationType string) *InvokeFunctionInput
- func (i *InvokeFunctionInput) WithLogType(logType string) *InvokeFunctionInput
- func (i *InvokeFunctionInput) WithPayload(payload []byte) *InvokeFunctionInput
- func (i *InvokeFunctionInput) WithQualifier(qualifier string) *InvokeFunctionInput
- func (i *InvokeFunctionInput) WithStatefulAsyncInvocationID(id string) *InvokeFunctionInput
- func (i *InvokeFunctionInput) WithSyncInvocation() *InvokeFunctionInput
- type InvokeFunctionOutput
- type JaegerConfig
- type JobConfig
- type JobLogConfig
- type Layer
- type ListAliasesInput
- func (i *ListAliasesInput) GetHeaders() Header
- func (i *ListAliasesInput) GetPath() string
- func (i *ListAliasesInput) GetPayload() interface{}
- func (i *ListAliasesInput) GetQueryParams() url.Values
- func (i *ListAliasesInput) Validate() error
- func (i *ListAliasesInput) WithLimit(limit int32) *ListAliasesInput
- func (i *ListAliasesInput) WithNextToken(nextToken string) *ListAliasesInput
- func (i *ListAliasesInput) WithPrefix(prefix string) *ListAliasesInput
- func (i *ListAliasesInput) WithStartKey(startKey string) *ListAliasesInput
- type ListAliasesOutput
- type ListCustomDomainsInput
- func (i *ListCustomDomainsInput) GetHeaders() Header
- func (i *ListCustomDomainsInput) GetPath() string
- func (i *ListCustomDomainsInput) GetPayload() interface{}
- func (i *ListCustomDomainsInput) GetQueryParams() url.Values
- func (i *ListCustomDomainsInput) Validate() error
- func (i *ListCustomDomainsInput) WithLimit(limit int32) *ListCustomDomainsInput
- func (i *ListCustomDomainsInput) WithNextToken(nextToken string) *ListCustomDomainsInput
- func (i *ListCustomDomainsInput) WithPrefix(prefix string) *ListCustomDomainsInput
- func (i *ListCustomDomainsInput) WithStartKey(startKey string) *ListCustomDomainsInput
- type ListCustomDomainsOutput
- type ListFunctionAsyncInvokeConfigsInput
- func (i *ListFunctionAsyncInvokeConfigsInput) GetHeaders() Header
- func (i *ListFunctionAsyncInvokeConfigsInput) GetPath() string
- func (i *ListFunctionAsyncInvokeConfigsInput) GetPayload() interface{}
- func (i *ListFunctionAsyncInvokeConfigsInput) GetQueryParams() url.Values
- func (i *ListFunctionAsyncInvokeConfigsInput) Validate() error
- func (i *ListFunctionAsyncInvokeConfigsInput) WithLimit(limit int32) *ListFunctionAsyncInvokeConfigsInput
- func (i *ListFunctionAsyncInvokeConfigsInput) WithNextToken(nextToken string) *ListFunctionAsyncInvokeConfigsInput
- type ListFunctionAsyncInvokeConfigsOutput
- type ListFunctionsInput
- func (i *ListFunctionsInput) GetHeaders() Header
- func (i *ListFunctionsInput) GetPath() string
- func (i *ListFunctionsInput) GetPayload() interface{}
- func (i *ListFunctionsInput) GetQueryParams() url.Values
- func (i *ListFunctionsInput) Validate() error
- func (i *ListFunctionsInput) WithLimit(limit int32) *ListFunctionsInput
- func (i *ListFunctionsInput) WithNextToken(nextToken string) *ListFunctionsInput
- func (i *ListFunctionsInput) WithPrefix(prefix string) *ListFunctionsInput
- func (i *ListFunctionsInput) WithQualifier(qualifier string) *ListFunctionsInput
- func (i *ListFunctionsInput) WithStartKey(startKey string) *ListFunctionsInput
- type ListFunctionsOutput
- type ListInstancesInput
- func (i ListInstancesInput) GetHeaders() Header
- func (i ListInstancesInput) GetPath() string
- func (i ListInstancesInput) GetPayload() interface{}
- func (i ListInstancesInput) GetQueryParams() url.Values
- func (i ListInstancesInput) Validate() error
- func (i *ListInstancesInput) WithFunctionName(functionName string) *ListInstancesInput
- func (i *ListInstancesInput) WithLimit(limit int) *ListInstancesInput
- func (i *ListInstancesInput) WithNextToken(nextToken string) *ListInstancesInput
- func (i *ListInstancesInput) WithQualifier(qualifier string) *ListInstancesInput
- func (i *ListInstancesInput) WithServiceName(serviceName string) *ListInstancesInput
- type ListInstancesOutput
- type ListLayerVersionsInput
- func (i *ListLayerVersionsInput) GetHeaders() Header
- func (i *ListLayerVersionsInput) GetPath() string
- func (i *ListLayerVersionsInput) GetPayload() interface{}
- func (i *ListLayerVersionsInput) GetQueryParams() url.Values
- func (i *ListLayerVersionsInput) Validate() error
- func (i *ListLayerVersionsInput) WithLimit(limit int32) *ListLayerVersionsInput
- type ListLayerVersionsOutput
- type ListLayersInput
- func (i *ListLayersInput) GetHeaders() Header
- func (i *ListLayersInput) GetPath() string
- func (i *ListLayersInput) GetPayload() interface{}
- func (i *ListLayersInput) GetQueryParams() url.Values
- func (i *ListLayersInput) Validate() error
- func (i *ListLayersInput) WithLimit(limit int32) *ListLayersInput
- func (i *ListLayersInput) WithNextToken(nextToken string) *ListLayersInput
- func (i *ListLayersInput) WithPrefix(prefix string) *ListLayersInput
- func (i *ListLayersInput) WithPublic(public bool) *ListLayersInput
- func (i *ListLayersInput) WithStartKey(startKey string) *ListLayersInput
- type ListLayersOutput
- type ListOnDemandConfigsInput
- func (i *ListOnDemandConfigsInput) GetHeaders() Header
- func (i *ListOnDemandConfigsInput) GetPath() string
- func (i *ListOnDemandConfigsInput) GetPayload() interface{}
- func (i *ListOnDemandConfigsInput) GetQueryParams() url.Values
- func (i *ListOnDemandConfigsInput) Validate() error
- func (i *ListOnDemandConfigsInput) WithLimit(limit int) *ListOnDemandConfigsInput
- func (i *ListOnDemandConfigsInput) WithNextToken(nextToken string) *ListOnDemandConfigsInput
- func (i *ListOnDemandConfigsInput) WithPrefix(prefix string) *ListOnDemandConfigsInput
- func (i *ListOnDemandConfigsInput) WithStartKey(startKey string) *ListOnDemandConfigsInput
- type ListOnDemandConfigsOutput
- type ListProvisionConfigsInput
- func (i *ListProvisionConfigsInput) GetHeaders() Header
- func (i *ListProvisionConfigsInput) GetPath() string
- func (i *ListProvisionConfigsInput) GetPayload() interface{}
- func (i *ListProvisionConfigsInput) GetQueryParams() url.Values
- func (i *ListProvisionConfigsInput) Validate() error
- func (i *ListProvisionConfigsInput) WithLimit(limit int32) *ListProvisionConfigsInput
- func (i *ListProvisionConfigsInput) WithNextToken(nextToken string) *ListProvisionConfigsInput
- func (i *ListProvisionConfigsInput) WithQualifier(qualifier string) *ListProvisionConfigsInput
- func (i *ListProvisionConfigsInput) WithServiceName(serviceName string) *ListProvisionConfigsInput
- type ListProvisionConfigsOutput
- type ListReservedCapacitiesInput
- func (i *ListReservedCapacitiesInput) GetHeaders() Header
- func (i *ListReservedCapacitiesInput) GetPath() string
- func (i *ListReservedCapacitiesInput) GetPayload() interface{}
- func (i *ListReservedCapacitiesInput) GetQueryParams() url.Values
- func (i *ListReservedCapacitiesInput) Validate() error
- func (i *ListReservedCapacitiesInput) WithLimit(limit int32) *ListReservedCapacitiesInput
- func (i *ListReservedCapacitiesInput) WithNextToken(nextToken string) *ListReservedCapacitiesInput
- type ListReservedCapacitiesOutput
- type ListServiceVersionsInput
- func (i *ListServiceVersionsInput) GetHeaders() Header
- func (i *ListServiceVersionsInput) GetPath() string
- func (i *ListServiceVersionsInput) GetPayload() interface{}
- func (i *ListServiceVersionsInput) GetQueryParams() url.Values
- func (i *ListServiceVersionsInput) Validate() error
- func (i *ListServiceVersionsInput) WithBackwardDirection() *ListServiceVersionsInput
- func (i *ListServiceVersionsInput) WithForwardDirection() *ListServiceVersionsInput
- func (i *ListServiceVersionsInput) WithLimit(limit int32) *ListServiceVersionsInput
- func (i *ListServiceVersionsInput) WithNextToken(nextToken string) *ListServiceVersionsInput
- func (i *ListServiceVersionsInput) WithStartKey(startKey string) *ListServiceVersionsInput
- type ListServiceVersionsOutput
- type ListServicesInput
- func (i *ListServicesInput) GetHeaders() Header
- func (i *ListServicesInput) GetPath() string
- func (i *ListServicesInput) GetPayload() interface{}
- func (i *ListServicesInput) GetQueryParams() url.Values
- func (i *ListServicesInput) Validate() error
- func (i *ListServicesInput) WithLimit(limit int32) *ListServicesInput
- func (i *ListServicesInput) WithNextToken(nextToken string) *ListServicesInput
- func (i *ListServicesInput) WithPrefix(prefix string) *ListServicesInput
- func (i *ListServicesInput) WithStartKey(startKey string) *ListServicesInput
- func (i *ListServicesInput) WithTags(tags map[string]string) *ListServicesInput
- type ListServicesOutput
- type ListStatefulAsyncInvocationsInput
- func (i *ListStatefulAsyncInvocationsInput) GetHeaders() Header
- func (i *ListStatefulAsyncInvocationsInput) GetPath() string
- func (i *ListStatefulAsyncInvocationsInput) GetPayload() interface{}
- func (i *ListStatefulAsyncInvocationsInput) GetQueryParams() url.Values
- func (i *ListStatefulAsyncInvocationsInput) Validate() error
- func (i *ListStatefulAsyncInvocationsInput) WithIncludePayload(includePayload bool) *ListStatefulAsyncInvocationsInput
- func (i *ListStatefulAsyncInvocationsInput) WithInvocationIDPrefix(prefix string) *ListStatefulAsyncInvocationsInput
- func (i *ListStatefulAsyncInvocationsInput) WithLimit(limit int32) *ListStatefulAsyncInvocationsInput
- func (i *ListStatefulAsyncInvocationsInput) WithNextToken(nextToken string) *ListStatefulAsyncInvocationsInput
- func (i *ListStatefulAsyncInvocationsInput) WithQualifier(qualifier string) *ListStatefulAsyncInvocationsInput
- func (i *ListStatefulAsyncInvocationsInput) WithSortOrderByTime(sortOrder string) *ListStatefulAsyncInvocationsInput
- func (i *ListStatefulAsyncInvocationsInput) WithStartedTimeBegin(startedTimeBegin int64) *ListStatefulAsyncInvocationsInput
- func (i *ListStatefulAsyncInvocationsInput) WithStartedTimeEnd(startedTimeEnd int64) *ListStatefulAsyncInvocationsInput
- func (i *ListStatefulAsyncInvocationsInput) WithStatus(status string) *ListStatefulAsyncInvocationsInput
- type ListStatefulAsyncInvocationsOutput
- type ListTriggersInput
- func (i *ListTriggersInput) GetHeaders() Header
- func (i *ListTriggersInput) GetPath() string
- func (i *ListTriggersInput) GetPayload() interface{}
- func (i *ListTriggersInput) GetQueryParams() url.Values
- func (i *ListTriggersInput) Validate() error
- func (i *ListTriggersInput) WithHeader(key, value string) *ListTriggersInput
- func (i *ListTriggersInput) WithLimit(limit int32) *ListTriggersInput
- func (i *ListTriggersInput) WithNextToken(nextToken string) *ListTriggersInput
- func (i *ListTriggersInput) WithPrefix(prefix string) *ListTriggersInput
- func (i *ListTriggersInput) WithStartKey(startKey string) *ListTriggersInput
- type ListTriggersOutput
- type LogConfig
- type LogTriggerConfig
- func (ltc *LogTriggerConfig) WithEnable(enable bool) *LogTriggerConfig
- func (ltc *LogTriggerConfig) WithFunctionParameter(p map[string]interface{}) *LogTriggerConfig
- func (ltc *LogTriggerConfig) WithJobConfig(c *JobConfig) *LogTriggerConfig
- func (ltc *LogTriggerConfig) WithLogConfig(c *JobLogConfig) *LogTriggerConfig
- func (ltc *LogTriggerConfig) WithSourceConfig(c *SourceConfig) *LogTriggerConfig
- type MessageCallbackFunction
- type MnsTopicTriggerConfig
- type NASConfig
- type NASMountConfig
- type OSSEvent
- type OSSTriggerConfig
- func (c *OSSTriggerConfig) WithEvents(events []string) *OSSTriggerConfig
- func (c *OSSTriggerConfig) WithFilter(filter *OSSTriggerFilter) *OSSTriggerConfig
- func (c *OSSTriggerConfig) WithFilterKeyPrefix(prefix string) *OSSTriggerConfig
- func (c *OSSTriggerConfig) WithFilterKeySuffix(suffix string) *OSSTriggerConfig
- type OSSTriggerFilter
- type OSSTriggerKey
- type OnDemandConfig
- type OnDemandConfigs
- type OutputCodeLocation
- type PathConfig
- func (p *PathConfig) WithFunctionName(functionName string) *PathConfig
- func (p *PathConfig) WithMethods(methods []string) *PathConfig
- func (p *PathConfig) WithPath(path string) *PathConfig
- func (p *PathConfig) WithQualifier(qualifier string) *PathConfig
- func (p *PathConfig) WithServiceName(serviceName string) *PathConfig
- type PermanentDeleteLayerVersionInput
- func (i *PermanentDeleteLayerVersionInput) GetHeaders() Header
- func (i *PermanentDeleteLayerVersionInput) GetPath() string
- func (i *PermanentDeleteLayerVersionInput) GetPayload() interface{}
- func (i *PermanentDeleteLayerVersionInput) GetQueryParams() url.Values
- func (i *PermanentDeleteLayerVersionInput) Validate() error
- type PublishLayerVersionInput
- func (i *PublishLayerVersionInput) GetHeaders() Header
- func (i *PublishLayerVersionInput) GetPath() string
- func (i *PublishLayerVersionInput) GetPayload() interface{}
- func (i *PublishLayerVersionInput) GetQueryParams() url.Values
- func (o PublishLayerVersionInput) String() string
- func (i *PublishLayerVersionInput) Validate() error
- func (s *PublishLayerVersionInput) WithCode(code *Code) *PublishLayerVersionInput
- func (s *PublishLayerVersionInput) WithCompatibleRuntime(compatibleRuntime []string) *PublishLayerVersionInput
- func (s *PublishLayerVersionInput) WithDescription(description string) *PublishLayerVersionInput
- func (s *PublishLayerVersionInput) WithLayerName(layerName string) *PublishLayerVersionInput
- type PublishLayerVersionOutput
- type PublishPublicLayerVersionOutput
- type PublishServiceVersionInput
- func (i *PublishServiceVersionInput) GetHeaders() Header
- func (i *PublishServiceVersionInput) GetPath() string
- func (i *PublishServiceVersionInput) GetPayload() interface{}
- func (i *PublishServiceVersionInput) GetQueryParams() url.Values
- func (i *PublishServiceVersionInput) Validate() error
- func (i *PublishServiceVersionInput) WithDescription(description string) *PublishServiceVersionInput
- func (i *PublishServiceVersionInput) WithIfMatch(ifMatch string) *PublishServiceVersionInput
- type PublishServiceVersionOutput
- type PutFunctionAsyncInvokeConfigInput
- func (i *PutFunctionAsyncInvokeConfigInput) GetHeaders() Header
- func (i *PutFunctionAsyncInvokeConfigInput) GetPath() string
- func (i *PutFunctionAsyncInvokeConfigInput) GetPayload() interface{}
- func (i *PutFunctionAsyncInvokeConfigInput) GetQueryParams() url.Values
- func (i *PutFunctionAsyncInvokeConfigInput) Validate() error
- func (i *PutFunctionAsyncInvokeConfigInput) WithAsyncConfig(config AsyncConfig) *PutFunctionAsyncInvokeConfigInput
- func (i *PutFunctionAsyncInvokeConfigInput) WithQualifier(qualifier string) *PutFunctionAsyncInvokeConfigInput
- type PutFunctionAsyncInvokeConfigOutput
- type PutOnDemandConfigInput
- func (i *PutOnDemandConfigInput) GetHeaders() Header
- func (i *PutOnDemandConfigInput) GetPath() string
- func (i *PutOnDemandConfigInput) GetPayload() interface{}
- func (i *PutOnDemandConfigInput) GetQueryParams() url.Values
- func (i *PutOnDemandConfigInput) Validate() error
- func (i *PutOnDemandConfigInput) WithIfMatch(ifMatch string) *PutOnDemandConfigInput
- func (i *PutOnDemandConfigInput) WithMaximumInstanceCount(maximumInstanceCount int64) *PutOnDemandConfigInput
- type PutOnDemandConfigObject
- type PutOnDemandConfigOutput
- type PutProvisionConfigInput
- func (i *PutProvisionConfigInput) GetHeaders() Header
- func (i *PutProvisionConfigInput) GetPath() string
- func (i *PutProvisionConfigInput) GetPayload() interface{}
- func (i *PutProvisionConfigInput) GetQueryParams() url.Values
- func (i *PutProvisionConfigInput) Validate() error
- func (i *PutProvisionConfigInput) WithIfMatch(ifMatch string) *PutProvisionConfigInput
- func (i *PutProvisionConfigInput) WithTarget(target int64) *PutProvisionConfigInput
- type PutProvisionConfigObject
- type PutProvisionConfigOutput
- type Query
- type RouteConfig
- type ServiceError
- type ServiceInput
- type ServiceUpdateObject
- type ServiceVersionPublishObject
- type SignURLInput
- func (s *SignURLInput) WithCustomEndpoint(customEndpoint string) *SignURLInput
- func (s *SignURLInput) WithEscapedPath(esapedPath string) *SignURLInput
- func (s *SignURLInput) WithHeader(header http.Header) *SignURLInput
- func (s *SignURLInput) WithQualifier(qualifier string) *SignURLInput
- func (s *SignURLInput) WithQueries(queries url.Values) *SignURLInput
- type SourceConfig
- type SourceMNSParameters
- type SourceRabbitMQParameters
- func (rabbit *SourceRabbitMQParameters) WithInstanceId(instanceId string) *SourceRabbitMQParameters
- func (rabbit *SourceRabbitMQParameters) WithQueueName(queueName string) *SourceRabbitMQParameters
- func (rabbit *SourceRabbitMQParameters) WithRegionId(regionId string) *SourceRabbitMQParameters
- func (rabbit *SourceRabbitMQParameters) WithVirtualHostName(virtualHostName string) *SourceRabbitMQParameters
- type SourceRocketMQParameters
- func (rocket *SourceRocketMQParameters) WithGroupID(groupID string) *SourceRocketMQParameters
- func (rocket *SourceRocketMQParameters) WithInstanceId(instanceId string) *SourceRocketMQParameters
- func (rocket *SourceRocketMQParameters) WithOffset(offset string) *SourceRocketMQParameters
- func (rocket *SourceRocketMQParameters) WithRegionId(regionId string) *SourceRocketMQParameters
- func (rocket *SourceRocketMQParameters) WithTag(tag string) *SourceRocketMQParameters
- func (rocket *SourceRocketMQParameters) WithTimestamp(timestamp int) *SourceRocketMQParameters
- func (rocket *SourceRocketMQParameters) WithTopic(topic string) *SourceRocketMQParameters
- type StatefulAsyncInvocation
- type StatefulAsyncInvocationResponse
- type StopStatefulAsyncInvocationInput
- func (i *StopStatefulAsyncInvocationInput) GetHeaders() Header
- func (i *StopStatefulAsyncInvocationInput) GetPath() string
- func (i *StopStatefulAsyncInvocationInput) GetPayload() interface{}
- func (i *StopStatefulAsyncInvocationInput) GetQueryParams() url.Values
- func (i *StopStatefulAsyncInvocationInput) Validate() error
- func (i *StopStatefulAsyncInvocationInput) WithQualifier(qualifier string) *StopStatefulAsyncInvocationInput
- type StopStatefulAsyncInvocationOutput
- type TableStoreTriggerConfig
- type TagResourceInput
- func (t *TagResourceInput) GetHeaders() Header
- func (t *TagResourceInput) GetPath() string
- func (t *TagResourceInput) GetPayload() interface{}
- func (t *TagResourceInput) GetQueryParams() url.Values
- func (t *TagResourceInput) Validate() error
- func (s *TagResourceInput) WithResourceArn(resourceArn string) *TagResourceInput
- func (s *TagResourceInput) WithTags(tags map[string]string) *TagResourceInput
- type TagResourceOut
- type TimeTriggerConfig
- type TracingConfig
- type TriggerCreateObject
- type TriggerUpdateObject
- type UnTagResourceInput
- func (t *UnTagResourceInput) GetHeaders() Header
- func (t *UnTagResourceInput) GetPath() string
- func (t *UnTagResourceInput) GetPayload() interface{}
- func (t *UnTagResourceInput) GetQueryParams() url.Values
- func (t *UnTagResourceInput) Validate() error
- func (s *UnTagResourceInput) WithAll(all bool) *UnTagResourceInput
- func (s *UnTagResourceInput) WithResourceArn(resourceArn string) *UnTagResourceInput
- func (s *UnTagResourceInput) WithTagKeys(tagKeys []string) *UnTagResourceInput
- type UnTagResourceOut
- type UpdateAliasInput
- func (i *UpdateAliasInput) GetHeaders() Header
- func (i *UpdateAliasInput) GetPath() string
- func (i *UpdateAliasInput) GetPayload() interface{}
- func (i *UpdateAliasInput) GetQueryParams() url.Values
- func (i *UpdateAliasInput) Validate() error
- func (s *UpdateAliasInput) WithAdditionalVersionWeight(additionalVersionWeight map[string]float64) *UpdateAliasInput
- func (s *UpdateAliasInput) WithDescription(description string) *UpdateAliasInput
- func (s *UpdateAliasInput) WithIfMatch(ifMatch string) *UpdateAliasInput
- func (s *UpdateAliasInput) WithVersionID(versionID string) *UpdateAliasInput
- type UpdateAliasOutput
- type UpdateCustomDomainInput
- func (c *UpdateCustomDomainInput) GetHeaders() Header
- func (c *UpdateCustomDomainInput) GetPath() string
- func (c *UpdateCustomDomainInput) GetPayload() interface{}
- func (c *UpdateCustomDomainInput) GetQueryParams() url.Values
- func (c *UpdateCustomDomainInput) Validate() error
- func (c *UpdateCustomDomainInput) WithCertConfig(certConfig *CertConfig) *UpdateCustomDomainInput
- func (c *UpdateCustomDomainInput) WithProtocol(protocol string) *UpdateCustomDomainInput
- func (c *UpdateCustomDomainInput) WithRouteConfig(routeConfig *RouteConfig) *UpdateCustomDomainInput
- type UpdateCustomDomainObject
- type UpdateCustomDomainOutput
- type UpdateFunctionInput
- func (i *UpdateFunctionInput) GetHeaders() Header
- func (i *UpdateFunctionInput) GetPath() string
- func (i *UpdateFunctionInput) GetPayload() interface{}
- func (i *UpdateFunctionInput) GetQueryParams() url.Values
- func (i *UpdateFunctionInput) Validate() error
- func (i *UpdateFunctionInput) WithCAPort(caPort int32) *UpdateFunctionInput
- func (i *UpdateFunctionInput) WithCode(code *Code) *UpdateFunctionInput
- func (i *UpdateFunctionInput) WithCustomContainerConfig(customContainerConfig *CustomContainerConfig) *UpdateFunctionInput
- func (i *UpdateFunctionInput) WithDescription(description string) *UpdateFunctionInput
- func (i *UpdateFunctionInput) WithEnvironmentVariables(env map[string]string) *UpdateFunctionInput
- func (i *UpdateFunctionInput) WithHandler(handler string) *UpdateFunctionInput
- func (s *UpdateFunctionInput) WithIfMatch(ifMatch string) *UpdateFunctionInput
- func (i *UpdateFunctionInput) WithInitializationTimeout(initializationTimeout int32) *UpdateFunctionInput
- func (i *UpdateFunctionInput) WithInitializer(initializer string) *UpdateFunctionInput
- func (i *UpdateFunctionInput) WithInstanceConcurrency(limit int32) *UpdateFunctionInput
- func (i *UpdateFunctionInput) WithInstanceType(instanceType string) *UpdateFunctionInput
- func (i *UpdateFunctionInput) WithLayers(layers []string) *UpdateFunctionInput
- func (i *UpdateFunctionInput) WithMemorySize(memory int32) *UpdateFunctionInput
- func (i *UpdateFunctionInput) WithRuntime(runtime string) *UpdateFunctionInput
- func (i *UpdateFunctionInput) WithTimeout(timeout int32) *UpdateFunctionInput
- type UpdateFunctionOutput
- type UpdateServiceInput
- func (i *UpdateServiceInput) GetHeaders() Header
- func (i *UpdateServiceInput) GetPath() string
- func (i *UpdateServiceInput) GetPayload() interface{}
- func (i *UpdateServiceInput) GetQueryParams() url.Values
- func (i *UpdateServiceInput) Validate() error
- func (i *UpdateServiceInput) WithDescription(description string) *UpdateServiceInput
- func (i *UpdateServiceInput) WithIfMatch(ifMatch string) *UpdateServiceInput
- func (i *UpdateServiceInput) WithInternetAccess(access bool) *UpdateServiceInput
- func (i *UpdateServiceInput) WithLogConfig(logConfig *LogConfig) *UpdateServiceInput
- func (i *UpdateServiceInput) WithNASConfig(nasConfig *NASConfig) *UpdateServiceInput
- func (i *UpdateServiceInput) WithRole(role string) *UpdateServiceInput
- func (i *UpdateServiceInput) WithTracingConfig(tracingConfig *TracingConfig) *UpdateServiceInput
- func (i *UpdateServiceInput) WithVPCConfig(vpcConfig *VPCConfig) *UpdateServiceInput
- type UpdateServiceOutput
- type UpdateTriggerInput
- func (i *UpdateTriggerInput) GetHeaders() Header
- func (i *UpdateTriggerInput) GetPath() string
- func (i *UpdateTriggerInput) GetPayload() interface{}
- func (i *UpdateTriggerInput) GetQueryParams() url.Values
- func (i *UpdateTriggerInput) Validate() error
- func (i *UpdateTriggerInput) WithDescription(desc string) *UpdateTriggerInput
- func (i *UpdateTriggerInput) WithHeader(key, value string) *UpdateTriggerInput
- func (s *UpdateTriggerInput) WithIfMatch(ifMatch string) *UpdateTriggerInput
- func (i *UpdateTriggerInput) WithInvocationRole(role string) *UpdateTriggerInput
- func (i *UpdateTriggerInput) WithQualifier(qualifier string) *UpdateTriggerInput
- func (i *UpdateTriggerInput) WithTriggerConfig(config interface{}) *UpdateTriggerInput
- type UpdateTriggerOutput
- type VPCConfig
Constants ¶
const ( // HTTPHeaderRequestID get request ID HTTPHeaderRequestID = "X-Fc-Request-Id" // HTTPHeaderInvocationType stores the invocation type. HTTPHeaderInvocationType = "X-Fc-Invocation-Type" // HTTPHeaderStatefulAsyncInvocationID get invocation ID HTTPHeaderStatefulAsyncInvocationID = "X-Fc-Stateful-Async-Invocation-Id" // HTTPHeaderAccountID stores the account ID HTTPHeaderAccountID = "X-Fc-Account-Id" // HTTPHeaderFCErrorType get the error type when invoke function HTTPHeaderFCErrorType = "X-Fc-Error-Type" // HTTPHeaderSecurityToken is the header key for STS security token HTTPHeaderSecurityToken = "X-Fc-Security-Token" // HTTPHeaderInvocationLogType is the header key for invoke function log type HTTPHeaderInvocationLogType = "X-Fc-Log-Type" // HTTPHeaderInvocationLogResult is the header key for invoke function log result HTTPHeaderInvocationLogResult = "X-Fc-Log-Result" // HTTPHeaderEtag get the etag of the resource HTTPHeaderEtag = "Etag" //HTTPHeaderPrefix :Prefix string in headers HTTPHeaderPrefix = "x-fc-" //HTTPHeaderContentMD5 :Key in request headers HTTPHeaderContentMD5 = "Content-MD5" //HTTPHeaderContentType :Key in request headers HTTPHeaderContentType = "Content-Type" // HTTPHeaderUserAgent : Key in request headers HTTPHeaderUserAgent = "User-Agent" //HTTPHeaderDate :Key in request headers HTTPHeaderDate = "Date" // CustomContainerConfigAccelerationTypeDefault : default acceleration type for custom-container runtime CustomContainerConfigAccelerationTypeDefault = "Default" // CustomContainerConfigAccelerationTypeNone : disable custom-container runtime acceleration CustomContainerConfigAccelerationTypeNone = "None" )
const ( // AuthAnonymous defines http trigger without authorized AuthAnonymous = "anonymous" // AuthFunction defines http trigger authorized by AK AuthFunction = "function" )
const ( // AuthQueryKeyExpires : keys in request queries AuthQueryKeyExpires = "x-fc-expires" // AuthQueryKeyAccessKeyID : keys in request queries AuthQueryKeyAccessKeyID = "x-fc-access-key-id" // AuthQueryKeySignature : keys in request queries AuthQueryKeySignature = "x-fc-signature" // AuthQueryKeySecurityToken : keys in requres queries AuthQueryKeySecurityToken = "x-fc-security-token" )
const ( TRIGGER_TYPE_OSS = "oss" TRIGGER_TYPE_LOG = "log" TRIGGER_TYPE_TIMER = "timer" TRIGGER_TYPE_HTTP = "http" TRIGGER_TYPE_TABLESTORE = "tablestore" TRIGGER_TYPE_CDN_EVENTS = "cdn_events" TRIGGER_TYPE_MNS_TOPIC = "mns_topic" TRIGGER_TYPE_EVENTBRIDGE = "eventbridge" )
const (
APIVersionV1 = "2016-08-15"
)
Supported api versions
const (
AnyRunTime = "Any"
)
const (
DefaultListLimit = 100
)
const (
RequestTimeout = 60
)
default parameter
const (
TracingTypeJaeger = "Jaeger"
)
Supported tracing types
Variables ¶
var ( ListDirectionBackward = "BACKWARD" ListDirectionForward = "FORWARD" )
var DefaultAuthType = AuthFunction
DefaultAuthType ...
var (
ErrUnknownTriggerType = errors.New("unknown trigger type")
)
Functions ¶
func GetAccessPoint ¶
GetAccessPoint get correct endpoint and host
func GetAuthStr ¶
func GetAuthStr(accessKeyID string, accessKeySecret string, method string, header map[string]string, resource string) string
GetAuthStr get signature strings
func GetErrorType ¶
GetErrorType get error type when call invocation
func GetSignResourceWithQueries ¶
GetSignResourceWithQueries get signature resource with queries
func GetSignature ¶
GetSignature calculate user's signature
func ParameterToString ¶
ParameterToString serialize parameters
func TempZipDir ¶
TempZipDir zips everything from source dir into a temporary zip file which doesn't include the source dir but its content. Return the location of the temporary zip file.
func TmpZip ¶
TmpZip everything from source file into a temporary zip file. Return the location of the temporary zip file.
Types ¶
type AliasCreateObject ¶
type AliasUpdateObject ¶
type AsyncConfig ¶
type AsyncConfig struct { StatefulInvocation *bool `json:"statefulInvocation"` DestinationConfig *DestinationConfig `json:"destinationConfig"` MaxAsyncEventAgeInSeconds *int64 `json:"maxAsyncEventAgeInSeconds"` MaxAsyncRetryAttempts *int64 `json:"maxAsyncRetryAttempts"` }
AsyncConfig represents the async configuration.
type AsyncConfigResponse ¶
type AsyncConfigResponse struct { Service *string `json:"service"` Function *string `json:"function"` CreatedTime *string `json:"createdTime"` Qualifier *string `json:"qualifier"` LastModifiedTime *string `json:"lastModifiedTime"` AsyncConfig }
AsyncConfigResponse defines the detail async config object
type CDNEventsTriggerConfig ¶
type CDNEventsTriggerConfig struct { EventName *string `json:"eventName"` EventVersion *string `json:"eventVersion"` Notes *string `json:"notes"` Filter map[string][]string `json:"filter"` }
CDNEventsTriggerConfig defines the cdn events trigger config
func NewCDNEventsTriggerConfig ¶
func NewCDNEventsTriggerConfig() *CDNEventsTriggerConfig
NewCDNEventsTriggerConfig creates an empty CDNTEventsTriggerConfig
func (*CDNEventsTriggerConfig) WithEventName ¶
func (ctc *CDNEventsTriggerConfig) WithEventName(eventName string) *CDNEventsTriggerConfig
func (*CDNEventsTriggerConfig) WithEventVersion ¶
func (ctc *CDNEventsTriggerConfig) WithEventVersion(eventVersion string) *CDNEventsTriggerConfig
func (*CDNEventsTriggerConfig) WithFilter ¶
func (ctc *CDNEventsTriggerConfig) WithFilter(filter map[string][]string) *CDNEventsTriggerConfig
func (*CDNEventsTriggerConfig) WithNotes ¶
func (ctc *CDNEventsTriggerConfig) WithNotes(notes string) *CDNEventsTriggerConfig
type CertConfig ¶
type CertConfig struct { CertName *string `json:certName` PrivateKey *string `json:privateKey` Certificate *string `json:certificate` }
func (*CertConfig) WithCertName ¶
func (c *CertConfig) WithCertName(certName string) *CertConfig
func (*CertConfig) WithCertificate ¶
func (c *CertConfig) WithCertificate(certificate string) *CertConfig
func (*CertConfig) WithPrivateKey ¶
func (c *CertConfig) WithPrivateKey(privateKey string) *CertConfig
type Client ¶
type Client struct { Config *Config Connect *Connection }
Client defines fc client
func NewClient ¶
func NewClient(endpoint, apiVersion, accessKeyID, accessKeySecret string, opts ...ClientOption) (*Client, error)
NewClient new fc client
func (*Client) CreateAlias ¶
func (c *Client) CreateAlias(input *CreateAliasInput) (*CreateAliasOutput, error)
CreateAlias creates alias
func (*Client) CreateCustomDomain ¶
func (c *Client) CreateCustomDomain(input *CreateCustomDomainInput) (*CreateCustomDomainOutput, error)
CreateCustomDomain creates custom domain
func (*Client) CreateFunction ¶
func (c *Client) CreateFunction(input *CreateFunctionInput) (*CreateFunctionOutput, error)
CreateFunction creates function
func (*Client) CreateService ¶
func (c *Client) CreateService(input *CreateServiceInput) (*CreateServiceOutput, error)
CreateService creates service
func (*Client) CreateTrigger ¶
func (c *Client) CreateTrigger(input *CreateTriggerInput) (*CreateTriggerOutput, error)
CreateTrigger creates trigger
func (*Client) DeleteAlias ¶
func (c *Client) DeleteAlias(input *DeleteAliasInput) (*DeleteAliasOutput, error)
DeleteAlias deletes service
func (*Client) DeleteCustomDomain ¶
func (c *Client) DeleteCustomDomain(input *DeleteCustomDomainInput) (*DeleteCustomDomainOutput, error)
DeleteCustomDomain deletes custom domain
func (*Client) DeleteFunction ¶
func (c *Client) DeleteFunction(input *DeleteFunctionInput) (*DeleteFunctionOutput, error)
DeleteFunction deletes function from service
func (*Client) DeleteFunctionAsyncInvokeConfig ¶
func (c *Client) DeleteFunctionAsyncInvokeConfig(input *DeleteFunctionAsyncInvokeConfigInput) (*DeleteFunctionAsyncInvokeConfigOutput, error)
DeleteFunctionAsyncInvokeConfig deletes async config
func (*Client) DeleteLayerVersion ¶
func (c *Client) DeleteLayerVersion(input *DeleteLayerVersionInput) (*DeleteLayerVersionOutput, error)
DeleteLayerVersion deletes a layer version
func (*Client) DeleteOnDemandConfig ¶
func (c *Client) DeleteOnDemandConfig(input *DeleteOnDemandConfigInput) (*DeleteOnDemandConfigOutput, error)
DeleteOnDemandConfig delete on-demand config
func (*Client) DeleteService ¶
func (c *Client) DeleteService(input *DeleteServiceInput) (*DeleteServiceOutput, error)
DeleteService deletes service
func (*Client) DeleteServiceVersion ¶
func (c *Client) DeleteServiceVersion(input *DeleteServiceVersionInput) (*DeleteServiceVersionOutput, error)
DeleteServiceVersion marks service version as deleted
func (*Client) DeleteTrigger ¶
func (c *Client) DeleteTrigger(input *DeleteTriggerInput) (*DeleteTriggerOutput, error)
DeleteTrigger deletes trigger
func (*Client) DoHttpRequest ¶
DoHttpRequest returns function http invocation response
func (*Client) GetAccountSettings ¶
func (c *Client) GetAccountSettings(input *GetAccountSettingsInput) (*GetAccountSettingsOutput, error)
GetAccountSettings returns account settings from fc
func (*Client) GetAlias ¶
func (c *Client) GetAlias(input *GetAliasInput) (*GetAliasOutput, error)
GetAlias returns alias metadata from fc
func (*Client) GetCustomDomain ¶
func (c *Client) GetCustomDomain(input *GetCustomDomainInput) (*GetCustomDomainOutput, error)
GetCustomDomain returns custom domain metadata from fc
func (*Client) GetFunction ¶
func (c *Client) GetFunction(input *GetFunctionInput) (*GetFunctionOutput, error)
GetFunction returns function metadata from service
func (*Client) GetFunctionAsyncInvokeConfig ¶
func (c *Client) GetFunctionAsyncInvokeConfig(input *GetFunctionAsyncInvokeConfigInput) (*GetFunctionAsyncInvokeConfigOutput, error)
GetFunctionAsyncInvokeConfig returns async config from fc
func (*Client) GetFunctionCode ¶
func (c *Client) GetFunctionCode(input *GetFunctionCodeInput) (*GetFunctionCodeOutput, error)
GetFunctionCode returns function code
func (*Client) GetLayerVersion ¶
func (c *Client) GetLayerVersion(input *GetLayerVersionInput) (*GetLayerVersionOutput, error)
GetLayerVersion returns layer version information from fc
func (*Client) GetLayerVersionByArn ¶
func (c *Client) GetLayerVersionByArn(input *GetLayerVersionByArnInput) (*GetLayerVersionOutput, error)
GetLayerVersionByArn returns layer version information from fc
func (*Client) GetOnDemandConfig ¶
func (c *Client) GetOnDemandConfig(input *GetOnDemandConfigInput) (*GetOnDemandConfigOutput, error)
GetOnDemandConfig return on-demand config from fc
func (*Client) GetProvisionConfig ¶
func (c *Client) GetProvisionConfig(input *GetProvisionConfigInput) (*GetProvisionConfigOutput, error)
GetProvisionConfig return provision config from fc
func (*Client) GetResourceTags ¶
func (c *Client) GetResourceTags(input *GetResourceTagsInput) (*GetResourceTagsOut, error)
GetResourceTags ...
func (*Client) GetService ¶
func (c *Client) GetService(input *GetServiceInput) (*GetServiceOutput, error)
GetService returns service metadata from fc
func (*Client) GetStatefulAsyncInvocation ¶
func (c *Client) GetStatefulAsyncInvocation(input *GetStatefulAsyncInvocationInput) (*GetStatefulAsyncInvocationOutput, error)
GetStatefulAsyncInvocation returns stateful async invocation record
func (*Client) GetTempBucketToken ¶
func (c *Client) GetTempBucketToken() (*GetTempBucketTokenOutput, error)
GetTempBucketToken ...
func (*Client) GetTrigger ¶
func (c *Client) GetTrigger(input *GetTriggerInput) (*GetTriggerOutput, error)
GetTrigger returns trigger metadata
func (*Client) InstanceExec ¶
func (c *Client) InstanceExec(input *InstanceExecInput) (*InstanceExecOutput, error)
InstanceExec ...
func (*Client) InvokeFunction ¶
func (c *Client) InvokeFunction(input *InvokeFunctionInput) (*InvokeFunctionOutput, error)
InvokeFunction : invoke function in fc
func (*Client) ListAliases ¶
func (c *Client) ListAliases(input *ListAliasesInput) (*ListAliasesOutput, error)
ListAliases returns list of aliases from fc
func (*Client) ListCustomDomains ¶
func (c *Client) ListCustomDomains(input *ListCustomDomainsInput) (*ListCustomDomainsOutput, error)
ListCustomDomains returns list of custom domains from fc
func (*Client) ListFunctionAsyncInvokeConfigs ¶
func (c *Client) ListFunctionAsyncInvokeConfigs(input *ListFunctionAsyncInvokeConfigsInput) (*ListFunctionAsyncInvokeConfigsOutput, error)
ListFunctionAsyncInvokeConfigs returns list of async configs from fc
func (*Client) ListFunctions ¶
func (c *Client) ListFunctions(input *ListFunctionsInput) (*ListFunctionsOutput, error)
ListFunctions returns list of functions
func (*Client) ListInstances ¶
func (c *Client) ListInstances(input *ListInstancesInput) (*ListInstancesOutput, error)
ListInstances ...
func (*Client) ListLayerVersions ¶
func (c *Client) ListLayerVersions(input *ListLayerVersionsInput) (*ListLayerVersionsOutput, error)
ListLayerVersions returns list of layer versions of a specific layer from fc
func (*Client) ListLayers ¶
func (c *Client) ListLayers(input *ListLayersInput) (*ListLayersOutput, error)
ListLayers returns list of layers from fc
func (*Client) ListOnDemandConfigs ¶
func (c *Client) ListOnDemandConfigs(input *ListOnDemandConfigsInput) (*ListOnDemandConfigsOutput, error)
ListOnDemandConfigs return list of provision configs from fc
func (*Client) ListProvisionConfigs ¶
func (c *Client) ListProvisionConfigs(input *ListProvisionConfigsInput) (*ListProvisionConfigsOutput, error)
ListProvisionConfigs return list of provision configs from fc
func (*Client) ListReservedCapacities ¶
func (c *Client) ListReservedCapacities(input *ListReservedCapacitiesInput) (*ListReservedCapacitiesOutput, error)
ListReservedCapacities returns list of reserved capacity from fc
func (*Client) ListServiceVersions ¶
func (c *Client) ListServiceVersions(input *ListServiceVersionsInput) (*ListServiceVersionsOutput, error)
ListServiceVersions returns list of service versions
func (*Client) ListServices ¶
func (c *Client) ListServices(input *ListServicesInput) (*ListServicesOutput, error)
ListServices returns list of services from fc
func (*Client) ListStatefulAsyncInvocations ¶
func (c *Client) ListStatefulAsyncInvocations(input *ListStatefulAsyncInvocationsInput) (*ListStatefulAsyncInvocationsOutput, error)
ListStatefulAsyncInvocations returns list of stateful async invocation records
func (*Client) ListTriggers ¶
func (c *Client) ListTriggers(input *ListTriggersInput) (*ListTriggersOutput, error)
ListTriggers returns list of triggers
func (*Client) PermanentDeleteLayerVersion ¶
func (c *Client) PermanentDeleteLayerVersion(input *PermanentDeleteLayerVersionInput) (*PublishPublicLayerVersionOutput, error)
PermanentDeleteVersion delete a soft deleted layer version permanently
func (*Client) PublishLayerVersion ¶
func (c *Client) PublishLayerVersion(input *PublishLayerVersionInput) (*PublishLayerVersionOutput, error)
PublishLayerVersion creates a new layer version
func (*Client) PublishPublicLayerVersion ¶
func (c *Client) PublishPublicLayerVersion(input *GetLayerVersionInput) (*PublishPublicLayerVersionOutput, error)
PublishPublicLayerVersion publish a new exiting layer version as public
func (*Client) PublishServiceVersion ¶
func (c *Client) PublishServiceVersion(input *PublishServiceVersionInput) (*PublishServiceVersionOutput, error)
PublishServiceVersion publishes service version
func (*Client) PutFunctionAsyncInvokeConfig ¶
func (c *Client) PutFunctionAsyncInvokeConfig(input *PutFunctionAsyncInvokeConfigInput) (*PutFunctionAsyncInvokeConfigOutput, error)
PutFunctionAsyncInvokeConfig creates or updates an async config
func (*Client) PutOnDemandConfig ¶
func (c *Client) PutOnDemandConfig(input *PutOnDemandConfigInput) (*PutOnDemandConfigOutput, error)
PutOnDemandConfig put on-demand config
func (*Client) PutProvisionConfig ¶
func (c *Client) PutProvisionConfig(input *PutProvisionConfigInput) (*PutProvisionConfigOutput, error)
PutProvisionConfig put provision config
func (*Client) SignURL ¶
func (c *Client) SignURL(signURLInput *SignURLInput) (string, error)
SignURL : sign an URL with signature in queries for HTTP function
func (*Client) StopStatefulAsyncInvocation ¶
func (c *Client) StopStatefulAsyncInvocation(input *StopStatefulAsyncInvocationInput) (*StopStatefulAsyncInvocationOutput, error)
StopStatefulAsyncInvocation ...
func (*Client) TagResource ¶
func (c *Client) TagResource(input *TagResourceInput) (*TagResourceOut, error)
TagResource make a resource with tags
func (*Client) UnTagResource ¶
func (c *Client) UnTagResource(input *UnTagResourceInput) (*UnTagResourceOut, error)
UnTagResource ...
func (*Client) UpdateAlias ¶
func (c *Client) UpdateAlias(input *UpdateAliasInput) (*UpdateAliasOutput, error)
UpdateAlias updates alias
func (*Client) UpdateCustomDomain ¶
func (c *Client) UpdateCustomDomain(input *UpdateCustomDomainInput) (*UpdateCustomDomainOutput, error)
UpdateCustomDomain updates custom domain
func (*Client) UpdateFunction ¶
func (c *Client) UpdateFunction(input *UpdateFunctionInput) (*UpdateFunctionOutput, error)
UpdateFunction updates function
func (*Client) UpdateService ¶
func (c *Client) UpdateService(input *UpdateServiceInput) (*UpdateServiceOutput, error)
UpdateService updates service
func (*Client) UpdateTrigger ¶
func (c *Client) UpdateTrigger(input *UpdateTriggerInput) (*UpdateTriggerOutput, error)
UpdateTrigger updates trigger
type ClientOption ¶
type ClientOption func(*Client)
ClientOption : defines client options type
func WithAccountID ¶
func WithAccountID(aid string) ClientOption
WithAccountID sets the account id in header, this enables accessing FC using IP address:
client, _ := fc.NewClient("127.0.0.1", "api-version", "id", "key",
fc.WithAccountID("1234776887"))
func WithRetryCount ¶
func WithRetryCount(count int) ClientOption
WithRetryCount : config the retry count for resty
func WithSecurityToken ¶
func WithSecurityToken(token string) ClientOption
WithSecurityToken : sets the STS security token
func WithTimeout ¶
func WithTimeout(t uint) ClientOption
WithTimeout : set request timeout in second
func WithTransport ¶
func WithTransport(ts *http.Transport) ClientOption
WithTransport : overrides default http.Transport with customized transport
type Code ¶
type Code struct { OSSBucketName *string `json:"ossBucketName"` OSSObjectName *string `json:"ossObjectName"` ZipFile *string `json:"zipFile"` // contains filtered or unexported fields }
Code defines the code location or includes the base64 encoded source
func (*Code) WithOSSBucketName ¶
func (*Code) WithOSSObjectName ¶
func (*Code) WithZipFile ¶
type Config ¶
type Config struct { Endpoint string // fc地址 APIVersion string // API版本 AccountID string // Account ID AccessKeyID string // accessKeyID AccessKeySecret string // accessKeySecret SecurityToken string // STS securityToken UserAgent string // SDK名称/版本/系统信息 IsDebug bool // 是否开启调试模式,默认false Timeout uint // 超时时间,默认60秒 // contains filtered or unexported fields }
Config defines fc config
type Connection ¶
type Connection struct {
Timeout uint // 超时时间,默认60秒
}
Connection with fc
func (*Connection) PrepareRequest ¶
func (conn *Connection) PrepareRequest(postBody interface{}, headerParams map[string]string, queryParams url.Values) *resty.Request
PrepareRequest prepare http request
func (*Connection) SendRequest ¶
func (conn *Connection) SendRequest(path string, method string, postBody interface{}, headerParams map[string]string, queryParams url.Values) (*resty.Response, error)
SendRequest send http request
type CreateAliasInput ¶
type CreateAliasInput struct { ServiceName *string `json:"serviceName"` AliasCreateObject }
func NewCreateAliasInput ¶
func NewCreateAliasInput(serviceName string) *CreateAliasInput
func (*CreateAliasInput) GetHeaders ¶
func (i *CreateAliasInput) GetHeaders() Header
func (*CreateAliasInput) GetPath ¶
func (i *CreateAliasInput) GetPath() string
func (*CreateAliasInput) GetPayload ¶
func (i *CreateAliasInput) GetPayload() interface{}
func (*CreateAliasInput) GetQueryParams ¶
func (i *CreateAliasInput) GetQueryParams() url.Values
func (*CreateAliasInput) Validate ¶
func (i *CreateAliasInput) Validate() error
func (*CreateAliasInput) WithAdditionalVersionWeight ¶
func (i *CreateAliasInput) WithAdditionalVersionWeight(additionalVersionWeight map[string]float64) *CreateAliasInput
func (*CreateAliasInput) WithAliasName ¶
func (i *CreateAliasInput) WithAliasName(aliasName string) *CreateAliasInput
func (*CreateAliasInput) WithDescription ¶
func (i *CreateAliasInput) WithDescription(description string) *CreateAliasInput
func (*CreateAliasInput) WithVersionID ¶
func (i *CreateAliasInput) WithVersionID(versionID string) *CreateAliasInput
type CreateAliasOutput ¶
func (CreateAliasOutput) GetEtag ¶
func (o CreateAliasOutput) GetEtag() string
func (CreateAliasOutput) GetRequestID ¶
func (o CreateAliasOutput) GetRequestID() string
func (CreateAliasOutput) String ¶
func (o CreateAliasOutput) String() string
type CreateCustomDomainInput ¶
type CreateCustomDomainInput struct { DomainName *string `json:"domainName"` Protocol *string `json:"protocol"` RouteConfig *RouteConfig `json:"routeConfig"` CertConfig *CertConfig `json:"certConfig"` }
CreateCustomDomainInput defines input to create custom domain
func NewCreateCustomDomainInput ¶
func NewCreateCustomDomainInput() *CreateCustomDomainInput
NewCreateCustomDomainInput...
func (*CreateCustomDomainInput) GetHeaders ¶
func (c *CreateCustomDomainInput) GetHeaders() Header
func (*CreateCustomDomainInput) GetPath ¶
func (c *CreateCustomDomainInput) GetPath() string
func (*CreateCustomDomainInput) GetPayload ¶
func (c *CreateCustomDomainInput) GetPayload() interface{}
func (*CreateCustomDomainInput) GetQueryParams ¶
func (c *CreateCustomDomainInput) GetQueryParams() url.Values
func (*CreateCustomDomainInput) Validate ¶
func (c *CreateCustomDomainInput) Validate() error
func (*CreateCustomDomainInput) WithCertConfig ¶
func (c *CreateCustomDomainInput) WithCertConfig(certConfig *CertConfig) *CreateCustomDomainInput
func (*CreateCustomDomainInput) WithDomainName ¶
func (c *CreateCustomDomainInput) WithDomainName(domainName string) *CreateCustomDomainInput
func (*CreateCustomDomainInput) WithProtocol ¶
func (c *CreateCustomDomainInput) WithProtocol(protocol string) *CreateCustomDomainInput
func (*CreateCustomDomainInput) WithRouteConfig ¶
func (c *CreateCustomDomainInput) WithRouteConfig(routeConfig *RouteConfig) *CreateCustomDomainInput
type CreateCustomDomainOutput ¶
type CreateCustomDomainOutput struct { Header http.Header // contains filtered or unexported fields }
CreateCustomDomainOutput define create custom domain response
func (CreateCustomDomainOutput) GetRequestID ¶
func (o CreateCustomDomainOutput) GetRequestID() string
func (CreateCustomDomainOutput) String ¶
func (o CreateCustomDomainOutput) String() string
type CreateFunctionInput ¶
type CreateFunctionInput struct { ServiceName *string FunctionCreateObject }
CreateFunctionInput defines function creation input
func NewCreateFunctionInput ¶
func NewCreateFunctionInput(serviceName string) *CreateFunctionInput
func (*CreateFunctionInput) GetHeaders ¶
func (i *CreateFunctionInput) GetHeaders() Header
func (*CreateFunctionInput) GetPath ¶
func (i *CreateFunctionInput) GetPath() string
func (*CreateFunctionInput) GetPayload ¶
func (i *CreateFunctionInput) GetPayload() interface{}
func (*CreateFunctionInput) GetQueryParams ¶
func (i *CreateFunctionInput) GetQueryParams() url.Values
func (*CreateFunctionInput) Validate ¶
func (i *CreateFunctionInput) Validate() error
func (*CreateFunctionInput) WithCAPort ¶
func (i *CreateFunctionInput) WithCAPort(caPort int32) *CreateFunctionInput
func (*CreateFunctionInput) WithCode ¶
func (i *CreateFunctionInput) WithCode(code *Code) *CreateFunctionInput
func (*CreateFunctionInput) WithCustomContainerConfig ¶
func (i *CreateFunctionInput) WithCustomContainerConfig(customContainerConfig *CustomContainerConfig) *CreateFunctionInput
func (*CreateFunctionInput) WithDescription ¶
func (i *CreateFunctionInput) WithDescription(description string) *CreateFunctionInput
func (*CreateFunctionInput) WithEnvironmentVariables ¶
func (i *CreateFunctionInput) WithEnvironmentVariables(env map[string]string) *CreateFunctionInput
func (*CreateFunctionInput) WithFunctionName ¶
func (i *CreateFunctionInput) WithFunctionName(functionName string) *CreateFunctionInput
func (*CreateFunctionInput) WithHandler ¶
func (i *CreateFunctionInput) WithHandler(handler string) *CreateFunctionInput
func (*CreateFunctionInput) WithInitializationTimeout ¶
func (i *CreateFunctionInput) WithInitializationTimeout(initializationTimeout int32) *CreateFunctionInput
func (*CreateFunctionInput) WithInitializer ¶
func (i *CreateFunctionInput) WithInitializer(initializer string) *CreateFunctionInput
func (*CreateFunctionInput) WithInstanceConcurrency ¶
func (i *CreateFunctionInput) WithInstanceConcurrency(concurrency int32) *CreateFunctionInput
func (*CreateFunctionInput) WithInstanceType ¶
func (i *CreateFunctionInput) WithInstanceType(instanceType string) *CreateFunctionInput
func (*CreateFunctionInput) WithLayers ¶
func (i *CreateFunctionInput) WithLayers(layers []string) *CreateFunctionInput
func (*CreateFunctionInput) WithMemorySize ¶
func (i *CreateFunctionInput) WithMemorySize(memory int32) *CreateFunctionInput
func (*CreateFunctionInput) WithRuntime ¶
func (i *CreateFunctionInput) WithRuntime(runtime string) *CreateFunctionInput
func (*CreateFunctionInput) WithTimeout ¶
func (i *CreateFunctionInput) WithTimeout(timeout int32) *CreateFunctionInput
type CreateFunctionOutput ¶
func (CreateFunctionOutput) GetEtag ¶
func (o CreateFunctionOutput) GetEtag() string
func (CreateFunctionOutput) GetRequestID ¶
func (o CreateFunctionOutput) GetRequestID() string
func (CreateFunctionOutput) String ¶
func (o CreateFunctionOutput) String() string
type CreateServiceInput ¶
type CreateServiceInput struct { ServiceName *string `json:"serviceName"` Description *string `json:"description"` Role *string `json:"role"` LogConfig *LogConfig `json:"logConfig"` VPCConfig *VPCConfig `json:"vpcConfig"` InternetAccess *bool `json:"internetAccess"` NASConfig *NASConfig `json:"nasConfig"` TracingConfig *TracingConfig `json:"tracingConfig"` }
CreateServiceInput defines input to create service
func NewCreateServiceInput ¶
func NewCreateServiceInput() *CreateServiceInput
func (*CreateServiceInput) GetHeaders ¶
func (i *CreateServiceInput) GetHeaders() Header
func (*CreateServiceInput) GetPath ¶
func (i *CreateServiceInput) GetPath() string
func (*CreateServiceInput) GetPayload ¶
func (i *CreateServiceInput) GetPayload() interface{}
func (*CreateServiceInput) GetQueryParams ¶
func (i *CreateServiceInput) GetQueryParams() url.Values
func (*CreateServiceInput) Validate ¶
func (i *CreateServiceInput) Validate() error
func (*CreateServiceInput) WithDescription ¶
func (i *CreateServiceInput) WithDescription(description string) *CreateServiceInput
func (*CreateServiceInput) WithInternetAccess ¶
func (i *CreateServiceInput) WithInternetAccess(access bool) *CreateServiceInput
func (*CreateServiceInput) WithLogConfig ¶
func (i *CreateServiceInput) WithLogConfig(logConfig *LogConfig) *CreateServiceInput
func (*CreateServiceInput) WithNASConfig ¶
func (i *CreateServiceInput) WithNASConfig(nasConfig *NASConfig) *CreateServiceInput
func (*CreateServiceInput) WithRole ¶
func (i *CreateServiceInput) WithRole(role string) *CreateServiceInput
func (*CreateServiceInput) WithServiceName ¶
func (i *CreateServiceInput) WithServiceName(serviceName string) *CreateServiceInput
func (*CreateServiceInput) WithTracingConfig ¶
func (i *CreateServiceInput) WithTracingConfig(tracingConfig *TracingConfig) *CreateServiceInput
func (*CreateServiceInput) WithVPCConfig ¶
func (i *CreateServiceInput) WithVPCConfig(vpcConfig *VPCConfig) *CreateServiceInput
type CreateServiceOutput ¶
CreateServiceOutput define get service response
func (CreateServiceOutput) GetEtag ¶
func (o CreateServiceOutput) GetEtag() string
func (CreateServiceOutput) GetRequestID ¶
func (o CreateServiceOutput) GetRequestID() string
func (CreateServiceOutput) String ¶
func (o CreateServiceOutput) String() string
type CreateTriggerInput ¶
type CreateTriggerInput struct { ServiceName *string FunctionName *string TriggerCreateObject // contains filtered or unexported fields }
CreateTriggerInput defines trigger creation input
func NewCreateTriggerInput ¶
func NewCreateTriggerInput(serviceName string, functionName string) *CreateTriggerInput
func (*CreateTriggerInput) GetHeaders ¶
func (i *CreateTriggerInput) GetHeaders() Header
func (*CreateTriggerInput) GetPath ¶
func (i *CreateTriggerInput) GetPath() string
func (*CreateTriggerInput) GetPayload ¶
func (i *CreateTriggerInput) GetPayload() interface{}
func (*CreateTriggerInput) GetQueryParams ¶
func (i *CreateTriggerInput) GetQueryParams() url.Values
func (*CreateTriggerInput) Validate ¶
func (i *CreateTriggerInput) Validate() error
func (*CreateTriggerInput) WithDescription ¶
func (i *CreateTriggerInput) WithDescription(desc string) *CreateTriggerInput
func (*CreateTriggerInput) WithHeader ¶
func (i *CreateTriggerInput) WithHeader(key, value string) *CreateTriggerInput
func (*CreateTriggerInput) WithInvocationRole ¶
func (i *CreateTriggerInput) WithInvocationRole(role string) *CreateTriggerInput
func (*CreateTriggerInput) WithQualifier ¶
func (i *CreateTriggerInput) WithQualifier(qualifier string) *CreateTriggerInput
func (*CreateTriggerInput) WithSourceARN ¶
func (i *CreateTriggerInput) WithSourceARN(arn string) *CreateTriggerInput
func (*CreateTriggerInput) WithTriggerConfig ¶
func (i *CreateTriggerInput) WithTriggerConfig(config interface{}) *CreateTriggerInput
func (*CreateTriggerInput) WithTriggerName ¶
func (i *CreateTriggerInput) WithTriggerName(name string) *CreateTriggerInput
func (*CreateTriggerInput) WithTriggerType ¶
func (i *CreateTriggerInput) WithTriggerType(triggerType string) *CreateTriggerInput
type CreateTriggerOutput ¶
func (CreateTriggerOutput) GetEtag ¶
func (o CreateTriggerOutput) GetEtag() string
func (CreateTriggerOutput) GetRequestID ¶
func (o CreateTriggerOutput) GetRequestID() string
func (CreateTriggerOutput) MarshalJSON ¶
func (o CreateTriggerOutput) MarshalJSON() ([]byte, error)
MarshalJSON marshals trigger metadata and excludes RawTriggerConfig
func (CreateTriggerOutput) String ¶
func (o CreateTriggerOutput) String() string
func (*CreateTriggerOutput) UnmarshalJSON ¶
UnmarshalJSON unmarshals the data to trigger metadata and sets TriggerConfig field to an actual trigger config. User can use type switches/assertion to get the actual trigger config.
type Credentials ¶
type Credentials struct { AccessKeyID string `json:"AccessKeyId"` AccessKeySecret string `json:"AccessKeySecret"` Expiration string `json:"Expiration"` SecurityToken string `json:"SecurityToken"` }
Credentials defines the returned credential
type CustomContainerConfig ¶
type CustomContainerConfig struct { Image *string `json:"image"` Command *string `json:"command"` Args *string `json:"args"` AccelerationType *string `json:"accelerationType"` InstanceID *string `json:"instanceID"` }
CustomContainerConfig defines the code docker image
func NewCustomContainerConfig ¶
func NewCustomContainerConfig() *CustomContainerConfig
func (*CustomContainerConfig) WithAccelerationType ¶
func (c *CustomContainerConfig) WithAccelerationType(accelerationType string) *CustomContainerConfig
func (*CustomContainerConfig) WithArgs ¶
func (c *CustomContainerConfig) WithArgs(args string) *CustomContainerConfig
func (*CustomContainerConfig) WithCommand ¶
func (c *CustomContainerConfig) WithCommand(cmd string) *CustomContainerConfig
func (*CustomContainerConfig) WithImage ¶
func (c *CustomContainerConfig) WithImage(image string) *CustomContainerConfig
func (*CustomContainerConfig) WithInstanceID ¶
func (c *CustomContainerConfig) WithInstanceID(instanceID string) *CustomContainerConfig
type DeleteAliasInput ¶
func NewDeleteAliasInput ¶
func NewDeleteAliasInput(serviceName, aliasName string) *DeleteAliasInput
func (*DeleteAliasInput) GetHeaders ¶
func (i *DeleteAliasInput) GetHeaders() Header
func (*DeleteAliasInput) GetPath ¶
func (i *DeleteAliasInput) GetPath() string
func (*DeleteAliasInput) GetPayload ¶
func (i *DeleteAliasInput) GetPayload() interface{}
func (*DeleteAliasInput) GetQueryParams ¶
func (i *DeleteAliasInput) GetQueryParams() url.Values
func (*DeleteAliasInput) Validate ¶
func (i *DeleteAliasInput) Validate() error
func (*DeleteAliasInput) WithIfMatch ¶
func (s *DeleteAliasInput) WithIfMatch(ifMatch string) *DeleteAliasInput
type DeleteAliasOutput ¶
func (DeleteAliasOutput) GetRequestID ¶
func (o DeleteAliasOutput) GetRequestID() string
func (DeleteAliasOutput) String ¶
func (o DeleteAliasOutput) String() string
type DeleteCustomDomainInput ¶
type DeleteCustomDomainInput struct {
DomainName *string
}
func NewDeleteCustomDomainInput ¶
func NewDeleteCustomDomainInput(domainName string) *DeleteCustomDomainInput
func (*DeleteCustomDomainInput) GetHeaders ¶
func (i *DeleteCustomDomainInput) GetHeaders() Header
func (*DeleteCustomDomainInput) GetPath ¶
func (i *DeleteCustomDomainInput) GetPath() string
func (*DeleteCustomDomainInput) GetPayload ¶
func (i *DeleteCustomDomainInput) GetPayload() interface{}
func (*DeleteCustomDomainInput) GetQueryParams ¶
func (i *DeleteCustomDomainInput) GetQueryParams() url.Values
func (*DeleteCustomDomainInput) Validate ¶
func (i *DeleteCustomDomainInput) Validate() error
type DeleteCustomDomainOutput ¶
func (DeleteCustomDomainOutput) GetRequestID ¶
func (o DeleteCustomDomainOutput) GetRequestID() string
func (DeleteCustomDomainOutput) String ¶
func (o DeleteCustomDomainOutput) String() string
type DeleteFunctionAsyncInvokeConfigInput ¶
type DeleteFunctionAsyncInvokeConfigInput struct { ServiceName *string `json:"serviceName"` Qualifier *string `json:"qualifier"` FunctionName *string `json:"functionName"` }
DeleteFunctionAsyncInvokeConfigInput defines function creation input
func NewDeleteFunctionAsyncInvokeConfigInput ¶
func NewDeleteFunctionAsyncInvokeConfigInput(serviceName, functionName string) *DeleteFunctionAsyncInvokeConfigInput
func (*DeleteFunctionAsyncInvokeConfigInput) GetHeaders ¶
func (i *DeleteFunctionAsyncInvokeConfigInput) GetHeaders() Header
func (*DeleteFunctionAsyncInvokeConfigInput) GetPath ¶
func (i *DeleteFunctionAsyncInvokeConfigInput) GetPath() string
func (*DeleteFunctionAsyncInvokeConfigInput) GetPayload ¶
func (i *DeleteFunctionAsyncInvokeConfigInput) GetPayload() interface{}
func (*DeleteFunctionAsyncInvokeConfigInput) GetQueryParams ¶
func (i *DeleteFunctionAsyncInvokeConfigInput) GetQueryParams() url.Values
func (*DeleteFunctionAsyncInvokeConfigInput) Validate ¶
func (i *DeleteFunctionAsyncInvokeConfigInput) Validate() error
func (*DeleteFunctionAsyncInvokeConfigInput) WithQualifier ¶
func (i *DeleteFunctionAsyncInvokeConfigInput) WithQualifier(qualifier string) *DeleteFunctionAsyncInvokeConfigInput
type DeleteFunctionAsyncInvokeConfigOutput ¶
DeleteFunctionAsyncInvokeConfigOutput define delete data response
func (DeleteFunctionAsyncInvokeConfigOutput) GetRequestID ¶
func (o DeleteFunctionAsyncInvokeConfigOutput) GetRequestID() string
func (DeleteFunctionAsyncInvokeConfigOutput) String ¶
func (o DeleteFunctionAsyncInvokeConfigOutput) String() string
type DeleteFunctionInput ¶
type DeleteFunctionInput struct { ServiceName *string FunctionName *string IfMatch *string // contains filtered or unexported fields }
func NewDeleteFunctionInput ¶
func NewDeleteFunctionInput(serviceName string, functionName string) *DeleteFunctionInput
func (*DeleteFunctionInput) GetHeaders ¶
func (i *DeleteFunctionInput) GetHeaders() Header
func (*DeleteFunctionInput) GetPath ¶
func (i *DeleteFunctionInput) GetPath() string
func (*DeleteFunctionInput) GetPayload ¶
func (i *DeleteFunctionInput) GetPayload() interface{}
func (*DeleteFunctionInput) GetQueryParams ¶
func (i *DeleteFunctionInput) GetQueryParams() url.Values
func (*DeleteFunctionInput) Validate ¶
func (i *DeleteFunctionInput) Validate() error
func (*DeleteFunctionInput) WithHeader ¶
func (i *DeleteFunctionInput) WithHeader(key, value string) *DeleteFunctionInput
func (*DeleteFunctionInput) WithIfMatch ¶
func (s *DeleteFunctionInput) WithIfMatch(ifMatch string) *DeleteFunctionInput
type DeleteFunctionOutput ¶
func (DeleteFunctionOutput) GetRequestID ¶
func (o DeleteFunctionOutput) GetRequestID() string
func (DeleteFunctionOutput) String ¶
func (o DeleteFunctionOutput) String() string
type DeleteLayerVersionInput ¶
func NewDeleteLayerVersionInput ¶
func NewDeleteLayerVersionInput(layerName string, version int32) *DeleteLayerVersionInput
func (*DeleteLayerVersionInput) GetHeaders ¶
func (i *DeleteLayerVersionInput) GetHeaders() Header
func (*DeleteLayerVersionInput) GetPath ¶
func (i *DeleteLayerVersionInput) GetPath() string
func (*DeleteLayerVersionInput) GetPayload ¶
func (i *DeleteLayerVersionInput) GetPayload() interface{}
func (*DeleteLayerVersionInput) GetQueryParams ¶
func (i *DeleteLayerVersionInput) GetQueryParams() url.Values
func (*DeleteLayerVersionInput) Validate ¶
func (i *DeleteLayerVersionInput) Validate() error
type DeleteLayerVersionOutput ¶
func (DeleteLayerVersionOutput) GetRequestID ¶
func (o DeleteLayerVersionOutput) GetRequestID() string
func (DeleteLayerVersionOutput) String ¶
func (o DeleteLayerVersionOutput) String() string
type DeleteOnDemandConfigInput ¶
type DeleteOnDemandConfigInput struct { ServiceName *string `json:"serviceName"` Qualifier *string `json:"qualifier"` FunctionName *string `json:"functionName"` IfMatch *string }
func NewDeleteOnDemandConfigInput ¶
func NewDeleteOnDemandConfigInput(serviceName, qualifier, functionName string) *DeleteOnDemandConfigInput
func (*DeleteOnDemandConfigInput) GetHeaders ¶
func (i *DeleteOnDemandConfigInput) GetHeaders() Header
func (*DeleteOnDemandConfigInput) GetPath ¶
func (i *DeleteOnDemandConfigInput) GetPath() string
func (*DeleteOnDemandConfigInput) GetPayload ¶
func (i *DeleteOnDemandConfigInput) GetPayload() interface{}
func (*DeleteOnDemandConfigInput) GetQueryParams ¶
func (i *DeleteOnDemandConfigInput) GetQueryParams() url.Values
func (*DeleteOnDemandConfigInput) Validate ¶
func (i *DeleteOnDemandConfigInput) Validate() error
func (*DeleteOnDemandConfigInput) WithIfMatch ¶
func (s *DeleteOnDemandConfigInput) WithIfMatch(ifMatch string) *DeleteOnDemandConfigInput
type DeleteOnDemandConfigOutput ¶
func (DeleteOnDemandConfigOutput) GetRequestID ¶
func (o DeleteOnDemandConfigOutput) GetRequestID() string
func (DeleteOnDemandConfigOutput) String ¶
func (o DeleteOnDemandConfigOutput) String() string
type DeleteServiceInput ¶
func NewDeleteServiceInput ¶
func NewDeleteServiceInput(serviceName string) *DeleteServiceInput
func (*DeleteServiceInput) GetHeaders ¶
func (i *DeleteServiceInput) GetHeaders() Header
func (*DeleteServiceInput) GetPath ¶
func (i *DeleteServiceInput) GetPath() string
func (*DeleteServiceInput) GetPayload ¶
func (i *DeleteServiceInput) GetPayload() interface{}
func (*DeleteServiceInput) GetQueryParams ¶
func (i *DeleteServiceInput) GetQueryParams() url.Values
func (*DeleteServiceInput) Validate ¶
func (i *DeleteServiceInput) Validate() error
func (*DeleteServiceInput) WithIfMatch ¶
func (i *DeleteServiceInput) WithIfMatch(ifMatch string) *DeleteServiceInput
type DeleteServiceOutput ¶
func (DeleteServiceOutput) GetRequestID ¶
func (o DeleteServiceOutput) GetRequestID() string
func (DeleteServiceOutput) String ¶
func (o DeleteServiceOutput) String() string
type DeleteServiceVersionInput ¶
func NewDeleteServiceVersionInput ¶
func NewDeleteServiceVersionInput(serviceName string, versionID string) *DeleteServiceVersionInput
func (*DeleteServiceVersionInput) GetHeaders ¶
func (i *DeleteServiceVersionInput) GetHeaders() Header
func (*DeleteServiceVersionInput) GetPath ¶
func (i *DeleteServiceVersionInput) GetPath() string
func (*DeleteServiceVersionInput) GetPayload ¶
func (i *DeleteServiceVersionInput) GetPayload() interface{}
func (*DeleteServiceVersionInput) GetQueryParams ¶
func (i *DeleteServiceVersionInput) GetQueryParams() url.Values
func (*DeleteServiceVersionInput) Validate ¶
func (i *DeleteServiceVersionInput) Validate() error
type DeleteServiceVersionOutput ¶
func (DeleteServiceVersionOutput) GetRequestID ¶
func (o DeleteServiceVersionOutput) GetRequestID() string
func (DeleteServiceVersionOutput) String ¶
func (o DeleteServiceVersionOutput) String() string
type DeleteTriggerInput ¶
type DeleteTriggerInput struct { ServiceName *string FunctionName *string TriggerName *string IfMatch *string // contains filtered or unexported fields }
func NewDeleteTriggerInput ¶
func NewDeleteTriggerInput(serviceName string, functionName string, triggerName string) *DeleteTriggerInput
func (*DeleteTriggerInput) GetHeaders ¶
func (i *DeleteTriggerInput) GetHeaders() Header
func (*DeleteTriggerInput) GetPath ¶
func (i *DeleteTriggerInput) GetPath() string
func (*DeleteTriggerInput) GetPayload ¶
func (i *DeleteTriggerInput) GetPayload() interface{}
func (*DeleteTriggerInput) GetQueryParams ¶
func (i *DeleteTriggerInput) GetQueryParams() url.Values
func (*DeleteTriggerInput) Validate ¶
func (i *DeleteTriggerInput) Validate() error
func (*DeleteTriggerInput) WithHeader ¶
func (i *DeleteTriggerInput) WithHeader(key, value string) *DeleteTriggerInput
func (*DeleteTriggerInput) WithIfMatch ¶
func (s *DeleteTriggerInput) WithIfMatch(ifMatch string) *DeleteTriggerInput
type DeleteTriggerOutput ¶
func (DeleteTriggerOutput) GetRequestID ¶
func (o DeleteTriggerOutput) GetRequestID() string
func (DeleteTriggerOutput) String ¶
func (o DeleteTriggerOutput) String() string
type Destination ¶
type Destination struct {
Destination *string `json:"destination"`
}
Destination represents the destination arn.
type DestinationConfig ¶
type DestinationConfig struct { OnSuccess *Destination `json:"onSuccess"` OnFailure *Destination `json:"onFailure"` }
DestinationConfig represents the destination configuration.
type EventBridgeTriggerConfig ¶
type EventBridgeTriggerConfig struct { TriggerEnable *bool `json:"triggerEnable"` AsyncInvocationType *bool `json:"asyncInvocationType"` EventSourceConfig *EventSourceConfig `json:"eventSourceConfig"` EventRuleFilterPattern *string `json:"eventRuleFilterPattern"` }
TriggerConfig defines the event bridge trigger config which maps to FunctionComputeConfiguration.
func NewEventBridgeTriggerConfig ¶
func NewEventBridgeTriggerConfig() *EventBridgeTriggerConfig
NewEventBridgeTriggerConfig ...
func (*EventBridgeTriggerConfig) WithAsyncInvocationType ¶
func (ebtc *EventBridgeTriggerConfig) WithAsyncInvocationType(asyncInvocationType bool) *EventBridgeTriggerConfig
func (*EventBridgeTriggerConfig) WithEventRuleFilterPattern ¶
func (ebtc *EventBridgeTriggerConfig) WithEventRuleFilterPattern(eventRuleFilterPattern string) *EventBridgeTriggerConfig
func (*EventBridgeTriggerConfig) WithEventSourceConfig ¶
func (ebtc *EventBridgeTriggerConfig) WithEventSourceConfig(eventSourceConfig *EventSourceConfig) *EventBridgeTriggerConfig
func (*EventBridgeTriggerConfig) WithTriggerEnable ¶
func (ebtc *EventBridgeTriggerConfig) WithTriggerEnable(triggerEnable bool) *EventBridgeTriggerConfig
type EventSourceConfig ¶
type EventSourceConfig struct { EventSourceType *string `json:"eventSourceType"` EventSourceParameters *EventSourceParameters `json:"eventSourceParameters"` }
EventSourceConfig ...
func (*EventSourceConfig) WithEventSourceParameters ¶
func (esc *EventSourceConfig) WithEventSourceParameters(eventSourceParameters *EventSourceParameters) *EventSourceConfig
WithEventSourceParameters ...
func (*EventSourceConfig) WithEventSourceType ¶
func (esc *EventSourceConfig) WithEventSourceType(eventSourceType string) *EventSourceConfig
WithEventSourceType ...
type EventSourceParameters ¶
type EventSourceParameters struct { SourceMNSParameters *SourceMNSParameters `json:"sourceMNSParameters"` SourceRocketMQParameters *SourceRocketMQParameters `json:"sourceRocketMQParameters"` SourceRabbitMQParameters *SourceRabbitMQParameters `json:"sourceRabbitMQParameters"` }
EventSourceParameters ...
func NewEventSourceParameters ¶
func NewEventSourceParameters() *EventSourceParameters
NewEventSourceParameters ...
func (*EventSourceParameters) WithSourceMNSParameters ¶
func (esp *EventSourceParameters) WithSourceMNSParameters(sourceMNSParameters *SourceMNSParameters) *EventSourceParameters
WithSourceMNSParameters
func (*EventSourceParameters) WithSourceRabbitMQParameters ¶
func (esp *EventSourceParameters) WithSourceRabbitMQParameters(sourceRabbitMQParameters *SourceRabbitMQParameters) *EventSourceParameters
WithSourceRabbitMQParameters
func (*EventSourceParameters) WithSourceRocketMQParameters ¶
func (esp *EventSourceParameters) WithSourceRocketMQParameters(sourceRocketMQParameters *SourceRocketMQParameters) *EventSourceParameters
WithSourceRocketMQParameters
type FunctionCreateObject ¶
type FunctionCreateObject struct { FunctionName *string `json:"functionName"` Description *string `json:"description"` Runtime *string `json:"runtime"` Handler *string `json:"handler"` Initializer *string `json:"initializer"` Timeout *int32 `json:"timeout"` InitializationTimeout *int32 `json:"initializationTimeout"` MemorySize *int32 `json:"memorySize"` InstanceConcurrency *int32 `json:"instanceConcurrency"` Code *Code `json:"code"` EnvironmentVariables map[string]string `json:"environmentVariables"` CustomContainerConfig *CustomContainerConfig `json:"customContainerConfig"` CAPort *int32 `json:"caPort"` InstanceType *string `json:"instanceType"` Layers []string `json:"layers"` // contains filtered or unexported fields }
type FunctionUpdateObject ¶
type FunctionUpdateObject struct { Description *string `json:"description"` Runtime *string `json:"runtime"` Handler *string `json:"handler"` Initializer *string `json:"initializer"` Timeout *int32 `json:"timeout"` InitializationTimeout *int32 `json:"initializationTimeout"` MemorySize *int32 `json:"memorySize"` InstanceConcurrency *int32 `json:"instanceConcurrency"` Code *Code `json:"code"` EnvironmentVariables map[string]string `json:"environmentVariables"` CustomContainerConfig *CustomContainerConfig `json:"customContainerConfig"` CAPort *int32 `json:"caPort"` InstanceType *string `json:"instanceType"` Layers []string `json:"layers"` // contains filtered or unexported fields }
FunctionUpdateObject defines update fields in Function
type GetAccountSettingsInput ¶
type GetAccountSettingsInput struct { }
GetAccountSettingsInput defines get account settings intput.
func NewGetAccountSettingsInput ¶
func NewGetAccountSettingsInput() *GetAccountSettingsInput
func (*GetAccountSettingsInput) GetHeaders ¶
func (o *GetAccountSettingsInput) GetHeaders() Header
func (*GetAccountSettingsInput) GetPath ¶
func (o *GetAccountSettingsInput) GetPath() string
func (*GetAccountSettingsInput) GetPayload ¶
func (o *GetAccountSettingsInput) GetPayload() interface{}
func (*GetAccountSettingsInput) GetQueryParams ¶
func (o *GetAccountSettingsInput) GetQueryParams() url.Values
func (*GetAccountSettingsInput) Validate ¶
func (o *GetAccountSettingsInput) Validate() error
type GetAccountSettingsOutput ¶
type GetAccountSettingsOutput struct { Header http.Header // contains filtered or unexported fields }
GetAccountSettingsOutput defines get account settings output.
func (GetAccountSettingsOutput) GetRequestID ¶
func (o GetAccountSettingsOutput) GetRequestID() string
func (GetAccountSettingsOutput) String ¶
func (o GetAccountSettingsOutput) String() string
type GetAliasInput ¶
func NewGetAliasInput ¶
func NewGetAliasInput(serviceName, aliasName string) *GetAliasInput
func (*GetAliasInput) GetHeaders ¶
func (i *GetAliasInput) GetHeaders() Header
func (*GetAliasInput) GetPath ¶
func (i *GetAliasInput) GetPath() string
func (*GetAliasInput) GetPayload ¶
func (i *GetAliasInput) GetPayload() interface{}
func (*GetAliasInput) GetQueryParams ¶
func (i *GetAliasInput) GetQueryParams() url.Values
func (*GetAliasInput) Validate ¶
func (i *GetAliasInput) Validate() error
type GetAliasOutput ¶
func (GetAliasOutput) GetEtag ¶
func (o GetAliasOutput) GetEtag() string
func (GetAliasOutput) GetRequestID ¶
func (o GetAliasOutput) GetRequestID() string
func (GetAliasOutput) String ¶
func (o GetAliasOutput) String() string
type GetCustomDomainInput ¶
type GetCustomDomainInput struct {
DomainName *string
}
func NewGetCustomDomainInput ¶
func NewGetCustomDomainInput(domainName string) *GetCustomDomainInput
func (*GetCustomDomainInput) GetHeaders ¶
func (i *GetCustomDomainInput) GetHeaders() Header
func (*GetCustomDomainInput) GetPath ¶
func (i *GetCustomDomainInput) GetPath() string
func (*GetCustomDomainInput) GetPayload ¶
func (i *GetCustomDomainInput) GetPayload() interface{}
func (*GetCustomDomainInput) GetQueryParams ¶
func (i *GetCustomDomainInput) GetQueryParams() url.Values
func (*GetCustomDomainInput) Validate ¶
func (i *GetCustomDomainInput) Validate() error
type GetCustomDomainOutput ¶
GetCustomDomainOutput define get custom domain response
func (GetCustomDomainOutput) GetRequestID ¶
func (o GetCustomDomainOutput) GetRequestID() string
func (GetCustomDomainOutput) String ¶
func (o GetCustomDomainOutput) String() string
type GetFunctionAsyncInvokeConfigInput ¶
type GetFunctionAsyncInvokeConfigInput struct { ServiceName *string `json:"serviceName"` Qualifier *string `json:"qualifier"` FunctionName *string `json:"functionName"` }
GetFunctionAsyncInvokeConfigInput defines function creation input
func NewGetFunctionAsyncInvokeConfigInput ¶
func NewGetFunctionAsyncInvokeConfigInput(serviceName, functionName string) *GetFunctionAsyncInvokeConfigInput
func (*GetFunctionAsyncInvokeConfigInput) GetHeaders ¶
func (i *GetFunctionAsyncInvokeConfigInput) GetHeaders() Header
func (*GetFunctionAsyncInvokeConfigInput) GetPath ¶
func (i *GetFunctionAsyncInvokeConfigInput) GetPath() string
func (*GetFunctionAsyncInvokeConfigInput) GetPayload ¶
func (i *GetFunctionAsyncInvokeConfigInput) GetPayload() interface{}
func (*GetFunctionAsyncInvokeConfigInput) GetQueryParams ¶
func (i *GetFunctionAsyncInvokeConfigInput) GetQueryParams() url.Values
func (*GetFunctionAsyncInvokeConfigInput) Validate ¶
func (i *GetFunctionAsyncInvokeConfigInput) Validate() error
func (*GetFunctionAsyncInvokeConfigInput) WithQualifier ¶
func (i *GetFunctionAsyncInvokeConfigInput) WithQualifier(qualifier string) *GetFunctionAsyncInvokeConfigInput
type GetFunctionAsyncInvokeConfigOutput ¶
type GetFunctionAsyncInvokeConfigOutput struct { Header http.Header AsyncConfigResponse }
GetFunctionAsyncInvokeConfigOutput define get data response
func (GetFunctionAsyncInvokeConfigOutput) GetRequestID ¶
func (o GetFunctionAsyncInvokeConfigOutput) GetRequestID() string
func (GetFunctionAsyncInvokeConfigOutput) String ¶
func (o GetFunctionAsyncInvokeConfigOutput) String() string
type GetFunctionCodeInput ¶
type GetFunctionCodeInput struct {
*GetFunctionInput
}
GetFunctionCodeInput ...
func NewGetFunctionCodeInput ¶
func NewGetFunctionCodeInput(serviceName string, functionName string) *GetFunctionCodeInput
NewGetFunctionCodeInput ...
func (*GetFunctionCodeInput) WithQualifier ¶
func (i *GetFunctionCodeInput) WithQualifier(qualifier string) *GetFunctionCodeInput
type GetFunctionCodeOutput ¶
GetFunctionCodeOutput define function response from fc
func (GetFunctionCodeOutput) GetRequestID ¶
func (o GetFunctionCodeOutput) GetRequestID() string
GetRequestID ...
type GetFunctionInput ¶
func NewGetFunctionInput ¶
func NewGetFunctionInput(serviceName string, functionName string) *GetFunctionInput
func (*GetFunctionInput) GetHeaders ¶
func (i *GetFunctionInput) GetHeaders() Header
func (*GetFunctionInput) GetPath ¶
func (i *GetFunctionInput) GetPath() string
func (*GetFunctionInput) GetPayload ¶
func (i *GetFunctionInput) GetPayload() interface{}
func (*GetFunctionInput) GetQueryParams ¶
func (i *GetFunctionInput) GetQueryParams() url.Values
func (*GetFunctionInput) Validate ¶
func (i *GetFunctionInput) Validate() error
func (*GetFunctionInput) WithQualifier ¶
func (i *GetFunctionInput) WithQualifier(qualifier string) *GetFunctionInput
type GetFunctionOutput ¶
GetFunctionOutput define function response from fc
func (GetFunctionOutput) GetEtag ¶
func (o GetFunctionOutput) GetEtag() string
func (GetFunctionOutput) GetRequestID ¶
func (o GetFunctionOutput) GetRequestID() string
func (GetFunctionOutput) String ¶
func (o GetFunctionOutput) String() string
type GetLayerVersionByArnInput ¶
type GetLayerVersionByArnInput struct {
Arn string
}
func NewGetLayerVersionByArnInput ¶
func NewGetLayerVersionByArnInput(arn string) *GetLayerVersionByArnInput
func (*GetLayerVersionByArnInput) GetHeaders ¶
func (i *GetLayerVersionByArnInput) GetHeaders() Header
func (*GetLayerVersionByArnInput) GetPath ¶
func (i *GetLayerVersionByArnInput) GetPath() string
func (*GetLayerVersionByArnInput) GetPayload ¶
func (i *GetLayerVersionByArnInput) GetPayload() interface{}
func (*GetLayerVersionByArnInput) GetQueryParams ¶
func (i *GetLayerVersionByArnInput) GetQueryParams() url.Values
func (*GetLayerVersionByArnInput) Validate ¶
func (i *GetLayerVersionByArnInput) Validate() error
type GetLayerVersionInput ¶
func NewGetLayerVersionInput ¶
func NewGetLayerVersionInput(layerName string, version int32) *GetLayerVersionInput
func (*GetLayerVersionInput) GetHeaders ¶
func (i *GetLayerVersionInput) GetHeaders() Header
func (*GetLayerVersionInput) GetPath ¶
func (i *GetLayerVersionInput) GetPath() string
func (*GetLayerVersionInput) GetPayload ¶
func (i *GetLayerVersionInput) GetPayload() interface{}
func (*GetLayerVersionInput) GetQueryParams ¶
func (i *GetLayerVersionInput) GetQueryParams() url.Values
func (*GetLayerVersionInput) Validate ¶
func (i *GetLayerVersionInput) Validate() error
type GetLayerVersionOutput ¶
GetLayerVersionOutput define get layer version response
func (GetLayerVersionOutput) GetEtag ¶
func (o GetLayerVersionOutput) GetEtag() string
func (GetLayerVersionOutput) GetRequestID ¶
func (o GetLayerVersionOutput) GetRequestID() string
func (GetLayerVersionOutput) String ¶
func (o GetLayerVersionOutput) String() string
type GetOnDemandConfigInput ¶
type GetOnDemandConfigInput struct { ServiceName *string `json:"serviceName"` Qualifier *string `json:"qualifier"` FunctionName *string `json:"functionName"` }
func NewGetOnDemandConfigInput ¶
func NewGetOnDemandConfigInput(serviceName, qualifier, functionName string) *GetOnDemandConfigInput
func (*GetOnDemandConfigInput) GetHeaders ¶
func (i *GetOnDemandConfigInput) GetHeaders() Header
func (*GetOnDemandConfigInput) GetPath ¶
func (i *GetOnDemandConfigInput) GetPath() string
func (*GetOnDemandConfigInput) GetPayload ¶
func (i *GetOnDemandConfigInput) GetPayload() interface{}
func (*GetOnDemandConfigInput) GetQueryParams ¶
func (i *GetOnDemandConfigInput) GetQueryParams() url.Values
func (*GetOnDemandConfigInput) Validate ¶
func (i *GetOnDemandConfigInput) Validate() error
type GetOnDemandConfigOutput ¶
type GetOnDemandConfigOutput struct { Header http.Header OnDemandConfig }
func (GetOnDemandConfigOutput) GetEtag ¶
func (o GetOnDemandConfigOutput) GetEtag() string
func (GetOnDemandConfigOutput) GetRequestID ¶
func (o GetOnDemandConfigOutput) GetRequestID() string
func (GetOnDemandConfigOutput) String ¶
func (o GetOnDemandConfigOutput) String() string
type GetProvisionConfigInput ¶
type GetProvisionConfigInput struct { ServiceName *string `json:"serviceName"` Qualifier *string `json:"qualifier"` FunctionName *string `json:"functionName"` }
func NewGetProvisionConfigInput ¶
func NewGetProvisionConfigInput(serviceName, qualifier, functionName string) *GetProvisionConfigInput
func (*GetProvisionConfigInput) GetHeaders ¶
func (i *GetProvisionConfigInput) GetHeaders() Header
func (*GetProvisionConfigInput) GetPath ¶
func (i *GetProvisionConfigInput) GetPath() string
func (*GetProvisionConfigInput) GetPayload ¶
func (i *GetProvisionConfigInput) GetPayload() interface{}
func (*GetProvisionConfigInput) GetQueryParams ¶
func (i *GetProvisionConfigInput) GetQueryParams() url.Values
func (*GetProvisionConfigInput) Validate ¶
func (i *GetProvisionConfigInput) Validate() error
type GetProvisionConfigOutput ¶
type GetProvisionConfigOutput struct { Header http.Header // contains filtered or unexported fields }
func (GetProvisionConfigOutput) GetEtag ¶
func (o GetProvisionConfigOutput) GetEtag() string
func (GetProvisionConfigOutput) GetRequestID ¶
func (o GetProvisionConfigOutput) GetRequestID() string
func (GetProvisionConfigOutput) String ¶
func (o GetProvisionConfigOutput) String() string
type GetResourceTagsInput ¶
type GetResourceTagsInput struct {
ResourceArn *string `json:"resourceArn"`
}
GetResourceTagsInput ...
func NewGetResourceTagsInput ¶
func NewGetResourceTagsInput(resourceArn string) *GetResourceTagsInput
NewGetResourceTagsInput...
func (*GetResourceTagsInput) GetHeaders ¶
func (t *GetResourceTagsInput) GetHeaders() Header
func (*GetResourceTagsInput) GetPath ¶
func (t *GetResourceTagsInput) GetPath() string
func (*GetResourceTagsInput) GetPayload ¶
func (t *GetResourceTagsInput) GetPayload() interface{}
func (*GetResourceTagsInput) GetQueryParams ¶
func (t *GetResourceTagsInput) GetQueryParams() url.Values
func (*GetResourceTagsInput) Validate ¶
func (t *GetResourceTagsInput) Validate() error
func (*GetResourceTagsInput) WithResourceArn ¶
func (s *GetResourceTagsInput) WithResourceArn(resourceArn string) *GetResourceTagsInput
type GetResourceTagsOut ¶
type GetResourceTagsOut struct { Header http.Header ResourceArn *string `json:"resourceArn"` Tags map[string]string `json:"tags"` }
GetResourceTagsOut ...
func (GetResourceTagsOut) GetRequestID ¶
func (o GetResourceTagsOut) GetRequestID() string
func (GetResourceTagsOut) String ¶
func (o GetResourceTagsOut) String() string
type GetServiceInput ¶
func NewGetServiceInput ¶
func NewGetServiceInput(serviceName string) *GetServiceInput
func (*GetServiceInput) GetHeaders ¶
func (i *GetServiceInput) GetHeaders() Header
func (*GetServiceInput) GetPath ¶
func (i *GetServiceInput) GetPath() string
func (*GetServiceInput) GetPayload ¶
func (i *GetServiceInput) GetPayload() interface{}
func (*GetServiceInput) GetQueryParams ¶
func (i *GetServiceInput) GetQueryParams() url.Values
func (*GetServiceInput) Validate ¶
func (i *GetServiceInput) Validate() error
func (*GetServiceInput) WithQualifier ¶
func (i *GetServiceInput) WithQualifier(qualifier string) *GetServiceInput
type GetServiceOutput ¶
GetServiceOutput define get service response
func (GetServiceOutput) GetEtag ¶
func (o GetServiceOutput) GetEtag() string
func (GetServiceOutput) GetRequestID ¶
func (o GetServiceOutput) GetRequestID() string
func (GetServiceOutput) String ¶
func (o GetServiceOutput) String() string
type GetStatefulAsyncInvocationInput ¶
type GetStatefulAsyncInvocationInput struct { ServiceName *string `json:"serviceName"` Qualifier *string `json:"qualifier"` FunctionName *string `json:"functionName"` InvocationID *string `json:"invocationId"` }
GetFunctionAsyncInvokeConfigInput defines function creation input
func NewGetStatefulAsyncInvocationInput ¶
func NewGetStatefulAsyncInvocationInput(serviceName, functionName, invocationID string) *GetStatefulAsyncInvocationInput
func (*GetStatefulAsyncInvocationInput) GetHeaders ¶
func (i *GetStatefulAsyncInvocationInput) GetHeaders() Header
func (*GetStatefulAsyncInvocationInput) GetPath ¶
func (i *GetStatefulAsyncInvocationInput) GetPath() string
func (*GetStatefulAsyncInvocationInput) GetPayload ¶
func (i *GetStatefulAsyncInvocationInput) GetPayload() interface{}
func (*GetStatefulAsyncInvocationInput) GetQueryParams ¶
func (i *GetStatefulAsyncInvocationInput) GetQueryParams() url.Values
func (*GetStatefulAsyncInvocationInput) Validate ¶
func (i *GetStatefulAsyncInvocationInput) Validate() error
func (*GetStatefulAsyncInvocationInput) WithQualifier ¶
func (i *GetStatefulAsyncInvocationInput) WithQualifier(qualifier string) *GetStatefulAsyncInvocationInput
type GetStatefulAsyncInvocationOutput ¶
type GetStatefulAsyncInvocationOutput struct { Header http.Header StatefulAsyncInvocationResponse }
GetFunctionAsyncInvokeConfigOutput define get data response
func (GetStatefulAsyncInvocationOutput) GetRequestID ¶
func (o GetStatefulAsyncInvocationOutput) GetRequestID() string
func (GetStatefulAsyncInvocationOutput) String ¶
func (o GetStatefulAsyncInvocationOutput) String() string
type GetTempBucketTokenInput ¶
type GetTempBucketTokenInput struct{}
GetTempBucketTokenInput is empty
func (GetTempBucketTokenInput) GetHeaders ¶
func (i GetTempBucketTokenInput) GetHeaders() Header
func (GetTempBucketTokenInput) GetPath ¶
func (i GetTempBucketTokenInput) GetPath() string
func (GetTempBucketTokenInput) GetPayload ¶
func (i GetTempBucketTokenInput) GetPayload() interface{}
func (GetTempBucketTokenInput) GetQueryParams ¶
func (i GetTempBucketTokenInput) GetQueryParams() url.Values
func (GetTempBucketTokenInput) Validate ¶
func (i GetTempBucketTokenInput) Validate() error
type GetTempBucketTokenOutput ¶
type GetTempBucketTokenOutput struct { Header http.Header `json:"header"` Credentials Credentials `json:"credentials"` OssRegion string `json:"ossRegion"` OssBucket string `json:"ossBucket"` ObjectName string `json:"objectName"` }
GetTempBucketTokenOutput ...
type GetTriggerInput ¶
type GetTriggerInput struct { ServiceName *string FunctionName *string TriggerName *string // contains filtered or unexported fields }
func NewGetTriggerInput ¶
func NewGetTriggerInput(serviceName string, functionName string, triggerName string) *GetTriggerInput
func (*GetTriggerInput) GetHeaders ¶
func (i *GetTriggerInput) GetHeaders() Header
func (*GetTriggerInput) GetPath ¶
func (i *GetTriggerInput) GetPath() string
func (*GetTriggerInput) GetPayload ¶
func (i *GetTriggerInput) GetPayload() interface{}
func (*GetTriggerInput) GetQueryParams ¶
func (i *GetTriggerInput) GetQueryParams() url.Values
func (*GetTriggerInput) Validate ¶
func (i *GetTriggerInput) Validate() error
func (*GetTriggerInput) WithHeader ¶
func (i *GetTriggerInput) WithHeader(key, value string) *GetTriggerInput
type GetTriggerOutput ¶
GetTriggerOutput define trigger response from fc
func (GetTriggerOutput) GetEtag ¶
func (o GetTriggerOutput) GetEtag() string
func (GetTriggerOutput) GetRequestID ¶
func (o GetTriggerOutput) GetRequestID() string
func (GetTriggerOutput) MarshalJSON ¶
func (o GetTriggerOutput) MarshalJSON() ([]byte, error)
MarshalJSON marshals trigger metadata and excludes RawTriggerConfig
func (GetTriggerOutput) String ¶
func (o GetTriggerOutput) String() string
func (*GetTriggerOutput) UnmarshalJSON ¶
UnmarshalJSON unmarshals the data to trigger metadata and sets TriggerConfig field to an actual trigger config. User can use type switches/assertion to get the actual trigger config.
type HTTPTriggerConfig ¶
type HTTPTriggerConfig struct { AuthType *string `json:"authType"` Methods []string `json:"methods"` }
HTTPTriggerConfig ..
func (*HTTPTriggerConfig) WithAuthType ¶
func (t *HTTPTriggerConfig) WithAuthType(authType string) *HTTPTriggerConfig
WithAuthType ...
func (*HTTPTriggerConfig) WithMethods ¶
func (t *HTTPTriggerConfig) WithMethods(methods ...string) *HTTPTriggerConfig
WithMethods ...
type InstanceExecInput ¶
type InstanceExecInput struct { Header http.Header ServiceName *string FunctionName *string Qualifier *string InstanceID *string Command []string Stdin bool Stdout bool Stderr bool TTY bool IdleTimeout *int // contains filtered or unexported fields }
InstanceExecInput define publish layer version response
func NewInstanceExecInput ¶
func NewInstanceExecInput( serviceName, functionName, instanceID string, command []string, ) *InstanceExecInput
func (*InstanceExecInput) GetHeaders ¶
func (i *InstanceExecInput) GetHeaders() Header
func (*InstanceExecInput) GetPath ¶
func (i *InstanceExecInput) GetPath() string
func (*InstanceExecInput) GetPayload ¶
func (i *InstanceExecInput) GetPayload() interface{}
func (*InstanceExecInput) GetQueryParams ¶
func (i *InstanceExecInput) GetQueryParams() url.Values
func (*InstanceExecInput) OnStderr ¶
func (i *InstanceExecInput) OnStderr(callback MessageCallbackFunction) *InstanceExecInput
func (*InstanceExecInput) OnStdout ¶
func (i *InstanceExecInput) OnStdout(callback MessageCallbackFunction) *InstanceExecInput
func (*InstanceExecInput) Validate ¶
func (i *InstanceExecInput) Validate() error
func (*InstanceExecInput) WithCommand ¶
func (i *InstanceExecInput) WithCommand(command []string) *InstanceExecInput
func (*InstanceExecInput) WithFunctionName ¶
func (i *InstanceExecInput) WithFunctionName(functionName string) *InstanceExecInput
func (*InstanceExecInput) WithIdleTimeout ¶
func (i *InstanceExecInput) WithIdleTimeout(idleTimeout int) *InstanceExecInput
func (*InstanceExecInput) WithInstance ¶
func (i *InstanceExecInput) WithInstance(instanceID string) *InstanceExecInput
func (*InstanceExecInput) WithQualifier ¶
func (i *InstanceExecInput) WithQualifier(qualifier string) *InstanceExecInput
func (*InstanceExecInput) WithServiceName ¶
func (i *InstanceExecInput) WithServiceName(serviceName string) *InstanceExecInput
func (*InstanceExecInput) WithStderr ¶
func (i *InstanceExecInput) WithStderr(stderr bool) *InstanceExecInput
func (*InstanceExecInput) WithStdin ¶
func (i *InstanceExecInput) WithStdin(stdin bool) *InstanceExecInput
func (*InstanceExecInput) WithStdout ¶
func (i *InstanceExecInput) WithStdout(stdout bool) *InstanceExecInput
func (*InstanceExecInput) WithTTY ¶
func (i *InstanceExecInput) WithTTY(tty bool) *InstanceExecInput
type InstanceExecOutput ¶
type InstanceExecOutput struct { Header http.Header WebsocketConnection *websocket.Conn // contains filtered or unexported fields }
func (*InstanceExecOutput) Closed ¶
func (o *InstanceExecOutput) Closed() bool
func (*InstanceExecOutput) ErrorChannel ¶
func (o *InstanceExecOutput) ErrorChannel() chan error
func (*InstanceExecOutput) WriteStdin ¶
func (o *InstanceExecOutput) WriteStdin(msg []byte) error
type InvokeFunctionInput ¶
type InvokeFunctionInput struct { ServiceName *string FunctionName *string Qualifier *string Payload *[]byte // contains filtered or unexported fields }
func NewInvokeFunctionInput ¶
func NewInvokeFunctionInput(serviceName string, functionName string) *InvokeFunctionInput
func (*InvokeFunctionInput) GetHeaders ¶
func (i *InvokeFunctionInput) GetHeaders() Header
func (*InvokeFunctionInput) GetPath ¶
func (i *InvokeFunctionInput) GetPath() string
func (*InvokeFunctionInput) GetPayload ¶
func (i *InvokeFunctionInput) GetPayload() interface{}
func (*InvokeFunctionInput) GetQueryParams ¶
func (i *InvokeFunctionInput) GetQueryParams() url.Values
func (*InvokeFunctionInput) Validate ¶
func (i *InvokeFunctionInput) Validate() error
func (*InvokeFunctionInput) WithAsyncInvocation ¶
func (i *InvokeFunctionInput) WithAsyncInvocation() *InvokeFunctionInput
func (*InvokeFunctionInput) WithHeader ¶
func (i *InvokeFunctionInput) WithHeader(key, value string) *InvokeFunctionInput
func (*InvokeFunctionInput) WithInvocationType ¶
func (i *InvokeFunctionInput) WithInvocationType(invocationType string) *InvokeFunctionInput
func (*InvokeFunctionInput) WithLogType ¶
func (i *InvokeFunctionInput) WithLogType(logType string) *InvokeFunctionInput
func (*InvokeFunctionInput) WithPayload ¶
func (i *InvokeFunctionInput) WithPayload(payload []byte) *InvokeFunctionInput
func (*InvokeFunctionInput) WithQualifier ¶
func (i *InvokeFunctionInput) WithQualifier(qualifier string) *InvokeFunctionInput
func (*InvokeFunctionInput) WithStatefulAsyncInvocationID ¶
func (i *InvokeFunctionInput) WithStatefulAsyncInvocationID(id string) *InvokeFunctionInput
func (*InvokeFunctionInput) WithSyncInvocation ¶
func (i *InvokeFunctionInput) WithSyncInvocation() *InvokeFunctionInput
type InvokeFunctionOutput ¶
func (InvokeFunctionOutput) GetErrorType ¶
func (o InvokeFunctionOutput) GetErrorType() string
GetErrorType returns error type occurred in function invocations will be empty string when no errors
func (InvokeFunctionOutput) GetLogResult ¶
func (o InvokeFunctionOutput) GetLogResult() (string, error)
GetLogResult returns LogResults for the invocation
func (InvokeFunctionOutput) GetRequestID ¶
func (o InvokeFunctionOutput) GetRequestID() string
func (InvokeFunctionOutput) String ¶
func (o InvokeFunctionOutput) String() string
type JaegerConfig ¶
type JaegerConfig struct {
Endpoint *string `json:"endpoint"`
}
func NewJaegerConfig ¶
func NewJaegerConfig() *JaegerConfig
func (*JaegerConfig) WithEndpoint ¶
func (j *JaegerConfig) WithEndpoint(endpoint string) *JaegerConfig
type JobConfig ¶
type JobConfig struct { MaxRetryTime *int `json:"maxRetryTime"` TriggerInterval *int `json:"triggerInterval"` }
JobConfig maps to Log service's trigger config.
func NewJobConfig ¶
func NewJobConfig() *JobConfig
func (*JobConfig) WithMaxRetryTime ¶
func (*JobConfig) WithTriggerInterval ¶
type JobLogConfig ¶
LogConfig ..
func NewJobLogConfig ¶
func NewJobLogConfig() *JobLogConfig
func (*JobLogConfig) WithLogstore ¶
func (jlc *JobLogConfig) WithLogstore(s string) *JobLogConfig
func (*JobLogConfig) WithProject ¶
func (jlc *JobLogConfig) WithProject(p string) *JobLogConfig
type Layer ¶
type Layer struct { LayerName string `json:"layerName"` Version int32 `json:"version"` Description string `json:"description"` Code OutputCodeLocation `json:"code"` CodeSize int64 `json:"codeSize"` CodeChecksum string `json:"codeChecksum"` CreateTime string `json:"createTime"` ACL int32 `json:"acl"` CompatibleRuntime []string `json:"compatibleRuntime"` Arn string `json:"arn"` }
type ListAliasesInput ¶
func NewListAliasesInput ¶
func NewListAliasesInput(serviceName string) *ListAliasesInput
func (*ListAliasesInput) GetHeaders ¶
func (i *ListAliasesInput) GetHeaders() Header
func (*ListAliasesInput) GetPath ¶
func (i *ListAliasesInput) GetPath() string
func (*ListAliasesInput) GetPayload ¶
func (i *ListAliasesInput) GetPayload() interface{}
func (*ListAliasesInput) GetQueryParams ¶
func (i *ListAliasesInput) GetQueryParams() url.Values
func (*ListAliasesInput) Validate ¶
func (i *ListAliasesInput) Validate() error
func (*ListAliasesInput) WithLimit ¶
func (i *ListAliasesInput) WithLimit(limit int32) *ListAliasesInput
func (*ListAliasesInput) WithNextToken ¶
func (i *ListAliasesInput) WithNextToken(nextToken string) *ListAliasesInput
func (*ListAliasesInput) WithPrefix ¶
func (i *ListAliasesInput) WithPrefix(prefix string) *ListAliasesInput
func (*ListAliasesInput) WithStartKey ¶
func (i *ListAliasesInput) WithStartKey(startKey string) *ListAliasesInput
type ListAliasesOutput ¶
type ListAliasesOutput struct { Header http.Header Aliases []*aliasMetadata `json:"aliases"` NextToken *string `json:"nextToken,omitempty"` }
func (ListAliasesOutput) GetRequestID ¶
func (o ListAliasesOutput) GetRequestID() string
func (ListAliasesOutput) String ¶
func (o ListAliasesOutput) String() string
type ListCustomDomainsInput ¶
type ListCustomDomainsInput struct {
Query
}
func NewListCustomDomainsInput ¶
func NewListCustomDomainsInput() *ListCustomDomainsInput
func (*ListCustomDomainsInput) GetHeaders ¶
func (i *ListCustomDomainsInput) GetHeaders() Header
func (*ListCustomDomainsInput) GetPath ¶
func (i *ListCustomDomainsInput) GetPath() string
func (*ListCustomDomainsInput) GetPayload ¶
func (i *ListCustomDomainsInput) GetPayload() interface{}
func (*ListCustomDomainsInput) GetQueryParams ¶
func (i *ListCustomDomainsInput) GetQueryParams() url.Values
func (*ListCustomDomainsInput) Validate ¶
func (i *ListCustomDomainsInput) Validate() error
func (*ListCustomDomainsInput) WithLimit ¶
func (i *ListCustomDomainsInput) WithLimit(limit int32) *ListCustomDomainsInput
func (*ListCustomDomainsInput) WithNextToken ¶
func (i *ListCustomDomainsInput) WithNextToken(nextToken string) *ListCustomDomainsInput
func (*ListCustomDomainsInput) WithPrefix ¶
func (i *ListCustomDomainsInput) WithPrefix(prefix string) *ListCustomDomainsInput
func (*ListCustomDomainsInput) WithStartKey ¶
func (i *ListCustomDomainsInput) WithStartKey(startKey string) *ListCustomDomainsInput
type ListCustomDomainsOutput ¶
type ListCustomDomainsOutput struct { Header http.Header CustomDomains []*customDomainMetadata `json:"customDomains"` NextToken *string `json:"nextToken,omitempty"` }
ListCustomDomains defines listCustomDomainsMetadata result
func (ListCustomDomainsOutput) GetRequestID ¶
func (o ListCustomDomainsOutput) GetRequestID() string
func (ListCustomDomainsOutput) String ¶
func (o ListCustomDomainsOutput) String() string
type ListFunctionAsyncInvokeConfigsInput ¶
type ListFunctionAsyncInvokeConfigsInput struct { ServiceName *string `json:"serviceName"` FunctionName *string `json:"functionName"` NextToken *string Limit *int32 }
func NewListFunctionAsyncInvokeConfigsInput ¶
func NewListFunctionAsyncInvokeConfigsInput(serviceName, functionName string) *ListFunctionAsyncInvokeConfigsInput
func (*ListFunctionAsyncInvokeConfigsInput) GetHeaders ¶
func (i *ListFunctionAsyncInvokeConfigsInput) GetHeaders() Header
func (*ListFunctionAsyncInvokeConfigsInput) GetPath ¶
func (i *ListFunctionAsyncInvokeConfigsInput) GetPath() string
func (*ListFunctionAsyncInvokeConfigsInput) GetPayload ¶
func (i *ListFunctionAsyncInvokeConfigsInput) GetPayload() interface{}
func (*ListFunctionAsyncInvokeConfigsInput) GetQueryParams ¶
func (i *ListFunctionAsyncInvokeConfigsInput) GetQueryParams() url.Values
func (*ListFunctionAsyncInvokeConfigsInput) Validate ¶
func (i *ListFunctionAsyncInvokeConfigsInput) Validate() error
func (*ListFunctionAsyncInvokeConfigsInput) WithLimit ¶
func (i *ListFunctionAsyncInvokeConfigsInput) WithLimit(limit int32) *ListFunctionAsyncInvokeConfigsInput
func (*ListFunctionAsyncInvokeConfigsInput) WithNextToken ¶
func (i *ListFunctionAsyncInvokeConfigsInput) WithNextToken(nextToken string) *ListFunctionAsyncInvokeConfigsInput
type ListFunctionAsyncInvokeConfigsOutput ¶
type ListFunctionAsyncInvokeConfigsOutput struct { Header http.Header Configs []*AsyncConfigResponse `json:"configs"` NextToken *string `json:"nextToken,omitempty"` }
ListFunctionAsyncInvokeConfigsOutput defines ListFunctionAsyncInvokeConfigsOutput result
func (ListFunctionAsyncInvokeConfigsOutput) GetRequestID ¶
func (o ListFunctionAsyncInvokeConfigsOutput) GetRequestID() string
func (ListFunctionAsyncInvokeConfigsOutput) String ¶
func (o ListFunctionAsyncInvokeConfigsOutput) String() string
type ListFunctionsInput ¶
func NewListFunctionsInput ¶
func NewListFunctionsInput(serviceName string) *ListFunctionsInput
func (*ListFunctionsInput) GetHeaders ¶
func (i *ListFunctionsInput) GetHeaders() Header
func (*ListFunctionsInput) GetPath ¶
func (i *ListFunctionsInput) GetPath() string
func (*ListFunctionsInput) GetPayload ¶
func (i *ListFunctionsInput) GetPayload() interface{}
func (*ListFunctionsInput) GetQueryParams ¶
func (i *ListFunctionsInput) GetQueryParams() url.Values
func (*ListFunctionsInput) Validate ¶
func (i *ListFunctionsInput) Validate() error
func (*ListFunctionsInput) WithLimit ¶
func (i *ListFunctionsInput) WithLimit(limit int32) *ListFunctionsInput
func (*ListFunctionsInput) WithNextToken ¶
func (i *ListFunctionsInput) WithNextToken(nextToken string) *ListFunctionsInput
func (*ListFunctionsInput) WithPrefix ¶
func (i *ListFunctionsInput) WithPrefix(prefix string) *ListFunctionsInput
func (*ListFunctionsInput) WithQualifier ¶
func (i *ListFunctionsInput) WithQualifier(qualifier string) *ListFunctionsInput
func (*ListFunctionsInput) WithStartKey ¶
func (i *ListFunctionsInput) WithStartKey(startKey string) *ListFunctionsInput
type ListFunctionsOutput ¶
type ListFunctionsOutput struct { Header http.Header Functions []*functionMetadata `json:"functions"` NextToken *string `json:"nextToken,omitempty"` }
ListFunctionsOutput defines the function response list
func (ListFunctionsOutput) GetRequestID ¶
func (o ListFunctionsOutput) GetRequestID() string
func (ListFunctionsOutput) String ¶
func (o ListFunctionsOutput) String() string
type ListInstancesInput ¶
type ListInstancesInput struct { Header http.Header ServiceName *string FunctionName *string Qualifier *string Limit *int NextToken *string }
ListInstancesInput define publish layer version response
func NewListInstancesInput ¶
func NewListInstancesInput(serviceName, functionName string) *ListInstancesInput
func (ListInstancesInput) GetHeaders ¶
func (i ListInstancesInput) GetHeaders() Header
func (ListInstancesInput) GetPath ¶
func (i ListInstancesInput) GetPath() string
func (ListInstancesInput) GetPayload ¶
func (i ListInstancesInput) GetPayload() interface{}
func (ListInstancesInput) GetQueryParams ¶
func (i ListInstancesInput) GetQueryParams() url.Values
func (ListInstancesInput) Validate ¶
func (i ListInstancesInput) Validate() error
func (*ListInstancesInput) WithFunctionName ¶
func (i *ListInstancesInput) WithFunctionName(functionName string) *ListInstancesInput
func (*ListInstancesInput) WithLimit ¶
func (i *ListInstancesInput) WithLimit(limit int) *ListInstancesInput
func (*ListInstancesInput) WithNextToken ¶
func (i *ListInstancesInput) WithNextToken(nextToken string) *ListInstancesInput
func (*ListInstancesInput) WithQualifier ¶
func (i *ListInstancesInput) WithQualifier(qualifier string) *ListInstancesInput
func (*ListInstancesInput) WithServiceName ¶
func (i *ListInstancesInput) WithServiceName(serviceName string) *ListInstancesInput
type ListInstancesOutput ¶
type ListLayerVersionsInput ¶
func NewListLayerVersionsInput ¶
func NewListLayerVersionsInput(layerName string, version int32) *ListLayerVersionsInput
func (*ListLayerVersionsInput) GetHeaders ¶
func (i *ListLayerVersionsInput) GetHeaders() Header
func (*ListLayerVersionsInput) GetPath ¶
func (i *ListLayerVersionsInput) GetPath() string
func (*ListLayerVersionsInput) GetPayload ¶
func (i *ListLayerVersionsInput) GetPayload() interface{}
func (*ListLayerVersionsInput) GetQueryParams ¶
func (i *ListLayerVersionsInput) GetQueryParams() url.Values
func (*ListLayerVersionsInput) Validate ¶
func (i *ListLayerVersionsInput) Validate() error
func (*ListLayerVersionsInput) WithLimit ¶
func (i *ListLayerVersionsInput) WithLimit(limit int32) *ListLayerVersionsInput
type ListLayerVersionsOutput ¶
type ListLayerVersionsOutput struct { Header http.Header Layers []*Layer `json:"layers"` NextVersion *int32 `json:"nextVersion,omitempty"` }
func (ListLayerVersionsOutput) GetRequestID ¶
func (o ListLayerVersionsOutput) GetRequestID() string
func (ListLayerVersionsOutput) String ¶
func (o ListLayerVersionsOutput) String() string
type ListLayersInput ¶
type ListLayersInput struct { Query // contains filtered or unexported fields }
func NewListLayersInput ¶
func NewListLayersInput() *ListLayersInput
func (*ListLayersInput) GetHeaders ¶
func (i *ListLayersInput) GetHeaders() Header
func (*ListLayersInput) GetPath ¶
func (i *ListLayersInput) GetPath() string
func (*ListLayersInput) GetPayload ¶
func (i *ListLayersInput) GetPayload() interface{}
func (*ListLayersInput) GetQueryParams ¶
func (i *ListLayersInput) GetQueryParams() url.Values
func (*ListLayersInput) Validate ¶
func (i *ListLayersInput) Validate() error
func (*ListLayersInput) WithLimit ¶
func (i *ListLayersInput) WithLimit(limit int32) *ListLayersInput
func (*ListLayersInput) WithNextToken ¶
func (i *ListLayersInput) WithNextToken(nextToken string) *ListLayersInput
func (*ListLayersInput) WithPrefix ¶
func (i *ListLayersInput) WithPrefix(prefix string) *ListLayersInput
func (*ListLayersInput) WithPublic ¶
func (i *ListLayersInput) WithPublic(public bool) *ListLayersInput
func (*ListLayersInput) WithStartKey ¶
func (i *ListLayersInput) WithStartKey(startKey string) *ListLayersInput
type ListLayersOutput ¶
type ListLayersOutput struct { Header http.Header Layers []*Layer `json:"layers"` NextToken *string `json:"nextToken,omitempty"` }
ListLayersOutput defines List layers result
func (ListLayersOutput) GetRequestID ¶
func (o ListLayersOutput) GetRequestID() string
func (ListLayersOutput) String ¶
func (o ListLayersOutput) String() string
type ListOnDemandConfigsInput ¶
type ListOnDemandConfigsInput struct { Prefix *string `json:"prefix"` StartKey *string `json:"startKey"` NextToken *string `json:"nextToken,omitempty"` Limit int `json:"limit,omitempty"` }
func NewListOnDemandConfigsInput ¶
func NewListOnDemandConfigsInput() *ListOnDemandConfigsInput
func (*ListOnDemandConfigsInput) GetHeaders ¶
func (i *ListOnDemandConfigsInput) GetHeaders() Header
func (*ListOnDemandConfigsInput) GetPath ¶
func (i *ListOnDemandConfigsInput) GetPath() string
func (*ListOnDemandConfigsInput) GetPayload ¶
func (i *ListOnDemandConfigsInput) GetPayload() interface{}
func (*ListOnDemandConfigsInput) GetQueryParams ¶
func (i *ListOnDemandConfigsInput) GetQueryParams() url.Values
func (*ListOnDemandConfigsInput) Validate ¶
func (i *ListOnDemandConfigsInput) Validate() error
func (*ListOnDemandConfigsInput) WithLimit ¶
func (i *ListOnDemandConfigsInput) WithLimit(limit int) *ListOnDemandConfigsInput
func (*ListOnDemandConfigsInput) WithNextToken ¶
func (i *ListOnDemandConfigsInput) WithNextToken(nextToken string) *ListOnDemandConfigsInput
func (*ListOnDemandConfigsInput) WithPrefix ¶
func (i *ListOnDemandConfigsInput) WithPrefix(prefix string) *ListOnDemandConfigsInput
func (*ListOnDemandConfigsInput) WithStartKey ¶
func (i *ListOnDemandConfigsInput) WithStartKey(startKey string) *ListOnDemandConfigsInput
type ListOnDemandConfigsOutput ¶
type ListOnDemandConfigsOutput struct { Header http.Header OnDemandConfigs }
func (ListOnDemandConfigsOutput) GetRequestID ¶
func (o ListOnDemandConfigsOutput) GetRequestID() string
func (ListOnDemandConfigsOutput) String ¶
func (o ListOnDemandConfigsOutput) String() string
type ListProvisionConfigsInput ¶
type ListProvisionConfigsInput struct { ServiceName *string `json:"serviceName"` Qualifier *string `json:"qualifier"` NextToken *string `json:"nextToken"` Limit *int32 `json:"limit"` }
func NewListProvisionConfigsInput ¶
func NewListProvisionConfigsInput() *ListProvisionConfigsInput
func (*ListProvisionConfigsInput) GetHeaders ¶
func (i *ListProvisionConfigsInput) GetHeaders() Header
func (*ListProvisionConfigsInput) GetPath ¶
func (i *ListProvisionConfigsInput) GetPath() string
func (*ListProvisionConfigsInput) GetPayload ¶
func (i *ListProvisionConfigsInput) GetPayload() interface{}
func (*ListProvisionConfigsInput) GetQueryParams ¶
func (i *ListProvisionConfigsInput) GetQueryParams() url.Values
func (*ListProvisionConfigsInput) Validate ¶
func (i *ListProvisionConfigsInput) Validate() error
func (*ListProvisionConfigsInput) WithLimit ¶
func (i *ListProvisionConfigsInput) WithLimit(limit int32) *ListProvisionConfigsInput
func (*ListProvisionConfigsInput) WithNextToken ¶
func (i *ListProvisionConfigsInput) WithNextToken(nextToken string) *ListProvisionConfigsInput
func (*ListProvisionConfigsInput) WithQualifier ¶
func (i *ListProvisionConfigsInput) WithQualifier(qualifier string) *ListProvisionConfigsInput
func (*ListProvisionConfigsInput) WithServiceName ¶
func (i *ListProvisionConfigsInput) WithServiceName(serviceName string) *ListProvisionConfigsInput
type ListProvisionConfigsOutput ¶
type ListProvisionConfigsOutput struct { Header http.Header ProvisionConfigs []*provisionConfig `json:"provisionConfigs"` NextToken *string `json:"nextToken,omitempty"` }
func (ListProvisionConfigsOutput) GetRequestID ¶
func (o ListProvisionConfigsOutput) GetRequestID() string
func (ListProvisionConfigsOutput) String ¶
func (o ListProvisionConfigsOutput) String() string
type ListReservedCapacitiesInput ¶
type ListReservedCapacitiesInput struct {
Query
}
ListReservedCapacitiesInput : ...
func NewListReservedCapacitiesInput ¶
func NewListReservedCapacitiesInput() *ListReservedCapacitiesInput
NewListReservedCapacitiesInput : ...
func (*ListReservedCapacitiesInput) GetHeaders ¶
func (i *ListReservedCapacitiesInput) GetHeaders() Header
func (*ListReservedCapacitiesInput) GetPath ¶
func (i *ListReservedCapacitiesInput) GetPath() string
func (*ListReservedCapacitiesInput) GetPayload ¶
func (i *ListReservedCapacitiesInput) GetPayload() interface{}
func (*ListReservedCapacitiesInput) GetQueryParams ¶
func (i *ListReservedCapacitiesInput) GetQueryParams() url.Values
func (*ListReservedCapacitiesInput) Validate ¶
func (i *ListReservedCapacitiesInput) Validate() error
func (*ListReservedCapacitiesInput) WithLimit ¶
func (i *ListReservedCapacitiesInput) WithLimit(limit int32) *ListReservedCapacitiesInput
func (*ListReservedCapacitiesInput) WithNextToken ¶
func (i *ListReservedCapacitiesInput) WithNextToken(nextToken string) *ListReservedCapacitiesInput
type ListReservedCapacitiesOutput ¶
type ListReservedCapacitiesOutput struct { Header http.Header ReservedCapacities []*reservedCapacityMetadata `json:"reservedCapacities"` NextToken *string `json:"nextToken,omitempty"` }
ListReservedCapacitiesOutput : ...
func (ListReservedCapacitiesOutput) GetRequestID ¶
func (o ListReservedCapacitiesOutput) GetRequestID() string
func (ListReservedCapacitiesOutput) String ¶
func (o ListReservedCapacitiesOutput) String() string
type ListServiceVersionsInput ¶
type ListServiceVersionsInput struct { ServiceName *string StartKey *string NextToken *string Limit *int32 Direction *string }
func NewListServiceVersionsInput ¶
func NewListServiceVersionsInput(serviceName string) *ListServiceVersionsInput
func (*ListServiceVersionsInput) GetHeaders ¶
func (i *ListServiceVersionsInput) GetHeaders() Header
func (*ListServiceVersionsInput) GetPath ¶
func (i *ListServiceVersionsInput) GetPath() string
func (*ListServiceVersionsInput) GetPayload ¶
func (i *ListServiceVersionsInput) GetPayload() interface{}
func (*ListServiceVersionsInput) GetQueryParams ¶
func (i *ListServiceVersionsInput) GetQueryParams() url.Values
func (*ListServiceVersionsInput) Validate ¶
func (i *ListServiceVersionsInput) Validate() error
func (*ListServiceVersionsInput) WithBackwardDirection ¶
func (i *ListServiceVersionsInput) WithBackwardDirection() *ListServiceVersionsInput
func (*ListServiceVersionsInput) WithForwardDirection ¶
func (i *ListServiceVersionsInput) WithForwardDirection() *ListServiceVersionsInput
func (*ListServiceVersionsInput) WithLimit ¶
func (i *ListServiceVersionsInput) WithLimit(limit int32) *ListServiceVersionsInput
func (*ListServiceVersionsInput) WithNextToken ¶
func (i *ListServiceVersionsInput) WithNextToken(nextToken string) *ListServiceVersionsInput
func (*ListServiceVersionsInput) WithStartKey ¶
func (i *ListServiceVersionsInput) WithStartKey(startKey string) *ListServiceVersionsInput
type ListServiceVersionsOutput ¶
type ListServiceVersionsOutput struct { Header http.Header Versions []*versionMetadata `json:"versions"` NextToken *string `json:"nextToken,omitempty"` Direction *string `json:"direction"` }
func (ListServiceVersionsOutput) GetRequestID ¶
func (o ListServiceVersionsOutput) GetRequestID() string
func (ListServiceVersionsOutput) String ¶
func (o ListServiceVersionsOutput) String() string
type ListServicesInput ¶
type ListServicesInput struct {
Query
}
func NewListServicesInput ¶
func NewListServicesInput() *ListServicesInput
func (*ListServicesInput) GetHeaders ¶
func (i *ListServicesInput) GetHeaders() Header
func (*ListServicesInput) GetPath ¶
func (i *ListServicesInput) GetPath() string
func (*ListServicesInput) GetPayload ¶
func (i *ListServicesInput) GetPayload() interface{}
func (*ListServicesInput) GetQueryParams ¶
func (i *ListServicesInput) GetQueryParams() url.Values
func (*ListServicesInput) Validate ¶
func (i *ListServicesInput) Validate() error
func (*ListServicesInput) WithLimit ¶
func (i *ListServicesInput) WithLimit(limit int32) *ListServicesInput
func (*ListServicesInput) WithNextToken ¶
func (i *ListServicesInput) WithNextToken(nextToken string) *ListServicesInput
func (*ListServicesInput) WithPrefix ¶
func (i *ListServicesInput) WithPrefix(prefix string) *ListServicesInput
func (*ListServicesInput) WithStartKey ¶
func (i *ListServicesInput) WithStartKey(startKey string) *ListServicesInput
func (*ListServicesInput) WithTags ¶
func (i *ListServicesInput) WithTags(tags map[string]string) *ListServicesInput
type ListServicesOutput ¶
type ListServicesOutput struct { Header http.Header Services []*serviceMetadata `json:"services"` NextToken *string `json:"nextToken,omitempty"` }
ListServicesOutput defines listServiceMetadata result
func (ListServicesOutput) GetRequestID ¶
func (o ListServicesOutput) GetRequestID() string
func (ListServicesOutput) String ¶
func (o ListServicesOutput) String() string
type ListStatefulAsyncInvocationsInput ¶
type ListStatefulAsyncInvocationsInput struct { ServiceName *string `json:"serviceName"` FunctionName *string `json:"functionName"` Qualifier *string `json:"qualifier"` NextToken *string `json:"nextToken"` Limit *int32 `json:"limit"` Status *string `json:"status"` StartedTimeBegin *int64 `json:"startedTimeBegin"` StartedTimeEnd *int64 `json:"startedTimeEnd"` SortOrderByTime *string `json:"sortOrderByTime"` InvocationIDPrefix *string `json:"invocationIdPrefix"` IncludePayload *bool `json:"includePayload"` }
func NewListStatefulAsyncInvocationsInput ¶
func NewListStatefulAsyncInvocationsInput(serviceName, functionName string) *ListStatefulAsyncInvocationsInput
func (*ListStatefulAsyncInvocationsInput) GetHeaders ¶
func (i *ListStatefulAsyncInvocationsInput) GetHeaders() Header
func (*ListStatefulAsyncInvocationsInput) GetPath ¶
func (i *ListStatefulAsyncInvocationsInput) GetPath() string
func (*ListStatefulAsyncInvocationsInput) GetPayload ¶
func (i *ListStatefulAsyncInvocationsInput) GetPayload() interface{}
func (*ListStatefulAsyncInvocationsInput) GetQueryParams ¶
func (i *ListStatefulAsyncInvocationsInput) GetQueryParams() url.Values
func (*ListStatefulAsyncInvocationsInput) Validate ¶
func (i *ListStatefulAsyncInvocationsInput) Validate() error
func (*ListStatefulAsyncInvocationsInput) WithIncludePayload ¶
func (i *ListStatefulAsyncInvocationsInput) WithIncludePayload(includePayload bool) *ListStatefulAsyncInvocationsInput
func (*ListStatefulAsyncInvocationsInput) WithInvocationIDPrefix ¶
func (i *ListStatefulAsyncInvocationsInput) WithInvocationIDPrefix(prefix string) *ListStatefulAsyncInvocationsInput
func (*ListStatefulAsyncInvocationsInput) WithLimit ¶
func (i *ListStatefulAsyncInvocationsInput) WithLimit(limit int32) *ListStatefulAsyncInvocationsInput
func (*ListStatefulAsyncInvocationsInput) WithNextToken ¶
func (i *ListStatefulAsyncInvocationsInput) WithNextToken(nextToken string) *ListStatefulAsyncInvocationsInput
func (*ListStatefulAsyncInvocationsInput) WithQualifier ¶
func (i *ListStatefulAsyncInvocationsInput) WithQualifier(qualifier string) *ListStatefulAsyncInvocationsInput
func (*ListStatefulAsyncInvocationsInput) WithSortOrderByTime ¶
func (i *ListStatefulAsyncInvocationsInput) WithSortOrderByTime(sortOrder string) *ListStatefulAsyncInvocationsInput
func (*ListStatefulAsyncInvocationsInput) WithStartedTimeBegin ¶
func (i *ListStatefulAsyncInvocationsInput) WithStartedTimeBegin(startedTimeBegin int64) *ListStatefulAsyncInvocationsInput
func (*ListStatefulAsyncInvocationsInput) WithStartedTimeEnd ¶
func (i *ListStatefulAsyncInvocationsInput) WithStartedTimeEnd(startedTimeEnd int64) *ListStatefulAsyncInvocationsInput
func (*ListStatefulAsyncInvocationsInput) WithStatus ¶
func (i *ListStatefulAsyncInvocationsInput) WithStatus(status string) *ListStatefulAsyncInvocationsInput
type ListStatefulAsyncInvocationsOutput ¶
type ListStatefulAsyncInvocationsOutput struct { Header http.Header Invocations []*StatefulAsyncInvocation `json:"invocations"` NextToken *string `json:"nextToken"` }
ListFunctionAsyncInvokeConfigsOutput defines ListFunctionAsyncInvocationsOutput result
func (ListStatefulAsyncInvocationsOutput) GetRequestID ¶
func (o ListStatefulAsyncInvocationsOutput) GetRequestID() string
func (ListStatefulAsyncInvocationsOutput) String ¶
func (o ListStatefulAsyncInvocationsOutput) String() string
type ListTriggersInput ¶
type ListTriggersInput struct { ServiceName *string FunctionName *string Query // contains filtered or unexported fields }
func NewListTriggersInput ¶
func NewListTriggersInput(serviceName string, functionName string) *ListTriggersInput
func (*ListTriggersInput) GetHeaders ¶
func (i *ListTriggersInput) GetHeaders() Header
func (*ListTriggersInput) GetPath ¶
func (i *ListTriggersInput) GetPath() string
func (*ListTriggersInput) GetPayload ¶
func (i *ListTriggersInput) GetPayload() interface{}
func (*ListTriggersInput) GetQueryParams ¶
func (i *ListTriggersInput) GetQueryParams() url.Values
func (*ListTriggersInput) Validate ¶
func (i *ListTriggersInput) Validate() error
func (*ListTriggersInput) WithHeader ¶
func (i *ListTriggersInput) WithHeader(key, value string) *ListTriggersInput
func (*ListTriggersInput) WithLimit ¶
func (i *ListTriggersInput) WithLimit(limit int32) *ListTriggersInput
func (*ListTriggersInput) WithNextToken ¶
func (i *ListTriggersInput) WithNextToken(nextToken string) *ListTriggersInput
func (*ListTriggersInput) WithPrefix ¶
func (i *ListTriggersInput) WithPrefix(prefix string) *ListTriggersInput
func (*ListTriggersInput) WithStartKey ¶
func (i *ListTriggersInput) WithStartKey(startKey string) *ListTriggersInput
type ListTriggersOutput ¶
type ListTriggersOutput struct { Header http.Header Triggers []*triggerMetadata `json:"triggers"` NextToken *string `json:"nextToken,omitempty"` }
ListTriggersOutput defines the trigger response list
func (ListTriggersOutput) GetRequestID ¶
func (o ListTriggersOutput) GetRequestID() string
func (ListTriggersOutput) String ¶
func (o ListTriggersOutput) String() string
type LogConfig ¶
type LogConfig struct { Project *string `json:"project"` Logstore *string `json:"logstore"` EnableRequestMetrics *bool `json:"enableRequestMetrics"` EnableInstanceMetrics *bool `json:"enableInstanceMetrics"` }
LogConfig defines the log config for service
func NewLogConfig ¶
func NewLogConfig() *LogConfig
func (*LogConfig) WithEnableInstanceMetrics ¶
func (*LogConfig) WithEnableRequestMetrics ¶
func (*LogConfig) WithLogstore ¶
func (*LogConfig) WithProject ¶
type LogTriggerConfig ¶
type LogTriggerConfig struct { SourceConfig *SourceConfig `json:"sourceConfig"` JobConfig *JobConfig `json:"jobConfig"` FunctionParameter map[string]interface{} `json:"functionParameter"` LogConfig *JobLogConfig `json:"logConfig"` Enable *bool `json:"enable"` }
LogTriggerConfig ..
func NewLogTriggerConfig ¶
func NewLogTriggerConfig() *LogTriggerConfig
func (*LogTriggerConfig) WithEnable ¶
func (ltc *LogTriggerConfig) WithEnable(enable bool) *LogTriggerConfig
func (*LogTriggerConfig) WithFunctionParameter ¶
func (ltc *LogTriggerConfig) WithFunctionParameter(p map[string]interface{}) *LogTriggerConfig
func (*LogTriggerConfig) WithJobConfig ¶
func (ltc *LogTriggerConfig) WithJobConfig(c *JobConfig) *LogTriggerConfig
func (*LogTriggerConfig) WithLogConfig ¶
func (ltc *LogTriggerConfig) WithLogConfig(c *JobLogConfig) *LogTriggerConfig
func (*LogTriggerConfig) WithSourceConfig ¶
func (ltc *LogTriggerConfig) WithSourceConfig(c *SourceConfig) *LogTriggerConfig
type MessageCallbackFunction ¶
type MessageCallbackFunction func(data []byte)
type MnsTopicTriggerConfig ¶
type MnsTopicTriggerConfig struct { FilterTag *string `json:"filterTag"` NotifyContentFormat *string `json:"notifyContentFormat"` NotifyStrategy *string `json:"notifyStrategy"` }
MnsTopicTriggerConfig ..
func NewMnsTopicTriggerConfig ¶
func NewMnsTopicTriggerConfig() *MnsTopicTriggerConfig
NewMnsTopicTriggerConfig ..
func (*MnsTopicTriggerConfig) WithFilterTag ¶
func (mtc *MnsTopicTriggerConfig) WithFilterTag(filterTag string) *MnsTopicTriggerConfig
func (*MnsTopicTriggerConfig) WithNotifyContentFormat ¶
func (mtc *MnsTopicTriggerConfig) WithNotifyContentFormat(notifyContentFormat string) *MnsTopicTriggerConfig
func (*MnsTopicTriggerConfig) WithNotifyStrategy ¶
func (mtc *MnsTopicTriggerConfig) WithNotifyStrategy(notifyStrategy string) *MnsTopicTriggerConfig
type NASConfig ¶
type NASConfig struct { UserID *int32 `json:"userId"` GroupID *int32 `json:"groupId"` MountPoints []NASMountConfig `json:"mountPoints"` }
NASConfig defines the NAS config info UserID/GroupID is the uid/gid of the user access the NFS file system
func NewNASConfig ¶
func NewNASConfig() *NASConfig
func (*NASConfig) WithGroupID ¶
func (*NASConfig) WithMountPoints ¶
func (n *NASConfig) WithMountPoints(mountPoints []NASMountConfig) *NASConfig
func (*NASConfig) WithUserID ¶
type NASMountConfig ¶
type NASMountConfig struct { ServerAddr string `json:"serverAddr"` MountDir string `json:"mountDir"` }
NASMountConfig defines the nas binding info for service
func NewNASMountConfig ¶
func NewNASMountConfig(serverAddr, mountDir string) NASMountConfig
type OSSEvent ¶
type OSSEvent string
OSSEvent represents the oss event type in oss trigger
const ( OSSEventObjectCreatedAll OSSEvent = "oss:ObjectCreated:*" OSSEventObjectCreatedPutObject OSSEvent = "oss:ObjectCreated:PutObject" OSSEventObjectCreatedPutSymlink OSSEvent = "oss:ObjectCreated:PutSymlink" OSSEventObjectCreatedPostObject OSSEvent = "oss:ObjectCreated:PostObject" OSSEventObjectCreatedCopyObject OSSEvent = "oss:ObjectCreated:CopyObject" OSSEventObjectCreatedInitiateMultipartUpload OSSEvent = "oss:ObjectCreated:InitiateMultipartUpload" OSSEventObjectCreatedUploadPart OSSEvent = "oss:ObjectCreated:UploadPart" OSSEventObjectCreatedUploadPartCopy OSSEvent = "oss:ObjectCreated:UploadPartCopy" OSSEventObjectCreatedCompleteMultipartUpload OSSEvent = "oss:ObjectCreated:CompleteMultipartUpload" OSSEventObjectCreatedAppendObject OSSEvent = "oss:ObjectCreated:AppendObject" OSSEventObjectRemovedDeleteObject OSSEvent = "oss:ObjectRemoved:DeleteObject" OSSEventObjectRemovedDeleteObjects OSSEvent = "oss:ObjectRemoved:DeleteObjects" OSSEventObjectRemovedAbortMultipartUpload OSSEvent = "oss:ObjectRemoved:AbortMultipartUpload" OSSEventObjectReplicationObjectCreated OSSEvent = "oss:ObjectReplication:ObjectCreated" OSSEventObjectReplicationObjectRemoved OSSEvent = "oss:ObjectReplication:ObjectRemoved" OSSEventObjectReplicationObjectModified OSSEvent = "oss:ObjectReplication:ObjectModified" )
type OSSTriggerConfig ¶
type OSSTriggerConfig struct { Events []string `json:"events"` Filter *OSSTriggerFilter `json:"filter"` }
func NewOSSTriggerConfig ¶
func NewOSSTriggerConfig() *OSSTriggerConfig
func (*OSSTriggerConfig) WithEvents ¶
func (c *OSSTriggerConfig) WithEvents(events []string) *OSSTriggerConfig
func (*OSSTriggerConfig) WithFilter ¶
func (c *OSSTriggerConfig) WithFilter(filter *OSSTriggerFilter) *OSSTriggerConfig
func (*OSSTriggerConfig) WithFilterKeyPrefix ¶
func (c *OSSTriggerConfig) WithFilterKeyPrefix(prefix string) *OSSTriggerConfig
func (*OSSTriggerConfig) WithFilterKeySuffix ¶
func (c *OSSTriggerConfig) WithFilterKeySuffix(suffix string) *OSSTriggerConfig
type OSSTriggerFilter ¶
type OSSTriggerFilter struct {
Key *OSSTriggerKey `json:"key"`
}
func NewOSSTriggerFilter ¶
func NewOSSTriggerFilter() *OSSTriggerFilter
func (*OSSTriggerFilter) WithKey ¶
func (f *OSSTriggerFilter) WithKey(key *OSSTriggerKey) *OSSTriggerFilter
type OSSTriggerKey ¶
func NewOSSTriggerKey ¶
func NewOSSTriggerKey() *OSSTriggerKey
func (*OSSTriggerKey) WithPrefix ¶
func (k *OSSTriggerKey) WithPrefix(prefix string) *OSSTriggerKey
func (*OSSTriggerKey) WithSuffix ¶
func (k *OSSTriggerKey) WithSuffix(suffix string) *OSSTriggerKey
type OnDemandConfig ¶
type OnDemandConfigs ¶
type OnDemandConfigs struct { Configs []*OnDemandConfig `json:"configs"` NextToken *string `json:"nextToken,omitempty"` }
type OutputCodeLocation ¶
type OutputCodeLocation struct { RepositoryType *string `json:"repositoryType"` Location *string `json:"location"` }
OutputCodeLocation represents the output code location.
type PathConfig ¶
type PathConfig struct { Path *string `json:"path" ` ServiceName *string `json:"serviceName" ` FunctionName *string `json:"functionName" ` Qualifier *string `json:"qualifier" ` Methods []string `json:"methods"` }
PathConfig represents path-function mapping
func NewPathConfig ¶
func NewPathConfig() *PathConfig
func (*PathConfig) WithFunctionName ¶
func (p *PathConfig) WithFunctionName(functionName string) *PathConfig
func (*PathConfig) WithMethods ¶
func (p *PathConfig) WithMethods(methods []string) *PathConfig
func (*PathConfig) WithPath ¶
func (p *PathConfig) WithPath(path string) *PathConfig
func (*PathConfig) WithQualifier ¶
func (p *PathConfig) WithQualifier(qualifier string) *PathConfig
func (*PathConfig) WithServiceName ¶
func (p *PathConfig) WithServiceName(serviceName string) *PathConfig
type PermanentDeleteLayerVersionInput ¶
type PermanentDeleteLayerVersionInput struct { LayerName string Version int32 LayerOwnerUserID string }
func NewPermanentDeleteLayerVersionInput ¶
func NewPermanentDeleteLayerVersionInput(layerOwnerUserID, layerName string, version int32) *PermanentDeleteLayerVersionInput
func (*PermanentDeleteLayerVersionInput) GetHeaders ¶
func (i *PermanentDeleteLayerVersionInput) GetHeaders() Header
func (*PermanentDeleteLayerVersionInput) GetPath ¶
func (i *PermanentDeleteLayerVersionInput) GetPath() string
func (*PermanentDeleteLayerVersionInput) GetPayload ¶
func (i *PermanentDeleteLayerVersionInput) GetPayload() interface{}
func (*PermanentDeleteLayerVersionInput) GetQueryParams ¶
func (i *PermanentDeleteLayerVersionInput) GetQueryParams() url.Values
func (*PermanentDeleteLayerVersionInput) Validate ¶
func (i *PermanentDeleteLayerVersionInput) Validate() error
type PublishLayerVersionInput ¶
type PublishLayerVersionInput struct { LayerName string `json:"layerName"` Description string `json:"description"` Code *Code `json:"code"` CompatibleRuntime []string `json:"compatibleRuntime"` }
PublishLayerVersionInput defines input to create layer version
func NewPublishLayerVersionInput ¶
func NewPublishLayerVersionInput() *PublishLayerVersionInput
func (*PublishLayerVersionInput) GetHeaders ¶
func (i *PublishLayerVersionInput) GetHeaders() Header
func (*PublishLayerVersionInput) GetPath ¶
func (i *PublishLayerVersionInput) GetPath() string
func (*PublishLayerVersionInput) GetPayload ¶
func (i *PublishLayerVersionInput) GetPayload() interface{}
func (*PublishLayerVersionInput) GetQueryParams ¶
func (i *PublishLayerVersionInput) GetQueryParams() url.Values
func (PublishLayerVersionInput) String ¶
func (o PublishLayerVersionInput) String() string
func (*PublishLayerVersionInput) Validate ¶
func (i *PublishLayerVersionInput) Validate() error
func (*PublishLayerVersionInput) WithCode ¶
func (s *PublishLayerVersionInput) WithCode(code *Code) *PublishLayerVersionInput
func (*PublishLayerVersionInput) WithCompatibleRuntime ¶
func (s *PublishLayerVersionInput) WithCompatibleRuntime(compatibleRuntime []string) *PublishLayerVersionInput
func (*PublishLayerVersionInput) WithDescription ¶
func (s *PublishLayerVersionInput) WithDescription(description string) *PublishLayerVersionInput
func (*PublishLayerVersionInput) WithLayerName ¶
func (s *PublishLayerVersionInput) WithLayerName(layerName string) *PublishLayerVersionInput
type PublishLayerVersionOutput ¶
PublishLayerVersionOutput define publish layer version response
func (PublishLayerVersionOutput) GetEtag ¶
func (o PublishLayerVersionOutput) GetEtag() string
func (PublishLayerVersionOutput) GetRequestID ¶
func (o PublishLayerVersionOutput) GetRequestID() string
type PublishServiceVersionInput ¶
type PublishServiceVersionInput struct { ServiceName *string ServiceVersionPublishObject IfMatch *string }
func NewPublishServiceVersionInput ¶
func NewPublishServiceVersionInput(serviceName string) *PublishServiceVersionInput
func (*PublishServiceVersionInput) GetHeaders ¶
func (i *PublishServiceVersionInput) GetHeaders() Header
func (*PublishServiceVersionInput) GetPath ¶
func (i *PublishServiceVersionInput) GetPath() string
func (*PublishServiceVersionInput) GetPayload ¶
func (i *PublishServiceVersionInput) GetPayload() interface{}
func (*PublishServiceVersionInput) GetQueryParams ¶
func (i *PublishServiceVersionInput) GetQueryParams() url.Values
func (*PublishServiceVersionInput) Validate ¶
func (i *PublishServiceVersionInput) Validate() error
func (*PublishServiceVersionInput) WithDescription ¶
func (i *PublishServiceVersionInput) WithDescription(description string) *PublishServiceVersionInput
func (*PublishServiceVersionInput) WithIfMatch ¶
func (i *PublishServiceVersionInput) WithIfMatch(ifMatch string) *PublishServiceVersionInput
type PublishServiceVersionOutput ¶
type PublishServiceVersionOutput struct { Header http.Header // contains filtered or unexported fields }
func (PublishServiceVersionOutput) GetEtag ¶
func (o PublishServiceVersionOutput) GetEtag() string
func (PublishServiceVersionOutput) GetRequestID ¶
func (o PublishServiceVersionOutput) GetRequestID() string
func (PublishServiceVersionOutput) String ¶
func (o PublishServiceVersionOutput) String() string
type PutFunctionAsyncInvokeConfigInput ¶
type PutFunctionAsyncInvokeConfigInput struct { ServiceName *string `json:"serviceName"` Qualifier *string `json:"qualifier"` FunctionName *string `json:"functionName"` AsyncConfig }
PutFunctionAsyncInvokeConfigInput defines function creation input
func NewPutFunctionAsyncInvokeConfigInput ¶
func NewPutFunctionAsyncInvokeConfigInput(serviceName, functionName string) *PutFunctionAsyncInvokeConfigInput
func (*PutFunctionAsyncInvokeConfigInput) GetHeaders ¶
func (i *PutFunctionAsyncInvokeConfigInput) GetHeaders() Header
func (*PutFunctionAsyncInvokeConfigInput) GetPath ¶
func (i *PutFunctionAsyncInvokeConfigInput) GetPath() string
func (*PutFunctionAsyncInvokeConfigInput) GetPayload ¶
func (i *PutFunctionAsyncInvokeConfigInput) GetPayload() interface{}
func (*PutFunctionAsyncInvokeConfigInput) GetQueryParams ¶
func (i *PutFunctionAsyncInvokeConfigInput) GetQueryParams() url.Values
func (*PutFunctionAsyncInvokeConfigInput) Validate ¶
func (i *PutFunctionAsyncInvokeConfigInput) Validate() error
func (*PutFunctionAsyncInvokeConfigInput) WithAsyncConfig ¶
func (i *PutFunctionAsyncInvokeConfigInput) WithAsyncConfig(config AsyncConfig) *PutFunctionAsyncInvokeConfigInput
func (*PutFunctionAsyncInvokeConfigInput) WithQualifier ¶
func (i *PutFunctionAsyncInvokeConfigInput) WithQualifier(qualifier string) *PutFunctionAsyncInvokeConfigInput
type PutFunctionAsyncInvokeConfigOutput ¶
type PutFunctionAsyncInvokeConfigOutput struct { Header http.Header AsyncConfigResponse }
PutFunctionAsyncInvokeConfigOutput define get async config response
func (PutFunctionAsyncInvokeConfigOutput) GetRequestID ¶
func (o PutFunctionAsyncInvokeConfigOutput) GetRequestID() string
func (PutFunctionAsyncInvokeConfigOutput) String ¶
func (o PutFunctionAsyncInvokeConfigOutput) String() string
type PutOnDemandConfigInput ¶
type PutOnDemandConfigInput struct { PutOnDemandConfigObject ServiceName *string `json:"serviceName"` Qualifier *string `json:"qualifier"` FunctionName *string `json:"functionName"` IfMatch *string }
func NewPutOnDemandConfigInput ¶
func NewPutOnDemandConfigInput(serviceName, qualifier, functionName string) *PutOnDemandConfigInput
func (*PutOnDemandConfigInput) GetHeaders ¶
func (i *PutOnDemandConfigInput) GetHeaders() Header
func (*PutOnDemandConfigInput) GetPath ¶
func (i *PutOnDemandConfigInput) GetPath() string
func (*PutOnDemandConfigInput) GetPayload ¶
func (i *PutOnDemandConfigInput) GetPayload() interface{}
func (*PutOnDemandConfigInput) GetQueryParams ¶
func (i *PutOnDemandConfigInput) GetQueryParams() url.Values
func (*PutOnDemandConfigInput) Validate ¶
func (i *PutOnDemandConfigInput) Validate() error
func (*PutOnDemandConfigInput) WithIfMatch ¶
func (i *PutOnDemandConfigInput) WithIfMatch(ifMatch string) *PutOnDemandConfigInput
func (*PutOnDemandConfigInput) WithMaximumInstanceCount ¶
func (i *PutOnDemandConfigInput) WithMaximumInstanceCount(maximumInstanceCount int64) *PutOnDemandConfigInput
type PutOnDemandConfigObject ¶
type PutOnDemandConfigObject struct {
MaximumInstanceCount *int64 `json:"maximumInstanceCount"`
}
type PutOnDemandConfigOutput ¶
type PutOnDemandConfigOutput struct { Header http.Header OnDemandConfig }
func (PutOnDemandConfigOutput) GetEtag ¶
func (o PutOnDemandConfigOutput) GetEtag() string
func (PutOnDemandConfigOutput) GetRequestID ¶
func (o PutOnDemandConfigOutput) GetRequestID() string
func (PutOnDemandConfigOutput) String ¶
func (o PutOnDemandConfigOutput) String() string
type PutProvisionConfigInput ¶
type PutProvisionConfigInput struct { PutProvisionConfigObject ServiceName *string `json:"serviceName"` Qualifier *string `json:"qualifier"` FunctionName *string `json:"functionName"` IfMatch *string }
func NewPutProvisionConfigInput ¶
func NewPutProvisionConfigInput(serviceName, qualifier, functionName string) *PutProvisionConfigInput
func (*PutProvisionConfigInput) GetHeaders ¶
func (i *PutProvisionConfigInput) GetHeaders() Header
func (*PutProvisionConfigInput) GetPath ¶
func (i *PutProvisionConfigInput) GetPath() string
func (*PutProvisionConfigInput) GetPayload ¶
func (i *PutProvisionConfigInput) GetPayload() interface{}
func (*PutProvisionConfigInput) GetQueryParams ¶
func (i *PutProvisionConfigInput) GetQueryParams() url.Values
func (*PutProvisionConfigInput) Validate ¶
func (i *PutProvisionConfigInput) Validate() error
func (*PutProvisionConfigInput) WithIfMatch ¶
func (i *PutProvisionConfigInput) WithIfMatch(ifMatch string) *PutProvisionConfigInput
func (*PutProvisionConfigInput) WithTarget ¶
func (i *PutProvisionConfigInput) WithTarget(target int64) *PutProvisionConfigInput
type PutProvisionConfigObject ¶
type PutProvisionConfigObject struct {
Target *int64 `json:"target"`
}
type PutProvisionConfigOutput ¶
type PutProvisionConfigOutput struct { Header http.Header // contains filtered or unexported fields }
func (PutProvisionConfigOutput) GetEtag ¶
func (o PutProvisionConfigOutput) GetEtag() string
func (PutProvisionConfigOutput) GetRequestID ¶
func (o PutProvisionConfigOutput) GetRequestID() string
func (PutProvisionConfigOutput) String ¶
func (o PutProvisionConfigOutput) String() string
type RouteConfig ¶
type RouteConfig struct {
Routes []PathConfig `json:"routes" `
}
RouteConfig represents route config for a single domain
func NewRouteConfig ¶
func NewRouteConfig() *RouteConfig
func (*RouteConfig) WithRoutes ¶
func (r *RouteConfig) WithRoutes(pathConfig []PathConfig) *RouteConfig
type ServiceError ¶
type ServiceError struct { HTTPStatus int `json:"HttpStatus"` RequestID string `json:"RequestId"` ErrorCode string `json:"ErrorCode"` ErrorMessage string `json:"ErrorMessage"` }
ServiceError defines error from fc
func (ServiceError) Error ¶
func (e ServiceError) Error() string
func (ServiceError) String ¶
func (e ServiceError) String() string
type ServiceInput ¶
type ServiceUpdateObject ¶
type ServiceUpdateObject struct { Description *string `json:"description"` Role *string `json:"role"` LogConfig *LogConfig `json:"logConfig"` VPCConfig *VPCConfig `json:"vpcConfig"` InternetAccess *bool `json:"internetAccess"` NASConfig *NASConfig `json:"nasConfig"` TracingConfig *TracingConfig `json:"tracingConfig"` }
ServiceUpdateObject defines the service update fields
type ServiceVersionPublishObject ¶
type ServiceVersionPublishObject struct {
Description *string
}
type SignURLInput ¶
type SignURLInput struct { Method string Expires time.Time ServiceName string Qualifier string FunctionName string CustomEndpoint string EscapedPath string Header http.Header Queries url.Values }
SignURLInput ...
func NewSignURLInput ¶
func NewSignURLInput(method, serviceName, functionName string, expires time.Time) *SignURLInput
NewSignURLInput : create sign url request
func (*SignURLInput) WithCustomEndpoint ¶
func (s *SignURLInput) WithCustomEndpoint(customEndpoint string) *SignURLInput
WithCustomEndpoint ...
func (*SignURLInput) WithEscapedPath ¶
func (s *SignURLInput) WithEscapedPath(esapedPath string) *SignURLInput
WithEscapedPath ...
func (*SignURLInput) WithHeader ¶
func (s *SignURLInput) WithHeader(header http.Header) *SignURLInput
WithHeader ...
func (*SignURLInput) WithQualifier ¶
func (s *SignURLInput) WithQualifier(qualifier string) *SignURLInput
WithQualifier ...
func (*SignURLInput) WithQueries ¶
func (s *SignURLInput) WithQueries(queries url.Values) *SignURLInput
WithQueries ...
type SourceConfig ¶
type SourceConfig struct {
Logstore *string `json:"logstore"`
}
SourceConfig ..
func NewSourceConfig ¶
func NewSourceConfig() *SourceConfig
func (*SourceConfig) WithLogstore ¶
func (sc *SourceConfig) WithLogstore(store string) *SourceConfig
type SourceMNSParameters ¶
type SourceMNSParameters struct { RegionId *string `json:"RegionId,omitempty"` QueueName *string `json:"QueueName,omitempty"` IsBase64Decode *bool `json:"IsBase64Decode,omitempty"` }
SourceMNSParameters refers to github.com/alibabacloud-go/eventbridge-sdk v1.2.10
func NewSourceMNSParameters ¶
func NewSourceMNSParameters() *SourceMNSParameters
NewSourceMNSParameters ...
func (*SourceMNSParameters) WithIsBase64Decode ¶
func (mns *SourceMNSParameters) WithIsBase64Decode(isBase64Decode bool) *SourceMNSParameters
WithIsBase64Decode ...
func (*SourceMNSParameters) WithQueueName ¶
func (mns *SourceMNSParameters) WithQueueName(queueName string) *SourceMNSParameters
WithQueueName ...
func (*SourceMNSParameters) WithRegionId ¶
func (mns *SourceMNSParameters) WithRegionId(regionId string) *SourceMNSParameters
WithRegionId ...
type SourceRabbitMQParameters ¶
type SourceRabbitMQParameters struct { RegionId *string `json:"RegionId,omitempty"` InstanceId *string `json:"InstanceId,omitempty"` VirtualHostName *string `json:"VirtualHostName,omitempty"` QueueName *string `json:"QueueName,omitempty"` }
SourceRocketMQParameters refers to ithub.com/alibabacloud-go/eventbridge-sdk v1.2.10
func NewSourceRabbitMQParameters ¶
func NewSourceRabbitMQParameters() *SourceRabbitMQParameters
SourceRabbitMQParameters ...
func (*SourceRabbitMQParameters) WithInstanceId ¶
func (rabbit *SourceRabbitMQParameters) WithInstanceId(instanceId string) *SourceRabbitMQParameters
WithInstanceId ...
func (*SourceRabbitMQParameters) WithQueueName ¶
func (rabbit *SourceRabbitMQParameters) WithQueueName(queueName string) *SourceRabbitMQParameters
WithQueueName ...
func (*SourceRabbitMQParameters) WithRegionId ¶
func (rabbit *SourceRabbitMQParameters) WithRegionId(regionId string) *SourceRabbitMQParameters
WithRegionId ...
func (*SourceRabbitMQParameters) WithVirtualHostName ¶
func (rabbit *SourceRabbitMQParameters) WithVirtualHostName(virtualHostName string) *SourceRabbitMQParameters
WithVirtualHostName ...
type SourceRocketMQParameters ¶
type SourceRocketMQParameters struct { RegionId *string `json:"RegionId,omitempty"` InstanceId *string `json:"InstanceId,omitempty"` Topic *string `json:"Topic,omitempty"` Tag *string `json:"Tag,omitempty"` Offset *string `json:"Offset,omitempty"` GroupID *string `json:"GroupID,omitempty"` Timestamp *int `json:"Timestamp,omitempty"` }
SourceRocketMQParameters refers to github.com/alibabacloud-go/eventbridge-sdk v1.2.10
func NewSourceRocketMQParameters ¶
func NewSourceRocketMQParameters() *SourceRocketMQParameters
NewSourceRocketMQParameters ...
func (*SourceRocketMQParameters) WithGroupID ¶
func (rocket *SourceRocketMQParameters) WithGroupID(groupID string) *SourceRocketMQParameters
WithGroupID ...
func (*SourceRocketMQParameters) WithInstanceId ¶
func (rocket *SourceRocketMQParameters) WithInstanceId(instanceId string) *SourceRocketMQParameters
WithInstanceId ...
func (*SourceRocketMQParameters) WithOffset ¶
func (rocket *SourceRocketMQParameters) WithOffset(offset string) *SourceRocketMQParameters
WithOffset ...
func (*SourceRocketMQParameters) WithRegionId ¶
func (rocket *SourceRocketMQParameters) WithRegionId(regionId string) *SourceRocketMQParameters
WithRegionId ...
func (*SourceRocketMQParameters) WithTag ¶
func (rocket *SourceRocketMQParameters) WithTag(tag string) *SourceRocketMQParameters
WithTag ...
func (*SourceRocketMQParameters) WithTimestamp ¶
func (rocket *SourceRocketMQParameters) WithTimestamp(timestamp int) *SourceRocketMQParameters
WithTimestamp ...
func (*SourceRocketMQParameters) WithTopic ¶
func (rocket *SourceRocketMQParameters) WithTopic(topic string) *SourceRocketMQParameters
WithTopic ...
type StatefulAsyncInvocation ¶
type StatefulAsyncInvocation struct { FunctionName *string `json:"functionName"` ServiceName *string `json:"serviceName"` Qualifier *string `json:"qualifier"` InvocationID *string `json:"invocationId"` Status *string `json:"status"` // in ms StartedTime *int64 `json:"startedTime"` EndTime *int64 `json:"endTime"` DestinationStatus *string `json:"destinationStatus"` InvocationErrorMessage *string `json:"invocationErrorMessage"` InvocationPayload *string `json:"invocationPayload"` RequestID *string `json:"requestId"` AlreadyRetriedTimes *int64 `json:"alreadyRetriedTimes"` }
StatefulAsyncInvocation represents the stateful async invocation records.
type StatefulAsyncInvocationResponse ¶
type StatefulAsyncInvocationResponse struct {
StatefulAsyncInvocation
}
type StopStatefulAsyncInvocationInput ¶
type StopStatefulAsyncInvocationInput struct { ServiceName *string `json:"serviceName"` Qualifier *string `json:"qualifier"` FunctionName *string `json:"functionName"` InvocationID *string `json:"invocationId"` }
StopStatefulAsyncInvocationInput defines function creation input
func NewStopStatefulAsyncInvocationInput ¶
func NewStopStatefulAsyncInvocationInput(serviceName, functionName, invocationID string) *StopStatefulAsyncInvocationInput
func (*StopStatefulAsyncInvocationInput) GetHeaders ¶
func (i *StopStatefulAsyncInvocationInput) GetHeaders() Header
func (*StopStatefulAsyncInvocationInput) GetPath ¶
func (i *StopStatefulAsyncInvocationInput) GetPath() string
func (*StopStatefulAsyncInvocationInput) GetPayload ¶
func (i *StopStatefulAsyncInvocationInput) GetPayload() interface{}
func (*StopStatefulAsyncInvocationInput) GetQueryParams ¶
func (i *StopStatefulAsyncInvocationInput) GetQueryParams() url.Values
func (*StopStatefulAsyncInvocationInput) Validate ¶
func (i *StopStatefulAsyncInvocationInput) Validate() error
func (*StopStatefulAsyncInvocationInput) WithQualifier ¶
func (i *StopStatefulAsyncInvocationInput) WithQualifier(qualifier string) *StopStatefulAsyncInvocationInput
type StopStatefulAsyncInvocationOutput ¶
StopStatefulAsyncInvocationOutput ...
func (StopStatefulAsyncInvocationOutput) GetRequestID ¶
func (o StopStatefulAsyncInvocationOutput) GetRequestID() string
func (StopStatefulAsyncInvocationOutput) String ¶
func (o StopStatefulAsyncInvocationOutput) String() string
type TableStoreTriggerConfig ¶
type TableStoreTriggerConfig struct { }
TableStoreTriggerConfig ..
func NewTableStoreTriggerConfig ¶
func NewTableStoreTriggerConfig() *TableStoreTriggerConfig
NewTableStoreTriggerConfig ..
type TagResourceInput ¶
type TagResourceInput struct { ResourceArn *string `json:"resourceArn"` Tags map[string]string `json:"tags"` }
TagResourceInput defines input to tag a resource(service)
func NewTagResourceInput ¶
func NewTagResourceInput(resourceArn string, tags map[string]string) *TagResourceInput
NewTagResourceInput ...
func (*TagResourceInput) GetHeaders ¶
func (t *TagResourceInput) GetHeaders() Header
func (*TagResourceInput) GetPath ¶
func (t *TagResourceInput) GetPath() string
func (*TagResourceInput) GetPayload ¶
func (t *TagResourceInput) GetPayload() interface{}
func (*TagResourceInput) GetQueryParams ¶
func (t *TagResourceInput) GetQueryParams() url.Values
func (*TagResourceInput) Validate ¶
func (t *TagResourceInput) Validate() error
func (*TagResourceInput) WithResourceArn ¶
func (s *TagResourceInput) WithResourceArn(resourceArn string) *TagResourceInput
func (*TagResourceInput) WithTags ¶
func (s *TagResourceInput) WithTags(tags map[string]string) *TagResourceInput
type TagResourceOut ¶
TagResourceOut ...
func (TagResourceOut) GetRequestID ¶
func (o TagResourceOut) GetRequestID() string
func (TagResourceOut) String ¶
func (o TagResourceOut) String() string
type TimeTriggerConfig ¶
type TimeTriggerConfig struct { Payload *string `json:"payload"` CronExpression *string `json:"cronExpression"` Enable *bool `json:"enable"` }
TimeTriggerConfig defines the time trigger config
func NewTimeTriggerConfig ¶
func NewTimeTriggerConfig() *TimeTriggerConfig
NewTimeTriggerConfig creates an empty TimeTriggerConfig
func (*TimeTriggerConfig) WithCronExpression ¶
func (ttc *TimeTriggerConfig) WithCronExpression(cronExpression string) *TimeTriggerConfig
func (*TimeTriggerConfig) WithEnable ¶
func (ttc *TimeTriggerConfig) WithEnable(enable bool) *TimeTriggerConfig
func (*TimeTriggerConfig) WithPayload ¶
func (ttc *TimeTriggerConfig) WithPayload(payload string) *TimeTriggerConfig
type TracingConfig ¶
type TracingConfig struct { Type *string `json:"type"` Params interface{} `json:"params"` }
func NewTracingConfig ¶
func NewTracingConfig() *TracingConfig
func (*TracingConfig) WithJaegerConfig ¶
func (t *TracingConfig) WithJaegerConfig(config *JaegerConfig) *TracingConfig
func (*TracingConfig) WithParams ¶
func (t *TracingConfig) WithParams(params interface{}) *TracingConfig
func (*TracingConfig) WithType ¶
func (t *TracingConfig) WithType(tracingType string) *TracingConfig
type TriggerCreateObject ¶
type TriggerCreateObject struct { TriggerName *string `json:"triggerName"` Description *string `json:"description"` SourceARN *string `json:"sourceArn"` TriggerType *string `json:"triggerType"` InvocationRole *string `json:"invocationRole"` TriggerConfig interface{} `json:"triggerConfig"` Qualifier *string `json:"qualifier"` // contains filtered or unexported fields }
type TriggerUpdateObject ¶
type TriggerUpdateObject struct { InvocationRole *string `json:"invocationRole"` Description *string `json:"description"` TriggerConfig interface{} `json:"triggerConfig"` Qualifier *string `json:"qualifier"` // contains filtered or unexported fields }
TriggerUpdateObject defines update fields in Trigger
type UnTagResourceInput ¶
type UnTagResourceInput struct { ResourceArn *string `json:"resourceArn"` TagKeys []string `json:"tagKeys"` All *bool `json:"all"` }
UnTagResourceInput ...
func NewUnTagResourceInput ¶
func NewUnTagResourceInput(resourceArn string) *UnTagResourceInput
NewUnTagResourceInput ...
func (*UnTagResourceInput) GetHeaders ¶
func (t *UnTagResourceInput) GetHeaders() Header
func (*UnTagResourceInput) GetPath ¶
func (t *UnTagResourceInput) GetPath() string
func (*UnTagResourceInput) GetPayload ¶
func (t *UnTagResourceInput) GetPayload() interface{}
func (*UnTagResourceInput) GetQueryParams ¶
func (t *UnTagResourceInput) GetQueryParams() url.Values
func (*UnTagResourceInput) Validate ¶
func (t *UnTagResourceInput) Validate() error
func (*UnTagResourceInput) WithAll ¶
func (s *UnTagResourceInput) WithAll(all bool) *UnTagResourceInput
func (*UnTagResourceInput) WithResourceArn ¶
func (s *UnTagResourceInput) WithResourceArn(resourceArn string) *UnTagResourceInput
func (*UnTagResourceInput) WithTagKeys ¶
func (s *UnTagResourceInput) WithTagKeys(tagKeys []string) *UnTagResourceInput
type UnTagResourceOut ¶
UnTagResourceOut ...
func (UnTagResourceOut) GetRequestID ¶
func (o UnTagResourceOut) GetRequestID() string
func (UnTagResourceOut) String ¶
func (o UnTagResourceOut) String() string
type UpdateAliasInput ¶
type UpdateAliasInput struct { ServiceName *string AliasName *string AliasUpdateObject IfMatch *string }
func NewUpdateAliasInput ¶
func NewUpdateAliasInput(serviceName, aliasName string) *UpdateAliasInput
func (*UpdateAliasInput) GetHeaders ¶
func (i *UpdateAliasInput) GetHeaders() Header
func (*UpdateAliasInput) GetPath ¶
func (i *UpdateAliasInput) GetPath() string
func (*UpdateAliasInput) GetPayload ¶
func (i *UpdateAliasInput) GetPayload() interface{}
func (*UpdateAliasInput) GetQueryParams ¶
func (i *UpdateAliasInput) GetQueryParams() url.Values
func (*UpdateAliasInput) Validate ¶
func (i *UpdateAliasInput) Validate() error
func (*UpdateAliasInput) WithAdditionalVersionWeight ¶
func (s *UpdateAliasInput) WithAdditionalVersionWeight(additionalVersionWeight map[string]float64) *UpdateAliasInput
func (*UpdateAliasInput) WithDescription ¶
func (s *UpdateAliasInput) WithDescription(description string) *UpdateAliasInput
func (*UpdateAliasInput) WithIfMatch ¶
func (s *UpdateAliasInput) WithIfMatch(ifMatch string) *UpdateAliasInput
func (*UpdateAliasInput) WithVersionID ¶
func (s *UpdateAliasInput) WithVersionID(versionID string) *UpdateAliasInput
type UpdateAliasOutput ¶
func (UpdateAliasOutput) GetEtag ¶
func (o UpdateAliasOutput) GetEtag() string
func (UpdateAliasOutput) GetRequestID ¶
func (o UpdateAliasOutput) GetRequestID() string
func (UpdateAliasOutput) String ¶
func (o UpdateAliasOutput) String() string
type UpdateCustomDomainInput ¶
type UpdateCustomDomainInput struct { DomainName *string UpdateCustomDomainObject }
func NewUpdateCustomDomainInput ¶
func NewUpdateCustomDomainInput(domainName string) *UpdateCustomDomainInput
func (*UpdateCustomDomainInput) GetHeaders ¶
func (c *UpdateCustomDomainInput) GetHeaders() Header
func (*UpdateCustomDomainInput) GetPath ¶
func (c *UpdateCustomDomainInput) GetPath() string
func (*UpdateCustomDomainInput) GetPayload ¶
func (c *UpdateCustomDomainInput) GetPayload() interface{}
func (*UpdateCustomDomainInput) GetQueryParams ¶
func (c *UpdateCustomDomainInput) GetQueryParams() url.Values
func (*UpdateCustomDomainInput) Validate ¶
func (c *UpdateCustomDomainInput) Validate() error
func (*UpdateCustomDomainInput) WithCertConfig ¶
func (c *UpdateCustomDomainInput) WithCertConfig(certConfig *CertConfig) *UpdateCustomDomainInput
func (*UpdateCustomDomainInput) WithProtocol ¶
func (c *UpdateCustomDomainInput) WithProtocol(protocol string) *UpdateCustomDomainInput
func (*UpdateCustomDomainInput) WithRouteConfig ¶
func (c *UpdateCustomDomainInput) WithRouteConfig(routeConfig *RouteConfig) *UpdateCustomDomainInput
type UpdateCustomDomainObject ¶
type UpdateCustomDomainObject struct { Protocol *string `json:"protocol"` RouteConfig *RouteConfig `json:"routeConfig"` CertConfig *CertConfig `json:"certConfig"` }
UpdateCustomDomainInput defines input to update custom domain
type UpdateCustomDomainOutput ¶
type UpdateCustomDomainOutput struct { Header http.Header // contains filtered or unexported fields }
UpdateCustomDomainOutput define update custom domain response
func (UpdateCustomDomainOutput) GetRequestID ¶
func (o UpdateCustomDomainOutput) GetRequestID() string
func (UpdateCustomDomainOutput) String ¶
func (o UpdateCustomDomainOutput) String() string
type UpdateFunctionInput ¶
type UpdateFunctionInput struct { ServiceName *string FunctionName *string FunctionUpdateObject IfMatch *string }
func NewUpdateFunctionInput ¶
func NewUpdateFunctionInput(serviceName string, functionName string) *UpdateFunctionInput
func (*UpdateFunctionInput) GetHeaders ¶
func (i *UpdateFunctionInput) GetHeaders() Header
func (*UpdateFunctionInput) GetPath ¶
func (i *UpdateFunctionInput) GetPath() string
func (*UpdateFunctionInput) GetPayload ¶
func (i *UpdateFunctionInput) GetPayload() interface{}
func (*UpdateFunctionInput) GetQueryParams ¶
func (i *UpdateFunctionInput) GetQueryParams() url.Values
func (*UpdateFunctionInput) Validate ¶
func (i *UpdateFunctionInput) Validate() error
func (*UpdateFunctionInput) WithCAPort ¶
func (i *UpdateFunctionInput) WithCAPort(caPort int32) *UpdateFunctionInput
func (*UpdateFunctionInput) WithCode ¶
func (i *UpdateFunctionInput) WithCode(code *Code) *UpdateFunctionInput
func (*UpdateFunctionInput) WithCustomContainerConfig ¶
func (i *UpdateFunctionInput) WithCustomContainerConfig(customContainerConfig *CustomContainerConfig) *UpdateFunctionInput
func (*UpdateFunctionInput) WithDescription ¶
func (i *UpdateFunctionInput) WithDescription(description string) *UpdateFunctionInput
func (*UpdateFunctionInput) WithEnvironmentVariables ¶
func (i *UpdateFunctionInput) WithEnvironmentVariables(env map[string]string) *UpdateFunctionInput
func (*UpdateFunctionInput) WithHandler ¶
func (i *UpdateFunctionInput) WithHandler(handler string) *UpdateFunctionInput
func (*UpdateFunctionInput) WithIfMatch ¶
func (s *UpdateFunctionInput) WithIfMatch(ifMatch string) *UpdateFunctionInput
func (*UpdateFunctionInput) WithInitializationTimeout ¶
func (i *UpdateFunctionInput) WithInitializationTimeout(initializationTimeout int32) *UpdateFunctionInput
func (*UpdateFunctionInput) WithInitializer ¶
func (i *UpdateFunctionInput) WithInitializer(initializer string) *UpdateFunctionInput
func (*UpdateFunctionInput) WithInstanceConcurrency ¶
func (i *UpdateFunctionInput) WithInstanceConcurrency(limit int32) *UpdateFunctionInput
func (*UpdateFunctionInput) WithInstanceType ¶
func (i *UpdateFunctionInput) WithInstanceType(instanceType string) *UpdateFunctionInput
func (*UpdateFunctionInput) WithLayers ¶
func (i *UpdateFunctionInput) WithLayers(layers []string) *UpdateFunctionInput
func (*UpdateFunctionInput) WithMemorySize ¶
func (i *UpdateFunctionInput) WithMemorySize(memory int32) *UpdateFunctionInput
func (*UpdateFunctionInput) WithRuntime ¶
func (i *UpdateFunctionInput) WithRuntime(runtime string) *UpdateFunctionInput
func (*UpdateFunctionInput) WithTimeout ¶
func (i *UpdateFunctionInput) WithTimeout(timeout int32) *UpdateFunctionInput
type UpdateFunctionOutput ¶
func (UpdateFunctionOutput) GetEtag ¶
func (o UpdateFunctionOutput) GetEtag() string
func (UpdateFunctionOutput) GetRequestID ¶
func (o UpdateFunctionOutput) GetRequestID() string
func (UpdateFunctionOutput) String ¶
func (o UpdateFunctionOutput) String() string
type UpdateServiceInput ¶
type UpdateServiceInput struct { ServiceName *string ServiceUpdateObject IfMatch *string }
func NewUpdateServiceInput ¶
func NewUpdateServiceInput(serviceName string) *UpdateServiceInput
func (*UpdateServiceInput) GetHeaders ¶
func (i *UpdateServiceInput) GetHeaders() Header
func (*UpdateServiceInput) GetPath ¶
func (i *UpdateServiceInput) GetPath() string
func (*UpdateServiceInput) GetPayload ¶
func (i *UpdateServiceInput) GetPayload() interface{}
func (*UpdateServiceInput) GetQueryParams ¶
func (i *UpdateServiceInput) GetQueryParams() url.Values
func (*UpdateServiceInput) Validate ¶
func (i *UpdateServiceInput) Validate() error
func (*UpdateServiceInput) WithDescription ¶
func (i *UpdateServiceInput) WithDescription(description string) *UpdateServiceInput
func (*UpdateServiceInput) WithIfMatch ¶
func (i *UpdateServiceInput) WithIfMatch(ifMatch string) *UpdateServiceInput
func (*UpdateServiceInput) WithInternetAccess ¶
func (i *UpdateServiceInput) WithInternetAccess(access bool) *UpdateServiceInput
func (*UpdateServiceInput) WithLogConfig ¶
func (i *UpdateServiceInput) WithLogConfig(logConfig *LogConfig) *UpdateServiceInput
func (*UpdateServiceInput) WithNASConfig ¶
func (i *UpdateServiceInput) WithNASConfig(nasConfig *NASConfig) *UpdateServiceInput
func (*UpdateServiceInput) WithRole ¶
func (i *UpdateServiceInput) WithRole(role string) *UpdateServiceInput
func (*UpdateServiceInput) WithTracingConfig ¶
func (i *UpdateServiceInput) WithTracingConfig(tracingConfig *TracingConfig) *UpdateServiceInput
func (*UpdateServiceInput) WithVPCConfig ¶
func (i *UpdateServiceInput) WithVPCConfig(vpcConfig *VPCConfig) *UpdateServiceInput
type UpdateServiceOutput ¶
UpdateServiceOutput define get service response
func (UpdateServiceOutput) GetEtag ¶
func (o UpdateServiceOutput) GetEtag() string
func (UpdateServiceOutput) GetRequestID ¶
func (o UpdateServiceOutput) GetRequestID() string
func (UpdateServiceOutput) String ¶
func (o UpdateServiceOutput) String() string
type UpdateTriggerInput ¶
type UpdateTriggerInput struct { ServiceName *string FunctionName *string TriggerName *string TriggerUpdateObject IfMatch *string // contains filtered or unexported fields }
func NewUpdateTriggerInput ¶
func NewUpdateTriggerInput(serviceName string, functionName string, triggerName string) *UpdateTriggerInput
func (*UpdateTriggerInput) GetHeaders ¶
func (i *UpdateTriggerInput) GetHeaders() Header
func (*UpdateTriggerInput) GetPath ¶
func (i *UpdateTriggerInput) GetPath() string
func (*UpdateTriggerInput) GetPayload ¶
func (i *UpdateTriggerInput) GetPayload() interface{}
func (*UpdateTriggerInput) GetQueryParams ¶
func (i *UpdateTriggerInput) GetQueryParams() url.Values
func (*UpdateTriggerInput) Validate ¶
func (i *UpdateTriggerInput) Validate() error
func (*UpdateTriggerInput) WithDescription ¶
func (i *UpdateTriggerInput) WithDescription(desc string) *UpdateTriggerInput
func (*UpdateTriggerInput) WithHeader ¶
func (i *UpdateTriggerInput) WithHeader(key, value string) *UpdateTriggerInput
func (*UpdateTriggerInput) WithIfMatch ¶
func (s *UpdateTriggerInput) WithIfMatch(ifMatch string) *UpdateTriggerInput
func (*UpdateTriggerInput) WithInvocationRole ¶
func (i *UpdateTriggerInput) WithInvocationRole(role string) *UpdateTriggerInput
func (*UpdateTriggerInput) WithQualifier ¶
func (i *UpdateTriggerInput) WithQualifier(qualifier string) *UpdateTriggerInput
func (*UpdateTriggerInput) WithTriggerConfig ¶
func (i *UpdateTriggerInput) WithTriggerConfig(config interface{}) *UpdateTriggerInput
type UpdateTriggerOutput ¶
func (UpdateTriggerOutput) GetEtag ¶
func (o UpdateTriggerOutput) GetEtag() string
func (UpdateTriggerOutput) GetRequestID ¶
func (o UpdateTriggerOutput) GetRequestID() string
func (UpdateTriggerOutput) MarshalJSON ¶
func (o UpdateTriggerOutput) MarshalJSON() ([]byte, error)
MarshalJSON marshals trigger metadata and excludes RawTriggerConfig
func (UpdateTriggerOutput) String ¶
func (o UpdateTriggerOutput) String() string
func (*UpdateTriggerOutput) UnmarshalJSON ¶
UnmarshalJSON unmarshals the data to trigger metadata and sets TriggerConfig field to an actual trigger config. User can use type switches/assertion to get the actual trigger config.
type VPCConfig ¶
type VPCConfig struct { VPCID *string `json:"vpcId"` VSwitchIDs []string `json:"vSwitchIds"` SecurityGroupID *string `json:"securityGroupId"` }
VPCConfig defines the VPC config for service
func NewVPCConfig ¶
func NewVPCConfig() *VPCConfig
func (*VPCConfig) WithSecurityGroupID ¶
func (*VPCConfig) WithVSwitchIDs ¶
Source Files ¶
- account.go
- alias.go
- async_config.go
- cdn_events_trigger.go
- client.go
- config.go
- connect.go
- const.go
- custom_domain.go
- error.go
- eventbridge_trigger.go
- function.go
- http_trigger.go
- instance_exec.go
- layers.go
- list_instances.go
- log_trigger.go
- mns_trigger.go
- on_demand_config.go
- option.go
- oss_temp_token.go
- provision_config.go
- reserved_capacity.go
- service.go
- sign_url_request.go
- signature.go
- stateful_async_invocation.go
- tablestore_trigger.go
- tag.go
- time_trigger.go
- trigger.go
- types.go
- util.go
- version.go
- zip.go