Copyright | (c) 2013-2016 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 |
Network.AWS.CloudFront.UpdateStreamingDistribution
Description
Update a streaming distribution.
- 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)
- usdrsResponseStatus :: Lens' UpdateStreamingDistributionResponse Int
Creating a Request
Arguments
:: StreamingDistributionConfig | |
-> Text | |
-> UpdateStreamingDistribution |
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:
usdIfMatch
- The value of theETag
header that you received when retrieving the streaming distribution's configuration. For example:E2QWRUHAPOMQZL
.usdStreamingDistributionConfig
- The streaming distribution's configuration information.usdId
- The streaming distribution's id.
data UpdateStreamingDistribution #
The request to update a streaming distribution.
See: updateStreamingDistribution
smart constructor.
Instances
Request Lenses
usdIfMatch :: Lens' UpdateStreamingDistribution (Maybe Text) #
The value of the ETag
header that you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL
.
usdStreamingDistributionConfig :: Lens' UpdateStreamingDistribution StreamingDistributionConfig #
The streaming distribution's configuration information.
usdId :: Lens' UpdateStreamingDistribution Text #
The streaming distribution's id.
Destructuring the Response
updateStreamingDistributionResponse #
Arguments
:: Int | |
-> UpdateStreamingDistributionResponse |
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:
usdrsETag
- The current version of the configuration. For example:E2QWRUHAPOMQZL
.usdrsStreamingDistribution
- The streaming distribution's information.usdrsResponseStatus
- -- | The response status code.
data UpdateStreamingDistributionResponse #
The returned result of the corresponding request.
See: updateStreamingDistributionResponse
smart constructor.
Instances
Response Lenses
usdrsETag :: Lens' UpdateStreamingDistributionResponse (Maybe Text) #
The current version of the configuration. For example: E2QWRUHAPOMQZL
.
usdrsStreamingDistribution :: Lens' UpdateStreamingDistributionResponse (Maybe StreamingDistribution) #
The streaming distribution's information.
usdrsResponseStatus :: Lens' UpdateStreamingDistributionResponse Int #
- - | The response status code.