libZSservicesZSamazonka-mediapackageZSamazonka-mediapackage
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaPackage.CreateOriginEndpoint

Description

Creates a new OriginEndpoint record.

Synopsis

Creating a Request

data CreateOriginEndpoint Source #

Configuration parameters used to create a new OriginEndpoint.

See: newCreateOriginEndpoint smart constructor.

Constructors

CreateOriginEndpoint' 

Fields

Instances

Instances details
Eq CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

Read CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

Show CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

Generic CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

Associated Types

type Rep CreateOriginEndpoint :: Type -> Type #

NFData CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

Methods

rnf :: CreateOriginEndpoint -> () #

Hashable CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

ToJSON CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

AWSRequest CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

Associated Types

type AWSResponse CreateOriginEndpoint #

ToHeaders CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

ToPath CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

ToQuery CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

type Rep CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

type Rep CreateOriginEndpoint = D1 ('MetaData "CreateOriginEndpoint" "Amazonka.MediaPackage.CreateOriginEndpoint" "libZSservicesZSamazonka-mediapackageZSamazonka-mediapackage" 'False) (C1 ('MetaCons "CreateOriginEndpoint'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "whitelist") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "hlsPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HlsPackage)) :*: S1 ('MetaSel ('Just "manifestName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "authorization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Authorization)) :*: S1 ('MetaSel ('Just "startoverWindowSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "dashPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DashPackage)) :*: S1 ('MetaSel ('Just "mssPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MssPackage))))) :*: ((S1 ('MetaSel ('Just "timeDelaySeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "cmafPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CmafPackageCreateOrUpdateParameters)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "origination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Origination))) :*: (S1 ('MetaSel ('Just "channelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))
type AWSResponse CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

newCreateOriginEndpoint Source #

Create a value of CreateOriginEndpoint with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:whitelist:CreateOriginEndpoint', createOriginEndpoint_whitelist - A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.

$sel:hlsPackage:CreateOriginEndpoint', createOriginEndpoint_hlsPackage - Undocumented member.

$sel:manifestName:CreateOriginEndpoint', createOriginEndpoint_manifestName - A short string that will be used as the filename of the OriginEndpoint URL (defaults to "index").

$sel:authorization:CreateOriginEndpoint', createOriginEndpoint_authorization - Undocumented member.

$sel:startoverWindowSeconds:CreateOriginEndpoint', createOriginEndpoint_startoverWindowSeconds - Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.

$sel:dashPackage:CreateOriginEndpoint', createOriginEndpoint_dashPackage - Undocumented member.

$sel:mssPackage:CreateOriginEndpoint', createOriginEndpoint_mssPackage - Undocumented member.

$sel:timeDelaySeconds:CreateOriginEndpoint', createOriginEndpoint_timeDelaySeconds - 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.

$sel:cmafPackage:CreateOriginEndpoint', createOriginEndpoint_cmafPackage - Undocumented member.

$sel:description:CreateOriginEndpoint', createOriginEndpoint_description - A short text description of the OriginEndpoint.

$sel:tags:CreateOriginEndpoint', createOriginEndpoint_tags - Undocumented member.

$sel:origination:CreateOriginEndpoint', createOriginEndpoint_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

$sel:channelId:CreateOriginEndpoint', createOriginEndpoint_channelId - The ID of the Channel that the OriginEndpoint will be associated with. This cannot be changed after the OriginEndpoint is created.

$sel:id:CreateOriginEndpoint', createOriginEndpoint_id - The ID of the OriginEndpoint. The ID must be unique within the region and it cannot be changed after the OriginEndpoint is created.

Request Lenses

createOriginEndpoint_whitelist :: Lens' CreateOriginEndpoint (Maybe [Text]) Source #

A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.

createOriginEndpoint_manifestName :: Lens' CreateOriginEndpoint (Maybe Text) Source #

A short string that will be used as the filename of the OriginEndpoint URL (defaults to "index").

createOriginEndpoint_startoverWindowSeconds :: Lens' CreateOriginEndpoint (Maybe Int) Source #

Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.

createOriginEndpoint_timeDelaySeconds :: Lens' CreateOriginEndpoint (Maybe Int) Source #

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.

createOriginEndpoint_description :: Lens' CreateOriginEndpoint (Maybe Text) Source #

A short text description of the OriginEndpoint.

createOriginEndpoint_origination :: Lens' CreateOriginEndpoint (Maybe Origination) Source #

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

createOriginEndpoint_channelId :: Lens' CreateOriginEndpoint Text Source #

The ID of the Channel that the OriginEndpoint will be associated with. This cannot be changed after the OriginEndpoint is created.

createOriginEndpoint_id :: Lens' CreateOriginEndpoint Text Source #

The ID of the OriginEndpoint. The ID must be unique within the region and it cannot be changed after the OriginEndpoint is created.

Destructuring the Response

data CreateOriginEndpointResponse Source #

See: newCreateOriginEndpointResponse smart constructor.

Constructors

CreateOriginEndpointResponse' 

Fields

Instances

Instances details
Eq CreateOriginEndpointResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

Read CreateOriginEndpointResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

Show CreateOriginEndpointResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

Generic CreateOriginEndpointResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

Associated Types

type Rep CreateOriginEndpointResponse :: Type -> Type #

NFData CreateOriginEndpointResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

type Rep CreateOriginEndpointResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

type Rep CreateOriginEndpointResponse = D1 ('MetaData "CreateOriginEndpointResponse" "Amazonka.MediaPackage.CreateOriginEndpoint" "libZSservicesZSamazonka-mediapackageZSamazonka-mediapackage" 'False) (C1 ('MetaCons "CreateOriginEndpointResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "whitelist") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "hlsPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HlsPackage))) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "manifestName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "authorization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Authorization))) :*: (S1 ('MetaSel ('Just "channelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startoverWindowSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: (((S1 ('MetaSel ('Just "dashPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DashPackage)) :*: S1 ('MetaSel ('Just "mssPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MssPackage))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "timeDelaySeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "cmafPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CmafPackage)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "origination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Origination)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))))

newCreateOriginEndpointResponse Source #

Create a value of CreateOriginEndpointResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:whitelist:CreateOriginEndpoint', createOriginEndpointResponse_whitelist - A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.

$sel:hlsPackage:CreateOriginEndpoint', createOriginEndpointResponse_hlsPackage - Undocumented member.

$sel:arn:CreateOriginEndpointResponse', createOriginEndpointResponse_arn - The Amazon Resource Name (ARN) assigned to the OriginEndpoint.

$sel:manifestName:CreateOriginEndpoint', createOriginEndpointResponse_manifestName - A short string appended to the end of the OriginEndpoint URL.

$sel:url:CreateOriginEndpointResponse', createOriginEndpointResponse_url - The URL of the packaged OriginEndpoint for consumption.

$sel:authorization:CreateOriginEndpoint', createOriginEndpointResponse_authorization - Undocumented member.

$sel:channelId:CreateOriginEndpoint', createOriginEndpointResponse_channelId - The ID of the Channel the OriginEndpoint is associated with.

$sel:startoverWindowSeconds:CreateOriginEndpoint', createOriginEndpointResponse_startoverWindowSeconds - Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.

$sel:dashPackage:CreateOriginEndpoint', createOriginEndpointResponse_dashPackage - Undocumented member.

$sel:mssPackage:CreateOriginEndpoint', createOriginEndpointResponse_mssPackage - Undocumented member.

$sel:id:CreateOriginEndpoint', createOriginEndpointResponse_id - The ID of the OriginEndpoint.

$sel:timeDelaySeconds:CreateOriginEndpoint', createOriginEndpointResponse_timeDelaySeconds - 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.

$sel:cmafPackage:CreateOriginEndpoint', createOriginEndpointResponse_cmafPackage - Undocumented member.

$sel:description:CreateOriginEndpoint', createOriginEndpointResponse_description - A short text description of the OriginEndpoint.

$sel:tags:CreateOriginEndpoint', createOriginEndpointResponse_tags - Undocumented member.

$sel:origination:CreateOriginEndpoint', createOriginEndpointResponse_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

$sel:httpStatus:CreateOriginEndpointResponse', createOriginEndpointResponse_httpStatus - The response's http status code.

Response Lenses

createOriginEndpointResponse_whitelist :: Lens' CreateOriginEndpointResponse (Maybe [Text]) Source #

A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.

createOriginEndpointResponse_arn :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) assigned to the OriginEndpoint.

createOriginEndpointResponse_manifestName :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #

A short string appended to the end of the OriginEndpoint URL.

createOriginEndpointResponse_url :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #

The URL of the packaged OriginEndpoint for consumption.

createOriginEndpointResponse_channelId :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #

The ID of the Channel the OriginEndpoint is associated with.

createOriginEndpointResponse_startoverWindowSeconds :: Lens' CreateOriginEndpointResponse (Maybe Int) Source #

Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.

createOriginEndpointResponse_timeDelaySeconds :: Lens' CreateOriginEndpointResponse (Maybe Int) Source #

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.

createOriginEndpointResponse_origination :: Lens' CreateOriginEndpointResponse (Maybe Origination) Source #

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