aws-sdk-medialive 1.89.0 → 1.91.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,186 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::MediaLive
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::MediaLive::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::MediaLive::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::MediaLive::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :accept_input_device_transfer
60
+ Aws::MediaLive::Endpoints::AcceptInputDeviceTransfer.build(context)
61
+ when :batch_delete
62
+ Aws::MediaLive::Endpoints::BatchDelete.build(context)
63
+ when :batch_start
64
+ Aws::MediaLive::Endpoints::BatchStart.build(context)
65
+ when :batch_stop
66
+ Aws::MediaLive::Endpoints::BatchStop.build(context)
67
+ when :batch_update_schedule
68
+ Aws::MediaLive::Endpoints::BatchUpdateSchedule.build(context)
69
+ when :cancel_input_device_transfer
70
+ Aws::MediaLive::Endpoints::CancelInputDeviceTransfer.build(context)
71
+ when :claim_device
72
+ Aws::MediaLive::Endpoints::ClaimDevice.build(context)
73
+ when :create_channel
74
+ Aws::MediaLive::Endpoints::CreateChannel.build(context)
75
+ when :create_input
76
+ Aws::MediaLive::Endpoints::CreateInput.build(context)
77
+ when :create_input_security_group
78
+ Aws::MediaLive::Endpoints::CreateInputSecurityGroup.build(context)
79
+ when :create_multiplex
80
+ Aws::MediaLive::Endpoints::CreateMultiplex.build(context)
81
+ when :create_multiplex_program
82
+ Aws::MediaLive::Endpoints::CreateMultiplexProgram.build(context)
83
+ when :create_partner_input
84
+ Aws::MediaLive::Endpoints::CreatePartnerInput.build(context)
85
+ when :create_tags
86
+ Aws::MediaLive::Endpoints::CreateTags.build(context)
87
+ when :delete_channel
88
+ Aws::MediaLive::Endpoints::DeleteChannel.build(context)
89
+ when :delete_input
90
+ Aws::MediaLive::Endpoints::DeleteInput.build(context)
91
+ when :delete_input_security_group
92
+ Aws::MediaLive::Endpoints::DeleteInputSecurityGroup.build(context)
93
+ when :delete_multiplex
94
+ Aws::MediaLive::Endpoints::DeleteMultiplex.build(context)
95
+ when :delete_multiplex_program
96
+ Aws::MediaLive::Endpoints::DeleteMultiplexProgram.build(context)
97
+ when :delete_reservation
98
+ Aws::MediaLive::Endpoints::DeleteReservation.build(context)
99
+ when :delete_schedule
100
+ Aws::MediaLive::Endpoints::DeleteSchedule.build(context)
101
+ when :delete_tags
102
+ Aws::MediaLive::Endpoints::DeleteTags.build(context)
103
+ when :describe_channel
104
+ Aws::MediaLive::Endpoints::DescribeChannel.build(context)
105
+ when :describe_input
106
+ Aws::MediaLive::Endpoints::DescribeInput.build(context)
107
+ when :describe_input_device
108
+ Aws::MediaLive::Endpoints::DescribeInputDevice.build(context)
109
+ when :describe_input_device_thumbnail
110
+ Aws::MediaLive::Endpoints::DescribeInputDeviceThumbnail.build(context)
111
+ when :describe_input_security_group
112
+ Aws::MediaLive::Endpoints::DescribeInputSecurityGroup.build(context)
113
+ when :describe_multiplex
114
+ Aws::MediaLive::Endpoints::DescribeMultiplex.build(context)
115
+ when :describe_multiplex_program
116
+ Aws::MediaLive::Endpoints::DescribeMultiplexProgram.build(context)
117
+ when :describe_offering
118
+ Aws::MediaLive::Endpoints::DescribeOffering.build(context)
119
+ when :describe_reservation
120
+ Aws::MediaLive::Endpoints::DescribeReservation.build(context)
121
+ when :describe_schedule
122
+ Aws::MediaLive::Endpoints::DescribeSchedule.build(context)
123
+ when :list_channels
124
+ Aws::MediaLive::Endpoints::ListChannels.build(context)
125
+ when :list_input_device_transfers
126
+ Aws::MediaLive::Endpoints::ListInputDeviceTransfers.build(context)
127
+ when :list_input_devices
128
+ Aws::MediaLive::Endpoints::ListInputDevices.build(context)
129
+ when :list_input_security_groups
130
+ Aws::MediaLive::Endpoints::ListInputSecurityGroups.build(context)
131
+ when :list_inputs
132
+ Aws::MediaLive::Endpoints::ListInputs.build(context)
133
+ when :list_multiplex_programs
134
+ Aws::MediaLive::Endpoints::ListMultiplexPrograms.build(context)
135
+ when :list_multiplexes
136
+ Aws::MediaLive::Endpoints::ListMultiplexes.build(context)
137
+ when :list_offerings
138
+ Aws::MediaLive::Endpoints::ListOfferings.build(context)
139
+ when :list_reservations
140
+ Aws::MediaLive::Endpoints::ListReservations.build(context)
141
+ when :list_tags_for_resource
142
+ Aws::MediaLive::Endpoints::ListTagsForResource.build(context)
143
+ when :purchase_offering
144
+ Aws::MediaLive::Endpoints::PurchaseOffering.build(context)
145
+ when :reboot_input_device
146
+ Aws::MediaLive::Endpoints::RebootInputDevice.build(context)
147
+ when :reject_input_device_transfer
148
+ Aws::MediaLive::Endpoints::RejectInputDeviceTransfer.build(context)
149
+ when :start_channel
150
+ Aws::MediaLive::Endpoints::StartChannel.build(context)
151
+ when :start_input_device_maintenance_window
152
+ Aws::MediaLive::Endpoints::StartInputDeviceMaintenanceWindow.build(context)
153
+ when :start_multiplex
154
+ Aws::MediaLive::Endpoints::StartMultiplex.build(context)
155
+ when :stop_channel
156
+ Aws::MediaLive::Endpoints::StopChannel.build(context)
157
+ when :stop_multiplex
158
+ Aws::MediaLive::Endpoints::StopMultiplex.build(context)
159
+ when :transfer_input_device
160
+ Aws::MediaLive::Endpoints::TransferInputDevice.build(context)
161
+ when :update_channel
162
+ Aws::MediaLive::Endpoints::UpdateChannel.build(context)
163
+ when :update_channel_class
164
+ Aws::MediaLive::Endpoints::UpdateChannelClass.build(context)
165
+ when :update_input
166
+ Aws::MediaLive::Endpoints::UpdateInput.build(context)
167
+ when :update_input_device
168
+ Aws::MediaLive::Endpoints::UpdateInputDevice.build(context)
169
+ when :update_input_security_group
170
+ Aws::MediaLive::Endpoints::UpdateInputSecurityGroup.build(context)
171
+ when :update_multiplex
172
+ Aws::MediaLive::Endpoints::UpdateMultiplex.build(context)
173
+ when :update_multiplex_program
174
+ Aws::MediaLive::Endpoints::UpdateMultiplexProgram.build(context)
175
+ when :update_reservation
176
+ Aws::MediaLive::Endpoints::UpdateReservation.build(context)
177
+ end
178
+ end
179
+ end
180
+
181
+ def add_handlers(handlers, _config)
182
+ handlers.add(Handler, step: :build, priority: 75)
183
+ end
184
+ end
185
+ end
186
+ end
@@ -1336,6 +1336,14 @@ module Aws::MediaLive
1336
1336
  #
