v20200828

package
v3.0.1076+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Internal error.
	INTERNALERROR = "InternalError"

	// Invalid parameter.
	INVALIDPARAMETER = "InvalidParameter"

	// Invalid `EndTime`.
	INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime"

	// The quantity exceeds the limit.
	INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"

	// Invalid ID.
	INVALIDPARAMETER_ID = "InvalidParameter.Id"

	// Invalid input.
	INVALIDPARAMETER_INPUT = "InvalidParameter.Input"

	// Invalid `InputOutputId`.
	INVALIDPARAMETER_INPUTOUTPUTID = "InvalidParameter.InputOutputId"

	// Invalid maximum bandwidth value.
	INVALIDPARAMETER_MAXBANDWIDTH = "InvalidParameter.MaxBandwidth"

	// Invalid `Name`.
	INVALIDPARAMETER_NAME = "InvalidParameter.Name"

	// No information found.
	INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

	// Invalid `Output`.
	INVALIDPARAMETER_OUTPUT = "InvalidParameter.Output"

	// Invalid `OutputGroups` value
	INVALIDPARAMETER_OUTPUTGROUPS = "InvalidParameter.OutputGroups"

	// Invalid `OutputId`.
	INVALIDPARAMETER_OUTPUTID = "InvalidParameter.OutputId"

	// Invalid `PageNum`.
	INVALIDPARAMETER_PAGENUM = "InvalidParameter.PageNum"

	// Invalid `PageSize`.
	INVALIDPARAMETER_PAGESIZE = "InvalidParameter.PageSize"

	// Invalid `Period`.
	INVALIDPARAMETER_PERIOD = "InvalidParameter.Period"

	// Invalid `Pipeline`.
	INVALIDPARAMETER_PIPELINE = "InvalidParameter.Pipeline"

	// Invalid `Protocol`.
	INVALIDPARAMETER_PROTOCOL = "InvalidParameter.Protocol"

	// Invalid `SortType`.
	INVALIDPARAMETER_SORTTYPE = "InvalidParameter.SortType"

	// Invalid `StartTime`.
	INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime"

	// Unexpected status.
	INVALIDPARAMETER_STATE = "InvalidParameter.State"

	// Invalid `Type`.
	INVALIDPARAMETER_TYPE = "InvalidParameter.Type"
)
View Source
const APIVersion = "2020-08-28"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) CreateStreamLinkFlow

func (c *Client) CreateStreamLinkFlow(request *CreateStreamLinkFlowRequest) (response *CreateStreamLinkFlowResponse, err error)

CreateStreamLinkFlow This API is used to create a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"
INVALIDPARAMETER_INPUT = "InvalidParameter.Input"
INVALIDPARAMETER_MAXBANDWIDTH = "InvalidParameter.MaxBandwidth"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"

func (*Client) CreateStreamLinkFlowWithContext

func (c *Client) CreateStreamLinkFlowWithContext(ctx context.Context, request *CreateStreamLinkFlowRequest) (response *CreateStreamLinkFlowResponse, err error)

CreateStreamLinkFlow This API is used to create a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"
INVALIDPARAMETER_INPUT = "InvalidParameter.Input"
INVALIDPARAMETER_MAXBANDWIDTH = "InvalidParameter.MaxBandwidth"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"

func (*Client) CreateStreamLinkInput

func (c *Client) CreateStreamLinkInput(request *CreateStreamLinkInputRequest) (response *CreateStreamLinkInputResponse, err error)

CreateStreamLinkInput Create an input configuration for the StreamLink.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"
INVALIDPARAMETER_INPUT = "InvalidParameter.Input"
INVALIDPARAMETER_MAXBANDWIDTH = "InvalidParameter.MaxBandwidth"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"

func (*Client) CreateStreamLinkInputWithContext

func (c *Client) CreateStreamLinkInputWithContext(ctx context.Context, request *CreateStreamLinkInputRequest) (response *CreateStreamLinkInputResponse, err error)

CreateStreamLinkInput Create an input configuration for the StreamLink.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"
INVALIDPARAMETER_INPUT = "InvalidParameter.Input"
INVALIDPARAMETER_MAXBANDWIDTH = "InvalidParameter.MaxBandwidth"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"

func (*Client) CreateStreamLinkOutputInfo

func (c *Client) CreateStreamLinkOutputInfo(request *CreateStreamLinkOutputInfoRequest) (response *CreateStreamLinkOutputInfoResponse, err error)

CreateStreamLinkOutputInfo This API is used to create a StreamLink output.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_OUTPUT = "InvalidParameter.Output"
INVALIDPARAMETER_PROTOCOL = "InvalidParameter.Protocol"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

func (*Client) CreateStreamLinkOutputInfoWithContext

func (c *Client) CreateStreamLinkOutputInfoWithContext(ctx context.Context, request *CreateStreamLinkOutputInfoRequest) (response *CreateStreamLinkOutputInfoResponse, err error)

CreateStreamLinkOutputInfo This API is used to create a StreamLink output.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_OUTPUT = "InvalidParameter.Output"
INVALIDPARAMETER_PROTOCOL = "InvalidParameter.Protocol"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

func (*Client) DeleteStreamLinkFlow

func (c *Client) DeleteStreamLinkFlow(request *DeleteStreamLinkFlowRequest) (response *DeleteStreamLinkFlowResponse, err error)

DeleteStreamLinkFlow This API is used to delete a StreamLink flow.

error code that may be returned:

INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

func (*Client) DeleteStreamLinkFlowWithContext

func (c *Client) DeleteStreamLinkFlowWithContext(ctx context.Context, request *DeleteStreamLinkFlowRequest) (response *DeleteStreamLinkFlowResponse, err error)

DeleteStreamLinkFlow This API is used to delete a StreamLink flow.

error code that may be returned:

INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

func (*Client) DeleteStreamLinkOutput

func (c *Client) DeleteStreamLinkOutput(request *DeleteStreamLinkOutputRequest) (response *DeleteStreamLinkOutputResponse, err error)

DeleteStreamLinkOutput This API is used to delete an output of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

func (*Client) DeleteStreamLinkOutputWithContext

func (c *Client) DeleteStreamLinkOutputWithContext(ctx context.Context, request *DeleteStreamLinkOutputRequest) (response *DeleteStreamLinkOutputResponse, err error)

DeleteStreamLinkOutput This API is used to delete an output of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

func (*Client) DescribeStreamLinkFlow

func (c *Client) DescribeStreamLinkFlow(request *DescribeStreamLinkFlowRequest) (response *DescribeStreamLinkFlowResponse, err error)

DescribeStreamLinkFlow This API is used to query the configuration information of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"

func (*Client) DescribeStreamLinkFlowLogs

func (c *Client) DescribeStreamLinkFlowLogs(request *DescribeStreamLinkFlowLogsRequest) (response *DescribeStreamLinkFlowLogsResponse, err error)

DescribeStreamLinkFlowLogs This API is used to query the logs of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_PAGENUM = "InvalidParameter.PageNum"
INVALIDPARAMETER_PAGESIZE = "InvalidParameter.PageSize"
INVALIDPARAMETER_PIPELINE = "InvalidParameter.Pipeline"
INVALIDPARAMETER_SORTTYPE = "InvalidParameter.SortType"
INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime"
INVALIDPARAMETER_TYPE = "InvalidParameter.Type"

func (*Client) DescribeStreamLinkFlowLogsWithContext

func (c *Client) DescribeStreamLinkFlowLogsWithContext(ctx context.Context, request *DescribeStreamLinkFlowLogsRequest) (response *DescribeStreamLinkFlowLogsResponse, err error)

DescribeStreamLinkFlowLogs This API is used to query the logs of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_PAGENUM = "InvalidParameter.PageNum"
INVALIDPARAMETER_PAGESIZE = "InvalidParameter.PageSize"
INVALIDPARAMETER_PIPELINE = "InvalidParameter.Pipeline"
INVALIDPARAMETER_SORTTYPE = "InvalidParameter.SortType"
INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime"
INVALIDPARAMETER_TYPE = "InvalidParameter.Type"

func (*Client) DescribeStreamLinkFlowMediaStatistics

func (c *Client) DescribeStreamLinkFlowMediaStatistics(request *DescribeStreamLinkFlowMediaStatisticsRequest) (response *DescribeStreamLinkFlowMediaStatisticsResponse, err error)

DescribeStreamLinkFlowMediaStatistics This API is used to query the media quality of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_INPUTOUTPUTID = "InvalidParameter.InputOutputId"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_PERIOD = "InvalidParameter.Period"
INVALIDPARAMETER_PIPELINE = "InvalidParameter.Pipeline"
INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime"
INVALIDPARAMETER_TYPE = "InvalidParameter.Type"

func (*Client) DescribeStreamLinkFlowMediaStatisticsWithContext

func (c *Client) DescribeStreamLinkFlowMediaStatisticsWithContext(ctx context.Context, request *DescribeStreamLinkFlowMediaStatisticsRequest) (response *DescribeStreamLinkFlowMediaStatisticsResponse, err error)

DescribeStreamLinkFlowMediaStatistics This API is used to query the media quality of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_INPUTOUTPUTID = "InvalidParameter.InputOutputId"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_PERIOD = "InvalidParameter.Period"
INVALIDPARAMETER_PIPELINE = "InvalidParameter.Pipeline"
INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime"
INVALIDPARAMETER_TYPE = "InvalidParameter.Type"

func (*Client) DescribeStreamLinkFlowRealtimeStatus

func (c *Client) DescribeStreamLinkFlowRealtimeStatus(request *DescribeStreamLinkFlowRealtimeStatusRequest) (response *DescribeStreamLinkFlowRealtimeStatusResponse, err error)

DescribeStreamLinkFlowRealtimeStatus This API is used to query the current status of a flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DescribeStreamLinkFlowRealtimeStatusWithContext

func (c *Client) DescribeStreamLinkFlowRealtimeStatusWithContext(ctx context.Context, request *DescribeStreamLinkFlowRealtimeStatusRequest) (response *DescribeStreamLinkFlowRealtimeStatusResponse, err error)

DescribeStreamLinkFlowRealtimeStatus This API is used to query the current status of a flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DescribeStreamLinkFlowSRTStatistics

func (c *Client) DescribeStreamLinkFlowSRTStatistics(request *DescribeStreamLinkFlowSRTStatisticsRequest) (response *DescribeStreamLinkFlowSRTStatisticsResponse, err error)

DescribeStreamLinkFlowSRTStatistics This API is used to query the SRT streaming performance of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_INPUTOUTPUTID = "InvalidParameter.InputOutputId"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_PERIOD = "InvalidParameter.Period"
INVALIDPARAMETER_PIPELINE = "InvalidParameter.Pipeline"
INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime"
INVALIDPARAMETER_TYPE = "InvalidParameter.Type"

func (*Client) DescribeStreamLinkFlowSRTStatisticsWithContext

func (c *Client) DescribeStreamLinkFlowSRTStatisticsWithContext(ctx context.Context, request *DescribeStreamLinkFlowSRTStatisticsRequest) (response *DescribeStreamLinkFlowSRTStatisticsResponse, err error)

DescribeStreamLinkFlowSRTStatistics This API is used to query the SRT streaming performance of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_INPUTOUTPUTID = "InvalidParameter.InputOutputId"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_PERIOD = "InvalidParameter.Period"
INVALIDPARAMETER_PIPELINE = "InvalidParameter.Pipeline"
INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime"
INVALIDPARAMETER_TYPE = "InvalidParameter.Type"

func (*Client) DescribeStreamLinkFlowStatistics

