amazonka-cloudfront 0.0.4 → 0.0.5
raw patch · 25 files changed
+62/−8 lines, 25 filesdep ~amazonka-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-core
API changes (from Hackage documentation)
+ Network.AWS.CloudFront.Types: instance ToXMLRoot CloudFrontOriginAccessIdentityConfig
+ Network.AWS.CloudFront.Types: instance ToXMLRoot DistributionConfig
+ Network.AWS.CloudFront.Types: instance ToXMLRoot StreamingDistributionConfig
Files
- README.md +2/−0
- amazonka-cloudfront.cabal +2/−2
- gen/Network/AWS/CloudFront.hs +2/−0
- gen/Network/AWS/CloudFront/CreateCloudFrontOriginAccessIdentity.hs +2/−0
- gen/Network/AWS/CloudFront/CreateDistribution.hs +2/−0
- gen/Network/AWS/CloudFront/CreateInvalidation.hs +2/−0
- gen/Network/AWS/CloudFront/CreateStreamingDistribution.hs +2/−0
- gen/Network/AWS/CloudFront/DeleteCloudFrontOriginAccessIdentity.hs +2/−0
- gen/Network/AWS/CloudFront/DeleteDistribution.hs +2/−0
- gen/Network/AWS/CloudFront/DeleteStreamingDistribution.hs +2/−0
- gen/Network/AWS/CloudFront/GetCloudFrontOriginAccessIdentity.hs +2/−0
- gen/Network/AWS/CloudFront/GetCloudFrontOriginAccessIdentityConfig.hs +2/−0
- gen/Network/AWS/CloudFront/GetDistribution.hs +2/−0
- gen/Network/AWS/CloudFront/GetDistributionConfig.hs +2/−0
- gen/Network/AWS/CloudFront/GetInvalidation.hs +2/−0
- gen/Network/AWS/CloudFront/GetStreamingDistribution.hs +2/−0
- gen/Network/AWS/CloudFront/GetStreamingDistributionConfig.hs +2/−0
- gen/Network/AWS/CloudFront/ListCloudFrontOriginAccessIdentities.hs +2/−0
- gen/Network/AWS/CloudFront/ListDistributions.hs +2/−0
- gen/Network/AWS/CloudFront/ListInvalidations.hs +2/−0
- gen/Network/AWS/CloudFront/ListStreamingDistributions.hs +2/−0
- gen/Network/AWS/CloudFront/Types.hs +14/−6
- gen/Network/AWS/CloudFront/UpdateCloudFrontOriginAccessIdentity.hs +2/−0
- gen/Network/AWS/CloudFront/UpdateDistribution.hs +2/−0
- gen/Network/AWS/CloudFront/UpdateStreamingDistribution.hs +2/−0
README.md view
@@ -34,3 +34,5 @@ ## Licence `amazonka-cloudfront` is released under the [Mozilla Public License Version 2.0](http://www.mozilla.org/MPL/).++Parts of the code are derived from AWS service descriptions, licensed under Apache 2.0.
amazonka-cloudfront.cabal view
@@ -1,5 +1,5 @@ name: amazonka-cloudfront-version: 0.0.4+version: 0.0.5 synopsis: Amazon CloudFront SDK. homepage: https://github.com/brendanhay/amazonka license: OtherLicense@@ -69,5 +69,5 @@ other-modules: build-depends:- amazonka-core == 0.0.4.*+ amazonka-core == 0.0.5.* , base >= 4.7 && < 5
gen/Network/AWS/CloudFront.hs view
@@ -7,6 +7,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Amazon CloudFront is a web service that speeds up distribution of your static -- and dynamic web content, for example, .html, .css, .php, image, and media
gen/Network/AWS/CloudFront/CreateCloudFrontOriginAccessIdentity.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Create a new origin access identity. --
gen/Network/AWS/CloudFront/CreateDistribution.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Create a new distribution. --
gen/Network/AWS/CloudFront/CreateInvalidation.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Create a new invalidation. --
gen/Network/AWS/CloudFront/CreateStreamingDistribution.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Create a new streaming distribution. --
gen/Network/AWS/CloudFront/DeleteCloudFrontOriginAccessIdentity.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Delete an origin access identity. --
gen/Network/AWS/CloudFront/DeleteDistribution.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Delete a distribution. --
gen/Network/AWS/CloudFront/DeleteStreamingDistribution.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Delete a streaming distribution. --
gen/Network/AWS/CloudFront/GetCloudFrontOriginAccessIdentity.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Get the information about an origin access identity. --
gen/Network/AWS/CloudFront/GetCloudFrontOriginAccessIdentityConfig.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Get the configuration information about an origin access identity. --
gen/Network/AWS/CloudFront/GetDistribution.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Get the information about a distribution. --
gen/Network/AWS/CloudFront/GetDistributionConfig.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Get the configuration information about a distribution. --
gen/Network/AWS/CloudFront/GetInvalidation.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Get the information about an invalidation. --
gen/Network/AWS/CloudFront/GetStreamingDistribution.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Get the information about a streaming distribution. --
gen/Network/AWS/CloudFront/GetStreamingDistributionConfig.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Get the configuration information about a streaming distribution. --
gen/Network/AWS/CloudFront/ListCloudFrontOriginAccessIdentities.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | List origin access identities. --
gen/Network/AWS/CloudFront/ListDistributions.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | List distributions. --
gen/Network/AWS/CloudFront/ListInvalidations.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | List invalidation batches. --
gen/Network/AWS/CloudFront/ListStreamingDistributions.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | List streaming distributions. --
gen/Network/AWS/CloudFront/Types.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. module Network.AWS.CloudFront.Types (@@ -689,12 +691,14 @@ <$> x .@ "CallerReference" <*> x .@ "Comment" -instance ToXML CloudFrontOriginAccessIdentityConfig where- toXML CloudFrontOriginAccessIdentityConfig{..} = nodes "CloudFrontOriginAccessIdentityConfig"+instance ToXMLRoot CloudFrontOriginAccessIdentityConfig where+ toXMLRoot CloudFrontOriginAccessIdentityConfig{..} = namespaced ns "CloudFrontOriginAccessIdentityConfig" [ "CallerReference" =@ _cfoaicCallerReference , "Comment" =@ _cfoaicComment ] +instance ToXML CloudFrontOriginAccessIdentityConfig+ data Origin = Origin { _oCustomOriginConfig :: Maybe CustomOriginConfig , _oDomainName :: Text@@ -1008,8 +1012,8 @@ <*> x .@ "S3Origin" <*> x .@ "TrustedSigners" -instance ToXML StreamingDistributionConfig where- toXML StreamingDistributionConfig{..} = nodes "StreamingDistributionConfig"+instance ToXMLRoot StreamingDistributionConfig where+ toXMLRoot StreamingDistributionConfig{..} = namespaced ns "StreamingDistributionConfig" [ "CallerReference" =@ _sdcCallerReference , "S3Origin" =@ _sdcS3Origin , "Aliases" =@ _sdcAliases@@ -1020,6 +1024,8 @@ , "Enabled" =@ _sdcEnabled ] +instance ToXML StreamingDistributionConfig+ data Signer = Signer { _sAwsAccountNumber :: Maybe Text , _sKeyPairIds :: Maybe KeyPairIds@@ -1816,8 +1822,8 @@ <*> x .@? "Restrictions" <*> x .@? "ViewerCertificate" -instance ToXML DistributionConfig where- toXML DistributionConfig{..} = nodes "DistributionConfig"+instance ToXMLRoot DistributionConfig where+ toXMLRoot DistributionConfig{..} = namespaced ns "DistributionConfig" [ "CallerReference" =@ _dcCallerReference , "Aliases" =@ _dcAliases , "DefaultRootObject" =@ _dcDefaultRootObject@@ -1832,6 +1838,8 @@ , "ViewerCertificate" =@ _dcViewerCertificate , "Restrictions" =@ _dcRestrictions ]++instance ToXML DistributionConfig data CacheBehavior = CacheBehavior { _cbAllowedMethods :: Maybe AllowedMethods
gen/Network/AWS/CloudFront/UpdateCloudFrontOriginAccessIdentity.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Update an origin access identity. --
gen/Network/AWS/CloudFront/UpdateDistribution.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Update a distribution. --
gen/Network/AWS/CloudFront/UpdateStreamingDistribution.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Update a streaming distribution. --