aws-sdk-mediaconnect 1.17.0 → 1.22.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
- SHA1:
3
- metadata.gz: 6f34fb24117bc9fde3777a557dee2b732f20fad0
4
- data.tar.gz: 160f1a187de21eda05c696f7aa80a863a99592f2
2
+ SHA256:
3
+ metadata.gz: 8080ccec81b01e10e844e604cde39ea0f99165bf60fbe17340dc614d375f9536
4
+ data.tar.gz: dee80894599bd7ba6bdb5080a6ad17719c93086dd79ab99609c7b649c819cc91
5
5
  SHA512:
6
- metadata.gz: 1d078f85a4de1c1b8cd986bc7656ab30467af3bd3d0ecc27308040e0428982048fc2ccabe536dd41226194cd1f37d1d3f31e85867713448ad76f11fc56eaa620
7
- data.tar.gz: d6f36b9778e83ef00bc63235df878952ca1ff2ef917ebdc0c3b47cc62bf3dae0b622c1fa014561d8a9d727bd931260352664e5464f6b98b6e94b20beb011b282
6
+ metadata.gz: 0c2dea9ad34c10710b595696b327b3088ddcad3832c558dba4195d4481cee1c1bbdc79f8feba21f82bcf4717d8af7b90a290caaf9c44d8e1bd123faf423fe5b2
7
+ data.tar.gz: 7f1054cd2b9e1544ea3208382edf9127c399e43082e44aac9b7ef69c2ee262b5e79a569f4dab919075c01eaded8d6c8438a52056333b7428bb29acba37ba7d62
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-mediaconnect/customizations'
45
45
  # @service
46
46
  module Aws::MediaConnect
47
47
 
48
- GEM_VERSION = '1.17.0'
48
+ GEM_VERSION = '1.22.0'
49
49
 
50
50
  end
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:mediaconnect)
32
32
  module Aws::MediaConnect
33
33
  # An API client for MediaConnect. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::MediaConnect::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::MediaConnect::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
40
  #
41
41
  # For details on configuring region and credentials see
42
42
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -105,7 +105,7 @@ module Aws::MediaConnect
105
105
  # @option options [required, String] :region
106
106
  # The AWS region to connect to. The configured `:region` is
107
107
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
108
+ # a default `:region` is searched for in the following locations:
109
109
  #
110
110
  # * `Aws.config[:region]`
111
111
  # * `ENV['AWS_REGION']`
@@ -161,7 +161,7 @@ module Aws::MediaConnect
161
161
  # @option options [String] :endpoint
162
162
  # The client endpoint is normally constructed from the `:region`
163
163
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
164
+ # to test endpoints. This should be a valid HTTP(S) URI.
165
165
  #
166
166
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
167
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +176,7 @@ module Aws::MediaConnect
176
176
  # requests fetching endpoints information. Defaults to 60 sec.
177
177
  #
178
178
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
179
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
180
  #
181
181
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
182
  # The log formatter.
@@ -229,15 +229,19 @@ module Aws::MediaConnect
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
231
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
241
245
  #
242
246
  # @option options [String] :secret_access_key
243
247
  #
@@ -265,8 +269,7 @@ module Aws::MediaConnect
265
269
  #
266
270
  # @option options [Integer] :http_read_timeout (60) The default
267
271
  # number of seconds to wait for response data. This value can
268
- # safely be set
269
- # per-request on the session yielded by {#session_for}.
272
+ # safely be set per-request on the session.
270
273
  #
271
274
  # @option options [Float] :http_idle_timeout (5) The number of
272
275
  # seconds a connection is allowed to sit idle before it is
@@ -278,7 +281,7 @@ module Aws::MediaConnect
278
281
  # request body. This option has no effect unless the request has
279
282
  # "Expect" header set to "100-continue". Defaults to `nil` which
280
283
  # disables this behaviour. This value can safely be set per
281
- # request on the session yielded by {#session_for}.
284
+ # request on the session.
282
285
  #
283
286
  # @option options [Boolean] :http_wire_trace (false) When `true`,
284
287
  # HTTP debug output will be sent to the `:logger`.
@@ -305,7 +308,7 @@ module Aws::MediaConnect
305
308
 
306
309
  # @!group API Operations
307
310
 
308
- # Adds outputs to an existing flow. You can create up to 20 outputs per
311
+ # Adds outputs to an existing flow. You can create up to 50 outputs per
309
312
  # flow.
310
313
  #
311
314
  # @option params [required, String] :flow_arn
@@ -345,6 +348,9 @@ module Aws::MediaConnect
345
348
  # remote_id: "__string",
346
349
  # smoothing_latency: 1,
347
350
  # stream_id: "__string",
351
+ # vpc_interface_attachment: {
352
+ # vpc_interface_name: "__string",
353
+ # },
348
354
  # },
349
355
  # ],
350
356
  # })
@@ -378,6 +384,7 @@ module Aws::MediaConnect
378
384
  # resp.outputs[0].transport.remote_id #=> String
379
385
  # resp.outputs[0].transport.smoothing_latency #=> Integer
380
386
  # resp.outputs[0].transport.stream_id #=> String
