amazonka-cloudfront-1.1.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.CreateDistribution

Contents

Description

Create a new distribution.

See: AWS API Reference for CreateDistribution.

Synopsis

Creating a Request

createDistribution Source

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

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

Request Lenses

cdDistributionConfig :: Lens' CreateDistribution DistributionConfig Source

The distribution's configuration information.

Destructuring the Response

createDistributionResponse Source

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

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

Response Lenses

cdrsETag :: Lens' CreateDistributionResponse (Maybe Text) Source

The current version of the distribution created.

cdrsLocation :: Lens' CreateDistributionResponse (Maybe Text) Source

The fully qualified URI of the new distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5.