aws-sdk-mediapackagev2 1.29.0 → 1.31.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.
@@ -10,6 +10,129 @@
10
10
  require 'aws-sdk-core/waiters'
11
11
 
12
12
  module Aws::MediaPackageV2
13
+ # Waiters are utility methods that poll for a particular state to occur
14
+ # on a client. Waiters can fail after a number of attempts at a polling
15
+ # interval defined for the service client.
16
+ #
17
+ # For a list of operations that can be waited for and the
18
+ # client methods called for each operation, see the table below or the
19
+ # {Client#wait_until} field documentation for the {Client}.
20
+ #
21
+ # # Invoking a Waiter
22
+ # To invoke a waiter, call #wait_until on a {Client}. The first parameter
23
+ # is the waiter name, which is specific to the service client and indicates
24
+ # which operation is being waited for. The second parameter is a hash of
25
+ # parameters that are passed to the client method called by the waiter,
26
+ # which varies according to the waiter name.
27
+ #
28
+ # # Wait Failures
29
+ # To catch errors in a waiter, use WaiterFailed,
30
+ # as shown in the following example.
31
+ #
32
+ # rescue rescue Aws::Waiters::Errors::WaiterFailed => error
33
+ # puts "failed waiting for instance running: #{error.message}
34
+ # end
35
+ #
36
+ # # Configuring a Waiter
37
+ # Each waiter has a default polling interval and a maximum number of
38
+ # attempts it will make before returning control to your program.
39
+ # To set these values, use the `max_attempts` and `delay` parameters
40
+ # in your `#wait_until` call.
41
+ # The following example waits for up to 25 seconds, polling every five seconds.
42
+ #
43
+ # client.wait_until(...) do |w|
44
+ # w.max_attempts = 5
45
+ # w.delay = 5
46
+ # end
47
+ #
48
+ # To disable wait failures, set the value of either of these parameters
49
+ # to `nil`.
50
+ #
51
+ # # Extending a Waiter
52
+ # To modify the behavior of waiters, you can register callbacks that are
53
+ # triggered before each polling attempt and before waiting.
54
+ #
55
+ # The following example implements an exponential backoff in a waiter
56
+ # by doubling the amount of time to wait on every attempt.
57
+ #
58
+ # client.wait_until(...) do |w|
59
+ # w.interval = 0 # disable normal sleep
60
+ # w.before_wait do |n, resp|
61
+ # sleep(n ** 2)
62
+ # end
63
+ # end
64
+ #
65
+ # # Available Waiters
66
+ #
67
+ # The following table lists the valid waiter names, the operations they call,
68
+ # and the default `:delay` and `:max_attempts` values.
69
+ #
70
+ # | waiter_name | params | :delay | :max_attempts |
71
+ # | -------------------- | ------------------------ | -------- | ------------- |
72
+ # | harvest_job_finished | {Client#get_harvest_job} | 2 | 60 |
73
+ #
13
74
  module Waiters
75
+
76
+ class HarvestJobFinished
77
+
78
+ # @param [Hash] options
79
+ # @option options [required, Client] :client
80
+ # @option options [Integer] :max_attempts (60)
81
+ # @option options [Integer] :delay (2)
82
+ # @option options [Proc] :before_attempt
83
+ # @option options [Proc] :before_wait
84
+ def initialize(options)
85
+ @client = options.fetch(:client)
86
+ @waiter = Aws::Waiters::Waiter.new({
87
+ max_attempts: 60,
88
+ delay: 2,
89
+ poller: Aws::Waiters::Poller.new(
90
+ operation_name: :get_harvest_job,
91
+ acceptors: [
92
+ {
93
+ "matcher" => "path",
94
+ "argument" => "status",
95
+ "state" => "success",
96
+ "expected" => "COMPLETED"
97
+ },
98
+ {
99
+ "matcher" => "path",
100
+ "argument" => "status",
101
+ "state" => "success",
102
+ "expected" => "CANCELLED"
103
+ },
104
+ {
105
+ "matcher" => "path",
106
+ "argument" => "status",
107
+ "state" => "failure",
108
+ "expected" => "FAILED"
109
+ },
110
+ {
111
+ "matcher" => "path",
112
+ "argument" => "status",
113
+ "state" => "retry",
114
+ "expected" => "QUEUED"
115
+ },
116
+ {
117
+ "matcher" => "path",
118
+ "argument" => "status",
119
+ "state" => "retry",
120
+ "expected" => "IN_PROGRESS"
121
+ }
122
+ ]
123
+ )
124
+ }.merge(options))
125
+ end
126
+
127
+ # @option (see Client#get_harvest_job)
128
+ # @return (see Client#get_harvest_job)
129
+ def wait(params = {})
130
+ @waiter.wait(client: @client, params: params)
131
+ end
132
+
133
+ # @api private
134
+ attr_reader :waiter
135
+
136
+ end
14
137
  end
