aws-sdk-mediaconnect 1.28.0 → 1.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +178 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-mediaconnect.rb +4 -3
- data/lib/aws-sdk-mediaconnect/client.rb +735 -59
- data/lib/aws-sdk-mediaconnect/client_api.rb +255 -2
- data/lib/aws-sdk-mediaconnect/errors.rb +1 -1
- data/lib/aws-sdk-mediaconnect/resource.rb +1 -1
- data/lib/aws-sdk-mediaconnect/types.rb +1256 -40
- data/lib/aws-sdk-mediaconnect/waiters.rb +266 -0
- metadata +12 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 263478eb624e667978046bbc903f411defbdddd1b355bd577b5e4e8152d7f736
|
4
|
+
data.tar.gz: 57199f133a37661d84cce007ac6ee1a950461cafe8a6234d6c2d1a01987de8e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 343e7fe6c957673cbe9ce71775896350eb5a67ecc774f2b2dd8302d2dd6d2d2cc86db5b676fcaf961a396c4ee013ca82c08fa2b39de2dd2c3aab5234e82f31b7
|
7
|
+
data.tar.gz: 8cbf47824864cd330732e6aac2999f8fdf5dd612a8771b8fe8ab7080f82e888c4f6ea40825d59ff6ba9cac401c0f8d26fc9927fd208dea9a22d4c34b59d705cf
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,178 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.33.0 (2021-05-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - MediaConnect now supports JPEG XS for AWS Cloud Digital Interface (AWS CDI) uncompressed workflows, allowing you to establish a bridge between your on-premises live video network and the AWS Cloud.
|
8
|
+
|
9
|
+
1.32.0 (2021-04-14)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - 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.
|
13
|
+
|
14
|
+
1.31.0 (2021-03-16)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds support for the SRT-listener protocol on sources and outputs.
|
18
|
+
|
19
|
+
1.30.0 (2021-03-10)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.29.0 (2021-02-02)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.28.0 (2020-09-30)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - MediaConnect now supports reservations to provide a discounted rate for a specific outbound bandwidth over a period of time.
|
33
|
+
|
34
|
+
1.27.0 (2020-09-15)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.26.0 (2020-08-25)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
43
|
+
|
44
|
+
1.25.0 (2020-07-24)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - You can now disable an entitlement to stop streaming content to the subscriber's flow temporarily. When you are ready to allow content to start streaming to the subscriber's flow again, you can enable the entitlement.
|
48
|
+
|
49
|
+
1.24.0 (2020-06-23)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
53
|
+
|
54
|
+
1.23.1 (2020-06-11)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
58
|
+
|
59
|
+
1.23.0 (2020-06-10)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Issue - This version has been yanked. (#2327).
|
63
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
64
|
+
|
65
|
+
1.22.0 (2020-05-28)
|
66
|
+
------------------
|
67
|
+
|
68
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
69
|
+
|
70
|
+
1.21.0 (2020-05-07)
|
71
|
+
------------------
|
72
|
+
|
73
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
74
|
+
|
75
|
+
1.20.0 (2020-04-07)
|
76
|
+
------------------
|
77
|
+
|
78
|
+
* Feature - You can now send content from your MediaConnect flow to your virtual private cloud (VPC) without going over the public internet.
|
79
|
+
|
80
|
+
1.19.0 (2020-04-01)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - You can now send content from your virtual private cloud (VPC) to your MediaConnect flow without going over the public internet.
|
84
|
+
|
85
|
+
1.18.0 (2020-03-18)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - Feature adds the ability for a flow to have multiple redundant sources that provides resiliency to a source failing. The new APIs added to enable the feature are, AddFlowSources, RemoveFlowSource and UpdateFlow.
|
89
|
+
|
90
|
+
1.17.0 (2020-03-09)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
94
|
+
|
95
|
+
1.16.0 (2019-10-23)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
99
|
+
|
100
|
+
1.15.0 (2019-09-19)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - When you grant an entitlement, you can now specify the percentage of the entitlement data transfer that you want the subscriber to be responsible for.
|
104
|
+
|
105
|
+
1.14.0 (2019-09-11)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - This release adds support for the RIST protocol on sources and outputs.
|
109
|
+
|
110
|
+
1.13.0 (2019-07-26)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - This release adds support for the Zixi pull protocol on outputs.
|
114
|
+
|
115
|
+
1.12.0 (2019-07-25)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
119
|
+
|
120
|
+
1.11.0 (2019-07-01)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
124
|
+
|
125
|
+
1.10.0 (2019-06-17)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
129
|
+
|
130
|
+
1.9.0 (2019-06-06)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - This release adds support for encrypting entitlements using Secure Packager and Encoder Key Exchange (SPEKE).
|
134
|
+
|
135
|
+
1.8.0 (2019-05-21)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - API update.
|
139
|
+
|
140
|
+
1.7.0 (2019-05-15)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* Feature - API update.
|
144
|
+
|
145
|
+
1.6.0 (2019-05-14)
|
146
|
+
------------------
|
147
|
+
|
148
|
+
* Feature - API update.
|
149
|
+
|
150
|
+
1.5.0 (2019-04-24)
|
151
|
+
------------------
|
152
|
+
|
153
|
+
* Feature - API update.
|
154
|
+
|
155
|
+
1.4.0 (2019-03-21)
|
156
|
+
------------------
|
157
|
+
|
158
|
+
* Feature - API update.
|
159
|
+
|
160
|
+
1.3.0 (2019-03-18)
|
161
|
+
------------------
|
162
|
+
|
163
|
+
* Feature - API update.
|
164
|
+
|
165
|
+
1.2.0 (2019-03-14)
|
166
|
+
------------------
|
167
|
+
|
168
|
+
* Feature - API update.
|
169
|
+
|
170
|
+
1.1.0 (2019-01-25)
|
171
|
+
------------------
|
172
|
+
|
173
|
+
* Feature - API update.
|
174
|
+
|
175
|
+
1.0.0 (2018-11-28)
|
176
|
+
------------------
|
177
|
+
|
178
|
+
* Feature - Initial release of `aws-sdk-mediaconnect`.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.33.0
|
data/lib/aws-sdk-mediaconnect.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -15,6 +15,7 @@ require_relative 'aws-sdk-mediaconnect/types'
|
|
15
15
|
require_relative 'aws-sdk-mediaconnect/client_api'
|
16
16
|
require_relative 'aws-sdk-mediaconnect/client'
|
17
17
|
require_relative 'aws-sdk-mediaconnect/errors'
|
18
|
+
require_relative 'aws-sdk-mediaconnect/waiters'
|
18
19
|
require_relative 'aws-sdk-mediaconnect/resource'
|
19
20
|
require_relative 'aws-sdk-mediaconnect/customizations'
|
20
21
|
|
@@ -28,7 +29,7 @@ require_relative 'aws-sdk-mediaconnect/customizations'
|
|
28
29
|
# structure.
|
29
30
|
#
|
30
31
|
# media_connect = Aws::MediaConnect::Client.new
|
31
|
-
# resp = media_connect.
|
32
|
+
# resp = media_connect.add_flow_media_streams(params)
|
32
33
|
#
|
33
34
|
# See {Client} for more information.
|
34
35
|
#
|
@@ -48,6 +49,6 @@ require_relative 'aws-sdk-mediaconnect/customizations'
|
|
48
49
|
# @!group service
|
49
50
|
module Aws::MediaConnect
|
50
51
|
|
51
|
-
GEM_VERSION = '1.
|
52
|
+
GEM_VERSION = '1.33.0'
|
52
53
|
|
53
54
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -327,6 +327,77 @@ module Aws::MediaConnect
|
|
327
327
|
|
328
328
|
# @!group API Operations
|
329
329
|
|
330
|
+
# Adds media streams to an existing flow. After you add a media stream
|
331
|
+
# to a flow, you can associate it with a source and/or an output that
|
332
|
+
# uses the ST 2110 JPEG XS or CDI protocol.
|
333
|
+
#
|
334
|
+
# @option params [required, String] :flow_arn
|
335
|
+
#
|
336
|
+
# @option params [required, Array<Types::AddMediaStreamRequest>] :media_streams
|
337
|
+
# The media streams that you want to add to the flow.
|
338
|
+
#
|
339
|
+
# @return [Types::AddFlowMediaStreamsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
340
|
+
#
|
341
|
+
# * {Types::AddFlowMediaStreamsResponse#flow_arn #flow_arn} => String
|
342
|
+
# * {Types::AddFlowMediaStreamsResponse#media_streams #media_streams} => Array<Types::MediaStream>
|
343
|
+
#
|
344
|
+
# @example Request syntax with placeholder values
|
345
|
+
#
|
346
|
+
# resp = client.add_flow_media_streams({
|
347
|
+
# flow_arn: "__string", # required
|
348
|
+
# media_streams: [ # required
|
349
|
+
# {
|
350
|
+
# attributes: {
|
351
|
+
# fmtp: {
|
352
|
+
# channel_order: "__string",
|
353
|
+
# colorimetry: "BT601", # accepts BT601, BT709, BT2020, BT2100, ST2065-1, ST2065-3, XYZ
|
354
|
+
# exact_framerate: "__string",
|
355
|
+
# par: "__string",
|
356
|
+
# range: "NARROW", # accepts NARROW, FULL, FULLPROTECT
|
357
|
+
# scan_mode: "progressive", # accepts progressive, interlace, progressive-segmented-frame
|
358
|
+
# tcs: "SDR", # accepts SDR, PQ, HLG, LINEAR, BT2100LINPQ, BT2100LINHLG, ST2065-1, ST428-1, DENSITY
|
359
|
+
# },
|
360
|
+
# lang: "__string",
|
361
|
+
# },
|
362
|
+
# clock_rate: 1,
|
363
|
+
# description: "__string",
|
364
|
+
# media_stream_id: 1, # required
|
365
|
+
# media_stream_name: "__string", # required
|
366
|
+
# media_stream_type: "video", # required, accepts video, audio, ancillary-data
|
367
|
+
# video_format: "__string",
|
368
|
+
# },
|
369
|
+
# ],
|
370
|
+
# })
|
371
|
+
#
|
372
|
+
# @example Response structure
|
373
|
+
#
|
374
|
+
# resp.flow_arn #=> String
|
375
|
+
# resp.media_streams #=> Array
|
376
|
+
# resp.media_streams[0].attributes.fmtp.channel_order #=> String
|
377
|
+
# resp.media_streams[0].attributes.fmtp.colorimetry #=> String, one of "BT601", "BT709", "BT2020", "BT2100", "ST2065-1", "ST2065-3", "XYZ"
|
378
|
+
# resp.media_streams[0].attributes.fmtp.exact_framerate #=> String
|
379
|
+
# resp.media_streams[0].attributes.fmtp.par #=> String
|
380
|
+
# resp.media_streams[0].attributes.fmtp.range #=> String, one of "NARROW", "FULL", "FULLPROTECT"
|
381
|
+
# resp.media_streams[0].attributes.fmtp.scan_mode #=> String, one of "progressive", "interlace", "progressive-segmented-frame"
|
382
|
+
# resp.media_streams[0].attributes.fmtp.tcs #=> String, one of "SDR", "PQ", "HLG", "LINEAR", "BT2100LINPQ", "BT2100LINHLG", "ST2065-1", "ST428-1", "DENSITY"
|
383
|
+
# resp.media_streams[0].attributes.lang #=> String
|
384
|
+
# resp.media_streams[0].clock_rate #=> Integer
|
385
|
+
# resp.media_streams[0].description #=> String
|
386
|
+
# resp.media_streams[0].fmt #=> Integer
|
387
|
+
# resp.media_streams[0].media_stream_id #=> Integer
|
388
|
+
# resp.media_streams[0].media_stream_name #=> String
|
389
|
+
# resp.media_streams[0].media_stream_type #=> String, one of "video", "audio", "ancillary-data"
|
390
|
+
# resp.media_streams[0].video_format #=> String
|
391
|
+
#
|
392
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowMediaStreams AWS API Documentation
|
393
|
+
#
|
394
|
+
# @overload add_flow_media_streams(params = {})
|
395
|
+
# @param [Hash] params ({})
|
396
|
+
def add_flow_media_streams(params = {}, options = {})
|
397
|
+
req = build_request(:add_flow_media_streams, params)
|
398
|
+
req.send_request(options)
|
399
|
+
end
|
400
|
+
|
330
401
|
# Adds outputs to an existing flow. You can create up to 50 outputs per
|
331
402
|
# flow.
|
332
403
|
#
|
@@ -350,10 +421,10 @@ module Aws::MediaConnect
|
|
350
421
|
# description: "__string",
|
351
422
|
# destination: "__string",
|
352
423
|
# encryption: {
|
353
|
-
# algorithm: "aes128", #
|
424
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
354
425
|
# constant_initialization_vector: "__string",
|
355
426
|
# device_id: "__string",
|
356
|
-
# key_type: "speke", # accepts speke, static-key
|
427
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
357
428
|
# region: "__string",
|
358
429
|
# resource_id: "__string",
|
359
430
|
# role_arn: "__string", # required
|
@@ -361,9 +432,29 @@ module Aws::MediaConnect
|
|
361
432
|
# url: "__string",
|
362
433
|
# },
|
363
434
|
# max_latency: 1,
|
435
|
+
# media_stream_output_configurations: [
|
436
|
+
# {
|
437
|
+
# destination_configurations: [
|
438
|
+
# {
|
439
|
+
# destination_ip: "__string", # required
|
440
|
+
# destination_port: 1, # required
|
441
|
+
# interface: { # required
|
442
|
+
# name: "__string", # required
|
443
|
+
# },
|
444
|
+
# },
|
445
|
+
# ],
|
446
|
+
# encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
|
447
|
+
# encoding_parameters: {
|
448
|
+
# compression_factor: 1.0, # required
|
449
|
+
# encoder_profile: "main", # required, accepts main, high
|
450
|
+
# },
|
451
|
+
# media_stream_name: "__string", # required
|
452
|
+
# },
|
453
|
+
# ],
|
454
|
+
# min_latency: 1,
|
364
455
|
# name: "__string",
|
365
456
|
# port: 1,
|
366
|
-
# protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
|
457
|
+
# protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
|
367
458
|
# remote_id: "__string",
|
368
459
|
# smoothing_latency: 1,
|
369
460
|
# stream_id: "__string",
|
@@ -384,14 +475,25 @@ module Aws::MediaConnect
|
|
384
475
|
# resp.outputs[0].encryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
|
385
476
|
# resp.outputs[0].encryption.constant_initialization_vector #=> String
|
386
477
|
# resp.outputs[0].encryption.device_id #=> String
|
387
|
-
# resp.outputs[0].encryption.key_type #=> String, one of "speke", "static-key"
|
478
|
+
# resp.outputs[0].encryption.key_type #=> String, one of "speke", "static-key", "srt-password"
|
388
479
|
# resp.outputs[0].encryption.region #=> String
|
389
480
|
# resp.outputs[0].encryption.resource_id #=> String
|
390
481
|
# resp.outputs[0].encryption.role_arn #=> String
|
391
482
|
# resp.outputs[0].encryption.secret_arn #=> String
|
392
483
|
# resp.outputs[0].encryption.url #=> String
|
393
484
|
# resp.outputs[0].entitlement_arn #=> String
|
485
|
+
# resp.outputs[0].listener_address #=> String
|
394
486
|
# resp.outputs[0].media_live_input_arn #=> String
|
487
|
+
# resp.outputs[0].media_stream_output_configurations #=> Array
|
488
|
+
# resp.outputs[0].media_stream_output_configurations[0].destination_configurations #=> Array
|
489
|
+
# resp.outputs[0].media_stream_output_configurations[0].destination_configurations[0].destination_ip #=> String
|
490
|
+
# resp.outputs[0].media_stream_output_configurations[0].destination_configurations[0].destination_port #=> Integer
|
491
|
+
# resp.outputs[0].media_stream_output_configurations[0].destination_configurations[0].interface.name #=> String
|
492
|
+
# resp.outputs[0].media_stream_output_configurations[0].destination_configurations[0].outbound_ip #=> String
|
493
|
+
# resp.outputs[0].media_stream_output_configurations[0].encoding_name #=> String, one of "jxsv", "raw", "smpte291", "pcm"
|
494
|
+
# resp.outputs[0].media_stream_output_configurations[0].encoding_parameters.compression_factor #=> Float
|
495
|
+
# resp.outputs[0].media_stream_output_configurations[0].encoding_parameters.encoder_profile #=> String, one of "main", "high"
|
496
|
+
# resp.outputs[0].media_stream_output_configurations[0].media_stream_name #=> String
|
395
497
|
# resp.outputs[0].name #=> String
|
396
498
|
# resp.outputs[0].output_arn #=> String
|
397
499
|
# resp.outputs[0].port #=> Integer
|
@@ -399,7 +501,9 @@ module Aws::MediaConnect
|
|
399
501
|
# resp.outputs[0].transport.cidr_allow_list[0] #=> String
|
400
502
|
# resp.outputs[0].transport.max_bitrate #=> Integer
|
401
503
|
# resp.outputs[0].transport.max_latency #=> Integer
|
402
|
-
# resp.outputs[0].transport.
|
504
|
+
# resp.outputs[0].transport.max_sync_buffer #=> Integer
|
505
|
+
# resp.outputs[0].transport.min_latency #=> Integer
|
506
|
+
# resp.outputs[0].transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist", "st2110-jpegxs", "cdi", "srt-listener"
|
403
507
|
# resp.outputs[0].transport.remote_id #=> String
|
404
508
|
# resp.outputs[0].transport.smoothing_latency #=> Integer
|
405
509
|
# resp.outputs[0].transport.stream_id #=> String
|
@@ -433,10 +537,10 @@ module Aws::MediaConnect
|
|
433
537
|
# sources: [ # required
|
434
538
|
# {
|
435
539
|
# decryption: {
|
436
|
-
# algorithm: "aes128", #
|
540
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
437
541
|
# constant_initialization_vector: "__string",
|
438
542
|
# device_id: "__string",
|
439
|
-
# key_type: "speke", # accepts speke, static-key
|
543
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
440
544
|
# region: "__string",
|
441
545
|
# resource_id: "__string",
|
442
546
|
# role_arn: "__string", # required
|
@@ -448,8 +552,24 @@ module Aws::MediaConnect
|
|
448
552
|
# ingest_port: 1,
|
449
553
|
# max_bitrate: 1,
|
450
554
|
# max_latency: 1,
|
555
|
+
# max_sync_buffer: 1,
|
556
|
+
# media_stream_source_configurations: [
|
557
|
+
# {
|
558
|
+
# encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
|
559
|
+
# input_configurations: [
|
560
|
+
# {
|
561
|
+
# input_port: 1, # required
|
562
|
+
# interface: { # required
|
563
|
+
# name: "__string", # required
|
564
|
+
# },
|
565
|
+
# },
|
566
|
+
# ],
|
567
|
+
# media_stream_name: "__string", # required
|
568
|
+
# },
|
569
|
+
# ],
|
570
|
+
# min_latency: 1,
|
451
571
|
# name: "__string",
|
452
|
-
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
|
572
|
+
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
|
453
573
|
# stream_id: "__string",
|
454
574
|
# vpc_interface_name: "__string",
|
455
575
|
# whitelist_cidr: "__string",
|
@@ -465,7 +585,7 @@ module Aws::MediaConnect
|
|
465
585
|
# resp.sources[0].decryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
|
466
586
|
# resp.sources[0].decryption.constant_initialization_vector #=> String
|
467
587
|
# resp.sources[0].decryption.device_id #=> String
|
468
|
-
# resp.sources[0].decryption.key_type #=> String, one of "speke", "static-key"
|
588
|
+
# resp.sources[0].decryption.key_type #=> String, one of "speke", "static-key", "srt-password"
|
469
589
|
# resp.sources[0].decryption.region #=> String
|
470
590
|
# resp.sources[0].decryption.resource_id #=> String
|
471
591
|
# resp.sources[0].decryption.role_arn #=> String
|
@@ -475,13 +595,22 @@ module Aws::MediaConnect
|
|
475
595
|
# resp.sources[0].entitlement_arn #=> String
|
476
596
|
# resp.sources[0].ingest_ip #=> String
|
477
597
|
# resp.sources[0].ingest_port #=> Integer
|
598
|
+
# resp.sources[0].media_stream_source_configurations #=> Array
|
599
|
+
# resp.sources[0].media_stream_source_configurations[0].encoding_name #=> String, one of "jxsv", "raw", "smpte291", "pcm"
|
600
|
+
# resp.sources[0].media_stream_source_configurations[0].input_configurations #=> Array
|
601
|
+
# resp.sources[0].media_stream_source_configurations[0].input_configurations[0].input_ip #=> String
|
602
|
+
# resp.sources[0].media_stream_source_configurations[0].input_configurations[0].input_port #=> Integer
|
603
|
+
# resp.sources[0].media_stream_source_configurations[0].input_configurations[0].interface.name #=> String
|
604
|
+
# resp.sources[0].media_stream_source_configurations[0].media_stream_name #=> String
|
478
605
|
# resp.sources[0].name #=> String
|
479
606
|
# resp.sources[0].source_arn #=> String
|
480
607
|
# resp.sources[0].transport.cidr_allow_list #=> Array
|
481
608
|
# resp.sources[0].transport.cidr_allow_list[0] #=> String
|
482
609
|
# resp.sources[0].transport.max_bitrate #=> Integer
|
483
610
|
# resp.sources[0].transport.max_latency #=> Integer
|
484
|
-
# resp.sources[0].transport.
|
611
|
+
# resp.sources[0].transport.max_sync_buffer #=> Integer
|
612
|
+
# resp.sources[0].transport.min_latency #=> Integer
|
613
|
+
# resp.sources[0].transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist", "st2110-jpegxs", "cdi", "srt-listener"
|
485
614
|
# resp.sources[0].transport.remote_id #=> String
|
486
615
|
# resp.sources[0].transport.smoothing_latency #=> Integer
|
487
616
|
# resp.sources[0].transport.stream_id #=> String
|
@@ -516,6 +645,7 @@ module Aws::MediaConnect
|
|
516
645
|
# vpc_interfaces: [ # required
|
517
646
|
# {
|
518
647
|
# name: "__string", # required
|
648
|
+
# network_interface_type: "ena", # accepts ena, efa
|
519
649
|
# role_arn: "__string", # required
|
520
650
|
# security_group_ids: ["__string"], # required
|
521
651
|
# subnet_id: "__string", # required
|
@@ -530,6 +660,7 @@ module Aws::MediaConnect
|
|
530
660
|
# resp.vpc_interfaces[0].name #=> String
|
531
661
|
# resp.vpc_interfaces[0].network_interface_ids #=> Array
|
532
662
|
# resp.vpc_interfaces[0].network_interface_ids[0] #=> String
|
663
|
+
# resp.vpc_interfaces[0].network_interface_type #=> String, one of "ena", "efa"
|
533
664
|
# resp.vpc_interfaces[0].role_arn #=> String
|
534
665
|
# resp.vpc_interfaces[0].security_group_ids #=> Array
|
535
666
|
# resp.vpc_interfaces[0].security_group_ids[0] #=> String
|
@@ -555,6 +686,10 @@ module Aws::MediaConnect
|
|
555
686
|
# @option params [Array<Types::GrantEntitlementRequest>] :entitlements
|
556
687
|
# The entitlements that you want to grant on a flow.
|
557
688
|
#
|
689
|
+
# @option params [Array<Types::AddMediaStreamRequest>] :media_streams
|
690
|
+
# The media streams that you want to add to the flow. You can associate
|
691
|
+
# these media streams with sources and outputs on the flow.
|
692
|
+
#
|
558
693
|
# @option params [required, String] :name
|
559
694
|
# The name of the flow.
|
560
695
|
#
|
@@ -585,10 +720,10 @@ module Aws::MediaConnect
|
|
585
720
|
# data_transfer_subscriber_fee_percent: 1,
|
586
721
|
# description: "__string",
|
587
722
|
# encryption: {
|
588
|
-
# algorithm: "aes128", #
|
723
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
589
724
|
# constant_initialization_vector: "__string",
|
590
725
|
# device_id: "__string",
|
591
|
-
# key_type: "speke", # accepts speke, static-key
|
726
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
592
727
|
# region: "__string",
|
593
728
|
# resource_id: "__string",
|
594
729
|
# role_arn: "__string", # required
|
@@ -600,6 +735,28 @@ module Aws::MediaConnect
|
|
600
735
|
# subscribers: ["__string"], # required
|
601
736
|
# },
|
602
737
|
# ],
|
738
|
+
# media_streams: [
|
739
|
+
# {
|
740
|
+
# attributes: {
|
741
|
+
# fmtp: {
|
742
|
+
# channel_order: "__string",
|
743
|
+
# colorimetry: "BT601", # accepts BT601, BT709, BT2020, BT2100, ST2065-1, ST2065-3, XYZ
|
744
|
+
# exact_framerate: "__string",
|
745
|
+
# par: "__string",
|
746
|
+
# range: "NARROW", # accepts NARROW, FULL, FULLPROTECT
|
747
|
+
# scan_mode: "progressive", # accepts progressive, interlace, progressive-segmented-frame
|
748
|
+
# tcs: "SDR", # accepts SDR, PQ, HLG, LINEAR, BT2100LINPQ, BT2100LINHLG, ST2065-1, ST428-1, DENSITY
|
749
|
+
# },
|
750
|
+
# lang: "__string",
|
751
|
+
# },
|
752
|
+
# clock_rate: 1,
|
753
|
+
# description: "__string",
|
754
|
+
# media_stream_id: 1, # required
|
755
|
+
# media_stream_name: "__string", # required
|
756
|
+
# media_stream_type: "video", # required, accepts video, audio, ancillary-data
|
757
|
+
# video_format: "__string",
|
758
|
+
# },
|
759
|
+
# ],
|
603
760
|
# name: "__string", # required
|
604
761
|
# outputs: [
|
605
762
|
# {
|
@@ -607,10 +764,10 @@ module Aws::MediaConnect
|
|
607
764
|
# description: "__string",
|
608
765
|
# destination: "__string",
|
609
766
|
# encryption: {
|
610
|
-
# algorithm: "aes128", #
|
767
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
611
768
|
# constant_initialization_vector: "__string",
|
612
769
|
# device_id: "__string",
|
613
|
-
# key_type: "speke", # accepts speke, static-key
|
770
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
614
771
|
# region: "__string",
|
615
772
|
# resource_id: "__string",
|
616
773
|
# role_arn: "__string", # required
|
@@ -618,9 +775,29 @@ module Aws::MediaConnect
|
|
618
775
|
# url: "__string",
|
619
776
|
# },
|
620
777
|
# max_latency: 1,
|
778
|
+
# media_stream_output_configurations: [
|
779
|
+
# {
|
780
|
+
# destination_configurations: [
|
781
|
+
# {
|
782
|
+
# destination_ip: "__string", # required
|
783
|
+
# destination_port: 1, # required
|
784
|
+
# interface: { # required
|
785
|
+
# name: "__string", # required
|
786
|
+
# },
|
787
|
+
# },
|
788
|
+
# ],
|
789
|
+
# encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
|
790
|
+
# encoding_parameters: {
|
791
|
+
# compression_factor: 1.0, # required
|
792
|
+
# encoder_profile: "main", # required, accepts main, high
|
793
|
+
# },
|
794
|
+
# media_stream_name: "__string", # required
|
795
|
+
# },
|
796
|
+
# ],
|
797
|
+
# min_latency: 1,
|
621
798
|
# name: "__string",
|
622
799
|
# port: 1,
|
623
|
-
# protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
|
800
|
+
# protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
|
624
801
|
# remote_id: "__string",
|
625
802
|
# smoothing_latency: 1,
|
626
803
|
# stream_id: "__string",
|
@@ -631,10 +808,10 @@ module Aws::MediaConnect
|
|
631
808
|
# ],
|
632
809
|
# source: {
|
633
810
|
# decryption: {
|
634
|
-
# algorithm: "aes128", #
|
811
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
635
812
|
# constant_initialization_vector: "__string",
|
636
813
|
# device_id: "__string",
|
637
|
-
# key_type: "speke", # accepts speke, static-key
|
814
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
638
815
|
# region: "__string",
|
639
816
|
# resource_id: "__string",
|
640
817
|
# role_arn: "__string", # required
|
@@ -646,8 +823,24 @@ module Aws::MediaConnect
|
|
646
823
|
# ingest_port: 1,
|
647
824
|
# max_bitrate: 1,
|
648
825
|
# max_latency: 1,
|
826
|
+
# max_sync_buffer: 1,
|
827
|
+
# media_stream_source_configurations: [
|
828
|
+
# {
|
829
|
+
# encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
|
830
|
+
# input_configurations: [
|
831
|
+
# {
|
832
|
+
# input_port: 1, # required
|
833
|
+
# interface: { # required
|
834
|
+
# name: "__string", # required
|
835
|
+
# },
|
836
|
+
# },
|
837
|
+
# ],
|
838
|
+
# media_stream_name: "__string", # required
|
839
|
+
# },
|
840
|
+
# ],
|
841
|
+
# min_latency: 1,
|
649
842
|
# name: "__string",
|
650
|
-
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
|
843
|
+
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
|
651
844
|
# stream_id: "__string",
|
652
845
|
# vpc_interface_name: "__string",
|
653
846
|
# whitelist_cidr: "__string",
|
@@ -659,10 +852,10 @@ module Aws::MediaConnect
|
|
659
852
|
# sources: [
|
660
853
|
# {
|
661
854
|
# decryption: {
|
662
|
-
# algorithm: "aes128", #
|
855
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
663
856
|
# constant_initialization_vector: "__string",
|
664
857
|
# device_id: "__string",
|
665
|
-
# key_type: "speke", # accepts speke, static-key
|
858
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
666
859
|
# region: "__string",
|
667
860
|
# resource_id: "__string",
|
668
861
|
# role_arn: "__string", # required
|
@@ -674,8 +867,24 @@ module Aws::MediaConnect
|
|
674
867
|
# ingest_port: 1,
|
675
868
|
# max_bitrate: 1,
|
676
869
|
# max_latency: 1,
|
870
|
+
# max_sync_buffer: 1,
|
871
|
+
# media_stream_source_configurations: [
|
872
|
+
# {
|
873
|
+
# encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
|
874
|
+
# input_configurations: [
|
875
|
+
# {
|
876
|
+
# input_port: 1, # required
|
877
|
+
# interface: { # required
|
878
|
+
# name: "__string", # required
|
879
|
+
# },
|
880
|
+
# },
|
881
|
+
# ],
|
882
|
+
# media_stream_name: "__string", # required
|
883
|
+
# },
|
884
|
+
# ],
|
885
|
+
# min_latency: 1,
|
677
886
|
# name: "__string",
|
678
|
-
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
|
887
|
+
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
|
679
888
|
# stream_id: "__string",
|
680
889
|
# vpc_interface_name: "__string",
|
681
890
|
# whitelist_cidr: "__string",
|
@@ -684,6 +893,7 @@ module Aws::MediaConnect
|
|
684
893
|
# vpc_interfaces: [
|
685
894
|
# {
|
686
895
|
# name: "__string", # required
|
896
|
+
# network_interface_type: "ena", # accepts ena, efa
|
687
897
|
# role_arn: "__string", # required
|
688
898
|
# security_group_ids: ["__string"], # required
|
689
899
|
# subnet_id: "__string", # required
|
@@ -702,7 +912,7 @@ module Aws::MediaConnect
|
|
702
912
|
# resp.flow.entitlements[0].encryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
|
703
913
|
# resp.flow.entitlements[0].encryption.constant_initialization_vector #=> String
|
704
914
|
# resp.flow.entitlements[0].encryption.device_id #=> String
|
705
|
-
# resp.flow.entitlements[0].encryption.key_type #=> String, one of "speke", "static-key"
|
915
|
+
# resp.flow.entitlements[0].encryption.key_type #=> String, one of "speke", "static-key", "srt-password"
|
706
916
|
# resp.flow.entitlements[0].encryption.region #=> String
|
707
917
|
# resp.flow.entitlements[0].encryption.resource_id #=> String
|
708
918
|
# resp.flow.entitlements[0].encryption.role_arn #=> String
|
@@ -714,6 +924,22 @@ module Aws::MediaConnect
|
|
714
924
|
# resp.flow.entitlements[0].subscribers #=> Array
|
715
925
|
# resp.flow.entitlements[0].subscribers[0] #=> String
|
716
926
|
# resp.flow.flow_arn #=> String
|
927
|
+
# resp.flow.media_streams #=> Array
|
928
|
+
# resp.flow.media_streams[0].attributes.fmtp.channel_order #=> String
|
929
|
+
# resp.flow.media_streams[0].attributes.fmtp.colorimetry #=> String, one of "BT601", "BT709", "BT2020", "BT2100", "ST2065-1", "ST2065-3", "XYZ"
|
930
|
+
# resp.flow.media_streams[0].attributes.fmtp.exact_framerate #=> String
|
931
|
+
# resp.flow.media_streams[0].attributes.fmtp.par #=> String
|
932
|
+
# resp.flow.media_streams[0].attributes.fmtp.range #=> String, one of "NARROW", "FULL", "FULLPROTECT"
|
933
|
+
# resp.flow.media_streams[0].attributes.fmtp.scan_mode #=> String, one of "progressive", "interlace", "progressive-segmented-frame"
|
934
|
+
# resp.flow.media_streams[0].attributes.fmtp.tcs #=> String, one of "SDR", "PQ", "HLG", "LINEAR", "BT2100LINPQ", "BT2100LINHLG", "ST2065-1", "ST428-1", "DENSITY"
|
935
|
+
# resp.flow.media_streams[0].attributes.lang #=> String
|
936
|
+
# resp.flow.media_streams[0].clock_rate #=> Integer
|
937
|
+
# resp.flow.media_streams[0].description #=> String
|
938
|
+
# resp.flow.media_streams[0].fmt #=> Integer
|
939
|
+
# resp.flow.media_streams[0].media_stream_id #=> Integer
|
940
|
+
# resp.flow.media_streams[0].media_stream_name #=> String
|
941
|
+
# resp.flow.media_streams[0].media_stream_type #=> String, one of "video", "audio", "ancillary-data"
|
942
|
+
# resp.flow.media_streams[0].video_format #=> String
|
717
943
|
# resp.flow.name #=> String
|
718
944
|
# resp.flow.outputs #=> Array
|
719
945
|
# resp.flow.outputs[0].data_transfer_subscriber_fee_percent #=> Integer
|
@@ -722,14 +948,25 @@ module Aws::MediaConnect
|
|
722
948
|
# resp.flow.outputs[0].encryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
|
723
949
|
# resp.flow.outputs[0].encryption.constant_initialization_vector #=> String
|
724
950
|
# resp.flow.outputs[0].encryption.device_id #=> String
|
725
|
-
# resp.flow.outputs[0].encryption.key_type #=> String, one of "speke", "static-key"
|
951
|
+
# resp.flow.outputs[0].encryption.key_type #=> String, one of "speke", "static-key", "srt-password"
|
726
952
|
# resp.flow.outputs[0].encryption.region #=> String
|
727
953
|
# resp.flow.outputs[0].encryption.resource_id #=> String
|
728
954
|
# resp.flow.outputs[0].encryption.role_arn #=> String
|
729
955
|
# resp.flow.outputs[0].encryption.secret_arn #=> String
|
730
956
|
# resp.flow.outputs[0].encryption.url #=> String
|
731
957
|
# resp.flow.outputs[0].entitlement_arn #=> String
|
958
|
+
# resp.flow.outputs[0].listener_address #=> String
|
732
959
|
# resp.flow.outputs[0].media_live_input_arn #=> String
|
960
|
+
# resp.flow.outputs[0].media_stream_output_configurations #=> Array
|
961
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].destination_configurations #=> Array
|
962
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].destination_configurations[0].destination_ip #=> String
|
963
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].destination_configurations[0].destination_port #=> Integer
|
964
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].destination_configurations[0].interface.name #=> String
|
965
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].destination_configurations[0].outbound_ip #=> String
|
966
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].encoding_name #=> String, one of "jxsv", "raw", "smpte291", "pcm"
|
967
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].encoding_parameters.compression_factor #=> Float
|
968
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].encoding_parameters.encoder_profile #=> String, one of "main", "high"
|
969
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].media_stream_name #=> String
|
733
970
|
# resp.flow.outputs[0].name #=> String
|
734
971
|
# resp.flow.outputs[0].output_arn #=> String
|
735
972
|
# resp.flow.outputs[0].port #=> Integer
|
@@ -737,7 +974,9 @@ module Aws::MediaConnect
|
|
737
974
|
# resp.flow.outputs[0].transport.cidr_allow_list[0] #=> String
|
738
975
|
# resp.flow.outputs[0].transport.max_bitrate #=> Integer
|
739
976
|
# resp.flow.outputs[0].transport.max_latency #=> Integer
|
740
|
-
# resp.flow.outputs[0].transport.
|
977
|
+
# resp.flow.outputs[0].transport.max_sync_buffer #=> Integer
|
978
|
+
# resp.flow.outputs[0].transport.min_latency #=> Integer
|
979
|
+
# resp.flow.outputs[0].transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist", "st2110-jpegxs", "cdi", "srt-listener"
|
741
980
|
# resp.flow.outputs[0].transport.remote_id #=> String
|
742
981
|
# resp.flow.outputs[0].transport.smoothing_latency #=> Integer
|
743
982
|
# resp.flow.outputs[0].transport.stream_id #=> String
|
@@ -746,7 +985,7 @@ module Aws::MediaConnect
|
|
746
985
|
# resp.flow.source.decryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
|
747
986
|
# resp.flow.source.decryption.constant_initialization_vector #=> String
|
748
987
|
# resp.flow.source.decryption.device_id #=> String
|
749
|
-
# resp.flow.source.decryption.key_type #=> String, one of "speke", "static-key"
|
988
|
+
# resp.flow.source.decryption.key_type #=> String, one of "speke", "static-key", "srt-password"
|
750
989
|
# resp.flow.source.decryption.region #=> String
|
751
990
|
# resp.flow.source.decryption.resource_id #=> String
|
752
991
|
# resp.flow.source.decryption.role_arn #=> String
|
@@ -756,13 +995,22 @@ module Aws::MediaConnect
|
|
756
995
|
# resp.flow.source.entitlement_arn #=> String
|
757
996
|
# resp.flow.source.ingest_ip #=> String
|
758
997
|
# resp.flow.source.ingest_port #=> Integer
|
998
|
+
# resp.flow.source.media_stream_source_configurations #=> Array
|
999
|
+
# resp.flow.source.media_stream_source_configurations[0].encoding_name #=> String, one of "jxsv", "raw", "smpte291", "pcm"
|
1000
|
+
# resp.flow.source.media_stream_source_configurations[0].input_configurations #=> Array
|
1001
|
+
# resp.flow.source.media_stream_source_configurations[0].input_configurations[0].input_ip #=> String
|
1002
|
+
# resp.flow.source.media_stream_source_configurations[0].input_configurations[0].input_port #=> Integer
|
1003
|
+
# resp.flow.source.media_stream_source_configurations[0].input_configurations[0].interface.name #=> String
|
1004
|
+
# resp.flow.source.media_stream_source_configurations[0].media_stream_name #=> String
|
759
1005
|
# resp.flow.source.name #=> String
|
760
1006
|
# resp.flow.source.source_arn #=> String
|
761
1007
|
# resp.flow.source.transport.cidr_allow_list #=> Array
|
762
1008
|
# resp.flow.source.transport.cidr_allow_list[0] #=> String
|
763
1009
|
# resp.flow.source.transport.max_bitrate #=> Integer
|
764
1010
|
# resp.flow.source.transport.max_latency #=> Integer
|
765
|
-
# resp.flow.source.transport.
|
1011
|
+
# resp.flow.source.transport.max_sync_buffer #=> Integer
|
1012
|
+
# resp.flow.source.transport.min_latency #=> Integer
|
1013
|
+
# resp.flow.source.transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist", "st2110-jpegxs", "cdi", "srt-listener"
|
766
1014
|
# resp.flow.source.transport.remote_id #=> String
|
767
1015
|
# resp.flow.source.transport.smoothing_latency #=> Integer
|
768
1016
|
# resp.flow.source.transport.stream_id #=> String
|
@@ -775,7 +1023,7 @@ module Aws::MediaConnect
|
|
775
1023
|
# resp.flow.sources[0].decryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
|
776
1024
|
# resp.flow.sources[0].decryption.constant_initialization_vector #=> String
|
777
1025
|
# resp.flow.sources[0].decryption.device_id #=> String
|
778
|
-
# resp.flow.sources[0].decryption.key_type #=> String, one of "speke", "static-key"
|
1026
|
+
# resp.flow.sources[0].decryption.key_type #=> String, one of "speke", "static-key", "srt-password"
|
779
1027
|
# resp.flow.sources[0].decryption.region #=> String
|
780
1028
|
# resp.flow.sources[0].decryption.resource_id #=> String
|
781
1029
|
# resp.flow.sources[0].decryption.role_arn #=> String
|
@@ -785,13 +1033,22 @@ module Aws::MediaConnect
|
|
785
1033
|
# resp.flow.sources[0].entitlement_arn #=> String
|
786
1034
|
# resp.flow.sources[0].ingest_ip #=> String
|
787
1035
|
# resp.flow.sources[0].ingest_port #=> Integer
|
1036
|
+
# resp.flow.sources[0].media_stream_source_configurations #=> Array
|
1037
|
+
# resp.flow.sources[0].media_stream_source_configurations[0].encoding_name #=> String, one of "jxsv", "raw", "smpte291", "pcm"
|
1038
|
+
# resp.flow.sources[0].media_stream_source_configurations[0].input_configurations #=> Array
|
1039
|
+
# resp.flow.sources[0].media_stream_source_configurations[0].input_configurations[0].input_ip #=> String
|
1040
|
+
# resp.flow.sources[0].media_stream_source_configurations[0].input_configurations[0].input_port #=> Integer
|
1041
|
+
# resp.flow.sources[0].media_stream_source_configurations[0].input_configurations[0].interface.name #=> String
|
1042
|
+
# resp.flow.sources[0].media_stream_source_configurations[0].media_stream_name #=> String
|
788
1043
|
# resp.flow.sources[0].name #=> String
|
789
1044
|
# resp.flow.sources[0].source_arn #=> String
|
790
1045
|
# resp.flow.sources[0].transport.cidr_allow_list #=> Array
|
791
1046
|
# resp.flow.sources[0].transport.cidr_allow_list[0] #=> String
|
792
1047
|
# resp.flow.sources[0].transport.max_bitrate #=> Integer
|
793
1048
|
# resp.flow.sources[0].transport.max_latency #=> Integer
|
794
|
-
# resp.flow.sources[0].transport.
|
1049
|
+
# resp.flow.sources[0].transport.max_sync_buffer #=> Integer
|
1050
|
+
# resp.flow.sources[0].transport.min_latency #=> Integer
|
1051
|
+
# resp.flow.sources[0].transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist", "st2110-jpegxs", "cdi", "srt-listener"
|
795
1052
|
# resp.flow.sources[0].transport.remote_id #=> String
|
796
1053
|
# resp.flow.sources[0].transport.smoothing_latency #=> Integer
|
797
1054
|
# resp.flow.sources[0].transport.stream_id #=> String
|
@@ -802,6 +1059,7 @@ module Aws::MediaConnect
|
|
802
1059
|
# resp.flow.vpc_interfaces[0].name #=> String
|
803
1060
|
# resp.flow.vpc_interfaces[0].network_interface_ids #=> Array
|
804
1061
|
# resp.flow.vpc_interfaces[0].network_interface_ids[0] #=> String
|
1062
|
+
# resp.flow.vpc_interfaces[0].network_interface_type #=> String, one of "ena", "efa"
|
805
1063
|
# resp.flow.vpc_interfaces[0].role_arn #=> String
|
806
1064
|
# resp.flow.vpc_interfaces[0].security_group_ids #=> Array
|
807
1065
|
# resp.flow.vpc_interfaces[0].security_group_ids[0] #=> String
|
@@ -873,7 +1131,7 @@ module Aws::MediaConnect
|
|
873
1131
|
# resp.flow.entitlements[0].encryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
|
874
1132
|
# resp.flow.entitlements[0].encryption.constant_initialization_vector #=> String
|
875
1133
|
# resp.flow.entitlements[0].encryption.device_id #=> String
|
876
|
-
# resp.flow.entitlements[0].encryption.key_type #=> String, one of "speke", "static-key"
|
1134
|
+
# resp.flow.entitlements[0].encryption.key_type #=> String, one of "speke", "static-key", "srt-password"
|
877
1135
|
# resp.flow.entitlements[0].encryption.region #=> String
|
878
1136
|
# resp.flow.entitlements[0].encryption.resource_id #=> String
|
879
1137
|
# resp.flow.entitlements[0].encryption.role_arn #=> String
|
@@ -885,6 +1143,22 @@ module Aws::MediaConnect
|
|
885
1143
|
# resp.flow.entitlements[0].subscribers #=> Array
|
886
1144
|
# resp.flow.entitlements[0].subscribers[0] #=> String
|
887
1145
|
# resp.flow.flow_arn #=> String
|
1146
|
+
# resp.flow.media_streams #=> Array
|
1147
|
+
# resp.flow.media_streams[0].attributes.fmtp.channel_order #=> String
|
1148
|
+
# resp.flow.media_streams[0].attributes.fmtp.colorimetry #=> String, one of "BT601", "BT709", "BT2020", "BT2100", "ST2065-1", "ST2065-3", "XYZ"
|
1149
|
+
# resp.flow.media_streams[0].attributes.fmtp.exact_framerate #=> String
|
1150
|
+
# resp.flow.media_streams[0].attributes.fmtp.par #=> String
|
1151
|
+
# resp.flow.media_streams[0].attributes.fmtp.range #=> String, one of "NARROW", "FULL", "FULLPROTECT"
|
1152
|
+
# resp.flow.media_streams[0].attributes.fmtp.scan_mode #=> String, one of "progressive", "interlace", "progressive-segmented-frame"
|
1153
|
+
# resp.flow.media_streams[0].attributes.fmtp.tcs #=> String, one of "SDR", "PQ", "HLG", "LINEAR", "BT2100LINPQ", "BT2100LINHLG", "ST2065-1", "ST428-1", "DENSITY"
|
1154
|
+
# resp.flow.media_streams[0].attributes.lang #=> String
|
1155
|
+
# resp.flow.media_streams[0].clock_rate #=> Integer
|
1156
|
+
# resp.flow.media_streams[0].description #=> String
|
1157
|
+
# resp.flow.media_streams[0].fmt #=> Integer
|
1158
|
+
# resp.flow.media_streams[0].media_stream_id #=> Integer
|
1159
|
+
# resp.flow.media_streams[0].media_stream_name #=> String
|
1160
|
+
# resp.flow.media_streams[0].media_stream_type #=> String, one of "video", "audio", "ancillary-data"
|
1161
|
+
# resp.flow.media_streams[0].video_format #=> String
|
888
1162
|
# resp.flow.name #=> String
|
889
1163
|
# resp.flow.outputs #=> Array
|
890
1164
|
# resp.flow.outputs[0].data_transfer_subscriber_fee_percent #=> Integer
|
@@ -893,14 +1167,25 @@ module Aws::MediaConnect
|
|
893
1167
|
# resp.flow.outputs[0].encryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
|
894
1168
|
# resp.flow.outputs[0].encryption.constant_initialization_vector #=> String
|
895
1169
|
# resp.flow.outputs[0].encryption.device_id #=> String
|
896
|
-
# resp.flow.outputs[0].encryption.key_type #=> String, one of "speke", "static-key"
|
1170
|
+
# resp.flow.outputs[0].encryption.key_type #=> String, one of "speke", "static-key", "srt-password"
|
897
1171
|
# resp.flow.outputs[0].encryption.region #=> String
|
898
1172
|
# resp.flow.outputs[0].encryption.resource_id #=> String
|
899
1173
|
# resp.flow.outputs[0].encryption.role_arn #=> String
|
900
1174
|
# resp.flow.outputs[0].encryption.secret_arn #=> String
|
901
1175
|
# resp.flow.outputs[0].encryption.url #=> String
|
902
1176
|
# resp.flow.outputs[0].entitlement_arn #=> String
|
1177
|
+
# resp.flow.outputs[0].listener_address #=> String
|
903
1178
|
# resp.flow.outputs[0].media_live_input_arn #=> String
|
1179
|
+
# resp.flow.outputs[0].media_stream_output_configurations #=> Array
|
1180
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].destination_configurations #=> Array
|
1181
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].destination_configurations[0].destination_ip #=> String
|
1182
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].destination_configurations[0].destination_port #=> Integer
|
1183
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].destination_configurations[0].interface.name #=> String
|
1184
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].destination_configurations[0].outbound_ip #=> String
|
1185
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].encoding_name #=> String, one of "jxsv", "raw", "smpte291", "pcm"
|
1186
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].encoding_parameters.compression_factor #=> Float
|
1187
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].encoding_parameters.encoder_profile #=> String, one of "main", "high"
|
1188
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].media_stream_name #=> String
|
904
1189
|
# resp.flow.outputs[0].name #=> String
|
905
1190
|
# resp.flow.outputs[0].output_arn #=> String
|
906
1191
|
# resp.flow.outputs[0].port #=> Integer
|
@@ -908,7 +1193,9 @@ module Aws::MediaConnect
|
|
908
1193
|
# resp.flow.outputs[0].transport.cidr_allow_list[0] #=> String
|
909
1194
|
# resp.flow.outputs[0].transport.max_bitrate #=> Integer
|
910
1195
|
# resp.flow.outputs[0].transport.max_latency #=> Integer
|
911
|
-
# resp.flow.outputs[0].transport.
|
1196
|
+
# resp.flow.outputs[0].transport.max_sync_buffer #=> Integer
|
1197
|
+
# resp.flow.outputs[0].transport.min_latency #=> Integer
|
1198
|
+
# resp.flow.outputs[0].transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist", "st2110-jpegxs", "cdi", "srt-listener"
|
912
1199
|
# resp.flow.outputs[0].transport.remote_id #=> String
|
913
1200
|
# resp.flow.outputs[0].transport.smoothing_latency #=> Integer
|
914
1201
|
# resp.flow.outputs[0].transport.stream_id #=> String
|
@@ -917,7 +1204,7 @@ module Aws::MediaConnect
|
|
917
1204
|
# resp.flow.source.decryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
|
918
1205
|
# resp.flow.source.decryption.constant_initialization_vector #=> String
|
919
1206
|
# resp.flow.source.decryption.device_id #=> String
|
920
|
-
# resp.flow.source.decryption.key_type #=> String, one of "speke", "static-key"
|
1207
|
+
# resp.flow.source.decryption.key_type #=> String, one of "speke", "static-key", "srt-password"
|
921
1208
|
# resp.flow.source.decryption.region #=> String
|
922
1209
|
# resp.flow.source.decryption.resource_id #=> String
|
923
1210
|
# resp.flow.source.decryption.role_arn #=> String
|
@@ -927,13 +1214,22 @@ module Aws::MediaConnect
|
|
927
1214
|
# resp.flow.source.entitlement_arn #=> String
|
928
1215
|
# resp.flow.source.ingest_ip #=> String
|
929
1216
|
# resp.flow.source.ingest_port #=> Integer
|
1217
|
+
# resp.flow.source.media_stream_source_configurations #=> Array
|
1218
|
+
# resp.flow.source.media_stream_source_configurations[0].encoding_name #=> String, one of "jxsv", "raw", "smpte291", "pcm"
|
1219
|
+
# resp.flow.source.media_stream_source_configurations[0].input_configurations #=> Array
|
1220
|
+
# resp.flow.source.media_stream_source_configurations[0].input_configurations[0].input_ip #=> String
|
1221
|
+
# resp.flow.source.media_stream_source_configurations[0].input_configurations[0].input_port #=> Integer
|
1222
|
+
# resp.flow.source.media_stream_source_configurations[0].input_configurations[0].interface.name #=> String
|
1223
|
+
# resp.flow.source.media_stream_source_configurations[0].media_stream_name #=> String
|
930
1224
|
# resp.flow.source.name #=> String
|
931
1225
|
# resp.flow.source.source_arn #=> String
|
932
1226
|
# resp.flow.source.transport.cidr_allow_list #=> Array
|
933
1227
|
# resp.flow.source.transport.cidr_allow_list[0] #=> String
|
934
1228
|
# resp.flow.source.transport.max_bitrate #=> Integer
|
935
1229
|
# resp.flow.source.transport.max_latency #=> Integer
|
936
|
-
# resp.flow.source.transport.
|
1230
|
+
# resp.flow.source.transport.max_sync_buffer #=> Integer
|
1231
|
+
# resp.flow.source.transport.min_latency #=> Integer
|
1232
|
+
# resp.flow.source.transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist", "st2110-jpegxs", "cdi", "srt-listener"
|
937
1233
|
# resp.flow.source.transport.remote_id #=> String
|
938
1234
|
# resp.flow.source.transport.smoothing_latency #=> Integer
|
939
1235
|
# resp.flow.source.transport.stream_id #=> String
|
@@ -946,7 +1242,7 @@ module Aws::MediaConnect
|
|
946
1242
|
# resp.flow.sources[0].decryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
|
947
1243
|
# resp.flow.sources[0].decryption.constant_initialization_vector #=> String
|
948
1244
|
# resp.flow.sources[0].decryption.device_id #=> String
|
949
|
-
# resp.flow.sources[0].decryption.key_type #=> String, one of "speke", "static-key"
|
1245
|
+
# resp.flow.sources[0].decryption.key_type #=> String, one of "speke", "static-key", "srt-password"
|
950
1246
|
# resp.flow.sources[0].decryption.region #=> String
|
951
1247
|
# resp.flow.sources[0].decryption.resource_id #=> String
|
952
1248
|
# resp.flow.sources[0].decryption.role_arn #=> String
|
@@ -956,13 +1252,22 @@ module Aws::MediaConnect
|
|
956
1252
|
# resp.flow.sources[0].entitlement_arn #=> String
|
957
1253
|
# resp.flow.sources[0].ingest_ip #=> String
|
958
1254
|
# resp.flow.sources[0].ingest_port #=> Integer
|
1255
|
+
# resp.flow.sources[0].media_stream_source_configurations #=> Array
|
1256
|
+
# resp.flow.sources[0].media_stream_source_configurations[0].encoding_name #=> String, one of "jxsv", "raw", "smpte291", "pcm"
|
1257
|
+
# resp.flow.sources[0].media_stream_source_configurations[0].input_configurations #=> Array
|
1258
|
+
# resp.flow.sources[0].media_stream_source_configurations[0].input_configurations[0].input_ip #=> String
|
1259
|
+
# resp.flow.sources[0].media_stream_source_configurations[0].input_configurations[0].input_port #=> Integer
|
1260
|
+
# resp.flow.sources[0].media_stream_source_configurations[0].input_configurations[0].interface.name #=> String
|
1261
|
+
# resp.flow.sources[0].media_stream_source_configurations[0].media_stream_name #=> String
|
959
1262
|
# resp.flow.sources[0].name #=> String
|
960
1263
|
# resp.flow.sources[0].source_arn #=> String
|
961
1264
|
# resp.flow.sources[0].transport.cidr_allow_list #=> Array
|
962
1265
|
# resp.flow.sources[0].transport.cidr_allow_list[0] #=> String
|
963
1266
|
# resp.flow.sources[0].transport.max_bitrate #=> Integer
|
964
1267
|
# resp.flow.sources[0].transport.max_latency #=> Integer
|
965
|
-
# resp.flow.sources[0].transport.
|
1268
|
+
# resp.flow.sources[0].transport.max_sync_buffer #=> Integer
|
1269
|
+
# resp.flow.sources[0].transport.min_latency #=> Integer
|
1270
|
+
# resp.flow.sources[0].transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist", "st2110-jpegxs", "cdi", "srt-listener"
|
966
1271
|
# resp.flow.sources[0].transport.remote_id #=> String
|
967
1272
|
# resp.flow.sources[0].transport.smoothing_latency #=> Integer
|
968
1273
|
# resp.flow.sources[0].transport.stream_id #=> String
|
@@ -973,6 +1278,7 @@ module Aws::MediaConnect
|
|
973
1278
|
# resp.flow.vpc_interfaces[0].name #=> String
|
974
1279
|
# resp.flow.vpc_interfaces[0].network_interface_ids #=> Array
|
975
1280
|
# resp.flow.vpc_interfaces[0].network_interface_ids[0] #=> String
|
1281
|
+
# resp.flow.vpc_interfaces[0].network_interface_type #=> String, one of "ena", "efa"
|
976
1282
|
# resp.flow.vpc_interfaces[0].role_arn #=> String
|
977
1283
|
# resp.flow.vpc_interfaces[0].security_group_ids #=> Array
|
978
1284
|
# resp.flow.vpc_interfaces[0].security_group_ids[0] #=> String
|
@@ -980,6 +1286,13 @@ module Aws::MediaConnect
|
|
980
1286
|
# resp.messages.errors #=> Array
|
981
1287
|
# resp.messages.errors[0] #=> String
|
982
1288
|
#
|
1289
|
+
#
|
1290
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
1291
|
+
#
|
1292
|
+
# * flow_active
|
1293
|
+
# * flow_deleted
|
1294
|
+
# * flow_standby
|
1295
|
+
#
|
983
1296
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeFlow AWS API Documentation
|
984
1297
|
#
|
985
1298
|
# @overload describe_flow(params = {})
|
@@ -1089,10 +1402,10 @@ module Aws::MediaConnect
|
|
1089
1402
|
# data_transfer_subscriber_fee_percent: 1,
|
1090
1403
|
# description: "__string",
|
1091
1404
|
# encryption: {
|
1092
|
-
# algorithm: "aes128", #
|
1405
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
1093
1406
|
# constant_initialization_vector: "__string",
|
1094
1407
|
# device_id: "__string",
|
1095
|
-
# key_type: "speke", # accepts speke, static-key
|
1408
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
1096
1409
|
# region: "__string",
|
1097
1410
|
# resource_id: "__string",
|
1098
1411
|
# role_arn: "__string", # required
|
@@ -1115,7 +1428,7 @@ module Aws::MediaConnect
|
|
1115
1428
|
# resp.entitlements[0].encryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
|
1116
1429
|
# resp.entitlements[0].encryption.constant_initialization_vector #=> String
|
1117
1430
|
# resp.entitlements[0].encryption.device_id #=> String
|
1118
|
-
# resp.entitlements[0].encryption.key_type #=> String, one of "speke", "static-key"
|
1431
|
+
# resp.entitlements[0].encryption.key_type #=> String, one of "speke", "static-key", "srt-password"
|
1119
1432
|
# resp.entitlements[0].encryption.region #=> String
|
1120
1433
|
# resp.entitlements[0].encryption.resource_id #=> String
|
1121
1434
|
# resp.entitlements[0].encryption.role_arn #=> String
|
@@ -1395,6 +1708,39 @@ module Aws::MediaConnect
|
|
1395
1708
|
req.send_request(options)
|
1396
1709
|
end
|
1397
1710
|
|
1711
|
+
# Removes a media stream from a flow. This action is only available if
|
1712
|
+
# the media stream is not associated with a source or output.
|
1713
|
+
#
|
1714
|
+
# @option params [required, String] :flow_arn
|
1715
|
+
#
|
1716
|
+
# @option params [required, String] :media_stream_name
|
1717
|
+
#
|
1718
|
+
# @return [Types::RemoveFlowMediaStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1719
|
+
#
|
1720
|
+
# * {Types::RemoveFlowMediaStreamResponse#flow_arn #flow_arn} => String
|
1721
|
+
# * {Types::RemoveFlowMediaStreamResponse#media_stream_name #media_stream_name} => String
|
1722
|
+
#
|
1723
|
+
# @example Request syntax with placeholder values
|
1724
|
+
#
|
1725
|
+
# resp = client.remove_flow_media_stream({
|
1726
|
+
# flow_arn: "__string", # required
|
1727
|
+
# media_stream_name: "__string", # required
|
1728
|
+
# })
|
1729
|
+
#
|
1730
|
+
# @example Response structure
|
1731
|
+
#
|
1732
|
+
# resp.flow_arn #=> String
|
1733
|
+
# resp.media_stream_name #=> String
|
1734
|
+
#
|
1735
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowMediaStream AWS API Documentation
|
1736
|
+
#
|
1737
|
+
# @overload remove_flow_media_stream(params = {})
|
1738
|
+
# @param [Hash] params ({})
|
1739
|
+
def remove_flow_media_stream(params = {}, options = {})
|
1740
|
+
req = build_request(:remove_flow_media_stream, params)
|
1741
|
+
req.send_request(options)
|
1742
|
+
end
|
1743
|
+
|
1398
1744
|
# Removes an output from an existing flow. This request can be made only
|
1399
1745
|
# on an output that does not have an entitlement associated with it. If
|
1400
1746
|
# the output has an entitlement, you must revoke the entitlement
|
@@ -1683,7 +2029,7 @@ module Aws::MediaConnect
|
|
1683
2029
|
# resp.flow.entitlements[0].encryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
|
1684
2030
|
# resp.flow.entitlements[0].encryption.constant_initialization_vector #=> String
|
1685
2031
|
# resp.flow.entitlements[0].encryption.device_id #=> String
|
1686
|
-
# resp.flow.entitlements[0].encryption.key_type #=> String, one of "speke", "static-key"
|
2032
|
+
# resp.flow.entitlements[0].encryption.key_type #=> String, one of "speke", "static-key", "srt-password"
|
1687
2033
|
# resp.flow.entitlements[0].encryption.region #=> String
|
1688
2034
|
# resp.flow.entitlements[0].encryption.resource_id #=> String
|
1689
2035
|
# resp.flow.entitlements[0].encryption.role_arn #=> String
|
@@ -1695,6 +2041,22 @@ module Aws::MediaConnect
|
|
1695
2041
|
# resp.flow.entitlements[0].subscribers #=> Array
|
1696
2042
|
# resp.flow.entitlements[0].subscribers[0] #=> String
|
1697
2043
|
# resp.flow.flow_arn #=> String
|
2044
|
+
# resp.flow.media_streams #=> Array
|
2045
|
+
# resp.flow.media_streams[0].attributes.fmtp.channel_order #=> String
|
2046
|
+
# resp.flow.media_streams[0].attributes.fmtp.colorimetry #=> String, one of "BT601", "BT709", "BT2020", "BT2100", "ST2065-1", "ST2065-3", "XYZ"
|
2047
|
+
# resp.flow.media_streams[0].attributes.fmtp.exact_framerate #=> String
|
2048
|
+
# resp.flow.media_streams[0].attributes.fmtp.par #=> String
|
2049
|
+
# resp.flow.media_streams[0].attributes.fmtp.range #=> String, one of "NARROW", "FULL", "FULLPROTECT"
|
2050
|
+
# resp.flow.media_streams[0].attributes.fmtp.scan_mode #=> String, one of "progressive", "interlace", "progressive-segmented-frame"
|
2051
|
+
# resp.flow.media_streams[0].attributes.fmtp.tcs #=> String, one of "SDR", "PQ", "HLG", "LINEAR", "BT2100LINPQ", "BT2100LINHLG", "ST2065-1", "ST428-1", "DENSITY"
|
2052
|
+
# resp.flow.media_streams[0].attributes.lang #=> String
|
2053
|
+
# resp.flow.media_streams[0].clock_rate #=> Integer
|
2054
|
+
# resp.flow.media_streams[0].description #=> String
|
2055
|
+
# resp.flow.media_streams[0].fmt #=> Integer
|
2056
|
+
# resp.flow.media_streams[0].media_stream_id #=> Integer
|
2057
|
+
# resp.flow.media_streams[0].media_stream_name #=> String
|
2058
|
+
# resp.flow.media_streams[0].media_stream_type #=> String, one of "video", "audio", "ancillary-data"
|
2059
|
+
# resp.flow.media_streams[0].video_format #=> String
|
1698
2060
|
# resp.flow.name #=> String
|
1699
2061
|
# resp.flow.outputs #=> Array
|
1700
2062
|
# resp.flow.outputs[0].data_transfer_subscriber_fee_percent #=> Integer
|
@@ -1703,14 +2065,25 @@ module Aws::MediaConnect
|
|
1703
2065
|
# resp.flow.outputs[0].encryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
|
1704
2066
|
# resp.flow.outputs[0].encryption.constant_initialization_vector #=> String
|
1705
2067
|
# resp.flow.outputs[0].encryption.device_id #=> String
|
1706
|
-
# resp.flow.outputs[0].encryption.key_type #=> String, one of "speke", "static-key"
|
2068
|
+
# resp.flow.outputs[0].encryption.key_type #=> String, one of "speke", "static-key", "srt-password"
|
1707
2069
|
# resp.flow.outputs[0].encryption.region #=> String
|
1708
2070
|
# resp.flow.outputs[0].encryption.resource_id #=> String
|
1709
2071
|
# resp.flow.outputs[0].encryption.role_arn #=> String
|
1710
2072
|
# resp.flow.outputs[0].encryption.secret_arn #=> String
|
1711
2073
|
# resp.flow.outputs[0].encryption.url #=> String
|
1712
2074
|
# resp.flow.outputs[0].entitlement_arn #=> String
|
2075
|
+
# resp.flow.outputs[0].listener_address #=> String
|
1713
2076
|
# resp.flow.outputs[0].media_live_input_arn #=> String
|
2077
|
+
# resp.flow.outputs[0].media_stream_output_configurations #=> Array
|
2078
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].destination_configurations #=> Array
|
2079
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].destination_configurations[0].destination_ip #=> String
|
2080
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].destination_configurations[0].destination_port #=> Integer
|
2081
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].destination_configurations[0].interface.name #=> String
|
2082
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].destination_configurations[0].outbound_ip #=> String
|
2083
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].encoding_name #=> String, one of "jxsv", "raw", "smpte291", "pcm"
|
2084
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].encoding_parameters.compression_factor #=> Float
|
2085
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].encoding_parameters.encoder_profile #=> String, one of "main", "high"
|
2086
|
+
# resp.flow.outputs[0].media_stream_output_configurations[0].media_stream_name #=> String
|
1714
2087
|
# resp.flow.outputs[0].name #=> String
|
1715
2088
|
# resp.flow.outputs[0].output_arn #=> String
|
1716
2089
|
# resp.flow.outputs[0].port #=> Integer
|
@@ -1718,7 +2091,9 @@ module Aws::MediaConnect
|
|
1718
2091
|
# resp.flow.outputs[0].transport.cidr_allow_list[0] #=> String
|
1719
2092
|
# resp.flow.outputs[0].transport.max_bitrate #=> Integer
|
1720
2093
|
# resp.flow.outputs[0].transport.max_latency #=> Integer
|
1721
|
-
# resp.flow.outputs[0].transport.
|
2094
|
+
# resp.flow.outputs[0].transport.max_sync_buffer #=> Integer
|
2095
|
+
# resp.flow.outputs[0].transport.min_latency #=> Integer
|
2096
|
+
# resp.flow.outputs[0].transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist", "st2110-jpegxs", "cdi", "srt-listener"
|
1722
2097
|
# resp.flow.outputs[0].transport.remote_id #=> String
|
1723
2098
|
# resp.flow.outputs[0].transport.smoothing_latency #=> Integer
|
1724
2099
|
# resp.flow.outputs[0].transport.stream_id #=> String
|
@@ -1727,7 +2102,7 @@ module Aws::MediaConnect
|
|
1727
2102
|
# resp.flow.source.decryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
|
1728
2103
|
# resp.flow.source.decryption.constant_initialization_vector #=> String
|
1729
2104
|
# resp.flow.source.decryption.device_id #=> String
|
1730
|
-
# resp.flow.source.decryption.key_type #=> String, one of "speke", "static-key"
|
2105
|
+
# resp.flow.source.decryption.key_type #=> String, one of "speke", "static-key", "srt-password"
|
1731
2106
|
# resp.flow.source.decryption.region #=> String
|
1732
2107
|
# resp.flow.source.decryption.resource_id #=> String
|
1733
2108
|
# resp.flow.source.decryption.role_arn #=> String
|
@@ -1737,13 +2112,22 @@ module Aws::MediaConnect
|
|
1737
2112
|
# resp.flow.source.entitlement_arn #=> String
|
1738
2113
|
# resp.flow.source.ingest_ip #=> String
|
1739
2114
|
# resp.flow.source.ingest_port #=> Integer
|
2115
|
+
# resp.flow.source.media_stream_source_configurations #=> Array
|
2116
|
+
# resp.flow.source.media_stream_source_configurations[0].encoding_name #=> String, one of "jxsv", "raw", "smpte291", "pcm"
|
2117
|
+
# resp.flow.source.media_stream_source_configurations[0].input_configurations #=> Array
|
2118
|
+
# resp.flow.source.media_stream_source_configurations[0].input_configurations[0].input_ip #=> String
|
2119
|
+
# resp.flow.source.media_stream_source_configurations[0].input_configurations[0].input_port #=> Integer
|
2120
|
+
# resp.flow.source.media_stream_source_configurations[0].input_configurations[0].interface.name #=> String
|
2121
|
+
# resp.flow.source.media_stream_source_configurations[0].media_stream_name #=> String
|
1740
2122
|
# resp.flow.source.name #=> String
|
1741
2123
|
# resp.flow.source.source_arn #=> String
|
1742
2124
|
# resp.flow.source.transport.cidr_allow_list #=> Array
|
1743
2125
|
# resp.flow.source.transport.cidr_allow_list[0] #=> String
|
1744
2126
|
# resp.flow.source.transport.max_bitrate #=> Integer
|
1745
2127
|
# resp.flow.source.transport.max_latency #=> Integer
|
1746
|
-
# resp.flow.source.transport.
|
2128
|
+
# resp.flow.source.transport.max_sync_buffer #=> Integer
|
2129
|
+
# resp.flow.source.transport.min_latency #=> Integer
|
2130
|
+
# resp.flow.source.transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist", "st2110-jpegxs", "cdi", "srt-listener"
|
1747
2131
|
# resp.flow.source.transport.remote_id #=> String
|
1748
2132
|
# resp.flow.source.transport.smoothing_latency #=> Integer
|
1749
2133
|
# resp.flow.source.transport.stream_id #=> String
|
@@ -1756,7 +2140,7 @@ module Aws::MediaConnect
|
|
1756
2140
|
# resp.flow.sources[0].decryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
|
1757
2141
|
# resp.flow.sources[0].decryption.constant_initialization_vector #=> String
|
1758
2142
|
# resp.flow.sources[0].decryption.device_id #=> String
|
1759
|
-
# resp.flow.sources[0].decryption.key_type #=> String, one of "speke", "static-key"
|
2143
|
+
# resp.flow.sources[0].decryption.key_type #=> String, one of "speke", "static-key", "srt-password"
|
1760
2144
|
# resp.flow.sources[0].decryption.region #=> String
|
1761
2145
|
# resp.flow.sources[0].decryption.resource_id #=> String
|
1762
2146
|
# resp.flow.sources[0].decryption.role_arn #=> String
|
@@ -1766,13 +2150,22 @@ module Aws::MediaConnect
|
|
1766
2150
|
# resp.flow.sources[0].entitlement_arn #=> String
|
1767
2151
|
# resp.flow.sources[0].ingest_ip #=> String
|
1768
2152
|
# resp.flow.sources[0].ingest_port #=> Integer
|
2153
|
+
# resp.flow.sources[0].media_stream_source_configurations #=> Array
|
2154
|
+
# resp.flow.sources[0].media_stream_source_configurations[0].encoding_name #=> String, one of "jxsv", "raw", "smpte291", "pcm"
|
2155
|
+
# resp.flow.sources[0].media_stream_source_configurations[0].input_configurations #=> Array
|
2156
|
+
# resp.flow.sources[0].media_stream_source_configurations[0].input_configurations[0].input_ip #=> String
|
2157
|
+
# resp.flow.sources[0].media_stream_source_configurations[0].input_configurations[0].input_port #=> Integer
|
2158
|
+
# resp.flow.sources[0].media_stream_source_configurations[0].input_configurations[0].interface.name #=> String
|
2159
|
+
# resp.flow.sources[0].media_stream_source_configurations[0].media_stream_name #=> String
|
1769
2160
|
# resp.flow.sources[0].name #=> String
|
1770
2161
|
# resp.flow.sources[0].source_arn #=> String
|
1771
2162
|
# resp.flow.sources[0].transport.cidr_allow_list #=> Array
|
1772
2163
|
# resp.flow.sources[0].transport.cidr_allow_list[0] #=> String
|
1773
2164
|
# resp.flow.sources[0].transport.max_bitrate #=> Integer
|
1774
2165
|
# resp.flow.sources[0].transport.max_latency #=> Integer
|
1775
|
-
# resp.flow.sources[0].transport.
|
2166
|
+
# resp.flow.sources[0].transport.max_sync_buffer #=> Integer
|
2167
|
+
# resp.flow.sources[0].transport.min_latency #=> Integer
|
2168
|
+
# resp.flow.sources[0].transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist", "st2110-jpegxs", "cdi", "srt-listener"
|
1776
2169
|
# resp.flow.sources[0].transport.remote_id #=> String
|
1777
2170
|
# resp.flow.sources[0].transport.smoothing_latency #=> Integer
|
1778
2171
|
# resp.flow.sources[0].transport.stream_id #=> String
|
@@ -1783,6 +2176,7 @@ module Aws::MediaConnect
|
|
1783
2176
|
# resp.flow.vpc_interfaces[0].name #=> String
|
1784
2177
|
# resp.flow.vpc_interfaces[0].network_interface_ids #=> Array
|
1785
2178
|
# resp.flow.vpc_interfaces[0].network_interface_ids[0] #=> String
|
2179
|
+
# resp.flow.vpc_interfaces[0].network_interface_type #=> String, one of "ena", "efa"
|
1786
2180
|
# resp.flow.vpc_interfaces[0].role_arn #=> String
|
1787
2181
|
# resp.flow.vpc_interfaces[0].security_group_ids #=> Array
|
1788
2182
|
# resp.flow.vpc_interfaces[0].security_group_ids[0] #=> String
|
@@ -1838,7 +2232,7 @@ module Aws::MediaConnect
|
|
1838
2232
|
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
1839
2233
|
# constant_initialization_vector: "__string",
|
1840
2234
|
# device_id: "__string",
|
1841
|
-
# key_type: "speke", # accepts speke, static-key
|
2235
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
1842
2236
|
# region: "__string",
|
1843
2237
|
# resource_id: "__string",
|
1844
2238
|
# role_arn: "__string",
|
@@ -1858,7 +2252,7 @@ module Aws::MediaConnect
|
|
1858
2252
|
# resp.entitlement.encryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
|
1859
2253
|
# resp.entitlement.encryption.constant_initialization_vector #=> String
|
1860
2254
|
# resp.entitlement.encryption.device_id #=> String
|
1861
|
-
# resp.entitlement.encryption.key_type #=> String, one of "speke", "static-key"
|
2255
|
+
# resp.entitlement.encryption.key_type #=> String, one of "speke", "static-key", "srt-password"
|
1862
2256
|
# resp.entitlement.encryption.region #=> String
|
1863
2257
|
# resp.entitlement.encryption.resource_id #=> String
|
1864
2258
|
# resp.entitlement.encryption.role_arn #=> String
|
@@ -1880,6 +2274,85 @@ module Aws::MediaConnect
|
|
1880
2274
|
req.send_request(options)
|
1881
2275
|
end
|
1882
2276
|
|
2277
|
+
# Updates an existing media stream.
|
2278
|
+
#
|
2279
|
+
# @option params [Types::MediaStreamAttributesRequest] :attributes
|
2280
|
+
# The attributes that you want to assign to the media stream.
|
2281
|
+
#
|
2282
|
+
# @option params [Integer] :clock_rate
|
2283
|
+
# The sample rate (in Hz) for the stream. If the media stream type is
|
2284
|
+
# video or ancillary data, set this value to 90000. If the media stream
|
2285
|
+
# type is audio, set this value to either 48000 or 96000.
|
2286
|
+
#
|
2287
|
+
# @option params [String] :description
|
2288
|
+
# Description
|
2289
|
+
#
|
2290
|
+
# @option params [required, String] :flow_arn
|
2291
|
+
#
|
2292
|
+
# @option params [required, String] :media_stream_name
|
2293
|
+
#
|
2294
|
+
# @option params [String] :media_stream_type
|
2295
|
+
# The type of media stream.
|
2296
|
+
#
|
2297
|
+
# @option params [String] :video_format
|
2298
|
+
# The resolution of the video.
|
2299
|
+
#
|
2300
|
+
# @return [Types::UpdateFlowMediaStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2301
|
+
#
|
2302
|
+
# * {Types::UpdateFlowMediaStreamResponse#flow_arn #flow_arn} => String
|
2303
|
+
# * {Types::UpdateFlowMediaStreamResponse#media_stream #media_stream} => Types::MediaStream
|
2304
|
+
#
|
2305
|
+
# @example Request syntax with placeholder values
|
2306
|
+
#
|
2307
|
+
# resp = client.update_flow_media_stream({
|
2308
|
+
# attributes: {
|
2309
|
+
# fmtp: {
|
2310
|
+
# channel_order: "__string",
|
2311
|
+
# colorimetry: "BT601", # accepts BT601, BT709, BT2020, BT2100, ST2065-1, ST2065-3, XYZ
|
2312
|
+
# exact_framerate: "__string",
|
2313
|
+
# par: "__string",
|
2314
|
+
# range: "NARROW", # accepts NARROW, FULL, FULLPROTECT
|
2315
|
+
# scan_mode: "progressive", # accepts progressive, interlace, progressive-segmented-frame
|
2316
|
+
# tcs: "SDR", # accepts SDR, PQ, HLG, LINEAR, BT2100LINPQ, BT2100LINHLG, ST2065-1, ST428-1, DENSITY
|
2317
|
+
# },
|
2318
|
+
# lang: "__string",
|
2319
|
+
# },
|
2320
|
+
# clock_rate: 1,
|
2321
|
+
# description: "__string",
|
2322
|
+
# flow_arn: "__string", # required
|
2323
|
+
# media_stream_name: "__string", # required
|
2324
|
+
# media_stream_type: "video", # accepts video, audio, ancillary-data
|
2325
|
+
# video_format: "__string",
|
2326
|
+
# })
|
2327
|
+
#
|
2328
|
+
# @example Response structure
|
2329
|
+
#
|
2330
|
+
# resp.flow_arn #=> String
|
2331
|
+
# resp.media_stream.attributes.fmtp.channel_order #=> String
|
2332
|
+
# resp.media_stream.attributes.fmtp.colorimetry #=> String, one of "BT601", "BT709", "BT2020", "BT2100", "ST2065-1", "ST2065-3", "XYZ"
|
2333
|
+
# resp.media_stream.attributes.fmtp.exact_framerate #=> String
|
2334
|
+
# resp.media_stream.attributes.fmtp.par #=> String
|
2335
|
+
# resp.media_stream.attributes.fmtp.range #=> String, one of "NARROW", "FULL", "FULLPROTECT"
|
2336
|
+
# resp.media_stream.attributes.fmtp.scan_mode #=> String, one of "progressive", "interlace", "progressive-segmented-frame"
|
2337
|
+
# resp.media_stream.attributes.fmtp.tcs #=> String, one of "SDR", "PQ", "HLG", "LINEAR", "BT2100LINPQ", "BT2100LINHLG", "ST2065-1", "ST428-1", "DENSITY"
|
2338
|
+
# resp.media_stream.attributes.lang #=> String
|
2339
|
+
# resp.media_stream.clock_rate #=> Integer
|
2340
|
+
# resp.media_stream.description #=> String
|
2341
|
+
# resp.media_stream.fmt #=> Integer
|
2342
|
+
# resp.media_stream.media_stream_id #=> Integer
|
2343
|
+
# resp.media_stream.media_stream_name #=> String
|
2344
|
+
# resp.media_stream.media_stream_type #=> String, one of "video", "audio", "ancillary-data"
|
2345
|
+
# resp.media_stream.video_format #=> String
|
2346
|
+
#
|
2347
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowMediaStream AWS API Documentation
|
2348
|
+
#
|
2349
|
+
# @overload update_flow_media_stream(params = {})
|
2350
|
+
# @param [Hash] params ({})
|
2351
|
+
def update_flow_media_stream(params = {}, options = {})
|
2352
|
+
req = build_request(:update_flow_media_stream, params)
|
2353
|
+
req.send_request(options)
|
2354
|
+
end
|
2355
|
+
|
1883
2356
|
# Updates an existing flow output.
|
1884
2357
|
#
|
1885
2358
|
# @option params [Array<String>] :cidr_allow_list
|
@@ -1903,6 +2376,18 @@ module Aws::MediaConnect
|
|
1903
2376
|
# @option params [Integer] :max_latency
|
1904
2377
|
# The maximum latency in milliseconds for Zixi-based streams.
|
1905
2378
|
#
|
2379
|
+
# @option params [Array<Types::MediaStreamOutputConfigurationRequest>] :media_stream_output_configurations
|
2380
|
+
# The media streams that are associated with the output, and the
|
2381
|
+
# parameters for those associations.
|
2382
|
+
#
|
2383
|
+
# @option params [Integer] :min_latency
|
2384
|
+
# The minimum latency in milliseconds for SRT-based streams. In streams
|
2385
|
+
# that use the SRT protocol, this value that you set on your
|
2386
|
+
# MediaConnect source or output represents the minimal potential latency
|
2387
|
+
# of that connection. The latency of the stream is set to the highest
|
2388
|
+
# number between the sender’s minimum latency and the receiver’s minimum
|
2389
|
+
# latency.
|
2390
|
+
#
|
1906
2391
|
# @option params [required, String] :output_arn
|
1907
2392
|
#
|
1908
2393
|
# @option params [Integer] :port
|
@@ -1940,7 +2425,7 @@ module Aws::MediaConnect
|
|
1940
2425
|
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
1941
2426
|
# constant_initialization_vector: "__string",
|
1942
2427
|
# device_id: "__string",
|
1943
|
-
# key_type: "speke", # accepts speke, static-key
|
2428
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
1944
2429
|
# region: "__string",
|
1945
2430
|
# resource_id: "__string",
|
1946
2431
|
# role_arn: "__string",
|
@@ -1949,9 +2434,29 @@ module Aws::MediaConnect
|
|
1949
2434
|
# },
|
1950
2435
|
# flow_arn: "__string", # required
|
1951
2436
|
# max_latency: 1,
|
2437
|
+
# media_stream_output_configurations: [
|
2438
|
+
# {
|
2439
|
+
# destination_configurations: [
|
2440
|
+
# {
|
2441
|
+
# destination_ip: "__string", # required
|
2442
|
+
# destination_port: 1, # required
|
2443
|
+
# interface: { # required
|
2444
|
+
# name: "__string", # required
|
2445
|
+
# },
|
2446
|
+
# },
|
2447
|
+
# ],
|
2448
|
+
# encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
|
2449
|
+
# encoding_parameters: {
|
2450
|
+
# compression_factor: 1.0, # required
|
2451
|
+
# encoder_profile: "main", # required, accepts main, high
|
2452
|
+
# },
|
2453
|
+
# media_stream_name: "__string", # required
|
2454
|
+
# },
|
2455
|
+
# ],
|
2456
|
+
# min_latency: 1,
|
1952
2457
|
# output_arn: "__string", # required
|
1953
2458
|
# port: 1,
|
1954
|
-
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
|
2459
|
+
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
|
1955
2460
|
# remote_id: "__string",
|
1956
2461
|
# smoothing_latency: 1,
|
1957
2462
|
# stream_id: "__string",
|
@@ -1969,14 +2474,25 @@ module Aws::MediaConnect
|
|
1969
2474
|
# resp.output.encryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
|
1970
2475
|
# resp.output.encryption.constant_initialization_vector #=> String
|
1971
2476
|
# resp.output.encryption.device_id #=> String
|
1972
|
-
# resp.output.encryption.key_type #=> String, one of "speke", "static-key"
|
2477
|
+
# resp.output.encryption.key_type #=> String, one of "speke", "static-key", "srt-password"
|
1973
2478
|
# resp.output.encryption.region #=> String
|
1974
2479
|
# resp.output.encryption.resource_id #=> String
|
1975
2480
|
# resp.output.encryption.role_arn #=> String
|
1976
2481
|
# resp.output.encryption.secret_arn #=> String
|
1977
2482
|
# resp.output.encryption.url #=> String
|
1978
2483
|
# resp.output.entitlement_arn #=> String
|
2484
|
+
# resp.output.listener_address #=> String
|
1979
2485
|
# resp.output.media_live_input_arn #=> String
|
2486
|
+
# resp.output.media_stream_output_configurations #=> Array
|
2487
|
+
# resp.output.media_stream_output_configurations[0].destination_configurations #=> Array
|
2488
|
+
# resp.output.media_stream_output_configurations[0].destination_configurations[0].destination_ip #=> String
|
2489
|
+
# resp.output.media_stream_output_configurations[0].destination_configurations[0].destination_port #=> Integer
|
2490
|
+
# resp.output.media_stream_output_configurations[0].destination_configurations[0].interface.name #=> String
|
2491
|
+
# resp.output.media_stream_output_configurations[0].destination_configurations[0].outbound_ip #=> String
|
2492
|
+
# resp.output.media_stream_output_configurations[0].encoding_name #=> String, one of "jxsv", "raw", "smpte291", "pcm"
|
2493
|
+
# resp.output.media_stream_output_configurations[0].encoding_parameters.compression_factor #=> Float
|
2494
|
+
# resp.output.media_stream_output_configurations[0].encoding_parameters.encoder_profile #=> String, one of "main", "high"
|
2495
|
+
# resp.output.media_stream_output_configurations[0].media_stream_name #=> String
|
1980
2496
|
# resp.output.name #=> String
|
1981
2497
|
# resp.output.output_arn #=> String
|
1982
2498
|
# resp.output.port #=> Integer
|
@@ -1984,7 +2500,9 @@ module Aws::MediaConnect
|
|
1984
2500
|
# resp.output.transport.cidr_allow_list[0] #=> String
|
1985
2501
|
# resp.output.transport.max_bitrate #=> Integer
|
1986
2502
|
# resp.output.transport.max_latency #=> Integer
|
1987
|
-
# resp.output.transport.
|
2503
|
+
# resp.output.transport.max_sync_buffer #=> Integer
|
2504
|
+
# resp.output.transport.min_latency #=> Integer
|
2505
|
+
# resp.output.transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist", "st2110-jpegxs", "cdi", "srt-listener"
|
1988
2506
|
# resp.output.transport.remote_id #=> String
|
1989
2507
|
# resp.output.transport.smoothing_latency #=> Integer
|
1990
2508
|
# resp.output.transport.stream_id #=> String
|
@@ -2025,6 +2543,22 @@ module Aws::MediaConnect
|
|
2025
2543
|
# The maximum latency in milliseconds. This parameter applies only to
|
2026
2544
|
# RIST-based and Zixi-based streams.
|
2027
2545
|
#
|
2546
|
+
# @option params [Integer] :max_sync_buffer
|
2547
|
+
# The size of the buffer (in milliseconds) to use to sync incoming
|
2548
|
+
# source data.
|
2549
|
+
#
|
2550
|
+
# @option params [Array<Types::MediaStreamSourceConfigurationRequest>] :media_stream_source_configurations
|
2551
|
+
# The media streams that are associated with the source, and the
|
2552
|
+
# parameters for those associations.
|
2553
|
+
#
|
2554
|
+
# @option params [Integer] :min_latency
|
2555
|
+
# The minimum latency in milliseconds for SRT-based streams. In streams
|
2556
|
+
# that use the SRT protocol, this value that you set on your
|
2557
|
+
# MediaConnect source or output represents the minimal potential latency
|
2558
|
+
# of that connection. The latency of the stream is set to the highest
|
2559
|
+
# number between the sender’s minimum latency and the receiver’s minimum
|
2560
|
+
# latency.
|
2561
|
+
#
|
2028
2562
|
# @option params [String] :protocol
|
2029
2563
|
# The protocol that is used by the source.
|
2030
2564
|
#
|
@@ -2035,7 +2569,7 @@ module Aws::MediaConnect
|
|
2035
2569
|
# applies only to Zixi-based streams.
|
2036
2570
|
#
|
2037
2571
|
# @option params [String] :vpc_interface_name
|
2038
|
-
# The name of the VPC
|
2572
|
+
# The name of the VPC interface to use for this source.
|
2039
2573
|
#
|
2040
2574
|
# @option params [String] :whitelist_cidr
|
2041
2575
|
# The range of IP addresses that should be allowed to contribute content
|
@@ -2054,7 +2588,7 @@ module Aws::MediaConnect
|
|
2054
2588
|
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
2055
2589
|
# constant_initialization_vector: "__string",
|
2056
2590
|
# device_id: "__string",
|
2057
|
-
# key_type: "speke", # accepts speke, static-key
|
2591
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
2058
2592
|
# region: "__string",
|
2059
2593
|
# resource_id: "__string",
|
2060
2594
|
# role_arn: "__string",
|
@@ -2067,7 +2601,23 @@ module Aws::MediaConnect
|
|
2067
2601
|
# ingest_port: 1,
|
2068
2602
|
# max_bitrate: 1,
|
2069
2603
|
# max_latency: 1,
|
2070
|
-
#
|
2604
|
+
# max_sync_buffer: 1,
|
2605
|
+
# media_stream_source_configurations: [
|
2606
|
+
# {
|
2607
|
+
# encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
|
2608
|
+
# input_configurations: [
|
2609
|
+
# {
|
2610
|
+
# input_port: 1, # required
|
2611
|
+
# interface: { # required
|
2612
|
+
# name: "__string", # required
|
2613
|
+
# },
|
2614
|
+
# },
|
2615
|
+
# ],
|
2616
|
+
# media_stream_name: "__string", # required
|
2617
|
+
# },
|
2618
|
+
# ],
|
2619
|
+
# min_latency: 1,
|
2620
|
+
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
|
2071
2621
|
# source_arn: "__string", # required
|
2072
2622
|
# stream_id: "__string",
|
2073
2623
|
# vpc_interface_name: "__string",
|
@@ -2081,7 +2631,7 @@ module Aws::MediaConnect
|
|
2081
2631
|
# resp.source.decryption.algorithm #=> String, one of "aes128", "aes192", "aes256"
|
2082
2632
|
# resp.source.decryption.constant_initialization_vector #=> String
|
2083
2633
|
# resp.source.decryption.device_id #=> String
|
2084
|
-
# resp.source.decryption.key_type #=> String, one of "speke", "static-key"
|
2634
|
+
# resp.source.decryption.key_type #=> String, one of "speke", "static-key", "srt-password"
|
2085
2635
|
# resp.source.decryption.region #=> String
|
2086
2636
|
# resp.source.decryption.resource_id #=> String
|
2087
2637
|
# resp.source.decryption.role_arn #=> String
|
@@ -2091,13 +2641,22 @@ module Aws::MediaConnect
|
|
2091
2641
|
# resp.source.entitlement_arn #=> String
|
2092
2642
|
# resp.source.ingest_ip #=> String
|
2093
2643
|
# resp.source.ingest_port #=> Integer
|
2644
|
+
# resp.source.media_stream_source_configurations #=> Array
|
2645
|
+
# resp.source.media_stream_source_configurations[0].encoding_name #=> String, one of "jxsv", "raw", "smpte291", "pcm"
|
2646
|
+
# resp.source.media_stream_source_configurations[0].input_configurations #=> Array
|
2647
|
+
# resp.source.media_stream_source_configurations[0].input_configurations[0].input_ip #=> String
|
2648
|
+
# resp.source.media_stream_source_configurations[0].input_configurations[0].input_port #=> Integer
|
2649
|
+
# resp.source.media_stream_source_configurations[0].input_configurations[0].interface.name #=> String
|
2650
|
+
# resp.source.media_stream_source_configurations[0].media_stream_name #=> String
|
2094
2651
|
# resp.source.name #=> String
|
2095
2652
|
# resp.source.source_arn #=> String
|
2096
2653
|
# resp.source.transport.cidr_allow_list #=> Array
|
2097
2654
|
# resp.source.transport.cidr_allow_list[0] #=> String
|
2098
2655
|
# resp.source.transport.max_bitrate #=> Integer
|
2099
2656
|
# resp.source.transport.max_latency #=> Integer
|
2100
|
-
# resp.source.transport.
|
2657
|
+
# resp.source.transport.max_sync_buffer #=> Integer
|
2658
|
+
# resp.source.transport.min_latency #=> Integer
|
2659
|
+
# resp.source.transport.protocol #=> String, one of "zixi-push", "rtp-fec", "rtp", "zixi-pull", "rist", "st2110-jpegxs", "cdi", "srt-listener"
|
2101
2660
|
# resp.source.transport.remote_id #=> String
|
2102
2661
|
# resp.source.transport.smoothing_latency #=> Integer
|
2103
2662
|
# resp.source.transport.stream_id #=> String
|
@@ -2126,14 +2685,131 @@ module Aws::MediaConnect
|
|
2126
2685
|
params: params,
|
2127
2686
|
config: config)
|
2128
2687
|
context[:gem_name] = 'aws-sdk-mediaconnect'
|
2129
|
-
context[:gem_version] = '1.
|
2688
|
+
context[:gem_version] = '1.33.0'
|
2130
2689
|
Seahorse::Client::Request.new(handlers, context)
|
2131
2690
|
end
|
2132
2691
|
|
2692
|
+
# Polls an API operation until a resource enters a desired state.
|
2693
|
+
#
|
2694
|
+
# ## Basic Usage
|
2695
|
+
#
|
2696
|
+
# A waiter will call an API operation until:
|
2697
|
+
#
|
2698
|
+
# * It is successful
|
2699
|
+
# * It enters a terminal state
|
2700
|
+
# * It makes the maximum number of attempts
|
2701
|
+
#
|
2702
|
+
# In between attempts, the waiter will sleep.
|
2703
|
+
#
|
2704
|
+
# # polls in a loop, sleeping between attempts
|
2705
|
+
# client.wait_until(waiter_name, params)
|
2706
|
+
#
|
2707
|
+
# ## Configuration
|
2708
|
+
#
|
2709
|
+
# You can configure the maximum number of polling attempts, and the
|
2710
|
+
# delay (in seconds) between each polling attempt. You can pass
|
2711
|
+
# configuration as the final arguments hash.
|
2712
|
+
#
|
2713
|
+
# # poll for ~25 seconds
|
2714
|
+
# client.wait_until(waiter_name, params, {
|
2715
|
+
# max_attempts: 5,
|
2716
|
+
# delay: 5,
|
2717
|
+
# })
|
2718
|
+
#
|
2719
|
+
# ## Callbacks
|
2720
|
+
#
|
2721
|
+
# You can be notified before each polling attempt and before each
|
2722
|
+
# delay. If you throw `:success` or `:failure` from these callbacks,
|
2723
|
+
# it will terminate the waiter.
|
2724
|
+
#
|
2725
|
+
# started_at = Time.now
|
2726
|
+
# client.wait_until(waiter_name, params, {
|
2727
|
+
#
|
2728
|
+
# # disable max attempts
|
2729
|
+
# max_attempts: nil,
|
2730
|
+
#
|
2731
|
+
# # poll for 1 hour, instead of a number of attempts
|
2732
|
+
# before_wait: -> (attempts, response) do
|
2733
|
+
# throw :failure if Time.now - started_at > 3600
|
2734
|
+
# end
|
2735
|
+
# })
|
2736
|
+
#
|
2737
|
+
# ## Handling Errors
|
2738
|
+
#
|
2739
|
+
# When a waiter is unsuccessful, it will raise an error.
|
2740
|
+
# All of the failure errors extend from
|
2741
|
+
# {Aws::Waiters::Errors::WaiterFailed}.
|
2742
|
+
#
|
2743
|
+
# begin
|
2744
|
+
# client.wait_until(...)
|
2745
|
+
# rescue Aws::Waiters::Errors::WaiterFailed
|
2746
|
+
# # resource did not enter the desired state in time
|
2747
|
+
# end
|
2748
|
+
#
|
2749
|
+
# ## Valid Waiters
|
2750
|
+
#
|
2751
|
+
# The following table lists the valid waiter names, the operations they call,
|
2752
|
+
# and the default `:delay` and `:max_attempts` values.
|
2753
|
+
#
|
2754
|
+
# | waiter_name | params | :delay | :max_attempts |
|
2755
|
+
# | ------------ | ---------------------- | -------- | ------------- |
|
2756
|
+
# | flow_active | {Client#describe_flow} | 3 | 40 |
|
2757
|
+
# | flow_deleted | {Client#describe_flow} | 3 | 40 |
|
2758
|
+
# | flow_standby | {Client#describe_flow} | 3 | 40 |
|
2759
|
+
#
|
2760
|
+
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
2761
|
+
# because the waiter has entered a state that it will not transition
|
2762
|
+
# out of, preventing success.
|
2763
|
+
#
|
2764
|
+
# @raise [Errors::TooManyAttemptsError] Raised when the configured
|
2765
|
+
# maximum number of attempts have been made, and the waiter is not
|
2766
|
+
# yet successful.
|
2767
|
+
#
|
2768
|
+
# @raise [Errors::UnexpectedError] Raised when an error is encounted
|
2769
|
+
# while polling for a resource that is not expected.
|
2770
|
+
#
|
2771
|
+
# @raise [Errors::NoSuchWaiterError] Raised when you request to wait
|
2772
|
+
# for an unknown state.
|
2773
|
+
#
|
2774
|
+
# @return [Boolean] Returns `true` if the waiter was successful.
|
2775
|
+
# @param [Symbol] waiter_name
|
2776
|
+
# @param [Hash] params ({})
|
2777
|
+
# @param [Hash] options ({})
|
2778
|
+
# @option options [Integer] :max_attempts
|
2779
|
+
# @option options [Integer] :delay
|
2780
|
+
# @option options [Proc] :before_attempt
|
2781
|
+
# @option options [Proc] :before_wait
|
2782
|
+
def wait_until(waiter_name, params = {}, options = {})
|
2783
|
+
w = waiter(waiter_name, options)
|
2784
|
+
yield(w.waiter) if block_given? # deprecated
|
2785
|
+
w.wait(params)
|
2786
|
+
end
|
2787
|
+
|
2133
2788
|
# @api private
|
2134
2789
|
# @deprecated
|
2135
2790
|
def waiter_names
|
2136
|
-
|
2791
|
+
waiters.keys
|
2792
|
+
end
|
2793
|
+
|
2794
|
+
private
|
2795
|
+
|
2796
|
+
# @param [Symbol] waiter_name
|
2797
|
+
# @param [Hash] options ({})
|
2798
|
+
def waiter(waiter_name, options = {})
|
2799
|
+
waiter_class = waiters[waiter_name]
|
2800
|
+
if waiter_class
|
2801
|
+
waiter_class.new(options.merge(client: self))
|
2802
|
+
else
|
2803
|
+
raise Aws::Waiters::Errors::NoSuchWaiterError.new(waiter_name, waiters.keys)
|
2804
|
+
end
|
2805
|
+
end
|
2806
|
+
|
2807
|
+
def waiters
|
2808
|
+
{
|
2809
|
+
flow_active: Waiters::FlowActive,
|
2810
|
+
flow_deleted: Waiters::FlowDeleted,
|
2811
|
+
flow_standby: Waiters::FlowStandby
|
2812
|
+
}
|
2137
2813
|
end
|
2138
2814
|
|
2139
2815
|
class << self
|