1337
1337
  # {
1338
1338
  # avail_settings: {
1339
+ # esam: {
1340
+ # acquisition_point_id: "__stringMax256", # required
1341
+ # ad_avail_offset: 1,
1342
+ # password: "__string",
1343
+ # pois_endpoint: "__string", # required
1344
+ # username: "__string",
1345
+ # zone_identity: "__stringMax256",
1346
+ # },
1339
1347
  # scte_35_splice_insert: {
1340
1348
  # ad_avail_offset: 1,
1341
1349
  # no_regional_blackout_flag: "FOLLOW", # accepts FOLLOW, IGNORE
@@ -1367,6 +1375,14 @@ module Aws::MediaLive
1367
1375
  # data as a hash:
1368
1376
  #
1369
1377
  # {
1378
+ # esam: {
1379
+ # acquisition_point_id: "__stringMax256", # required
1380
+ # ad_avail_offset: 1,
1381
+ # password: "__string",
1382
+ # pois_endpoint: "__string", # required
1383
+ # username: "__string",
1384
+ # zone_identity: "__stringMax256",
1385
+ # },
1370
1386
  # scte_35_splice_insert: {
1371
1387
  # ad_avail_offset: 1,
1372
1388
  # no_regional_blackout_flag: "FOLLOW", # accepts FOLLOW, IGNORE
