aws-sdk-medialive 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-medialive.rb +1 -1
- data/lib/aws-sdk-medialive/client.rb +195 -1
- data/lib/aws-sdk-medialive/client_api.rb +75 -2
- data/lib/aws-sdk-medialive/types.rb +246 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4194dd25509602194962430b7ec6db462989a8f9
|
4
|
+
data.tar.gz: a61e8c9095be0b47e7075e640271b82ba391e6c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c235fef39046cbe664cf78a9866d60662f8bae2a2d35ffa7991bda28952bef382792f32ef4b5522dd690acbbbec6d4a59ddd9cf2cd39535c318c372d50526c6
|
7
|
+
data.tar.gz: 231c019c02d85ddc66f00396e25a29c83dc2d7f1c8ac1a7e1448fb2ac1753cbc8053ed35f7ba87e101c8fdf830f0cefd19985116491089014cad24de142dee6b
|
data/lib/aws-sdk-medialive.rb
CHANGED
@@ -1404,6 +1404,9 @@ module Aws::MediaLive
|
|
1404
1404
|
#
|
1405
1405
|
# resp.security_group.arn #=> String
|
1406
1406
|
# resp.security_group.id #=> String
|
1407
|
+
# resp.security_group.inputs #=> Array
|
1408
|
+
# resp.security_group.inputs[0] #=> String
|
1409
|
+
# resp.security_group.state #=> String, one of "IDLE", "IN_USE", "UPDATING", "DELETED"
|
1407
1410
|
# resp.security_group.whitelist_rules #=> Array
|
1408
1411
|
# resp.security_group.whitelist_rules[0].cidr #=> String
|
1409
1412
|
#
|
@@ -2495,6 +2498,8 @@ module Aws::MediaLive
|
|
2495
2498
|
#
|
2496
2499
|
# * {Types::DescribeInputSecurityGroupResponse#arn #arn} => String
|
2497
2500
|
# * {Types::DescribeInputSecurityGroupResponse#id #id} => String
|
2501
|
+
# * {Types::DescribeInputSecurityGroupResponse#inputs #inputs} => Array<String>
|
2502
|
+
# * {Types::DescribeInputSecurityGroupResponse#state #state} => String
|
2498
2503
|
# * {Types::DescribeInputSecurityGroupResponse#whitelist_rules #whitelist_rules} => Array<Types::InputWhitelistRule>
|
2499
2504
|
#
|
2500
2505
|
# @example Request syntax with placeholder values
|
@@ -2507,6 +2512,9 @@ module Aws::MediaLive
|
|
2507
2512
|
#
|
2508
2513
|
# resp.arn #=> String
|
2509
2514
|
# resp.id #=> String
|
2515
|
+
# resp.inputs #=> Array
|
2516
|
+
# resp.inputs[0] #=> String
|
2517
|
+
# resp.state #=> String, one of "IDLE", "IN_USE", "UPDATING", "DELETED"
|
2510
2518
|
# resp.whitelist_rules #=> Array
|
2511
2519
|
# resp.whitelist_rules[0].cidr #=> String
|
2512
2520
|
#
|
@@ -2624,6 +2632,9 @@ module Aws::MediaLive
|
|
2624
2632
|
# resp.input_security_groups #=> Array
|
2625
2633
|
# resp.input_security_groups[0].arn #=> String
|
2626
2634
|
# resp.input_security_groups[0].id #=> String
|
2635
|
+
# resp.input_security_groups[0].inputs #=> Array
|
2636
|
+
# resp.input_security_groups[0].inputs[0] #=> String
|
2637
|
+
# resp.input_security_groups[0].state #=> String, one of "IDLE", "IN_USE", "UPDATING", "DELETED"
|
2627
2638
|
# resp.input_security_groups[0].whitelist_rules #=> Array
|
2628
2639
|
# resp.input_security_groups[0].whitelist_rules[0].cidr #=> String
|
2629
2640
|
# resp.next_token #=> String
|
@@ -3672,6 +3683,8 @@ module Aws::MediaLive
|
|
3672
3683
|
#
|
3673
3684
|
# @option params [Types::EncoderSettings] :encoder_settings
|
3674
3685
|
#
|
3686
|
+
# @option params [Array<Types::InputAttachment>] :input_attachments
|
3687
|
+
#
|
3675
3688
|
# @option params [Types::InputSpecification] :input_specification
|
3676
3689
|
#
|
3677
3690
|
# @option params [String] :name
|
@@ -4274,6 +4287,82 @@ module Aws::MediaLive
|
|
4274
4287
|
# },
|
4275
4288
|
# ],
|
4276
4289
|
# },
|
4290
|
+
# input_attachments: [
|
4291
|
+
# {
|
4292
|
+
# input_id: "__string",
|
4293
|
+
# input_settings: {
|
4294
|
+
# audio_selectors: [
|
4295
|
+
# {
|
4296
|
+
# name: "__string", # required
|
4297
|
+
# selector_settings: {
|
4298
|
+
# audio_language_selection: {
|
4299
|
+
# language_code: "__string", # required
|
4300
|
+
# language_selection_policy: "LOOSE", # accepts LOOSE, STRICT
|
4301
|
+
# },
|
4302
|
+
# audio_pid_selection: {
|
4303
|
+
# pid: 1, # required
|
4304
|
+
# },
|
4305
|
+
# },
|
4306
|
+
# },
|
4307
|
+
# ],
|
4308
|
+
# caption_selectors: [
|
4309
|
+
# {
|
4310
|
+
# language_code: "__string",
|
4311
|
+
# name: "__string", # required
|
4312
|
+
# selector_settings: {
|
4313
|
+
# arib_source_settings: {
|
4314
|
+
# },
|
4315
|
+
# dvb_sub_source_settings: {
|
4316
|
+
# pid: 1,
|
4317
|
+
# },
|
4318
|
+
# embedded_source_settings: {
|
4319
|
+
# convert_608_to_708: "DISABLED", # accepts DISABLED, UPCONVERT
|
4320
|
+
# scte_20_detection: "AUTO", # accepts AUTO, OFF
|
4321
|
+
# source_608_channel_number: 1,
|
4322
|
+
# source_608_track_number: 1,
|
4323
|
+
# },
|
4324
|
+
# scte_20_source_settings: {
|
4325
|
+
# convert_608_to_708: "DISABLED", # accepts DISABLED, UPCONVERT
|
4326
|
+
# source_608_channel_number: 1,
|
4327
|
+
# },
|
4328
|
+
# scte_27_source_settings: {
|
4329
|
+
# pid: 1,
|
4330
|
+
# },
|
4331
|
+
# teletext_source_settings: {
|
4332
|
+
# page_number: "__string",
|
4333
|
+
# },
|
4334
|
+
# },
|
4335
|
+
# },
|
4336
|
+
# ],
|
4337
|
+
# deblock_filter: "DISABLED", # accepts DISABLED, ENABLED
|
4338
|
+
# denoise_filter: "DISABLED", # accepts DISABLED, ENABLED
|
4339
|
+
# filter_strength: 1,
|
4340
|
+
# input_filter: "AUTO", # accepts AUTO, DISABLED, FORCED
|
4341
|
+
# network_input_settings: {
|
4342
|
+
# hls_input_settings: {
|
4343
|
+
# bandwidth: 1,
|
4344
|
+
# buffer_segments: 1,
|
4345
|
+
# retries: 1,
|
4346
|
+
# retry_interval: 1,
|
4347
|
+
# },
|
4348
|
+
# server_validation: "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME", # accepts CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME, CHECK_CRYPTOGRAPHY_ONLY
|
4349
|
+
# },
|
4350
|
+
# source_end_behavior: "CONTINUE", # accepts CONTINUE, LOOP
|
4351
|
+
# video_selector: {
|
4352
|
+
# color_space: "FOLLOW", # accepts FOLLOW, REC_601, REC_709
|
4353
|
+
# color_space_usage: "FALLBACK", # accepts FALLBACK, FORCE
|
4354
|
+
# selector_settings: {
|
4355
|
+
# video_selector_pid: {
|
4356
|
+
# pid: 1,
|
4357
|
+
# },
|
4358
|
+
# video_selector_program_id: {
|
4359
|
+
# program_id: 1,
|
4360
|
+
# },
|
4361
|
+
# },
|
4362
|
+
# },
|
4363
|
+
# },
|
4364
|
+
# },
|
4365
|
+
# ],
|
4277
4366
|
# input_specification: {
|
4278
4367
|
# codec: "MPEG2", # accepts MPEG2, AVC, HEVC
|
4279
4368
|
# maximum_bitrate: "MAX_10_MBPS", # accepts MAX_10_MBPS, MAX_20_MBPS, MAX_50_MBPS
|
@@ -4748,6 +4837,111 @@ module Aws::MediaLive
|
|
4748
4837
|
req.send_request(options)
|
4749
4838
|
end
|
4750
4839
|
|
4840
|
+
# Updates an input.
|
4841
|
+
#
|
4842
|
+
# @option params [Array<Types::InputDestinationRequest>] :destinations
|
4843
|
+
#
|
4844
|
+
# @option params [required, String] :input_id
|
4845
|
+
#
|
4846
|
+
# @option params [Array<String>] :input_security_groups
|
4847
|
+
#
|
4848
|
+
# @option params [String] :name
|
4849
|
+
#
|
4850
|
+
# @option params [Array<Types::InputSourceRequest>] :sources
|
4851
|
+
#
|
4852
|
+
# @return [Types::UpdateInputResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4853
|
+
#
|
4854
|
+
# * {Types::UpdateInputResponse#input #input} => Types::Input
|
4855
|
+
#
|
4856
|
+
# @example Request syntax with placeholder values
|
4857
|
+
#
|
4858
|
+
# resp = client.update_input({
|
4859
|
+
# destinations: [
|
4860
|
+
# {
|
4861
|
+
# stream_name: "__string",
|
4862
|
+
# },
|
4863
|
+
# ],
|
4864
|
+
# input_id: "__string", # required
|
4865
|
+
# input_security_groups: ["__string"],
|
4866
|
+
# name: "__string",
|
4867
|
+
# sources: [
|
4868
|
+
# {
|
4869
|
+
# password_param: "__string",
|
4870
|
+
# url: "__string",
|
4871
|
+
# username: "__string",
|
4872
|
+
# },
|
4873
|
+
# ],
|
4874
|
+
# })
|
4875
|
+
#
|
4876
|
+
# @example Response structure
|
4877
|
+
#
|
4878
|
+
# resp.input.arn #=> String
|
4879
|
+
# resp.input.attached_channels #=> Array
|
4880
|
+
# resp.input.attached_channels[0] #=> String
|
4881
|
+
# resp.input.destinations #=> Array
|
4882
|
+
# resp.input.destinations[0].ip #=> String
|
4883
|
+
# resp.input.destinations[0].port #=> String
|
4884
|
+
# resp.input.destinations[0].url #=> String
|
4885
|
+
# resp.input.id #=> String
|
4886
|
+
# resp.input.name #=> String
|
4887
|
+
# resp.input.security_groups #=> Array
|
4888
|
+
# resp.input.security_groups[0] #=> String
|
4889
|
+
# resp.input.sources #=> Array
|
4890
|
+
# resp.input.sources[0].password_param #=> String
|
4891
|
+
# resp.input.sources[0].url #=> String
|
4892
|
+
# resp.input.sources[0].username #=> String
|
4893
|
+
# resp.input.state #=> String, one of "CREATING", "DETACHED", "ATTACHED", "DELETING", "DELETED"
|
4894
|
+
# resp.input.type #=> String, one of "UDP_PUSH", "RTP_PUSH", "RTMP_PUSH", "RTMP_PULL", "URL_PULL"
|
4895
|
+
#
|
4896
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInput AWS API Documentation
|
4897
|
+
#
|
4898
|
+
# @overload update_input(params = {})
|
4899
|
+
# @param [Hash] params ({})
|
4900
|
+
def update_input(params = {}, options = {})
|
4901
|
+
req = build_request(:update_input, params)
|
4902
|
+
req.send_request(options)
|
4903
|
+
end
|
4904
|
+
|
4905
|
+
# Update an Input Security Group's Whilelists.
|
4906
|
+
#
|
4907
|
+
# @option params [required, String] :input_security_group_id
|
4908
|
+
#
|
4909
|
+
# @option params [Array<Types::InputWhitelistRuleCidr>] :whitelist_rules
|
4910
|
+
#
|
4911
|
+
# @return [Types::UpdateInputSecurityGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4912
|
+
#
|
4913
|
+
# * {Types::UpdateInputSecurityGroupResponse#security_group #security_group} => Types::InputSecurityGroup
|
4914
|
+
#
|
4915
|
+
# @example Request syntax with placeholder values
|
4916
|
+
#
|
4917
|
+
# resp = client.update_input_security_group({
|
4918
|
+
# input_security_group_id: "__string", # required
|
4919
|
+
# whitelist_rules: [
|
4920
|
+
# {
|
4921
|
+
# cidr: "__string",
|
4922
|
+
# },
|
4923
|
+
# ],
|
4924
|
+
# })
|
4925
|
+
#
|
4926
|
+
# @example Response structure
|
4927
|
+
#
|
4928
|
+
# resp.security_group.arn #=> String
|
4929
|
+
# resp.security_group.id #=> String
|
4930
|
+
# resp.security_group.inputs #=> Array
|
4931
|
+
# resp.security_group.inputs[0] #=> String
|
4932
|
+
# resp.security_group.state #=> String, one of "IDLE", "IN_USE", "UPDATING", "DELETED"
|
4933
|
+
# resp.security_group.whitelist_rules #=> Array
|
4934
|
+
# resp.security_group.whitelist_rules[0].cidr #=> String
|
4935
|
+
#
|
4936
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputSecurityGroup AWS API Documentation
|
4937
|
+
#
|
4938
|
+
# @overload update_input_security_group(params = {})
|
4939
|
+
# @param [Hash] params ({})
|
4940
|
+
def update_input_security_group(params = {}, options = {})
|
4941
|
+
req = build_request(:update_input_security_group, params)
|
4942
|
+
req.send_request(options)
|
4943
|
+
end
|
4944
|
+
|
4751
4945
|
# @!endgroup
|
4752
4946
|
|
4753
4947
|
# @param params ({})
|
@@ -4761,7 +4955,7 @@ module Aws::MediaLive
|
|
4761
4955
|
params: params,
|
4762
4956
|
config: config)
|
4763
4957
|
context[:gem_name] = 'aws-sdk-medialive'
|
4764
|
-
context[:gem_version] = '1.
|
4958
|
+
context[:gem_version] = '1.4.0'
|
4765
4959
|
Seahorse::Client::Request.new(handlers, context)
|
4766
4960
|
end
|
4767
4961
|
|
@@ -207,6 +207,7 @@ module Aws::MediaLive
|
|
207
207
|
InputMaximumBitrate = Shapes::StringShape.new(name: 'InputMaximumBitrate')
|
208
208
|
InputResolution = Shapes::StringShape.new(name: 'InputResolution')
|
209
209
|
InputSecurityGroup = Shapes::StructureShape.new(name: 'InputSecurityGroup')
|
210
|
+
InputSecurityGroupState = Shapes::StringShape.new(name: 'InputSecurityGroupState')
|
210
211
|
InputSecurityGroupWhitelistRequest = Shapes::StructureShape.new(name: 'InputSecurityGroupWhitelistRequest')
|
211
212
|
InputSettings = Shapes::StructureShape.new(name: 'InputSettings')
|
212
213
|
InputSource = Shapes::StructureShape.new(name: 'InputSource')
|
@@ -315,6 +316,13 @@ module Aws::MediaLive
|
|
315
316
|
UpdateChannelRequest = Shapes::StructureShape.new(name: 'UpdateChannelRequest')
|
316
317
|
UpdateChannelResponse = Shapes::StructureShape.new(name: 'UpdateChannelResponse')
|
317
318
|
UpdateChannelResultModel = Shapes::StructureShape.new(name: 'UpdateChannelResultModel')
|
319
|
+
UpdateInput = Shapes::StructureShape.new(name: 'UpdateInput')
|
320
|
+
UpdateInputRequest = Shapes::StructureShape.new(name: 'UpdateInputRequest')
|
321
|
+
UpdateInputResponse = Shapes::StructureShape.new(name: 'UpdateInputResponse')
|
322
|
+
UpdateInputResultModel = Shapes::StructureShape.new(name: 'UpdateInputResultModel')
|
323
|
+
UpdateInputSecurityGroupRequest = Shapes::StructureShape.new(name: 'UpdateInputSecurityGroupRequest')
|
324
|
+
UpdateInputSecurityGroupResponse = Shapes::StructureShape.new(name: 'UpdateInputSecurityGroupResponse')
|
325
|
+
UpdateInputSecurityGroupResultModel = Shapes::StructureShape.new(name: 'UpdateInputSecurityGroupResultModel')
|
318
326
|
ValidationError = Shapes::StructureShape.new(name: 'ValidationError')
|
319
327
|
VideoCodecSettings = Shapes::StructureShape.new(name: 'VideoCodecSettings')
|
320
328
|
VideoDescription = Shapes::StructureShape.new(name: 'VideoDescription')
|
@@ -719,6 +727,8 @@ module Aws::MediaLive
|
|
719
727
|
|
720
728
|
DescribeInputSecurityGroupResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
721
729
|
DescribeInputSecurityGroupResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
|
730
|
+
DescribeInputSecurityGroupResponse.add_member(:inputs, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "inputs"))
|
731
|
+
DescribeInputSecurityGroupResponse.add_member(:state, Shapes::ShapeRef.new(shape: InputSecurityGroupState, location_name: "state"))
|
722
732
|
DescribeInputSecurityGroupResponse.add_member(:whitelist_rules, Shapes::ShapeRef.new(shape: __listOfInputWhitelistRule, location_name: "whitelistRules"))
|
723
733
|
DescribeInputSecurityGroupResponse.struct_class = Types::DescribeInputSecurityGroupResponse
|
724
734
|
|
@@ -980,6 +990,8 @@ module Aws::MediaLive
|
|
980
990
|
|
981
991
|
InputSecurityGroup.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
982
992
|
InputSecurityGroup.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
|
993
|
+
InputSecurityGroup.add_member(:inputs, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "inputs"))
|
994
|
+
InputSecurityGroup.add_member(:state, Shapes::ShapeRef.new(shape: InputSecurityGroupState, location_name: "state"))
|
983
995
|
InputSecurityGroup.add_member(:whitelist_rules, Shapes::ShapeRef.new(shape: __listOfInputWhitelistRule, location_name: "whitelistRules"))
|
984
996
|
InputSecurityGroup.struct_class = Types::InputSecurityGroup
|
985
997
|
|
@@ -1304,6 +1316,7 @@ module Aws::MediaLive
|
|
1304
1316
|
|
1305
1317
|
UpdateChannel.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfOutputDestination, location_name: "destinations"))
|
1306
1318
|
UpdateChannel.add_member(:encoder_settings, Shapes::ShapeRef.new(shape: EncoderSettings, location_name: "encoderSettings"))
|
1319
|
+
UpdateChannel.add_member(:input_attachments, Shapes::ShapeRef.new(shape: __listOfInputAttachment, location_name: "inputAttachments"))
|
1307
1320
|
UpdateChannel.add_member(:input_specification, Shapes::ShapeRef.new(shape: InputSpecification, location_name: "inputSpecification"))
|
1308
1321
|
UpdateChannel.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
1309
1322
|
UpdateChannel.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "roleArn"))
|
@@ -1312,6 +1325,7 @@ module Aws::MediaLive
|
|
1312
1325
|
UpdateChannelRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelId"))
|
1313
1326
|
UpdateChannelRequest.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfOutputDestination, location_name: "destinations"))
|
1314
1327
|
UpdateChannelRequest.add_member(:encoder_settings, Shapes::ShapeRef.new(shape: EncoderSettings, location_name: "encoderSettings"))
|
1328
|
+
UpdateChannelRequest.add_member(:input_attachments, Shapes::ShapeRef.new(shape: __listOfInputAttachment, location_name: "inputAttachments"))
|
1315
1329
|
UpdateChannelRequest.add_member(:input_specification, Shapes::ShapeRef.new(shape: InputSpecification, location_name: "inputSpecification"))
|
1316
1330
|
UpdateChannelRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
1317
1331
|
UpdateChannelRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "roleArn"))
|
@@ -1323,6 +1337,35 @@ module Aws::MediaLive
|
|
1323
1337
|
UpdateChannelResultModel.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "channel"))
|
1324
1338
|
UpdateChannelResultModel.struct_class = Types::UpdateChannelResultModel
|
1325
1339
|
|
1340
|
+
UpdateInput.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfInputDestinationRequest, location_name: "destinations"))
|
1341
|
+
UpdateInput.add_member(:input_security_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "inputSecurityGroups"))
|
1342
|
+
UpdateInput.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
1343
|
+
UpdateInput.add_member(:sources, Shapes::ShapeRef.new(shape: __listOfInputSourceRequest, location_name: "sources"))
|
1344
|
+
UpdateInput.struct_class = Types::UpdateInput
|
1345
|
+
|
1346
|
+
UpdateInputRequest.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfInputDestinationRequest, location_name: "destinations"))
|
1347
|
+
UpdateInputRequest.add_member(:input_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "inputId"))
|
1348
|
+
UpdateInputRequest.add_member(:input_security_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "inputSecurityGroups"))
|
1349
|
+
UpdateInputRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
1350
|
+
UpdateInputRequest.add_member(:sources, Shapes::ShapeRef.new(shape: __listOfInputSourceRequest, location_name: "sources"))
|
1351
|
+
UpdateInputRequest.struct_class = Types::UpdateInputRequest
|
1352
|
+
|
1353
|
+
UpdateInputResponse.add_member(:input, Shapes::ShapeRef.new(shape: Input, location_name: "input"))
|
1354
|
+
UpdateInputResponse.struct_class = Types::UpdateInputResponse
|
1355
|
+
|
1356
|
+
UpdateInputResultModel.add_member(:input, Shapes::ShapeRef.new(shape: Input, location_name: "input"))
|
1357
|
+
UpdateInputResultModel.struct_class = Types::UpdateInputResultModel
|
1358
|
+
|
1359
|
+
UpdateInputSecurityGroupRequest.add_member(:input_security_group_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "inputSecurityGroupId"))
|
1360
|
+
UpdateInputSecurityGroupRequest.add_member(:whitelist_rules, Shapes::ShapeRef.new(shape: __listOfInputWhitelistRuleCidr, location_name: "whitelistRules"))
|
1361
|
+
UpdateInputSecurityGroupRequest.struct_class = Types::UpdateInputSecurityGroupRequest
|
1362
|
+
|
1363
|
+
UpdateInputSecurityGroupResponse.add_member(:security_group, Shapes::ShapeRef.new(shape: InputSecurityGroup, location_name: "securityGroup"))
|
1364
|
+
UpdateInputSecurityGroupResponse.struct_class = Types::UpdateInputSecurityGroupResponse
|
1365
|
+
|
1366
|
+
UpdateInputSecurityGroupResultModel.add_member(:security_group, Shapes::ShapeRef.new(shape: InputSecurityGroup, location_name: "securityGroup"))
|
1367
|
+
UpdateInputSecurityGroupResultModel.struct_class = Types::UpdateInputSecurityGroupResultModel
|
1368
|
+
|
1326
1369
|
ValidationError.add_member(:element_path, Shapes::ShapeRef.new(shape: __string, location_name: "elementPath"))
|
1327
1370
|
ValidationError.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "errorMessage"))
|
1328
1371
|
ValidationError.struct_class = Types::ValidationError
|
@@ -1429,8 +1472,8 @@ module Aws::MediaLive
|
|
1429
1472
|
o.http_request_uri = "/prod/channels"
|
1430
1473
|
o.input = Shapes::ShapeRef.new(shape: CreateChannelRequest)
|
1431
1474
|
o.output = Shapes::ShapeRef.new(shape: CreateChannelResponse)
|
1432
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1433
1475
|
o.errors << Shapes::ShapeRef.new(shape: UnprocessableEntityException)
|
1476
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1434
1477
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1435
1478
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1436
1479
|
o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
|
@@ -1657,14 +1700,44 @@ module Aws::MediaLive
|
|
1657
1700
|
o.http_request_uri = "/prod/channels/{channelId}"
|
1658
1701
|
o.input = Shapes::ShapeRef.new(shape: UpdateChannelRequest)
|
1659
1702
|
o.output = Shapes::ShapeRef.new(shape: UpdateChannelResponse)
|
1660
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1661
1703
|
o.errors << Shapes::ShapeRef.new(shape: UnprocessableEntityException)
|
1704
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1662
1705
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1663
1706
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1664
1707
|
o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
|
1665
1708
|
o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
|
1666
1709
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1667
1710
|
end)
|
1711
|
+
|
1712
|
+
api.add_operation(:update_input, Seahorse::Model::Operation.new.tap do |o|
|
1713
|
+
o.name = "UpdateInput"
|
1714
|
+
o.http_method = "PUT"
|
1715
|
+
o.http_request_uri = "/prod/inputs/{inputId}"
|
1716
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateInputRequest)
|
1717
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateInputResponse)
|
1718
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1719
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1720
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1721
|
+
o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
|
1722
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1723
|
+
o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
|
1724
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1725
|
+
end)
|
1726
|
+
|
1727
|
+
api.add_operation(:update_input_security_group, Seahorse::Model::Operation.new.tap do |o|
|
1728
|
+
o.name = "UpdateInputSecurityGroup"
|
1729
|
+
o.http_method = "PUT"
|
1730
|
+
o.http_request_uri = "/prod/inputSecurityGroups/{inputSecurityGroupId}"
|
1731
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateInputSecurityGroupRequest)
|
1732
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateInputSecurityGroupResponse)
|
1733
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1734
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
1735
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1736
|
+
o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
|
1737
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1738
|
+
o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
|
1739
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1740
|
+
end)
|
1668
1741
|
end
|
1669
1742
|
|
1670
1743
|
end
|
@@ -2885,6 +2885,12 @@ module Aws::MediaLive
|
|
2885
2885
|
# @!attribute [rw] id
|
2886
2886
|
# @return [String]
|
2887
2887
|
#
|
2888
|
+
# @!attribute [rw] inputs
|
2889
|
+
# @return [Array<String>]
|
2890
|
+
#
|
2891
|
+
# @!attribute [rw] state
|
2892
|
+
# @return [String]
|
2893
|
+
#
|
2888
2894
|
# @!attribute [rw] whitelist_rules
|
2889
2895
|
# @return [Array<Types::InputWhitelistRule>]
|
2890
2896
|
#
|
@@ -2893,6 +2899,8 @@ module Aws::MediaLive
|
|
2893
2899
|
class DescribeInputSecurityGroupResponse < Struct.new(
|
2894
2900
|
:arn,
|
2895
2901
|
:id,
|
2902
|
+
:inputs,
|
2903
|
+
:state,
|
2896
2904
|
:whitelist_rules)
|
2897
2905
|
include Aws::Structure
|
2898
2906
|
end
|
@@ -5457,6 +5465,14 @@ module Aws::MediaLive
|
|
5457
5465
|
# The Id of the Input Security Group
|
5458
5466
|
# @return [String]
|
5459
5467
|
#
|
5468
|
+
# @!attribute [rw] inputs
|
5469
|
+
# The list of inputs currently using this Input Security Group.
|
5470
|
+
# @return [Array<String>]
|
5471
|
+
#
|
5472
|
+
# @!attribute [rw] state
|
5473
|
+
# The current state of the Input Security Group.
|
5474
|
+
# @return [String]
|
5475
|
+
#
|
5460
5476
|
# @!attribute [rw] whitelist_rules
|
5461
5477
|
# Whitelist rules and their sync status
|
5462
5478
|
# @return [Array<Types::InputWhitelistRule>]
|
@@ -5466,6 +5482,8 @@ module Aws::MediaLive
|
|
5466
5482
|
class InputSecurityGroup < Struct.new(
|
5467
5483
|
:arn,
|
5468
5484
|
:id,
|
5485
|
+
:inputs,
|
5486
|
+
:state,
|
5469
5487
|
:whitelist_rules)
|
5470
5488
|
include Aws::Structure
|
5471
5489
|
end
|
@@ -5731,7 +5749,7 @@ module Aws::MediaLive
|
|
5731
5749
|
# }
|
5732
5750
|
#
|
5733
5751
|
# @!attribute [rw] cidr
|
5734
|
-
# The IPv4 CIDR to whitelist
|
5752
|
+
# The IPv4 CIDR to whitelist.
|
5735
5753
|
# @return [String]
|
5736
5754
|
#
|
5737
5755
|
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputWhitelistRuleCidr AWS API Documentation
|
@@ -8431,6 +8449,9 @@ module Aws::MediaLive
|
|
8431
8449
|
# The encoder settings for this channel.
|
8432
8450
|
# @return [Types::EncoderSettings]
|
8433
8451
|
#
|
8452
|
+
# @!attribute [rw] input_attachments
|
8453
|
+
# @return [Array<Types::InputAttachment>]
|
8454
|
+
#
|
8434
8455
|
# @!attribute [rw] input_specification
|
8435
8456
|
# Specification of input for this channel (max. bitrate, resolution,
|
8436
8457
|
# codec, etc.)
|
@@ -8451,6 +8472,7 @@ module Aws::MediaLive
|
|
8451
8472
|
class UpdateChannel < Struct.new(
|
8452
8473
|
:destinations,
|
8453
8474
|
:encoder_settings,
|
8475
|
+
:input_attachments,
|
8454
8476
|
:input_specification,
|
8455
8477
|
:name,
|
8456
8478
|
:role_arn)
|
@@ -9050,6 +9072,82 @@ module Aws::MediaLive
|
|
9050
9072
|
# },
|
9051
9073
|
# ],
|
9052
9074
|
# },
|
9075
|
+
# input_attachments: [
|
9076
|
+
# {
|
9077
|
+
# input_id: "__string",
|
9078
|
+
# input_settings: {
|
9079
|
+
# audio_selectors: [
|
9080
|
+
# {
|
9081
|
+
# name: "__string", # required
|
9082
|
+
# selector_settings: {
|
9083
|
+
# audio_language_selection: {
|
9084
|
+
# language_code: "__string", # required
|
9085
|
+
# language_selection_policy: "LOOSE", # accepts LOOSE, STRICT
|
9086
|
+
# },
|
9087
|
+
# audio_pid_selection: {
|
9088
|
+
# pid: 1, # required
|
9089
|
+
# },
|
9090
|
+
# },
|
9091
|
+
# },
|
9092
|
+
# ],
|
9093
|
+
# caption_selectors: [
|
9094
|
+
# {
|
9095
|
+
# language_code: "__string",
|
9096
|
+
# name: "__string", # required
|
9097
|
+
# selector_settings: {
|
9098
|
+
# arib_source_settings: {
|
9099
|
+
# },
|
9100
|
+
# dvb_sub_source_settings: {
|
9101
|
+
# pid: 1,
|
9102
|
+
# },
|
9103
|
+
# embedded_source_settings: {
|
9104
|
+
# convert_608_to_708: "DISABLED", # accepts DISABLED, UPCONVERT
|
9105
|
+
# scte_20_detection: "AUTO", # accepts AUTO, OFF
|
9106
|
+
# source_608_channel_number: 1,
|
9107
|
+
# source_608_track_number: 1,
|
9108
|
+
# },
|
9109
|
+
# scte_20_source_settings: {
|
9110
|
+
# convert_608_to_708: "DISABLED", # accepts DISABLED, UPCONVERT
|
9111
|
+
# source_608_channel_number: 1,
|
9112
|
+
# },
|
9113
|
+
# scte_27_source_settings: {
|
9114
|
+
# pid: 1,
|
9115
|
+
# },
|
9116
|
+
# teletext_source_settings: {
|
9117
|
+
# page_number: "__string",
|
9118
|
+
# },
|
9119
|
+
# },
|
9120
|
+
# },
|
9121
|
+
# ],
|
9122
|
+
# deblock_filter: "DISABLED", # accepts DISABLED, ENABLED
|
9123
|
+
# denoise_filter: "DISABLED", # accepts DISABLED, ENABLED
|
9124
|
+
# filter_strength: 1,
|
9125
|
+
# input_filter: "AUTO", # accepts AUTO, DISABLED, FORCED
|
9126
|
+
# network_input_settings: {
|
9127
|
+
# hls_input_settings: {
|
9128
|
+
# bandwidth: 1,
|
9129
|
+
# buffer_segments: 1,
|
9130
|
+
# retries: 1,
|
9131
|
+
# retry_interval: 1,
|
9132
|
+
# },
|
9133
|
+
# server_validation: "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME", # accepts CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME, CHECK_CRYPTOGRAPHY_ONLY
|
9134
|
+
# },
|
9135
|
+
# source_end_behavior: "CONTINUE", # accepts CONTINUE, LOOP
|
9136
|
+
# video_selector: {
|
9137
|
+
# color_space: "FOLLOW", # accepts FOLLOW, REC_601, REC_709
|
9138
|
+
# color_space_usage: "FALLBACK", # accepts FALLBACK, FORCE
|
9139
|
+
# selector_settings: {
|
9140
|
+
# video_selector_pid: {
|
9141
|
+
# pid: 1,
|
9142
|
+
# },
|
9143
|
+
# video_selector_program_id: {
|
9144
|
+
# program_id: 1,
|
9145
|
+
# },
|
9146
|
+
# },
|
9147
|
+
# },
|
9148
|
+
# },
|
9149
|
+
# },
|
9150
|
+
# ],
|
9053
9151
|
# input_specification: {
|
9054
9152
|
# codec: "MPEG2", # accepts MPEG2, AVC, HEVC
|
9055
9153
|
# maximum_bitrate: "MAX_10_MBPS", # accepts MAX_10_MBPS, MAX_20_MBPS, MAX_50_MBPS
|
@@ -9068,6 +9166,9 @@ module Aws::MediaLive
|
|
9068
9166
|
# @!attribute [rw] encoder_settings
|
9069
9167
|
# @return [Types::EncoderSettings]
|
9070
9168
|
#
|
9169
|
+
# @!attribute [rw] input_attachments
|
9170
|
+
# @return [Array<Types::InputAttachment>]
|
9171
|
+
#
|
9071
9172
|
# @!attribute [rw] input_specification
|
9072
9173
|
# @return [Types::InputSpecification]
|
9073
9174
|
#
|
@@ -9083,6 +9184,7 @@ module Aws::MediaLive
|
|
9083
9184
|
:channel_id,
|
9084
9185
|
:destinations,
|
9085
9186
|
:encoder_settings,
|
9187
|
+
:input_attachments,
|
9086
9188
|
:input_specification,
|
9087
9189
|
:name,
|
9088
9190
|
:role_arn)
|
@@ -9111,6 +9213,149 @@ module Aws::MediaLive
|
|
9111
9213
|
include Aws::Structure
|
9112
9214
|
end
|
9113
9215
|
|
9216
|
+
# @!attribute [rw] destinations
|
9217
|
+
# Destination settings for PUSH type inputs.
|
9218
|
+
# @return [Array<Types::InputDestinationRequest>]
|
9219
|
+
#
|
9220
|
+
# @!attribute [rw] input_security_groups
|
9221
|
+
# A list of security groups referenced by IDs to attach to the input.
|
9222
|
+
# @return [Array<String>]
|
9223
|
+
#
|
9224
|
+
# @!attribute [rw] name
|
9225
|
+
# Name of the input.
|
9226
|
+
# @return [String]
|
9227
|
+
#
|
9228
|
+
# @!attribute [rw] sources
|
9229
|
+
# The source URLs for a PULL-type input. Every PULL type input needs
|
9230
|
+
# exactly two source URLs for redundancy. Only specify sources for
|
9231
|
+
# PULL type Inputs. Leave Destinations empty.
|
9232
|
+
# @return [Array<Types::InputSourceRequest>]
|
9233
|
+
#
|
9234
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInput AWS API Documentation
|
9235
|
+
#
|
9236
|
+
class UpdateInput < Struct.new(
|
9237
|
+
:destinations,
|
9238
|
+
:input_security_groups,
|
9239
|
+
:name,
|
9240
|
+
:sources)
|
9241
|
+
include Aws::Structure
|
9242
|
+
end
|
9243
|
+
|
9244
|
+
# @note When making an API call, you may pass UpdateInputRequest
|
9245
|
+
# data as a hash:
|
9246
|
+
#
|
9247
|
+
# {
|
9248
|
+
# destinations: [
|
9249
|
+
# {
|
9250
|
+
# stream_name: "__string",
|
9251
|
+
# },
|
9252
|
+
# ],
|
9253
|
+
# input_id: "__string", # required
|
9254
|
+
# input_security_groups: ["__string"],
|
9255
|
+
# name: "__string",
|
9256
|
+
# sources: [
|
9257
|
+
# {
|
9258
|
+
# password_param: "__string",
|
9259
|
+
# url: "__string",
|
9260
|
+
# username: "__string",
|
9261
|
+
# },
|
9262
|
+
# ],
|
9263
|
+
# }
|
9264
|
+
#
|
9265
|
+
# @!attribute [rw] destinations
|
9266
|
+
# @return [Array<Types::InputDestinationRequest>]
|
9267
|
+
#
|
9268
|
+
# @!attribute [rw] input_id
|
9269
|
+
# @return [String]
|
9270
|
+
#
|
9271
|
+
# @!attribute [rw] input_security_groups
|
9272
|
+
# @return [Array<String>]
|
9273
|
+
#
|
9274
|
+
# @!attribute [rw] name
|
9275
|
+
# @return [String]
|
9276
|
+
#
|
9277
|
+
# @!attribute [rw] sources
|
9278
|
+
# @return [Array<Types::InputSourceRequest>]
|
9279
|
+
#
|
9280
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputRequest AWS API Documentation
|
9281
|
+
#
|
9282
|
+
class UpdateInputRequest < Struct.new(
|
9283
|
+
:destinations,
|
9284
|
+
:input_id,
|
9285
|
+
:input_security_groups,
|
9286
|
+
:name,
|
9287
|
+
:sources)
|
9288
|
+
include Aws::Structure
|
9289
|
+
end
|
9290
|
+
|
9291
|
+
# @!attribute [rw] input
|
9292
|
+
# @return [Types::Input]
|
9293
|
+
#
|
9294
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputResponse AWS API Documentation
|
9295
|
+
#
|
9296
|
+
class UpdateInputResponse < Struct.new(
|
9297
|
+
:input)
|
9298
|
+
include Aws::Structure
|
9299
|
+
end
|
9300
|
+
|
9301
|
+
# @!attribute [rw] input
|
9302
|
+
# @return [Types::Input]
|
9303
|
+
#
|
9304
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputResultModel AWS API Documentation
|
9305
|
+
#
|
9306
|
+
class UpdateInputResultModel < Struct.new(
|
9307
|
+
:input)
|
9308
|
+
include Aws::Structure
|
9309
|
+
end
|
9310
|
+
|
9311
|
+
# @note When making an API call, you may pass UpdateInputSecurityGroupRequest
|
9312
|
+
# data as a hash:
|
9313
|
+
#
|
9314
|
+
# {
|
9315
|
+
# input_security_group_id: "__string", # required
|
9316
|
+
# whitelist_rules: [
|
9317
|
+
# {
|
9318
|
+
# cidr: "__string",
|
9319
|
+
# },
|
9320
|
+
# ],
|
9321
|
+
# }
|
9322
|
+
#
|
9323
|
+
# @!attribute [rw] input_security_group_id
|
9324
|
+
# @return [String]
|
9325
|
+
#
|
9326
|
+
# @!attribute [rw] whitelist_rules
|
9327
|
+
# @return [Array<Types::InputWhitelistRuleCidr>]
|
9328
|
+
#
|
9329
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputSecurityGroupRequest AWS API Documentation
|
9330
|
+
#
|
9331
|
+
class UpdateInputSecurityGroupRequest < Struct.new(
|
9332
|
+
:input_security_group_id,
|
9333
|
+
:whitelist_rules)
|
9334
|
+
include Aws::Structure
|
9335
|
+
end
|
9336
|
+
|
9337
|
+
# @!attribute [rw] security_group
|
9338
|
+
# An Input Security Group
|
9339
|
+
# @return [Types::InputSecurityGroup]
|
9340
|
+
#
|
9341
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputSecurityGroupResponse AWS API Documentation
|
9342
|
+
#
|
9343
|
+
class UpdateInputSecurityGroupResponse < Struct.new(
|
9344
|
+
:security_group)
|
9345
|
+
include Aws::Structure
|
9346
|
+
end
|
9347
|
+
|
9348
|
+
# @!attribute [rw] security_group
|
9349
|
+
# An Input Security Group
|
9350
|
+
# @return [Types::InputSecurityGroup]
|
9351
|
+
#
|
9352
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputSecurityGroupResultModel AWS API Documentation
|
9353
|
+
#
|
9354
|
+
class UpdateInputSecurityGroupResultModel < Struct.new(
|
9355
|
+
:security_group)
|
9356
|
+
include Aws::Structure
|
9357
|
+
end
|
9358
|
+
|
9114
9359
|
# @!attribute [rw] element_path
|
9115
9360
|
# @return [String]
|
9116
9361
|
#
|
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.
|
4
|
+
version: 1.4.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: 2018-03-
|
11
|
+
date: 2018-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|