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 |
Update a streaming distribution.
Synopsis
- 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
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:
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 Source #
The request to update a streaming distribution.
See: updateStreamingDistribution
smart constructor.
Instances
Request Lenses
usdIfMatch :: Lens' UpdateStreamingDistribution (Maybe Text) Source #
The value of the ETag
header that you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL
.
usdStreamingDistributionConfig :: Lens' UpdateStreamingDistribution StreamingDistributionConfig Source #
The streaming distribution's configuration information.
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:
usdrsETag
- The current version of the configuration. For example:E2QWRUHAPOMQZL
.usdrsStreamingDistribution
- The streaming distribution's information.usdrsResponseStatus
- -- | The response status code.
data UpdateStreamingDistributionResponse Source #
The returned result of the corresponding request.
See: updateStreamingDistributionResponse
smart constructor.
Instances
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.
usdrsResponseStatus :: Lens' UpdateStreamingDistributionResponse Int Source #
- - | The response status code.