@@ -1379,6 +1395,10 @@ module Aws::MediaLive
1379
1395
  # },
1380
1396
  # }
1381
1397
  #
1398
+ # @!attribute [rw] esam
1399
+ # Esam
1400
+ # @return [Types::Esam]
1401
+ #
1382
1402
  # @!attribute [rw] scte_35_splice_insert
1383
1403
  # Scte35 Splice Insert
1384
1404
  # @return [Types::Scte35SpliceInsert]
@@ -1390,6 +1410,7 @@ module Aws::MediaLive
1390
1410
  # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AvailSettings AWS API Documentation
1391
1411
  #
1392
1412
  class AvailSettings < Struct.new(
1413
+ :esam,
1393
1414
  :scte_35_splice_insert,
1394
1415
  :scte_35_time_signal_apos)
1395
1416
  SENSITIVE = []
@@ -1603,6 +1624,10 @@ module Aws::MediaLive
1603
1624
  # },
1604
1625
  # ],
1605
1626
  # },
1627
+ # scte_35_input_settings: {
1628
+ # input_attachment_name_reference: "__string",
1629
+ # mode: "FIXED", # required, accepts FIXED, FOLLOW_ACTIVE
1630
+ # },
1606
1631
  # scte_35_return_to_network_settings: {
1607
1632
  # splice_event_id: 1, # required
1608
1633
  # },
@@ -1972,6 +1997,10 @@ module Aws::MediaLive
1972
1997
  # },
1973
1998
  # ],
1974
1999
  # },
2000
+ # scte_35_input_settings: {
2001
+ # input_attachment_name_reference: "__string",
2002
+ # mode: "FIXED", # required, accepts FIXED, FOLLOW_ACTIVE
2003
+ # },
1975
2004
  # scte_35_return_to_network_settings: {
1976
2005
  # splice_event_id: 1, # required
1977
2006
  # },
@@ -3416,6 +3445,14 @@ module Aws::MediaLive
3416
3445
  # },
3417
3446
  # avail_configuration: {
3418
3447
  # avail_settings: {
3448
+ # esam: {
3449
+ # acquisition_point_id: "__stringMax256", # required
3450
+ # ad_avail_offset: 1,
3451
+ # password: "__string",
3452
+ # pois_endpoint: "__string", # required
3453
+ # username: "__string",
3454
+ # zone_identity: "__stringMax256",
3455
+ # },
3419
3456
  # scte_35_splice_insert: {
3420
3457
  # ad_avail_offset: 1,
3421
3458
  # no_regional_blackout_flag: "FOLLOW", # accepts FOLLOW, IGNORE
@@ -6831,6 +6868,14 @@ module Aws::MediaLive
6831
6868
  # },
6832
6869
  # avail_configuration: {
6833
6870
  # avail_settings: {
6871
+ # esam: {
6872
+ # acquisition_point_id: "__stringMax256", # required
6873
+ # ad_avail_offset: 1,
6874
+ # password: "__string",
6875
+ # pois_endpoint: "__string", # required
6876
+ # username: "__string",
6877
+ # zone_identity: "__stringMax256",
6878
+ # },
6834
6879
  # scte_35_splice_insert: {
6835
6880
  # ad_avail_offset: 1,
6836
6881
  # no_regional_blackout_flag: "FOLLOW", # accepts FOLLOW, IGNORE
@@ -7575,6 +7620,66 @@ module Aws::MediaLive
7575
7620
  include Aws::Structure
7576
7621
  end
7577
7622
 
