v20200527

package
v3.0.324+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (

	// Internal error.
	INTERNALERROR = "InternalError"

	// Invalid `ActionType`.
	INVALIDPARAMETER_ACTIONTYPE = "InvalidParameter.ActionType"

	// Incorrect authentication configuration.
	INVALIDPARAMETER_AUTHINFO = "InvalidParameter.AuthInfo"

	// Invalid `CacheInfo` value
	INVALIDPARAMETER_CACHEINFO = "InvalidParameter.CacheInfo"

	// Invalid CDN playback domain name.
	INVALIDPARAMETER_CDNDOMAIN = "InvalidParameter.CdnDomain"

	// Invalid `ChannelId`.
	INVALIDPARAMETER_CHANNELID = "InvalidParameter.ChannelId"

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

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

	// Invalid `LvbDomain`.
	INVALIDPARAMETER_LVBDOMAIN = "InvalidParameter.LvbDomain"

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

	// Failed to find the channel/input/output.
	INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

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

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

	// Invalid `Points` value
	INVALIDPARAMETER_POINTS = "InvalidParameter.Points"

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

	// Invalid `Url`.
	INVALIDPARAMETER_URL = "InvalidParameter.Url"
)
View Source
const APIVersion = "2020-05-27"

Variables

This section is empty.

Functions

This section is empty.

Types

type BindNewLVBDomainWithChannelRequest

type BindNewLVBDomainWithChannelRequest struct {
	*tchttp.BaseRequest

	// Channel ID
	ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"`

	// The LVB domain name to bind
	LVBDomain *string `json:"LVBDomain,omitempty" name:"LVBDomain"`
}

func NewBindNewLVBDomainWithChannelRequest

func NewBindNewLVBDomainWithChannelRequest() (request *BindNewLVBDomainWithChannelRequest)

func (*BindNewLVBDomainWithChannelRequest) FromJsonString

func (r *BindNewLVBDomainWithChannelRequest) 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 (*BindNewLVBDomainWithChannelRequest) ToJsonString

func (r *BindNewLVBDomainWithChannelRequest) ToJsonString() string

type BindNewLVBDomainWithChannelResponse

type BindNewLVBDomainWithChannelResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The LVB domain name bound successfully
		LVBDomain *string `json:"LVBDomain,omitempty" name:"LVBDomain"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewBindNewLVBDomainWithChannelResponse

func NewBindNewLVBDomainWithChannelResponse() (response *BindNewLVBDomainWithChannelResponse)

func (*BindNewLVBDomainWithChannelResponse) FromJsonString

func (r *BindNewLVBDomainWithChannelResponse) 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 (*BindNewLVBDomainWithChannelResponse) ToJsonString

func (r *BindNewLVBDomainWithChannelResponse) ToJsonString() string

type CacheInfo

type CacheInfo struct {

	// List of timeout parameter configuration
	// Note: this field may return `null`, indicating that no valid value was found.
	Info []*CacheInfoInfo `json:"Info,omitempty" name:"Info"`
}

type CacheInfoInfo

type CacheInfoInfo struct {

	// Timeout period (ms), which must be an integer multiple of 1000
	// .m3u8/.mpd: [1000, 60000]
	// .ts/.m4s/.mp4: [10000, 1800000]
	Timeout *int64 `json:"Timeout,omitempty" name:"Timeout"`

	// File extension. Valid values: .m3u8, .ts, .mpd, .m4s, .mp4
	// Note: this field may return `null`, indicating that no valid value was found.
	Ext *string `json:"Ext,omitempty" name:"Ext"`
}

type ChannelInfo

type ChannelInfo struct {

	// Channel ID.
	Id *string `json:"Id,omitempty" name:"Id"`

	// Channel name.
	Name *string `json:"Name,omitempty" name:"Name"`

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

	// Channel input and output.
	Points *PointInfo `json:"Points,omitempty" name:"Points"`

	// Cache configuration
	// Note: this field may return `null`, indicating that no valid value was found.
	CacheInfo *CacheInfo `json:"CacheInfo,omitempty" name:"CacheInfo"`
}

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) BindNewLVBDomainWithChannel

func (c *Client) BindNewLVBDomainWithChannel(request *BindNewLVBDomainWithChannelRequest) (response *BindNewLVBDomainWithChannelResponse, err error)

BindNewLVBDomainWithChannel This API is used to bind an LVB domain name to a channel.

error code that may be returned:

INVALIDPARAMETER_CHANNELID = "InvalidParameter.ChannelId"
INVALIDPARAMETER_LVBDOMAIN = "InvalidParameter.LvbDomain"

func (*Client) CreateStreamPackageChannel

func (c *Client) CreateStreamPackageChannel(request *CreateStreamPackageChannelRequest) (response *CreateStreamPackageChannelResponse, err error)

CreateStreamPackageChannel This API is used to create a StreamPackage channel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_CACHEINFO = "InvalidParameter.CacheInfo"
INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_PROTOCOL = "InvalidParameter.Protocol"

func (*Client) CreateStreamPackageChannelEndpoint

func (c *Client) CreateStreamPackageChannelEndpoint(request *CreateStreamPackageChannelEndpointRequest) (response *CreateStreamPackageChannelEndpointResponse, err error)

CreateStreamPackageChannelEndpoint This API is used to create an endpoint on a StreamPackage channel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_AUTHINFO = "InvalidParameter.AuthInfo"
INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

func (*Client) DeleteStreamPackageChannelEndpoints

func (c *Client) DeleteStreamPackageChannelEndpoints(request *DeleteStreamPackageChannelEndpointsRequest) (response *DeleteStreamPackageChannelEndpointsResponse, err error)

DeleteStreamPackageChannelEndpoints This API is used to delete endpoints from a StreamPackage channel in batches.

error code that may be returned:

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

func (*Client) DeleteStreamPackageChannels

func (c *Client) DeleteStreamPackageChannels(request *DeleteStreamPackageChannelsRequest) (response *DeleteStreamPackageChannelsResponse, err error)

DeleteStreamPackageChannels This API is used to delete StreamPackage channels in batches.

error code that may be returned:

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

func (*Client) DescribeStreamPackageChannel

func (c *Client) DescribeStreamPackageChannel(request *DescribeStreamPackageChannelRequest) (response *DescribeStreamPackageChannelResponse, err error)

DescribeStreamPackageChannel This API is used to query the information of a StreamPackage channel.

error code that may be returned:

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

func (*Client) DescribeStreamPackageChannels

func (c *Client) DescribeStreamPackageChannels(request *DescribeStreamPackageChannelsRequest) (response *DescribeStreamPackageChannelsResponse, err error)

DescribeStreamPackageChannels This API is used to query the information of multiple StreamPackage channels.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_PAGENUM = "InvalidParameter.PageNum"
INVALIDPARAMETER_PAGESIZE = "InvalidParameter.PageSize"
INVALIDPARAMETER_POINTS = "InvalidParameter.Points"

func (*Client) ModifyStreamPackageChannel

func (c *Client) ModifyStreamPackageChannel(request *ModifyStreamPackageChannelRequest) (response *ModifyStreamPackageChannelResponse, err error)

ModifyStreamPackageChannel This API is used to modify a StreamPackage channel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_PROTOCOL = "InvalidParameter.Protocol"

func (*Client) ModifyStreamPackageChannelEndpoint

func (c *Client) ModifyStreamPackageChannelEndpoint(request *ModifyStreamPackageChannelEndpointRequest) (response *ModifyStreamPackageChannelEndpointResponse, err error)

ModifyStreamPackageChannelEndpoint This API is used to modify an endpoint of a StreamPackage channel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_AUTHINFO = "InvalidParameter.AuthInfo"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_URL = "InvalidParameter.Url"

func (*Client) ModifyStreamPackageChannelInputAuthInfo

func (c *Client) ModifyStreamPackageChannelInputAuthInfo(request *ModifyStreamPackageChannelInputAuthInfoRequest) (response *ModifyStreamPackageChannelInputAuthInfoResponse, err error)

ModifyStreamPackageChannelInputAuthInfo This API is used to modify the input authentication information of a StreamPackage channel.

error code that may be returned:

INVALIDPARAMETER_ACTIONTYPE = "InvalidParameter.ActionType"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_URL = "InvalidParameter.Url"

func (*Client) UnbindCdnDomainWithChannel

func (c *Client) UnbindCdnDomainWithChannel(request *UnbindCdnDomainWithChannelRequest) (response *UnbindCdnDomainWithChannelResponse, err error)

UnbindCdnDomainWithChannel This API is used to unbind a CDN playback domain name from a channel.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_CDNDOMAIN = "InvalidParameter.CdnDomain"
INVALIDPARAMETER_CHANNELID = "InvalidParameter.ChannelId"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

type CreateStreamPackageChannelEndpointRequest

type CreateStreamPackageChannelEndpointRequest struct {
	*tchttp.BaseRequest

	// Channel ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Endpoint name, which must contain 1 to 32 characters and supports digits, letters, and underscores
	Name *string `json:"Name,omitempty" name:"Name"`

	// Authentication information
	AuthInfo *EndpointAuthInfo `json:"AuthInfo,omitempty" name:"AuthInfo"`
}

func NewCreateStreamPackageChannelEndpointRequest

func NewCreateStreamPackageChannelEndpointRequest() (request *CreateStreamPackageChannelEndpointRequest)

func (*CreateStreamPackageChannelEndpointRequest) FromJsonString

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

func (*CreateStreamPackageChannelEndpointRequest) ToJsonString

type CreateStreamPackageChannelEndpointResponse

type CreateStreamPackageChannelEndpointResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Information of the created channel endpoint
		Info *EndpointInfo `json:"Info,omitempty" name:"Info"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateStreamPackageChannelEndpointResponse

func NewCreateStreamPackageChannelEndpointResponse() (response *CreateStreamPackageChannelEndpointResponse)

func (*CreateStreamPackageChannelEndpointResponse) FromJsonString

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

func (*CreateStreamPackageChannelEndpointResponse) ToJsonString

type CreateStreamPackageChannelRequest

type CreateStreamPackageChannelRequest struct {
	*tchttp.BaseRequest

	// Channel name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Channel protocol. Valid values: HLS, DASH
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Cache configuration
	CacheInfo *CacheInfo `json:"CacheInfo,omitempty" name:"CacheInfo"`
}

func NewCreateStreamPackageChannelRequest

func NewCreateStreamPackageChannelRequest() (request *CreateStreamPackageChannelRequest)

func (*CreateStreamPackageChannelRequest) FromJsonString

func (r *CreateStreamPackageChannelRequest) 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 (*CreateStreamPackageChannelRequest) ToJsonString

func (r *CreateStreamPackageChannelRequest) ToJsonString() string

type CreateStreamPackageChannelResponse

type CreateStreamPackageChannelResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Channel information
		Info *ChannelInfo `json:"Info,omitempty" name:"Info"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateStreamPackageChannelResponse

func NewCreateStreamPackageChannelResponse() (response *CreateStreamPackageChannelResponse)

func (*CreateStreamPackageChannelResponse) FromJsonString

func (r *CreateStreamPackageChannelResponse) 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 (*CreateStreamPackageChannelResponse) ToJsonString

func (r *CreateStreamPackageChannelResponse) ToJsonString() string

type DeleteStreamPackageChannelEndpointsRequest

type DeleteStreamPackageChannelEndpointsRequest struct {
	*tchttp.BaseRequest

	// Channel ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// List of the URLs of the endpoints to delete
	Urls []*string `json:"Urls,omitempty" name:"Urls"`
}

func NewDeleteStreamPackageChannelEndpointsRequest

func NewDeleteStreamPackageChannelEndpointsRequest() (request *DeleteStreamPackageChannelEndpointsRequest)

func (*DeleteStreamPackageChannelEndpointsRequest) FromJsonString

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

func (*DeleteStreamPackageChannelEndpointsRequest) ToJsonString

type DeleteStreamPackageChannelEndpointsResponse

type DeleteStreamPackageChannelEndpointsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteStreamPackageChannelEndpointsResponse

func NewDeleteStreamPackageChannelEndpointsResponse() (response *DeleteStreamPackageChannelEndpointsResponse)

func (*DeleteStreamPackageChannelEndpointsResponse) FromJsonString

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

func (*DeleteStreamPackageChannelEndpointsResponse) ToJsonString

type DeleteStreamPackageChannelsRequest

type DeleteStreamPackageChannelsRequest struct {
	*tchttp.BaseRequest

	// List of the IDs of the channels to delete
	Ids []*string `json:"Ids,omitempty" name:"Ids"`
}

func NewDeleteStreamPackageChannelsRequest

func NewDeleteStreamPackageChannelsRequest() (request *DeleteStreamPackageChannelsRequest)

func (*DeleteStreamPackageChannelsRequest) FromJsonString

func (r *DeleteStreamPackageChannelsRequest) 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 (*DeleteStreamPackageChannelsRequest) ToJsonString

func (r *DeleteStreamPackageChannelsRequest) ToJsonString() string

type DeleteStreamPackageChannelsResponse

type DeleteStreamPackageChannelsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List of the information of successfully deleted channels
		SuccessInfos []*ChannelInfo `json:"SuccessInfos,omitempty" name:"SuccessInfos"`

		// List of the information of the channels that failed to be deleted
		FailInfos []*ChannelInfo `json:"FailInfos,omitempty" name:"FailInfos"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteStreamPackageChannelsResponse

func NewDeleteStreamPackageChannelsResponse() (response *DeleteStreamPackageChannelsResponse)

func (*DeleteStreamPackageChannelsResponse) FromJsonString

func (r *DeleteStreamPackageChannelsResponse) 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 (*DeleteStreamPackageChannelsResponse) ToJsonString

func (r *DeleteStreamPackageChannelsResponse) ToJsonString() string

type DescribeStreamPackageChannelRequest

type DescribeStreamPackageChannelRequest struct {
	*tchttp.BaseRequest

	// Channel ID
	Id *string `json:"Id,omitempty" name:"Id"`
}

func NewDescribeStreamPackageChannelRequest

func NewDescribeStreamPackageChannelRequest() (request *DescribeStreamPackageChannelRequest)

func (*DescribeStreamPackageChannelRequest) FromJsonString

func (r *DescribeStreamPackageChannelRequest) 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 (*DescribeStreamPackageChannelRequest) ToJsonString

func (r *DescribeStreamPackageChannelRequest) ToJsonString() string

type DescribeStreamPackageChannelResponse

type DescribeStreamPackageChannelResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Channel information
		Info *ChannelInfo `json:"Info,omitempty" name:"Info"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeStreamPackageChannelResponse

func NewDescribeStreamPackageChannelResponse() (response *DescribeStreamPackageChannelResponse)

func (*DescribeStreamPackageChannelResponse) FromJsonString

func (r *DescribeStreamPackageChannelResponse) 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 (*DescribeStreamPackageChannelResponse) ToJsonString

func (r *DescribeStreamPackageChannelResponse) ToJsonString() string

type DescribeStreamPackageChannelsRequest

type DescribeStreamPackageChannelsRequest struct {
	*tchttp.BaseRequest

	// Page number. Value range: [1, 1000]
	PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`

	// Number of entries per page. Value range: [1, 1000]
	PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
}

func NewDescribeStreamPackageChannelsRequest

func NewDescribeStreamPackageChannelsRequest() (request *DescribeStreamPackageChannelsRequest)

func (*DescribeStreamPackageChannelsRequest) FromJsonString

func (r *DescribeStreamPackageChannelsRequest) 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 (*DescribeStreamPackageChannelsRequest) ToJsonString

