Documentation
¶
Index ¶
- Constants
- 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) 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) 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) 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 CreateStreamPackageChannelEndpointRequest
- type CreateStreamPackageChannelEndpointRequestParams
- type CreateStreamPackageChannelEndpointResponse
- type CreateStreamPackageChannelEndpointResponseParams
- type CreateStreamPackageChannelRequest
- type CreateStreamPackageChannelRequestParams
- type CreateStreamPackageChannelResponse
- type CreateStreamPackageChannelResponseParams
- type DeleteStreamPackageChannelEndpointsRequest
- type DeleteStreamPackageChannelEndpointsRequestParams
- type DeleteStreamPackageChannelEndpointsResponse
- type DeleteStreamPackageChannelEndpointsResponseParams
- type DeleteStreamPackageChannelsRequest
- type DeleteStreamPackageChannelsRequestParams
- type DeleteStreamPackageChannelsResponse
- type DeleteStreamPackageChannelsResponseParams
- type DescribeStreamPackageChannelRequest
- type DescribeStreamPackageChannelRequestParams
- type DescribeStreamPackageChannelResponse
- type DescribeStreamPackageChannelResponseParams
- type DescribeStreamPackageChannelsRequest
- type DescribeStreamPackageChannelsRequestParams
- type DescribeStreamPackageChannelsResponse
- type DescribeStreamPackageChannelsResponseParams
- type EndpointAuthInfo
- type EndpointInfo
- 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 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" // 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" )
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,omitnil" name:"ChannelId"`
// The LVB domain name to bind
LVBDomain *string `json:"LVBDomain,omitnil" 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" name:"ChannelId"`
// The LVB domain name to bind
LVBDomain *string `json:"LVBDomain,omitnil" 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" name:"LVBDomain"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil" 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" 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" 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" name:"Ext"`
}
type ChannelInfo ¶
type ChannelInfo struct {
// Channel ID.
Id *string `json:"Id,omitnil" name:"Id"`
// Channel name.
Name *string `json:"Name,omitnil" name:"Name"`
// Channel protocol.
Protocol *string `json:"Protocol,omitnil" name:"Protocol"`
// Channel input and output.
Points *PointInfo `json:"Points,omitnil" name:"Points"`
// Cache configuration
// Note: this field may return `null`, indicating that no valid value was found.
CacheInfo *CacheInfo `json:"CacheInfo,omitnil" 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"
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"
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) 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) 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) 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) 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_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 CreateStreamPackageChannelEndpointRequest ¶
type CreateStreamPackageChannelEndpointRequest struct {
*tchttp.BaseRequest
// Channel ID
Id *string `json:"Id,omitnil" name:"Id"`
// Endpoint name, which must contain 1 to 32 characters and supports digits, letters, and underscores
Name *string `json:"Name,omitnil" name:"Name"`
// Authentication information
AuthInfo *EndpointAuthInfo `json:"AuthInfo,omitnil" name:"AuthInfo"`
}
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" name:"Id"`
// Endpoint name, which must contain 1 to 32 characters and supports digits, letters, and underscores
Name *string `json:"Name,omitnil" name:"Name"`
// Authentication information
AuthInfo *EndpointAuthInfo `json:"AuthInfo,omitnil" name:"AuthInfo"`
}
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" name:"Info"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}
Predefined struct for user
type CreateStreamPackageChannelRequest ¶
type CreateStreamPackageChannelRequest struct {
*tchttp.BaseRequest
// Channel name
Name *string `json:"Name,omitnil" name:"Name"`
// Channel protocol. Valid values: HLS, DASH
Protocol *string `json:"Protocol,omitnil" name:"Protocol"`
// Cache configuration
CacheInfo *CacheInfo `json:"CacheInfo,omitnil" 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" name:"Name"`
// Channel protocol. Valid values: HLS, DASH
Protocol *string `json:"Protocol,omitnil" name:"Protocol"`
// Cache configuration
CacheInfo *CacheInfo `json:"CacheInfo,omitnil" 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" name:"Info"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}
Predefined struct for user
type DeleteStreamPackageChannelEndpointsRequest ¶
type DeleteStreamPackageChannelEndpointsRequest struct {
*tchttp.BaseRequest
// Channel ID
Id *string `json:"Id,omitnil" name:"Id"`
// List of the URLs of the endpoints to delete
Urls []*string `json:"Urls,omitnil" 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" name:"Id"`
// List of the URLs of the endpoints to delete
Urls []*string `json:"Urls,omitnil" 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, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil" 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" 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" 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" name:"SuccessInfos"`
// List of the information of the channels that failed to be deleted
FailInfos []*ChannelInfo `json:"FailInfos,omitnil" name:"FailInfos"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}
Predefined struct for user
type DescribeStreamPackageChannelRequest ¶
type DescribeStreamPackageChannelRequest struct {
*tchttp.BaseRequest
// Channel ID
Id *string `json:"Id,omitnil" 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" 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" name:"Info"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}
Predefined struct for user
type DescribeStreamPackageChannelsRequest ¶
type DescribeStreamPackageChannelsRequest struct {
*tchttp.BaseRequest
// Page number. Value range: [1, 1000]
PageNum *uint64 `json:"PageNum,omitnil" name:"PageNum"`
// Number of entries per page. Value range: [1, 1000]
PageSize *uint64 `json:"PageSize,omitnil" 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" name:"PageNum"`
// Number of entries per page. Value range: [1, 1000]
PageSize *uint64 `json:"PageSize,omitnil" 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" name:"Infos"`
// Page number
PageNum *uint64 `json:"PageNum,omitnil" name:"PageNum"`
// Number of entries per page
PageSize *uint64 `json:"PageSize,omitnil" name:"PageSize"`
// Total number of entries
TotalNum *uint64 `json:"TotalNum,omitnil" name:"TotalNum"`
// Total number of pages
TotalPage *uint64 `json:"TotalPage,omitnil" name:"TotalPage"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil" 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" 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" 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" name:"AuthKey"`
}
type EndpointInfo ¶
type EndpointInfo struct {
// Endpoint name.
Name *string `json:"Name,omitnil" name:"Name"`
// Endpoint URL.
Url *string `json:"Url,omitnil" name:"Url"`
// Endpoint authentication information.
AuthInfo *EndpointAuthInfo `json:"AuthInfo,omitnil" 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,omitnil" name:"Username"`
// Password.
// Note: this field may return null, indicating that no valid values can be obtained.
Password *string `json:"Password,omitnil" 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" name:"Url"`
// Channel input authentication information.
AuthInfo *InputAuthInfo `json:"AuthInfo,omitnil" name:"AuthInfo"`
}
type ModifyStreamPackageChannelEndpointRequest ¶
type ModifyStreamPackageChannelEndpointRequest struct {
*tchttp.BaseRequest
// Channel ID
Id *string `json:"Id,omitnil" name:"Id"`
// Channel endpoint URL
Url *string `json:"Url,omitnil" name:"Url"`
// New endpoint name
Name *string `json:"Name,omitnil" name:"Name"`
// New channel authentication information
AuthInfo *EndpointAuthInfo `json:"AuthInfo,omitnil" name:"AuthInfo"`
}
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" name:"Id"`
// Channel endpoint URL
Url *string `json:"Url,omitnil" name:"Url"`
// New endpoint name
Name *string `json:"Name,omitnil" name:"Name"`
// New channel authentication information
AuthInfo *EndpointAuthInfo `json:"AuthInfo,omitnil" name:"AuthInfo"`
}
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, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}
Predefined struct for user
type ModifyStreamPackageChannelInputAuthInfoRequest ¶
type ModifyStreamPackageChannelInputAuthInfoRequest struct {
*tchttp.BaseRequest
// Channel ID
Id *string `json:"Id,omitnil" name:"Id"`
// Channel input URL
Url *string `json:"Url,omitnil" name:"Url"`
// Authentication configuration. Valid values: `CLOSE`, `UPDATE`
// `CLOSE`: disable authentication
// `UPDATE`: update authentication information
ActionType *string `json:"ActionType,omitnil" 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" name:"Id"`
// Channel input URL
Url *string `json:"Url,omitnil" name:"Url"`
// Authentication configuration. Valid values: `CLOSE`, `UPDATE`
// `CLOSE`: disable authentication
// `UPDATE`: update authentication information
ActionType *string `json:"ActionType,omitnil" 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" name:"AuthInfo"`
// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}
Predefined struct for user
type ModifyStreamPackageChannelRequest ¶
type ModifyStreamPackageChannelRequest struct {
*tchttp.BaseRequest
// Channel ID
Id *string `json:"Id,omitnil" name:"Id"`
// New channel name
Name *string `json:"Name,omitnil" name:"Name"`
// New channel protocol. Valid values: HLS, DASH
Protocol *string `json:"Protocol,omitnil" name:"Protocol"`
// Cache configuration
CacheInfo *CacheInfo `json:"CacheInfo,omitnil" 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" name:"Id"`
// New channel name
Name *string `json:"Name,omitnil" name:"Name"`
// New channel protocol. Valid values: HLS, DASH
Protocol *string `json:"Protocol,omitnil" name:"Protocol"`
// Cache configuration
CacheInfo *CacheInfo `json:"CacheInfo,omitnil" 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, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}
Predefined struct for user
type PointInfo ¶
type PointInfo struct {
// Channel input list.
Inputs []*InputInfo `json:"Inputs,omitnil" name:"Inputs"`
// Channel output list.
// Note: this field may return null, indicating that no valid values can be obtained.
Endpoints []*EndpointInfo `json:"Endpoints,omitnil" name:"Endpoints"`
}
type UnbindCdnDomainWithChannelRequest ¶
type UnbindCdnDomainWithChannelRequest struct {
*tchttp.BaseRequest
// Channel ID
ChannelId *string `json:"ChannelId,omitnil" name:"ChannelId"`
// CDN playback domain name
CdnDomain *string `json:"CdnDomain,omitnil" 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" name:"ChannelId"`
// CDN playback domain name
CdnDomain *string `json:"CdnDomain,omitnil" 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, which is returned for each request. RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}
Predefined struct for user