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.
@@ -18,6 +18,8 @@ module Aws::MediaPackageV2
18
18
  AdMarkerDash = Shapes::StringShape.new(name: 'AdMarkerDash')
19
19
  AdMarkerHls = Shapes::StringShape.new(name: 'AdMarkerHls')
20
20
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
21
+ CancelHarvestJobRequest = Shapes::StructureShape.new(name: 'CancelHarvestJobRequest')
22
+ CancelHarvestJobResponse = Shapes::StructureShape.new(name: 'CancelHarvestJobResponse')
21
23
  ChannelGroupListConfiguration = Shapes::StructureShape.new(name: 'ChannelGroupListConfiguration')
22
24
  ChannelGroupsList = Shapes::ListShape.new(name: 'ChannelGroupsList')
23
25
  ChannelList = Shapes::ListShape.new(name: 'ChannelList')
@@ -36,6 +38,8 @@ module Aws::MediaPackageV2
36
38
  CreateDashManifestConfigurationMinUpdatePeriodSecondsInteger = Shapes::IntegerShape.new(name: 'CreateDashManifestConfigurationMinUpdatePeriodSecondsInteger')
37
39
  CreateDashManifestConfigurationSuggestedPresentationDelaySecondsInteger = Shapes::IntegerShape.new(name: 'CreateDashManifestConfigurationSuggestedPresentationDelaySecondsInteger')
38
40
  CreateDashManifests = Shapes::ListShape.new(name: 'CreateDashManifests')
41
+ CreateHarvestJobRequest = Shapes::StructureShape.new(name: 'CreateHarvestJobRequest')
42
+ CreateHarvestJobResponse = Shapes::StructureShape.new(name: 'CreateHarvestJobResponse')
39
43
  CreateHlsManifestConfiguration = Shapes::StructureShape.new(name: 'CreateHlsManifestConfiguration')
40
44
  CreateHlsManifestConfigurationManifestWindowSecondsInteger = Shapes::IntegerShape.new(name: 'CreateHlsManifestConfigurationManifestWindowSecondsInteger')
41
45
  CreateHlsManifestConfigurationProgramDateTimeIntervalSecondsInteger = Shapes::IntegerShape.new(name: 'CreateHlsManifestConfigurationProgramDateTimeIntervalSecondsInteger')
@@ -64,6 +68,7 @@ module Aws::MediaPackageV2
64
68
  DeleteOriginEndpointPolicyResponse = Shapes::StructureShape.new(name: 'DeleteOriginEndpointPolicyResponse')
65
69
  DeleteOriginEndpointRequest = Shapes::StructureShape.new(name: 'DeleteOriginEndpointRequest')
66
70
  DeleteOriginEndpointResponse = Shapes::StructureShape.new(name: 'DeleteOriginEndpointResponse')
71
+ Destination = Shapes::StructureShape.new(name: 'Destination')
67
72
  DrmSystem = Shapes::StringShape.new(name: 'DrmSystem')
68
73
  Encryption = Shapes::StructureShape.new(name: 'Encryption')
69
74
  EncryptionConstantInitializationVectorString = Shapes::StringShape.new(name: 'EncryptionConstantInitializationVectorString')
@@ -86,6 +91,8 @@ module Aws::MediaPackageV2
86
91
  GetChannelResponse = Shapes::StructureShape.new(name: 'GetChannelResponse')
87
92
  GetDashManifestConfiguration = Shapes::StructureShape.new(name: 'GetDashManifestConfiguration')
88
93
  GetDashManifests = Shapes::ListShape.new(name: 'GetDashManifests')
94
+ GetHarvestJobRequest = Shapes::StructureShape.new(name: 'GetHarvestJobRequest')
95
+ GetHarvestJobResponse = Shapes::StructureShape.new(name: 'GetHarvestJobResponse')
89
96
  GetHlsManifestConfiguration = Shapes::StructureShape.new(name: 'GetHlsManifestConfiguration')
90
97
  GetHlsManifests = Shapes::ListShape.new(name: 'GetHlsManifests')
91
98
  GetLowLatencyHlsManifestConfiguration = Shapes::StructureShape.new(name: 'GetLowLatencyHlsManifestConfiguration')
@@ -94,6 +101,17 @@ module Aws::MediaPackageV2
94
101
  GetOriginEndpointPolicyResponse = Shapes::StructureShape.new(name: 'GetOriginEndpointPolicyResponse')
