aws-sdk-mediaconnect 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-mediaconnect/client.rb +1060 -0
- data/lib/aws-sdk-mediaconnect/client_api.rb +556 -0
- data/lib/aws-sdk-mediaconnect/customizations.rb +0 -0
- data/lib/aws-sdk-mediaconnect/errors.rb +14 -0
- data/lib/aws-sdk-mediaconnect/resource.rb +23 -0
- data/lib/aws-sdk-mediaconnect/types.rb +1475 -0
- data/lib/aws-sdk-mediaconnect.rb +47 -0
- metadata +88 -0
@@ -0,0 +1,1475 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::MediaConnect
|
9
|
+
module Types
|
10
|
+
|
11
|
+
# Adds outputs to an existing flow. You can create up to 20 outputs per
|
12
|
+
# flow.
|
13
|
+
#
|
14
|
+
# @note When making an API call, you may pass AddFlowOutputsRequest
|
15
|
+
# data as a hash:
|
16
|
+
#
|
17
|
+
# {
|
18
|
+
# flow_arn: "__string", # required
|
19
|
+
# outputs: [ # required
|
20
|
+
# {
|
21
|
+
# description: "__string",
|
22
|
+
# destination: "__string", # required
|
23
|
+
# encryption: {
|
24
|
+
# algorithm: "aes128", # required, accepts aes128, aes192, aes256
|
25
|
+
# key_type: "static-key", # accepts static-key
|
26
|
+
# role_arn: "__string", # required
|
27
|
+
# secret_arn: "__string", # required
|
28
|
+
# },
|
29
|
+
# max_latency: 1,
|
30
|
+
# name: "__string",
|
31
|
+
# port: 1, # required
|
32
|
+
# protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp
|
33
|
+
# smoothing_latency: 1,
|
34
|
+
# stream_id: "__string",
|
35
|
+
# },
|
36
|
+
# ],
|
37
|
+
# }
|
38
|
+
#
|
39
|
+
# @!attribute [rw] flow_arn
|
40
|
+
# @return [String]
|
41
|
+
#
|
42
|
+
# @!attribute [rw] outputs
|
43
|
+
# A list of outputs that you want to add.
|
44
|
+
# @return [Array<Types::AddOutputRequest>]
|
45
|
+
#
|
46
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowOutputsRequest AWS API Documentation
|
47
|
+
#
|
48
|
+
class AddFlowOutputsRequest < Struct.new(
|
49
|
+
:flow_arn,
|
50
|
+
:outputs)
|
51
|
+
include Aws::Structure
|
52
|
+
end
|
53
|
+
|
54
|
+
# The result of a successful AddOutput request. The response includes
|
55
|
+
# the details of the newly added outputs.
|
56
|
+
#
|
57
|
+
# @!attribute [rw] flow_arn
|
58
|
+
# The ARN of the flow that these outputs were added to.
|
59
|
+
# @return [String]
|
60
|
+
#
|
61
|
+
# @!attribute [rw] outputs
|
62
|
+
# The details of the newly added outputs.
|
63
|
+
# @return [Array<Types::Output>]
|
64
|
+
#
|
65
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowOutputsResponse AWS API Documentation
|
66
|
+
#
|
67
|
+
class AddFlowOutputsResponse < Struct.new(
|
68
|
+
:flow_arn,
|
69
|
+
:outputs)
|
70
|
+
include Aws::Structure
|
71
|
+
end
|
72
|
+
|
73
|
+
# The output that you want to add to this flow.
|
74
|
+
#
|
75
|
+
# @note When making an API call, you may pass AddOutputRequest
|
76
|
+
# data as a hash:
|
77
|
+
#
|
78
|
+
# {
|
79
|
+
# description: "__string",
|
80
|
+
# destination: "__string", # required
|
81
|
+
# encryption: {
|
82
|
+
# algorithm: "aes128", # required, accepts aes128, aes192, aes256
|
83
|
+
# key_type: "static-key", # accepts static-key
|
84
|
+
# role_arn: "__string", # required
|
85
|
+
# secret_arn: "__string", # required
|
86
|
+
# },
|
87
|
+
# max_latency: 1,
|
88
|
+
# name: "__string",
|
89
|
+
# port: 1, # required
|
90
|
+
# protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp
|
91
|
+
# smoothing_latency: 1,
|
92
|
+
# stream_id: "__string",
|
93
|
+
# }
|
94
|
+
#
|
95
|
+
# @!attribute [rw] description
|
96
|
+
# A description of the output. This description appears only on the
|
97
|
+
# AWS Elemental MediaConnect console and will not be seen by the end
|
98
|
+
# user.
|
99
|
+
# @return [String]
|
100
|
+
#
|
101
|
+
# @!attribute [rw] destination
|
102
|
+
# The IP address from which video will be sent to output destinations.
|
103
|
+
# @return [String]
|
104
|
+
#
|
105
|
+
# @!attribute [rw] encryption
|
106
|
+
# The type of key used for the encryption. If no keyType is provided,
|
107
|
+
# the service will use the default setting (static-key).
|
108
|
+
# @return [Types::Encryption]
|
109
|
+
#
|
110
|
+
# @!attribute [rw] max_latency
|
111
|
+
# The maximum latency in milliseconds for Zixi-based streams.
|
112
|
+
# @return [Integer]
|
113
|
+
#
|
114
|
+
# @!attribute [rw] name
|
115
|
+
# The name of the output. This value must be unique within the current
|
116
|
+
# flow.
|
117
|
+
# @return [String]
|
118
|
+
#
|
119
|
+
# @!attribute [rw] port
|
120
|
+
# The port to use when content is distributed to this output.
|
121
|
+
# @return [Integer]
|
122
|
+
#
|
123
|
+
# @!attribute [rw] protocol
|
124
|
+
# The protocol to use for the output.
|
125
|
+
# @return [String]
|
126
|
+
#
|
127
|
+
# @!attribute [rw] smoothing_latency
|
128
|
+
# The smoothing latency in milliseconds for RTP and RTP-FEC streams.
|
129
|
+
# @return [Integer]
|
130
|
+
#
|
131
|
+
# @!attribute [rw] stream_id
|
132
|
+
# The stream ID that you want to use for this transport. This
|
133
|
+
# parameter applies only to Zixi-based streams.
|
134
|
+
# @return [String]
|
135
|
+
#
|
136
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddOutputRequest AWS API Documentation
|
137
|
+
#
|
138
|
+
class AddOutputRequest < Struct.new(
|
139
|
+
:description,
|
140
|
+
:destination,
|
141
|
+
:encryption,
|
142
|
+
:max_latency,
|
143
|
+
:name,
|
144
|
+
:port,
|
145
|
+
:protocol,
|
146
|
+
:smoothing_latency,
|
147
|
+
:stream_id)
|
148
|
+
include Aws::Structure
|
149
|
+
end
|
150
|
+
|
151
|
+
# Creates a new flow. The request must include one source. The request
|
152
|
+
# optionally can include outputs (up to 20) and one entitlement.
|
153
|
+
#
|
154
|
+
# @note When making an API call, you may pass CreateFlowRequest
|
155
|
+
# data as a hash:
|
156
|
+
#
|
157
|
+
# {
|
158
|
+
# availability_zone: "__string",
|
159
|
+
# entitlements: [
|
160
|
+
# {
|
161
|
+
# description: "__string",
|
162
|
+
# encryption: {
|
163
|
+
# algorithm: "aes128", # required, accepts aes128, aes192, aes256
|
164
|
+
# key_type: "static-key", # accepts static-key
|
165
|
+
# role_arn: "__string", # required
|
166
|
+
# secret_arn: "__string", # required
|
167
|
+
# },
|
168
|
+
# name: "__string",
|
169
|
+
# subscribers: ["__string"], # required
|
170
|
+
# },
|
171
|
+
# ],
|
172
|
+
# name: "__string", # required
|
173
|
+
# outputs: [
|
174
|
+
# {
|
175
|
+
# description: "__string",
|
176
|
+
# destination: "__string", # required
|
177
|
+
# encryption: {
|
178
|
+
# algorithm: "aes128", # required, accepts aes128, aes192, aes256
|
179
|
+
# key_type: "static-key", # accepts static-key
|
180
|
+
# role_arn: "__string", # required
|
181
|
+
# secret_arn: "__string", # required
|
182
|
+
# },
|
183
|
+
# max_latency: 1,
|
184
|
+
# name: "__string",
|
185
|
+
# port: 1, # required
|
186
|
+
# protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp
|
187
|
+
# smoothing_latency: 1,
|
188
|
+
# stream_id: "__string",
|
189
|
+
# },
|
190
|
+
# ],
|
191
|
+
# source: { # required
|
192
|
+
# decryption: {
|
193
|
+
# algorithm: "aes128", # required, accepts aes128, aes192, aes256
|
194
|
+
# key_type: "static-key", # accepts static-key
|
195
|
+
# role_arn: "__string", # required
|
196
|
+
# secret_arn: "__string", # required
|
197
|
+
# },
|
198
|
+
# description: "__string",
|
199
|
+
# entitlement_arn: "__string",
|
200
|
+
# ingest_port: 1,
|
201
|
+
# max_bitrate: 1,
|
202
|
+
# max_latency: 1,
|
203
|
+
# name: "__string",
|
204
|
+
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp
|
205
|
+
# stream_id: "__string",
|
206
|
+
# whitelist_cidr: "__string",
|
207
|
+
# },
|
208
|
+
# }
|
209
|
+
#
|
210
|
+
# @!attribute [rw] availability_zone
|
211
|
+
# The Availability Zone that you want to create the flow in. These
|
212
|
+
# options are limited to the Availability Zones within the current AWS
|
213
|
+
# Region.
|
214
|
+
# @return [String]
|
215
|
+
#
|
216
|
+
# @!attribute [rw] entitlements
|
217
|
+
# The entitlements that you want to grant on a flow.
|
218
|
+
# @return [Array<Types::GrantEntitlementRequest>]
|
219
|
+
#
|
220
|
+
# @!attribute [rw] name
|
221
|
+
# The name of the flow.
|
222
|
+
# @return [String]
|
223
|
+
#
|
224
|
+
# @!attribute [rw] outputs
|
225
|
+
# The outputs that you want to add to this flow.
|
226
|
+
# @return [Array<Types::AddOutputRequest>]
|
227
|
+
#
|
228
|
+
# @!attribute [rw] source
|
229
|
+
# The settings for the source of the flow.
|
230
|
+
# @return [Types::SetSourceRequest]
|
231
|
+
#
|
232
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/CreateFlowRequest AWS API Documentation
|
233
|
+
#
|
234
|
+
class CreateFlowRequest < Struct.new(
|
235
|
+
:availability_zone,
|
236
|
+
:entitlements,
|
237
|
+
:name,
|
238
|
+
:outputs,
|
239
|
+
:source)
|
240
|
+
include Aws::Structure
|
241
|
+
end
|
242
|
+
|
243
|
+
# The result of a successful CreateFlow request.
|
244
|
+
#
|
245
|
+
# @!attribute [rw] flow
|
246
|
+
# The settings for a flow, including its source, outputs, and
|
247
|
+
# entitlements.
|
248
|
+
# @return [Types::Flow]
|
249
|
+
#
|
250
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/CreateFlowResponse AWS API Documentation
|
251
|
+
#
|
252
|
+
class CreateFlowResponse < Struct.new(
|
253
|
+
:flow)
|
254
|
+
include Aws::Structure
|
255
|
+
end
|
256
|
+
|
257
|
+
# @note When making an API call, you may pass DeleteFlowRequest
|
258
|
+
# data as a hash:
|
259
|
+
#
|
260
|
+
# {
|
261
|
+
# flow_arn: "__string", # required
|
262
|
+
# }
|
263
|
+
#
|
264
|
+
# @!attribute [rw] flow_arn
|
265
|
+
# @return [String]
|
266
|
+
#
|
267
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DeleteFlowRequest AWS API Documentation
|
268
|
+
#
|
269
|
+
class DeleteFlowRequest < Struct.new(
|
270
|
+
:flow_arn)
|
271
|
+
include Aws::Structure
|
272
|
+
end
|
273
|
+
|
274
|
+
# The result of a successful DeleteFlow request.
|
275
|
+
#
|
276
|
+
# @!attribute [rw] flow_arn
|
277
|
+
# The ARN of the flow that was deleted.
|
278
|
+
# @return [String]
|
279
|
+
#
|
280
|
+
# @!attribute [rw] status
|
281
|
+
# The status of the flow when the DeleteFlow process begins.
|
282
|
+
# @return [String]
|
283
|
+
#
|
284
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DeleteFlowResponse AWS API Documentation
|
285
|
+
#
|
286
|
+
class DeleteFlowResponse < Struct.new(
|
287
|
+
:flow_arn,
|
288
|
+
:status)
|
289
|
+
include Aws::Structure
|
290
|
+
end
|
291
|
+
|
292
|
+
# @note When making an API call, you may pass DescribeFlowRequest
|
293
|
+
# data as a hash:
|
294
|
+
#
|
295
|
+
# {
|
296
|
+
# flow_arn: "__string", # required
|
297
|
+
# }
|
298
|
+
#
|
299
|
+
# @!attribute [rw] flow_arn
|
300
|
+
# @return [String]
|
301
|
+
#
|
302
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeFlowRequest AWS API Documentation
|
303
|
+
#
|
304
|
+
class DescribeFlowRequest < Struct.new(
|
305
|
+
:flow_arn)
|
306
|
+
include Aws::Structure
|
307
|
+
end
|
308
|
+
|
309
|
+
# The result of a successful DescribeFlow request.
|
310
|
+
#
|
311
|
+
# @!attribute [rw] flow
|
312
|
+
# The settings for a flow, including its source, outputs, and
|
313
|
+
# entitlements.
|
314
|
+
# @return [Types::Flow]
|
315
|
+
#
|
316
|
+
# @!attribute [rw] messages
|
317
|
+
# Messages that provide the state of the flow.
|
318
|
+
# @return [Types::Messages]
|
319
|
+
#
|
320
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeFlowResponse AWS API Documentation
|
321
|
+
#
|
322
|
+
class DescribeFlowResponse < Struct.new(
|
323
|
+
:flow,
|
324
|
+
:messages)
|
325
|
+
include Aws::Structure
|
326
|
+
end
|
327
|
+
|
328
|
+
# Information about the encryption of the flow.
|
329
|
+
#
|
330
|
+
# @note When making an API call, you may pass Encryption
|
331
|
+
# data as a hash:
|
332
|
+
#
|
333
|
+
# {
|
334
|
+
# algorithm: "aes128", # required, accepts aes128, aes192, aes256
|
335
|
+
# key_type: "static-key", # accepts static-key
|
336
|
+
# role_arn: "__string", # required
|
337
|
+
# secret_arn: "__string", # required
|
338
|
+
# }
|
339
|
+
#
|
340
|
+
# @!attribute [rw] algorithm
|
341
|
+
# The type of algorithm that is used for the encryption (such as
|
342
|
+
# aes128, aes192, or aes256).
|
343
|
+
# @return [String]
|
344
|
+
#
|
345
|
+
# @!attribute [rw] key_type
|
346
|
+
# The type of key that is used for the encryption. If no keyType is
|
347
|
+
# provided, the service will use the default setting (static-key).
|
348
|
+
# @return [String]
|
349
|
+
#
|
350
|
+
# @!attribute [rw] role_arn
|
351
|
+
# The ARN of the role that you created during setup (when you set up
|
352
|
+
# AWS Elemental MediaConnect as a trusted entity).
|
353
|
+
# @return [String]
|
354
|
+
#
|
355
|
+
# @!attribute [rw] secret_arn
|
356
|
+
# The ARN that was assigned to the secret that you created in AWS
|
357
|
+
# Secrets Manager to store the encryption key.
|
358
|
+
# @return [String]
|
359
|
+
#
|
360
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Encryption AWS API Documentation
|
361
|
+
#
|
362
|
+
class Encryption < Struct.new(
|
363
|
+
:algorithm,
|
364
|
+
:key_type,
|
365
|
+
:role_arn,
|
366
|
+
:secret_arn)
|
367
|
+
include Aws::Structure
|
368
|
+
end
|
369
|
+
|
370
|
+
# The settings for a flow entitlement.
|
371
|
+
#
|
372
|
+
# @!attribute [rw] description
|
373
|
+
# A description of the entitlement.
|
374
|
+
# @return [String]
|
375
|
+
#
|
376
|
+
# @!attribute [rw] encryption
|
377
|
+
# The type of encryption that will be used on the output that is
|
378
|
+
# associated with this entitlement.
|
379
|
+
# @return [Types::Encryption]
|
380
|
+
#
|
381
|
+
# @!attribute [rw] entitlement_arn
|
382
|
+
# The ARN of the entitlement.
|
383
|
+
# @return [String]
|
384
|
+
#
|
385
|
+
# @!attribute [rw] name
|
386
|
+
# The name of the entitlement.
|
387
|
+
# @return [String]
|
388
|
+
#
|
389
|
+
# @!attribute [rw] subscribers
|
390
|
+
# The AWS account IDs that you want to share your content with. The
|
391
|
+
# receiving accounts (subscribers) will be allowed to create their own
|
392
|
+
# flow using your content as the source.
|
393
|
+
# @return [Array<String>]
|
394
|
+
#
|
395
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Entitlement AWS API Documentation
|
396
|
+
#
|
397
|
+
class Entitlement < Struct.new(
|
398
|
+
:description,
|
399
|
+
:encryption,
|
400
|
+
:entitlement_arn,
|
401
|
+
:name,
|
402
|
+
:subscribers)
|
403
|
+
include Aws::Structure
|
404
|
+
end
|
405
|
+
|
406
|
+
# The settings for a flow, including its source, outputs, and
|
407
|
+
# entitlements.
|
408
|
+
#
|
409
|
+
# @!attribute [rw] availability_zone
|
410
|
+
# The Availability Zone that you want to create the flow in. These
|
411
|
+
# options are limited to the Availability Zones within the current
|
412
|
+
# AWS.
|
413
|
+
# @return [String]
|
414
|
+
#
|
415
|
+
# @!attribute [rw] description
|
416
|
+
# A description of the flow. This value is not used or seen outside of
|
417
|
+
# the current AWS Elemental MediaConnect account.
|
418
|
+
# @return [String]
|
419
|
+
#
|
420
|
+
# @!attribute [rw] egress_ip
|
421
|
+
# The IP address from which video will be sent to output destinations.
|
422
|
+
# @return [String]
|
423
|
+
#
|
424
|
+
# @!attribute [rw] entitlements
|
425
|
+
# The entitlements in this flow.
|
426
|
+
# @return [Array<Types::Entitlement>]
|
427
|
+
#
|
428
|
+
# @!attribute [rw] flow_arn
|
429
|
+
# The Amazon Resource Name (ARN), a unique identifier for any AWS
|
430
|
+
# resource, of the flow.
|
431
|
+
# @return [String]
|
432
|
+
#
|
433
|
+
# @!attribute [rw] name
|
434
|
+
# The name of the flow.
|
435
|
+
# @return [String]
|
436
|
+
#
|
437
|
+
# @!attribute [rw] outputs
|
438
|
+
# The outputs in this flow.
|
439
|
+
# @return [Array<Types::Output>]
|
440
|
+
#
|
441
|
+
# @!attribute [rw] source
|
442
|
+
# The settings for the source of the flow.
|
443
|
+
# @return [Types::Source]
|
444
|
+
#
|
445
|
+
# @!attribute [rw] status
|
446
|
+
# The current status of the flow.
|
447
|
+
# @return [String]
|
448
|
+
#
|
449
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Flow AWS API Documentation
|
450
|
+
#
|
451
|
+
class Flow < Struct.new(
|
452
|
+
:availability_zone,
|
453
|
+
:description,
|
454
|
+
:egress_ip,
|
455
|
+
:entitlements,
|
456
|
+
:flow_arn,
|
457
|
+
:name,
|
458
|
+
:outputs,
|
459
|
+
:source,
|
460
|
+
:status)
|
461
|
+
include Aws::Structure
|
462
|
+
end
|
463
|
+
|
464
|
+
# The entitlements that you want to grant on a flow.
|
465
|
+
#
|
466
|
+
# @note When making an API call, you may pass GrantEntitlementRequest
|
467
|
+
# data as a hash:
|
468
|
+
#
|
469
|
+
# {
|
470
|
+
# description: "__string",
|
471
|
+
# encryption: {
|
472
|
+
# algorithm: "aes128", # required, accepts aes128, aes192, aes256
|
473
|
+
# key_type: "static-key", # accepts static-key
|
474
|
+
# role_arn: "__string", # required
|
475
|
+
# secret_arn: "__string", # required
|
476
|
+
# },
|
477
|
+
# name: "__string",
|
478
|
+
# subscribers: ["__string"], # required
|
479
|
+
# }
|
480
|
+
#
|
481
|
+
# @!attribute [rw] description
|
482
|
+
# A description of the entitlement. This description appears only on
|
483
|
+
# the AWS Elemental MediaConnect console and will not be seen by the
|
484
|
+
# subscriber or end user.
|
485
|
+
# @return [String]
|
486
|
+
#
|
487
|
+
# @!attribute [rw] encryption
|
488
|
+
# The type of encryption that will be used on the output that is
|
489
|
+
# associated with this entitlement.
|
490
|
+
# @return [Types::Encryption]
|
491
|
+
#
|
492
|
+
# @!attribute [rw] name
|
493
|
+
# The name of the entitlement. This value must be unique within the
|
494
|
+
# current flow.
|
495
|
+
# @return [String]
|
496
|
+
#
|
497
|
+
# @!attribute [rw] subscribers
|
498
|
+
# The AWS account IDs that you want to share your content with. The
|
499
|
+
# receiving accounts (subscribers) will be allowed to create their own
|
500
|
+
# flows using your content as the source.
|
501
|
+
# @return [Array<String>]
|
502
|
+
#
|
503
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/GrantEntitlementRequest AWS API Documentation
|
504
|
+
#
|
505
|
+
class GrantEntitlementRequest < Struct.new(
|
506
|
+
:description,
|
507
|
+
:encryption,
|
508
|
+
:name,
|
509
|
+
:subscribers)
|
510
|
+
include Aws::Structure
|
511
|
+
end
|
512
|
+
|
513
|
+
# Grants an entitlement on a flow.
|
514
|
+
#
|
515
|
+
# @note When making an API call, you may pass GrantFlowEntitlementsRequest
|
516
|
+
# data as a hash:
|
517
|
+
#
|
518
|
+
# {
|
519
|
+
# entitlements: [ # required
|
520
|
+
# {
|
521
|
+
# description: "__string",
|
522
|
+
# encryption: {
|
523
|
+
# algorithm: "aes128", # required, accepts aes128, aes192, aes256
|
524
|
+
# key_type: "static-key", # accepts static-key
|
525
|
+
# role_arn: "__string", # required
|
526
|
+
# secret_arn: "__string", # required
|
527
|
+
# },
|
528
|
+
# name: "__string",
|
529
|
+
# subscribers: ["__string"], # required
|
530
|
+
# },
|
531
|
+
# ],
|
532
|
+
# flow_arn: "__string", # required
|
533
|
+
# }
|
534
|
+
#
|
535
|
+
# @!attribute [rw] entitlements
|
536
|
+
# The list of entitlements that you want to grant.
|
537
|
+
# @return [Array<Types::GrantEntitlementRequest>]
|
538
|
+
#
|
539
|
+
# @!attribute [rw] flow_arn
|
540
|
+
# @return [String]
|
541
|
+
#
|
542
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/GrantFlowEntitlementsRequest AWS API Documentation
|
543
|
+
#
|
544
|
+
class GrantFlowEntitlementsRequest < Struct.new(
|
545
|
+
:entitlements,
|
546
|
+
:flow_arn)
|
547
|
+
include Aws::Structure
|
548
|
+
end
|
549
|
+
|
550
|
+
# The entitlements that were just granted.
|
551
|
+
#
|
552
|
+
# @!attribute [rw] entitlements
|
553
|
+
# The entitlements that were just granted.
|
554
|
+
# @return [Array<Types::Entitlement>]
|
555
|
+
#
|
556
|
+
# @!attribute [rw] flow_arn
|
557
|
+
# The ARN of the flow that these entitlements were granted to.
|
558
|
+
# @return [String]
|
559
|
+
#
|
560
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/GrantFlowEntitlementsResponse AWS API Documentation
|
561
|
+
#
|
562
|
+
class GrantFlowEntitlementsResponse < Struct.new(
|
563
|
+
:entitlements,
|
564
|
+
:flow_arn)
|
565
|
+
include Aws::Structure
|
566
|
+
end
|
567
|
+
|
568
|
+
# @note When making an API call, you may pass ListEntitlementsRequest
|
569
|
+
# data as a hash:
|
570
|
+
#
|
571
|
+
# {
|
572
|
+
# max_results: 1,
|
573
|
+
# next_token: "__string",
|
574
|
+
# }
|
575
|
+
#
|
576
|
+
# @!attribute [rw] max_results
|
577
|
+
# @return [Integer]
|
578
|
+
#
|
579
|
+
# @!attribute [rw] next_token
|
580
|
+
# @return [String]
|
581
|
+
#
|
582
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListEntitlementsRequest AWS API Documentation
|
583
|
+
#
|
584
|
+
class ListEntitlementsRequest < Struct.new(
|
585
|
+
:max_results,
|
586
|
+
:next_token)
|
587
|
+
include Aws::Structure
|
588
|
+
end
|
589
|
+
|
590
|
+
# The result of a successful ListEntitlements request. The response
|
591
|
+
# includes the ARN of each entitlement, the name of the associated flow,
|
592
|
+
# and the NextToken to use in a subsequent ListEntitlements request.
|
593
|
+
#
|
594
|
+
# @!attribute [rw] entitlements
|
595
|
+
# A list of entitlements that have been granted to you from other AWS
|
596
|
+
# accounts.
|
597
|
+
# @return [Array<Types::ListedEntitlement>]
|
598
|
+
#
|
599
|
+
# @!attribute [rw] next_token
|
600
|
+
# The token that identifies which batch of results that you want to
|
601
|
+
# see. For example, you submit a ListEntitlements request with
|
602
|
+
# MaxResults set at 5. The service returns the first batch of results
|
603
|
+
# (up to 5) and a NextToken value. To see the next batch of results,
|
604
|
+
# you can submit the ListEntitlements request a second time and
|
605
|
+
# specify the NextToken value.
|
606
|
+
# @return [String]
|
607
|
+
#
|
608
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListEntitlementsResponse AWS API Documentation
|
609
|
+
#
|
610
|
+
class ListEntitlementsResponse < Struct.new(
|
611
|
+
:entitlements,
|
612
|
+
:next_token)
|
613
|
+
include Aws::Structure
|
614
|
+
end
|
615
|
+
|
616
|
+
# @note When making an API call, you may pass ListFlowsRequest
|
617
|
+
# data as a hash:
|
618
|
+
#
|
619
|
+
# {
|
620
|
+
# max_results: 1,
|
621
|
+
# next_token: "__string",
|
622
|
+
# }
|
623
|
+
#
|
624
|
+
# @!attribute [rw] max_results
|
625
|
+
# @return [Integer]
|
626
|
+
#
|
627
|
+
# @!attribute [rw] next_token
|
628
|
+
# @return [String]
|
629
|
+
#
|
630
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListFlowsRequest AWS API Documentation
|
631
|
+
#
|
632
|
+
class ListFlowsRequest < Struct.new(
|
633
|
+
:max_results,
|
634
|
+
:next_token)
|
635
|
+
include Aws::Structure
|
636
|
+
end
|
637
|
+
|
638
|
+
# The result of a successful ListFlows request. The response includes
|
639
|
+
# flow summaries and the NextToken to use in a subsequent ListFlows
|
640
|
+
# request.
|
641
|
+
#
|
642
|
+
# @!attribute [rw] flows
|
643
|
+
# A list of flow summaries.
|
644
|
+
# @return [Array<Types::ListedFlow>]
|
645
|
+
#
|
646
|
+
# @!attribute [rw] next_token
|
647
|
+
# The token that identifies which batch of results that you want to
|
648
|
+
# see. For example, you submit a ListFlows request with MaxResults set
|
649
|
+
# at 5. The service returns the first batch of results (up to 5) and a
|
650
|
+
# NextToken value. To see the next batch of results, you can submit
|
651
|
+
# the ListFlows request a second time and specify the NextToken value.
|
652
|
+
# @return [String]
|
653
|
+
#
|
654
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListFlowsResponse AWS API Documentation
|
655
|
+
#
|
656
|
+
class ListFlowsResponse < Struct.new(
|
657
|
+
:flows,
|
658
|
+
:next_token)
|
659
|
+
include Aws::Structure
|
660
|
+
end
|
661
|
+
|
662
|
+
# An entitlement that has been granted to you from other AWS accounts.
|
663
|
+
#
|
664
|
+
# @!attribute [rw] entitlement_arn
|
665
|
+
# The ARN of the entitlement.
|
666
|
+
# @return [String]
|
667
|
+
#
|
668
|
+
# @!attribute [rw] entitlement_name
|
669
|
+
# The name of the entitlement.
|
670
|
+
# @return [String]
|
671
|
+
#
|
672
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListedEntitlement AWS API Documentation
|
673
|
+
#
|
674
|
+
class ListedEntitlement < Struct.new(
|
675
|
+
:entitlement_arn,
|
676
|
+
:entitlement_name)
|
677
|
+
include Aws::Structure
|
678
|
+
end
|
679
|
+
|
680
|
+
# Provides a summary of a flow, including its ARN, Availability Zone,
|
681
|
+
# and source type.
|
682
|
+
#
|
683
|
+
# @!attribute [rw] availability_zone
|
684
|
+
# The Availability Zone that the flow was created in.
|
685
|
+
# @return [String]
|
686
|
+
#
|
687
|
+
# @!attribute [rw] description
|
688
|
+
# A description of the flow.
|
689
|
+
# @return [String]
|
690
|
+
#
|
691
|
+
# @!attribute [rw] flow_arn
|
692
|
+
# The ARN of the flow.
|
693
|
+
# @return [String]
|
694
|
+
#
|
695
|
+
# @!attribute [rw] name
|
696
|
+
# The name of the flow.
|
697
|
+
# @return [String]
|
698
|
+
#
|
699
|
+
# @!attribute [rw] source_type
|
700
|
+
# The type of source. This value is either owned (originated somewhere
|
701
|
+
# other than an AWS Elemental MediaConnect flow owned by another AWS
|
702
|
+
# account) or entitled (originated at an AWS Elemental MediaConnect
|
703
|
+
# flow owned by another AWS account).
|
704
|
+
# @return [String]
|
705
|
+
#
|
706
|
+
# @!attribute [rw] status
|
707
|
+
# The current status of the flow.
|
708
|
+
# @return [String]
|
709
|
+
#
|
710
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListedFlow AWS API Documentation
|
711
|
+
#
|
712
|
+
class ListedFlow < Struct.new(
|
713
|
+
:availability_zone,
|
714
|
+
:description,
|
715
|
+
:flow_arn,
|
716
|
+
:name,
|
717
|
+
:source_type,
|
718
|
+
:status)
|
719
|
+
include Aws::Structure
|
720
|
+
end
|
721
|
+
|
722
|
+
# Messages that provide the state of the flow.
|
723
|
+
#
|
724
|
+
# @!attribute [rw] errors
|
725
|
+
# A list of errors that might have been generated from processes on
|
726
|
+
# this flow.
|
727
|
+
# @return [Array<String>]
|
728
|
+
#
|
729
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Messages AWS API Documentation
|
730
|
+
#
|
731
|
+
class Messages < Struct.new(
|
732
|
+
:errors)
|
733
|
+
include Aws::Structure
|
734
|
+
end
|
735
|
+
|
736
|
+
# The settings for an output.
|
737
|
+
#
|
738
|
+
# @!attribute [rw] description
|
739
|
+
# A description of the output.
|
740
|
+
# @return [String]
|
741
|
+
#
|
742
|
+
# @!attribute [rw] destination
|
743
|
+
# The address where you want to send the output.
|
744
|
+
# @return [String]
|
745
|
+
#
|
746
|
+
# @!attribute [rw] encryption
|
747
|
+
# The type of key used for the encryption. If no keyType is provided,
|
748
|
+
# the service will use the default setting (static-key).
|
749
|
+
# @return [Types::Encryption]
|
750
|
+
#
|
751
|
+
# @!attribute [rw] entitlement_arn
|
752
|
+
# The ARN of the entitlement on the originator''s flow. This value
|
753
|
+
# is relevant only on entitled flows.
|
754
|
+
# @return [String]
|
755
|
+
#
|
756
|
+
# @!attribute [rw] media_live_input_arn
|
757
|
+
# The input ARN of the AWS Elemental MediaLive channel. This parameter
|
758
|
+
# is relevant only for outputs that were added by creating a MediaLive
|
759
|
+
# input.
|
760
|
+
# @return [String]
|
761
|
+
#
|
762
|
+
# @!attribute [rw] name
|
763
|
+
# The name of the output. This value must be unique within the current
|
764
|
+
# flow.
|
765
|
+
# @return [String]
|
766
|
+
#
|
767
|
+
# @!attribute [rw] output_arn
|
768
|
+
# The ARN of the output.
|
769
|
+
# @return [String]
|
770
|
+
#
|
771
|
+
# @!attribute [rw] port
|
772
|
+
# The port to use when content is distributed to this output.
|
773
|
+
# @return [Integer]
|
774
|
+
#
|
775
|
+
# @!attribute [rw] transport
|
776
|
+
# Attributes related to the transport stream that are used in the
|
777
|
+
# output.
|
778
|
+
# @return [Types::Transport]
|
779
|
+
#
|
780
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Output AWS API Documentation
|
781
|
+
#
|
782
|
+
class Output < Struct.new(
|
783
|
+
:description,
|
784
|
+
:destination,
|
785
|
+
:encryption,
|
786
|
+
:entitlement_arn,
|
787
|
+
:media_live_input_arn,
|
788
|
+
:name,
|
789
|
+
:output_arn,
|
790
|
+
:port,
|
791
|
+
:transport)
|
792
|
+
include Aws::Structure
|
793
|
+
end
|
794
|
+
|
795
|
+
# @note When making an API call, you may pass RemoveFlowOutputRequest
|
796
|
+
# data as a hash:
|
797
|
+
#
|
798
|
+
# {
|
799
|
+
# flow_arn: "__string", # required
|
800
|
+
# output_arn: "__string", # required
|
801
|
+
# }
|
802
|
+
#
|
803
|
+
# @!attribute [rw] flow_arn
|
804
|
+
# @return [String]
|
805
|
+
#
|
806
|
+
# @!attribute [rw] output_arn
|
807
|
+
# @return [String]
|
808
|
+
#
|
809
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowOutputRequest AWS API Documentation
|
810
|
+
#
|
811
|
+
class RemoveFlowOutputRequest < Struct.new(
|
812
|
+
:flow_arn,
|
813
|
+
:output_arn)
|
814
|
+
include Aws::Structure
|
815
|
+
end
|
816
|
+
|
817
|
+
# The result of a successful RemoveFlowOutput request including the flow
|
818
|
+
# ARN and the output ARN that was removed.
|
819
|
+
#
|
820
|
+
# @!attribute [rw] flow_arn
|
821
|
+
# The ARN of the flow that is associated with the output you removed.
|
822
|
+
# @return [String]
|
823
|
+
#
|
824
|
+
# @!attribute [rw] output_arn
|
825
|
+
# The ARN of the output that was removed.
|
826
|
+
# @return [String]
|
827
|
+
#
|
828
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowOutputResponse AWS API Documentation
|
829
|
+
#
|
830
|
+
class RemoveFlowOutputResponse < Struct.new(
|
831
|
+
:flow_arn,
|
832
|
+
:output_arn)
|
833
|
+
include Aws::Structure
|
834
|
+
end
|
835
|
+
|
836
|
+
# Exception raised by AWS Elemental MediaConnect. See the error message
|
837
|
+
# and documentation for the operation for more information on the cause
|
838
|
+
# of this exception.
|
839
|
+
#
|
840
|
+
# @!attribute [rw] message
|
841
|
+
# The error message returned by AWS Elemental MediaConnect.
|
842
|
+
# @return [String]
|
843
|
+
#
|
844
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ResponseError AWS API Documentation
|
845
|
+
#
|
846
|
+
class ResponseError < Struct.new(
|
847
|
+
:message)
|
848
|
+
include Aws::Structure
|
849
|
+
end
|
850
|
+
|
851
|
+
# @note When making an API call, you may pass RevokeFlowEntitlementRequest
|
852
|
+
# data as a hash:
|
853
|
+
#
|
854
|
+
# {
|
855
|
+
# entitlement_arn: "__string", # required
|
856
|
+
# flow_arn: "__string", # required
|
857
|
+
# }
|
858
|
+
#
|
859
|
+
# @!attribute [rw] entitlement_arn
|
860
|
+
# @return [String]
|
861
|
+
#
|
862
|
+
# @!attribute [rw] flow_arn
|
863
|
+
# @return [String]
|
864
|
+
#
|
865
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RevokeFlowEntitlementRequest AWS API Documentation
|
866
|
+
#
|
867
|
+
class RevokeFlowEntitlementRequest < Struct.new(
|
868
|
+
:entitlement_arn,
|
869
|
+
:flow_arn)
|
870
|
+
include Aws::Structure
|
871
|
+
end
|
872
|
+
|
873
|
+
# The result of a successful RevokeFlowEntitlement request. The response
|
874
|
+
# includes the ARN of the flow that was updated and the ARN of the
|
875
|
+
# entitlement that was revoked.
|
876
|
+
#
|
877
|
+
# @!attribute [rw] entitlement_arn
|
878
|
+
# The ARN of the entitlement that was revoked.
|
879
|
+
# @return [String]
|
880
|
+
#
|
881
|
+
# @!attribute [rw] flow_arn
|
882
|
+
# The ARN of the flow that the entitlement was revoked from.
|
883
|
+
# @return [String]
|
884
|
+
#
|
885
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RevokeFlowEntitlementResponse AWS API Documentation
|
886
|
+
#
|
887
|
+
class RevokeFlowEntitlementResponse < Struct.new(
|
888
|
+
:entitlement_arn,
|
889
|
+
:flow_arn)
|
890
|
+
include Aws::Structure
|
891
|
+
end
|
892
|
+
|
893
|
+
# The settings for the source of the flow.
|
894
|
+
#
|
895
|
+
# @note When making an API call, you may pass SetSourceRequest
|
896
|
+
# data as a hash:
|
897
|
+
#
|
898
|
+
# {
|
899
|
+
# decryption: {
|
900
|
+
# algorithm: "aes128", # required, accepts aes128, aes192, aes256
|
901
|
+
# key_type: "static-key", # accepts static-key
|
902
|
+
# role_arn: "__string", # required
|
903
|
+
# secret_arn: "__string", # required
|
904
|
+
# },
|
905
|
+
# description: "__string",
|
906
|
+
# entitlement_arn: "__string",
|
907
|
+
# ingest_port: 1,
|
908
|
+
# max_bitrate: 1,
|
909
|
+
# max_latency: 1,
|
910
|
+
# name: "__string",
|
911
|
+
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp
|
912
|
+
# stream_id: "__string",
|
913
|
+
# whitelist_cidr: "__string",
|
914
|
+
# }
|
915
|
+
#
|
916
|
+
# @!attribute [rw] decryption
|
917
|
+
# The type of encryption that is used on the content ingested from
|
918
|
+
# this source.
|
919
|
+
# @return [Types::Encryption]
|
920
|
+
#
|
921
|
+
# @!attribute [rw] description
|
922
|
+
# A description for the source. This value is not used or seen outside
|
923
|
+
# of the current AWS Elemental MediaConnect account.
|
924
|
+
# @return [String]
|
925
|
+
#
|
926
|
+
# @!attribute [rw] entitlement_arn
|
927
|
+
# The ARN of the entitlement that allows you to subscribe to this
|
928
|
+
# flow. The entitlement is set by the flow originator, and the ARN is
|
929
|
+
# generated as part of the originator's flow.
|
930
|
+
# @return [String]
|
931
|
+
#
|
932
|
+
# @!attribute [rw] ingest_port
|
933
|
+
# The port that the flow will be listening on for incoming content.
|
934
|
+
# @return [Integer]
|
935
|
+
#
|
936
|
+
# @!attribute [rw] max_bitrate
|
937
|
+
# The smoothing max bitrate for RTP and RTP-FEC streams.
|
938
|
+
# @return [Integer]
|
939
|
+
#
|
940
|
+
# @!attribute [rw] max_latency
|
941
|
+
# The maximum latency in milliseconds for Zixi-based streams.
|
942
|
+
# @return [Integer]
|
943
|
+
#
|
944
|
+
# @!attribute [rw] name
|
945
|
+
# The name of the source.
|
946
|
+
# @return [String]
|
947
|
+
#
|
948
|
+
# @!attribute [rw] protocol
|
949
|
+
# The protocol that is used by the source.
|
950
|
+
# @return [String]
|
951
|
+
#
|
952
|
+
# @!attribute [rw] stream_id
|
953
|
+
# The stream ID that you want to use for this transport. This
|
954
|
+
# parameter applies only to Zixi-based streams.
|
955
|
+
# @return [String]
|
956
|
+
#
|
957
|
+
# @!attribute [rw] whitelist_cidr
|
958
|
+
# The range of IP addresses that should be allowed to contribute
|
959
|
+
# content to your source. These IP addresses should in the form of a
|
960
|
+
# Classless Inter-Domain Routing (CIDR) block; for example,
|
961
|
+
# 10.0.0.0/16.
|
962
|
+
# @return [String]
|
963
|
+
#
|
964
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/SetSourceRequest AWS API Documentation
|
965
|
+
#
|
966
|
+
class SetSourceRequest < Struct.new(
|
967
|
+
:decryption,
|
968
|
+
:description,
|
969
|
+
:entitlement_arn,
|
970
|
+
:ingest_port,
|
971
|
+
:max_bitrate,
|
972
|
+
:max_latency,
|
973
|
+
:name,
|
974
|
+
:protocol,
|
975
|
+
:stream_id,
|
976
|
+
:whitelist_cidr)
|
977
|
+
include Aws::Structure
|
978
|
+
end
|
979
|
+
|
980
|
+
# The settings for the source of the flow.
|
981
|
+
#
|
982
|
+
# @!attribute [rw] decryption
|
983
|
+
# The type of encryption that is used on the content ingested from
|
984
|
+
# this source.
|
985
|
+
# @return [Types::Encryption]
|
986
|
+
#
|
987
|
+
# @!attribute [rw] description
|
988
|
+
# A description for the source. This value is not used or seen outside
|
989
|
+
# of the current AWS Elemental MediaConnect account.
|
990
|
+
# @return [String]
|
991
|
+
#
|
992
|
+
# @!attribute [rw] entitlement_arn
|
993
|
+
# The ARN of the entitlement that allows you to subscribe to content
|
994
|
+
# that comes from another AWS account. The entitlement is set by the
|
995
|
+
# content originator and the ARN is generated as part of the
|
996
|
+
# originator's flow.
|
997
|
+
# @return [String]
|
998
|
+
#
|
999
|
+
# @!attribute [rw] ingest_ip
|
1000
|
+
# The IP address that the flow will be listening on for incoming
|
1001
|
+
# content.
|
1002
|
+
# @return [String]
|
1003
|
+
#
|
1004
|
+
# @!attribute [rw] ingest_port
|
1005
|
+
# The port that the flow will be listening on for incoming content.
|
1006
|
+
# @return [Integer]
|
1007
|
+
#
|
1008
|
+
# @!attribute [rw] name
|
1009
|
+
# The name of the source.
|
1010
|
+
# @return [String]
|
1011
|
+
#
|
1012
|
+
# @!attribute [rw] source_arn
|
1013
|
+
# The ARN of the source.
|
1014
|
+
# @return [String]
|
1015
|
+
#
|
1016
|
+
# @!attribute [rw] transport
|
1017
|
+
# Attributes related to the transport stream that are used in the
|
1018
|
+
# source.
|
1019
|
+
# @return [Types::Transport]
|
1020
|
+
#
|
1021
|
+
# @!attribute [rw] whitelist_cidr
|
1022
|
+
# The range of IP addresses that should be allowed to contribute
|
1023
|
+
# content to your source. These IP addresses should in the form of a
|
1024
|
+
# Classless Inter-Domain Routing (CIDR) block; for example,
|
1025
|
+
# 10.0.0.0/16.
|
1026
|
+
# @return [String]
|
1027
|
+
#
|
1028
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Source AWS API Documentation
|
1029
|
+
#
|
1030
|
+
class Source < Struct.new(
|
1031
|
+
:decryption,
|
1032
|
+
:description,
|
1033
|
+
:entitlement_arn,
|
1034
|
+
:ingest_ip,
|
1035
|
+
:ingest_port,
|
1036
|
+
:name,
|
1037
|
+
:source_arn,
|
1038
|
+
:transport,
|
1039
|
+
:whitelist_cidr)
|
1040
|
+
include Aws::Structure
|
1041
|
+
end
|
1042
|
+
|
1043
|
+
# @note When making an API call, you may pass StartFlowRequest
|
1044
|
+
# data as a hash:
|
1045
|
+
#
|
1046
|
+
# {
|
1047
|
+
# flow_arn: "__string", # required
|
1048
|
+
# }
|
1049
|
+
#
|
1050
|
+
# @!attribute [rw] flow_arn
|
1051
|
+
# @return [String]
|
1052
|
+
#
|
1053
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/StartFlowRequest AWS API Documentation
|
1054
|
+
#
|
1055
|
+
class StartFlowRequest < Struct.new(
|
1056
|
+
:flow_arn)
|
1057
|
+
include Aws::Structure
|
1058
|
+
end
|
1059
|
+
|
1060
|
+
# The result of a successful StartFlow request.
|
1061
|
+
#
|
1062
|
+
# @!attribute [rw] flow_arn
|
1063
|
+
# The ARN of the flow that you started.
|
1064
|
+
# @return [String]
|
1065
|
+
#
|
1066
|
+
# @!attribute [rw] status
|
1067
|
+
# The status of the flow when the StartFlow process begins.
|
1068
|
+
# @return [String]
|
1069
|
+
#
|
1070
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/StartFlowResponse AWS API Documentation
|
1071
|
+
#
|
1072
|
+
class StartFlowResponse < Struct.new(
|
1073
|
+
:flow_arn,
|
1074
|
+
:status)
|
1075
|
+
include Aws::Structure
|
1076
|
+
end
|
1077
|
+
|
1078
|
+
# @note When making an API call, you may pass StopFlowRequest
|
1079
|
+
# data as a hash:
|
1080
|
+
#
|
1081
|
+
# {
|
1082
|
+
# flow_arn: "__string", # required
|
1083
|
+
# }
|
1084
|
+
#
|
1085
|
+
# @!attribute [rw] flow_arn
|
1086
|
+
# @return [String]
|
1087
|
+
#
|
1088
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/StopFlowRequest AWS API Documentation
|
1089
|
+
#
|
1090
|
+
class StopFlowRequest < Struct.new(
|
1091
|
+
:flow_arn)
|
1092
|
+
include Aws::Structure
|
1093
|
+
end
|
1094
|
+
|
1095
|
+
# The result of a successful StopFlow request.
|
1096
|
+
#
|
1097
|
+
# @!attribute [rw] flow_arn
|
1098
|
+
# The ARN of the flow that you stopped.
|
1099
|
+
# @return [String]
|
1100
|
+
#
|
1101
|
+
# @!attribute [rw] status
|
1102
|
+
# The status of the flow when the StopFlow process begins.
|
1103
|
+
# @return [String]
|
1104
|
+
#
|
1105
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/StopFlowResponse AWS API Documentation
|
1106
|
+
#
|
1107
|
+
class StopFlowResponse < Struct.new(
|
1108
|
+
:flow_arn,
|
1109
|
+
:status)
|
1110
|
+
include Aws::Structure
|
1111
|
+
end
|
1112
|
+
|
1113
|
+
# Attributes related to the transport stream that are used in a source
|
1114
|
+
# or output.
|
1115
|
+
#
|
1116
|
+
# @!attribute [rw] max_bitrate
|
1117
|
+
# The smoothing max bitrate for RTP and RTP-FEC streams.
|
1118
|
+
# @return [Integer]
|
1119
|
+
#
|
1120
|
+
# @!attribute [rw] max_latency
|
1121
|
+
# The maximum latency in milliseconds for Zixi-based streams.
|
1122
|
+
# @return [Integer]
|
1123
|
+
#
|
1124
|
+
# @!attribute [rw] protocol
|
1125
|
+
# The protocol that is used by the source or output.
|
1126
|
+
# @return [String]
|
1127
|
+
#
|
1128
|
+
# @!attribute [rw] smoothing_latency
|
1129
|
+
# The smoothing latency in milliseconds for RTP and RTP-FEC streams.
|
1130
|
+
# @return [Integer]
|
1131
|
+
#
|
1132
|
+
# @!attribute [rw] stream_id
|
1133
|
+
# The stream ID that you want to use for this transport. This
|
1134
|
+
# parameter applies only to Zixi-based streams.
|
1135
|
+
# @return [String]
|
1136
|
+
#
|
1137
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Transport AWS API Documentation
|
1138
|
+
#
|
1139
|
+
class Transport < Struct.new(
|
1140
|
+
:max_bitrate,
|
1141
|
+
:max_latency,
|
1142
|
+
:protocol,
|
1143
|
+
:smoothing_latency,
|
1144
|
+
:stream_id)
|
1145
|
+
include Aws::Structure
|
1146
|
+
end
|
1147
|
+
|
1148
|
+
# Information about the encryption of the flow.
|
1149
|
+
#
|
1150
|
+
# @note When making an API call, you may pass UpdateEncryption
|
1151
|
+
# data as a hash:
|
1152
|
+
#
|
1153
|
+
# {
|
1154
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
1155
|
+
# key_type: "static-key", # accepts static-key
|
1156
|
+
# role_arn: "__string",
|
1157
|
+
# secret_arn: "__string",
|
1158
|
+
# }
|
1159
|
+
#
|
1160
|
+
# @!attribute [rw] algorithm
|
1161
|
+
# The type of algorithm that is used for the encryption (such as
|
1162
|
+
# aes128, aes192, or aes256).
|
1163
|
+
# @return [String]
|
1164
|
+
#
|
1165
|
+
# @!attribute [rw] key_type
|
1166
|
+
# The type of key that is used for the encryption. If no keyType is
|
1167
|
+
# provided, the service will use the default setting (static-key).
|
1168
|
+
# @return [String]
|
1169
|
+
#
|
1170
|
+
# @!attribute [rw] role_arn
|
1171
|
+
# The ARN of the role that you created during setup (when you set up
|
1172
|
+
# AWS Elemental MediaConnect as a trusted entity).
|
1173
|
+
# @return [String]
|
1174
|
+
#
|
1175
|
+
# @!attribute [rw] secret_arn
|
1176
|
+
# The ARN that was assigned to the secret that you created in AWS
|
1177
|
+
# Secrets Manager to store the encryption key.
|
1178
|
+
# @return [String]
|
1179
|
+
#
|
1180
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateEncryption AWS API Documentation
|
1181
|
+
#
|
1182
|
+
class UpdateEncryption < Struct.new(
|
1183
|
+
:algorithm,
|
1184
|
+
:key_type,
|
1185
|
+
:role_arn,
|
1186
|
+
:secret_arn)
|
1187
|
+
include Aws::Structure
|
1188
|
+
end
|
1189
|
+
|
1190
|
+
# The updates that you want to make to a specific entitlement.
|
1191
|
+
#
|
1192
|
+
# @note When making an API call, you may pass UpdateFlowEntitlementRequest
|
1193
|
+
# data as a hash:
|
1194
|
+
#
|
1195
|
+
# {
|
1196
|
+
# description: "__string",
|
1197
|
+
# encryption: {
|
1198
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
1199
|
+
# key_type: "static-key", # accepts static-key
|
1200
|
+
# role_arn: "__string",
|
1201
|
+
# secret_arn: "__string",
|
1202
|
+
# },
|
1203
|
+
# entitlement_arn: "__string", # required
|
1204
|
+
# flow_arn: "__string", # required
|
1205
|
+
# subscribers: ["__string"],
|
1206
|
+
# }
|
1207
|
+
#
|
1208
|
+
# @!attribute [rw] description
|
1209
|
+
# A description of the entitlement. This description appears only on
|
1210
|
+
# the AWS Elemental MediaConnect console and will not be seen by the
|
1211
|
+
# subscriber or end user.
|
1212
|
+
# @return [String]
|
1213
|
+
#
|
1214
|
+
# @!attribute [rw] encryption
|
1215
|
+
# The type of encryption that will be used on the output associated
|
1216
|
+
# with this entitlement.
|
1217
|
+
# @return [Types::UpdateEncryption]
|
1218
|
+
#
|
1219
|
+
# @!attribute [rw] entitlement_arn
|
1220
|
+
# @return [String]
|
1221
|
+
#
|
1222
|
+
# @!attribute [rw] flow_arn
|
1223
|
+
# @return [String]
|
1224
|
+
#
|
1225
|
+
# @!attribute [rw] subscribers
|
1226
|
+
# The AWS account IDs that you want to share your content with. The
|
1227
|
+
# receiving accounts (subscribers) will be allowed to create their own
|
1228
|
+
# flow using your content as the source.
|
1229
|
+
# @return [Array<String>]
|
1230
|
+
#
|
1231
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowEntitlementRequest AWS API Documentation
|
1232
|
+
#
|
1233
|
+
class UpdateFlowEntitlementRequest < Struct.new(
|
1234
|
+
:description,
|
1235
|
+
:encryption,
|
1236
|
+
:entitlement_arn,
|
1237
|
+
:flow_arn,
|
1238
|
+
:subscribers)
|
1239
|
+
include Aws::Structure
|
1240
|
+
end
|
1241
|
+
|
1242
|
+
# The result of a successful UpdateFlowEntitlement request. The response
|
1243
|
+
# includes the ARN of the flow that was updated and the updated
|
1244
|
+
# entitlement configuration.
|
1245
|
+
#
|
1246
|
+
# @!attribute [rw] entitlement
|
1247
|
+
# The settings for a flow entitlement.
|
1248
|
+
# @return [Types::Entitlement]
|
1249
|
+
#
|
1250
|
+
# @!attribute [rw] flow_arn
|
1251
|
+
# The ARN of the flow that this entitlement was granted on.
|
1252
|
+
# @return [String]
|
1253
|
+
#
|
1254
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowEntitlementResponse AWS API Documentation
|
1255
|
+
#
|
1256
|
+
class UpdateFlowEntitlementResponse < Struct.new(
|
1257
|
+
:entitlement,
|
1258
|
+
:flow_arn)
|
1259
|
+
include Aws::Structure
|
1260
|
+
end
|
1261
|
+
|
1262
|
+
# The updates that you want to make to an existing output of an existing
|
1263
|
+
# flow.
|
1264
|
+
#
|
1265
|
+
# @note When making an API call, you may pass UpdateFlowOutputRequest
|
1266
|
+
# data as a hash:
|
1267
|
+
#
|
1268
|
+
# {
|
1269
|
+
# description: "__string",
|
1270
|
+
# destination: "__string",
|
1271
|
+
# encryption: {
|
1272
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
1273
|
+
# key_type: "static-key", # accepts static-key
|
1274
|
+
# role_arn: "__string",
|
1275
|
+
# secret_arn: "__string",
|
1276
|
+
# },
|
1277
|
+
# flow_arn: "__string", # required
|
1278
|
+
# max_latency: 1,
|
1279
|
+
# output_arn: "__string", # required
|
1280
|
+
# port: 1,
|
1281
|
+
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp
|
1282
|
+
# smoothing_latency: 1,
|
1283
|
+
# stream_id: "__string",
|
1284
|
+
# }
|
1285
|
+
#
|
1286
|
+
# @!attribute [rw] description
|
1287
|
+
# A description of the output. This description appears only on the
|
1288
|
+
# AWS Elemental MediaConnect console and will not be seen by the end
|
1289
|
+
# user.
|
1290
|
+
# @return [String]
|
1291
|
+
#
|
1292
|
+
# @!attribute [rw] destination
|
1293
|
+
# The IP address where you want to send the output.
|
1294
|
+
# @return [String]
|
1295
|
+
#
|
1296
|
+
# @!attribute [rw] encryption
|
1297
|
+
# The type of key used for the encryption. If no keyType is provided,
|
1298
|
+
# the service will use the default setting (static-key).
|
1299
|
+
# @return [Types::UpdateEncryption]
|
1300
|
+
#
|
1301
|
+
# @!attribute [rw] flow_arn
|
1302
|
+
# @return [String]
|
1303
|
+
#
|
1304
|
+
# @!attribute [rw] max_latency
|
1305
|
+
# The maximum latency in milliseconds for Zixi-based streams.
|
1306
|
+
# @return [Integer]
|
1307
|
+
#
|
1308
|
+
# @!attribute [rw] output_arn
|
1309
|
+
# @return [String]
|
1310
|
+
#
|
1311
|
+
# @!attribute [rw] port
|
1312
|
+
# The port to use when content is distributed to this output.
|
1313
|
+
# @return [Integer]
|
1314
|
+
#
|
1315
|
+
# @!attribute [rw] protocol
|
1316
|
+
# The protocol to use for the output.
|
1317
|
+
# @return [String]
|
1318
|
+
#
|
1319
|
+
# @!attribute [rw] smoothing_latency
|
1320
|
+
# The smoothing latency in milliseconds for RTP and RTP-FEC streams.
|
1321
|
+
# @return [Integer]
|
1322
|
+
#
|
1323
|
+
# @!attribute [rw] stream_id
|
1324
|
+
# The stream ID that you want to use for this transport. This
|
1325
|
+
# parameter applies only to Zixi-based streams.
|
1326
|
+
# @return [String]
|
1327
|
+
#
|
1328
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowOutputRequest AWS API Documentation
|
1329
|
+
#
|
1330
|
+
class UpdateFlowOutputRequest < Struct.new(
|
1331
|
+
:description,
|
1332
|
+
:destination,
|
1333
|
+
:encryption,
|
1334
|
+
:flow_arn,
|
1335
|
+
:max_latency,
|
1336
|
+
:output_arn,
|
1337
|
+
:port,
|
1338
|
+
:protocol,
|
1339
|
+
:smoothing_latency,
|
1340
|
+
:stream_id)
|
1341
|
+
include Aws::Structure
|
1342
|
+
end
|
1343
|
+
|
1344
|
+
# The result of a successful UpdateFlowOutput request including the flow
|
1345
|
+
# ARN and the updated output.
|
1346
|
+
#
|
1347
|
+
# @!attribute [rw] flow_arn
|
1348
|
+
# The ARN of the flow that is associated with the updated output.
|
1349
|
+
# @return [String]
|
1350
|
+
#
|
1351
|
+
# @!attribute [rw] output
|
1352
|
+
# The settings for an output.
|
1353
|
+
# @return [Types::Output]
|
1354
|
+
#
|
1355
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowOutputResponse AWS API Documentation
|
1356
|
+
#
|
1357
|
+
class UpdateFlowOutputResponse < Struct.new(
|
1358
|
+
:flow_arn,
|
1359
|
+
:output)
|
1360
|
+
include Aws::Structure
|
1361
|
+
end
|
1362
|
+
|
1363
|
+
# The settings for the updated source of the flow.
|
1364
|
+
#
|
1365
|
+
# @note When making an API call, you may pass UpdateFlowSourceRequest
|
1366
|
+
# data as a hash:
|
1367
|
+
#
|
1368
|
+
# {
|
1369
|
+
# decryption: {
|
1370
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
1371
|
+
# key_type: "static-key", # accepts static-key
|
1372
|
+
# role_arn: "__string",
|
1373
|
+
# secret_arn: "__string",
|
1374
|
+
# },
|
1375
|
+
# description: "__string",
|
1376
|
+
# entitlement_arn: "__string",
|
1377
|
+
# flow_arn: "__string", # required
|
1378
|
+
# ingest_port: 1,
|
1379
|
+
# max_bitrate: 1,
|
1380
|
+
# max_latency: 1,
|
1381
|
+
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp
|
1382
|
+
# source_arn: "__string", # required
|
1383
|
+
# stream_id: "__string",
|
1384
|
+
# whitelist_cidr: "__string",
|
1385
|
+
# }
|
1386
|
+
#
|
1387
|
+
# @!attribute [rw] decryption
|
1388
|
+
# The type of encryption used on the content ingested from this
|
1389
|
+
# source.
|
1390
|
+
# @return [Types::UpdateEncryption]
|
1391
|
+
#
|
1392
|
+
# @!attribute [rw] description
|
1393
|
+
# A description for the source. This value is not used or seen outside
|
1394
|
+
# of the current AWS Elemental MediaConnect account.
|
1395
|
+
# @return [String]
|
1396
|
+
#
|
1397
|
+
# @!attribute [rw] entitlement_arn
|
1398
|
+
# The ARN of the entitlement that allows you to subscribe to this
|
1399
|
+
# flow. The entitlement is set by the flow originator, and the ARN is
|
1400
|
+
# generated as part of the originator's flow.
|
1401
|
+
# @return [String]
|
1402
|
+
#
|
1403
|
+
# @!attribute [rw] flow_arn
|
1404
|
+
# @return [String]
|
1405
|
+
#
|
1406
|
+
# @!attribute [rw] ingest_port
|
1407
|
+
# The port that the flow will be listening on for incoming content.
|
1408
|
+
# @return [Integer]
|
1409
|
+
#
|
1410
|
+
# @!attribute [rw] max_bitrate
|
1411
|
+
# The smoothing max bitrate for RTP and RTP-FEC streams.
|
1412
|
+
# @return [Integer]
|
1413
|
+
#
|
1414
|
+
# @!attribute [rw] max_latency
|
1415
|
+
# The maximum latency in milliseconds for Zixi-based streams.
|
1416
|
+
# @return [Integer]
|
1417
|
+
#
|
1418
|
+
# @!attribute [rw] protocol
|
1419
|
+
# The protocol that is used by the source.
|
1420
|
+
# @return [String]
|
1421
|
+
#
|
1422
|
+
# @!attribute [rw] source_arn
|
1423
|
+
# @return [String]
|
1424
|
+
#
|
1425
|
+
# @!attribute [rw] stream_id
|
1426
|
+
# The stream ID that you want to use for this transport. This
|
1427
|
+
# parameter applies only to Zixi-based streams.
|
1428
|
+
# @return [String]
|
1429
|
+
#
|
1430
|
+
# @!attribute [rw] whitelist_cidr
|
1431
|
+
# The range of IP addresses that should be allowed to contribute
|
1432
|
+
# content to your source. These IP addresses should in the form of a
|
1433
|
+
# Classless Inter-Domain Routing (CIDR) block; for example,
|
1434
|
+
# 10.0.0.0/16.
|
1435
|
+
# @return [String]
|
1436
|
+
#
|
1437
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowSourceRequest AWS API Documentation
|
1438
|
+
#
|
1439
|
+
class UpdateFlowSourceRequest < Struct.new(
|
1440
|
+
:decryption,
|
1441
|
+
:description,
|
1442
|
+
:entitlement_arn,
|
1443
|
+
:flow_arn,
|
1444
|
+
:ingest_port,
|
1445
|
+
:max_bitrate,
|
1446
|
+
:max_latency,
|
1447
|
+
:protocol,
|
1448
|
+
:source_arn,
|
1449
|
+
:stream_id,
|
1450
|
+
:whitelist_cidr)
|
1451
|
+
include Aws::Structure
|
1452
|
+
end
|
1453
|
+
|
1454
|
+
# The result of a successful UpdateFlowSource request. The response
|
1455
|
+
# includes the ARN of the flow that was updated and the updated source
|
1456
|
+
# configuration.
|
1457
|
+
#
|
1458
|
+
# @!attribute [rw] flow_arn
|
1459
|
+
# The ARN of the flow that you want to update.
|
1460
|
+
# @return [String]
|
1461
|
+
#
|
1462
|
+
# @!attribute [rw] source
|
1463
|
+
# The settings for the source of the flow.
|
1464
|
+
# @return [Types::Source]
|
1465
|
+
#
|
1466
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowSourceResponse AWS API Documentation
|
1467
|
+
#
|
1468
|
+
class UpdateFlowSourceResponse < Struct.new(
|
1469
|
+
:flow_arn,
|
1470
|
+
:source)
|
1471
|
+
include Aws::Structure
|
1472
|
+
end
|
1473
|
+
|
1474
|
+
end
|
1475
|
+
end
|