Sha256: ffe00f88d52f3126892c8cd14384069acaf303e306d2d9466f169c20d84f4d1c
Contents?: true
Size: 770 Bytes
Versions: 39
Compression:
Stored size: 770 Bytes
Contents
module Fog module CDN class AWS class Real # Delete a distribution from CloudFront # # ==== Parameters # * distribution_id<~String> - Id of distribution to delete # * etag<~String> - etag of that distribution from earlier get or put # # ==== See Also # http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/DeleteDistribution.html def delete_distribution(distribution_id, etag) request({ :expects => 204, :headers => { 'If-Match' => etag }, :idempotent => true, :method => 'DELETE', :path => "/distribution/#{distribution_id}" }) end end end end end
Version data entries
39 entries across 39 versions & 11 rubygems