flink20250101

package
v1.2.21 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package flink20250101iface provides an interface to enable mocking the FLINK20250101 service client for testing your code.

It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.

Index

Constants

View Source
const (
	// EnumOfSchedulePolicyForGetApplicationInstanceOutputGang is a EnumOfSchedulePolicyForGetApplicationInstanceOutput enum value
	EnumOfSchedulePolicyForGetApplicationInstanceOutputGang = "GANG"

	// EnumOfSchedulePolicyForGetApplicationInstanceOutputDrf is a EnumOfSchedulePolicyForGetApplicationInstanceOutput enum value
	EnumOfSchedulePolicyForGetApplicationInstanceOutputDrf = "DRF"
)
View Source
const (
	// EnumOfSchedulePolicyForListApplicationInstanceOutputGang is a EnumOfSchedulePolicyForListApplicationInstanceOutput enum value
	EnumOfSchedulePolicyForListApplicationInstanceOutputGang = "GANG"

	// EnumOfSchedulePolicyForListApplicationInstanceOutputDrf is a EnumOfSchedulePolicyForListApplicationInstanceOutput enum value
	EnumOfSchedulePolicyForListApplicationInstanceOutputDrf = "DRF"
)
View Source
const (
	// EnumOfTypeForRestartGWSApplicationInputFromNew is a EnumOfTypeForRestartGWSApplicationInput enum value
	EnumOfTypeForRestartGWSApplicationInputFromNew = "FROM_NEW"

	// EnumOfTypeForRestartGWSApplicationInputFromLatest is a EnumOfTypeForRestartGWSApplicationInput enum value
	EnumOfTypeForRestartGWSApplicationInputFromLatest = "FROM_LATEST"

	// EnumOfTypeForRestartGWSApplicationInputFromSavepoint is a EnumOfTypeForRestartGWSApplicationInput enum value
	EnumOfTypeForRestartGWSApplicationInputFromSavepoint = "FROM_SAVEPOINT"
)
View Source
const (
	// EnumOfEngineVersionForStartApplicationInstanceInputFlinkVersion111 is a EnumOfEngineVersionForStartApplicationInstanceInput enum value
	EnumOfEngineVersionForStartApplicationInstanceInputFlinkVersion111 = "FLINK_VERSION_1_11"

	// EnumOfEngineVersionForStartApplicationInstanceInputFlinkVersion116 is a EnumOfEngineVersionForStartApplicationInstanceInput enum value
	EnumOfEngineVersionForStartApplicationInstanceInputFlinkVersion116 = "FLINK_VERSION_1_16"

	// EnumOfEngineVersionForStartApplicationInstanceInputFlinkVersion117 is a EnumOfEngineVersionForStartApplicationInstanceInput enum value
	EnumOfEngineVersionForStartApplicationInstanceInputFlinkVersion117 = "FLINK_VERSION_1_17"
)
View Source
const (
	// EnumOfJobTypeForStartApplicationInstanceInputFlinkStreamingJar is a EnumOfJobTypeForStartApplicationInstanceInput enum value
	EnumOfJobTypeForStartApplicationInstanceInputFlinkStreamingJar = "FLINK_STREAMING_JAR"

	// EnumOfJobTypeForStartApplicationInstanceInputFlinkStreamingSql is a EnumOfJobTypeForStartApplicationInstanceInput enum value
	EnumOfJobTypeForStartApplicationInstanceInputFlinkStreamingSql = "FLINK_STREAMING_SQL"

	// EnumOfJobTypeForStartApplicationInstanceInputFlinkBatchSql is a EnumOfJobTypeForStartApplicationInstanceInput enum value
	EnumOfJobTypeForStartApplicationInstanceInputFlinkBatchSql = "FLINK_BATCH_SQL"

	// EnumOfJobTypeForStartApplicationInstanceInputFlinkBatchJar is a EnumOfJobTypeForStartApplicationInstanceInput enum value
	EnumOfJobTypeForStartApplicationInstanceInputFlinkBatchJar = "FLINK_BATCH_JAR"
)
View Source
const (
	// EnumOfSchedulePolicyForStartApplicationInstanceInputGang is a EnumOfSchedulePolicyForStartApplicationInstanceInput enum value
	EnumOfSchedulePolicyForStartApplicationInstanceInputGang = "GANG"

	// EnumOfSchedulePolicyForStartApplicationInstanceInputDrf is a EnumOfSchedulePolicyForStartApplicationInstanceInput enum value
	EnumOfSchedulePolicyForStartApplicationInstanceInputDrf = "DRF"
)
View Source
const (
	ServiceName = "flink"     // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "flink"     // ServiceID is a unique identifer of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AppForStartApplicationInstanceInput

type AppForStartApplicationInstanceInput struct {
	AccountId *string `type:"string" json:",omitempty"`

	Args *string `type:"string" json:",omitempty"`

	Conf *string `type:"string" json:",omitempty"`

	Dependency *DependencyForStartApplicationInstanceInput `type:"structure" json:",omitempty"`

	DeployRequest *DeployRequestForStartApplicationInstanceInput `type:"structure" json:",omitempty"`

	EngineVersion *string `type:"string" json:",omitempty" enum:"EnumOfEngineVersionForStartApplicationInstanceInput"`

	Jar *string `type:"string" json:",omitempty"`

	JobName *string `type:"string" json:",omitempty"`

	JobType *string `type:"string" json:",omitempty" enum:"EnumOfJobTypeForStartApplicationInstanceInput"`

	MainClass *string `type:"string" json:",omitempty"`

	ProjectId *string `type:"string" json:",omitempty"`

	SqlText *string `type:"string" json:",omitempty"`

	UniqueKey *string `type:"string" json:",omitempty"`

	UserId *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (AppForStartApplicationInstanceInput) GoString

GoString returns the string representation

func (*AppForStartApplicationInstanceInput) SetAccountId

SetAccountId sets the AccountId field's value.

func (*AppForStartApplicationInstanceInput) SetArgs

SetArgs sets the Args field's value.

func (*AppForStartApplicationInstanceInput) SetConf

SetConf sets the Conf field's value.

func (*AppForStartApplicationInstanceInput) SetDependency

SetDependency sets the Dependency field's value.

func (*AppForStartApplicationInstanceInput) SetDeployRequest

SetDeployRequest sets the DeployRequest field's value.

func (*AppForStartApplicationInstanceInput) SetEngineVersion

SetEngineVersion sets the EngineVersion field's value.

func (*AppForStartApplicationInstanceInput) SetJar

SetJar sets the Jar field's value.

func (*AppForStartApplicationInstanceInput) SetJobName

SetJobName sets the JobName field's value.

func (*AppForStartApplicationInstanceInput) SetJobType

SetJobType sets the JobType field's value.

func (*AppForStartApplicationInstanceInput) SetMainClass

SetMainClass sets the MainClass field's value.

func (*AppForStartApplicationInstanceInput) SetProjectId

SetProjectId sets the ProjectId field's value.

func (*AppForStartApplicationInstanceInput) SetSqlText

SetSqlText sets the SqlText field's value.

func (*AppForStartApplicationInstanceInput) SetUniqueKey

SetUniqueKey sets the UniqueKey field's value.

func (*AppForStartApplicationInstanceInput) SetUserId

SetUserId sets the UserId field's value.

func (AppForStartApplicationInstanceInput) String

String returns the string representation

type CancelApplicationInstanceInput

type CancelApplicationInstanceInput struct {

	// InstanceId is a required field
	InstanceId *string `type:"string" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (CancelApplicationInstanceInput) GoString

GoString returns the string representation

func (*CancelApplicationInstanceInput) SetInstanceId

SetInstanceId sets the InstanceId field's value.

func (CancelApplicationInstanceInput) String

String returns the string representation

func (*CancelApplicationInstanceInput) Validate

func (s *CancelApplicationInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CancelApplicationInstanceOutput

type CancelApplicationInstanceOutput struct {
	Metadata *response.ResponseMetadata

	Id *string `type:"string" json:",omitempty"`

	InstanceId *string `type:"string" json:",omitempty"`

	Success *bool `type:"boolean" json:",omitempty"`
	// contains filtered or unexported fields
}

func (CancelApplicationInstanceOutput) GoString

GoString returns the string representation

func (*CancelApplicationInstanceOutput) SetId

SetId sets the Id field's value.

func (*CancelApplicationInstanceOutput) SetInstanceId

SetInstanceId sets the InstanceId field's value.

func (*CancelApplicationInstanceOutput) SetSuccess

SetSuccess sets the Success field's value.

func (CancelApplicationInstanceOutput) String

String returns the string representation

type DependencyForGetApplicationInstanceOutput

type DependencyForGetApplicationInstanceOutput struct {
	Jars []*string `type:"list" json:",omitempty"`

	PyLibraries []*string `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DependencyForGetApplicationInstanceOutput) GoString

GoString returns the string representation

func (*DependencyForGetApplicationInstanceOutput) SetJars

SetJars sets the Jars field's value.

func (*DependencyForGetApplicationInstanceOutput) SetPyLibraries

SetPyLibraries sets the PyLibraries field's value.

func (DependencyForGetApplicationInstanceOutput) String

String returns the string representation

type DependencyForListApplicationInstanceOutput

type DependencyForListApplicationInstanceOutput struct {
	Jars []*string `type:"list" json:",omitempty"`

	PyLibraries []*string `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DependencyForListApplicationInstanceOutput) GoString

GoString returns the string representation

func (*DependencyForListApplicationInstanceOutput) SetJars

SetJars sets the Jars field's value.

func (*DependencyForListApplicationInstanceOutput) SetPyLibraries

SetPyLibraries sets the PyLibraries field's value.

func (DependencyForListApplicationInstanceOutput) String

String returns the string representation

type DependencyForStartApplicationInstanceInput

type DependencyForStartApplicationInstanceInput struct {
	Jars []*string `type:"list" json:",omitempty"`

	PyLibraries []*string `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DependencyForStartApplicationInstanceInput) GoString

GoString returns the string representation

func (*DependencyForStartApplicationInstanceInput) SetJars

SetJars sets the Jars field's value.

func (*DependencyForStartApplicationInstanceInput) SetPyLibraries

SetPyLibraries sets the PyLibraries field's value.

func (DependencyForStartApplicationInstanceInput) String

String returns the string representation

type DeployRequestForGetApplicationInstanceOutput

type DeployRequestForGetApplicationInstanceOutput struct {
	Namespace *string `type:"string" json:",omitempty"`

	Priority *string `type:"string" json:",omitempty"`

	Queue *string `type:"string" json:",omitempty"`

	ResourcePool *string `type:"string" json:",omitempty"`

	SchedulePolicy *string `type:"string" json:",omitempty" enum:"EnumOfSchedulePolicyForGetApplicationInstanceOutput"`

	ScheduleTimeout *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DeployRequestForGetApplicationInstanceOutput) GoString

GoString returns the string representation

func (*DeployRequestForGetApplicationInstanceOutput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*DeployRequestForGetApplicationInstanceOutput) SetPriority

SetPriority sets the Priority field's value.

func (*DeployRequestForGetApplicationInstanceOutput) SetQueue

SetQueue sets the Queue field's value.

func (*DeployRequestForGetApplicationInstanceOutput) SetResourcePool

SetResourcePool sets the ResourcePool field's value.

func (*DeployRequestForGetApplicationInstanceOutput) SetSchedulePolicy

SetSchedulePolicy sets the SchedulePolicy field's value.

func (*DeployRequestForGetApplicationInstanceOutput) SetScheduleTimeout

SetScheduleTimeout sets the ScheduleTimeout field's value.

func (DeployRequestForGetApplicationInstanceOutput) String

String returns the string representation

type DeployRequestForListApplicationInstanceOutput

type DeployRequestForListApplicationInstanceOutput struct {
	Namespace *string `type:"string" json:",omitempty"`

	Priority *string `type:"string" json:",omitempty"`

	Queue *string `type:"string" json:",omitempty"`

	ResourcePool *string `type:"string" json:",omitempty"`

	SchedulePolicy *string `type:"string" json:",omitempty" enum:"EnumOfSchedulePolicyForListApplicationInstanceOutput"`

	ScheduleTimeout *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DeployRequestForListApplicationInstanceOutput) GoString

GoString returns the string representation

func (*DeployRequestForListApplicationInstanceOutput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*DeployRequestForListApplicationInstanceOutput) SetPriority

SetPriority sets the Priority field's value.

func (*DeployRequestForListApplicationInstanceOutput) SetQueue

SetQueue sets the Queue field's value.

func (*DeployRequestForListApplicationInstanceOutput) SetResourcePool

SetResourcePool sets the ResourcePool field's value.

func (*DeployRequestForListApplicationInstanceOutput) SetSchedulePolicy

SetSchedulePolicy sets the SchedulePolicy field's value.

func (*DeployRequestForListApplicationInstanceOutput) SetScheduleTimeout

SetScheduleTimeout sets the ScheduleTimeout field's value.

func (DeployRequestForListApplicationInstanceOutput) String

String returns the string representation

type DeployRequestForStartApplicationInstanceInput

type DeployRequestForStartApplicationInstanceInput struct {
	Namespace *string `type:"string" json:",omitempty"`

	Priority *string `type:"string" json:",omitempty"`

	Queue *string `type:"string" json:",omitempty"`

	ResourcePool *string `type:"string" json:",omitempty"`

	SchedulePolicy *string `type:"string" json:",omitempty" enum:"EnumOfSchedulePolicyForStartApplicationInstanceInput"`

	ScheduleTimeout *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (DeployRequestForStartApplicationInstanceInput) GoString

GoString returns the string representation

func (*DeployRequestForStartApplicationInstanceInput) SetNamespace

SetNamespace sets the Namespace field's value.

func (*DeployRequestForStartApplicationInstanceInput) SetPriority

SetPriority sets the Priority field's value.

func (*DeployRequestForStartApplicationInstanceInput) SetQueue

SetQueue sets the Queue field's value.

func (*DeployRequestForStartApplicationInstanceInput) SetResourcePool

SetResourcePool sets the ResourcePool field's value.

func (*DeployRequestForStartApplicationInstanceInput) SetSchedulePolicy

SetSchedulePolicy sets the SchedulePolicy field's value.

func (*DeployRequestForStartApplicationInstanceInput) SetScheduleTimeout

SetScheduleTimeout sets the ScheduleTimeout field's value.

func (DeployRequestForStartApplicationInstanceInput) String

String returns the string representation

type FLINK20250101

type FLINK20250101 struct {
	*client.Client
}

FLINK20250101 provides the API operation methods for making requests to FLINK20250101. See this package's package overview docs for details on the service.

FLINK20250101 methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

New create int can support ssl or region locate set

func (*FLINK20250101) CancelApplicationInstance

func (c *FLINK20250101) CancelApplicationInstance(input *CancelApplicationInstanceInput) (*CancelApplicationInstanceOutput, error)

CancelApplicationInstance API operation for FLINK20250101.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for FLINK20250101's API operation CancelApplicationInstance for usage and error information.

func (*FLINK20250101) CancelApplicationInstanceCommon

func (c *FLINK20250101) CancelApplicationInstanceCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CancelApplicationInstanceCommon API operation for FLINK20250101.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for FLINK20250101's API operation CancelApplicationInstanceCommon for usage and error information.

func (*FLINK20250101) CancelApplicationInstanceCommonRequest

func (c *FLINK20250101) CancelApplicationInstanceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CancelApplicationInstanceCommonRequest generates a "volcengine/request.Request" representing the client's request for the CancelApplicationInstanceCommon operation. The "output" return value will be populated with the CancelApplicationInstanceCommon request's response once the request completes successfully.

Use "Send" method on the returned CancelApplicationInstanceCommon Request to send the API call to the service. the "output" return value is not valid until after CancelApplicationInstanceCommon Send returns without error.

See CancelApplicationInstanceCommon for more information on using the CancelApplicationInstanceCommon API call, and error handling.

// Example sending a request using the CancelApplicationInstanceCommonRequest method.
req, resp := client.CancelApplicationInstanceCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*FLINK20250101) CancelApplicationInstanceCommonWithContext

func (c *FLINK20250101) CancelApplicationInstanceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CancelApplicationInstanceCommonWithContext is the same as CancelApplicationInstanceCommon with the addition of the ability to pass a context and additional request options.

See CancelApplicationInstanceCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*FLINK20250101) CancelApplicationInstanceRequest

func (c *FLINK20250101) CancelApplicationInstanceRequest(input *CancelApplicationInstanceInput) (req *request.Request, output *CancelApplicationInstanceOutput)

CancelApplicationInstanceRequest generates a "volcengine/request.Request" representing the client's request for the CancelApplicationInstance operation. The "output" return value will be populated with the CancelApplicationInstanceCommon request's response once the request completes successfully.

Use "Send" method on the returned CancelApplicationInstanceCommon Request to send the API call to the service. the "output" return value is not valid until after CancelApplicationInstanceCommon Send returns without error.

See CancelApplicationInstance for more information on using the CancelApplicationInstance API call, and error handling.

// Example sending a request using the CancelApplicationInstanceRequest method.
req, resp := client.CancelApplicationInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*FLINK20250101) CancelApplicationInstanceWithContext

