aws-sdk-medialive 1.53.0 → 1.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e60045ce131bdca293b260247b2a0bd6e630a25d2ae49dd3c191eef469d12894
4
- data.tar.gz: 4de515d6e20f2a89eaf2f471737c704dc2321f650e8a8c0803c5b18772dc01e8
3
+ metadata.gz: 532f85ba58b5cb15e0d09fb17d961a82e71cff07caa98c1fadf2b50559327df1
4
+ data.tar.gz: 49df3345647102a384c219d4f3b85c52c904f47890e075362469895fc10e19c0
5
5
  SHA512:
6
- metadata.gz: 54945081571878390fa87594cbea5bde4e10c91222b252a3b22e2db486fb0e9cbc91cc2a9f6b3049d729519ee4adb29f07987eedb28d9e30fb48b6c58e0f1394
7
- data.tar.gz: 886ea6186d20971d81cf8a7d9a94b2a282d04920431e95135787a8f0d8d4a68c087164f9ba5a83993fbeebc8aaab064a2513aaf5acc5fc35734d31d24d64bc18
6
+ metadata.gz: a801afa08b5336ed23c0dca34e056fdd869b5295db083f3df2fe240dd2c8d04dc54e67c46d87a07992de476339c21242417956829fb8ab905003b853f77bf560
7
+ data.tar.gz: eaa120673edd0b8fac663653e1b9a1decb1ff973e27bc7726c9ece0a6d76703772530dfa31f8389b5ba1edc449b19a85711b92297bff1f12397c70d21d775ddc
@@ -29,7 +29,7 @@ require_relative 'aws-sdk-medialive/customizations'
29
29
  # structure.
30
30
  #
31
31
  # media_live = Aws::MediaLive::Client.new
32
- # resp = media_live.batch_update_schedule(params)
32
+ # resp = media_live.batch_delete(params)
33
33
  #
34
34
  # See {Client} for more information.
35
35
  #
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-medialive/customizations'
49
49
  # @!group service
50
50
  module Aws::MediaLive
51
51
 
52
- GEM_VERSION = '1.53.0'
52
+ GEM_VERSION = '1.54.0'
53
53
 
54
54
  end
@@ -327,6 +327,129 @@ module Aws::MediaLive
327
327
 
328
328
  # @!group API Operations
329
329
 
330
+ # Starts delete of resources.
331
+ #
332
+ # @option params [Array<String>] :channel_ids
333
+ #
334
+ # @option params [Array<String>] :input_ids
335
+ #
336
+ # @option params [Array<String>] :input_security_group_ids
337
+ #
338
+ # @option params [Array<String>] :multiplex_ids
339
+ #
340
+ # @return [Types::BatchDeleteResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
341
+ #
342
+ # * {Types::BatchDeleteResponse#failed #failed} => Array&lt;Types::BatchFailedResultModel&gt;
343
+ # * {Types::BatchDeleteResponse#successful #successful} => Array&lt;Types::BatchSuccessfulResultModel&gt;
344
+ #
345
+ # @example Request syntax with placeholder values
346
+ #
347
+ # resp = client.batch_delete({
348
+ # channel_ids: ["__string"],
349
+ # input_ids: ["__string"],
350
+ # input_security_group_ids: ["__string"],
351
+ # multiplex_ids: ["__string"],
352
+ # })
353
+ #
354
+ # @example Response structure
355
+ #
356
+ # resp.failed #=> Array
357
+ # resp.failed[0].arn #=> String
358
+ # resp.failed[0].code #=> String
359
+ # resp.failed[0].id #=> String
360
+ # resp.failed[0].message #=> String
361
+ # resp.successful #=> Array
362
+ # resp.successful[0].arn #=> String
363
+ # resp.successful[0].id #=> String
364
+ # resp.successful[0].state #=> String
365
+ #
366
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchDelete AWS API Documentation
367
+ #
368
+ # @overload batch_delete(params = {})
369
+ # @param [Hash] params ({})
370
+ def batch_delete(params = {}, options = {})
371
+ req = build_request(:batch_delete, params)
372
+ req.send_request(options)
373
+ end
374
+
375
+ # Starts existing resources
376
+ #
377
+ # @option params [Array<String>] :channel_ids
378
+ #
379
+ # @option params [Array<String>] :multiplex_ids
380
+ #
381
+ # @return [Types::BatchStartResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
382
+ #
383
+ # * {Types::BatchStartResponse#failed #failed} => Array&lt;Types::BatchFailedResultModel&gt;
384
+ # * {Types::BatchStartResponse#successful #successful} => Array&lt;Types::BatchSuccessfulResultModel&gt;
385
+ #
386
+ # @example Request syntax with placeholder values
387
+ #
388
+ # resp = client.batch_start({
389
+ # channel_ids: ["__string"],
390
+ # multiplex_ids: ["__string"],
391
+ # })
392
+ #
393
+ # @example Response structure
394
+ #
395
+ # resp.failed #=> Array
396
+ # resp.failed[0].arn #=> String
397
+ # resp.failed[0].code #=> String
398
+ # resp.failed[0].id #=> String
399
+ # resp.failed[0].message #=> String
400
+ # resp.successful #=> Array
401
+ # resp.successful[0].arn #=> String
402
+ # resp.successful[0].id #=> String
403
+ # resp.successful[0].state #=> String
404
+ #
405
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStart AWS API Documentation
406
+ #
407
+ # @overload batch_start(params = {})
408
+ # @param [Hash] params ({})
409
+ def batch_start(params = {}, options = {})
410
+ req = build_request(:batch_start, params)
411
+ req.send_request(options)
412
+ end
413
+
414
+ # Stops running resources
415
+ #
416
+ # @option params [Array<String>] :channel_ids
417
+ #
418
+ # @option params [Array<String>] :multiplex_ids
419
+ #
420
+ # @return [Types::BatchStopResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
421
+ #
422
+ # * {Types::BatchStopResponse#failed #failed} => Array&lt;Types::BatchFailedResultModel&gt;
423
+ # * {Types::BatchStopResponse#successful #successful} => Array&lt;Types::BatchSuccessfulResultModel&gt;
424
+ #
425
+ # @example Request syntax with placeholder values
426
+ #
427
+ # resp = client.batch_stop({
428
+ # channel_ids: ["__string"],
429
+ # multiplex_ids: ["__string"],
430
+ # })
431
+ #
432
+ # @example Response structure
433
+ #
434
+ # resp.failed #=> Array
435
+ # resp.failed[0].arn #=> String
436
+ # resp.failed[0].code #=> String
437
+ # resp.failed[0].id #=> String
438
+ # resp.failed[0].message #=> String
439
+ # resp.successful #=> Array
440
+ # resp.successful[0].arn #=> String
441
+ # resp.successful[0].id #=> String
442
+ # resp.successful[0].state #=> String
443
+ #
444
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStop AWS API Documentation
445
+ #
446
+ # @overload batch_stop(params = {})
447
+ # @param [Hash] params ({})
448
+ def batch_stop(params = {}, options = {})
449
+ req = build_request(:batch_stop, params)
450
+ req.send_request(options)
451
+ end
452
+
330
453
  # Update a channel schedule
