| 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.CloudFront.GetStreamingDistribution
Description
Gets information about a specified RTMP distribution, including the distribution configuration.
- getStreamingDistribution :: Text -> GetStreamingDistribution
- data GetStreamingDistribution
- gsdId :: Lens' GetStreamingDistribution Text
- getStreamingDistributionResponse :: Int -> GetStreamingDistributionResponse
- data GetStreamingDistributionResponse
- gsdrsETag :: Lens' GetStreamingDistributionResponse (Maybe Text)
- gsdrsStreamingDistribution :: Lens' GetStreamingDistributionResponse (Maybe StreamingDistribution)
- gsdrsResponseStatus :: Lens' GetStreamingDistributionResponse Int
Creating a Request
getStreamingDistribution Source #
Arguments
| :: Text | |
| -> GetStreamingDistribution |
Creates a value of GetStreamingDistribution with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gsdId- The streaming distribution's ID.
data GetStreamingDistribution Source #
The request to get a streaming distribution's information.
See: getStreamingDistribution smart constructor.
Instances
Request Lenses
Destructuring the Response
getStreamingDistributionResponse Source #
Arguments
| :: Int | |
| -> GetStreamingDistributionResponse |
Creates a value of GetStreamingDistributionResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gsdrsETag- The current version of the streaming distribution's information. For example:E2QWRUHAPOMQZL.gsdrsStreamingDistribution- The streaming distribution's information.gsdrsResponseStatus- -- | The response status code.
data GetStreamingDistributionResponse Source #
The returned result of the corresponding request.
See: getStreamingDistributionResponse smart constructor.
Instances
Response Lenses
gsdrsETag :: Lens' GetStreamingDistributionResponse (Maybe Text) Source #
The current version of the streaming distribution's information. For example: E2QWRUHAPOMQZL .
gsdrsStreamingDistribution :: Lens' GetStreamingDistributionResponse (Maybe StreamingDistribution) Source #
The streaming distribution's information.
gsdrsResponseStatus :: Lens' GetStreamingDistributionResponse Int Source #
- - | The response status code.