func (c *Client) DescribeStreamLinkFlowStatistics(request *DescribeStreamLinkFlowStatisticsRequest) (response *DescribeStreamLinkFlowStatisticsResponse, err error)

DescribeStreamLinkFlowStatistics This API is used to query the media quality of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_INPUTOUTPUTID = "InvalidParameter.InputOutputId"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_PERIOD = "InvalidParameter.Period"
INVALIDPARAMETER_PIPELINE = "InvalidParameter.Pipeline"
INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime"
INVALIDPARAMETER_TYPE = "InvalidParameter.Type"

func (*Client) DescribeStreamLinkFlowStatisticsWithContext

func (c *Client) DescribeStreamLinkFlowStatisticsWithContext(ctx context.Context, request *DescribeStreamLinkFlowStatisticsRequest) (response *DescribeStreamLinkFlowStatisticsResponse, err error)

DescribeStreamLinkFlowStatistics This API is used to query the media quality of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ENDTIME = "InvalidParameter.EndTime"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_INPUTOUTPUTID = "InvalidParameter.InputOutputId"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_PERIOD = "InvalidParameter.Period"
INVALIDPARAMETER_PIPELINE = "InvalidParameter.Pipeline"
INVALIDPARAMETER_STARTTIME = "InvalidParameter.StartTime"
INVALIDPARAMETER_TYPE = "InvalidParameter.Type"

func (*Client) DescribeStreamLinkFlowWithContext

func (c *Client) DescribeStreamLinkFlowWithContext(ctx context.Context, request *DescribeStreamLinkFlowRequest) (response *DescribeStreamLinkFlowResponse, err error)

DescribeStreamLinkFlow This API is used to query the configuration information of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"

func (*Client) DescribeStreamLinkFlows

func (c *Client) DescribeStreamLinkFlows(request *DescribeStreamLinkFlowsRequest) (response *DescribeStreamLinkFlowsResponse, err error)

DescribeStreamLinkFlows This API is used to query the configuration information of multiple StreamLink flows in batches.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_PAGENUM = "InvalidParameter.PageNum"
INVALIDPARAMETER_PAGESIZE = "InvalidParameter.PageSize"

func (*Client) DescribeStreamLinkFlowsWithContext

func (c *Client) DescribeStreamLinkFlowsWithContext(ctx context.Context, request *DescribeStreamLinkFlowsRequest) (response *DescribeStreamLinkFlowsResponse, err error)

DescribeStreamLinkFlows This API is used to query the configuration information of multiple StreamLink flows in batches.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_PAGENUM = "InvalidParameter.PageNum"
INVALIDPARAMETER_PAGESIZE = "InvalidParameter.PageSize"

func (*Client) DescribeStreamLinkRegions

func (c *Client) DescribeStreamLinkRegions(request *DescribeStreamLinkRegionsRequest) (response *DescribeStreamLinkRegionsResponse, err error)

DescribeStreamLinkRegions This API is used to query all StreamLink regions.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) DescribeStreamLinkRegionsWithContext

func (c *Client) DescribeStreamLinkRegionsWithContext(ctx context.Context, request *DescribeStreamLinkRegionsRequest) (response *DescribeStreamLinkRegionsResponse, err error)

DescribeStreamLinkRegions This API is used to query all StreamLink regions.

error code that may be returned:

INTERNALERROR = "InternalError"

func (*Client) ModifyStreamLinkFlow

func (c *Client) ModifyStreamLinkFlow(request *ModifyStreamLinkFlowRequest) (response *ModifyStreamLinkFlowResponse, err error)

ModifyStreamLinkFlow This API is used to modify the configuration information of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

func (*Client) ModifyStreamLinkFlowWithContext

func (c *Client) ModifyStreamLinkFlowWithContext(ctx context.Context, request *ModifyStreamLinkFlowRequest) (response *ModifyStreamLinkFlowResponse, err error)

ModifyStreamLinkFlow This API is used to modify the configuration information of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

func (*Client) ModifyStreamLinkInput

func (c *Client) ModifyStreamLinkInput(request *ModifyStreamLinkInputRequest) (response *ModifyStreamLinkInputResponse, err error)

ModifyStreamLinkInput This API is used to modify an input of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_INPUT = "InvalidParameter.Input"
INVALIDPARAMETER_PROTOCOL = "InvalidParameter.Protocol"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

func (*Client) ModifyStreamLinkInputWithContext

func (c *Client) ModifyStreamLinkInputWithContext(ctx context.Context, request *ModifyStreamLinkInputRequest) (response *ModifyStreamLinkInputResponse, err error)

ModifyStreamLinkInput This API is used to modify an input of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_INPUT = "InvalidParameter.Input"
INVALIDPARAMETER_PROTOCOL = "InvalidParameter.Protocol"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

func (*Client) ModifyStreamLinkOutputInfo

func (c *Client) ModifyStreamLinkOutputInfo(request *ModifyStreamLinkOutputInfoRequest) (response *ModifyStreamLinkOutputInfoResponse, err error)

ModifyStreamLinkOutputInfo This API is used to modify an output of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_OUTPUT = "InvalidParameter.Output"
INVALIDPARAMETER_OUTPUTID = "InvalidParameter.OutputId"
INVALIDPARAMETER_PROTOCOL = "InvalidParameter.Protocol"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

func (*Client) ModifyStreamLinkOutputInfoWithContext

func (c *Client) ModifyStreamLinkOutputInfoWithContext(ctx context.Context, request *ModifyStreamLinkOutputInfoRequest) (response *ModifyStreamLinkOutputInfoResponse, err error)

ModifyStreamLinkOutputInfo This API is used to modify an output of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_OUTPUT = "InvalidParameter.Output"
INVALIDPARAMETER_OUTPUTID = "InvalidParameter.OutputId"
INVALIDPARAMETER_PROTOCOL = "InvalidParameter.Protocol"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

func (*Client) StartStreamLinkFlow

func (c *Client) StartStreamLinkFlow(request *StartStreamLinkFlowRequest) (response *StartStreamLinkFlowResponse, err error)

StartStreamLinkFlow This API is used to start a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_OUTPUTGROUPS = "InvalidParameter.OutputGroups"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

func (*Client) StartStreamLinkFlowWithContext

func (c *Client) StartStreamLinkFlowWithContext(ctx context.Context, request *StartStreamLinkFlowRequest) (response *StartStreamLinkFlowResponse, err error)

StartStreamLinkFlow This API is used to start a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_OUTPUTGROUPS = "InvalidParameter.OutputGroups"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

func (*Client) StopStreamLinkFlow

func (c *Client) StopStreamLinkFlow(request *StopStreamLinkFlowRequest) (response *StopStreamLinkFlowResponse, err error)

StopStreamLinkFlow This API is used to stop a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

func (*Client) StopStreamLinkFlowWithContext

func (c *Client) StopStreamLinkFlowWithContext(ctx context.Context, request *StopStreamLinkFlowRequest) (response *StopStreamLinkFlowResponse, err error)

StopStreamLinkFlow This API is used to stop a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

type CreateInput

type CreateInput struct {
	// Input name, which can contain 1 to 32 letters, digits, and underscores.
	InputName *string `json:"InputName,omitnil,omitempty" name:"InputName"`

	// Input protocol. Valid values: `SRT`, `RTP`, `RTMP`, `RTMP_PULL`, `RTSP_PULL `, `HLS_PULL`.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Input description. Length: [0, 255].
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Allowlist of input IPs in CIDR format.
	AllowIpList []*string `json:"AllowIpList,omitnil,omitempty" name:"AllowIpList"`

	// SRT configuration information of input.
	SRTSettings *CreateInputSRTSettings `json:"SRTSettings,omitnil,omitempty" name:"SRTSettings"`

	// RTP configuration information of input.
	RTPSettings *CreateInputRTPSettings `json:"RTPSettings,omitnil,omitempty" name:"RTPSettings"`

	// Input failover. Valid values: `OPEN`, `CLOSE` (default)
	FailOver *string `json:"FailOver,omitnil,omitempty" name:"FailOver"`

	// Input RTMP_PULL configuration information.
	RTMPPullSettings *CreateInputRTMPPullSettings `json:"RTMPPullSettings,omitnil,omitempty" name:"RTMPPullSettings"`

	// Input RTSP_PULL configuration information.
	RTSPPullSettings *CreateInputRTSPPullSettings `json:"RTSPPullSettings,omitnil,omitempty" name:"RTSPPullSettings"`

	// Input HLS_PULL configuration information.
	HLSPullSettings *CreateInputHLSPullSettings `json:"HLSPullSettings,omitnil,omitempty" name:"HLSPullSettings"`

	// Delayed broadcast smooth streaming configuration information.
	ResilientStream *ResilientStreamConf `json:"ResilientStream,omitnil,omitempty" name:"ResilientStream"`

	// The bound security group IDs.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// Availability zone, optional. If disaster recovery is enabled, you must enter two different availability zones. Otherwise, you can only enter one availability zone at most.
	Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"`
}

type CreateInputHLSPullSettings

type CreateInputHLSPullSettings struct {
	SourceAddresses []*HLSPullSourceAddress `json:"SourceAddresses,omitnil,omitempty" name:"SourceAddresses"`
}

type CreateInputRTMPPullSettings

type CreateInputRTMPPullSettings struct {
	SourceAddresses []*RTMPPullSourceAddress `json:"SourceAddresses,omitnil,omitempty" name:"SourceAddresses"`
}

type CreateInputRTPSettings

type CreateInputRTPSettings struct {
	// Default value: none. Valid values: ['none'].
	FEC *string `json:"FEC,omitnil,omitempty" name:"FEC"`

	// Idle timeout period in ms. Default value: 5000. Value range: [1000, 10000].
	IdleTimeout *int64 `json:"IdleTimeout,omitnil,omitempty" name:"IdleTimeout"`
}

type CreateInputRTSPPullSettings

type CreateInputRTSPPullSettings struct {
	SourceAddresses []*RTSPPullSourceAddress `json:"SourceAddresses,omitnil,omitempty" name:"SourceAddresses"`
}

type CreateInputSRTSettings

type CreateInputSRTSettings struct {
	// The SRT mode. Valid values: LISTENER (default), CALLER.
	Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"`

	// Stream ID, which can contain 0 to 512 letters, digits, and special characters (.#!:&,=_-).
	StreamId *string `json:"StreamId,omitnil,omitempty" name:"StreamId"`

	// Latency in ms. Default value: 0. Value range: [0, 3000].
	Latency *int64 `json:"Latency,omitnil,omitempty" name:"Latency"`

	// Receive latency in ms. Default value: 120. Value range: [0, 3000].
	RecvLatency *int64 `json:"RecvLatency,omitnil,omitempty" name:"RecvLatency"`

	// Peer latency in ms. Default value: 0. Value range: [0, 3000].
	PeerLatency *int64 `json:"PeerLatency,omitnil,omitempty" name:"PeerLatency"`

	// Peer timeout period in ms. Default value: 5000. Value range: [1000, 10000].
	PeerIdleTimeout *int64 `json:"PeerIdleTimeout,omitnil,omitempty" name:"PeerIdleTimeout"`

	// Decryption key, which is empty by default, indicating not to encrypt. Only ASCII codes can be filled. Length: [10, 79].
	Passphrase *string `json:"Passphrase,omitnil,omitempty" name:"Passphrase"`

	// Key length. Default value: 0. Valid values: 0, 16, 24, 32.
	PbKeyLen *int64 `json:"PbKeyLen,omitnil,omitempty" name:"PbKeyLen"`

	// The SRT peer address, which is required if `Mode` is `CALLER`. Only one address is allowed.
	SourceAddresses []*SRTSourceAddressReq `json:"SourceAddresses,omitnil,omitempty" name:"SourceAddresses"`
}