387
+ # resp.outputs[0].vpc_interface_attachment.vpc_interface_name #=> String
381
388
  #
382
389
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowOutputs AWS API Documentation
383
390
  #
@@ -388,8 +395,138 @@ module Aws::MediaConnect
388
395
  req.send_request(options)
389
396
  end
390
397
 
398
+ # Adds Sources to flow
399
+ #
400
+ # @option params [required, String] :flow_arn
401
+ #
402
+ # @option params [required, Array<Types::SetSourceRequest>] :sources
403
+ # A list of sources that you want to add.
404
+ #
405
+ # @return [Types::AddFlowSourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
406
+ #
407
+ # * {Types::AddFlowSourcesResponse#flow_arn #flow_arn} => String
408
+ # * {Types::AddFlowSourcesResponse#sources #sources} => Array&lt;Types::Source&gt;
409
+ #
410
+ # @example Request syntax with placeholder values
411
+ #
412
+ # resp = client.add_flow_sources({
413
+ # flow_arn: "__string", # required
414
+ # sources: [ # required
415
+ # {
416
+ # decryption: {
417
+ # algorithm: "aes128", # required, accepts aes128, aes192, aes256
418
+ # constant_initialization_vector: "__string",
419
+ # device_id: "__string",
420
+ # key_type: "speke", # accepts speke, static-key
421
+ # region: "__string",
422
+ # resource_id: "__string",
423
+ # role_arn: "__string", # required
424
+ # secret_arn: "__string",
425
+ # url: "__string",
426
+ # },
427
+ # description: "__string",
428
+ # entitlement_arn: "__string",
429
+ # ingest_port: 1,
430
+ # max_bitrate: 1,
431
+ # max_latency: 1,
432
+ # name: "__string",
433
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
434
+ # stream_id: "__string",
435
+ # vpc_interface_name: "__string",
436
+ # whitelist_cidr: "__string",
437
+ # },
438
+ # ],
439
+ # })
440
+ #
441
+ # @example Response structure
442
+ #
443
+ # resp.flow_arn #=> String
444
+ # resp.sources #=> Array
445
+ # resp.sources[0].data_transfer_subscriber_fee_percent #=> Integer
446
+ # resp.sources[0].decryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
447
+ # resp.sources[0].decryption.constant_initialization_vector #=> String
448
+ # resp.sources[0].decryption.device_id #=> String
449
+ # resp.sources[0].decryption.key_type #=> String, one of "speke", "static-key"
450
+ # resp.sources[0].decryption.region #=> String
451
+ # resp.sources[0].decryption.resource_id #=> String
452
+ # resp.sources[0].decryption.role_arn #=> String
453
+ # resp.sources[0].decryption.secret_arn #=> String
454
+ # resp.sources[0].decryption.url #=> String
455
+ # resp.sources[0].description #=> String
456
+ # resp.sources[0].entitlement_arn #=> String
457
+ # resp.sources[0].ingest_ip #=> String
458
+ # resp.sources[0].ingest_port #=> Integer
459
+ # resp.sources[0].name #=> String
460
+ # resp.sources[0].source_arn #=> String
461
+ # resp.sources[0].transport.cidr_allow_list #=> Array
462
+ # resp.sources[0].transport.cidr_allow_list[0] #=> String
463
+ # resp.sources[0].transport.max_bitrate #=> Integer
464
+ # resp.sources[0].transport.max_latency #=> Integer
465
+ # resp.sources[0].transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist"
466
+ # resp.sources[0].transport.remote_id #=> String
467
+ # resp.sources[0].transport.smoothing_latency #=> Integer
468
+ # resp.sources[0].transport.stream_id #=> String
469
+ # resp.sources[0].vpc_interface_name #=> String
470
+ # resp.sources[0].whitelist_cidr #=> String
471
+ #
472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowSources AWS API Documentation
473
+ #
474
+ # @overload add_flow_sources(params = {})
475
+ # @param [Hash] params ({})
476
+ def add_flow_sources(params = {}, options = {})
477
+ req = build_request(:add_flow_sources, params)
478
+ req.send_request(options)
479
+ end
480
+
481
+ # Adds VPC interfaces to flow
482
+ #
483
+ # @option params [required, String] :flow_arn
484
+ #
485
+ # @option params [required, Array<Types::VpcInterfaceRequest>] :vpc_interfaces
486
+ # A list of VPC interfaces that you want to add.
487
+ #
488
+ # @return [Types::AddFlowVpcInterfacesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
489
+ #
490
+ # * {Types::AddFlowVpcInterfacesResponse#flow_arn #flow_arn} => String
491
+ # * {Types::AddFlowVpcInterfacesResponse#vpc_interfaces #vpc_interfaces} => Array&lt;Types::VpcInterface&gt;
492
+ #
493
+ # @example Request syntax with placeholder values
494
+ #
495
+ # resp = client.add_flow_vpc_interfaces({
496
+ # flow_arn: "__string", # required
497
+ # vpc_interfaces: [ # required
498
+ # {
499
+ # name: "__string", # required
500
+ # role_arn: "__string", # required
501
+ # security_group_ids: ["__string"], # required
502
+ # subnet_id: "__string", # required
503
+ # },
504
+ # ],
505
+ # })
506
+ #
507
+ # @example Response structure
508
+ #
509
+ # resp.flow_arn #=> String
510
+ # resp.vpc_interfaces #=> Array
511
+ # resp.vpc_interfaces[0].name #=> String
512
+ # resp.vpc_interfaces[0].network_interface_ids #=> Array
513
+ # resp.vpc_interfaces[0].network_interface_ids[0] #=> String
514
+ # resp.vpc_interfaces[0].role_arn #=> String
515
+ # resp.vpc_interfaces[0].security_group_ids #=> Array
516
+ # resp.vpc_interfaces[0].security_group_ids[0] #=> String
517
+ # resp.vpc_interfaces[0].subnet_id #=> String
518
+ #
519
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowVpcInterfaces AWS API Documentation
520
+ #
521
+ # @overload add_flow_vpc_interfaces(params = {})
522
+ # @param [Hash] params ({})
523
+ def add_flow_vpc_interfaces(params = {}, options = {})
524
+ req = build_request(:add_flow_vpc_interfaces, params)
525
+ req.send_request(options)
526
+ end
527
+
391
528
  # Creates a new flow. The request must include one source. The request