func (c *FLINK20250101) CancelApplicationInstanceWithContext(ctx volcengine.Context, input *CancelApplicationInstanceInput, opts ...request.Option) (*CancelApplicationInstanceOutput, error)

CancelApplicationInstanceWithContext is the same as CancelApplicationInstance with the addition of the ability to pass a context and additional request options.

See CancelApplicationInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*FLINK20250101) GetApplicationInstance

func (c *FLINK20250101) GetApplicationInstance(input *GetApplicationInstanceInput) (*GetApplicationInstanceOutput, error)

GetApplicationInstance API operation for FLINK20250101.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for FLINK20250101's API operation GetApplicationInstance for usage and error information.

func (*FLINK20250101) GetApplicationInstanceCommon

func (c *FLINK20250101) GetApplicationInstanceCommon(input *map[string]interface{}) (*map[string]interface{}, error)

GetApplicationInstanceCommon API operation for FLINK20250101.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for FLINK20250101's API operation GetApplicationInstanceCommon for usage and error information.

func (*FLINK20250101) GetApplicationInstanceCommonRequest

func (c *FLINK20250101) GetApplicationInstanceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

GetApplicationInstanceCommonRequest generates a "volcengine/request.Request" representing the client's request for the GetApplicationInstanceCommon operation. The "output" return value will be populated with the GetApplicationInstanceCommon request's response once the request completes successfully.