331
454
  #
332
455
  # @option params [required, String] :channel_id
@@ -3935,7 +4058,6 @@ module Aws::MediaLive
3935
4058
  # @option params [required, String] :input_device_id
3936
4059
  #
3937
4060
  # @option params [required, String] :accept
3938
- # Accept Header
3939
4061
  #
3940
4062
  # @return [Types::DescribeInputDeviceThumbnailResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3941
4063
  #
@@ -8654,7 +8776,7 @@ module Aws::MediaLive
8654
8776
  params: params,
8655
8777
  config: config)
8656
8778
  context[:gem_name] = 'aws-sdk-medialive'
8657
- context[:gem_version] = '1.53.0'
8779
+ context[:gem_version] = '1.54.0'
8658
8780
  Seahorse::Client::Request.new(handlers, context)
8659
8781
  end
8660
8782
 
@@ -62,10 +62,24 @@ module Aws::MediaLive
62
62
  AvailSettings = Shapes::StructureShape.new(name: 'AvailSettings')
63
63
  BadGatewayException = Shapes::StructureShape.new(name: 'BadGatewayException')
64
64
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
65
+ BatchDelete = Shapes::StructureShape.new(name: 'BatchDelete')
66
+ BatchDeleteRequest = Shapes::StructureShape.new(name: 'BatchDeleteRequest')
67
+ BatchDeleteResponse = Shapes::StructureShape.new(name: 'BatchDeleteResponse')
68
+ BatchDeleteResultModel = Shapes::StructureShape.new(name: 'BatchDeleteResultModel')
69
+ BatchFailedResultModel = Shapes::StructureShape.new(name: 'BatchFailedResultModel')
65
70
  BatchScheduleActionCreateRequest = Shapes::StructureShape.new(name: 'BatchScheduleActionCreateRequest')
66
71
  BatchScheduleActionCreateResult = Shapes::StructureShape.new(name: 'BatchScheduleActionCreateResult')
67
72
  BatchScheduleActionDeleteRequest = Shapes::StructureShape.new(name: 'BatchScheduleActionDeleteRequest')
68
73
  BatchScheduleActionDeleteResult = Shapes::StructureShape.new(name: 'BatchScheduleActionDeleteResult')
