aws-sdk-mediapackage 1.22.0 → 1.23.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16aafc982f5982843b21cb78d46abae51cedd370
4
- data.tar.gz: 65e832ad95818f3b31a0d22b64fc7e833ea9685f
3
+ metadata.gz: 6b4a38893d43803ad714eb9bac56eac9c8ec0d32
4
+ data.tar.gz: 13113372b750ed50c89788567fbc4b41cf302b4f
5
5
  SHA512:
6
- metadata.gz: f3c6052b60d31efaec4468113ababa62b6dcaa15db2fa9adc1dca20e90b259e818e0c9e7e478b9ea9c8881b18f992ced8da3c6de6dc2f1571cd0d1f2fef11742
7
- data.tar.gz: f50f80b821624231c2f7b061e84fca580c5f61e74cbddc4ce3bbdb47a37ac18b895fed3c5e0fb366dfe0242d68639f676eeab4704dbf9e04aa69b4fc0cd932cb
6
+ metadata.gz: b126699aad67c86da1e4f864d7227f8f77229af7a6e756e2bf6055e9334a3b8993a3fd07b8af567684b63c55ee7bd5303d7f44f67c3a1f408f924d6050a9072b
7
+ data.tar.gz: 40eda489ef0192d9bb11a98176bba116560e1af60d74f922b1c08a8dc7d29c77b23a05f3d335b878c0168072d99c555fefd5b7c6a2e2b374b0aefeebeb1a707c
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-mediapackage/customizations'
42
42
  # @service
43
43
  module Aws::MediaPackage
44
44
 
45
- GEM_VERSION = '1.22.0'
45
+ GEM_VERSION = '1.23.0'
46
46
 
47
47
  end
@@ -303,6 +303,69 @@ module Aws::MediaPackage
303
303
  req.send_request(options)
304
304
  end
305
305
 
306
+ # Creates a new HarvestJob record.
307
+ #
308
+ # @option params [required, String] :end_time
309
+ #
310
+ # @option params [required, String] :id
311
+ #
312
+ # @option params [required, String] :origin_endpoint_id
313
+ #
314
+ # @option params [required, Types::S3Destination] :s3_destination
315
+ # Configuration parameters for where in an S3 bucket to place the
316
+ # harvested content
317
+ #
318
+ # @option params [required, String] :start_time
319
+ #
320
+ # @return [Types::CreateHarvestJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
321
+ #
322
+ # * {Types::CreateHarvestJobResponse#arn #arn} => String
323
+ # * {Types::CreateHarvestJobResponse#channel_id #channel_id} => String
324
+ # * {Types::CreateHarvestJobResponse#created_at #created_at} => String
325
+ # * {Types::CreateHarvestJobResponse#end_time #end_time} => String
326
+ # * {Types::CreateHarvestJobResponse#id #id} => String
327
+ # * {Types::CreateHarvestJobResponse#origin_endpoint_id #origin_endpoint_id} => String
328
+ # * {Types::CreateHarvestJobResponse#s3_destination #s3_destination} => Types::S3Destination
329
+ # * {Types::CreateHarvestJobResponse#start_time #start_time} => String
330
+ # * {Types::CreateHarvestJobResponse#status #status} => String
331
+ #
332
+ # @example Request syntax with placeholder values
333
+ #
334
+ # resp = client.create_harvest_job({
335
+ # end_time: "__string", # required
336
+ # id: "__string", # required
337
+ # origin_endpoint_id: "__string", # required
338
+ # s3_destination: { # required
339
+ # bucket_name: "__string", # required
340
+ # manifest_key: "__string", # required
341
+ # role_arn: "__string", # required
342
+ # },
343
+ # start_time: "__string", # required
344
+ # })
345
+ #
346
+ # @example Response structure
347
+ #
348
+ # resp.arn #=> String
349
+ # resp.channel_id #=> String
350
+ # resp.created_at #=> String
351
+ # resp.end_time #=> String
352
+ # resp.id #=> String
353
+ # resp.origin_endpoint_id #=> String
354
+ # resp.s3_destination.bucket_name #=> String
355
+ # resp.s3_destination.manifest_key #=> String
356
+ # resp.s3_destination.role_arn #=> String
357
+ # resp.start_time #=> String
358
+ # resp.status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
359
+ #
360
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateHarvestJob AWS API Documentation
361
+ #
362
+ # @overload create_harvest_job(params = {})
363
+ # @param [Hash] params ({})
364
+ def create_harvest_job(params = {}, options = {})
365
+ req = build_request(:create_harvest_job, params)
366
+ req.send_request(options)
367
+ end
368
+
306
369
  # Creates a new OriginEndpoint record.
307
370
  #
308
371
  # @option params [required, String] :channel_id
@@ -325,6 +388,8 @@ module Aws::MediaPackage
325
388
  # @option params [Types::MssPackage] :mss_package
326
389
  # A Microsoft Smooth Streaming (MSS) packaging configuration.
327
390
  #
391
+ # @option params [String] :origination
392
+ #
328
393
  # @option params [Integer] :startover_window_seconds
329
394
  #
330
395
  # @option params [Hash<String,String>] :tags
@@ -345,6 +410,7 @@ module Aws::MediaPackage
345
410
  # * {Types::CreateOriginEndpointResponse#id #id} => String
346
411
  # * {Types::CreateOriginEndpointResponse#manifest_name #manifest_name} => String
347
412
  # * {Types::CreateOriginEndpointResponse#mss_package #mss_package} => Types::MssPackage
413
+ # * {Types::CreateOriginEndpointResponse#origination #origination} => String
348
414
  # * {Types::CreateOriginEndpointResponse#startover_window_seconds #startover_window_seconds} => Integer
349
415
  # * {Types::CreateOriginEndpointResponse#tags #tags} => Hash&lt;String,String&gt;
350
416
  # * {Types::CreateOriginEndpointResponse#time_delay_seconds #time_delay_seconds} => Integer
@@ -465,6 +531,7 @@ module Aws::MediaPackage
465
531
  # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
466
532
  # },
467
533
  # },
534
+ # origination: "ALLOW", # accepts ALLOW, DENY
468
535
  # startover_window_seconds: 1,
469
536
  # tags: {
470
537
  # "__string" => "__string",
@@ -558,6 +625,7 @@ module Aws::MediaPackage
558
625
  # resp.mss_package.stream_selection.max_video_bits_per_second #=> Integer
559
626
  # resp.mss_package.stream_selection.min_video_bits_per_second #=> Integer
560
627
  # resp.mss_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
628
+ # resp.origination #=> String, one of "ALLOW", "DENY"
561
629
  # resp.startover_window_seconds #=> Integer
562
630
  # resp.tags #=> Hash
563
631
  # resp.tags["__string"] #=> String
@@ -657,6 +725,51 @@ module Aws::MediaPackage
657
725
  req.send_request(options)
658
726
  end
659
727
 
728
+ # Gets details about an existing HarvestJob.
729
+ #
730
+ # @option params [required, String] :id
731
+ #
732
+ # @return [Types::DescribeHarvestJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
733
+ #
734
+ # * {Types::DescribeHarvestJobResponse#arn #arn} => String
735
+ # * {Types::DescribeHarvestJobResponse#channel_id #channel_id} => String
736
+ # * {Types::DescribeHarvestJobResponse#created_at #created_at} => String
737
+ # * {Types::DescribeHarvestJobResponse#end_time #end_time} => String
738
+ # * {Types::DescribeHarvestJobResponse#id #id} => String
739
+ # * {Types::DescribeHarvestJobResponse#origin_endpoint_id #origin_endpoint_id} => String
740
+ # * {Types::DescribeHarvestJobResponse#s3_destination #s3_destination} => Types::S3Destination
741
+ # * {Types::DescribeHarvestJobResponse#start_time #start_time} => String
742
+ # * {Types::DescribeHarvestJobResponse#status #status} => String
743
+ #
744
+ # @example Request syntax with placeholder values
745
+ #
746
+ # resp = client.describe_harvest_job({
747
+ # id: "__string", # required
748
+ # })
749
+ #
750
+ # @example Response structure
751
+ #
752
+ # resp.arn #=> String
753
+ # resp.channel_id #=> String
754
+ # resp.created_at #=> String
755
+ # resp.end_time #=> String
756
+ # resp.id #=> String
757
+ # resp.origin_endpoint_id #=> String
758
+ # resp.s3_destination.bucket_name #=> String
759
+ # resp.s3_destination.manifest_key #=> String
760
+ # resp.s3_destination.role_arn #=> String
761
+ # resp.start_time #=> String
762
+ # resp.status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
763
+ #
764
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeHarvestJob AWS API Documentation
765
+ #
766
+ # @overload describe_harvest_job(params = {})
767
+ # @param [Hash] params ({})
768
+ def describe_harvest_job(params = {}, options = {})
769
+ req = build_request(:describe_harvest_job, params)
770
+ req.send_request(options)
771
+ end
772
+
660
773
  # Gets details about an existing OriginEndpoint.
661
774
  #
662
775
  # @option params [required, String] :id
@@ -672,6 +785,7 @@ module Aws::MediaPackage
672
785
  # * {Types::DescribeOriginEndpointResponse#id #id} => String
673
786
  # * {Types::DescribeOriginEndpointResponse#manifest_name #manifest_name} => String
674
787
  # * {Types::DescribeOriginEndpointResponse#mss_package #mss_package} => Types::MssPackage
788
+ # * {Types::DescribeOriginEndpointResponse#origination #origination} => String
675
789
  # * {Types::DescribeOriginEndpointResponse#startover_window_seconds #startover_window_seconds} => Integer
676
790
  # * {Types::DescribeOriginEndpointResponse#tags #tags} => Hash&lt;String,String&gt;
677
791
  # * {Types::DescribeOriginEndpointResponse#time_delay_seconds #time_delay_seconds} => Integer
@@ -769,6 +883,7 @@ module Aws::MediaPackage
769
883
  # resp.mss_package.stream_selection.max_video_bits_per_second #=> Integer
770
884
  # resp.mss_package.stream_selection.min_video_bits_per_second #=> Integer
771
885
  # resp.mss_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
886
+ # resp.origination #=> String, one of "ALLOW", "DENY"
772
887
  # resp.startover_window_seconds #=> Integer
773
888
  # resp.tags #=> Hash
774
889
  # resp.tags["__string"] #=> String
@@ -828,6 +943,55 @@ module Aws::MediaPackage
828
943
  req.send_request(options)
829
944
  end
830
945
 
946
+ # Returns a collection of HarvestJob records.
947
+ #
948
+ # @option params [String] :include_channel_id
949
+ #
950
+ # @option params [String] :include_status
951
+ #
952
+ # @option params [Integer] :max_results
953
+ #
954
+ # @option params [String] :next_token
955
+ #
956
+ # @return [Types::ListHarvestJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
957
+ #
958
+ # * {Types::ListHarvestJobsResponse#harvest_jobs #harvest_jobs} => Array&lt;Types::HarvestJob&gt;
959
+ # * {Types::ListHarvestJobsResponse#next_token #next_token} => String
960
+ #
961
+ # @example Request syntax with placeholder values
962
+ #
963
+ # resp = client.list_harvest_jobs({
964
+ # include_channel_id: "__string",
965
+ # include_status: "__string",
966
+ # max_results: 1,
967
+ # next_token: "__string",
968
+ # })
969
+ #
970
+ # @example Response structure
971
+ #
972
+ # resp.harvest_jobs #=> Array
973
+ # resp.harvest_jobs[0].arn #=> String
974
+ # resp.harvest_jobs[0].channel_id #=> String
975
+ # resp.harvest_jobs[0].created_at #=> String
976
+ # resp.harvest_jobs[0].end_time #=> String
977
+ # resp.harvest_jobs[0].id #=> String
978
+ # resp.harvest_jobs[0].origin_endpoint_id #=> String
979
+ # resp.harvest_jobs[0].s3_destination.bucket_name #=> String
980
+ # resp.harvest_jobs[0].s3_destination.manifest_key #=> String
981
+ # resp.harvest_jobs[0].s3_destination.role_arn #=> String
982
+ # resp.harvest_jobs[0].start_time #=> String
983
+ # resp.harvest_jobs[0].status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
984
+ # resp.next_token #=> String
985
+ #
986
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListHarvestJobs AWS API Documentation
987
+ #
988
+ # @overload list_harvest_jobs(params = {})
989
+ # @param [Hash] params ({})
990
+ def list_harvest_jobs(params = {}, options = {})
991
+ req = build_request(:list_harvest_jobs, params)
992
+ req.send_request(options)
993
+ end
994
+
831
995
  # Returns a collection of OriginEndpoint records.
832
996
  #
833
997
  # @option params [String] :channel_id
@@ -936,6 +1100,7 @@ module Aws::MediaPackage
936
1100
  # resp.origin_endpoints[0].mss_package.stream_selection.max_video_bits_per_second #=> Integer
937
1101
  # resp.origin_endpoints[0].mss_package.stream_selection.min_video_bits_per_second #=> Integer
938
1102
  # resp.origin_endpoints[0].mss_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
1103
+ # resp.origin_endpoints[0].origination #=> String, one of "ALLOW", "DENY"
939
1104
  # resp.origin_endpoints[0].startover_window_seconds #=> Integer
940
1105
  # resp.origin_endpoints[0].tags #=> Hash
941
1106
  # resp.origin_endpoints[0].tags["__string"] #=> String
@@ -1174,6 +1339,8 @@ module Aws::MediaPackage
1174
1339
  # @option params [Types::MssPackage] :mss_package
1175
1340
  # A Microsoft Smooth Streaming (MSS) packaging configuration.
1176
1341
  #
1342
+ # @option params [String] :origination
1343
+ #
1177
1344
  # @option params [Integer] :startover_window_seconds
1178
1345
  #
1179
1346
  # @option params [Integer] :time_delay_seconds
@@ -1191,6 +1358,7 @@ module Aws::MediaPackage
1191
1358
  # * {Types::UpdateOriginEndpointResponse#id #id} => String
1192
1359
  # * {Types::UpdateOriginEndpointResponse#manifest_name #manifest_name} => String
1193
1360
  # * {Types::UpdateOriginEndpointResponse#mss_package #mss_package} => Types::MssPackage
1361
+ # * {Types::UpdateOriginEndpointResponse#origination #origination} => String
1194
1362
  # * {Types::UpdateOriginEndpointResponse#startover_window_seconds #startover_window_seconds} => Integer
1195
1363
  # * {Types::UpdateOriginEndpointResponse#tags #tags} => Hash&lt;String,String&gt;
1196
1364
  # * {Types::UpdateOriginEndpointResponse#time_delay_seconds #time_delay_seconds} => Integer
@@ -1310,6 +1478,7 @@ module Aws::MediaPackage
1310
1478
  # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
1311
1479
  # },
1312
1480
  # },
1481
+ # origination: "ALLOW", # accepts ALLOW, DENY
1313
1482
  # startover_window_seconds: 1,
1314
1483
  # time_delay_seconds: 1,
1315
1484
  # whitelist: ["__string"],
@@ -1400,6 +1569,7 @@ module Aws::MediaPackage
1400
1569
  # resp.mss_package.stream_selection.max_video_bits_per_second #=> Integer
1401
1570
  # resp.mss_package.stream_selection.min_video_bits_per_second #=> Integer
1402
1571
  # resp.mss_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
1572
+ # resp.origination #=> String, one of "ALLOW", "DENY"
1403
1573
  # resp.startover_window_seconds #=> Integer
1404
1574
  # resp.tags #=> Hash
1405
1575
  # resp.tags["__string"] #=> String
@@ -1430,7 +1600,7 @@ module Aws::MediaPackage
1430
1600
  params: params,
1431
1601
  config: config)
1432
1602
  context[:gem_name] = 'aws-sdk-mediapackage'
1433
- context[:gem_version] = '1.22.0'
1603
+ context[:gem_version] = '1.23.0'
1434
1604
  Seahorse::Client::Request.new(handlers, context)
1435
1605
  end
1436
1606
 
@@ -23,6 +23,8 @@ module Aws::MediaPackage
23
23
  CmafPackageCreateOrUpdateParameters = Shapes::StructureShape.new(name: 'CmafPackageCreateOrUpdateParameters')
24
24
  CreateChannelRequest = Shapes::StructureShape.new(name: 'CreateChannelRequest')
25
25
  CreateChannelResponse = Shapes::StructureShape.new(name: 'CreateChannelResponse')
26
+ CreateHarvestJobRequest = Shapes::StructureShape.new(name: 'CreateHarvestJobRequest')
27
+ CreateHarvestJobResponse = Shapes::StructureShape.new(name: 'CreateHarvestJobResponse')
26
28
  CreateOriginEndpointRequest = Shapes::StructureShape.new(name: 'CreateOriginEndpointRequest')
27
29
  CreateOriginEndpointResponse = Shapes::StructureShape.new(name: 'CreateOriginEndpointResponse')
28
30
  DashEncryption = Shapes::StructureShape.new(name: 'DashEncryption')
@@ -33,10 +35,15 @@ module Aws::MediaPackage
33
35
  DeleteOriginEndpointResponse = Shapes::StructureShape.new(name: 'DeleteOriginEndpointResponse')
34
36
  DescribeChannelRequest = Shapes::StructureShape.new(name: 'DescribeChannelRequest')
35
37
  DescribeChannelResponse = Shapes::StructureShape.new(name: 'DescribeChannelResponse')
38
+ DescribeHarvestJobRequest = Shapes::StructureShape.new(name: 'DescribeHarvestJobRequest')
39
+ DescribeHarvestJobResponse = Shapes::StructureShape.new(name: 'DescribeHarvestJobResponse')
36
40
  DescribeOriginEndpointRequest = Shapes::StructureShape.new(name: 'DescribeOriginEndpointRequest')
37
41
  DescribeOriginEndpointResponse = Shapes::StructureShape.new(name: 'DescribeOriginEndpointResponse')
38
42
  EncryptionMethod = Shapes::StringShape.new(name: 'EncryptionMethod')
39
43
  ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
44
+ HarvestJob = Shapes::StructureShape.new(name: 'HarvestJob')
45
+ HarvestJobCreateParameters = Shapes::StructureShape.new(name: 'HarvestJobCreateParameters')
46
+ HarvestJobList = Shapes::StructureShape.new(name: 'HarvestJobList')
40
47
  HlsEncryption = Shapes::StructureShape.new(name: 'HlsEncryption')
41
48
  HlsIngest = Shapes::StructureShape.new(name: 'HlsIngest')
42
49
  HlsManifest = Shapes::StructureShape.new(name: 'HlsManifest')
@@ -46,6 +53,8 @@ module Aws::MediaPackage
46
53
  InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
47
54
  ListChannelsRequest = Shapes::StructureShape.new(name: 'ListChannelsRequest')
48
55
  ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
56
+ ListHarvestJobsRequest = Shapes::StructureShape.new(name: 'ListHarvestJobsRequest')
57
+ ListHarvestJobsResponse = Shapes::StructureShape.new(name: 'ListHarvestJobsResponse')
49
58
  ListOriginEndpointsRequest = Shapes::StructureShape.new(name: 'ListOriginEndpointsRequest')
50
59
  ListOriginEndpointsResponse = Shapes::StructureShape.new(name: 'ListOriginEndpointsResponse')
51
60
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
@@ -59,15 +68,18 @@ module Aws::MediaPackage
59
68
  OriginEndpointCreateParameters = Shapes::StructureShape.new(name: 'OriginEndpointCreateParameters')
60
69
  OriginEndpointList = Shapes::StructureShape.new(name: 'OriginEndpointList')
61
70
  OriginEndpointUpdateParameters = Shapes::StructureShape.new(name: 'OriginEndpointUpdateParameters')
71
+ Origination = Shapes::StringShape.new(name: 'Origination')
62
72
  PlaylistType = Shapes::StringShape.new(name: 'PlaylistType')
63
73
  Profile = Shapes::StringShape.new(name: 'Profile')
64
74
  RotateChannelCredentialsRequest = Shapes::StructureShape.new(name: 'RotateChannelCredentialsRequest')
65
75
  RotateChannelCredentialsResponse = Shapes::StructureShape.new(name: 'RotateChannelCredentialsResponse')
66
76
  RotateIngestEndpointCredentialsRequest = Shapes::StructureShape.new(name: 'RotateIngestEndpointCredentialsRequest')
67
77
  RotateIngestEndpointCredentialsResponse = Shapes::StructureShape.new(name: 'RotateIngestEndpointCredentialsResponse')
78
+ S3Destination = Shapes::StructureShape.new(name: 'S3Destination')
68
79
  SegmentTemplateFormat = Shapes::StringShape.new(name: 'SegmentTemplateFormat')
69
80
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
70
81
  SpekeKeyProvider = Shapes::StructureShape.new(name: 'SpekeKeyProvider')
82
+ Status = Shapes::StringShape.new(name: 'Status')
71
83
  StreamOrder = Shapes::StringShape.new(name: 'StreamOrder')
72
84
  StreamSelection = Shapes::StructureShape.new(name: 'StreamSelection')
73
85
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
@@ -86,6 +98,7 @@ module Aws::MediaPackage
86
98
  __double = Shapes::FloatShape.new(name: '__double')
87
99
  __integer = Shapes::IntegerShape.new(name: '__integer')
88
100
  __listOfChannel = Shapes::ListShape.new(name: '__listOfChannel')
101
+ __listOfHarvestJob = Shapes::ListShape.new(name: '__listOfHarvestJob')
89
102
  __listOfHlsManifest = Shapes::ListShape.new(name: '__listOfHlsManifest')
90
103
  __listOfHlsManifestCreateOrUpdateParameters = Shapes::ListShape.new(name: '__listOfHlsManifestCreateOrUpdateParameters')
91
104
  __listOfIngestEndpoint = Shapes::ListShape.new(name: '__listOfIngestEndpoint')
@@ -147,6 +160,24 @@ module Aws::MediaPackage
147
160
  CreateChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
148
161
  CreateChannelResponse.struct_class = Types::CreateChannelResponse
149
162
 
163
+ CreateHarvestJobRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "endTime"))
164
+ CreateHarvestJobRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
165
+ CreateHarvestJobRequest.add_member(:origin_endpoint_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "originEndpointId"))
166
+ CreateHarvestJobRequest.add_member(:s3_destination, Shapes::ShapeRef.new(shape: S3Destination, required: true, location_name: "s3Destination"))
167
+ CreateHarvestJobRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "startTime"))
168
+ CreateHarvestJobRequest.struct_class = Types::CreateHarvestJobRequest
169
+
170
+ CreateHarvestJobResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
171
+ CreateHarvestJobResponse.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, location_name: "channelId"))
172
+ CreateHarvestJobResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: __string, location_name: "createdAt"))
173
+ CreateHarvestJobResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: __string, location_name: "endTime"))
174
+ CreateHarvestJobResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
175
+ CreateHarvestJobResponse.add_member(:origin_endpoint_id, Shapes::ShapeRef.new(shape: __string, location_name: "originEndpointId"))
176
+ CreateHarvestJobResponse.add_member(:s3_destination, Shapes::ShapeRef.new(shape: S3Destination, location_name: "s3Destination"))
177
+ CreateHarvestJobResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: __string, location_name: "startTime"))
178
+ CreateHarvestJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
179
+ CreateHarvestJobResponse.struct_class = Types::CreateHarvestJobResponse
180
+
150
181
  CreateOriginEndpointRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "channelId"))
151
182
  CreateOriginEndpointRequest.add_member(:cmaf_package, Shapes::ShapeRef.new(shape: CmafPackageCreateOrUpdateParameters, location_name: "cmafPackage"))
152
183
  CreateOriginEndpointRequest.add_member(:dash_package, Shapes::ShapeRef.new(shape: DashPackage, location_name: "dashPackage"))
@@ -155,6 +186,7 @@ module Aws::MediaPackage
155
186
  CreateOriginEndpointRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
156
187
  CreateOriginEndpointRequest.add_member(:manifest_name, Shapes::ShapeRef.new(shape: __string, location_name: "manifestName"))
157
188
  CreateOriginEndpointRequest.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
189
+ CreateOriginEndpointRequest.add_member(:origination, Shapes::ShapeRef.new(shape: Origination, location_name: "origination"))
158
190
  CreateOriginEndpointRequest.add_member(:startover_window_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "startoverWindowSeconds"))
159
191
  CreateOriginEndpointRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
160
192
  CreateOriginEndpointRequest.add_member(:time_delay_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "timeDelaySeconds"))
@@ -170,6 +202,7 @@ module Aws::MediaPackage
170
202
  CreateOriginEndpointResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
171
203
  CreateOriginEndpointResponse.add_member(:manifest_name, Shapes::ShapeRef.new(shape: __string, location_name: "manifestName"))
172
204
  CreateOriginEndpointResponse.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
205
+ CreateOriginEndpointResponse.add_member(:origination, Shapes::ShapeRef.new(shape: Origination, location_name: "origination"))
173
206
  CreateOriginEndpointResponse.add_member(:startover_window_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "startoverWindowSeconds"))
174
207
  CreateOriginEndpointResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
175
208
  CreateOriginEndpointResponse.add_member(:time_delay_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "timeDelaySeconds"))
@@ -216,6 +249,20 @@ module Aws::MediaPackage
216
249
  DescribeChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
217
250
  DescribeChannelResponse.struct_class = Types::DescribeChannelResponse
218
251
 
252
+ DescribeHarvestJobRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
253
+ DescribeHarvestJobRequest.struct_class = Types::DescribeHarvestJobRequest
254
+
255
+ DescribeHarvestJobResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
256
+ DescribeHarvestJobResponse.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, location_name: "channelId"))
257
+ DescribeHarvestJobResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: __string, location_name: "createdAt"))
258
+ DescribeHarvestJobResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: __string, location_name: "endTime"))
259
+ DescribeHarvestJobResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
260
+ DescribeHarvestJobResponse.add_member(:origin_endpoint_id, Shapes::ShapeRef.new(shape: __string, location_name: "originEndpointId"))
261
+ DescribeHarvestJobResponse.add_member(:s3_destination, Shapes::ShapeRef.new(shape: S3Destination, location_name: "s3Destination"))
262
+ DescribeHarvestJobResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: __string, location_name: "startTime"))
263
+ DescribeHarvestJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
264
+ DescribeHarvestJobResponse.struct_class = Types::DescribeHarvestJobResponse
265
+
219
266
  DescribeOriginEndpointRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
220
267
  DescribeOriginEndpointRequest.struct_class = Types::DescribeOriginEndpointRequest
221
268
 
@@ -228,6 +275,7 @@ module Aws::MediaPackage
228
275
  DescribeOriginEndpointResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
229
276
  DescribeOriginEndpointResponse.add_member(:manifest_name, Shapes::ShapeRef.new(shape: __string, location_name: "manifestName"))
230
277
  DescribeOriginEndpointResponse.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
278
+ DescribeOriginEndpointResponse.add_member(:origination, Shapes::ShapeRef.new(shape: Origination, location_name: "origination"))
231
279
  DescribeOriginEndpointResponse.add_member(:startover_window_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "startoverWindowSeconds"))
232
280
  DescribeOriginEndpointResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
233
281
  DescribeOriginEndpointResponse.add_member(:time_delay_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "timeDelaySeconds"))
@@ -238,6 +286,28 @@ module Aws::MediaPackage
238
286
  ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
239
287
  ForbiddenException.struct_class = Types::ForbiddenException
240
288
 
289
+ HarvestJob.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
290
+ HarvestJob.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, location_name: "channelId"))
291
+ HarvestJob.add_member(:created_at, Shapes::ShapeRef.new(shape: __string, location_name: "createdAt"))
292
+ HarvestJob.add_member(:end_time, Shapes::ShapeRef.new(shape: __string, location_name: "endTime"))
293
+ HarvestJob.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
294
+ HarvestJob.add_member(:origin_endpoint_id, Shapes::ShapeRef.new(shape: __string, location_name: "originEndpointId"))
295
+ HarvestJob.add_member(:s3_destination, Shapes::ShapeRef.new(shape: S3Destination, location_name: "s3Destination"))
296
+ HarvestJob.add_member(:start_time, Shapes::ShapeRef.new(shape: __string, location_name: "startTime"))
297
+ HarvestJob.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
298
+ HarvestJob.struct_class = Types::HarvestJob
299
+
300
+ HarvestJobCreateParameters.add_member(:end_time, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "endTime"))
301
+ HarvestJobCreateParameters.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
302
+ HarvestJobCreateParameters.add_member(:origin_endpoint_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "originEndpointId"))
303
+ HarvestJobCreateParameters.add_member(:s3_destination, Shapes::ShapeRef.new(shape: S3Destination, required: true, location_name: "s3Destination"))
304
+ HarvestJobCreateParameters.add_member(:start_time, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "startTime"))
305
+ HarvestJobCreateParameters.struct_class = Types::HarvestJobCreateParameters
306
+
307
+ HarvestJobList.add_member(:harvest_jobs, Shapes::ShapeRef.new(shape: __listOfHarvestJob, location_name: "harvestJobs"))
308
+ HarvestJobList.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
309
+ HarvestJobList.struct_class = Types::HarvestJobList
310
+
241
311
  HlsEncryption.add_member(:constant_initialization_vector, Shapes::ShapeRef.new(shape: __string, location_name: "constantInitializationVector"))
242
312
  HlsEncryption.add_member(:encryption_method, Shapes::ShapeRef.new(shape: EncryptionMethod, location_name: "encryptionMethod"))
243
313
  HlsEncryption.add_member(:key_rotation_interval_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "keyRotationIntervalSeconds"))
@@ -299,6 +369,16 @@ module Aws::MediaPackage
299
369
  ListChannelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
300
370
  ListChannelsResponse.struct_class = Types::ListChannelsResponse
301
371
 
372
+ ListHarvestJobsRequest.add_member(:include_channel_id, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "includeChannelId"))
373
+ ListHarvestJobsRequest.add_member(:include_status, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "includeStatus"))
374
+ ListHarvestJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
375
+ ListHarvestJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
376
+ ListHarvestJobsRequest.struct_class = Types::ListHarvestJobsRequest
377
+
378
+ ListHarvestJobsResponse.add_member(:harvest_jobs, Shapes::ShapeRef.new(shape: __listOfHarvestJob, location_name: "harvestJobs"))
379
+ ListHarvestJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
380
+ ListHarvestJobsResponse.struct_class = Types::ListHarvestJobsResponse
381
+
302
382
  ListOriginEndpointsRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "channelId"))
303
383
  ListOriginEndpointsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
304
384
  ListOriginEndpointsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
@@ -335,6 +415,7 @@ module Aws::MediaPackage
335
415
  OriginEndpoint.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
336
416
  OriginEndpoint.add_member(:manifest_name, Shapes::ShapeRef.new(shape: __string, location_name: "manifestName"))
337
417
  OriginEndpoint.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
418
+ OriginEndpoint.add_member(:origination, Shapes::ShapeRef.new(shape: Origination, location_name: "origination"))
338
419
  OriginEndpoint.add_member(:startover_window_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "startoverWindowSeconds"))
339
420
  OriginEndpoint.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
340
421
  OriginEndpoint.add_member(:time_delay_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "timeDelaySeconds"))
@@ -350,6 +431,7 @@ module Aws::MediaPackage
350
431
  OriginEndpointCreateParameters.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
351
432
  OriginEndpointCreateParameters.add_member(:manifest_name, Shapes::ShapeRef.new(shape: __string, location_name: "manifestName"))
352
433
  OriginEndpointCreateParameters.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
434
+ OriginEndpointCreateParameters.add_member(:origination, Shapes::ShapeRef.new(shape: Origination, location_name: "origination"))
353
435
  OriginEndpointCreateParameters.add_member(:startover_window_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "startoverWindowSeconds"))
354
436
  OriginEndpointCreateParameters.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
355
437
  OriginEndpointCreateParameters.add_member(:time_delay_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "timeDelaySeconds"))
@@ -366,6 +448,7 @@ module Aws::MediaPackage
366
448
  OriginEndpointUpdateParameters.add_member(:hls_package, Shapes::ShapeRef.new(shape: HlsPackage, location_name: "hlsPackage"))
367
449
  OriginEndpointUpdateParameters.add_member(:manifest_name, Shapes::ShapeRef.new(shape: __string, location_name: "manifestName"))
368
450
  OriginEndpointUpdateParameters.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
451
+ OriginEndpointUpdateParameters.add_member(:origination, Shapes::ShapeRef.new(shape: Origination, location_name: "origination"))
369
452
  OriginEndpointUpdateParameters.add_member(:startover_window_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "startoverWindowSeconds"))
370
453
  OriginEndpointUpdateParameters.add_member(:time_delay_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "timeDelaySeconds"))
371
454
  OriginEndpointUpdateParameters.add_member(:whitelist, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "whitelist"))
@@ -392,6 +475,11 @@ module Aws::MediaPackage
392
475
  RotateIngestEndpointCredentialsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
393
476
  RotateIngestEndpointCredentialsResponse.struct_class = Types::RotateIngestEndpointCredentialsResponse
394
477
 
478
+ S3Destination.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "bucketName"))
479
+ S3Destination.add_member(:manifest_key, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "manifestKey"))
480
+ S3Destination.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "roleArn"))
481
+ S3Destination.struct_class = Types::S3Destination
482
+
395
483
  ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
396
484
  ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
397
485
 
@@ -445,6 +533,7 @@ module Aws::MediaPackage
445
533
  UpdateOriginEndpointRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
446
534
  UpdateOriginEndpointRequest.add_member(:manifest_name, Shapes::ShapeRef.new(shape: __string, location_name: "manifestName"))
447
535
  UpdateOriginEndpointRequest.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
536
+ UpdateOriginEndpointRequest.add_member(:origination, Shapes::ShapeRef.new(shape: Origination, location_name: "origination"))
448
537
  UpdateOriginEndpointRequest.add_member(:startover_window_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "startoverWindowSeconds"))
449
538
  UpdateOriginEndpointRequest.add_member(:time_delay_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "timeDelaySeconds"))
450
539
  UpdateOriginEndpointRequest.add_member(:whitelist, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "whitelist"))
@@ -459,6 +548,7 @@ module Aws::MediaPackage
459
548
  UpdateOriginEndpointResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
460
549
  UpdateOriginEndpointResponse.add_member(:manifest_name, Shapes::ShapeRef.new(shape: __string, location_name: "manifestName"))
461
550
  UpdateOriginEndpointResponse.add_member(:mss_package, Shapes::ShapeRef.new(shape: MssPackage, location_name: "mssPackage"))
551
+ UpdateOriginEndpointResponse.add_member(:origination, Shapes::ShapeRef.new(shape: Origination, location_name: "origination"))
462
552
  UpdateOriginEndpointResponse.add_member(:startover_window_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "startoverWindowSeconds"))
463
553
  UpdateOriginEndpointResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
464
554
  UpdateOriginEndpointResponse.add_member(:time_delay_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "timeDelaySeconds"))
@@ -468,6 +558,8 @@ module Aws::MediaPackage
468
558
 
469
559
  __listOfChannel.member = Shapes::ShapeRef.new(shape: Channel)
470
560
 
561
+ __listOfHarvestJob.member = Shapes::ShapeRef.new(shape: HarvestJob)
562
+
471
563
  __listOfHlsManifest.member = Shapes::ShapeRef.new(shape: HlsManifest)
472
564
 
473
565
  __listOfHlsManifestCreateOrUpdateParameters.member = Shapes::ShapeRef.new(shape: HlsManifestCreateOrUpdateParameters)
@@ -516,6 +608,20 @@ module Aws::MediaPackage
516
608
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
517
609
  end)
518
610
 
611
+ api.add_operation(:create_harvest_job, Seahorse::Model::Operation.new.tap do |o|
612
+ o.name = "CreateHarvestJob"
613
+ o.http_method = "POST"
614
+ o.http_request_uri = "/harvest_jobs"
615
+ o.input = Shapes::ShapeRef.new(shape: CreateHarvestJobRequest)
616
+ o.output = Shapes::ShapeRef.new(shape: CreateHarvestJobResponse)
617
+ o.errors << Shapes::ShapeRef.new(shape: UnprocessableEntityException)
618
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
619
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
620
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
621
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
622
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
623
+ end)
624
+
519
625
  api.add_operation(:create_origin_endpoint, Seahorse::Model::Operation.new.tap do |o|
520
626
  o.name = "CreateOriginEndpoint"
521
627
  o.http_method = "POST"
@@ -572,6 +678,20 @@ module Aws::MediaPackage
572
678
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
573
679
  end)
574
680
 
681
+ api.add_operation(:describe_harvest_job, Seahorse::Model::Operation.new.tap do |o|
682
+ o.name = "DescribeHarvestJob"
683
+ o.http_method = "GET"
684
+ o.http_request_uri = "/harvest_jobs/{id}"
685
+ o.input = Shapes::ShapeRef.new(shape: DescribeHarvestJobRequest)
686
+ o.output = Shapes::ShapeRef.new(shape: DescribeHarvestJobResponse)
687
+ o.errors << Shapes::ShapeRef.new(shape: UnprocessableEntityException)
688
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
689
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
690
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
691
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
692
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
693
+ end)
694
+
575
695
  api.add_operation(:describe_origin_endpoint, Seahorse::Model::Operation.new.tap do |o|
576
696
  o.name = "DescribeOriginEndpoint"
577
697
  o.http_method = "GET"
@@ -606,6 +726,26 @@ module Aws::MediaPackage
606
726
  )
607
727
  end)
608
728
 
729
+ api.add_operation(:list_harvest_jobs, Seahorse::Model::Operation.new.tap do |o|
730
+ o.name = "ListHarvestJobs"
731
+ o.http_method = "GET"
732
+ o.http_request_uri = "/harvest_jobs"
733
+ o.input = Shapes::ShapeRef.new(shape: ListHarvestJobsRequest)
734
+ o.output = Shapes::ShapeRef.new(shape: ListHarvestJobsResponse)
735
+ o.errors << Shapes::ShapeRef.new(shape: UnprocessableEntityException)
736
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
737
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
738
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
739
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
740
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
741
+ o[:pager] = Aws::Pager.new(
742
+ limit_key: "max_results",
743
+ tokens: {
744
+ "next_token" => "next_token"
745
+ }
746
+ )
747
+ end)
748
+
609
749
  api.add_operation(:list_origin_endpoints, Seahorse::Model::Operation.new.tap do |o|
610
750
  o.name = "ListOriginEndpoints"
611
751
  o.http_method = "GET"
@@ -295,6 +295,93 @@ module Aws::MediaPackage
295
295
  include Aws::Structure
296
296
  end
297
297
 
298
+ # @note When making an API call, you may pass CreateHarvestJobRequest
299
+ # data as a hash:
300
+ #
301
+ # {
302
+ # end_time: "__string", # required
303
+ # id: "__string", # required
304
+ # origin_endpoint_id: "__string", # required
305
+ # s3_destination: { # required
306
+ # bucket_name: "__string", # required
307
+ # manifest_key: "__string", # required
308
+ # role_arn: "__string", # required
309
+ # },
310
+ # start_time: "__string", # required
311
+ # }
312
+ #
313
+ # @!attribute [rw] end_time
314
+ # @return [String]
315
+ #
316
+ # @!attribute [rw] id
317
+ # @return [String]
318
+ #
319
+ # @!attribute [rw] origin_endpoint_id
320
+ # @return [String]
321
+ #
322
+ # @!attribute [rw] s3_destination
323
+ # Configuration parameters for where in an S3 bucket to place the
324
+ # harvested content
325
+ # @return [Types::S3Destination]
326
+ #
327
+ # @!attribute [rw] start_time
328
+ # @return [String]
329
+ #
330
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateHarvestJobRequest AWS API Documentation
331
+ #
332
+ class CreateHarvestJobRequest < Struct.new(
333
+ :end_time,
334
+ :id,
335
+ :origin_endpoint_id,
336
+ :s3_destination,
337
+ :start_time)
338
+ include Aws::Structure
339
+ end
340
+
341
+ # @!attribute [rw] arn
342
+ # @return [String]
343
+ #
344
+ # @!attribute [rw] channel_id
345
+ # @return [String]
346
+ #
347
+ # @!attribute [rw] created_at
348
+ # @return [String]
349
+ #
350
+ # @!attribute [rw] end_time
351
+ # @return [String]
352
+ #
353
+ # @!attribute [rw] id
354
+ # @return [String]
355
+ #
356
+ # @!attribute [rw] origin_endpoint_id
357
+ # @return [String]
358
+ #
359
+ # @!attribute [rw] s3_destination
360
+ # Configuration parameters for where in an S3 bucket to place the
361
+ # harvested content
362
+ # @return [Types::S3Destination]
363
+ #
364
+ # @!attribute [rw] start_time
365
+ # @return [String]
366
+ #
367
+ # @!attribute [rw] status
368
+ # @return [String]
369
+ #
370
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateHarvestJobResponse AWS API Documentation
371
+ #
372
+ class CreateHarvestJobResponse < Struct.new(
373
+ :arn,
374
+ :channel_id,
375
+ :created_at,
376
+ :end_time,
377
+ :id,
378
+ :origin_endpoint_id,
379
+ :s3_destination,
380
+ :start_time,
381
+ :status)
382
+ include Aws::Structure
383
+ end
384
+
298
385
  # @note When making an API call, you may pass CreateOriginEndpointRequest
299
386
  # data as a hash:
300
387
  #
@@ -410,6 +497,7 @@ module Aws::MediaPackage
410
497
  # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
411
498
  # },
412
499
  # },
500
+ # origination: "ALLOW", # accepts ALLOW, DENY
413
501
  # startover_window_seconds: 1,
414
502
  # tags: {
415
503
  # "__string" => "__string",
@@ -447,6 +535,9 @@ module Aws::MediaPackage
447
535
  # A Microsoft Smooth Streaming (MSS) packaging configuration.
448
536
  # @return [Types::MssPackage]
449
537
  #
538
+ # @!attribute [rw] origination
539
+ # @return [String]
540
+ #
450
541
  # @!attribute [rw] startover_window_seconds
451
542
  # @return [Integer]
452
543
  #
@@ -471,6 +562,7 @@ module Aws::MediaPackage
471
562
  :id,
472
563
  :manifest_name,
473
564
  :mss_package,
565
+ :origination,
474
566
  :startover_window_seconds,
475
567
  :tags,
476
568
  :time_delay_seconds,
@@ -510,6 +602,9 @@ module Aws::MediaPackage
510
602
  # A Microsoft Smooth Streaming (MSS) packaging configuration.
511
603
  # @return [Types::MssPackage]
512
604
  #
605
+ # @!attribute [rw] origination
606
+ # @return [String]
607
+ #
513
608
  # @!attribute [rw] startover_window_seconds
514
609
  # @return [Integer]
515
610
  #
@@ -538,6 +633,7 @@ module Aws::MediaPackage
538
633
  :id,
539
634
  :manifest_name,
540
635
  :mss_package,
636
+ :origination,
541
637
  :startover_window_seconds,
542
638
  :tags,
543
639
  :time_delay_seconds,
@@ -806,6 +902,67 @@ module Aws::MediaPackage
806
902
  include Aws::Structure
807
903
  end
808
904
 
905
+ # @note When making an API call, you may pass DescribeHarvestJobRequest
906
+ # data as a hash:
907
+ #
908
+ # {
909
+ # id: "__string", # required
910
+ # }
911
+ #
912
+ # @!attribute [rw] id
913
+ # @return [String]
914
+ #
915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeHarvestJobRequest AWS API Documentation
916
+ #
917
+ class DescribeHarvestJobRequest < Struct.new(
918
+ :id)
919
+ include Aws::Structure
920
+ end
921
+
922
+ # @!attribute [rw] arn
923
+ # @return [String]
924
+ #
925
+ # @!attribute [rw] channel_id
926
+ # @return [String]
927
+ #
928
+ # @!attribute [rw] created_at
929
+ # @return [String]
930
+ #
931
+ # @!attribute [rw] end_time
932
+ # @return [String]
933
+ #
934
+ # @!attribute [rw] id
935
+ # @return [String]
936
+ #
937
+ # @!attribute [rw] origin_endpoint_id
938
+ # @return [String]
939
+ #
940
+ # @!attribute [rw] s3_destination
941
+ # Configuration parameters for where in an S3 bucket to place the
942
+ # harvested content
943
+ # @return [Types::S3Destination]
944
+ #
945
+ # @!attribute [rw] start_time
946
+ # @return [String]
947
+ #
948
+ # @!attribute [rw] status
949
+ # @return [String]
950
+ #
951
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeHarvestJobResponse AWS API Documentation
952
+ #
953
+ class DescribeHarvestJobResponse < Struct.new(
954
+ :arn,
955
+ :channel_id,
956
+ :created_at,
957
+ :end_time,
958
+ :id,
959
+ :origin_endpoint_id,
960
+ :s3_destination,
961
+ :start_time,
962
+ :status)
963
+ include Aws::Structure
964
+ end
965
+
809
966
  # @note When making an API call, you may pass DescribeOriginEndpointRequest
810
967
  # data as a hash:
811
968
  #
@@ -855,6 +1012,9 @@ module Aws::MediaPackage
855
1012
  # A Microsoft Smooth Streaming (MSS) packaging configuration.
856
1013
  # @return [Types::MssPackage]
857
1014
  #
1015
+ # @!attribute [rw] origination
1016
+ # @return [String]
1017
+ #
858
1018
  # @!attribute [rw] startover_window_seconds
859
1019
  # @return [Integer]
860
1020
  #
@@ -883,6 +1043,7 @@ module Aws::MediaPackage
883
1043
  :id,
884
1044
  :manifest_name,
885
1045
  :mss_package,
1046
+ :origination,
886
1047
  :startover_window_seconds,
887
1048
  :tags,
888
1049
  :time_delay_seconds,
@@ -901,6 +1062,120 @@ module Aws::MediaPackage
901
1062
  include Aws::Structure
902
1063
  end
903
1064
 
1065
+ # A HarvestJob resource configuration
1066
+ #
1067
+ # @!attribute [rw] arn
1068
+ # The Amazon Resource Name (ARN) assigned to the HarvestJob.
1069
+ # @return [String]
1070
+ #
1071
+ # @!attribute [rw] channel_id
1072
+ # The ID of the Channel that the HarvestJob will harvest from.
1073
+ # @return [String]
1074
+ #
1075
+ # @!attribute [rw] created_at
1076
+ # The time the HarvestJob was submitted
1077
+ # @return [String]
1078
+ #
1079
+ # @!attribute [rw] end_time
1080
+ # The end of the time-window which will be harvested.
1081
+ # @return [String]
1082
+ #
1083
+ # @!attribute [rw] id
1084
+ # The ID of the HarvestJob. The ID must be unique within the region
1085
+ # and it cannot be changed after the HarvestJob is submitted.
1086
+ # @return [String]
1087
+ #
1088
+ # @!attribute [rw] origin_endpoint_id
1089
+ # The ID of the OriginEndpoint that the HarvestJob will harvest from.
1090
+ # This cannot be changed after the HarvestJob is submitted.
1091
+ # @return [String]
1092
+ #
1093
+ # @!attribute [rw] s3_destination
1094
+ # Configuration parameters for where in an S3 bucket to place the
1095
+ # harvested content
1096
+ # @return [Types::S3Destination]
1097
+ #
1098
+ # @!attribute [rw] start_time
1099
+ # The start of the time-window which will be harvested.
1100
+ # @return [String]
1101
+ #
1102
+ # @!attribute [rw] status
1103
+ # The current status of the HarvestJob. Consider setting up a
1104
+ # CloudWatch Event to listen for HarvestJobs as they succeed or fail.
1105
+ # In the event of failure, the CloudWatch Event will include an
1106
+ # explanation of why the HarvestJob failed.
1107
+ # @return [String]
1108
+ #
1109
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HarvestJob AWS API Documentation
1110
+ #
1111
+ class HarvestJob < Struct.new(
1112
+ :arn,
1113
+ :channel_id,
1114
+ :created_at,
1115
+ :end_time,
1116
+ :id,
1117
+ :origin_endpoint_id,
1118
+ :s3_destination,
1119
+ :start_time,
1120
+ :status)
1121
+ include Aws::Structure
1122
+ end
1123
+
1124
+ # Configuration parameters for a new HarvestJob
1125
+ #
1126
+ # @!attribute [rw] end_time
1127
+ # The end of the time-window which will be harvested
1128
+ # @return [String]
1129
+ #
1130
+ # @!attribute [rw] id
1131
+ # The ID of the HarvestJob. The ID must be unique within the region
1132
+ # and it cannot be changed after the HarvestJob is submitted
1133
+ # @return [String]
1134
+ #
1135
+ # @!attribute [rw] origin_endpoint_id
1136
+ # The ID of the OriginEndpoint that the HarvestJob will harvest from.
1137
+ # This cannot be changed after the HarvestJob is submitted.
1138
+ # @return [String]
1139
+ #
1140
+ # @!attribute [rw] s3_destination
1141
+ # Configuration parameters for where in an S3 bucket to place the
1142
+ # harvested content
1143
+ # @return [Types::S3Destination]
1144
+ #
1145
+ # @!attribute [rw] start_time
1146
+ # The start of the time-window which will be harvested
1147
+ # @return [String]
1148
+ #
1149
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HarvestJobCreateParameters AWS API Documentation
1150
+ #
1151
+ class HarvestJobCreateParameters < Struct.new(
1152
+ :end_time,
1153
+ :id,
1154
+ :origin_endpoint_id,
1155
+ :s3_destination,
1156
+ :start_time)
1157
+ include Aws::Structure
1158
+ end
1159
+
1160
+ # A collection of HarvestJob records.
1161
+ #
1162
+ # @!attribute [rw] harvest_jobs
1163
+ # A list of HarvestJob records.
1164
+ # @return [Array<Types::HarvestJob>]
1165
+ #
1166
+ # @!attribute [rw] next_token
1167
+ # A token that can be used to resume pagination from the end of the
1168
+ # collection.
1169
+ # @return [String]
1170
+ #
1171
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HarvestJobList AWS API Documentation
1172
+ #
1173
+ class HarvestJobList < Struct.new(
1174
+ :harvest_jobs,
1175
+ :next_token)
1176
+ include Aws::Structure
1177
+ end
1178
+
904
1179
  # An HTTP Live Streaming (HLS) encryption configuration.
905
1180
  #
906
1181
  # @note When making an API call, you may pass HlsEncryption
@@ -1334,6 +1609,52 @@ module Aws::MediaPackage
1334
1609
  include Aws::Structure
1335
1610
  end
1336
1611
 
1612
+ # @note When making an API call, you may pass ListHarvestJobsRequest
1613
+ # data as a hash:
1614
+ #
1615
+ # {
1616
+ # include_channel_id: "__string",
1617
+ # include_status: "__string",
1618
+ # max_results: 1,
1619
+ # next_token: "__string",
1620
+ # }
1621
+ #
1622
+ # @!attribute [rw] include_channel_id
1623
+ # @return [String]
1624
+ #
1625
+ # @!attribute [rw] include_status
1626
+ # @return [String]
1627
+ #
1628
+ # @!attribute [rw] max_results
1629
+ # @return [Integer]
1630
+ #
1631
+ # @!attribute [rw] next_token
1632
+ # @return [String]
1633
+ #
1634
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListHarvestJobsRequest AWS API Documentation
1635
+ #
1636
+ class ListHarvestJobsRequest < Struct.new(
1637
+ :include_channel_id,
1638
+ :include_status,
1639
+ :max_results,
1640
+ :next_token)
1641
+ include Aws::Structure
1642
+ end
1643
+
1644
+ # @!attribute [rw] harvest_jobs
1645
+ # @return [Array<Types::HarvestJob>]
1646
+ #
1647
+ # @!attribute [rw] next_token
1648
+ # @return [String]
1649
+ #
1650
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListHarvestJobsResponse AWS API Documentation
1651
+ #
1652
+ class ListHarvestJobsResponse < Struct.new(
1653
+ :harvest_jobs,
1654
+ :next_token)
1655
+ include Aws::Structure
1656
+ end
1657
+
1337
1658
  # @note When making an API call, you may pass ListOriginEndpointsRequest
1338
1659
  # data as a hash:
1339
1660
  #
@@ -1529,6 +1850,14 @@ module Aws::MediaPackage
1529
1850
  # A Microsoft Smooth Streaming (MSS) packaging configuration.
1530
1851
  # @return [Types::MssPackage]
1531
1852
  #
1853
+ # @!attribute [rw] origination
1854
+ # Control whether origination of video is allowed for this
1855
+ # OriginEndpoint. If set to ALLOW, the OriginEndpoint may by
1856
+ # requested, pursuant to any other form of access control. If set to
1857
+ # DENY, the OriginEndpoint may not be requested. This can be helpful
1858
+ # for Live to VOD harvesting, or for temporarily disabling origination
1859
+ # @return [String]
1860
+ #
1532
1861
  # @!attribute [rw] startover_window_seconds
1533
1862
  # Maximum duration (seconds) of content to retain for startover
1534
1863
  # playback. If not specified, startover playback will be disabled for
@@ -1566,6 +1895,7 @@ module Aws::MediaPackage
1566
1895
  :id,
1567
1896
  :manifest_name,
1568
1897
  :mss_package,
1898
+ :origination,
1569
1899
  :startover_window_seconds,
1570
1900
  :tags,
1571
1901
  :time_delay_seconds,
@@ -1612,6 +1942,14 @@ module Aws::MediaPackage
1612
1942
  # A Microsoft Smooth Streaming (MSS) packaging configuration.
1613
1943
  # @return [Types::MssPackage]
1614
1944
  #
1945
+ # @!attribute [rw] origination
1946
+ # Control whether origination of video is allowed for this
1947
+ # OriginEndpoint. If set to ALLOW, the OriginEndpoint may by
1948
+ # requested, pursuant to any other form of access control. If set to
1949
+ # DENY, the OriginEndpoint may not be requested. This can be helpful
1950
+ # for Live to VOD harvesting, or for temporarily disabling origination
1951
+ # @return [String]
1952
+ #
1615
1953
  # @!attribute [rw] startover_window_seconds
1616
1954
  # Maximum duration (seconds) of content to retain for startover
1617
1955
  # playback. If not specified, startover playback will be disabled for
@@ -1644,6 +1982,7 @@ module Aws::MediaPackage
1644
1982
  :id,
1645
1983
  :manifest_name,
1646
1984
  :mss_package,
1985
+ :origination,
1647
1986
  :startover_window_seconds,
1648
1987
  :tags,
1649
1988
  :time_delay_seconds,
@@ -1697,6 +2036,14 @@ module Aws::MediaPackage
1697
2036
  # A Microsoft Smooth Streaming (MSS) packaging configuration.
1698
2037
  # @return [Types::MssPackage]
1699
2038
  #
2039
+ # @!attribute [rw] origination
2040
+ # Control whether origination of video is allowed for this
2041
+ # OriginEndpoint. If set to ALLOW, the OriginEndpoint may by
2042
+ # requested, pursuant to any other form of access control. If set to
2043
+ # DENY, the OriginEndpoint may not be requested. This can be helpful
2044
+ # for Live to VOD harvesting, or for temporarily disabling origination
2045
+ # @return [String]
2046
+ #
1700
2047
  # @!attribute [rw] startover_window_seconds
1701
2048
  # Maximum duration (in seconds) of content to retain for startover
1702
2049
  # playback. If not specified, startover playback will be disabled for
@@ -1723,6 +2070,7 @@ module Aws::MediaPackage
1723
2070
  :hls_package,
1724
2071
  :manifest_name,
1725
2072
  :mss_package,
2073
+ :origination,
1726
2074
  :startover_window_seconds,
1727
2075
  :time_delay_seconds,
1728
2076
  :whitelist)
@@ -1824,6 +2172,41 @@ module Aws::MediaPackage
1824
2172
  include Aws::Structure
1825
2173
  end
1826
2174
 
2175
+ # Configuration parameters for where in an S3 bucket to place the
2176
+ # harvested content
2177
+ #
2178
+ # @note When making an API call, you may pass S3Destination
2179
+ # data as a hash:
2180
+ #
2181
+ # {
2182
+ # bucket_name: "__string", # required
2183
+ # manifest_key: "__string", # required
2184
+ # role_arn: "__string", # required
2185
+ # }
2186
+ #
2187
+ # @!attribute [rw] bucket_name
2188
+ # The name of an S3 bucket within which harvested content will be
2189
+ # exported
2190
+ # @return [String]
2191
+ #
2192
+ # @!attribute [rw] manifest_key
2193
+ # The key in the specified S3 bucket where the harvested top-level
2194
+ # manifest will be placed.
2195
+ # @return [String]
2196
+ #
2197
+ # @!attribute [rw] role_arn
2198
+ # The IAM role used to write to the specified S3 bucket
2199
+ # @return [String]
2200
+ #
2201
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/S3Destination AWS API Documentation
2202
+ #
2203
+ class S3Destination < Struct.new(
2204
+ :bucket_name,
2205
+ :manifest_key,
2206
+ :role_arn)
2207
+ include Aws::Structure
2208
+ end
2209
+
1827
2210
  # @!attribute [rw] message
1828
2211
  # @return [String]
1829
2212
  #
@@ -2154,6 +2537,7 @@ module Aws::MediaPackage
2154
2537
  # stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
2155
2538
  # },
2156
2539
  # },
2540
+ # origination: "ALLOW", # accepts ALLOW, DENY
2157
2541
  # startover_window_seconds: 1,
2158
2542
  # time_delay_seconds: 1,
2159
2543
  # whitelist: ["__string"],
@@ -2185,6 +2569,9 @@ module Aws::MediaPackage
2185
2569
  # A Microsoft Smooth Streaming (MSS) packaging configuration.
2186
2570
  # @return [Types::MssPackage]
2187
2571
  #
2572
+ # @!attribute [rw] origination
2573
+ # @return [String]
2574
+ #
2188
2575
  # @!attribute [rw] startover_window_seconds
2189
2576
  # @return [Integer]
2190
2577
  #
@@ -2204,6 +2591,7 @@ module Aws::MediaPackage
2204
2591
  :id,
2205
2592
  :manifest_name,
2206
2593
  :mss_package,
2594
+ :origination,
2207
2595
  :startover_window_seconds,
2208
2596
  :time_delay_seconds,
2209
2597
  :whitelist)
@@ -2242,6 +2630,9 @@ module Aws::MediaPackage
2242
2630
  # A Microsoft Smooth Streaming (MSS) packaging configuration.
2243
2631
  # @return [Types::MssPackage]
2244
2632
  #
2633
+ # @!attribute [rw] origination
2634
+ # @return [String]
2635
+ #
2245
2636
  # @!attribute [rw] startover_window_seconds
2246
2637
  # @return [Integer]
2247
2638
  #
@@ -2270,6 +2661,7 @@ module Aws::MediaPackage
2270
2661
  :id,
2271
2662
  :manifest_name,
2272
2663
  :mss_package,
2664
+ :origination,
2273
2665
  :startover_window_seconds,
2274
2666
  :tags,
2275
2667
  :time_delay_seconds,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mediapackage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.22.0
4
+ version: 1.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-25 00:00:00.000000000 Z
11
+ date: 2019-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core