7623
+ # Esam
7624
+ #
7625
+ # @note When making an API call, you may pass Esam
7626
+ # data as a hash:
7627
+ #
7628
+ # {
7629
+ # acquisition_point_id: "__stringMax256", # required
7630
+ # ad_avail_offset: 1,
7631
+ # password: "__string",
7632
+ # pois_endpoint: "__string", # required
7633
+ # username: "__string",
7634
+ # zone_identity: "__stringMax256",
7635
+ # }
7636
+ #
7637
+ # @!attribute [rw] acquisition_point_id
7638
+ # Sent as acquisitionPointIdentity to identify the MediaLive channel
7639
+ # to the POIS.
7640
+ # @return [String]
7641
+ #
7642
+ # @!attribute [rw] ad_avail_offset
7643
+ # When specified, this offset (in milliseconds) is added to the input
7644
+ # Ad Avail PTS time. This only applies to embedded SCTE 104/35
7645
+ # messages and does not apply to OOB messages.
7646
+ # @return [Integer]
7647
+ #
7648
+ # @!attribute [rw] password
7649
+ # @return [String]
7650
+ #
7651
+ # @!attribute [rw] pois_endpoint
7652
+ # The URL of the signal conditioner endpoint on the Placement
7653
+ # Opportunity Information System (POIS). MediaLive sends
7654
+ # SignalProcessingEvents here when SCTE-35 messages are read.
7655
+ # @return [String]
7656
+ #
7657
+ # @!attribute [rw] username
7658
+ # Username if credentials are required to access the POIS endpoint.
7659
+ # This can be either a plaintext username, or a reference to an AWS
7660
+ # parameter store name from which the username can be retrieved. AWS
7661
+ # Parameter store format: "ssm://<parameter name="">"</p>
7662
+ # </parameter>
7663
+ # @return [String]
7664
+ #
7665
+ # @!attribute [rw] zone_identity
7666
+ # Optional data sent as zoneIdentity to identify the MediaLive channel
7667
+ # to the POIS.
7668
+ # @return [String]
7669
+ #
7670
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Esam AWS API Documentation
7671
+ #
7672
+ class Esam < Struct.new(
7673
+ :acquisition_point_id,
7674
+ :ad_avail_offset,
7675
+ :password,
7676
+ :pois_endpoint,
7677
+ :username,
7678
+ :zone_identity)
7679
+ SENSITIVE = []
7680
+ include Aws::Structure
7681
+ end
7682
+
7578
7683
  # Failover Condition settings. There can be multiple failover conditions
7579
7684
  # inside AutomaticInputFailoverSettings.
7580
7685
  #
@@ -16069,6 +16174,10 @@ module Aws::MediaLive
16069
16174
  # },
16070
16175
  # ],
16071
16176
  # },
16177
+ # scte_35_input_settings: {
16178
+ # input_attachment_name_reference: "__string",
16179
+ # mode: "FIXED", # required, accepts FIXED, FOLLOW_ACTIVE
16180
+ # },
16072
16181
  # scte_35_return_to_network_settings: {
16073
16182
  # splice_event_id: 1, # required
16074
16183
  # },
@@ -16218,6 +16327,10 @@ module Aws::MediaLive
16218
16327
  # },
16219
16328
  # ],
16220
16329
  # },
16330
+ # scte_35_input_settings: {
16331
+ # input_attachment_name_reference: "__string",
16332
+ # mode: "FIXED", # required, accepts FIXED, FOLLOW_ACTIVE
16333
+ # },
16221
16334
  # scte_35_return_to_network_settings: {
16222
16335
  # splice_event_id: 1, # required
16223
16336
  # },
@@ -16301,6 +16414,10 @@ module Aws::MediaLive
16301
16414
  # Action to pause or unpause one or both channel pipelines
16302
16415
  # @return [Types::PauseStateScheduleActionSettings]
16303
16416
  #
16417
+ # @!attribute [rw] scte_35_input_settings
16418
+ # Action to get scte35 input
16419
+ # @return [Types::Scte35InputScheduleActionSettings]
16420
+ #
16304
16421
  # @!attribute [rw] scte_35_return_to_network_settings
16305
16422
  # Action to insert SCTE-35 return\_to\_network message
16306
16423
  # @return [Types::Scte35ReturnToNetworkScheduleActionSettings]
@@ -16331,6 +16448,7 @@ module Aws::MediaLive
16331
16448
  :motion_graphics_image_activate_settings,
16332
16449
  :motion_graphics_image_deactivate_settings,
16333
16450
  :pause_state_settings,
16451
+ :scte_35_input_settings,
16334
16452
  :scte_35_return_to_network_settings,
16335
16453
  :scte_35_splice_insert_settings,
16336
16454
  :scte_35_time_signal_settings,
