aws-sdk-mediaconnect 1.18.0 → 1.23.1

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: e3cd0ad5691544ad6ee5802288e87f859139ed14
4
- data.tar.gz: df6e9b2eece7838b329f462ec0a0bb371596b34d
2
+ SHA256:
3
+ metadata.gz: dd22bd2b8de4a5fd115d31c02f25de075dd9e6871fdd34acd5455abdbf6a151b
4
+ data.tar.gz: 6d6e12467afbfcb3692209bb3b6de64ff3659a3d63e4d502396d751ed96ec596
5
5
  SHA512:
6
- metadata.gz: a8457f841516412f1b205b090af1754e858686472457af080ad5ea6029ac49ddd20b473899d0b7ce73683a308e3bd734078ce4453d6b20b398520a6c61c21312
7
- data.tar.gz: 4672873f1de931aa8bb58d9678882bf365a40a23ae50dac865fd24f8b2975865b802d4bc9c90dee0d7c3c5fda82d5449f9f30fc2428e31622f623759b9d1ac3d
6
+ metadata.gz: 2d0f1394e1db7c40446bf0ef4eea69c5816070b1203acdf3d1ef36680143a7dbbefbf433ef045c7cddb2b15c4c1557170288048cc980bf66d296c379cc9b9a0e
7
+ data.tar.gz: dcfc07af5a56153b1d9109465760359daddf49200e070908e622d9f74acf5afb9e9a0138fd19d48b84313e3970e739e97e7715d06cd176c490fe1dfd9342257d
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-mediaconnect/customizations'
45
45
  # @service
46
46
  module Aws::MediaConnect
47
47
 
48
- GEM_VERSION = '1.18.0'
48
+ GEM_VERSION = '1.23.1'
49
49
 
50
50
  end
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
24
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
25
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
26
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
27
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
28
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
29
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
30
 
@@ -69,6 +70,7 @@ module Aws::MediaConnect
69
70
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
71
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
72
  add_plugin(Aws::Plugins::TransferEncoding)
73
+ add_plugin(Aws::Plugins::HttpChecksum)
72
74
  add_plugin(Aws::Plugins::SignatureV4)
73
75
  add_plugin(Aws::Plugins::Protocols::RestJson)
74
76
 
@@ -105,7 +107,7 @@ module Aws::MediaConnect
105
107
  # @option options [required, String] :region
106
108
  # The AWS region to connect to. The configured `:region` is
107
109
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
110
+ # a default `:region` is searched for in the following locations:
109
111
  #
110
112
  # * `Aws.config[:region]`
111
113
  # * `ENV['AWS_REGION']`
@@ -161,7 +163,7 @@ module Aws::MediaConnect
161
163
  # @option options [String] :endpoint
162
164
  # The client endpoint is normally constructed from the `:region`
163
165
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
166
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
167
  #
166
168
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
169
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +178,7 @@ module Aws::MediaConnect
176
178
  # requests fetching endpoints information. Defaults to 60 sec.
177
179
  #
178
180
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
181
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
182
  #
181
183
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
184
  # The log formatter.
@@ -269,8 +271,7 @@ module Aws::MediaConnect
269
271
  #
270
272
  # @option options [Integer] :http_read_timeout (60) The default
271
273
  # number of seconds to wait for response data. This value can
272
- # safely be set
273
- # per-request on the session yielded by {#session_for}.
274
+ # safely be set per-request on the session.
274
275
  #
275
276
  # @option options [Float] :http_idle_timeout (5) The number of
276
277
  # seconds a connection is allowed to sit idle before it is
@@ -282,7 +283,7 @@ module Aws::MediaConnect
282
283
  # request body. This option has no effect unless the request has
283
284
  # "Expect" header set to "100-continue". Defaults to `nil` which
284
285
  # disables this behaviour. This value can safely be set per
285
- # request on the session yielded by {#session_for}.
286
+ # request on the session.
286
287
  #
287
288
  # @option options [Boolean] :http_wire_trace (false) When `true`,
288
289
  # HTTP debug output will be sent to the `:logger`.
@@ -349,6 +350,9 @@ module Aws::MediaConnect
349
350
  # remote_id: "__string",
350
351
  # smoothing_latency: 1,
351
352
  # stream_id: "__string",
353
+ # vpc_interface_attachment: {
354
+ # vpc_interface_name: "__string",
355
+ # },
352
356
  # },
353
357
  # ],
354
358
  # })
@@ -382,6 +386,7 @@ module Aws::MediaConnect
382
386
  # resp.outputs[0].transport.remote_id #=> String
383
387
  # resp.outputs[0].transport.smoothing_latency #=> Integer
384
388
  # resp.outputs[0].transport.stream_id #=> String
389
+ # resp.outputs[0].vpc_interface_attachment.vpc_interface_name #=> String
385
390
  #
386
391
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowOutputs AWS API Documentation
387
392
  #
@@ -429,6 +434,7 @@ module Aws::MediaConnect
429
434
  # name: "__string",
430
435
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
431
436
  # stream_id: "__string",
437
+ # vpc_interface_name: "__string",
432
438
  # whitelist_cidr: "__string",
433
439
  # },
434
440
  # ],
@@ -462,6 +468,7 @@ module Aws::MediaConnect
462
468
  # resp.sources[0].transport.remote_id #=> String
463
469
  # resp.sources[0].transport.smoothing_latency #=> Integer
464
470
  # resp.sources[0].transport.stream_id #=> String
471
+ # resp.sources[0].vpc_interface_name #=> String
465
472
  # resp.sources[0].whitelist_cidr #=> String
466
473
  #
467
474
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowSources AWS API Documentation
@@ -473,6 +480,53 @@ module Aws::MediaConnect
473
480
  req.send_request(options)
474
481
  end
475
482
 
483
+ # Adds VPC interfaces to flow
484
+ #
485
+ # @option params [required, String] :flow_arn
486
+ #
487
+ # @option params [required, Array<Types::VpcInterfaceRequest>] :vpc_interfaces
488
+ # A list of VPC interfaces that you want to add.
489
+ #
490
+ # @return [Types::AddFlowVpcInterfacesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
491
+ #
492
+ # * {Types::AddFlowVpcInterfacesResponse#flow_arn #flow_arn} => String
493
+ # * {Types::AddFlowVpcInterfacesResponse#vpc_interfaces #vpc_interfaces} => Array&lt;Types::VpcInterface&gt;
494
+ #
495
+ # @example Request syntax with placeholder values
496
+ #
497
+ # resp = client.add_flow_vpc_interfaces({
498
+ # flow_arn: "__string", # required
499
+ # vpc_interfaces: [ # required
500
+ # {
501
+ # name: "__string", # required
502
+ # role_arn: "__string", # required
503
+ # security_group_ids: ["__string"], # required
504
+ # subnet_id: "__string", # required
505
+ # },
506
+ # ],
507
+ # })
508
+ #
509
+ # @example Response structure
510
+ #
511
+ # resp.flow_arn #=> String
512
+ # resp.vpc_interfaces #=> Array
513
+ # resp.vpc_interfaces[0].name #=> String
514
+ # resp.vpc_interfaces[0].network_interface_ids #=> Array
515
+ # resp.vpc_interfaces[0].network_interface_ids[0] #=> String
516
+ # resp.vpc_interfaces[0].role_arn #=> String
517
+ # resp.vpc_interfaces[0].security_group_ids #=> Array
518
+ # resp.vpc_interfaces[0].security_group_ids[0] #=> String
519
+ # resp.vpc_interfaces[0].subnet_id #=> String
520
+ #
521
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowVpcInterfaces AWS API Documentation
522
+ #
523
+ # @overload add_flow_vpc_interfaces(params = {})
524
+ # @param [Hash] params ({})
525
+ def add_flow_vpc_interfaces(params = {}, options = {})
526
+ req = build_request(:add_flow_vpc_interfaces, params)
527
+ req.send_request(options)
528
+ end
529
+
476
530
  # Creates a new flow. The request must include one source. The request