392
- # optionally can include outputs (up to 20) and entitlements (up to 50).
529
+ # optionally can include outputs (up to 50) and entitlements (up to 50).
393
530
  #
394
531
  # @option params [String] :availability_zone
395
532
  # The Availability Zone that you want to create the flow in. These
@@ -405,9 +542,17 @@ module Aws::MediaConnect
405
542
  # @option params [Array<Types::AddOutputRequest>] :outputs
406
543
  # The outputs that you want to add to this flow.
407
544
  #
408
- # @option params [required, Types::SetSourceRequest] :source
545
+ # @option params [Types::SetSourceRequest] :source
409
546
  # The settings for the source of the flow.
410
547
  #
548
+ # @option params [Types::FailoverConfig] :source_failover_config
549
+ # The settings for source failover
550
+ #
551
+ # @option params [Array<Types::SetSourceRequest>] :sources
552
+ #
553
+ # @option params [Array<Types::VpcInterfaceRequest>] :vpc_interfaces
554
+ # The VPC interfaces you want on the flow.
555
+ #
411
556
  # @return [Types::CreateFlowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
412
557
  #
413
558
  # * {Types::CreateFlowResponse#flow #flow} => Types::Flow
@@ -459,9 +604,12 @@ module Aws::MediaConnect
459
604
  # remote_id: "__string",
460
605
  # smoothing_latency: 1,
461
606
  # stream_id: "__string",
607
+ # vpc_interface_attachment: {
608
+ # vpc_interface_name: "__string",
609
+ # },
462
610
  # },
463
611
  # ],
464
- # source: { # required
612
+ # source: {
465
613
  # decryption: {
466
614
  # algorithm: "aes128", # required, accepts aes128, aes192, aes256
467
615
  # constant_initialization_vector: "__string",
@@ -481,8 +629,46 @@ module Aws::MediaConnect
481
629
  # name: "__string",
482
630
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
483
631
  # stream_id: "__string",
632
+ # vpc_interface_name: "__string",
484
633
  # whitelist_cidr: "__string",
485
634
  # },
635
+ # source_failover_config: {
636
+ # recovery_window: 1,
637
+ # state: "ENABLED", # accepts ENABLED, DISABLED
638
+ # },
639
+ # sources: [
640
+ # {
641
+ # decryption: {
642
+ # algorithm: "aes128", # required, accepts aes128, aes192, aes256
643
+ # constant_initialization_vector: "__string",
644
+ # device_id: "__string",
645
+ # key_type: "speke", # accepts speke, static-key
646
+ # region: "__string",
647
+ # resource_id: "__string",
648
+ # role_arn: "__string", # required
649
+ # secret_arn: "__string",
650
+ # url: "__string",
651
+ # },
652
+ # description: "__string",
653
+ # entitlement_arn: "__string",
654
+ # ingest_port: 1,
655
+ # max_bitrate: 1,
656
+ # max_latency: 1,
657
+ # name: "__string",
658
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
659
+ # stream_id: "__string",
660
+ # vpc_interface_name: "__string",
661
+ # whitelist_cidr: "__string",
662
+ # },
663
+ # ],
664
+ # vpc_interfaces: [
665
+ # {
666
+ # name: "__string", # required
667
+ # role_arn: "__string", # required
668
+ # security_group_ids: ["__string"], # required
669
+ # subnet_id: "__string", # required
670
+ # },
671
+ # ],
486
672
  # })
487
673
  #
488
674
  # @example Response structure
@@ -534,6 +720,7 @@ module Aws::MediaConnect
534
720
  # resp.flow.outputs[0].transport.remote_id #=> String
535
721
  # resp.flow.outputs[0].transport.smoothing_latency #=> Integer
536
722
  # resp.flow.outputs[0].transport.stream_id #=> String
