Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Creates a new OriginEndpoint record.
Synopsis
- data CreateOriginEndpoint = CreateOriginEndpoint' {
- whitelist :: Maybe [Text]
- hlsPackage :: Maybe HlsPackage
- manifestName :: Maybe Text
- authorization :: Maybe Authorization
- startoverWindowSeconds :: Maybe Int
- dashPackage :: Maybe DashPackage
- mssPackage :: Maybe MssPackage
- timeDelaySeconds :: Maybe Int
- cmafPackage :: Maybe CmafPackageCreateOrUpdateParameters
- description :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- origination :: Maybe Origination
- channelId :: Text
- id :: Text
- newCreateOriginEndpoint :: Text -> Text -> CreateOriginEndpoint
- createOriginEndpoint_whitelist :: Lens' CreateOriginEndpoint (Maybe [Text])
- createOriginEndpoint_hlsPackage :: Lens' CreateOriginEndpoint (Maybe HlsPackage)
- createOriginEndpoint_manifestName :: Lens' CreateOriginEndpoint (Maybe Text)
- createOriginEndpoint_authorization :: Lens' CreateOriginEndpoint (Maybe Authorization)
- createOriginEndpoint_startoverWindowSeconds :: Lens' CreateOriginEndpoint (Maybe Int)
- createOriginEndpoint_dashPackage :: Lens' CreateOriginEndpoint (Maybe DashPackage)
- createOriginEndpoint_mssPackage :: Lens' CreateOriginEndpoint (Maybe MssPackage)
- createOriginEndpoint_timeDelaySeconds :: Lens' CreateOriginEndpoint (Maybe Int)
- createOriginEndpoint_cmafPackage :: Lens' CreateOriginEndpoint (Maybe CmafPackageCreateOrUpdateParameters)
- createOriginEndpoint_description :: Lens' CreateOriginEndpoint (Maybe Text)
- createOriginEndpoint_tags :: Lens' CreateOriginEndpoint (Maybe (HashMap Text Text))
- createOriginEndpoint_origination :: Lens' CreateOriginEndpoint (Maybe Origination)
- createOriginEndpoint_channelId :: Lens' CreateOriginEndpoint Text
- createOriginEndpoint_id :: Lens' CreateOriginEndpoint Text
- data CreateOriginEndpointResponse = CreateOriginEndpointResponse' {
- whitelist :: Maybe [Text]
- hlsPackage :: Maybe HlsPackage
- arn :: Maybe Text
- manifestName :: Maybe Text
- url :: Maybe Text
- authorization :: Maybe Authorization
- channelId :: Maybe Text
- startoverWindowSeconds :: Maybe Int
- dashPackage :: Maybe DashPackage
- mssPackage :: Maybe MssPackage
- id :: Maybe Text
- timeDelaySeconds :: Maybe Int
- cmafPackage :: Maybe CmafPackage
- description :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- origination :: Maybe Origination
- httpStatus :: Int
- newCreateOriginEndpointResponse :: Int -> CreateOriginEndpointResponse
- createOriginEndpointResponse_whitelist :: Lens' CreateOriginEndpointResponse (Maybe [Text])
- createOriginEndpointResponse_hlsPackage :: Lens' CreateOriginEndpointResponse (Maybe HlsPackage)
- createOriginEndpointResponse_arn :: Lens' CreateOriginEndpointResponse (Maybe Text)
- createOriginEndpointResponse_manifestName :: Lens' CreateOriginEndpointResponse (Maybe Text)
- createOriginEndpointResponse_url :: Lens' CreateOriginEndpointResponse (Maybe Text)
- createOriginEndpointResponse_authorization :: Lens' CreateOriginEndpointResponse (Maybe Authorization)
- createOriginEndpointResponse_channelId :: Lens' CreateOriginEndpointResponse (Maybe Text)
- createOriginEndpointResponse_startoverWindowSeconds :: Lens' CreateOriginEndpointResponse (Maybe Int)
- createOriginEndpointResponse_dashPackage :: Lens' CreateOriginEndpointResponse (Maybe DashPackage)
- createOriginEndpointResponse_mssPackage :: Lens' CreateOriginEndpointResponse (Maybe MssPackage)
- createOriginEndpointResponse_id :: Lens' CreateOriginEndpointResponse (Maybe Text)
- createOriginEndpointResponse_timeDelaySeconds :: Lens' CreateOriginEndpointResponse (Maybe Int)
- createOriginEndpointResponse_cmafPackage :: Lens' CreateOriginEndpointResponse (Maybe CmafPackage)
- createOriginEndpointResponse_description :: Lens' CreateOriginEndpointResponse (Maybe Text)
- createOriginEndpointResponse_tags :: Lens' CreateOriginEndpointResponse (Maybe (HashMap Text Text))
- createOriginEndpointResponse_origination :: Lens' CreateOriginEndpointResponse (Maybe Origination)
- createOriginEndpointResponse_httpStatus :: Lens' CreateOriginEndpointResponse Int
Creating a Request
data CreateOriginEndpoint Source #
Configuration parameters used to create a new OriginEndpoint.
See: newCreateOriginEndpoint
smart constructor.
CreateOriginEndpoint' | |
|
Instances
newCreateOriginEndpoint Source #
:: 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:
$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_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_authorization :: Lens' CreateOriginEndpoint (Maybe Authorization) Source #
Undocumented member.
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_dashPackage :: Lens' CreateOriginEndpoint (Maybe DashPackage) Source #
Undocumented member.
createOriginEndpoint_mssPackage :: Lens' CreateOriginEndpoint (Maybe MssPackage) 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_cmafPackage :: Lens' CreateOriginEndpoint (Maybe CmafPackageCreateOrUpdateParameters) Source #
Undocumented member.
createOriginEndpoint_description :: Lens' CreateOriginEndpoint (Maybe Text) Source #
A short text description of the OriginEndpoint.
createOriginEndpoint_tags :: Lens' CreateOriginEndpoint (Maybe (HashMap Text Text)) 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_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.
CreateOriginEndpointResponse' | |
|
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:
$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_hlsPackage :: Lens' CreateOriginEndpointResponse (Maybe HlsPackage) Source #
Undocumented member.
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_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_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_dashPackage :: Lens' CreateOriginEndpointResponse (Maybe DashPackage) Source #
Undocumented member.
createOriginEndpointResponse_mssPackage :: Lens' CreateOriginEndpointResponse (Maybe MssPackage) Source #
Undocumented member.
createOriginEndpointResponse_id :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #
The ID of 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_cmafPackage :: Lens' CreateOriginEndpointResponse (Maybe CmafPackage) Source #
Undocumented member.
createOriginEndpointResponse_description :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #
A short text description of the OriginEndpoint.
createOriginEndpointResponse_tags :: Lens' CreateOriginEndpointResponse (Maybe (HashMap Text Text)) 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_httpStatus :: Lens' CreateOriginEndpointResponse Int Source #
The response's http status code.