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 |
This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020. For more information, read the announcement on the Amazon CloudFront discussion forum.
Synopsis
- data CreateStreamingDistribution = CreateStreamingDistribution' {}
- newCreateStreamingDistribution :: StreamingDistributionConfig -> CreateStreamingDistribution
- createStreamingDistribution_streamingDistributionConfig :: Lens' CreateStreamingDistribution StreamingDistributionConfig
- data CreateStreamingDistributionResponse = CreateStreamingDistributionResponse' {}
- newCreateStreamingDistributionResponse :: Int -> CreateStreamingDistributionResponse
- createStreamingDistributionResponse_eTag :: Lens' CreateStreamingDistributionResponse (Maybe Text)
- createStreamingDistributionResponse_location :: Lens' CreateStreamingDistributionResponse (Maybe Text)
- createStreamingDistributionResponse_streamingDistribution :: Lens' CreateStreamingDistributionResponse (Maybe StreamingDistribution)
- createStreamingDistributionResponse_httpStatus :: Lens' CreateStreamingDistributionResponse Int
Creating a Request
data CreateStreamingDistribution Source #
The request to create a new streaming distribution.
See: newCreateStreamingDistribution
smart constructor.
CreateStreamingDistribution' | |
|
Instances
newCreateStreamingDistribution Source #
:: StreamingDistributionConfig |
|
-> CreateStreamingDistribution |
Create a value of CreateStreamingDistribution
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:streamingDistributionConfig:CreateStreamingDistribution'
, createStreamingDistribution_streamingDistributionConfig
- The streaming distribution's configuration information.
Request Lenses
createStreamingDistribution_streamingDistributionConfig :: Lens' CreateStreamingDistribution StreamingDistributionConfig Source #
The streaming distribution's configuration information.
Destructuring the Response
data CreateStreamingDistributionResponse Source #
The returned result of the corresponding request.
See: newCreateStreamingDistributionResponse
smart constructor.
CreateStreamingDistributionResponse' | |
|
Instances
newCreateStreamingDistributionResponse Source #
Create a value of CreateStreamingDistributionResponse
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:eTag:CreateStreamingDistributionResponse'
, createStreamingDistributionResponse_eTag
- The current version of the streaming distribution created.
$sel:location:CreateStreamingDistributionResponse'
, createStreamingDistributionResponse_location
- The fully qualified URI of the new streaming distribution resource just
created.
$sel:streamingDistribution:CreateStreamingDistributionResponse'
, createStreamingDistributionResponse_streamingDistribution
- The streaming distribution's information.
$sel:httpStatus:CreateStreamingDistributionResponse'
, createStreamingDistributionResponse_httpStatus
- The response's http status code.
Response Lenses
createStreamingDistributionResponse_eTag :: Lens' CreateStreamingDistributionResponse (Maybe Text) Source #
The current version of the streaming distribution created.
createStreamingDistributionResponse_location :: Lens' CreateStreamingDistributionResponse (Maybe Text) Source #
The fully qualified URI of the new streaming distribution resource just created.
createStreamingDistributionResponse_streamingDistribution :: Lens' CreateStreamingDistributionResponse (Maybe StreamingDistribution) Source #
The streaming distribution's information.
createStreamingDistributionResponse_httpStatus :: Lens' CreateStreamingDistributionResponse Int Source #
The response's http status code.