packages feed

amazonka-cur 1.5.0 → 1.6.0

raw patch · 14 files changed

+69/−67 lines, 14 filesdep ~amazonka-coredep ~amazonka-testPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: amazonka-core, amazonka-test

API changes (from Hackage documentation)

Files

README.md view
@@ -8,7 +8,7 @@  ## Version -`1.5.0`+`1.6.0`   ## Description
amazonka-cur.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-cur-version:               1.5.0+version:               1.6.0 synopsis:              Amazon Cost and Usage Report Service SDK. homepage:              https://github.com/brendanhay/amazonka bug-reports:           https://github.com/brendanhay/amazonka/issues@@ -7,7 +7,7 @@ license-file:          LICENSE author:                Brendan Hay maintainer:            Brendan Hay <brendan.g.hay+amazonka@gmail.com>-copyright:             Copyright (c) 2013-2017 Brendan Hay+copyright:             Copyright (c) 2013-2018 Brendan Hay category:              Network, AWS, Cloud, Distributed Computing build-type:            Simple cabal-version:         >= 1.10@@ -56,7 +56,7 @@         , Network.AWS.CostAndUsageReport.Types.Sum      build-depends:-          amazonka-core == 1.5.0.*+          amazonka-core == 1.6.0.*         , base          >= 4.7     && < 5  test-suite amazonka-cur-test@@ -76,8 +76,8 @@         , Test.AWS.CostAndUsageReport.Internal      build-depends:-          amazonka-core == 1.5.0.*-        , amazonka-test == 1.5.0.*+          amazonka-core == 1.6.0.*+        , amazonka-test == 1.6.0.*         , amazonka-cur         , base         , bytestring
gen/Network/AWS/CostAndUsageReport.hs view
@@ -5,7 +5,7 @@  -- | -- Module      : Network.AWS.CostAndUsageReport--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated
gen/Network/AWS/CostAndUsageReport/DeleteReportDefinition.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CostAndUsageReport.DeleteReportDefinition--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -62,7 +62,7 @@  -- | Undocumented member. drdReportName :: Lens' DeleteReportDefinition (Maybe Text)-drdReportName = lens _drdReportName (\ s a -> s{_drdReportName = a});+drdReportName = lens _drdReportName (\ s a -> s{_drdReportName = a})  instance AWSRequest DeleteReportDefinition where         type Rs DeleteReportDefinition =@@ -120,15 +120,15 @@     -> DeleteReportDefinitionResponse deleteReportDefinitionResponse pResponseStatus_ =   DeleteReportDefinitionResponse'-  {_drsResponseMessage = Nothing, _drsResponseStatus = pResponseStatus_}+    {_drsResponseMessage = Nothing, _drsResponseStatus = pResponseStatus_}   -- | Undocumented member. drsResponseMessage :: Lens' DeleteReportDefinitionResponse (Maybe Text)-drsResponseMessage = lens _drsResponseMessage (\ s a -> s{_drsResponseMessage = a});+drsResponseMessage = lens _drsResponseMessage (\ s a -> s{_drsResponseMessage = a})  -- | -- | The response status code. drsResponseStatus :: Lens' DeleteReportDefinitionResponse Int-drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a});+drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a})  instance NFData DeleteReportDefinitionResponse where
gen/Network/AWS/CostAndUsageReport/DescribeReportDefinitions.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CostAndUsageReport.DescribeReportDefinitions--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -71,11 +71,11 @@  -- | Undocumented member. drdNextToken :: Lens' DescribeReportDefinitions (Maybe Text)-drdNextToken = lens _drdNextToken (\ s a -> s{_drdNextToken = a});+drdNextToken = lens _drdNextToken (\ s a -> s{_drdNextToken = a})  -- | Undocumented member. drdMaxResults :: Lens' DescribeReportDefinitions (Maybe Natural)-drdMaxResults = lens _drdMaxResults (\ s a -> s{_drdMaxResults = a}) . mapping _Nat;+drdMaxResults = lens _drdMaxResults (\ s a -> s{_drdMaxResults = a}) . mapping _Nat  instance AWSPager DescribeReportDefinitions where         page rq rs@@ -147,23 +147,23 @@     -> DescribeReportDefinitionsResponse describeReportDefinitionsResponse pResponseStatus_ =   DescribeReportDefinitionsResponse'-  { _drdrsNextToken = Nothing-  , _drdrsReportDefinitions = Nothing-  , _drdrsResponseStatus = pResponseStatus_-  }+    { _drdrsNextToken = Nothing+    , _drdrsReportDefinitions = Nothing+    , _drdrsResponseStatus = pResponseStatus_+    }   -- | Undocumented member. drdrsNextToken :: Lens' DescribeReportDefinitionsResponse (Maybe Text)-drdrsNextToken = lens _drdrsNextToken (\ s a -> s{_drdrsNextToken = a});+drdrsNextToken = lens _drdrsNextToken (\ s a -> s{_drdrsNextToken = a})  -- | Undocumented member. drdrsReportDefinitions :: Lens' DescribeReportDefinitionsResponse [ReportDefinition]-drdrsReportDefinitions = lens _drdrsReportDefinitions (\ s a -> s{_drdrsReportDefinitions = a}) . _Default . _Coerce;+drdrsReportDefinitions = lens _drdrsReportDefinitions (\ s a -> s{_drdrsReportDefinitions = a}) . _Default . _Coerce  -- | -- | The response status code. drdrsResponseStatus :: Lens' DescribeReportDefinitionsResponse Int-drdrsResponseStatus = lens _drdrsResponseStatus (\ s a -> s{_drdrsResponseStatus = a});+drdrsResponseStatus = lens _drdrsResponseStatus (\ s a -> s{_drdrsResponseStatus = a})  instance NFData DescribeReportDefinitionsResponse          where
gen/Network/AWS/CostAndUsageReport/PutReportDefinition.hs view
@@ -12,7 +12,7 @@  -- | -- Module      : Network.AWS.CostAndUsageReport.PutReportDefinition--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -63,7 +63,7 @@  -- | Undocumented member. prdReportDefinition :: Lens' PutReportDefinition ReportDefinition-prdReportDefinition = lens _prdReportDefinition (\ s a -> s{_prdReportDefinition = a});+prdReportDefinition = lens _prdReportDefinition (\ s a -> s{_prdReportDefinition = a})  instance AWSRequest PutReportDefinition where         type Rs PutReportDefinition =@@ -122,6 +122,6 @@  -- | -- | The response status code. prdrsResponseStatus :: Lens' PutReportDefinitionResponse Int-prdrsResponseStatus = lens _prdrsResponseStatus (\ s a -> s{_prdrsResponseStatus = a});+prdrsResponseStatus = lens _prdrsResponseStatus (\ s a -> s{_prdrsResponseStatus = a})  instance NFData PutReportDefinitionResponse where
gen/Network/AWS/CostAndUsageReport/Types.hs view
@@ -4,7 +4,7 @@  -- | -- Module      : Network.AWS.CostAndUsageReport.Types--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -63,24 +63,24 @@ costAndUsageReport :: Service costAndUsageReport =   Service-  { _svcAbbrev = "CostAndUsageReport"-  , _svcSigner = v4-  , _svcPrefix = "cur"-  , _svcVersion = "2017-01-06"-  , _svcEndpoint = defaultEndpoint costAndUsageReport-  , _svcTimeout = Just 70-  , _svcCheck = statusSuccess-  , _svcError = parseJSONError "CostAndUsageReport"-  , _svcRetry = retry-  }+    { _svcAbbrev = "CostAndUsageReport"+    , _svcSigner = v4+    , _svcPrefix = "cur"+    , _svcVersion = "2017-01-06"+    , _svcEndpoint = defaultEndpoint costAndUsageReport+    , _svcTimeout = Just 70+    , _svcCheck = statusSuccess+    , _svcError = parseJSONError "CostAndUsageReport"+    , _svcRetry = retry+    }   where     retry =       Exponential-      { _retryBase = 5.0e-2-      , _retryGrowth = 2-      , _retryAttempts = 5-      , _retryCheck = check-      }+        { _retryBase = 5.0e-2+        , _retryGrowth = 2+        , _retryAttempts = 5+        , _retryCheck = check+        }     check e       | has (hasCode "ThrottledException" . hasStatus 400) e =         Just "throttled_exception"@@ -89,6 +89,8 @@         Just "throttling_exception"       | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"       | has (hasStatus 504) e = Just "gateway_timeout"+      | has (hasCode "RequestThrottledException" . hasStatus 400) e =+        Just "request_throttled_exception"       | has (hasStatus 502) e = Just "bad_gateway"       | has (hasStatus 503) e = Just "service_unavailable"       | has (hasStatus 500) e = Just "general_server_error"
gen/Network/AWS/CostAndUsageReport/Types/Product.hs view
@@ -9,7 +9,7 @@  -- | -- Module      : Network.AWS.CostAndUsageReport.Types.Product--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated@@ -69,53 +69,53 @@     -> ReportDefinition reportDefinition pReportName_ pTimeUnit_ pFormat_ pCompression_ pS3Bucket_ pS3Prefix_ pS3Region_ =   ReportDefinition'-  { _rdAdditionalArtifacts = Nothing-  , _rdReportName = pReportName_-  , _rdTimeUnit = pTimeUnit_-  , _rdFormat = pFormat_-  , _rdCompression = pCompression_-  , _rdAdditionalSchemaElements = mempty-  , _rdS3Bucket = pS3Bucket_-  , _rdS3Prefix = pS3Prefix_-  , _rdS3Region = pS3Region_-  }+    { _rdAdditionalArtifacts = Nothing+    , _rdReportName = pReportName_+    , _rdTimeUnit = pTimeUnit_+    , _rdFormat = pFormat_+    , _rdCompression = pCompression_+    , _rdAdditionalSchemaElements = mempty+    , _rdS3Bucket = pS3Bucket_+    , _rdS3Prefix = pS3Prefix_+    , _rdS3Region = pS3Region_+    }   -- | Undocumented member. rdAdditionalArtifacts :: Lens' ReportDefinition [AdditionalArtifact]-rdAdditionalArtifacts = lens _rdAdditionalArtifacts (\ s a -> s{_rdAdditionalArtifacts = a}) . _Default . _Coerce;+rdAdditionalArtifacts = lens _rdAdditionalArtifacts (\ s a -> s{_rdAdditionalArtifacts = a}) . _Default . _Coerce  -- | Undocumented member. rdReportName :: Lens' ReportDefinition Text-rdReportName = lens _rdReportName (\ s a -> s{_rdReportName = a});+rdReportName = lens _rdReportName (\ s a -> s{_rdReportName = a})  -- | Undocumented member. rdTimeUnit :: Lens' ReportDefinition TimeUnit-rdTimeUnit = lens _rdTimeUnit (\ s a -> s{_rdTimeUnit = a});+rdTimeUnit = lens _rdTimeUnit (\ s a -> s{_rdTimeUnit = a})  -- | Undocumented member. rdFormat :: Lens' ReportDefinition ReportFormat-rdFormat = lens _rdFormat (\ s a -> s{_rdFormat = a});+rdFormat = lens _rdFormat (\ s a -> s{_rdFormat = a})  -- | Undocumented member. rdCompression :: Lens' ReportDefinition CompressionFormat-rdCompression = lens _rdCompression (\ s a -> s{_rdCompression = a});+rdCompression = lens _rdCompression (\ s a -> s{_rdCompression = a})  -- | Undocumented member. rdAdditionalSchemaElements :: Lens' ReportDefinition [SchemaElement]-rdAdditionalSchemaElements = lens _rdAdditionalSchemaElements (\ s a -> s{_rdAdditionalSchemaElements = a}) . _Coerce;+rdAdditionalSchemaElements = lens _rdAdditionalSchemaElements (\ s a -> s{_rdAdditionalSchemaElements = a}) . _Coerce  -- | Undocumented member. rdS3Bucket :: Lens' ReportDefinition Text-rdS3Bucket = lens _rdS3Bucket (\ s a -> s{_rdS3Bucket = a});+rdS3Bucket = lens _rdS3Bucket (\ s a -> s{_rdS3Bucket = a})  -- | Undocumented member. rdS3Prefix :: Lens' ReportDefinition Text-rdS3Prefix = lens _rdS3Prefix (\ s a -> s{_rdS3Prefix = a});+rdS3Prefix = lens _rdS3Prefix (\ s a -> s{_rdS3Prefix = a})  -- | Undocumented member. rdS3Region :: Lens' ReportDefinition AWSRegion-rdS3Region = lens _rdS3Region (\ s a -> s{_rdS3Region = a});+rdS3Region = lens _rdS3Region (\ s a -> s{_rdS3Region = a})  instance FromJSON ReportDefinition where         parseJSON
gen/Network/AWS/CostAndUsageReport/Types/Sum.hs view
@@ -9,7 +9,7 @@  -- | -- Module      : Network.AWS.CostAndUsageReport.Types.Sum--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated
gen/Network/AWS/CostAndUsageReport/Waiters.hs view
@@ -7,7 +7,7 @@  -- | -- Module      : Network.AWS.CostAndUsageReport.Waiters--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated
test/Main.hs view
@@ -2,7 +2,7 @@  -- | -- Module      : Main--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated
test/Test/AWS/CostAndUsageReport.hs view
@@ -1,6 +1,6 @@ -- | -- Module      : Test.AWS.CostAndUsageReport--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com> -- Stability   : auto-generated
test/Test/AWS/CostAndUsageReport/Internal.hs view
@@ -1,6 +1,6 @@ -- | -- Module      : Test.AWS.CostAndUsageReport.Internal--- Copyright   : (c) 2013-2016 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com> -- Stability   : auto-generated
test/Test/AWS/Gen/CostAndUsageReport.hs view
@@ -5,7 +5,7 @@  -- | -- Module      : Test.AWS.Gen.CostAndUsageReport--- Copyright   : (c) 2013-2017 Brendan Hay+-- Copyright   : (c) 2013-2018 Brendan Hay -- License     : Mozilla Public License, v. 2.0. -- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability   : auto-generated