aws-sdk-mediapackage 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 14ee0f362fa573c45e2f3951f97c8abcd6227087
4
+ data.tar.gz: 02f0eddfa4ad12c982810d73a539cb88b50c11c8
5
+ SHA512:
6
+ metadata.gz: 63c9ff4aeaf8c3210bc06cdd112c7c431e751497c22498a3f0b950db5024bd85591dc8bda4d9ee4ea5f236064bc417100766818edcab880fd4ef838ad4ceb359
7
+ data.tar.gz: 2bcc36d54b61609cca6b72970f4e6a0bc4dd31568145f24c80fa22cadc369bdaa92f657540d05a9626f61ab3449ed6e79f0fc6dbdfde283c1b3a1bb4de7e6697
@@ -0,0 +1,47 @@
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
+ require 'aws-sdk-core'
9
+ require 'aws-sigv4'
10
+
11
+ require_relative 'aws-sdk-mediapackage/types'
12
+ require_relative 'aws-sdk-mediapackage/client_api'
13
+ require_relative 'aws-sdk-mediapackage/client'
14
+ require_relative 'aws-sdk-mediapackage/errors'
15
+ require_relative 'aws-sdk-mediapackage/resource'
16
+ require_relative 'aws-sdk-mediapackage/customizations'
17
+
18
+ # This module provides support for AWS Elemental MediaPackage. This module is available in the
19
+ # `aws-sdk-mediapackage` gem.
20
+ #
21
+ # # Client
22
+ #
23
+ # The {Client} class provides one method for each API operation. Operation
24
+ # methods each accept a hash of request parameters and return a response
25
+ # structure.
26
+ #
27
+ # See {Client} for more information.
28
+ #
29
+ # # Errors
30
+ #
31
+ # Errors returned from AWS Elemental MediaPackage all
32
+ # extend {Errors::ServiceError}.
33
+ #
34
+ # begin
35
+ # # do stuff
36
+ # rescue Aws::MediaPackage::Errors::ServiceError
37
+ # # rescues all service API errors
38
+ # end
39
+ #
40
+ # See {Errors} for more information.
41
+ #
42
+ # @service
43
+ module Aws::MediaPackage
44
+
45
+ GEM_VERSION = '1.0.0'
46
+
47
+ end
@@ -0,0 +1,957 @@
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
+ require 'seahorse/client/plugins/content_length.rb'
9
+ require 'aws-sdk-core/plugins/credentials_configuration.rb'
10
+ require 'aws-sdk-core/plugins/logging.rb'
11
+ require 'aws-sdk-core/plugins/param_converter.rb'
12
+ require 'aws-sdk-core/plugins/param_validator.rb'
13
+ require 'aws-sdk-core/plugins/user_agent.rb'
14
+ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
15
+ require 'aws-sdk-core/plugins/retry_errors.rb'
16
+ require 'aws-sdk-core/plugins/global_configuration.rb'
17
+ require 'aws-sdk-core/plugins/regional_endpoint.rb'
18
+ require 'aws-sdk-core/plugins/response_paging.rb'
19
+ require 'aws-sdk-core/plugins/stub_responses.rb'
20
+ require 'aws-sdk-core/plugins/idempotency_token.rb'
21
+ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
22
+ require 'aws-sdk-core/plugins/signature_v4.rb'
23
+ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
24
+
25
+ Aws::Plugins::GlobalConfiguration.add_identifier(:mediapackage)
26
+
27
+ module Aws::MediaPackage
28
+ class Client < Seahorse::Client::Base
29
+
30
+ include Aws::ClientStubs
31
+
32
+ @identifier = :mediapackage
33
+
34
+ set_api(ClientApi::API)
35
+
36
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
37
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
38
+ add_plugin(Aws::Plugins::Logging)
39
+ add_plugin(Aws::Plugins::ParamConverter)
40
+ add_plugin(Aws::Plugins::ParamValidator)
41
+ add_plugin(Aws::Plugins::UserAgent)
42
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
43
+ add_plugin(Aws::Plugins::RetryErrors)
44
+ add_plugin(Aws::Plugins::GlobalConfiguration)
45
+ add_plugin(Aws::Plugins::RegionalEndpoint)
46
+ add_plugin(Aws::Plugins::ResponsePaging)
47
+ add_plugin(Aws::Plugins::StubResponses)
48
+ add_plugin(Aws::Plugins::IdempotencyToken)
49
+ add_plugin(Aws::Plugins::JsonvalueConverter)
50
+ add_plugin(Aws::Plugins::SignatureV4)
51
+ add_plugin(Aws::Plugins::Protocols::RestJson)
52
+
53
+ # @option options [required, Aws::CredentialProvider] :credentials
54
+ # Your AWS credentials. This can be an instance of any one of the
55
+ # following classes:
56
+ #
57
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
58
+ # credentials.
59
+ #
60
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
61
+ # from an EC2 IMDS on an EC2 instance.
62
+ #
63
+ # * `Aws::SharedCredentials` - Used for loading credentials from a
64
+ # shared file, such as `~/.aws/config`.
65
+ #
66
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
67
+ #
68
+ # When `:credentials` are not configured directly, the following
69
+ # locations will be searched for credentials:
70
+ #
71
+ # * `Aws.config[:credentials]`
72
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
73
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
74
+ # * `~/.aws/credentials`
75
+ # * `~/.aws/config`
76
+ # * EC2 IMDS instance profile - When used by default, the timeouts are
77
+ # very aggressive. Construct and pass an instance of
78
+ # `Aws::InstanceProfileCredentails` to enable retries and extended
79
+ # timeouts.
80
+ #
81
+ # @option options [required, String] :region
82
+ # The AWS region to connect to. The configured `:region` is
83
+ # used to determine the service `:endpoint`. When not passed,
84
+ # a default `:region` is search for in the following locations:
85
+ #
86
+ # * `Aws.config[:region]`
87
+ # * `ENV['AWS_REGION']`
88
+ # * `ENV['AMAZON_REGION']`
89
+ # * `ENV['AWS_DEFAULT_REGION']`
90
+ # * `~/.aws/credentials`
91
+ # * `~/.aws/config`
92
+ #
93
+ # @option options [String] :access_key_id
94
+ #
95
+ # @option options [Boolean] :convert_params (true)
96
+ # When `true`, an attempt is made to coerce request parameters into
97
+ # the required types.
98
+ #
99
+ # @option options [String] :endpoint
100
+ # The client endpoint is normally constructed from the `:region`
101
+ # option. You should only configure an `:endpoint` when connecting
102
+ # to test endpoints. This should be avalid HTTP(S) URI.
103
+ #
104
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
105
+ # The log formatter.
106
+ #
107
+ # @option options [Symbol] :log_level (:info)
108
+ # The log level to send messages to the `:logger` at.
109
+ #
110
+ # @option options [Logger] :logger
111
+ # The Logger instance to send log messages to. If this option
112
+ # is not set, logging will be disabled.
113
+ #
114
+ # @option options [String] :profile ("default")
115
+ # Used when loading credentials from the shared credentials file
116
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
117
+ #
118
+ # @option options [Integer] :retry_limit (3)
119
+ # The maximum number of times to retry failed requests. Only
120
+ # ~ 500 level server errors and certain ~ 400 level client errors
121
+ # are retried. Generally, these are throttling errors, data
122
+ # checksum errors, networking errors, timeout errors and auth
123
+ # errors from expired credentials.
124
+ #
125
+ # @option options [String] :secret_access_key
126
+ #
127
+ # @option options [String] :session_token
128
+ #
129
+ # @option options [Boolean] :stub_responses (false)
130
+ # Causes the client to return stubbed responses. By default
131
+ # fake responses are generated and returned. You can specify
132
+ # the response data to return or errors to raise by calling
133
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
134
+ #
135
+ # ** Please note ** When response stubbing is enabled, no HTTP
136
+ # requests are made, and retries are disabled.
137
+ #
138
+ # @option options [Boolean] :validate_params (true)
139
+ # When `true`, request parameters are validated before
140
+ # sending the request.
141
+ #
142
+ def initialize(*args)
143
+ super
144
+ end
145
+
146
+ # @!group API Operations
147
+
148
+ # Creates a new Channel.
149
+ #
150
+ # @option params [String] :description
151
+ #
152
+ # @option params [required, String] :id
153
+ #
154
+ # @return [Types::CreateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
155
+ #
156
+ # * {Types::CreateChannelResponse#arn #arn} => String
157
+ # * {Types::CreateChannelResponse#description #description} => String
158
+ # * {Types::CreateChannelResponse#hls_ingest #hls_ingest} => Types::HlsIngest
159
+ # * {Types::CreateChannelResponse#id #id} => String
160
+ #
161
+ # @example Request syntax with placeholder values
162
+ #
163
+ # resp = client.create_channel({
164
+ # description: "__string",
165
+ # id: "__string", # required
166
+ # })
167
+ #
168
+ # @example Response structure
169
+ #
170
+ # resp.arn #=> String
171
+ # resp.description #=> String
172
+ # resp.hls_ingest.ingest_endpoints #=> Array
173
+ # resp.hls_ingest.ingest_endpoints[0].password #=> String
174
+ # resp.hls_ingest.ingest_endpoints[0].url #=> String
175
+ # resp.hls_ingest.ingest_endpoints[0].username #=> String
176
+ # resp.id #=> String
177
+ #
178
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannel AWS API Documentation
179
+ #
180
+ # @overload create_channel(params = {})
181
+ # @param [Hash] params ({})
182
+ def create_channel(params = {}, options = {})
183
+ req = build_request(:create_channel, params)
184
+ req.send_request(options)
185
+ end
186
+
187
+ # Creates a new OriginEndpoint record.
188
+ #
189
+ # @option params [required, String] :channel_id
190
+ #
191
+ # @option params [Types::DashPackage] :dash_package
192
+ # A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
193
+ #
194
+ # @option params [String] :description
195
+ #
196
+ # @option params [Types::HlsPackage] :hls_package
197
+ # An HTTP Live Streaming (HLS) packaging configuration.
198
+ #
199
+ # @option params [required, String] :id
200
+ #
201
+ # @option params [String] :manifest_name
202
+ #
203
+ # @option params [Types::MssPackage] :mss_package
204
+ # A Microsoft Smooth Streaming (MSS) packaging configuration.
205
+ #
206
+ # @option params [Integer] :startover_window_seconds
207
+ #
208
+ # @option params [Integer] :time_delay_seconds
209
+ #
210
+ # @option params [Array<String>] :whitelist
211
+ #
212
+ # @return [Types::CreateOriginEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
213
+ #
214
+ # * {Types::CreateOriginEndpointResponse#arn #arn} => String
215
+ # * {Types::CreateOriginEndpointResponse#channel_id #channel_id} => String
216
+ # * {Types::CreateOriginEndpointResponse#dash_package #dash_package} => Types::DashPackage
217
+ # * {Types::CreateOriginEndpointResponse#description #description} => String
218
+ # * {Types::CreateOriginEndpointResponse#hls_package #hls_package} => Types::HlsPackage
219
+ # * {Types::CreateOriginEndpointResponse#id #id} => String
220
+ # * {Types::CreateOriginEndpointResponse#manifest_name #manifest_name} => String
221
+ # * {Types::CreateOriginEndpointResponse#mss_package #mss_package} => Types::MssPackage
222
+ # * {Types::CreateOriginEndpointResponse#startover_window_seconds #startover_window_seconds} => Integer
223
+ # * {Types::CreateOriginEndpointResponse#time_delay_seconds #time_delay_seconds} => Integer
224
+ # * {Types::CreateOriginEndpointResponse#url #url} => String
225
+ # * {Types::CreateOriginEndpointResponse#whitelist #whitelist} => Array&lt;String&gt;
226
+ #
227
+ # @example Request syntax with placeholder values
228
+ #
229
+ # resp = client.create_origin_endpoint({
230
+ # channel_id: "__string", # required
231
+ # dash_package: {
232
+ # encryption: {
233
+ # key_rotation_interval_seconds: 1,
234
+ # speke_key_provider: { # required
235
+ # resource_id: "__string", # required
236
+ # role_arn: "__string", # required
237
+ # system_ids: ["__string"], # required
238
+ # url: "__string", # required
239
+ # },
240
+ # },
241
+ # manifest_window_seconds: 1,
242
+ # min_buffer_time_seconds: 1,
243
+ # min_update_period_seconds: 1,
244
+ # profile: "NONE", # accepts NONE, HBBTV_1_5
245
+ # segment_duration_seconds: 1,
246
+ # stream_selection: {
247
+ # max_video_bits_per_second: 1,
248
+ # min_video_bits_per_second: 1,
249
+ # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
250
+ # },
251
+ # suggested_presentation_delay_seconds: 1,
252
+ # },
253
+ # description: "__string",
254
+ # hls_package: {
255
+ # ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
256
+ # encryption: {
257
+ # constant_initialization_vector: "__string",
258
+ # encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
259
+ # key_rotation_interval_seconds: 1,
260
+ # repeat_ext_x_key: false,
261
+ # speke_key_provider: { # required
262
+ # resource_id: "__string", # required
263
+ # role_arn: "__string", # required
264
+ # system_ids: ["__string"], # required
265
+ # url: "__string", # required
266
+ # },
267
+ # },
268
+ # include_iframe_only_stream: false,
269
+ # playlist_type: "NONE", # accepts NONE, EVENT, VOD
270
+ # playlist_window_seconds: 1,
271
+ # program_date_time_interval_seconds: 1,
272
+ # segment_duration_seconds: 1,
273
+ # stream_selection: {
274
+ # max_video_bits_per_second: 1,
275
+ # min_video_bits_per_second: 1,
276
+ # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
277
+ # },
278
+ # use_audio_rendition_group: false,
279
+ # },
280
+ # id: "__string", # required
281
+ # manifest_name: "__string",
282
+ # mss_package: {
283
+ # encryption: {
284
+ # speke_key_provider: { # required
285
+ # resource_id: "__string", # required
286
+ # role_arn: "__string", # required
287
+ # system_ids: ["__string"], # required
288
+ # url: "__string", # required
289
+ # },
290
+ # },
291
+ # manifest_window_seconds: 1,
292
+ # segment_duration_seconds: 1,
293
+ # stream_selection: {
294
+ # max_video_bits_per_second: 1,
295
+ # min_video_bits_per_second: 1,
296
+ # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
297
+ # },
298
+ # },
299
+ # startover_window_seconds: 1,
300
+ # time_delay_seconds: 1,
301
+ # whitelist: ["__string"],
302
+ # })
303
+ #
304
+ # @example Response structure
305
+ #
306
+ # resp.arn #=> String
307
+ # resp.channel_id #=> String
308
+ # resp.dash_package.encryption.key_rotation_interval_seconds #=> Integer
309
+ # resp.dash_package.encryption.speke_key_provider.resource_id #=> String
310
+ # resp.dash_package.encryption.speke_key_provider.role_arn #=> String
311
+ # resp.dash_package.encryption.speke_key_provider.system_ids #=> Array
312
+ # resp.dash_package.encryption.speke_key_provider.system_ids[0] #=> String
313
+ # resp.dash_package.encryption.speke_key_provider.url #=> String
314
+ # resp.dash_package.manifest_window_seconds #=> Integer
315
+ # resp.dash_package.min_buffer_time_seconds #=> Integer
316
+ # resp.dash_package.min_update_period_seconds #=> Integer
317
+ # resp.dash_package.profile #=> String, one of "NONE", "HBBTV_1_5"
318
+ # resp.dash_package.segment_duration_seconds #=> Integer
319
+ # resp.dash_package.stream_selection.max_video_bits_per_second #=> Integer
320
+ # resp.dash_package.stream_selection.min_video_bits_per_second #=> Integer
321
+ # resp.dash_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
322
+ # resp.dash_package.suggested_presentation_delay_seconds #=> Integer
323
+ # resp.description #=> String
324
+ # resp.hls_package.ad_markers #=> String, one of "NONE", "SCTE35_ENHANCED", "PASSTHROUGH"
325
+ # resp.hls_package.encryption.constant_initialization_vector #=> String
326
+ # resp.hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
327
+ # resp.hls_package.encryption.key_rotation_interval_seconds #=> Integer
328
+ # resp.hls_package.encryption.repeat_ext_x_key #=> Boolean
329
+ # resp.hls_package.encryption.speke_key_provider.resource_id #=> String
330
+ # resp.hls_package.encryption.speke_key_provider.role_arn #=> String
331
+ # resp.hls_package.encryption.speke_key_provider.system_ids #=> Array
332
+ # resp.hls_package.encryption.speke_key_provider.system_ids[0] #=> String
333
+ # resp.hls_package.encryption.speke_key_provider.url #=> String
334
+ # resp.hls_package.include_iframe_only_stream #=> Boolean
335
+ # resp.hls_package.playlist_type #=> String, one of "NONE", "EVENT", "VOD"
336
+ # resp.hls_package.playlist_window_seconds #=> Integer
337
+ # resp.hls_package.program_date_time_interval_seconds #=> Integer
338
+ # resp.hls_package.segment_duration_seconds #=> Integer
339
+ # resp.hls_package.stream_selection.max_video_bits_per_second #=> Integer
340
+ # resp.hls_package.stream_selection.min_video_bits_per_second #=> Integer
341
+ # resp.hls_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
342
+ # resp.hls_package.use_audio_rendition_group #=> Boolean
343
+ # resp.id #=> String
344
+ # resp.manifest_name #=> String
345
+ # resp.mss_package.encryption.speke_key_provider.resource_id #=> String
346
+ # resp.mss_package.encryption.speke_key_provider.role_arn #=> String
347
+ # resp.mss_package.encryption.speke_key_provider.system_ids #=> Array
348
+ # resp.mss_package.encryption.speke_key_provider.system_ids[0] #=> String
349
+ # resp.mss_package.encryption.speke_key_provider.url #=> String
350
+ # resp.mss_package.manifest_window_seconds #=> Integer
351
+ # resp.mss_package.segment_duration_seconds #=> Integer
352
+ # resp.mss_package.stream_selection.max_video_bits_per_second #=> Integer
353
+ # resp.mss_package.stream_selection.min_video_bits_per_second #=> Integer
354
+ # resp.mss_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
355
+ # resp.startover_window_seconds #=> Integer
356
+ # resp.time_delay_seconds #=> Integer
357
+ # resp.url #=> String
358
+ # resp.whitelist #=> Array
359
+ # resp.whitelist[0] #=> String
360
+ #
361
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpoint AWS API Documentation
362
+ #
363
+ # @overload create_origin_endpoint(params = {})
364
+ # @param [Hash] params ({})
365
+ def create_origin_endpoint(params = {}, options = {})
366
+ req = build_request(:create_origin_endpoint, params)
367
+ req.send_request(options)
368
+ end
369
+
370
+ # Deletes an existing Channel.
371
+ #
372
+ # @option params [required, String] :id
373
+ #
374
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
375
+ #
376
+ # @example Request syntax with placeholder values
377
+ #
378
+ # resp = client.delete_channel({
379
+ # id: "__string", # required
380
+ # })
381
+ #
382
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteChannel AWS API Documentation
383
+ #
384
+ # @overload delete_channel(params = {})
385
+ # @param [Hash] params ({})
386
+ def delete_channel(params = {}, options = {})
387
+ req = build_request(:delete_channel, params)
388
+ req.send_request(options)
389
+ end
390
+
391
+ # Deletes an existing OriginEndpoint.
392
+ #
393
+ # @option params [required, String] :id
394
+ #
395
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
396
+ #
397
+ # @example Request syntax with placeholder values
398
+ #
399
+ # resp = client.delete_origin_endpoint({
400
+ # id: "__string", # required
401
+ # })
402
+ #
403
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteOriginEndpoint AWS API Documentation
404
+ #
405
+ # @overload delete_origin_endpoint(params = {})
406
+ # @param [Hash] params ({})
407
+ def delete_origin_endpoint(params = {}, options = {})
408
+ req = build_request(:delete_origin_endpoint, params)
409
+ req.send_request(options)
410
+ end
411
+
412
+ # Gets details about a Channel.
413
+ #
414
+ # @option params [required, String] :id
415
+ #
416
+ # @return [Types::DescribeChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
417
+ #
418
+ # * {Types::DescribeChannelResponse#arn #arn} => String
419
+ # * {Types::DescribeChannelResponse#description #description} => String
420
+ # * {Types::DescribeChannelResponse#hls_ingest #hls_ingest} => Types::HlsIngest
421
+ # * {Types::DescribeChannelResponse#id #id} => String
422
+ #
423
+ # @example Request syntax with placeholder values
424
+ #
425
+ # resp = client.describe_channel({
426
+ # id: "__string", # required
427
+ # })
428
+ #
429
+ # @example Response structure
430
+ #
431
+ # resp.arn #=> String
432
+ # resp.description #=> String
433
+ # resp.hls_ingest.ingest_endpoints #=> Array
434
+ # resp.hls_ingest.ingest_endpoints[0].password #=> String
435
+ # resp.hls_ingest.ingest_endpoints[0].url #=> String
436
+ # resp.hls_ingest.ingest_endpoints[0].username #=> String
437
+ # resp.id #=> String
438
+ #
439
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannel AWS API Documentation
440
+ #
441
+ # @overload describe_channel(params = {})
442
+ # @param [Hash] params ({})
443
+ def describe_channel(params = {}, options = {})
444
+ req = build_request(:describe_channel, params)
445
+ req.send_request(options)
446
+ end
447
+
448
+ # Gets details about an existing OriginEndpoint.
449
+ #
450
+ # @option params [required, String] :id
451
+ #
452
+ # @return [Types::DescribeOriginEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
453
+ #
454
+ # * {Types::DescribeOriginEndpointResponse#arn #arn} => String
455
+ # * {Types::DescribeOriginEndpointResponse#channel_id #channel_id} => String
456
+ # * {Types::DescribeOriginEndpointResponse#dash_package #dash_package} => Types::DashPackage
457
+ # * {Types::DescribeOriginEndpointResponse#description #description} => String
458
+ # * {Types::DescribeOriginEndpointResponse#hls_package #hls_package} => Types::HlsPackage
459
+ # * {Types::DescribeOriginEndpointResponse#id #id} => String
460
+ # * {Types::DescribeOriginEndpointResponse#manifest_name #manifest_name} => String
461
+ # * {Types::DescribeOriginEndpointResponse#mss_package #mss_package} => Types::MssPackage
462
+ # * {Types::DescribeOriginEndpointResponse#startover_window_seconds #startover_window_seconds} => Integer
463
+ # * {Types::DescribeOriginEndpointResponse#time_delay_seconds #time_delay_seconds} => Integer
464
+ # * {Types::DescribeOriginEndpointResponse#url #url} => String
465
+ # * {Types::DescribeOriginEndpointResponse#whitelist #whitelist} => Array&lt;String&gt;
466
+ #
467
+ # @example Request syntax with placeholder values
468
+ #
469
+ # resp = client.describe_origin_endpoint({
470
+ # id: "__string", # required
471
+ # })
472
+ #
473
+ # @example Response structure
474
+ #
475
+ # resp.arn #=> String
476
+ # resp.channel_id #=> String
477
+ # resp.dash_package.encryption.key_rotation_interval_seconds #=> Integer
478
+ # resp.dash_package.encryption.speke_key_provider.resource_id #=> String
479
+ # resp.dash_package.encryption.speke_key_provider.role_arn #=> String
480
+ # resp.dash_package.encryption.speke_key_provider.system_ids #=> Array
481
+ # resp.dash_package.encryption.speke_key_provider.system_ids[0] #=> String
482
+ # resp.dash_package.encryption.speke_key_provider.url #=> String
483
+ # resp.dash_package.manifest_window_seconds #=> Integer
484
+ # resp.dash_package.min_buffer_time_seconds #=> Integer
485
+ # resp.dash_package.min_update_period_seconds #=> Integer
486
+ # resp.dash_package.profile #=> String, one of "NONE", "HBBTV_1_5"
487
+ # resp.dash_package.segment_duration_seconds #=> Integer
488
+ # resp.dash_package.stream_selection.max_video_bits_per_second #=> Integer
489
+ # resp.dash_package.stream_selection.min_video_bits_per_second #=> Integer
490
+ # resp.dash_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
491
+ # resp.dash_package.suggested_presentation_delay_seconds #=> Integer
492
+ # resp.description #=> String
493
+ # resp.hls_package.ad_markers #=> String, one of "NONE", "SCTE35_ENHANCED", "PASSTHROUGH"
494
+ # resp.hls_package.encryption.constant_initialization_vector #=> String
495
+ # resp.hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
496
+ # resp.hls_package.encryption.key_rotation_interval_seconds #=> Integer
497
+ # resp.hls_package.encryption.repeat_ext_x_key #=> Boolean
498
+ # resp.hls_package.encryption.speke_key_provider.resource_id #=> String
499
+ # resp.hls_package.encryption.speke_key_provider.role_arn #=> String
500
+ # resp.hls_package.encryption.speke_key_provider.system_ids #=> Array
501
+ # resp.hls_package.encryption.speke_key_provider.system_ids[0] #=> String
502
+ # resp.hls_package.encryption.speke_key_provider.url #=> String
503
+ # resp.hls_package.include_iframe_only_stream #=> Boolean
504
+ # resp.hls_package.playlist_type #=> String, one of "NONE", "EVENT", "VOD"
505
+ # resp.hls_package.playlist_window_seconds #=> Integer
506
+ # resp.hls_package.program_date_time_interval_seconds #=> Integer
507
+ # resp.hls_package.segment_duration_seconds #=> Integer
508
+ # resp.hls_package.stream_selection.max_video_bits_per_second #=> Integer
509
+ # resp.hls_package.stream_selection.min_video_bits_per_second #=> Integer
510
+ # resp.hls_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
511
+ # resp.hls_package.use_audio_rendition_group #=> Boolean
512
+ # resp.id #=> String
513
+ # resp.manifest_name #=> String
514
+ # resp.mss_package.encryption.speke_key_provider.resource_id #=> String
515
+ # resp.mss_package.encryption.speke_key_provider.role_arn #=> String
516
+ # resp.mss_package.encryption.speke_key_provider.system_ids #=> Array
517
+ # resp.mss_package.encryption.speke_key_provider.system_ids[0] #=> String
518
+ # resp.mss_package.encryption.speke_key_provider.url #=> String
519
+ # resp.mss_package.manifest_window_seconds #=> Integer
520
+ # resp.mss_package.segment_duration_seconds #=> Integer
521
+ # resp.mss_package.stream_selection.max_video_bits_per_second #=> Integer
522
+ # resp.mss_package.stream_selection.min_video_bits_per_second #=> Integer
523
+ # resp.mss_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
524
+ # resp.startover_window_seconds #=> Integer
525
+ # resp.time_delay_seconds #=> Integer
526
+ # resp.url #=> String
527
+ # resp.whitelist #=> Array
528
+ # resp.whitelist[0] #=> String
529
+ #
530
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeOriginEndpoint AWS API Documentation
531
+ #
532
+ # @overload describe_origin_endpoint(params = {})
533
+ # @param [Hash] params ({})
534
+ def describe_origin_endpoint(params = {}, options = {})
535
+ req = build_request(:describe_origin_endpoint, params)
536
+ req.send_request(options)
537
+ end
538
+
539
+ # Returns a collection of Channels.
540
+ #
541
+ # @option params [Integer] :max_results
542
+ #
543
+ # @option params [String] :next_token
544
+ #
545
+ # @return [Types::ListChannelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
546
+ #
547
+ # * {Types::ListChannelsResponse#channels #channels} => Array&lt;Types::Channel&gt;
548
+ # * {Types::ListChannelsResponse#next_token #next_token} => String
549
+ #
550
+ # @example Request syntax with placeholder values
551
+ #
552
+ # resp = client.list_channels({
553
+ # max_results: 1,
554
+ # next_token: "__string",
555
+ # })
556
+ #
557
+ # @example Response structure
558
+ #
559
+ # resp.channels #=> Array
560
+ # resp.channels[0].arn #=> String
561
+ # resp.channels[0].description #=> String
562
+ # resp.channels[0].hls_ingest.ingest_endpoints #=> Array
563
+ # resp.channels[0].hls_ingest.ingest_endpoints[0].password #=> String
564
+ # resp.channels[0].hls_ingest.ingest_endpoints[0].url #=> String
565
+ # resp.channels[0].hls_ingest.ingest_endpoints[0].username #=> String
566
+ # resp.channels[0].id #=> String
567
+ # resp.next_token #=> String
568
+ #
569
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannels AWS API Documentation
570
+ #
571
+ # @overload list_channels(params = {})
572
+ # @param [Hash] params ({})
573
+ def list_channels(params = {}, options = {})
574
+ req = build_request(:list_channels, params)
575
+ req.send_request(options)
576
+ end
577
+
578
+ # Returns a collection of OriginEndpoint records.
579
+ #
580
+ # @option params [String] :channel_id
581
+ #
582
+ # @option params [Integer] :max_results
583
+ #
584
+ # @option params [String] :next_token
585
+ #
586
+ # @return [Types::ListOriginEndpointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
587
+ #
588
+ # * {Types::ListOriginEndpointsResponse#next_token #next_token} => String
589
+ # * {Types::ListOriginEndpointsResponse#origin_endpoints #origin_endpoints} => Array&lt;Types::OriginEndpoint&gt;
590
+ #
591
+ # @example Request syntax with placeholder values
592
+ #
593
+ # resp = client.list_origin_endpoints({
594
+ # channel_id: "__string",
595
+ # max_results: 1,
596
+ # next_token: "__string",
597
+ # })
598
+ #
599
+ # @example Response structure
600
+ #
601
+ # resp.next_token #=> String
602
+ # resp.origin_endpoints #=> Array
603
+ # resp.origin_endpoints[0].arn #=> String
604
+ # resp.origin_endpoints[0].channel_id #=> String
605
+ # resp.origin_endpoints[0].dash_package.encryption.key_rotation_interval_seconds #=> Integer
606
+ # resp.origin_endpoints[0].dash_package.encryption.speke_key_provider.resource_id #=> String
607
+ # resp.origin_endpoints[0].dash_package.encryption.speke_key_provider.role_arn #=> String
608
+ # resp.origin_endpoints[0].dash_package.encryption.speke_key_provider.system_ids #=> Array
609
+ # resp.origin_endpoints[0].dash_package.encryption.speke_key_provider.system_ids[0] #=> String
610
+ # resp.origin_endpoints[0].dash_package.encryption.speke_key_provider.url #=> String
611
+ # resp.origin_endpoints[0].dash_package.manifest_window_seconds #=> Integer
612
+ # resp.origin_endpoints[0].dash_package.min_buffer_time_seconds #=> Integer
613
+ # resp.origin_endpoints[0].dash_package.min_update_period_seconds #=> Integer
614
+ # resp.origin_endpoints[0].dash_package.profile #=> String, one of "NONE", "HBBTV_1_5"
615
+ # resp.origin_endpoints[0].dash_package.segment_duration_seconds #=> Integer
616
+ # resp.origin_endpoints[0].dash_package.stream_selection.max_video_bits_per_second #=> Integer
617
+ # resp.origin_endpoints[0].dash_package.stream_selection.min_video_bits_per_second #=> Integer
618
+ # resp.origin_endpoints[0].dash_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
619
+ # resp.origin_endpoints[0].dash_package.suggested_presentation_delay_seconds #=> Integer
620
+ # resp.origin_endpoints[0].description #=> String
621
+ # resp.origin_endpoints[0].hls_package.ad_markers #=> String, one of "NONE", "SCTE35_ENHANCED", "PASSTHROUGH"
622
+ # resp.origin_endpoints[0].hls_package.encryption.constant_initialization_vector #=> String
623
+ # resp.origin_endpoints[0].hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
624
+ # resp.origin_endpoints[0].hls_package.encryption.key_rotation_interval_seconds #=> Integer
625
+ # resp.origin_endpoints[0].hls_package.encryption.repeat_ext_x_key #=> Boolean
626
+ # resp.origin_endpoints[0].hls_package.encryption.speke_key_provider.resource_id #=> String
627
+ # resp.origin_endpoints[0].hls_package.encryption.speke_key_provider.role_arn #=> String
628
+ # resp.origin_endpoints[0].hls_package.encryption.speke_key_provider.system_ids #=> Array
629
+ # resp.origin_endpoints[0].hls_package.encryption.speke_key_provider.system_ids[0] #=> String
630
+ # resp.origin_endpoints[0].hls_package.encryption.speke_key_provider.url #=> String
631
+ # resp.origin_endpoints[0].hls_package.include_iframe_only_stream #=> Boolean
632
+ # resp.origin_endpoints[0].hls_package.playlist_type #=> String, one of "NONE", "EVENT", "VOD"
633
+ # resp.origin_endpoints[0].hls_package.playlist_window_seconds #=> Integer
634
+ # resp.origin_endpoints[0].hls_package.program_date_time_interval_seconds #=> Integer
635
+ # resp.origin_endpoints[0].hls_package.segment_duration_seconds #=> Integer
636
+ # resp.origin_endpoints[0].hls_package.stream_selection.max_video_bits_per_second #=> Integer
637
+ # resp.origin_endpoints[0].hls_package.stream_selection.min_video_bits_per_second #=> Integer
638
+ # resp.origin_endpoints[0].hls_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
639
+ # resp.origin_endpoints[0].hls_package.use_audio_rendition_group #=> Boolean
640
+ # resp.origin_endpoints[0].id #=> String
641
+ # resp.origin_endpoints[0].manifest_name #=> String
642
+ # resp.origin_endpoints[0].mss_package.encryption.speke_key_provider.resource_id #=> String
643
+ # resp.origin_endpoints[0].mss_package.encryption.speke_key_provider.role_arn #=> String
644
+ # resp.origin_endpoints[0].mss_package.encryption.speke_key_provider.system_ids #=> Array
645
+ # resp.origin_endpoints[0].mss_package.encryption.speke_key_provider.system_ids[0] #=> String
646
+ # resp.origin_endpoints[0].mss_package.encryption.speke_key_provider.url #=> String
647
+ # resp.origin_endpoints[0].mss_package.manifest_window_seconds #=> Integer
648
+ # resp.origin_endpoints[0].mss_package.segment_duration_seconds #=> Integer
649
+ # resp.origin_endpoints[0].mss_package.stream_selection.max_video_bits_per_second #=> Integer
650
+ # resp.origin_endpoints[0].mss_package.stream_selection.min_video_bits_per_second #=> Integer
651
+ # resp.origin_endpoints[0].mss_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
652
+ # resp.origin_endpoints[0].startover_window_seconds #=> Integer
653
+ # resp.origin_endpoints[0].time_delay_seconds #=> Integer
654
+ # resp.origin_endpoints[0].url #=> String
655
+ # resp.origin_endpoints[0].whitelist #=> Array
656
+ # resp.origin_endpoints[0].whitelist[0] #=> String
657
+ #
658
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpoints AWS API Documentation
659
+ #
660
+ # @overload list_origin_endpoints(params = {})
661
+ # @param [Hash] params ({})
662
+ def list_origin_endpoints(params = {}, options = {})
663
+ req = build_request(:list_origin_endpoints, params)
664
+ req.send_request(options)
665
+ end
666
+
667
+ # Changes the Channel ingest username and password.
668
+ #
669
+ # @option params [required, String] :id
670
+ #
671
+ # @return [Types::RotateChannelCredentialsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
672
+ #
673
+ # * {Types::RotateChannelCredentialsResponse#arn #arn} => String
674
+ # * {Types::RotateChannelCredentialsResponse#description #description} => String
675
+ # * {Types::RotateChannelCredentialsResponse#hls_ingest #hls_ingest} => Types::HlsIngest
676
+ # * {Types::RotateChannelCredentialsResponse#id #id} => String
677
+ #
678
+ # @example Request syntax with placeholder values
679
+ #
680
+ # resp = client.rotate_channel_credentials({
681
+ # id: "__string", # required
682
+ # })
683
+ #
684
+ # @example Response structure
685
+ #
686
+ # resp.arn #=> String
687
+ # resp.description #=> String
688
+ # resp.hls_ingest.ingest_endpoints #=> Array
689
+ # resp.hls_ingest.ingest_endpoints[0].password #=> String
690
+ # resp.hls_ingest.ingest_endpoints[0].url #=> String
691
+ # resp.hls_ingest.ingest_endpoints[0].username #=> String
692
+ # resp.id #=> String
693
+ #
694
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentials AWS API Documentation
695
+ #
696
+ # @overload rotate_channel_credentials(params = {})
697
+ # @param [Hash] params ({})
698
+ def rotate_channel_credentials(params = {}, options = {})
699
+ req = build_request(:rotate_channel_credentials, params)
700
+ req.send_request(options)
701
+ end
702
+
703
+ # Updates an existing Channel.
704
+ #
705
+ # @option params [String] :description
706
+ #
707
+ # @option params [required, String] :id
708
+ #
709
+ # @return [Types::UpdateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
710
+ #
711
+ # * {Types::UpdateChannelResponse#arn #arn} => String
712
+ # * {Types::UpdateChannelResponse#description #description} => String
713
+ # * {Types::UpdateChannelResponse#hls_ingest #hls_ingest} => Types::HlsIngest
714
+ # * {Types::UpdateChannelResponse#id #id} => String
715
+ #
716
+ # @example Request syntax with placeholder values
717
+ #
718
+ # resp = client.update_channel({
719
+ # description: "__string",
720
+ # id: "__string", # required
721
+ # })
722
+ #
723
+ # @example Response structure
724
+ #
725
+ # resp.arn #=> String
726
+ # resp.description #=> String
727
+ # resp.hls_ingest.ingest_endpoints #=> Array
728
+ # resp.hls_ingest.ingest_endpoints[0].password #=> String
729
+ # resp.hls_ingest.ingest_endpoints[0].url #=> String
730
+ # resp.hls_ingest.ingest_endpoints[0].username #=> String
731
+ # resp.id #=> String
732
+ #
733
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannel AWS API Documentation
734
+ #
735
+ # @overload update_channel(params = {})
736
+ # @param [Hash] params ({})
737
+ def update_channel(params = {}, options = {})
738
+ req = build_request(:update_channel, params)
739
+ req.send_request(options)
740
+ end
741
+
742
+ # Updates an existing OriginEndpoint.
743
+ #
744
+ # @option params [Types::DashPackage] :dash_package
745
+ # A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
746
+ #
747
+ # @option params [String] :description
748
+ #
749
+ # @option params [Types::HlsPackage] :hls_package
750
+ # An HTTP Live Streaming (HLS) packaging configuration.
751
+ #
752
+ # @option params [required, String] :id
753
+ #
754
+ # @option params [String] :manifest_name
755
+ #
756
+ # @option params [Types::MssPackage] :mss_package
757
+ # A Microsoft Smooth Streaming (MSS) packaging configuration.
758
+ #
759
+ # @option params [Integer] :startover_window_seconds
760
+ #
761
+ # @option params [Integer] :time_delay_seconds
762
+ #
763
+ # @option params [Array<String>] :whitelist
764
+ #
765
+ # @return [Types::UpdateOriginEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
766
+ #
767
+ # * {Types::UpdateOriginEndpointResponse#arn #arn} => String
768
+ # * {Types::UpdateOriginEndpointResponse#channel_id #channel_id} => String
769
+ # * {Types::UpdateOriginEndpointResponse#dash_package #dash_package} => Types::DashPackage
770
+ # * {Types::UpdateOriginEndpointResponse#description #description} => String
771
+ # * {Types::UpdateOriginEndpointResponse#hls_package #hls_package} => Types::HlsPackage
772
+ # * {Types::UpdateOriginEndpointResponse#id #id} => String
773
+ # * {Types::UpdateOriginEndpointResponse#manifest_name #manifest_name} => String
774
+ # * {Types::UpdateOriginEndpointResponse#mss_package #mss_package} => Types::MssPackage
775
+ # * {Types::UpdateOriginEndpointResponse#startover_window_seconds #startover_window_seconds} => Integer
776
+ # * {Types::UpdateOriginEndpointResponse#time_delay_seconds #time_delay_seconds} => Integer
777
+ # * {Types::UpdateOriginEndpointResponse#url #url} => String
778
+ # * {Types::UpdateOriginEndpointResponse#whitelist #whitelist} => Array&lt;String&gt;
779
+ #
780
+ # @example Request syntax with placeholder values
781
+ #
782
+ # resp = client.update_origin_endpoint({
783
+ # dash_package: {
784
+ # encryption: {
785
+ # key_rotation_interval_seconds: 1,
786
+ # speke_key_provider: { # required
787
+ # resource_id: "__string", # required
788
+ # role_arn: "__string", # required
789
+ # system_ids: ["__string"], # required
790
+ # url: "__string", # required
791
+ # },
792
+ # },
793
+ # manifest_window_seconds: 1,
794
+ # min_buffer_time_seconds: 1,
795
+ # min_update_period_seconds: 1,
796
+ # profile: "NONE", # accepts NONE, HBBTV_1_5
797
+ # segment_duration_seconds: 1,
798
+ # stream_selection: {
799
+ # max_video_bits_per_second: 1,
800
+ # min_video_bits_per_second: 1,
801
+ # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
802
+ # },
803
+ # suggested_presentation_delay_seconds: 1,
804
+ # },
805
+ # description: "__string",
806
+ # hls_package: {
807
+ # ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
808
+ # encryption: {
809
+ # constant_initialization_vector: "__string",
810
+ # encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
811
+ # key_rotation_interval_seconds: 1,
812
+ # repeat_ext_x_key: false,
813
+ # speke_key_provider: { # required
814
+ # resource_id: "__string", # required
815
+ # role_arn: "__string", # required
816
+ # system_ids: ["__string"], # required
817
+ # url: "__string", # required
818
+ # },
819
+ # },
820
+ # include_iframe_only_stream: false,
821
+ # playlist_type: "NONE", # accepts NONE, EVENT, VOD
822
+ # playlist_window_seconds: 1,
823
+ # program_date_time_interval_seconds: 1,
824
+ # segment_duration_seconds: 1,
825
+ # stream_selection: {
826
+ # max_video_bits_per_second: 1,
827
+ # min_video_bits_per_second: 1,
828
+ # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
829
+ # },
830
+ # use_audio_rendition_group: false,
831
+ # },
832
+ # id: "__string", # required
833
+ # manifest_name: "__string",
834
+ # mss_package: {
835
+ # encryption: {
836
+ # speke_key_provider: { # required
837
+ # resource_id: "__string", # required
838
+ # role_arn: "__string", # required
839
+ # system_ids: ["__string"], # required
840
+ # url: "__string", # required
841
+ # },
842
+ # },
843
+ # manifest_window_seconds: 1,
844
+ # segment_duration_seconds: 1,
845
+ # stream_selection: {
846
+ # max_video_bits_per_second: 1,
847
+ # min_video_bits_per_second: 1,
848
+ # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
849
+ # },
850
+ # },
851
+ # startover_window_seconds: 1,
852
+ # time_delay_seconds: 1,
853
+ # whitelist: ["__string"],
854
+ # })
855
+ #
856
+ # @example Response structure
857
+ #
858
+ # resp.arn #=> String
859
+ # resp.channel_id #=> String
860
+ # resp.dash_package.encryption.key_rotation_interval_seconds #=> Integer
861
+ # resp.dash_package.encryption.speke_key_provider.resource_id #=> String
862
+ # resp.dash_package.encryption.speke_key_provider.role_arn #=> String
863
+ # resp.dash_package.encryption.speke_key_provider.system_ids #=> Array
864
+ # resp.dash_package.encryption.speke_key_provider.system_ids[0] #=> String
865
+ # resp.dash_package.encryption.speke_key_provider.url #=> String
866
+ # resp.dash_package.manifest_window_seconds #=> Integer
867
+ # resp.dash_package.min_buffer_time_seconds #=> Integer
868
+ # resp.dash_package.min_update_period_seconds #=> Integer
869
+ # resp.dash_package.profile #=> String, one of "NONE", "HBBTV_1_5"
870
+ # resp.dash_package.segment_duration_seconds #=> Integer
871
+ # resp.dash_package.stream_selection.max_video_bits_per_second #=> Integer
872
+ # resp.dash_package.stream_selection.min_video_bits_per_second #=> Integer
873
+ # resp.dash_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
874
+ # resp.dash_package.suggested_presentation_delay_seconds #=> Integer
875
+ # resp.description #=> String
876
+ # resp.hls_package.ad_markers #=> String, one of "NONE", "SCTE35_ENHANCED", "PASSTHROUGH"
877
+ # resp.hls_package.encryption.constant_initialization_vector #=> String
878
+ # resp.hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
879
+ # resp.hls_package.encryption.key_rotation_interval_seconds #=> Integer
880
+ # resp.hls_package.encryption.repeat_ext_x_key #=> Boolean
881
+ # resp.hls_package.encryption.speke_key_provider.resource_id #=> String
882
+ # resp.hls_package.encryption.speke_key_provider.role_arn #=> String
883
+ # resp.hls_package.encryption.speke_key_provider.system_ids #=> Array
884
+ # resp.hls_package.encryption.speke_key_provider.system_ids[0] #=> String
885
+ # resp.hls_package.encryption.speke_key_provider.url #=> String
886
+ # resp.hls_package.include_iframe_only_stream #=> Boolean
887
+ # resp.hls_package.playlist_type #=> String, one of "NONE", "EVENT", "VOD"
888
+ # resp.hls_package.playlist_window_seconds #=> Integer
889
+ # resp.hls_package.program_date_time_interval_seconds #=> Integer
890
+ # resp.hls_package.segment_duration_seconds #=> Integer
891
+ # resp.hls_package.stream_selection.max_video_bits_per_second #=> Integer
892
+ # resp.hls_package.stream_selection.min_video_bits_per_second #=> Integer
893
+ # resp.hls_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
894
+ # resp.hls_package.use_audio_rendition_group #=> Boolean
895
+ # resp.id #=> String
896
+ # resp.manifest_name #=> String
897
+ # resp.mss_package.encryption.speke_key_provider.resource_id #=> String
898
+ # resp.mss_package.encryption.speke_key_provider.role_arn #=> String
899
+ # resp.mss_package.encryption.speke_key_provider.system_ids #=> Array
900
+ # resp.mss_package.encryption.speke_key_provider.system_ids[0] #=> String
901
+ # resp.mss_package.encryption.speke_key_provider.url #=> String
902
+ # resp.mss_package.manifest_window_seconds #=> Integer
903
+ # resp.mss_package.segment_duration_seconds #=> Integer
904
+ # resp.mss_package.stream_selection.max_video_bits_per_second #=> Integer
905
+ # resp.mss_package.stream_selection.min_video_bits_per_second #=> Integer
906
+ # resp.mss_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
907
+ # resp.startover_window_seconds #=> Integer
908
+ # resp.time_delay_seconds #=> Integer
909
+ # resp.url #=> String
910
+ # resp.whitelist #=> Array
911
+ # resp.whitelist[0] #=> String
912
+ #
913
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpoint AWS API Documentation
914
+ #
915
+ # @overload update_origin_endpoint(params = {})
916
+ # @param [Hash] params ({})
917
+ def update_origin_endpoint(params = {}, options = {})
918
+ req = build_request(:update_origin_endpoint, params)
919
+ req.send_request(options)
920
+ end
921
+
922
+ # @!endgroup
923
+
924
+ # @param params ({})
925
+ # @api private
926
+ def build_request(operation_name, params = {})
927
+ handlers = @handlers.for(operation_name)
928
+ context = Seahorse::Client::RequestContext.new(
929
+ operation_name: operation_name,
930
+ operation: config.api.operation(operation_name),
931
+ client: self,
932
+ params: params,
933
+ config: config)
934
+ context[:gem_name] = 'aws-sdk-mediapackage'
935
+ context[:gem_version] = '1.0.0'
936
+ Seahorse::Client::Request.new(handlers, context)
937
+ end
938
+
939
+ # @api private
940
+ # @deprecated
941
+ def waiter_names
942
+ []
943
+ end
944
+
945
+ class << self
946
+
947
+ # @api private
948
+ attr_reader :identifier
949
+
950
+ # @api private
951
+ def errors_module
952
+ Errors
953
+ end
954
+
955
+ end
956
+ end
957
+ end