Use "Send" method on the returned GetApplicationInstanceCommon Request to send the API call to the service. the "output" return value is not valid until after GetApplicationInstanceCommon Send returns without error.

See GetApplicationInstanceCommon for more information on using the GetApplicationInstanceCommon API call, and error handling.

// Example sending a request using the GetApplicationInstanceCommonRequest method.
req, resp := client.GetApplicationInstanceCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*FLINK20250101) GetApplicationInstanceCommonWithContext

func (c *FLINK20250101) GetApplicationInstanceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

GetApplicationInstanceCommonWithContext is the same as GetApplicationInstanceCommon with the addition of the ability to pass a context and additional request options.

See GetApplicationInstanceCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*FLINK20250101) GetApplicationInstanceRequest

func (c *FLINK20250101) GetApplicationInstanceRequest(input *GetApplicationInstanceInput) (req *request.Request, output *GetApplicationInstanceOutput)

GetApplicationInstanceRequest generates a "volcengine/request.Request" representing the client's request for the GetApplicationInstance operation. The "output" return value will be populated with the GetApplicationInstanceCommon request's response once the request completes successfully.

Use "Send" method on the returned GetApplicationInstanceCommon Request to send the API call to the service. the "output" return value is not valid until after GetApplicationInstanceCommon Send returns without error.

