aws-sdk-mediaconnect 1.18.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e3cd0ad5691544ad6ee5802288e87f859139ed14
4
- data.tar.gz: df6e9b2eece7838b329f462ec0a0bb371596b34d
3
+ metadata.gz: 488eafa2928a34bcab25d3e0bdaf5ce8ad3aba67
4
+ data.tar.gz: 53264b46c3b7b31ebb90bcfdd8c596db8c41fe5a
5
5
  SHA512:
6
- metadata.gz: a8457f841516412f1b205b090af1754e858686472457af080ad5ea6029ac49ddd20b473899d0b7ce73683a308e3bd734078ce4453d6b20b398520a6c61c21312
7
- data.tar.gz: 4672873f1de931aa8bb58d9678882bf365a40a23ae50dac865fd24f8b2975865b802d4bc9c90dee0d7c3c5fda82d5449f9f30fc2428e31622f623759b9d1ac3d
6
+ metadata.gz: f7d12cbb6079f536acce66ef8630f0f6c5229eabfb6d60b6d5147d315cb898c21d79753193ae683481c5e39fdd463c2e01dc6a705d3bd105796ba6b7d78377b5
7
+ data.tar.gz: 30c7432a1cbe798e02191647961f3ed4381f2ca8c6ffa47101f03318d55c465bd1ec88fb19e15bf54c692144ad3e6a909ca6e5218a5f951109a418d156e553c9
@@ -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.19.0'
49
49
 
50
50
  end
@@ -269,8 +269,7 @@ module Aws::MediaConnect
269
269
  #
270
270
  # @option options [Integer] :http_read_timeout (60) The default
271
271
  # 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}.
272
+ # safely be set per-request on the session.
274
273
  #
275
274
  # @option options [Float] :http_idle_timeout (5) The number of
276
275
  # seconds a connection is allowed to sit idle before it is
@@ -282,7 +281,7 @@ module Aws::MediaConnect
282
281
  # request body. This option has no effect unless the request has
283
282
  # "Expect" header set to "100-continue". Defaults to `nil` which
284
283
  # disables this behaviour. This value can safely be set per
285
- # request on the session yielded by {#session_for}.
284
+ # request on the session.
286
285
  #
287
286
  # @option options [Boolean] :http_wire_trace (false) When `true`,
288
287
  # HTTP debug output will be sent to the `:logger`.
@@ -429,6 +428,7 @@ module Aws::MediaConnect
429
428
  # name: "__string",
430
429
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
431
430
  # stream_id: "__string",
431
+ # vpc_interface_name: "__string",
432
432
  # whitelist_cidr: "__string",
433
433
  # },
434
434
  # ],
@@ -462,6 +462,7 @@ module Aws::MediaConnect
462
462
  # resp.sources[0].transport.remote_id #=> String
463
463
  # resp.sources[0].transport.smoothing_latency #=> Integer
464
464
  # resp.sources[0].transport.stream_id #=> String
465
+ # resp.sources[0].vpc_interface_name #=> String
465
466
  # resp.sources[0].whitelist_cidr #=> String
466
467
  #
467
468
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowSources AWS API Documentation
@@ -473,6 +474,53 @@ module Aws::MediaConnect
473
474
  req.send_request(options)
474
475
  end
475
476
 
477
+ # Adds VPC interfaces to flow
478
+ #
479
+ # @option params [required, String] :flow_arn
480
+ #
481
+ # @option params [required, Array<Types::VpcInterfaceRequest>] :vpc_interfaces
482
+ # A list of VPC interfaces that you want to add.
483
+ #
484
+ # @return [Types::AddFlowVpcInterfacesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
485
+ #
486
+ # * {Types::AddFlowVpcInterfacesResponse#flow_arn #flow_arn} => String
487
+ # * {Types::AddFlowVpcInterfacesResponse#vpc_interfaces #vpc_interfaces} => Array&lt;Types::VpcInterface&gt;
488
+ #
489
+ # @example Request syntax with placeholder values
490
+ #
491
+ # resp = client.add_flow_vpc_interfaces({
492
+ # flow_arn: "__string", # required
493
+ # vpc_interfaces: [ # required
494
+ # {
495
+ # name: "__string", # required
496
+ # role_arn: "__string", # required
497
+ # security_group_ids: ["__string"], # required
498
+ # subnet_id: "__string", # required
499
+ # },
500
+ # ],
501
+ # })
502
+ #
503
+ # @example Response structure
504
+ #
505
+ # resp.flow_arn #=> String
506
+ # resp.vpc_interfaces #=> Array
507
+ # resp.vpc_interfaces[0].name #=> String
508
+ # resp.vpc_interfaces[0].network_interface_ids #=> Array
509
+ # resp.vpc_interfaces[0].network_interface_ids[0] #=> String
510
+ # resp.vpc_interfaces[0].role_arn #=> String
511
+ # resp.vpc_interfaces[0].security_group_ids #=> Array
512
+ # resp.vpc_interfaces[0].security_group_ids[0] #=> String
513
+ # resp.vpc_interfaces[0].subnet_id #=> String
514
+ #
515
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowVpcInterfaces AWS API Documentation
516
+ #
517
+ # @overload add_flow_vpc_interfaces(params = {})
518
+ # @param [Hash] params ({})
519
+ def add_flow_vpc_interfaces(params = {}, options = {})
520
+ req = build_request(:add_flow_vpc_interfaces, params)
521
+ req.send_request(options)
522
+ end
523
+
476
524
  # Creates a new flow. The request must include one source. The request