func (r *DescribeStreamPackageChannelsRequest) ToJsonString() string

type DescribeStreamPackageChannelsResponse

type DescribeStreamPackageChannelsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List of channel information
		// Note: this field may return `null`, indicating that no valid value was found.
		Infos []*ChannelInfo `json:"Infos,omitempty" name:"Infos"`

		// Page number
		PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`

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

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

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

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeStreamPackageChannelsResponse

func NewDescribeStreamPackageChannelsResponse() (response *DescribeStreamPackageChannelsResponse)

func (*DescribeStreamPackageChannelsResponse) FromJsonString

func (r *DescribeStreamPackageChannelsResponse) 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 (*DescribeStreamPackageChannelsResponse) ToJsonString

type EndpointAuthInfo

type EndpointAuthInfo struct {

	// The security group allowlist in CIDR format.
	// Note: this field may return null, indicating that no valid values can be obtained.
	WhiteIpList []*string `json:"WhiteIpList,omitempty" name:"WhiteIpList"`

	// The security group blocklist in CIDR format.
	// Note: this field may return null, indicating that no valid values can be obtained.
	BlackIpList []*string `json:"BlackIpList,omitempty" name:"BlackIpList"`

	// The authentication key. Its value is same as `X-TENCENT-PACKAGE` set in the HTTP request header.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AuthKey *string `json:"AuthKey,omitempty" name:"AuthKey"`
}

type EndpointInfo

type EndpointInfo struct {

	// Endpoint name.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Endpoint URL.
	Url *string `json:"Url,omitempty" name:"Url"`

	// Endpoint authentication information.
	AuthInfo *EndpointAuthInfo `json:"AuthInfo,omitempty" name:"AuthInfo"`
}

type InputAuthInfo

type InputAuthInfo struct {

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

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

type InputInfo

type InputInfo struct {

	// Channel input URL.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Url *string `json:"Url,omitempty" name:"Url"`

	// Channel input authentication information.
	AuthInfo *InputAuthInfo `json:"AuthInfo,omitempty" name:"AuthInfo"`
}

type ModifyStreamPackageChannelEndpointRequest

type ModifyStreamPackageChannelEndpointRequest struct {
	*tchttp.BaseRequest

	// Channel ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Channel endpoint URL
	Url *string `json:"Url,omitempty" name:"Url"`

	// New endpoint name
	Name *string `json:"Name,omitempty" name:"Name"`

	// New channel authentication information
	AuthInfo *EndpointAuthInfo `json:"AuthInfo,omitempty" name:"AuthInfo"`
}

func NewModifyStreamPackageChannelEndpointRequest

func NewModifyStreamPackageChannelEndpointRequest() (request *ModifyStreamPackageChannelEndpointRequest)

func (*ModifyStreamPackageChannelEndpointRequest) FromJsonString

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

func (*ModifyStreamPackageChannelEndpointRequest) ToJsonString

type ModifyStreamPackageChannelEndpointResponse

type ModifyStreamPackageChannelEndpointResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyStreamPackageChannelEndpointResponse

func NewModifyStreamPackageChannelEndpointResponse() (response *ModifyStreamPackageChannelEndpointResponse)

func (*ModifyStreamPackageChannelEndpointResponse) FromJsonString

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

func (*ModifyStreamPackageChannelEndpointResponse) ToJsonString

type ModifyStreamPackageChannelInputAuthInfoRequest

type ModifyStreamPackageChannelInputAuthInfoRequest struct {
	*tchttp.BaseRequest

	// Channel ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Channel input URL
	Url *string `json:"Url,omitempty" name:"Url"`

	// Authentication configuration. Valid values: `CLOSE`, `UPDATE`
	// `CLOSE`: disable authentication
	// `UPDATE`: update authentication information
	ActionType *string `json:"ActionType,omitempty" name:"ActionType"`
}

func NewModifyStreamPackageChannelInputAuthInfoRequest

func NewModifyStreamPackageChannelInputAuthInfoRequest() (request *ModifyStreamPackageChannelInputAuthInfoRequest)

func (*ModifyStreamPackageChannelInputAuthInfoRequest) FromJsonString

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

func (*ModifyStreamPackageChannelInputAuthInfoRequest) ToJsonString

type ModifyStreamPackageChannelInputAuthInfoResponse

type ModifyStreamPackageChannelInputAuthInfoResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Channel input authentication information
		AuthInfo *InputAuthInfo `json:"AuthInfo,omitempty" name:"AuthInfo"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyStreamPackageChannelInputAuthInfoResponse