type CreateOutputInfo

type CreateOutputInfo struct {
	// The output name.
	OutputName *string `json:"OutputName,omitnil,omitempty" name:"OutputName"`

	// Description of the output.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// The output protocol. Valid values: SRT, RTP, RTMP, RTMP_PULL.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// The output region.
	OutputRegion *string `json:"OutputRegion,omitnil,omitempty" name:"OutputRegion"`

	// The SRT configuration.
	SRTSettings *CreateOutputSrtSettings `json:"SRTSettings,omitnil,omitempty" name:"SRTSettings"`

	// The RTMP configuration.
	RTMPSettings *CreateOutputRTMPSettings `json:"RTMPSettings,omitnil,omitempty" name:"RTMPSettings"`

	// The RTP configuration.
	RTPSettings *CreateOutputInfoRTPSettings `json:"RTPSettings,omitnil,omitempty" name:"RTPSettings"`

	// IP whitelist, in CIDR format, such as 0.0.0.0/0. This is valid when Protocol is RTMP_PULL, and empty means no restriction on client IP.
	AllowIpList []*string `json:"AllowIpList,omitnil,omitempty" name:"AllowIpList"`

	// The maximum number of concurrent stream pulls is 4, and the default value is 4.
	MaxConcurrent *uint64 `json:"MaxConcurrent,omitnil,omitempty" name:"MaxConcurrent"`

	// The bound security group IDs.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// Availability zone: output supports at most one availability zone as input.
	Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"`
}

type CreateOutputInfoRTPSettings

type CreateOutputInfoRTPSettings struct {
	// The relay destination addresses. One or two addresses are allowed.
	Destinations []*CreateOutputRTPSettingsDestinations `json:"Destinations,omitnil,omitempty" name:"Destinations"`

	// This parameter must be set to `none`.
	FEC *string `json:"FEC,omitnil,omitempty" name:"FEC"`

	// The timeout period (ms).
	IdleTimeout *int64 `json:"IdleTimeout,omitnil,omitempty" name:"IdleTimeout"`
}

type CreateOutputRTMPSettings

type CreateOutputRTMPSettings struct {
	// The relay destination addresses. One or two addresses are allowed.
	Destinations []*CreateOutputRtmpSettingsDestinations `json:"Destinations,omitnil,omitempty" name:"Destinations"`

	// The RTMP chunk size. Value range: [4096, 40960].
	ChunkSize *int64 `json:"ChunkSize,omitnil,omitempty" name:"ChunkSize"`
}

type CreateOutputRTPSettingsDestinations

type CreateOutputRTPSettingsDestinations struct {
	// The relay destination IP.
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// The relay destination port.
	Port *int64 `json:"Port,omitnil,omitempty" name:"Port"`
}

type CreateOutputRtmpSettingsDestinations

type CreateOutputRtmpSettingsDestinations struct {
	// The relay URL. Format: `rtmp://domain/live`.
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`

	// The `StreamKey` for relay. Format: `stream?key=value`.
	StreamKey *string `json:"StreamKey,omitnil,omitempty" name:"StreamKey"`
}

type CreateOutputSrtSettings

type CreateOutputSrtSettings struct {
	// The relay destination address, which is required if `Mode` is `CALLER`. Only one address is allowed.
	Destinations []*CreateOutputSrtSettingsDestinations `json:"Destinations,omitnil,omitempty" name:"Destinations"`

	// The stream ID for relay, which can contain 0 to 512 letters, digits, and special characters (.#!:&,=_-).
	StreamId *string `json:"StreamId,omitnil,omitempty" name:"StreamId"`

	// The total latency (ms) of SRT relay. Value range: [0, 3000]. Default: 0.
	Latency *int64 `json:"Latency,omitnil,omitempty" name:"Latency"`

	// The receive latency (ms) of SRT relay. Value range: [0, 3000]. Default: 120.
	RecvLatency *int64 `json:"RecvLatency,omitnil,omitempty" name:"RecvLatency"`

	// The peer-to-peer latency (ms) of SRT relay. Value range: [0, 3000]. Default: 0.
	PeerLatency *int64 `json:"PeerLatency,omitnil,omitempty" name:"PeerLatency"`

	// The timeout period (ms) for the SRT relay peer. Value range: [1000, 10000]. Default: 5000.
	PeerIdleTimeout *int64 `json:"PeerIdleTimeout,omitnil,omitempty" name:"PeerIdleTimeout"`

	// The encryption key for SRT relay, which is empty by default, indicating not to encrypt. Only ASCII codes are allowed. Length: [10, 79].
	Passphrase *string `json:"Passphrase,omitnil,omitempty" name:"Passphrase"`

	// The key length for SRT relay. Valid values: 0 (default), 16, 24, 32.
	PbKeyLen *int64 `json:"PbKeyLen,omitnil,omitempty" name:"PbKeyLen"`

	// The SRT mode. Valid values: LISTENER, CALLER (default).
	Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"`
}

type CreateOutputSrtSettingsDestinations

type CreateOutputSrtSettingsDestinations struct {
	// The output IP.
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// The output port.
	Port *int64 `json:"Port,omitnil,omitempty" name:"Port"`
}

type CreateStreamLinkFlowRequest

type CreateStreamLinkFlowRequest struct {
	*tchttp.BaseRequest

	// Flow name
	FlowName *string `json:"FlowName,omitnil,omitempty" name:"FlowName"`

	// Maximum bandwidth in bps. Valid values: `10000000`, `20000000`, `50000000`
	MaxBandwidth *int64 `json:"MaxBandwidth,omitnil,omitempty" name:"MaxBandwidth"`

	// Flow input group
	InputGroup []*CreateInput `json:"InputGroup,omitnil,omitempty" name:"InputGroup"`

	// The media transmission event ID associated with the Flow. Each flow can only be associated with one event.
	EventId *string `json:"EventId,omitnil,omitempty" name:"EventId"`
}

func NewCreateStreamLinkFlowRequest

func NewCreateStreamLinkFlowRequest() (request *CreateStreamLinkFlowRequest)

func (*CreateStreamLinkFlowRequest) FromJsonString

func (r *CreateStreamLinkFlowRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStreamLinkFlowRequest) ToJsonString

func (r *CreateStreamLinkFlowRequest) ToJsonString() string

type CreateStreamLinkFlowRequestParams

type CreateStreamLinkFlowRequestParams struct {
	// Flow name
	FlowName *string `json:"FlowName,omitnil,omitempty" name:"FlowName"`

	// Maximum bandwidth in bps. Valid values: `10000000`, `20000000`, `50000000`
	MaxBandwidth *int64 `json:"MaxBandwidth,omitnil,omitempty" name:"MaxBandwidth"`

	// Flow input group
	InputGroup []*CreateInput `json:"InputGroup,omitnil,omitempty" name:"InputGroup"`

	// The media transmission event ID associated with the Flow. Each flow can only be associated with one event.
	EventId *string `json:"EventId,omitnil,omitempty" name:"EventId"`
}

Predefined struct for user

type CreateStreamLinkFlowResponse

type CreateStreamLinkFlowResponse struct {
	*tchttp.BaseResponse
	Response *CreateStreamLinkFlowResponseParams `json:"Response"`
}

func NewCreateStreamLinkFlowResponse

func NewCreateStreamLinkFlowResponse() (response *CreateStreamLinkFlowResponse)

func (*CreateStreamLinkFlowResponse) FromJsonString

func (r *CreateStreamLinkFlowResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStreamLinkFlowResponse) ToJsonString

func (r *CreateStreamLinkFlowResponse) ToJsonString() string

type CreateStreamLinkFlowResponseParams