477
525
  # optionally can include outputs (up to 50) and entitlements (up to 50).
478
526
  #
@@ -498,6 +546,9 @@ module Aws::MediaConnect
498
546
  #
499
547
  # @option params [Array<Types::SetSourceRequest>] :sources
500
548
  #
549
+ # @option params [Array<Types::VpcInterfaceRequest>] :vpc_interfaces
550
+ # The VPC interfaces you want on the flow.
551
+ #
501
552
  # @return [Types::CreateFlowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
502
553
  #
503
554
  # * {Types::CreateFlowResponse#flow #flow} => Types::Flow
@@ -571,6 +622,7 @@ module Aws::MediaConnect
571
622
  # name: "__string",
572
623
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
573
624
  # stream_id: "__string",
625
+ # vpc_interface_name: "__string",
574
626
  # whitelist_cidr: "__string",
575
627
  # },
576
628
  # source_failover_config: {
@@ -598,9 +650,18 @@ module Aws::MediaConnect
598
650
  # name: "__string",
599
651
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
600
652
  # stream_id: "__string",
653
+ # vpc_interface_name: "__string",
601
654
  # whitelist_cidr: "__string",
602
655
  # },
603
656
  # ],
657
+ # vpc_interfaces: [
658
+ # {
659
+ # name: "__string", # required
660
+ # role_arn: "__string", # required
661
+ # security_group_ids: ["__string"], # required
662
+ # subnet_id: "__string", # required
663
+ # },
664
+ # ],
604
665
  # })
605
666
  #
606
667
  # @example Response structure
@@ -676,6 +737,7 @@ module Aws::MediaConnect
676
737
  # resp.flow.source.transport.remote_id #=> String
677
738
  # resp.flow.source.transport.smoothing_latency #=> Integer
678
739
  # resp.flow.source.transport.stream_id #=> String
740
+ # resp.flow.source.vpc_interface_name #=> String
679
741
  # resp.flow.source.whitelist_cidr #=> String
680
742
  # resp.flow.source_failover_config.recovery_window #=> Integer
681
743
  # resp.flow.source_failover_config.state #=> String, one of "ENABLED", "DISABLED"
@@ -704,8 +766,17 @@ module Aws::MediaConnect
704
766
  # resp.flow.sources[0].transport.remote_id #=> String
705
767
  # resp.flow.sources[0].transport.smoothing_latency #=> Integer
706
768
  # resp.flow.sources[0].transport.stream_id #=> String
769
+ # resp.flow.sources[0].vpc_interface_name #=> String
707
770
  # resp.flow.sources[0].whitelist_cidr #=> String
708
771
  # resp.flow.status #=> String, one of "STANDBY", "ACTIVE", "UPDATING", "DELETING", "STARTING", "STOPPING", "ERROR"
772
+ # resp.flow.vpc_interfaces #=> Array
773
+ # resp.flow.vpc_interfaces[0].name #=> String
774
+ # resp.flow.vpc_interfaces[0].network_interface_ids #=> Array
775
+ # resp.flow.vpc_interfaces[0].network_interface_ids[0] #=> String
776
+ # resp.flow.vpc_interfaces[0].role_arn #=> String
777
+ # resp.flow.vpc_interfaces[0].security_group_ids #=> Array
778
+ # resp.flow.vpc_interfaces[0].security_group_ids[0] #=> String
779
+ # resp.flow.vpc_interfaces[0].subnet_id #=> String
709
780
  #
710
781
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/CreateFlow AWS API Documentation
711
782
  #
@@ -835,6 +906,7 @@ module Aws::MediaConnect
835
906
  # resp.flow.source.transport.remote_id #=> String
836
907
  # resp.flow.source.transport.smoothing_latency #=> Integer
837
908
  # resp.flow.source.transport.stream_id #=> String
909
+ # resp.flow.source.vpc_interface_name #=> String
838
910
  # resp.flow.source.whitelist_cidr #=> String
839
911
  # resp.flow.source_failover_config.recovery_window #=> Integer
840
912
  # resp.flow.source_failover_config.state #=> String, one of "ENABLED", "DISABLED"
@@ -863,8 +935,17 @@ module Aws::MediaConnect
863
935
  # resp.flow.sources[0].transport.remote_id #=> String
864
936
  # resp.flow.sources[0].transport.smoothing_latency #=> Integer
865
937
  # resp.flow.sources[0].transport.stream_id #=> String
938
+ # resp.flow.sources[0].vpc_interface_name #=> String
866
939
  # resp.flow.sources[0].whitelist_cidr #=> String
867
940
  # resp.flow.status #=> String, one of "STANDBY", "ACTIVE", "UPDATING", "DELETING", "STARTING", "STOPPING", "ERROR"
941
+ # resp.flow.vpc_interfaces #=> Array
942
+ # resp.flow.vpc_interfaces[0].name #=> String
943
+ # resp.flow.vpc_interfaces[0].network_interface_ids #=> Array
944
+ # resp.flow.vpc_interfaces[0].network_interface_ids[0] #=> String
945
+ # resp.flow.vpc_interfaces[0].role_arn #=> String
946
+ # resp.flow.vpc_interfaces[0].security_group_ids #=> Array
947
+ # resp.flow.vpc_interfaces[0].security_group_ids[0] #=> String
948
+ # resp.flow.vpc_interfaces[0].subnet_id #=> String
868
949
  # resp.messages.errors #=> Array
