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 |
Update a streaming distribution.
See: AWS API Reference for UpdateStreamingDistribution.
- updateStreamingDistribution :: StreamingDistributionConfig -> Text -> UpdateStreamingDistribution
- data UpdateStreamingDistribution
- usdIfMatch :: Lens' UpdateStreamingDistribution (Maybe Text)
- usdStreamingDistributionConfig :: Lens' UpdateStreamingDistribution StreamingDistributionConfig
- usdId :: Lens' UpdateStreamingDistribution Text
- updateStreamingDistributionResponse :: Int -> UpdateStreamingDistributionResponse
- data UpdateStreamingDistributionResponse
- usdrsETag :: Lens' UpdateStreamingDistributionResponse (Maybe Text)
- usdrsStreamingDistribution :: Lens' UpdateStreamingDistributionResponse (Maybe StreamingDistribution)
- usdrsStatus :: Lens' UpdateStreamingDistributionResponse Int
Creating a Request
updateStreamingDistribution Source
Creates a value of UpdateStreamingDistribution
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateStreamingDistribution Source
The request to update a streaming distribution.
See: updateStreamingDistribution
smart constructor.
Request Lenses
usdIfMatch :: Lens' UpdateStreamingDistribution (Maybe Text) Source
The value of the ETag header you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL.
usdStreamingDistributionConfig :: Lens' UpdateStreamingDistribution StreamingDistributionConfig Source
The streaming distribution's configuration information.
usdId :: Lens' UpdateStreamingDistribution Text Source
The streaming distribution's id.
Destructuring the Response
updateStreamingDistributionResponse Source
Creates a value of UpdateStreamingDistributionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateStreamingDistributionResponse Source
The returned result of the corresponding request.
See: updateStreamingDistributionResponse
smart constructor.
Response Lenses
usdrsETag :: Lens' UpdateStreamingDistributionResponse (Maybe Text) Source
The current version of the configuration. For example: E2QWRUHAPOMQZL.
usdrsStreamingDistribution :: Lens' UpdateStreamingDistributionResponse (Maybe StreamingDistribution) Source
The streaming distribution's information.
usdrsStatus :: Lens' UpdateStreamingDistributionResponse Int Source
The response status code.