type CreateStreamLinkFlowResponseParams struct {
	// Information of the created flow
	Info *DescribeFlow `json:"Info,omitnil,omitempty" name:"Info"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateStreamLinkInputRequest

type CreateStreamLinkInputRequest struct {
	*tchttp.BaseRequest

	// StreamLink stream ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The input group of the Flow.
	InputGroup []*CreateInput `json:"InputGroup,omitnil,omitempty" name:"InputGroup"`
}

func NewCreateStreamLinkInputRequest

func NewCreateStreamLinkInputRequest() (request *CreateStreamLinkInputRequest)

func (*CreateStreamLinkInputRequest) FromJsonString

func (r *CreateStreamLinkInputRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStreamLinkInputRequest) ToJsonString

func (r *CreateStreamLinkInputRequest) ToJsonString() string

type CreateStreamLinkInputRequestParams

type CreateStreamLinkInputRequestParams struct {
	// StreamLink stream ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The input group of the Flow.
	InputGroup []*CreateInput `json:"InputGroup,omitnil,omitempty" name:"InputGroup"`
}

Predefined struct for user

type CreateStreamLinkInputResponse

type CreateStreamLinkInputResponse struct {
	*tchttp.BaseResponse
	Response *CreateStreamLinkInputResponseParams `json:"Response"`
}

func NewCreateStreamLinkInputResponse

func NewCreateStreamLinkInputResponse() (response *CreateStreamLinkInputResponse)

func (*CreateStreamLinkInputResponse) FromJsonString

func (r *CreateStreamLinkInputResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStreamLinkInputResponse) ToJsonString

func (r *CreateStreamLinkInputResponse) ToJsonString() string

type CreateStreamLinkInputResponseParams

type CreateStreamLinkInputResponseParams struct {
	// Created Flow information.
	Info *DescribeFlow `json:"Info,omitnil,omitempty" name:"Info"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateStreamLinkOutputInfoRequest

type CreateStreamLinkOutputInfoRequest struct {
	*tchttp.BaseRequest

	// The flow ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The output configuration of the flow.
	Output *CreateOutputInfo `json:"Output,omitnil,omitempty" name:"Output"`
}

func NewCreateStreamLinkOutputInfoRequest

func NewCreateStreamLinkOutputInfoRequest() (request *CreateStreamLinkOutputInfoRequest)

func (*CreateStreamLinkOutputInfoRequest) FromJsonString

func (r *CreateStreamLinkOutputInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStreamLinkOutputInfoRequest) ToJsonString

func (r *CreateStreamLinkOutputInfoRequest) ToJsonString() string

type CreateStreamLinkOutputInfoRequestParams

type CreateStreamLinkOutputInfoRequestParams struct {
	// The flow ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The output configuration of the flow.
	Output *CreateOutputInfo `json:"Output,omitnil,omitempty" name:"Output"`
}

Predefined struct for user

type CreateStreamLinkOutputInfoResponse

type CreateStreamLinkOutputInfoResponse struct {
	*tchttp.BaseResponse
	Response *CreateStreamLinkOutputInfoResponseParams `json:"Response"`
}

func NewCreateStreamLinkOutputInfoResponse

func NewCreateStreamLinkOutputInfoResponse() (response *CreateStreamLinkOutputInfoResponse)

func (*CreateStreamLinkOutputInfoResponse) FromJsonString

func (r *CreateStreamLinkOutputInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStreamLinkOutputInfoResponse) ToJsonString

func (r *CreateStreamLinkOutputInfoResponse) ToJsonString() string

type CreateStreamLinkOutputInfoResponseParams

type CreateStreamLinkOutputInfoResponseParams struct {
	// The information of the created output.
	Info *DescribeOutput `json:"Info,omitnil,omitempty" name:"Info"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteStreamLinkFlowRequest

type DeleteStreamLinkFlowRequest struct {
	*tchttp.BaseRequest

	// Flow ID
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}

func NewDeleteStreamLinkFlowRequest

func NewDeleteStreamLinkFlowRequest() (request *DeleteStreamLinkFlowRequest)

func (*DeleteStreamLinkFlowRequest) FromJsonString

func (r *DeleteStreamLinkFlowRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStreamLinkFlowRequest) ToJsonString

func (r *DeleteStreamLinkFlowRequest) ToJsonString() string

type DeleteStreamLinkFlowRequestParams

type DeleteStreamLinkFlowRequestParams struct {
	// Flow ID
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}

Predefined struct for user

type DeleteStreamLinkFlowResponse

type DeleteStreamLinkFlowResponse struct {
	*tchttp.BaseResponse
	Response *DeleteStreamLinkFlowResponseParams `json:"Response"`
}

func NewDeleteStreamLinkFlowResponse

func NewDeleteStreamLinkFlowResponse() (response *DeleteStreamLinkFlowResponse)

func (*DeleteStreamLinkFlowResponse) FromJsonString

func (r *DeleteStreamLinkFlowResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStreamLinkFlowResponse) ToJsonString

func (r *DeleteStreamLinkFlowResponse) ToJsonString() string

type DeleteStreamLinkFlowResponseParams

type DeleteStreamLinkFlowResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteStreamLinkOutputRequest

type DeleteStreamLinkOutputRequest struct {
	*tchttp.BaseRequest

	// Flow ID
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// Output ID
	OutputId *string `json:"OutputId,omitnil,omitempty" name:"OutputId"`
}

func NewDeleteStreamLinkOutputRequest

func NewDeleteStreamLinkOutputRequest() (request *DeleteStreamLinkOutputRequest)

func (*DeleteStreamLinkOutputRequest) FromJsonString

func (r *DeleteStreamLinkOutputRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStreamLinkOutputRequest) ToJsonString

func (r *DeleteStreamLinkOutputRequest) ToJsonString() string

type DeleteStreamLinkOutputRequestParams

type DeleteStreamLinkOutputRequestParams struct {
	// Flow ID
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// Output ID
	OutputId *string `json:"OutputId,omitnil,omitempty" name:"OutputId"`
}

Predefined struct for user

type DeleteStreamLinkOutputResponse

type DeleteStreamLinkOutputResponse struct {
	*tchttp.BaseResponse
	Response *DeleteStreamLinkOutputResponseParams `json:"Response"`
}

func NewDeleteStreamLinkOutputResponse

func NewDeleteStreamLinkOutputResponse() (response *DeleteStreamLinkOutputResponse)

func (*DeleteStreamLinkOutputResponse) FromJsonString

func (r *DeleteStreamLinkOutputResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStreamLinkOutputResponse) ToJsonString

func (r *DeleteStreamLinkOutputResponse) ToJsonString() string

type DeleteStreamLinkOutputResponseParams

type DeleteStreamLinkOutputResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeFlow

type DescribeFlow struct {
	// Flow ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// Flow name.
	FlowName *string `json:"FlowName,omitnil,omitempty" name:"FlowName"`

	// Flow status. Valid values: `IDLE`, `RUNNING`
	State *string `json:"State,omitnil,omitempty" name:"State"`

	// Maximum bandwidth value.
	MaxBandwidth *int64 `json:"MaxBandwidth,omitnil,omitempty" name:"MaxBandwidth"`

	// Input group.
	InputGroup []*DescribeInput `json:"InputGroup,omitnil,omitempty" name:"InputGroup"`

	// Output group.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OutputGroup []*DescribeOutput `json:"OutputGroup,omitnil,omitempty" name:"OutputGroup"`

	// EventId of the StreamLink event associated with this Flow.
	EventId *string `json:"EventId,omitnil,omitempty" name:"EventId"`
}

type DescribeHLSPullSourceAddress

type DescribeHLSPullSourceAddress struct {
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`
}

type DescribeInput

type DescribeInput struct {
	// Input ID.
	InputId *string `json:"InputId,omitnil,omitempty" name:"InputId"`

	// Input name.
	InputName *string `json:"InputName,omitnil,omitempty" name:"InputName"`

	// Input description.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Input protocol.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Input address list.
	InputAddressList []*InputAddress `json:"InputAddressList,omitnil,omitempty" name:"InputAddressList"`

	// Input IP allowlist.
	AllowIpList []*string `json:"AllowIpList,omitnil,omitempty" name:"AllowIpList"`

	// SRT configuration information of input.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SRTSettings *DescribeInputSRTSettings `json:"SRTSettings,omitnil,omitempty" name:"SRTSettings"`

	// RTP configuration information of input.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RTPSettings *DescribeInputRTPSettings `json:"RTPSettings,omitnil,omitempty" name:"RTPSettings"`

	// Input region.
	InputRegion *string `json:"InputRegion,omitnil,omitempty" name:"InputRegion"`

	// RTMP configuration information of an input
	RTMPSettings *DescribeInputRTMPSettings `json:"RTMPSettings,omitnil,omitempty" name:"RTMPSettings"`

	// Input failover
	// Note: this field may return `null`, indicating that no valid value was found.
	FailOver *string `json:"FailOver,omitnil,omitempty" name:"FailOver"`

	RTMPPullSettings *DescribeInputRTMPPullSettings `json:"RTMPPullSettings,omitnil,omitempty" name:"RTMPPullSettings"`

	RTSPPullSettings *DescribeInputRTSPPullSettings `json:"RTSPPullSettings,omitnil,omitempty" name:"RTSPPullSettings"`

	HLSPullSettings *DescribeInputHLSPullSettings `json:"HLSPullSettings,omitnil,omitempty" name:"HLSPullSettings"`

	ResilientStream *ResilientStreamConf `json:"ResilientStream,omitnil,omitempty" name:"ResilientStream"`

	// The bound security group ID.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`
}

type DescribeInputHLSPullSettings

type DescribeInputHLSPullSettings struct {
	SourceAddresses []*DescribeHLSPullSourceAddress `json:"SourceAddresses,omitnil,omitempty" name:"SourceAddresses"`
}

type DescribeInputRTMPPullSettings

type DescribeInputRTMPPullSettings struct {
	SourceAddresses []*DescribeRTMPPullSourceAddress `json:"SourceAddresses,omitnil,omitempty" name:"SourceAddresses"`
}

type DescribeInputRTMPSettings

type DescribeInputRTMPSettings struct {
	// Path for RTMP stream pushing
	// Note: this field may return `null`, indicating that no valid value was found.
	AppName *string `json:"AppName,omitnil,omitempty" name:"AppName"`

	// StreamKey for RTMP stream pushing
	// Format of an RTMP stream pushing URL: rtmp://IP address:1935/AppName/StreamKey
	StreamKey *string `json:"StreamKey,omitnil,omitempty" name:"StreamKey"`
}

type DescribeInputRTPSettings

type DescribeInputRTPSettings struct {
	// Whether it is FEC.
	FEC *string `json:"FEC,omitnil,omitempty" name:"FEC"`

	// Idle timeout period.
	IdleTimeout *int64 `json:"IdleTimeout,omitnil,omitempty" name:"IdleTimeout"`
}

type DescribeInputRTSPPullSettings

type DescribeInputRTSPPullSettings struct {
	SourceAddresses []*DescribeRTSPPullSourceAddress `json:"SourceAddresses,omitnil,omitempty" name:"SourceAddresses"`
}

type DescribeInputSRTSettings

type DescribeInputSRTSettings struct {
	// The SRT mode.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"`

	// Stream ID.
	StreamId *string `json:"StreamId,omitnil,omitempty" name:"StreamId"`

	// Latency.
	Latency *int64 `json:"Latency,omitnil,omitempty" name:"Latency"`

	// Receive latency.
	RecvLatency *int64 `json:"RecvLatency,omitnil,omitempty" name:"RecvLatency"`

	// Peer latency.
	PeerLatency *int64 `json:"PeerLatency,omitnil,omitempty" name:"PeerLatency"`

	// Peer idle timeout period.
	PeerIdleTimeout *int64 `json:"PeerIdleTimeout,omitnil,omitempty" name:"PeerIdleTimeout"`

	// Decryption key.
	Passphrase *string `json:"Passphrase,omitnil,omitempty" name:"Passphrase"`

	// Key length.
	PbKeyLen *int64 `json:"PbKeyLen,omitnil,omitempty" name:"PbKeyLen"`

	// The SRT peer address.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	SourceAddresses []*SRTSourceAddressResp `json:"SourceAddresses,omitnil,omitempty" name:"SourceAddresses"`
}

type DescribeOutput

type DescribeOutput struct {
	// Output ID.
	OutputId *string `json:"OutputId,omitnil,omitempty" name:"OutputId"`

	// Output name.
	OutputName *string `json:"OutputName,omitnil,omitempty" name:"OutputName"`

	// Output type.
	OutputType *string `json:"OutputType,omitnil,omitempty" name:"OutputType"`

	// Output description.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Output protocol.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Output destination address information list.
	OutputAddressList []*OutputAddress `json:"OutputAddressList,omitnil,omitempty" name:"OutputAddressList"`

	// Output region.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OutputRegion *string `json:"OutputRegion,omitnil,omitempty" name:"OutputRegion"`

	// SRT configuration information of output.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SRTSettings *DescribeOutputSRTSettings `json:"SRTSettings,omitnil,omitempty" name:"SRTSettings"`

	// RTP configuration information of output.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RTPSettings *DescribeOutputRTPSettings `json:"RTPSettings,omitnil,omitempty" name:"RTPSettings"`

	// RTMP configuration information of output.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RTMPSettings *DescribeOutputRTMPSettings `json:"RTMPSettings,omitnil,omitempty" name:"RTMPSettings"`

	// RTMP pull configuration of the output
	// Note: This field may return `null`, indicating that no valid value was found.
	RTMPPullSettings *DescribeOutputRTMPPullSettings `json:"RTMPPullSettings,omitnil,omitempty" name:"RTMPPullSettings"`

	// CIDR allowlist
	// This parameter is valid if `Protocol` is set to `RTMP_PULL`. If this parameter is left empty, there is no restriction on clients’ IP addresses.
	// Note: This field may return `null`, indicating that no valid value was found.
	AllowIpList []*string `json:"AllowIpList,omitnil,omitempty" name:"AllowIpList"`

	RTSPPullSettings *DescribeOutputRTSPPullSettings `json:"RTSPPullSettings,omitnil,omitempty" name:"RTSPPullSettings"`

	HLSPullSettings *DescribeOutputHLSPullSettings `json:"HLSPullSettings,omitnil,omitempty" name:"HLSPullSettings"`

	MaxConcurrent *uint64 `json:"MaxConcurrent,omitnil,omitempty" name:"MaxConcurrent"`

	// The bound security group IDs.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`
}

type DescribeOutputHLSPullServerUrl

type DescribeOutputHLSPullServerUrl struct {
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`
}

type DescribeOutputHLSPullSettings

type DescribeOutputHLSPullSettings struct {
	ServerUrls []*DescribeOutputHLSPullServerUrl `json:"ServerUrls,omitnil,omitempty" name:"ServerUrls"`
}

type DescribeOutputRTMPPullServerUrl

type DescribeOutputRTMPPullServerUrl struct {
	// `tcUrl` of the RTMP pull URL
	TcUrl *string `json:"TcUrl,omitnil,omitempty" name:"TcUrl"`

	// Stream key of the RTMP pull URL
	StreamKey *string `json:"StreamKey,omitnil,omitempty" name:"StreamKey"`
}

type DescribeOutputRTMPPullSettings

type DescribeOutputRTMPPullSettings struct {
	// List of pull URLs
	// Note: This field may return `null`, indicating that no valid value was found.
	ServerUrls []*DescribeOutputRTMPPullServerUrl `json:"ServerUrls,omitnil,omitempty" name:"ServerUrls"`
}

type DescribeOutputRTMPSettings

type DescribeOutputRTMPSettings struct {
	// Idle timeout period.
	// Note: this field may return null, indicating that no valid values can be obtained.
	IdleTimeout *int64 `json:"IdleTimeout,omitnil,omitempty" name:"IdleTimeout"`

	// Chunk size.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ChunkSize *int64 `json:"ChunkSize,omitnil,omitempty" name:"ChunkSize"`

	// Destination address information list of RTMP push.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Destinations []*RTMPAddressDestination `json:"Destinations,omitnil,omitempty" name:"Destinations"`
}

type DescribeOutputRTPSettings

type DescribeOutputRTPSettings struct {
	// Destination address information list of RTP push.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Destinations []*RTPAddressDestination `json:"Destinations,omitnil,omitempty" name:"Destinations"`

	// Whether it is FEC.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FEC *string `json:"FEC,omitnil,omitempty" name:"FEC"`

	// Idle timeout period.
	// Note: this field may return null, indicating that no valid values can be obtained.
	IdleTimeout *int64 `json:"IdleTimeout,omitnil,omitempty" name:"IdleTimeout"`
}

type DescribeOutputRTSPPullServerUrl

type DescribeOutputRTSPPullServerUrl struct {
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`
}

type DescribeOutputRTSPPullSettings

type DescribeOutputRTSPPullSettings struct {
	ServerUrls []*DescribeOutputRTSPPullServerUrl `json:"ServerUrls,omitnil,omitempty" name:"ServerUrls"`
}

type DescribeOutputSRTSettings

type DescribeOutputSRTSettings struct {
	// A list of the destination addresses for relay. This parameter is valid if `Mode` is `CALLER`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Destinations []*SRTAddressDestination `json:"Destinations,omitnil,omitempty" name:"Destinations"`

	// Stream ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	StreamId *string `json:"StreamId,omitnil,omitempty" name:"StreamId"`

	// Latency.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Latency *int64 `json:"Latency,omitnil,omitempty" name:"Latency"`

	// Receive latency.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RecvLatency *int64 `json:"RecvLatency,omitnil,omitempty" name:"RecvLatency"`

	// Peer latency.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PeerLatency *int64 `json:"PeerLatency,omitnil,omitempty" name:"PeerLatency"`

	// Peer idle timeout period.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PeerIdleTimeout *int64 `json:"PeerIdleTimeout,omitnil,omitempty" name:"PeerIdleTimeout"`

	// Encryption key.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Passphrase *string `json:"Passphrase,omitnil,omitempty" name:"Passphrase"`

	// Encryption key length.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PbKeyLen *int64 `json:"PbKeyLen,omitnil,omitempty" name:"PbKeyLen"`

	// The SRT mode.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"`

	// The server’s listen address, which is valid if `Mode` is `LISTENER`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	SourceAddresses []*OutputSRTSourceAddressResp `json:"SourceAddresses,omitnil,omitempty" name:"SourceAddresses"`
}

type DescribeRTMPPullSourceAddress

type DescribeRTMPPullSourceAddress struct {
	TcUrl *string `json:"TcUrl,omitnil,omitempty" name:"TcUrl"`

	StreamKey *string `json:"StreamKey,omitnil,omitempty" name:"StreamKey"`
}

type DescribeRTSPPullSourceAddress

type DescribeRTSPPullSourceAddress struct {
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`
}

type DescribeStreamLinkFlowLogsRequest

type DescribeStreamLinkFlowLogsRequest struct {
	*tchttp.BaseRequest

	// The flow ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The start time for query, which is 1 hour ago by default. You can query statistics in the last 7 days.
	// It must be in UTC format, such as `2020-01-01T12:00:00Z`.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// The end time for query, which is 1 hour after the start time by default. The longest time range allowed for query is 24 hours.
	// It must be in UTC format, such as `2020-01-01T12:00:00Z`.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Whether to query the inputs or outputs. Valid values: input, output.
	Type []*string `json:"Type,omitnil,omitempty" name:"Type"`

	// Whether to query the primary or backup pipeline. Valid values: 0, 1.
	Pipeline []*string `json:"Pipeline,omitnil,omitempty" name:"Pipeline"`

	// The page size. Value range: [1, 1000]. Default: 100.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Whether to sort the records by timestamp in descending or ascending order. Valid values: desc (default), asc.
	SortType *string `json:"SortType,omitnil,omitempty" name:"SortType"`

	// The page number. Value range: [1, 1000]. Default: 1.
	PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"`
}

func NewDescribeStreamLinkFlowLogsRequest

func NewDescribeStreamLinkFlowLogsRequest() (request *DescribeStreamLinkFlowLogsRequest)

func (*DescribeStreamLinkFlowLogsRequest) FromJsonString

func (r *DescribeStreamLinkFlowLogsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkFlowLogsRequest) ToJsonString

func (r *DescribeStreamLinkFlowLogsRequest) ToJsonString() string

type DescribeStreamLinkFlowLogsRequestParams

type DescribeStreamLinkFlowLogsRequestParams struct {
	// The flow ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The start time for query, which is 1 hour ago by default. You can query statistics in the last 7 days.
	// It must be in UTC format, such as `2020-01-01T12:00:00Z`.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// The end time for query, which is 1 hour after the start time by default. The longest time range allowed for query is 24 hours.
	// It must be in UTC format, such as `2020-01-01T12:00:00Z`.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Whether to query the inputs or outputs. Valid values: input, output.
	Type []*string `json:"Type,omitnil,omitempty" name:"Type"`

	// Whether to query the primary or backup pipeline. Valid values: 0, 1.
	Pipeline []*string `json:"Pipeline,omitnil,omitempty" name:"Pipeline"`

	// The page size. Value range: [1, 1000]. Default: 100.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Whether to sort the records by timestamp in descending or ascending order. Valid values: desc (default), asc.
	SortType *string `json:"SortType,omitnil,omitempty" name:"SortType"`

	// The page number. Value range: [1, 1000]. Default: 1.
	PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"`
}

Predefined struct for user

type DescribeStreamLinkFlowLogsResponse

type DescribeStreamLinkFlowLogsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLinkFlowLogsResponseParams `json:"Response"`
}

