aws-sdk-mediaconnect 1.95.0 → 1.96.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mediaconnect/client.rb +154 -32
- data/lib/aws-sdk-mediaconnect/client_api.rb +49 -0
- data/lib/aws-sdk-mediaconnect/types.rb +272 -50
- data/lib/aws-sdk-mediaconnect/waiters.rb +80 -12
- data/lib/aws-sdk-mediaconnect.rb +1 -1
- data/sig/client.rbs +27 -2
- data/sig/types.rbs +51 -3
- data/sig/waiters.rbs +10 -0
- metadata +1 -1
|
@@ -67,18 +67,19 @@ module Aws::MediaConnect
|
|
|
67
67
|
# The following table lists the valid waiter names, the operations they call,
|
|
68
68
|
# and the default `:delay` and `:max_attempts` values.
|
|
69
69
|
#
|
|
70
|
-
# | waiter_name
|
|
71
|
-
# |
|
|
72
|
-
# | flow_active
|
|
73
|
-
# | flow_deleted
|
|
74
|
-
# | flow_standby
|
|
75
|
-
# | input_active
|
|
76
|
-
# | input_deleted
|
|
77
|
-
# | input_standby
|
|
78
|
-
# | output_active
|
|
79
|
-
# | output_deleted
|
|
80
|
-
# | output_routed
|
|
81
|
-
# | output_standby
|
|
70
|
+
# | waiter_name | params | :delay | :max_attempts |
|
|
71
|
+
# | --------------- | -------------------------- | -------- | ------------- |
|
|
72
|
+
# | flow_active | {Client#describe_flow} | 3 | 40 |
|
|
73
|
+
# | flow_deleted | {Client#describe_flow} | 3 | 40 |
|
|
74
|
+
# | flow_standby | {Client#describe_flow} | 3 | 40 |
|
|
75
|
+
# | input_active | {Client#get_router_input} | 3 | 40 |
|
|
76
|
+
# | input_deleted | {Client#get_router_input} | 3 | 40 |
|
|
77
|
+
# | input_standby | {Client#get_router_input} | 3 | 40 |
|
|
78
|
+
# | output_active | {Client#get_router_output} | 3 | 40 |
|
|
79
|
+
# | output_deleted | {Client#get_router_output} | 3 | 40 |
|
|
80
|
+
# | output_routed | {Client#get_router_output} | 3 | 40 |
|
|
81
|
+
# | output_standby | {Client#get_router_output} | 3 | 40 |
|
|
82
|
+
# | output_unrouted | {Client#get_router_output} | 3 | 40 |
|
|
82
83
|
#
|
|
83
84
|
module Waiters
|
|
84
85
|
|
|
@@ -311,6 +312,12 @@ module Aws::MediaConnect
|
|
|
311
312
|
"state" => "retry",
|
|
312
313
|
"expected" => "UPDATING"
|
|
313
314
|
},
|
|
315
|
+
{
|
|
316
|
+
"matcher" => "path",
|
|
317
|
+
"argument" => "router_input.state",
|
|
318
|
+
"state" => "retry",
|
|
319
|
+
"expected" => "MIGRATING"
|
|
320
|
+
},
|
|
314
321
|
{
|
|
315
322
|
"matcher" => "error",
|
|
316
323
|
"state" => "retry",
|
|
@@ -499,6 +506,12 @@ module Aws::MediaConnect
|
|
|
499
506
|
"state" => "retry",
|
|
500
507
|
"expected" => "UPDATING"
|
|
501
508
|
},
|
|
509
|
+
{
|
|
510
|
+
"matcher" => "path",
|
|
511
|
+
"argument" => "router_output.state",
|
|
512
|
+
"state" => "retry",
|
|
513
|
+
"expected" => "MIGRATING"
|
|
514
|
+
},
|
|
502
515
|
{
|
|
503
516
|
"matcher" => "error",
|
|
504
517
|
"state" => "retry",
|
|
@@ -706,5 +719,60 @@ module Aws::MediaConnect
|
|
|
706
719
|
attr_reader :waiter
|
|
707
720
|
|
|
708
721
|
end
|
|
722
|
+
|
|
723
|
+
# Wait until the Output is UNROUTED
|
|
724
|
+
class OutputUnrouted
|
|
725
|
+
|
|
726
|
+
# @param [Hash] options
|
|
727
|
+
# @option options [required, Client] :client
|
|
728
|
+
# @option options [Integer] :max_attempts (40)
|
|
729
|
+
# @option options [Integer] :delay (3)
|
|
730
|
+
# @option options [Proc] :before_attempt
|
|
731
|
+
# @option options [Proc] :before_wait
|
|
732
|
+
def initialize(options)
|
|
733
|
+
@client = options.fetch(:client)
|
|
734
|
+
@waiter = Aws::Waiters::Waiter.new({
|
|
735
|
+
max_attempts: 40,
|
|
736
|
+
delay: 3,
|
|
737
|
+
poller: Aws::Waiters::Poller.new(
|
|
738
|
+
operation_name: :get_router_output,
|
|
739
|
+
acceptors: [
|
|
740
|
+
{
|
|
741
|
+
"matcher" => "path",
|
|
742
|
+
"argument" => "router_output.routed_state",
|
|
743
|
+
"state" => "success",
|
|
744
|
+
"expected" => "UNROUTED"
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"matcher" => "path",
|
|
748
|
+
"argument" => "router_output.routed_state",
|
|
749
|
+
"state" => "retry",
|
|
750
|
+
"expected" => "ROUTING"
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"matcher" => "error",
|
|
754
|
+
"state" => "retry",
|
|
755
|
+
"expected" => "InternalServerErrorException"
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
"matcher" => "error",
|
|
759
|
+
"state" => "retry",
|
|
760
|
+
"expected" => "ServiceUnavailableException"
|
|
761
|
+
}
|
|
762
|
+
]
|
|
763
|
+
)
|
|
764
|
+
}.merge(options))
|
|
765
|
+
end
|
|
766
|
+
|
|
767
|
+
# @option (see Client#get_router_output)
|
|
768
|
+
# @return (see Client#get_router_output)
|
|
769
|
+
def wait(params = {})
|
|
770
|
+
@waiter.wait(client: @client, params: params)
|
|
771
|
+
end
|
|
772
|
+
|
|
773
|
+
# @api private
|
|
774
|
+
attr_reader :waiter
|
|
775
|
+
|
|
776
|
+
end
|
|
709
777
|
end
|
|
710
778
|
end
|
data/lib/aws-sdk-mediaconnect.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -300,6 +300,9 @@ module Aws
|
|
|
300
300
|
vpc_interface_name: ::String?
|
|
301
301
|
}?
|
|
302
302
|
}?,
|
|
303
|
+
ndi_source_settings: {
|
|
304
|
+
source_name: ::String?
|
|
305
|
+
}?,
|
|
303
306
|
source_tags: Hash[::String, ::String]?,
|
|
304
307
|
router_integration_state: ("ENABLED" | "DISABLED")?,
|
|
305
308
|
router_integration_transit_decryption: {
|
|
@@ -596,6 +599,9 @@ module Aws
|
|
|
596
599
|
vpc_interface_name: ::String?
|
|
597
600
|
}?
|
|
598
601
|
}?,
|
|
602
|
+
ndi_source_settings: {
|
|
603
|
+
source_name: ::String?
|
|
604
|
+
}?,
|
|
599
605
|
source_tags: Hash[::String, ::String]?,
|
|
600
606
|
router_integration_state: ("ENABLED" | "DISABLED")?,
|
|
601
607
|
router_integration_transit_decryption: {
|
|
@@ -667,6 +673,9 @@ module Aws
|
|
|
667
673
|
vpc_interface_name: ::String?
|
|
668
674
|
}?
|
|
669
675
|
}?,
|
|
676
|
+
ndi_source_settings: {
|
|
677
|
+
source_name: ::String?
|
|
678
|
+
}?,
|
|
670
679
|
source_tags: Hash[::String, ::String]?,
|
|
671
680
|
router_integration_state: ("ENABLED" | "DISABLED")?,
|
|
672
681
|
router_integration_transit_decryption: {
|
|
@@ -720,7 +729,7 @@ module Aws
|
|
|
720
729
|
},
|
|
721
730
|
]?
|
|
722
731
|
},
|
|
723
|
-
?flow_size: ("MEDIUM" | "LARGE"),
|
|
732
|
+
?flow_size: ("MEDIUM" | "LARGE" | "LARGE_4X"),
|
|
724
733
|
?ndi_config: {
|
|
725
734
|
ndi_state: ("ENABLED" | "DISABLED")?,
|
|
726
735
|
machine_name: ::String?,
|
|
@@ -732,6 +741,10 @@ module Aws
|
|
|
732
741
|
},
|
|
733
742
|
]?
|
|
734
743
|
},
|
|
744
|
+
?encoding_config: {
|
|
745
|
+
encoding_profile: ("DISTRIBUTION_H264_DEFAULT" | "CONTRIBUTION_H264_DEFAULT")?,
|
|
746
|
+
video_max_bitrate: ::Integer?
|
|
747
|
+
},
|
|
735
748
|
?flow_tags: Hash[::String, ::String]
|
|
736
749
|
) -> _CreateFlowResponseSuccess
|
|
737
750
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFlowResponseSuccess
|
|
@@ -1123,6 +1136,7 @@ module Aws
|
|
|
1123
1136
|
def messages: () -> ::Array[Types::MessageDetail]
|
|
1124
1137
|
def timestamp: () -> ::Time
|
|
1125
1138
|
def transport_media_info: () -> Types::TransportMediaInfo
|
|
1139
|
+
def ndi_info: () -> Types::NdiSourceMetadataInfo
|
|
1126
1140
|
end
|
|
1127
1141
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaConnect/Client.html#describe_flow_source_metadata-instance_method
|
|
1128
1142
|
def describe_flow_source_metadata: (
|
|
@@ -1810,7 +1824,11 @@ module Aws
|
|
|
1810
1824
|
},
|
|
1811
1825
|
]?
|
|
1812
1826
|
},
|
|
1813
|
-
?flow_size: ("MEDIUM" | "LARGE")
|
|
1827
|
+
?flow_size: ("MEDIUM" | "LARGE" | "LARGE_4X"),
|
|
1828
|
+
?encoding_config: {
|
|
1829
|
+
encoding_profile: ("DISTRIBUTION_H264_DEFAULT" | "CONTRIBUTION_H264_DEFAULT")?,
|
|
1830
|
+
video_max_bitrate: ::Integer?
|
|
1831
|
+
}
|
|
1814
1832
|
) -> _UpdateFlowResponseSuccess
|
|
1815
1833
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFlowResponseSuccess
|
|
1816
1834
|
|
|
@@ -1995,6 +2013,9 @@ module Aws
|
|
|
1995
2013
|
vpc_interface_name: ::String?
|
|
1996
2014
|
}?
|
|
1997
2015
|
},
|
|
2016
|
+
?ndi_source_settings: {
|
|
2017
|
+
source_name: ::String?
|
|
2018
|
+
},
|
|
1998
2019
|
?router_integration_state: ("ENABLED" | "DISABLED"),
|
|
1999
2020
|
?router_integration_transit_decryption: {
|
|
2000
2021
|
encryption_key_type: ("SECRETS_MANAGER" | "AUTOMATIC")?,
|
|
@@ -2319,6 +2340,10 @@ module Aws
|
|
|
2319
2340
|
arn: ::String
|
|
2320
2341
|
) -> Client::_GetRouterOutputResponseSuccess
|
|
2321
2342
|
| (:output_standby waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetRouterOutputResponseSuccess
|
|
2343
|
+
| (:output_unrouted waiter_name,
|
|
2344
|
+
arn: ::String
|
|
2345
|
+
) -> Client::_GetRouterOutputResponseSuccess
|
|
2346
|
+
| (:output_unrouted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetRouterOutputResponseSuccess
|
|
2322
2347
|
end
|
|
2323
2348
|
end
|
|
2324
2349
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -354,8 +354,9 @@ module Aws::MediaConnect
|
|
|
354
354
|
attr_accessor vpc_interfaces: ::Array[Types::VpcInterfaceRequest]
|
|
355
355
|
attr_accessor maintenance: Types::AddMaintenance
|
|
356
356
|
attr_accessor source_monitoring_config: Types::MonitoringConfig
|
|
357
|
-
attr_accessor flow_size: ("MEDIUM" | "LARGE")
|
|
357
|
+
attr_accessor flow_size: ("MEDIUM" | "LARGE" | "LARGE_4X")
|
|
358
358
|
attr_accessor ndi_config: Types::NdiConfig
|
|
359
|
+
attr_accessor encoding_config: Types::EncodingConfig
|
|
359
360
|
attr_accessor flow_tags: ::Hash[::String, ::String]
|
|
360
361
|
SENSITIVE: []
|
|
361
362
|
end
|
|
@@ -548,6 +549,7 @@ module Aws::MediaConnect
|
|
|
548
549
|
attr_accessor messages: ::Array[Types::MessageDetail]
|
|
549
550
|
attr_accessor timestamp: ::Time
|
|
550
551
|
attr_accessor transport_media_info: Types::TransportMediaInfo
|
|
552
|
+
attr_accessor ndi_info: Types::NdiSourceMetadataInfo
|
|
551
553
|
SENSITIVE: []
|
|
552
554
|
end
|
|
553
555
|
|
|
@@ -622,6 +624,12 @@ module Aws::MediaConnect
|
|
|
622
624
|
SENSITIVE: []
|
|
623
625
|
end
|
|
624
626
|
|
|
627
|
+
class EncodingConfig
|
|
628
|
+
attr_accessor encoding_profile: ("DISTRIBUTION_H264_DEFAULT" | "CONTRIBUTION_H264_DEFAULT")
|
|
629
|
+
attr_accessor video_max_bitrate: ::Integer
|
|
630
|
+
SENSITIVE: []
|
|
631
|
+
end
|
|
632
|
+
|
|
625
633
|
class EncodingParameters
|
|
626
634
|
attr_accessor compression_factor: ::Float
|
|
627
635
|
attr_accessor encoder_profile: ("main" | "high")
|
|
@@ -722,8 +730,9 @@ module Aws::MediaConnect
|
|
|
722
730
|
attr_accessor vpc_interfaces: ::Array[Types::VpcInterface]
|
|
723
731
|
attr_accessor maintenance: Types::Maintenance
|
|
724
732
|
attr_accessor source_monitoring_config: Types::MonitoringConfig
|
|
725
|
-
attr_accessor flow_size: ("MEDIUM" | "LARGE")
|
|
733
|
+
attr_accessor flow_size: ("MEDIUM" | "LARGE" | "LARGE_4X")
|
|
726
734
|
attr_accessor ndi_config: Types::NdiConfig
|
|
735
|
+
attr_accessor encoding_config: Types::EncodingConfig
|
|
727
736
|
SENSITIVE: []
|
|
728
737
|
end
|
|
729
738
|
|
|
@@ -1388,6 +1397,41 @@ module Aws::MediaConnect
|
|
|
1388
1397
|
SENSITIVE: []
|
|
1389
1398
|
end
|
|
1390
1399
|
|
|
1400
|
+
class NdiMediaInfo
|
|
1401
|
+
attr_accessor streams: ::Array[Types::NdiMediaStreamInfo]
|
|
1402
|
+
SENSITIVE: []
|
|
1403
|
+
end
|
|
1404
|
+
|
|
1405
|
+
class NdiMediaStreamInfo
|
|
1406
|
+
attr_accessor stream_type: ::String
|
|
1407
|
+
attr_accessor codec: ::String
|
|
1408
|
+
attr_accessor stream_id: ::Integer
|
|
1409
|
+
attr_accessor scan_mode: ("progressive" | "interlace" | "progressive-segmented-frame")
|
|
1410
|
+
attr_accessor frame_resolution: Types::FrameResolution
|
|
1411
|
+
attr_accessor frame_rate: ::String
|
|
1412
|
+
attr_accessor channels: ::Integer
|
|
1413
|
+
attr_accessor sample_rate: ::Integer
|
|
1414
|
+
SENSITIVE: []
|
|
1415
|
+
end
|
|
1416
|
+
|
|
1417
|
+
class NdiSourceInfo
|
|
1418
|
+
attr_accessor source_name: ::String
|
|
1419
|
+
SENSITIVE: []
|
|
1420
|
+
end
|
|
1421
|
+
|
|
1422
|
+
class NdiSourceMetadataInfo
|
|
1423
|
+
attr_accessor active_source: Types::NdiSourceInfo
|
|
1424
|
+
attr_accessor discovered_sources: ::Array[Types::NdiSourceInfo]
|
|
1425
|
+
attr_accessor media_info: Types::NdiMediaInfo
|
|
1426
|
+
attr_accessor messages: ::Array[Types::MessageDetail]
|
|
1427
|
+
SENSITIVE: []
|
|
1428
|
+
end
|
|
1429
|
+
|
|
1430
|
+
class NdiSourceSettings
|
|
1431
|
+
attr_accessor source_name: ::String
|
|
1432
|
+
SENSITIVE: []
|
|
1433
|
+
end
|
|
1434
|
+
|
|
1391
1435
|
class NotFoundException
|
|
1392
1436
|
attr_accessor message: ::String
|
|
1393
1437
|
SENSITIVE: []
|
|
@@ -1989,6 +2033,7 @@ module Aws::MediaConnect
|
|
|
1989
2033
|
attr_accessor vpc_interface_name: ::String
|
|
1990
2034
|
attr_accessor whitelist_cidr: ::String
|
|
1991
2035
|
attr_accessor gateway_bridge_source: Types::SetGatewayBridgeSourceRequest
|
|
2036
|
+
attr_accessor ndi_source_settings: Types::NdiSourceSettings
|
|
1992
2037
|
attr_accessor source_tags: ::Hash[::String, ::String]
|
|
1993
2038
|
attr_accessor router_integration_state: ("ENABLED" | "DISABLED")
|
|
1994
2039
|
attr_accessor router_integration_transit_decryption: Types::FlowTransitEncryption
|
|
@@ -2226,6 +2271,7 @@ module Aws::MediaConnect
|
|
|
2226
2271
|
attr_accessor stream_id: ::String
|
|
2227
2272
|
attr_accessor ndi_speed_hq_quality: ::Integer
|
|
2228
2273
|
attr_accessor ndi_program_name: ::String
|
|
2274
|
+
attr_accessor ndi_source_settings: Types::NdiSourceSettings
|
|
2229
2275
|
SENSITIVE: []
|
|
2230
2276
|
end
|
|
2231
2277
|
|
|
@@ -2440,7 +2486,8 @@ module Aws::MediaConnect
|
|
|
2440
2486
|
attr_accessor maintenance: Types::UpdateMaintenance
|
|
2441
2487
|
attr_accessor source_monitoring_config: Types::MonitoringConfig
|
|
2442
2488
|
attr_accessor ndi_config: Types::NdiConfig
|
|
2443
|
-
attr_accessor flow_size: ("MEDIUM" | "LARGE")
|
|
2489
|
+
attr_accessor flow_size: ("MEDIUM" | "LARGE" | "LARGE_4X")
|
|
2490
|
+
attr_accessor encoding_config: Types::EncodingConfig
|
|
2444
2491
|
SENSITIVE: []
|
|
2445
2492
|
end
|
|
2446
2493
|
|
|
@@ -2470,6 +2517,7 @@ module Aws::MediaConnect
|
|
|
2470
2517
|
attr_accessor vpc_interface_name: ::String
|
|
2471
2518
|
attr_accessor whitelist_cidr: ::String
|
|
2472
2519
|
attr_accessor gateway_bridge_source: Types::UpdateGatewayBridgeSourceRequest
|
|
2520
|
+
attr_accessor ndi_source_settings: Types::NdiSourceSettings
|
|
2473
2521
|
attr_accessor router_integration_state: ("ENABLED" | "DISABLED")
|
|
2474
2522
|
attr_accessor router_integration_transit_decryption: Types::FlowTransitEncryption
|
|
2475
2523
|
SENSITIVE: []
|
data/sig/waiters.rbs
CHANGED
|
@@ -108,6 +108,16 @@ module Aws
|
|
|
108
108
|
) -> Client::_GetRouterOutputResponseSuccess
|
|
109
109
|
| (Hash[Symbol, untyped]) -> Client::_GetRouterOutputResponseSuccess
|
|
110
110
|
end
|
|
111
|
+
|
|
112
|
+
class OutputUnrouted
|
|
113
|
+
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
|
114
|
+
| (?Hash[Symbol, untyped]) -> void
|
|
115
|
+
|
|
116
|
+
def wait: (
|
|
117
|
+
arn: ::String
|
|
118
|
+
) -> Client::_GetRouterOutputResponseSuccess
|
|
119
|
+
| (Hash[Symbol, untyped]) -> Client::_GetRouterOutputResponseSuccess
|
|
120
|
+
end
|
|
111
121
|
end
|
|
112
122
|
end
|
|
113
123
|
end
|