See GetApplicationInstance for more information on using the GetApplicationInstance API call, and error handling.

// Example sending a request using the GetApplicationInstanceRequest method.
req, resp := client.GetApplicationInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*FLINK20250101) GetApplicationInstanceWithContext

func (c *FLINK20250101) GetApplicationInstanceWithContext(ctx volcengine.Context, input *GetApplicationInstanceInput, opts ...request.Option) (*GetApplicationInstanceOutput, error)

GetApplicationInstanceWithContext is the same as GetApplicationInstance with the addition of the ability to pass a context and additional request options.

See GetApplicationInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*FLINK20250101) ListApplicationInstance

func (c *FLINK20250101) ListApplicationInstance(input *ListApplicationInstanceInput) (*ListApplicationInstanceOutput, error)

ListApplicationInstance API operation for FLINK20250101.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for FLINK20250101's API operation ListApplicationInstance for usage and error information.

func (*FLINK20250101) ListApplicationInstanceCommon

func (c *FLINK20250101) ListApplicationInstanceCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ListApplicationInstanceCommon API operation for FLINK20250101.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for FLINK20250101's API operation ListApplicationInstanceCommon for usage and error information.

func (*FLINK20250101) ListApplicationInstanceCommonRequest

func (c *FLINK20250101) ListApplicationInstanceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ListApplicationInstanceCommonRequest generates a "volcengine/request.Request" representing the client's request for the ListApplicationInstanceCommon operation. The "output" return value will be populated with the ListApplicationInstanceCommon request's response once the request completes successfully.

Use "Send" method on the returned ListApplicationInstanceCommon Request to send the API call to the service. the "output" return value is not valid until after ListApplicationInstanceCommon Send returns without error.

See ListApplicationInstanceCommon for more information on using the ListApplicationInstanceCommon API call, and error handling.

// Example sending a request using the ListApplicationInstanceCommonRequest method.
req, resp := client.ListApplicationInstanceCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*FLINK20250101) ListApplicationInstanceCommonWithContext

func (c *FLINK20250101) ListApplicationInstanceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ListApplicationInstanceCommonWithContext is the same as ListApplicationInstanceCommon with the addition of the ability to pass a context and additional request options.

See ListApplicationInstanceCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*FLINK20250101) ListApplicationInstanceRequest

func (c *FLINK20250101) ListApplicationInstanceRequest(input *ListApplicationInstanceInput) (req *request.Request, output *ListApplicationInstanceOutput)

ListApplicationInstanceRequest generates a "volcengine/request.Request" representing the client's request for the ListApplicationInstance operation. The "output" return value will be populated with the ListApplicationInstanceCommon request's response once the request completes successfully.

Use "Send" method on the returned ListApplicationInstanceCommon Request to send the API call to the service. the "output" return value is not valid until after ListApplicationInstanceCommon Send returns without error.

See ListApplicationInstance for more information on using the ListApplicationInstance API call, and error handling.

// Example sending a request using the ListApplicationInstanceRequest method.
req, resp := client.ListApplicationInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*FLINK20250101) ListApplicationInstanceWithContext

func (c *FLINK20250101) ListApplicationInstanceWithContext(ctx volcengine.Context, input *ListApplicationInstanceInput, opts ...request.Option) (*ListApplicationInstanceOutput, error)

ListApplicationInstanceWithContext is the same as ListApplicationInstance with the addition of the ability to pass a context and additional request options.

See ListApplicationInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*FLINK20250101) RestartGWSApplication added in v1.1.2

func (c *FLINK20250101) RestartGWSApplication(input *RestartGWSApplicationInput) (*RestartGWSApplicationOutput, error)

