# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::MediaPackage module Types # CDN Authorization credentials # # @!attribute [rw] cdn_identifier_secret # The Amazon Resource Name (ARN) for the secret in Secrets Manager # that your Content Distribution Network (CDN) uses for authorization # to access your endpoint. # @return [String] # # @!attribute [rw] secrets_role_arn # The Amazon Resource Name (ARN) for the IAM role that allows # MediaPackage to communicate with AWS Secrets Manager. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/Authorization AWS API Documentation # class Authorization < Struct.new( :cdn_identifier_secret, :secrets_role_arn) SENSITIVE = [] include Aws::Structure end # A Channel resource configuration. # # @!attribute [rw] arn # The Amazon Resource Name (ARN) assigned to the Channel. # @return [String] # # @!attribute [rw] created_at # The date and time the Channel was created. # @return [String] # # @!attribute [rw] description # A short text description of the Channel. # @return [String] # # @!attribute [rw] egress_access_logs # Configure egress access logging. # @return [Types::EgressAccessLogs] # # @!attribute [rw] hls_ingest # An HTTP Live Streaming (HLS) ingest resource configuration. # @return [Types::HlsIngest] # # @!attribute [rw] id # The ID of the Channel. # @return [String] # # @!attribute [rw] ingress_access_logs # Configure ingress access logging. # @return [Types::IngressAccessLogs] # # @!attribute [rw] tags # A collection of tags associated with a resource # @return [Hash] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/Channel AWS API Documentation # class Channel < Struct.new( :arn, :created_at, :description, :egress_access_logs, :hls_ingest, :id, :ingress_access_logs, :tags) SENSITIVE = [] include Aws::Structure end # Configuration parameters for a new Channel. # # @!attribute [rw] description # A short text description of the Channel. # @return [String] # # @!attribute [rw] id # The ID of the Channel. The ID must be unique within the region and # it cannot be changed after a Channel is created. # @return [String] # # @!attribute [rw] tags # A collection of tags associated with a resource # @return [Hash] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ChannelCreateParameters AWS API Documentation # class ChannelCreateParameters < Struct.new( :description, :id, :tags) SENSITIVE = [] include Aws::Structure end # A collection of Channel records. # # @!attribute [rw] channels # A list of Channel records. # @return [Array] # # @!attribute [rw] next_token # A token that can be used to resume pagination from the end of the # collection. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ChannelList AWS API Documentation # class ChannelList < Struct.new( :channels, :next_token) SENSITIVE = [] include Aws::Structure end # Configuration parameters for updating an existing Channel. # # @!attribute [rw] description # A short text description of the Channel. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ChannelUpdateParameters AWS API Documentation # class ChannelUpdateParameters < Struct.new( :description) SENSITIVE = [] include Aws::Structure end # A Common Media Application Format (CMAF) encryption configuration. # # @!attribute [rw] constant_initialization_vector # An optional 128-bit, 16-byte hex value represented by a 32-character # string, used in conjunction with the key for encrypting blocks. If # you don't specify a value, then MediaPackage creates the constant # initialization vector (IV). # @return [String] # # @!attribute [rw] encryption_method # The encryption method to use. # @return [String] # # @!attribute [rw] key_rotation_interval_seconds # Time (in seconds) between each encryption key rotation. # @return [Integer] # # @!attribute [rw] speke_key_provider # A configuration for accessing an external Secure Packager and # Encoder Key Exchange (SPEKE) service that will provide encryption # keys. # @return [Types::SpekeKeyProvider] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CmafEncryption AWS API Documentation # class CmafEncryption < Struct.new( :constant_initialization_vector, :encryption_method, :key_rotation_interval_seconds, :speke_key_provider) SENSITIVE = [] include Aws::Structure end # A Common Media Application Format (CMAF) packaging configuration. # # @!attribute [rw] encryption # A Common Media Application Format (CMAF) encryption configuration. # @return [Types::CmafEncryption] # # @!attribute [rw] hls_manifests # A list of HLS manifest configurations # @return [Array] # # @!attribute [rw] segment_duration_seconds # Duration (in seconds) of each segment. Actual segments will be # rounded to the nearest multiple of the source segment duration. # @return [Integer] # # @!attribute [rw] segment_prefix # An optional custom string that is prepended to the name of each # segment. If not specified, it defaults to the ChannelId. # @return [String] # # @!attribute [rw] stream_selection # A StreamSelection configuration. # @return [Types::StreamSelection] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CmafPackage AWS API Documentation # class CmafPackage < Struct.new( :encryption, :hls_manifests, :segment_duration_seconds, :segment_prefix, :stream_selection) SENSITIVE = [] include Aws::Structure end # A Common Media Application Format (CMAF) packaging configuration. # # @!attribute [rw] encryption # A Common Media Application Format (CMAF) encryption configuration. # @return [Types::CmafEncryption] # # @!attribute [rw] hls_manifests # A list of HLS manifest configurations # @return [Array] # # @!attribute [rw] segment_duration_seconds # Duration (in seconds) of each segment. Actual segments will be # rounded to the nearest multiple of the source segment duration. # @return [Integer] # # @!attribute [rw] segment_prefix # An optional custom string that is prepended to the name of each # segment. If not specified, it defaults to the ChannelId. # @return [String] # # @!attribute [rw] stream_selection # A StreamSelection configuration. # @return [Types::StreamSelection] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CmafPackageCreateOrUpdateParameters AWS API Documentation # class CmafPackageCreateOrUpdateParameters < Struct.new( :encryption, :hls_manifests, :segment_duration_seconds, :segment_prefix, :stream_selection) SENSITIVE = [] include Aws::Structure end # The configuration parameters for ingress and egress access logging. # # @!attribute [rw] egress_access_logs # Configure egress access logging. # @return [Types::EgressAccessLogs] # # @!attribute [rw] ingress_access_logs # Configure ingress access logging. # @return [Types::IngressAccessLogs] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ConfigureLogsParameters AWS API Documentation # class ConfigureLogsParameters < Struct.new( :egress_access_logs, :ingress_access_logs) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] egress_access_logs # Configure egress access logging. # @return [Types::EgressAccessLogs] # # @!attribute [rw] id # @return [String] # # @!attribute [rw] ingress_access_logs # Configure ingress access logging. # @return [Types::IngressAccessLogs] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ConfigureLogsRequest AWS API Documentation # class ConfigureLogsRequest < Struct.new( :egress_access_logs, :id, :ingress_access_logs) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] arn # @return [String] # # @!attribute [rw] created_at # @return [String] # # @!attribute [rw] description # @return [String] # # @!attribute [rw] egress_access_logs # Configure egress access logging. # @return [Types::EgressAccessLogs] # # @!attribute [rw] hls_ingest # An HTTP Live Streaming (HLS) ingest resource configuration. # @return [Types::HlsIngest] # # @!attribute [rw] id # @return [String] # # @!attribute [rw] ingress_access_logs # Configure ingress access logging. # @return [Types::IngressAccessLogs] # # @!attribute [rw] tags # A collection of tags associated with a resource # @return [Hash] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ConfigureLogsResponse AWS API Documentation # class ConfigureLogsResponse < Struct.new( :arn, :created_at, :description, :egress_access_logs, :hls_ingest, :id, :ingress_access_logs, :tags) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] description # @return [String] # # @!attribute [rw] id # @return [String] # # @!attribute [rw] tags # A collection of tags associated with a resource # @return [Hash] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannelRequest AWS API Documentation # class CreateChannelRequest < Struct.new( :description, :id, :tags) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] arn # @return [String] # # @!attribute [rw] created_at # @return [String] # # @!attribute [rw] description # @return [String] # # @!attribute [rw] egress_access_logs # Configure egress access logging. # @return [Types::EgressAccessLogs] # # @!attribute [rw] hls_ingest # An HTTP Live Streaming (HLS) ingest resource configuration. # @return [Types::HlsIngest] # # @!attribute [rw] id # @return [String] # # @!attribute [rw] ingress_access_logs # Configure ingress access logging. # @return [Types::IngressAccessLogs] # # @!attribute [rw] tags # A collection of tags associated with a resource # @return [Hash] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannelResponse AWS API Documentation # class CreateChannelResponse < Struct.new( :arn, :created_at, :description, :egress_access_logs, :hls_ingest, :id, :ingress_access_logs, :tags) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] end_time # @return [String] # # @!attribute [rw] id # @return [String] # # @!attribute [rw] origin_endpoint_id # @return [String] # # @!attribute [rw] s3_destination # Configuration parameters for where in an S3 bucket to place the # harvested content # @return [Types::S3Destination] # # @!attribute [rw] start_time # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateHarvestJobRequest AWS API Documentation # class CreateHarvestJobRequest < Struct.new( :end_time, :id, :origin_endpoint_id, :s3_destination, :start_time) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] arn # @return [String] # # @!attribute [rw] channel_id # @return [String] # # @!attribute [rw] created_at # @return [String] # # @!attribute [rw] end_time # @return [String] # # @!attribute [rw] id # @return [String] # # @!attribute [rw] origin_endpoint_id # @return [String] # # @!attribute [rw] s3_destination # Configuration parameters for where in an S3 bucket to place the # harvested content # @return [Types::S3Destination] # # @!attribute [rw] start_time # @return [String] # # @!attribute [rw] status # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateHarvestJobResponse AWS API Documentation # class CreateHarvestJobResponse < Struct.new( :arn, :channel_id, :created_at, :end_time, :id, :origin_endpoint_id, :s3_destination, :start_time, :status) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] authorization # CDN Authorization credentials # @return [Types::Authorization] # # @!attribute [rw] channel_id # @return [String] # # @!attribute [rw] cmaf_package # A Common Media Application Format (CMAF) packaging configuration. # @return [Types::CmafPackageCreateOrUpdateParameters] # # @!attribute [rw] dash_package # A Dynamic Adaptive Streaming over HTTP (DASH) packaging # configuration. # @return [Types::DashPackage] # # @!attribute [rw] description # @return [String] # # @!attribute [rw] hls_package # An HTTP Live Streaming (HLS) packaging configuration. # @return [Types::HlsPackage] # # @!attribute [rw] id # @return [String] # # @!attribute [rw] manifest_name # @return [String] # # @!attribute [rw] mss_package # A Microsoft Smooth Streaming (MSS) packaging configuration. # @return [Types::MssPackage] # # @!attribute [rw] origination # @return [String] # # @!attribute [rw] startover_window_seconds # @return [Integer] # # @!attribute [rw] tags # A collection of tags associated with a resource # @return [Hash] # # @!attribute [rw] time_delay_seconds # @return [Integer] # # @!attribute [rw] whitelist # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpointRequest AWS API Documentation # class CreateOriginEndpointRequest < Struct.new( :authorization, :channel_id, :cmaf_package, :dash_package, :description, :hls_package, :id, :manifest_name, :mss_package, :origination, :startover_window_seconds, :tags, :time_delay_seconds, :whitelist) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] arn # @return [String] # # @!attribute [rw] authorization # CDN Authorization credentials # @return [Types::Authorization] # # @!attribute [rw] channel_id # @return [String] # # @!attribute [rw] cmaf_package # A Common Media Application Format (CMAF) packaging configuration. # @return [Types::CmafPackage] # # @!attribute [rw] created_at # @return [String] # # @!attribute [rw] dash_package # A Dynamic Adaptive Streaming over HTTP (DASH) packaging # configuration. # @return [Types::DashPackage] # # @!attribute [rw] description # @return [String] # # @!attribute [rw] hls_package # An HTTP Live Streaming (HLS) packaging configuration. # @return [Types::HlsPackage] # # @!attribute [rw] id # @return [String] # # @!attribute [rw] manifest_name # @return [String] # # @!attribute [rw] mss_package # A Microsoft Smooth Streaming (MSS) packaging configuration. # @return [Types::MssPackage] # # @!attribute [rw] origination # @return [String] # # @!attribute [rw] startover_window_seconds # @return [Integer] # # @!attribute [rw] tags # A collection of tags associated with a resource # @return [Hash] # # @!attribute [rw] time_delay_seconds # @return [Integer] # # @!attribute [rw] url # @return [String] # # @!attribute [rw] whitelist # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpointResponse AWS API Documentation # class CreateOriginEndpointResponse < Struct.new( :arn, :authorization, :channel_id, :cmaf_package, :created_at, :dash_package, :description, :hls_package, :id, :manifest_name, :mss_package, :origination, :startover_window_seconds, :tags, :time_delay_seconds, :url, :whitelist) SENSITIVE = [] include Aws::Structure end # A Dynamic Adaptive Streaming over HTTP (DASH) encryption # configuration. # # @!attribute [rw] key_rotation_interval_seconds # Time (in seconds) between each encryption key rotation. # @return [Integer] # # @!attribute [rw] speke_key_provider # A configuration for accessing an external Secure Packager and # Encoder Key Exchange (SPEKE) service that will provide encryption # keys. # @return [Types::SpekeKeyProvider] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DashEncryption AWS API Documentation # class DashEncryption < Struct.new( :key_rotation_interval_seconds, :speke_key_provider) SENSITIVE = [] include Aws::Structure end # A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. # # @!attribute [rw] ad_triggers # A list of SCTE-35 message types that are treated as ad markers in # the output. If empty, no ad markers are output. Specify multiple # items to create ad markers for all of the included message types. # @return [Array] # # @!attribute [rw] ads_on_delivery_restrictions # This setting allows the delivery restriction flags on SCTE-35 # segmentation descriptors to determine whether a message signals an # ad. Choosing "NONE" means no SCTE-35 messages become ads. Choosing # "RESTRICTED" means SCTE-35 messages of the types specified in # AdTriggers that contain delivery restrictions will be treated as # ads. Choosing "UNRESTRICTED" means SCTE-35 messages of the types # specified in AdTriggers that do not contain delivery restrictions # will be treated as ads. Choosing "BOTH" means all SCTE-35 messages # of the types specified in AdTriggers will be treated as ads. Note # that Splice Insert messages do not have these flags and are always # treated as ads if specified in AdTriggers. # @return [String] # # @!attribute [rw] encryption # A Dynamic Adaptive Streaming over HTTP (DASH) encryption # configuration. # @return [Types::DashEncryption] # # @!attribute [rw] include_iframe_only_stream # When enabled, an I-Frame only stream will be included in the output. # @return [Boolean] # # @!attribute [rw] manifest_layout # Determines the position of some tags in the Media Presentation # Description (MPD). When set to FULL, elements like SegmentTemplate # and ContentProtection are included in each Representation. When set # to COMPACT, duplicate elements are combined and presented at the # AdaptationSet level. # @return [String] # # @!attribute [rw] manifest_window_seconds # Time window (in seconds) contained in each manifest. # @return [Integer] # # @!attribute [rw] min_buffer_time_seconds # Minimum duration (in seconds) that a player will buffer media before # starting the presentation. # @return [Integer] # # @!attribute [rw] min_update_period_seconds # Minimum duration (in seconds) between potential changes to the # Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation # Description (MPD). # @return [Integer] # # @!attribute [rw] period_triggers # A list of triggers that controls when the outgoing Dynamic Adaptive # Streaming over HTTP (DASH) Media Presentation Description (MPD) will # be partitioned into multiple periods. If empty, the content will not # be partitioned into more than one period. If the list contains # "ADS", new periods will be created where the Channel source # contains SCTE-35 ad markers. # @return [Array] # # @!attribute [rw] profile # The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When # set to "HBBTV\_1\_5", HbbTV 1.5 compliant output is enabled. When # set to "DVB-DASH\_2014", DVB-DASH 2014 compliant output is # enabled. # @return [String] # # @!attribute [rw] segment_duration_seconds # Duration (in seconds) of each segment. Actual segments will be # rounded to the nearest multiple of the source segment duration. # @return [Integer] # # @!attribute [rw] segment_template_format # Determines the type of SegmentTemplate included in the Media # Presentation Description (MPD). When set to NUMBER\_WITH\_TIMELINE, # a full timeline is presented in each SegmentTemplate, with $Number$ # media URLs. When set to TIME\_WITH\_TIMELINE, a full timeline is # presented in each SegmentTemplate, with $Time$ media URLs. When set # to NUMBER\_WITH\_DURATION, only a duration is included in each # SegmentTemplate, with $Number$ media URLs. # @return [String] # # @!attribute [rw] stream_selection # A StreamSelection configuration. # @return [Types::StreamSelection] # # @!attribute [rw] suggested_presentation_delay_seconds # Duration (in seconds) to delay live content before presentation. # @return [Integer] # # @!attribute [rw] utc_timing # Determines the type of UTCTiming included in the Media Presentation # Description (MPD) # @return [String] # # @!attribute [rw] utc_timing_uri # Specifies the value attribute of the UTCTiming field when utcTiming # is set to HTTP-ISO, HTTP-HEAD or HTTP-XSDATE # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DashPackage AWS API Documentation # class DashPackage < Struct.new( :ad_triggers, :ads_on_delivery_restrictions, :encryption, :include_iframe_only_stream, :manifest_layout, :manifest_window_seconds, :min_buffer_time_seconds, :min_update_period_seconds, :period_triggers, :profile, :segment_duration_seconds, :segment_template_format, :stream_selection, :suggested_presentation_delay_seconds, :utc_timing, :utc_timing_uri) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] id # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteChannelRequest AWS API Documentation # class DeleteChannelRequest < Struct.new( :id) SENSITIVE = [] include Aws::Structure end # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteChannelResponse AWS API Documentation # class DeleteChannelResponse < Aws::EmptyStructure; end # @!attribute [rw] id # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteOriginEndpointRequest AWS API Documentation # class DeleteOriginEndpointRequest < Struct.new( :id) SENSITIVE = [] include Aws::Structure end # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteOriginEndpointResponse AWS API Documentation # class DeleteOriginEndpointResponse < Aws::EmptyStructure; end # @!attribute [rw] id # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannelRequest AWS API Documentation # class DescribeChannelRequest < Struct.new( :id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] arn # @return [String] # # @!attribute [rw] created_at # @return [String] # # @!attribute [rw] description # @return [String] # # @!attribute [rw] egress_access_logs # Configure egress access logging. # @return [Types::EgressAccessLogs] # # @!attribute [rw] hls_ingest # An HTTP Live Streaming (HLS) ingest resource configuration. # @return [Types::HlsIngest] # # @!attribute [rw] id # @return [String] # # @!attribute [rw] ingress_access_logs # Configure ingress access logging. # @return [Types::IngressAccessLogs] # # @!attribute [rw] tags # A collection of tags associated with a resource # @return [Hash] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannelResponse AWS API Documentation # class DescribeChannelResponse < Struct.new( :arn, :created_at, :description, :egress_access_logs, :hls_ingest, :id, :ingress_access_logs, :tags) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] id # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeHarvestJobRequest AWS API Documentation # class DescribeHarvestJobRequest < Struct.new( :id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] arn # @return [String] # # @!attribute [rw] channel_id # @return [String] # # @!attribute [rw] created_at # @return [String] # # @!attribute [rw] end_time # @return [String] # # @!attribute [rw] id # @return [String] # # @!attribute [rw] origin_endpoint_id # @return [String] # # @!attribute [rw] s3_destination # Configuration parameters for where in an S3 bucket to place the # harvested content # @return [Types::S3Destination] # # @!attribute [rw] start_time # @return [String] # # @!attribute [rw] status # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeHarvestJobResponse AWS API Documentation # class DescribeHarvestJobResponse < Struct.new( :arn, :channel_id, :created_at, :end_time, :id, :origin_endpoint_id, :s3_destination, :start_time, :status) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] id # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeOriginEndpointRequest AWS API Documentation # class DescribeOriginEndpointRequest < Struct.new( :id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] arn # @return [String] # # @!attribute [rw] authorization # CDN Authorization credentials # @return [Types::Authorization] # # @!attribute [rw] channel_id # @return [String] # # @!attribute [rw] cmaf_package # A Common Media Application Format (CMAF) packaging configuration. # @return [Types::CmafPackage] # # @!attribute [rw] created_at # @return [String] # # @!attribute [rw] dash_package # A Dynamic Adaptive Streaming over HTTP (DASH) packaging # configuration. # @return [Types::DashPackage] # # @!attribute [rw] description # @return [String] # # @!attribute [rw] hls_package # An HTTP Live Streaming (HLS) packaging configuration. # @return [Types::HlsPackage] # # @!attribute [rw] id # @return [String] # # @!attribute [rw] manifest_name # @return [String] # # @!attribute [rw] mss_package # A Microsoft Smooth Streaming (MSS) packaging configuration. # @return [Types::MssPackage] # # @!attribute [rw] origination # @return [String] # # @!attribute [rw] startover_window_seconds # @return [Integer] # # @!attribute [rw] tags # A collection of tags associated with a resource # @return [Hash] # # @!attribute [rw] time_delay_seconds # @return [Integer] # # @!attribute [rw] url # @return [String] # # @!attribute [rw] whitelist # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeOriginEndpointResponse AWS API Documentation # class DescribeOriginEndpointResponse < Struct.new( :arn, :authorization, :channel_id, :cmaf_package, :created_at, :dash_package, :description, :hls_package, :id, :manifest_name, :mss_package, :origination, :startover_window_seconds, :tags, :time_delay_seconds, :url, :whitelist) SENSITIVE = [] include Aws::Structure end # Configure egress access logging. # # @!attribute [rw] log_group_name # Customize the log group name. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/EgressAccessLogs AWS API Documentation # class EgressAccessLogs < Struct.new( :log_group_name) SENSITIVE = [] include Aws::Structure end # Use encryptionContractConfiguration to configure one or more content # encryption keys for your endpoints that use SPEKE 2.0. The encryption # contract defines which content keys are used to encrypt the audio and # video tracks in your stream. To configure the encryption contract, # specify which audio and video encryption presets to use. Note the # following considerations when using encryptionContractConfiguration: # encryptionContractConfiguration can be used for DASH or CMAF endpoints # that use SPEKE 2.0. SPEKE 2.0 relies on the CPIX 2.3 specification. # You must disable key rotation for this endpoint by setting # keyRotationIntervalSeconds to 0. # # @!attribute [rw] preset_speke_20_audio # A collection of audio encryption presets. # @return [String] # # @!attribute [rw] preset_speke_20_video # A collection of video encryption presets. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/EncryptionContractConfiguration AWS API Documentation # class EncryptionContractConfiguration < Struct.new( :preset_speke_20_audio, :preset_speke_20_video) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] message # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ForbiddenException AWS API Documentation # class ForbiddenException < Struct.new( :message) SENSITIVE = [] include Aws::Structure end # A HarvestJob resource configuration # # @!attribute [rw] arn # The Amazon Resource Name (ARN) assigned to the HarvestJob. # @return [String] # # @!attribute [rw] channel_id # The ID of the Channel that the HarvestJob will harvest from. # @return [String] # # @!attribute [rw] created_at # The date and time the HarvestJob was submitted. # @return [String] # # @!attribute [rw] end_time # The end of the time-window which will be harvested. # @return [String] # # @!attribute [rw] id # The ID of the HarvestJob. The ID must be unique within the region # and it cannot be changed after the HarvestJob is submitted. # @return [String] # # @!attribute [rw] origin_endpoint_id # The ID of the OriginEndpoint that the HarvestJob will harvest from. # This cannot be changed after the HarvestJob is submitted. # @return [String] # # @!attribute [rw] s3_destination # Configuration parameters for where in an S3 bucket to place the # harvested content # @return [Types::S3Destination] # # @!attribute [rw] start_time # The start of the time-window which will be harvested. # @return [String] # # @!attribute [rw] status # The current status of the HarvestJob. Consider setting up a # CloudWatch Event to listen for HarvestJobs as they succeed or fail. # In the event of failure, the CloudWatch Event will include an # explanation of why the HarvestJob failed. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HarvestJob AWS API Documentation # class HarvestJob < Struct.new( :arn, :channel_id, :created_at, :end_time, :id, :origin_endpoint_id, :s3_destination, :start_time, :status) SENSITIVE = [] include Aws::Structure end # Configuration parameters for a new HarvestJob # # @!attribute [rw] end_time # The end of the time-window which will be harvested # @return [String] # # @!attribute [rw] id # The ID of the HarvestJob. The ID must be unique within the region # and it cannot be changed after the HarvestJob is submitted # @return [String] # # @!attribute [rw] origin_endpoint_id # The ID of the OriginEndpoint that the HarvestJob will harvest from. # This cannot be changed after the HarvestJob is submitted. # @return [String] # # @!attribute [rw] s3_destination # Configuration parameters for where in an S3 bucket to place the # harvested content # @return [Types::S3Destination] # # @!attribute [rw] start_time # The start of the time-window which will be harvested # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HarvestJobCreateParameters AWS API Documentation # class HarvestJobCreateParameters < Struct.new( :end_time, :id, :origin_endpoint_id, :s3_destination, :start_time) SENSITIVE = [] include Aws::Structure end # A collection of HarvestJob records. # # @!attribute [rw] harvest_jobs # A list of HarvestJob records. # @return [Array] # # @!attribute [rw] next_token # A token that can be used to resume pagination from the end of the # collection. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HarvestJobList AWS API Documentation # class HarvestJobList < Struct.new( :harvest_jobs, :next_token) SENSITIVE = [] include Aws::Structure end # An HTTP Live Streaming (HLS) encryption configuration. # # @!attribute [rw] constant_initialization_vector # A constant initialization vector for encryption (optional). When not # specified the initialization vector will be periodically rotated. # @return [String] # # @!attribute [rw] encryption_method # The encryption method to use. # @return [String] # # @!attribute [rw] key_rotation_interval_seconds # Interval (in seconds) between each encryption key rotation. # @return [Integer] # # @!attribute [rw] repeat_ext_x_key # When enabled, the EXT-X-KEY tag will be repeated in output # manifests. # @return [Boolean] # # @!attribute [rw] speke_key_provider # A configuration for accessing an external Secure Packager and # Encoder Key Exchange (SPEKE) service that will provide encryption # keys. # @return [Types::SpekeKeyProvider] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HlsEncryption AWS API Documentation # class HlsEncryption < Struct.new( :constant_initialization_vector, :encryption_method, :key_rotation_interval_seconds, :repeat_ext_x_key, :speke_key_provider) SENSITIVE = [] include Aws::Structure end # An HTTP Live Streaming (HLS) ingest resource configuration. # # @!attribute [rw] ingest_endpoints # A list of endpoints to which the source stream should be sent. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HlsIngest AWS API Documentation # class HlsIngest < Struct.new( :ingest_endpoints) SENSITIVE = [] include Aws::Structure end # A HTTP Live Streaming (HLS) manifest configuration. # # @!attribute [rw] ad_markers # This setting controls how ad markers are included in the packaged # OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the # output. "PASSTHROUGH" causes the manifest to contain a copy of the # SCTE-35 ad markers (comments) taken directly from the input HTTP # Live Streaming (HLS) manifest. "SCTE35\_ENHANCED" generates ad # markers and blackout tags based on SCTE-35 messages in the input # source. "DATERANGE" inserts EXT-X-DATERANGE tags to signal ad and # program transition events in HLS and CMAF manifests. For this # option, you must set a programDateTimeIntervalSeconds value that is # greater than 0. # @return [String] # # @!attribute [rw] id # The ID of the manifest. The ID must be unique within the # OriginEndpoint and it cannot be changed after it is created. # @return [String] # # @!attribute [rw] include_iframe_only_stream # When enabled, an I-Frame only stream will be included in the output. # @return [Boolean] # # @!attribute [rw] manifest_name # An optional short string appended to the end of the OriginEndpoint # URL. If not specified, defaults to the manifestName for the # OriginEndpoint. # @return [String] # # @!attribute [rw] playlist_type # The HTTP Live Streaming (HLS) playlist type. When either "EVENT" # or "VOD" is specified, a corresponding EXT-X-PLAYLIST-TYPE entry # will be included in the media playlist. # @return [String] # # @!attribute [rw] playlist_window_seconds # Time window (in seconds) contained in each parent manifest. # @return [Integer] # # @!attribute [rw] program_date_time_interval_seconds # The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag # inserted into manifests. Additionally, when an interval is specified # ID3Timed Metadata messages will be generated every 5 seconds using # the ingest time of the content. If the interval is not specified, or # set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted into # manifests and no ID3Timed Metadata messages will be generated. Note # that irrespective of this parameter, if any ID3 Timed Metadata is # found in HTTP Live Streaming (HLS) input, it will be passed through # to HLS output. # @return [Integer] # # @!attribute [rw] url # The URL of the packaged OriginEndpoint for consumption. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HlsManifest AWS API Documentation # class HlsManifest < Struct.new( :ad_markers, :id, :include_iframe_only_stream, :manifest_name, :playlist_type, :playlist_window_seconds, :program_date_time_interval_seconds, :url) SENSITIVE = [] include Aws::Structure end # A HTTP Live Streaming (HLS) manifest configuration. # # @!attribute [rw] ad_markers # This setting controls how ad markers are included in the packaged # OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the # output. "PASSTHROUGH" causes the manifest to contain a copy of the # SCTE-35 ad markers (comments) taken directly from the input HTTP # Live Streaming (HLS) manifest. "SCTE35\_ENHANCED" generates ad # markers and blackout tags based on SCTE-35 messages in the input # source. "DATERANGE" inserts EXT-X-DATERANGE tags to signal ad and # program transition events in HLS and CMAF manifests. For this # option, you must set a programDateTimeIntervalSeconds value that is # greater than 0. # @return [String] # # @!attribute [rw] ad_triggers # A list of SCTE-35 message types that are treated as ad markers in # the output. If empty, no ad markers are output. Specify multiple # items to create ad markers for all of the included message types. # @return [Array] # # @!attribute [rw] ads_on_delivery_restrictions # This setting allows the delivery restriction flags on SCTE-35 # segmentation descriptors to determine whether a message signals an # ad. Choosing "NONE" means no SCTE-35 messages become ads. Choosing # "RESTRICTED" means SCTE-35 messages of the types specified in # AdTriggers that contain delivery restrictions will be treated as # ads. Choosing "UNRESTRICTED" means SCTE-35 messages of the types # specified in AdTriggers that do not contain delivery restrictions # will be treated as ads. Choosing "BOTH" means all SCTE-35 messages # of the types specified in AdTriggers will be treated as ads. Note # that Splice Insert messages do not have these flags and are always # treated as ads if specified in AdTriggers. # @return [String] # # @!attribute [rw] id # The ID of the manifest. The ID must be unique within the # OriginEndpoint and it cannot be changed after it is created. # @return [String] # # @!attribute [rw] include_iframe_only_stream # When enabled, an I-Frame only stream will be included in the output. # @return [Boolean] # # @!attribute [rw] manifest_name # An optional short string appended to the end of the OriginEndpoint # URL. If not specified, defaults to the manifestName for the # OriginEndpoint. # @return [String] # # @!attribute [rw] playlist_type # The HTTP Live Streaming (HLS) playlist type. When either "EVENT" # or "VOD" is specified, a corresponding EXT-X-PLAYLIST-TYPE entry # will be included in the media playlist. # @return [String] # # @!attribute [rw] playlist_window_seconds # Time window (in seconds) contained in each parent manifest. # @return [Integer] # # @!attribute [rw] program_date_time_interval_seconds # The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag # inserted into manifests. Additionally, when an interval is specified # ID3Timed Metadata messages will be generated every 5 seconds using # the ingest time of the content. If the interval is not specified, or # set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted into # manifests and no ID3Timed Metadata messages will be generated. Note # that irrespective of this parameter, if any ID3 Timed Metadata is # found in HTTP Live Streaming (HLS) input, it will be passed through # to HLS output. # @return [Integer] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HlsManifestCreateOrUpdateParameters AWS API Documentation # class HlsManifestCreateOrUpdateParameters < Struct.new( :ad_markers, :ad_triggers, :ads_on_delivery_restrictions, :id, :include_iframe_only_stream, :manifest_name, :playlist_type, :playlist_window_seconds, :program_date_time_interval_seconds) SENSITIVE = [] include Aws::Structure end # An HTTP Live Streaming (HLS) packaging configuration. # # @!attribute [rw] ad_markers # This setting controls how ad markers are included in the packaged # OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the # output. "PASSTHROUGH" causes the manifest to contain a copy of the # SCTE-35 ad markers (comments) taken directly from the input HTTP # Live Streaming (HLS) manifest. "SCTE35\_ENHANCED" generates ad # markers and blackout tags based on SCTE-35 messages in the input # source. "DATERANGE" inserts EXT-X-DATERANGE tags to signal ad and # program transition events in HLS and CMAF manifests. For this # option, you must set a programDateTimeIntervalSeconds value that is # greater than 0. # @return [String] # # @!attribute [rw] ad_triggers # A list of SCTE-35 message types that are treated as ad markers in # the output. If empty, no ad markers are output. Specify multiple # items to create ad markers for all of the included message types. # @return [Array] # # @!attribute [rw] ads_on_delivery_restrictions # This setting allows the delivery restriction flags on SCTE-35 # segmentation descriptors to determine whether a message signals an # ad. Choosing "NONE" means no SCTE-35 messages become ads. Choosing # "RESTRICTED" means SCTE-35 messages of the types specified in # AdTriggers that contain delivery restrictions will be treated as # ads. Choosing "UNRESTRICTED" means SCTE-35 messages of the types # specified in AdTriggers that do not contain delivery restrictions # will be treated as ads. Choosing "BOTH" means all SCTE-35 messages # of the types specified in AdTriggers will be treated as ads. Note # that Splice Insert messages do not have these flags and are always # treated as ads if specified in AdTriggers. # @return [String] # # @!attribute [rw] encryption # An HTTP Live Streaming (HLS) encryption configuration. # @return [Types::HlsEncryption] # # @!attribute [rw] include_dvb_subtitles # When enabled, MediaPackage passes through digital video broadcasting # (DVB) subtitles into the output. # @return [Boolean] # # @!attribute [rw] include_iframe_only_stream # When enabled, an I-Frame only stream will be included in the output. # @return [Boolean] # # @!attribute [rw] playlist_type # The HTTP Live Streaming (HLS) playlist type. When either "EVENT" # or "VOD" is specified, a corresponding EXT-X-PLAYLIST-TYPE entry # will be included in the media playlist. # @return [String] # # @!attribute [rw] playlist_window_seconds # Time window (in seconds) contained in each parent manifest. # @return [Integer] # # @!attribute [rw] program_date_time_interval_seconds # The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag # inserted into manifests. Additionally, when an interval is specified # ID3Timed Metadata messages will be generated every 5 seconds using # the ingest time of the content. If the interval is not specified, or # set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted into # manifests and no ID3Timed Metadata messages will be generated. Note # that irrespective of this parameter, if any ID3 Timed Metadata is # found in HTTP Live Streaming (HLS) input, it will be passed through # to HLS output. # @return [Integer] # # @!attribute [rw] segment_duration_seconds # Duration (in seconds) of each fragment. Actual fragments will be # rounded to the nearest multiple of the source fragment duration. # @return [Integer] # # @!attribute [rw] stream_selection # A StreamSelection configuration. # @return [Types::StreamSelection] # # @!attribute [rw] use_audio_rendition_group # When enabled, audio streams will be placed in rendition groups in # the output. # @return [Boolean] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HlsPackage AWS API Documentation # class HlsPackage < Struct.new( :ad_markers, :ad_triggers, :ads_on_delivery_restrictions, :encryption, :include_dvb_subtitles, :include_iframe_only_stream, :playlist_type, :playlist_window_seconds, :program_date_time_interval_seconds, :segment_duration_seconds, :stream_selection, :use_audio_rendition_group) SENSITIVE = [] include Aws::Structure end # An endpoint for ingesting source content for a Channel. # # @!attribute [rw] id # The system generated unique identifier for the IngestEndpoint # @return [String] # # @!attribute [rw] password # The system generated password for ingest authentication. # @return [String] # # @!attribute [rw] url # The ingest URL to which the source stream should be sent. # @return [String] # # @!attribute [rw] username # The system generated username for ingest authentication. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/IngestEndpoint AWS API Documentation # class IngestEndpoint < Struct.new( :id, :password, :url, :username) SENSITIVE = [] include Aws::Structure end # Configure ingress access logging. # # @!attribute [rw] log_group_name # Customize the log group name. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/IngressAccessLogs AWS API Documentation # class IngressAccessLogs < Struct.new( :log_group_name) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] message # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/InternalServerErrorException AWS API Documentation # class InternalServerErrorException < Struct.new( :message) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] max_results # @return [Integer] # # @!attribute [rw] next_token # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannelsRequest AWS API Documentation # class ListChannelsRequest < Struct.new( :max_results, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] channels # @return [Array] # # @!attribute [rw] next_token # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannelsResponse AWS API Documentation # class ListChannelsResponse < Struct.new( :channels, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] include_channel_id # @return [String] # # @!attribute [rw] include_status # @return [String] # # @!attribute [rw] max_results # @return [Integer] # # @!attribute [rw] next_token # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListHarvestJobsRequest AWS API Documentation # class ListHarvestJobsRequest < Struct.new( :include_channel_id, :include_status, :max_results, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] harvest_jobs # @return [Array] # # @!attribute [rw] next_token # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListHarvestJobsResponse AWS API Documentation # class ListHarvestJobsResponse < Struct.new( :harvest_jobs, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] channel_id # @return [String] # # @!attribute [rw] max_results # @return [Integer] # # @!attribute [rw] next_token # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpointsRequest AWS API Documentation # class ListOriginEndpointsRequest < Struct.new( :channel_id, :max_results, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] next_token # @return [String] # # @!attribute [rw] origin_endpoints # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpointsResponse AWS API Documentation # class ListOriginEndpointsResponse < Struct.new( :next_token, :origin_endpoints) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] resource_arn # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListTagsForResourceRequest AWS API Documentation # class ListTagsForResourceRequest < Struct.new( :resource_arn) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] tags # @return [Hash] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListTagsForResourceResponse AWS API Documentation # class ListTagsForResourceResponse < Struct.new( :tags) SENSITIVE = [] include Aws::Structure end # A Microsoft Smooth Streaming (MSS) encryption configuration. # # @!attribute [rw] speke_key_provider # A configuration for accessing an external Secure Packager and # Encoder Key Exchange (SPEKE) service that will provide encryption # keys. # @return [Types::SpekeKeyProvider] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/MssEncryption AWS API Documentation # class MssEncryption < Struct.new( :speke_key_provider) SENSITIVE = [] include Aws::Structure end # A Microsoft Smooth Streaming (MSS) packaging configuration. # # @!attribute [rw] encryption # A Microsoft Smooth Streaming (MSS) encryption configuration. # @return [Types::MssEncryption] # # @!attribute [rw] manifest_window_seconds # The time window (in seconds) contained in each manifest. # @return [Integer] # # @!attribute [rw] segment_duration_seconds # The duration (in seconds) of each segment. # @return [Integer] # # @!attribute [rw] stream_selection # A StreamSelection configuration. # @return [Types::StreamSelection] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/MssPackage AWS API Documentation # class MssPackage < Struct.new( :encryption, :manifest_window_seconds, :segment_duration_seconds, :stream_selection) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] message # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/NotFoundException AWS API Documentation # class NotFoundException < Struct.new( :message) SENSITIVE = [] include Aws::Structure end # An OriginEndpoint resource configuration. # # @!attribute [rw] arn # The Amazon Resource Name (ARN) assigned to the OriginEndpoint. # @return [String] # # @!attribute [rw] authorization # CDN Authorization credentials # @return [Types::Authorization] # # @!attribute [rw] channel_id # The ID of the Channel the OriginEndpoint is associated with. # @return [String] # # @!attribute [rw] cmaf_package # A Common Media Application Format (CMAF) packaging configuration. # @return [Types::CmafPackage] # # @!attribute [rw] created_at # The date and time the OriginEndpoint was created. # @return [String] # # @!attribute [rw] dash_package # A Dynamic Adaptive Streaming over HTTP (DASH) packaging # configuration. # @return [Types::DashPackage] # # @!attribute [rw] description # A short text description of the OriginEndpoint. # @return [String] # # @!attribute [rw] hls_package # An HTTP Live Streaming (HLS) packaging configuration. # @return [Types::HlsPackage] # # @!attribute [rw] id # The ID of the OriginEndpoint. # @return [String] # # @!attribute [rw] manifest_name # A short string appended to the end of the OriginEndpoint URL. # @return [String] # # @!attribute [rw] mss_package # A Microsoft Smooth Streaming (MSS) packaging configuration. # @return [Types::MssPackage] # # @!attribute [rw] origination # Control whether origination of video is allowed for this # OriginEndpoint. If set to ALLOW, the OriginEndpoint may by # requested, pursuant to any other form of access control. If set to # DENY, the OriginEndpoint may not be requested. This can be helpful # for Live to VOD harvesting, or for temporarily disabling origination # @return [String] # # @!attribute [rw] startover_window_seconds # Maximum duration (seconds) of content to retain for startover # playback. If not specified, startover playback will be disabled for # the OriginEndpoint. # @return [Integer] # # @!attribute [rw] tags # A collection of tags associated with a resource # @return [Hash] # # @!attribute [rw] time_delay_seconds # Amount of delay (seconds) to enforce on the playback of live # content. If not specified, there will be no time delay in effect for # the OriginEndpoint. # @return [Integer] # # @!attribute [rw] url # The URL of the packaged OriginEndpoint for consumption. # @return [String] # # @!attribute [rw] whitelist # A list of source IP CIDR blocks that will be allowed to access the # OriginEndpoint. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/OriginEndpoint AWS API Documentation # class OriginEndpoint < Struct.new( :arn, :authorization, :channel_id, :cmaf_package, :created_at, :dash_package, :description, :hls_package, :id, :manifest_name, :mss_package, :origination, :startover_window_seconds, :tags, :time_delay_seconds, :url, :whitelist) SENSITIVE = [] include Aws::Structure end # Configuration parameters for a new OriginEndpoint. # # @!attribute [rw] authorization # CDN Authorization credentials # @return [Types::Authorization] # # @!attribute [rw] channel_id # The ID of the Channel that the OriginEndpoint will be associated # with. This cannot be changed after the OriginEndpoint is created. # @return [String] # # @!attribute [rw] cmaf_package # A Common Media Application Format (CMAF) packaging configuration. # @return [Types::CmafPackageCreateOrUpdateParameters] # # @!attribute [rw] dash_package # A Dynamic Adaptive Streaming over HTTP (DASH) packaging # configuration. # @return [Types::DashPackage] # # @!attribute [rw] description # A short text description of the OriginEndpoint. # @return [String] # # @!attribute [rw] hls_package # An HTTP Live Streaming (HLS) packaging configuration. # @return [Types::HlsPackage] # # @!attribute [rw] id # The ID of the OriginEndpoint. The ID must be unique within the # region and it cannot be changed after the OriginEndpoint is created. # @return [String] # # @!attribute [rw] manifest_name # A short string that will be used as the filename of the # OriginEndpoint URL (defaults to "index"). # @return [String] # # @!attribute [rw] mss_package # A Microsoft Smooth Streaming (MSS) packaging configuration. # @return [Types::MssPackage] # # @!attribute [rw] origination # Control whether origination of video is allowed for this # OriginEndpoint. If set to ALLOW, the OriginEndpoint may by # requested, pursuant to any other form of access control. If set to # DENY, the OriginEndpoint may not be requested. This can be helpful # for Live to VOD harvesting, or for temporarily disabling origination # @return [String] # # @!attribute [rw] startover_window_seconds # Maximum duration (seconds) of content to retain for startover # playback. If not specified, startover playback will be disabled for # the OriginEndpoint. # @return [Integer] # # @!attribute [rw] tags # A collection of tags associated with a resource # @return [Hash] # # @!attribute [rw] time_delay_seconds # Amount of delay (seconds) to enforce on the playback of live # content. If not specified, there will be no time delay in effect for # the OriginEndpoint. # @return [Integer] # # @!attribute [rw] whitelist # A list of source IP CIDR blocks that will be allowed to access the # OriginEndpoint. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/OriginEndpointCreateParameters AWS API Documentation # class OriginEndpointCreateParameters < Struct.new( :authorization, :channel_id, :cmaf_package, :dash_package, :description, :hls_package, :id, :manifest_name, :mss_package, :origination, :startover_window_seconds, :tags, :time_delay_seconds, :whitelist) SENSITIVE = [] include Aws::Structure end # A collection of OriginEndpoint records. # # @!attribute [rw] next_token # A token that can be used to resume pagination from the end of the # collection. # @return [String] # # @!attribute [rw] origin_endpoints # A list of OriginEndpoint records. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/OriginEndpointList AWS API Documentation # class OriginEndpointList < Struct.new( :next_token, :origin_endpoints) SENSITIVE = [] include Aws::Structure end # Configuration parameters for updating an existing OriginEndpoint. # # @!attribute [rw] authorization # CDN Authorization credentials # @return [Types::Authorization] # # @!attribute [rw] cmaf_package # A Common Media Application Format (CMAF) packaging configuration. # @return [Types::CmafPackageCreateOrUpdateParameters] # # @!attribute [rw] dash_package # A Dynamic Adaptive Streaming over HTTP (DASH) packaging # configuration. # @return [Types::DashPackage] # # @!attribute [rw] description # A short text description of the OriginEndpoint. # @return [String] # # @!attribute [rw] hls_package # An HTTP Live Streaming (HLS) packaging configuration. # @return [Types::HlsPackage] # # @!attribute [rw] manifest_name # A short string that will be appended to the end of the Endpoint URL. # @return [String] # # @!attribute [rw] mss_package # A Microsoft Smooth Streaming (MSS) packaging configuration. # @return [Types::MssPackage] # # @!attribute [rw] origination # Control whether origination of video is allowed for this # OriginEndpoint. If set to ALLOW, the OriginEndpoint may by # requested, pursuant to any other form of access control. If set to # DENY, the OriginEndpoint may not be requested. This can be helpful # for Live to VOD harvesting, or for temporarily disabling origination # @return [String] # # @!attribute [rw] startover_window_seconds # Maximum duration (in seconds) of content to retain for startover # playback. If not specified, startover playback will be disabled for # the OriginEndpoint. # @return [Integer] # # @!attribute [rw] time_delay_seconds # Amount of delay (in seconds) to enforce on the playback of live # content. If not specified, there will be no time delay in effect for # the OriginEndpoint. # @return [Integer] # # @!attribute [rw] whitelist # A list of source IP CIDR blocks that will be allowed to access the # OriginEndpoint. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/OriginEndpointUpdateParameters AWS API Documentation # class OriginEndpointUpdateParameters < Struct.new( :authorization, :cmaf_package, :dash_package, :description, :hls_package, :manifest_name, :mss_package, :origination, :startover_window_seconds, :time_delay_seconds, :whitelist) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] id # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentialsRequest AWS API Documentation # class RotateChannelCredentialsRequest < Struct.new( :id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] arn # @return [String] # # @!attribute [rw] created_at # @return [String] # # @!attribute [rw] description # @return [String] # # @!attribute [rw] egress_access_logs # Configure egress access logging. # @return [Types::EgressAccessLogs] # # @!attribute [rw] hls_ingest # An HTTP Live Streaming (HLS) ingest resource configuration. # @return [Types::HlsIngest] # # @!attribute [rw] id # @return [String] # # @!attribute [rw] ingress_access_logs # Configure ingress access logging. # @return [Types::IngressAccessLogs] # # @!attribute [rw] tags # A collection of tags associated with a resource # @return [Hash] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentialsResponse AWS API Documentation # class RotateChannelCredentialsResponse < Struct.new( :arn, :created_at, :description, :egress_access_logs, :hls_ingest, :id, :ingress_access_logs, :tags) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] id # @return [String] # # @!attribute [rw] ingest_endpoint_id # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateIngestEndpointCredentialsRequest AWS API Documentation # class RotateIngestEndpointCredentialsRequest < Struct.new( :id, :ingest_endpoint_id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] arn # @return [String] # # @!attribute [rw] created_at # @return [String] # # @!attribute [rw] description # @return [String] # # @!attribute [rw] egress_access_logs # Configure egress access logging. # @return [Types::EgressAccessLogs] # # @!attribute [rw] hls_ingest # An HTTP Live Streaming (HLS) ingest resource configuration. # @return [Types::HlsIngest] # # @!attribute [rw] id # @return [String] # # @!attribute [rw] ingress_access_logs # Configure ingress access logging. # @return [Types::IngressAccessLogs] # # @!attribute [rw] tags # A collection of tags associated with a resource # @return [Hash] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateIngestEndpointCredentialsResponse AWS API Documentation # class RotateIngestEndpointCredentialsResponse < Struct.new( :arn, :created_at, :description, :egress_access_logs, :hls_ingest, :id, :ingress_access_logs, :tags) SENSITIVE = [] include Aws::Structure end # Configuration parameters for where in an S3 bucket to place the # harvested content # # @!attribute [rw] bucket_name # The name of an S3 bucket within which harvested content will be # exported # @return [String] # # @!attribute [rw] manifest_key # The key in the specified S3 bucket where the harvested top-level # manifest will be placed. # @return [String] # # @!attribute [rw] role_arn # The IAM role used to write to the specified S3 bucket # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/S3Destination AWS API Documentation # class S3Destination < Struct.new( :bucket_name, :manifest_key, :role_arn) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] message # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ServiceUnavailableException AWS API Documentation # class ServiceUnavailableException < Struct.new( :message) SENSITIVE = [] include Aws::Structure end # A configuration for accessing an external Secure Packager and Encoder # Key Exchange (SPEKE) service that will provide encryption keys. # # @!attribute [rw] certificate_arn # An Amazon Resource Name (ARN) of a Certificate Manager certificate # that MediaPackage will use for enforcing secure end-to-end data # transfer with the key provider service. # @return [String] # # @!attribute [rw] encryption_contract_configuration # Use encryptionContractConfiguration to configure one or more content # encryption keys for your endpoints that use SPEKE 2.0. The # encryption contract defines which content keys are used to encrypt # the audio and video tracks in your stream. To configure the # encryption contract, specify which audio and video encryption # presets to use. Note the following considerations when using # encryptionContractConfiguration: encryptionContractConfiguration can # be used for DASH or CMAF endpoints that use SPEKE 2.0. SPEKE 2.0 # relies on the CPIX 2.3 specification. You must disable key rotation # for this endpoint by setting keyRotationIntervalSeconds to 0. # @return [Types::EncryptionContractConfiguration] # # @!attribute [rw] resource_id # The resource ID to include in key requests. # @return [String] # # @!attribute [rw] role_arn # An Amazon Resource Name (ARN) of an IAM role that AWS Elemental # MediaPackage will assume when accessing the key provider service. # @return [String] # # @!attribute [rw] system_ids # The system IDs to include in key requests. # @return [Array] # # @!attribute [rw] url # The URL of the external key provider service. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/SpekeKeyProvider AWS API Documentation # class SpekeKeyProvider < Struct.new( :certificate_arn, :encryption_contract_configuration, :resource_id, :role_arn, :system_ids, :url) SENSITIVE = [] include Aws::Structure end # A StreamSelection configuration. # # @!attribute [rw] max_video_bits_per_second # The maximum video bitrate (bps) to include in output. # @return [Integer] # # @!attribute [rw] min_video_bits_per_second # The minimum video bitrate (bps) to include in output. # @return [Integer] # # @!attribute [rw] stream_order # A directive that determines the order of streams in the output. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/StreamSelection AWS API Documentation # class StreamSelection < Struct.new( :max_video_bits_per_second, :min_video_bits_per_second, :stream_order) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] resource_arn # @return [String] # # @!attribute [rw] tags # @return [Hash] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/TagResourceRequest AWS API Documentation # class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] tags # @return [Hash] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/TagsModel AWS API Documentation # class TagsModel < Struct.new( :tags) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] message # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/TooManyRequestsException AWS API Documentation # class TooManyRequestsException < Struct.new( :message) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] message # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UnprocessableEntityException AWS API Documentation # class UnprocessableEntityException < Struct.new( :message) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] resource_arn # @return [String] # # @!attribute [rw] tag_keys # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UntagResourceRequest AWS API Documentation # class UntagResourceRequest < Struct.new( :resource_arn, :tag_keys) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] description # @return [String] # # @!attribute [rw] id # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannelRequest AWS API Documentation # class UpdateChannelRequest < Struct.new( :description, :id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] arn # @return [String] # # @!attribute [rw] created_at # @return [String] # # @!attribute [rw] description # @return [String] # # @!attribute [rw] egress_access_logs # Configure egress access logging. # @return [Types::EgressAccessLogs] # # @!attribute [rw] hls_ingest # An HTTP Live Streaming (HLS) ingest resource configuration. # @return [Types::HlsIngest] # # @!attribute [rw] id # @return [String] # # @!attribute [rw] ingress_access_logs # Configure ingress access logging. # @return [Types::IngressAccessLogs] # # @!attribute [rw] tags # A collection of tags associated with a resource # @return [Hash] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannelResponse AWS API Documentation # class UpdateChannelResponse < Struct.new( :arn, :created_at, :description, :egress_access_logs, :hls_ingest, :id, :ingress_access_logs, :tags) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] authorization # CDN Authorization credentials # @return [Types::Authorization] # # @!attribute [rw] cmaf_package # A Common Media Application Format (CMAF) packaging configuration. # @return [Types::CmafPackageCreateOrUpdateParameters] # # @!attribute [rw] dash_package # A Dynamic Adaptive Streaming over HTTP (DASH) packaging # configuration. # @return [Types::DashPackage] # # @!attribute [rw] description # @return [String] # # @!attribute [rw] hls_package # An HTTP Live Streaming (HLS) packaging configuration. # @return [Types::HlsPackage] # # @!attribute [rw] id # @return [String] # # @!attribute [rw] manifest_name # @return [String] # # @!attribute [rw] mss_package # A Microsoft Smooth Streaming (MSS) packaging configuration. # @return [Types::MssPackage] # # @!attribute [rw] origination # @return [String] # # @!attribute [rw] startover_window_seconds # @return [Integer] # # @!attribute [rw] time_delay_seconds # @return [Integer] # # @!attribute [rw] whitelist # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpointRequest AWS API Documentation # class UpdateOriginEndpointRequest < Struct.new( :authorization, :cmaf_package, :dash_package, :description, :hls_package, :id, :manifest_name, :mss_package, :origination, :startover_window_seconds, :time_delay_seconds, :whitelist) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] arn # @return [String] # # @!attribute [rw] authorization # CDN Authorization credentials # @return [Types::Authorization] # # @!attribute [rw] channel_id # @return [String] # # @!attribute [rw] cmaf_package # A Common Media Application Format (CMAF) packaging configuration. # @return [Types::CmafPackage] # # @!attribute [rw] created_at # @return [String] # # @!attribute [rw] dash_package # A Dynamic Adaptive Streaming over HTTP (DASH) packaging # configuration. # @return [Types::DashPackage] # # @!attribute [rw] description # @return [String] # # @!attribute [rw] hls_package # An HTTP Live Streaming (HLS) packaging configuration. # @return [Types::HlsPackage] # # @!attribute [rw] id # @return [String] # # @!attribute [rw] manifest_name # @return [String] # # @!attribute [rw] mss_package # A Microsoft Smooth Streaming (MSS) packaging configuration. # @return [Types::MssPackage] # # @!attribute [rw] origination # @return [String] # # @!attribute [rw] startover_window_seconds # @return [Integer] # # @!attribute [rw] tags # A collection of tags associated with a resource # @return [Hash] # # @!attribute [rw] time_delay_seconds # @return [Integer] # # @!attribute [rw] url # @return [String] # # @!attribute [rw] whitelist # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpointResponse AWS API Documentation # class UpdateOriginEndpointResponse < Struct.new( :arn, :authorization, :channel_id, :cmaf_package, :created_at, :dash_package, :description, :hls_package, :id, :manifest_name, :mss_package, :origination, :startover_window_seconds, :tags, :time_delay_seconds, :url, :whitelist) SENSITIVE = [] include Aws::Structure end end end