Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Get the information about a streaming distribution.
See: AWS API Reference for GetStreamingDistribution.
- getStreamingDistribution :: Text -> GetStreamingDistribution
- data GetStreamingDistribution
- gsdId :: Lens' GetStreamingDistribution Text
- getStreamingDistributionResponse :: Int -> GetStreamingDistributionResponse
- data GetStreamingDistributionResponse
- gsdrsETag :: Lens' GetStreamingDistributionResponse (Maybe Text)
- gsdrsStreamingDistribution :: Lens' GetStreamingDistributionResponse (Maybe StreamingDistribution)
- gsdrsStatus :: Lens' GetStreamingDistributionResponse Int
Creating a Request
getStreamingDistribution Source
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:
data GetStreamingDistribution Source
The request to get a streaming distribution's information.
See: getStreamingDistribution
smart constructor.
Request Lenses
gsdId :: Lens' GetStreamingDistribution Text Source
The streaming distribution's id.
Destructuring the Response
getStreamingDistributionResponse Source
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:
data GetStreamingDistributionResponse Source
The returned result of the corresponding request.
See: getStreamingDistributionResponse
smart constructor.
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.
gsdrsStatus :: Lens' GetStreamingDistributionResponse Int Source
The response status code.