869
950
  # resp.messages.errors[0] #=> String
870
951
  #
@@ -955,6 +1036,8 @@ module Aws::MediaConnect
955
1036
  # * {Types::ListEntitlementsResponse#entitlements #entitlements} => Array&lt;Types::ListedEntitlement&gt;
956
1037
  # * {Types::ListEntitlementsResponse#next_token #next_token} => String
957
1038
  #
1039
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1040
+ #
958
1041
  # @example Request syntax with placeholder values
959
1042
  #
960
1043
  # resp = client.list_entitlements({
@@ -991,6 +1074,8 @@ module Aws::MediaConnect
991
1074
  # * {Types::ListFlowsResponse#flows #flows} => Array&lt;Types::ListedFlow&gt;
992
1075
  # * {Types::ListFlowsResponse#next_token #next_token} => String
993
1076
  #
1077
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1078
+ #
994
1079
  # @example Request syntax with placeholder values
995
1080
  #
996
1081
  # resp = client.list_flows({
@@ -1115,6 +1200,45 @@ module Aws::MediaConnect
1115
1200
  req.send_request(options)
1116
1201
  end
1117
1202
 
1203
+ # Removes a VPC Interface from an existing flow. This request can be
1204
+ # made only on a VPC interface that does not have a Source or Output
1205
+ # associated with it. If the VPC interface is referenced by a Source or
1206
+ # Output, you must first delete or update the Source or Output to no
1207
+ # longer reference the VPC interface.
1208
+ #
1209
+ # @option params [required, String] :flow_arn
1210
+ #
1211
+ # @option params [required, String] :vpc_interface_name
1212
+ #
1213
+ # @return [Types::RemoveFlowVpcInterfaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1214
+ #
1215
+ # * {Types::RemoveFlowVpcInterfaceResponse#flow_arn #flow_arn} => String
1216
+ # * {Types::RemoveFlowVpcInterfaceResponse#non_deleted_network_interface_ids #non_deleted_network_interface_ids} => Array&lt;String&gt;
1217
+ # * {Types::RemoveFlowVpcInterfaceResponse#vpc_interface_name #vpc_interface_name} => String
1218
+ #
1219
+ # @example Request syntax with placeholder values
1220
+ #
1221
+ # resp = client.remove_flow_vpc_interface({
1222
+ # flow_arn: "__string", # required
1223
+ # vpc_interface_name: "__string", # required
1224
+ # })
1225
+ #
1226
+ # @example Response structure
1227
+ #
1228
+ # resp.flow_arn #=> String
1229
+ # resp.non_deleted_network_interface_ids #=> Array
1230
+ # resp.non_deleted_network_interface_ids[0] #=> String
1231
+ # resp.vpc_interface_name #=> String
1232
+ #
1233
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowVpcInterface AWS API Documentation
1234
+ #
1235
+ # @overload remove_flow_vpc_interface(params = {})
1236
+ # @param [Hash] params ({})
1237
+ def remove_flow_vpc_interface(params = {}, options = {})
1238
+ req = build_request(:remove_flow_vpc_interface, params)
1239
+ req.send_request(options)
1240
+ end
1241
+
1118
1242
  # Revokes an entitlement from a flow. Once an entitlement is revoked,
1119
1243
  # the content becomes unavailable to the subscriber and the associated
1120
1244
  # output is removed.
@@ -1357,6 +1481,7 @@ module Aws::MediaConnect
1357
1481
  # resp.flow.source.transport.remote_id #=> String
1358
1482
  # resp.flow.source.transport.smoothing_latency #=> Integer
1359
1483
  # resp.flow.source.transport.stream_id #=> String
1484
+ # resp.flow.source.vpc_interface_name #=> String
1360
1485
  # resp.flow.source.whitelist_cidr #=> String
1361
1486
  # resp.flow.source_failover_config.recovery_window #=> Integer
1362
1487
  # resp.flow.source_failover_config.state #=> String, one of "ENABLED", "DISABLED"
@@ -1385,8 +1510,17 @@ module Aws::MediaConnect
1385
1510
  # resp.flow.sources[0].transport.remote_id #=> String
1386
1511
  # resp.flow.sources[0].transport.smoothing_latency #=> Integer
1387
1512
  # resp.flow.sources[0].transport.stream_id #=> String
1513
+ # resp.flow.sources[0].vpc_interface_name #=> String
1388
1514
  # resp.flow.sources[0].whitelist_cidr #=> String
1389
1515
  # resp.flow.status #=> String, one of "STANDBY", "ACTIVE", "UPDATING", "DELETING", "STARTING", "STOPPING", "ERROR"
1516
+ # resp.flow.vpc_interfaces #=> Array
1517
+ # resp.flow.vpc_interfaces[0].name #=> String
1518
+ # resp.flow.vpc_interfaces[0].network_interface_ids #=> Array
1519
+ # resp.flow.vpc_interfaces[0].network_interface_ids[0] #=> String
1520
+ # resp.flow.vpc_interfaces[0].role_arn #=> String
1521
+ # resp.flow.vpc_interfaces[0].security_group_ids #=> Array
1522
+ # resp.flow.vpc_interfaces[0].security_group_ids[0] #=> String
1523
+ # resp.flow.vpc_interfaces[0].subnet_id #=> String
1390
1524
  #