15
138
  end
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:mediapackagev2)
23
23
  # structure.
24
24
  #
25
25
  # media_package_v2 = Aws::MediaPackageV2::Client.new
26
- # resp = media_package_v2.create_channel(params)
26
+ # resp = media_package_v2.cancel_harvest_job(params)
27
27
  #
28
28
  # See {Client} for more information.
29
29
  #
@@ -55,7 +55,7 @@ module Aws::MediaPackageV2
55
55
  autoload :EndpointProvider, 'aws-sdk-mediapackagev2/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-mediapackagev2/endpoints'
57
57
 
58
- GEM_VERSION = '1.29.0'
58
+ GEM_VERSION = '1.31.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -75,6 +75,19 @@ module Aws
75
75
  | (?Hash[Symbol, untyped]) -> instance
76
76
 
77
77
 
78
+ interface _CancelHarvestJobResponseSuccess
79
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelHarvestJobResponse]
80
+ end
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#cancel_harvest_job-instance_method
82
+ def cancel_harvest_job: (
83
+ channel_group_name: ::String,
84
+ channel_name: ::String,
85
+ origin_endpoint_name: ::String,
86
+ harvest_job_name: ::String,
87
+ ?etag: ::String
88
+ ) -> _CancelHarvestJobResponseSuccess
89
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelHarvestJobResponseSuccess
90
+
78
91
  interface _CreateChannelResponseSuccess
79
92
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateChannelResponse]
80
93
  def arn: () -> ::String
@@ -119,6 +132,63 @@ module Aws
119
132
  ) -> _CreateChannelGroupResponseSuccess
120
133
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChannelGroupResponseSuccess
121
134
 
135
+ interface _CreateHarvestJobResponseSuccess
136
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateHarvestJobResponse]
137
+ def channel_group_name: () -> ::String
138
+ def channel_name: () -> ::String
139
+ def origin_endpoint_name: () -> ::String
140
+ def destination: () -> Types::Destination
141
+ def harvest_job_name: () -> ::String
142
+ def harvested_manifests: () -> Types::HarvestedManifests
143
+ def description: () -> ::String
144
+ def schedule_configuration: () -> Types::HarvesterScheduleConfiguration
145
+ def arn: () -> ::String
146
+ def created_at: () -> ::Time
147
+ def modified_at: () -> ::Time
148
+ def status: () -> ("QUEUED" | "IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED")
149
+ def error_message: () -> ::String
150
+ def etag: () -> ::String
151
+ def tags: () -> ::Hash[::String, ::String]
152
+ end
153
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#create_harvest_job-instance_method
154
+ def create_harvest_job: (
155
+ channel_group_name: ::String,
156
+ channel_name: ::String,
157
+ origin_endpoint_name: ::String,
158
+ ?description: ::String,
159
+ harvested_manifests: {
160
+ hls_manifests: Array[
161
+ {
162
+ manifest_name: ::String
163
+ },
164
+ ]?,
165
+ dash_manifests: Array[
166
+ {
167
+ manifest_name: ::String
168
+ },
169
+ ]?,
170
+ low_latency_hls_manifests: Array[
171
+ {
172
+ manifest_name: ::String
173
+ },
174
+ ]?
175
+ },
176
+ schedule_configuration: {
177
+ start_time: ::Time,
178
+ end_time: ::Time
179
+ },
180
+ destination: {
181
+ s3_destination: {
182
+ bucket_name: ::String,
183
+ destination_path: ::String
184
+ }
185
+ },
186
+ ?client_token: ::String,
187
+ ?harvest_job_name: ::String,
188
+ ?tags: Hash[::String, ::String]
189
+ ) -> _CreateHarvestJobResponseSuccess
190
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateHarvestJobResponseSuccess
191
+
122
192
  interface _CreateOriginEndpointResponseSuccess