723
+ # resp.flow.outputs[0].vpc_interface_attachment.vpc_interface_name #=> String
537
724
  # resp.flow.source.data_transfer_subscriber_fee_percent #=> Integer
538
725
  # resp.flow.source.decryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
539
726
  # resp.flow.source.decryption.constant_initialization_vector #=> String
@@ -558,8 +745,46 @@ module Aws::MediaConnect
558
745
  # resp.flow.source.transport.remote_id #=> String
559
746
  # resp.flow.source.transport.smoothing_latency #=> Integer
560
747
  # resp.flow.source.transport.stream_id #=> String
748
+ # resp.flow.source.vpc_interface_name #=> String
561
749
  # resp.flow.source.whitelist_cidr #=> String
750
+ # resp.flow.source_failover_config.recovery_window #=> Integer
751
+ # resp.flow.source_failover_config.state #=> String, one of "ENABLED", "DISABLED"
752
+ # resp.flow.sources #=> Array
753
+ # resp.flow.sources[0].data_transfer_subscriber_fee_percent #=> Integer
754
+ # resp.flow.sources[0].decryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
755
+ # resp.flow.sources[0].decryption.constant_initialization_vector #=> String
756
+ # resp.flow.sources[0].decryption.device_id #=> String
757
+ # resp.flow.sources[0].decryption.key_type #=> String, one of "speke", "static-key"
758
+ # resp.flow.sources[0].decryption.region #=> String
759
+ # resp.flow.sources[0].decryption.resource_id #=> String
760
+ # resp.flow.sources[0].decryption.role_arn #=> String
761
+ # resp.flow.sources[0].decryption.secret_arn #=> String
762
+ # resp.flow.sources[0].decryption.url #=> String
763
+ # resp.flow.sources[0].description #=> String
764
+ # resp.flow.sources[0].entitlement_arn #=> String
765
+ # resp.flow.sources[0].ingest_ip #=> String
766
+ # resp.flow.sources[0].ingest_port #=> Integer
767
+ # resp.flow.sources[0].name #=> String
768
+ # resp.flow.sources[0].source_arn #=> String
769
+ # resp.flow.sources[0].transport.cidr_allow_list #=> Array
770
+ # resp.flow.sources[0].transport.cidr_allow_list[0] #=> String
771
+ # resp.flow.sources[0].transport.max_bitrate #=> Integer
772
+ # resp.flow.sources[0].transport.max_latency #=> Integer
773
+ # resp.flow.sources[0].transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist"
774
+ # resp.flow.sources[0].transport.remote_id #=> String
775
+ # resp.flow.sources[0].transport.smoothing_latency #=> Integer
776
+ # resp.flow.sources[0].transport.stream_id #=> String
777
+ # resp.flow.sources[0].vpc_interface_name #=> String
778
+ # resp.flow.sources[0].whitelist_cidr #=> String
562
779
  # resp.flow.status #=> String, one of "STANDBY", "ACTIVE", "UPDATING", "DELETING", "STARTING", "STOPPING", "ERROR"
780
+ # resp.flow.vpc_interfaces #=> Array
781
+ # resp.flow.vpc_interfaces[0].name #=> String
782
+ # resp.flow.vpc_interfaces[0].network_interface_ids #=> Array
783
+ # resp.flow.vpc_interfaces[0].network_interface_ids[0] #=> String
784
+ # resp.flow.vpc_interfaces[0].role_arn #=> String
785
+ # resp.flow.vpc_interfaces[0].security_group_ids #=> Array
786
+ # resp.flow.vpc_interfaces[0].security_group_ids[0] #=> String
787
+ # resp.flow.vpc_interfaces[0].subnet_id #=> String
563
788
  #
564
789
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/CreateFlow AWS API Documentation
565
790
  #
@@ -665,6 +890,7 @@ module Aws::MediaConnect
665
890
  # resp.flow.outputs[0].transport.remote_id #=> String
666
891
  # resp.flow.outputs[0].transport.smoothing_latency #=> Integer
667
892
  # resp.flow.outputs[0].transport.stream_id #=> String
893
+ # resp.flow.outputs[0].vpc_interface_attachment.vpc_interface_name #=> String
668
894
  # resp.flow.source.data_transfer_subscriber_fee_percent #=> Integer
669
895
  # resp.flow.source.decryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
670
896
  # resp.flow.source.decryption.constant_initialization_vector #=> String
@@ -689,8 +915,46 @@ module Aws::MediaConnect
689
915
  # resp.flow.source.transport.remote_id #=> String
690
916
  # resp.flow.source.transport.smoothing_latency #=> Integer
691
917
  # resp.flow.source.transport.stream_id #=> String
918
+ # resp.flow.source.vpc_interface_name #=> String
692
919
  # resp.flow.source.whitelist_cidr #=> String
