| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.MediaPackage.CreateOriginEndpoint
Description
Creates a new OriginEndpoint record.
Synopsis
- createOriginEndpoint :: Text -> Text -> CreateOriginEndpoint
- data CreateOriginEndpoint
- coeWhitelist :: Lens' CreateOriginEndpoint [Text]
- coeHlsPackage :: Lens' CreateOriginEndpoint (Maybe HlsPackage)
- coeManifestName :: Lens' CreateOriginEndpoint (Maybe Text)
- coeStartoverWindowSeconds :: Lens' CreateOriginEndpoint (Maybe Int)
- coeDashPackage :: Lens' CreateOriginEndpoint (Maybe DashPackage)
- coeMssPackage :: Lens' CreateOriginEndpoint (Maybe MssPackage)
- coeTimeDelaySeconds :: Lens' CreateOriginEndpoint (Maybe Int)
- coeCmafPackage :: Lens' CreateOriginEndpoint (Maybe CmafPackageCreateOrUpdateParameters)
- coeDescription :: Lens' CreateOriginEndpoint (Maybe Text)
- coeChannelId :: Lens' CreateOriginEndpoint Text
- coeId :: Lens' CreateOriginEndpoint Text
- createOriginEndpointResponse :: Int -> CreateOriginEndpointResponse
- data CreateOriginEndpointResponse
- coersWhitelist :: Lens' CreateOriginEndpointResponse [Text]
- coersHlsPackage :: Lens' CreateOriginEndpointResponse (Maybe HlsPackage)
- coersARN :: Lens' CreateOriginEndpointResponse (Maybe Text)
- coersManifestName :: Lens' CreateOriginEndpointResponse (Maybe Text)
- coersURL :: Lens' CreateOriginEndpointResponse (Maybe Text)
- coersChannelId :: Lens' CreateOriginEndpointResponse (Maybe Text)
- coersStartoverWindowSeconds :: Lens' CreateOriginEndpointResponse (Maybe Int)
- coersDashPackage :: Lens' CreateOriginEndpointResponse (Maybe DashPackage)
- coersMssPackage :: Lens' CreateOriginEndpointResponse (Maybe MssPackage)
- coersId :: Lens' CreateOriginEndpointResponse (Maybe Text)
- coersTimeDelaySeconds :: Lens' CreateOriginEndpointResponse (Maybe Int)
- coersCmafPackage :: Lens' CreateOriginEndpointResponse (Maybe CmafPackage)
- coersDescription :: Lens' CreateOriginEndpointResponse (Maybe Text)
- coersResponseStatus :: Lens' CreateOriginEndpointResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> CreateOriginEndpoint |
Creates a value of CreateOriginEndpoint with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
coeWhitelist- A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.coeHlsPackage- Undocumented member.coeManifestName- A short string that will be used as the filename of the OriginEndpoint URL (defaults to "index").coeStartoverWindowSeconds- Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.coeDashPackage- Undocumented member.coeMssPackage- Undocumented member.coeTimeDelaySeconds- 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.coeCmafPackage- Undocumented member.coeDescription- A short text description of the OriginEndpoint.coeChannelId- The ID of the Channel that the OriginEndpoint will be associated with. This cannot be changed after the OriginEndpoint is created.coeId- The ID of the OriginEndpoint. The ID must be unique within the region and it cannot be changed after the OriginEndpoint is created.
data CreateOriginEndpoint Source #
Configuration parameters used to create a new OriginEndpoint.
See: createOriginEndpoint smart constructor.
Instances
Request Lenses
coeWhitelist :: Lens' CreateOriginEndpoint [Text] Source #
A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
coeHlsPackage :: Lens' CreateOriginEndpoint (Maybe HlsPackage) Source #
Undocumented member.
coeManifestName :: Lens' CreateOriginEndpoint (Maybe Text) Source #
A short string that will be used as the filename of the OriginEndpoint URL (defaults to "index").
coeStartoverWindowSeconds :: 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.
coeDashPackage :: Lens' CreateOriginEndpoint (Maybe DashPackage) Source #
Undocumented member.
coeMssPackage :: Lens' CreateOriginEndpoint (Maybe MssPackage) Source #
Undocumented member.
coeTimeDelaySeconds :: 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.
coeCmafPackage :: Lens' CreateOriginEndpoint (Maybe CmafPackageCreateOrUpdateParameters) Source #
Undocumented member.
coeDescription :: Lens' CreateOriginEndpoint (Maybe Text) Source #
A short text description of the OriginEndpoint.
coeChannelId :: 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.
coeId :: 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
createOriginEndpointResponse Source #
Arguments
| :: Int | |
| -> CreateOriginEndpointResponse |
Creates a value of CreateOriginEndpointResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
coersWhitelist- A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.coersHlsPackage- Undocumented member.coersARN- The Amazon Resource Name (ARN) assigned to the OriginEndpoint.coersManifestName- A short string appended to the end of the OriginEndpoint URL.coersURL- The URL of the packaged OriginEndpoint for consumption.coersChannelId- The ID of the Channel the OriginEndpoint is associated with.coersStartoverWindowSeconds- Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.coersDashPackage- Undocumented member.coersMssPackage- Undocumented member.coersId- The ID of the OriginEndpoint.coersTimeDelaySeconds- 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.coersCmafPackage- Undocumented member.coersDescription- A short text description of the OriginEndpoint.coersResponseStatus- -- | The response status code.
data CreateOriginEndpointResponse Source #
See: createOriginEndpointResponse smart constructor.
Instances
Response Lenses
coersWhitelist :: Lens' CreateOriginEndpointResponse [Text] Source #
A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
coersHlsPackage :: Lens' CreateOriginEndpointResponse (Maybe HlsPackage) Source #
Undocumented member.
coersARN :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
coersManifestName :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #
A short string appended to the end of the OriginEndpoint URL.
coersURL :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #
The URL of the packaged OriginEndpoint for consumption.
coersChannelId :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #
The ID of the Channel the OriginEndpoint is associated with.
coersStartoverWindowSeconds :: 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.
coersDashPackage :: Lens' CreateOriginEndpointResponse (Maybe DashPackage) Source #
Undocumented member.
coersMssPackage :: Lens' CreateOriginEndpointResponse (Maybe MssPackage) Source #
Undocumented member.
coersTimeDelaySeconds :: 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.
coersCmafPackage :: Lens' CreateOriginEndpointResponse (Maybe CmafPackage) Source #
Undocumented member.
coersDescription :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #
A short text description of the OriginEndpoint.
coersResponseStatus :: Lens' CreateOriginEndpointResponse Int Source #
- - | The response status code.