func NewDescribeStreamLinkFlowLogsResponse

func NewDescribeStreamLinkFlowLogsResponse() (response *DescribeStreamLinkFlowLogsResponse)

func (*DescribeStreamLinkFlowLogsResponse) FromJsonString

func (r *DescribeStreamLinkFlowLogsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkFlowLogsResponse) ToJsonString

func (r *DescribeStreamLinkFlowLogsResponse) ToJsonString() string

type DescribeStreamLinkFlowLogsResponseParams

type DescribeStreamLinkFlowLogsResponseParams struct {
	// A list of the logs.
	Infos []*FlowLogInfo `json:"Infos,omitnil,omitempty" name:"Infos"`

	// The current page number.
	PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"`

	// The number of records per page.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// The total number of records.
	TotalNum *int64 `json:"TotalNum,omitnil,omitempty" name:"TotalNum"`

	// The total number of pages.
	TotalPage *int64 `json:"TotalPage,omitnil,omitempty" name:"TotalPage"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLinkFlowMediaStatisticsRequest

type DescribeStreamLinkFlowMediaStatisticsRequest struct {
	*tchttp.BaseRequest

	// The flow ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// Whether to query the inputs or outputs. Valid values: input, output.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// The input or output ID.
	InputOutputId *string `json:"InputOutputId,omitnil,omitempty" name:"InputOutputId"`

	// Whether to query the primary or backup pipeline. Valid values: 0, 1.
	Pipeline *string `json:"Pipeline,omitnil,omitempty" name:"Pipeline"`

	// The query interval. Valid values: 5s, 1min, 5min, 15min.
	Period *string `json:"Period,omitnil,omitempty" name:"Period"`

	// The start time for query, which is 1 hour ago by default. You can query statistics in the last 7 days.
	// It must be in UTC format, such as `2020-01-01T12:00:00Z`.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// The end time for query, which is 1 hour after the start time by default. The longest time range allowed for query is 24 hours.
	// It must be in UTC format, such as `2020-01-01T12:00:00Z`.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

func NewDescribeStreamLinkFlowMediaStatisticsRequest

func NewDescribeStreamLinkFlowMediaStatisticsRequest() (request *DescribeStreamLinkFlowMediaStatisticsRequest)

func (*DescribeStreamLinkFlowMediaStatisticsRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkFlowMediaStatisticsRequest) ToJsonString

type DescribeStreamLinkFlowMediaStatisticsRequestParams

type DescribeStreamLinkFlowMediaStatisticsRequestParams struct {
	// The flow ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// Whether to query the inputs or outputs. Valid values: input, output.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// The input or output ID.
	InputOutputId *string `json:"InputOutputId,omitnil,omitempty" name:"InputOutputId"`

	// Whether to query the primary or backup pipeline. Valid values: 0, 1.
	Pipeline *string `json:"Pipeline,omitnil,omitempty" name:"Pipeline"`

	// The query interval. Valid values: 5s, 1min, 5min, 15min.
	Period *string `json:"Period,omitnil,omitempty" name:"Period"`

	// The start time for query, which is 1 hour ago by default. You can query statistics in the last 7 days.
	// It must be in UTC format, such as `2020-01-01T12:00:00Z`.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// The end time for query, which is 1 hour after the start time by default. The longest time range allowed for query is 24 hours.
	// It must be in UTC format, such as `2020-01-01T12:00:00Z`.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

Predefined struct for user

type DescribeStreamLinkFlowMediaStatisticsResponse

type DescribeStreamLinkFlowMediaStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLinkFlowMediaStatisticsResponseParams `json:"Response"`
}

func NewDescribeStreamLinkFlowMediaStatisticsResponse

func NewDescribeStreamLinkFlowMediaStatisticsResponse() (response *DescribeStreamLinkFlowMediaStatisticsResponse)

func (*DescribeStreamLinkFlowMediaStatisticsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkFlowMediaStatisticsResponse) ToJsonString

type DescribeStreamLinkFlowMediaStatisticsResponseParams

type DescribeStreamLinkFlowMediaStatisticsResponseParams struct {
	// A list of the media data.
	Infos []*FlowMediaInfo `json:"Infos,omitnil,omitempty" name:"Infos"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLinkFlowRealtimeStatusRequest

type DescribeStreamLinkFlowRealtimeStatusRequest struct {
	*tchttp.BaseRequest

	// The flow ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The IDs of the inputs to query. If this parameter and `OutputIds` are both empty, all inputs and outputs are queried.
	InputIds []*string `json:"InputIds,omitnil,omitempty" name:"InputIds"`

	// The IDs of the outputs to query. If this parameter and `OutputIds` are both empty, all inputs and outputs are queried.
	OutputIds []*string `json:"OutputIds,omitnil,omitempty" name:"OutputIds"`
}

func NewDescribeStreamLinkFlowRealtimeStatusRequest

func NewDescribeStreamLinkFlowRealtimeStatusRequest() (request *DescribeStreamLinkFlowRealtimeStatusRequest)

func (*DescribeStreamLinkFlowRealtimeStatusRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkFlowRealtimeStatusRequest) ToJsonString

type DescribeStreamLinkFlowRealtimeStatusRequestParams

type DescribeStreamLinkFlowRealtimeStatusRequestParams struct {
	// The flow ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The IDs of the inputs to query. If this parameter and `OutputIds` are both empty, all inputs and outputs are queried.
	InputIds []*string `json:"InputIds,omitnil,omitempty" name:"InputIds"`

	// The IDs of the outputs to query. If this parameter and `OutputIds` are both empty, all inputs and outputs are queried.
	OutputIds []*string `json:"OutputIds,omitnil,omitempty" name:"OutputIds"`
}

Predefined struct for user

type DescribeStreamLinkFlowRealtimeStatusResponse

type DescribeStreamLinkFlowRealtimeStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLinkFlowRealtimeStatusResponseParams `json:"Response"`
}