920
+ # resp.flow.source_failover_config.recovery_window #=> Integer
921
+ # resp.flow.source_failover_config.state #=> String, one of "ENABLED", "DISABLED"
922
+ # resp.flow.sources #=> Array
923
+ # resp.flow.sources[0].data_transfer_subscriber_fee_percent #=> Integer
924
+ # resp.flow.sources[0].decryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
925
+ # resp.flow.sources[0].decryption.constant_initialization_vector #=> String
926
+ # resp.flow.sources[0].decryption.device_id #=> String
927
+ # resp.flow.sources[0].decryption.key_type #=> String, one of "speke", "static-key"
928
+ # resp.flow.sources[0].decryption.region #=> String
929
+ # resp.flow.sources[0].decryption.resource_id #=> String
930
+ # resp.flow.sources[0].decryption.role_arn #=> String
931
+ # resp.flow.sources[0].decryption.secret_arn #=> String
932
+ # resp.flow.sources[0].decryption.url #=> String
933
+ # resp.flow.sources[0].description #=> String
934
+ # resp.flow.sources[0].entitlement_arn #=> String
935
+ # resp.flow.sources[0].ingest_ip #=> String
936
+ # resp.flow.sources[0].ingest_port #=> Integer
937
+ # resp.flow.sources[0].name #=> String
938
+ # resp.flow.sources[0].source_arn #=> String
939
+ # resp.flow.sources[0].transport.cidr_allow_list #=> Array
940
+ # resp.flow.sources[0].transport.cidr_allow_list[0] #=> String
941
+ # resp.flow.sources[0].transport.max_bitrate #=> Integer
942
+ # resp.flow.sources[0].transport.max_latency #=> Integer
943
+ # resp.flow.sources[0].transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist"
944
+ # resp.flow.sources[0].transport.remote_id #=> String
945
+ # resp.flow.sources[0].transport.smoothing_latency #=> Integer
946
+ # resp.flow.sources[0].transport.stream_id #=> String
947
+ # resp.flow.sources[0].vpc_interface_name #=> String
948
+ # resp.flow.sources[0].whitelist_cidr #=> String
693
949
  # resp.flow.status #=> String, one of "STANDBY", "ACTIVE", "UPDATING", "DELETING", "STARTING", "STOPPING", "ERROR"
950
+ # resp.flow.vpc_interfaces #=> Array
951
+ # resp.flow.vpc_interfaces[0].name #=> String
952
+ # resp.flow.vpc_interfaces[0].network_interface_ids #=> Array
953
+ # resp.flow.vpc_interfaces[0].network_interface_ids[0] #=> String
954
+ # resp.flow.vpc_interfaces[0].role_arn #=> String
955
+ # resp.flow.vpc_interfaces[0].security_group_ids #=> Array
956
+ # resp.flow.vpc_interfaces[0].security_group_ids[0] #=> String
957
+ # resp.flow.vpc_interfaces[0].subnet_id #=> String
694
958
  # resp.messages.errors #=> Array
695
959
  # resp.messages.errors[0] #=> String
696
960
  #
@@ -781,6 +1045,8 @@ module Aws::MediaConnect
781
1045
  # * {Types::ListEntitlementsResponse#entitlements #entitlements} => Array&lt;Types::ListedEntitlement&gt;
782
1046
  # * {Types::ListEntitlementsResponse#next_token #next_token} => String
783
1047
  #
1048
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1049
+ #
784
1050
  # @example Request syntax with placeholder values
785
1051
  #
786
1052
  # resp = client.list_entitlements({
@@ -817,6 +1083,8 @@ module Aws::MediaConnect
817
1083
  # * {Types::ListFlowsResponse#flows #flows} => Array&lt;Types::ListedFlow&gt;
818
1084
  # * {Types::ListFlowsResponse#next_token #next_token} => String
819
1085
  #
1086
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1087
+ #
820
1088
  # @example Request syntax with placeholder values
821
1089
  #
822
1090
  # resp = client.list_flows({
@@ -908,6 +1176,78 @@ module Aws::MediaConnect
908
1176
  req.send_request(options)
909
1177
  end
910
1178
 