func NewModifyStreamPackageChannelInputAuthInfoResponse() (response *ModifyStreamPackageChannelInputAuthInfoResponse)

func (*ModifyStreamPackageChannelInputAuthInfoResponse) FromJsonString

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

func (*ModifyStreamPackageChannelInputAuthInfoResponse) ToJsonString

type ModifyStreamPackageChannelRequest

type ModifyStreamPackageChannelRequest struct {
	*tchttp.BaseRequest

	// Channel ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// New channel name
	Name *string `json:"Name,omitempty" name:"Name"`

	// New channel protocol. Valid values: HLS, DASH
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Cache configuration
	CacheInfo *CacheInfo `json:"CacheInfo,omitempty" name:"CacheInfo"`
}

func NewModifyStreamPackageChannelRequest

func NewModifyStreamPackageChannelRequest() (request *ModifyStreamPackageChannelRequest)

func (*ModifyStreamPackageChannelRequest) FromJsonString

func (r *ModifyStreamPackageChannelRequest) 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 (*ModifyStreamPackageChannelRequest) ToJsonString

func (r *ModifyStreamPackageChannelRequest) ToJsonString() string

type ModifyStreamPackageChannelResponse

type ModifyStreamPackageChannelResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyStreamPackageChannelResponse

func NewModifyStreamPackageChannelResponse() (response *ModifyStreamPackageChannelResponse)

func (*ModifyStreamPackageChannelResponse) FromJsonString

func (r *ModifyStreamPackageChannelResponse) 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 (*ModifyStreamPackageChannelResponse) ToJsonString

func (r *ModifyStreamPackageChannelResponse) ToJsonString() string

type PointInfo

type PointInfo struct {

	// Channel input list.
	Inputs []*InputInfo `json:"Inputs,omitempty" name:"Inputs"`

	// Channel output list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Endpoints []*EndpointInfo `json:"Endpoints,omitempty" name:"Endpoints"`
}

type UnbindCdnDomainWithChannelRequest

type UnbindCdnDomainWithChannelRequest struct {
	*tchttp.BaseRequest

	// Channel ID
	ChannelId *string `json:"ChannelId,omitempty" name:"ChannelId"`

	// CDN playback domain name
	CdnDomain *string `json:"CdnDomain,omitempty" name:"CdnDomain"`
}

func NewUnbindCdnDomainWithChannelRequest

func NewUnbindCdnDomainWithChannelRequest() (request *UnbindCdnDomainWithChannelRequest)

func (*UnbindCdnDomainWithChannelRequest) FromJsonString

func (r *UnbindCdnDomainWithChannelRequest) 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 (*UnbindCdnDomainWithChannelRequest) ToJsonString

func (r *UnbindCdnDomainWithChannelRequest) ToJsonString() string

type UnbindCdnDomainWithChannelResponse

type UnbindCdnDomainWithChannelResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUnbindCdnDomainWithChannelResponse

func NewUnbindCdnDomainWithChannelResponse() (response *UnbindCdnDomainWithChannelResponse)

func (*UnbindCdnDomainWithChannelResponse) FromJsonString

func (r *UnbindCdnDomainWithChannelResponse) 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 (*UnbindCdnDomainWithChannelResponse) ToJsonString

func (r *UnbindCdnDomainWithChannelResponse) ToJsonString() string

Jump to

Keyboard shortcuts

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