477
531
  # optionally can include outputs (up to 50) and entitlements (up to 50).
478
532
  #
@@ -498,6 +552,9 @@ module Aws::MediaConnect
498
552
  #
499
553
  # @option params [Array<Types::SetSourceRequest>] :sources
500
554
  #
555
+ # @option params [Array<Types::VpcInterfaceRequest>] :vpc_interfaces
556
+ # The VPC interfaces you want on the flow.
557
+ #
501
558
  # @return [Types::CreateFlowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
502
559
  #
503
560
  # * {Types::CreateFlowResponse#flow #flow} => Types::Flow
@@ -549,6 +606,9 @@ module Aws::MediaConnect
549
606
  # remote_id: "__string",
550
607
  # smoothing_latency: 1,
551
608
  # stream_id: "__string",
609
+ # vpc_interface_attachment: {
610
+ # vpc_interface_name: "__string",
611
+ # },
552
612
  # },
553
613
  # ],
554
614
  # source: {
@@ -571,6 +631,7 @@ module Aws::MediaConnect
571
631
  # name: "__string",
572
632
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
573
633
  # stream_id: "__string",
634
+ # vpc_interface_name: "__string",
574
635
  # whitelist_cidr: "__string",
575
636
  # },
576
637
  # source_failover_config: {
@@ -598,9 +659,18 @@ module Aws::MediaConnect
598
659
  # name: "__string",
599
660
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
600
661
  # stream_id: "__string",
662
+ # vpc_interface_name: "__string",
601
663
  # whitelist_cidr: "__string",
602
664
  # },
603
665
  # ],
666
+ # vpc_interfaces: [
667
+ # {
668
+ # name: "__string", # required
669
+ # role_arn: "__string", # required
670
+ # security_group_ids: ["__string"], # required
671
+ # subnet_id: "__string", # required
672
+ # },
673
+ # ],
604
674
  # })
605
675
  #
606
676
  # @example Response structure
@@ -652,6 +722,7 @@ module Aws::MediaConnect
652
722
  # resp.flow.outputs[0].transport.remote_id #=> String
653
723
  # resp.flow.outputs[0].transport.smoothing_latency #=> Integer
654
724
  # resp.flow.outputs[0].transport.stream_id #=> String
725
+ # resp.flow.outputs[0].vpc_interface_attachment.vpc_interface_name #=> String
655
726
  # resp.flow.source.data_transfer_subscriber_fee_percent #=> Integer
656
727
  # resp.flow.source.decryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
657
728
  # resp.flow.source.decryption.constant_initialization_vector #=> String
@@ -676,6 +747,7 @@ module Aws::MediaConnect
676
747
  # resp.flow.source.transport.remote_id #=> String
677
748
  # resp.flow.source.transport.smoothing_latency #=> Integer
678
749
  # resp.flow.source.transport.stream_id #=> String
750
+ # resp.flow.source.vpc_interface_name #=> String
679
751
  # resp.flow.source.whitelist_cidr #=> String
680
752
  # resp.flow.source_failover_config.recovery_window #=> Integer
681
753
  # resp.flow.source_failover_config.state #=> String, one of "ENABLED", "DISABLED"
@@ -704,8 +776,17 @@ module Aws::MediaConnect
704
776
  # resp.flow.sources[0].transport.remote_id #=> String
705
777
  # resp.flow.sources[0].transport.smoothing_latency #=> Integer
706
778
  # resp.flow.sources[0].transport.stream_id #=> String
779
+ # resp.flow.sources[0].vpc_interface_name #=> String
707
780
  # resp.flow.sources[0].whitelist_cidr #=> String
708
781
  # resp.flow.status #=> String, one of "STANDBY", "ACTIVE", "UPDATING", "DELETING", "STARTING", "STOPPING", "ERROR"
782
+ # resp.flow.vpc_interfaces #=> Array
783
+ # resp.flow.vpc_interfaces[0].name #=> String
784
+ # resp.flow.vpc_interfaces[0].network_interface_ids #=> Array
785
+ # resp.flow.vpc_interfaces[0].network_interface_ids[0] #=> String
786
+ # resp.flow.vpc_interfaces[0].role_arn #=> String
787
+ # resp.flow.vpc_interfaces[0].security_group_ids #=> Array
788
+ # resp.flow.vpc_interfaces[0].security_group_ids[0] #=> String
789
+ # resp.flow.vpc_interfaces[0].subnet_id #=> String
709
790
  #
710
791
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/CreateFlow AWS API Documentation
711
792
  #
@@ -811,6 +892,7 @@ module Aws::MediaConnect
811
892
  # resp.flow.outputs[0].transport.remote_id #=> String
812
893
  # resp.flow.outputs[0].transport.smoothing_latency #=> Integer
813
894
  # resp.flow.outputs[0].transport.stream_id #=> String
895
+ # resp.flow.outputs[0].vpc_interface_attachment.vpc_interface_name #=> String
814
896
  # resp.flow.source.data_transfer_subscriber_fee_percent #=> Integer
815
897
  # resp.flow.source.decryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
816
898
  # resp.flow.source.decryption.constant_initialization_vector #=> String
@@ -835,6 +917,7 @@ module Aws::MediaConnect
835
917
  # resp.flow.source.transport.remote_id #=> String
836
918
  # resp.flow.source.transport.smoothing_latency #=> Integer
837
919
  # resp.flow.source.transport.stream_id #=> String
920
+ # resp.flow.source.vpc_interface_name #=> String
838
921
  # resp.flow.source.whitelist_cidr #=> String
839
922
  # resp.flow.source_failover_config.recovery_window #=> Integer
840
923
  # resp.flow.source_failover_config.state #=> String, one of "ENABLED", "DISABLED"
@@ -863,8 +946,17 @@ module Aws::MediaConnect
863
946
  # resp.flow.sources[0].transport.remote_id #=> String
864
947
  # resp.flow.sources[0].transport.smoothing_latency #=> Integer
865
948
  # resp.flow.sources[0].transport.stream_id #=> String
949
+ # resp.flow.sources[0].vpc_interface_name #=> String
866
950
  # resp.flow.sources[0].whitelist_cidr #=> String
867
951
  # resp.flow.status #=> String, one of "STANDBY", "ACTIVE", "UPDATING", "DELETING", "STARTING", "STOPPING", "ERROR"
952
+ # resp.flow.vpc_interfaces #=> Array
953
+ # resp.flow.vpc_interfaces[0].name #=> String
954
+ # resp.flow.vpc_interfaces[0].network_interface_ids #=> Array
955
+ # resp.flow.vpc_interfaces[0].network_interface_ids[0] #=> String
956
+ # resp.flow.vpc_interfaces[0].role_arn #=> String
957
+ # resp.flow.vpc_interfaces[0].security_group_ids #=> Array
958
+ # resp.flow.vpc_interfaces[0].security_group_ids[0] #=> String
959
+ # resp.flow.vpc_interfaces[0].subnet_id #=> String
868
960
  # resp.messages.errors #=> Array