1391
1525
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlow AWS API Documentation
1392
1526
  #
@@ -1619,6 +1753,9 @@ module Aws::MediaConnect
1619
1753
  # The stream ID that you want to use for this transport. This parameter
1620
1754
  # applies only to Zixi-based streams.
1621
1755
  #
1756
+ # @option params [String] :vpc_interface_name
1757
+ # The name of the VPC Interface to configure this Source with.
1758
+ #
1622
1759
  # @option params [String] :whitelist_cidr
1623
1760
  # The range of IP addresses that should be allowed to contribute content
1624
1761
  # to your source. These IP addresses should be in the form of a
@@ -1652,6 +1789,7 @@ module Aws::MediaConnect
1652
1789
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
1653
1790
  # source_arn: "__string", # required
1654
1791
  # stream_id: "__string",
1792
+ # vpc_interface_name: "__string",
1655
1793
  # whitelist_cidr: "__string",
1656
1794
  # })
1657
1795
  #
@@ -1682,6 +1820,7 @@ module Aws::MediaConnect
1682
1820
  # resp.source.transport.remote_id #=> String
1683
1821
  # resp.source.transport.smoothing_latency #=> Integer
1684
1822
  # resp.source.transport.stream_id #=> String
1823
+ # resp.source.vpc_interface_name #=> String
1685
1824
  # resp.source.whitelist_cidr #=> String
1686
1825
  #
1687
1826
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowSource AWS API Documentation
@@ -1706,7 +1845,7 @@ module Aws::MediaConnect
1706
1845
  params: params,
1707
1846
  config: config)
1708
1847
  context[:gem_name] = 'aws-sdk-mediaconnect'
1709
- context[:gem_version] = '1.18.0'
1848
+ context[:gem_version] = '1.19.0'
1710
1849
  Seahorse::Client::Request.new(handlers, context)
1711
1850
  end
1712
1851
 
@@ -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,8 @@ 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
+ VpcInterfaceRequest = Shapes::StructureShape.new(name: 'VpcInterfaceRequest')
84
90
  __boolean = Shapes::BooleanShape.new(name: '__boolean')
85
91
  __double = Shapes::FloatShape.new(name: '__double')
86
92
  __integer = Shapes::IntegerShape.new(name: '__integer')
@@ -92,6 +98,8 @@ module Aws::MediaConnect
92
98
  __listOfOutput = Shapes::ListShape.new(name: '__listOfOutput')
93
99
  __listOfSetSourceRequest = Shapes::ListShape.new(name: '__listOfSetSourceRequest')
94
100
  __listOfSource = Shapes::ListShape.new(name: '__listOfSource')
101
+ __listOfVpcInterface = Shapes::ListShape.new(name: '__listOfVpcInterface')
102
+ __listOfVpcInterfaceRequest = Shapes::ListShape.new(name: '__listOfVpcInterfaceRequest')
95
103
  __listOf__integer = Shapes::ListShape.new(name: '__listOf__integer')
96
104
  __listOf__string = Shapes::ListShape.new(name: '__listOf__string')
97
105
  __long = Shapes::IntegerShape.new(name: '__long')
@@ -119,6 +127,14 @@ module Aws::MediaConnect
119
127
  AddFlowSourcesResponse.add_member(:sources, Shapes::ShapeRef.new(shape: __listOfSource, location_name: "sources"))
120
128
  AddFlowSourcesResponse.struct_class = Types::AddFlowSourcesResponse
121
129
 
130
+ AddFlowVpcInterfacesRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
131
+ AddFlowVpcInterfacesRequest.add_member(:vpc_interfaces, Shapes::ShapeRef.new(shape: __listOfVpcInterfaceRequest, required: true, location_name: "vpcInterfaces"))
132
+ AddFlowVpcInterfacesRequest.struct_class = Types::AddFlowVpcInterfacesRequest
133
+
134
+ AddFlowVpcInterfacesResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, location_name: "flowArn"))
135
+ AddFlowVpcInterfacesResponse.add_member(:vpc_interfaces, Shapes::ShapeRef.new(shape: __listOfVpcInterface, location_name: "vpcInterfaces"))
136
+ AddFlowVpcInterfacesResponse.struct_class = Types::AddFlowVpcInterfacesResponse
137
+
122
138
  AddOutputRequest.add_member(:cidr_allow_list, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "cidrAllowList"))
123
139
  AddOutputRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
124
140
  AddOutputRequest.add_member(:destination, Shapes::ShapeRef.new(shape: __string, location_name: "destination"))
@@ -145,6 +161,7 @@ module Aws::MediaConnect
145
161
  CreateFlowRequest.add_member(:source, Shapes::ShapeRef.new(shape: SetSourceRequest, location_name: "source"))
146
162
  CreateFlowRequest.add_member(:source_failover_config, Shapes::ShapeRef.new(shape: FailoverConfig, location_name: "sourceFailoverConfig"))
147
163
  CreateFlowRequest.add_member(:sources, Shapes::ShapeRef.new(shape: __listOfSetSourceRequest, location_name: "sources"))
