aws-sdk-mediaconnect 1.33.0 → 1.34.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 263478eb624e667978046bbc903f411defbdddd1b355bd577b5e4e8152d7f736
4
- data.tar.gz: 57199f133a37661d84cce007ac6ee1a950461cafe8a6234d6c2d1a01987de8e1
3
+ metadata.gz: cd1cb61b902309ab5844bced94e0af61a1fe8393ceb76e3083d5ede52bed85cc
4
+ data.tar.gz: 04a41071ac52d1184cecf31c4817ba1ee330b08f27c1354ea34db1ce1915d4ab
5
5
  SHA512:
6
- metadata.gz: 343e7fe6c957673cbe9ce71775896350eb5a67ecc774f2b2dd8302d2dd6d2d2cc86db5b676fcaf961a396c4ee013ca82c08fa2b39de2dd2c3aab5234e82f31b7
7
- data.tar.gz: 8cbf47824864cd330732e6aac2999f8fdf5dd612a8771b8fe8ab7080f82e888c4f6ea40825d59ff6ba9cac401c0f8d26fc9927fd208dea9a22d4c34b59d705cf
6
+ metadata.gz: 8938f37262a6436dea1f8cd73a74b33f2d6e5bee7a48ccce8b97a1bda1bdfdb3f70a4a35ff45b11564f0d33d99f146b2ea43ae5f8c4c9d9f725ec52b6a817edc
7
+ data.tar.gz: dc9fa2091f02aad936ee46178f657d8db2db6c4556e790ef22c917f74e03b687407b9676c6518bf4e0553a39796d969227d16467820f39f1d498dd123cc89397
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.34.0 (2021-06-11)
5
+ ------------------
6
+
7
+ * Feature - When you enable source failover, you can now designate one of two sources as the primary source. You can choose between two failover modes to prevent any disruption to the video stream. Merge combines the sources into a single stream. Failover allows switching between a primary and a backup stream.
8
+
4
9
  1.33.0 (2021-05-17)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.33.0
1
+ 1.34.0
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-mediaconnect/customizations'
49
49
  # @!group service
50
50
  module Aws::MediaConnect
51
51
 
52
- GEM_VERSION = '1.33.0'
52
+ GEM_VERSION = '1.34.0'
53
53
 
54
54
  end
@@ -846,7 +846,11 @@ module Aws::MediaConnect
846
846
  # whitelist_cidr: "__string",
847
847
  # },
848
848
  # source_failover_config: {
849
+ # failover_mode: "MERGE", # accepts MERGE, FAILOVER
849
850
  # recovery_window: 1,
851
+ # source_priority: {
852
+ # primary_source: "__string",
853
+ # },
850
854
  # state: "ENABLED", # accepts ENABLED, DISABLED
851
855
  # },
852
856
  # sources: [
@@ -1016,7 +1020,9 @@ module Aws::MediaConnect
1016
1020
  # resp.flow.source.transport.stream_id #=> String
1017
1021
  # resp.flow.source.vpc_interface_name #=> String
1018
1022
  # resp.flow.source.whitelist_cidr #=> String
1023
+ # resp.flow.source_failover_config.failover_mode #=> String, one of "MERGE", "FAILOVER"
1019
1024
  # resp.flow.source_failover_config.recovery_window #=> Integer
1025
+ # resp.flow.source_failover_config.source_priority.primary_source #=> String
1020
1026
  # resp.flow.source_failover_config.state #=> String, one of "ENABLED", "DISABLED"
1021
1027
  # resp.flow.sources #=> Array
1022
1028
  # resp.flow.sources[0].data_transfer_subscriber_fee_percent #=> Integer
@@ -1235,7 +1241,9 @@ module Aws::MediaConnect
1235
1241
  # resp.flow.source.transport.stream_id #=> String
1236
1242
  # resp.flow.source.vpc_interface_name #=> String
1237
1243
  # resp.flow.source.whitelist_cidr #=> String