869
961
  # resp.messages.errors[0] #=> String
870
962
  #
@@ -955,6 +1047,8 @@ module Aws::MediaConnect
955
1047
  # * {Types::ListEntitlementsResponse#entitlements #entitlements} => Array&lt;Types::ListedEntitlement&gt;
956
1048
  # * {Types::ListEntitlementsResponse#next_token #next_token} => String
957
1049
  #
1050
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1051
+ #
958
1052
  # @example Request syntax with placeholder values
959
1053
  #
960
1054
  # resp = client.list_entitlements({
@@ -991,6 +1085,8 @@ module Aws::MediaConnect
991
1085
  # * {Types::ListFlowsResponse#flows #flows} => Array&lt;Types::ListedFlow&gt;
992
1086
  # * {Types::ListFlowsResponse#next_token #next_token} => String
993
1087
  #
1088
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1089
+ #
994
1090
  # @example Request syntax with placeholder values
995
1091
  #
996
1092
  # resp = client.list_flows({
@@ -1115,6 +1211,45 @@ module Aws::MediaConnect
1115
1211
  req.send_request(options)
1116
1212
  end
1117
1213
 
1214
+ # Removes a VPC Interface from an existing flow. This request can be
1215
+ # made only on a VPC interface that does not have a Source or Output
1216
+ # associated with it. If the VPC interface is referenced by a Source or
1217
+ # Output, you must first delete or update the Source or Output to no
1218
+ # longer reference the VPC interface.
1219
+ #
1220
+ # @option params [required, String] :flow_arn
1221
+ #
1222
+ # @option params [required, String] :vpc_interface_name
1223
+ #
1224
+ # @return [Types::RemoveFlowVpcInterfaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1225
+ #
1226
+ # * {Types::RemoveFlowVpcInterfaceResponse#flow_arn #flow_arn} => String
1227
+ # * {Types::RemoveFlowVpcInterfaceResponse#non_deleted_network_interface_ids #non_deleted_network_interface_ids} => Array&lt;String&gt;
1228
+ # * {Types::RemoveFlowVpcInterfaceResponse#vpc_interface_name #vpc_interface_name} => String
1229
+ #
1230
+ # @example Request syntax with placeholder values
1231
+ #
1232
+ # resp = client.remove_flow_vpc_interface({
1233
+ # flow_arn: "__string", # required
1234
+ # vpc_interface_name: "__string", # required
1235
+ # })
1236
+ #
1237
+ # @example Response structure
1238
+ #
1239
+ # resp.flow_arn #=> String
1240
+ # resp.non_deleted_network_interface_ids #=> Array
1241
+ # resp.non_deleted_network_interface_ids[0] #=> String
1242
+ # resp.vpc_interface_name #=> String
1243
+ #
1244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowVpcInterface AWS API Documentation
1245
+ #
1246
+ # @overload remove_flow_vpc_interface(params = {})
1247
+ # @param [Hash] params ({})
1248
+ def remove_flow_vpc_interface(params = {}, options = {})
1249
+ req = build_request(:remove_flow_vpc_interface, params)
1250
+ req.send_request(options)
1251
+ end
1252
+
1118
1253
  # Revokes an entitlement from a flow. Once an entitlement is revoked,
1119
1254
  # the content becomes unavailable to the subscriber and the associated
1120
1255
  # output is removed.
@@ -1333,6 +1468,7 @@ module Aws::MediaConnect
1333
1468
  # resp.flow.outputs[0].transport.remote_id #=> String
1334
1469
  # resp.flow.outputs[0].transport.smoothing_latency #=> Integer
1335
1470
  # resp.flow.outputs[0].transport.stream_id #=> String
1471
+ # resp.flow.outputs[0].vpc_interface_attachment.vpc_interface_name #=> String
1336
1472
  # resp.flow.source.data_transfer_subscriber_fee_percent #=> Integer
1337
1473
  # resp.flow.source.decryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
1338
1474
  # resp.flow.source.decryption.constant_initialization_vector #=> String
@@ -1357,6 +1493,7 @@ module Aws::MediaConnect
1357
1493
  # resp.flow.source.transport.remote_id #=> String
1358
1494
  # resp.flow.source.transport.smoothing_latency #=> Integer
1359
1495
  # resp.flow.source.transport.stream_id #=> String
1496
+ # resp.flow.source.vpc_interface_name #=> String
1360
1497
  # resp.flow.source.whitelist_cidr #=> String
1361
1498
  # resp.flow.source_failover_config.recovery_window #=> Integer
1362
1499
  # resp.flow.source_failover_config.state #=> String, one of "ENABLED", "DISABLED"
@@ -1385,8 +1522,17 @@ module Aws::MediaConnect
1385
1522
  # resp.flow.sources[0].transport.remote_id #=> String
1386
1523
  # resp.flow.sources[0].transport.smoothing_latency #=> Integer
1387
1524
  # resp.flow.sources[0].transport.stream_id #=> String
1525
+ # resp.flow.sources[0].vpc_interface_name #=> String
1388
1526
  # resp.flow.sources[0].whitelist_cidr #=> String
1389
1527
  # resp.flow.status #=> String, one of "STANDBY", "ACTIVE", "UPDATING", "DELETING", "STARTING", "STOPPING", "ERROR"
1528
+ # resp.flow.vpc_interfaces #=> Array
1529
+ # resp.flow.vpc_interfaces[0].name #=> String
1530
+ # resp.flow.vpc_interfaces[0].network_interface_ids #=> Array
1531
+ # resp.flow.vpc_interfaces[0].network_interface_ids[0] #=> String
1532
+ # resp.flow.vpc_interfaces[0].role_arn #=> String
1533
+ # resp.flow.vpc_interfaces[0].security_group_ids #=> Array
1534
+ # resp.flow.vpc_interfaces[0].security_group_ids[0] #=> String
1535
+ # resp.flow.vpc_interfaces[0].subnet_id #=> String
1390
1536
  #
1391
1537
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlow AWS API Documentation
1392
1538
  #
@@ -1514,6 +1660,9 @@ module Aws::MediaConnect
1514
1660
  # The stream ID that you want to use for this transport. This parameter
1515
1661
  # applies only to Zixi-based streams.
1516
1662
  #
1663
+ # @option params [Types::VpcInterfaceAttachment] :vpc_interface_attachment
1664
+ # The name of the VPC interface attachment to use for this output.
1665
+ #
1517
1666
  # @return [Types::UpdateFlowOutputResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1518
1667
  #
1519
1668
  # * {Types::UpdateFlowOutputResponse#flow_arn #flow_arn} => String
@@ -1544,6 +1693,9 @@ module Aws::MediaConnect
1544
1693
  # remote_id: "__string",
1545
1694
  # smoothing_latency: 1,
1546
1695
  # stream_id: "__string",
1696
+ # vpc_interface_attachment: {
1697
+ # vpc_interface_name: "__string",
1698
+ # },
1547
1699
  # })
1548
1700
  #
1549
1701
  # @example Response structure
@@ -1574,6 +1726,7 @@ module Aws::MediaConnect
1574
1726
  # resp.output.transport.remote_id #=> String