RestartGWSApplication API operation for FLINK20250101.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for FLINK20250101's API operation RestartGWSApplication for usage and error information.

func (*FLINK20250101) RestartGWSApplicationCommon added in v1.1.2

func (c *FLINK20250101) RestartGWSApplicationCommon(input *map[string]interface{}) (*map[string]interface{}, error)

RestartGWSApplicationCommon API operation for FLINK20250101.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for FLINK20250101's API operation RestartGWSApplicationCommon for usage and error information.

func (*FLINK20250101) RestartGWSApplicationCommonRequest added in v1.1.2

func (c *FLINK20250101) RestartGWSApplicationCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

RestartGWSApplicationCommonRequest generates a "volcengine/request.Request" representing the client's request for the RestartGWSApplicationCommon operation. The "output" return value will be populated with the RestartGWSApplicationCommon request's response once the request completes successfully.

Use "Send" method on the returned RestartGWSApplicationCommon Request to send the API call to the service. the "output" return value is not valid until after RestartGWSApplicationCommon Send returns without error.

See RestartGWSApplicationCommon for more information on using the RestartGWSApplicationCommon API call, and error handling.

// Example sending a request using the RestartGWSApplicationCommonRequest method.
req, resp := client.RestartGWSApplicationCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*FLINK20250101) RestartGWSApplicationCommonWithContext added in v1.1.2

func (c *FLINK20250101) RestartGWSApplicationCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

RestartGWSApplicationCommonWithContext is the same as RestartGWSApplicationCommon with the addition of the ability to pass a context and additional request options.

See RestartGWSApplicationCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*FLINK20250101) RestartGWSApplicationRequest added in v1.1.2

func (c *FLINK20250101) RestartGWSApplicationRequest(input *RestartGWSApplicationInput) (req *request.Request, output *RestartGWSApplicationOutput)

RestartGWSApplicationRequest generates a "volcengine/request.Request" representing the client's request for the RestartGWSApplication operation. The "output" return value will be populated with the RestartGWSApplicationCommon request's response once the request completes successfully.

Use "Send" method on the returned RestartGWSApplicationCommon Request to send the API call to the service. the "output" return value is not valid until after RestartGWSApplicationCommon Send returns without error.

See RestartGWSApplication for more information on using the RestartGWSApplication API call, and error handling.

// Example sending a request using the RestartGWSApplicationRequest method.
req, resp := client.RestartGWSApplicationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*FLINK20250101) RestartGWSApplicationWithContext added in v1.1.2

func (c *FLINK20250101) RestartGWSApplicationWithContext(ctx volcengine.Context, input *RestartGWSApplicationInput, opts ...request.Option) (*RestartGWSApplicationOutput, error)

RestartGWSApplicationWithContext is the same as RestartGWSApplication with the addition of the ability to pass a context and additional request options.

See RestartGWSApplication for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*FLINK20250101) StartApplicationInstance

func (c *FLINK20250101) StartApplicationInstance(input *StartApplicationInstanceInput) (*StartApplicationInstanceOutput, error)

StartApplicationInstance API operation for FLINK20250101.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for FLINK20250101's API operation StartApplicationInstance for usage and error information.

func (*FLINK20250101) StartApplicationInstanceCommon

func (c *FLINK20250101) StartApplicationInstanceCommon(input *map[string]interface{}) (*map[string]interface{}, error)

StartApplicationInstanceCommon API operation for FLINK20250101.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for FLINK20250101's API operation StartApplicationInstanceCommon for usage and error information.

func (*FLINK20250101) StartApplicationInstanceCommonRequest

func (c *FLINK20250101) StartApplicationInstanceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

StartApplicationInstanceCommonRequest generates a "volcengine/request.Request" representing the client's request for the StartApplicationInstanceCommon operation. The "output" return value will be populated with the StartApplicationInstanceCommon request's response once the request completes successfully.

Use "Send" method on the returned StartApplicationInstanceCommon Request to send the API call to the service. the "output" return value is not valid until after StartApplicationInstanceCommon Send returns without error.

See StartApplicationInstanceCommon for more information on using the StartApplicationInstanceCommon API call, and error handling.

// Example sending a request using the StartApplicationInstanceCommonRequest method.
req, resp := client.StartApplicationInstanceCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*FLINK20250101) StartApplicationInstanceCommonWithContext

func (c *FLINK20250101) StartApplicationInstanceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

StartApplicationInstanceCommonWithContext is the same as StartApplicationInstanceCommon with the addition of the ability to pass a context and additional request options.

See StartApplicationInstanceCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*FLINK20250101) StartApplicationInstanceRequest

func (c *FLINK20250101) StartApplicationInstanceRequest(input *StartApplicationInstanceInput) (req *request.Request, output *StartApplicationInstanceOutput)

StartApplicationInstanceRequest generates a "volcengine/request.Request" representing the client's request for the StartApplicationInstance operation. The "output" return value will be populated with the StartApplicationInstanceCommon request's response once the request completes successfully.

Use "Send" method on the returned StartApplicationInstanceCommon Request to send the API call to the service. the "output" return value is not valid until after StartApplicationInstanceCommon Send returns without error.

See StartApplicationInstance for more information on using the StartApplicationInstance API call, and error handling.

// Example sending a request using the StartApplicationInstanceRequest method.
req, resp := client.StartApplicationInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*FLINK20250101) StartApplicationInstanceWithContext

func (c *FLINK20250101) StartApplicationInstanceWithContext(ctx volcengine.Context, input *StartApplicationInstanceInput, opts ...request.Option) (*StartApplicationInstanceOutput, error)

StartApplicationInstanceWithContext is the same as StartApplicationInstance with the addition of the ability to pass a context and additional request options.

See StartApplicationInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type FLINK20250101API

