Safe Haskell | None |
---|---|
Language | Haskell2010 |
Create a new distribution.
http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/CreateDistribution.html
- data CreateDistribution
- createDistribution :: DistributionConfig -> CreateDistribution
- cdDistributionConfig :: Lens' CreateDistribution DistributionConfig
- data CreateDistributionResponse
- createDistributionResponse :: CreateDistributionResponse
- cdrDistribution :: Lens' CreateDistributionResponse (Maybe Distribution)
- cdrETag :: Lens' CreateDistributionResponse (Maybe Text)
- cdrLocation :: Lens' CreateDistributionResponse (Maybe Text)
Request
data CreateDistribution Source
Request constructor
CreateDistribution
constructor.
The fields accessible through corresponding lenses are:
Request lenses
cdDistributionConfig :: Lens' CreateDistribution DistributionConfig Source
The distribution's configuration information.
Response
Response constructor
createDistributionResponse :: CreateDistributionResponse Source
CreateDistributionResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
cdrDistribution :: Lens' CreateDistributionResponse (Maybe Distribution) Source
The distribution's information.
cdrETag :: Lens' CreateDistributionResponse (Maybe Text) Source
The current version of the distribution created.
cdrLocation :: Lens' CreateDistributionResponse (Maybe Text) Source
The fully qualified URI of the new distribution resource just created. For example: https:/cloudfront.amazonaws.com2010-11-01distributionEDFDVBD632BHDS5.