95
102
  GetOriginEndpointRequest = Shapes::StructureShape.new(name: 'GetOriginEndpointRequest')
96
103
  GetOriginEndpointResponse = Shapes::StructureShape.new(name: 'GetOriginEndpointResponse')
104
+ HarvestJob = Shapes::StructureShape.new(name: 'HarvestJob')
105
+ HarvestJobStatus = Shapes::StringShape.new(name: 'HarvestJobStatus')
106
+ HarvestJobsList = Shapes::ListShape.new(name: 'HarvestJobsList')
107
+ HarvestedDashManifest = Shapes::StructureShape.new(name: 'HarvestedDashManifest')
108
+ HarvestedDashManifestsList = Shapes::ListShape.new(name: 'HarvestedDashManifestsList')
109
+ HarvestedHlsManifest = Shapes::StructureShape.new(name: 'HarvestedHlsManifest')
110
+ HarvestedHlsManifestsList = Shapes::ListShape.new(name: 'HarvestedHlsManifestsList')
111
+ HarvestedLowLatencyHlsManifest = Shapes::StructureShape.new(name: 'HarvestedLowLatencyHlsManifest')
112
+ HarvestedLowLatencyHlsManifestsList = Shapes::ListShape.new(name: 'HarvestedLowLatencyHlsManifestsList')
113
+ HarvestedManifests = Shapes::StructureShape.new(name: 'HarvestedManifests')
114
+ HarvesterScheduleConfiguration = Shapes::StructureShape.new(name: 'HarvesterScheduleConfiguration')
97
115
  IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
98
116
  IngestEndpoint = Shapes::StructureShape.new(name: 'IngestEndpoint')
99
117
  IngestEndpointList = Shapes::ListShape.new(name: 'IngestEndpointList')
@@ -106,6 +124,11 @@ module Aws::MediaPackageV2
106
124
  ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
107
125
  ListDashManifestConfiguration = Shapes::StructureShape.new(name: 'ListDashManifestConfiguration')
108
126
  ListDashManifests = Shapes::ListShape.new(name: 'ListDashManifests')
127
+ ListHarvestJobsRequest = Shapes::StructureShape.new(name: 'ListHarvestJobsRequest')
128
+ ListHarvestJobsRequestChannelNameString = Shapes::StringShape.new(name: 'ListHarvestJobsRequestChannelNameString')
129
+ ListHarvestJobsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListHarvestJobsRequestMaxResultsInteger')
130
+ ListHarvestJobsRequestOriginEndpointNameString = Shapes::StringShape.new(name: 'ListHarvestJobsRequestOriginEndpointNameString')
131
+ ListHarvestJobsResponse = Shapes::StructureShape.new(name: 'ListHarvestJobsResponse')
109
132
  ListHlsManifestConfiguration = Shapes::StructureShape.new(name: 'ListHlsManifestConfiguration')
110
133
  ListHlsManifests = Shapes::ListShape.new(name: 'ListHlsManifests')
111
134
  ListLowLatencyHlsManifestConfiguration = Shapes::StructureShape.new(name: 'ListLowLatencyHlsManifestConfiguration')
@@ -129,6 +152,9 @@ module Aws::MediaPackageV2
129
152
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
130
153
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
131
154
  ResourceTypeNotFound = Shapes::StringShape.new(name: 'ResourceTypeNotFound')
155
+ S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
156
+ S3DestinationConfig = Shapes::StructureShape.new(name: 'S3DestinationConfig')
157
+ S3DestinationPath = Shapes::StringShape.new(name: 'S3DestinationPath')
132
158
  Scte = Shapes::StructureShape.new(name: 'Scte')
133
159
  ScteDash = Shapes::StructureShape.new(name: 'ScteDash')
134
160
  ScteFilter = Shapes::StringShape.new(name: 'ScteFilter')
@@ -168,6 +194,15 @@ module Aws::MediaPackageV2
168
194
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
169
195
  AccessDeniedException.struct_class = Types::AccessDeniedException
170
196
 
197
+ CancelHarvestJobRequest.add_member(:channel_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "ChannelGroupName"))
198
+ CancelHarvestJobRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "ChannelName"))
199
+ CancelHarvestJobRequest.add_member(:origin_endpoint_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "OriginEndpointName"))
200
+ CancelHarvestJobRequest.add_member(:harvest_job_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "HarvestJobName"))
201
+ CancelHarvestJobRequest.add_member(:etag, Shapes::ShapeRef.new(shape: EntityTag, location: "header", location_name: "x-amzn-update-if-match"))
202
+ CancelHarvestJobRequest.struct_class = Types::CancelHarvestJobRequest
203
+
204
+ CancelHarvestJobResponse.struct_class = Types::CancelHarvestJobResponse
205
+
171
206
  ChannelGroupListConfiguration.add_member(:channel_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ChannelGroupName"))
172
207
  ChannelGroupListConfiguration.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Arn"))
173
208
  ChannelGroupListConfiguration.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
@@ -243,6 +278,35 @@ module Aws::MediaPackageV2
243
278
 
244
279
  CreateDashManifests.member = Shapes::ShapeRef.new(shape: CreateDashManifestConfiguration)
245
280
 
281
+ CreateHarvestJobRequest.add_member(:channel_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "ChannelGroupName"))
282
+ CreateHarvestJobRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "ChannelName"))
283
+ CreateHarvestJobRequest.add_member(:origin_endpoint_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "OriginEndpointName"))
284
+ CreateHarvestJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
285
+ CreateHarvestJobRequest.add_member(:harvested_manifests, Shapes::ShapeRef.new(shape: HarvestedManifests, required: true, location_name: "HarvestedManifests"))
286
+ CreateHarvestJobRequest.add_member(:schedule_configuration, Shapes::ShapeRef.new(shape: HarvesterScheduleConfiguration, required: true, location_name: "ScheduleConfiguration"))
287
+ CreateHarvestJobRequest.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, required: true, location_name: "Destination"))
288
+ CreateHarvestJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "header", location_name: "x-amzn-client-token", metadata: {"idempotencyToken"=>true}))
289
+ CreateHarvestJobRequest.add_member(:harvest_job_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "HarvestJobName"))
290
+ CreateHarvestJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
291
+ CreateHarvestJobRequest.struct_class = Types::CreateHarvestJobRequest
292
+
293
+ CreateHarvestJobResponse.add_member(:channel_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "ChannelGroupName"))
294
+ CreateHarvestJobResponse.add_member(:channel_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "ChannelName"))
295
+ CreateHarvestJobResponse.add_member(:origin_endpoint_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "OriginEndpointName"))
296
+ CreateHarvestJobResponse.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, required: true, location_name: "Destination"))
297
+ CreateHarvestJobResponse.add_member(:harvest_job_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "HarvestJobName"))
298
+ CreateHarvestJobResponse.add_member(:harvested_manifests, Shapes::ShapeRef.new(shape: HarvestedManifests, required: true, location_name: "HarvestedManifests"))
299
+ CreateHarvestJobResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
300
+ CreateHarvestJobResponse.add_member(:schedule_configuration, Shapes::ShapeRef.new(shape: HarvesterScheduleConfiguration, required: true, location_name: "ScheduleConfiguration"))
301
+ CreateHarvestJobResponse.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Arn"))
302
+ CreateHarvestJobResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
303
+ CreateHarvestJobResponse.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ModifiedAt"))
304
+ CreateHarvestJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: HarvestJobStatus, required: true, location_name: "Status"))
305
+ CreateHarvestJobResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
306
+ CreateHarvestJobResponse.add_member(:etag, Shapes::ShapeRef.new(shape: EntityTag, location_name: "ETag"))
307
+ CreateHarvestJobResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
308
+ CreateHarvestJobResponse.struct_class = Types::CreateHarvestJobResponse
309
+
246
310
  CreateHlsManifestConfiguration.add_member(:manifest_name, Shapes::ShapeRef.new(shape: ManifestName, required: true, location_name: "ManifestName"))
247
311
  CreateHlsManifestConfiguration.add_member(:child_manifest_name, Shapes::ShapeRef.new(shape: ManifestName, location_name: "ChildManifestName"))
248
312
  CreateHlsManifestConfiguration.add_member(:scte_hls, Shapes::ShapeRef.new(shape: ScteHls, location_name: "ScteHls"))
@@ -335,6 +399,9 @@ module Aws::MediaPackageV2
335
399
 
336
400
  DeleteOriginEndpointResponse.struct_class = Types::DeleteOriginEndpointResponse
337
401
 
402
+ Destination.add_member(:s3_destination, Shapes::ShapeRef.new(shape: S3DestinationConfig, required: true, location_name: "S3Destination"))
403
+ Destination.struct_class = Types::Destination
404
+
338
405
  Encryption.add_member(:constant_initialization_vector, Shapes::ShapeRef.new(shape: EncryptionConstantInitializationVectorString, location_name: "ConstantInitializationVector"))
339
406
  Encryption.add_member(:encryption_method, Shapes::ShapeRef.new(shape: EncryptionMethod, required: true, location_name: "EncryptionMethod"))
340
407
  Encryption.add_member(:key_rotation_interval_seconds, Shapes::ShapeRef.new(shape: EncryptionKeyRotationIntervalSecondsInteger, location_name: "KeyRotationIntervalSeconds"))
@@ -415,6 +482,29 @@ module Aws::MediaPackageV2
415
482
 
416
483
  GetDashManifests.member = Shapes::ShapeRef.new(shape: GetDashManifestConfiguration)
417
484
 
485
+ GetHarvestJobRequest.add_member(:channel_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "ChannelGroupName"))
486
+ GetHarvestJobRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "ChannelName"))
487
+ GetHarvestJobRequest.add_member(:origin_endpoint_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "OriginEndpointName"))
488
+ GetHarvestJobRequest.add_member(:harvest_job_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "HarvestJobName"))
489
+ GetHarvestJobRequest.struct_class = Types::GetHarvestJobRequest
490
+
491
+ GetHarvestJobResponse.add_member(:channel_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "ChannelGroupName"))
492
+ GetHarvestJobResponse.add_member(:channel_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "ChannelName"))
493
+ GetHarvestJobResponse.add_member(:origin_endpoint_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "OriginEndpointName"))
494
+ GetHarvestJobResponse.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, required: true, location_name: "Destination"))
495
+ GetHarvestJobResponse.add_member(:harvest_job_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "HarvestJobName"))
496
+ GetHarvestJobResponse.add_member(:harvested_manifests, Shapes::ShapeRef.new(shape: HarvestedManifests, required: true, location_name: "HarvestedManifests"))
497
+ GetHarvestJobResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
498
+ GetHarvestJobResponse.add_member(:schedule_configuration, Shapes::ShapeRef.new(shape: HarvesterScheduleConfiguration, required: true, location_name: "ScheduleConfiguration"))
499
+ GetHarvestJobResponse.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Arn"))
500
+ GetHarvestJobResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
501
+ GetHarvestJobResponse.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ModifiedAt"))
502
+ GetHarvestJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: HarvestJobStatus, required: true, location_name: "Status"))
503
+ GetHarvestJobResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
504
+ GetHarvestJobResponse.add_member(:etag, Shapes::ShapeRef.new(shape: EntityTag, location_name: "ETag"))
505
+ GetHarvestJobResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
506
+ GetHarvestJobResponse.struct_class = Types::GetHarvestJobResponse
507
+
418
508
  GetHlsManifestConfiguration.add_member(:manifest_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "ManifestName"))
419
509
  GetHlsManifestConfiguration.add_member(:url, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Url"))
420
510
  GetHlsManifestConfiguration.add_member(:child_manifest_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "ChildManifestName"))
@@ -473,6 +563,48 @@ module Aws::MediaPackageV2
473
563
  GetOriginEndpointResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
474
564
  GetOriginEndpointResponse.struct_class = Types::GetOriginEndpointResponse
475
565
 