123
193
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateOriginEndpointResponse]
124
194
  def arn: () -> ::String
@@ -353,6 +423,33 @@ module Aws
353
423
  ) -> _GetChannelPolicyResponseSuccess
354
424
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetChannelPolicyResponseSuccess
355
425
 
426
+ interface _GetHarvestJobResponseSuccess
427
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetHarvestJobResponse]
428
+ def channel_group_name: () -> ::String
429
+ def channel_name: () -> ::String
430
+ def origin_endpoint_name: () -> ::String
431
+ def destination: () -> Types::Destination
432
+ def harvest_job_name: () -> ::String
433
+ def harvested_manifests: () -> Types::HarvestedManifests
434
+ def description: () -> ::String
435
+ def schedule_configuration: () -> Types::HarvesterScheduleConfiguration
436
+ def arn: () -> ::String
437
+ def created_at: () -> ::Time
438
+ def modified_at: () -> ::Time
439
+ def status: () -> ("QUEUED" | "IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED")
440
+ def error_message: () -> ::String
441
+ def etag: () -> ::String
442
+ def tags: () -> ::Hash[::String, ::String]
443
+ end
444
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#get_harvest_job-instance_method
445
+ def get_harvest_job: (
446
+ channel_group_name: ::String,
447
+ channel_name: ::String,
448
+ origin_endpoint_name: ::String,
449
+ harvest_job_name: ::String
450
+ ) -> _GetHarvestJobResponseSuccess
451
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetHarvestJobResponseSuccess
452
+
356
453
  interface _GetOriginEndpointResponseSuccess
357
454
  include ::Seahorse::Client::_ResponseSuccess[Types::GetOriginEndpointResponse]
358
455
  def arn: () -> ::String
@@ -420,6 +517,22 @@ module Aws
420
517
  ) -> _ListChannelsResponseSuccess
421
518
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListChannelsResponseSuccess
422
519
 
520
+ interface _ListHarvestJobsResponseSuccess
521
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListHarvestJobsResponse]
522
+ def items: () -> ::Array[Types::HarvestJob]
523
+ def next_token: () -> ::String
524
+ end
525
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#list_harvest_jobs-instance_method
526
+ def list_harvest_jobs: (
527
+ channel_group_name: ::String,
528
+ ?channel_name: ::String,
529
+ ?origin_endpoint_name: ::String,
530
+ ?status: ("QUEUED" | "IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED"),
531
+ ?max_results: ::Integer,
532
+ ?next_token: ::String
533
+ ) -> _ListHarvestJobsResponseSuccess
534
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListHarvestJobsResponseSuccess
535
+
423
536
  interface _ListOriginEndpointsResponseSuccess
424
537
  include ::Seahorse::Client::_ResponseSuccess[Types::ListOriginEndpointsResponse]
425
538
  def items: () -> ::Array[Types::OriginEndpointListConfiguration]
@@ -653,6 +766,15 @@ module Aws
653
766
  ?etag: ::String
654
767
  ) -> _UpdateOriginEndpointResponseSuccess