1179
+ # Removes a source from an existing flow. This request can be made only
1180
+ # if there is more than one source on the flow.
1181
+ #
1182
+ # @option params [required, String] :flow_arn
1183
+ #
1184
+ # @option params [required, String] :source_arn
1185
+ #
1186
+ # @return [Types::RemoveFlowSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1187
+ #
1188
+ # * {Types::RemoveFlowSourceResponse#flow_arn #flow_arn} => String
1189
+ # * {Types::RemoveFlowSourceResponse#source_arn #source_arn} => String
1190
+ #
1191
+ # @example Request syntax with placeholder values
1192
+ #
1193
+ # resp = client.remove_flow_source({
1194
+ # flow_arn: "__string", # required
1195
+ # source_arn: "__string", # required
1196
+ # })
1197
+ #
1198
+ # @example Response structure
1199
+ #
1200
+ # resp.flow_arn #=> String
1201
+ # resp.source_arn #=> String
1202
+ #
1203
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowSource AWS API Documentation
1204
+ #
1205
+ # @overload remove_flow_source(params = {})
1206
+ # @param [Hash] params ({})
1207
+ def remove_flow_source(params = {}, options = {})
1208
+ req = build_request(:remove_flow_source, params)
1209
+ req.send_request(options)
1210
+ end
1211
+
1212
+ # Removes a VPC Interface from an existing flow. This request can be
1213
+ # made only on a VPC interface that does not have a Source or Output
1214
+ # associated with it. If the VPC interface is referenced by a Source or
1215
+ # Output, you must first delete or update the Source or Output to no
1216
+ # longer reference the VPC interface.
1217
+ #
1218
+ # @option params [required, String] :flow_arn
1219
+ #
1220
+ # @option params [required, String] :vpc_interface_name
1221
+ #
1222
+ # @return [Types::RemoveFlowVpcInterfaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1223
+ #
1224
+ # * {Types::RemoveFlowVpcInterfaceResponse#flow_arn #flow_arn} => String
1225
+ # * {Types::RemoveFlowVpcInterfaceResponse#non_deleted_network_interface_ids #non_deleted_network_interface_ids} => Array&lt;String&gt;
1226
+ # * {Types::RemoveFlowVpcInterfaceResponse#vpc_interface_name #vpc_interface_name} => String
1227
+ #
1228
+ # @example Request syntax with placeholder values
1229
+ #
1230
+ # resp = client.remove_flow_vpc_interface({
1231
+ # flow_arn: "__string", # required
1232
+ # vpc_interface_name: "__string", # required
1233
+ # })
1234
+ #
1235
+ # @example Response structure
1236
+ #
1237
+ # resp.flow_arn #=> String
1238
+ # resp.non_deleted_network_interface_ids #=> Array
1239
+ # resp.non_deleted_network_interface_ids[0] #=> String
1240
+ # resp.vpc_interface_name #=> String
1241
+ #
1242
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowVpcInterface AWS API Documentation
1243
+ #
1244
+ # @overload remove_flow_vpc_interface(params = {})
1245
+ # @param [Hash] params ({})
1246
+ def remove_flow_vpc_interface(params = {}, options = {})
1247
+ req = build_request(:remove_flow_vpc_interface, params)
1248
+ req.send_request(options)
1249
+ end
1250
+
911
1251
  # Revokes an entitlement from a flow. Once an entitlement is revoked,
912
1252
  # the content becomes unavailable to the subscriber and the associated
913
1253
  # output is removed.
@@ -1056,6 +1396,151 @@ module Aws::MediaConnect
1056
1396
  req.send_request(options)
1057
1397
  end
1058
1398
 