1244
+ # resp.flow.source_failover_config.failover_mode #=> String, one of "MERGE", "FAILOVER"
1238
1245
  # resp.flow.source_failover_config.recovery_window #=> Integer
1246
+ # resp.flow.source_failover_config.source_priority.primary_source #=> String
1239
1247
  # resp.flow.source_failover_config.state #=> String, one of "ENABLED", "DISABLED"
1240
1248
  # resp.flow.sources #=> Array
1241
1249
  # resp.flow.sources[0].data_transfer_subscriber_fee_percent #=> Integer
@@ -2013,7 +2021,11 @@ module Aws::MediaConnect
2013
2021
  # resp = client.update_flow({
2014
2022
  # flow_arn: "__string", # required
2015
2023
  # source_failover_config: {
2024
+ # failover_mode: "MERGE", # accepts MERGE, FAILOVER
2016
2025
  # recovery_window: 1,
2026
+ # source_priority: {
2027
+ # primary_source: "__string",
2028
+ # },
2017
2029
  # state: "ENABLED", # accepts ENABLED, DISABLED
2018
2030
  # },
2019
2031
  # })
@@ -2133,7 +2145,9 @@ module Aws::MediaConnect
2133
2145
  # resp.flow.source.transport.stream_id #=> String
2134
2146
  # resp.flow.source.vpc_interface_name #=> String
2135
2147
  # resp.flow.source.whitelist_cidr #=> String
2148
+ # resp.flow.source_failover_config.failover_mode #=> String, one of "MERGE", "FAILOVER"
2136
2149
  # resp.flow.source_failover_config.recovery_window #=> Integer
2150
+ # resp.flow.source_failover_config.source_priority.primary_source #=> String
2137
2151
  # resp.flow.source_failover_config.state #=> String, one of "ENABLED", "DISABLED"
2138
2152
  # resp.flow.sources #=> Array
2139
2153
  # resp.flow.sources[0].data_transfer_subscriber_fee_percent #=> Integer
@@ -2685,7 +2699,7 @@ module Aws::MediaConnect
2685
2699
  params: params,
2686
2700
  config: config)
2687
2701
  context[:gem_name] = 'aws-sdk-mediaconnect'
2688
- context[:gem_version] = '1.33.0'
2702
+ context[:gem_version] = '1.34.0'
2689
2703
  Seahorse::Client::Request.new(handlers, context)
2690
2704
  end
2691
2705
 
@@ -49,6 +49,7 @@ module Aws::MediaConnect
49
49
  Entitlement = Shapes::StructureShape.new(name: 'Entitlement')
50
50
  EntitlementStatus = Shapes::StringShape.new(name: 'EntitlementStatus')
51
51
  FailoverConfig = Shapes::StructureShape.new(name: 'FailoverConfig')
52
+ FailoverMode = Shapes::StringShape.new(name: 'FailoverMode')
52
53
  Flow = Shapes::StructureShape.new(name: 'Flow')
53
54
  Fmtp = Shapes::StructureShape.new(name: 'Fmtp')
54
55
  FmtpRequest = Shapes::StructureShape.new(name: 'FmtpRequest')
@@ -113,6 +114,7 @@ module Aws::MediaConnect
113
114
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
114
115
  SetSourceRequest = Shapes::StructureShape.new(name: 'SetSourceRequest')
115
116
  Source = Shapes::StructureShape.new(name: 'Source')
117
+ SourcePriority = Shapes::StructureShape.new(name: 'SourcePriority')
116
118
  SourceType = Shapes::StringShape.new(name: 'SourceType')
117
119
  StartFlowRequest = Shapes::StructureShape.new(name: 'StartFlowRequest')
118
120
  StartFlowResponse = Shapes::StructureShape.new(name: 'StartFlowResponse')
@@ -318,7 +320,9 @@ module Aws::MediaConnect
318
320
  Entitlement.add_member(:subscribers, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "subscribers"))
319
321
  Entitlement.struct_class = Types::Entitlement
320
322
 