func NewDescribeStreamLinkFlowRealtimeStatusResponse

func NewDescribeStreamLinkFlowRealtimeStatusResponse() (response *DescribeStreamLinkFlowRealtimeStatusResponse)

func (*DescribeStreamLinkFlowRealtimeStatusResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkFlowRealtimeStatusResponse) ToJsonString

type DescribeStreamLinkFlowRealtimeStatusResponseParams

type DescribeStreamLinkFlowRealtimeStatusResponseParams struct {
	// The timestamp (seconds) of the query.
	Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"`

	// A list of the real-time data.
	Datas []*FlowRealtimeStatusItem `json:"Datas,omitnil,omitempty" name:"Datas"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLinkFlowRequest

type DescribeStreamLinkFlowRequest struct {
	*tchttp.BaseRequest

	// Flow ID
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}

func NewDescribeStreamLinkFlowRequest

func NewDescribeStreamLinkFlowRequest() (request *DescribeStreamLinkFlowRequest)

func (*DescribeStreamLinkFlowRequest) FromJsonString

func (r *DescribeStreamLinkFlowRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkFlowRequest) ToJsonString

func (r *DescribeStreamLinkFlowRequest) ToJsonString() string

type DescribeStreamLinkFlowRequestParams

type DescribeStreamLinkFlowRequestParams struct {
	// Flow ID
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}

Predefined struct for user

type DescribeStreamLinkFlowResponse

type DescribeStreamLinkFlowResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLinkFlowResponseParams `json:"Response"`
}

func NewDescribeStreamLinkFlowResponse

func NewDescribeStreamLinkFlowResponse() (response *DescribeStreamLinkFlowResponse)

func (*DescribeStreamLinkFlowResponse) FromJsonString

func (r *DescribeStreamLinkFlowResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkFlowResponse) ToJsonString

func (r *DescribeStreamLinkFlowResponse) ToJsonString() string

type DescribeStreamLinkFlowResponseParams

type DescribeStreamLinkFlowResponseParams struct {
	// Configuration information of a flow
	Info *DescribeFlow `json:"Info,omitnil,omitempty" name:"Info"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLinkFlowSRTStatisticsRequest

type DescribeStreamLinkFlowSRTStatisticsRequest struct {
	*tchttp.BaseRequest

	// The flow ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// Whether to query the inputs or outputs. Valid values: input, output.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// The input or output ID.
	InputOutputId *string `json:"InputOutputId,omitnil,omitempty" name:"InputOutputId"`

	// Whether to query the primary or backup pipeline. Valid values: 0, 1.
	Pipeline *string `json:"Pipeline,omitnil,omitempty" name:"Pipeline"`

	// The start time for query, which is 1 hour ago by default. You can query statistics in the last 7 days.
	// It must be in UTC format, such as `2020-01-01T12:00:00Z`.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// The end time for query, which is 1 hour after the start time by default. The longest time range allowed for query is 24 hours.
	// It must be in UTC format, such as `2020-01-01T12:00:00Z`.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// The query interval. Valid values: 5s, 1min, 5min, 15min.
	Period *string `json:"Period,omitnil,omitempty" name:"Period"`
}

func NewDescribeStreamLinkFlowSRTStatisticsRequest

func NewDescribeStreamLinkFlowSRTStatisticsRequest() (request *DescribeStreamLinkFlowSRTStatisticsRequest)

func (*DescribeStreamLinkFlowSRTStatisticsRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkFlowSRTStatisticsRequest) ToJsonString

type DescribeStreamLinkFlowSRTStatisticsRequestParams

type DescribeStreamLinkFlowSRTStatisticsRequestParams struct {
	// The flow ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// Whether to query the inputs or outputs. Valid values: input, output.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// The input or output ID.
	InputOutputId *string `json:"InputOutputId,omitnil,omitempty" name:"InputOutputId"`

	// Whether to query the primary or backup pipeline. Valid values: 0, 1.
	Pipeline *string `json:"Pipeline,omitnil,omitempty" name:"Pipeline"`

	// The start time for query, which is 1 hour ago by default. You can query statistics in the last 7 days.
	// It must be in UTC format, such as `2020-01-01T12:00:00Z`.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// The end time for query, which is 1 hour after the start time by default. The longest time range allowed for query is 24 hours.
	// It must be in UTC format, such as `2020-01-01T12:00:00Z`.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// The query interval. Valid values: 5s, 1min, 5min, 15min.
	Period *string `json:"Period,omitnil,omitempty" name:"Period"`
}

Predefined struct for user

type DescribeStreamLinkFlowSRTStatisticsResponse

type DescribeStreamLinkFlowSRTStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLinkFlowSRTStatisticsResponseParams `json:"Response"`
}

func NewDescribeStreamLinkFlowSRTStatisticsResponse

func NewDescribeStreamLinkFlowSRTStatisticsResponse() (response *DescribeStreamLinkFlowSRTStatisticsResponse)

func (*DescribeStreamLinkFlowSRTStatisticsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkFlowSRTStatisticsResponse) ToJsonString

type DescribeStreamLinkFlowSRTStatisticsResponseParams