1399
+ # Updates flow
1400
+ #
1401
+ # @option params [required, String] :flow_arn
1402
+ #
1403
+ # @option params [Types::UpdateFailoverConfig] :source_failover_config
1404
+ # The settings for source failover
1405
+ #
1406
+ # @return [Types::UpdateFlowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1407
+ #
1408
+ # * {Types::UpdateFlowResponse#flow #flow} => Types::Flow
1409
+ #
1410
+ # @example Request syntax with placeholder values
1411
+ #
1412
+ # resp = client.update_flow({
1413
+ # flow_arn: "__string", # required
1414
+ # source_failover_config: {
1415
+ # recovery_window: 1,
1416
+ # state: "ENABLED", # accepts ENABLED, DISABLED
1417
+ # },
1418
+ # })
1419
+ #
1420
+ # @example Response structure
1421
+ #
1422
+ # resp.flow.availability_zone #=> String
1423
+ # resp.flow.description #=> String
1424
+ # resp.flow.egress_ip #=> String
1425
+ # resp.flow.entitlements #=> Array
1426
+ # resp.flow.entitlements[0].data_transfer_subscriber_fee_percent #=> Integer
1427
+ # resp.flow.entitlements[0].description #=> String
1428
+ # resp.flow.entitlements[0].encryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
1429
+ # resp.flow.entitlements[0].encryption.constant_initialization_vector #=> String
1430
+ # resp.flow.entitlements[0].encryption.device_id #=> String
1431
+ # resp.flow.entitlements[0].encryption.key_type #=> String, one of "speke", "static-key"
1432
+ # resp.flow.entitlements[0].encryption.region #=> String
1433
+ # resp.flow.entitlements[0].encryption.resource_id #=> String
1434
+ # resp.flow.entitlements[0].encryption.role_arn #=> String
1435
+ # resp.flow.entitlements[0].encryption.secret_arn #=> String
1436
+ # resp.flow.entitlements[0].encryption.url #=> String
1437
+ # resp.flow.entitlements[0].entitlement_arn #=> String
1438
+ # resp.flow.entitlements[0].name #=> String
1439
+ # resp.flow.entitlements[0].subscribers #=> Array
1440
+ # resp.flow.entitlements[0].subscribers[0] #=> String
1441
+ # resp.flow.flow_arn #=> String
1442
+ # resp.flow.name #=> String
1443
+ # resp.flow.outputs #=> Array
1444
+ # resp.flow.outputs[0].data_transfer_subscriber_fee_percent #=> Integer
1445
+ # resp.flow.outputs[0].description #=> String
1446
+ # resp.flow.outputs[0].destination #=> String
1447
+ # resp.flow.outputs[0].encryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
1448
+ # resp.flow.outputs[0].encryption.constant_initialization_vector #=> String
1449
+ # resp.flow.outputs[0].encryption.device_id #=> String
1450
+ # resp.flow.outputs[0].encryption.key_type #=> String, one of "speke", "static-key"
1451
+ # resp.flow.outputs[0].encryption.region #=> String
1452
+ # resp.flow.outputs[0].encryption.resource_id #=> String
1453
+ # resp.flow.outputs[0].encryption.role_arn #=> String
1454
+ # resp.flow.outputs[0].encryption.secret_arn #=> String
1455
+ # resp.flow.outputs[0].encryption.url #=> String
1456
+ # resp.flow.outputs[0].entitlement_arn #=> String
1457
+ # resp.flow.outputs[0].media_live_input_arn #=> String
1458
+ # resp.flow.outputs[0].name #=> String
1459
+ # resp.flow.outputs[0].output_arn #=> String
1460
+ # resp.flow.outputs[0].port #=> Integer
1461
+ # resp.flow.outputs[0].transport.cidr_allow_list #=> Array
1462
+ # resp.flow.outputs[0].transport.cidr_allow_list[0] #=> String
1463
+ # resp.flow.outputs[0].transport.max_bitrate #=> Integer
1464
+ # resp.flow.outputs[0].transport.max_latency #=> Integer
1465
+ # resp.flow.outputs[0].transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist"
1466
+ # resp.flow.outputs[0].transport.remote_id #=> String
1467
+ # resp.flow.outputs[0].transport.smoothing_latency #=> Integer
1468
+ # resp.flow.outputs[0].transport.stream_id #=> String
1469
+ # resp.flow.outputs[0].vpc_interface_attachment.vpc_interface_name #=> String
1470
+ # resp.flow.source.data_transfer_subscriber_fee_percent #=> Integer
1471
+ # resp.flow.source.decryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
1472
+ # resp.flow.source.decryption.constant_initialization_vector #=> String
1473
+ # resp.flow.source.decryption.device_id #=> String
1474
+ # resp.flow.source.decryption.key_type #=> String, one of "speke", "static-key"
1475
+ # resp.flow.source.decryption.region #=> String
1476
+ # resp.flow.source.decryption.resource_id #=> String
1477
+ # resp.flow.source.decryption.role_arn #=> String
1478
+ # resp.flow.source.decryption.secret_arn #=> String
1479
+ # resp.flow.source.decryption.url #=> String
1480
+ # resp.flow.source.description #=> String
1481
+ # resp.flow.source.entitlement_arn #=> String
1482
+ # resp.flow.source.ingest_ip #=> String
1483
+ # resp.flow.source.ingest_port #=> Integer
1484
+ # resp.flow.source.name #=> String
1485
+ # resp.flow.source.source_arn #=> String
1486
+ # resp.flow.source.transport.cidr_allow_list #=> Array
1487
+ # resp.flow.source.transport.cidr_allow_list[0] #=> String
1488
+ # resp.flow.source.transport.max_bitrate #=> Integer
1489
+ # resp.flow.source.transport.max_latency #=> Integer
1490
+ # resp.flow.source.transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist"
1491
+ # resp.flow.source.transport.remote_id #=> String
1492
+ # resp.flow.source.transport.smoothing_latency #=> Integer
1493
+ # resp.flow.source.transport.stream_id #=> String
1494
+ # resp.flow.source.vpc_interface_name #=> String
1495
+ # resp.flow.source.whitelist_cidr #=> String
1496
+ # resp.flow.source_failover_config.recovery_window #=> Integer
1497
+ # resp.flow.source_failover_config.state #=> String, one of "ENABLED", "DISABLED"
1498
+ # resp.flow.sources #=> Array
1499
+ # resp.flow.sources[0].data_transfer_subscriber_fee_percent #=> Integer
1500
+ # resp.flow.sources[0].decryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
1501
+ # resp.flow.sources[0].decryption.constant_initialization_vector #=> String
1502
+ # resp.flow.sources[0].decryption.device_id #=> String
1503
+ # resp.flow.sources[0].decryption.key_type #=> String, one of "speke", "static-key"
1504
+ # resp.flow.sources[0].decryption.region #=> String
1505
+ # resp.flow.sources[0].decryption.resource_id #=> String
1506
+ # resp.flow.sources[0].decryption.role_arn #=> String
1507
+ # resp.flow.sources[0].decryption.secret_arn #=> String
1508
+ # resp.flow.sources[0].decryption.url #=> String
1509
+ # resp.flow.sources[0].description #=> String
1510
+ # resp.flow.sources[0].entitlement_arn #=> String
1511
+ # resp.flow.sources[0].ingest_ip #=> String
1512
+ # resp.flow.sources[0].ingest_port #=> Integer
1513
+ # resp.flow.sources[0].name #=> String
1514
+ # resp.flow.sources[0].source_arn #=> String
1515
+ # resp.flow.sources[0].transport.cidr_allow_list #=> Array
1516
+ # resp.flow.sources[0].transport.cidr_allow_list[0] #=> String
1517
+ # resp.flow.sources[0].transport.max_bitrate #=> Integer
1518
+ # resp.flow.sources[0].transport.max_latency #=> Integer
1519
+ # resp.flow.sources[0].transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist"
1520
+ # resp.flow.sources[0].transport.remote_id #=> String
1521
+ # resp.flow.sources[0].transport.smoothing_latency #=> Integer
1522
+ # resp.flow.sources[0].transport.stream_id #=> String
1523
+ # resp.flow.sources[0].vpc_interface_name #=> String
1524
+ # resp.flow.sources[0].whitelist_cidr #=> String
1525
+ # resp.flow.status #=> String, one of "STANDBY", "ACTIVE", "UPDATING", "DELETING", "STARTING", "STOPPING", "ERROR"
1526
+ # resp.flow.vpc_interfaces #=> Array
1527
+ # resp.flow.vpc_interfaces[0].name #=> String
1528
+ # resp.flow.vpc_interfaces[0].network_interface_ids #=> Array
1529
+ # resp.flow.vpc_interfaces[0].network_interface_ids[0] #=> String
1530
+ # resp.flow.vpc_interfaces[0].role_arn #=> String
1531
+ # resp.flow.vpc_interfaces[0].security_group_ids #=> Array
1532
+ # resp.flow.vpc_interfaces[0].security_group_ids[0] #=> String
1533
+ # resp.flow.vpc_interfaces[0].subnet_id #=> String
1534
+ #
1535
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlow AWS API Documentation
1536
+ #
1537
+ # @overload update_flow(params = {})
1538
+ # @param [Hash] params ({})
1539
+ def update_flow(params = {}, options = {})
1540
+ req = build_request(:update_flow, params)
1541
+ req.send_request(options)
1542
+ end
1543
+
1059
1544
  # You can change an entitlement's description, subscribers, and