74
+ BatchStart = Shapes::StructureShape.new(name: 'BatchStart')
75
+ BatchStartRequest = Shapes::StructureShape.new(name: 'BatchStartRequest')
76
+ BatchStartResponse = Shapes::StructureShape.new(name: 'BatchStartResponse')
77
+ BatchStartResultModel = Shapes::StructureShape.new(name: 'BatchStartResultModel')
78
+ BatchStop = Shapes::StructureShape.new(name: 'BatchStop')
79
+ BatchStopRequest = Shapes::StructureShape.new(name: 'BatchStopRequest')
80
+ BatchStopResponse = Shapes::StructureShape.new(name: 'BatchStopResponse')
81
+ BatchStopResultModel = Shapes::StructureShape.new(name: 'BatchStopResultModel')
82
+ BatchSuccessfulResultModel = Shapes::StructureShape.new(name: 'BatchSuccessfulResultModel')
69
83
  BatchUpdateScheduleRequest = Shapes::StructureShape.new(name: 'BatchUpdateScheduleRequest')
70
84
  BatchUpdateScheduleResponse = Shapes::StructureShape.new(name: 'BatchUpdateScheduleResponse')
71
85
  BatchUpdateScheduleResult = Shapes::StructureShape.new(name: 'BatchUpdateScheduleResult')
@@ -635,12 +649,15 @@ module Aws::MediaLive
635
649
  __integerMin4Max20 = Shapes::IntegerShape.new(name: '__integerMin4Max20')
636
650
  __integerMin96Max600 = Shapes::IntegerShape.new(name: '__integerMin96Max600')
637
651
  __integerMinNegative1000Max1000 = Shapes::IntegerShape.new(name: '__integerMinNegative1000Max1000')
652
+ __integerMinNegative5Max5 = Shapes::IntegerShape.new(name: '__integerMinNegative5Max5')
638
653
  __integerMinNegative60Max6 = Shapes::IntegerShape.new(name: '__integerMinNegative60Max6')
639
654
  __integerMinNegative60Max60 = Shapes::IntegerShape.new(name: '__integerMinNegative60Max60')
640
655
  __listOfAudioChannelMapping = Shapes::ListShape.new(name: '__listOfAudioChannelMapping')
641
656
  __listOfAudioDescription = Shapes::ListShape.new(name: '__listOfAudioDescription')
642
657
  __listOfAudioSelector = Shapes::ListShape.new(name: '__listOfAudioSelector')
643
658
  __listOfAudioTrack = Shapes::ListShape.new(name: '__listOfAudioTrack')
659
+ __listOfBatchFailedResultModel = Shapes::ListShape.new(name: '__listOfBatchFailedResultModel')
660
+ __listOfBatchSuccessfulResultModel = Shapes::ListShape.new(name: '__listOfBatchSuccessfulResultModel')
644
661
  __listOfCaptionDescription = Shapes::ListShape.new(name: '__listOfCaptionDescription')
645
662
  __listOfCaptionLanguageMapping = Shapes::ListShape.new(name: '__listOfCaptionLanguageMapping')
646
663
  __listOfCaptionSelector = Shapes::ListShape.new(name: '__listOfCaptionSelector')
@@ -815,6 +832,32 @@ module Aws::MediaLive
815
832
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
816
833
  BadRequestException.struct_class = Types::BadRequestException
817
834
 
835
+ BatchDelete.add_member(:channel_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelIds"))
836
+ BatchDelete.add_member(:input_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "inputIds"))
837
+ BatchDelete.add_member(:input_security_group_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "inputSecurityGroupIds"))
838
+ BatchDelete.add_member(:multiplex_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "multiplexIds"))
839
+ BatchDelete.struct_class = Types::BatchDelete
840
+
841
+ BatchDeleteRequest.add_member(:channel_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelIds"))
842
+ BatchDeleteRequest.add_member(:input_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "inputIds"))
843
+ BatchDeleteRequest.add_member(:input_security_group_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "inputSecurityGroupIds"))
844
+ BatchDeleteRequest.add_member(:multiplex_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "multiplexIds"))
845
+ BatchDeleteRequest.struct_class = Types::BatchDeleteRequest
846
+
847
+ BatchDeleteResponse.add_member(:failed, Shapes::ShapeRef.new(shape: __listOfBatchFailedResultModel, location_name: "failed"))
848
+ BatchDeleteResponse.add_member(:successful, Shapes::ShapeRef.new(shape: __listOfBatchSuccessfulResultModel, location_name: "successful"))
849
+ BatchDeleteResponse.struct_class = Types::BatchDeleteResponse
850
+
851
+ BatchDeleteResultModel.add_member(:failed, Shapes::ShapeRef.new(shape: __listOfBatchFailedResultModel, location_name: "failed"))
852
+ BatchDeleteResultModel.add_member(:successful, Shapes::ShapeRef.new(shape: __listOfBatchSuccessfulResultModel, location_name: "successful"))
853
+ BatchDeleteResultModel.struct_class = Types::BatchDeleteResultModel
854
+
855
+ BatchFailedResultModel.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
856
+ BatchFailedResultModel.add_member(:code, Shapes::ShapeRef.new(shape: __string, location_name: "code"))
857
+ BatchFailedResultModel.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
858
+ BatchFailedResultModel.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
859
+ BatchFailedResultModel.struct_class = Types::BatchFailedResultModel
860
+
818
861
  BatchScheduleActionCreateRequest.add_member(:schedule_actions, Shapes::ShapeRef.new(shape: __listOfScheduleAction, required: true, location_name: "scheduleActions"))
