Safe Haskell | None |
---|---|
Language | Haskell2010 |
Create a new invalidation.
http://docs.aws.amazon.com/AmazonCloudFront/latest/APIReference/CreateInvalidation.html
- data CreateInvalidation
- createInvalidation :: Text -> InvalidationBatch -> CreateInvalidation
- ciDistributionId :: Lens' CreateInvalidation Text
- ciInvalidationBatch :: Lens' CreateInvalidation InvalidationBatch
- data CreateInvalidationResponse
- createInvalidationResponse :: CreateInvalidationResponse
- cirInvalidation :: Lens' CreateInvalidationResponse (Maybe Invalidation)
- cirLocation :: Lens' CreateInvalidationResponse (Maybe Text)
Request
data CreateInvalidation Source
Request constructor
CreateInvalidation
constructor.
The fields accessible through corresponding lenses are:
Request lenses
ciDistributionId :: Lens' CreateInvalidation Text Source
The distribution's id.
ciInvalidationBatch :: Lens' CreateInvalidation InvalidationBatch Source
The batch information for the invalidation.
Response
Response constructor
createInvalidationResponse :: CreateInvalidationResponse Source
CreateInvalidationResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
cirInvalidation :: Lens' CreateInvalidationResponse (Maybe Invalidation) Source
The invalidation's information.
cirLocation :: Lens' CreateInvalidationResponse (Maybe Text) Source
The fully qualified URI of the distribution and invalidation batch request, including the Invalidation ID.