Documentation ¶
Index ¶
- Constants
- type AliasValueConf
- type BindNewLVBDomainWithChannelRequest
- type BindNewLVBDomainWithChannelRequestParams
- type BindNewLVBDomainWithChannelResponse
- type BindNewLVBDomainWithChannelResponseParams
- type CacheInfo
- type CacheInfoInfo
- type ChannelInfo
- type Client
- func (c *Client) BindNewLVBDomainWithChannel(request *BindNewLVBDomainWithChannelRequest) (response *BindNewLVBDomainWithChannelResponse, err error)
- func (c *Client) BindNewLVBDomainWithChannelWithContext(ctx context.Context, request *BindNewLVBDomainWithChannelRequest) (response *BindNewLVBDomainWithChannelResponse, err error)
- func (c *Client) CreateStreamPackageChannel(request *CreateStreamPackageChannelRequest) (response *CreateStreamPackageChannelResponse, err error)
- func (c *Client) CreateStreamPackageChannelEndpoint(request *CreateStreamPackageChannelEndpointRequest) (response *CreateStreamPackageChannelEndpointResponse, err error)
- func (c *Client) CreateStreamPackageChannelEndpointWithContext(ctx context.Context, request *CreateStreamPackageChannelEndpointRequest) (response *CreateStreamPackageChannelEndpointResponse, err error)
- func (c *Client) CreateStreamPackageChannelWithContext(ctx context.Context, request *CreateStreamPackageChannelRequest) (response *CreateStreamPackageChannelResponse, err error)
- func (c *Client) CreateStreamPackageHarvestJob(request *CreateStreamPackageHarvestJobRequest) (response *CreateStreamPackageHarvestJobResponse, err error)
- func (c *Client) CreateStreamPackageHarvestJobWithContext(ctx context.Context, request *CreateStreamPackageHarvestJobRequest) (response *CreateStreamPackageHarvestJobResponse, err error)
- func (c *Client) DeleteStreamPackageChannelEndpoints(request *DeleteStreamPackageChannelEndpointsRequest) (response *DeleteStreamPackageChannelEndpointsResponse, err error)
- func (c *Client) DeleteStreamPackageChannelEndpointsWithContext(ctx context.Context, request *DeleteStreamPackageChannelEndpointsRequest) (response *DeleteStreamPackageChannelEndpointsResponse, err error)
- func (c *Client) DeleteStreamPackageChannels(request *DeleteStreamPackageChannelsRequest) (response *DeleteStreamPackageChannelsResponse, err error)
- func (c *Client) DeleteStreamPackageChannelsWithContext(ctx context.Context, request *DeleteStreamPackageChannelsRequest) (response *DeleteStreamPackageChannelsResponse, err error)
- func (c *Client) DeleteStreamPackageHarvestJob(request *DeleteStreamPackageHarvestJobRequest) (response *DeleteStreamPackageHarvestJobResponse, err error)
- func (c *Client) DeleteStreamPackageHarvestJobWithContext(ctx context.Context, request *DeleteStreamPackageHarvestJobRequest) (response *DeleteStreamPackageHarvestJobResponse, err error)
- func (c *Client) DeleteStreamPackageHarvestJobs(request *DeleteStreamPackageHarvestJobsRequest) (response *DeleteStreamPackageHarvestJobsResponse, err error)
- func (c *Client) DeleteStreamPackageHarvestJobsWithContext(ctx context.Context, request *DeleteStreamPackageHarvestJobsRequest) (response *DeleteStreamPackageHarvestJobsResponse, err error)
- func (c *Client) DescribeStreamPackageChannel(request *DescribeStreamPackageChannelRequest) (response *DescribeStreamPackageChannelResponse, err error)
- func (c *Client) DescribeStreamPackageChannelWithContext(ctx context.Context, request *DescribeStreamPackageChannelRequest) (response *DescribeStreamPackageChannelResponse, err error)
- func (c *Client) DescribeStreamPackageChannels(request *DescribeStreamPackageChannelsRequest) (response *DescribeStreamPackageChannelsResponse, err error)
- func (c *Client) DescribeStreamPackageChannelsWithContext(ctx context.Context, request *DescribeStreamPackageChannelsRequest) (response *DescribeStreamPackageChannelsResponse, err error)
- func (c *Client) DescribeStreamPackageHarvestJob(request *DescribeStreamPackageHarvestJobRequest) (response *DescribeStreamPackageHarvestJobResponse, err error)
- func (c *Client) DescribeStreamPackageHarvestJobWithContext(ctx context.Context, request *DescribeStreamPackageHarvestJobRequest) (response *DescribeStreamPackageHarvestJobResponse, err error)
- func (c *Client) DescribeStreamPackageHarvestJobs(request *DescribeStreamPackageHarvestJobsRequest) (response *DescribeStreamPackageHarvestJobsResponse, err error)
- func (c *Client) DescribeStreamPackageHarvestJobsWithContext(ctx context.Context, request *DescribeStreamPackageHarvestJobsRequest) (response *DescribeStreamPackageHarvestJobsResponse, err error)
- func (c *Client) ModifyStreamPackageChannel(request *ModifyStreamPackageChannelRequest) (response *ModifyStreamPackageChannelResponse, err error)
- func (c *Client) ModifyStreamPackageChannelEndpoint(request *ModifyStreamPackageChannelEndpointRequest) (response *ModifyStreamPackageChannelEndpointResponse, err error)
- func (c *Client) ModifyStreamPackageChannelEndpointWithContext(ctx context.Context, request *ModifyStreamPackageChannelEndpointRequest) (response *ModifyStreamPackageChannelEndpointResponse, err error)
- func (c *Client) ModifyStreamPackageChannelInputAuthInfo(request *ModifyStreamPackageChannelInputAuthInfoRequest) (response *ModifyStreamPackageChannelInputAuthInfoResponse, err error)
- func (c *Client) ModifyStreamPackageChannelInputAuthInfoWithContext(ctx context.Context, request *ModifyStreamPackageChannelInputAuthInfoRequest) (response *ModifyStreamPackageChannelInputAuthInfoResponse, err error)
- func (c *Client) ModifyStreamPackageChannelWithContext(ctx context.Context, request *ModifyStreamPackageChannelRequest) (response *ModifyStreamPackageChannelResponse, err error)
- func (c *Client) UnbindCdnDomainWithChannel(request *UnbindCdnDomainWithChannelRequest) (response *UnbindCdnDomainWithChannelResponse, err error)
- func (c *Client) UnbindCdnDomainWithChannelWithContext(ctx context.Context, request *UnbindCdnDomainWithChannelRequest) (response *UnbindCdnDomainWithChannelResponse, err error)
- type ConfigAliasesInfo
- type CreateStreamPackageChannelEndpointRequest
- type CreateStreamPackageChannelEndpointRequestParams
- type CreateStreamPackageChannelEndpointResponse
- type CreateStreamPackageChannelEndpointResponseParams
- type CreateStreamPackageChannelRequest
- type CreateStreamPackageChannelRequestParams
- type CreateStreamPackageChannelResponse
- type CreateStreamPackageChannelResponseParams
- type CreateStreamPackageHarvestJobRequest
- type CreateStreamPackageHarvestJobRequestParams
- type CreateStreamPackageHarvestJobResponse
- type CreateStreamPackageHarvestJobResponseParams
- type DeleteStreamPackageChannelEndpointsRequest
- type DeleteStreamPackageChannelEndpointsRequestParams
- type DeleteStreamPackageChannelEndpointsResponse
- type DeleteStreamPackageChannelEndpointsResponseParams
- type DeleteStreamPackageChannelsRequest
- type DeleteStreamPackageChannelsRequestParams
- type DeleteStreamPackageChannelsResponse
- type DeleteStreamPackageChannelsResponseParams
- type DeleteStreamPackageHarvestJobRequest
- type DeleteStreamPackageHarvestJobRequestParams
- type DeleteStreamPackageHarvestJobResponse
- type DeleteStreamPackageHarvestJobResponseParams
- type DeleteStreamPackageHarvestJobsRequest
- type DeleteStreamPackageHarvestJobsRequestParams
- type DeleteStreamPackageHarvestJobsResponse
- type DeleteStreamPackageHarvestJobsResponseParams
- type DescribeStreamPackageChannelRequest
- type DescribeStreamPackageChannelRequestParams
- type DescribeStreamPackageChannelResponse
- type DescribeStreamPackageChannelResponseParams
- type DescribeStreamPackageChannelsRequest
- type DescribeStreamPackageChannelsRequestParams
- type DescribeStreamPackageChannelsResponse
- type DescribeStreamPackageChannelsResponseParams
- type DescribeStreamPackageHarvestJobRequest
- type DescribeStreamPackageHarvestJobRequestParams
- type DescribeStreamPackageHarvestJobResponse
- type DescribeStreamPackageHarvestJobResponseParams
- type DescribeStreamPackageHarvestJobsRequest
- type DescribeStreamPackageHarvestJobsRequestParams
- type DescribeStreamPackageHarvestJobsResponse
- type DescribeStreamPackageHarvestJobsResponseParams
- type EndpointAuthInfo
- type EndpointInfo
- type HarvestJobResp
- type InputAuthInfo
- type InputInfo
- type ModifyStreamPackageChannelEndpointRequest
- type ModifyStreamPackageChannelEndpointRequestParams
- type ModifyStreamPackageChannelEndpointResponse
- type ModifyStreamPackageChannelEndpointResponseParams
- type ModifyStreamPackageChannelInputAuthInfoRequest
- type ModifyStreamPackageChannelInputAuthInfoRequestParams
- type ModifyStreamPackageChannelInputAuthInfoResponse
- type ModifyStreamPackageChannelInputAuthInfoResponseParams
- type ModifyStreamPackageChannelRequest
- type ModifyStreamPackageChannelRequestParams
- type ModifyStreamPackageChannelResponse
- type ModifyStreamPackageChannelResponseParams
- type PointInfo
- type SSAIConf
- type UnbindCdnDomainWithChannelRequest
- type UnbindCdnDomainWithChannelRequestParams
- type UnbindCdnDomainWithChannelResponse
- type UnbindCdnDomainWithChannelResponseParams
Constants ¶
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" // INVALIDPARAMETER_OUTPUTGROUPS = "InvalidParameter.OutputGroups" // 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" // INVALIDPARAMETER_SSAIINFO = "InvalidParameter.SSAIInfo" // Invalid `Url`. INVALIDPARAMETER_URL = "InvalidParameter.Url" )
const APIVersion = "2020-05-27"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliasValueConf ¶
type BindNewLVBDomainWithChannelRequest ¶
type BindNewLVBDomainWithChannelRequest struct { *tchttp.BaseRequest // Channel ID ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"` // The LVB domain name to bind LVBDomain *string `json:"LVBDomain,omitnil,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 BindNewLVBDomainWithChannelRequestParams ¶
type BindNewLVBDomainWithChannelRequestParams struct { // Channel ID ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"` // The LVB domain name to bind LVBDomain *string `json:"LVBDomain,omitnil,omitempty" name:"LVBDomain"` }
Predefined struct for user
type BindNewLVBDomainWithChannelResponse ¶
type BindNewLVBDomainWithChannelResponse struct { *tchttp.BaseResponse Response *BindNewLVBDomainWithChannelResponseParams `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 BindNewLVBDomainWithChannelResponseParams ¶
type BindNewLVBDomainWithChannelResponseParams struct { // The LVB domain name bound successfully LVBDomain *string `json:"LVBDomain,omitnil,omitempty" name:"LVBDomain"` // 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 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,omitnil,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,omitnil,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,omitnil,omitempty" name:"Ext"` }
type ChannelInfo ¶
type ChannelInfo struct { // Channel ID. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Channel name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Channel protocol. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Channel input and output. Points *PointInfo `json:"Points,omitnil,omitempty" name:"Points"` // Cache configuration // Note: this field may return `null`, indicating that no valid value was found. CacheInfo *CacheInfo `json:"CacheInfo,omitnil,omitempty" name:"CacheInfo"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
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) BindNewLVBDomainWithChannelWithContext ¶
func (c *Client) BindNewLVBDomainWithChannelWithContext(ctx context.Context, 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" INVALIDPARAMETER_SSAIINFO = "InvalidParameter.SSAIInfo"
func (*Client) CreateStreamPackageChannelEndpointWithContext ¶
func (c *Client) CreateStreamPackageChannelEndpointWithContext(ctx context.Context, 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" INVALIDPARAMETER_SSAIINFO = "InvalidParameter.SSAIInfo"
func (*Client) CreateStreamPackageChannelWithContext ¶
func (c *Client) CreateStreamPackageChannelWithContext(ctx context.Context, 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) CreateStreamPackageHarvestJob ¶
func (c *Client) CreateStreamPackageHarvestJob(request *CreateStreamPackageHarvestJobRequest) (response *CreateStreamPackageHarvestJobResponse, err error)
CreateStreamPackageHarvestJob Create HarvestJob.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_CACHEINFO = "InvalidParameter.CacheInfo" INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit" INVALIDPARAMETER_NAME = "InvalidParameter.Name" INVALIDPARAMETER_OUTPUTGROUPS = "InvalidParameter.OutputGroups" INVALIDPARAMETER_PROTOCOL = "InvalidParameter.Protocol"
func (*Client) CreateStreamPackageHarvestJobWithContext ¶
func (c *Client) CreateStreamPackageHarvestJobWithContext(ctx context.Context, request *CreateStreamPackageHarvestJobRequest) (response *CreateStreamPackageHarvestJobResponse, err error)
CreateStreamPackageHarvestJob Create HarvestJob.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_CACHEINFO = "InvalidParameter.CacheInfo" INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit" INVALIDPARAMETER_NAME = "InvalidParameter.Name" INVALIDPARAMETER_OUTPUTGROUPS = "InvalidParameter.OutputGroups" INVALIDPARAMETER_PROTOCOL = "InvalidParameter.Protocol"
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) DeleteStreamPackageChannelEndpointsWithContext ¶
func (c *Client) DeleteStreamPackageChannelEndpointsWithContext(ctx context.Context, 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) DeleteStreamPackageChannelsWithContext ¶
func (c *Client) DeleteStreamPackageChannelsWithContext(ctx context.Context, 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) DeleteStreamPackageHarvestJob ¶
func (c *Client) DeleteStreamPackageHarvestJob(request *DeleteStreamPackageHarvestJobRequest) (response *DeleteStreamPackageHarvestJobResponse, err error)
DeleteStreamPackageHarvestJob Delete HarvestJob.
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) DeleteStreamPackageHarvestJobWithContext ¶
func (c *Client) DeleteStreamPackageHarvestJobWithContext(ctx context.Context, request *DeleteStreamPackageHarvestJobRequest) (response *DeleteStreamPackageHarvestJobResponse, err error)
DeleteStreamPackageHarvestJob Delete HarvestJob.
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) DeleteStreamPackageHarvestJobs ¶
func (c *Client) DeleteStreamPackageHarvestJobs(request *DeleteStreamPackageHarvestJobsRequest) (response *DeleteStreamPackageHarvestJobsResponse, err error)
DeleteStreamPackageHarvestJobs Deleting HarvestJobs in Batch.
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) DeleteStreamPackageHarvestJobsWithContext ¶
func (c *Client) DeleteStreamPackageHarvestJobsWithContext(ctx context.Context, request *DeleteStreamPackageHarvestJobsRequest) (response *DeleteStreamPackageHarvestJobsResponse, err error)
DeleteStreamPackageHarvestJobs Deleting HarvestJobs in Batch.
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) 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) DescribeStreamPackageChannelWithContext ¶
func (c *Client) DescribeStreamPackageChannelWithContext(ctx context.Context, 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) DescribeStreamPackageChannelsWithContext ¶
func (c *Client) DescribeStreamPackageChannelsWithContext(ctx context.Context, 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) DescribeStreamPackageHarvestJob ¶
func (c *Client) DescribeStreamPackageHarvestJob(request *DescribeStreamPackageHarvestJobRequest) (response *DescribeStreamPackageHarvestJobResponse, err error)
DescribeStreamPackageHarvestJob Query HarvestJob.
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) DescribeStreamPackageHarvestJobWithContext ¶
func (c *Client) DescribeStreamPackageHarvestJobWithContext(ctx context.Context, request *DescribeStreamPackageHarvestJobRequest) (response *DescribeStreamPackageHarvestJobResponse, err error)
DescribeStreamPackageHarvestJob Query HarvestJob.
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) DescribeStreamPackageHarvestJobs ¶
func (c *Client) DescribeStreamPackageHarvestJobs(request *DescribeStreamPackageHarvestJobsRequest) (response *DescribeStreamPackageHarvestJobsResponse, err error)
DescribeStreamPackageHarvestJobs Batch query HarvestJob.
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) DescribeStreamPackageHarvestJobsWithContext ¶
func (c *Client) DescribeStreamPackageHarvestJobsWithContext(ctx context.Context, request *DescribeStreamPackageHarvestJobsRequest) (response *DescribeStreamPackageHarvestJobsResponse, err error)
DescribeStreamPackageHarvestJobs Batch query HarvestJob.
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) 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_SSAIINFO = "InvalidParameter.SSAIInfo" INVALIDPARAMETER_URL = "InvalidParameter.Url"
func (*Client) ModifyStreamPackageChannelEndpointWithContext ¶
func (c *Client) ModifyStreamPackageChannelEndpointWithContext(ctx context.Context, 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_SSAIINFO = "InvalidParameter.SSAIInfo" 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) ModifyStreamPackageChannelInputAuthInfoWithContext ¶
func (c *Client) ModifyStreamPackageChannelInputAuthInfoWithContext(ctx context.Context, 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) ModifyStreamPackageChannelWithContext ¶
func (c *Client) ModifyStreamPackageChannelWithContext(ctx context.Context, 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) 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"
func (*Client) UnbindCdnDomainWithChannelWithContext ¶
func (c *Client) UnbindCdnDomainWithChannelWithContext(ctx context.Context, 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 ConfigAliasesInfo ¶
type ConfigAliasesInfo struct { // parameter name. ParamName *string `json:"ParamName,omitnil,omitempty" name:"ParamName"` // Alias-value configuration. AliasValueList []*AliasValueConf `json:"AliasValueList,omitnil,omitempty" name:"AliasValueList"` }
type CreateStreamPackageChannelEndpointRequest ¶
type CreateStreamPackageChannelEndpointRequest struct { *tchttp.BaseRequest // Channel ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Endpoint name, which must contain 1 to 32 characters and supports digits, letters, and underscores Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Authentication information AuthInfo *EndpointAuthInfo `json:"AuthInfo,omitnil,omitempty" name:"AuthInfo"` // Endpoint protocol type, supports HLS, DASH, CMAF (only HLS type input can create CMAF Endpoint). Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Mainifest name, default is main. Manifest *string `json:"Manifest,omitnil,omitempty" name:"Manifest"` // Whether to turn on the TimeShift function, true: on, false: off, the default is off. TimeShiftEnable *bool `json:"TimeShiftEnable,omitnil,omitempty" name:"TimeShiftEnable"` // The number of days to look back in TimeShift, up to 30 days is supported. TimeShiftDuration *uint64 `json:"TimeShiftDuration,omitnil,omitempty" name:"TimeShiftDuration"` }
func NewCreateStreamPackageChannelEndpointRequest ¶
func NewCreateStreamPackageChannelEndpointRequest() (request *CreateStreamPackageChannelEndpointRequest)
func (*CreateStreamPackageChannelEndpointRequest) FromJsonString ¶
func (r *CreateStreamPackageChannelEndpointRequest) 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 (*CreateStreamPackageChannelEndpointRequest) ToJsonString ¶
func (r *CreateStreamPackageChannelEndpointRequest) ToJsonString() string
type CreateStreamPackageChannelEndpointRequestParams ¶
type CreateStreamPackageChannelEndpointRequestParams struct { // Channel ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Endpoint name, which must contain 1 to 32 characters and supports digits, letters, and underscores Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Authentication information AuthInfo *EndpointAuthInfo `json:"AuthInfo,omitnil,omitempty" name:"AuthInfo"` // Endpoint protocol type, supports HLS, DASH, CMAF (only HLS type input can create CMAF Endpoint). Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Mainifest name, default is main. Manifest *string `json:"Manifest,omitnil,omitempty" name:"Manifest"` // Whether to turn on the TimeShift function, true: on, false: off, the default is off. TimeShiftEnable *bool `json:"TimeShiftEnable,omitnil,omitempty" name:"TimeShiftEnable"` // The number of days to look back in TimeShift, up to 30 days is supported. TimeShiftDuration *uint64 `json:"TimeShiftDuration,omitnil,omitempty" name:"TimeShiftDuration"` }
Predefined struct for user
type CreateStreamPackageChannelEndpointResponse ¶
type CreateStreamPackageChannelEndpointResponse struct { *tchttp.BaseResponse Response *CreateStreamPackageChannelEndpointResponseParams `json:"Response"` }
func NewCreateStreamPackageChannelEndpointResponse ¶
func NewCreateStreamPackageChannelEndpointResponse() (response *CreateStreamPackageChannelEndpointResponse)
func (*CreateStreamPackageChannelEndpointResponse) FromJsonString ¶
func (r *CreateStreamPackageChannelEndpointResponse) 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 (*CreateStreamPackageChannelEndpointResponse) ToJsonString ¶
func (r *CreateStreamPackageChannelEndpointResponse) ToJsonString() string
type CreateStreamPackageChannelEndpointResponseParams ¶
type CreateStreamPackageChannelEndpointResponseParams struct { // Information of the created channel endpoint Info *EndpointInfo `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 CreateStreamPackageChannelRequest ¶
type CreateStreamPackageChannelRequest struct { *tchttp.BaseRequest // Channel name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Channel protocol. Valid values: HLS, DASH Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Cache configuration CacheInfo *CacheInfo `json:"CacheInfo,omitnil,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 CreateStreamPackageChannelRequestParams ¶
type CreateStreamPackageChannelRequestParams struct { // Channel name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Channel protocol. Valid values: HLS, DASH Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Cache configuration CacheInfo *CacheInfo `json:"CacheInfo,omitnil,omitempty" name:"CacheInfo"` }
Predefined struct for user
type CreateStreamPackageChannelResponse ¶
type CreateStreamPackageChannelResponse struct { *tchttp.BaseResponse Response *CreateStreamPackageChannelResponseParams `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 CreateStreamPackageChannelResponseParams ¶
type CreateStreamPackageChannelResponseParams struct { // Channel information Info *ChannelInfo `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 CreateStreamPackageHarvestJobRequest ¶
type CreateStreamPackageHarvestJobRequest struct { *tchttp.BaseRequest // HarvestJob ID, a globally unique identifier. ID *string `json:"ID,omitnil,omitempty" name:"ID"` // The associated channel name. ChannelName *string `json:"ChannelName,omitnil,omitempty" name:"ChannelName"` // The associated endpoint name. EndpointName *string `json:"EndpointName,omitnil,omitempty" name:"EndpointName"` // Time format, supports the following types: 1. Epoch seconds 2. ISO-8601 TimeFormat *string `json:"TimeFormat,omitnil,omitempty" name:"TimeFormat"` // Task start time supports two formats for TimeFormat input: 1. Epoch seconds: The input box is a numeric input box, and only positive integers can be entered. 2. ISO-8601: The supported format is ISO time, for example: 2023-08-01T10:00:00+08:00. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Task end time supports two formats for TimeFormat input: 1. Epoch seconds: The input box is a numeric input box, and only positive integers can be entered. 2. ISO-8601: The supported format is ISO time, for example: 2023-08-01T10:00:00+08:00. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // The path where the recording file is stored in Cos. Destination *string `json:"Destination,omitnil,omitempty" name:"Destination"` // The file name of the recording file stored in Cos. Manifest *string `json:"Manifest,omitnil,omitempty" name:"Manifest"` }
func NewCreateStreamPackageHarvestJobRequest ¶
func NewCreateStreamPackageHarvestJobRequest() (request *CreateStreamPackageHarvestJobRequest)
func (*CreateStreamPackageHarvestJobRequest) FromJsonString ¶
func (r *CreateStreamPackageHarvestJobRequest) 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 (*CreateStreamPackageHarvestJobRequest) ToJsonString ¶
func (r *CreateStreamPackageHarvestJobRequest) ToJsonString() string
type CreateStreamPackageHarvestJobRequestParams ¶
type CreateStreamPackageHarvestJobRequestParams struct { // HarvestJob ID, a globally unique identifier. ID *string `json:"ID,omitnil,omitempty" name:"ID"` // The associated channel name. ChannelName *string `json:"ChannelName,omitnil,omitempty" name:"ChannelName"` // The associated endpoint name. EndpointName *string `json:"EndpointName,omitnil,omitempty" name:"EndpointName"` // Time format, supports the following types: 1. Epoch seconds 2. ISO-8601 TimeFormat *string `json:"TimeFormat,omitnil,omitempty" name:"TimeFormat"` // Task start time supports two formats for TimeFormat input: 1. Epoch seconds: The input box is a numeric input box, and only positive integers can be entered. 2. ISO-8601: The supported format is ISO time, for example: 2023-08-01T10:00:00+08:00. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Task end time supports two formats for TimeFormat input: 1. Epoch seconds: The input box is a numeric input box, and only positive integers can be entered. 2. ISO-8601: The supported format is ISO time, for example: 2023-08-01T10:00:00+08:00. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // The path where the recording file is stored in Cos. Destination *string `json:"Destination,omitnil,omitempty" name:"Destination"` // The file name of the recording file stored in Cos. Manifest *string `json:"Manifest,omitnil,omitempty" name:"Manifest"` }
Predefined struct for user
type CreateStreamPackageHarvestJobResponse ¶
type CreateStreamPackageHarvestJobResponse struct { *tchttp.BaseResponse Response *CreateStreamPackageHarvestJobResponseParams `json:"Response"` }
func NewCreateStreamPackageHarvestJobResponse ¶
func NewCreateStreamPackageHarvestJobResponse() (response *CreateStreamPackageHarvestJobResponse)
func (*CreateStreamPackageHarvestJobResponse) FromJsonString ¶
func (r *CreateStreamPackageHarvestJobResponse) 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 (*CreateStreamPackageHarvestJobResponse) ToJsonString ¶
func (r *CreateStreamPackageHarvestJobResponse) ToJsonString() string
type CreateStreamPackageHarvestJobResponseParams ¶
type CreateStreamPackageHarvestJobResponseParams struct { // HarvestJob information. Info *HarvestJobResp `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 DeleteStreamPackageChannelEndpointsRequest ¶
type DeleteStreamPackageChannelEndpointsRequest struct { *tchttp.BaseRequest // Channel ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // List of the URLs of the endpoints to delete Urls []*string `json:"Urls,omitnil,omitempty" name:"Urls"` }
func NewDeleteStreamPackageChannelEndpointsRequest ¶
func NewDeleteStreamPackageChannelEndpointsRequest() (request *DeleteStreamPackageChannelEndpointsRequest)
func (*DeleteStreamPackageChannelEndpointsRequest) FromJsonString ¶
func (r *DeleteStreamPackageChannelEndpointsRequest) 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 (*DeleteStreamPackageChannelEndpointsRequest) ToJsonString ¶
func (r *DeleteStreamPackageChannelEndpointsRequest) ToJsonString() string
type DeleteStreamPackageChannelEndpointsRequestParams ¶
type DeleteStreamPackageChannelEndpointsRequestParams struct { // Channel ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // List of the URLs of the endpoints to delete Urls []*string `json:"Urls,omitnil,omitempty" name:"Urls"` }
Predefined struct for user
type DeleteStreamPackageChannelEndpointsResponse ¶
type DeleteStreamPackageChannelEndpointsResponse struct { *tchttp.BaseResponse Response *DeleteStreamPackageChannelEndpointsResponseParams `json:"Response"` }
func NewDeleteStreamPackageChannelEndpointsResponse ¶
func NewDeleteStreamPackageChannelEndpointsResponse() (response *DeleteStreamPackageChannelEndpointsResponse)
func (*DeleteStreamPackageChannelEndpointsResponse) FromJsonString ¶
func (r *DeleteStreamPackageChannelEndpointsResponse) 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 (*DeleteStreamPackageChannelEndpointsResponse) ToJsonString ¶
func (r *DeleteStreamPackageChannelEndpointsResponse) ToJsonString() string
type DeleteStreamPackageChannelEndpointsResponseParams ¶
type DeleteStreamPackageChannelEndpointsResponseParams 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 DeleteStreamPackageChannelsRequest ¶
type DeleteStreamPackageChannelsRequest struct { *tchttp.BaseRequest // List of the IDs of the channels to delete Ids []*string `json:"Ids,omitnil,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 DeleteStreamPackageChannelsRequestParams ¶
type DeleteStreamPackageChannelsRequestParams struct { // List of the IDs of the channels to delete Ids []*string `json:"Ids,omitnil,omitempty" name:"Ids"` }
Predefined struct for user
type DeleteStreamPackageChannelsResponse ¶
type DeleteStreamPackageChannelsResponse struct { *tchttp.BaseResponse Response *DeleteStreamPackageChannelsResponseParams `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 DeleteStreamPackageChannelsResponseParams ¶
type DeleteStreamPackageChannelsResponseParams struct { // List of the information of successfully deleted channels SuccessInfos []*ChannelInfo `json:"SuccessInfos,omitnil,omitempty" name:"SuccessInfos"` // List of the information of the channels that failed to be deleted FailInfos []*ChannelInfo `json:"FailInfos,omitnil,omitempty" name:"FailInfos"` // 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 DeleteStreamPackageHarvestJobRequest ¶
type DeleteStreamPackageHarvestJobRequest struct { *tchttp.BaseRequest // HarvestJob ID, a globally unique identifier. ID *string `json:"ID,omitnil,omitempty" name:"ID"` }
func NewDeleteStreamPackageHarvestJobRequest ¶
func NewDeleteStreamPackageHarvestJobRequest() (request *DeleteStreamPackageHarvestJobRequest)
func (*DeleteStreamPackageHarvestJobRequest) FromJsonString ¶
func (r *DeleteStreamPackageHarvestJobRequest) 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 (*DeleteStreamPackageHarvestJobRequest) ToJsonString ¶
func (r *DeleteStreamPackageHarvestJobRequest) ToJsonString() string
type DeleteStreamPackageHarvestJobRequestParams ¶
type DeleteStreamPackageHarvestJobRequestParams struct { // HarvestJob ID, a globally unique identifier. ID *string `json:"ID,omitnil,omitempty" name:"ID"` }
Predefined struct for user
type DeleteStreamPackageHarvestJobResponse ¶
type DeleteStreamPackageHarvestJobResponse struct { *tchttp.BaseResponse Response *DeleteStreamPackageHarvestJobResponseParams `json:"Response"` }
func NewDeleteStreamPackageHarvestJobResponse ¶
func NewDeleteStreamPackageHarvestJobResponse() (response *DeleteStreamPackageHarvestJobResponse)
func (*DeleteStreamPackageHarvestJobResponse) FromJsonString ¶
func (r *DeleteStreamPackageHarvestJobResponse) 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 (*DeleteStreamPackageHarvestJobResponse) ToJsonString ¶
func (r *DeleteStreamPackageHarvestJobResponse) ToJsonString() string
type DeleteStreamPackageHarvestJobResponseParams ¶
type DeleteStreamPackageHarvestJobResponseParams 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 DeleteStreamPackageHarvestJobsRequest ¶
type DeleteStreamPackageHarvestJobsRequest struct { *tchttp.BaseRequest // HarvestJob IDs, id is a globally unique identifier. IDs []*string `json:"IDs,omitnil,omitempty" name:"IDs"` }
func NewDeleteStreamPackageHarvestJobsRequest ¶
func NewDeleteStreamPackageHarvestJobsRequest() (request *DeleteStreamPackageHarvestJobsRequest)
func (*DeleteStreamPackageHarvestJobsRequest) FromJsonString ¶
func (r *DeleteStreamPackageHarvestJobsRequest) 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 (*DeleteStreamPackageHarvestJobsRequest) ToJsonString ¶
func (r *DeleteStreamPackageHarvestJobsRequest) ToJsonString() string
type DeleteStreamPackageHarvestJobsRequestParams ¶
type DeleteStreamPackageHarvestJobsRequestParams struct { // HarvestJob IDs, id is a globally unique identifier. IDs []*string `json:"IDs,omitnil,omitempty" name:"IDs"` }
Predefined struct for user
type DeleteStreamPackageHarvestJobsResponse ¶
type DeleteStreamPackageHarvestJobsResponse struct { *tchttp.BaseResponse Response *DeleteStreamPackageHarvestJobsResponseParams `json:"Response"` }
func NewDeleteStreamPackageHarvestJobsResponse ¶
func NewDeleteStreamPackageHarvestJobsResponse() (response *DeleteStreamPackageHarvestJobsResponse)
func (*DeleteStreamPackageHarvestJobsResponse) FromJsonString ¶
func (r *DeleteStreamPackageHarvestJobsResponse) 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 (*DeleteStreamPackageHarvestJobsResponse) ToJsonString ¶
func (r *DeleteStreamPackageHarvestJobsResponse) ToJsonString() string
type DeleteStreamPackageHarvestJobsResponseParams ¶
type DeleteStreamPackageHarvestJobsResponseParams 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 DescribeStreamPackageChannelRequest ¶
type DescribeStreamPackageChannelRequest struct { *tchttp.BaseRequest // Channel ID Id *string `json:"Id,omitnil,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 DescribeStreamPackageChannelRequestParams ¶
type DescribeStreamPackageChannelRequestParams struct { // Channel ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
Predefined struct for user
type DescribeStreamPackageChannelResponse ¶
type DescribeStreamPackageChannelResponse struct { *tchttp.BaseResponse Response *DescribeStreamPackageChannelResponseParams `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 DescribeStreamPackageChannelResponseParams ¶
type DescribeStreamPackageChannelResponseParams struct { // Channel information Info *ChannelInfo `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 DescribeStreamPackageChannelsRequest ¶
type DescribeStreamPackageChannelsRequest struct { *tchttp.BaseRequest // Page number. Value range: [1, 1000] PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Number of entries per page. Value range: [1, 1000] PageSize *uint64 `json:"PageSize,omitnil,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 DescribeStreamPackageChannelsRequestParams ¶
type DescribeStreamPackageChannelsRequestParams struct { // Page number. Value range: [1, 1000] PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Number of entries per page. Value range: [1, 1000] PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
Predefined struct for user
type DescribeStreamPackageChannelsResponse ¶
type DescribeStreamPackageChannelsResponse struct { *tchttp.BaseResponse Response *DescribeStreamPackageChannelsResponseParams `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 ¶
func (r *DescribeStreamPackageChannelsResponse) ToJsonString() string
type DescribeStreamPackageChannelsResponseParams ¶
type DescribeStreamPackageChannelsResponseParams struct { // List of channel information // Note: this field may return `null`, indicating that no valid value was found. Infos []*ChannelInfo `json:"Infos,omitnil,omitempty" name:"Infos"` // Page number PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // Number of entries per page PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Total number of entries TotalNum *uint64 `json:"TotalNum,omitnil,omitempty" name:"TotalNum"` // Total number of pages TotalPage *uint64 `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 DescribeStreamPackageHarvestJobRequest ¶
type DescribeStreamPackageHarvestJobRequest struct { *tchttp.BaseRequest // HarvestJob ID, a globally unique identifier. ID *string `json:"ID,omitnil,omitempty" name:"ID"` }
func NewDescribeStreamPackageHarvestJobRequest ¶
func NewDescribeStreamPackageHarvestJobRequest() (request *DescribeStreamPackageHarvestJobRequest)
func (*DescribeStreamPackageHarvestJobRequest) FromJsonString ¶
func (r *DescribeStreamPackageHarvestJobRequest) 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 (*DescribeStreamPackageHarvestJobRequest) ToJsonString ¶
func (r *DescribeStreamPackageHarvestJobRequest) ToJsonString() string
type DescribeStreamPackageHarvestJobRequestParams ¶
type DescribeStreamPackageHarvestJobRequestParams struct { // HarvestJob ID, a globally unique identifier. ID *string `json:"ID,omitnil,omitempty" name:"ID"` }
Predefined struct for user
type DescribeStreamPackageHarvestJobResponse ¶
type DescribeStreamPackageHarvestJobResponse struct { *tchttp.BaseResponse Response *DescribeStreamPackageHarvestJobResponseParams `json:"Response"` }
func NewDescribeStreamPackageHarvestJobResponse ¶
func NewDescribeStreamPackageHarvestJobResponse() (response *DescribeStreamPackageHarvestJobResponse)
func (*DescribeStreamPackageHarvestJobResponse) FromJsonString ¶
func (r *DescribeStreamPackageHarvestJobResponse) 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 (*DescribeStreamPackageHarvestJobResponse) ToJsonString ¶
func (r *DescribeStreamPackageHarvestJobResponse) ToJsonString() string
type DescribeStreamPackageHarvestJobResponseParams ¶
type DescribeStreamPackageHarvestJobResponseParams struct { // HarvestJob information. Info *HarvestJobResp `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 DescribeStreamPackageHarvestJobsRequest ¶
type DescribeStreamPackageHarvestJobsRequest struct { *tchttp.BaseRequest // The bound channel name. If not passed, all channels will be queried by default. ChannelName *string `json:"ChannelName,omitnil,omitempty" name:"ChannelName"` // Page number. PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // PageSize. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
func NewDescribeStreamPackageHarvestJobsRequest ¶
func NewDescribeStreamPackageHarvestJobsRequest() (request *DescribeStreamPackageHarvestJobsRequest)
func (*DescribeStreamPackageHarvestJobsRequest) FromJsonString ¶
func (r *DescribeStreamPackageHarvestJobsRequest) 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 (*DescribeStreamPackageHarvestJobsRequest) ToJsonString ¶
func (r *DescribeStreamPackageHarvestJobsRequest) ToJsonString() string
type DescribeStreamPackageHarvestJobsRequestParams ¶
type DescribeStreamPackageHarvestJobsRequestParams struct { // The bound channel name. If not passed, all channels will be queried by default. ChannelName *string `json:"ChannelName,omitnil,omitempty" name:"ChannelName"` // Page number. PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // PageSize. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
Predefined struct for user
type DescribeStreamPackageHarvestJobsResponse ¶
type DescribeStreamPackageHarvestJobsResponse struct { *tchttp.BaseResponse Response *DescribeStreamPackageHarvestJobsResponseParams `json:"Response"` }
func NewDescribeStreamPackageHarvestJobsResponse ¶
func NewDescribeStreamPackageHarvestJobsResponse() (response *DescribeStreamPackageHarvestJobsResponse)
func (*DescribeStreamPackageHarvestJobsResponse) FromJsonString ¶
func (r *DescribeStreamPackageHarvestJobsResponse) 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 (*DescribeStreamPackageHarvestJobsResponse) ToJsonString ¶
func (r *DescribeStreamPackageHarvestJobsResponse) ToJsonString() string
type DescribeStreamPackageHarvestJobsResponseParams ¶
type DescribeStreamPackageHarvestJobsResponseParams struct { // HarvestJob information list. Infos []*HarvestJobResp `json:"Infos,omitnil,omitempty" name:"Infos"` // Page number. PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"` // PageSize PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // TotalNum TotalNum *uint64 `json:"TotalNum,omitnil,omitempty" name:"TotalNum"` // 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 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,omitnil,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,omitnil,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,omitnil,omitempty" name:"AuthKey"` }
type EndpointInfo ¶
type EndpointInfo struct { // Endpoint name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Endpoint URL. Url *string `json:"Url,omitnil,omitempty" name:"Url"` // Endpoint authentication information. AuthInfo *EndpointAuthInfo `json:"AuthInfo,omitnil,omitempty" name:"AuthInfo"` // Endpoint protocol. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Manifest name, default is main. Manifest *string `json:"Manifest,omitnil,omitempty" name:"Manifest"` // Whether to turn on the time shift function, true: on, false: off, the default is off. TimeShiftEnable *bool `json:"TimeShiftEnable,omitnil,omitempty" name:"TimeShiftEnable"` // The number of days in the time shift window, up to 30 days. Valid when TimeShiftEnable is turned on. TimeShiftDuration *uint64 `json:"TimeShiftDuration,omitnil,omitempty" name:"TimeShiftDuration"` // Advertising insertion function switch. SSAIEnable *bool `json:"SSAIEnable,omitnil,omitempty" name:"SSAIEnable"` // Ad insertion function configuration information. SSAIInfo *SSAIConf `json:"SSAIInfo,omitnil,omitempty" name:"SSAIInfo"` // The customer-defined url parameter is inserted into the subscript at the specified position of the Endpoint url. The optional range of the subscript is: [0,3]. CustomUrlParamIndex *uint64 `json:"CustomUrlParamIndex,omitnil,omitempty" name:"CustomUrlParamIndex"` // Customer-defined url parameters are inserted into the specified position of the Endpoint url based on the CustomUrlParamIndex. // The parameters can only contain digits, letters, underscores (_), and hyphens (-), with a length of 1 to 64 chars. CustomUrlParam *string `json:"CustomUrlParam,omitnil,omitempty" name:"CustomUrlParam"` }
type HarvestJobResp ¶
type HarvestJobResp struct { // HarvestJob ID, a globally unique identifier. ID *string `json:"ID,omitnil,omitempty" name:"ID"` // The associated channel name. ChannelName *string `json:"ChannelName,omitnil,omitempty" name:"ChannelName"` // The associated endpoint name. EndpointName *string `json:"EndpointName,omitnil,omitempty" name:"EndpointName"` // Time format, supports the following types: 1. Epoch seconds 2. ISO-8601 TimeFormat *string `json:"TimeFormat,omitnil,omitempty" name:"TimeFormat"` // HarvestJob start time. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // HarvestJob end time. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // The path where the recording file is stored in COS. Destination *string `json:"Destination,omitnil,omitempty" name:"Destination"` // The file name of the recording file stored in COS. Manifest *string `json:"Manifest,omitnil,omitempty" name:"Manifest"` // The task status is divided into running: Running, execution completed: Completed, and execution failure: Failed. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // HarvestJob error message. ErrMessage *string `json:"ErrMessage,omitnil,omitempty" name:"ErrMessage"` // HarvestJob creation time, timestamp in seconds. CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // The associated ChannelID. ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"` // The region corresponding to the harvest job. Region *string `json:"Region,omitnil,omitempty" name:"Region"` }
type InputAuthInfo ¶
type InputAuthInfo struct { // Username. // Note: this field may return null, indicating that no valid values can be obtained. Username *string `json:"Username,omitnil,omitempty" name:"Username"` // Password. // Note: this field may return null, indicating that no valid values can be obtained. Password *string `json:"Password,omitnil,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,omitnil,omitempty" name:"Url"` // Channel input authentication information. AuthInfo *InputAuthInfo `json:"AuthInfo,omitnil,omitempty" name:"AuthInfo"` }
type ModifyStreamPackageChannelEndpointRequest ¶
type ModifyStreamPackageChannelEndpointRequest struct { *tchttp.BaseRequest // Channel ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Channel endpoint URL Url *string `json:"Url,omitnil,omitempty" name:"Url"` // New endpoint name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // New channel authentication information AuthInfo *EndpointAuthInfo `json:"AuthInfo,omitnil,omitempty" name:"AuthInfo"` // Endpoint protocol. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Whether to turn on the time shift function, true: on, false: off, the default is off. TimeShiftEnable *bool `json:"TimeShiftEnable,omitnil,omitempty" name:"TimeShiftEnable"` // The number of days in the time shift window, up to 30 days. Valid when TimeShiftEnable is turned on. TimeShiftDuration *uint64 `json:"TimeShiftDuration,omitnil,omitempty" name:"TimeShiftDuration"` // Advertising insertion function switch. SSAIEnable *bool `json:"SSAIEnable,omitnil,omitempty" name:"SSAIEnable"` // Ad insertion function configuration information. Valid when SSAIEnable is turned on. SSAIInfo *SSAIConf `json:"SSAIInfo,omitnil,omitempty" name:"SSAIInfo"` // The customer-defined url parameter is inserted into the subscript at the specified position of the Endpoint url. // Calculation starts from the first '/' in the url path, and the subscript starts from 0, the optional range of the subscript is: [0,3]. CustomUrlParamIndex *uint64 `json:"CustomUrlParamIndex,omitnil,omitempty" name:"CustomUrlParamIndex"` // Customer-defined url parameters are inserted into the specified position of the Endpoint url based on the CustomUrlParamIndex. // The parameters can only contain digits, letters, underscores (_), and hyphens (-), with a length of 1 to 64 chars. CustomUrlParam *string `json:"CustomUrlParam,omitnil,omitempty" name:"CustomUrlParam"` }
func NewModifyStreamPackageChannelEndpointRequest ¶
func NewModifyStreamPackageChannelEndpointRequest() (request *ModifyStreamPackageChannelEndpointRequest)
func (*ModifyStreamPackageChannelEndpointRequest) FromJsonString ¶
func (r *ModifyStreamPackageChannelEndpointRequest) 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 (*ModifyStreamPackageChannelEndpointRequest) ToJsonString ¶
func (r *ModifyStreamPackageChannelEndpointRequest) ToJsonString() string
type ModifyStreamPackageChannelEndpointRequestParams ¶
type ModifyStreamPackageChannelEndpointRequestParams struct { // Channel ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Channel endpoint URL Url *string `json:"Url,omitnil,omitempty" name:"Url"` // New endpoint name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // New channel authentication information AuthInfo *EndpointAuthInfo `json:"AuthInfo,omitnil,omitempty" name:"AuthInfo"` // Endpoint protocol. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Whether to turn on the time shift function, true: on, false: off, the default is off. TimeShiftEnable *bool `json:"TimeShiftEnable,omitnil,omitempty" name:"TimeShiftEnable"` // The number of days in the time shift window, up to 30 days. Valid when TimeShiftEnable is turned on. TimeShiftDuration *uint64 `json:"TimeShiftDuration,omitnil,omitempty" name:"TimeShiftDuration"` // Advertising insertion function switch. SSAIEnable *bool `json:"SSAIEnable,omitnil,omitempty" name:"SSAIEnable"` // Ad insertion function configuration information. Valid when SSAIEnable is turned on. SSAIInfo *SSAIConf `json:"SSAIInfo,omitnil,omitempty" name:"SSAIInfo"` // The customer-defined url parameter is inserted into the subscript at the specified position of the Endpoint url. // Calculation starts from the first '/' in the url path, and the subscript starts from 0, the optional range of the subscript is: [0,3]. CustomUrlParamIndex *uint64 `json:"CustomUrlParamIndex,omitnil,omitempty" name:"CustomUrlParamIndex"` // Customer-defined url parameters are inserted into the specified position of the Endpoint url based on the CustomUrlParamIndex. // The parameters can only contain digits, letters, underscores (_), and hyphens (-), with a length of 1 to 64 chars. CustomUrlParam *string `json:"CustomUrlParam,omitnil,omitempty" name:"CustomUrlParam"` }
Predefined struct for user
type ModifyStreamPackageChannelEndpointResponse ¶
type ModifyStreamPackageChannelEndpointResponse struct { *tchttp.BaseResponse Response *ModifyStreamPackageChannelEndpointResponseParams `json:"Response"` }
func NewModifyStreamPackageChannelEndpointResponse ¶
func NewModifyStreamPackageChannelEndpointResponse() (response *ModifyStreamPackageChannelEndpointResponse)
func (*ModifyStreamPackageChannelEndpointResponse) FromJsonString ¶
func (r *ModifyStreamPackageChannelEndpointResponse) 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 (*ModifyStreamPackageChannelEndpointResponse) ToJsonString ¶
func (r *ModifyStreamPackageChannelEndpointResponse) ToJsonString() string
type ModifyStreamPackageChannelEndpointResponseParams ¶
type ModifyStreamPackageChannelEndpointResponseParams 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 ModifyStreamPackageChannelInputAuthInfoRequest ¶
type ModifyStreamPackageChannelInputAuthInfoRequest struct { *tchttp.BaseRequest // Channel ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Channel input URL Url *string `json:"Url,omitnil,omitempty" name:"Url"` // Authentication configuration. Valid values: `CLOSE`, `UPDATE` // `CLOSE`: disable authentication // `UPDATE`: update authentication information ActionType *string `json:"ActionType,omitnil,omitempty" name:"ActionType"` }
func NewModifyStreamPackageChannelInputAuthInfoRequest ¶
func NewModifyStreamPackageChannelInputAuthInfoRequest() (request *ModifyStreamPackageChannelInputAuthInfoRequest)
func (*ModifyStreamPackageChannelInputAuthInfoRequest) FromJsonString ¶
func (r *ModifyStreamPackageChannelInputAuthInfoRequest) 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 (*ModifyStreamPackageChannelInputAuthInfoRequest) ToJsonString ¶
func (r *ModifyStreamPackageChannelInputAuthInfoRequest) ToJsonString() string
type ModifyStreamPackageChannelInputAuthInfoRequestParams ¶
type ModifyStreamPackageChannelInputAuthInfoRequestParams struct { // Channel ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Channel input URL Url *string `json:"Url,omitnil,omitempty" name:"Url"` // Authentication configuration. Valid values: `CLOSE`, `UPDATE` // `CLOSE`: disable authentication // `UPDATE`: update authentication information ActionType *string `json:"ActionType,omitnil,omitempty" name:"ActionType"` }
Predefined struct for user
type ModifyStreamPackageChannelInputAuthInfoResponse ¶
type ModifyStreamPackageChannelInputAuthInfoResponse struct { *tchttp.BaseResponse Response *ModifyStreamPackageChannelInputAuthInfoResponseParams `json:"Response"` }
func NewModifyStreamPackageChannelInputAuthInfoResponse ¶
func NewModifyStreamPackageChannelInputAuthInfoResponse() (response *ModifyStreamPackageChannelInputAuthInfoResponse)
func (*ModifyStreamPackageChannelInputAuthInfoResponse) FromJsonString ¶
func (r *ModifyStreamPackageChannelInputAuthInfoResponse) 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 (*ModifyStreamPackageChannelInputAuthInfoResponse) ToJsonString ¶
func (r *ModifyStreamPackageChannelInputAuthInfoResponse) ToJsonString() string
type ModifyStreamPackageChannelInputAuthInfoResponseParams ¶
type ModifyStreamPackageChannelInputAuthInfoResponseParams struct { // Channel input authentication information AuthInfo *InputAuthInfo `json:"AuthInfo,omitnil,omitempty" name:"AuthInfo"` // 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 ModifyStreamPackageChannelRequest ¶
type ModifyStreamPackageChannelRequest struct { *tchttp.BaseRequest // Channel ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // New channel name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // New channel protocol. Valid values: HLS, DASH Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Cache configuration CacheInfo *CacheInfo `json:"CacheInfo,omitnil,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 ModifyStreamPackageChannelRequestParams ¶
type ModifyStreamPackageChannelRequestParams struct { // Channel ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // New channel name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // New channel protocol. Valid values: HLS, DASH Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Cache configuration CacheInfo *CacheInfo `json:"CacheInfo,omitnil,omitempty" name:"CacheInfo"` }
Predefined struct for user
type ModifyStreamPackageChannelResponse ¶
type ModifyStreamPackageChannelResponse struct { *tchttp.BaseResponse Response *ModifyStreamPackageChannelResponseParams `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 ModifyStreamPackageChannelResponseParams ¶
type ModifyStreamPackageChannelResponseParams 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 PointInfo ¶
type PointInfo struct { // Channel input list. Inputs []*InputInfo `json:"Inputs,omitnil,omitempty" name:"Inputs"` // Channel output list. // Note: this field may return null, indicating that no valid values can be obtained. Endpoints []*EndpointInfo `json:"Endpoints,omitnil,omitempty" name:"Endpoints"` }
type SSAIConf ¶
type SSAIConf struct { // Advertising Decision Server URL (ADS). AdsUrl *string `json:"AdsUrl,omitnil,omitempty" name:"AdsUrl"` // Parameter configuration. ConfigAliases []*ConfigAliasesInfo `json:"ConfigAliases,omitnil,omitempty" name:"ConfigAliases"` // Default advertising url. SlateAd *string `json:"SlateAd,omitnil,omitempty" name:"SlateAd"` // Maximum unfilled duration, unit: seconds. Threshold *uint64 `json:"Threshold,omitnil,omitempty" name:"Threshold"` // Whether to enable mpd location, true corresponds to enable, false corresponds to disable. DashMPDLocation *bool `json:"DashMPDLocation,omitnil,omitempty" name:"DashMPDLocation"` // Whether to enable transparent transmission of advertising tags. AdMarkerPassthrough *bool `json:"AdMarkerPassthrough,omitnil,omitempty" name:"AdMarkerPassthrough"` // How to process tags in advertisements, optional values: [1,2] // 1: Process all SCTE-35 type tags - all (default) // 2: SCTE-35enhanced, parse some types. SCTE35AdType *uint64 `json:"SCTE35AdType,omitnil,omitempty" name:"SCTE35AdType"` // The type of tag that is regarded as an advertisement, optional values: [1,8] // 1. Splice insert // 2. Provider advertisement // 3. Distributor advertisement // 4. Provider placement opportunity // 5. Distributor placement opportunity // 6. Break // 7. Provider overlay placement opportunity // 8. Distributor overlay placement opportunity. AdTriggers []*uint64 `json:"AdTriggers,omitnil,omitempty" name:"AdTriggers"` // The type of distribution restriction that is considered an advertisement, optional values: [1,4] // 1:None // 2:Restricted (default) // 3:Unrestricted // 4.Both. DeliveryRestrictions *uint64 `json:"DeliveryRestrictions,omitnil,omitempty" name:"DeliveryRestrictions"` }
type UnbindCdnDomainWithChannelRequest ¶
type UnbindCdnDomainWithChannelRequest struct { *tchttp.BaseRequest // Channel ID ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"` // CDN playback domain name CdnDomain *string `json:"CdnDomain,omitnil,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 UnbindCdnDomainWithChannelRequestParams ¶
type UnbindCdnDomainWithChannelRequestParams struct { // Channel ID ChannelId *string `json:"ChannelId,omitnil,omitempty" name:"ChannelId"` // CDN playback domain name CdnDomain *string `json:"CdnDomain,omitnil,omitempty" name:"CdnDomain"` }
Predefined struct for user
type UnbindCdnDomainWithChannelResponse ¶
type UnbindCdnDomainWithChannelResponse struct { *tchttp.BaseResponse Response *UnbindCdnDomainWithChannelResponseParams `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
type UnbindCdnDomainWithChannelResponseParams ¶
type UnbindCdnDomainWithChannelResponseParams 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