819
862
  BatchScheduleActionCreateRequest.struct_class = Types::BatchScheduleActionCreateRequest
820
863
 
@@ -827,6 +870,43 @@ module Aws::MediaLive
827
870
  BatchScheduleActionDeleteResult.add_member(:schedule_actions, Shapes::ShapeRef.new(shape: __listOfScheduleAction, required: true, location_name: "scheduleActions"))
828
871
  BatchScheduleActionDeleteResult.struct_class = Types::BatchScheduleActionDeleteResult
829
872
 
873
+ BatchStart.add_member(:channel_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelIds"))
874
+ BatchStart.add_member(:multiplex_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "multiplexIds"))
875
+ BatchStart.struct_class = Types::BatchStart
876
+
877
+ BatchStartRequest.add_member(:channel_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelIds"))
878
+ BatchStartRequest.add_member(:multiplex_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "multiplexIds"))
879
+ BatchStartRequest.struct_class = Types::BatchStartRequest
880
+
881
+ BatchStartResponse.add_member(:failed, Shapes::ShapeRef.new(shape: __listOfBatchFailedResultModel, location_name: "failed"))
882
+ BatchStartResponse.add_member(:successful, Shapes::ShapeRef.new(shape: __listOfBatchSuccessfulResultModel, location_name: "successful"))
883
+ BatchStartResponse.struct_class = Types::BatchStartResponse
884
+
885
+ BatchStartResultModel.add_member(:failed, Shapes::ShapeRef.new(shape: __listOfBatchFailedResultModel, location_name: "failed"))
886
+ BatchStartResultModel.add_member(:successful, Shapes::ShapeRef.new(shape: __listOfBatchSuccessfulResultModel, location_name: "successful"))
887
+ BatchStartResultModel.struct_class = Types::BatchStartResultModel
888
+
889
+ BatchStop.add_member(:channel_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelIds"))
890
+ BatchStop.add_member(:multiplex_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "multiplexIds"))
891
+ BatchStop.struct_class = Types::BatchStop
892
+
893
+ BatchStopRequest.add_member(:channel_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelIds"))
894
+ BatchStopRequest.add_member(:multiplex_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "multiplexIds"))
895
+ BatchStopRequest.struct_class = Types::BatchStopRequest
896
+
897
+ BatchStopResponse.add_member(:failed, Shapes::ShapeRef.new(shape: __listOfBatchFailedResultModel, location_name: "failed"))
898
+ BatchStopResponse.add_member(:successful, Shapes::ShapeRef.new(shape: __listOfBatchSuccessfulResultModel, location_name: "successful"))
899
+ BatchStopResponse.struct_class = Types::BatchStopResponse
900
+
901
+ BatchStopResultModel.add_member(:failed, Shapes::ShapeRef.new(shape: __listOfBatchFailedResultModel, location_name: "failed"))
902
+ BatchStopResultModel.add_member(:successful, Shapes::ShapeRef.new(shape: __listOfBatchSuccessfulResultModel, location_name: "successful"))
903
+ BatchStopResultModel.struct_class = Types::BatchStopResultModel
904
+
905
+ BatchSuccessfulResultModel.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
906
+ BatchSuccessfulResultModel.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
907
+ BatchSuccessfulResultModel.add_member(:state, Shapes::ShapeRef.new(shape: __string, location_name: "state"))
908
+ BatchSuccessfulResultModel.struct_class = Types::BatchSuccessfulResultModel
909
+
830
910
  BatchUpdateScheduleRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelId"))
831
911
  BatchUpdateScheduleRequest.add_member(:creates, Shapes::ShapeRef.new(shape: BatchScheduleActionCreateRequest, location_name: "creates"))
832
912
  BatchUpdateScheduleRequest.add_member(:deletes, Shapes::ShapeRef.new(shape: BatchScheduleActionDeleteRequest, location_name: "deletes"))
@@ -2721,6 +2801,10 @@ module Aws::MediaLive
2721
2801
 
2722
2802
  __listOfAudioTrack.member = Shapes::ShapeRef.new(shape: AudioTrack)
2723
2803
 
2804
+ __listOfBatchFailedResultModel.member = Shapes::ShapeRef.new(shape: BatchFailedResultModel)
2805
+
2806
+ __listOfBatchSuccessfulResultModel.member = Shapes::ShapeRef.new(shape: BatchSuccessfulResultModel)
2807
+
2724
2808
  __listOfCaptionDescription.member = Shapes::ShapeRef.new(shape: CaptionDescription)
