Prechádzať zdrojové kódy

Generated 2016-11-01 for live.

sdk-team 6 rokov pred
rodič
commit
deb3748756
100 zmenil súbory, kde vykonal 2006 pridanie a 193 odobranie
  1. 3 0
      ChangeLog.txt
  2. 5 5
      services/live/add_caster_component.go
  3. 3 3
      services/live/add_caster_episode.go
  4. 4 4
      services/live/add_caster_episode_group.go
  5. 1 1
      services/live/add_caster_episode_group_content.go
  6. 5 5
      services/live/add_caster_layout.go
  7. 5 5
      services/live/add_caster_program.go
  8. 2 2
      services/live/add_caster_video_resource.go
  9. 6 6
      services/live/add_custom_live_stream_transcode.go
  10. 6 6
      services/live/add_live_app_record_config.go
  11. 3 3
      services/live/add_live_app_snapshot_config.go
  12. 2 2
      services/live/add_live_detect_notify_config.go
  13. 2 2
      services/live/add_live_domain.go
  14. 1 1
      services/live/add_live_domain_mapping.go
  15. 3 3
      services/live/add_live_pull_stream_info_config.go
  16. 2 2
      services/live/add_live_record_notify_config.go
  17. 5 4
      services/live/add_live_record_vod_config.go
  18. 5 5
      services/live/add_live_snapshot_detect_porn_config.go
  19. 2 2
      services/live/add_live_stream_transcode.go
  20. 4 4
      services/live/add_trancode_sei.go
  21. 1 1
      services/live/batch_delete_live_domain_configs.go
  22. 1 1
      services/live/batch_set_live_domain_configs.go
  23. 25 0
      services/live/client.go
  24. 2 2
      services/live/copy_caster.go
  25. 1 1
      services/live/copy_caster_scene_config.go
  26. 3 3
      services/live/create_caster.go
  27. 107 0
      services/live/create_live_real_time_log_delivery.go
  28. 5 5
      services/live/create_live_stream_record_index_files.go
  29. 1 1
      services/live/delete_caster.go
  30. 1 1
      services/live/delete_caster_episode_group.go
  31. 1 1
      services/live/delete_caster_layout.go
  32. 2 2
      services/live/delete_caster_scene_config.go
  33. 1 1
      services/live/delete_live_app_record_config.go
  34. 1 1
      services/live/delete_live_detect_notify_config.go
  35. 1 1
      services/live/delete_live_domain.go
  36. 1 1
      services/live/delete_live_domain_mapping.go
  37. 1 1
      services/live/delete_live_pull_stream_info_config.go
  38. 106 0
      services/live/delete_live_real_time_log_logstore.go
  39. 107 0
      services/live/delete_live_realtime_log_delivery.go
  40. 1 1
      services/live/delete_live_record_notify_config.go
  41. 4 5
      services/live/delete_live_record_vod_config.go
  42. 2 2
      services/live/delete_live_snapshot_detect_porn_config.go
  43. 2 2
      services/live/delete_live_stream_transcode.go
  44. 2 2
      services/live/describe_board_events.go
  45. 2 2
      services/live/describe_boards.go
  46. 1 1
      services/live/describe_caster_layouts.go
  47. 3 3
      services/live/describe_caster_program.go
  48. 1 1
      services/live/describe_caster_scene_audio.go
  49. 1 1
      services/live/describe_caster_scenes.go
  50. 106 0
      services/live/describe_caster_sync_group.go
  51. 3 3
      services/live/describe_casters.go
  52. 1 1
      services/live/describe_hls_live_stream_real_time_bps_data.go
  53. 1 1
      services/live/describe_live_certificate_detail.go
  54. 1 1
      services/live/describe_live_certificate_list.go
  55. 1 1
      services/live/describe_live_detect_notify_config.go
  56. 113 0
      services/live/describe_live_detect_porn_data.go
  57. 3 3
      services/live/describe_live_domain_bps_data.go
  58. 110 0
      services/live/describe_live_domain_bps_data_by_time_stamp.go
  59. 1 1
      services/live/describe_live_domain_configs.go
  60. 1 1
      services/live/describe_live_domain_detail.go
  61. 106 0
      services/live/describe_live_domain_frame_rate_and_bit_rate_data.go
  62. 108 0
      services/live/describe_live_domain_online_user_num.go
  63. 108 0
      services/live/describe_live_domain_realtime_log_delivery.go
  64. 1 1
      services/live/describe_live_domain_record_data.go
  65. 1 1
      services/live/describe_live_domain_snapshot_data.go
  66. 3 3
      services/live/describe_live_domain_traffic_data.go
  67. 1 1
      services/live/describe_live_domain_transcode_data.go
  68. 1 1
      services/live/describe_live_pull_stream_config.go
  69. 109 0
      services/live/describe_live_realtime_delivery_acc.go
  70. 105 0
      services/live/describe_live_realtime_log_authorized.go
  71. 3 3
      services/live/describe_live_record_config.go
  72. 1 1
      services/live/describe_live_record_notify_config.go
  73. 3 3
      services/live/describe_live_record_vod_configs.go
  74. 3 3
      services/live/describe_live_snapshot_config.go
  75. 3 3
      services/live/describe_live_snapshot_detect_porn_config.go
  76. 2 2
      services/live/describe_live_stream_bit_rate_data.go
  77. 2 2
      services/live/describe_live_stream_history_user_num.go
  78. 5 5
      services/live/describe_live_stream_online_user_num.go
  79. 2 2
      services/live/describe_live_stream_record_content.go
  80. 2 2
      services/live/describe_live_stream_record_index_file.go
  81. 5 5
      services/live/describe_live_stream_record_index_files.go
  82. 4 4
      services/live/describe_live_stream_snapshot_info.go
  83. 2 2
      services/live/describe_live_streams_block_list.go
  84. 1 1
      services/live/describe_live_streams_control_history.go
  85. 2 2
      services/live/describe_live_streams_frame_rate_and_bit_rate_data.go
  86. 5 5
      services/live/describe_live_streams_online_list.go
  87. 8 8
      services/live/describe_live_user_domains.go
  88. 1 1
      services/live/describe_up_bps_peak_data.go
  89. 1 1
      services/live/describe_up_bps_peak_of_line.go
  90. 1 1
      services/live/describe_up_peak_publish_stream_data.go
  91. 104 0
      services/live/disable_live_realtime_log_delivery.go
  92. 1 1
      services/live/effect_caster_urgent.go
  93. 1 1
      services/live/effect_caster_video_resource.go
  94. 104 0
      services/live/enable_live_realtime_log_delivery.go
  95. 75 0
      services/live/endpoint.go
  96. 3 3
      services/live/forbid_live_stream.go
  97. 105 0
      services/live/list_live_realtime_log_delivery.go
  98. 107 0
      services/live/list_live_realtime_log_delivery_domains.go
  99. 105 0
      services/live/list_live_realtime_log_delivery_infos.go
  100. 5 5
      services/live/modify_caster_component.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-09-18 Version: 1.60.163
+- Generated 2016-11-01 for `live`.
+
 2019-09-18 Version: 1.60.162
 - Add AHAS OpenAPI version 2019-09-01.
 

+ 5 - 5
services/live/add_caster_component.go

