Skip to content

Commit 7df257c

Browse files
author
AWS
committed
AWS MediaConnect Update: For flows that use Listener protocols, you can now easily locate an output's outbound IP address for a private internet. Additionally, MediaConnect now supports the Waiters feature that makes it easier to poll for the status of a flow until it reaches its desired state.
1 parent 49f9898 commit 7df257c

File tree

3 files changed

+129
-0
lines changed

3 files changed

+129
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS MediaConnect",
4+
"contributor": "",
5+
"description": "For flows that use Listener protocols, you can now easily locate an output's outbound IP address for a private internet. Additionally, MediaConnect now supports the Waiters feature that makes it easier to poll for the status of a flow until it reaches its desired state."
6+
}

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2151,6 +2151,11 @@
21512151
"locationName": "entitlementArn",
21522152
"documentation": "The ARN of the entitlement on the originator''s flow. This value is relevant only on entitled flows."
21532153
},
2154+
"ListenerAddress": {
2155+
"shape": "__string",
2156+
"locationName": "listenerAddress",
2157+
"documentation": "The IP address that the receiver requires in order to establish a connection with the flow. For public networking, the ListenerAddress is represented by the elastic IP address of the flow. For private networking, the ListenerAddress is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the Zixi pull or SRT listener protocol."
2158+
},
21542159
"MediaLiveInputArn": {
21552160
"shape": "__string",
21562161
"locationName": "mediaLiveInputArn",
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
{
2+
"version": 2,
3+
"waiters": {
4+
"FlowActive": {
5+
"description": "Wait until a flow is active",
6+
"operation": "DescribeFlow",
7+
"delay": 3,
8+
"maxAttempts": 40,
9+
"acceptors": [
10+
{
11+
"state": "success",
12+
"matcher": "path",
13+
"argument": "Flow.Status",
14+
"expected": "ACTIVE"
15+
},
16+
{
17+
"state": "retry",
18+
"matcher": "path",
19+
"argument": "Flow.Status",
20+
"expected": "STARTING"
21+
},
22+
{
23+
"state": "retry",
24+
"matcher": "path",
25+
"argument": "Flow.Status",
26+
"expected": "UPDATING"
27+
},
28+
{
29+
"state": "retry",
30+
"matcher": "status",
31+
"expected": 500
32+
},
33+
{
34+
"state": "retry",
35+
"matcher": "status",
36+
"expected": 503
37+
},
38+
{
39+
"state": "failure",
40+
"matcher": "path",
41+
"argument": "Flow.Status",
42+
"expected": "ERROR"
43+
}
44+
]
45+
},
46+
"FlowStandby": {
47+
"description": "Wait until a flow is in standby mode",
48+
"operation": "DescribeFlow",
49+
"delay": 3,
50+
"maxAttempts": 40,
51+
"acceptors": [
52+
{
53+
"state": "success",
54+
"matcher": "path",
55+
"argument": "Flow.Status",
56+
"expected": "STANDBY"
57+
},
58+
{
59+
"state": "retry",
60+
"matcher": "path",
61+
"argument": "Flow.Status",
62+
"expected": "STOPPING"
63+
},
64+
{
65+
"state": "retry",
66+
"matcher": "status",
67+
"expected": 500
68+
},
69+
{
70+
"state": "retry",
71+
"matcher": "status",
72+
"expected": 503
73+
},
74+
{
75+
"state": "failure",
76+
"matcher": "path",
77+
"argument": "Flow.Status",
78+
"expected": "ERROR"
79+
}
80+
]
81+
},
82+
"FlowDeleted": {
83+
"description": "Wait until a flow is deleted",
84+
"operation": "DescribeFlow",
85+
"delay": 3,
86+
"maxAttempts": 40,
87+
"acceptors": [
88+
{
89+
"state": "success",
90+
"matcher": "status",
91+
"expected": 404
92+
},
93+
{
94+
"state": "retry",
95+
"matcher": "path",
96+
"argument": "Flow.Status",
97+
"expected": "DELETING"
98+
},
99+
{
100+
"state": "retry",
101+
"matcher": "status",
102+
"expected": 500
103+
},
104+
{
105+
"state": "retry",
106+
"matcher": "status",
107+
"expected": 503
108+
},
109+
{
110+
"state": "failure",
111+
"matcher": "path",
112+
"argument": "Flow.Status",
113+
"expected": "ERROR"
114+
}
115+
]
116+
}
117+
}
118+
}

0 commit comments

Comments
 (0)