amazonka-cloudfront-1.2.0.2: 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.UpdateDistribution

Contents

Description

Update a distribution.

See: AWS API Reference for UpdateDistribution.

Synopsis

Creating a Request

updateDistribution Source

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

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

Request Lenses

udIfMatch :: Lens' UpdateDistribution (Maybe Text) Source

The value of the ETag header you received when retrieving the distribution's configuration. For example: E2QWRUHAPOMQZL.

udDistributionConfig :: Lens' UpdateDistribution DistributionConfig Source

The distribution's configuration information.

udId :: Lens' UpdateDistribution Text Source

The distribution's id.

Destructuring the Response

updateDistributionResponse Source

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

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

Response Lenses

udrsETag :: Lens' UpdateDistributionResponse (Maybe Text) Source

The current version of the configuration. For example: E2QWRUHAPOMQZL.