amazonka-mediapackage-2.0: Amazon Elemental MediaPackage SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.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

AWSRequest CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

Associated Types

type AWSResponse CreateOriginEndpoint #

Generic CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

Associated Types

type Rep CreateOriginEndpoint :: Type -> Type #

Read CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

Show CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

NFData CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

Methods

rnf :: CreateOriginEndpoint -> () #

Eq CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

Hashable CreateOriginEndpoint Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

type AWSResponse 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" "amazonka-mediapackage-2.0-Ht5BbgvzDNJCrSLrgDmB6l" 'False) (C1 ('MetaCons "CreateOriginEndpoint'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "authorization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Authorization)) :*: (S1 ('MetaSel ('Just "cmafPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CmafPackageCreateOrUpdateParameters)) :*: S1 ('MetaSel ('Just "dashPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DashPackage)))) :*: ((S1 ('MetaSel ('Just "description") '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 "mssPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MssPackage))))) :*: ((S1 ('MetaSel ('Just "origination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Origination)) :*: (S1 ('MetaSel ('Just "startoverWindowSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: ((S1 ('MetaSel ('Just "timeDelaySeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "whitelist") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "channelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

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:

CreateOriginEndpoint, createOriginEndpoint_authorization - Undocumented member.

CreateOriginEndpoint, createOriginEndpoint_cmafPackage - Undocumented member.

CreateOriginEndpoint, createOriginEndpoint_dashPackage - Undocumented member.

CreateOriginEndpoint, createOriginEndpoint_description - A short text description of the OriginEndpoint.

CreateOriginEndpoint, createOriginEndpoint_hlsPackage - Undocumented member.

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

CreateOriginEndpoint, createOriginEndpoint_mssPackage - Undocumented member.

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

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

CreateOriginEndpoint, createOriginEndpoint_tags - Undocumented member.

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.

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

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

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_description :: Lens' CreateOriginEndpoint (Maybe Text) Source #

A short text description of 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_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_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_whitelist :: Lens' CreateOriginEndpoint (Maybe [Text]) Source #

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

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
Generic CreateOriginEndpointResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

Associated Types

type Rep CreateOriginEndpointResponse :: Type -> Type #

Read CreateOriginEndpointResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

Show CreateOriginEndpointResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

NFData CreateOriginEndpointResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateOriginEndpoint

Eq 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" "amazonka-mediapackage-2.0-Ht5BbgvzDNJCrSLrgDmB6l" 'False) (C1 ('MetaCons "CreateOriginEndpointResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "arn") '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 "cmafPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CmafPackage)))) :*: ((S1 ('MetaSel ('Just "dashPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DashPackage)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "hlsPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HlsPackage)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "manifestName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "mssPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MssPackage))) :*: (S1 ('MetaSel ('Just "origination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Origination)) :*: S1 ('MetaSel ('Just "startoverWindowSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "timeDelaySeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "whitelist") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: 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:

CreateOriginEndpointResponse, createOriginEndpointResponse_arn - The Amazon Resource Name (ARN) assigned to the OriginEndpoint.

CreateOriginEndpoint, createOriginEndpointResponse_authorization - Undocumented member.

CreateOriginEndpoint, createOriginEndpointResponse_channelId - The ID of the Channel the OriginEndpoint is associated with.

CreateOriginEndpoint, createOriginEndpointResponse_cmafPackage - Undocumented member.

CreateOriginEndpoint, createOriginEndpointResponse_dashPackage - Undocumented member.

CreateOriginEndpoint, createOriginEndpointResponse_description - A short text description of the OriginEndpoint.

CreateOriginEndpoint, createOriginEndpointResponse_hlsPackage - Undocumented member.

CreateOriginEndpoint, createOriginEndpointResponse_id - The ID of the OriginEndpoint.

CreateOriginEndpoint, createOriginEndpointResponse_manifestName - A short string appended to the end of the OriginEndpoint URL.

CreateOriginEndpoint, createOriginEndpointResponse_mssPackage - Undocumented member.

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

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

CreateOriginEndpoint, createOriginEndpointResponse_tags - Undocumented member.

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.

CreateOriginEndpointResponse, createOriginEndpointResponse_url - The URL of the packaged OriginEndpoint for consumption.

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

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

Response Lenses

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

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

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

The ID of the Channel the OriginEndpoint is associated with.

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

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

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

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_url :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #

The URL of the packaged OriginEndpoint for consumption.

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

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