323
+ FailoverConfig.add_member(:failover_mode, Shapes::ShapeRef.new(shape: FailoverMode, location_name: "failoverMode"))
321
324
  FailoverConfig.add_member(:recovery_window, Shapes::ShapeRef.new(shape: __integer, location_name: "recoveryWindow"))
325
+ FailoverConfig.add_member(:source_priority, Shapes::ShapeRef.new(shape: SourcePriority, location_name: "sourcePriority"))
322
326
  FailoverConfig.add_member(:state, Shapes::ShapeRef.new(shape: State, location_name: "state"))
323
327
  FailoverConfig.struct_class = Types::FailoverConfig
324
328
 
@@ -621,6 +625,9 @@ module Aws::MediaConnect
621
625
  Source.add_member(:whitelist_cidr, Shapes::ShapeRef.new(shape: __string, location_name: "whitelistCidr"))
622
626
  Source.struct_class = Types::Source
623
627
 
628
+ SourcePriority.add_member(:primary_source, Shapes::ShapeRef.new(shape: __string, location_name: "primarySource"))
629
+ SourcePriority.struct_class = Types::SourcePriority
630
+
624
631
  StartFlowRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
625
632
  StartFlowRequest.struct_class = Types::StartFlowRequest
626
633
 
@@ -668,7 +675,9 @@ module Aws::MediaConnect
668
675
  UpdateEncryption.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "url"))
669
676
  UpdateEncryption.struct_class = Types::UpdateEncryption
670
677
 
678
+ UpdateFailoverConfig.add_member(:failover_mode, Shapes::ShapeRef.new(shape: FailoverMode, location_name: "failoverMode"))
671
679
  UpdateFailoverConfig.add_member(:recovery_window, Shapes::ShapeRef.new(shape: __integer, location_name: "recoveryWindow"))
680
+ UpdateFailoverConfig.add_member(:source_priority, Shapes::ShapeRef.new(shape: SourcePriority, location_name: "sourcePriority"))
672
681
  UpdateFailoverConfig.add_member(:state, Shapes::ShapeRef.new(shape: State, location_name: "state"))
673
682
  UpdateFailoverConfig.struct_class = Types::UpdateFailoverConfig
674
683
 
@@ -710,7 +710,11 @@ module Aws::MediaConnect
710
710
  # whitelist_cidr: "__string",
711
711
  # },
712
712
  # source_failover_config: {
713
+ # failover_mode: "MERGE", # accepts MERGE, FAILOVER
713
714
  # recovery_window: 1,
715
+ # source_priority: {
716
+ # primary_source: "__string",
717
+ # },
714
718
  # state: "ENABLED", # accepts ENABLED, DISABLED
715
719
  # },
716
720
  # sources: [
@@ -1260,21 +1264,39 @@ module Aws::MediaConnect
1260
1264
  # data as a hash:
1261
1265
  #
1262
1266
  # {
1267
+ # failover_mode: "MERGE", # accepts MERGE, FAILOVER
1263
1268
  # recovery_window: 1,
1269
+ # source_priority: {
1270
+ # primary_source: "__string",
1271
+ # },
1264
1272
  # state: "ENABLED", # accepts ENABLED, DISABLED
1265
1273
  # }
1266
1274
  #
1275
+ # @!attribute [rw] failover_mode
1276
+ # The type of failover you choose for this flow. MERGE combines the
1277
+ # source streams into a single stream, allowing graceful recovery from
1278
+ # any single-source loss. FAILOVER allows switching between different
1279
+ # streams.
1280
+ # @return [String]
1281
+ #
1267
1282
  # @!attribute [rw] recovery_window
1268
1283
  # Search window time to look for dash-7 packets
1269
1284
  # @return [Integer]
1270
1285
  #
1286
+ # @!attribute [rw] source_priority
1287
+ # The priority you want to assign to a source. You can have a primary
1288
+ # stream and a backup stream or two equally prioritized streams.
1289
+ # @return [Types::SourcePriority]
1290
+ #
1271
1291
  # @!attribute [rw] state