type FLINK20250101API interface {
	CancelApplicationInstanceCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CancelApplicationInstanceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CancelApplicationInstanceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CancelApplicationInstance(*CancelApplicationInstanceInput) (*CancelApplicationInstanceOutput, error)
	CancelApplicationInstanceWithContext(volcengine.Context, *CancelApplicationInstanceInput, ...request.Option) (*CancelApplicationInstanceOutput, error)
	CancelApplicationInstanceRequest(*CancelApplicationInstanceInput) (*request.Request, *CancelApplicationInstanceOutput)

	GetApplicationInstanceCommon(*map[string]interface{}) (*map[string]interface{}, error)
	GetApplicationInstanceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	GetApplicationInstanceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	GetApplicationInstance(*GetApplicationInstanceInput) (*GetApplicationInstanceOutput, error)
	GetApplicationInstanceWithContext(volcengine.Context, *GetApplicationInstanceInput, ...request.Option) (*GetApplicationInstanceOutput, error)
	GetApplicationInstanceRequest(*GetApplicationInstanceInput) (*request.Request, *GetApplicationInstanceOutput)

	ListApplicationInstanceCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ListApplicationInstanceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ListApplicationInstanceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ListApplicationInstance(*ListApplicationInstanceInput) (*ListApplicationInstanceOutput, error)
	ListApplicationInstanceWithContext(volcengine.Context, *ListApplicationInstanceInput, ...request.Option) (*ListApplicationInstanceOutput, error)
	ListApplicationInstanceRequest(*ListApplicationInstanceInput) (*request.Request, *ListApplicationInstanceOutput)

	RestartGWSApplicationCommon(*map[string]interface{}) (*map[string]interface{}, error)
	RestartGWSApplicationCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	RestartGWSApplicationCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	RestartGWSApplication(*RestartGWSApplicationInput) (*RestartGWSApplicationOutput, error)
	RestartGWSApplicationWithContext(volcengine.Context, *RestartGWSApplicationInput, ...request.Option) (*RestartGWSApplicationOutput, error)
	RestartGWSApplicationRequest(*RestartGWSApplicationInput) (*request.Request, *RestartGWSApplicationOutput)

	StartApplicationInstanceCommon(*map[string]interface{}) (*map[string]interface{}, error)
	StartApplicationInstanceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	StartApplicationInstanceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	StartApplicationInstance(*StartApplicationInstanceInput) (*StartApplicationInstanceOutput, error)
	StartApplicationInstanceWithContext(volcengine.Context, *StartApplicationInstanceInput, ...request.Option) (*StartApplicationInstanceOutput, error)
	StartApplicationInstanceRequest(*StartApplicationInstanceInput) (*request.Request, *StartApplicationInstanceOutput)
}

FLINK20250101API provides an interface to enable mocking the flink20250101.FLINK20250101 service client's API operation,

// volcengine sdk func uses an SDK service client to make a request to
// FLINK20250101.
func myFunc(svc FLINK20250101API) bool {
    // Make svc.CancelApplicationInstance request
}

func main() {
    sess := session.New()
    svc := flink20250101.New(sess)

    myFunc(svc)
}

type GetApplicationInstanceInput

