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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -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/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-mediapackagev2/endpoints.rb +2 -262
- data/lib/aws-sdk-mediapackagev2/plugins/endpoints.rb +1 -54
- 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 +6 -6
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
27
27
|
class Handler < Seahorse::Client::Handler
|
28
28
|
def call(context)
|
29
29
|
unless context[:discovered_endpoint]
|
30
|
-
params = parameters_for_operation(context)
|
30
|
+
params = Aws::MediaPackageV2::Endpoints.parameters_for_operation(context)
|
31
31
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
32
|
|
33
33
|
context.http_request.endpoint = endpoint.url
|
@@ -67,59 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
67
67
|
context.http_request.headers[key] = value
|
68
68
|
end
|
69
69
|
end
|
70
|
-
|
71
|
-
def parameters_for_operation(context)
|
72
|
-
case context.operation_name
|
73
|
-
when :create_channel
|
74
|
-
Aws::MediaPackageV2::Endpoints::CreateChannel.build(context)
|
75
|
-
when :create_channel_group
|
76
|
-
Aws::MediaPackageV2::Endpoints::CreateChannelGroup.build(context)
|
77
|
-
when :create_origin_endpoint
|
78
|
-
Aws::MediaPackageV2::Endpoints::CreateOriginEndpoint.build(context)
|
79
|
-
when :delete_channel
|
80
|
-
Aws::MediaPackageV2::Endpoints::DeleteChannel.build(context)
|
81
|
-
when :delete_channel_group
|
82
|
-
Aws::MediaPackageV2::Endpoints::DeleteChannelGroup.build(context)
|
83
|
-
when :delete_channel_policy
|
84
|
-
Aws::MediaPackageV2::Endpoints::DeleteChannelPolicy.build(context)
|
85
|
-
when :delete_origin_endpoint
|
86
|
-
Aws::MediaPackageV2::Endpoints::DeleteOriginEndpoint.build(context)
|
87
|
-
when :delete_origin_endpoint_policy
|
88
|
-
Aws::MediaPackageV2::Endpoints::DeleteOriginEndpointPolicy.build(context)
|
89
|
-
when :get_channel
|
90
|
-
Aws::MediaPackageV2::Endpoints::GetChannel.build(context)
|
91
|
-
when :get_channel_group
|
92
|
-
Aws::MediaPackageV2::Endpoints::GetChannelGroup.build(context)
|
93
|
-
when :get_channel_policy
|
94
|
-
Aws::MediaPackageV2::Endpoints::GetChannelPolicy.build(context)
|
95
|
-
when :get_origin_endpoint
|
96
|
-
Aws::MediaPackageV2::Endpoints::GetOriginEndpoint.build(context)
|
97
|
-
when :get_origin_endpoint_policy
|
98
|
-
Aws::MediaPackageV2::Endpoints::GetOriginEndpointPolicy.build(context)
|
99
|
-
when :list_channel_groups
|
100
|
-
Aws::MediaPackageV2::Endpoints::ListChannelGroups.build(context)
|
101
|
-
when :list_channels
|
102
|
-
Aws::MediaPackageV2::Endpoints::ListChannels.build(context)
|
103
|
-
when :list_origin_endpoints
|
104
|
-
Aws::MediaPackageV2::Endpoints::ListOriginEndpoints.build(context)
|
105
|
-
when :list_tags_for_resource
|
106
|
-
Aws::MediaPackageV2::Endpoints::ListTagsForResource.build(context)
|
107
|
-
when :put_channel_policy
|
108
|
-
Aws::MediaPackageV2::Endpoints::PutChannelPolicy.build(context)
|
109
|
-
when :put_origin_endpoint_policy
|
110
|
-
Aws::MediaPackageV2::Endpoints::PutOriginEndpointPolicy.build(context)
|
111
|
-
when :tag_resource
|
112
|
-
Aws::MediaPackageV2::Endpoints::TagResource.build(context)
|
113
|
-
when :untag_resource
|
114
|
-
Aws::MediaPackageV2::Endpoints::UntagResource.build(context)
|
115
|
-
when :update_channel
|
116
|
-
Aws::MediaPackageV2::Endpoints::UpdateChannel.build(context)
|
117
|
-
when :update_channel_group
|
118
|
-
Aws::MediaPackageV2::Endpoints::UpdateChannelGroup.build(context)
|
119
|
-
when :update_origin_endpoint
|
120
|
-
Aws::MediaPackageV2::Endpoints::UpdateOriginEndpoint.build(context)
|
121
|
-
end
|
122
|
-
end
|
123
70
|
end
|
124
71
|
|
125
72
|
def add_handlers(handlers, _config)
|
@@ -26,6 +26,47 @@ module Aws::MediaPackageV2
|
|
26
26
|
include Aws::Structure
|
27
27
|
end
|
28
28
|
|
29
|
+
# @!attribute [rw] channel_group_name
|
30
|
+
# The name of the channel group containing the channel from which the
|
31
|
+
# harvest job is running.
|
32
|
+
# @return [String]
|
33
|
+
#
|
34
|
+
# @!attribute [rw] channel_name
|
35
|
+
# The name of the channel from which the harvest job is running.
|
36
|
+
# @return [String]
|
37
|
+
#
|
38
|
+
# @!attribute [rw] origin_endpoint_name
|
39
|
+
# The name of the origin endpoint that the harvest job is harvesting
|
40
|
+
# from. This cannot be changed after the harvest job is submitted.
|
41
|
+
# @return [String]
|
42
|
+
#
|
43
|
+
# @!attribute [rw] harvest_job_name
|
44
|
+
# The name of the harvest job to cancel. This name must be unique
|
45
|
+
# within the channel and cannot be changed after the harvest job is
|
46
|
+
# submitted.
|
47
|
+
# @return [String]
|
48
|
+
#
|
49
|
+
# @!attribute [rw] etag
|
50
|
+
# The current Entity Tag (ETag) associated with the harvest job. Used
|
51
|
+
# for concurrency control.
|
52
|
+
# @return [String]
|
53
|
+
#
|
54
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/CancelHarvestJobRequest AWS API Documentation
|
55
|
+
#
|
56
|
+
class CancelHarvestJobRequest < Struct.new(
|
57
|
+
:channel_group_name,
|
58
|
+
:channel_name,
|
59
|
+
:origin_endpoint_name,
|
60
|
+
:harvest_job_name,
|
61
|
+
:etag)
|
62
|
+
SENSITIVE = []
|
63
|
+
include Aws::Structure
|
64
|
+
end
|
65
|
+
|
66
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/CancelHarvestJobResponse AWS API Documentation
|
67
|
+
#
|
68
|
+
class CancelHarvestJobResponse < Aws::EmptyStructure; end
|
69
|
+
|
29
70
|
# The configuration of the channel group.
|
30
71
|
#
|
31
72
|
# @!attribute [rw] channel_group_name
|
@@ -463,6 +504,161 @@ module Aws::MediaPackageV2
|
|
463
504
|
include Aws::Structure
|
464
505
|
end
|
465
506
|
|
507
|
+
# The request object for creating a new harvest job.
|
508
|
+
#
|
509
|
+
# @!attribute [rw] channel_group_name
|
510
|
+
# The name of the channel group containing the channel from which to
|
511
|
+
# harvest content.
|
512
|
+
# @return [String]
|
513
|
+
#
|
514
|
+
# @!attribute [rw] channel_name
|
515
|
+
# The name of the channel from which to harvest content.
|
516
|
+
# @return [String]
|
517
|
+
#
|
518
|
+
# @!attribute [rw] origin_endpoint_name
|
519
|
+
# The name of the origin endpoint from which to harvest content.
|
520
|
+
# @return [String]
|
521
|
+
#
|
522
|
+
# @!attribute [rw] description
|
523
|
+
# An optional description for the harvest job.
|
524
|
+
# @return [String]
|
525
|
+
#
|
526
|
+
# @!attribute [rw] harvested_manifests
|
527
|
+
# A list of manifests to be harvested.
|
528
|
+
# @return [Types::HarvestedManifests]
|
529
|
+
#
|
530
|
+
# @!attribute [rw] schedule_configuration
|
531
|
+
# The configuration for when the harvest job should run, including
|
532
|
+
# start and end times.
|
533
|
+
# @return [Types::HarvesterScheduleConfiguration]
|
534
|
+
#
|
535
|
+
# @!attribute [rw] destination
|
536
|
+
# The S3 destination where the harvested content will be placed.
|
537
|
+
# @return [Types::Destination]
|
538
|
+
#
|
539
|
+
# @!attribute [rw] client_token
|
540
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
541
|
+
# idempotency of the request.
|
542
|
+
#
|
543
|
+
# **A suitable default value is auto-generated.** You should normally
|
544
|
+
# not need to pass this option.
|
545
|
+
# @return [String]
|
546
|
+
#
|
547
|
+
# @!attribute [rw] harvest_job_name
|
548
|
+
# A name for the harvest job. This name must be unique within the
|
549
|
+
# channel.
|
550
|
+
# @return [String]
|
551
|
+
#
|
552
|
+
# @!attribute [rw] tags
|
553
|
+
# A collection of tags associated with the harvest job.
|
554
|
+
# @return [Hash<String,String>]
|
555
|
+
#
|
556
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/CreateHarvestJobRequest AWS API Documentation
|
557
|
+
#
|
558
|
+
class CreateHarvestJobRequest < Struct.new(
|
559
|
+
:channel_group_name,
|
560
|
+
:channel_name,
|
561
|
+
:origin_endpoint_name,
|
562
|
+
:description,
|
563
|
+
:harvested_manifests,
|
564
|
+
:schedule_configuration,
|
565
|
+
:destination,
|
566
|
+
:client_token,
|
567
|
+
:harvest_job_name,
|
568
|
+
:tags)
|
569
|
+
SENSITIVE = []
|
570
|
+
include Aws::Structure
|
571
|
+
end
|
572
|
+
|
573
|
+
# The response object returned after creating a harvest job.
|
574
|
+
#
|
575
|
+
# @!attribute [rw] channel_group_name
|
576
|
+
# The name of the channel group containing the channel from which
|
577
|
+
# content is being harvested.
|
578
|
+
# @return [String]
|
579
|
+
#
|
580
|
+
# @!attribute [rw] channel_name
|
581
|
+
# The name of the channel from which content is being harvested.
|
582
|
+
# @return [String]
|
583
|
+
#
|
584
|
+
# @!attribute [rw] origin_endpoint_name
|
585
|
+
# The name of the origin endpoint from which content is being
|
586
|
+
# harvested.
|
587
|
+
# @return [String]
|
588
|
+
#
|
589
|
+
# @!attribute [rw] destination
|
590
|
+
# The S3 destination where the harvested content will be placed.
|
591
|
+
# @return [Types::Destination]
|
592
|
+
#
|
593
|
+
# @!attribute [rw] harvest_job_name
|
594
|
+
# The name of the created harvest job.
|
595
|
+
# @return [String]
|
596
|
+
#
|
597
|
+
# @!attribute [rw] harvested_manifests
|
598
|
+
# A list of manifests that will be harvested.
|
599
|
+
# @return [Types::HarvestedManifests]
|
600
|
+
#
|
601
|
+
# @!attribute [rw] description
|
602
|
+
# The description of the harvest job, if provided.
|
603
|
+
# @return [String]
|
604
|
+
#
|
605
|
+
# @!attribute [rw] schedule_configuration
|
606
|
+
# The configuration for when the harvest job will run, including start
|
607
|
+
# and end times.
|
608
|
+
# @return [Types::HarvesterScheduleConfiguration]
|
609
|
+
#
|
610
|
+
# @!attribute [rw] arn
|
611
|
+
# The Amazon Resource Name (ARN) of the created harvest job.
|
612
|
+
# @return [String]
|
613
|
+
#
|
614
|
+
# @!attribute [rw] created_at
|
615
|
+
# The date and time the harvest job was created.
|
616
|
+
# @return [Time]
|
617
|
+
#
|
618
|
+
# @!attribute [rw] modified_at
|
619
|
+
# The date and time the harvest job was last modified.
|
620
|
+
# @return [Time]
|
621
|
+
#
|
622
|
+
# @!attribute [rw] status
|
623
|
+
# The current status of the harvest job (e.g., CREATED, IN\_PROGRESS,
|
624
|
+
# ABORTED, COMPLETED, FAILED).
|
625
|
+
# @return [String]
|
626
|
+
#
|
627
|
+
# @!attribute [rw] error_message
|
628
|
+
# An error message if the harvest job creation failed.
|
629
|
+
# @return [String]
|
630
|
+
#
|
631
|
+
# @!attribute [rw] etag
|
632
|
+
# The current version of the harvest job. Used for concurrency
|
633
|
+
# control.
|
634
|
+
# @return [String]
|
635
|
+
#
|
636
|
+
# @!attribute [rw] tags
|
637
|
+
# A collection of tags associated with the harvest job.
|
638
|
+
# @return [Hash<String,String>]
|
639
|
+
#
|
640
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/CreateHarvestJobResponse AWS API Documentation
|
641
|
+
#
|
642
|
+
class CreateHarvestJobResponse < Struct.new(
|
643
|
+
:channel_group_name,
|
644
|
+
:channel_name,
|
645
|
+
:origin_endpoint_name,
|
646
|
+
:destination,
|
647
|
+
:harvest_job_name,
|
648
|
+
:harvested_manifests,
|
649
|
+
:description,
|
650
|
+
:schedule_configuration,
|
651
|
+
:arn,
|
652
|
+
:created_at,
|
653
|
+
:modified_at,
|
654
|
+
:status,
|
655
|
+
:error_message,
|
656
|
+
:etag,
|
657
|
+
:tags)
|
658
|
+
SENSITIVE = []
|
659
|
+
include Aws::Structure
|
660
|
+
end
|
661
|
+
|
466
662
|
# Create an HTTP live streaming (HLS) manifest configuration.
|
467
663
|
#
|
468
664
|
# @!attribute [rw] manifest_name
|
@@ -951,6 +1147,23 @@ module Aws::MediaPackageV2
|
|
951
1147
|
#
|
952
1148
|
class DeleteOriginEndpointResponse < Aws::EmptyStructure; end
|
953
1149
|
|
1150
|
+
# The configuration for the destination where the harvested content will
|
1151
|
+
# be exported.
|
1152
|
+
#
|
1153
|
+
# @!attribute [rw] s3_destination
|
1154
|
+
# The configuration for exporting harvested content to an S3 bucket.
|
1155
|
+
# This includes details such as the bucket name and destination path
|
1156
|
+
# within the bucket.
|
1157
|
+
# @return [Types::S3DestinationConfig]
|
1158
|
+
#
|
1159
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/Destination AWS API Documentation
|
1160
|
+
#
|
1161
|
+
class Destination < Struct.new(
|
1162
|
+
:s3_destination)
|
1163
|
+
SENSITIVE = []
|
1164
|
+
include Aws::Structure
|
1165
|
+
end
|
1166
|
+
|
954
1167
|
# The parameters for encrypting content.
|
955
1168
|
#
|
956
1169
|
# @!attribute [rw] constant_initialization_vector
|
@@ -1478,6 +1691,125 @@ module Aws::MediaPackageV2
|
|
1478
1691
|
include Aws::Structure
|
1479
1692
|
end
|
1480
1693
|
|
1694
|
+
# The request object for retrieving a specific harvest job.
|
1695
|
+
#
|
1696
|
+
# @!attribute [rw] channel_group_name
|
1697
|
+
# The name of the channel group containing the channel associated with
|
1698
|
+
# the harvest job.
|
1699
|
+
# @return [String]
|
1700
|
+
#
|
1701
|
+
# @!attribute [rw] channel_name
|
1702
|
+
# The name of the channel associated with the harvest job.
|
1703
|
+
# @return [String]
|
1704
|
+
#
|
1705
|
+
# @!attribute [rw] origin_endpoint_name
|
1706
|
+
# The name of the origin endpoint associated with the harvest job.
|
1707
|
+
# @return [String]
|
1708
|
+
#
|
1709
|
+
# @!attribute [rw] harvest_job_name
|
1710
|
+
# The name of the harvest job to retrieve.
|
1711
|
+
# @return [String]
|
1712
|
+
#
|
1713
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetHarvestJobRequest AWS API Documentation
|
1714
|
+
#
|
1715
|
+
class GetHarvestJobRequest < Struct.new(
|
1716
|
+
:channel_group_name,
|
1717
|
+
:channel_name,
|
1718
|
+
:origin_endpoint_name,
|
1719
|
+
:harvest_job_name)
|
1720
|
+
SENSITIVE = []
|
1721
|
+
include Aws::Structure
|
1722
|
+
end
|
1723
|
+
|
1724
|
+
# The response object containing the details of the requested harvest
|
1725
|
+
# job.
|
1726
|
+
#
|
1727
|
+
# @!attribute [rw] channel_group_name
|
1728
|
+
# The name of the channel group containing the channel associated with
|
1729
|
+
# the harvest job.
|
1730
|
+
# @return [String]
|
1731
|
+
#
|
1732
|
+
# @!attribute [rw] channel_name
|
1733
|
+
# The name of the channel associated with the harvest job.
|
1734
|
+
# @return [String]
|
1735
|
+
#
|
1736
|
+
# @!attribute [rw] origin_endpoint_name
|
1737
|
+
# The name of the origin endpoint associated with the harvest job.
|
1738
|
+
# @return [String]
|
1739
|
+
#
|
1740
|
+
# @!attribute [rw] destination
|
1741
|
+
# The S3 destination where the harvested content is being placed.
|
1742
|
+
# @return [Types::Destination]
|
1743
|
+
#
|
1744
|
+
# @!attribute [rw] harvest_job_name
|
1745
|
+
# The name of the harvest job.
|
1746
|
+
# @return [String]
|
1747
|
+
#
|
1748
|
+
# @!attribute [rw] harvested_manifests
|
1749
|
+
# A list of manifests that are being or have been harvested.
|
1750
|
+
# @return [Types::HarvestedManifests]
|
1751
|
+
#
|
1752
|
+
# @!attribute [rw] description
|
1753
|
+
# The description of the harvest job, if provided.
|
1754
|
+
# @return [String]
|
1755
|
+
#
|
1756
|
+
# @!attribute [rw] schedule_configuration
|
1757
|
+
# The configuration for when the harvest job is scheduled to run,
|
1758
|
+
# including start and end times.
|
1759
|
+
# @return [Types::HarvesterScheduleConfiguration]
|
1760
|
+
#
|
1761
|
+
# @!attribute [rw] arn
|
1762
|
+
# The Amazon Resource Name (ARN) of the harvest job.
|
1763
|
+
# @return [String]
|
1764
|
+
#
|
1765
|
+
# @!attribute [rw] created_at
|
1766
|
+
# The date and time when the harvest job was created.
|
1767
|
+
# @return [Time]
|
1768
|
+
#
|
1769
|
+
# @!attribute [rw] modified_at
|
1770
|
+
# The date and time when the harvest job was last modified.
|
1771
|
+
# @return [Time]
|
1772
|
+
#
|
1773
|
+
# @!attribute [rw] status
|
1774
|
+
# The current status of the harvest job (e.g., QUEUED, IN\_PROGRESS,
|
1775
|
+
# CANCELLED, COMPLETED, FAILED).
|
1776
|
+
# @return [String]
|
1777
|
+
#
|
1778
|
+
# @!attribute [rw] error_message
|
1779
|
+
# An error message if the harvest job encountered any issues.
|
1780
|
+
# @return [String]
|
1781
|
+
#
|
1782
|
+
# @!attribute [rw] etag
|
1783
|
+
# The current version of the harvest job. Used for concurrency
|
1784
|
+
# control.
|
1785
|
+
# @return [String]
|
1786
|
+
#
|
1787
|
+
# @!attribute [rw] tags
|
1788
|
+
# A collection of tags associated with the harvest job.
|
1789
|
+
# @return [Hash<String,String>]
|
1790
|
+
#
|
1791
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetHarvestJobResponse AWS API Documentation
|
1792
|
+
#
|
1793
|
+
class GetHarvestJobResponse < Struct.new(
|
1794
|
+
:channel_group_name,
|
1795
|
+
:channel_name,
|
1796
|
+
:origin_endpoint_name,
|
1797
|
+
:destination,
|
1798
|
+
:harvest_job_name,
|
1799
|
+
:harvested_manifests,
|
1800
|
+
:description,
|
1801
|
+
:schedule_configuration,
|
1802
|
+
:arn,
|
1803
|
+
:created_at,
|
1804
|
+
:modified_at,
|
1805
|
+
:status,
|
1806
|
+
:error_message,
|
1807
|
+
:etag,
|
1808
|
+
:tags)
|
1809
|
+
SENSITIVE = []
|
1810
|
+
include Aws::Structure
|
1811
|
+
end
|
1812
|
+
|
1481
1813
|
# Retrieve the HTTP live streaming (HLS) manifest configuration.
|
1482
1814
|
#
|
1483
1815
|
# @!attribute [rw] manifest_name
|
@@ -1815,6 +2147,174 @@ module Aws::MediaPackageV2
|
|
1815
2147
|
include Aws::Structure
|
1816
2148
|
end
|
1817
2149
|
|
2150
|
+
# Represents a harvest job resource in MediaPackage v2, which is used to
|
2151
|
+
# export content from an origin endpoint to an S3 bucket.
|
2152
|
+
#
|
2153
|
+
# @!attribute [rw] channel_group_name
|
2154
|
+
# The name of the channel group containing the channel associated with
|
2155
|
+
# this harvest job.
|
2156
|
+
# @return [String]
|
2157
|
+
#
|
2158
|
+
# @!attribute [rw] channel_name
|
2159
|
+
# The name of the channel associated with this harvest job.
|
2160
|
+
# @return [String]
|
2161
|
+
#
|
2162
|
+
# @!attribute [rw] origin_endpoint_name
|
2163
|
+
# The name of the origin endpoint associated with this harvest job.
|
2164
|
+
# @return [String]
|
2165
|
+
#
|
2166
|
+
# @!attribute [rw] destination
|
2167
|
+
# The S3 destination where the harvested content will be placed.
|
2168
|
+
# @return [Types::Destination]
|
2169
|
+
#
|
2170
|
+
# @!attribute [rw] harvest_job_name
|
2171
|
+
# The name of the harvest job.
|
2172
|
+
# @return [String]
|
2173
|
+
#
|
2174
|
+
# @!attribute [rw] harvested_manifests
|
2175
|
+
# A list of manifests that are being or have been harvested.
|
2176
|
+
# @return [Types::HarvestedManifests]
|
2177
|
+
#
|
2178
|
+
# @!attribute [rw] description
|
2179
|
+
# An optional description of the harvest job.
|
2180
|
+
# @return [String]
|
2181
|
+
#
|
2182
|
+
# @!attribute [rw] schedule_configuration
|
2183
|
+
# The configuration for when the harvest job is scheduled to run.
|
2184
|
+
# @return [Types::HarvesterScheduleConfiguration]
|
2185
|
+
#
|
2186
|
+
# @!attribute [rw] arn
|
2187
|
+
# The Amazon Resource Name (ARN) of the harvest job.
|
2188
|
+
# @return [String]
|
2189
|
+
#
|
2190
|
+
# @!attribute [rw] created_at
|
2191
|
+
# The date and time when the harvest job was created.
|
2192
|
+
# @return [Time]
|
2193
|
+
#
|
2194
|
+
# @!attribute [rw] modified_at
|
2195
|
+
# The date and time when the harvest job was last modified.
|
2196
|
+
# @return [Time]
|
2197
|
+
#
|
2198
|
+
# @!attribute [rw] status
|
2199
|
+
# The current status of the harvest job (e.g., QUEUED, IN\_PROGRESS,
|
2200
|
+
# CANCELLED, COMPLETED, FAILED).
|
2201
|
+
# @return [String]
|
2202
|
+
#
|
2203
|
+
# @!attribute [rw] error_message
|
2204
|
+
# An error message if the harvest job encountered any issues.
|
2205
|
+
# @return [String]
|
2206
|
+
#
|
2207
|
+
# @!attribute [rw] etag
|
2208
|
+
# The current version of the harvest job. Used for concurrency
|
2209
|
+
# control.
|
2210
|
+
# @return [String]
|
2211
|
+
#
|
2212
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/HarvestJob AWS API Documentation
|
2213
|
+
#
|
2214
|
+
class HarvestJob < Struct.new(
|
2215
|
+
:channel_group_name,
|
2216
|
+
:channel_name,
|
2217
|
+
:origin_endpoint_name,
|
2218
|
+
:destination,
|
2219
|
+
:harvest_job_name,
|
2220
|
+
:harvested_manifests,
|
2221
|
+
:description,
|
2222
|
+
:schedule_configuration,
|
2223
|
+
:arn,
|
2224
|
+
:created_at,
|
2225
|
+
:modified_at,
|
2226
|
+
:status,
|
2227
|
+
:error_message,
|
2228
|
+
:etag)
|
2229
|
+
SENSITIVE = []
|
2230
|
+
include Aws::Structure
|
2231
|
+
end
|
2232
|
+
|
2233
|
+
# Information about a harvested DASH manifest.
|
2234
|
+
#
|
2235
|
+
# @!attribute [rw] manifest_name
|
2236
|
+
# The name of the harvested DASH manifest.
|
2237
|
+
# @return [String]
|
2238
|
+
#
|
2239
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/HarvestedDashManifest AWS API Documentation
|
2240
|
+
#
|
2241
|
+
class HarvestedDashManifest < Struct.new(
|
2242
|
+
:manifest_name)
|
2243
|
+
SENSITIVE = []
|
2244
|
+
include Aws::Structure
|
2245
|
+
end
|
2246
|
+
|
2247
|
+
# Information about a harvested HLS manifest.
|
2248
|
+
#
|
2249
|
+
# @!attribute [rw] manifest_name
|
2250
|
+
# The name of the harvested HLS manifest.
|
2251
|
+
# @return [String]
|
2252
|
+
#
|
2253
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/HarvestedHlsManifest AWS API Documentation
|
2254
|
+
#
|
2255
|
+
class HarvestedHlsManifest < Struct.new(
|
2256
|
+
:manifest_name)
|
2257
|
+
SENSITIVE = []
|
2258
|
+
include Aws::Structure
|
2259
|
+
end
|
2260
|
+
|
2261
|
+
# Information about a harvested Low-Latency HLS manifest.
|
2262
|
+
#
|
2263
|
+
# @!attribute [rw] manifest_name
|
2264
|
+
# The name of the harvested Low-Latency HLS manifest.
|
2265
|
+
# @return [String]
|
2266
|
+
#
|
2267
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/HarvestedLowLatencyHlsManifest AWS API Documentation
|
2268
|
+
#
|
2269
|
+
class HarvestedLowLatencyHlsManifest < Struct.new(
|
2270
|
+
:manifest_name)
|
2271
|
+
SENSITIVE = []
|
2272
|
+
include Aws::Structure
|
2273
|
+
end
|
2274
|
+
|
2275
|
+
# A collection of harvested manifests of different types.
|
2276
|
+
#
|
2277
|
+
# @!attribute [rw] hls_manifests
|
2278
|
+
# A list of harvested HLS manifests.
|
2279
|
+
# @return [Array<Types::HarvestedHlsManifest>]
|
2280
|
+
#
|
2281
|
+
# @!attribute [rw] dash_manifests
|
2282
|
+
# A list of harvested DASH manifests.
|
2283
|
+
# @return [Array<Types::HarvestedDashManifest>]
|
2284
|
+
#
|
2285
|
+
# @!attribute [rw] low_latency_hls_manifests
|
2286
|
+
# A list of harvested Low-Latency HLS manifests.
|
2287
|
+
# @return [Array<Types::HarvestedLowLatencyHlsManifest>]
|
2288
|
+
#
|
2289
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/HarvestedManifests AWS API Documentation
|
2290
|
+
#
|
2291
|
+
class HarvestedManifests < Struct.new(
|
2292
|
+
:hls_manifests,
|
2293
|
+
:dash_manifests,
|
2294
|
+
:low_latency_hls_manifests)
|
2295
|
+
SENSITIVE = []
|
2296
|
+
include Aws::Structure
|
2297
|
+
end
|
2298
|
+
|
2299
|
+
# Defines the schedule configuration for a harvest job.
|
2300
|
+
#
|
2301
|
+
# @!attribute [rw] start_time
|
2302
|
+
# The start time for the harvest job.
|
2303
|
+
# @return [Time]
|
2304
|
+
#
|
2305
|
+
# @!attribute [rw] end_time
|
2306
|
+
# The end time for the harvest job.
|
2307
|
+
# @return [Time]
|
2308
|
+
#
|
2309
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/HarvesterScheduleConfiguration AWS API Documentation
|
2310
|
+
#
|
2311
|
+
class HarvesterScheduleConfiguration < Struct.new(
|
2312
|
+
:start_time,
|
2313
|
+
:end_time)
|
2314
|
+
SENSITIVE = []
|
2315
|
+
include Aws::Structure
|
2316
|
+
end
|
2317
|
+
|
1818
2318
|
# The ingest domain URL where the source stream should be sent.
|
1819
2319
|
#
|
1820
2320
|
# @!attribute [rw] id
|
@@ -1947,6 +2447,75 @@ module Aws::MediaPackageV2
|
|
1947
2447
|
include Aws::Structure
|
1948
2448
|
end
|
1949
2449
|
|
2450
|
+
# The request object for listing harvest jobs.
|
2451
|
+
#
|
2452
|
+
# @!attribute [rw] channel_group_name
|
2453
|
+
# The name of the channel group to filter the harvest jobs by. If
|
2454
|
+
# specified, only harvest jobs associated with channels in this group
|
2455
|
+
# will be returned.
|
2456
|
+
# @return [String]
|
2457
|
+
#
|
2458
|
+
# @!attribute [rw] channel_name
|
2459
|
+
# The name of the channel to filter the harvest jobs by. If specified,
|
2460
|
+
# only harvest jobs associated with this channel will be returned.
|
2461
|
+
# @return [String]
|
2462
|
+
#
|
2463
|
+
# @!attribute [rw] origin_endpoint_name
|
2464
|
+
# The name of the origin endpoint to filter the harvest jobs by. If
|
2465
|
+
# specified, only harvest jobs associated with this origin endpoint
|
2466
|
+
# will be returned.
|
2467
|
+
# @return [String]
|
2468
|
+
#
|
2469
|
+
# @!attribute [rw] status
|
2470
|
+
# The status to filter the harvest jobs by. If specified, only harvest
|
2471
|
+
# jobs with this status will be returned.
|
2472
|
+
# @return [String]
|
2473
|
+
#
|
2474
|
+
# @!attribute [rw] max_results
|
2475
|
+
# The maximum number of harvest jobs to return in a single request. If
|
2476
|
+
# not specified, a default value will be used.
|
2477
|
+
# @return [Integer]
|
2478
|
+
#
|
2479
|
+
# @!attribute [rw] next_token
|
2480
|
+
# A token used for pagination. Provide this value in subsequent
|
2481
|
+
# requests to retrieve the next set of results.
|
2482
|
+
# @return [String]
|
2483
|
+
#
|
2484
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListHarvestJobsRequest AWS API Documentation
|
2485
|
+
#
|
2486
|
+
class ListHarvestJobsRequest < Struct.new(
|
2487
|
+
:channel_group_name,
|
2488
|
+
:channel_name,
|
2489
|
+
:origin_endpoint_name,
|
2490
|
+
:status,
|
2491
|
+
:max_results,
|
2492
|
+
:next_token)
|
2493
|
+
SENSITIVE = []
|
2494
|
+
include Aws::Structure
|
2495
|
+
end
|
2496
|
+
|
2497
|
+
# The response object containing the list of harvest jobs that match the
|
2498
|
+
# specified criteria.
|
2499
|
+
#
|
2500
|
+
# @!attribute [rw] items
|
2501
|
+
# An array of harvest job objects that match the specified criteria.
|
2502
|
+
# @return [Array<Types::HarvestJob>]
|
2503
|
+
#
|
2504
|
+
# @!attribute [rw] next_token
|
2505
|
+
# A token used for pagination. Include this value in subsequent
|
2506
|
+
# requests to retrieve the next set of results. If null, there are no
|
2507
|
+
# more results to retrieve.
|
2508
|
+
# @return [String]
|
2509
|
+
#
|
2510
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListHarvestJobsResponse AWS API Documentation
|
2511
|
+
#
|
2512
|
+
class ListHarvestJobsResponse < Struct.new(
|
2513
|
+
:items,
|
2514
|
+
:next_token)
|
2515
|
+
SENSITIVE = []
|
2516
|
+
include Aws::Structure
|
2517
|
+
end
|
2518
|
+
|
1950
2519
|
# List the HTTP live streaming (HLS) manifest configuration.
|
1951
2520
|
#
|
1952
2521
|
# @!attribute [rw] manifest_name
|
@@ -2255,6 +2824,28 @@ module Aws::MediaPackageV2
|
|
2255
2824
|
include Aws::Structure
|
2256
2825
|
end
|
2257
2826
|
|
2827
|
+
# Configuration parameters for where in an S3 bucket to place the
|
2828
|
+
# harvested content.
|
2829
|
+
#
|
2830
|
+
# @!attribute [rw] bucket_name
|
2831
|
+
# The name of an S3 bucket within which harvested content will be
|
2832
|
+
# exported.
|
2833
|
+
# @return [String]
|
2834
|
+
#
|
2835
|
+
# @!attribute [rw] destination_path
|
2836
|
+
# The path within the specified S3 bucket where the harvested content
|
2837
|
+
# will be placed.
|
2838
|
+
# @return [String]
|
2839
|
+
#
|
2840
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/S3DestinationConfig AWS API Documentation
|
2841
|
+
#
|
2842
|
+
class S3DestinationConfig < Struct.new(
|
2843
|
+
:bucket_name,
|
2844
|
+
:destination_path)
|
2845
|
+
SENSITIVE = []
|
2846
|
+
include Aws::Structure
|
2847
|
+
end
|
2848
|
+
|
2258
2849
|
# The SCTE configuration.
|
2259
2850
|
#
|
2260
2851
|
# @!attribute [rw] scte_filter
|