1272
1292
  # @return [String]
1273
1293
  #
1274
1294
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/FailoverConfig AWS API Documentation
1275
1295
  #
1276
1296
  class FailoverConfig < Struct.new(
1297
+ :failover_mode,
1277
1298
  :recovery_window,
1299
+ :source_priority,
1278
1300
  :state)
1279
1301
  SENSITIVE = []
1280
1302
  include Aws::Structure
@@ -3150,6 +3172,29 @@ module Aws::MediaConnect
3150
3172
  include Aws::Structure
3151
3173
  end
3152
3174
 
3175
+ # The priority you want to assign to a source. You can have a primary
3176
+ # stream and a backup stream or two equally prioritized streams.
3177
+ #
3178
+ # @note When making an API call, you may pass SourcePriority
3179
+ # data as a hash:
3180
+ #
3181
+ # {
3182
+ # primary_source: "__string",
3183
+ # }
3184
+ #
3185
+ # @!attribute [rw] primary_source
3186
+ # The name of the source you choose as the primary source for this
3187
+ # flow.
3188
+ # @return [String]
3189
+ #
3190
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/SourcePriority AWS API Documentation
3191
+ #
3192
+ class SourcePriority < Struct.new(
3193
+ :primary_source)
3194
+ SENSITIVE = []
3195
+ include Aws::Structure
3196
+ end
3197
+
3153
3198
  # @note When making an API call, you may pass StartFlowRequest
3154
3199
  # data as a hash:
3155
3200
  #
@@ -3453,21 +3498,39 @@ module Aws::MediaConnect
3453
3498
  # data as a hash:
3454
3499
  #
3455
3500
  # {
3501
+ # failover_mode: "MERGE", # accepts MERGE, FAILOVER
3456
3502
  # recovery_window: 1,
3503
+ # source_priority: {
3504
+ # primary_source: "__string",
3505
+ # },
3457
3506
  # state: "ENABLED", # accepts ENABLED, DISABLED
3458
3507
  # }
3459
3508
  #
3509
+ # @!attribute [rw] failover_mode
3510
+ # The type of failover you choose for this flow. MERGE combines the
3511
+ # source streams into a single stream, allowing graceful recovery from
3512
+ # any single-source loss. FAILOVER allows switching between different
3513
+ # streams.
3514
+ # @return [String]
3515
+ #
3460
3516
  # @!attribute [rw] recovery_window
3461
3517
  # Recovery window time to look for dash-7 packets
3462
3518
  # @return [Integer]
3463
3519
  #
3520
+ # @!attribute [rw] source_priority
3521
+ # The priority you want to assign to a source. You can have a primary
3522
+ # stream and a backup stream or two equally prioritized streams.
3523
+ # @return [Types::SourcePriority]
3524
+ #
3464
3525
  # @!attribute [rw] state
3465
3526
  # @return [String]
3466
3527
  #
3467
3528
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFailoverConfig AWS API Documentation
3468
3529
  #
3469
3530
  class UpdateFailoverConfig < Struct.new(
3531
+ :failover_mode,
3470
3532
  :recovery_window,
3533
+ :source_priority,
3471
3534
  :state)
3472
3535
  SENSITIVE = []
3473
3536
  include Aws::Structure
@@ -3825,7 +3888,11 @@ module Aws::MediaConnect
3825
3888
  # {
3826
3889
  # flow_arn: "__string", # required
3827
3890
  # source_failover_config: {
3891
+ # failover_mode: "MERGE", # accepts MERGE, FAILOVER
3828
3892
  # recovery_window: 1,
3893
+ # source_priority: {
3894
+ # primary_source: "__string",
3895
+ # },
3829
3896
  # state: "ENABLED", # accepts ENABLED, DISABLED
3830
3897
  # },
3831
3898
  # }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mediaconnect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.33.0
4
+ version: 1.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-17 00:00:00.000000000 Z
11
+ date: 2021-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core