164
+ CreateFlowRequest.add_member(:vpc_interfaces, Shapes::ShapeRef.new(shape: __listOfVpcInterfaceRequest, location_name: "vpcInterfaces"))
148
165
  CreateFlowRequest.struct_class = Types::CreateFlowRequest
149
166
 
150
167
  CreateFlowResponse.add_member(:flow, Shapes::ShapeRef.new(shape: Flow, location_name: "flow"))
@@ -198,6 +215,7 @@ module Aws::MediaConnect
198
215
  Flow.add_member(:source_failover_config, Shapes::ShapeRef.new(shape: FailoverConfig, location_name: "sourceFailoverConfig"))
199
216
  Flow.add_member(:sources, Shapes::ShapeRef.new(shape: __listOfSource, location_name: "sources"))
200
217
  Flow.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "status"))
218
+ Flow.add_member(:vpc_interfaces, Shapes::ShapeRef.new(shape: __listOfVpcInterface, location_name: "vpcInterfaces"))
201
219
  Flow.struct_class = Types::Flow
202
220
 
203
221
  ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
@@ -293,6 +311,15 @@ module Aws::MediaConnect
293
311
  RemoveFlowSourceResponse.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, location_name: "sourceArn"))
294
312
  RemoveFlowSourceResponse.struct_class = Types::RemoveFlowSourceResponse
295
313
 
314
+ RemoveFlowVpcInterfaceRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
315
+ RemoveFlowVpcInterfaceRequest.add_member(:vpc_interface_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "vpcInterfaceName"))
316
+ RemoveFlowVpcInterfaceRequest.struct_class = Types::RemoveFlowVpcInterfaceRequest
317
+
318
+ RemoveFlowVpcInterfaceResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, location_name: "flowArn"))
319
+ RemoveFlowVpcInterfaceResponse.add_member(:non_deleted_network_interface_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "nonDeletedNetworkInterfaceIds"))
320
+ RemoveFlowVpcInterfaceResponse.add_member(:vpc_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "vpcInterfaceName"))
321
+ RemoveFlowVpcInterfaceResponse.struct_class = Types::RemoveFlowVpcInterfaceResponse
322
+
296
323
  ResponseError.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
297
324
  ResponseError.struct_class = Types::ResponseError
298
325
 
@@ -316,6 +343,7 @@ module Aws::MediaConnect
316
343
  SetSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
317
344
  SetSourceRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "protocol"))
318
345
  SetSourceRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
346
+ SetSourceRequest.add_member(:vpc_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "vpcInterfaceName"))
319
347
  SetSourceRequest.add_member(:whitelist_cidr, Shapes::ShapeRef.new(shape: __string, location_name: "whitelistCidr"))
320
348
  SetSourceRequest.struct_class = Types::SetSourceRequest
321
349
 
@@ -328,6 +356,7 @@ module Aws::MediaConnect
328
356
  Source.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
329
357
  Source.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "sourceArn"))
330
358
  Source.add_member(:transport, Shapes::ShapeRef.new(shape: Transport, location_name: "transport"))
359
+ Source.add_member(:vpc_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "vpcInterfaceName"))
331
360
  Source.add_member(:whitelist_cidr, Shapes::ShapeRef.new(shape: __string, location_name: "whitelistCidr"))
332
361
  Source.struct_class = Types::Source
333
362
 
@@ -426,6 +455,7 @@ module Aws::MediaConnect
426
455
  UpdateFlowSourceRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "protocol"))
427
456
  UpdateFlowSourceRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "sourceArn"))
428
457
  UpdateFlowSourceRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
458
+ UpdateFlowSourceRequest.add_member(:vpc_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "vpcInterfaceName"))
429
459
  UpdateFlowSourceRequest.add_member(:whitelist_cidr, Shapes::ShapeRef.new(shape: __string, location_name: "whitelistCidr"))
430
460
  UpdateFlowSourceRequest.struct_class = Types::UpdateFlowSourceRequest
431
461
 
@@ -433,6 +463,19 @@ module Aws::MediaConnect
433
463
  UpdateFlowSourceResponse.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "source"))
434
464
  UpdateFlowSourceResponse.struct_class = Types::UpdateFlowSourceResponse
435
465
 
466
+ VpcInterface.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
467
+ VpcInterface.add_member(:network_interface_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "networkInterfaceIds"))
468
+ VpcInterface.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "roleArn"))
469
+ VpcInterface.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "securityGroupIds"))
470
+ VpcInterface.add_member(:subnet_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "subnetId"))
471
+ VpcInterface.struct_class = Types::VpcInterface
472
+
473
+ VpcInterfaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
474
+ VpcInterfaceRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "roleArn"))
475
+ VpcInterfaceRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "securityGroupIds"))
476
+ VpcInterfaceRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "subnetId"))
477
+ VpcInterfaceRequest.struct_class = Types::VpcInterfaceRequest
478
+
436
479
  __listOfAddOutputRequest.member = Shapes::ShapeRef.new(shape: AddOutputRequest)
437
480
 
438
481
  __listOfEntitlement.member = Shapes::ShapeRef.new(shape: Entitlement)
@@ -449,6 +492,10 @@ module Aws::MediaConnect
449
492
 
450
493
  __listOfSource.member = Shapes::ShapeRef.new(shape: Source)
451
494
 