655
768
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateOriginEndpointResponseSuccess
769
+
770
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#wait_until-instance_method
771
+ def wait_until: (:harvest_job_finished waiter_name,
772
+ channel_group_name: ::String,
773
+ channel_name: ::String,
774
+ origin_endpoint_name: ::String,
775
+ harvest_job_name: ::String
776
+ ) -> Client::_GetHarvestJobResponseSuccess
777
+ | (:harvest_job_finished waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetHarvestJobResponseSuccess
656
778
  end
657
779
  end
658
780
  end
data/sig/types.rbs CHANGED
@@ -13,6 +13,18 @@ module Aws::MediaPackageV2
13
13
  SENSITIVE: []
14
14
  end
15
15
 
16
+ class CancelHarvestJobRequest
17
+ attr_accessor channel_group_name: ::String
18
+ attr_accessor channel_name: ::String
19
+ attr_accessor origin_endpoint_name: ::String
20
+ attr_accessor harvest_job_name: ::String
21
+ attr_accessor etag: ::String
22
+ SENSITIVE: []
23
+ end
24
+
25
+ class CancelHarvestJobResponse < Aws::EmptyStructure
26
+ end
27
+
16
28
  class ChannelGroupListConfiguration
17
29
  attr_accessor channel_group_name: ::String
18
30
  attr_accessor arn: ::String
@@ -98,6 +110,39 @@ module Aws::MediaPackageV2
98
110
  SENSITIVE: []
99
111
  end
100
112
 
113
+ class CreateHarvestJobRequest
114
+ attr_accessor channel_group_name: ::String
115
+ attr_accessor channel_name: ::String
116
+ attr_accessor origin_endpoint_name: ::String
117
+ attr_accessor description: ::String
118
+ attr_accessor harvested_manifests: Types::HarvestedManifests
119
+ attr_accessor schedule_configuration: Types::HarvesterScheduleConfiguration
120
+ attr_accessor destination: Types::Destination
121
+ attr_accessor client_token: ::String
122
+ attr_accessor harvest_job_name: ::String
123
+ attr_accessor tags: ::Hash[::String, ::String]
124
+ SENSITIVE: []
125
+ end
126
+
127
+ class CreateHarvestJobResponse
128
+ attr_accessor channel_group_name: ::String
129
+ attr_accessor channel_name: ::String
130
+ attr_accessor origin_endpoint_name: ::String
131
+ attr_accessor destination: Types::Destination
132
+ attr_accessor harvest_job_name: ::String
133
+ attr_accessor harvested_manifests: Types::HarvestedManifests
134
+ attr_accessor description: ::String
135
+ attr_accessor schedule_configuration: Types::HarvesterScheduleConfiguration
136
+ attr_accessor arn: ::String
137
+ attr_accessor created_at: ::Time
138
+ attr_accessor modified_at: ::Time
139
+ attr_accessor status: ("QUEUED" | "IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED")
140
+ attr_accessor error_message: ::String
141
+ attr_accessor etag: ::String
142
+ attr_accessor tags: ::Hash[::String, ::String]
143
+ SENSITIVE: []
144
+ end
145
+
101
146
  class CreateHlsManifestConfiguration
102
147
  attr_accessor manifest_name: ::String
103
148
  attr_accessor child_manifest_name: ::String
@@ -209,6 +254,11 @@ module Aws::MediaPackageV2
209
254
  class DeleteOriginEndpointResponse < Aws::EmptyStructure
210
255
  end
211
256
 
257
+ class Destination
258
+ attr_accessor s3_destination: Types::S3DestinationConfig
259
+ SENSITIVE: []
260
+ end
261
+
212
262
  class Encryption
213
263
  attr_accessor constant_initialization_vector: ::String
214
264
  attr_accessor encryption_method: Types::EncryptionMethod
@@ -309,6 +359,33 @@ module Aws::MediaPackageV2
309
359
  SENSITIVE: []
310
360
  end
311
361
 
362
+ class GetHarvestJobRequest
363
+ attr_accessor channel_group_name: ::String
364
+ attr_accessor channel_name: ::String
365
+ attr_accessor origin_endpoint_name: ::String
366
+ attr_accessor harvest_job_name: ::String
367
+ SENSITIVE: []
368
+ end
369
+
370
+ class GetHarvestJobResponse
371
+ attr_accessor channel_group_name: ::String
372
+ attr_accessor channel_name: ::String
373
+ attr_accessor origin_endpoint_name: ::String
374
+ attr_accessor destination: Types::Destination
375
+ attr_accessor harvest_job_name: ::String
376
+ attr_accessor harvested_manifests: Types::HarvestedManifests
377
+ attr_accessor description: ::String
378
+ attr_accessor schedule_configuration: Types::HarvesterScheduleConfiguration
379
+ attr_accessor arn: ::String
380
+ attr_accessor created_at: ::Time
381
+ attr_accessor modified_at: ::Time
382
+ attr_accessor status: ("QUEUED" | "IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED")
383
+ attr_accessor error_message: ::String
384
+ attr_accessor etag: ::String
385
+ attr_accessor tags: ::Hash[::String, ::String]
386
+ SENSITIVE: []
387
+ end
388
+
312
389
  class GetHlsManifestConfiguration
313
390
  attr_accessor manifest_name: ::String
314
391
  attr_accessor url: ::String
@@ -375,6 +452,52 @@ module Aws::MediaPackageV2
375
452
  SENSITIVE: []
376
453
  end
377
454
 
455
+ class HarvestJob
456
+ attr_accessor channel_group_name: ::String
457
+ attr_accessor channel_name: ::String
458
+ attr_accessor origin_endpoint_name: ::String
459
+ attr_accessor destination: Types::Destination
460
+ attr_accessor harvest_job_name: ::String
461
+ attr_accessor harvested_manifests: Types::HarvestedManifests
462
+ attr_accessor description: ::String
463
+ attr_accessor schedule_configuration: Types::HarvesterScheduleConfiguration
464
+ attr_accessor arn: ::String
465
+ attr_accessor created_at: ::Time
466
+ attr_accessor modified_at: ::Time
467
+ attr_accessor status: ("QUEUED" | "IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED")
468
+ attr_accessor error_message: ::String
469
+ attr_accessor etag: ::String
470
+ SENSITIVE: []
471
+ end
472
+
473
+ class HarvestedDashManifest
474
+ attr_accessor manifest_name: ::String
475
+ SENSITIVE: []
476
+ end
477
+
478
+ class HarvestedHlsManifest
479
+ attr_accessor manifest_name: ::String
480
+ SENSITIVE: []
481
+ end
482
+
483
+ class HarvestedLowLatencyHlsManifest
484
+ attr_accessor manifest_name: ::String
485
+ SENSITIVE: []
486
+ end
487
+
488
+ class HarvestedManifests
489
+ attr_accessor hls_manifests: ::Array[Types::HarvestedHlsManifest]
490
+ attr_accessor dash_manifests: ::Array[Types::HarvestedDashManifest]
491
+ attr_accessor low_latency_hls_manifests: ::Array[Types::HarvestedLowLatencyHlsManifest]
492
+ SENSITIVE: []
493
+ end
494
+
495
+ class HarvesterScheduleConfiguration
496
+ attr_accessor start_time: ::Time
497
+ attr_accessor end_time: ::Time
498
+ SENSITIVE: []
499
+ end
500
+
378
501
  class IngestEndpoint
379
502
  attr_accessor id: ::String
380
503
  attr_accessor url: ::String
@@ -417,6 +540,22 @@ module Aws::MediaPackageV2
417
540
  SENSITIVE: []
418
541
  end
419
542
 
543
+ class ListHarvestJobsRequest
544
+ attr_accessor channel_group_name: ::String
545
+ attr_accessor channel_name: ::String
546
+ attr_accessor origin_endpoint_name: ::String
547
+ attr_accessor status: ("QUEUED" | "IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED")
548
+ attr_accessor max_results: ::Integer
549
+ attr_accessor next_token: ::String
550
+ SENSITIVE: []
551
+ end
552
+
553
+ class ListHarvestJobsResponse
554
+ attr_accessor items: ::Array[Types::HarvestJob]
555
+ attr_accessor next_token: ::String
556
+ SENSITIVE: []
557
+ end
558
+
420
559
  class ListHlsManifestConfiguration
421
560
  attr_accessor manifest_name: ::String
422
561
  attr_accessor child_manifest_name: ::String
@@ -494,7 +633,13 @@ module Aws::MediaPackageV2
494
633
 
495
634
  class ResourceNotFoundException
496
635
  attr_accessor message: ::String
497
- attr_accessor resource_type_not_found: ("CHANNEL_GROUP" | "CHANNEL" | "ORIGIN_ENDPOINT")
636
+ attr_accessor resource_type_not_found: ("CHANNEL_GROUP" | "CHANNEL" | "ORIGIN_ENDPOINT" | "HARVEST_JOB")
637
+ SENSITIVE: []
638
+ end
639
+
640
+ class S3DestinationConfig
641
+ attr_accessor bucket_name: ::String
642
+ attr_accessor destination_path: ::String
498
643
  SENSITIVE: []
499
644
  end
500
645
 
@@ -640,7 +785,7 @@ module Aws::MediaPackageV2
640
785
 
641
786
  class ValidationException
642
787
  attr_accessor message: ::String
643
- attr_accessor validation_exception_type: ("CONTAINER_TYPE_IMMUTABLE" | "INVALID_PAGINATION_TOKEN" | "INVALID_PAGINATION_MAX_RESULTS" | "INVALID_POLICY" | "INVALID_ROLE_ARN" | "MANIFEST_NAME_COLLISION" | "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH" | "CENC_IV_INCOMPATIBLE" | "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE" | "ENCRYPTION_CONTRACT_UNENCRYPTED" | "ENCRYPTION_CONTRACT_SHARED" | "NUM_MANIFESTS_LOW" | "NUM_MANIFESTS_HIGH" | "MANIFEST_DRM_SYSTEMS_INCOMPATIBLE" | "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE" | "ROLE_ARN_NOT_ASSUMABLE" | "ROLE_ARN_LENGTH_OUT_OF_RANGE" | "ROLE_ARN_INVALID_FORMAT" | "URL_INVALID" | "URL_SCHEME" | "URL_USER_INFO" | "URL_PORT" | "URL_UNKNOWN_HOST" | "URL_LOCAL_ADDRESS" | "URL_LOOPBACK_ADDRESS" | "URL_LINK_LOCAL_ADDRESS" | "URL_MULTICAST_ADDRESS" | "MEMBER_INVALID" | "MEMBER_MISSING" | "MEMBER_MIN_VALUE" | "MEMBER_MAX_VALUE" | "MEMBER_MIN_LENGTH" | "MEMBER_MAX_LENGTH" | "MEMBER_INVALID_ENUM_VALUE" | "MEMBER_DOES_NOT_MATCH_PATTERN" | "INVALID_MANIFEST_FILTER" | "INVALID_TIME_DELAY_SECONDS" | "END_TIME_EARLIER_THAN_START_TIME" | "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST" | "DIRECT_MODE_WITH_TIMING_SOURCE" | "NONE_MODE_WITH_TIMING_SOURCE" | "TIMING_SOURCE_MISSING" | "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION" | "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES" | "DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS" | "ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION" | "SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY" | "CLIP_START_TIME_WITH_START_OR_END" | "START_TAG_TIME_OFFSET_INVALID")
788
+ attr_accessor validation_exception_type: ("CONTAINER_TYPE_IMMUTABLE" | "INVALID_PAGINATION_TOKEN" | "INVALID_PAGINATION_MAX_RESULTS" | "INVALID_POLICY" | "INVALID_ROLE_ARN" | "MANIFEST_NAME_COLLISION" | "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH" | "CENC_IV_INCOMPATIBLE" | "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE" | "ENCRYPTION_CONTRACT_UNENCRYPTED" | "ENCRYPTION_CONTRACT_SHARED" | "NUM_MANIFESTS_LOW" | "NUM_MANIFESTS_HIGH" | "MANIFEST_DRM_SYSTEMS_INCOMPATIBLE" | "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE" | "ROLE_ARN_NOT_ASSUMABLE" | "ROLE_ARN_LENGTH_OUT_OF_RANGE" | "ROLE_ARN_INVALID_FORMAT" | "URL_INVALID" | "URL_SCHEME" | "URL_USER_INFO" | "URL_PORT" | "URL_UNKNOWN_HOST" | "URL_LOCAL_ADDRESS" | "URL_LOOPBACK_ADDRESS" | "URL_LINK_LOCAL_ADDRESS" | "URL_MULTICAST_ADDRESS" | "MEMBER_INVALID" | "MEMBER_MISSING" | "MEMBER_MIN_VALUE" | "MEMBER_MAX_VALUE" | "MEMBER_MIN_LENGTH" | "MEMBER_MAX_LENGTH" | "MEMBER_INVALID_ENUM_VALUE" | "MEMBER_DOES_NOT_MATCH_PATTERN" | "INVALID_MANIFEST_FILTER" | "INVALID_TIME_DELAY_SECONDS" | "END_TIME_EARLIER_THAN_START_TIME" | "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST" | "DIRECT_MODE_WITH_TIMING_SOURCE" | "NONE_MODE_WITH_TIMING_SOURCE" | "TIMING_SOURCE_MISSING" | "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION" | "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES" | "DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS" | "ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION" | "SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY" | "HARVESTED_MANIFEST_HAS_START_END_FILTER_CONFIGURATION" | "HARVESTED_MANIFEST_NOT_FOUND_ON_ENDPOINT" | "TOO_MANY_IN_PROGRESS_HARVEST_JOBS" | "HARVEST_JOB_INELIGIBLE_FOR_CANCELLATION" | "INVALID_HARVEST_JOB_DURATION" | "HARVEST_JOB_S3_DESTINATION_MISSING_OR_INCOMPLETE" | "HARVEST_JOB_UNABLE_TO_WRITE_TO_S3_DESTINATION" | "HARVEST_JOB_CUSTOMER_ENDPOINT_READ_ACCESS_DENIED" | "CLIP_START_TIME_WITH_START_OR_END" | "START_TAG_TIME_OFFSET_INVALID")
644
789
  SENSITIVE: []
645
790
  end
646
791
  end
data/sig/waiters.rbs CHANGED
@@ -8,6 +8,19 @@
8
8
  module Aws
9
9
  module MediaPackageV2
10
10
  module Waiters
11
+
12
+ class HarvestJobFinished
13
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
14
+ | (?Hash[Symbol, untyped]) -> void
15
+
16
+ def wait: (
17
+ channel_group_name: ::String,
18
+ channel_name: ::String,
19
+ origin_endpoint_name: ::String,
20
+ harvest_job_name: ::String
21
+ ) -> Client::_GetHarvestJobResponseSuccess
22
+ | (Hash[Symbol, untyped]) -> Client::_GetHarvestJobResponseSuccess
23
+ end
11
24
  end
12
25
  end
13
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mediapackagev2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.29.0
4
+ version: 1.31.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: 2024-10-03 00:00:00.000000000 Z
11
+ date: 2024-10-28 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.207.0
22
+ version: 3.210.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,21 +29,21 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.1'
39
+ version: '1.5'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.1'
46
+ version: '1.5'
47
47
  description: Official AWS Ruby gem for AWS Elemental MediaPackage v2 (mediapackagev2).
48
48
  This gem is part of the AWS SDK for Ruby.
49
49
  email: