aws-sdk-mediapackagev2 1.30.0 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mediapackagev2/client.rb +605 -2
- data/lib/aws-sdk-mediapackagev2/client_api.rb +210 -0
- data/lib/aws-sdk-mediapackagev2/types.rb +591 -0
- data/lib/aws-sdk-mediapackagev2/waiters.rb +123 -0
- data/lib/aws-sdk-mediapackagev2.rb +2 -2
- data/sig/client.rbs +122 -0
- data/sig/types.rbs +147 -2
- data/sig/waiters.rbs +13 -0
- metadata +4 -4
@@ -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"
|