type GetApplicationInstanceInput struct {

	// InstanceId is a required field
	InstanceId *string `type:"string" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (GetApplicationInstanceInput) GoString

func (s GetApplicationInstanceInput) GoString() string

GoString returns the string representation

func (*GetApplicationInstanceInput) SetInstanceId

SetInstanceId sets the InstanceId field's value.

func (GetApplicationInstanceInput) String

String returns the string representation

func (*GetApplicationInstanceInput) Validate

func (s *GetApplicationInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetApplicationInstanceOutput

type GetApplicationInstanceOutput struct {
	Metadata *response.ResponseMetadata

	AccountId *string `type:"string" json:",omitempty"`

	ApplicationId *string `type:"string" json:",omitempty"`

	Args *string `type:"string" json:",omitempty"`

	CompleteRestUrl *string `type:"string" json:",omitempty"`

	Conf *string `type:"string" json:",omitempty"`

	Dependency *DependencyForGetApplicationInstanceOutput `type:"structure" json:",omitempty"`

	DeployRequest *DeployRequestForGetApplicationInstanceOutput `type:"structure" json:",omitempty"`

	DeploymentId *string `type:"string" json:",omitempty"`

	EndTime *string `type:"string" json:",omitempty"`

	EngineVersion *string `type:"string" json:",omitempty"`

	Id *string `type:"string" json:",omitempty"`

	Jar *string `type:"string" json:",omitempty"`

	JobId *string `type:"string" json:",omitempty"`

	JobName *string `type:"string" json:",omitempty"`

	JobType *string `type:"string" json:",omitempty"`

	MainClass *string `type:"string" json:",omitempty"`

	ProjectId *string `type:"string" json:",omitempty"`

	SqlText *string `type:"string" json:",omitempty"`

	StartTime *string `type:"string" json:",omitempty"`

	State *string `type:"string" json:",omitempty"`

	UserId *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (GetApplicationInstanceOutput) GoString

func (s GetApplicationInstanceOutput) GoString() string

GoString returns the string representation

func (*GetApplicationInstanceOutput) SetAccountId

SetAccountId sets the AccountId field's value.

func (*GetApplicationInstanceOutput) SetApplicationId

SetApplicationId sets the ApplicationId field's value.

func (*GetApplicationInstanceOutput) SetArgs

SetArgs sets the Args field's value.

func (*GetApplicationInstanceOutput) SetCompleteRestUrl

SetCompleteRestUrl sets the CompleteRestUrl field's value.

func (*GetApplicationInstanceOutput) SetConf

SetConf sets the Conf field's value.

func (*GetApplicationInstanceOutput) SetDependency

SetDependency sets the Dependency field's value.

func (*GetApplicationInstanceOutput) SetDeployRequest

SetDeployRequest sets the DeployRequest field's value.

func (*GetApplicationInstanceOutput) SetDeploymentId

SetDeploymentId sets the DeploymentId field's value.

func (*GetApplicationInstanceOutput) SetEndTime

SetEndTime sets the EndTime field's value.

func (*GetApplicationInstanceOutput) SetEngineVersion

SetEngineVersion sets the EngineVersion field's value.

func (*GetApplicationInstanceOutput) SetId

SetId sets the Id field's value.

func (*GetApplicationInstanceOutput) SetJar

SetJar sets the Jar field's value.

func (*GetApplicationInstanceOutput) SetJobId

SetJobId sets the JobId field's value.

func (*GetApplicationInstanceOutput) SetJobName

SetJobName sets the JobName field's value.

func (*GetApplicationInstanceOutput) SetJobType

SetJobType sets the JobType field's value.

func (*GetApplicationInstanceOutput) SetMainClass

SetMainClass sets the MainClass field's value.

func (*GetApplicationInstanceOutput) SetProjectId

SetProjectId sets the ProjectId field's value.

func (*GetApplicationInstanceOutput) SetSqlText

SetSqlText sets the SqlText field's value.

func (*GetApplicationInstanceOutput) SetStartTime

SetStartTime sets the StartTime field's value.

func (*GetApplicationInstanceOutput) SetState

SetState sets the State field's value.

func (*GetApplicationInstanceOutput) SetUserId

SetUserId sets the UserId field's value.

func (GetApplicationInstanceOutput) String

String returns the string representation

type ListApplicationInstanceInput

type ListApplicationInstanceInput struct {

	// JobId is a required field
	JobId *int64 `type:"int64" json:",omitempty" required:"true"`

	JobName *string `type:"string" json:",omitempty"`

	// PageNum is a required field
	PageNum *string `type:"string" json:",omitempty" required:"true"`

	// PageSize is a required field
	PageSize *string `type:"string" json:",omitempty" required:"true"`

	// ProjectId is a required field
	ProjectId *string `type:"string" json:",omitempty" required:"true"`

	ResourcePool *string `type:"string" json:",omitempty"`

	SortField *string `type:"string" json:",omitempty"`

	SortOrder *string `type:"string" json:",omitempty"`

	// State is a required field
	State *string `type:"string" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (ListApplicationInstanceInput) GoString

func (s ListApplicationInstanceInput) GoString() string

GoString returns the string representation

func (*ListApplicationInstanceInput) SetJobId

SetJobId sets the JobId field's value.

func (*ListApplicationInstanceInput) SetJobName

SetJobName sets the JobName field's value.

func (*ListApplicationInstanceInput) SetPageNum

SetPageNum sets the PageNum field's value.

func (*ListApplicationInstanceInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*ListApplicationInstanceInput) SetProjectId

SetProjectId sets the ProjectId field's value.

func (*ListApplicationInstanceInput) SetResourcePool

SetResourcePool sets the ResourcePool field's value.

func (*ListApplicationInstanceInput) SetSortField

SetSortField sets the SortField field's value.

func (*ListApplicationInstanceInput) SetSortOrder

SetSortOrder sets the SortOrder field's value.

func (*ListApplicationInstanceInput) SetState

SetState sets the State field's value.

func (ListApplicationInstanceInput) String

String returns the string representation

func (*ListApplicationInstanceInput) Validate

func (s *ListApplicationInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListApplicationInstanceOutput

type ListApplicationInstanceOutput struct {
	Metadata *response.ResponseMetadata

	Current *int32 `type:"int32" json:",omitempty"`

	Records []*RecordForListApplicationInstanceOutput `type:"list" json:",omitempty"`

	Size *int32 `type:"int32" json:",omitempty"`

	Total *int32 `type:"int32" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ListApplicationInstanceOutput) GoString

GoString returns the string representation

func (*ListApplicationInstanceOutput) SetCurrent

SetCurrent sets the Current field's value.

func (*ListApplicationInstanceOutput) SetRecords

SetRecords sets the Records field's value.

func (*ListApplicationInstanceOutput) SetSize

SetSize sets the Size field's value.

func (*ListApplicationInstanceOutput) SetTotal

SetTotal sets the Total field's value.

func (ListApplicationInstanceOutput) String

String returns the string representation

type RecordForListApplicationInstanceOutput

type RecordForListApplicationInstanceOutput struct {
	AccountId *string `type:"string" json:",omitempty"`

	ApplicationId *string `type:"string" json:",omitempty"`

	Args *string `type:"string" json:",omitempty"`

	CompleteRestUrl *string `type:"string" json:",omitempty"`

	Conf *string `type:"string" json:",omitempty"`

	Dependency *DependencyForListApplicationInstanceOutput `type:"structure" json:",omitempty"`

	DeployRequest *DeployRequestForListApplicationInstanceOutput `type:"structure" json:",omitempty"`

	DeploymentId *string `type:"string" json:",omitempty"`

	EndTime *string `type:"string" json:",omitempty"`

	EngineVersion *string `type:"string" json:",omitempty"`

	Id *string `type:"string" json:",omitempty"`

	Jar *string `type:"string" json:",omitempty"`

	JobId *string `type:"string" json:",omitempty"`

	JobName *string `type:"string" json:",omitempty"`

	JobType *string `type:"string" json:",omitempty"`

	MainClass *string `type:"string" json:",omitempty"`

	ProjectId *string `type:"string" json:",omitempty"`

	SqlText *string `type:"string" json:",omitempty"`

	StartTime *string `type:"string" json:",omitempty"`

	State *string `type:"string" json:",omitempty"`

	UserId *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (RecordForListApplicationInstanceOutput) GoString

GoString returns the string representation

func (*RecordForListApplicationInstanceOutput) SetAccountId

SetAccountId sets the AccountId field's value.

func (*RecordForListApplicationInstanceOutput) SetApplicationId

SetApplicationId sets the ApplicationId field's value.

func (*RecordForListApplicationInstanceOutput) SetArgs

SetArgs sets the Args field's value.

func (*RecordForListApplicationInstanceOutput) SetCompleteRestUrl

SetCompleteRestUrl sets the CompleteRestUrl field's value.

func (*RecordForListApplicationInstanceOutput) SetConf

SetConf sets the Conf field's value.

func (*RecordForListApplicationInstanceOutput) SetDependency

SetDependency sets the Dependency field's value.

func (*RecordForListApplicationInstanceOutput) SetDeployRequest

SetDeployRequest sets the DeployRequest field's value.

func (*RecordForListApplicationInstanceOutput) SetDeploymentId

SetDeploymentId sets the DeploymentId field's value.

func (*RecordForListApplicationInstanceOutput) SetEndTime

SetEndTime sets the EndTime field's value.

func (*RecordForListApplicationInstanceOutput) SetEngineVersion

SetEngineVersion sets the EngineVersion field's value.

func (*RecordForListApplicationInstanceOutput) SetId

SetId sets the Id field's value.

func (*RecordForListApplicationInstanceOutput) SetJar

SetJar sets the Jar field's value.

func (*RecordForListApplicationInstanceOutput) SetJobId

SetJobId sets the JobId field's value.

func (*RecordForListApplicationInstanceOutput) SetJobName

SetJobName sets the JobName field's value.

func (*RecordForListApplicationInstanceOutput) SetJobType

SetJobType sets the JobType field's value.

func (*RecordForListApplicationInstanceOutput) SetMainClass

SetMainClass sets the MainClass field's value.

func (*RecordForListApplicationInstanceOutput) SetProjectId

SetProjectId sets the ProjectId field's value.

func (*RecordForListApplicationInstanceOutput) SetSqlText

SetSqlText sets the SqlText field's value.

func (*RecordForListApplicationInstanceOutput) SetStartTime

SetStartTime sets the StartTime field's value.

func (*RecordForListApplicationInstanceOutput) SetState

SetState sets the State field's value.

func (*RecordForListApplicationInstanceOutput) SetUserId

SetUserId sets the UserId field's value.

func (RecordForListApplicationInstanceOutput) String

String returns the string representation

type RestartGWSApplicationInput added in v1.1.2

type RestartGWSApplicationInput struct {

	// Id is a required field
	Id *string `type:"string" json:",omitempty" required:"true"`

	SavepointId *string `type:"string" json:",omitempty"`

	// Type is a required field
	Type *string `type:"string" json:",omitempty" required:"true" enum:"EnumOfTypeForRestartGWSApplicationInput"`
	// contains filtered or unexported fields
}

func (RestartGWSApplicationInput) GoString added in v1.1.2

func (s RestartGWSApplicationInput) GoString() string

GoString returns the string representation

func (*RestartGWSApplicationInput) SetId added in v1.1.2

SetId sets the Id field's value.

func (*RestartGWSApplicationInput) SetSavepointId added in v1.1.2

SetSavepointId sets the SavepointId field's value.

func (*RestartGWSApplicationInput) SetType added in v1.1.2

SetType sets the Type field's value.

func (RestartGWSApplicationInput) String added in v1.1.2

String returns the string representation

func (*RestartGWSApplicationInput) Validate added in v1.1.2

func (s *RestartGWSApplicationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RestartGWSApplicationOutput added in v1.1.2

type RestartGWSApplicationOutput struct {
	Metadata *response.ResponseMetadata

	Id *string `type:"string" json:",omitempty"`

	Success *bool `type:"boolean" json:",omitempty"`
	// contains filtered or unexported fields
}

func (RestartGWSApplicationOutput) GoString added in v1.1.2

func (s RestartGWSApplicationOutput) GoString() string

GoString returns the string representation

func (*RestartGWSApplicationOutput) SetId added in v1.1.2

SetId sets the Id field's value.

func (*RestartGWSApplicationOutput) SetSuccess added in v1.1.2

SetSuccess sets the Success field's value.

func (RestartGWSApplicationOutput) String added in v1.1.2

String returns the string representation

type RestoreStrategyForStartApplicationInstanceInput

type RestoreStrategyForStartApplicationInstanceInput struct {
	SavepointId *string `type:"string" json:",omitempty"`

	Type *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (RestoreStrategyForStartApplicationInstanceInput) GoString

GoString returns the string representation

func (*RestoreStrategyForStartApplicationInstanceInput) SetSavepointId

SetSavepointId sets the SavepointId field's value.

func (*RestoreStrategyForStartApplicationInstanceInput) SetType

SetType sets the Type field's value.

func (RestoreStrategyForStartApplicationInstanceInput) String

String returns the string representation

type StartApplicationInstanceInput

type StartApplicationInstanceInput struct {
	App *AppForStartApplicationInstanceInput `type:"structure" json:",omitempty"`

	Id *string `type:"string" json:",omitempty"`

	RestoreStrategy *RestoreStrategyForStartApplicationInstanceInput `type:"structure" json:",omitempty"`
	// contains filtered or unexported fields
}

func (StartApplicationInstanceInput) GoString

GoString returns the string representation

func (*StartApplicationInstanceInput) SetApp

SetApp sets the App field's value.

func (*StartApplicationInstanceInput) SetId

SetId sets the Id field's value.

func (*StartApplicationInstanceInput) SetRestoreStrategy

SetRestoreStrategy sets the RestoreStrategy field's value.

func (StartApplicationInstanceInput) String

String returns the string representation

type StartApplicationInstanceOutput

type StartApplicationInstanceOutput struct {
	Metadata *response.ResponseMetadata

	Id *string `type:"string" json:",omitempty"`

	InstanceId *string `type:"string" json:",omitempty"`

	Success *bool `type:"boolean" json:",omitempty"`
	// contains filtered or unexported fields
}

func (StartApplicationInstanceOutput) GoString

GoString returns the string representation

func (*StartApplicationInstanceOutput) SetId

SetId sets the Id field's value.

func (*StartApplicationInstanceOutput) SetInstanceId

SetInstanceId sets the InstanceId field's value.

func (*StartApplicationInstanceOutput) SetSuccess

SetSuccess sets the Success field's value.

func (StartApplicationInstanceOutput) String

String returns the string representation

Jump to

Keyboard shortcuts

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