Skip to content

Commit 60d8207

Browse files
author
AWS
committed
AWS MediaConnect Update: You can now send content from your virtual private cloud (VPC) to your MediaConnect flow without going over the public internet.
1 parent fb8101c commit 60d8207

File tree

2 files changed

+274
-1
lines changed

2 files changed

+274
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS MediaConnect",
4+
"description": "You can now send content from your virtual private cloud (VPC) to your MediaConnect flow without going over the public internet."
5+
}

services/mediaconnect/src/main/resources/codegen-resources/service-2.json

Lines changed: 269 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,48 @@
9999
],
100100
"documentation": "Adds Sources to flow"
101101
},
102+
"AddFlowVpcInterfaces": {
103+
"name": "AddFlowVpcInterfaces",
104+
"http": {
105+
"method": "POST",
106+
"requestUri": "/v1/flows/{flowArn}/vpcInterfaces",
107+
"responseCode": 201
108+
},
109+
"input": {
110+
"shape": "AddFlowVpcInterfacesRequest"
111+
},
112+
"output": {
113+
"shape": "AddFlowVpcInterfacesResponse",
114+
"documentation": "The following VPC interface was added to the Flow configuration."
115+
},
116+
"errors": [
117+
{
118+
"shape": "BadRequestException",
119+
"documentation": "The request that you submitted is not valid."
120+
},
121+
{
122+
"shape": "InternalServerErrorException",
123+
"documentation": "AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition."
124+
},
125+
{
126+
"shape": "ForbiddenException",
127+
"documentation": "You don't have the required permissions to perform this operation."
128+
},
129+
{
130+
"shape": "NotFoundException",
131+
"documentation": "AWS Elemental MediaConnect did not find the resource that you specified in the request."
132+
},
133+
{
134+
"shape": "ServiceUnavailableException",
135+
"documentation": "AWS Elemental MediaConnect is currently unavailable. Try again later."
136+
},
137+
{
138+
"shape": "TooManyRequestsException",
139+
"documentation": "You have exceeded the service request rate limit for your AWS Elemental MediaConnect account."
140+
}
141+
],
142+
"documentation": "Adds VPC interfaces to flow"
143+
},
102144
"CreateFlow": {
103145
"name": "CreateFlow",
104146
"http": {
@@ -453,6 +495,48 @@
453495
],
454496
"documentation": "Removes a source from an existing flow. This request can be made only if there is more than one source on the flow."
455497
},
498+
"RemoveFlowVpcInterface": {
499+
"name": "RemoveFlowVpcInterface",
500+
"http": {
501+
"method": "DELETE",
502+
"requestUri": "/v1/flows/{flowArn}/vpcInterfaces/{vpcInterfaceName}",
503+
"responseCode": 200
504+
},
505+
"input": {
506+
"shape": "RemoveFlowVpcInterfaceRequest"
507+
},
508+
"output": {
509+
"shape": "RemoveFlowVpcInterfaceResponse",
510+
"documentation": "VPC interface successfully removed from flow configuration."
511+
},
512+
"errors": [
513+
{
514+
"shape": "BadRequestException",
515+
"documentation": "The request that you submitted is not valid."
516+
},
517+
{
518+
"shape": "InternalServerErrorException",
519+
"documentation": "AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition."
520+
},
521+
{
522+
"shape": "ForbiddenException",
523+
"documentation": "You don't have the required permissions to perform this operation."
524+
},
525+
{
526+
"shape": "NotFoundException",
527+
"documentation": "AWS Elemental MediaConnect did not find the resource that you specified in the request."
528+
},
529+
{
530+
"shape": "ServiceUnavailableException",
531+
"documentation": "AWS Elemental MediaConnect is currently unavailable. Try again later."
532+
},
533+
{
534+
"shape": "TooManyRequestsException",
535+
"documentation": "You have exceeded the service request rate limit for your AWS Elemental MediaConnect account."
536+
}
537+
],
538+
"documentation": "Removes a VPC Interface from an existing flow. This request can be made only on a VPC interface that does not have a Source or Output associated with it. If the VPC interface is referenced by a Source or Output, you must first delete or update the Source or Output to no longer reference the VPC interface."
539+
},
456540
"RevokeFlowEntitlement": {
457541
"name": "RevokeFlowEntitlement",
458542
"http": {
@@ -891,6 +975,42 @@
891975
}
892976
}
893977
},
978+
"AddFlowVpcInterfacesRequest": {
979+
"type": "structure",
980+
"members": {
981+
"FlowArn": {
982+
"shape": "__string",
983+
"location": "uri",
984+
"locationName": "flowArn",
985+
"documentation": "The flow that you want to mutate."
986+
},
987+
"VpcInterfaces": {
988+
"shape": "__listOfVpcInterfaceRequest",
989+
"locationName": "vpcInterfaces",
990+
"documentation": "A list of VPC interfaces that you want to add."
991+
}
992+
},
993+
"documentation": "A request to add VPC interfaces to the flow.",
994+
"required": [
995+
"FlowArn",
996+
"VpcInterfaces"
997+
]
998+
},
999+
"AddFlowVpcInterfacesResponse": {
1000+
"type": "structure",
1001+
"members": {
1002+
"FlowArn": {
1003+
"shape": "__string",
1004+
"locationName": "flowArn",
1005+
"documentation": "The ARN of the flow that these VPC interfaces were added to."
1006+
},
1007+
"VpcInterfaces": {
1008+
"shape": "__listOfVpcInterface",
1009+
"locationName": "vpcInterfaces",
1010+
"documentation": "The details of the newly added VPC interfaces."
1011+
}
1012+
}
1013+
},
8941014
"AddOutputRequest": {
8951015
"type": "structure",
8961016
"members": {
@@ -1033,6 +1153,11 @@
10331153
"Sources": {
10341154
"shape": "__listOfSetSourceRequest",
10351155
"locationName": "sources"
1156+
},
1157+
"VpcInterfaces": {
1158+
"shape": "__listOfVpcInterfaceRequest",
1159+
"locationName": "vpcInterfaces",
1160+
"documentation": "The VPC interfaces you want on the flow."
10361161
}
10371162
},
10381163
"documentation": "Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).",
@@ -1270,6 +1395,11 @@
12701395
"shape": "Status",
12711396
"locationName": "status",
12721397
"documentation": "The current status of the flow."
1398+
},
1399+
"VpcInterfaces": {
1400+
"shape": "__listOfVpcInterface",
1401+
"locationName": "vpcInterfaces",
1402+
"documentation": "The VPC Interfaces for this flow."
12731403
}
12741404
},
12751405
"documentation": "The settings for a flow, including its source, outputs, and entitlements.",
@@ -1750,6 +1880,47 @@
17501880
}
17511881
}
17521882
},
1883+
"RemoveFlowVpcInterfaceRequest": {
1884+
"type": "structure",
1885+
"members": {
1886+
"FlowArn": {
1887+
"shape": "__string",
1888+
"location": "uri",
1889+
"locationName": "flowArn",
1890+
"documentation": "The flow that you want to remove a VPC interface from."
1891+
},
1892+
"VpcInterfaceName": {
1893+
"shape": "__string",
1894+
"location": "uri",
1895+
"locationName": "vpcInterfaceName",
1896+
"documentation": "The name of the VPC interface that you want to remove."
1897+
}
1898+
},
1899+
"required": [
1900+
"FlowArn",
1901+
"VpcInterfaceName"
1902+
]
1903+
},
1904+
"RemoveFlowVpcInterfaceResponse": {
1905+
"type": "structure",
1906+
"members": {
1907+
"FlowArn": {
1908+
"shape": "__string",
1909+
"locationName": "flowArn",
1910+
"documentation": "The ARN of the flow that is associated with the VPC interface you removed."
1911+
},
1912+
"NonDeletedNetworkInterfaceIds": {
1913+
"shape": "__listOf__string",
1914+
"locationName": "nonDeletedNetworkInterfaceIds",
1915+
"documentation": "IDs of network interfaces associated with the removed VPC interface that Media Connect was unable to remove."
1916+
},
1917+
"VpcInterfaceName": {
1918+
"shape": "__string",
1919+
"locationName": "vpcInterfaceName",
1920+
"documentation": "The name of the VPC interface that was removed."
1921+
}
1922+
}
1923+
},
17531924
"ResponseError": {
17541925
"type": "structure",
17551926
"members": {
@@ -1866,6 +2037,11 @@
18662037
"locationName": "streamId",
18672038
"documentation": "The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams."
18682039
},
2040+
"VpcInterfaceName": {
2041+
"shape": "__string",
2042+
"locationName": "vpcInterfaceName",
2043+
"documentation": "The name of the VPC interface to use for this source."
2044+
},
18692045
"WhitelistCidr": {
18702046
"shape": "__string",
18712047
"locationName": "whitelistCidr",
@@ -1922,6 +2098,11 @@
19222098
"locationName": "transport",
19232099
"documentation": "Attributes related to the transport stream that are used in the source."
19242100
},
2101+
"VpcInterfaceName": {
2102+
"shape": "__string",
2103+
"locationName": "vpcInterfaceName",
2104+
"documentation": "The name of the VPC Interface this Source is configured with."
2105+
},
19252106
"WhitelistCidr": {
19262107
"shape": "__string",
19272108
"locationName": "whitelistCidr",
@@ -2408,6 +2589,11 @@
24082589
"locationName": "streamId",
24092590
"documentation": "The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams."
24102591
},
2592+
"VpcInterfaceName": {
2593+
"shape": "__string",
2594+
"locationName": "vpcInterfaceName",
2595+
"documentation": "The name of the VPC Interface to configure this Source with."
2596+
},
24112597
"WhitelistCidr": {
24122598
"shape": "__string",
24132599
"locationName": "whitelistCidr",
@@ -2435,6 +2621,76 @@
24352621
}
24362622
}
24372623
},
2624+
"VpcInterface": {
2625+
"type": "structure",
2626+
"members": {
2627+
"Name": {
2628+
"shape": "__string",
2629+
"locationName": "name",
2630+
"documentation": "Immutable and has to be a unique against other VpcInterfaces in this Flow"
2631+
},
2632+
"NetworkInterfaceIds": {
2633+
"shape": "__listOf__string",
2634+
"locationName": "networkInterfaceIds",
2635+
"documentation": "IDs of the network interfaces created in customer's account by MediaConnect."
2636+
},
2637+
"RoleArn": {
2638+
"shape": "__string",
2639+
"locationName": "roleArn",
2640+
"documentation": "Role Arn MediaConnect can assumes to create ENIs in customer's account"
2641+
},
2642+
"SecurityGroupIds": {
2643+
"shape": "__listOf__string",
2644+
"locationName": "securityGroupIds",
2645+
"documentation": "Security Group IDs to be used on ENI."
2646+
},
2647+
"SubnetId": {
2648+
"shape": "__string",
2649+
"locationName": "subnetId",
2650+
"documentation": "Subnet must be in the AZ of the Flow"
2651+
}
2652+
},
2653+
"documentation": "The settings for a VPC Source.",
2654+
"required": [
2655+
"NetworkInterfaceIds",
2656+
"SubnetId",
2657+
"SecurityGroupIds",
2658+
"RoleArn",
2659+
"Name"
2660+
]
2661+
},
2662+
"VpcInterfaceRequest": {
2663+
"type": "structure",
2664+
"members": {
2665+
"Name": {
2666+
"shape": "__string",
2667+
"locationName": "name",
2668+
"documentation": "The name of the VPC Interface. This value must be unique within the current flow."
2669+
},
2670+
"RoleArn": {
2671+
"shape": "__string",
2672+
"locationName": "roleArn",
2673+
"documentation": "Role Arn MediaConnect can assumes to create ENIs in customer's account"
2674+
},
2675+
"SecurityGroupIds": {
2676+
"shape": "__listOf__string",
2677+
"locationName": "securityGroupIds",
2678+
"documentation": "Security Group IDs to be used on ENI."
2679+
},
2680+
"SubnetId": {
2681+
"shape": "__string",
2682+
"locationName": "subnetId",
2683+
"documentation": "Subnet must be in the AZ of the Flow"
2684+
}
2685+
},
2686+
"documentation": "Desired VPC Interface for a Flow",
2687+
"required": [
2688+
"SubnetId",
2689+
"SecurityGroupIds",
2690+
"RoleArn",
2691+
"Name"
2692+
]
2693+
},
24382694
"__boolean": {
24392695
"type": "boolean"
24402696
},
@@ -2492,6 +2748,18 @@
24922748
"shape": "Source"
24932749
}
24942750
},
2751+
"__listOfVpcInterface": {
2752+
"type": "list",
2753+
"member": {
2754+
"shape": "VpcInterface"
2755+
}
2756+
},
2757+
"__listOfVpcInterfaceRequest": {
2758+
"type": "list",
2759+
"member": {
2760+
"shape": "VpcInterfaceRequest"
2761+
}
2762+
},
24952763
"__listOf__integer": {
24962764
"type": "list",
24972765
"member": {
@@ -2529,4 +2797,4 @@
25292797
}
25302798
},
25312799
"documentation": "API for AWS Elemental MediaConnect"
2532-
}
2800+
}

0 commit comments

Comments
 (0)