Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.MediaPackage.CreateOriginEndpoint
Description
Creates a new OriginEndpoint record.
Synopsis
- data CreateOriginEndpoint = CreateOriginEndpoint' {
- authorization :: Maybe Authorization
- cmafPackage :: Maybe CmafPackageCreateOrUpdateParameters
- dashPackage :: Maybe DashPackage
- description :: Maybe Text
- hlsPackage :: Maybe HlsPackage
- manifestName :: Maybe Text
- mssPackage :: Maybe MssPackage
- origination :: Maybe Origination
- startoverWindowSeconds :: Maybe Int
- tags :: Maybe (HashMap Text Text)
- timeDelaySeconds :: Maybe Int
- whitelist :: Maybe [Text]
- channelId :: Text
- id :: Text
- newCreateOriginEndpoint :: Text -> Text -> CreateOriginEndpoint
- createOriginEndpoint_authorization :: Lens' CreateOriginEndpoint (Maybe Authorization)
- createOriginEndpoint_cmafPackage :: Lens' CreateOriginEndpoint (Maybe CmafPackageCreateOrUpdateParameters)
- createOriginEndpoint_dashPackage :: Lens' CreateOriginEndpoint (Maybe DashPackage)
- createOriginEndpoint_description :: Lens' CreateOriginEndpoint (Maybe Text)
- createOriginEndpoint_hlsPackage :: Lens' CreateOriginEndpoint (Maybe HlsPackage)
- createOriginEndpoint_manifestName :: Lens' CreateOriginEndpoint (Maybe Text)
- createOriginEndpoint_mssPackage :: Lens' CreateOriginEndpoint (Maybe MssPackage)
- createOriginEndpoint_origination :: Lens' CreateOriginEndpoint (Maybe Origination)
- createOriginEndpoint_startoverWindowSeconds :: Lens' CreateOriginEndpoint (Maybe Int)
- createOriginEndpoint_tags :: Lens' CreateOriginEndpoint (Maybe (HashMap Text Text))
- createOriginEndpoint_timeDelaySeconds :: Lens' CreateOriginEndpoint (Maybe Int)
- createOriginEndpoint_whitelist :: Lens' CreateOriginEndpoint (Maybe [Text])
- createOriginEndpoint_channelId :: Lens' CreateOriginEndpoint Text
- createOriginEndpoint_id :: Lens' CreateOriginEndpoint Text
- data CreateOriginEndpointResponse = CreateOriginEndpointResponse' {
- arn :: Maybe Text
- authorization :: Maybe Authorization
- channelId :: Maybe Text
- cmafPackage :: Maybe CmafPackage
- dashPackage :: Maybe DashPackage
- description :: Maybe Text
- hlsPackage :: Maybe HlsPackage
- id :: Maybe Text
- manifestName :: Maybe Text
- mssPackage :: Maybe MssPackage
- origination :: Maybe Origination
- startoverWindowSeconds :: Maybe Int
- tags :: Maybe (HashMap Text Text)
- timeDelaySeconds :: Maybe Int
- url :: Maybe Text
- whitelist :: Maybe [Text]
- httpStatus :: Int
- newCreateOriginEndpointResponse :: Int -> CreateOriginEndpointResponse
- createOriginEndpointResponse_arn :: Lens' CreateOriginEndpointResponse (Maybe Text)
- createOriginEndpointResponse_authorization :: Lens' CreateOriginEndpointResponse (Maybe Authorization)
- createOriginEndpointResponse_channelId :: Lens' CreateOriginEndpointResponse (Maybe Text)
- createOriginEndpointResponse_cmafPackage :: Lens' CreateOriginEndpointResponse (Maybe CmafPackage)
- createOriginEndpointResponse_dashPackage :: Lens' CreateOriginEndpointResponse (Maybe DashPackage)
- createOriginEndpointResponse_description :: Lens' CreateOriginEndpointResponse (Maybe Text)
- createOriginEndpointResponse_hlsPackage :: Lens' CreateOriginEndpointResponse (Maybe HlsPackage)
- createOriginEndpointResponse_id :: Lens' CreateOriginEndpointResponse (Maybe Text)
- createOriginEndpointResponse_manifestName :: Lens' CreateOriginEndpointResponse (Maybe Text)
- createOriginEndpointResponse_mssPackage :: Lens' CreateOriginEndpointResponse (Maybe MssPackage)
- createOriginEndpointResponse_origination :: Lens' CreateOriginEndpointResponse (Maybe Origination)
- createOriginEndpointResponse_startoverWindowSeconds :: Lens' CreateOriginEndpointResponse (Maybe Int)
- createOriginEndpointResponse_tags :: Lens' CreateOriginEndpointResponse (Maybe (HashMap Text Text))
- createOriginEndpointResponse_timeDelaySeconds :: Lens' CreateOriginEndpointResponse (Maybe Int)
- createOriginEndpointResponse_url :: Lens' CreateOriginEndpointResponse (Maybe Text)
- createOriginEndpointResponse_whitelist :: Lens' CreateOriginEndpointResponse (Maybe [Text])
- createOriginEndpointResponse_httpStatus :: Lens' CreateOriginEndpointResponse Int
Creating a Request
data CreateOriginEndpoint Source #
Configuration parameters used to create a new OriginEndpoint.
See: newCreateOriginEndpoint
smart constructor.
Constructors
CreateOriginEndpoint' | |
Fields
|
Instances
newCreateOriginEndpoint Source #
Arguments
:: Text | |
-> Text | |
-> CreateOriginEndpoint |
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_authorization :: Lens' CreateOriginEndpoint (Maybe Authorization) Source #
Undocumented member.
createOriginEndpoint_cmafPackage :: Lens' CreateOriginEndpoint (Maybe CmafPackageCreateOrUpdateParameters) Source #
Undocumented member.
createOriginEndpoint_dashPackage :: Lens' CreateOriginEndpoint (Maybe DashPackage) Source #
Undocumented member.
createOriginEndpoint_description :: Lens' CreateOriginEndpoint (Maybe Text) Source #
A short text description of the OriginEndpoint.
createOriginEndpoint_hlsPackage :: Lens' CreateOriginEndpoint (Maybe HlsPackage) Source #
Undocumented member.
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_mssPackage :: Lens' CreateOriginEndpoint (Maybe MssPackage) Source #
Undocumented member.
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_tags :: Lens' CreateOriginEndpoint (Maybe (HashMap Text Text)) Source #
Undocumented member.
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
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_authorization :: Lens' CreateOriginEndpointResponse (Maybe Authorization) Source #
Undocumented member.
createOriginEndpointResponse_channelId :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #
The ID of the Channel the OriginEndpoint is associated with.
createOriginEndpointResponse_cmafPackage :: Lens' CreateOriginEndpointResponse (Maybe CmafPackage) Source #
Undocumented member.
createOriginEndpointResponse_dashPackage :: Lens' CreateOriginEndpointResponse (Maybe DashPackage) Source #
Undocumented member.
createOriginEndpointResponse_description :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #
A short text description of the OriginEndpoint.
createOriginEndpointResponse_hlsPackage :: Lens' CreateOriginEndpointResponse (Maybe HlsPackage) Source #
Undocumented member.
createOriginEndpointResponse_id :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #
The ID of the OriginEndpoint.
createOriginEndpointResponse_manifestName :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #
A short string appended to the end of the OriginEndpoint URL.
createOriginEndpointResponse_mssPackage :: Lens' CreateOriginEndpointResponse (Maybe MssPackage) Source #
Undocumented member.
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_tags :: Lens' CreateOriginEndpointResponse (Maybe (HashMap Text Text)) Source #
Undocumented member.
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.
createOriginEndpointResponse_httpStatus :: Lens' CreateOriginEndpointResponse Int Source #
The response's http status code.