566
+ HarvestJob.add_member(:channel_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "ChannelGroupName"))
567
+ HarvestJob.add_member(:channel_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "ChannelName"))
568
+ HarvestJob.add_member(:origin_endpoint_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "OriginEndpointName"))
569
+ HarvestJob.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, required: true, location_name: "Destination"))
570
+ HarvestJob.add_member(:harvest_job_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "HarvestJobName"))
571
+ HarvestJob.add_member(:harvested_manifests, Shapes::ShapeRef.new(shape: HarvestedManifests, required: true, location_name: "HarvestedManifests"))
572
+ HarvestJob.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
573
+ HarvestJob.add_member(:schedule_configuration, Shapes::ShapeRef.new(shape: HarvesterScheduleConfiguration, required: true, location_name: "ScheduleConfiguration"))
574
+ HarvestJob.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Arn"))
575
+ HarvestJob.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
576
+ HarvestJob.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ModifiedAt"))
577
+ HarvestJob.add_member(:status, Shapes::ShapeRef.new(shape: HarvestJobStatus, required: true, location_name: "Status"))
578
+ HarvestJob.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
579
+ HarvestJob.add_member(:etag, Shapes::ShapeRef.new(shape: EntityTag, location_name: "ETag"))
580
+ HarvestJob.struct_class = Types::HarvestJob
581
+
582
+ HarvestJobsList.member = Shapes::ShapeRef.new(shape: HarvestJob)
583
+
584
+ HarvestedDashManifest.add_member(:manifest_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "ManifestName"))
585
+ HarvestedDashManifest.struct_class = Types::HarvestedDashManifest
586
+
587
+ HarvestedDashManifestsList.member = Shapes::ShapeRef.new(shape: HarvestedDashManifest)
588
+
589
+ HarvestedHlsManifest.add_member(:manifest_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "ManifestName"))
590
+ HarvestedHlsManifest.struct_class = Types::HarvestedHlsManifest
591
+
592
+ HarvestedHlsManifestsList.member = Shapes::ShapeRef.new(shape: HarvestedHlsManifest)
593
+
594
+ HarvestedLowLatencyHlsManifest.add_member(:manifest_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "ManifestName"))
595
+ HarvestedLowLatencyHlsManifest.struct_class = Types::HarvestedLowLatencyHlsManifest
596
+
597
+ HarvestedLowLatencyHlsManifestsList.member = Shapes::ShapeRef.new(shape: HarvestedLowLatencyHlsManifest)
598
+
599
+ HarvestedManifests.add_member(:hls_manifests, Shapes::ShapeRef.new(shape: HarvestedHlsManifestsList, location_name: "HlsManifests"))
600
+ HarvestedManifests.add_member(:dash_manifests, Shapes::ShapeRef.new(shape: HarvestedDashManifestsList, location_name: "DashManifests"))
601
+ HarvestedManifests.add_member(:low_latency_hls_manifests, Shapes::ShapeRef.new(shape: HarvestedLowLatencyHlsManifestsList, location_name: "LowLatencyHlsManifests"))
602
+ HarvestedManifests.struct_class = Types::HarvestedManifests
603
+
604
+ HarvesterScheduleConfiguration.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
605
+ HarvesterScheduleConfiguration.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTime"))
606
+ HarvesterScheduleConfiguration.struct_class = Types::HarvesterScheduleConfiguration
607
+
476
608
  IngestEndpoint.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
477
609
  IngestEndpoint.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "Url"))
478
610
  IngestEndpoint.struct_class = Types::IngestEndpoint
@@ -505,6 +637,18 @@ module Aws::MediaPackageV2
505
637
 
506
638
  ListDashManifests.member = Shapes::ShapeRef.new(shape: ListDashManifestConfiguration)
507
639
 
640
+ ListHarvestJobsRequest.add_member(:channel_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "ChannelGroupName"))
641
+ ListHarvestJobsRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: ListHarvestJobsRequestChannelNameString, location: "querystring", location_name: "channelName"))
642
+ ListHarvestJobsRequest.add_member(:origin_endpoint_name, Shapes::ShapeRef.new(shape: ListHarvestJobsRequestOriginEndpointNameString, location: "querystring", location_name: "originEndpointName"))
643
+ ListHarvestJobsRequest.add_member(:status, Shapes::ShapeRef.new(shape: HarvestJobStatus, location: "querystring", location_name: "includeStatus"))
644
+ ListHarvestJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListHarvestJobsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
645
+ ListHarvestJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
646
+ ListHarvestJobsRequest.struct_class = Types::ListHarvestJobsRequest
647
+
648
+ ListHarvestJobsResponse.add_member(:items, Shapes::ShapeRef.new(shape: HarvestJobsList, location_name: "Items"))
649
+ ListHarvestJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
650
+ ListHarvestJobsResponse.struct_class = Types::ListHarvestJobsResponse
651
+
508
652
  ListHlsManifestConfiguration.add_member(:manifest_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "ManifestName"))
509
653
  ListHlsManifestConfiguration.add_member(:child_manifest_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "ChildManifestName"))
510
654
  ListHlsManifestConfiguration.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "Url"))
@@ -570,6 +714,10 @@ module Aws::MediaPackageV2
570
714
  ResourceNotFoundException.add_member(:resource_type_not_found, Shapes::ShapeRef.new(shape: ResourceTypeNotFound, location_name: "ResourceTypeNotFound"))
571
715
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
572
716
 
717
+ S3DestinationConfig.add_member(:bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "BucketName"))
718
+ S3DestinationConfig.add_member(:destination_path, Shapes::ShapeRef.new(shape: S3DestinationPath, required: true, location_name: "DestinationPath"))
719
+ S3DestinationConfig.struct_class = Types::S3DestinationConfig
720
+
573
721
  Scte.add_member(:scte_filter, Shapes::ShapeRef.new(shape: ScteFilterList, location_name: "ScteFilter"))
574
722
  Scte.struct_class = Types::Scte
575
723
 
@@ -699,6 +847,7 @@ module Aws::MediaPackageV2
699
847
 
700
848
  api.metadata = {
701
849
  "apiVersion" => "2022-12-25",
850
+ "auth" => ["aws.auth#sigv4"],
702
851
  "endpointPrefix" => "mediapackagev2",
703
852
  "protocol" => "rest-json",
704
853
  "protocols" => ["rest-json"],
@@ -710,6 +859,20 @@ module Aws::MediaPackageV2
710
859
  "uid" => "mediapackagev2-2022-12-25",
711
860
  }
712
861
 
862
+ api.add_operation(:cancel_harvest_job, Seahorse::Model::Operation.new.tap do |o|
863
+ o.name = "CancelHarvestJob"
864
+ o.http_method = "PUT"
865
+ o.http_request_uri = "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob/{HarvestJobName}"
866
+ o.input = Shapes::ShapeRef.new(shape: CancelHarvestJobRequest)
867
+ o.output = Shapes::ShapeRef.new(shape: CancelHarvestJobResponse)
868
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
869
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
870
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
871
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
872
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
873
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
874
+ end)
875
+
713
876
  api.add_operation(:create_channel, Seahorse::Model::Operation.new.tap do |o|
714
877
  o.name = "CreateChannel"
715
878
  o.http_method = "POST"
@@ -740,6 +903,21 @@ module Aws::MediaPackageV2
740
903
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
741
904
  end)
742
905
 
906
+ api.add_operation(:create_harvest_job, Seahorse::Model::Operation.new.tap do |o|
907
+ o.name = "CreateHarvestJob"
908
+ o.http_method = "POST"
909
+ o.http_request_uri = "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob"
910
+ o.input = Shapes::ShapeRef.new(shape: CreateHarvestJobRequest)
911
+ o.output = Shapes::ShapeRef.new(shape: CreateHarvestJobResponse)
912
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
913
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
914
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
915
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
916
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
917
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
918
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
919
+ end)
920
+
743
921
  api.add_operation(:create_origin_endpoint, Seahorse::Model::Operation.new.tap do |o|
744
922
  o.name = "CreateOriginEndpoint"
745
923
  o.http_method = "POST"
@@ -858,6 +1036,19 @@ module Aws::MediaPackageV2
858
1036
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
859
1037
  end)
860
1038
 
1039
+ api.add_operation(:get_harvest_job, Seahorse::Model::Operation.new.tap do |o|
1040
+ o.name = "GetHarvestJob"
1041
+ o.http_method = "GET"
1042
+ o.http_request_uri = "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob/{HarvestJobName}"
1043
+ o.input = Shapes::ShapeRef.new(shape: GetHarvestJobRequest)
1044
+ o.output = Shapes::ShapeRef.new(shape: GetHarvestJobResponse)
1045
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1046
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1047
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1048
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1049
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1050
+ end)
1051
+
861
1052
  api.add_operation(:get_origin_endpoint, Seahorse::Model::Operation.new.tap do |o|
862
1053
  o.name = "GetOriginEndpoint"
863
1054
  o.http_method = "GET"
@@ -921,6 +1112,25 @@ module Aws::MediaPackageV2
921
1112
  )
922
1113
  end)
923
1114
 
1115
+ api.add_operation(:list_harvest_jobs, Seahorse::Model::Operation.new.tap do |o|
1116
+ o.name = "ListHarvestJobs"
1117
+ o.http_method = "GET"
1118
+ o.http_request_uri = "/channelGroup/{ChannelGroupName}/harvestJob"
1119
+ o.input = Shapes::ShapeRef.new(shape: ListHarvestJobsRequest)
1120
+ o.output = Shapes::ShapeRef.new(shape: ListHarvestJobsResponse)
1121
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1122
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1123
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1124
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1125
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1126
+ o[:pager] = Aws::Pager.new(
1127
+ limit_key: "max_results",
1128
+ tokens: {
1129
+ "next_token" => "next_token"
1130
+ }
1131
+ )
1132
+ end)
1133
+
924
1134
  api.add_operation(:list_origin_endpoints, Seahorse::Model::Operation.new.tap do |o|
925
1135
  o.name = "ListOriginEndpoints"
926
1136
  o.http_method = "GET"
@@ -52,15 +52,18 @@ module Aws::MediaPackageV2
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end
@@ -12,269 +12,9 @@ module Aws::MediaPackageV2
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
- class CreateChannel
16
- def self.build(context)
17
- Aws::MediaPackageV2::EndpointParameters.new(
18
- region: context.config.region,
19
- use_dual_stack: context.config.use_dualstack_endpoint,
20
- use_fips: context.config.use_fips_endpoint,
21
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
22
- )
23
- end
24
- end
25
-
26
- class CreateChannelGroup
27
- def self.build(context)
28
- Aws::MediaPackageV2::EndpointParameters.new(
29
- region: context.config.region,
30
- use_dual_stack: context.config.use_dualstack_endpoint,
31
- use_fips: context.config.use_fips_endpoint,
32
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
33
- )
34
- end
35
- end
36
-
37
- class CreateOriginEndpoint
38
- def self.build(context)
39
- Aws::MediaPackageV2::EndpointParameters.new(
40
- region: context.config.region,
41
- use_dual_stack: context.config.use_dualstack_endpoint,
42
- use_fips: context.config.use_fips_endpoint,
43
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
44
- )
45
- end
46
- end
47
-
48
- class DeleteChannel
49
- def self.build(context)
50
- Aws::MediaPackageV2::EndpointParameters.new(
51
- region: context.config.region,
52
- use_dual_stack: context.config.use_dualstack_endpoint,
53
- use_fips: context.config.use_fips_endpoint,
54
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
55
- )
56
- end
57
- end
58
-
59
- class DeleteChannelGroup
60
- def self.build(context)
61
- Aws::MediaPackageV2::EndpointParameters.new(
62
- region: context.config.region,
63
- use_dual_stack: context.config.use_dualstack_endpoint,
64
- use_fips: context.config.use_fips_endpoint,
65
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
66
- )
67
- end
68
- end
69
-
70
- class DeleteChannelPolicy
71
- def self.build(context)
72
- Aws::MediaPackageV2::EndpointParameters.new(
73
- region: context.config.region,
74
- use_dual_stack: context.config.use_dualstack_endpoint,
75
- use_fips: context.config.use_fips_endpoint,
76
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
77
- )
78
- end
79
- end
80
-
81
- class DeleteOriginEndpoint
82
- def self.build(context)
83
- Aws::MediaPackageV2::EndpointParameters.new(
84
- region: context.config.region,
85
- use_dual_stack: context.config.use_dualstack_endpoint,
86
- use_fips: context.config.use_fips_endpoint,
87
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
88
- )
89
- end
90
- end
91
-
92
- class DeleteOriginEndpointPolicy
93
- def self.build(context)
94
- Aws::MediaPackageV2::EndpointParameters.new(
95
- region: context.config.region,
96
- use_dual_stack: context.config.use_dualstack_endpoint,
97
- use_fips: context.config.use_fips_endpoint,
98
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
99
- )
100
- end
101
- end
102
-
103
- class GetChannel
104
- def self.build(context)
105
- Aws::MediaPackageV2::EndpointParameters.new(
106
- region: context.config.region,
107
- use_dual_stack: context.config.use_dualstack_endpoint,
108
- use_fips: context.config.use_fips_endpoint,
109
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
110
- )
111
- end
112
- end
113
-
114
- class GetChannelGroup
115
- def self.build(context)
116
- Aws::MediaPackageV2::EndpointParameters.new(
117
- region: context.config.region,
118
- use_dual_stack: context.config.use_dualstack_endpoint,
119
- use_fips: context.config.use_fips_endpoint,
120
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
121
- )
122
- end
123
- end
124
-
125
- class GetChannelPolicy
126
- def self.build(context)
127
- Aws::MediaPackageV2::EndpointParameters.new(
128
- region: context.config.region,
129
- use_dual_stack: context.config.use_dualstack_endpoint,
130
- use_fips: context.config.use_fips_endpoint,
131
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
132
- )
133
- end
134
- end
135
-
136
- class GetOriginEndpoint
137
- def self.build(context)
138
- Aws::MediaPackageV2::EndpointParameters.new(
139
- region: context.config.region,
140
- use_dual_stack: context.config.use_dualstack_endpoint,
141
- use_fips: context.config.use_fips_endpoint,
142
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
143
- )
144
- end
145
- end
146
15
 
147
- class GetOriginEndpointPolicy
148
- def self.build(context)
149
- Aws::MediaPackageV2::EndpointParameters.new(
150
- region: context.config.region,
151
- use_dual_stack: context.config.use_dualstack_endpoint,
152
- use_fips: context.config.use_fips_endpoint,
153
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
154
- )
155
- end
16
+ def self.parameters_for_operation(context)
17
+ Aws::MediaPackageV2::EndpointParameters.create(context.config)
156
18
  end
157
-
158
- class ListChannelGroups
159
- def self.build(context)
160
- Aws::MediaPackageV2::EndpointParameters.new(
161
- region: context.config.region,
162
- use_dual_stack: context.config.use_dualstack_endpoint,
163
- use_fips: context.config.use_fips_endpoint,
164
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
165
- )
166
- end
167
- end
168
-
169
- class ListChannels
170
- def self.build(context)
171
- Aws::MediaPackageV2::EndpointParameters.new(
172
- region: context.config.region,
173
- use_dual_stack: context.config.use_dualstack_endpoint,
174
- use_fips: context.config.use_fips_endpoint,
175
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
176
- )
177
- end
178
- end
179
-
180
- class ListOriginEndpoints
181
- def self.build(context)
182
- Aws::MediaPackageV2::EndpointParameters.new(
183
- region: context.config.region,
184
- use_dual_stack: context.config.use_dualstack_endpoint,
185
- use_fips: context.config.use_fips_endpoint,
186
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
187
- )
188
- end
189
- end
190
-
191
- class ListTagsForResource
192
- def self.build(context)
193
- Aws::MediaPackageV2::EndpointParameters.new(
194
- region: context.config.region,
195
- use_dual_stack: context.config.use_dualstack_endpoint,
196
- use_fips: context.config.use_fips_endpoint,
197
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
198
- )
199
- end
200
- end
201
-
202
- class PutChannelPolicy
203
- def self.build(context)
204
- Aws::MediaPackageV2::EndpointParameters.new(
205
- region: context.config.region,
206
- use_dual_stack: context.config.use_dualstack_endpoint,
207
- use_fips: context.config.use_fips_endpoint,
208
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
209
- )
210
- end
211
- end
212
-
213
- class PutOriginEndpointPolicy
214
- def self.build(context)
215
- Aws::MediaPackageV2::EndpointParameters.new(
216
- region: context.config.region,
217
- use_dual_stack: context.config.use_dualstack_endpoint,
218
- use_fips: context.config.use_fips_endpoint,
219
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
220
- )
221
- end
222
- end
223
-
224
- class TagResource
225
- def self.build(context)
226
- Aws::MediaPackageV2::EndpointParameters.new(
227
- region: context.config.region,
228
- use_dual_stack: context.config.use_dualstack_endpoint,
229
- use_fips: context.config.use_fips_endpoint,
230
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
231
- )
232
- end
233
- end
234
-
235
- class UntagResource
236
- def self.build(context)
237
- Aws::MediaPackageV2::EndpointParameters.new(
238
- region: context.config.region,
239
- use_dual_stack: context.config.use_dualstack_endpoint,
240
- use_fips: context.config.use_fips_endpoint,
241
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
242
- )
243
- end
244
- end
245
-
246
- class UpdateChannel
247
- def self.build(context)
248
- Aws::MediaPackageV2::EndpointParameters.new(
249
- region: context.config.region,
250
- use_dual_stack: context.config.use_dualstack_endpoint,
251
- use_fips: context.config.use_fips_endpoint,
252
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
253
- )
254
- end
255
- end
256
-
257
- class UpdateChannelGroup
258
- def self.build(context)
259
- Aws::MediaPackageV2::EndpointParameters.new(
260
- region: context.config.region,
261
- use_dual_stack: context.config.use_dualstack_endpoint,
262
- use_fips: context.config.use_fips_endpoint,
263
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
264
- )
265
- end
266
- end
267
-
268
- class UpdateOriginEndpoint
269
- def self.build(context)
270
- Aws::MediaPackageV2::EndpointParameters.new(
271
- region: context.config.region,
272
- use_dual_stack: context.config.use_dualstack_endpoint,
273
- use_fips: context.config.use_fips_endpoint,
274
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
275
- )
276
- end
277
- end
278
-
279
19
  end
280
20
  end