1575
1727
  # resp.output.transport.smoothing_latency #=> Integer
1576
1728
  # resp.output.transport.stream_id #=> String
1729
+ # resp.output.vpc_interface_attachment.vpc_interface_name #=> String
1577
1730
  #
1578
1731
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowOutput AWS API Documentation
1579
1732
  #
@@ -1619,6 +1772,9 @@ module Aws::MediaConnect
1619
1772
  # The stream ID that you want to use for this transport. This parameter
1620
1773
  # applies only to Zixi-based streams.
1621
1774
  #
1775
+ # @option params [String] :vpc_interface_name
1776
+ # The name of the VPC Interface to configure this Source with.
1777
+ #
1622
1778
  # @option params [String] :whitelist_cidr
1623
1779
  # The range of IP addresses that should be allowed to contribute content
1624
1780
  # to your source. These IP addresses should be in the form of a
@@ -1652,6 +1808,7 @@ module Aws::MediaConnect
1652
1808
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
1653
1809
  # source_arn: "__string", # required
1654
1810
  # stream_id: "__string",
1811
+ # vpc_interface_name: "__string",
1655
1812
  # whitelist_cidr: "__string",
1656
1813
  # })
1657
1814
  #
@@ -1682,6 +1839,7 @@ module Aws::MediaConnect
1682
1839
  # resp.source.transport.remote_id #=> String
1683
1840
  # resp.source.transport.smoothing_latency #=> Integer
1684
1841
  # resp.source.transport.stream_id #=> String
1842
+ # resp.source.vpc_interface_name #=> String
1685
1843
  # resp.source.whitelist_cidr #=> String
1686
1844
  #
1687
1845
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowSource AWS API Documentation
@@ -1706,7 +1864,7 @@ module Aws::MediaConnect
1706
1864
  params: params,
1707
1865
  config: config)
1708
1866
  context[:gem_name] = 'aws-sdk-mediaconnect'
1709
- context[:gem_version] = '1.18.0'
1867
+ context[:gem_version] = '1.23.1'
1710
1868
  Seahorse::Client::Request.new(handlers, context)
1711
1869
  end
1712
1870
 
@@ -16,6 +16,8 @@ module Aws::MediaConnect
16
16
  AddFlowOutputsResponse = Shapes::StructureShape.new(name: 'AddFlowOutputsResponse')
17
17
  AddFlowSourcesRequest = Shapes::StructureShape.new(name: 'AddFlowSourcesRequest')
18
18
  AddFlowSourcesResponse = Shapes::StructureShape.new(name: 'AddFlowSourcesResponse')
19
+ AddFlowVpcInterfacesRequest = Shapes::StructureShape.new(name: 'AddFlowVpcInterfacesRequest')
20
+ AddFlowVpcInterfacesResponse = Shapes::StructureShape.new(name: 'AddFlowVpcInterfacesResponse')
19
21
  AddOutputRequest = Shapes::StructureShape.new(name: 'AddOutputRequest')
20
22
  Algorithm = Shapes::StringShape.new(name: 'Algorithm')
21
23
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
@@ -54,6 +56,8 @@ module Aws::MediaConnect
54
56
  RemoveFlowOutputResponse = Shapes::StructureShape.new(name: 'RemoveFlowOutputResponse')
55
57
  RemoveFlowSourceRequest = Shapes::StructureShape.new(name: 'RemoveFlowSourceRequest')
56
58
  RemoveFlowSourceResponse = Shapes::StructureShape.new(name: 'RemoveFlowSourceResponse')
59
+ RemoveFlowVpcInterfaceRequest = Shapes::StructureShape.new(name: 'RemoveFlowVpcInterfaceRequest')
60
+ RemoveFlowVpcInterfaceResponse = Shapes::StructureShape.new(name: 'RemoveFlowVpcInterfaceResponse')
57
61
  ResponseError = Shapes::StructureShape.new(name: 'ResponseError')
58
62
  RevokeFlowEntitlementRequest = Shapes::StructureShape.new(name: 'RevokeFlowEntitlementRequest')
59
63
  RevokeFlowEntitlementResponse = Shapes::StructureShape.new(name: 'RevokeFlowEntitlementResponse')
@@ -81,6 +85,9 @@ module Aws::MediaConnect
81
85
  UpdateFlowResponse = Shapes::StructureShape.new(name: 'UpdateFlowResponse')
82
86
  UpdateFlowSourceRequest = Shapes::StructureShape.new(name: 'UpdateFlowSourceRequest')
83
87
  UpdateFlowSourceResponse = Shapes::StructureShape.new(name: 'UpdateFlowSourceResponse')
88
+ VpcInterface = Shapes::StructureShape.new(name: 'VpcInterface')
89
+ VpcInterfaceAttachment = Shapes::StructureShape.new(name: 'VpcInterfaceAttachment')
90
+ VpcInterfaceRequest = Shapes::StructureShape.new(name: 'VpcInterfaceRequest')
84
91
  __boolean = Shapes::BooleanShape.new(name: '__boolean')
85
92
  __double = Shapes::FloatShape.new(name: '__double')
86
93
  __integer = Shapes::IntegerShape.new(name: '__integer')
@@ -92,6 +99,8 @@ module Aws::MediaConnect
92
99
  __listOfOutput = Shapes::ListShape.new(name: '__listOfOutput')
93
100
  __listOfSetSourceRequest = Shapes::ListShape.new(name: '__listOfSetSourceRequest')
94
101
  __listOfSource = Shapes::ListShape.new(name: '__listOfSource')
102
+ __listOfVpcInterface = Shapes::ListShape.new(name: '__listOfVpcInterface')
103
+ __listOfVpcInterfaceRequest = Shapes::ListShape.new(name: '__listOfVpcInterfaceRequest')
95
104
  __listOf__integer = Shapes::ListShape.new(name: '__listOf__integer')
96
105
  __listOf__string = Shapes::ListShape.new(name: '__listOf__string')
97
106
  __long = Shapes::IntegerShape.new(name: '__long')
@@ -119,6 +128,14 @@ module Aws::MediaConnect
119
128
  AddFlowSourcesResponse.add_member(:sources, Shapes::ShapeRef.new(shape: __listOfSource, location_name: "sources"))
120
129
  AddFlowSourcesResponse.struct_class = Types::AddFlowSourcesResponse
121
130
 
131
+ AddFlowVpcInterfacesRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
132
+ AddFlowVpcInterfacesRequest.add_member(:vpc_interfaces, Shapes::ShapeRef.new(shape: __listOfVpcInterfaceRequest, required: true, location_name: "vpcInterfaces"))
133
+ AddFlowVpcInterfacesRequest.struct_class = Types::AddFlowVpcInterfacesRequest
134
+
135
+ AddFlowVpcInterfacesResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, location_name: "flowArn"))
136
+ AddFlowVpcInterfacesResponse.add_member(:vpc_interfaces, Shapes::ShapeRef.new(shape: __listOfVpcInterface, location_name: "vpcInterfaces"))
137
+ AddFlowVpcInterfacesResponse.struct_class = Types::AddFlowVpcInterfacesResponse
138
+
122
139
  AddOutputRequest.add_member(:cidr_allow_list, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "cidrAllowList"))
123
140
  AddOutputRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
124
141
  AddOutputRequest.add_member(:destination, Shapes::ShapeRef.new(shape: __string, location_name: "destination"))
@@ -130,6 +147,7 @@ module Aws::MediaConnect
130
147
  AddOutputRequest.add_member(:remote_id, Shapes::ShapeRef.new(shape: __string, location_name: "remoteId"))
131
148
  AddOutputRequest.add_member(:smoothing_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "smoothingLatency"))
132
149
  AddOutputRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
150
+ AddOutputRequest.add_member(:vpc_interface_attachment, Shapes::ShapeRef.new(shape: VpcInterfaceAttachment, location_name: "vpcInterfaceAttachment"))
133
151
  AddOutputRequest.struct_class = Types::AddOutputRequest
134
152
 
135
153
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
@@ -145,6 +163,7 @@ module Aws::MediaConnect
145
163
  CreateFlowRequest.add_member(:source, Shapes::ShapeRef.new(shape: SetSourceRequest, location_name: "source"))
146
164
  CreateFlowRequest.add_member(:source_failover_config, Shapes::ShapeRef.new(shape: FailoverConfig, location_name: "sourceFailoverConfig"))
147
165
  CreateFlowRequest.add_member(:sources, Shapes::ShapeRef.new(shape: __listOfSetSourceRequest, location_name: "sources"))
166
+ CreateFlowRequest.add_member(:vpc_interfaces, Shapes::ShapeRef.new(shape: __listOfVpcInterfaceRequest, location_name: "vpcInterfaces"))
148
167
  CreateFlowRequest.struct_class = Types::CreateFlowRequest
149
168
 
150
169
  CreateFlowResponse.add_member(:flow, Shapes::ShapeRef.new(shape: Flow, location_name: "flow"))
@@ -198,6 +217,7 @@ module Aws::MediaConnect
198
217
  Flow.add_member(:source_failover_config, Shapes::ShapeRef.new(shape: FailoverConfig, location_name: "sourceFailoverConfig"))
199
218
  Flow.add_member(:sources, Shapes::ShapeRef.new(shape: __listOfSource, location_name: "sources"))
200
219
  Flow.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "status"))
220
+ Flow.add_member(:vpc_interfaces, Shapes::ShapeRef.new(shape: __listOfVpcInterface, location_name: "vpcInterfaces"))
201
221
  Flow.struct_class = Types::Flow
202
222
 
203
223
  ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
@@ -275,6 +295,7 @@ module Aws::MediaConnect
275
295
  Output.add_member(:output_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "outputArn"))
276
296
  Output.add_member(:port, Shapes::ShapeRef.new(shape: __integer, location_name: "port"))
277
297
  Output.add_member(:transport, Shapes::ShapeRef.new(shape: Transport, location_name: "transport"))
298
+ Output.add_member(:vpc_interface_attachment, Shapes::ShapeRef.new(shape: VpcInterfaceAttachment, location_name: "vpcInterfaceAttachment"))
278
299
  Output.struct_class = Types::Output
279
300
 
280
301
  RemoveFlowOutputRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
@@ -293,6 +314,15 @@ module Aws::MediaConnect
293
314
  RemoveFlowSourceResponse.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, location_name: "sourceArn"))
294
315
  RemoveFlowSourceResponse.struct_class = Types::RemoveFlowSourceResponse
295
316
 
317
+ RemoveFlowVpcInterfaceRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
318
+ RemoveFlowVpcInterfaceRequest.add_member(:vpc_interface_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "vpcInterfaceName"))
319
+ RemoveFlowVpcInterfaceRequest.struct_class = Types::RemoveFlowVpcInterfaceRequest
320
+
321
+ RemoveFlowVpcInterfaceResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, location_name: "flowArn"))
322
+ RemoveFlowVpcInterfaceResponse.add_member(:non_deleted_network_interface_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "nonDeletedNetworkInterfaceIds"))
323
+ RemoveFlowVpcInterfaceResponse.add_member(:vpc_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "vpcInterfaceName"))
324
+ RemoveFlowVpcInterfaceResponse.struct_class = Types::RemoveFlowVpcInterfaceResponse
325
+
296
326
  ResponseError.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
297
327
  ResponseError.struct_class = Types::ResponseError
298
328
 
@@ -316,6 +346,7 @@ module Aws::MediaConnect
316
346
  SetSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
317
347
  SetSourceRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "protocol"))
318
348
  SetSourceRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
349
+ SetSourceRequest.add_member(:vpc_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "vpcInterfaceName"))
319
350
  SetSourceRequest.add_member(:whitelist_cidr, Shapes::ShapeRef.new(shape: __string, location_name: "whitelistCidr"))
320
351
  SetSourceRequest.struct_class = Types::SetSourceRequest
321
352
 
@@ -328,6 +359,7 @@ module Aws::MediaConnect
328
359
  Source.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
329
360
  Source.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "sourceArn"))
330
361
  Source.add_member(:transport, Shapes::ShapeRef.new(shape: Transport, location_name: "transport"))
362
+ Source.add_member(:vpc_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "vpcInterfaceName"))
331
363
  Source.add_member(:whitelist_cidr, Shapes::ShapeRef.new(shape: __string, location_name: "whitelistCidr"))
332
364
  Source.struct_class = Types::Source
333
365
 
@@ -403,6 +435,7 @@ module Aws::MediaConnect
403
435
  UpdateFlowOutputRequest.add_member(:remote_id, Shapes::ShapeRef.new(shape: __string, location_name: "remoteId"))
404
436
  UpdateFlowOutputRequest.add_member(:smoothing_latency, Shapes::ShapeRef.new(shape: __integer, location_name: "smoothingLatency"))
405
437
  UpdateFlowOutputRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
438
+ UpdateFlowOutputRequest.add_member(:vpc_interface_attachment, Shapes::ShapeRef.new(shape: VpcInterfaceAttachment, location_name: "vpcInterfaceAttachment"))
406
439
  UpdateFlowOutputRequest.struct_class = Types::UpdateFlowOutputRequest
407
440
 
408
441
  UpdateFlowOutputResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, location_name: "flowArn"))
@@ -426,6 +459,7 @@ module Aws::MediaConnect
426
459
  UpdateFlowSourceRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "protocol"))
427
460
  UpdateFlowSourceRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "sourceArn"))
428
461
  UpdateFlowSourceRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
462
+ UpdateFlowSourceRequest.add_member(:vpc_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "vpcInterfaceName"))
429
463
  UpdateFlowSourceRequest.add_member(:whitelist_cidr, Shapes::ShapeRef.new(shape: __string, location_name: "whitelistCidr"))
430
464
  UpdateFlowSourceRequest.struct_class = Types::UpdateFlowSourceRequest
431
465
 
@@ -433,6 +467,22 @@ module Aws::MediaConnect
433
467
  UpdateFlowSourceResponse.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "source"))
434
468
  UpdateFlowSourceResponse.struct_class = Types::UpdateFlowSourceResponse
435
469
 
470
+ VpcInterface.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
471
+ VpcInterface.add_member(:network_interface_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "networkInterfaceIds"))
472
+ VpcInterface.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "roleArn"))
473
+ VpcInterface.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "securityGroupIds"))
474
+ VpcInterface.add_member(:subnet_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "subnetId"))
475
+ VpcInterface.struct_class = Types::VpcInterface
476
+
477
+ VpcInterfaceAttachment.add_member(:vpc_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "vpcInterfaceName"))
478
+ VpcInterfaceAttachment.struct_class = Types::VpcInterfaceAttachment
479
+
480
+ VpcInterfaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
481
+ VpcInterfaceRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "roleArn"))
482
+ VpcInterfaceRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "securityGroupIds"))
483
+ VpcInterfaceRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "subnetId"))
484
+ VpcInterfaceRequest.struct_class = Types::VpcInterfaceRequest
485
+
436
486
  __listOfAddOutputRequest.member = Shapes::ShapeRef.new(shape: AddOutputRequest)
437
487
 
438
488
  __listOfEntitlement.member = Shapes::ShapeRef.new(shape: Entitlement)
@@ -449,6 +499,10 @@ module Aws::MediaConnect
449
499
 
450
500
  __listOfSource.member = Shapes::ShapeRef.new(shape: Source)
451
501
 
502
+ __listOfVpcInterface.member = Shapes::ShapeRef.new(shape: VpcInterface)
503
+
504
+ __listOfVpcInterfaceRequest.member = Shapes::ShapeRef.new(shape: VpcInterfaceRequest)
505
+
452
506
  __listOf__integer.member = Shapes::ShapeRef.new(shape: __integer)
453
507
 
454
508
  __listOf__string.member = Shapes::ShapeRef.new(shape: __string)
@@ -503,6 +557,20 @@ module Aws::MediaConnect
503
557
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
504
558
  end)
505
559
 
560
+ api.add_operation(:add_flow_vpc_interfaces, Seahorse::Model::Operation.new.tap do |o|
561
+ o.name = "AddFlowVpcInterfaces"
562
+ o.http_method = "POST"
563
+ o.http_request_uri = "/v1/flows/{flowArn}/vpcInterfaces"
564
+ o.input = Shapes::ShapeRef.new(shape: AddFlowVpcInterfacesRequest)
565
+ o.output = Shapes::ShapeRef.new(shape: AddFlowVpcInterfacesResponse)
566
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
567
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
568
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
569
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
570
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
571
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
572
+ end)
573
+
506
574
  api.add_operation(:create_flow, Seahorse::Model::Operation.new.tap do |o|
507
575
  o.name = "CreateFlow"
508
576
  o.http_method = "POST"
@@ -635,6 +703,20 @@ module Aws::MediaConnect
635
703
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
636
704
  end)
637
705
 
706
+ api.add_operation(:remove_flow_vpc_interface, Seahorse::Model::Operation.new.tap do |o|
707
+ o.name = "RemoveFlowVpcInterface"
708
+ o.http_method = "DELETE"
709
+ o.http_request_uri = "/v1/flows/{flowArn}/vpcInterfaces/{vpcInterfaceName}"
710
+ o.input = Shapes::ShapeRef.new(shape: RemoveFlowVpcInterfaceRequest)
711
+ o.output = Shapes::ShapeRef.new(shape: RemoveFlowVpcInterfaceResponse)
712
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
713
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
714
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
715
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
716
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
717
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
718
+ end)
719
+
638
720
  api.add_operation(:revoke_flow_entitlement, Seahorse::Model::Operation.new.tap do |o|
639
721
  o.name = "RevokeFlowEntitlement"
640
722
  o.http_method = "DELETE"
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::MediaConnect
9
- # This class provides a resource oriented interface for MediaConnect.
10
- # To create a resource object:
11
- # resource = Aws::MediaConnect::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::MediaConnect::Client.new(region: 'us-west-2')
15
- # resource = Aws::MediaConnect::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -53,6 +53,9 @@ module Aws::MediaConnect
53
53
  # remote_id: "__string",
54
54
  # smoothing_latency: 1,
55
55
  # stream_id: "__string",
56
+ # vpc_interface_attachment: {
57
+ # vpc_interface_name: "__string",
58
+ # },
56
59
  # },
57
60
  # ],
58
61
  # }
@@ -119,6 +122,7 @@ module Aws::MediaConnect
119
122
  # name: "__string",
120
123
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
121
124
  # stream_id: "__string",
125
+ # vpc_interface_name: "__string",
122
126
  # whitelist_cidr: "__string",
123
127
  # },
124
128
  # ],
@@ -158,6 +162,57 @@ module Aws::MediaConnect
158
162
  include Aws::Structure
159
163
  end
160
164
 
165
+ # Adds VPC interfaces to an existing flow.
166
+ #
167
+ # @note When making an API call, you may pass AddFlowVpcInterfacesRequest
168
+ # data as a hash:
169
+ #
170
+ # {
171
+ # flow_arn: "__string", # required
172
+ # vpc_interfaces: [ # required
173
+ # {
174
+ # name: "__string", # required
175
+ # role_arn: "__string", # required
176
+ # security_group_ids: ["__string"], # required
177
+ # subnet_id: "__string", # required
178
+ # },
179
+ # ],
180
+ # }
181
+ #
182
+ # @!attribute [rw] flow_arn
183
+ # @return [String]
184
+ #
185
+ # @!attribute [rw] vpc_interfaces
186
+ # A list of VPC interfaces that you want to add.
187
+ # @return [Array<Types::VpcInterfaceRequest>]
188
+ #
189
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowVpcInterfacesRequest AWS API Documentation
190
+ #
191
+ class AddFlowVpcInterfacesRequest < Struct.new(
192
+ :flow_arn,
193
+ :vpc_interfaces)
194
+ include Aws::Structure
195
+ end
196
+
197
+ # The result of a successful AddFlowVpcInterfaces request. The response
198
+ # includes the details of the newly added VPC interfaces.
199
+ #
200
+ # @!attribute [rw] flow_arn
201
+ # The ARN of the flow that these VPC interfaces were added to.
202
+ # @return [String]
203
+ #
204
+ # @!attribute [rw] vpc_interfaces
205
+ # The details of the newly added VPC interfaces.
206
+ # @return [Array<Types::VpcInterface>]
207
+ #
208
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowVpcInterfacesResponse AWS API Documentation
209
+ #
210
+ class AddFlowVpcInterfacesResponse < Struct.new(
211
+ :flow_arn,
212
+ :vpc_interfaces)
213
+ include Aws::Structure
214
+ end
215
+
161
216
  # The output that you want to add to this flow.
162
217
  #
163
218
  # @note When making an API call, you may pass AddOutputRequest
@@ -185,6 +240,9 @@ module Aws::MediaConnect
185
240
  # remote_id: "__string",
186
241
  # smoothing_latency: 1,
187
242
  # stream_id: "__string",
243
+ # vpc_interface_attachment: {
244
+ # vpc_interface_name: "__string",
245
+ # },
188
246
  # }
189
247
  #
190
248
  # @!attribute [rw] cidr_allow_list
@@ -240,6 +298,10 @@ module Aws::MediaConnect
240
298
  # parameter applies only to Zixi-based streams.
241
299
  # @return [String]
242
300
  #
301
+ # @!attribute [rw] vpc_interface_attachment
302
+ # The name of the VPC interface attachment to use for this output.
303
+ # @return [Types::VpcInterfaceAttachment]
304
+ #
243
305
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddOutputRequest AWS API Documentation
244
306
  #
245
307
  class AddOutputRequest < Struct.new(
@@ -253,7 +315,8 @@ module Aws::MediaConnect
253
315
  :protocol,
254
316
  :remote_id,
255
317
  :smoothing_latency,
256
- :stream_id)
318
+ :stream_id,
319
+ :vpc_interface_attachment)
257
320
  include Aws::Structure
258
321
  end
259
322
 
@@ -336,6 +399,9 @@ module Aws::MediaConnect
336
399
  # remote_id: "__string",
337
400
  # smoothing_latency: 1,
338
401
  # stream_id: "__string",
402
+ # vpc_interface_attachment: {
403
+ # vpc_interface_name: "__string",
404
+ # },
339
405
  # },
340
406
  # ],
341
407
  # source: {
@@ -358,6 +424,7 @@ module Aws::MediaConnect
358
424
  # name: "__string",
359
425
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
360
426
  # stream_id: "__string",
427
+ # vpc_interface_name: "__string",
361
428
  # whitelist_cidr: "__string",
362
429
  # },
363
430
  # source_failover_config: {
@@ -385,9 +452,18 @@ module Aws::MediaConnect
385
452
  # name: "__string",
386
453
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
387
454
  # stream_id: "__string",
455
+ # vpc_interface_name: "__string",
388
456
  # whitelist_cidr: "__string",
389
457
  # },
390
458
  # ],
459
+ # vpc_interfaces: [
460
+ # {
461
+ # name: "__string", # required
462
+ # role_arn: "__string", # required
463
+ # security_group_ids: ["__string"], # required
464
+ # subnet_id: "__string", # required
465
+ # },
466
+ # ],
391
467
  # }
392
468
  #
393
469
  # @!attribute [rw] availability_zone
@@ -419,6 +495,10 @@ module Aws::MediaConnect
419
495
  # @!attribute [rw] sources
420
496
  # @return [Array<Types::SetSourceRequest>]
421
497
  #
498
+ # @!attribute [rw] vpc_interfaces
499
+ # The VPC interfaces you want on the flow.
500
+ # @return [Array<Types::VpcInterfaceRequest>]
501
+ #
422
502
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/CreateFlowRequest AWS API Documentation
423
503
  #
424
504
  class CreateFlowRequest < Struct.new(
@@ -428,7 +508,8 @@ module Aws::MediaConnect
428
508
  :outputs,
429
509
  :source,
430
510
  :source_failover_config,
431
- :sources)
511
+ :sources,
512
+ :vpc_interfaces)
432
513
  include Aws::Structure
433
514
  end
434
515
 
@@ -719,6 +800,10 @@ module Aws::MediaConnect
719
800
  # The current status of the flow.
720
801
  # @return [String]
721
802
  #
803
+ # @!attribute [rw] vpc_interfaces
804
+ # The VPC Interfaces for this flow.
805
+ # @return [Array<Types::VpcInterface>]
806
+ #
722
807
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Flow AWS API Documentation
723
808
  #
724
809
  class Flow < Struct.new(
@@ -732,7 +817,8 @@ module Aws::MediaConnect
732
817
  :source,
733
818
  :source_failover_config,
734
819
  :sources,
735
- :status)
820
+ :status,
821
+ :vpc_interfaces)
736
822
  include Aws::Structure
737
823
  end
738
824
 
@@ -1169,6 +1255,10 @@ module Aws::MediaConnect
1169
1255
  # output.
1170
1256
  # @return [Types::Transport]
1171
1257
  #
1258
+ # @!attribute [rw] vpc_interface_attachment
1259
+ # The name of the VPC interface attachment to use for this output.
1260
+ # @return [Types::VpcInterfaceAttachment]
1261
+ #
1172
1262
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Output AWS API Documentation
1173
1263
  #
1174
1264
  class Output < Struct.new(
@@ -1181,7 +1271,8 @@ module Aws::MediaConnect
1181
1271
  :name,
1182
1272
  :output_arn,
1183
1273
  :port,
1184
- :transport)
1274
+ :transport,
1275
+ :vpc_interface_attachment)
1185
1276
  include Aws::Structure
1186
1277
  end
1187
1278
 
@@ -1267,6 +1358,54 @@ module Aws::MediaConnect
1267
1358
  include Aws::Structure
1268
1359
  end
1269
1360
 
1361
+ # @note When making an API call, you may pass RemoveFlowVpcInterfaceRequest
1362
+ # data as a hash:
1363
+ #
1364
+ # {
1365
+ # flow_arn: "__string", # required
1366
+ # vpc_interface_name: "__string", # required
1367
+ # }
1368
+ #
1369
+ # @!attribute [rw] flow_arn
1370
+ # @return [String]
1371
+ #
1372
+ # @!attribute [rw] vpc_interface_name
1373
+ # @return [String]
1374
+ #
1375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowVpcInterfaceRequest AWS API Documentation
1376
+ #
1377
+ class RemoveFlowVpcInterfaceRequest < Struct.new(
1378
+ :flow_arn,
1379
+ :vpc_interface_name)
1380
+ include Aws::Structure
1381
+ end
1382
+
1383
+ # The result of a successful RemoveFlowVpcInterface request including
1384
+ # the flow ARN and the VPC interface name that was removed.
1385
+ #
1386
+ # @!attribute [rw] flow_arn
1387
+ # The ARN of the flow that is associated with the VPC interface you
1388
+ # removed.
1389
+ # @return [String]
1390
+ #
1391
+ # @!attribute [rw] non_deleted_network_interface_ids
1392
+ # IDs of network interfaces associated with the removed VPC interface
1393
+ # that Media Connect was unable to remove.
1394
+ # @return [Array<String>]
1395
+ #
1396
+ # @!attribute [rw] vpc_interface_name
1397
+ # The name of the VPC interface that was removed.
1398
+ # @return [String]
1399
+ #
1400
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowVpcInterfaceResponse AWS API Documentation
1401
+ #
1402
+ class RemoveFlowVpcInterfaceResponse < Struct.new(
1403
+ :flow_arn,
1404
+ :non_deleted_network_interface_ids,
1405
+ :vpc_interface_name)
1406
+ include Aws::Structure
1407
+ end
1408
+
1270
1409
  # Exception raised by AWS Elemental MediaConnect. See the error message
1271
1410
  # and documentation for the operation for more information on the cause
1272
1411
  # of this exception.
@@ -1363,6 +1502,7 @@ module Aws::MediaConnect
1363
1502
  # name: "__string",
1364
1503
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
1365
1504
  # stream_id: "__string",
1505
+ # vpc_interface_name: "__string",
1366
1506
  # whitelist_cidr: "__string",
1367
1507
  # }
1368
1508
  #
@@ -1408,6 +1548,10 @@ module Aws::MediaConnect
1408
1548
  # parameter applies only to Zixi-based streams.
1409
1549
  # @return [String]
1410
1550
  #
1551
+ # @!attribute [rw] vpc_interface_name
1552
+ # The name of the VPC interface to use for this source.
1553
+ # @return [String]
1554
+ #
1411
1555
  # @!attribute [rw] whitelist_cidr
1412
1556
  # The range of IP addresses that should be allowed to contribute
1413
1557
  # content to your source. These IP addresses should be in the form of
@@ -1427,6 +1571,7 @@ module Aws::MediaConnect
1427
1571
  :name,
1428
1572
  :protocol,
1429
1573
  :stream_id,
1574
+ :vpc_interface_name,
1430
1575
  :whitelist_cidr)
1431
1576
  include Aws::Structure
1432
1577
  end
@@ -1477,6 +1622,10 @@ module Aws::MediaConnect
1477
1622
  # source.
1478
1623
  # @return [Types::Transport]
1479
1624
  #
1625
+ # @!attribute [rw] vpc_interface_name
1626
+ # The name of the VPC Interface this Source is configured with.
1627
+ # @return [String]
1628
+ #
1480
1629
  # @!attribute [rw] whitelist_cidr
1481
1630
  # The range of IP addresses that should be allowed to contribute
1482
1631
  # content to your source. These IP addresses should be in the form of
@@ -1496,6 +1645,7 @@ module Aws::MediaConnect
1496
1645
  :name,
1497
1646
  :source_arn,
1498
1647
  :transport,
1648
+ :vpc_interface_name,
1499
1649
  :whitelist_cidr)
1500
1650
  include Aws::Structure
1501
1651
  end
@@ -1903,6 +2053,9 @@ module Aws::MediaConnect
1903
2053
  # remote_id: "__string",
1904
2054
  # smoothing_latency: 1,
1905
2055
  # stream_id: "__string",
2056
+ # vpc_interface_attachment: {
2057
+ # vpc_interface_name: "__string",
2058
+ # },
1906
2059
  # }
1907
2060
  #
1908
2061
  # @!attribute [rw] cidr_allow_list
@@ -1959,6 +2112,10 @@ module Aws::MediaConnect
1959
2112
  # parameter applies only to Zixi-based streams.
1960
2113
  # @return [String]
1961
2114
  #
2115
+ # @!attribute [rw] vpc_interface_attachment
2116
+ # The name of the VPC interface attachment to use for this output.
2117
+ # @return [Types::VpcInterfaceAttachment]
2118
+ #
1962
2119
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowOutputRequest AWS API Documentation
1963
2120
  #
1964
2121
  class UpdateFlowOutputRequest < Struct.new(
@@ -1973,7 +2130,8 @@ module Aws::MediaConnect
1973
2130
  :protocol,
1974
2131
  :remote_id,
1975
2132
  :smoothing_latency,
1976
- :stream_id)
2133
+ :stream_id,
2134
+ :vpc_interface_attachment)
1977
2135
  include Aws::Structure
1978
2136
  end
1979
2137
 
@@ -2064,6 +2222,7 @@ module Aws::MediaConnect
2064
2222
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
2065
2223
  # source_arn: "__string", # required
2066
2224
  # stream_id: "__string",
2225
+ # vpc_interface_name: "__string",
2067
2226
  # whitelist_cidr: "__string",
2068
2227
  # }
2069
2228
  #
@@ -2111,6 +2270,10 @@ module Aws::MediaConnect
2111
2270
  # parameter applies only to Zixi-based streams.
2112
2271
  # @return [String]
2113
2272
  #
2273
+ # @!attribute [rw] vpc_interface_name
2274
+ # The name of the VPC Interface to configure this Source with.
2275
+ # @return [String]
2276
+ #
2114
2277
  # @!attribute [rw] whitelist_cidr
2115
2278
  # The range of IP addresses that should be allowed to contribute
2116
2279
  # content to your source. These IP addresses should be in the form of
@@ -2131,6 +2294,7 @@ module Aws::MediaConnect
2131
2294
  :protocol,
2132
2295
  :source_arn,
2133
2296
  :stream_id,
2297
+ :vpc_interface_name,
2134
2298
  :whitelist_cidr)
2135
2299
  include Aws::Structure
2136
2300
  end
@@ -2155,5 +2319,101 @@ module Aws::MediaConnect
2155
2319
  include Aws::Structure
2156
2320
  end
2157
2321
 
2322
+ # The settings for a VPC Source.
2323
+ #
2324
+ # @!attribute [rw] name
2325
+ # Immutable and has to be a unique against other VpcInterfaces in this
2326
+ # Flow
2327
+ # @return [String]
2328
+ #
2329
+ # @!attribute [rw] network_interface_ids
2330
+ # IDs of the network interfaces created in customer's account by
2331
+ # MediaConnect.
2332
+ # @return [Array<String>]
2333
+ #
2334
+ # @!attribute [rw] role_arn
2335
+ # Role Arn MediaConnect can assumes to create ENIs in customer's
2336
+ # account
2337
+ # @return [String]
2338
+ #
2339
+ # @!attribute [rw] security_group_ids
2340
+ # Security Group IDs to be used on ENI.
2341
+ # @return [Array<String>]
2342
+ #
2343
+ # @!attribute [rw] subnet_id
2344
+ # Subnet must be in the AZ of the Flow
2345
+ # @return [String]
2346
+ #
2347
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/VpcInterface AWS API Documentation
2348
+ #
2349
+ class VpcInterface < Struct.new(
2350
+ :name,
2351
+ :network_interface_ids,
2352
+ :role_arn,
2353
+ :security_group_ids,
2354
+ :subnet_id)
2355
+ include Aws::Structure
2356
+ end
2357
+
2358
+ # The settings for attaching a VPC interface to an output.
2359
+ #
2360
+ # @note When making an API call, you may pass VpcInterfaceAttachment
2361
+ # data as a hash:
2362
+ #
2363
+ # {
2364
+ # vpc_interface_name: "__string",
2365
+ # }
2366
+ #
2367
+ # @!attribute [rw] vpc_interface_name
2368
+ # The name of the VPC interface to use for this output.
2369
+ # @return [String]
2370
+ #
2371
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/VpcInterfaceAttachment AWS API Documentation
2372
+ #
2373
+ class VpcInterfaceAttachment < Struct.new(
2374
+ :vpc_interface_name)
2375
+ include Aws::Structure
2376
+ end
2377
+
2378
+ # Desired VPC Interface for a Flow
2379
+ #
2380
+ # @note When making an API call, you may pass VpcInterfaceRequest
2381
+ # data as a hash:
2382
+ #
2383
+ # {
2384
+ # name: "__string", # required
2385
+ # role_arn: "__string", # required
2386
+ # security_group_ids: ["__string"], # required
2387
+ # subnet_id: "__string", # required
2388
+ # }
2389
+ #
2390
+ # @!attribute [rw] name
2391
+ # The name of the VPC Interface. This value must be unique within the
2392
+ # current flow.
2393
+ # @return [String]
2394
+ #
2395
+ # @!attribute [rw] role_arn
2396
+ # Role Arn MediaConnect can assumes to create ENIs in customer's
2397
+ # account
2398
+ # @return [String]
2399
+ #
2400
+ # @!attribute [rw] security_group_ids
2401
+ # Security Group IDs to be used on ENI.
2402
+ # @return [Array<String>]
2403
+ #
2404
+ # @!attribute [rw] subnet_id
2405
+ # Subnet must be in the AZ of the Flow
2406
+ # @return [String]
2407
+ #
2408
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/VpcInterfaceRequest AWS API Documentation
2409
+ #
2410
+ class VpcInterfaceRequest < Struct.new(
2411
+ :name,
2412
+ :role_arn,
2413
+ :security_group_ids,
2414
+ :subnet_id)
2415
+ include Aws::Structure
2416
+ end
2417
+
2158
2418
  end
2159
2419
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mediaconnect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.23.1
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-03-18 00:00:00.000000000 Z
11
+ date: 2020-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.71.0
22
+ version: 3.99.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.5.2.3
84
+ rubygems_version: 2.7.6.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: AWS SDK for Ruby - AWS MediaConnect