495
+ __listOfVpcInterface.member = Shapes::ShapeRef.new(shape: VpcInterface)
496
+
497
+ __listOfVpcInterfaceRequest.member = Shapes::ShapeRef.new(shape: VpcInterfaceRequest)
498
+
452
499
  __listOf__integer.member = Shapes::ShapeRef.new(shape: __integer)
453
500
 
454
501
  __listOf__string.member = Shapes::ShapeRef.new(shape: __string)
@@ -503,6 +550,20 @@ module Aws::MediaConnect
503
550
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
504
551
  end)
505
552
 
553
+ api.add_operation(:add_flow_vpc_interfaces, Seahorse::Model::Operation.new.tap do |o|
554
+ o.name = "AddFlowVpcInterfaces"
555
+ o.http_method = "POST"
556
+ o.http_request_uri = "/v1/flows/{flowArn}/vpcInterfaces"
557
+ o.input = Shapes::ShapeRef.new(shape: AddFlowVpcInterfacesRequest)
558
+ o.output = Shapes::ShapeRef.new(shape: AddFlowVpcInterfacesResponse)
559
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
560
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
561
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
562
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
563
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
564
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
565
+ end)
566
+
506
567
  api.add_operation(:create_flow, Seahorse::Model::Operation.new.tap do |o|
507
568
  o.name = "CreateFlow"
508
569
  o.http_method = "POST"
@@ -635,6 +696,20 @@ module Aws::MediaConnect
635
696
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
636
697
  end)
637
698
 
699
+ api.add_operation(:remove_flow_vpc_interface, Seahorse::Model::Operation.new.tap do |o|
700
+ o.name = "RemoveFlowVpcInterface"
701
+ o.http_method = "DELETE"
702
+ o.http_request_uri = "/v1/flows/{flowArn}/vpcInterfaces/{vpcInterfaceName}"
703
+ o.input = Shapes::ShapeRef.new(shape: RemoveFlowVpcInterfaceRequest)
704
+ o.output = Shapes::ShapeRef.new(shape: RemoveFlowVpcInterfaceResponse)
705
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
706
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
707
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
708
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
709
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
710
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
711
+ end)
712
+
638
713
  api.add_operation(:revoke_flow_entitlement, Seahorse::Model::Operation.new.tap do |o|
639
714
  o.name = "RevokeFlowEntitlement"
640
715
  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 ({})
@@ -119,6 +119,7 @@ module Aws::MediaConnect
119
119
  # name: "__string",
120
120
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
121
121
  # stream_id: "__string",
122
+ # vpc_interface_name: "__string",
122
123
  # whitelist_cidr: "__string",
123
124
  # },
124
125
  # ],
@@ -158,6 +159,57 @@ module Aws::MediaConnect
158
159
  include Aws::Structure
159
160
  end
160
161
 
162
+ # Adds VPC interfaces to an existing flow.
163
+ #
164
+ # @note When making an API call, you may pass AddFlowVpcInterfacesRequest
165
+ # data as a hash:
166
+ #
167
+ # {
168
+ # flow_arn: "__string", # required
169
+ # vpc_interfaces: [ # required
170
+ # {
171
+ # name: "__string", # required
172
+ # role_arn: "__string", # required
173
+ # security_group_ids: ["__string"], # required
174
+ # subnet_id: "__string", # required
175
+ # },
176
+ # ],
177
+ # }
178
+ #
179
+ # @!attribute [rw] flow_arn
180
+ # @return [String]
181
+ #
182
+ # @!attribute [rw] vpc_interfaces
183
+ # A list of VPC interfaces that you want to add.
184
+ # @return [Array<Types::VpcInterfaceRequest>]
185
+ #
186
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowVpcInterfacesRequest AWS API Documentation
187
+ #
188
+ class AddFlowVpcInterfacesRequest < Struct.new(
189
+ :flow_arn,
190
+ :vpc_interfaces)
191
+ include Aws::Structure
192
+ end
193
+
194
+ # The result of a successful AddFlowVpcInterfaces request. The response
195
+ # includes the details of the newly added VPC interfaces.
196
+ #
197
+ # @!attribute [rw] flow_arn
198
+ # The ARN of the flow that these VPC interfaces were added to.
199
+ # @return [String]
200
+ #
201
+ # @!attribute [rw] vpc_interfaces
202
+ # The details of the newly added VPC interfaces.
203
+ # @return [Array<Types::VpcInterface>]
204
+ #
205
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowVpcInterfacesResponse AWS API Documentation
206
+ #
207
+ class AddFlowVpcInterfacesResponse < Struct.new(
208
+ :flow_arn,
209
+ :vpc_interfaces)
210
+ include Aws::Structure
211
+ end
212
+
161
213
  # The output that you want to add to this flow.
162
214
  #
163
215
  # @note When making an API call, you may pass AddOutputRequest
@@ -358,6 +410,7 @@ module Aws::MediaConnect
358
410
  # name: "__string",
359
411
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
360
412
  # stream_id: "__string",
413
+ # vpc_interface_name: "__string",
361
414
  # whitelist_cidr: "__string",
362
415
  # },
363
416
  # source_failover_config: {
@@ -385,9 +438,18 @@ module Aws::MediaConnect
385
438
  # name: "__string",
386
439
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
387
440
  # stream_id: "__string",
441
+ # vpc_interface_name: "__string",
388
442
  # whitelist_cidr: "__string",
389
443
  # },
390
444
  # ],
445
+ # vpc_interfaces: [
446
+ # {
447
+ # name: "__string", # required
448
+ # role_arn: "__string", # required
449
+ # security_group_ids: ["__string"], # required
450
+ # subnet_id: "__string", # required
451
+ # },
452
+ # ],
391
453
  # }
392
454
  #
393
455
  # @!attribute [rw] availability_zone
@@ -419,6 +481,10 @@ module Aws::MediaConnect
419
481
  # @!attribute [rw] sources
420
482
  # @return [Array<Types::SetSourceRequest>]
421
483
  #
484
+ # @!attribute [rw] vpc_interfaces
485
+ # The VPC interfaces you want on the flow.
486
+ # @return [Array<Types::VpcInterfaceRequest>]
487
+ #
422
488
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/CreateFlowRequest AWS API Documentation
423
489
  #
424
490
  class CreateFlowRequest < Struct.new(
@@ -428,7 +494,8 @@ module Aws::MediaConnect
428
494
  :outputs,
429
495
  :source,
430
496
  :source_failover_config,
431
- :sources)
497
+ :sources,
498
+ :vpc_interfaces)
432
499
  include Aws::Structure