@@ -76,15 +76,15 @@ func (client *Client) AddCasterComponentWithCallback(request *AddCasterComponent
 // AddCasterComponentRequest is the request struct for api AddCasterComponent
 type AddCasterComponentRequest struct {
 	*requests.RpcRequest
-	ComponentType       string           `position:"Query" name:"ComponentType"`
-	LocationId          string           `position:"Query" name:"LocationId"`
 	ImageLayerContent   string           `position:"Query" name:"ImageLayerContent"`
+	ComponentName       string           `position:"Query" name:"ComponentName"`
 	CasterId            string           `position:"Query" name:"CasterId"`
-	Effect              string           `position:"Query" name:"Effect"`
 	ComponentLayer      string           `position:"Query" name:"ComponentLayer"`
-	CaptionLayerContent string           `position:"Query" name:"CaptionLayerContent"`
-	ComponentName       string           `position:"Query" name:"ComponentName"`
 	OwnerId             requests.Integer `position:"Query" name:"OwnerId"`
+	ComponentType       string           `position:"Query" name:"ComponentType"`
+	LocationId          string           `position:"Query" name:"LocationId"`
+	Effect              string           `position:"Query" name:"Effect"`
+	CaptionLayerContent string           `position:"Query" name:"CaptionLayerContent"`
 	TextLayerContent    string           `position:"Query" name:"TextLayerContent"`
 }
 

+ 3 - 3
services/live/add_caster_episode.go

@@ -76,15 +76,15 @@ func (client *Client) AddCasterEpisodeWithCallback(request *AddCasterEpisodeRequ
 // AddCasterEpisodeRequest is the request struct for api AddCasterEpisode
 type AddCasterEpisodeRequest struct {
 	*requests.RpcRequest
+	EpisodeName string           `position:"Query" name:"EpisodeName"`
+	StartTime   string           `position:"Query" name:"StartTime"`
 	ResourceId  string           `position:"Query" name:"ResourceId"`
 	ComponentId *[]string        `position:"Query" name:"ComponentId"  type:"Repeated"`
-	SwitchType  string           `position:"Query" name:"SwitchType"`
 	CasterId    string           `position:"Query" name:"CasterId"`
 	EpisodeType string           `position:"Query" name:"EpisodeType"`
-	EpisodeName string           `position:"Query" name:"EpisodeName"`
 	EndTime     string           `position:"Query" name:"EndTime"`
-	StartTime   string           `position:"Query" name:"StartTime"`
 	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+	SwitchType  string           `position:"Query" name:"SwitchType"`
 }
 
 // AddCasterEpisodeResponse is the response struct for api AddCasterEpisode

+ 4 - 4
services/live/add_caster_episode_group.go

@@ -76,20 +76,20 @@ func (client *Client) AddCasterEpisodeGroupWithCallback(request *AddCasterEpisod
 // AddCasterEpisodeGroupRequest is the request struct for api AddCasterEpisodeGroup
 type AddCasterEpisodeGroupRequest struct {
 	*requests.RpcRequest
+	ClientToken   string                       `position:"Query" name:"ClientToken"`
+	StartTime     string                       `position:"Query" name:"StartTime"`
 	SideOutputUrl string                       `position:"Query" name:"SideOutputUrl"`
 	Item          *[]AddCasterEpisodeGroupItem `position:"Query" name:"Item"  type:"Repeated"`
-	ClientToken   string                       `position:"Query" name:"ClientToken"`
 	DomainName    string                       `position:"Query" name:"DomainName"`
-	StartTime     string                       `position:"Query" name:"StartTime"`
+	OwnerId       requests.Integer             `position:"Query" name:"OwnerId"`
 	RepeatNum     requests.Integer             `position:"Query" name:"RepeatNum"`
 	CallbackUrl   string                       `position:"Query" name:"CallbackUrl"`
-	OwnerId       requests.Integer             `position:"Query" name:"OwnerId"`
 }
 
 // AddCasterEpisodeGroupItem is a repeated param struct in AddCasterEpisodeGroupRequest
 type AddCasterEpisodeGroupItem struct {
-	VodUrl   string `name:"VodUrl"`
 	ItemName string `name:"ItemName"`
+	VodUrl   string `name:"VodUrl"`
 }
 
 // AddCasterEpisodeGroupResponse is the response struct for api AddCasterEpisodeGroup

+ 1 - 1
services/live/add_caster_episode_group_content.go

@@ -77,8 +77,8 @@ func (client *Client) AddCasterEpisodeGroupContentWithCallback(request *AddCaste
 type AddCasterEpisodeGroupContentRequest struct {
 	*requests.RpcRequest
 	ClientToken string           `position:"Query" name:"ClientToken"`
-	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
 	Content     string           `position:"Query" name:"Content"`
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // AddCasterEpisodeGroupContentResponse is the response struct for api AddCasterEpisodeGroupContent

+ 5 - 5
services/live/add_caster_layout.go

@@ -77,28 +77,28 @@ func (client *Client) AddCasterLayoutWithCallback(request *AddCasterLayoutReques
 type AddCasterLayoutRequest struct {
 	*requests.RpcRequest
 	BlendList  *[]string                    `position:"Query" name:"BlendList"  type:"Repeated"`
+	CasterId   string                       `position:"Query" name:"CasterId"`
+	OwnerId    requests.Integer             `position:"Query" name:"OwnerId"`
 	AudioLayer *[]AddCasterLayoutAudioLayer `position:"Query" name:"AudioLayer"  type:"Repeated"`
 	VideoLayer *[]AddCasterLayoutVideoLayer `position:"Query" name:"VideoLayer"  type:"Repeated"`
-	CasterId   string                       `position:"Query" name:"CasterId"`
 	MixList    *[]string                    `position:"Query" name:"MixList"  type:"Repeated"`
-	OwnerId    requests.Integer             `position:"Query" name:"OwnerId"`
 }
 
 // AddCasterLayoutAudioLayer is a repeated param struct in AddCasterLayoutRequest
 type AddCasterLayoutAudioLayer struct {
-	FixedDelayDuration string `name:"FixedDelayDuration"`
 	VolumeRate         string `name:"VolumeRate"`
 	ValidChannel       string `name:"ValidChannel"`
+	FixedDelayDuration string `name:"FixedDelayDuration"`
 }
 
 // AddCasterLayoutVideoLayer is a repeated param struct in AddCasterLayoutRequest
 type AddCasterLayoutVideoLayer struct {
 	FillMode           string    `name:"FillMode"`
+	HeightNormalized   string    `name:"HeightNormalized"`
 	WidthNormalized    string    `name:"WidthNormalized"`
-	FixedDelayDuration string    `name:"FixedDelayDuration"`
 	PositionRefer      string    `name:"PositionRefer"`
 	PositionNormalized *[]string `name:"PositionNormalized" type:"Repeated"`
-	HeightNormalized   string    `name:"HeightNormalized"`
+	FixedDelayDuration string    `name:"FixedDelayDuration"`
 }
 
 // AddCasterLayoutResponse is the response struct for api AddCasterLayout

+ 5 - 5
services/live/add_caster_program.go

@@ -76,20 +76,20 @@ func (client *Client) AddCasterProgramWithCallback(request *AddCasterProgramRequ
 // AddCasterProgramRequest is the request struct for api AddCasterProgram
 type AddCasterProgramRequest struct {
 	*requests.RpcRequest
-	CasterId string                     `position:"Query" name:"CasterId"`
 	Episode  *[]AddCasterProgramEpisode `position:"Query" name:"Episode"  type:"Repeated"`
+	CasterId string                     `position:"Query" name:"CasterId"`
 	OwnerId  requests.Integer           `position:"Query" name:"OwnerId"`
 }
 
 // AddCasterProgramEpisode is a repeated param struct in AddCasterProgramRequest
 type AddCasterProgramEpisode struct {
-	ResourceId  string    `name:"ResourceId"`
-	ComponentId *[]string `name:"ComponentId" type:"Repeated"`
-	SwitchType  string    `name:"SwitchType"`
 	EpisodeType string    `name:"EpisodeType"`
 	EpisodeName string    `name:"EpisodeName"`
-	EndTime     string    `name:"EndTime"`
+	ResourceId  string    `name:"ResourceId"`
+	ComponentId *[]string `name:"ComponentId" type:"Repeated"`
 	StartTime   string    `name:"StartTime"`
+	EndTime     string    `name:"EndTime"`
+	SwitchType  string    `name:"SwitchType"`
 }
 
 // AddCasterProgramResponse is the response struct for api AddCasterProgram

+ 2 - 2
services/live/add_caster_video_resource.go

@@ -76,11 +76,11 @@ func (client *Client) AddCasterVideoResourceWithCallback(request *AddCasterVideo
 // AddCasterVideoResourceRequest is the request struct for api AddCasterVideoResource
 type AddCasterVideoResourceRequest struct {
 	*requests.RpcRequest
+	EndOffset           requests.Integer `position:"Query" name:"EndOffset"`
+	MaterialId          string           `position:"Query" name:"MaterialId"`
 	VodUrl              string           `position:"Query" name:"VodUrl"`
 	CasterId            string           `position:"Query" name:"CasterId"`
-	EndOffset           requests.Integer `position:"Query" name:"EndOffset"`
 	OwnerId             requests.Integer `position:"Query" name:"OwnerId"`
-	MaterialId          string           `position:"Query" name:"MaterialId"`
 	BeginOffset         requests.Integer `position:"Query" name:"BeginOffset"`
 	LiveStreamUrl       string           `position:"Query" name:"LiveStreamUrl"`
 	LocationId          string           `position:"Query" name:"LocationId"`

+ 6 - 6
services/live/add_custom_live_stream_transcode.go

@@ -76,22 +76,22 @@ func (client *Client) AddCustomLiveStreamTranscodeWithCallback(request *AddCusto
 // AddCustomLiveStreamTranscodeRequest is the request struct for api AddCustomLiveStreamTranscode
 type AddCustomLiveStreamTranscodeRequest struct {
 	*requests.RpcRequest
-	App             string           `position:"Query" name:"App"`
 	Template        string           `position:"Query" name:"Template"`
+	Gop             string           `position:"Query" name:"Gop"`
+	AudioCodec      string           `position:"Query" name:"AudioCodec"`
+	TemplateType    string           `position:"Query" name:"TemplateType"`
+	AudioProfile    string           `position:"Query" name:"AudioProfile"`
+	Height          requests.Integer `position:"Query" name:"Height"`
+	App             string           `position:"Query" name:"App"`
 	AudioChannelNum requests.Integer `position:"Query" name:"AudioChannelNum"`
 	Profile         requests.Integer `position:"Query" name:"Profile"`
 	FPS             requests.Integer `position:"Query" name:"FPS"`
-	Gop             string           `position:"Query" name:"Gop"`
 	OwnerId         requests.Integer `position:"Query" name:"OwnerId"`
-	AudioCodec      string           `position:"Query" name:"AudioCodec"`
 	AudioRate       requests.Integer `position:"Query" name:"AudioRate"`
-	TemplateType    string           `position:"Query" name:"TemplateType"`
 	AudioBitrate    requests.Integer `position:"Query" name:"AudioBitrate"`
 	Domain          string           `position:"Query" name:"Domain"`
 	Width           requests.Integer `position:"Query" name:"Width"`
 	VideoBitrate    requests.Integer `position:"Query" name:"VideoBitrate"`
-	AudioProfile    string           `position:"Query" name:"AudioProfile"`
-	Height          requests.Integer `position:"Query" name:"Height"`
 }
 
 // AddCustomLiveStreamTranscodeResponse is the response struct for api AddCustomLiveStreamTranscode

+ 6 - 6
services/live/add_live_app_record_config.go

@@ -76,17 +76,17 @@ func (client *Client) AddLiveAppRecordConfigWithCallback(request *AddLiveAppReco
 // AddLiveAppRecordConfigRequest is the request struct for api AddLiveAppRecordConfig
 type AddLiveAppRecordConfigRequest struct {
 	*requests.RpcRequest
-	OssBucket     string                                `position:"Query" name:"OssBucket"`
+	OssEndpoint   string                                `position:"Query" name:"OssEndpoint"`
+	StartTime     string                                `position:"Query" name:"StartTime"`
 	AppName       string                                `position:"Query" name:"AppName"`
 	SecurityToken string                                `position:"Query" name:"SecurityToken"`
-	RecordFormat  *[]AddLiveAppRecordConfigRecordFormat `position:"Query" name:"RecordFormat"  type:"Repeated"`
+	OnDemand      requests.Integer                      `position:"Query" name:"OnDemand"`
+	StreamName    string                                `position:"Query" name:"StreamName"`
+	OssBucket     string                                `position:"Query" name:"OssBucket"`
 	DomainName    string                                `position:"Query" name:"DomainName"`
-	OssEndpoint   string                                `position:"Query" name:"OssEndpoint"`
 	EndTime       string                                `position:"Query" name:"EndTime"`
-	StartTime     string                                `position:"Query" name:"StartTime"`
 	OwnerId       requests.Integer                      `position:"Query" name:"OwnerId"`
-	OnDemand      requests.Integer                      `position:"Query" name:"OnDemand"`
-	StreamName    string                                `position:"Query" name:"StreamName"`
+	RecordFormat  *[]AddLiveAppRecordConfigRecordFormat `position:"Query" name:"RecordFormat"  type:"Repeated"`
 }
 
 // AddLiveAppRecordConfigRecordFormat is a repeated param struct in AddLiveAppRecordConfigRequest

+ 3 - 3
services/live/add_live_app_snapshot_config.go

@@ -77,13 +77,13 @@ func (client *Client) AddLiveAppSnapshotConfigWithCallback(request *AddLiveAppSn
 type AddLiveAppSnapshotConfigRequest struct {
 	*requests.RpcRequest
 	TimeInterval       requests.Integer `position:"Query" name:"TimeInterval"`
-	OssBucket          string           `position:"Query" name:"OssBucket"`
+	OssEndpoint        string           `position:"Query" name:"OssEndpoint"`
 	AppName            string           `position:"Query" name:"AppName"`
 	SecurityToken      string           `position:"Query" name:"SecurityToken"`
+	OverwriteOssObject string           `position:"Query" name:"OverwriteOssObject"`
+	OssBucket          string           `position:"Query" name:"OssBucket"`
 	DomainName         string           `position:"Query" name:"DomainName"`
-	OssEndpoint        string           `position:"Query" name:"OssEndpoint"`
 	SequenceOssObject  string           `position:"Query" name:"SequenceOssObject"`
-	OverwriteOssObject string           `position:"Query" name:"OverwriteOssObject"`
 	OwnerId            requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 2 - 2
services/live/add_live_detect_notify_config.go

@@ -76,10 +76,10 @@ func (client *Client) AddLiveDetectNotifyConfigWithCallback(request *AddLiveDete
 // AddLiveDetectNotifyConfigRequest is the request struct for api AddLiveDetectNotifyConfig
 type AddLiveDetectNotifyConfigRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainName    string           `position:"Query" name:"DomainName"`
-	NotifyUrl     string           `position:"Query" name:"NotifyUrl"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	NotifyUrl     string           `position:"Query" name:"NotifyUrl"`
 }
 
 // AddLiveDetectNotifyConfigResponse is the response struct for api AddLiveDetectNotifyConfig

+ 2 - 2
services/live/add_live_domain.go

@@ -76,10 +76,10 @@ func (client *Client) AddLiveDomainWithCallback(request *AddLiveDomainRequest, c
 // AddLiveDomainRequest is the request struct for api AddLiveDomain
 type AddLiveDomainRequest struct {
 	*requests.RpcRequest
-	TopLevelDomain string           `position:"Query" name:"TopLevelDomain"`
 	SecurityToken  string           `position:"Query" name:"SecurityToken"`
-	OwnerAccount   string           `position:"Query" name:"OwnerAccount"`
 	Scope          string           `position:"Query" name:"Scope"`
+	TopLevelDomain string           `position:"Query" name:"TopLevelDomain"`
+	OwnerAccount   string           `position:"Query" name:"OwnerAccount"`
 	DomainName     string           `position:"Query" name:"DomainName"`
 	OwnerId        requests.Integer `position:"Query" name:"OwnerId"`
 	Region         string           `position:"Query" name:"Region"`

+ 1 - 1
services/live/add_live_domain_mapping.go

@@ -76,10 +76,10 @@ func (client *Client) AddLiveDomainMappingWithCallback(request *AddLiveDomainMap
 // AddLiveDomainMappingRequest is the request struct for api AddLiveDomainMapping
 type AddLiveDomainMappingRequest struct {
 	*requests.RpcRequest
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 	PullDomain    string           `position:"Query" name:"PullDomain"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	PushDomain    string           `position:"Query" name:"PushDomain"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // AddLiveDomainMappingResponse is the response struct for api AddLiveDomainMapping

+ 3 - 3
services/live/add_live_pull_stream_info_config.go

@@ -76,13 +76,13 @@ func (client *Client) AddLivePullStreamInfoConfigWithCallback(request *AddLivePu
 // AddLivePullStreamInfoConfigRequest is the request struct for api AddLivePullStreamInfoConfig
 type AddLivePullStreamInfoConfigRequest struct {
 	*requests.RpcRequest
-	SourceUrl  string           `position:"Query" name:"SourceUrl"`
+	StartTime  string           `position:"Query" name:"StartTime"`
 	AppName    string           `position:"Query" name:"AppName"`
+	StreamName string           `position:"Query" name:"StreamName"`
 	DomainName string           `position:"Query" name:"DomainName"`
 	EndTime    string           `position:"Query" name:"EndTime"`
-	StartTime  string           `position:"Query" name:"StartTime"`
 	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName string           `position:"Query" name:"StreamName"`
+	SourceUrl  string           `position:"Query" name:"SourceUrl"`
 }
 
 // AddLivePullStreamInfoConfigResponse is the response struct for api AddLivePullStreamInfoConfig

+ 2 - 2
services/live/add_live_record_notify_config.go

@@ -78,10 +78,10 @@ type AddLiveRecordNotifyConfigRequest struct {
 	*requests.RpcRequest
 	OnDemandUrl      string           `position:"Query" name:"OnDemandUrl"`
 	SecurityToken    string           `position:"Query" name:"SecurityToken"`
-	DomainName       string           `position:"Query" name:"DomainName"`
 	NotifyUrl        string           `position:"Query" name:"NotifyUrl"`
-	OwnerId          requests.Integer `position:"Query" name:"OwnerId"`
 	NeedStatusNotify requests.Boolean `position:"Query" name:"NeedStatusNotify"`
+	DomainName       string           `position:"Query" name:"DomainName"`
+	OwnerId          requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // AddLiveRecordNotifyConfigResponse is the response struct for api AddLiveRecordNotifyConfig

+ 5 - 4
services/live/add_live_record_vod_config.go

@@ -76,14 +76,15 @@ func (client *Client) AddLiveRecordVodConfigWithCallback(request *AddLiveRecordV
 // AddLiveRecordVodConfigRequest is the request struct for api AddLiveRecordVodConfig
 type AddLiveRecordVodConfigRequest struct {
 	*requests.RpcRequest
-	AppName                    string           `position:"Query" name:"AppName"`
 	AutoCompose                string           `position:"Query" name:"AutoCompose"`
-	DomainName                 string           `position:"Query" name:"DomainName"`
-	CycleDuration              requests.Integer `position:"Query" name:"CycleDuration"`
-	OwnerId                    requests.Integer `position:"Query" name:"OwnerId"`
 	ComposeVodTranscodeGroupId string           `position:"Query" name:"ComposeVodTranscodeGroupId"`
+	StorageLocation            string           `position:"Query" name:"StorageLocation"`
+	AppName                    string           `position:"Query" name:"AppName"`
 	StreamName                 string           `position:"Query" name:"StreamName"`
 	VodTranscodeGroupId        string           `position:"Query" name:"VodTranscodeGroupId"`
+	DomainName                 string           `position:"Query" name:"DomainName"`
+	CycleDuration              requests.Integer `position:"Query" name:"CycleDuration"`
+	OwnerId                    requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // AddLiveRecordVodConfigResponse is the response struct for api AddLiveRecordVodConfig

+ 5 - 5
services/live/add_live_snapshot_detect_porn_config.go

@@ -76,15 +76,15 @@ func (client *Client) AddLiveSnapshotDetectPornConfigWithCallback(request *AddLi
 // AddLiveSnapshotDetectPornConfigRequest is the request struct for api AddLiveSnapshotDetectPornConfig
 type AddLiveSnapshotDetectPornConfigRequest struct {
 	*requests.RpcRequest
-	OssBucket     string           `position:"Query" name:"OssBucket"`
+	OssEndpoint   string           `position:"Query" name:"OssEndpoint"`
+	OssObject     string           `position:"Query" name:"OssObject"`
+	Scene         *[]string        `position:"Query" name:"Scene"  type:"Repeated"`
 	AppName       string           `position:"Query" name:"AppName"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	OssBucket     string           `position:"Query" name:"OssBucket"`
 	DomainName    string           `position:"Query" name:"DomainName"`
-	OssEndpoint   string           `position:"Query" name:"OssEndpoint"`
-	Interval      requests.Integer `position:"Query" name:"Interval"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	OssObject     string           `position:"Query" name:"OssObject"`
-	Scene         *[]string        `position:"Query" name:"Scene"  type:"Repeated"`
+	Interval      requests.Integer `position:"Query" name:"Interval"`
 }
 
 // AddLiveSnapshotDetectPornConfigResponse is the response struct for api AddLiveSnapshotDetectPornConfig

+ 2 - 2
services/live/add_live_stream_transcode.go

@@ -76,11 +76,11 @@ func (client *Client) AddLiveStreamTranscodeWithCallback(request *AddLiveStreamT
 // AddLiveStreamTranscodeRequest is the request struct for api AddLiveStreamTranscode
 type AddLiveStreamTranscodeRequest struct {
 	*requests.RpcRequest
-	App           string           `position:"Query" name:"App"`
 	Template      string           `position:"Query" name:"Template"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	Domain        string           `position:"Query" name:"Domain"`
+	App           string           `position:"Query" name:"App"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	Domain        string           `position:"Query" name:"Domain"`
 }
 
 // AddLiveStreamTranscodeResponse is the response struct for api AddLiveStreamTranscode

+ 4 - 4
services/live/add_trancode_sei.go

@@ -76,14 +76,14 @@ func (client *Client) AddTrancodeSEIWithCallback(request *AddTrancodeSEIRequest,
 // AddTrancodeSEIRequest is the request struct for api AddTrancodeSEI
 type AddTrancodeSEIRequest struct {
 	*requests.RpcRequest
-	Delay      requests.Integer `position:"Query" name:"Delay"`
+	Pattern    string           `position:"Query" name:"Pattern"`
 	AppName    string           `position:"Query" name:"AppName"`
 	Repeat     requests.Integer `position:"Query" name:"Repeat"`
-	DomainName string           `position:"Query" name:"DomainName"`
-	Pattern    string           `position:"Query" name:"Pattern"`
 	Text       string           `position:"Query" name:"Text"`
-	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
 	StreamName string           `position:"Query" name:"StreamName"`
+	DomainName string           `position:"Query" name:"DomainName"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+	Delay      requests.Integer `position:"Query" name:"Delay"`
 }
 
 // AddTrancodeSEIResponse is the response struct for api AddTrancodeSEI

+ 1 - 1
services/live/batch_delete_live_domain_configs.go

@@ -77,10 +77,10 @@ func (client *Client) BatchDeleteLiveDomainConfigsWithCallback(request *BatchDel
 type BatchDeleteLiveDomainConfigsRequest struct {
 	*requests.RpcRequest
 	FunctionNames string           `position:"Query" name:"FunctionNames"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainNames   string           `position:"Query" name:"DomainNames"`
 	OwnerAccount  string           `position:"Query" name:"OwnerAccount"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // BatchDeleteLiveDomainConfigsResponse is the response struct for api BatchDeleteLiveDomainConfigs

+ 1 - 1
services/live/batch_set_live_domain_configs.go

@@ -77,10 +77,10 @@ func (client *Client) BatchSetLiveDomainConfigsWithCallback(request *BatchSetLiv
 type BatchSetLiveDomainConfigsRequest struct {
 	*requests.RpcRequest
 	Functions     string           `position:"Query" name:"Functions"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainNames   string           `position:"Query" name:"DomainNames"`
 	OwnerAccount  string           `position:"Query" name:"OwnerAccount"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // BatchSetLiveDomainConfigsResponse is the response struct for api BatchSetLiveDomainConfigs

+ 25 - 0
services/live/client.go

@@ -16,6 +16,8 @@ package live
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 import (
+	"reflect"
+
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials/provider"
@@ -26,10 +28,25 @@ type Client struct {
 	sdk.Client
 }
 
+// SetClientProperty Set Property by Reflect
+func SetClientProperty(client *Client, propertyName string, propertyValue interface{}) {
+	v := reflect.ValueOf(client).Elem()
+	if v.FieldByName(propertyName).IsValid() && v.FieldByName(propertyName).CanSet() {
+		v.FieldByName(propertyName).Set(reflect.ValueOf(propertyValue))
+	}
+}
+
+// SetEndpointDataToClient Set EndpointMap and ENdpointType
+func SetEndpointDataToClient(client *Client) {
+	SetClientProperty(client, "EndpointMap", GetEndpointMap())
+	SetClientProperty(client, "EndpointType", GetEndpointType())
+}
+
 // NewClient creates a sdk client with environment variables
 func NewClient() (client *Client, err error) {
 	client = &Client{}
 	err = client.Init()
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -44,6 +61,7 @@ func NewClientWithProvider(regionId string, providers ...provider.Provider) (cli
 		pc = provider.NewProviderChain(providers)
 	}
 	err = client.InitWithProviderChain(regionId, pc)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -52,6 +70,7 @@ func NewClientWithProvider(regionId string, providers ...provider.Provider) (cli
 func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithOptions(regionId, config, credential)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -60,6 +79,7 @@ func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.C
 func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -68,6 +88,7 @@ func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (clie
 func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -76,6 +97,7 @@ func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToke
 func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -84,6 +106,7 @@ func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, role
 func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRamRoleArnAndPolicy(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -92,6 +115,7 @@ func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySec
 func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithEcsRamRole(regionId, roleName)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -100,5 +124,6 @@ func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client,
 func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)
+	SetEndpointDataToClient(client)
 	return
 }

+ 2 - 2
services/live/copy_caster.go

@@ -76,9 +76,9 @@ func (client *Client) CopyCasterWithCallback(request *CopyCasterRequest, callbac
 // CopyCasterRequest is the request struct for api CopyCaster
 type CopyCasterRequest struct {
 	*requests.RpcRequest
-	SrcCasterId string           `position:"Query" name:"SrcCasterId"`
-	CasterName  string           `position:"Query" name:"CasterName"`
 	ClientToken string           `position:"Query" name:"ClientToken"`
+	CasterName  string           `position:"Query" name:"CasterName"`
+	SrcCasterId string           `position:"Query" name:"SrcCasterId"`
 	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 1 - 1
services/live/copy_caster_scene_config.go

@@ -77,9 +77,9 @@ func (client *Client) CopyCasterSceneConfigWithCallback(request *CopyCasterScene
 type CopyCasterSceneConfigRequest struct {
 	*requests.RpcRequest
 	FromSceneId string           `position:"Query" name:"FromSceneId"`
+	ToSceneId   string           `position:"Query" name:"ToSceneId"`
 	CasterId    string           `position:"Query" name:"CasterId"`
 	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
-	ToSceneId   string           `position:"Query" name:"ToSceneId"`
 }
 
 // CopyCasterSceneConfigResponse is the response struct for api CopyCasterSceneConfig

+ 3 - 3
services/live/create_caster.go

@@ -76,14 +76,14 @@ func (client *Client) CreateCasterWithCallback(request *CreateCasterRequest, cal
 // CreateCasterRequest is the request struct for api CreateCaster
 type CreateCasterRequest struct {
 	*requests.RpcRequest
+	ClientToken    string           `position:"Query" name:"ClientToken"`
+	CasterName     string           `position:"Query" name:"CasterName"`
 	CasterTemplate string           `position:"Query" name:"CasterTemplate"`
 	ExpireTime     string           `position:"Query" name:"ExpireTime"`
 	NormType       requests.Integer `position:"Query" name:"NormType"`
-	CasterName     string           `position:"Query" name:"CasterName"`
-	ClientToken    string           `position:"Query" name:"ClientToken"`
-	ChargeType     string           `position:"Query" name:"ChargeType"`
 	OwnerId        requests.Integer `position:"Query" name:"OwnerId"`
 	PurchaseTime   string           `position:"Query" name:"PurchaseTime"`
+	ChargeType     string           `position:"Query" name:"ChargeType"`
 }
 
 // CreateCasterResponse is the response struct for api CreateCaster

+ 107 - 0
services/live/create_live_real_time_log_delivery.go

@@ -0,0 +1,107 @@
+package live
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// CreateLiveRealTimeLogDelivery invokes the live.CreateLiveRealTimeLogDelivery API synchronously
+// api document: https://help.aliyun.com/api/live/createliverealtimelogdelivery.html
+func (client *Client) CreateLiveRealTimeLogDelivery(request *CreateLiveRealTimeLogDeliveryRequest) (response *CreateLiveRealTimeLogDeliveryResponse, err error) {
+	response = CreateCreateLiveRealTimeLogDeliveryResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateLiveRealTimeLogDeliveryWithChan invokes the live.CreateLiveRealTimeLogDelivery API asynchronously
+// api document: https://help.aliyun.com/api/live/createliverealtimelogdelivery.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateLiveRealTimeLogDeliveryWithChan(request *CreateLiveRealTimeLogDeliveryRequest) (<-chan *CreateLiveRealTimeLogDeliveryResponse, <-chan error) {
+	responseChan := make(chan *CreateLiveRealTimeLogDeliveryResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateLiveRealTimeLogDelivery(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateLiveRealTimeLogDeliveryWithCallback invokes the live.CreateLiveRealTimeLogDelivery API asynchronously
+// api document: https://help.aliyun.com/api/live/createliverealtimelogdelivery.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateLiveRealTimeLogDeliveryWithCallback(request *CreateLiveRealTimeLogDeliveryRequest, callback func(response *CreateLiveRealTimeLogDeliveryResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateLiveRealTimeLogDeliveryResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateLiveRealTimeLogDelivery(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateLiveRealTimeLogDeliveryRequest is the request struct for api CreateLiveRealTimeLogDelivery
+type CreateLiveRealTimeLogDeliveryRequest struct {
+	*requests.RpcRequest
+	Project    string           `position:"Query" name:"Project"`
+	DomainName string           `position:"Query" name:"DomainName"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+	Region     string           `position:"Query" name:"Region"`
+	Logstore   string           `position:"Query" name:"Logstore"`
+}
+
+// CreateLiveRealTimeLogDeliveryResponse is the response struct for api CreateLiveRealTimeLogDelivery
+type CreateLiveRealTimeLogDeliveryResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateCreateLiveRealTimeLogDeliveryRequest creates a request to invoke CreateLiveRealTimeLogDelivery API
+func CreateCreateLiveRealTimeLogDeliveryRequest() (request *CreateLiveRealTimeLogDeliveryRequest) {
+	request = &CreateLiveRealTimeLogDeliveryRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("live", "2016-11-01", "CreateLiveRealTimeLogDelivery", "live", "openAPI")
+	return
+}
+
+// CreateCreateLiveRealTimeLogDeliveryResponse creates a response to parse from CreateLiveRealTimeLogDelivery response
+func CreateCreateLiveRealTimeLogDeliveryResponse() (response *CreateLiveRealTimeLogDeliveryResponse) {
+	response = &CreateLiveRealTimeLogDeliveryResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 5 - 5
services/live/create_live_stream_record_index_files.go

@@ -76,16 +76,16 @@ func (client *Client) CreateLiveStreamRecordIndexFilesWithCallback(request *Crea
 // CreateLiveStreamRecordIndexFilesRequest is the request struct for api CreateLiveStreamRecordIndexFiles
 type CreateLiveStreamRecordIndexFilesRequest struct {
 	*requests.RpcRequest
-	OssBucket     string           `position:"Query" name:"OssBucket"`
+	OssEndpoint   string           `position:"Query" name:"OssEndpoint"`
+	StartTime     string           `position:"Query" name:"StartTime"`
+	OssObject     string           `position:"Query" name:"OssObject"`
 	AppName       string           `position:"Query" name:"AppName"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	StreamName    string           `position:"Query" name:"StreamName"`
+	OssBucket     string           `position:"Query" name:"OssBucket"`
 	DomainName    string           `position:"Query" name:"DomainName"`
-	OssEndpoint   string           `position:"Query" name:"OssEndpoint"`
 	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName    string           `position:"Query" name:"StreamName"`
-	OssObject     string           `position:"Query" name:"OssObject"`
 }
 
 // CreateLiveStreamRecordIndexFilesResponse is the response struct for api CreateLiveStreamRecordIndexFiles

+ 1 - 1
services/live/delete_caster.go

@@ -76,9 +76,9 @@ func (client *Client) DeleteCasterWithCallback(request *DeleteCasterRequest, cal
 // DeleteCasterRequest is the request struct for api DeleteCaster
 type DeleteCasterRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	CasterId      string           `position:"Query" name:"CasterId"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // DeleteCasterResponse is the response struct for api DeleteCaster

+ 1 - 1
services/live/delete_caster_episode_group.go

@@ -76,8 +76,8 @@ func (client *Client) DeleteCasterEpisodeGroupWithCallback(request *DeleteCaster
 // DeleteCasterEpisodeGroupRequest is the request struct for api DeleteCasterEpisodeGroup
 type DeleteCasterEpisodeGroupRequest struct {
 	*requests.RpcRequest
-	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
 	ProgramId string           `position:"Query" name:"ProgramId"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteCasterEpisodeGroupResponse is the response struct for api DeleteCasterEpisodeGroup

+ 1 - 1
services/live/delete_caster_layout.go

@@ -76,9 +76,9 @@ func (client *Client) DeleteCasterLayoutWithCallback(request *DeleteCasterLayout
 // DeleteCasterLayoutRequest is the request struct for api DeleteCasterLayout
 type DeleteCasterLayoutRequest struct {
 	*requests.RpcRequest
+	LayoutId string           `position:"Query" name:"LayoutId"`
 	CasterId string           `position:"Query" name:"CasterId"`
 	OwnerId  requests.Integer `position:"Query" name:"OwnerId"`
-	LayoutId string           `position:"Query" name:"LayoutId"`
 }
 
 // DeleteCasterLayoutResponse is the response struct for api DeleteCasterLayout

+ 2 - 2
services/live/delete_caster_scene_config.go

@@ -76,10 +76,10 @@ func (client *Client) DeleteCasterSceneConfigWithCallback(request *DeleteCasterS
 // DeleteCasterSceneConfigRequest is the request struct for api DeleteCasterSceneConfig
 type DeleteCasterSceneConfigRequest struct {
 	*requests.RpcRequest
+	Type     string           `position:"Query" name:"Type"`
 	CasterId string           `position:"Query" name:"CasterId"`
-	SceneId  string           `position:"Query" name:"SceneId"`
 	OwnerId  requests.Integer `position:"Query" name:"OwnerId"`
-	Type     string           `position:"Query" name:"Type"`
+	SceneId  string           `position:"Query" name:"SceneId"`
 }
 
 // DeleteCasterSceneConfigResponse is the response struct for api DeleteCasterSceneConfig

+ 1 - 1
services/live/delete_live_app_record_config.go

@@ -78,9 +78,9 @@ type DeleteLiveAppRecordConfigRequest struct {
 	*requests.RpcRequest
 	AppName       string           `position:"Query" name:"AppName"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	StreamName    string           `position:"Query" name:"StreamName"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName    string           `position:"Query" name:"StreamName"`
 }
 
 // DeleteLiveAppRecordConfigResponse is the response struct for api DeleteLiveAppRecordConfig

+ 1 - 1
services/live/delete_live_detect_notify_config.go

@@ -76,9 +76,9 @@ func (client *Client) DeleteLiveDetectNotifyConfigWithCallback(request *DeleteLi
 // DeleteLiveDetectNotifyConfigRequest is the request struct for api DeleteLiveDetectNotifyConfig
 type DeleteLiveDetectNotifyConfigRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // DeleteLiveDetectNotifyConfigResponse is the response struct for api DeleteLiveDetectNotifyConfig

+ 1 - 1
services/live/delete_live_domain.go

@@ -76,10 +76,10 @@ func (client *Client) DeleteLiveDomainWithCallback(request *DeleteLiveDomainRequ
 // DeleteLiveDomainRequest is the request struct for api DeleteLiveDomain
 type DeleteLiveDomainRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	OwnerAccount  string           `position:"Query" name:"OwnerAccount"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // DeleteLiveDomainResponse is the response struct for api DeleteLiveDomain

+ 1 - 1
services/live/delete_live_domain_mapping.go

@@ -76,10 +76,10 @@ func (client *Client) DeleteLiveDomainMappingWithCallback(request *DeleteLiveDom
 // DeleteLiveDomainMappingRequest is the request struct for api DeleteLiveDomainMapping
 type DeleteLiveDomainMappingRequest struct {
 	*requests.RpcRequest
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 	PullDomain    string           `position:"Query" name:"PullDomain"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	PushDomain    string           `position:"Query" name:"PushDomain"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteLiveDomainMappingResponse is the response struct for api DeleteLiveDomainMapping

+ 1 - 1
services/live/delete_live_pull_stream_info_config.go

@@ -78,9 +78,9 @@ type DeleteLivePullStreamInfoConfigRequest struct {
 	*requests.RpcRequest
 	AppName       string           `position:"Query" name:"AppName"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	StreamName    string           `position:"Query" name:"StreamName"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName    string           `position:"Query" name:"StreamName"`
 }
 
 // DeleteLivePullStreamInfoConfigResponse is the response struct for api DeleteLivePullStreamInfoConfig

+ 106 - 0
services/live/delete_live_real_time_log_logstore.go

@@ -0,0 +1,106 @@
+package live
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DeleteLiveRealTimeLogLogstore invokes the live.DeleteLiveRealTimeLogLogstore API synchronously
+// api document: https://help.aliyun.com/api/live/deleteliverealtimeloglogstore.html
+func (client *Client) DeleteLiveRealTimeLogLogstore(request *DeleteLiveRealTimeLogLogstoreRequest) (response *DeleteLiveRealTimeLogLogstoreResponse, err error) {
+	response = CreateDeleteLiveRealTimeLogLogstoreResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteLiveRealTimeLogLogstoreWithChan invokes the live.DeleteLiveRealTimeLogLogstore API asynchronously
+// api document: https://help.aliyun.com/api/live/deleteliverealtimeloglogstore.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteLiveRealTimeLogLogstoreWithChan(request *DeleteLiveRealTimeLogLogstoreRequest) (<-chan *DeleteLiveRealTimeLogLogstoreResponse, <-chan error) {
+	responseChan := make(chan *DeleteLiveRealTimeLogLogstoreResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteLiveRealTimeLogLogstore(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteLiveRealTimeLogLogstoreWithCallback invokes the live.DeleteLiveRealTimeLogLogstore API asynchronously
+// api document: https://help.aliyun.com/api/live/deleteliverealtimeloglogstore.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteLiveRealTimeLogLogstoreWithCallback(request *DeleteLiveRealTimeLogLogstoreRequest, callback func(response *DeleteLiveRealTimeLogLogstoreResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteLiveRealTimeLogLogstoreResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteLiveRealTimeLogLogstore(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteLiveRealTimeLogLogstoreRequest is the request struct for api DeleteLiveRealTimeLogLogstore
+type DeleteLiveRealTimeLogLogstoreRequest struct {
+	*requests.RpcRequest
+	Project  string           `position:"Query" name:"Project"`
+	OwnerId  requests.Integer `position:"Query" name:"OwnerId"`
+	Region   string           `position:"Query" name:"Region"`
+	Logstore string           `position:"Query" name:"Logstore"`
+}
+
+// DeleteLiveRealTimeLogLogstoreResponse is the response struct for api DeleteLiveRealTimeLogLogstore
+type DeleteLiveRealTimeLogLogstoreResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeleteLiveRealTimeLogLogstoreRequest creates a request to invoke DeleteLiveRealTimeLogLogstore API
+func CreateDeleteLiveRealTimeLogLogstoreRequest() (request *DeleteLiveRealTimeLogLogstoreRequest) {
+	request = &DeleteLiveRealTimeLogLogstoreRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("live", "2016-11-01", "DeleteLiveRealTimeLogLogstore", "live", "openAPI")
+	return
+}
+
+// CreateDeleteLiveRealTimeLogLogstoreResponse creates a response to parse from DeleteLiveRealTimeLogLogstore response
+func CreateDeleteLiveRealTimeLogLogstoreResponse() (response *DeleteLiveRealTimeLogLogstoreResponse) {
+	response = &DeleteLiveRealTimeLogLogstoreResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/live/delete_live_realtime_log_delivery.go

@@ -0,0 +1,107 @@
+package live
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DeleteLiveRealtimeLogDelivery invokes the live.DeleteLiveRealtimeLogDelivery API synchronously
+// api document: https://help.aliyun.com/api/live/deleteliverealtimelogdelivery.html
+func (client *Client) DeleteLiveRealtimeLogDelivery(request *DeleteLiveRealtimeLogDeliveryRequest) (response *DeleteLiveRealtimeLogDeliveryResponse, err error) {
+	response = CreateDeleteLiveRealtimeLogDeliveryResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteLiveRealtimeLogDeliveryWithChan invokes the live.DeleteLiveRealtimeLogDelivery API asynchronously
+// api document: https://help.aliyun.com/api/live/deleteliverealtimelogdelivery.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteLiveRealtimeLogDeliveryWithChan(request *DeleteLiveRealtimeLogDeliveryRequest) (<-chan *DeleteLiveRealtimeLogDeliveryResponse, <-chan error) {
+	responseChan := make(chan *DeleteLiveRealtimeLogDeliveryResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteLiveRealtimeLogDelivery(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteLiveRealtimeLogDeliveryWithCallback invokes the live.DeleteLiveRealtimeLogDelivery API asynchronously
+// api document: https://help.aliyun.com/api/live/deleteliverealtimelogdelivery.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteLiveRealtimeLogDeliveryWithCallback(request *DeleteLiveRealtimeLogDeliveryRequest, callback func(response *DeleteLiveRealtimeLogDeliveryResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteLiveRealtimeLogDeliveryResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteLiveRealtimeLogDelivery(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteLiveRealtimeLogDeliveryRequest is the request struct for api DeleteLiveRealtimeLogDelivery
+type DeleteLiveRealtimeLogDeliveryRequest struct {
+	*requests.RpcRequest
+	Project    string           `position:"Query" name:"Project"`
+	DomainName string           `position:"Query" name:"DomainName"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+	Region     string           `position:"Query" name:"Region"`
+	Logstore   string           `position:"Query" name:"Logstore"`
+}
+
+// DeleteLiveRealtimeLogDeliveryResponse is the response struct for api DeleteLiveRealtimeLogDelivery
+type DeleteLiveRealtimeLogDeliveryResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDeleteLiveRealtimeLogDeliveryRequest creates a request to invoke DeleteLiveRealtimeLogDelivery API
+func CreateDeleteLiveRealtimeLogDeliveryRequest() (request *DeleteLiveRealtimeLogDeliveryRequest) {
+	request = &DeleteLiveRealtimeLogDeliveryRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("live", "2016-11-01", "DeleteLiveRealtimeLogDelivery", "live", "openAPI")
+	return
+}
+
+// CreateDeleteLiveRealtimeLogDeliveryResponse creates a response to parse from DeleteLiveRealtimeLogDelivery response
+func CreateDeleteLiveRealtimeLogDeliveryResponse() (response *DeleteLiveRealtimeLogDeliveryResponse) {
+	response = &DeleteLiveRealtimeLogDeliveryResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/live/delete_live_record_notify_config.go

@@ -76,9 +76,9 @@ func (client *Client) DeleteLiveRecordNotifyConfigWithCallback(request *DeleteLi
 // DeleteLiveRecordNotifyConfigRequest is the request struct for api DeleteLiveRecordNotifyConfig
 type DeleteLiveRecordNotifyConfigRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // DeleteLiveRecordNotifyConfigResponse is the response struct for api DeleteLiveRecordNotifyConfig

+ 4 - 5
services/live/delete_live_record_vod_config.go

@@ -76,11 +76,10 @@ func (client *Client) DeleteLiveRecordVodConfigWithCallback(request *DeleteLiveR
 // DeleteLiveRecordVodConfigRequest is the request struct for api DeleteLiveRecordVodConfig
 type DeleteLiveRecordVodConfigRequest struct {
 	*requests.RpcRequest
-	AppName       string           `position:"Query" name:"AppName"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName    string           `position:"Query" name:"StreamName"`
+	AppName    string           `position:"Query" name:"AppName"`
+	StreamName string           `position:"Query" name:"StreamName"`
+	DomainName string           `position:"Query" name:"DomainName"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DeleteLiveRecordVodConfigResponse is the response struct for api DeleteLiveRecordVodConfig

+ 2 - 2
services/live/delete_live_snapshot_detect_porn_config.go

@@ -76,10 +76,10 @@ func (client *Client) DeleteLiveSnapshotDetectPornConfigWithCallback(request *De
 // DeleteLiveSnapshotDetectPornConfigRequest is the request struct for api DeleteLiveSnapshotDetectPornConfig
 type DeleteLiveSnapshotDetectPornConfigRequest struct {
 	*requests.RpcRequest
-	AppName       string           `position:"Query" name:"AppName"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	AppName       string           `position:"Query" name:"AppName"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // DeleteLiveSnapshotDetectPornConfigResponse is the response struct for api DeleteLiveSnapshotDetectPornConfig

+ 2 - 2
services/live/delete_live_stream_transcode.go

@@ -76,11 +76,11 @@ func (client *Client) DeleteLiveStreamTranscodeWithCallback(request *DeleteLiveS
 // DeleteLiveStreamTranscodeRequest is the request struct for api DeleteLiveStreamTranscode
 type DeleteLiveStreamTranscodeRequest struct {
 	*requests.RpcRequest
-	App           string           `position:"Query" name:"App"`
 	Template      string           `position:"Query" name:"Template"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	Domain        string           `position:"Query" name:"Domain"`
+	App           string           `position:"Query" name:"App"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	Domain        string           `position:"Query" name:"Domain"`
 }
 
 // DeleteLiveStreamTranscodeResponse is the response struct for api DeleteLiveStreamTranscode

+ 2 - 2
services/live/describe_board_events.go

@@ -86,8 +86,8 @@ type DescribeBoardEventsRequest struct {
 // DescribeBoardEventsResponse is the response struct for api DescribeBoardEvents
 type DescribeBoardEventsResponse struct {
 	*responses.BaseResponse
-	RequestId string                       `json:"RequestId" xml:"RequestId"`
-	Events    []EventInDescribeBoardEvents `json:"Events" xml:"Events"`
+	RequestId string  `json:"RequestId" xml:"RequestId"`
+	Events    []Event `json:"Events" xml:"Events"`
 }
 
 // CreateDescribeBoardEventsRequest creates a request to invoke DescribeBoardEvents API

+ 2 - 2
services/live/describe_boards.go

@@ -85,8 +85,8 @@ type DescribeBoardsRequest struct {
 // DescribeBoardsResponse is the response struct for api DescribeBoards
 type DescribeBoardsResponse struct {
 	*responses.BaseResponse
-	RequestId string  `json:"RequestId" xml:"RequestId"`
-	Boards    []Event `json:"Boards" xml:"Boards"`
+	RequestId string                  `json:"RequestId" xml:"RequestId"`
+	Boards    []EventInDescribeBoards `json:"Boards" xml:"Boards"`
 }
 
 // CreateDescribeBoardsRequest creates a request to invoke DescribeBoards API

+ 1 - 1
services/live/describe_caster_layouts.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeCasterLayoutsWithCallback(request *DescribeCasterL
 // DescribeCasterLayoutsRequest is the request struct for api DescribeCasterLayouts
 type DescribeCasterLayoutsRequest struct {
 	*requests.RpcRequest
+	LayoutId string           `position:"Query" name:"LayoutId"`
 	CasterId string           `position:"Query" name:"CasterId"`
 	OwnerId  requests.Integer `position:"Query" name:"OwnerId"`
-	LayoutId string           `position:"Query" name:"LayoutId"`
 }
 
 // DescribeCasterLayoutsResponse is the response struct for api DescribeCasterLayouts

+ 3 - 3
services/live/describe_caster_program.go

@@ -76,14 +76,14 @@ func (client *Client) DescribeCasterProgramWithCallback(request *DescribeCasterP
 // DescribeCasterProgramRequest is the request struct for api DescribeCasterProgram
 type DescribeCasterProgramRequest struct {
 	*requests.RpcRequest
+	StartTime   string           `position:"Query" name:"StartTime"`
+	PageNum     requests.Integer `position:"Query" name:"PageNum"`
+	PageSize    requests.Integer `position:"Query" name:"PageSize"`
 	CasterId    string           `position:"Query" name:"CasterId"`
 	EpisodeType string           `position:"Query" name:"EpisodeType"`
-	PageSize    requests.Integer `position:"Query" name:"PageSize"`
 	EndTime     string           `position:"Query" name:"EndTime"`
-	StartTime   string           `position:"Query" name:"StartTime"`
 	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
 	EpisodeId   string           `position:"Query" name:"EpisodeId"`
-	PageNum     requests.Integer `position:"Query" name:"PageNum"`
 	Status      requests.Integer `position:"Query" name:"Status"`
 }
 

+ 1 - 1
services/live/describe_caster_scene_audio.go

@@ -77,8 +77,8 @@ func (client *Client) DescribeCasterSceneAudioWithCallback(request *DescribeCast
 type DescribeCasterSceneAudioRequest struct {
 	*requests.RpcRequest
 	CasterId string           `position:"Query" name:"CasterId"`
-	SceneId  string           `position:"Query" name:"SceneId"`
 	OwnerId  requests.Integer `position:"Query" name:"OwnerId"`
+	SceneId  string           `position:"Query" name:"SceneId"`
 }
 
 // DescribeCasterSceneAudioResponse is the response struct for api DescribeCasterSceneAudio

+ 1 - 1
services/live/describe_caster_scenes.go

@@ -77,8 +77,8 @@ func (client *Client) DescribeCasterScenesWithCallback(request *DescribeCasterSc
 type DescribeCasterScenesRequest struct {
 	*requests.RpcRequest
 	CasterId string           `position:"Query" name:"CasterId"`
-	SceneId  string           `position:"Query" name:"SceneId"`
 	OwnerId  requests.Integer `position:"Query" name:"OwnerId"`
+	SceneId  string           `position:"Query" name:"SceneId"`
 }
 
 // DescribeCasterScenesResponse is the response struct for api DescribeCasterScenes

+ 106 - 0
services/live/describe_caster_sync_group.go

@@ -0,0 +1,106 @@
+package live
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DescribeCasterSyncGroup invokes the live.DescribeCasterSyncGroup API synchronously
+// api document: https://help.aliyun.com/api/live/describecastersyncgroup.html
+func (client *Client) DescribeCasterSyncGroup(request *DescribeCasterSyncGroupRequest) (response *DescribeCasterSyncGroupResponse, err error) {
+	response = CreateDescribeCasterSyncGroupResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeCasterSyncGroupWithChan invokes the live.DescribeCasterSyncGroup API asynchronously
+// api document: https://help.aliyun.com/api/live/describecastersyncgroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCasterSyncGroupWithChan(request *DescribeCasterSyncGroupRequest) (<-chan *DescribeCasterSyncGroupResponse, <-chan error) {
+	responseChan := make(chan *DescribeCasterSyncGroupResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeCasterSyncGroup(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeCasterSyncGroupWithCallback invokes the live.DescribeCasterSyncGroup API asynchronously
+// api document: https://help.aliyun.com/api/live/describecastersyncgroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeCasterSyncGroupWithCallback(request *DescribeCasterSyncGroupRequest, callback func(response *DescribeCasterSyncGroupResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeCasterSyncGroupResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeCasterSyncGroup(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeCasterSyncGroupRequest is the request struct for api DescribeCasterSyncGroup
+type DescribeCasterSyncGroupRequest struct {
+	*requests.RpcRequest
+	CasterId string           `position:"Query" name:"CasterId"`
+	OwnerId  requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeCasterSyncGroupResponse is the response struct for api DescribeCasterSyncGroup
+type DescribeCasterSyncGroupResponse struct {
+	*responses.BaseResponse
+	RequestId  string     `json:"RequestId" xml:"RequestId"`
+	CasterId   string     `json:"CasterId" xml:"CasterId"`
+	SyncGroups SyncGroups `json:"SyncGroups" xml:"SyncGroups"`
+}
+
+// CreateDescribeCasterSyncGroupRequest creates a request to invoke DescribeCasterSyncGroup API
+func CreateDescribeCasterSyncGroupRequest() (request *DescribeCasterSyncGroupRequest) {
+	request = &DescribeCasterSyncGroupRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("live", "2016-11-01", "DescribeCasterSyncGroup", "live", "openAPI")
+	return
+}
+
+// CreateDescribeCasterSyncGroupResponse creates a response to parse from DescribeCasterSyncGroup response
+func CreateDescribeCasterSyncGroupResponse() (response *DescribeCasterSyncGroupResponse) {
+	response = &DescribeCasterSyncGroupResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 3 - 3
services/live/describe_casters.go

@@ -76,13 +76,13 @@ func (client *Client) DescribeCastersWithCallback(request *DescribeCastersReques
 // DescribeCastersRequest is the request struct for api DescribeCasters
 type DescribeCastersRequest struct {
 	*requests.RpcRequest
+	StartTime  string           `position:"Query" name:"StartTime"`
+	PageNum    requests.Integer `position:"Query" name:"PageNum"`
 	CasterName string           `position:"Query" name:"CasterName"`
-	CasterId   string           `position:"Query" name:"CasterId"`
 	PageSize   requests.Integer `position:"Query" name:"PageSize"`
+	CasterId   string           `position:"Query" name:"CasterId"`
 	EndTime    string           `position:"Query" name:"EndTime"`
-	StartTime  string           `position:"Query" name:"StartTime"`
 	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
-	PageNum    requests.Integer `position:"Query" name:"PageNum"`
 	Status     requests.Integer `position:"Query" name:"Status"`
 }
 

+ 1 - 1
services/live/describe_hls_live_stream_real_time_bps_data.go

@@ -77,8 +77,8 @@ func (client *Client) DescribeHlsLiveStreamRealTimeBpsDataWithCallback(request *
 type DescribeHlsLiveStreamRealTimeBpsDataRequest struct {
 	*requests.RpcRequest
 	DomainName string           `position:"Query" name:"DomainName"`
-	Time       string           `position:"Query" name:"Time"`
 	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+	Time       string           `position:"Query" name:"Time"`
 }
 
 // DescribeHlsLiveStreamRealTimeBpsDataResponse is the response struct for api DescribeHlsLiveStreamRealTimeBpsData

+ 1 - 1
services/live/describe_live_certificate_detail.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeLiveCertificateDetailWithCallback(request *Describ
 // DescribeLiveCertificateDetailRequest is the request struct for api DescribeLiveCertificateDetail
 type DescribeLiveCertificateDetailRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	CertName      string           `position:"Query" name:"CertName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // DescribeLiveCertificateDetailResponse is the response struct for api DescribeLiveCertificateDetail

+ 1 - 1
services/live/describe_live_certificate_list.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeLiveCertificateListWithCallback(request *DescribeL
 // DescribeLiveCertificateListRequest is the request struct for api DescribeLiveCertificateList
 type DescribeLiveCertificateListRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // DescribeLiveCertificateListResponse is the response struct for api DescribeLiveCertificateList

+ 1 - 1
services/live/describe_live_detect_notify_config.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeLiveDetectNotifyConfigWithCallback(request *Descri
 // DescribeLiveDetectNotifyConfigRequest is the request struct for api DescribeLiveDetectNotifyConfig
 type DescribeLiveDetectNotifyConfigRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // DescribeLiveDetectNotifyConfigResponse is the response struct for api DescribeLiveDetectNotifyConfig

+ 113 - 0
services/live/describe_live_detect_porn_data.go

@@ -0,0 +1,113 @@
+package live
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DescribeLiveDetectPornData invokes the live.DescribeLiveDetectPornData API synchronously
+// api document: https://help.aliyun.com/api/live/describelivedetectporndata.html
+func (client *Client) DescribeLiveDetectPornData(request *DescribeLiveDetectPornDataRequest) (response *DescribeLiveDetectPornDataResponse, err error) {
+	response = CreateDescribeLiveDetectPornDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeLiveDetectPornDataWithChan invokes the live.DescribeLiveDetectPornData API asynchronously
+// api document: https://help.aliyun.com/api/live/describelivedetectporndata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeLiveDetectPornDataWithChan(request *DescribeLiveDetectPornDataRequest) (<-chan *DescribeLiveDetectPornDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeLiveDetectPornDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeLiveDetectPornData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeLiveDetectPornDataWithCallback invokes the live.DescribeLiveDetectPornData API asynchronously
+// api document: https://help.aliyun.com/api/live/describelivedetectporndata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeLiveDetectPornDataWithCallback(request *DescribeLiveDetectPornDataRequest, callback func(response *DescribeLiveDetectPornDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeLiveDetectPornDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeLiveDetectPornData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeLiveDetectPornDataRequest is the request struct for api DescribeLiveDetectPornData
+type DescribeLiveDetectPornDataRequest struct {
+	*requests.RpcRequest
+	Fee        string           `position:"Query" name:"Fee"`
+	StartTime  string           `position:"Query" name:"StartTime"`
+	Scene      string           `position:"Query" name:"Scene"`
+	Stream     string           `position:"Query" name:"Stream"`
+	SplitBy    string           `position:"Query" name:"SplitBy"`
+	App        string           `position:"Query" name:"App"`
+	DomainName string           `position:"Query" name:"DomainName"`
+	EndTime    string           `position:"Query" name:"EndTime"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+	Region     string           `position:"Query" name:"Region"`
+}
+
+// DescribeLiveDetectPornDataResponse is the response struct for api DescribeLiveDetectPornData
+type DescribeLiveDetectPornDataResponse struct {
+	*responses.BaseResponse
+	RequestId      string         `json:"RequestId" xml:"RequestId"`
+	DetectPornData DetectPornData `json:"DetectPornData" xml:"DetectPornData"`
+}
+
+// CreateDescribeLiveDetectPornDataRequest creates a request to invoke DescribeLiveDetectPornData API
+func CreateDescribeLiveDetectPornDataRequest() (request *DescribeLiveDetectPornDataRequest) {
+	request = &DescribeLiveDetectPornDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("live", "2016-11-01", "DescribeLiveDetectPornData", "live", "openAPI")
+	return
+}
+
+// CreateDescribeLiveDetectPornDataResponse creates a response to parse from DescribeLiveDetectPornData response
+func CreateDescribeLiveDetectPornDataResponse() (response *DescribeLiveDetectPornDataResponse) {
+	response = &DescribeLiveDetectPornDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 3 - 3
services/live/describe_live_domain_bps_data.go

@@ -76,13 +76,13 @@ func (client *Client) DescribeLiveDomainBpsDataWithCallback(request *DescribeLiv
 // DescribeLiveDomainBpsDataRequest is the request struct for api DescribeLiveDomainBpsData
 type DescribeLiveDomainBpsDataRequest struct {
 	*requests.RpcRequest
-	DomainName     string           `position:"Query" name:"DomainName"`
-	EndTime        string           `position:"Query" name:"EndTime"`
-	Interval       string           `position:"Query" name:"Interval"`
 	LocationNameEn string           `position:"Query" name:"LocationNameEn"`
 	StartTime      string           `position:"Query" name:"StartTime"`
 	IspNameEn      string           `position:"Query" name:"IspNameEn"`
+	DomainName     string           `position:"Query" name:"DomainName"`
+	EndTime        string           `position:"Query" name:"EndTime"`
 	OwnerId        requests.Integer `position:"Query" name:"OwnerId"`
+	Interval       string           `position:"Query" name:"Interval"`
 }
 
 // DescribeLiveDomainBpsDataResponse is the response struct for api DescribeLiveDomainBpsData

+ 110 - 0
services/live/describe_live_domain_bps_data_by_time_stamp.go

@@ -0,0 +1,110 @@
+package live
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DescribeLiveDomainBpsDataByTimeStamp invokes the live.DescribeLiveDomainBpsDataByTimeStamp API synchronously
+// api document: https://help.aliyun.com/api/live/describelivedomainbpsdatabytimestamp.html
+func (client *Client) DescribeLiveDomainBpsDataByTimeStamp(request *DescribeLiveDomainBpsDataByTimeStampRequest) (response *DescribeLiveDomainBpsDataByTimeStampResponse, err error) {
+	response = CreateDescribeLiveDomainBpsDataByTimeStampResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeLiveDomainBpsDataByTimeStampWithChan invokes the live.DescribeLiveDomainBpsDataByTimeStamp API asynchronously
+// api document: https://help.aliyun.com/api/live/describelivedomainbpsdatabytimestamp.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeLiveDomainBpsDataByTimeStampWithChan(request *DescribeLiveDomainBpsDataByTimeStampRequest) (<-chan *DescribeLiveDomainBpsDataByTimeStampResponse, <-chan error) {
+	responseChan := make(chan *DescribeLiveDomainBpsDataByTimeStampResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeLiveDomainBpsDataByTimeStamp(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeLiveDomainBpsDataByTimeStampWithCallback invokes the live.DescribeLiveDomainBpsDataByTimeStamp API asynchronously
+// api document: https://help.aliyun.com/api/live/describelivedomainbpsdatabytimestamp.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeLiveDomainBpsDataByTimeStampWithCallback(request *DescribeLiveDomainBpsDataByTimeStampRequest, callback func(response *DescribeLiveDomainBpsDataByTimeStampResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeLiveDomainBpsDataByTimeStampResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeLiveDomainBpsDataByTimeStamp(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeLiveDomainBpsDataByTimeStampRequest is the request struct for api DescribeLiveDomainBpsDataByTimeStamp
+type DescribeLiveDomainBpsDataByTimeStampRequest struct {
+	*requests.RpcRequest
+	LocationNames string           `position:"Query" name:"LocationNames"`
+	IspNames      string           `position:"Query" name:"IspNames"`
+	DomainName    string           `position:"Query" name:"DomainName"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	TimePoint     string           `position:"Query" name:"TimePoint"`
+}
+
+// DescribeLiveDomainBpsDataByTimeStampResponse is the response struct for api DescribeLiveDomainBpsDataByTimeStamp
+type DescribeLiveDomainBpsDataByTimeStampResponse struct {
+	*responses.BaseResponse
+	RequestId   string      `json:"RequestId" xml:"RequestId"`
+	DomainName  string      `json:"DomainName" xml:"DomainName"`
+	TimeStamp   string      `json:"TimeStamp" xml:"TimeStamp"`
+	BpsDataList BpsDataList `json:"BpsDataList" xml:"BpsDataList"`
+}
+
+// CreateDescribeLiveDomainBpsDataByTimeStampRequest creates a request to invoke DescribeLiveDomainBpsDataByTimeStamp API
+func CreateDescribeLiveDomainBpsDataByTimeStampRequest() (request *DescribeLiveDomainBpsDataByTimeStampRequest) {
+	request = &DescribeLiveDomainBpsDataByTimeStampRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("live", "2016-11-01", "DescribeLiveDomainBpsDataByTimeStamp", "live", "openAPI")
+	return
+}
+
+// CreateDescribeLiveDomainBpsDataByTimeStampResponse creates a response to parse from DescribeLiveDomainBpsDataByTimeStamp response
+func CreateDescribeLiveDomainBpsDataByTimeStampResponse() (response *DescribeLiveDomainBpsDataByTimeStampResponse) {
+	response = &DescribeLiveDomainBpsDataByTimeStampResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/live/describe_live_domain_configs.go

@@ -77,9 +77,9 @@ func (client *Client) DescribeLiveDomainConfigsWithCallback(request *DescribeLiv
 type DescribeLiveDomainConfigsRequest struct {
 	*requests.RpcRequest
 	FunctionNames string           `position:"Query" name:"FunctionNames"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // DescribeLiveDomainConfigsResponse is the response struct for api DescribeLiveDomainConfigs

+ 1 - 1
services/live/describe_live_domain_detail.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeLiveDomainDetailWithCallback(request *DescribeLive
 // DescribeLiveDomainDetailRequest is the request struct for api DescribeLiveDomainDetail
 type DescribeLiveDomainDetailRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // DescribeLiveDomainDetailResponse is the response struct for api DescribeLiveDomainDetail

+ 106 - 0
services/live/describe_live_domain_frame_rate_and_bit_rate_data.go

@@ -0,0 +1,106 @@
+package live
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DescribeLiveDomainFrameRateAndBitRateData invokes the live.DescribeLiveDomainFrameRateAndBitRateData API synchronously
+// api document: https://help.aliyun.com/api/live/describelivedomainframerateandbitratedata.html
+func (client *Client) DescribeLiveDomainFrameRateAndBitRateData(request *DescribeLiveDomainFrameRateAndBitRateDataRequest) (response *DescribeLiveDomainFrameRateAndBitRateDataResponse, err error) {
+	response = CreateDescribeLiveDomainFrameRateAndBitRateDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeLiveDomainFrameRateAndBitRateDataWithChan invokes the live.DescribeLiveDomainFrameRateAndBitRateData API asynchronously
+// api document: https://help.aliyun.com/api/live/describelivedomainframerateandbitratedata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeLiveDomainFrameRateAndBitRateDataWithChan(request *DescribeLiveDomainFrameRateAndBitRateDataRequest) (<-chan *DescribeLiveDomainFrameRateAndBitRateDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeLiveDomainFrameRateAndBitRateDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeLiveDomainFrameRateAndBitRateData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeLiveDomainFrameRateAndBitRateDataWithCallback invokes the live.DescribeLiveDomainFrameRateAndBitRateData API asynchronously
+// api document: https://help.aliyun.com/api/live/describelivedomainframerateandbitratedata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeLiveDomainFrameRateAndBitRateDataWithCallback(request *DescribeLiveDomainFrameRateAndBitRateDataRequest, callback func(response *DescribeLiveDomainFrameRateAndBitRateDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeLiveDomainFrameRateAndBitRateDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeLiveDomainFrameRateAndBitRateData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeLiveDomainFrameRateAndBitRateDataRequest is the request struct for api DescribeLiveDomainFrameRateAndBitRateData
+type DescribeLiveDomainFrameRateAndBitRateDataRequest struct {
+	*requests.RpcRequest
+	QueryTime  string           `position:"Query" name:"QueryTime"`
+	DomainName string           `position:"Query" name:"DomainName"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeLiveDomainFrameRateAndBitRateDataResponse is the response struct for api DescribeLiveDomainFrameRateAndBitRateData
+type DescribeLiveDomainFrameRateAndBitRateDataResponse struct {
+	*responses.BaseResponse
+	RequestId                string                                                              `json:"RequestId" xml:"RequestId"`
+	FrameRateAndBitRateInfos FrameRateAndBitRateInfosInDescribeLiveDomainFrameRateAndBitRateData `json:"FrameRateAndBitRateInfos" xml:"FrameRateAndBitRateInfos"`
+}
+
+// CreateDescribeLiveDomainFrameRateAndBitRateDataRequest creates a request to invoke DescribeLiveDomainFrameRateAndBitRateData API
+func CreateDescribeLiveDomainFrameRateAndBitRateDataRequest() (request *DescribeLiveDomainFrameRateAndBitRateDataRequest) {
+	request = &DescribeLiveDomainFrameRateAndBitRateDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("live", "2016-11-01", "DescribeLiveDomainFrameRateAndBitRateData", "live", "openAPI")
+	return
+}
+
+// CreateDescribeLiveDomainFrameRateAndBitRateDataResponse creates a response to parse from DescribeLiveDomainFrameRateAndBitRateData response
+func CreateDescribeLiveDomainFrameRateAndBitRateDataResponse() (response *DescribeLiveDomainFrameRateAndBitRateDataResponse) {
+	response = &DescribeLiveDomainFrameRateAndBitRateDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/live/describe_live_domain_online_user_num.go

@@ -0,0 +1,108 @@
+package live
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DescribeLiveDomainOnlineUserNum invokes the live.DescribeLiveDomainOnlineUserNum API synchronously
+// api document: https://help.aliyun.com/api/live/describelivedomainonlineusernum.html
+func (client *Client) DescribeLiveDomainOnlineUserNum(request *DescribeLiveDomainOnlineUserNumRequest) (response *DescribeLiveDomainOnlineUserNumResponse, err error) {
+	response = CreateDescribeLiveDomainOnlineUserNumResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeLiveDomainOnlineUserNumWithChan invokes the live.DescribeLiveDomainOnlineUserNum API asynchronously
+// api document: https://help.aliyun.com/api/live/describelivedomainonlineusernum.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeLiveDomainOnlineUserNumWithChan(request *DescribeLiveDomainOnlineUserNumRequest) (<-chan *DescribeLiveDomainOnlineUserNumResponse, <-chan error) {
+	responseChan := make(chan *DescribeLiveDomainOnlineUserNumResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeLiveDomainOnlineUserNum(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeLiveDomainOnlineUserNumWithCallback invokes the live.DescribeLiveDomainOnlineUserNum API asynchronously
+// api document: https://help.aliyun.com/api/live/describelivedomainonlineusernum.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeLiveDomainOnlineUserNumWithCallback(request *DescribeLiveDomainOnlineUserNumRequest, callback func(response *DescribeLiveDomainOnlineUserNumResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeLiveDomainOnlineUserNumResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeLiveDomainOnlineUserNum(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeLiveDomainOnlineUserNumRequest is the request struct for api DescribeLiveDomainOnlineUserNum
+type DescribeLiveDomainOnlineUserNumRequest struct {
+	*requests.RpcRequest
+	QueryTime  string           `position:"Query" name:"QueryTime"`
+	DomainName string           `position:"Query" name:"DomainName"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeLiveDomainOnlineUserNumResponse is the response struct for api DescribeLiveDomainOnlineUserNum
+type DescribeLiveDomainOnlineUserNumResponse struct {
+	*responses.BaseResponse
+	RequestId      string                                          `json:"RequestId" xml:"RequestId"`
+	StreamCount    int                                             `json:"StreamCount" xml:"StreamCount"`
+	UserCount      int                                             `json:"UserCount" xml:"UserCount"`
+	OnlineUserInfo OnlineUserInfoInDescribeLiveDomainOnlineUserNum `json:"OnlineUserInfo" xml:"OnlineUserInfo"`
+}
+
+// CreateDescribeLiveDomainOnlineUserNumRequest creates a request to invoke DescribeLiveDomainOnlineUserNum API
+func CreateDescribeLiveDomainOnlineUserNumRequest() (request *DescribeLiveDomainOnlineUserNumRequest) {
+	request = &DescribeLiveDomainOnlineUserNumRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("live", "2016-11-01", "DescribeLiveDomainOnlineUserNum", "live", "openAPI")
+	return
+}
+
+// CreateDescribeLiveDomainOnlineUserNumResponse creates a response to parse from DescribeLiveDomainOnlineUserNum response
+func CreateDescribeLiveDomainOnlineUserNumResponse() (response *DescribeLiveDomainOnlineUserNumResponse) {
+	response = &DescribeLiveDomainOnlineUserNumResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/live/describe_live_domain_realtime_log_delivery.go

@@ -0,0 +1,108 @@
+package live
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DescribeLiveDomainRealtimeLogDelivery invokes the live.DescribeLiveDomainRealtimeLogDelivery API synchronously
+// api document: https://help.aliyun.com/api/live/describelivedomainrealtimelogdelivery.html
+func (client *Client) DescribeLiveDomainRealtimeLogDelivery(request *DescribeLiveDomainRealtimeLogDeliveryRequest) (response *DescribeLiveDomainRealtimeLogDeliveryResponse, err error) {
+	response = CreateDescribeLiveDomainRealtimeLogDeliveryResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeLiveDomainRealtimeLogDeliveryWithChan invokes the live.DescribeLiveDomainRealtimeLogDelivery API asynchronously
+// api document: https://help.aliyun.com/api/live/describelivedomainrealtimelogdelivery.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeLiveDomainRealtimeLogDeliveryWithChan(request *DescribeLiveDomainRealtimeLogDeliveryRequest) (<-chan *DescribeLiveDomainRealtimeLogDeliveryResponse, <-chan error) {
+	responseChan := make(chan *DescribeLiveDomainRealtimeLogDeliveryResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeLiveDomainRealtimeLogDelivery(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeLiveDomainRealtimeLogDeliveryWithCallback invokes the live.DescribeLiveDomainRealtimeLogDelivery API asynchronously
+// api document: https://help.aliyun.com/api/live/describelivedomainrealtimelogdelivery.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeLiveDomainRealtimeLogDeliveryWithCallback(request *DescribeLiveDomainRealtimeLogDeliveryRequest, callback func(response *DescribeLiveDomainRealtimeLogDeliveryResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeLiveDomainRealtimeLogDeliveryResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeLiveDomainRealtimeLogDelivery(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeLiveDomainRealtimeLogDeliveryRequest is the request struct for api DescribeLiveDomainRealtimeLogDelivery
+type DescribeLiveDomainRealtimeLogDeliveryRequest struct {
+	*requests.RpcRequest
+	DomainName string           `position:"Query" name:"DomainName"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeLiveDomainRealtimeLogDeliveryResponse is the response struct for api DescribeLiveDomainRealtimeLogDelivery
+type DescribeLiveDomainRealtimeLogDeliveryResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Project   string `json:"Project" xml:"Project"`
+	Region    string `json:"Region" xml:"Region"`
+	Logstore  string `json:"Logstore" xml:"Logstore"`
+	Status    string `json:"Status" xml:"Status"`
+}
+
+// CreateDescribeLiveDomainRealtimeLogDeliveryRequest creates a request to invoke DescribeLiveDomainRealtimeLogDelivery API
+func CreateDescribeLiveDomainRealtimeLogDeliveryRequest() (request *DescribeLiveDomainRealtimeLogDeliveryRequest) {
+	request = &DescribeLiveDomainRealtimeLogDeliveryRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("live", "2016-11-01", "DescribeLiveDomainRealtimeLogDelivery", "live", "openAPI")
+	return
+}
+
+// CreateDescribeLiveDomainRealtimeLogDeliveryResponse creates a response to parse from DescribeLiveDomainRealtimeLogDelivery response
+func CreateDescribeLiveDomainRealtimeLogDeliveryResponse() (response *DescribeLiveDomainRealtimeLogDeliveryResponse) {
+	response = &DescribeLiveDomainRealtimeLogDeliveryResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/live/describe_live_domain_record_data.go

@@ -76,10 +76,10 @@ func (client *Client) DescribeLiveDomainRecordDataWithCallback(request *Describe
 // DescribeLiveDomainRecordDataRequest is the request struct for api DescribeLiveDomainRecordData
 type DescribeLiveDomainRecordDataRequest struct {
 	*requests.RpcRequest
+	StartTime  string           `position:"Query" name:"StartTime"`
 	RecordType string           `position:"Query" name:"RecordType"`
 	DomainName string           `position:"Query" name:"DomainName"`
 	EndTime    string           `position:"Query" name:"EndTime"`
-	StartTime  string           `position:"Query" name:"StartTime"`
 	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 1 - 1
services/live/describe_live_domain_snapshot_data.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeLiveDomainSnapshotDataWithCallback(request *Descri
 // DescribeLiveDomainSnapshotDataRequest is the request struct for api DescribeLiveDomainSnapshotData
 type DescribeLiveDomainSnapshotDataRequest struct {
 	*requests.RpcRequest
+	StartTime  string           `position:"Query" name:"StartTime"`
 	DomainName string           `position:"Query" name:"DomainName"`
 	EndTime    string           `position:"Query" name:"EndTime"`
-	StartTime  string           `position:"Query" name:"StartTime"`
 	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 3 - 3
services/live/describe_live_domain_traffic_data.go

@@ -76,13 +76,13 @@ func (client *Client) DescribeLiveDomainTrafficDataWithCallback(request *Describ
 // DescribeLiveDomainTrafficDataRequest is the request struct for api DescribeLiveDomainTrafficData
 type DescribeLiveDomainTrafficDataRequest struct {
 	*requests.RpcRequest
-	DomainName     string           `position:"Query" name:"DomainName"`
-	EndTime        string           `position:"Query" name:"EndTime"`
-	Interval       string           `position:"Query" name:"Interval"`
 	LocationNameEn string           `position:"Query" name:"LocationNameEn"`
 	StartTime      string           `position:"Query" name:"StartTime"`
 	IspNameEn      string           `position:"Query" name:"IspNameEn"`
+	DomainName     string           `position:"Query" name:"DomainName"`
+	EndTime        string           `position:"Query" name:"EndTime"`
 	OwnerId        requests.Integer `position:"Query" name:"OwnerId"`
+	Interval       string           `position:"Query" name:"Interval"`
 }
 
 // DescribeLiveDomainTrafficDataResponse is the response struct for api DescribeLiveDomainTrafficData

+ 1 - 1
services/live/describe_live_domain_transcode_data.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeLiveDomainTranscodeDataWithCallback(request *Descr
 // DescribeLiveDomainTranscodeDataRequest is the request struct for api DescribeLiveDomainTranscodeData
 type DescribeLiveDomainTranscodeDataRequest struct {
 	*requests.RpcRequest
+	StartTime  string           `position:"Query" name:"StartTime"`
 	DomainName string           `position:"Query" name:"DomainName"`
 	EndTime    string           `position:"Query" name:"EndTime"`
-	StartTime  string           `position:"Query" name:"StartTime"`
 	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 1 - 1
services/live/describe_live_pull_stream_config.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeLivePullStreamConfigWithCallback(request *Describe
 // DescribeLivePullStreamConfigRequest is the request struct for api DescribeLivePullStreamConfig
 type DescribeLivePullStreamConfigRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // DescribeLivePullStreamConfigResponse is the response struct for api DescribeLivePullStreamConfig

+ 109 - 0
services/live/describe_live_realtime_delivery_acc.go

@@ -0,0 +1,109 @@
+package live
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DescribeLiveRealtimeDeliveryAcc invokes the live.DescribeLiveRealtimeDeliveryAcc API synchronously
+// api document: https://help.aliyun.com/api/live/describeliverealtimedeliveryacc.html
+func (client *Client) DescribeLiveRealtimeDeliveryAcc(request *DescribeLiveRealtimeDeliveryAccRequest) (response *DescribeLiveRealtimeDeliveryAccResponse, err error) {
+	response = CreateDescribeLiveRealtimeDeliveryAccResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeLiveRealtimeDeliveryAccWithChan invokes the live.DescribeLiveRealtimeDeliveryAcc API asynchronously
+// api document: https://help.aliyun.com/api/live/describeliverealtimedeliveryacc.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeLiveRealtimeDeliveryAccWithChan(request *DescribeLiveRealtimeDeliveryAccRequest) (<-chan *DescribeLiveRealtimeDeliveryAccResponse, <-chan error) {
+	responseChan := make(chan *DescribeLiveRealtimeDeliveryAccResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeLiveRealtimeDeliveryAcc(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeLiveRealtimeDeliveryAccWithCallback invokes the live.DescribeLiveRealtimeDeliveryAcc API asynchronously
+// api document: https://help.aliyun.com/api/live/describeliverealtimedeliveryacc.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeLiveRealtimeDeliveryAccWithCallback(request *DescribeLiveRealtimeDeliveryAccRequest, callback func(response *DescribeLiveRealtimeDeliveryAccResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeLiveRealtimeDeliveryAccResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeLiveRealtimeDeliveryAcc(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeLiveRealtimeDeliveryAccRequest is the request struct for api DescribeLiveRealtimeDeliveryAcc
+type DescribeLiveRealtimeDeliveryAccRequest struct {
+	*requests.RpcRequest
+	Project   string           `position:"Query" name:"Project"`
+	StartTime string           `position:"Query" name:"StartTime"`
+	EndTime   string           `position:"Query" name:"EndTime"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+	Interval  string           `position:"Query" name:"Interval"`
+	LogStore  string           `position:"Query" name:"LogStore"`
+}
+
+// DescribeLiveRealtimeDeliveryAccResponse is the response struct for api DescribeLiveRealtimeDeliveryAcc
+type DescribeLiveRealtimeDeliveryAccResponse struct {
+	*responses.BaseResponse
+	RequestId               string                  `json:"RequestId" xml:"RequestId"`
+	RealTimeDeliveryAccData RealTimeDeliveryAccData `json:"RealTimeDeliveryAccData" xml:"RealTimeDeliveryAccData"`
+}
+
+// CreateDescribeLiveRealtimeDeliveryAccRequest creates a request to invoke DescribeLiveRealtimeDeliveryAcc API
+func CreateDescribeLiveRealtimeDeliveryAccRequest() (request *DescribeLiveRealtimeDeliveryAccRequest) {
+	request = &DescribeLiveRealtimeDeliveryAccRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("live", "2016-11-01", "DescribeLiveRealtimeDeliveryAcc", "live", "openAPI")
+	return
+}
+
+// CreateDescribeLiveRealtimeDeliveryAccResponse creates a response to parse from DescribeLiveRealtimeDeliveryAcc response
+func CreateDescribeLiveRealtimeDeliveryAccResponse() (response *DescribeLiveRealtimeDeliveryAccResponse) {
+	response = &DescribeLiveRealtimeDeliveryAccResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/live/describe_live_realtime_log_authorized.go

@@ -0,0 +1,105 @@
+package live
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DescribeLiveRealtimeLogAuthorized invokes the live.DescribeLiveRealtimeLogAuthorized API synchronously
+// api document: https://help.aliyun.com/api/live/describeliverealtimelogauthorized.html
+func (client *Client) DescribeLiveRealtimeLogAuthorized(request *DescribeLiveRealtimeLogAuthorizedRequest) (response *DescribeLiveRealtimeLogAuthorizedResponse, err error) {
+	response = CreateDescribeLiveRealtimeLogAuthorizedResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeLiveRealtimeLogAuthorizedWithChan invokes the live.DescribeLiveRealtimeLogAuthorized API asynchronously
+// api document: https://help.aliyun.com/api/live/describeliverealtimelogauthorized.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeLiveRealtimeLogAuthorizedWithChan(request *DescribeLiveRealtimeLogAuthorizedRequest) (<-chan *DescribeLiveRealtimeLogAuthorizedResponse, <-chan error) {
+	responseChan := make(chan *DescribeLiveRealtimeLogAuthorizedResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeLiveRealtimeLogAuthorized(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeLiveRealtimeLogAuthorizedWithCallback invokes the live.DescribeLiveRealtimeLogAuthorized API asynchronously
+// api document: https://help.aliyun.com/api/live/describeliverealtimelogauthorized.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeLiveRealtimeLogAuthorizedWithCallback(request *DescribeLiveRealtimeLogAuthorizedRequest, callback func(response *DescribeLiveRealtimeLogAuthorizedResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeLiveRealtimeLogAuthorizedResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeLiveRealtimeLogAuthorized(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeLiveRealtimeLogAuthorizedRequest is the request struct for api DescribeLiveRealtimeLogAuthorized
+type DescribeLiveRealtimeLogAuthorizedRequest struct {
+	*requests.RpcRequest
+	OwnerId            requests.Integer `position:"Query" name:"OwnerId"`
+	LiveOpenapiReserve string           `position:"Query" name:"LiveOpenapiReserve"`
+}
+
+// DescribeLiveRealtimeLogAuthorizedResponse is the response struct for api DescribeLiveRealtimeLogAuthorized
+type DescribeLiveRealtimeLogAuthorizedResponse struct {
+	*responses.BaseResponse
+	RequestId        string `json:"RequestId" xml:"RequestId"`
+	AuthorizedStatus string `json:"AuthorizedStatus" xml:"AuthorizedStatus"`
+}
+
+// CreateDescribeLiveRealtimeLogAuthorizedRequest creates a request to invoke DescribeLiveRealtimeLogAuthorized API
+func CreateDescribeLiveRealtimeLogAuthorizedRequest() (request *DescribeLiveRealtimeLogAuthorizedRequest) {
+	request = &DescribeLiveRealtimeLogAuthorizedRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("live", "2016-11-01", "DescribeLiveRealtimeLogAuthorized", "live", "openAPI")
+	return
+}
+
+// CreateDescribeLiveRealtimeLogAuthorizedResponse creates a response to parse from DescribeLiveRealtimeLogAuthorized response
+func CreateDescribeLiveRealtimeLogAuthorizedResponse() (response *DescribeLiveRealtimeLogAuthorizedResponse) {
+	response = &DescribeLiveRealtimeLogAuthorizedResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 3 - 3
services/live/describe_live_record_config.go

@@ -76,14 +76,14 @@ func (client *Client) DescribeLiveRecordConfigWithCallback(request *DescribeLive
 // DescribeLiveRecordConfigRequest is the request struct for api DescribeLiveRecordConfig
 type DescribeLiveRecordConfigRequest struct {
 	*requests.RpcRequest
+	PageNum       requests.Integer `position:"Query" name:"PageNum"`
 	AppName       string           `position:"Query" name:"AppName"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
 	PageSize      requests.Integer `position:"Query" name:"PageSize"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	PageNum       requests.Integer `position:"Query" name:"PageNum"`
 	StreamName    string           `position:"Query" name:"StreamName"`
 	Order         string           `position:"Query" name:"Order"`
+	DomainName    string           `position:"Query" name:"DomainName"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeLiveRecordConfigResponse is the response struct for api DescribeLiveRecordConfig

+ 1 - 1
services/live/describe_live_record_notify_config.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeLiveRecordNotifyConfigWithCallback(request *Descri
 // DescribeLiveRecordNotifyConfigRequest is the request struct for api DescribeLiveRecordNotifyConfig
 type DescribeLiveRecordNotifyConfigRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // DescribeLiveRecordNotifyConfigResponse is the response struct for api DescribeLiveRecordNotifyConfig

+ 3 - 3
services/live/describe_live_record_vod_configs.go

@@ -76,12 +76,12 @@ func (client *Client) DescribeLiveRecordVodConfigsWithCallback(request *Describe
 // DescribeLiveRecordVodConfigsRequest is the request struct for api DescribeLiveRecordVodConfigs
 type DescribeLiveRecordVodConfigsRequest struct {
 	*requests.RpcRequest
+	PageNum    requests.Integer `position:"Query" name:"PageNum"`
 	AppName    string           `position:"Query" name:"AppName"`
-	DomainName string           `position:"Query" name:"DomainName"`
 	PageSize   requests.Integer `position:"Query" name:"PageSize"`
-	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
-	PageNum    requests.Integer `position:"Query" name:"PageNum"`
 	StreamName string           `position:"Query" name:"StreamName"`
+	DomainName string           `position:"Query" name:"DomainName"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeLiveRecordVodConfigsResponse is the response struct for api DescribeLiveRecordVodConfigs

+ 3 - 3
services/live/describe_live_snapshot_config.go

@@ -76,13 +76,13 @@ func (client *Client) DescribeLiveSnapshotConfigWithCallback(request *DescribeLi
 // DescribeLiveSnapshotConfigRequest is the request struct for api DescribeLiveSnapshotConfig
 type DescribeLiveSnapshotConfigRequest struct {
 	*requests.RpcRequest
+	PageNum       requests.Integer `position:"Query" name:"PageNum"`
 	AppName       string           `position:"Query" name:"AppName"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
 	PageSize      requests.Integer `position:"Query" name:"PageSize"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	PageNum       requests.Integer `position:"Query" name:"PageNum"`
 	Order         string           `position:"Query" name:"Order"`
+	DomainName    string           `position:"Query" name:"DomainName"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeLiveSnapshotConfigResponse is the response struct for api DescribeLiveSnapshotConfig

+ 3 - 3
services/live/describe_live_snapshot_detect_porn_config.go

@@ -76,13 +76,13 @@ func (client *Client) DescribeLiveSnapshotDetectPornConfigWithCallback(request *
 // DescribeLiveSnapshotDetectPornConfigRequest is the request struct for api DescribeLiveSnapshotDetectPornConfig
 type DescribeLiveSnapshotDetectPornConfigRequest struct {
 	*requests.RpcRequest
+	PageNum       requests.Integer `position:"Query" name:"PageNum"`
 	AppName       string           `position:"Query" name:"AppName"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
 	PageSize      requests.Integer `position:"Query" name:"PageSize"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	PageNum       requests.Integer `position:"Query" name:"PageNum"`
 	Order         string           `position:"Query" name:"Order"`
+	DomainName    string           `position:"Query" name:"DomainName"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeLiveSnapshotDetectPornConfigResponse is the response struct for api DescribeLiveSnapshotDetectPornConfig

+ 2 - 2
services/live/describe_live_stream_bit_rate_data.go

@@ -76,13 +76,13 @@ func (client *Client) DescribeLiveStreamBitRateDataWithCallback(request *Describ
 // DescribeLiveStreamBitRateDataRequest is the request struct for api DescribeLiveStreamBitRateData
 type DescribeLiveStreamBitRateDataRequest struct {
 	*requests.RpcRequest
+	StartTime     string           `position:"Query" name:"StartTime"`
 	AppName       string           `position:"Query" name:"AppName"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	StreamName    string           `position:"Query" name:"StreamName"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName    string           `position:"Query" name:"StreamName"`
 }
 
 // DescribeLiveStreamBitRateDataResponse is the response struct for api DescribeLiveStreamBitRateData

+ 2 - 2
services/live/describe_live_stream_history_user_num.go

@@ -76,13 +76,13 @@ func (client *Client) DescribeLiveStreamHistoryUserNumWithCallback(request *Desc
 // DescribeLiveStreamHistoryUserNumRequest is the request struct for api DescribeLiveStreamHistoryUserNum
 type DescribeLiveStreamHistoryUserNumRequest struct {
 	*requests.RpcRequest
+	StartTime     string           `position:"Query" name:"StartTime"`
 	AppName       string           `position:"Query" name:"AppName"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	StreamName    string           `position:"Query" name:"StreamName"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName    string           `position:"Query" name:"StreamName"`
 }
 
 // DescribeLiveStreamHistoryUserNumResponse is the response struct for api DescribeLiveStreamHistoryUserNum

+ 5 - 5
services/live/describe_live_stream_online_user_num.go

@@ -76,21 +76,21 @@ func (client *Client) DescribeLiveStreamOnlineUserNumWithCallback(request *Descr
 // DescribeLiveStreamOnlineUserNumRequest is the request struct for api DescribeLiveStreamOnlineUserNum
 type DescribeLiveStreamOnlineUserNumRequest struct {
 	*requests.RpcRequest
+	StartTime     string           `position:"Query" name:"StartTime"`
 	AppName       string           `position:"Query" name:"AppName"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	StreamName    string           `position:"Query" name:"StreamName"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName    string           `position:"Query" name:"StreamName"`
 }
 
 // DescribeLiveStreamOnlineUserNumResponse is the response struct for api DescribeLiveStreamOnlineUserNum
 type DescribeLiveStreamOnlineUserNumResponse struct {
 	*responses.BaseResponse
-	RequestId       string         `json:"RequestId" xml:"RequestId"`
-	TotalUserNumber int64          `json:"TotalUserNumber" xml:"TotalUserNumber"`
-	OnlineUserInfo  OnlineUserInfo `json:"OnlineUserInfo" xml:"OnlineUserInfo"`
+	RequestId       string                                          `json:"RequestId" xml:"RequestId"`
+	TotalUserNumber int64                                           `json:"TotalUserNumber" xml:"TotalUserNumber"`
+	OnlineUserInfo  OnlineUserInfoInDescribeLiveStreamOnlineUserNum `json:"OnlineUserInfo" xml:"OnlineUserInfo"`
 }
 
 // CreateDescribeLiveStreamOnlineUserNumRequest creates a request to invoke DescribeLiveStreamOnlineUserNum API

+ 2 - 2
services/live/describe_live_stream_record_content.go

@@ -76,13 +76,13 @@ func (client *Client) DescribeLiveStreamRecordContentWithCallback(request *Descr
 // DescribeLiveStreamRecordContentRequest is the request struct for api DescribeLiveStreamRecordContent
 type DescribeLiveStreamRecordContentRequest struct {
 	*requests.RpcRequest
+	StartTime     string           `position:"Query" name:"StartTime"`
 	AppName       string           `position:"Query" name:"AppName"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	StreamName    string           `position:"Query" name:"StreamName"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName    string           `position:"Query" name:"StreamName"`
 }
 
 // DescribeLiveStreamRecordContentResponse is the response struct for api DescribeLiveStreamRecordContent

+ 2 - 2
services/live/describe_live_stream_record_index_file.go

@@ -76,12 +76,12 @@ func (client *Client) DescribeLiveStreamRecordIndexFileWithCallback(request *Des
 // DescribeLiveStreamRecordIndexFileRequest is the request struct for api DescribeLiveStreamRecordIndexFile
 type DescribeLiveStreamRecordIndexFileRequest struct {
 	*requests.RpcRequest
-	RecordId      string           `position:"Query" name:"RecordId"`
 	AppName       string           `position:"Query" name:"AppName"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	StreamName    string           `position:"Query" name:"StreamName"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName    string           `position:"Query" name:"StreamName"`
+	RecordId      string           `position:"Query" name:"RecordId"`
 }
 
 // DescribeLiveStreamRecordIndexFileResponse is the response struct for api DescribeLiveStreamRecordIndexFile

+ 5 - 5
services/live/describe_live_stream_record_index_files.go

@@ -76,16 +76,16 @@ func (client *Client) DescribeLiveStreamRecordIndexFilesWithCallback(request *De
 // DescribeLiveStreamRecordIndexFilesRequest is the request struct for api DescribeLiveStreamRecordIndexFiles
 type DescribeLiveStreamRecordIndexFilesRequest struct {
 	*requests.RpcRequest
+	StartTime     string           `position:"Query" name:"StartTime"`
+	PageNum       requests.Integer `position:"Query" name:"PageNum"`
 	AppName       string           `position:"Query" name:"AppName"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
 	PageSize      requests.Integer `position:"Query" name:"PageSize"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	PageNum       requests.Integer `position:"Query" name:"PageNum"`
 	StreamName    string           `position:"Query" name:"StreamName"`
 	Order         string           `position:"Query" name:"Order"`
+	DomainName    string           `position:"Query" name:"DomainName"`
+	EndTime       string           `position:"Query" name:"EndTime"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeLiveStreamRecordIndexFilesResponse is the response struct for api DescribeLiveStreamRecordIndexFiles

+ 4 - 4
services/live/describe_live_stream_snapshot_info.go

@@ -76,15 +76,15 @@ func (client *Client) DescribeLiveStreamSnapshotInfoWithCallback(request *Descri
 // DescribeLiveStreamSnapshotInfoRequest is the request struct for api DescribeLiveStreamSnapshotInfo
 type DescribeLiveStreamSnapshotInfoRequest struct {
 	*requests.RpcRequest
+	StartTime     string           `position:"Query" name:"StartTime"`
 	AppName       string           `position:"Query" name:"AppName"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
 	Limit         requests.Integer `position:"Query" name:"Limit"`
-	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 	StreamName    string           `position:"Query" name:"StreamName"`
 	Order         string           `position:"Query" name:"Order"`
+	DomainName    string           `position:"Query" name:"DomainName"`
+	EndTime       string           `position:"Query" name:"EndTime"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeLiveStreamSnapshotInfoResponse is the response struct for api DescribeLiveStreamSnapshotInfo

+ 2 - 2
services/live/describe_live_streams_block_list.go

@@ -76,11 +76,11 @@ func (client *Client) DescribeLiveStreamsBlockListWithCallback(request *Describe
 // DescribeLiveStreamsBlockListRequest is the request struct for api DescribeLiveStreamsBlockList
 type DescribeLiveStreamsBlockListRequest struct {
 	*requests.RpcRequest
+	PageNum       requests.Integer `position:"Query" name:"PageNum"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	DomainName    string           `position:"Query" name:"DomainName"`
 	PageSize      requests.Integer `position:"Query" name:"PageSize"`
+	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	PageNum       requests.Integer `position:"Query" name:"PageNum"`
 }
 
 // DescribeLiveStreamsBlockListResponse is the response struct for api DescribeLiveStreamsBlockList

+ 1 - 1
services/live/describe_live_streams_control_history.go

@@ -76,11 +76,11 @@ func (client *Client) DescribeLiveStreamsControlHistoryWithCallback(request *Des
 // DescribeLiveStreamsControlHistoryRequest is the request struct for api DescribeLiveStreamsControlHistory
 type DescribeLiveStreamsControlHistoryRequest struct {
 	*requests.RpcRequest
+	StartTime     string           `position:"Query" name:"StartTime"`
 	AppName       string           `position:"Query" name:"AppName"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 2 - 2
services/live/describe_live_streams_frame_rate_and_bit_rate_data.go

@@ -76,13 +76,13 @@ func (client *Client) DescribeLiveStreamsFrameRateAndBitRateDataWithCallback(req
 // DescribeLiveStreamsFrameRateAndBitRateDataRequest is the request struct for api DescribeLiveStreamsFrameRateAndBitRateData
 type DescribeLiveStreamsFrameRateAndBitRateDataRequest struct {
 	*requests.RpcRequest
+	StartTime     string           `position:"Query" name:"StartTime"`
 	AppName       string           `position:"Query" name:"AppName"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	StreamName    string           `position:"Query" name:"StreamName"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	EndTime       string           `position:"Query" name:"EndTime"`
-	StartTime     string           `position:"Query" name:"StartTime"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	StreamName    string           `position:"Query" name:"StreamName"`
 }
 
 // DescribeLiveStreamsFrameRateAndBitRateDataResponse is the response struct for api DescribeLiveStreamsFrameRateAndBitRateData

+ 5 - 5
services/live/describe_live_streams_online_list.go

@@ -76,17 +76,17 @@ func (client *Client) DescribeLiveStreamsOnlineListWithCallback(request *Describ
 // DescribeLiveStreamsOnlineListRequest is the request struct for api DescribeLiveStreamsOnlineList
 type DescribeLiveStreamsOnlineListRequest struct {
 	*requests.RpcRequest
-	StreamType string           `position:"Query" name:"StreamType"`
-	DomainName string           `position:"Query" name:"DomainName"`
-	EndTime    string           `position:"Query" name:"EndTime"`
-	OrderBy    string           `position:"Query" name:"OrderBy"`
 	StartTime  string           `position:"Query" name:"StartTime"`
-	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
 	PageNum    requests.Integer `position:"Query" name:"PageNum"`
 	AppName    string           `position:"Query" name:"AppName"`
 	PageSize   requests.Integer `position:"Query" name:"PageSize"`
 	StreamName string           `position:"Query" name:"StreamName"`
 	QueryType  string           `position:"Query" name:"QueryType"`
+	StreamType string           `position:"Query" name:"StreamType"`
+	DomainName string           `position:"Query" name:"DomainName"`
+	EndTime    string           `position:"Query" name:"EndTime"`
+	OrderBy    string           `position:"Query" name:"OrderBy"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // DescribeLiveStreamsOnlineListResponse is the response struct for api DescribeLiveStreamsOnlineList

+ 8 - 8
services/live/describe_live_user_domains.go

@@ -76,25 +76,25 @@ func (client *Client) DescribeLiveUserDomainsWithCallback(request *DescribeLiveU
 // DescribeLiveUserDomainsRequest is the request struct for api DescribeLiveUserDomains
 type DescribeLiveUserDomainsRequest struct {
 	*requests.RpcRequest
+	PageNumber       requests.Integer `position:"Query" name:"PageNumber"`
 	SecurityToken    string           `position:"Query" name:"SecurityToken"`
 	PageSize         requests.Integer `position:"Query" name:"PageSize"`
-	DomainName       string           `position:"Query" name:"DomainName"`
 	RegionName       string           `position:"Query" name:"RegionName"`
+	DomainName       string           `position:"Query" name:"DomainName"`
 	OwnerId          requests.Integer `position:"Query" name:"OwnerId"`
-	PageNumber       requests.Integer `position:"Query" name:"PageNumber"`
 	DomainStatus     string           `position:"Query" name:"DomainStatus"`
-	LiveDomainType   string           `position:"Query" name:"LiveDomainType"`
 	DomainSearchType string           `position:"Query" name:"DomainSearchType"`
+	LiveDomainType   string           `position:"Query" name:"LiveDomainType"`
 }
 
 // DescribeLiveUserDomainsResponse is the response struct for api DescribeLiveUserDomains
 type DescribeLiveUserDomainsResponse struct {
 	*responses.BaseResponse
-	RequestId  string  `json:"RequestId" xml:"RequestId"`
-	PageNumber int64   `json:"PageNumber" xml:"PageNumber"`
-	PageSize   int64   `json:"PageSize" xml:"PageSize"`
-	TotalCount int64   `json:"TotalCount" xml:"TotalCount"`
-	Domains    Domains `json:"Domains" xml:"Domains"`
+	RequestId  string                           `json:"RequestId" xml:"RequestId"`
+	PageNumber int64                            `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int64                            `json:"PageSize" xml:"PageSize"`
+	TotalCount int64                            `json:"TotalCount" xml:"TotalCount"`
+	Domains    DomainsInDescribeLiveUserDomains `json:"Domains" xml:"Domains"`
 }
 
 // CreateDescribeLiveUserDomainsRequest creates a request to invoke DescribeLiveUserDomains API

+ 1 - 1
services/live/describe_up_bps_peak_data.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeUpBpsPeakDataWithCallback(request *DescribeUpBpsPe
 // DescribeUpBpsPeakDataRequest is the request struct for api DescribeUpBpsPeakData
 type DescribeUpBpsPeakDataRequest struct {
 	*requests.RpcRequest
+	StartTime    string           `position:"Query" name:"StartTime"`
 	DomainName   string           `position:"Query" name:"DomainName"`
 	EndTime      string           `position:"Query" name:"EndTime"`
-	StartTime    string           `position:"Query" name:"StartTime"`
 	OwnerId      requests.Integer `position:"Query" name:"OwnerId"`
 	DomainSwitch string           `position:"Query" name:"DomainSwitch"`
 }

+ 1 - 1
services/live/describe_up_bps_peak_of_line.go

@@ -77,9 +77,9 @@ func (client *Client) DescribeUpBpsPeakOfLineWithCallback(request *DescribeUpBps
 type DescribeUpBpsPeakOfLineRequest struct {
 	*requests.RpcRequest
 	Line         string           `position:"Query" name:"Line"`
+	StartTime    string           `position:"Query" name:"StartTime"`
 	DomainName   string           `position:"Query" name:"DomainName"`
 	EndTime      string           `position:"Query" name:"EndTime"`
-	StartTime    string           `position:"Query" name:"StartTime"`
 	OwnerId      requests.Integer `position:"Query" name:"OwnerId"`
 	DomainSwitch string           `position:"Query" name:"DomainSwitch"`
 }

+ 1 - 1
services/live/describe_up_peak_publish_stream_data.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeUpPeakPublishStreamDataWithCallback(request *Descr
 // DescribeUpPeakPublishStreamDataRequest is the request struct for api DescribeUpPeakPublishStreamData
 type DescribeUpPeakPublishStreamDataRequest struct {
 	*requests.RpcRequest
+	StartTime    string           `position:"Query" name:"StartTime"`
 	DomainName   string           `position:"Query" name:"DomainName"`
 	EndTime      string           `position:"Query" name:"EndTime"`
-	StartTime    string           `position:"Query" name:"StartTime"`
 	OwnerId      requests.Integer `position:"Query" name:"OwnerId"`
 	DomainSwitch string           `position:"Query" name:"DomainSwitch"`
 }

+ 104 - 0
services/live/disable_live_realtime_log_delivery.go

@@ -0,0 +1,104 @@
+package live
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DisableLiveRealtimeLogDelivery invokes the live.DisableLiveRealtimeLogDelivery API synchronously
+// api document: https://help.aliyun.com/api/live/disableliverealtimelogdelivery.html
+func (client *Client) DisableLiveRealtimeLogDelivery(request *DisableLiveRealtimeLogDeliveryRequest) (response *DisableLiveRealtimeLogDeliveryResponse, err error) {
+	response = CreateDisableLiveRealtimeLogDeliveryResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DisableLiveRealtimeLogDeliveryWithChan invokes the live.DisableLiveRealtimeLogDelivery API asynchronously
+// api document: https://help.aliyun.com/api/live/disableliverealtimelogdelivery.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DisableLiveRealtimeLogDeliveryWithChan(request *DisableLiveRealtimeLogDeliveryRequest) (<-chan *DisableLiveRealtimeLogDeliveryResponse, <-chan error) {
+	responseChan := make(chan *DisableLiveRealtimeLogDeliveryResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DisableLiveRealtimeLogDelivery(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DisableLiveRealtimeLogDeliveryWithCallback invokes the live.DisableLiveRealtimeLogDelivery API asynchronously
+// api document: https://help.aliyun.com/api/live/disableliverealtimelogdelivery.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DisableLiveRealtimeLogDeliveryWithCallback(request *DisableLiveRealtimeLogDeliveryRequest, callback func(response *DisableLiveRealtimeLogDeliveryResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DisableLiveRealtimeLogDeliveryResponse
+		var err error
+		defer close(result)
+		response, err = client.DisableLiveRealtimeLogDelivery(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DisableLiveRealtimeLogDeliveryRequest is the request struct for api DisableLiveRealtimeLogDelivery
+type DisableLiveRealtimeLogDeliveryRequest struct {
+	*requests.RpcRequest
+	DomainName string           `position:"Query" name:"DomainName"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DisableLiveRealtimeLogDeliveryResponse is the response struct for api DisableLiveRealtimeLogDelivery
+type DisableLiveRealtimeLogDeliveryResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateDisableLiveRealtimeLogDeliveryRequest creates a request to invoke DisableLiveRealtimeLogDelivery API
+func CreateDisableLiveRealtimeLogDeliveryRequest() (request *DisableLiveRealtimeLogDeliveryRequest) {
+	request = &DisableLiveRealtimeLogDeliveryRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("live", "2016-11-01", "DisableLiveRealtimeLogDelivery", "live", "openAPI")
+	return
+}
+
+// CreateDisableLiveRealtimeLogDeliveryResponse creates a response to parse from DisableLiveRealtimeLogDelivery response
+func CreateDisableLiveRealtimeLogDeliveryResponse() (response *DisableLiveRealtimeLogDeliveryResponse) {
+	response = &DisableLiveRealtimeLogDeliveryResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/live/effect_caster_urgent.go

@@ -77,8 +77,8 @@ func (client *Client) EffectCasterUrgentWithCallback(request *EffectCasterUrgent
 type EffectCasterUrgentRequest struct {
 	*requests.RpcRequest
 	CasterId string           `position:"Query" name:"CasterId"`
-	SceneId  string           `position:"Query" name:"SceneId"`
 	OwnerId  requests.Integer `position:"Query" name:"OwnerId"`
+	SceneId  string           `position:"Query" name:"SceneId"`
 }
 
 // EffectCasterUrgentResponse is the response struct for api EffectCasterUrgent

+ 1 - 1
services/live/effect_caster_video_resource.go

@@ -78,8 +78,8 @@ type EffectCasterVideoResourceRequest struct {
 	*requests.RpcRequest
 	ResourceId string           `position:"Query" name:"ResourceId"`
 	CasterId   string           `position:"Query" name:"CasterId"`
-	SceneId    string           `position:"Query" name:"SceneId"`
 	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+	SceneId    string           `position:"Query" name:"SceneId"`
 }
 
 // EffectCasterVideoResourceResponse is the response struct for api EffectCasterVideoResource

+ 104 - 0
services/live/enable_live_realtime_log_delivery.go

@@ -0,0 +1,104 @@
+package live
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// EnableLiveRealtimeLogDelivery invokes the live.EnableLiveRealtimeLogDelivery API synchronously
+// api document: https://help.aliyun.com/api/live/enableliverealtimelogdelivery.html
+func (client *Client) EnableLiveRealtimeLogDelivery(request *EnableLiveRealtimeLogDeliveryRequest) (response *EnableLiveRealtimeLogDeliveryResponse, err error) {
+	response = CreateEnableLiveRealtimeLogDeliveryResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// EnableLiveRealtimeLogDeliveryWithChan invokes the live.EnableLiveRealtimeLogDelivery API asynchronously
+// api document: https://help.aliyun.com/api/live/enableliverealtimelogdelivery.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) EnableLiveRealtimeLogDeliveryWithChan(request *EnableLiveRealtimeLogDeliveryRequest) (<-chan *EnableLiveRealtimeLogDeliveryResponse, <-chan error) {
+	responseChan := make(chan *EnableLiveRealtimeLogDeliveryResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.EnableLiveRealtimeLogDelivery(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// EnableLiveRealtimeLogDeliveryWithCallback invokes the live.EnableLiveRealtimeLogDelivery API asynchronously
+// api document: https://help.aliyun.com/api/live/enableliverealtimelogdelivery.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) EnableLiveRealtimeLogDeliveryWithCallback(request *EnableLiveRealtimeLogDeliveryRequest, callback func(response *EnableLiveRealtimeLogDeliveryResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *EnableLiveRealtimeLogDeliveryResponse
+		var err error
+		defer close(result)
+		response, err = client.EnableLiveRealtimeLogDelivery(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// EnableLiveRealtimeLogDeliveryRequest is the request struct for api EnableLiveRealtimeLogDelivery
+type EnableLiveRealtimeLogDeliveryRequest struct {
+	*requests.RpcRequest
+	DomainName string           `position:"Query" name:"DomainName"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// EnableLiveRealtimeLogDeliveryResponse is the response struct for api EnableLiveRealtimeLogDelivery
+type EnableLiveRealtimeLogDeliveryResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateEnableLiveRealtimeLogDeliveryRequest creates a request to invoke EnableLiveRealtimeLogDelivery API
+func CreateEnableLiveRealtimeLogDeliveryRequest() (request *EnableLiveRealtimeLogDeliveryRequest) {
+	request = &EnableLiveRealtimeLogDeliveryRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("live", "2016-11-01", "EnableLiveRealtimeLogDelivery", "live", "openAPI")
+	return
+}
+
+// CreateEnableLiveRealtimeLogDeliveryResponse creates a response to parse from EnableLiveRealtimeLogDelivery response
+func CreateEnableLiveRealtimeLogDeliveryResponse() (response *EnableLiveRealtimeLogDeliveryResponse) {
+	response = &EnableLiveRealtimeLogDeliveryResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 75 - 0
services/live/endpoint.go

@@ -0,0 +1,75 @@
+package live
+
+// EndpointMap Endpoint Data
+var EndpointMap map[string]string
+
+// EndpointType regional or central
+var EndpointType = "regional"
+
+// GetEndpointMap Get Endpoint Data Map
+func GetEndpointMap() map[string]string {
+	if EndpointMap == nil {
+		EndpointMap = map[string]string{
+			"cn-shanghai-internal-test-1": "live.aliyuncs.com",
+			"cn-shenzhen-su18-b01":        "live.aliyuncs.com",
+			"cn-beijing":                  "live.aliyuncs.com",
+			"cn-shanghai-inner":           "live.aliyuncs.com",
+			"cn-hangzhou-internal-prod-1": "live.aliyuncs.com",
+			"cn-north-2-gov-1":            "live.aliyuncs.com",
+			"cn-yushanfang":               "live.aliyuncs.com",
+			"cn-qingdao-nebula":           "live.aliyuncs.com",
+			"cn-beijing-finance-pop":      "live.aliyuncs.com",
+			"cn-wuhan":                    "live.aliyuncs.com",
+			"cn-zhangjiakou":              "live.aliyuncs.com",
+			"us-west-1":                   "live.ap-southeast-1.aliyuncs.com",
+			"rus-west-1-pop":              "live.ap-southeast-1.aliyuncs.com",
+			"cn-shanghai-et15-b01":        "live.aliyuncs.com",
+			"cn-hangzhou-bj-b01":          "live.aliyuncs.com",
+			"cn-zhangbei-na61-b01":        "live.aliyuncs.com",
+			"ap-northeast-1":              "live.aliyuncs.com",
+			"cn-shanghai-et2-b01":         "live.aliyuncs.com",
+			"ap-southeast-1":              "live.aliyuncs.com",
+			"ap-southeast-2":              "live.ap-southeast-1.aliyuncs.com",
+			"ap-southeast-3":              "live.ap-southeast-1.aliyuncs.com",
+			"ap-southeast-5":              "live.aliyuncs.com",
+			"us-east-1":                   "live.ap-southeast-1.aliyuncs.com",
+			"cn-shenzhen-inner":           "live.aliyuncs.com",
+			"cn-zhangjiakou-na62-a01":     "live.aliyuncs.com",
+			"cn-beijing-gov-1":            "live.aliyuncs.com",
+			"ap-south-1":                  "live.aliyuncs.com",
+			"cn-shenzhen-st4-d01":         "live.aliyuncs.com",
+			"cn-haidian-cm12-c01":         "live.aliyuncs.com",
+			"cn-qingdao":                  "live.aliyuncs.com",
+			"cn-hongkong-finance-pop":     "live.aliyuncs.com",
+			"cn-shanghai":                 "live.aliyuncs.com",
+			"cn-shanghai-finance-1":       "live.aliyuncs.com",
+			"cn-hongkong":                 "live.aliyuncs.com",
+			"eu-central-1":                "live.aliyuncs.com",
+			"cn-shenzhen":                 "live.aliyuncs.com",
+			"cn-zhengzhou-nebula-1":       "live.aliyuncs.com",
+			"eu-west-1":                   "live.ap-southeast-1.aliyuncs.com",
+			"cn-hangzhou-internal-test-1": "live.aliyuncs.com",
+			"eu-west-1-oxs":               "live.ap-southeast-1.aliyuncs.com",
+			"cn-beijing-finance-1":        "live.aliyuncs.com",
+			"cn-hangzhou-internal-test-3": "live.aliyuncs.com",
+			"cn-hangzhou-internal-test-2": "live.aliyuncs.com",
+			"cn-shenzhen-finance-1":       "live.aliyuncs.com",
+			"me-east-1":                   "live.ap-southeast-1.aliyuncs.com",
+			"cn-chengdu":                  "live.aliyuncs.com",
+			"cn-hangzhou-test-306":        "live.aliyuncs.com",
+			"cn-hangzhou-finance":         "live.aliyuncs.com",
+			"cn-beijing-nu16-b01":         "live.aliyuncs.com",
+			"cn-edge-1":                   "live.aliyuncs.com",
+			"cn-huhehaote":                "live.aliyuncs.com",
+			"cn-fujian":                   "live.aliyuncs.com",
+			"ap-northeast-2-pop":          "live.ap-southeast-1.aliyuncs.com",
+			"cn-hangzhou":                 "live.aliyuncs.com",
+		}
+	}
+	return EndpointMap
+}
+
+// GetEndpointType Get Endpoint Type Value
+func GetEndpointType() string {
+	return EndpointType
+}

+ 3 - 3
services/live/forbid_live_stream.go

@@ -76,14 +76,14 @@ func (client *Client) ForbidLiveStreamWithCallback(request *ForbidLiveStreamRequ
 // ForbidLiveStreamRequest is the request struct for api ForbidLiveStream
 type ForbidLiveStreamRequest struct {
 	*requests.RpcRequest
-	ResumeTime          string           `position:"Query" name:"ResumeTime"`
 	AppName             string           `position:"Query" name:"AppName"`
+	StreamName          string           `position:"Query" name:"StreamName"`
+	ControlStreamAction string           `position:"Query" name:"ControlStreamAction"`
+	ResumeTime          string           `position:"Query" name:"ResumeTime"`
 	LiveStreamType      string           `position:"Query" name:"LiveStreamType"`
 	DomainName          string           `position:"Query" name:"DomainName"`
 	OwnerId             requests.Integer `position:"Query" name:"OwnerId"`
 	Oneshot             string           `position:"Query" name:"Oneshot"`
-	StreamName          string           `position:"Query" name:"StreamName"`
-	ControlStreamAction string           `position:"Query" name:"ControlStreamAction"`
 }
 
 // ForbidLiveStreamResponse is the response struct for api ForbidLiveStream

+ 105 - 0
services/live/list_live_realtime_log_delivery.go

@@ -0,0 +1,105 @@
+package live
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// ListLiveRealtimeLogDelivery invokes the live.ListLiveRealtimeLogDelivery API synchronously
+// api document: https://help.aliyun.com/api/live/listliverealtimelogdelivery.html
+func (client *Client) ListLiveRealtimeLogDelivery(request *ListLiveRealtimeLogDeliveryRequest) (response *ListLiveRealtimeLogDeliveryResponse, err error) {
+	response = CreateListLiveRealtimeLogDeliveryResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListLiveRealtimeLogDeliveryWithChan invokes the live.ListLiveRealtimeLogDelivery API asynchronously
+// api document: https://help.aliyun.com/api/live/listliverealtimelogdelivery.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListLiveRealtimeLogDeliveryWithChan(request *ListLiveRealtimeLogDeliveryRequest) (<-chan *ListLiveRealtimeLogDeliveryResponse, <-chan error) {
+	responseChan := make(chan *ListLiveRealtimeLogDeliveryResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListLiveRealtimeLogDelivery(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListLiveRealtimeLogDeliveryWithCallback invokes the live.ListLiveRealtimeLogDelivery API asynchronously
+// api document: https://help.aliyun.com/api/live/listliverealtimelogdelivery.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListLiveRealtimeLogDeliveryWithCallback(request *ListLiveRealtimeLogDeliveryRequest, callback func(response *ListLiveRealtimeLogDeliveryResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListLiveRealtimeLogDeliveryResponse
+		var err error
+		defer close(result)
+		response, err = client.ListLiveRealtimeLogDelivery(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListLiveRealtimeLogDeliveryRequest is the request struct for api ListLiveRealtimeLogDelivery
+type ListLiveRealtimeLogDeliveryRequest struct {
+	*requests.RpcRequest
+	OwnerId            requests.Integer `position:"Query" name:"OwnerId"`
+	LiveOpenapiReserve string           `position:"Query" name:"LiveOpenapiReserve"`
+}
+
+// ListLiveRealtimeLogDeliveryResponse is the response struct for api ListLiveRealtimeLogDelivery
+type ListLiveRealtimeLogDeliveryResponse struct {
+	*responses.BaseResponse
+	RequestId string                               `json:"RequestId" xml:"RequestId"`
+	Content   ContentInListLiveRealtimeLogDelivery `json:"Content" xml:"Content"`
+}
+
+// CreateListLiveRealtimeLogDeliveryRequest creates a request to invoke ListLiveRealtimeLogDelivery API
+func CreateListLiveRealtimeLogDeliveryRequest() (request *ListLiveRealtimeLogDeliveryRequest) {
+	request = &ListLiveRealtimeLogDeliveryRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("live", "2016-11-01", "ListLiveRealtimeLogDelivery", "live", "openAPI")
+	return
+}
+
+// CreateListLiveRealtimeLogDeliveryResponse creates a response to parse from ListLiveRealtimeLogDelivery response
+func CreateListLiveRealtimeLogDeliveryResponse() (response *ListLiveRealtimeLogDeliveryResponse) {
+	response = &ListLiveRealtimeLogDeliveryResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/live/list_live_realtime_log_delivery_domains.go

@@ -0,0 +1,107 @@
+package live
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// ListLiveRealtimeLogDeliveryDomains invokes the live.ListLiveRealtimeLogDeliveryDomains API synchronously
+// api document: https://help.aliyun.com/api/live/listliverealtimelogdeliverydomains.html
+func (client *Client) ListLiveRealtimeLogDeliveryDomains(request *ListLiveRealtimeLogDeliveryDomainsRequest) (response *ListLiveRealtimeLogDeliveryDomainsResponse, err error) {
+	response = CreateListLiveRealtimeLogDeliveryDomainsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListLiveRealtimeLogDeliveryDomainsWithChan invokes the live.ListLiveRealtimeLogDeliveryDomains API asynchronously
+// api document: https://help.aliyun.com/api/live/listliverealtimelogdeliverydomains.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListLiveRealtimeLogDeliveryDomainsWithChan(request *ListLiveRealtimeLogDeliveryDomainsRequest) (<-chan *ListLiveRealtimeLogDeliveryDomainsResponse, <-chan error) {
+	responseChan := make(chan *ListLiveRealtimeLogDeliveryDomainsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListLiveRealtimeLogDeliveryDomains(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListLiveRealtimeLogDeliveryDomainsWithCallback invokes the live.ListLiveRealtimeLogDeliveryDomains API asynchronously
+// api document: https://help.aliyun.com/api/live/listliverealtimelogdeliverydomains.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListLiveRealtimeLogDeliveryDomainsWithCallback(request *ListLiveRealtimeLogDeliveryDomainsRequest, callback func(response *ListLiveRealtimeLogDeliveryDomainsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListLiveRealtimeLogDeliveryDomainsResponse
+		var err error
+		defer close(result)
+		response, err = client.ListLiveRealtimeLogDeliveryDomains(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListLiveRealtimeLogDeliveryDomainsRequest is the request struct for api ListLiveRealtimeLogDeliveryDomains
+type ListLiveRealtimeLogDeliveryDomainsRequest struct {
+	*requests.RpcRequest
+	Project  string           `position:"Query" name:"Project"`
+	OwnerId  requests.Integer `position:"Query" name:"OwnerId"`
+	Region   string           `position:"Query" name:"Region"`
+	Logstore string           `position:"Query" name:"Logstore"`
+}
+
+// ListLiveRealtimeLogDeliveryDomainsResponse is the response struct for api ListLiveRealtimeLogDeliveryDomains
+type ListLiveRealtimeLogDeliveryDomainsResponse struct {
+	*responses.BaseResponse
+	RequestId string                                      `json:"RequestId" xml:"RequestId"`
+	Content   ContentInListLiveRealtimeLogDeliveryDomains `json:"Content" xml:"Content"`
+}
+
+// CreateListLiveRealtimeLogDeliveryDomainsRequest creates a request to invoke ListLiveRealtimeLogDeliveryDomains API
+func CreateListLiveRealtimeLogDeliveryDomainsRequest() (request *ListLiveRealtimeLogDeliveryDomainsRequest) {
+	request = &ListLiveRealtimeLogDeliveryDomainsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("live", "2016-11-01", "ListLiveRealtimeLogDeliveryDomains", "live", "openAPI")
+	return
+}
+
+// CreateListLiveRealtimeLogDeliveryDomainsResponse creates a response to parse from ListLiveRealtimeLogDeliveryDomains response
+func CreateListLiveRealtimeLogDeliveryDomainsResponse() (response *ListLiveRealtimeLogDeliveryDomainsResponse) {
+	response = &ListLiveRealtimeLogDeliveryDomainsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/live/list_live_realtime_log_delivery_infos.go

@@ -0,0 +1,105 @@
+package live
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// ListLiveRealtimeLogDeliveryInfos invokes the live.ListLiveRealtimeLogDeliveryInfos API synchronously
+// api document: https://help.aliyun.com/api/live/listliverealtimelogdeliveryinfos.html
+func (client *Client) ListLiveRealtimeLogDeliveryInfos(request *ListLiveRealtimeLogDeliveryInfosRequest) (response *ListLiveRealtimeLogDeliveryInfosResponse, err error) {
+	response = CreateListLiveRealtimeLogDeliveryInfosResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListLiveRealtimeLogDeliveryInfosWithChan invokes the live.ListLiveRealtimeLogDeliveryInfos API asynchronously
+// api document: https://help.aliyun.com/api/live/listliverealtimelogdeliveryinfos.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListLiveRealtimeLogDeliveryInfosWithChan(request *ListLiveRealtimeLogDeliveryInfosRequest) (<-chan *ListLiveRealtimeLogDeliveryInfosResponse, <-chan error) {
+	responseChan := make(chan *ListLiveRealtimeLogDeliveryInfosResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListLiveRealtimeLogDeliveryInfos(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListLiveRealtimeLogDeliveryInfosWithCallback invokes the live.ListLiveRealtimeLogDeliveryInfos API asynchronously
+// api document: https://help.aliyun.com/api/live/listliverealtimelogdeliveryinfos.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListLiveRealtimeLogDeliveryInfosWithCallback(request *ListLiveRealtimeLogDeliveryInfosRequest, callback func(response *ListLiveRealtimeLogDeliveryInfosResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListLiveRealtimeLogDeliveryInfosResponse
+		var err error
+		defer close(result)
+		response, err = client.ListLiveRealtimeLogDeliveryInfos(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListLiveRealtimeLogDeliveryInfosRequest is the request struct for api ListLiveRealtimeLogDeliveryInfos
+type ListLiveRealtimeLogDeliveryInfosRequest struct {
+	*requests.RpcRequest
+	OwnerId            requests.Integer `position:"Query" name:"OwnerId"`
+	LiveOpenapiReserve string           `position:"Query" name:"LiveOpenapiReserve"`
+}
+
+// ListLiveRealtimeLogDeliveryInfosResponse is the response struct for api ListLiveRealtimeLogDeliveryInfos
+type ListLiveRealtimeLogDeliveryInfosResponse struct {
+	*responses.BaseResponse
+	RequestId string                                    `json:"RequestId" xml:"RequestId"`
+	Content   ContentInListLiveRealtimeLogDeliveryInfos `json:"Content" xml:"Content"`
+}
+
+// CreateListLiveRealtimeLogDeliveryInfosRequest creates a request to invoke ListLiveRealtimeLogDeliveryInfos API
+func CreateListLiveRealtimeLogDeliveryInfosRequest() (request *ListLiveRealtimeLogDeliveryInfosRequest) {
+	request = &ListLiveRealtimeLogDeliveryInfosRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("live", "2016-11-01", "ListLiveRealtimeLogDeliveryInfos", "live", "openAPI")
+	return
+}
+
+// CreateListLiveRealtimeLogDeliveryInfosResponse creates a response to parse from ListLiveRealtimeLogDeliveryInfos response
+func CreateListLiveRealtimeLogDeliveryInfosResponse() (response *ListLiveRealtimeLogDeliveryInfosResponse) {
+	response = &ListLiveRealtimeLogDeliveryInfosResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 5 - 5
services/live/modify_caster_component.go

@@ -76,15 +76,15 @@ func (client *Client) ModifyCasterComponentWithCallback(request *ModifyCasterCom
 // ModifyCasterComponentRequest is the request struct for api ModifyCasterComponent
 type ModifyCasterComponentRequest struct {
 	*requests.RpcRequest
-	ComponentId         string           `position:"Query" name:"ComponentId"`
-	ComponentType       string           `position:"Query" name:"ComponentType"`
 	ImageLayerContent   string           `position:"Query" name:"ImageLayerContent"`
+	ComponentName       string           `position:"Query" name:"ComponentName"`
+	ComponentId         string           `position:"Query" name:"ComponentId"`
 	CasterId            string           `position:"Query" name:"CasterId"`
-	Effect              string           `position:"Query" name:"Effect"`
 	ComponentLayer      string           `position:"Query" name:"ComponentLayer"`
-	CaptionLayerContent string           `position:"Query" name:"CaptionLayerContent"`
-	ComponentName       string           `position:"Query" name:"ComponentName"`
 	OwnerId             requests.Integer `position:"Query" name:"OwnerId"`
+	ComponentType       string           `position:"Query" name:"ComponentType"`
+	Effect              string           `position:"Query" name:"Effect"`
+	CaptionLayerContent string           `position:"Query" name:"CaptionLayerContent"`
 	TextLayerContent    string           `position:"Query" name:"TextLayerContent"`
 }
 

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov