aws-sdk-mediapackagev2 1.17.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -89,6 +89,11 @@ module Aws::MediaPackageV2
89
89
 
90
90
  # @overload initialize(options)
91
91
  # @param [Hash] options
92
+ #
93
+ # @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
94
+ # A list of plugins to apply to the client. Each plugin is either a
95
+ # class name or an instance of a plugin class.
96
+ #
92
97
  # @option options [required, Aws::CredentialProvider] :credentials
93
98
  # Your AWS credentials. This can be an instance of any one of the
94
99
  # following classes:
@@ -209,7 +214,6 @@ module Aws::MediaPackageV2
209
214
  # 'https://example.com'
210
215
  # 'http://example.com:123'
211
216
  #
212
- #
213
217
  # @option options [Integer] :endpoint_cache_max_entries (1000)
214
218
  # Used for the maximum size limit of the LRU cache storing endpoints data
215
219
  # for endpoint discovery enabled operations. Defaults to 1000.
@@ -298,7 +302,6 @@ module Aws::MediaPackageV2
298
302
  # throttling. This is a provisional mode that may change behavior
299
303
  # in the future.
300
304
  #
301
- #
302
305
  # @option options [String] :sdk_ua_app_id
303
306
  # A unique and opaque application ID that is appended to the
304
307
  # User-Agent header as app/sdk_ua_app_id. It should have a
@@ -441,6 +444,19 @@ module Aws::MediaPackageV2
441
444
  # **A suitable default value is auto-generated.** You should normally
442
445
  # not need to pass this option.**
443
446
  #
447
+ # @option params [String] :input_type
448
+ # The input type will be an immutable field which will be used to define
449
+ # whether the channel will allow CMAF ingest or HLS ingest. If
450
+ # unprovided, it will default to HLS to preserve current behavior.
451
+ #
452
+ # The allowed values are:
453
+ #
454
+ # * `HLS` - The HLS streaming specification (which defines M3U8
455
+ # manifests and TS segments).
456
+ #
457
+ # * `CMAF` - The DASH-IF CMAF Ingest specification (which defines CMAF
458
+ # segments with optional DASH manifests).
459
+ #
444
460
  # @option params [String] :description
445
461
  # Enter any descriptive text that helps you to identify the channel.
446
462
  #
@@ -461,15 +477,57 @@ module Aws::MediaPackageV2
461
477
  # * {Types::CreateChannelResponse#modified_at #modified_at} => Time
462
478
  # * {Types::CreateChannelResponse#description #description} => String
463
479
  # * {Types::CreateChannelResponse#ingest_endpoints #ingest_endpoints} => Array&lt;Types::IngestEndpoint&gt;
480
+ # * {Types::CreateChannelResponse#input_type #input_type} => String
464
481
  # * {Types::CreateChannelResponse#etag #etag} => String
465
482
  # * {Types::CreateChannelResponse#tags #tags} => Hash&lt;String,String&gt;
466
483
  #
484
+ #
485
+ # @example Example: Creating a Channel
486
+ #
487
+ # resp = client.create_channel({
488
+ # channel_group_name: "exampleChannelGroup",
489
+ # channel_name: "exampleChannel",
490
+ # description: "Description for exampleChannel",
491
+ # input_type: "HLS",
492
+ # tags: {
493
+ # "key1" => "value1",
494
+ # "key2" => "value2",
495
+ # },
496
+ # })
497
+ #
498
+ # resp.to_h outputs the following:
499
+ # {
500
+ # arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel",
501
+ # channel_group_name: "exampleChannelGroup",
502
+ # channel_name: "exampleChannel",
503
+ # created_at: Time.parse("2022-10-18T09:36:00.00Z"),
504
+ # description: "Description for exampleChannel",
505
+ # etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
506
+ # ingest_endpoints: [
507
+ # {
508
+ # id: "1",
509
+ # url: "https://abcde-1.ingest.vwxyz.mediapackagev2.us-west-2.amazonaws.com/v1/exampleChannelGroup/exampleChannel/index",
510
+ # },
511
+ # {
512
+ # id: "2",
513
+ # url: "https://abcde-2.ingest.vwxyz.mediapackagev2.us-west-2.amazonaws.com/v1/exampleChannelGroup/exampleChannel/index",
514
+ # },
515
+ # ],
516
+ # input_type: "HLS",
517
+ # modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
518
+ # tags: {
519
+ # "key1" => "value1",
520
+ # "key2" => "value2",
521
+ # },
522
+ # }
523
+ #
467
524
  # @example Request syntax with placeholder values
468
525
  #
469
526
  # resp = client.create_channel({
470
527
  # channel_group_name: "ResourceName", # required
471
528
  # channel_name: "ResourceName", # required
472
529
  # client_token: "IdempotencyToken",
530
+ # input_type: "HLS", # accepts HLS, CMAF
473
531
  # description: "ResourceDescription",
474
532
  # tags: {
475
533
  # "TagKey" => "TagValue",
@@ -487,6 +545,7 @@ module Aws::MediaPackageV2
487
545
  # resp.ingest_endpoints #=> Array
488
546
  # resp.ingest_endpoints[0].id #=> String
489
547
  # resp.ingest_endpoints[0].url #=> String
548
+ # resp.input_type #=> String, one of "HLS", "CMAF"
490
549
  # resp.etag #=> String
491
550
  # resp.tags #=> Hash
492
551
  # resp.tags["TagKey"] #=> String
@@ -543,6 +602,33 @@ module Aws::MediaPackageV2
543
602
  # * {Types::CreateChannelGroupResponse#description #description} => String
544
603
  # * {Types::CreateChannelGroupResponse#tags #tags} => Hash&lt;String,String&gt;
545
604
  #
605
+ #
606
+ # @example Example: Creating a Channel Group
607
+ #
608
+ # resp = client.create_channel_group({
609
+ # channel_group_name: "exampleChannelGroup",
610
+ # description: "Description for exampleChannelGroup",
611
+ # tags: {
612
+ # "key1" => "value1",
613
+ # "key2" => "value2",
614
+ # },
615
+ # })
616
+ #
617
+ # resp.to_h outputs the following:
618
+ # {
619
+ # arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup",
620
+ # channel_group_name: "exampleChannelGroup",
621
+ # created_at: Time.parse("2022-10-18T09:36:00.00Z"),
622
+ # description: "Description for exampleChannelGroup",
623
+ # etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
624
+ # egress_domain: "abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com",
625
+ # modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
626
+ # tags: {
627
+ # "key1" => "value1",
628
+ # "key2" => "value2",
629
+ # },
630
+ # }
631
+ #
546
632
  # @example Request syntax with placeholder values
547
633
  #
548
634
  # resp = client.create_channel_group({
@@ -634,6 +720,9 @@ module Aws::MediaPackageV2
634
720
  # @option params [Array<Types::CreateDashManifestConfiguration>] :dash_manifests
635
721
  # A DASH manifest configuration.
636
722
  #
723
+ # @option params [Types::ForceEndpointErrorConfiguration] :force_endpoint_error_configuration
724
+ # The failover settings for the endpoint.
725
+ #
637
726
  # @option params [Hash<String,String>] :tags
638
727
  # A comma-separated list of tag key:value pairs that you define. For
639
728
  # example:
@@ -657,9 +746,473 @@ module Aws::MediaPackageV2
657
746
  # * {Types::CreateOriginEndpointResponse#hls_manifests #hls_manifests} => Array&lt;Types::GetHlsManifestConfiguration&gt;
658
747
  # * {Types::CreateOriginEndpointResponse#low_latency_hls_manifests #low_latency_hls_manifests} => Array&lt;Types::GetLowLatencyHlsManifestConfiguration&gt;
659
748
  # * {Types::CreateOriginEndpointResponse#dash_manifests #dash_manifests} => Array&lt;Types::GetDashManifestConfiguration&gt;
749
+ # * {Types::CreateOriginEndpointResponse#force_endpoint_error_configuration #force_endpoint_error_configuration} => Types::ForceEndpointErrorConfiguration
660
750
  # * {Types::CreateOriginEndpointResponse#etag #etag} => String
661
751
  # * {Types::CreateOriginEndpointResponse#tags #tags} => Hash&lt;String,String&gt;
662
752
  #
753
+ #
754
+ # @example Example: Creating an OriginEndpoint with container type TS, and encryption enabled
755
+ #
756
+ # resp = client.create_origin_endpoint({
757
+ # channel_group_name: "exampleChannelGroup",
758
+ # channel_name: "exampleChannel",
759
+ # container_type: "TS",
760
+ # description: "Description for exampleOriginEndpointTS",
761
+ # force_endpoint_error_configuration: {
762
+ # endpoint_error_conditions: [
763
+ # "STALE_MANIFEST",
764
+ # "INCOMPLETE_MANIFEST",
765
+ # "MISSING_DRM_KEY",
766
+ # "SLATE_INPUT",
767
+ # ],
768
+ # },
769
+ # hls_manifests: [
770
+ # {
771
+ # child_manifest_name: "exampleChildManifest1",
772
+ # manifest_name: "exampleManifest1",
773
+ # manifest_window_seconds: 30,
774
+ # program_date_time_interval_seconds: 60,
775
+ # scte_hls: {
776
+ # ad_marker_hls: "DATERANGE",
777
+ # },
778
+ # },
779
+ # {
780
+ # child_manifest_name: "exampleManifest2",
781
+ # manifest_name: "exampleManifest2",
782
+ # manifest_window_seconds: 30,
783
+ # program_date_time_interval_seconds: 60,
784
+ # scte_hls: {
785
+ # ad_marker_hls: "DATERANGE",
786
+ # },
787
+ # },
788
+ # ],
789
+ # low_latency_hls_manifests: [
790
+ # {
791
+ # child_manifest_name: "exampleLLChildManifest1",
792
+ # manifest_name: "exampleLLManifest1",
793
+ # manifest_window_seconds: 30,
794
+ # program_date_time_interval_seconds: 60,
795
+ # scte_hls: {
796
+ # ad_marker_hls: "DATERANGE",
797
+ # },
798
+ # },
799
+ # {
800
+ # child_manifest_name: "exampleLLManifest2",
801
+ # manifest_name: "exampleLLManifest2",
802
+ # manifest_window_seconds: 30,
803
+ # program_date_time_interval_seconds: 60,
804
+ # scte_hls: {
805
+ # ad_marker_hls: "DATERANGE",
806
+ # },
807
+ # },
808
+ # ],
809
+ # origin_endpoint_name: "exampleOriginEndpointTS",
810
+ # segment: {
811
+ # encryption: {
812
+ # constant_initialization_vector: "A382A901F3C1F7718512266CFFBB0B7E",
813
+ # encryption_method: {
814
+ # ts_encryption_method: "AES_128",
815
+ # },
816
+ # key_rotation_interval_seconds: 300,
817
+ # speke_key_provider: {
818
+ # drm_systems: [
819
+ # "CLEAR_KEY_AES_128",
820
+ # ],
821
+ # encryption_contract_configuration: {
822
+ # preset_speke_20_audio: "SHARED",
823
+ # preset_speke_20_video: "SHARED",
824
+ # },
825
+ # resource_id: "ResourceId",
826
+ # role_arn: "arn:aws:iam::123456789012:role/empRole",
827
+ # url: "https://foo.com",
828
+ # },
829
+ # },
830
+ # include_iframe_only_streams: true,
831
+ # scte: {
832
+ # scte_filter: [
833
+ # "SPLICE_INSERT",
834
+ # "BREAK",
835
+ # ],
836
+ # },
837
+ # segment_duration_seconds: 6,
838
+ # segment_name: "segmentName",
839
+ # ts_include_dvb_subtitles: true,
840
+ # ts_use_audio_rendition_group: true,
841
+ # },
842
+ # startover_window_seconds: 300,
843
+ # tags: {
844
+ # "key1" => "value1",
845
+ # "key2" => "value2",
846
+ # },
847
+ # })
848
+ #
849
+ # resp.to_h outputs the following:
850
+ # {
851
+ # arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointTS",
852
+ # channel_group_name: "exampleChannelGroup",
853
+ # channel_name: "exampleChannel",
854
+ # container_type: "TS",
855
+ # created_at: Time.parse("2022-10-18T09:36:00.00Z"),
856
+ # description: "Description for exampleOriginEndpointTS",
857
+ # etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
858
+ # force_endpoint_error_configuration: {
859
+ # endpoint_error_conditions: [
860
+ # "STALE_MANIFEST",
861
+ # "INCOMPLETE_MANIFEST",
862
+ # "MISSING_DRM_KEY",
863
+ # "SLATE_INPUT",
864
+ # ],
865
+ # },
866
+ # hls_manifests: [
867
+ # {
868
+ # child_manifest_name: "exampleChildManifest1",
869
+ # manifest_name: "exampleManifest1",
870
+ # manifest_window_seconds: 30,
871
+ # program_date_time_interval_seconds: 60,
872
+ # scte_hls: {
873
+ # ad_marker_hls: "DATERANGE",
874
+ # },
875
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest1.m3u8",
876
+ # },
877
+ # {
878
+ # child_manifest_name: "exampleManifest2",
879
+ # manifest_name: "exampleManifest2",
880
+ # manifest_window_seconds: 30,
881
+ # program_date_time_interval_seconds: 60,
882
+ # scte_hls: {
883
+ # ad_marker_hls: "DATERANGE",
884
+ # },
885
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest2.m3u8",
886
+ # },
887
+ # ],
888
+ # low_latency_hls_manifests: [
889
+ # {
890
+ # child_manifest_name: "exampleLLChildManifest1",
891
+ # manifest_name: "exampleLLManifest1",
892
+ # manifest_window_seconds: 30,
893
+ # program_date_time_interval_seconds: 60,
894
+ # scte_hls: {
895
+ # ad_marker_hls: "DATERANGE",
896
+ # },
897
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest1.m3u8",
898
+ # },
899
+ # {
900
+ # child_manifest_name: "exampleLLManifest2",
901
+ # manifest_name: "exampleLLManifest2",
902
+ # manifest_window_seconds: 30,
903
+ # program_date_time_interval_seconds: 60,
904
+ # scte_hls: {
905
+ # ad_marker_hls: "DATERANGE",
906
+ # },
907
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest2.m3u8",
908
+ # },
909
+ # ],
910
+ # modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
911
+ # origin_endpoint_name: "exampleOriginEndpointTS",
912
+ # segment: {
913
+ # encryption: {
914
+ # constant_initialization_vector: "A382A901F3C1F7718512266CFFBB0B7E",
915
+ # encryption_method: {
916
+ # ts_encryption_method: "AES_128",
917
+ # },
918
+ # key_rotation_interval_seconds: 300,
919
+ # speke_key_provider: {
920
+ # drm_systems: [
921
+ # "CLEAR_KEY_AES_128",
922
+ # ],
923
+ # encryption_contract_configuration: {
924
+ # preset_speke_20_audio: "SHARED",
925
+ # preset_speke_20_video: "SHARED",
926
+ # },
927
+ # resource_id: "ResourceId",
928
+ # role_arn: "arn:aws:iam::123456789012:role/empRole",
929
+ # url: "https://foo.com",
930
+ # },
931
+ # },
932
+ # include_iframe_only_streams: true,
933
+ # scte: {
934
+ # scte_filter: [
935
+ # "SPLICE_INSERT",
936
+ # "BREAK",
937
+ # ],
938
+ # },
939
+ # segment_duration_seconds: 6,
940
+ # segment_name: "segmentName",
941
+ # ts_include_dvb_subtitles: true,
942
+ # ts_use_audio_rendition_group: true,
943
+ # },
944
+ # startover_window_seconds: 300,
945
+ # tags: {
946
+ # "key1" => "value1",
947
+ # "key2" => "value2",
948
+ # },
949
+ # }
950
+ #
951
+ # @example Example: Creating an OriginEndpoint with container type CMAF, and encryption enabled
952
+ #
953
+ # resp = client.create_origin_endpoint({
954
+ # channel_group_name: "exampleChannelGroup",
955
+ # channel_name: "exampleChannel",
956
+ # container_type: "CMAF",
957
+ # dash_manifests: [
958
+ # {
959
+ # drm_signaling: "INDIVIDUAL",
960
+ # manifest_name: "exampleDashManifest1",
961
+ # manifest_window_seconds: 300,
962
+ # min_buffer_time_seconds: 30,
963
+ # min_update_period_seconds: 5,
964
+ # period_triggers: [
965
+ # "AVAILS",
966
+ # ],
967
+ # scte_dash: {
968
+ # ad_marker_dash: "XML",
969
+ # },
970
+ # segment_template_format: "NUMBER_WITH_TIMELINE",
971
+ # suggested_presentation_delay_seconds: 2,
972
+ # },
973
+ # {
974
+ # drm_signaling: "INDIVIDUAL",
975
+ # manifest_name: "exampleDashManifest2",
976
+ # manifest_window_seconds: 60,
977
+ # min_buffer_time_seconds: 9,
978
+ # min_update_period_seconds: 3,
979
+ # period_triggers: [
980
+ # "AVAILS",
981
+ # "DRM_KEY_ROTATION",
982
+ # "SOURCE_CHANGES",
983
+ # "SOURCE_DISRUPTIONS",
984
+ # ],
985
+ # scte_dash: {
986
+ # ad_marker_dash: "XML",
987
+ # },
988
+ # segment_template_format: "NUMBER_WITH_TIMELINE",
989
+ # suggested_presentation_delay_seconds: 12,
990
+ # },
991
+ # ],
992
+ # force_endpoint_error_configuration: {
993
+ # endpoint_error_conditions: [
994
+ # "STALE_MANIFEST",
995
+ # "INCOMPLETE_MANIFEST",
996
+ # "MISSING_DRM_KEY",
997
+ # "SLATE_INPUT",
998
+ # ],
999
+ # },
1000
+ # hls_manifests: [
1001
+ # {
1002
+ # child_manifest_name: "exampleChildManifest1",
1003
+ # manifest_name: "exampleManifest1",
1004
+ # manifest_window_seconds: 30,
1005
+ # program_date_time_interval_seconds: 60,
1006
+ # scte_hls: {
1007
+ # ad_marker_hls: "DATERANGE",
1008
+ # },
1009
+ # },
1010
+ # {
1011
+ # child_manifest_name: "exampleManifest2",
1012
+ # manifest_name: "exampleManifest2",
1013
+ # manifest_window_seconds: 30,
1014
+ # program_date_time_interval_seconds: 60,
1015
+ # scte_hls: {
1016
+ # ad_marker_hls: "DATERANGE",
1017
+ # },
1018
+ # },
1019
+ # ],
1020
+ # low_latency_hls_manifests: [
1021
+ # {
1022
+ # child_manifest_name: "exampleLLChildManifest1",
1023
+ # manifest_name: "exampleLLManifest1",
1024
+ # manifest_window_seconds: 30,
1025
+ # program_date_time_interval_seconds: 60,
1026
+ # scte_hls: {
1027
+ # ad_marker_hls: "DATERANGE",
1028
+ # },
1029
+ # },
1030
+ # {
1031
+ # child_manifest_name: "exampleLLManifest2",
1032
+ # manifest_name: "exampleLLManifest2",
1033
+ # manifest_window_seconds: 30,
1034
+ # program_date_time_interval_seconds: 60,
1035
+ # scte_hls: {
1036
+ # ad_marker_hls: "DATERANGE",
1037
+ # },
1038
+ # },
1039
+ # ],
1040
+ # origin_endpoint_name: "exampleOriginEndpointCMAF",
1041
+ # segment: {
1042
+ # encryption: {
1043
+ # constant_initialization_vector: "A382A901F3C1F7718512266CFFBB0B9F",
1044
+ # encryption_method: {
1045
+ # cmaf_encryption_method: "CBCS",
1046
+ # },
1047
+ # key_rotation_interval_seconds: 300,
1048
+ # speke_key_provider: {
1049
+ # drm_systems: [
1050
+ # "PLAYREADY",
1051
+ # "WIDEVINE",
1052
+ # ],
1053
+ # encryption_contract_configuration: {
1054
+ # preset_speke_20_audio: "PRESET_AUDIO_1",
1055
+ # preset_speke_20_video: "PRESET_VIDEO_1",
1056
+ # },
1057
+ # resource_id: "ResourceId",
1058
+ # role_arn: "arn:aws:iam::123456789012:role/empRole",
1059
+ # url: "https://foo.com",
1060
+ # },
1061
+ # },
1062
+ # include_iframe_only_streams: true,
1063
+ # scte: {
1064
+ # scte_filter: [
1065
+ # "SPLICE_INSERT",
1066
+ # "BREAK",
1067
+ # ],
1068
+ # },
1069
+ # segment_duration_seconds: 6,
1070
+ # segment_name: "segmentName",
1071
+ # },
1072
+ # startover_window_seconds: 300,
1073
+ # tags: {
1074
+ # "key1" => "value1",
1075
+ # "key2" => "value2",
1076
+ # },
1077
+ # })
1078
+ #
1079
+ # resp.to_h outputs the following:
1080
+ # {
1081
+ # arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointCMAF",
1082
+ # channel_group_name: "exampleChannelGroup",
1083
+ # channel_name: "exampleChannel",
1084
+ # container_type: "CMAF",
1085
+ # created_at: Time.parse("2022-10-18T09:36:00.00Z"),
1086
+ # dash_manifests: [
1087
+ # {
1088
+ # drm_signaling: "INDIVIDUAL",
1089
+ # manifest_name: "exampleDashManifest1",
1090
+ # manifest_window_seconds: 300,
1091
+ # min_buffer_time_seconds: 30,
1092
+ # min_update_period_seconds: 5,
1093
+ # period_triggers: [
1094
+ # "AVAILS",
1095
+ # ],
1096
+ # scte_dash: {
1097
+ # ad_marker_dash: "XML",
1098
+ # },
1099
+ # segment_template_format: "NUMBER_WITH_TIMELINE",
1100
+ # suggested_presentation_delay_seconds: 2,
1101
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleDashManifest1.mpd",
1102
+ # },
1103
+ # {
1104
+ # drm_signaling: "INDIVIDUAL",
1105
+ # manifest_name: "exampleDashManifest2",
1106
+ # manifest_window_seconds: 60,
1107
+ # min_buffer_time_seconds: 9,
1108
+ # min_update_period_seconds: 3,
1109
+ # period_triggers: [
1110
+ # "AVAILS",
1111
+ # "DRM_KEY_ROTATION",
1112
+ # "SOURCE_CHANGES",
1113
+ # "SOURCE_DISRUPTIONS",
1114
+ # ],
1115
+ # scte_dash: {
1116
+ # ad_marker_dash: "XML",
1117
+ # },
1118
+ # segment_template_format: "NUMBER_WITH_TIMELINE",
1119
+ # suggested_presentation_delay_seconds: 12,
1120
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleDashManifest2.mpd",
1121
+ # },
1122
+ # ],
1123
+ # etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
1124
+ # force_endpoint_error_configuration: {
1125
+ # endpoint_error_conditions: [
1126
+ # "STALE_MANIFEST",
1127
+ # "INCOMPLETE_MANIFEST",
1128
+ # "MISSING_DRM_KEY",
1129
+ # "SLATE_INPUT",
1130
+ # ],
1131
+ # },
1132
+ # hls_manifests: [
1133
+ # {
1134
+ # child_manifest_name: "exampleChildManifest1",
1135
+ # manifest_name: "exampleManifest1",
1136
+ # manifest_window_seconds: 30,
1137
+ # program_date_time_interval_seconds: 60,
1138
+ # scte_hls: {
1139
+ # ad_marker_hls: "DATERANGE",
1140
+ # },
1141
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleManifest1.m3u8",
1142
+ # },
1143
+ # {
1144
+ # child_manifest_name: "exampleManifest2",
1145
+ # manifest_name: "exampleManifest2",
1146
+ # manifest_window_seconds: 30,
1147
+ # program_date_time_interval_seconds: 60,
1148
+ # scte_hls: {
1149
+ # ad_marker_hls: "DATERANGE",
1150
+ # },
1151
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleManifest2.m3u8",
1152
+ # },
1153
+ # ],
1154
+ # low_latency_hls_manifests: [
1155
+ # {
1156
+ # child_manifest_name: "exampleLLChildManifest1",
1157
+ # manifest_name: "exampleLLManifest1",
1158
+ # manifest_window_seconds: 30,
1159
+ # program_date_time_interval_seconds: 60,
1160
+ # scte_hls: {
1161
+ # ad_marker_hls: "DATERANGE",
1162
+ # },
1163
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleLLManifest1.m3u8",
1164
+ # },
1165
+ # {
1166
+ # child_manifest_name: "exampleLLManifest2",
1167
+ # manifest_name: "exampleLLManifest2",
1168
+ # manifest_window_seconds: 30,
1169
+ # program_date_time_interval_seconds: 60,
1170
+ # scte_hls: {
1171
+ # ad_marker_hls: "DATERANGE",
1172
+ # },
1173
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleLLManifest2.m3u8",
1174
+ # },
1175
+ # ],
1176
+ # modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
1177
+ # origin_endpoint_name: "exampleOriginEndpointCMAF",
1178
+ # segment: {
1179
+ # encryption: {
1180
+ # constant_initialization_vector: "A382A901F3C1F7718512266CFFBB0B9F",
1181
+ # encryption_method: {
1182
+ # cmaf_encryption_method: "CBCS",
1183
+ # },
1184
+ # key_rotation_interval_seconds: 300,
1185
+ # speke_key_provider: {
1186
+ # drm_systems: [
1187
+ # "PLAYREADY",
1188
+ # "WIDEVINE",
1189
+ # ],
1190
+ # encryption_contract_configuration: {
1191
+ # preset_speke_20_audio: "PRESET_AUDIO_1",
1192
+ # preset_speke_20_video: "PRESET_VIDEO_1",
1193
+ # },
1194
+ # resource_id: "ResourceId",
1195
+ # role_arn: "arn:aws:iam::123456789012:role/empRole",
1196
+ # url: "https://foo.com",
1197
+ # },
1198
+ # },
1199
+ # include_iframe_only_streams: true,
1200
+ # scte: {
1201
+ # scte_filter: [
1202
+ # "SPLICE_INSERT",
1203
+ # "BREAK",
1204
+ # ],
1205
+ # },
1206
+ # segment_duration_seconds: 6,
1207
+ # segment_name: "segmentName",
1208
+ # },
1209
+ # startover_window_seconds: 300,
1210
+ # tags: {
1211
+ # "key1" => "value1",
1212
+ # "key2" => "value2",
1213
+ # },
1214
+ # }
1215
+ #
663
1216
  # @example Request syntax with placeholder values
664
1217
  #
665
1218
  # resp = client.create_origin_endpoint({
@@ -757,6 +1310,9 @@ module Aws::MediaPackageV2
757
1310
  # },
758
1311
  # },
759
1312
  # ],
1313
+ # force_endpoint_error_configuration: {
1314
+ # endpoint_error_conditions: ["STALE_MANIFEST"], # accepts STALE_MANIFEST, INCOMPLETE_MANIFEST, MISSING_DRM_KEY, SLATE_INPUT
1315
+ # },
760
1316
  # tags: {
761
1317
  # "TagKey" => "TagValue",
762
1318
  # },
@@ -831,6 +1387,8 @@ module Aws::MediaPackageV2
831
1387
  # resp.dash_manifests[0].drm_signaling #=> String, one of "INDIVIDUAL", "REFERENCED"
832
1388
  # resp.dash_manifests[0].utc_timing.timing_mode #=> String, one of "HTTP_HEAD", "HTTP_ISO", "HTTP_XSDATE", "UTC_DIRECT"
833
1389
  # resp.dash_manifests[0].utc_timing.timing_source #=> String
1390
+ # resp.force_endpoint_error_configuration.endpoint_error_conditions #=> Array
1391
+ # resp.force_endpoint_error_configuration.endpoint_error_conditions[0] #=> String, one of "STALE_MANIFEST", "INCOMPLETE_MANIFEST", "MISSING_DRM_KEY", "SLATE_INPUT"
834
1392
  # resp.etag #=> String
835
1393
  # resp.tags #=> Hash
836
1394
  # resp.tags["TagKey"] #=> String
@@ -860,6 +1418,18 @@ module Aws::MediaPackageV2
860
1418
  #
861
1419
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
862
1420
  #
1421
+ #
1422
+ # @example Example: Deleting a Channel
1423
+ #
1424
+ # resp = client.delete_channel({
1425
+ # channel_group_name: "exampleChannelGroup",
1426
+ # channel_name: "exampleChannel",
1427
+ # })
1428
+ #
1429
+ # resp.to_h outputs the following:
1430
+ # {
1431
+ # }
1432
+ #
863
1433
  # @example Request syntax with placeholder values
864
1434
  #
865
1435
  # resp = client.delete_channel({
@@ -888,6 +1458,17 @@ module Aws::MediaPackageV2
888
1458
  #
889
1459
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
890
1460
  #
1461
+ #
1462
+ # @example Example: Deleting a Channel Group
1463
+ #
1464
+ # resp = client.delete_channel_group({
1465
+ # channel_group_name: "exampleChannelGroup",
1466
+ # })
1467
+ #
1468
+ # resp.to_h outputs the following:
1469
+ # {
1470
+ # }
1471
+ #
891
1472
  # @example Request syntax with placeholder values
892
1473
  #
893
1474
  # resp = client.delete_channel_group({
@@ -917,6 +1498,18 @@ module Aws::MediaPackageV2
917
1498
  #
918
1499
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
919
1500
  #
1501
+ #
1502
+ # @example Example: Deleting a Channel Policy
1503
+ #
1504
+ # resp = client.delete_channel_policy({
1505
+ # channel_group_name: "exampleChannelGroup",
1506
+ # channel_name: "exampleChannel",
1507
+ # })
1508
+ #
1509
+ # resp.to_h outputs the following:
1510
+ # {
1511
+ # }
1512
+ #
920
1513
  # @example Request syntax with placeholder values
921
1514
  #
922
1515
  # resp = client.delete_channel_policy({
@@ -954,6 +1547,19 @@ module Aws::MediaPackageV2
954
1547
  #
955
1548
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
956
1549
  #
1550
+ #
1551
+ # @example Example: Deleting an OriginEndpoint
1552
+ #
1553
+ # resp = client.delete_origin_endpoint({
1554
+ # channel_group_name: "exampleChannelGroup",
1555
+ # channel_name: "exampleChannel",
1556
+ # origin_endpoint_name: "exampleOriginEndpointTS",
1557
+ # })
1558
+ #
1559
+ # resp.to_h outputs the following:
1560
+ # {
1561
+ # }
1562
+ #
957
1563
  # @example Request syntax with placeholder values
958
1564
  #
959
1565
  # resp = client.delete_origin_endpoint({
@@ -990,6 +1596,19 @@ module Aws::MediaPackageV2
990
1596
  #
991
1597
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
992
1598
  #
1599
+ #
1600
+ # @example Example: Deleting an Origin Endpoint Policy
1601
+ #
1602
+ # resp = client.delete_origin_endpoint_policy({
1603
+ # channel_group_name: "exampleChannelGroup",
1604
+ # channel_name: "exampleChannel",
1605
+ # origin_endpoint_name: "exampleOriginEndpoint",
1606
+ # })
1607
+ #
1608
+ # resp.to_h outputs the following:
1609
+ # {
1610
+ # }
1611
+ #
993
1612
  # @example Request syntax with placeholder values
994
1613
  #
995
1614
  # resp = client.delete_origin_endpoint_policy({
@@ -1030,9 +1649,44 @@ module Aws::MediaPackageV2
1030
1649
  # * {Types::GetChannelResponse#modified_at #modified_at} => Time
1031
1650
  # * {Types::GetChannelResponse#description #description} => String
1032
1651
  # * {Types::GetChannelResponse#ingest_endpoints #ingest_endpoints} => Array&lt;Types::IngestEndpoint&gt;
1652
+ # * {Types::GetChannelResponse#input_type #input_type} => String
1033
1653
  # * {Types::GetChannelResponse#etag #etag} => String
1034
1654
  # * {Types::GetChannelResponse#tags #tags} => Hash&lt;String,String&gt;
1035
1655
  #
1656
+ #
1657
+ # @example Example: Getting a Channel
1658
+ #
1659
+ # resp = client.get_channel({
1660
+ # channel_group_name: "exampleChannelGroup",
1661
+ # channel_name: "exampleChannel",
1662
+ # })
1663
+ #
1664
+ # resp.to_h outputs the following:
1665
+ # {
1666
+ # arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel",
1667
+ # channel_group_name: "exampleChannelGroup",
1668
+ # channel_name: "exampleChannel",
1669
+ # created_at: Time.parse("2022-10-18T09:36:00.00Z"),
1670
+ # description: "Description for exampleChannel",
1671
+ # etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
1672
+ # ingest_endpoints: [
1673
+ # {
1674
+ # id: "1",
1675
+ # url: "https://abcde-1.ingest.vwxyz.mediapackagev2.us-west-2.amazonaws.com/v1/exampleChannelGroup/exampleChannel/index",
1676
+ # },
1677
+ # {
1678
+ # id: "2",
1679
+ # url: "https://abcde-2.ingest.vwxyz.mediapackagev2.us-west-2.amazonaws.com/v1/exampleChannelGroup/exampleChannel/index",
1680
+ # },
1681
+ # ],
1682
+ # input_type: "HLS",
1683
+ # modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
1684
+ # tags: {
1685
+ # "key1" => "value1",
1686
+ # "key2" => "value2",
1687
+ # },
1688
+ # }
1689
+ #
1036
1690
  # @example Request syntax with placeholder values
1037
1691
  #
1038
1692
  # resp = client.get_channel({
@@ -1051,6 +1705,7 @@ module Aws::MediaPackageV2
1051
1705
  # resp.ingest_endpoints #=> Array
1052
1706
  # resp.ingest_endpoints[0].id #=> String
1053
1707
  # resp.ingest_endpoints[0].url #=> String
1708
+ # resp.input_type #=> String, one of "HLS", "CMAF"
1054
1709
  # resp.etag #=> String
1055
1710
  # resp.tags #=> Hash
1056
1711
  # resp.tags["TagKey"] #=> String
@@ -1084,6 +1739,28 @@ module Aws::MediaPackageV2
1084
1739
  # * {Types::GetChannelGroupResponse#etag #etag} => String
1085
1740
  # * {Types::GetChannelGroupResponse#tags #tags} => Hash&lt;String,String&gt;
1086
1741
  #
1742
+ #
1743
+ # @example Example: Getting a Channel Group
1744
+ #
1745
+ # resp = client.get_channel_group({
1746
+ # channel_group_name: "exampleChannelGroup",
1747
+ # })
1748
+ #
1749
+ # resp.to_h outputs the following:
1750
+ # {
1751
+ # arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup",
1752
+ # channel_group_name: "exampleChannelGroup",
1753
+ # created_at: Time.parse("2022-10-18T09:36:00.00Z"),
1754
+ # description: "Description for exampleChannelGroup",
1755
+ # etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
1756
+ # egress_domain: "abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com",
1757
+ # modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
1758
+ # tags: {
1759
+ # "key1" => "value1",
1760
+ # "key2" => "value2",
1761
+ # },
1762
+ # }
1763
+ #
1087
1764
  # @example Request syntax with placeholder values
1088
1765
  #
1089
1766
  # resp = client.get_channel_group({
@@ -1131,6 +1808,21 @@ module Aws::MediaPackageV2
1131
1808
  # * {Types::GetChannelPolicyResponse#channel_name #channel_name} => String
1132
1809
  # * {Types::GetChannelPolicyResponse#policy #policy} => String
1133
1810
  #
1811
+ #
1812
+ # @example Example: Getting a Channel Policy
1813
+ #
1814
+ # resp = client.get_channel_policy({
1815
+ # channel_group_name: "exampleChannelGroup",
1816
+ # channel_name: "exampleChannel",
1817
+ # })
1818
+ #
1819
+ # resp.to_h outputs the following:
1820
+ # {
1821
+ # channel_group_name: "exampleChannelGroup",
1822
+ # channel_name: "exampleChannel",
1823
+ # policy: "{...}",
1824
+ # }
1825
+ #
1134
1826
  # @example Request syntax with placeholder values
1135
1827
  #
1136
1828
  # resp = client.get_channel_policy({
@@ -1186,9 +1878,121 @@ module Aws::MediaPackageV2
1186
1878
  # * {Types::GetOriginEndpointResponse#startover_window_seconds #startover_window_seconds} => Integer
1187
1879
  # * {Types::GetOriginEndpointResponse#hls_manifests #hls_manifests} => Array&lt;Types::GetHlsManifestConfiguration&gt;
1188
1880
  # * {Types::GetOriginEndpointResponse#low_latency_hls_manifests #low_latency_hls_manifests} => Array&lt;Types::GetLowLatencyHlsManifestConfiguration&gt;
1881
+ # * {Types::GetOriginEndpointResponse#dash_manifests #dash_manifests} => Array&lt;Types::GetDashManifestConfiguration&gt;
1882
+ # * {Types::GetOriginEndpointResponse#force_endpoint_error_configuration #force_endpoint_error_configuration} => Types::ForceEndpointErrorConfiguration
1189
1883
  # * {Types::GetOriginEndpointResponse#etag #etag} => String
1190
1884
  # * {Types::GetOriginEndpointResponse#tags #tags} => Hash&lt;String,String&gt;
1191
- # * {Types::GetOriginEndpointResponse#dash_manifests #dash_manifests} => Array&lt;Types::GetDashManifestConfiguration&gt;
1885
+ #
1886
+ #
1887
+ # @example Example: Getting an OriginEndpoint
1888
+ #
1889
+ # resp = client.get_origin_endpoint({
1890
+ # channel_group_name: "exampleChannelGroup",
1891
+ # channel_name: "exampleChannel",
1892
+ # origin_endpoint_name: "exampleOriginEndpointTS",
1893
+ # })
1894
+ #
1895
+ # resp.to_h outputs the following:
1896
+ # {
1897
+ # arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointTS",
1898
+ # channel_group_name: "exampleChannelGroup",
1899
+ # channel_name: "exampleChannel",
1900
+ # container_type: "TS",
1901
+ # created_at: Time.parse("2022-10-18T09:36:00.00Z"),
1902
+ # description: "Description for exampleOriginEndpointTS",
1903
+ # etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
1904
+ # force_endpoint_error_configuration: {
1905
+ # endpoint_error_conditions: [
1906
+ # "STALE_MANIFEST",
1907
+ # "INCOMPLETE_MANIFEST",
1908
+ # "MISSING_DRM_KEY",
1909
+ # "SLATE_INPUT",
1910
+ # ],
1911
+ # },
1912
+ # hls_manifests: [
1913
+ # {
1914
+ # child_manifest_name: "exampleChildManifest1",
1915
+ # manifest_name: "exampleManifest1",
1916
+ # manifest_window_seconds: 30,
1917
+ # program_date_time_interval_seconds: 60,
1918
+ # scte_hls: {
1919
+ # ad_marker_hls: "DATERANGE",
1920
+ # },
1921
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest1.m3u8",
1922
+ # },
1923
+ # {
1924
+ # child_manifest_name: "exampleManifest2",
1925
+ # manifest_name: "exampleManifest2",
1926
+ # manifest_window_seconds: 30,
1927
+ # program_date_time_interval_seconds: 60,
1928
+ # scte_hls: {
1929
+ # ad_marker_hls: "DATERANGE",
1930
+ # },
1931
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest2.m3u8",
1932
+ # },
1933
+ # ],
1934
+ # low_latency_hls_manifests: [
1935
+ # {
1936
+ # child_manifest_name: "exampleLLChildManifest1",
1937
+ # manifest_name: "exampleLLManifest1",
1938
+ # manifest_window_seconds: 30,
1939
+ # program_date_time_interval_seconds: 60,
1940
+ # scte_hls: {
1941
+ # ad_marker_hls: "DATERANGE",
1942
+ # },
1943
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest1.m3u8",
1944
+ # },
1945
+ # {
1946
+ # child_manifest_name: "exampleLLManifest2",
1947
+ # manifest_name: "exampleLLManifest2",
1948
+ # manifest_window_seconds: 30,
1949
+ # program_date_time_interval_seconds: 60,
1950
+ # scte_hls: {
1951
+ # ad_marker_hls: "DATERANGE",
1952
+ # },
1953
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest2.m3u8",
1954
+ # },
1955
+ # ],
1956
+ # modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
1957
+ # origin_endpoint_name: "exampleOriginEndpointTS",
1958
+ # segment: {
1959
+ # encryption: {
1960
+ # constant_initialization_vector: "A382A901F3C1F7718512266CFFBB0B7E",
1961
+ # encryption_method: {
1962
+ # ts_encryption_method: "AES_128",
1963
+ # },
1964
+ # key_rotation_interval_seconds: 300,
1965
+ # speke_key_provider: {
1966
+ # drm_systems: [
1967
+ # "CLEAR_KEY_AES_128",
1968
+ # ],
1969
+ # encryption_contract_configuration: {
1970
+ # preset_speke_20_audio: "SHARED",
1971
+ # preset_speke_20_video: "SHARED",
1972
+ # },
1973
+ # resource_id: "ResourceId",
1974
+ # role_arn: "arn:aws:iam::123456789012:role/empRole",
1975
+ # url: "https://foo.com",
1976
+ # },
1977
+ # },
1978
+ # include_iframe_only_streams: true,
1979
+ # scte: {
1980
+ # scte_filter: [
1981
+ # "SPLICE_INSERT",
1982
+ # "BREAK",
1983
+ # ],
1984
+ # },
1985
+ # segment_duration_seconds: 6,
1986
+ # segment_name: "segmentName",
1987
+ # ts_include_dvb_subtitles: true,
1988
+ # ts_use_audio_rendition_group: true,
1989
+ # },
1990
+ # startover_window_seconds: 300,
1991
+ # tags: {
1992
+ # "key1" => "value1",
1993
+ # "key2" => "value2",
1994
+ # },
1995
+ # }
1192
1996
  #
1193
1997
  # @example Request syntax with placeholder values
1194
1998
  #
@@ -1249,9 +2053,6 @@ module Aws::MediaPackageV2
1249
2053
  # resp.low_latency_hls_manifests[0].filter_configuration.start #=> Time
1250
2054
  # resp.low_latency_hls_manifests[0].filter_configuration.end #=> Time
1251
2055
  # resp.low_latency_hls_manifests[0].filter_configuration.time_delay_seconds #=> Integer
1252
- # resp.etag #=> String
1253
- # resp.tags #=> Hash
1254
- # resp.tags["TagKey"] #=> String
1255
2056
  # resp.dash_manifests #=> Array
1256
2057
  # resp.dash_manifests[0].manifest_name #=> String
1257
2058
  # resp.dash_manifests[0].url #=> String
@@ -1270,6 +2071,11 @@ module Aws::MediaPackageV2
1270
2071
  # resp.dash_manifests[0].drm_signaling #=> String, one of "INDIVIDUAL", "REFERENCED"
1271
2072
  # resp.dash_manifests[0].utc_timing.timing_mode #=> String, one of "HTTP_HEAD", "HTTP_ISO", "HTTP_XSDATE", "UTC_DIRECT"
1272
2073
  # resp.dash_manifests[0].utc_timing.timing_source #=> String
2074
+ # resp.force_endpoint_error_configuration.endpoint_error_conditions #=> Array
2075
+ # resp.force_endpoint_error_configuration.endpoint_error_conditions[0] #=> String, one of "STALE_MANIFEST", "INCOMPLETE_MANIFEST", "MISSING_DRM_KEY", "SLATE_INPUT"
2076
+ # resp.etag #=> String
2077
+ # resp.tags #=> Hash
2078
+ # resp.tags["TagKey"] #=> String
1273
2079
  #
1274
2080
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetOriginEndpoint AWS API Documentation
1275
2081
  #
@@ -1305,6 +2111,23 @@ module Aws::MediaPackageV2
1305
2111
  # * {Types::GetOriginEndpointPolicyResponse#origin_endpoint_name #origin_endpoint_name} => String
1306
2112
  # * {Types::GetOriginEndpointPolicyResponse#policy #policy} => String
1307
2113
  #
2114
+ #
2115
+ # @example Example: Getting an Origin Endpoint Policy
2116
+ #
2117
+ # resp = client.get_origin_endpoint_policy({
2118
+ # channel_group_name: "exampleChannelGroup",
2119
+ # channel_name: "exampleChannel",
2120
+ # origin_endpoint_name: "exampleOriginEndpoint",
2121
+ # })
2122
+ #
2123
+ # resp.to_h outputs the following:
2124
+ # {
2125
+ # channel_group_name: "exampleChannelGroup",
2126
+ # channel_name: "exampleChannel",
2127
+ # origin_endpoint_name: "exampleOriginEndpoint",
2128
+ # policy: "{...}",
2129
+ # }
2130
+ #
1308
2131
  # @example Request syntax with placeholder values
1309
2132
  #
1310
2133
  # resp = client.get_origin_endpoint_policy({
@@ -1347,6 +2170,31 @@ module Aws::MediaPackageV2
1347
2170
  #
1348
2171
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1349
2172
  #
2173
+ #
2174
+ # @example Example: Listing all Channel Groups
2175
+ #
2176
+ # resp = client.list_channel_groups({
2177
+ # })
2178
+ #
2179
+ # resp.to_h outputs the following:
2180
+ # {
2181
+ # items: [
2182
+ # {
2183
+ # arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup",
2184
+ # channel_group_name: "exampleChannelGroup",
2185
+ # created_at: Time.parse("2022-10-18T09:36:00.00Z"),
2186
+ # description: "Description for exampleChannelGroup",
2187
+ # modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
2188
+ # },
2189
+ # {
2190
+ # arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/anotherExampleChannelGroup",
2191
+ # channel_group_name: "anotherExampleChannelGroup",
2192
+ # created_at: Time.parse("2022-10-18T10:36:00.00Z"),
2193
+ # modified_at: Time.parse("2022-10-18T10:36:00.00Z"),
2194
+ # },
2195
+ # ],
2196
+ # }
2197
+ #
1350
2198
  # @example Request syntax with placeholder values
1351
2199
  #
1352
2200
  # resp = client.list_channel_groups({
@@ -1396,6 +2244,34 @@ module Aws::MediaPackageV2
1396
2244
  #
1397
2245
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1398
2246
  #
2247
+ #
2248
+ # @example Example: Listing all Channels
2249
+ #
2250
+ # resp = client.list_channels({
2251
+ # channel_group_name: "exampleChannelGroup",
2252
+ # })
2253
+ #
2254
+ # resp.to_h outputs the following:
2255
+ # {
2256
+ # items: [
2257
+ # {
2258
+ # arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel",
2259
+ # channel_group_name: "exampleChannelGroup",
2260
+ # channel_name: "exampleChannel",
2261
+ # created_at: Time.parse("2022-10-18T09:36:00.00Z"),
2262
+ # description: "Description for exampleChannel",
2263
+ # modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
2264
+ # },
2265
+ # {
2266
+ # arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/anotherExampleChannel",
2267
+ # channel_group_name: "exampleChannelGroup",
2268
+ # channel_name: "anotherExampleChannel",
2269
+ # created_at: Time.parse("2022-10-18T10:36:00.00Z"),
2270
+ # modified_at: Time.parse("2022-10-18T10:36:00.00Z"),
2271
+ # },
2272
+ # ],
2273
+ # }
2274
+ #
1399
2275
  # @example Request syntax with placeholder values
1400
2276
  #
1401
2277
  # resp = client.list_channels({
@@ -1413,6 +2289,7 @@ module Aws::MediaPackageV2
1413
2289
  # resp.items[0].created_at #=> Time
1414
2290
  # resp.items[0].modified_at #=> Time
1415
2291
  # resp.items[0].description #=> String
2292
+ # resp.items[0].input_type #=> String, one of "HLS", "CMAF"
1416
2293
  # resp.next_token #=> String
1417
2294
  #
1418
2295
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListChannels AWS API Documentation
@@ -1451,6 +2328,113 @@ module Aws::MediaPackageV2
1451
2328
  #
1452
2329
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1453
2330
  #
2331
+ #
2332
+ # @example Example: Listing all OriginEndpoints
2333
+ #
2334
+ # resp = client.list_origin_endpoints({
2335
+ # channel_group_name: "exampleChannelGroup",
2336
+ # channel_name: "exampleChannel",
2337
+ # })
2338
+ #
2339
+ # resp.to_h outputs the following:
2340
+ # {
2341
+ # items: [
2342
+ # {
2343
+ # arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointTS",
2344
+ # channel_group_name: "exampleChannelGroup",
2345
+ # channel_name: "exampleChannel",
2346
+ # container_type: "TS",
2347
+ # created_at: Time.parse("2022-10-18T09:36:00.00Z"),
2348
+ # description: "Description for exampleOriginEndpointTS",
2349
+ # force_endpoint_error_configuration: {
2350
+ # endpoint_error_conditions: [
2351
+ # "STALE_MANIFEST",
2352
+ # "INCOMPLETE_MANIFEST",
2353
+ # "MISSING_DRM_KEY",
2354
+ # "SLATE_INPUT",
2355
+ # ],
2356
+ # },
2357
+ # hls_manifests: [
2358
+ # {
2359
+ # child_manifest_name: "exampleChildManifest1",
2360
+ # manifest_name: "exampleManifest1",
2361
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest1.m3u8",
2362
+ # },
2363
+ # {
2364
+ # child_manifest_name: "exampleManifest2",
2365
+ # manifest_name: "exampleManifest2",
2366
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest2.m3u8",
2367
+ # },
2368
+ # ],
2369
+ # low_latency_hls_manifests: [
2370
+ # {
2371
+ # child_manifest_name: "exampleLLChildManifest1",
2372
+ # manifest_name: "exampleLLManifest1",
2373
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest1.m3u8",
2374
+ # },
2375
+ # {
2376
+ # child_manifest_name: "exampleLLManifest2",
2377
+ # manifest_name: "exampleLLManifest2",
2378
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest2.m3u8",
2379
+ # },
2380
+ # ],
2381
+ # modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
2382
+ # origin_endpoint_name: "exampleOriginEndpointTS",
2383
+ # },
2384
+ # {
2385
+ # arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointCMAF",
2386
+ # channel_group_name: "exampleChannelGroup",
2387
+ # channel_name: "exampleChannel",
2388
+ # container_type: "CMAF",
2389
+ # created_at: Time.parse("2022-10-18T09:36:00.00Z"),
2390
+ # dash_manifests: [
2391
+ # {
2392
+ # manifest_name: "exampleDashManifest1",
2393
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleDashManifest1.mpd",
2394
+ # },
2395
+ # {
2396
+ # manifest_name: "exampleDashManifest2",
2397
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleDashManifest2.mpd",
2398
+ # },
2399
+ # ],
2400
+ # force_endpoint_error_configuration: {
2401
+ # endpoint_error_conditions: [
2402
+ # "STALE_MANIFEST",
2403
+ # "INCOMPLETE_MANIFEST",
2404
+ # "MISSING_DRM_KEY",
2405
+ # "SLATE_INPUT",
2406
+ # ],
2407
+ # },
2408
+ # hls_manifests: [
2409
+ # {
2410
+ # child_manifest_name: "exampleChildManifest1",
2411
+ # manifest_name: "exampleManifest1",
2412
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleManifest1.m3u8",
2413
+ # },
2414
+ # {
2415
+ # child_manifest_name: "exampleManifest2",
2416
+ # manifest_name: "exampleManifest2",
2417
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleManifest2.m3u8",
2418
+ # },
2419
+ # ],
2420
+ # low_latency_hls_manifests: [
2421
+ # {
2422
+ # child_manifest_name: "exampleLLChildManifest1",
2423
+ # manifest_name: "exampleLLManifest1",
2424
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleLLManifest1.m3u8",
2425
+ # },
2426
+ # {
2427
+ # child_manifest_name: "exampleLLManifest2",
2428
+ # manifest_name: "exampleLLManifest2",
2429
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleLLManifest2.m3u8",
2430
+ # },
2431
+ # ],
2432
+ # modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
2433
+ # origin_endpoint_name: "exampleOriginEndpointCMAF",
2434
+ # },
2435
+ # ],
2436
+ # }
2437
+ #
1454
2438
  # @example Request syntax with placeholder values
1455
2439
  #
1456
2440
  # resp = client.list_origin_endpoints({
@@ -1482,6 +2466,8 @@ module Aws::MediaPackageV2
1482
2466
  # resp.items[0].dash_manifests #=> Array
1483
2467
  # resp.items[0].dash_manifests[0].manifest_name #=> String
1484
2468
  # resp.items[0].dash_manifests[0].url #=> String
2469
+ # resp.items[0].force_endpoint_error_configuration.endpoint_error_conditions #=> Array
2470
+ # resp.items[0].force_endpoint_error_configuration.endpoint_error_conditions[0] #=> String, one of "STALE_MANIFEST", "INCOMPLETE_MANIFEST", "MISSING_DRM_KEY", "SLATE_INPUT"
1485
2471
  # resp.next_token #=> String
1486
2472
  #
1487
2473
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListOriginEndpoints AWS API Documentation
@@ -1502,6 +2488,21 @@ module Aws::MediaPackageV2
1502
2488
  #
1503
2489
  # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
1504
2490
  #
2491
+ #
2492
+ # @example Example: List all tags for a resource
2493
+ #
2494
+ # resp = client.list_tags_for_resource({
2495
+ # resource_arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel",
2496
+ # })
2497
+ #
2498
+ # resp.to_h outputs the following:
2499
+ # {
2500
+ # tags: {
2501
+ # "key1" => "value1",
2502
+ # "key2" => "value2",
2503
+ # },
2504
+ # }
2505
+ #
1505
2506
  # @example Request syntax with placeholder values
1506
2507
  #
1507
2508
  # resp = client.list_tags_for_resource({
@@ -1542,6 +2543,19 @@ module Aws::MediaPackageV2
1542
2543
  #
1543
2544
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1544
2545
  #
2546
+ #
2547
+ # @example Example: Creating a Channel Policy
2548
+ #
2549
+ # resp = client.put_channel_policy({
2550
+ # channel_group_name: "exampleChannelGroup",
2551
+ # channel_name: "exampleChannel",
2552
+ # policy: "{...}",
2553
+ # })
2554
+ #
2555
+ # resp.to_h outputs the following:
2556
+ # {
2557
+ # }
2558
+ #
1545
2559
  # @example Request syntax with placeholder values
1546
2560
  #
1547
2561
  # resp = client.put_channel_policy({
@@ -1582,6 +2596,20 @@ module Aws::MediaPackageV2
1582
2596
  #
1583
2597
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1584
2598
  #
2599
+ #
2600
+ # @example Example: Creating an Origin Endpoint Policy
2601
+ #
2602
+ # resp = client.put_origin_endpoint_policy({
2603
+ # channel_group_name: "exampleChannelGroup",
2604
+ # channel_name: "exampleChannel",
2605
+ # origin_endpoint_name: "exampleOriginEndpoint",
2606
+ # policy: "{...}",
2607
+ # })
2608
+ #
2609
+ # resp.to_h outputs the following:
2610
+ # {
2611
+ # }
2612
+ #
1585
2613
  # @example Request syntax with placeholder values
1586
2614
  #
1587
2615
  # resp = client.put_origin_endpoint_policy({
@@ -1621,6 +2649,21 @@ module Aws::MediaPackageV2
1621
2649
  #
1622
2650
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1623
2651
  #
2652
+ #
2653
+ # @example Example: Add tags to a resource
2654
+ #
2655
+ # resp = client.tag_resource({
2656
+ # resource_arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel",
2657
+ # tags: {
2658
+ # "key3" => "value3",
2659
+ # "key4" => "value4",
2660
+ # },
2661
+ # })
2662
+ #
2663
+ # resp.to_h outputs the following:
2664
+ # {
2665
+ # }
2666
+ #
1624
2667
  # @example Request syntax with placeholder values
1625
2668
  #
1626
2669
  # resp = client.tag_resource({
@@ -1649,6 +2692,21 @@ module Aws::MediaPackageV2
1649
2692
  #
1650
2693
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1651
2694
  #
2695
+ #
2696
+ # @example Example: Remove tags from a resource
2697
+ #
2698
+ # resp = client.untag_resource({
2699
+ # resource_arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel",
2700
+ # tag_keys: [
2701
+ # "key3",
2702
+ # "key4",
2703
+ # ],
2704
+ # })
2705
+ #
2706
+ # resp.to_h outputs the following:
2707
+ # {
2708
+ # }
2709
+ #
1652
2710
  # @example Request syntax with placeholder values
1653
2711
  #
1654
2712
  # resp = client.untag_resource({
@@ -1702,9 +2760,45 @@ module Aws::MediaPackageV2
1702
2760
  # * {Types::UpdateChannelResponse#modified_at #modified_at} => Time
1703
2761
  # * {Types::UpdateChannelResponse#description #description} => String
1704
2762
  # * {Types::UpdateChannelResponse#ingest_endpoints #ingest_endpoints} => Array&lt;Types::IngestEndpoint&gt;
2763
+ # * {Types::UpdateChannelResponse#input_type #input_type} => String
1705
2764
  # * {Types::UpdateChannelResponse#etag #etag} => String
1706
2765
  # * {Types::UpdateChannelResponse#tags #tags} => Hash&lt;String,String&gt;
1707
2766
  #
2767
+ #
2768
+ # @example Example: Updating a Channel
2769
+ #
2770
+ # resp = client.update_channel({
2771
+ # channel_group_name: "exampleChannelGroup",
2772
+ # channel_name: "exampleChannel",
2773
+ # description: "Updated description for exampleChannel",
2774
+ # })
2775
+ #
2776
+ # resp.to_h outputs the following:
2777
+ # {
2778
+ # arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel",
2779
+ # channel_group_name: "exampleChannelGroup",
2780
+ # channel_name: "exampleChannel",
2781
+ # created_at: Time.parse("2022-10-18T09:36:00.00Z"),
2782
+ # description: "Updated description for exampleChannel",
2783
+ # etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
2784
+ # ingest_endpoints: [
2785
+ # {
2786
+ # id: "1",
2787
+ # url: "https://abcde-1.ingest.vwxyz.mediapackagev2.us-west-2.amazonaws.com/v1/exampleChannelGroup/exampleChannel/index",
2788
+ # },
2789
+ # {
2790
+ # id: "2",
2791
+ # url: "https://abcde-2.ingest.vwxyz.mediapackagev2.us-west-2.amazonaws.com/v1/exampleChannelGroup/exampleChannel/index",
2792
+ # },
2793
+ # ],
2794
+ # input_type: "HLS",
2795
+ # modified_at: Time.parse("2022-10-18T10:36:00.00Z"),
2796
+ # tags: {
2797
+ # "key1" => "value1",
2798
+ # "key2" => "value2",
2799
+ # },
2800
+ # }
2801
+ #
1708
2802
  # @example Request syntax with placeholder values
1709
2803
  #
1710
2804
  # resp = client.update_channel({
@@ -1725,6 +2819,7 @@ module Aws::MediaPackageV2
1725
2819
  # resp.ingest_endpoints #=> Array
1726
2820
  # resp.ingest_endpoints[0].id #=> String
1727
2821
  # resp.ingest_endpoints[0].url #=> String
2822
+ # resp.input_type #=> String, one of "HLS", "CMAF"
1728
2823
  # resp.etag #=> String
1729
2824
  # resp.tags #=> Hash
1730
2825
  # resp.tags["TagKey"] #=> String
@@ -1770,6 +2865,29 @@ module Aws::MediaPackageV2
1770
2865
  # * {Types::UpdateChannelGroupResponse#etag #etag} => String
1771
2866
  # * {Types::UpdateChannelGroupResponse#tags #tags} => Hash&lt;String,String&gt;
1772
2867
  #
2868
+ #
2869
+ # @example Example: Updating a Channel Group
2870
+ #
2871
+ # resp = client.update_channel_group({
2872
+ # channel_group_name: "exampleChannelGroup",
2873
+ # description: "Updated description for exampleChannelGroup",
2874
+ # })
2875
+ #
2876
+ # resp.to_h outputs the following:
2877
+ # {
2878
+ # arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup",
2879
+ # channel_group_name: "exampleChannelGroup",
2880
+ # created_at: Time.parse("2022-10-18T09:36:00.00Z"),
2881
+ # description: "Updated description for exampleChannelGroup",
2882
+ # etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
2883
+ # egress_domain: "abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com",
2884
+ # modified_at: Time.parse("2022-10-18T10:36:00.00Z"),
2885
+ # tags: {
2886
+ # "key1" => "value1",
2887
+ # "key2" => "value2",
2888
+ # },
2889
+ # }
2890
+ #
1773
2891
  # @example Request syntax with placeholder values
1774
2892
  #
1775
2893
  # resp = client.update_channel_group({
@@ -1849,6 +2967,9 @@ module Aws::MediaPackageV2
1849
2967
  # @option params [Array<Types::CreateDashManifestConfiguration>] :dash_manifests
1850
2968
  # A DASH manifest configuration.
1851
2969
  #
2970
+ # @option params [Types::ForceEndpointErrorConfiguration] :force_endpoint_error_configuration
2971
+ # The failover settings for the endpoint.
2972
+ #
1852
2973
  # @option params [String] :etag
1853
2974
  # The expected current Entity Tag (ETag) for the resource. If the
1854
2975
  # specified ETag does not match the resource's current entity tag, the
@@ -1868,10 +2989,203 @@ module Aws::MediaPackageV2
1868
2989
  # * {Types::UpdateOriginEndpointResponse#startover_window_seconds #startover_window_seconds} => Integer
1869
2990
  # * {Types::UpdateOriginEndpointResponse#hls_manifests #hls_manifests} => Array&lt;Types::GetHlsManifestConfiguration&gt;
1870
2991
  # * {Types::UpdateOriginEndpointResponse#low_latency_hls_manifests #low_latency_hls_manifests} => Array&lt;Types::GetLowLatencyHlsManifestConfiguration&gt;
2992
+ # * {Types::UpdateOriginEndpointResponse#force_endpoint_error_configuration #force_endpoint_error_configuration} => Types::ForceEndpointErrorConfiguration
1871
2993
  # * {Types::UpdateOriginEndpointResponse#etag #etag} => String
1872
2994
  # * {Types::UpdateOriginEndpointResponse#tags #tags} => Hash&lt;String,String&gt;
1873
2995
  # * {Types::UpdateOriginEndpointResponse#dash_manifests #dash_manifests} => Array&lt;Types::GetDashManifestConfiguration&gt;
1874
2996
  #
2997
+ #
2998
+ # @example Example: Updating an OriginEndpoint
2999
+ #
3000
+ # resp = client.update_origin_endpoint({
3001
+ # channel_group_name: "exampleChannelGroup",
3002
+ # channel_name: "exampleChannel",
3003
+ # container_type: "TS",
3004
+ # description: "Updated description for exampleOriginEndpointTS",
3005
+ # force_endpoint_error_configuration: {
3006
+ # endpoint_error_conditions: [
3007
+ # "STALE_MANIFEST",
3008
+ # "INCOMPLETE_MANIFEST",
3009
+ # "MISSING_DRM_KEY",
3010
+ # "SLATE_INPUT",
3011
+ # ],
3012
+ # },
3013
+ # hls_manifests: [
3014
+ # {
3015
+ # child_manifest_name: "exampleChildManifest1",
3016
+ # manifest_name: "exampleManifest1",
3017
+ # manifest_window_seconds: 30,
3018
+ # program_date_time_interval_seconds: 60,
3019
+ # scte_hls: {
3020
+ # ad_marker_hls: "DATERANGE",
3021
+ # },
3022
+ # },
3023
+ # {
3024
+ # child_manifest_name: "exampleManifest2",
3025
+ # manifest_name: "exampleManifest2",
3026
+ # manifest_window_seconds: 30,
3027
+ # program_date_time_interval_seconds: 60,
3028
+ # scte_hls: {
3029
+ # ad_marker_hls: "DATERANGE",
3030
+ # },
3031
+ # },
3032
+ # ],
3033
+ # low_latency_hls_manifests: [
3034
+ # {
3035
+ # child_manifest_name: "exampleLLChildManifest1",
3036
+ # manifest_name: "exampleLLManifest1",
3037
+ # manifest_window_seconds: 30,
3038
+ # program_date_time_interval_seconds: 60,
3039
+ # scte_hls: {
3040
+ # ad_marker_hls: "DATERANGE",
3041
+ # },
3042
+ # },
3043
+ # {
3044
+ # child_manifest_name: "exampleLLManifest2",
3045
+ # manifest_name: "exampleLLManifest2",
3046
+ # manifest_window_seconds: 30,
3047
+ # program_date_time_interval_seconds: 60,
3048
+ # scte_hls: {
3049
+ # ad_marker_hls: "DATERANGE",
3050
+ # },
3051
+ # },
3052
+ # ],
3053
+ # origin_endpoint_name: "exampleOriginEndpointTS",
3054
+ # segment: {
3055
+ # encryption: {
3056
+ # constant_initialization_vector: "A382A901F3C1F7718512266CFFBB0B7E",
3057
+ # encryption_method: {
3058
+ # ts_encryption_method: "AES_128",
3059
+ # },
3060
+ # key_rotation_interval_seconds: 300,
3061
+ # speke_key_provider: {
3062
+ # drm_systems: [
3063
+ # "CLEAR_KEY_AES_128",
3064
+ # ],
3065
+ # encryption_contract_configuration: {
3066
+ # preset_speke_20_audio: "SHARED",
3067
+ # preset_speke_20_video: "SHARED",
3068
+ # },
3069
+ # resource_id: "ResourceId",
3070
+ # role_arn: "arn:aws:iam::123456789012:role/empRole",
3071
+ # url: "https://foo.com",
3072
+ # },
3073
+ # },
3074
+ # include_iframe_only_streams: false,
3075
+ # scte: {
3076
+ # scte_filter: [
3077
+ # "SPLICE_INSERT",
3078
+ # ],
3079
+ # },
3080
+ # segment_duration_seconds: 7,
3081
+ # segment_name: "segmentName2",
3082
+ # ts_include_dvb_subtitles: false,
3083
+ # ts_use_audio_rendition_group: true,
3084
+ # },
3085
+ # startover_window_seconds: 600,
3086
+ # })
3087
+ #
3088
+ # resp.to_h outputs the following:
3089
+ # {
3090
+ # arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointTS",
3091
+ # channel_group_name: "exampleChannelGroup",
3092
+ # channel_name: "exampleChannel",
3093
+ # container_type: "TS",
3094
+ # created_at: Time.parse("2022-10-18T09:36:00.00Z"),
3095
+ # description: "Updated description for exampleOriginEndpointTS",
3096
+ # etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
3097
+ # force_endpoint_error_configuration: {
3098
+ # endpoint_error_conditions: [
3099
+ # "STALE_MANIFEST",
3100
+ # "INCOMPLETE_MANIFEST",
3101
+ # "MISSING_DRM_KEY",
3102
+ # "SLATE_INPUT",
3103
+ # ],
3104
+ # },
3105
+ # hls_manifests: [
3106
+ # {
3107
+ # child_manifest_name: "exampleChildManifest1",
3108
+ # manifest_name: "exampleManifest1",
3109
+ # manifest_window_seconds: 30,
3110
+ # program_date_time_interval_seconds: 60,
3111
+ # scte_hls: {
3112
+ # ad_marker_hls: "DATERANGE",
3113
+ # },
3114
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest1.m3u8",
3115
+ # },
3116
+ # {
3117
+ # child_manifest_name: "exampleManifest2",
3118
+ # manifest_name: "exampleManifest2",
3119
+ # manifest_window_seconds: 30,
3120
+ # program_date_time_interval_seconds: 60,
3121
+ # scte_hls: {
3122
+ # ad_marker_hls: "DATERANGE",
3123
+ # },
3124
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest2.m3u8",
3125
+ # },
3126
+ # ],
3127
+ # low_latency_hls_manifests: [
3128
+ # {
3129
+ # child_manifest_name: "exampleLLChildManifest1",
3130
+ # manifest_name: "exampleLLManifest1",
3131
+ # manifest_window_seconds: 30,
3132
+ # program_date_time_interval_seconds: 60,
3133
+ # scte_hls: {
3134
+ # ad_marker_hls: "DATERANGE",
3135
+ # },
3136
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest1.m3u8",
3137
+ # },
3138
+ # {
3139
+ # child_manifest_name: "exampleLLManifest2",
3140
+ # manifest_name: "exampleLLManifest2",
3141
+ # manifest_window_seconds: 30,
3142
+ # program_date_time_interval_seconds: 60,
3143
+ # scte_hls: {
3144
+ # ad_marker_hls: "DATERANGE",
3145
+ # },
3146
+ # url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest2.m3u8",
3147
+ # },
3148
+ # ],
3149
+ # modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
3150
+ # origin_endpoint_name: "exampleOriginEndpointTS",
3151
+ # segment: {
3152
+ # encryption: {
3153
+ # constant_initialization_vector: "A382A901F3C1F7718512266CFFBB0B7E",
3154
+ # encryption_method: {
3155
+ # ts_encryption_method: "AES_128",
3156
+ # },
3157
+ # key_rotation_interval_seconds: 300,
3158
+ # speke_key_provider: {
3159
+ # drm_systems: [
3160
+ # "CLEAR_KEY_AES_128",
3161
+ # ],
3162
+ # encryption_contract_configuration: {
3163
+ # preset_speke_20_audio: "SHARED",
3164
+ # preset_speke_20_video: "SHARED",
3165
+ # },
3166
+ # resource_id: "ResourceId",
3167
+ # role_arn: "arn:aws:iam::123456789012:role/empRole",
3168
+ # url: "https://foo.com",
3169
+ # },
3170
+ # },
3171
+ # include_iframe_only_streams: false,
3172
+ # scte: {
3173
+ # scte_filter: [
3174
+ # "SPLICE_INSERT",
3175
+ # ],
3176
+ # },
3177
+ # segment_duration_seconds: 7,
3178
+ # segment_name: "segmentName2",
3179
+ # ts_include_dvb_subtitles: false,
3180
+ # ts_use_audio_rendition_group: true,
3181
+ # },
3182
+ # startover_window_seconds: 600,
3183
+ # tags: {
3184
+ # "key1" => "value1",
3185
+ # "key2" => "value2",
3186
+ # },
3187
+ # }
3188
+ #
1875
3189
  # @example Request syntax with placeholder values
1876
3190
  #
1877
3191
  # resp = client.update_origin_endpoint({
@@ -1968,6 +3282,9 @@ module Aws::MediaPackageV2
1968
3282
  # },
1969
3283
  # },
1970
3284
  # ],
3285
+ # force_endpoint_error_configuration: {
3286
+ # endpoint_error_conditions: ["STALE_MANIFEST"], # accepts STALE_MANIFEST, INCOMPLETE_MANIFEST, MISSING_DRM_KEY, SLATE_INPUT
3287
+ # },
1971
3288
  # etag: "EntityTag",
1972
3289
  # })
1973
3290
  #
@@ -2022,6 +3339,8 @@ module Aws::MediaPackageV2
2022
3339
  # resp.low_latency_hls_manifests[0].filter_configuration.start #=> Time
2023
3340
  # resp.low_latency_hls_manifests[0].filter_configuration.end #=> Time
2024
3341
  # resp.low_latency_hls_manifests[0].filter_configuration.time_delay_seconds #=> Integer
3342
+ # resp.force_endpoint_error_configuration.endpoint_error_conditions #=> Array
3343
+ # resp.force_endpoint_error_configuration.endpoint_error_conditions[0] #=> String, one of "STALE_MANIFEST", "INCOMPLETE_MANIFEST", "MISSING_DRM_KEY", "SLATE_INPUT"
2025
3344
  # resp.etag #=> String
2026
3345
  # resp.tags #=> Hash
2027
3346
  # resp.tags["TagKey"] #=> String
@@ -2066,7 +3385,7 @@ module Aws::MediaPackageV2
2066
3385
  params: params,
2067
3386
  config: config)
2068
3387
  context[:gem_name] = 'aws-sdk-mediapackagev2'
2069
- context[:gem_version] = '1.17.0'
3388
+ context[:gem_version] = '1.19.0'
2070
3389
  Seahorse::Client::Request.new(handlers, context)
2071
3390
  end
2072
3391