433
500
  end
434
501
 
@@ -719,6 +786,10 @@ module Aws::MediaConnect
719
786
  # The current status of the flow.
720
787
  # @return [String]
721
788
  #
789
+ # @!attribute [rw] vpc_interfaces
790
+ # The VPC Interfaces for this flow.
791
+ # @return [Array<Types::VpcInterface>]
792
+ #
722
793
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Flow AWS API Documentation
723
794
  #
724
795
  class Flow < Struct.new(
@@ -732,7 +803,8 @@ module Aws::MediaConnect
732
803
  :source,
733
804
  :source_failover_config,
734
805
  :sources,
735
- :status)
806
+ :status,
807
+ :vpc_interfaces)
736
808
  include Aws::Structure
737
809
  end
738
810
 
@@ -1267,6 +1339,54 @@ module Aws::MediaConnect
1267
1339
  include Aws::Structure
1268
1340
  end
1269
1341
 
1342
+ # @note When making an API call, you may pass RemoveFlowVpcInterfaceRequest
1343
+ # data as a hash:
1344
+ #
1345
+ # {
1346
+ # flow_arn: "__string", # required
1347
+ # vpc_interface_name: "__string", # required
1348
+ # }
1349
+ #
1350
+ # @!attribute [rw] flow_arn
1351
+ # @return [String]
1352
+ #
1353
+ # @!attribute [rw] vpc_interface_name
1354
+ # @return [String]
1355
+ #
1356
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowVpcInterfaceRequest AWS API Documentation
1357
+ #
1358
+ class RemoveFlowVpcInterfaceRequest < Struct.new(
1359
+ :flow_arn,
1360
+ :vpc_interface_name)
1361
+ include Aws::Structure
1362
+ end
1363
+
1364
+ # The result of a successful RemoveFlowVpcInterface request including
1365
+ # the flow ARN and the VPC interface name that was removed.
1366
+ #
1367
+ # @!attribute [rw] flow_arn
1368
+ # The ARN of the flow that is associated with the VPC interface you
1369
+ # removed.
1370
+ # @return [String]
1371
+ #
1372
+ # @!attribute [rw] non_deleted_network_interface_ids
1373
+ # IDs of network interfaces associated with the removed VPC interface
1374
+ # that Media Connect was unable to remove.
1375
+ # @return [Array<String>]
1376
+ #
1377
+ # @!attribute [rw] vpc_interface_name
1378
+ # The name of the VPC interface that was removed.
1379
+ # @return [String]
1380
+ #
1381
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowVpcInterfaceResponse AWS API Documentation
1382
+ #
1383
+ class RemoveFlowVpcInterfaceResponse < Struct.new(
1384
+ :flow_arn,
1385
+ :non_deleted_network_interface_ids,
1386
+ :vpc_interface_name)
1387
+ include Aws::Structure
1388
+ end
1389
+
1270
1390
  # Exception raised by AWS Elemental MediaConnect. See the error message
1271
1391
  # and documentation for the operation for more information on the cause
1272
1392
  # of this exception.
@@ -1363,6 +1483,7 @@ module Aws::MediaConnect
1363
1483
  # name: "__string",
1364
1484
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
1365
1485
  # stream_id: "__string",
1486
+ # vpc_interface_name: "__string",
1366
1487
  # whitelist_cidr: "__string",
1367
1488
  # }
1368
1489
  #
@@ -1408,6 +1529,10 @@ module Aws::MediaConnect
1408
1529
  # parameter applies only to Zixi-based streams.
1409
1530
  # @return [String]
1410
1531
  #
1532
+ # @!attribute [rw] vpc_interface_name
1533
+ # The name of the VPC interface to use for this source.
1534
+ # @return [String]
1535
+ #
1411
1536
  # @!attribute [rw] whitelist_cidr
1412
1537
  # The range of IP addresses that should be allowed to contribute
1413
1538
  # content to your source. These IP addresses should be in the form of
@@ -1427,6 +1552,7 @@ module Aws::MediaConnect
1427
1552
  :name,
1428
1553
  :protocol,
1429
1554
  :stream_id,