@@ -16608,6 +16726,35 @@ module Aws::MediaLive
16608
16726
  include Aws::Structure
16609
16727
  end
16610
16728
 
16729
+ # Settings for the "scte35 input" action
16730
+ #
16731
+ # @note When making an API call, you may pass Scte35InputScheduleActionSettings
16732
+ # data as a hash:
16733
+ #
16734
+ # {
16735
+ # input_attachment_name_reference: "__string",
16736
+ # mode: "FIXED", # required, accepts FIXED, FOLLOW_ACTIVE
16737
+ # }
16738
+ #
16739
+ # @!attribute [rw] input_attachment_name_reference
16740
+ # In fixed mode, enter the name of the input attachment that you want
16741
+ # to use as a SCTE-35 input. (Don't enter the ID of the input.)"
16742
+ # @return [String]
16743
+ #
16744
+ # @!attribute [rw] mode
16745
+ # Whether the SCTE-35 input should be the active input or a fixed
16746
+ # input.
16747
+ # @return [String]
16748
+ #
16749
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Scte35InputScheduleActionSettings AWS API Documentation
16750
+ #
16751
+ class Scte35InputScheduleActionSettings < Struct.new(
16752
+ :input_attachment_name_reference,
16753
+ :mode)
16754
+ SENSITIVE = []
16755
+ include Aws::Structure
16756
+ end
16757
+
16611
16758
  # Settings for a SCTE-35 return\_to\_network message.
16612
16759
  #
16613
16760
  # @note When making an API call, you may pass Scte35ReturnToNetworkScheduleActionSettings
@@ -18319,6 +18466,14 @@ module Aws::MediaLive
18319
18466
  # },
18320
18467
  # avail_configuration: {
18321
18468
  # avail_settings: {
18469
+ # esam: {
18470
+ # acquisition_point_id: "__stringMax256", # required
18471
+ # ad_avail_offset: 1,
18472
+ # password: "__string",
18473
+ # pois_endpoint: "__string", # required
18474
+ # username: "__string",
18475
+ # zone_identity: "__stringMax256",
18476
+ # },
18322
18477
  # scte_35_splice_insert: {
18323
18478
  # ad_avail_offset: 1,
18324
18479
  # no_regional_blackout_flag: "FOLLOW", # accepts FOLLOW, IGNORE
@@ -13,10 +13,14 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-medialive/types'
15
15
  require_relative 'aws-sdk-medialive/client_api'
16
+ require_relative 'aws-sdk-medialive/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-medialive/client'
17
18
  require_relative 'aws-sdk-medialive/errors'
18
19
  require_relative 'aws-sdk-medialive/waiters'
19
20
  require_relative 'aws-sdk-medialive/resource'
21
+ require_relative 'aws-sdk-medialive/endpoint_parameters'
22
+ require_relative 'aws-sdk-medialive/endpoint_provider'
23
+ require_relative 'aws-sdk-medialive/endpoints'
20
24
  require_relative 'aws-sdk-medialive/customizations'
21
25
 
22
26
  # This module provides support for AWS Elemental MediaLive. This module is available in the
@@ -49,6 +53,6 @@ require_relative 'aws-sdk-medialive/customizations'
49
53
  # @!group service
50
54
  module Aws::MediaLive
51
55
 
52
- GEM_VERSION = '1.89.0'
56
+ GEM_VERSION = '1.91.0'
53
57
 
54
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-medialive
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.89.0
4
+ version: 1.91.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: 2022-09-08 00:00:00.000000000 Z
11
+ date: 2022-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.127.0
22
+ version: 3.165.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-medialive/client.rb
60
60
  - lib/aws-sdk-medialive/client_api.rb
61
61
  - lib/aws-sdk-medialive/customizations.rb
62
+ - lib/aws-sdk-medialive/endpoint_parameters.rb
63
+ - lib/aws-sdk-medialive/endpoint_provider.rb
64
+ - lib/aws-sdk-medialive/endpoints.rb
62
65
  - lib/aws-sdk-medialive/errors.rb
66
+ - lib/aws-sdk-medialive/plugins/endpoints.rb
63
67
  - lib/aws-sdk-medialive/resource.rb
64
68
  - lib/aws-sdk-medialive/types.rb
65
69
  - lib/aws-sdk-medialive/waiters.rb