1060
1545
  # encryption. If you change the subscribers, the service will remove the
1061
1546
  # outputs that are are used by the subscribers that are removed.
@@ -1173,6 +1658,9 @@ module Aws::MediaConnect
1173
1658
  # The stream ID that you want to use for this transport. This parameter
1174
1659
  # applies only to Zixi-based streams.
1175
1660
  #
1661
+ # @option params [Types::VpcInterfaceAttachment] :vpc_interface_attachment
1662
+ # The name of the VPC interface attachment to use for this output.
1663
+ #
1176
1664
  # @return [Types::UpdateFlowOutputResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1177
1665
  #
1178
1666
  # * {Types::UpdateFlowOutputResponse#flow_arn #flow_arn} => String
@@ -1203,6 +1691,9 @@ module Aws::MediaConnect
1203
1691
  # remote_id: "__string",
1204
1692
  # smoothing_latency: 1,
1205
1693
  # stream_id: "__string",
1694
+ # vpc_interface_attachment: {
1695
+ # vpc_interface_name: "__string",
1696
+ # },
1206
1697
  # })
1207
1698
  #
1208
1699
  # @example Response structure
@@ -1233,6 +1724,7 @@ module Aws::MediaConnect
1233
1724
  # resp.output.transport.remote_id #=> String
1234
1725
  # resp.output.transport.smoothing_latency #=> Integer
1235
1726
  # resp.output.transport.stream_id #=> String
1727
+ # resp.output.vpc_interface_attachment.vpc_interface_name #=> String
1236
1728
  #
1237
1729
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowOutput AWS API Documentation
1238
1730
  #
@@ -1278,6 +1770,9 @@ module Aws::MediaConnect
1278
1770
  # The stream ID that you want to use for this transport. This parameter
1279
1771
  # applies only to Zixi-based streams.
1280
1772
  #
1773
+ # @option params [String] :vpc_interface_name
1774
+ # The name of the VPC Interface to configure this Source with.
1775
+ #
1281
1776
  # @option params [String] :whitelist_cidr
1282
1777
  # The range of IP addresses that should be allowed to contribute content
1283
1778
  # to your source. These IP addresses should be in the form of a
@@ -1311,6 +1806,7 @@ module Aws::MediaConnect
1311
1806
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
1312
1807
  # source_arn: "__string", # required
1313
1808
  # stream_id: "__string",
1809
+ # vpc_interface_name: "__string",
1314
1810
  # whitelist_cidr: "__string",
1315
1811
  # })
1316
1812
  #
@@ -1341,6 +1837,7 @@ module Aws::MediaConnect
1341
1837
  # resp.source.transport.remote_id #=> String
1342
1838
  # resp.source.transport.smoothing_latency #=> Integer
1343
1839
  # resp.source.transport.stream_id #=> String
1840
+ # resp.source.vpc_interface_name #=> String
1344
1841
  # resp.source.whitelist_cidr #=> String
1345
1842
  #
1346
1843
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowSource AWS API Documentation
@@ -1365,7 +1862,7 @@ module Aws::MediaConnect
1365
1862
  params: params,
1366
1863
  config: config)
1367
1864
  context[:gem_name] = 'aws-sdk-mediaconnect'
1368
- context[:gem_version] = '1.17.0'
1865
+ context[:gem_version] = '1.22.0'
1369
1866
  Seahorse::Client::Request.new(handlers, context)
1370
1867
  end
1371
1868