Safe Haskell | None |
---|---|
Language | Haskell2010 |
Update a distribution.
http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/UpdateDistribution.html
- data UpdateDistribution
- updateDistribution :: DistributionConfig -> Text -> UpdateDistribution
- udDistributionConfig :: Lens' UpdateDistribution DistributionConfig
- udId :: Lens' UpdateDistribution Text
- udIfMatch :: Lens' UpdateDistribution (Maybe Text)
- data UpdateDistributionResponse
- updateDistributionResponse :: UpdateDistributionResponse
- udrDistribution :: Lens' UpdateDistributionResponse (Maybe Distribution)
- udrETag :: Lens' UpdateDistributionResponse (Maybe Text)
Request
data UpdateDistribution Source
Request constructor
UpdateDistribution
constructor.
The fields accessible through corresponding lenses are:
Request lenses
udDistributionConfig :: Lens' UpdateDistribution DistributionConfig Source
The distribution's configuration information.
udId :: Lens' UpdateDistribution Text Source
The distribution's id.
udIfMatch :: Lens' UpdateDistribution (Maybe Text) Source
The value of the ETag header you received when retrieving the distribution's configuration. For example: E2QWRUHAPOMQZL.
Response
Response constructor
updateDistributionResponse :: UpdateDistributionResponse Source
UpdateDistributionResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
udrDistribution :: Lens' UpdateDistributionResponse (Maybe Distribution) Source
The distribution's information.