type DescribeStreamLinkFlowSRTStatisticsResponseParams struct {
	// A list of the SRT streaming performance data.
	Infos []*FlowSRTInfo `json:"Infos,omitnil,omitempty" name:"Infos"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLinkFlowStatisticsRequest

type DescribeStreamLinkFlowStatisticsRequest struct {
	*tchttp.BaseRequest

	// The flow ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// Whether to query the inputs or outputs. Valid values: input, output.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// The input or output ID.
	InputOutputId *string `json:"InputOutputId,omitnil,omitempty" name:"InputOutputId"`

	// Whether to query the primary or backup pipeline. Valid values: 0, 1.
	Pipeline *string `json:"Pipeline,omitnil,omitempty" name:"Pipeline"`

	// The query interval. Valid values: 5s, 1min, 5min, 15min.
	Period *string `json:"Period,omitnil,omitempty" name:"Period"`

	// The start time for query, which is 1 hour ago by default. You can query statistics in the last 7 days.
	// It must be in UTC format, such as `2020-01-01T12:00:00Z`.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// The end time for query, which is 1 hour after the start time by default. The longest time range allowed for query is 24 hours.
	// It must be in UTC format, such as `2020-01-01T12:00:00Z`.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

func NewDescribeStreamLinkFlowStatisticsRequest

func NewDescribeStreamLinkFlowStatisticsRequest() (request *DescribeStreamLinkFlowStatisticsRequest)

func (*DescribeStreamLinkFlowStatisticsRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkFlowStatisticsRequest) ToJsonString

type DescribeStreamLinkFlowStatisticsRequestParams

type DescribeStreamLinkFlowStatisticsRequestParams struct {
	// The flow ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// Whether to query the inputs or outputs. Valid values: input, output.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// The input or output ID.
	InputOutputId *string `json:"InputOutputId,omitnil,omitempty" name:"InputOutputId"`

	// Whether to query the primary or backup pipeline. Valid values: 0, 1.
	Pipeline *string `json:"Pipeline,omitnil,omitempty" name:"Pipeline"`

	// The query interval. Valid values: 5s, 1min, 5min, 15min.
	Period *string `json:"Period,omitnil,omitempty" name:"Period"`

	// The start time for query, which is 1 hour ago by default. You can query statistics in the last 7 days.
	// It must be in UTC format, such as `2020-01-01T12:00:00Z`.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// The end time for query, which is 1 hour after the start time by default. The longest time range allowed for query is 24 hours.
	// It must be in UTC format, such as `2020-01-01T12:00:00Z`.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

Predefined struct for user

type DescribeStreamLinkFlowStatisticsResponse

type DescribeStreamLinkFlowStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLinkFlowStatisticsResponseParams `json:"Response"`
}

func NewDescribeStreamLinkFlowStatisticsResponse

func NewDescribeStreamLinkFlowStatisticsResponse() (response *DescribeStreamLinkFlowStatisticsResponse)

func (*DescribeStreamLinkFlowStatisticsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkFlowStatisticsResponse) ToJsonString

type DescribeStreamLinkFlowStatisticsResponseParams

type DescribeStreamLinkFlowStatisticsResponseParams struct {
	// A list of the media data.
	Infos []*FlowStatisticsArray `json:"Infos,omitnil,omitempty" name:"Infos"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLinkFlowsRequest

type DescribeStreamLinkFlowsRequest struct {
	*tchttp.BaseRequest

	// Number of the current page. Default value: `1`
	PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"`

	// Number of entries per page. Default value: `10`
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func NewDescribeStreamLinkFlowsRequest

func NewDescribeStreamLinkFlowsRequest() (request *DescribeStreamLinkFlowsRequest)

func (*DescribeStreamLinkFlowsRequest) FromJsonString

func (r *DescribeStreamLinkFlowsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkFlowsRequest) ToJsonString

func (r *DescribeStreamLinkFlowsRequest) ToJsonString() string

type DescribeStreamLinkFlowsRequestParams

type DescribeStreamLinkFlowsRequestParams struct {
	// Number of the current page. Default value: `1`
	PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"`

	// Number of entries per page. Default value: `10`
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

Predefined struct for user

type DescribeStreamLinkFlowsResponse

type DescribeStreamLinkFlowsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLinkFlowsResponseParams `json:"Response"`
}

func NewDescribeStreamLinkFlowsResponse

func NewDescribeStreamLinkFlowsResponse() (response *DescribeStreamLinkFlowsResponse)

func (*DescribeStreamLinkFlowsResponse) FromJsonString

func (r *DescribeStreamLinkFlowsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkFlowsResponse) ToJsonString

func (r *DescribeStreamLinkFlowsResponse) ToJsonString() string

type DescribeStreamLinkFlowsResponseParams

type DescribeStreamLinkFlowsResponseParams struct {
	// List of the configuration information of the flows
	Infos []*DescribeFlow `json:"Infos,omitnil,omitempty" name:"Infos"`

	// Number of the current page
	PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"`

	// Number of entries per page
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Total number of entries
	TotalNum *int64 `json:"TotalNum,omitnil,omitempty" name:"TotalNum"`

	// Total number of pages
	TotalPage *int64 `json:"TotalPage,omitnil,omitempty" name:"TotalPage"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStreamLinkRegionsRequest

type DescribeStreamLinkRegionsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeStreamLinkRegionsRequest

func NewDescribeStreamLinkRegionsRequest() (request *DescribeStreamLinkRegionsRequest)

func (*DescribeStreamLinkRegionsRequest) FromJsonString

func (r *DescribeStreamLinkRegionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkRegionsRequest) ToJsonString

func (r *DescribeStreamLinkRegionsRequest) ToJsonString() string

type DescribeStreamLinkRegionsRequestParams

type DescribeStreamLinkRegionsRequestParams struct {
}

Predefined struct for user

type DescribeStreamLinkRegionsResponse

type DescribeStreamLinkRegionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStreamLinkRegionsResponseParams `json:"Response"`
}

func NewDescribeStreamLinkRegionsResponse

func NewDescribeStreamLinkRegionsResponse() (response *DescribeStreamLinkRegionsResponse)

func (*DescribeStreamLinkRegionsResponse) FromJsonString

func (r *DescribeStreamLinkRegionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkRegionsResponse) ToJsonString

func (r *DescribeStreamLinkRegionsResponse) ToJsonString() string

type DescribeStreamLinkRegionsResponseParams

type DescribeStreamLinkRegionsResponseParams struct {
	// StreamLink region information
	Info *StreamLinkRegionInfo `json:"Info,omitnil,omitempty" name:"Info"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type FlowAudio

type FlowAudio struct {
	// The frame rate.
	Fps *int64 `json:"Fps,omitnil,omitempty" name:"Fps"`

	// The bitrate (bps).
	Rate *int64 `json:"Rate,omitnil,omitempty" name:"Rate"`

	// The audio PID.
	Pid *int64 `json:"Pid,omitnil,omitempty" name:"Pid"`
}

type FlowLogInfo

type FlowLogInfo struct {
	// The timestamp (seconds).
	Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"`

	// Whether it is an input or output.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// The input or output ID.
	InputOutputId *string `json:"InputOutputId,omitnil,omitempty" name:"InputOutputId"`

	// The protocol.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// The event code.
	EventCode *string `json:"EventCode,omitnil,omitempty" name:"EventCode"`

	// The event information.
	EventMessage *string `json:"EventMessage,omitnil,omitempty" name:"EventMessage"`

	// The peer IP.
	RemoteIp *string `json:"RemoteIp,omitnil,omitempty" name:"RemoteIp"`

	// The peer port.
	RemotePort *string `json:"RemotePort,omitnil,omitempty" name:"RemotePort"`

	// Whether it is a primary or backup pipeline. Valid values: 0 (primary), 1 (backup).
	Pipeline *string `json:"Pipeline,omitnil,omitempty" name:"Pipeline"`

	// The input or output name.
	InputOutputName *string `json:"InputOutputName,omitnil,omitempty" name:"InputOutputName"`
}

type FlowMediaAudio

type FlowMediaAudio struct {
	// The frame rate.
	Fps *int64 `json:"Fps,omitnil,omitempty" name:"Fps"`

	// The bitrate (bps).
	Rate *int64 `json:"Rate,omitnil,omitempty" name:"Rate"`

	// The audio PID.
	Pid *int64 `json:"Pid,omitnil,omitempty" name:"Pid"`

	// The ID of a push session.
	SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`
}

type FlowMediaInfo

type FlowMediaInfo struct {
	// The timestamp (seconds).
	Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"`

	// The total bandwidth.
	Network *int64 `json:"Network,omitnil,omitempty" name:"Network"`

	// The video data of the flow.
	Video []*FlowMediaVideo `json:"Video,omitnil,omitempty" name:"Video"`

	// The audio data of the flow.
	Audio []*FlowMediaAudio `json:"Audio,omitnil,omitempty" name:"Audio"`

	// The ID of a push session.
	SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`

	// The client IP.
	ClientIp *string `json:"ClientIp,omitnil,omitempty" name:"ClientIp"`
}

type FlowMediaVideo

type FlowMediaVideo struct {
	// The frame rate.
	Fps *int64 `json:"Fps,omitnil,omitempty" name:"Fps"`

	// The bitrate (bps).
	Rate *int64 `json:"Rate,omitnil,omitempty" name:"Rate"`

	// The video PID.
	Pid *int64 `json:"Pid,omitnil,omitempty" name:"Pid"`

	// The ID of a push session.
	SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`
}

type FlowRealtimeStatusCommon

type FlowRealtimeStatusCommon struct {
	// The connection status. Valid values: Connected, Waiting, Idle.
	State *string `json:"State,omitnil,omitempty" name:"State"`

	// The connection mode. Valid values: Listener, Caller.
	Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"`

	// The connected time.
	ConnectedTime *int64 `json:"ConnectedTime,omitnil,omitempty" name:"ConnectedTime"`

	// The real-time bitrate (bps).
	Bitrate *int64 `json:"Bitrate,omitnil,omitempty" name:"Bitrate"`

	// The number of retries.
	Reconnections *int64 `json:"Reconnections,omitnil,omitempty" name:"Reconnections"`
}

type FlowRealtimeStatusItem

type FlowRealtimeStatusItem struct {
	// Whether it is an input or output. Valid values: Input, Output.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// The input ID, which is not empty if `Type` is `Input`.
	InputId *string `json:"InputId,omitnil,omitempty" name:"InputId"`

	// The output ID, which is not empty if `Type` is `Output`.
	OutputId *string `json:"OutputId,omitnil,omitempty" name:"OutputId"`

	// The flow ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The protocol used. Valid values: SRT, RTP, RTMP.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// The common status information.
	CommonStatus *FlowRealtimeStatusCommon `json:"CommonStatus,omitnil,omitempty" name:"CommonStatus"`

	// This parameter is returned if `Protocol` is `SRT`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	SRTStatus *FlowRealtimeStatusSRT `json:"SRTStatus,omitnil,omitempty" name:"SRTStatus"`

	// This parameter is returned if `Protocol` is `RTMP`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RTMPStatus *FlowRealtimeStatusRTMP `json:"RTMPStatus,omitnil,omitempty" name:"RTMPStatus"`

	// The server IP.
	ConnectServerIP *string `json:"ConnectServerIP,omitnil,omitempty" name:"ConnectServerIP"`

	// This parameter is returned if the RTP protocol is used.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RTPStatus *FlowRealtimeStatusRTP `json:"RTPStatus,omitnil,omitempty" name:"RTPStatus"`
}

type FlowRealtimeStatusRTMP

type FlowRealtimeStatusRTMP struct {
	// The video frame rate.
	VideoFPS *int64 `json:"VideoFPS,omitnil,omitempty" name:"VideoFPS"`

	// The audio frame rate.
	AudioFPS *int64 `json:"AudioFPS,omitnil,omitempty" name:"AudioFPS"`
}

type FlowRealtimeStatusRTP

type FlowRealtimeStatusRTP struct {
	// The number of packets transmitted.
	Packets *int64 `json:"Packets,omitnil,omitempty" name:"Packets"`
}

type FlowRealtimeStatusSRT

type FlowRealtimeStatusSRT struct {
	// The latency (ms).
	Latency *int64 `json:"Latency,omitnil,omitempty" name:"Latency"`

	// RTT (ms).
	RTT *int64 `json:"RTT,omitnil,omitempty" name:"RTT"`

	// The number of packets sent or received.
	Packets *int64 `json:"Packets,omitnil,omitempty" name:"Packets"`

	// The packet loss rate.
	PacketLossRate *float64 `json:"PacketLossRate,omitnil,omitempty" name:"PacketLossRate"`

	// The retransmission rate.
	RetransmitRate *float64 `json:"RetransmitRate,omitnil,omitempty" name:"RetransmitRate"`

	// The number of packets dropped.
	DroppedPackets *int64 `json:"DroppedPackets,omitnil,omitempty" name:"DroppedPackets"`

	// Whether to encrypt the stream. Valid values: On, Off.
	Encryption *string `json:"Encryption,omitnil,omitempty" name:"Encryption"`
}

type FlowSRTInfo

type FlowSRTInfo struct {
	// The timestamp (seconds).
	Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"`

	// The packet loss rate for sending.
	SendPacketLossRate *int64 `json:"SendPacketLossRate,omitnil,omitempty" name:"SendPacketLossRate"`

	// The retry rate for sending.
	SendRetransmissionRate *int64 `json:"SendRetransmissionRate,omitnil,omitempty" name:"SendRetransmissionRate"`

	// The packet loss rate for receiving.
	RecvPacketLossRate *int64 `json:"RecvPacketLossRate,omitnil,omitempty" name:"RecvPacketLossRate"`

	// The retry rate for receiving.
	RecvRetransmissionRate *int64 `json:"RecvRetransmissionRate,omitnil,omitempty" name:"RecvRetransmissionRate"`

	// The peer RTT.
	RTT *int64 `json:"RTT,omitnil,omitempty" name:"RTT"`

	// The ID of a push session.
	SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`

	// The number of dropped packets for sending.
	SendPacketDropNumber *int64 `json:"SendPacketDropNumber,omitnil,omitempty" name:"SendPacketDropNumber"`

	// The number of dropped packets for receiving.
	RecvPacketDropNumber *int64 `json:"RecvPacketDropNumber,omitnil,omitempty" name:"RecvPacketDropNumber"`
}

type FlowStatistics

type FlowStatistics struct {
	// The session ID.
	SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`

	// The peer IP.
	ClientIp *string `json:"ClientIp,omitnil,omitempty" name:"ClientIp"`

	// The total bandwidth.
	Network *int64 `json:"Network,omitnil,omitempty" name:"Network"`

	// The video data.
	Video []*FlowVideo `json:"Video,omitnil,omitempty" name:"Video"`

	// The audio data.
	Audio []*FlowAudio `json:"Audio,omitnil,omitempty" name:"Audio"`
}

type FlowStatisticsArray

type FlowStatisticsArray struct {
	// The timestamp.
	Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"`

	// The statistics of all the sessions.
	FlowStatistics []*FlowStatistics `json:"FlowStatistics,omitnil,omitempty" name:"FlowStatistics"`
}

type FlowVideo

type FlowVideo struct {
	// The frame rate.
	Fps *int64 `json:"Fps,omitnil,omitempty" name:"Fps"`

	// The bitrate (bps).
	Rate *int64 `json:"Rate,omitnil,omitempty" name:"Rate"`

	// The audio PID.
	Pid *int64 `json:"Pid,omitnil,omitempty" name:"Pid"`
}

type HLSPullSourceAddress

type HLSPullSourceAddress struct {
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`
}

type InputAddress

type InputAddress struct {
	// Input address IP.
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// Input address port.
	Port *int64 `json:"Port,omitnil,omitempty" name:"Port"`
}

type ModifyInput

type ModifyInput struct {
	// The input ID.
	InputId *string `json:"InputId,omitnil,omitempty" name:"InputId"`

	// The input name.
	InputName *string `json:"InputName,omitnil,omitempty" name:"InputName"`

	// The description of the input.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// The IP addresses (CIDR) allowed to push streams.
	AllowIpList []*string `json:"AllowIpList,omitnil,omitempty" name:"AllowIpList"`

	// The SRT configuration information.
	SRTSettings *CreateInputSRTSettings `json:"SRTSettings,omitnil,omitempty" name:"SRTSettings"`

	// The RTP configuration information.
	RTPSettings *CreateInputRTPSettings `json:"RTPSettings,omitnil,omitempty" name:"RTPSettings"`

	// The input protocol. Valid values: SRT, RTP, RTMP.
	// If there is an RTP input, the output must be RTP.
	// If there is an RTMP input, the output must be SRT or RTMP.
	// If there is an SRT input, the output must be SRT.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Whether to enable input failover. Valid values: OPEN, CLOSE.
	FailOver *string `json:"FailOver,omitnil,omitempty" name:"FailOver"`

	// Configuration information for RTMP_PULL.
	RTMPPullSettings *CreateInputRTMPPullSettings `json:"RTMPPullSettings,omitnil,omitempty" name:"RTMPPullSettings"`

	// Configuration information of RTSP_PULL.
	RTSPPullSettings *CreateInputRTSPPullSettings `json:"RTSPPullSettings,omitnil,omitempty" name:"RTSPPullSettings"`

	// HLS_PULL configuration information.
	HLSPullSettings *CreateInputHLSPullSettings `json:"HLSPullSettings,omitnil,omitempty" name:"HLSPullSettings"`

	// Delayed broadcast smooth streaming configuration information.
	ResilientStream *ResilientStreamConf `json:"ResilientStream,omitnil,omitempty" name:"ResilientStream"`

	// The ID of the input security group to bind. Only one security group can be associated.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

	// Availability zone, optional, supports up to two availability zones. For interfaces that need to be changed, the second availability zone will participate in resource allocation. This is effective if disaster recovery is enabled for input or RTSP_PULL protocol switching is involved (addresses will be reallocated).
	Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"`
}

type ModifyOutputInfo

type ModifyOutputInfo struct {
	// The ID of the output to modify.
	OutputId *string `json:"OutputId,omitnil,omitempty" name:"OutputId"`

	// The output name.
	OutputName *string `json:"OutputName,omitnil,omitempty" name:"OutputName"`

	// The description of the output.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// The output protocol. Valid values: SRT, RTP, RTMP.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// The SRT relay configuration.
	SRTSettings *CreateOutputSrtSettings `json:"SRTSettings,omitnil,omitempty" name:"SRTSettings"`

	// The RTP relay configuration.
	RTPSettings *CreateOutputInfoRTPSettings `json:"RTPSettings,omitnil,omitempty" name:"RTPSettings"`

	// The RTMP relay configuration.
	RTMPSettings *CreateOutputRTMPSettings `json:"RTMPSettings,omitnil,omitempty" name:"RTMPSettings"`

	// IP whitelist, in CIDR format, such as 0.0.0.0/0. This is valid when Protocol is RTMP_PULL, and empty means no restriction on client IP.
	AllowIpList []*string `json:"AllowIpList,omitnil,omitempty" name:"AllowIpList"`

	// The maximum number of concurrent stream pulls is 4, and the default value is 4.
	MaxConcurrent *uint64 `json:"MaxConcurrent,omitnil,omitempty" name:"MaxConcurrent"`

	// The bound security group IDs.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`
}

type ModifyStreamLinkFlowRequest

type ModifyStreamLinkFlowRequest struct {
	*tchttp.BaseRequest

	// Flow ID
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// Name of the flow to modify
	FlowName *string `json:"FlowName,omitnil,omitempty" name:"FlowName"`
}

func NewModifyStreamLinkFlowRequest

func NewModifyStreamLinkFlowRequest() (request *ModifyStreamLinkFlowRequest)

func (*ModifyStreamLinkFlowRequest) FromJsonString

func (r *ModifyStreamLinkFlowRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStreamLinkFlowRequest) ToJsonString

func (r *ModifyStreamLinkFlowRequest) ToJsonString() string

type ModifyStreamLinkFlowRequestParams

type ModifyStreamLinkFlowRequestParams struct {
	// Flow ID
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// Name of the flow to modify
	FlowName *string `json:"FlowName,omitnil,omitempty" name:"FlowName"`
}

Predefined struct for user

type ModifyStreamLinkFlowResponse

type ModifyStreamLinkFlowResponse struct {
	*tchttp.BaseResponse
	Response *ModifyStreamLinkFlowResponseParams `json:"Response"`
}

func NewModifyStreamLinkFlowResponse

func NewModifyStreamLinkFlowResponse() (response *ModifyStreamLinkFlowResponse)

func (*ModifyStreamLinkFlowResponse) FromJsonString

func (r *ModifyStreamLinkFlowResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStreamLinkFlowResponse) ToJsonString

func (r *ModifyStreamLinkFlowResponse) ToJsonString() string

type ModifyStreamLinkFlowResponseParams

type ModifyStreamLinkFlowResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyStreamLinkInputRequest

type ModifyStreamLinkInputRequest struct {
	*tchttp.BaseRequest

	// The flow ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The input information to modify.
	Input *ModifyInput `json:"Input,omitnil,omitempty" name:"Input"`
}

func NewModifyStreamLinkInputRequest

func NewModifyStreamLinkInputRequest() (request *ModifyStreamLinkInputRequest)

func (*ModifyStreamLinkInputRequest) FromJsonString

func (r *ModifyStreamLinkInputRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStreamLinkInputRequest) ToJsonString

func (r *ModifyStreamLinkInputRequest) ToJsonString() string

type ModifyStreamLinkInputRequestParams

type ModifyStreamLinkInputRequestParams struct {
	// The flow ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The input information to modify.
	Input *ModifyInput `json:"Input,omitnil,omitempty" name:"Input"`
}

Predefined struct for user

type ModifyStreamLinkInputResponse

type ModifyStreamLinkInputResponse struct {
	*tchttp.BaseResponse
	Response *ModifyStreamLinkInputResponseParams `json:"Response"`
}

func NewModifyStreamLinkInputResponse

func NewModifyStreamLinkInputResponse() (response *ModifyStreamLinkInputResponse)

func (*ModifyStreamLinkInputResponse) FromJsonString

func (r *ModifyStreamLinkInputResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStreamLinkInputResponse) ToJsonString

func (r *ModifyStreamLinkInputResponse) ToJsonString() string

type ModifyStreamLinkInputResponseParams

type ModifyStreamLinkInputResponseParams struct {
	// The input information after modification.
	Info *DescribeInput `json:"Info,omitnil,omitempty" name:"Info"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyStreamLinkOutputInfoRequest

type ModifyStreamLinkOutputInfoRequest struct {
	*tchttp.BaseRequest

	// The flow ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The output configuration to modify.
	Output *ModifyOutputInfo `json:"Output,omitnil,omitempty" name:"Output"`
}

func NewModifyStreamLinkOutputInfoRequest

func NewModifyStreamLinkOutputInfoRequest() (request *ModifyStreamLinkOutputInfoRequest)

func (*ModifyStreamLinkOutputInfoRequest) FromJsonString

func (r *ModifyStreamLinkOutputInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStreamLinkOutputInfoRequest) ToJsonString

func (r *ModifyStreamLinkOutputInfoRequest) ToJsonString() string

type ModifyStreamLinkOutputInfoRequestParams

type ModifyStreamLinkOutputInfoRequestParams struct {
	// The flow ID.
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`

	// The output configuration to modify.
	Output *ModifyOutputInfo `json:"Output,omitnil,omitempty" name:"Output"`
}

Predefined struct for user

type ModifyStreamLinkOutputInfoResponse

type ModifyStreamLinkOutputInfoResponse struct {
	*tchttp.BaseResponse
	Response *ModifyStreamLinkOutputInfoResponseParams `json:"Response"`
}

func NewModifyStreamLinkOutputInfoResponse

func NewModifyStreamLinkOutputInfoResponse() (response *ModifyStreamLinkOutputInfoResponse)

func (*ModifyStreamLinkOutputInfoResponse) FromJsonString

func (r *ModifyStreamLinkOutputInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStreamLinkOutputInfoResponse) ToJsonString

func (r *ModifyStreamLinkOutputInfoResponse) ToJsonString() string

type ModifyStreamLinkOutputInfoResponseParams

type ModifyStreamLinkOutputInfoResponseParams struct {
	// The output configuration after modification.
	Info *DescribeOutput `json:"Info,omitnil,omitempty" name:"Info"`

	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type OutputAddress

type OutputAddress struct {
	// Output destination IP.
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`
}

type OutputSRTSourceAddressResp

type OutputSRTSourceAddressResp struct {
	// The listen IP.
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// The listen port.
	Port *int64 `json:"Port,omitnil,omitempty" name:"Port"`
}

type RTMPAddressDestination

type RTMPAddressDestination struct {
	// Destination URL of RTMP push in the format of 'rtmp://domain/live'.
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`

	// Destination `StreamKey` of RTMP push in the format of 'streamid?key=value'.
	StreamKey *string `json:"StreamKey,omitnil,omitempty" name:"StreamKey"`
}

type RTMPPullSourceAddress

type RTMPPullSourceAddress struct {
	TcUrl *string `json:"TcUrl,omitnil,omitempty" name:"TcUrl"`

	StreamKey *string `json:"StreamKey,omitnil,omitempty" name:"StreamKey"`
}

type RTPAddressDestination

type RTPAddressDestination struct {
	// Push destination address IP.
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// Push destination address port.
	Port *int64 `json:"Port,omitnil,omitempty" name:"Port"`
}

type RTSPPullSourceAddress

type RTSPPullSourceAddress struct {
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`
}

type RegionInfo

type RegionInfo struct {
	// Region name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}

type ResilientStreamConf

type ResilientStreamConf struct {
	Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"`

	BufferTime *uint64 `json:"BufferTime,omitnil,omitempty" name:"BufferTime"`
}

type SRTAddressDestination

type SRTAddressDestination struct {
	// Destination address IP.
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// Destination address port.
	Port *int64 `json:"Port,omitnil,omitempty" name:"Port"`
}

type SRTSourceAddressReq

type SRTSourceAddressReq struct {
	// The peer IP.
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// The peer port.
	Port *int64 `json:"Port,omitnil,omitempty" name:"Port"`
}

type SRTSourceAddressResp

type SRTSourceAddressResp struct {
	// The peer IP.
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// The peer port.
	Port *int64 `json:"Port,omitnil,omitempty" name:"Port"`
}

type StartStreamLinkFlowRequest

type StartStreamLinkFlowRequest struct {
	*tchttp.BaseRequest

	// Flow ID
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}

func NewStartStreamLinkFlowRequest

func NewStartStreamLinkFlowRequest() (request *StartStreamLinkFlowRequest)

func (*StartStreamLinkFlowRequest) FromJsonString

func (r *StartStreamLinkFlowRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartStreamLinkFlowRequest) ToJsonString

func (r *StartStreamLinkFlowRequest) ToJsonString() string

type StartStreamLinkFlowRequestParams

type StartStreamLinkFlowRequestParams struct {
	// Flow ID
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}

Predefined struct for user

type StartStreamLinkFlowResponse

type StartStreamLinkFlowResponse struct {
	*tchttp.BaseResponse
	Response *StartStreamLinkFlowResponseParams `json:"Response"`
}

func NewStartStreamLinkFlowResponse

func NewStartStreamLinkFlowResponse() (response *StartStreamLinkFlowResponse)

func (*StartStreamLinkFlowResponse) FromJsonString

func (r *StartStreamLinkFlowResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartStreamLinkFlowResponse) ToJsonString

func (r *StartStreamLinkFlowResponse) ToJsonString() string

type StartStreamLinkFlowResponseParams

type StartStreamLinkFlowResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type StopStreamLinkFlowRequest

type StopStreamLinkFlowRequest struct {
	*tchttp.BaseRequest

	// Flow ID
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}

func NewStopStreamLinkFlowRequest

func NewStopStreamLinkFlowRequest() (request *StopStreamLinkFlowRequest)

func (*StopStreamLinkFlowRequest) FromJsonString

func (r *StopStreamLinkFlowRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StopStreamLinkFlowRequest) ToJsonString

func (r *StopStreamLinkFlowRequest) ToJsonString() string

type StopStreamLinkFlowRequestParams

type StopStreamLinkFlowRequestParams struct {
	// Flow ID
	FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}

Predefined struct for user

type StopStreamLinkFlowResponse

type StopStreamLinkFlowResponse struct {
	*tchttp.BaseResponse
	Response *StopStreamLinkFlowResponseParams `json:"Response"`
}

func NewStopStreamLinkFlowResponse

func NewStopStreamLinkFlowResponse() (response *StopStreamLinkFlowResponse)

func (*StopStreamLinkFlowResponse) FromJsonString

func (r *StopStreamLinkFlowResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StopStreamLinkFlowResponse) ToJsonString

func (r *StopStreamLinkFlowResponse) ToJsonString() string

type StopStreamLinkFlowResponseParams

type StopStreamLinkFlowResponseParams struct {
	// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type StreamLinkRegionInfo

type StreamLinkRegionInfo struct {
	// List of StreamLink regions
	Regions []*RegionInfo `json:"Regions,omitnil,omitempty" name:"Regions"`
}

Jump to

Keyboard shortcuts

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