amazonka-cloudfront-1.0.0: Amazon CloudFront SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudFront.DeleteDistribution

Contents

Description

Delete a distribution.

See: AWS API Reference for DeleteDistribution.

Synopsis

Creating a Request

deleteDistribution Source

Creates a value of DeleteDistribution with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

ddIfMatch :: Lens' DeleteDistribution (Maybe Text) Source

The value of the ETag header you received when you disabled the distribution. For example: E2QWRUHAPOMQZL.

ddId :: Lens' DeleteDistribution Text Source

The distribution id.

Destructuring the Response

deleteDistributionResponse :: DeleteDistributionResponse Source

Creates a value of DeleteDistributionResponse with the minimum fields required to make a request.