1555
+ :vpc_interface_name,
1430
1556
  :whitelist_cidr)
1431
1557
  include Aws::Structure
1432
1558
  end
@@ -1477,6 +1603,10 @@ module Aws::MediaConnect
1477
1603
  # source.
1478
1604
  # @return [Types::Transport]
1479
1605
  #
1606
+ # @!attribute [rw] vpc_interface_name
1607
+ # The name of the VPC Interface this Source is configured with.
1608
+ # @return [String]
1609
+ #
1480
1610
  # @!attribute [rw] whitelist_cidr
1481
1611
  # The range of IP addresses that should be allowed to contribute
1482
1612
  # content to your source. These IP addresses should be in the form of
@@ -1496,6 +1626,7 @@ module Aws::MediaConnect
1496
1626
  :name,
1497
1627
  :source_arn,
1498
1628
  :transport,
1629
+ :vpc_interface_name,
1499
1630
  :whitelist_cidr)
1500
1631
  include Aws::Structure
1501
1632
  end
@@ -2064,6 +2195,7 @@ module Aws::MediaConnect
2064
2195
  # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
2065
2196
  # source_arn: "__string", # required
2066
2197
  # stream_id: "__string",
2198
+ # vpc_interface_name: "__string",
2067
2199
  # whitelist_cidr: "__string",
2068
2200
  # }
2069
2201
  #
@@ -2111,6 +2243,10 @@ module Aws::MediaConnect
2111
2243
  # parameter applies only to Zixi-based streams.
2112
2244
  # @return [String]
2113
2245
  #
2246
+ # @!attribute [rw] vpc_interface_name
2247
+ # The name of the VPC Interface to configure this Source with.
2248
+ # @return [String]
2249
+ #
2114
2250
  # @!attribute [rw] whitelist_cidr
2115
2251
  # The range of IP addresses that should be allowed to contribute
2116
2252
  # content to your source. These IP addresses should be in the form of
@@ -2131,6 +2267,7 @@ module Aws::MediaConnect
2131
2267
  :protocol,
2132
2268
  :source_arn,
2133
2269
  :stream_id,
2270
+ :vpc_interface_name,
2134
2271
  :whitelist_cidr)
2135
2272
  include Aws::Structure
2136
2273
  end
@@ -2155,5 +2292,81 @@ module Aws::MediaConnect
2155
2292
  include Aws::Structure
2156
2293
  end
2157
2294
 
2295
+ # The settings for a VPC Source.
2296
+ #
2297
+ # @!attribute [rw] name
2298
+ # Immutable and has to be a unique against other VpcInterfaces in this
2299
+ # Flow
2300
+ # @return [String]
2301
+ #
2302
+ # @!attribute [rw] network_interface_ids
2303
+ # IDs of the network interfaces created in customer's account by
2304
+ # MediaConnect.
2305
+ # @return [Array<String>]
2306
+ #
2307
+ # @!attribute [rw] role_arn
2308
+ # Role Arn MediaConnect can assumes to create ENIs in customer's
2309
+ # account
2310
+ # @return [String]
2311
+ #
2312
+ # @!attribute [rw] security_group_ids
2313
+ # Security Group IDs to be used on ENI.
2314
+ # @return [Array<String>]
2315
+ #
2316
+ # @!attribute [rw] subnet_id
2317
+ # Subnet must be in the AZ of the Flow
2318
+ # @return [String]
2319
+ #
2320
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/VpcInterface AWS API Documentation
2321
+ #
2322
+ class VpcInterface < Struct.new(
2323
+ :name,
2324
+ :network_interface_ids,
2325
+ :role_arn,
2326
+ :security_group_ids,
2327
+ :subnet_id)
2328
+ include Aws::Structure
2329
+ end
2330
+
2331
+ # Desired VPC Interface for a Flow
2332
+ #
2333
+ # @note When making an API call, you may pass VpcInterfaceRequest
2334
+ # data as a hash:
2335
+ #
2336
+ # {
2337
+ # name: "__string", # required
2338
+ # role_arn: "__string", # required
2339
+ # security_group_ids: ["__string"], # required
2340
+ # subnet_id: "__string", # required
2341
+ # }
2342
+ #
2343
+ # @!attribute [rw] name
2344
+ # The name of the VPC Interface. This value must be unique within the
2345
+ # current flow.
2346
+ # @return [String]
2347
+ #
2348
+ # @!attribute [rw] role_arn
2349
+ # Role Arn MediaConnect can assumes to create ENIs in customer's
2350
+ # account
2351
+ # @return [String]
2352
+ #
2353
+ # @!attribute [rw] security_group_ids
2354
+ # Security Group IDs to be used on ENI.
2355
+ # @return [Array<String>]
2356
+ #
2357
+ # @!attribute [rw] subnet_id
2358
+ # Subnet must be in the AZ of the Flow
2359
+ # @return [String]
2360
+ #
2361
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/VpcInterfaceRequest AWS API Documentation
2362
+ #
2363
+ class VpcInterfaceRequest < Struct.new(
2364
+ :name,
2365
+ :role_arn,
2366
+ :security_group_ids,
2367
+ :subnet_id)
2368
+ include Aws::Structure
2369
+ end
2370
+
2158
2371
  end
2159
2372
  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.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-18 00:00:00.000000000 Z
11
+ date: 2020-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core