@@ -108,6 +108,45 @@ open class Client : AlibabacloudOpenApi.Client {
108108 return try await addRecordTemplateWithOptions ( request as! AddRecordTemplateRequest , runtime as! TeaUtils . RuntimeOptions )
109109 }
110110
111+ @available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
112+ public func createAppStreamingOutTemplateWithOptions( _ tmpReq: CreateAppStreamingOutTemplateRequest , _ runtime: TeaUtils . RuntimeOptions ) async throws -> CreateAppStreamingOutTemplateResponse {
113+ try TeaUtils . Client. validateModel ( tmpReq)
114+ var request : CreateAppStreamingOutTemplateShrinkRequest = CreateAppStreamingOutTemplateShrinkRequest ( [ : ] )
115+ AlibabaCloudOpenApiUtil . Client. convert ( tmpReq, request)
116+ if ( !TeaUtils. Client. isUnset ( tmpReq. streamingOutTemplate) ) {
117+ request. streamingOutTemplateShrink = AlibabaCloudOpenApiUtil . Client. arrayToStringWithSpecifiedStyle ( tmpReq. streamingOutTemplate, " StreamingOutTemplate " , " json " )
118+ }
119+ var query : [ String : Any ] = [ : ]
120+ if ( !TeaUtils. Client. isUnset ( request. appId) ) {
121+ query [ " AppId " ] = request. appId ?? " " ;
122+ }
123+ if ( !TeaUtils. Client. isUnset ( request. streamingOutTemplateShrink) ) {
124+ query [ " StreamingOutTemplate " ] = request. streamingOutTemplateShrink ?? " " ;
125+ }
126+ var req : AlibabacloudOpenApi . OpenApiRequest = AlibabacloudOpenApi . OpenApiRequest ( [
127+ " query " : AlibabaCloudOpenApiUtil . Client. query ( query)
128+ ] )
129+ var params : AlibabacloudOpenApi . Params = AlibabacloudOpenApi . Params ( [
130+ " action " : " CreateAppStreamingOutTemplate " ,
131+ " version " : " 2018-01-11 " ,
132+ " protocol " : " HTTPS " ,
133+ " pathname " : " / " ,
134+ " method " : " POST " ,
135+ " authType " : " AK " ,
136+ " style " : " RPC " ,
137+ " reqBodyType " : " formData " ,
138+ " bodyType " : " json "
139+ ] )
140+ var tmp : [ String : Any ] = try await callApi ( params as! AlibabacloudOpenApi . Params , req as! AlibabacloudOpenApi . OpenApiRequest , runtime as! TeaUtils . RuntimeOptions )
141+ return Tea . TeaConverter. fromMap ( CreateAppStreamingOutTemplateResponse ( ) , tmp)
142+ }
143+
144+ @available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
145+ public func createAppStreamingOutTemplate( _ request: CreateAppStreamingOutTemplateRequest ) async throws -> CreateAppStreamingOutTemplateResponse {
146+ var runtime : TeaUtils . RuntimeOptions = TeaUtils . RuntimeOptions ( [ : ] )
147+ return try await createAppStreamingOutTemplateWithOptions ( request as! CreateAppStreamingOutTemplateRequest , runtime as! TeaUtils . RuntimeOptions )
148+ }
149+
111150 @available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
112151 public func createAutoLiveStreamRuleWithOptions( _ request: CreateAutoLiveStreamRuleRequest , _ runtime: TeaUtils . RuntimeOptions ) async throws -> CreateAutoLiveStreamRuleResponse {
113152 try TeaUtils . Client. validateModel ( request)
@@ -258,6 +297,45 @@ open class Client : AlibabacloudOpenApi.Client {
258297 return try await createMPULayoutWithOptions ( request as! CreateMPULayoutRequest , runtime as! TeaUtils . RuntimeOptions )
259298 }
260299
300+ @available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
301+ public func deleteAppStreamingOutTemplateWithOptions( _ tmpReq: DeleteAppStreamingOutTemplateRequest , _ runtime: TeaUtils . RuntimeOptions ) async throws -> DeleteAppStreamingOutTemplateResponse {
302+ try TeaUtils . Client. validateModel ( tmpReq)
303+ var request : DeleteAppStreamingOutTemplateShrinkRequest = DeleteAppStreamingOutTemplateShrinkRequest ( [ : ] )
304+ AlibabaCloudOpenApiUtil . Client. convert ( tmpReq, request)
305+ if ( !TeaUtils. Client. isUnset ( tmpReq. streamingOutTemplate) ) {
306+ request. streamingOutTemplateShrink = AlibabaCloudOpenApiUtil . Client. arrayToStringWithSpecifiedStyle ( tmpReq. streamingOutTemplate, " StreamingOutTemplate " , " json " )
307+ }
308+ var query : [ String : Any ] = [ : ]
309+ if ( !TeaUtils. Client. isUnset ( request. appId) ) {
310+ query [ " AppId " ] = request. appId ?? " " ;
311+ }
312+ if ( !TeaUtils. Client. isUnset ( request. streamingOutTemplateShrink) ) {
313+ query [ " StreamingOutTemplate " ] = request. streamingOutTemplateShrink ?? " " ;
314+ }
315+ var req : AlibabacloudOpenApi . OpenApiRequest = AlibabacloudOpenApi . OpenApiRequest ( [
316+ " query " : AlibabaCloudOpenApiUtil . Client. query ( query)
317+ ] )
318+ var params : AlibabacloudOpenApi . Params = AlibabacloudOpenApi . Params ( [
319+ " action " : " DeleteAppStreamingOutTemplate " ,
320+ " version " : " 2018-01-11 " ,
321+ " protocol " : " HTTPS " ,
322+ " pathname " : " / " ,
323+ " method " : " POST " ,
324+ " authType " : " AK " ,
325+ " style " : " RPC " ,
326+ " reqBodyType " : " formData " ,
327+ " bodyType " : " json "
328+ ] )
329+ var tmp : [ String : Any ] = try await callApi ( params as! AlibabacloudOpenApi . Params , req as! AlibabacloudOpenApi . OpenApiRequest , runtime as! TeaUtils . RuntimeOptions )
330+ return Tea . TeaConverter. fromMap ( DeleteAppStreamingOutTemplateResponse ( ) , tmp)
331+ }
332+
333+ @available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
334+ public func deleteAppStreamingOutTemplate( _ request: DeleteAppStreamingOutTemplateRequest ) async throws -> DeleteAppStreamingOutTemplateResponse {
335+ var runtime : TeaUtils . RuntimeOptions = TeaUtils . RuntimeOptions ( [ : ] )
336+ return try await deleteAppStreamingOutTemplateWithOptions ( request as! DeleteAppStreamingOutTemplateRequest , runtime as! TeaUtils . RuntimeOptions )
337+ }
338+
261339 @available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
262340 public func deleteAutoLiveStreamRuleWithOptions( _ request: DeleteAutoLiveStreamRuleRequest , _ runtime: TeaUtils . RuntimeOptions ) async throws -> DeleteAutoLiveStreamRuleResponse {
263341 try TeaUtils . Client. validateModel ( request)
@@ -477,6 +555,51 @@ open class Client : AlibabacloudOpenApi.Client {
477555 return try await describeAppKeyWithOptions ( request as! DescribeAppKeyRequest , runtime as! TeaUtils . RuntimeOptions )
478556 }
479557
558+ @available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
559+ public func describeAppStreamingOutTemplatesWithOptions( _ tmpReq: DescribeAppStreamingOutTemplatesRequest , _ runtime: TeaUtils . RuntimeOptions ) async throws -> DescribeAppStreamingOutTemplatesResponse {
560+ try TeaUtils . Client. validateModel ( tmpReq)
561+ var request : DescribeAppStreamingOutTemplatesShrinkRequest = DescribeAppStreamingOutTemplatesShrinkRequest ( [ : ] )
562+ AlibabaCloudOpenApiUtil . Client. convert ( tmpReq, request)
563+ if ( !TeaUtils. Client. isUnset ( tmpReq. condition) ) {
564+ request. conditionShrink = AlibabaCloudOpenApiUtil . Client. arrayToStringWithSpecifiedStyle ( tmpReq. condition, " Condition " , " json " )
565+ }
566+ var query : [ String : Any ] = [ : ]
567+ if ( !TeaUtils. Client. isUnset ( request. appId) ) {
568+ query [ " AppId " ] = request. appId ?? " " ;
569+ }
570+ if ( !TeaUtils. Client. isUnset ( request. conditionShrink) ) {
571+ query [ " Condition " ] = request. conditionShrink ?? " " ;
572+ }
573+ if ( !TeaUtils. Client. isUnset ( request. pageNum) ) {
574+ query [ " PageNum " ] = request. pageNum!;
575+ }
576+ if ( !TeaUtils. Client. isUnset ( request. pageSize) ) {
577+ query [ " PageSize " ] = request. pageSize!;
578+ }
579+ var req : AlibabacloudOpenApi . OpenApiRequest = AlibabacloudOpenApi . OpenApiRequest ( [
580+ " query " : AlibabaCloudOpenApiUtil . Client. query ( query)
581+ ] )
582+ var params : AlibabacloudOpenApi . Params = AlibabacloudOpenApi . Params ( [
583+ " action " : " DescribeAppStreamingOutTemplates " ,
584+ " version " : " 2018-01-11 " ,
585+ " protocol " : " HTTPS " ,
586+ " pathname " : " / " ,
587+ " method " : " POST " ,
588+ " authType " : " AK " ,
589+ " style " : " RPC " ,
590+ " reqBodyType " : " formData " ,
591+ " bodyType " : " json "
592+ ] )
593+ var tmp : [ String : Any ] = try await callApi ( params as! AlibabacloudOpenApi . Params , req as! AlibabacloudOpenApi . OpenApiRequest , runtime as! TeaUtils . RuntimeOptions )
594+ return Tea . TeaConverter. fromMap ( DescribeAppStreamingOutTemplatesResponse ( ) , tmp)
595+ }
596+
597+ @available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
598+ public func describeAppStreamingOutTemplates( _ request: DescribeAppStreamingOutTemplatesRequest ) async throws -> DescribeAppStreamingOutTemplatesResponse {
599+ var runtime : TeaUtils . RuntimeOptions = TeaUtils . RuntimeOptions ( [ : ] )
600+ return try await describeAppStreamingOutTemplatesWithOptions ( request as! DescribeAppStreamingOutTemplatesRequest , runtime as! TeaUtils . RuntimeOptions )
601+ }
602+
480603 @available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
481604 public func describeAppsWithOptions( _ request: DescribeAppsRequest , _ runtime: TeaUtils . RuntimeOptions ) async throws -> DescribeAppsResponse {
482605 try TeaUtils . Client. validateModel ( request)
@@ -2182,6 +2305,45 @@ open class Client : AlibabacloudOpenApi.Client {
21822305 return try await modifyAppWithOptions ( request as! ModifyAppRequest , runtime as! TeaUtils . RuntimeOptions )
21832306 }
21842307
2308+ @available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
2309+ public func modifyAppStreamingOutTemplateWithOptions( _ tmpReq: ModifyAppStreamingOutTemplateRequest , _ runtime: TeaUtils . RuntimeOptions ) async throws -> ModifyAppStreamingOutTemplateResponse {
2310+ try TeaUtils . Client. validateModel ( tmpReq)
2311+ var request : ModifyAppStreamingOutTemplateShrinkRequest = ModifyAppStreamingOutTemplateShrinkRequest ( [ : ] )
2312+ AlibabaCloudOpenApiUtil . Client. convert ( tmpReq, request)
2313+ if ( !TeaUtils. Client. isUnset ( tmpReq. streamingOutTemplate) ) {
2314+ request. streamingOutTemplateShrink = AlibabaCloudOpenApiUtil . Client. arrayToStringWithSpecifiedStyle ( tmpReq. streamingOutTemplate, " StreamingOutTemplate " , " json " )
2315+ }
2316+ var query : [ String : Any ] = [ : ]
2317+ if ( !TeaUtils. Client. isUnset ( request. appId) ) {
2318+ query [ " AppId " ] = request. appId ?? " " ;
2319+ }
2320+ if ( !TeaUtils. Client. isUnset ( request. streamingOutTemplateShrink) ) {
2321+ query [ " StreamingOutTemplate " ] = request. streamingOutTemplateShrink ?? " " ;
2322+ }
2323+ var req : AlibabacloudOpenApi . OpenApiRequest = AlibabacloudOpenApi . OpenApiRequest ( [
2324+ " query " : AlibabaCloudOpenApiUtil . Client. query ( query)
2325+ ] )
2326+ var params : AlibabacloudOpenApi . Params = AlibabacloudOpenApi . Params ( [
2327+ " action " : " ModifyAppStreamingOutTemplate " ,
2328+ " version " : " 2018-01-11 " ,
2329+ " protocol " : " HTTPS " ,
2330+ " pathname " : " / " ,
2331+ " method " : " POST " ,
2332+ " authType " : " AK " ,
2333+ " style " : " RPC " ,
2334+ " reqBodyType " : " formData " ,
2335+ " bodyType " : " json "
2336+ ] )
2337+ var tmp : [ String : Any ] = try await callApi ( params as! AlibabacloudOpenApi . Params , req as! AlibabacloudOpenApi . OpenApiRequest , runtime as! TeaUtils . RuntimeOptions )
2338+ return Tea . TeaConverter. fromMap ( ModifyAppStreamingOutTemplateResponse ( ) , tmp)
2339+ }
2340+
2341+ @available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
2342+ public func modifyAppStreamingOutTemplate( _ request: ModifyAppStreamingOutTemplateRequest ) async throws -> ModifyAppStreamingOutTemplateResponse {
2343+ var runtime : TeaUtils . RuntimeOptions = TeaUtils . RuntimeOptions ( [ : ] )
2344+ return try await modifyAppStreamingOutTemplateWithOptions ( request as! ModifyAppStreamingOutTemplateRequest , runtime as! TeaUtils . RuntimeOptions )
2345+ }
2346+
21852347 @available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
21862348 public func modifyMPULayoutWithOptions( _ request: ModifyMPULayoutRequest , _ runtime: TeaUtils . RuntimeOptions ) async throws -> ModifyMPULayoutResponse {
21872349 try TeaUtils . Client. validateModel ( request)
0 commit comments