2725
2809
 
2726
2810
  __listOfCaptionLanguageMapping.member = Shapes::ShapeRef.new(shape: CaptionLanguageMapping)
@@ -2818,6 +2902,54 @@ module Aws::MediaLive
2818
2902
  "uid" => "medialive-2017-10-14",
2819
2903
  }
2820
2904
 
2905
+ api.add_operation(:batch_delete, Seahorse::Model::Operation.new.tap do |o|
2906
+ o.name = "BatchDelete"
2907
+ o.http_method = "POST"
2908
+ o.http_request_uri = "/prod/batch/delete"
2909
+ o.input = Shapes::ShapeRef.new(shape: BatchDeleteRequest)
2910
+ o.output = Shapes::ShapeRef.new(shape: BatchDeleteResponse)
2911
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2912
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2913
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2914
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
2915
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2916
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
2917
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2918
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2919
+ end)
2920
+
2921
+ api.add_operation(:batch_start, Seahorse::Model::Operation.new.tap do |o|
2922
+ o.name = "BatchStart"
2923
+ o.http_method = "POST"
2924
+ o.http_request_uri = "/prod/batch/start"
2925
+ o.input = Shapes::ShapeRef.new(shape: BatchStartRequest)
2926
+ o.output = Shapes::ShapeRef.new(shape: BatchStartResponse)
2927
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2928
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2929
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2930
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
2931
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2932
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
2933
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2934
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2935
+ end)
2936
+
2937
+ api.add_operation(:batch_stop, Seahorse::Model::Operation.new.tap do |o|
2938
+ o.name = "BatchStop"
2939
+ o.http_method = "POST"
2940
+ o.http_request_uri = "/prod/batch/stop"
2941
+ o.input = Shapes::ShapeRef.new(shape: BatchStopRequest)
2942
+ o.output = Shapes::ShapeRef.new(shape: BatchStopResponse)
2943
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2944
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2945
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
2946
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
2947
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2948
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
2949
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2950
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2951
+ end)
2952
+
2821
2953
  api.add_operation(:batch_update_schedule, Seahorse::Model::Operation.new.tap do |o|
2822
2954
  o.name = "BatchUpdateSchedule"
2823
2955
  o.http_method = "PUT"
@@ -949,7 +949,7 @@ module Aws::MediaLive
949
949
  # }
950
950
  #
951
951
  # @!attribute [rw] tracks
952
- # Selects one or more unique audio tracks from within an mp4 source.
952
+ # Selects one or more unique audio tracks from within a source.
953
953
  # @return [Array<Types::AudioTrack>]
954
954
  #
955
955
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AudioTrackSelection AWS API Documentation
@@ -1111,6 +1111,131 @@ module Aws::MediaLive
1111
1111
  include Aws::Structure
1112
1112
  end
1113
1113
 
1114
+ # Batch delete resource request
1115
+ #
1116
+ # @!attribute [rw] channel_ids
1117
+ # List of channel IDs
1118
+ # @return [Array<String>]
1119
+ #
1120
+ # @!attribute [rw] input_ids
1121
+ # List of input IDs
1122
+ # @return [Array<String>]
1123
+ #
1124
+ # @!attribute [rw] input_security_group_ids
1125
+ # List of input security group IDs
1126
+ # @return [Array<String>]
1127
+ #
1128
+ # @!attribute [rw] multiplex_ids
1129
+ # List of multiplex IDs
1130
+ # @return [Array<String>]
1131
+ #
1132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchDelete AWS API Documentation
1133
+ #
1134
+ class BatchDelete < Struct.new(
1135
+ :channel_ids,
1136
+ :input_ids,
1137
+ :input_security_group_ids,
1138
+ :multiplex_ids)
1139
+ SENSITIVE = []
1140
+ include Aws::Structure
1141
+ end
1142
+
1143
+ # @note When making an API call, you may pass BatchDeleteRequest
1144
+ # data as a hash:
1145
+ #
1146
+ # {
1147
+ # channel_ids: ["__string"],
1148
+ # input_ids: ["__string"],
1149
+ # input_security_group_ids: ["__string"],
1150
+ # multiplex_ids: ["__string"],
1151
+ # }
1152
+ #
1153
+ # @!attribute [rw] channel_ids
1154
+ # @return [Array<String>]
1155
+ #
1156
+ # @!attribute [rw] input_ids
1157
+ # @return [Array<String>]
1158
+ #
1159
+ # @!attribute [rw] input_security_group_ids
1160
+ # @return [Array<String>]
1161
+ #
1162
+ # @!attribute [rw] multiplex_ids
1163
+ # @return [Array<String>]
1164
+ #
1165
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchDeleteRequest AWS API Documentation
1166
+ #
1167
+ class BatchDeleteRequest < Struct.new(
1168
+ :channel_ids,
1169
+ :input_ids,
1170
+ :input_security_group_ids,
1171
+ :multiplex_ids)
1172
+ SENSITIVE = []
1173
+ include Aws::Structure
1174
+ end
1175
+
1176
+ # @!attribute [rw] failed
1177
+ # @return [Array<Types::BatchFailedResultModel>]
1178
+ #
1179
+ # @!attribute [rw] successful
1180
+ # @return [Array<Types::BatchSuccessfulResultModel>]
1181
+ #
1182
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchDeleteResponse AWS API Documentation
1183
+ #
1184
+ class BatchDeleteResponse < Struct.new(
1185
+ :failed,
1186
+ :successful)
1187
+ SENSITIVE = []
1188
+ include Aws::Structure
1189
+ end
1190
+
1191
+ # Batch delete resource results
1192
+ #
1193
+ # @!attribute [rw] failed
1194
+ # List of failed operations
1195
+ # @return [Array<Types::BatchFailedResultModel>]
1196
+ #
1197
+ # @!attribute [rw] successful
1198
+ # List of successful operations
1199
+ # @return [Array<Types::BatchSuccessfulResultModel>]
1200
+ #
1201
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchDeleteResultModel AWS API Documentation
1202
+ #
1203
+ class BatchDeleteResultModel < Struct.new(
1204
+ :failed,
1205
+ :successful)
1206
+ SENSITIVE = []
1207
+ include Aws::Structure
1208
+ end
1209
+
1210
+ # Details from a failed operation
1211
+ #
1212
+ # @!attribute [rw] arn
1213
+ # ARN of the resource
1214
+ # @return [String]
1215
+ #
1216
+ # @!attribute [rw] code
1217
+ # Error code for the failed operation
1218
+ # @return [String]
1219
+ #
1220
+ # @!attribute [rw] id
1221
+ # ID of the resource
1222
+ # @return [String]
1223
+ #
1224
+ # @!attribute [rw] message
1225
+ # Error message for the failed operation
1226
+ # @return [String]
1227
+ #
1228
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchFailedResultModel AWS API Documentation
1229
+ #
1230
+ class BatchFailedResultModel < Struct.new(
1231
+ :arn,
1232
+ :code,
1233
+ :id,
1234
+ :message)
1235
+ SENSITIVE = []
1236
+ include Aws::Structure
1237
+ end
1238
+
1114
1239
  # A list of schedule actions to create (in a request) or that have been
1115
1240
  # created (in a response).
1116
1241
  #
@@ -1293,6 +1418,182 @@ module Aws::MediaLive
1293
1418
  include Aws::Structure
1294
1419
  end
1295
1420
 
1421
+ # Batch start resource request
1422
+ #
1423
+ # @!attribute [rw] channel_ids
1424
+ # List of channel IDs
1425
+ # @return [Array<String>]
1426
+ #
1427
+ # @!attribute [rw] multiplex_ids
1428
+ # List of multiplex IDs
1429
+ # @return [Array<String>]
1430
+ #
1431
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStart AWS API Documentation
1432
+ #
1433
+ class BatchStart < Struct.new(
1434
+ :channel_ids,
1435
+ :multiplex_ids)
1436
+ SENSITIVE = []
1437
+ include Aws::Structure
1438
+ end
1439
+
1440
+ # @note When making an API call, you may pass BatchStartRequest
1441
+ # data as a hash:
1442
+ #
1443
+ # {
1444
+ # channel_ids: ["__string"],
1445
+ # multiplex_ids: ["__string"],
1446
+ # }
1447
+ #
1448
+ # @!attribute [rw] channel_ids
1449
+ # @return [Array<String>]
1450
+ #
1451
+ # @!attribute [rw] multiplex_ids
1452
+ # @return [Array<String>]
1453
+ #
1454
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStartRequest AWS API Documentation
1455
+ #
1456
+ class BatchStartRequest < Struct.new(
1457
+ :channel_ids,
1458
+ :multiplex_ids)
1459
+ SENSITIVE = []
1460
+ include Aws::Structure
1461
+ end
1462
+
1463
+ # @!attribute [rw] failed
1464
+ # @return [Array<Types::BatchFailedResultModel>]
1465
+ #
1466
+ # @!attribute [rw] successful
1467
+ # @return [Array<Types::BatchSuccessfulResultModel>]
1468
+ #
1469
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStartResponse AWS API Documentation
1470
+ #
1471
+ class BatchStartResponse < Struct.new(
1472
+ :failed,
1473
+ :successful)
1474
+ SENSITIVE = []
1475
+ include Aws::Structure
1476
+ end
1477
+
1478
+ # Batch start resource results
1479
+ #
1480
+ # @!attribute [rw] failed
1481
+ # List of failed operations
1482
+ # @return [Array<Types::BatchFailedResultModel>]
1483
+ #
1484
+ # @!attribute [rw] successful
1485
+ # List of successful operations
1486
+ # @return [Array<Types::BatchSuccessfulResultModel>]
1487
+ #
1488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStartResultModel AWS API Documentation
1489
+ #
1490
+ class BatchStartResultModel < Struct.new(
1491
+ :failed,
1492
+ :successful)
1493
+ SENSITIVE = []
1494
+ include Aws::Structure
1495
+ end
1496
+
1497
+ # Batch stop resource request
1498
+ #
1499
+ # @!attribute [rw] channel_ids
1500
+ # List of channel IDs
1501
+ # @return [Array<String>]
1502
+ #
1503
+ # @!attribute [rw] multiplex_ids
1504
+ # List of multiplex IDs
1505
+ # @return [Array<String>]
1506
+ #
1507
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStop AWS API Documentation
1508
+ #
1509
+ class BatchStop < Struct.new(
1510
+ :channel_ids,
1511
+ :multiplex_ids)
1512
+ SENSITIVE = []
1513
+ include Aws::Structure
1514
+ end
1515
+
1516
+ # @note When making an API call, you may pass BatchStopRequest
1517
+ # data as a hash:
1518
+ #
1519
+ # {
1520
+ # channel_ids: ["__string"],
1521
+ # multiplex_ids: ["__string"],
1522
+ # }
1523
+ #
1524
+ # @!attribute [rw] channel_ids
1525
+ # @return [Array<String>]
1526
+ #
1527
+ # @!attribute [rw] multiplex_ids
1528
+ # @return [Array<String>]
1529
+ #
1530
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStopRequest AWS API Documentation
1531
+ #
1532
+ class BatchStopRequest < Struct.new(
1533
+ :channel_ids,
1534
+ :multiplex_ids)
1535
+ SENSITIVE = []
1536
+ include Aws::Structure
1537
+ end
1538
+
1539
+ # @!attribute [rw] failed
1540
+ # @return [Array<Types::BatchFailedResultModel>]
1541
+ #
1542
+ # @!attribute [rw] successful
1543
+ # @return [Array<Types::BatchSuccessfulResultModel>]
1544
+ #
1545
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStopResponse AWS API Documentation
1546
+ #
1547
+ class BatchStopResponse < Struct.new(
1548
+ :failed,
1549
+ :successful)
1550
+ SENSITIVE = []
1551
+ include Aws::Structure
1552
+ end
1553
+
1554
+ # Batch stop resource results
1555
+ #
1556
+ # @!attribute [rw] failed
1557
+ # List of failed operations
1558
+ # @return [Array<Types::BatchFailedResultModel>]
1559
+ #
1560
+ # @!attribute [rw] successful
1561
+ # List of successful operations
1562
+ # @return [Array<Types::BatchSuccessfulResultModel>]
1563
+ #
1564
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStopResultModel AWS API Documentation
1565
+ #
1566
+ class BatchStopResultModel < Struct.new(
1567
+ :failed,
1568
+ :successful)
1569
+ SENSITIVE = []
1570
+ include Aws::Structure
1571
+ end
1572
+
1573
+ # Details from a successful operation
1574
+ #
1575
+ # @!attribute [rw] arn
1576
+ # ARN of the resource
1577
+ # @return [String]
1578
+ #
1579
+ # @!attribute [rw] id
1580
+ # ID of the resource
1581
+ # @return [String]
1582
+ #
1583
+ # @!attribute [rw] state
1584
+ # Current state of the resource
1585
+ # @return [String]
1586
+ #
1587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchSuccessfulResultModel AWS API Documentation
1588
+ #
1589
+ class BatchSuccessfulResultModel < Struct.new(
1590
+ :arn,
1591
+ :id,
1592
+ :state)
1593
+ SENSITIVE = []
1594
+ include Aws::Structure
1595
+ end
1596
+
1296
1597
  # A request to create actions (add actions to the schedule), delete
1297
1598
  # actions (remove actions from the schedule), or both create and delete
1298
1599
  # actions.
@@ -4391,7 +4692,6 @@ module Aws::MediaLive
4391
4692
  # @return [String]
4392
4693
  #
4393
4694
  # @!attribute [rw] accept
4394
- # Accept Header
4395
4695
  # @return [String]
4396
4696
  #
4397
4697
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputDeviceThumbnailRequest AWS API Documentation
@@ -6447,13 +6747,13 @@ module Aws::MediaLive
6447
6747
  # @!attribute [rw] destination
6448
6748
  # The destination for the frame capture files. Either the URI for an
6449
6749
  # Amazon S3 bucket and object, plus a file name prefix (for example,
6450
- # s3ssl://sportsDelivery/highlights/20180820/curling\_) or the URI for
6750
+ # s3ssl://sportsDelivery/highlights/20180820/curling-) or the URI for
6451
6751
  # a MediaStore container, plus a file name prefix (for example,
6452
- # mediastoressl://sportsDelivery/20180820/curling\_). The final file
6752
+ # mediastoressl://sportsDelivery/20180820/curling-). The final file
6453
6753
  # names consist of the prefix from the destination field (for example,
6454
- # "curling\_") + name modifier + the counter (5 digits, starting
6455
- # from 00001) + extension (which is always .jpg). For example,
6456
- # curlingLow.00001.jpg
6754
+ # "curling-") + name modifier + the counter (5 digits, starting from
6755
+ # 00001) + extension (which is always .jpg). For example,
6756
+ # curling-low.00001.jpg
6457
6757
  # @return [Types::OutputLocationRef]
6458
6758
  #
6459
6759
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/FrameCaptureGroupSettings AWS API Documentation
@@ -7747,7 +8047,7 @@ module Aws::MediaLive
7747
8047
  # Applies only if Mode field is LIVE. Specifies the maximum number of
7748
8048
  # segments in the media manifest file. After this maximum, older
7749
8049
  # segments are removed from the media manifest. This number must be
7750
- # less than or equal to the Keep Segments field.
8050
+ # smaller than the number in the Keep Segments field.
7751
8051
  # @return [Integer]
7752
8052
  #
7753
8053
  # @!attribute [rw] input_loss_action
@@ -7771,7 +8071,14 @@ module Aws::MediaLive
7771
8071
  #
7772
8072
  # @!attribute [rw] keep_segments
7773
8073
  # Applies only if Mode field is LIVE. Specifies the number of media
7774
- # segments (.ts files) to retain in the destination directory.
8074
+ # segments to retain in the destination directory. This number should
8075
+ # be bigger than indexNSegments (Num segments). We recommend (value =
8076
+ # (2 x indexNsegments) + 1). If this "keep segments" number is too
8077
+ # low, the following might happen: the player is still reading a media
8078
+ # manifest file that lists this segment, but that segment has been
8079
+ # removed from the destination directory (as directed by
8080
+ # indexNSegments). This situation would result in a 404 HTTP error on
8081
+ # the player.
7775
8082
  # @return [Integer]
7776
8083
  #
7777
8084
  # @!attribute [rw] key_format
@@ -10277,10 +10584,12 @@ module Aws::MediaLive
10277
10584
  # @return [Integer]
10278
10585
  #
10279
10586
  # @!attribute [rw] buffer_model
10280
- # If set to multiplex, use multiplex buffer model for accurate
10281
- # interleaving. Setting to bufferModel to none can lead to lower
10282
- # latency, but low-memory devices may not be able to play back the
10283
- # stream without interruptions.
10587
+ # Controls the timing accuracy for output network traffic. Leave as
10588
+ # MULTIPLEX to ensure accurate network packet timing. Or set to NONE,
10589
+ # which might result in lower latency but will result in more
10590
+ # variability in output network packet timing. This variability might
10591
+ # cause interruptions, jitter, or bursty behavior in your playback or
10592
+ # receiving devices.
10284
10593
  # @return [String]
10285
10594
  #
10286
10595
  # @!attribute [rw] cc_descriptor
@@ -17125,14 +17434,17 @@ module Aws::MediaLive
17125
17434
  # @return [String]
17126
17435
  #
17127
17436
  # @!attribute [rw] respond_to_afd
17128
- # Indicates how to respond to the AFD values in the input stream.
17129
- # RESPOND causes input video to be clipped, depending on the AFD
17130
- # value, input display aspect ratio, and output display aspect ratio,
17131
- # and (except for FRAME\_CAPTURE codec) includes the values in the
17132
- # output. PASSTHROUGH (does not apply to FRAME\_CAPTURE codec) ignores
17133
- # the AFD values and includes the values in the output, so input video
17134
- # is not clipped. NONE ignores the AFD values and does not include the
17135
- # values through to the output, so input video is not clipped.
17437
+ # Indicates how MediaLive will respond to the AFD values that might be
17438
+ # in the input video. If you do not know what AFD signaling is, or if
17439
+ # your downstream system has not given you guidance, choose
17440
+ # PASSTHROUGH. RESPOND: MediaLive clips the input video using a
17441
+ # formula that uses the AFD values (configured in afdSignaling ), the
17442
+ # input display aspect ratio, and the output display aspect ratio.
17443
+ # MediaLive also includes the AFD values in the output, unless the
17444
+ # codec for this encode is FRAME\_CAPTURE. PASSTHROUGH: MediaLive
17445
+ # ignores the AFD values and does not clip the video. But MediaLive
17446
+ # does include the values in the output. NONE: MediaLive does not clip
17447
+ # the input video and does not include the AFD values in the output
17136
17448
  # @return [String]
17137
17449
  #
17138
17450
  # @!attribute [rw] scaling_behavior
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-medialive
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.53.0
4
+ version: 1.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-15 00:00:00.000000000 Z
11
+ date: 2020-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core